.inv-page{max-width:480px;margin:0 auto;padding:48px 20px 72px;text-align:center;min-height:50vh}.inv-page h1{font-size:1.75rem;line-height:1.25;margin:0 0 14px;color:var(--text-main)}.inv-lead{font-size:1.05rem;line-height:1.65;color:var(--text-muted);margin:0 0 28px}.inv-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px}.inv-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:0 20px;border:0;border-radius:12px;background:var(--primary);color:#fff;font:inherit;font-size:1.05rem;font-weight:700;text-decoration:none;cursor:pointer}.inv-btn:hover:not(:disabled){background:var(--primary-hover)}.inv-btn:disabled{opacity:.6;cursor:wait}.inv-btn-ghost{background:var(--surface);color:var(--primary);border:1.5px solid var(--primary)}.inv-btn-ghost:hover:not(:disabled){background:#f1f5f9}.inv-ok{margin:0;font-weight:700;color:var(--accent-green-strong);font-size:1.05rem}.inv-soft{margin:0;color:var(--text-muted)}.inv-error{margin:0;color:#b91c1c;font-weight:600;overflow-wrap:anywhere}@media (min-width:769px){.inv-page{padding-top:72px}.inv-page h1{font-size:2.1rem}}.trd{text-align:left}.trd .inv-ok{text-align:center;margin-bottom:4px}.trd-h{font-size:1.1rem;margin:26px 0 10px;color:var(--text-main)}.trd-card,.trd-row{background:var(--surface);border:1px solid var(--border-color);border-radius:12px;padding:14px;margin-bottom:10px}.trd-row,.trd-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.trd-row{align-items:center}.trd-row strong,.trd-sym,.trd-top strong{display:block;overflow-wrap:anywhere}.trd-sym{font-size:.85rem;color:var(--text-muted);margin-top:2px}.trd-px{text-align:right;flex-shrink:0}.trd-px span{display:block;font-size:.85rem;font-weight:600}.trd-up{color:var(--accent-green-strong)}.trd-down{color:#b91c1c}.trd-btns{display:flex;gap:10px;margin-top:12px}.trd-buy,.trd-sell{flex:1 1;min-height:48px;border:0;border-radius:10px;color:#fff;font:inherit;font-weight:700;font-size:1rem;cursor:pointer}.trd-buy{background:var(--accent-green-strong)}.trd-sell{background:#b91c1c}.trd-buy:disabled,.trd-sell:disabled{opacity:.5;cursor:not-allowed}.trd-wide{width:100%;margin-top:12px}.trd-status{font-size:.8rem;font-weight:700;padding:4px 10px;border-radius:999px;background:#f1f5f9;color:#475569}.trd-complete{background:#dcfce7;color:#166534}.trd-cancelled,.trd-rejected{background:#fee2e2;color:#991b1b}.trd-open,.trd-pending{background:#fef3c7;color:#92400e}.trd-note{font-size:.85rem;color:var(--text-muted);line-height:1.55;margin:20px 0 14px}.trd-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.45);display:flex;align-items:flex-end;justify-content:center}.trd-sheet{position:relative;width:100%;max-width:480px;background:var(--surface);border-radius:16px 16px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));text-align:left;max-height:92vh;overflow-y:auto}.trd-sheet h3{margin:0 36px 14px 0;font-size:1.1rem}.trd-close{position:absolute;top:8px;right:10px;width:44px;height:44px;border:0;background:none;font-size:1.7rem;color:var(--text-muted);cursor:pointer}.trd-lab{display:block;font-weight:600;font-size:.95rem;margin-bottom:12px}.trd-in{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:48px;padding:0 12px;border:1.5px solid var(--border-color);border-radius:10px;font:inherit;font-size:16px}.trd-seg{display:flex;gap:8px;margin-bottom:12px}.trd-seg button{flex:1 1;min-height:46px;border-radius:10px;border:1.5px solid var(--border-color);background:var(--surface);font:inherit;font-weight:600;cursor:pointer}.trd-seg button.on{border-color:var(--primary);background:#f0f7f6;color:var(--primary)}.trd-sum{border:1px solid var(--border-color);border-radius:12px;padding:4px 14px;margin-bottom:8px}.trd-sum div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-color)}.trd-sum div:last-child{border-bottom:0}.trd-sum span{color:var(--text-muted)}.trd-sheet .inv-btn{margin-top:10px}@media (min-width:769px){.trd-backdrop{align-items:center}.trd-sheet{border-radius:16px}}