:root{color:#f6f7f9;font-synthesis:none;text-rendering:optimizelegibility;--bg:#050505;--surface:#121214;--surface-strong:#18181b;--surface-hover:#202024;--border:#28282d;--border-soft:#1d1d20;--text:#f6f7f9;--muted:#929299;--muted-strong:#b8b8be;--blue:#1769e0;--blue-soft:#0d2d58;--negative:#f25f70;--positive:#2fc49a;--warning:#f0bf4c;background:#050505;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--bg)}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:2px solid #5ca0ff}button:disabled{cursor:not-allowed;opacity:.4}h1,h2,p{margin:0}.app-shell{min-height:100vh}.sidebar{z-index:30;border-right:1px solid var(--border-soft);background:#0a0a0b;flex-direction:column;width:268px;padding:24px 16px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand-row{align-items:center;gap:11px;min-height:42px;padding:0 8px;font-size:17px;font-weight:700;display:flex}.brand-mark{background:var(--blue);color:#fff;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.sidebar-search{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--muted-strong);text-align:left;cursor:pointer;border-radius:7px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;margin:24px 0 10px;padding:0 12px;display:grid}.sidebar-search:hover{background:var(--surface-hover);border-color:#3c3c42}.sidebar-search kbd{width:23px;height:23px;color:var(--muted);background:#242428;border:1px solid #3a3a40;border-radius:5px;place-items:center;font-size:12px;display:grid}.primary-nav{border-bottom:1px solid var(--border-soft);gap:4px;padding:10px 0 20px;display:grid}.primary-nav button{min-height:42px;color:var(--muted-strong);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;padding:0 11px;display:flex}.primary-nav button:hover,.primary-nav button.is-active{background:var(--surface-strong);color:var(--text)}.primary-nav button.is-active svg{color:#60a1ff}.watchlist-heading{color:var(--muted);text-transform:uppercase;justify-content:space-between;align-items:center;padding:22px 8px 9px;font-size:12px;font-weight:700;display:flex}.tiny-icon{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.tiny-icon:hover{background:var(--surface-hover);color:var(--text)}.watchlist{gap:3px;display:grid;overflow-y:auto}.watch-item{width:100%;min-height:50px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;grid-template-columns:33px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:5px 8px;display:grid}.watch-item:hover,.watch-item.is-active{background:var(--surface-strong)}.watch-item.is-active{color:var(--text)}.watch-item>span:nth-child(2){gap:2px;min-width:0;display:grid}.watch-item strong{font-size:14px}.watch-item small{color:var(--muted);font-size:11px}.asset-mark{border:1px solid color-mix(in srgb, var(--asset-accent) 60%, white 10%);background:var(--asset-accent);color:#fff;flex:none;place-items:center;font-weight:800;display:grid;overflow:hidden}.asset-mark--small{border-radius:8px;width:33px;height:33px;font-size:11px}.asset-mark--large{border-radius:50%;width:54px;height:54px;font-size:16px}.sidebar-footnote{border-top:1px solid var(--border-soft);color:var(--muted);align-items:center;gap:8px;margin-top:auto;padding:14px 8px 0;font-size:12px;display:flex}.status-dot{background:var(--positive);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #2fc49a1f}.main-content{min-height:100vh;margin-left:268px}.content-wrap{width:min(100%,1400px);margin:0 auto;padding:34px 42px 56px}.mobile-topbar,.mobile-bottom-nav,.sidebar-backdrop{display:none}.asset-header{justify-content:space-between;align-items:center;gap:24px;min-height:72px;display:flex}.asset-heading{align-items:center;gap:16px;min-width:0;display:flex}.back-button{background:var(--surface-strong);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:none}.asset-heading h1{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:24px;font-weight:700;overflow:hidden}.asset-heading h1 span{color:var(--muted-strong);font-weight:500}.asset-heading p{color:var(--muted);margin-top:7px;font-size:14px}.asset-actions{flex:none;align-items:center;gap:9px;display:flex}.icon-button{border:1px solid var(--border);background:var(--surface-strong);width:44px;height:44px;color:var(--muted-strong);cursor:pointer;border-radius:50%;flex:none;place-items:center;display:grid}.icon-button:hover{background:var(--surface-hover);color:#fff}.icon-button.is-favorite{color:var(--warning)}.icon-button--small{width:36px;height:36px}.section-tabs{border-bottom:1px solid var(--border-soft);scrollbar-width:none;align-items:center;gap:7px;margin-top:24px;padding-bottom:12px;display:flex;overflow-x:auto}.section-tabs::-webkit-scrollbar{display:none}.period-control::-webkit-scrollbar{display:none}.section-tabs button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:19px;flex:none;padding:0 16px}.section-tabs button:hover,.section-tabs button.is-active{background:var(--surface-strong);color:var(--text)}.quote-section{min-height:142px;padding:22px 0 4px;overflow:hidden}.quote-widget{width:100%;min-height:120px}.quote-widget iframe{width:100%!important}.chart-section{border-bottom:1px solid var(--border-soft);padding:12px 0 30px}.chart-heading,.card-title-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:700;display:block}.chart-heading h2,.card-title-row h2,.plan-card h2{font-size:18px;font-weight:650}.chart-mode{border:1px solid var(--border);background:var(--surface);border-radius:7px;gap:2px;padding:3px;display:flex}.chart-mode button{width:34px;height:31px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;display:grid}.chart-mode button:hover,.chart-mode button.is-active{color:var(--text);background:#2a2a2f}.chart-frame{border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);background:#050505;width:100%;height:440px;margin-top:14px;position:relative;overflow:hidden}.chart-widget,.chart-widget>div,.chart-widget iframe{width:100%!important;height:100%!important}.period-control{border:1px solid var(--border);background:var(--surface-strong);scrollbar-width:none;border-radius:21px;grid-template-columns:repeat(7,minmax(68px,1fr));gap:3px;margin-top:14px;padding:3px;display:grid;overflow-x:auto}.period-control button{min-width:68px;min-height:35px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:18px;font-size:13px}.period-control button:hover,.period-control button.is-active{color:#fff;background:#323238}.data-note{color:#6f6f75;margin-top:10px;font-size:11px;line-height:1.5}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;padding-top:28px;display:grid}.position-card,.levels-card,.scenario-card,.plan-card,.method-note,.portfolio-total,.portfolio-row{border:1px solid var(--border);background:var(--surface);border-radius:8px}.position-card,.levels-card{min-height:294px;padding:22px}.card-title-row>svg{color:var(--muted)}.position-value{margin-top:28px;font-size:36px;line-height:1;display:block}.position-metrics{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px;display:grid}.position-metrics span{gap:5px;min-width:0;font-size:14px;font-weight:650;display:grid}.position-metrics small{color:var(--muted);font-size:11px;font-weight:500}.positive{color:var(--positive)!important}.negative{color:var(--negative)!important}.inline-price{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:21px;font-size:12px;display:flex}.inline-price input{border:1px solid var(--border);width:118px;min-height:34px;color:var(--text);text-align:right;background:#09090a;border-radius:6px;padding:0 10px}.empty-position{padding:31px 0 25px}.empty-position strong{font-size:36px}.empty-position p{max-width:430px;color:var(--muted);margin-top:12px;font-size:13px;line-height:1.5}.trade-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:22px;display:grid}.trade-actions button,.primary-action{cursor:pointer;border:0;border-radius:24px;min-height:48px;font-weight:650}.buy-button,.primary-action--buy{color:#0a0a0b;background:#f7f7f8}.sell-button,.primary-action--sell{color:#fff;background:#333336}.level-list{gap:7px;margin-top:20px;display:grid}.level-item,.plan-level{border-bottom:1px solid var(--border-soft);grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:57px;display:grid}.level-item:last-child,.plan-level:last-child{border-bottom:0}.level-item>span:nth-child(2),.plan-level>span:nth-child(2){gap:3px;display:grid}.level-item strong,.plan-level strong{font-size:14px}.level-item small,.plan-level small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.direction-mark{border-radius:50%;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.direction-mark--above{color:var(--positive);background:#2fc49a1f}.direction-mark--below{color:var(--negative);background:#f25f701f}.empty-levels{width:100%;min-height:88px;color:var(--muted);text-align:left;cursor:pointer;background:#0d0d0f;border:1px dashed #38383e;border-radius:7px;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:12px;margin-top:26px;padding:13px;display:grid}.empty-levels>span{gap:4px;display:grid}.empty-levels strong{color:var(--text);font-size:13px}.empty-levels small{font-size:11px}.sheet-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000bd;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.search-sheet,.transaction-sheet{background:#121214;border:1px solid #303035;border-radius:8px;width:min(100%,520px);max-height:min(720px,100vh - 40px);overflow:hidden;box-shadow:0 22px 70px #0000008c}.search-sheet{padding:20px}.transaction-sheet{gap:17px;padding:22px;display:grid}.sheet-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.sheet-header h2{font-size:20px}.search-field{min-height:46px;color:var(--muted);background:#080809;border:1px solid #38383e;border-radius:7px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;margin-top:20px;padding:0 13px;display:grid}.search-field:focus-within{border-color:#5ca0ff}.search-field input{min-width:0;height:44px;color:var(--text);background:0 0;border:0;outline:0}.search-field input::placeholder,.field-label input::placeholder{color:#66666d}.search-hint{color:var(--muted);margin-top:9px;font-size:11px}.search-results{gap:3px;max-height:470px;margin-top:16px;display:grid;overflow-y:auto}.search-result{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:56px;padding:6px 8px;display:grid}.search-result:hover{background:var(--surface-hover)}.search-result__copy{gap:3px;min-width:0;display:grid}.search-result__copy strong{font-size:14px}.search-result__copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.exchange-label{color:var(--muted);font-size:11px}.custom-symbol{border:1px solid var(--border);background:var(--surface-hover);cursor:pointer;border-radius:6px;min-height:44px}.field-label{color:var(--muted-strong);gap:8px;font-size:12px;font-weight:650;display:grid}.field-label input{width:100%;height:46px;color:var(--text);background:#080809;border:1px solid #38383e;border-radius:7px;padding:0 13px;font-size:16px}.form-note{color:var(--muted);font-size:11px;line-height:1.5}.primary-action{background:var(--blue);color:#fff}.direction-toggle{border:1px solid var(--border);background:#09090a;border-radius:7px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.direction-toggle button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px}.direction-toggle button.is-active{color:var(--text);background:#2a2a2f}.subpage{padding-top:10px}.subpage-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:flex-end;gap:24px;min-height:102px;padding-bottom:24px;display:flex}.subpage-header h1{font-size:30px}.subpage-header p{color:var(--muted);margin-top:7px;font-size:13px}.secondary-command{border:1px solid var(--border);background:var(--surface-strong);cursor:pointer;border-radius:7px;align-items:center;gap:8px;min-height:40px;padding:0 14px;display:flex}.secondary-command:hover{background:var(--surface-hover)}.scenario-layout{grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:18px;margin-top:26px;display:grid}.scenario-card,.plan-card{min-height:390px;padding:22px}.scenario-price-label{color:var(--muted-strong);grid-template-columns:1fr 156px;align-items:center;gap:16px;font-size:13px;font-weight:650;display:grid}.scenario-price-label input{border:1px solid var(--border);width:100%;height:40px;color:var(--text);text-align:right;background:#080809;border-radius:6px;padding:0 11px}.scenario-scale{gap:8px;margin-top:28px;display:grid}.scenario-row{grid-template-columns:45px minmax(60px,1fr) 115px;align-items:center;gap:13px;min-height:40px;font-size:13px;display:grid}.scenario-row>span:first-child{font-weight:700}.scenario-row strong{color:var(--text);text-align:right}.scenario-track{background:#29292e;border-radius:3px;height:6px;overflow:hidden}.scenario-track span{border-radius:inherit;background:currentColor;height:100%;display:block}.plan-card .card-title-row{margin-bottom:16px}.plan-level{grid-template-columns:32px minmax(0,1fr)}.subpage-empty,.portfolio-empty{min-height:260px;color:var(--muted);text-align:center;align-content:center;place-items:center;display:grid}.subpage-empty p,.portfolio-empty p{margin:12px 0 16px;font-size:13px}.subpage-empty button,.portfolio-empty button{border:1px solid var(--border);background:var(--surface-hover);cursor:pointer;border-radius:6px;min-height:39px;padding:0 14px}.method-note{color:var(--warning);gap:12px;margin-top:18px;padding:18px;display:flex}.method-note div{color:var(--text)}.method-note strong{font-size:13px}.method-note p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5}.portfolio-total{margin-top:26px;padding:24px}.portfolio-total>span{color:var(--muted);font-size:12px}.portfolio-total>strong{margin-top:13px;font-size:38px;display:block}.portfolio-change{margin-top:10px;font-size:14px;font-weight:650}.portfolio-list{gap:8px;margin-top:18px;display:grid}.portfolio-row{grid-template-columns:minmax(0,1fr) 46px;display:grid;overflow:hidden}.portfolio-open{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr) minmax(130px,auto) 18px;align-items:center;gap:12px;min-height:72px;padding:9px 14px;display:grid}.portfolio-open:hover{background:var(--surface-hover)}.portfolio-name,.portfolio-value{gap:4px;min-width:0;display:grid}.portfolio-name small,.portfolio-value small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.portfolio-value{text-align:right}.remove-position{border:0;border-left:1px solid var(--border-soft);width:46px;height:100%;color:var(--muted);cursor:pointer;background:0 0;place-items:center;display:grid}.remove-position:hover{color:var(--negative);background:#f25f701a}.portfolio-empty{border:1px dashed var(--border);border-radius:8px;min-height:340px}.portfolio-empty h2{color:var(--text);margin-top:12px;font-size:19px}@media (width<=1050px){.content-wrap{padding-left:26px;padding-right:26px}.dashboard-grid,.scenario-layout{grid-template-columns:1fr}.levels-card,.plan-card{min-height:auto}}@media (width<=760px){body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.sidebar{z-index:80;width:min(84vw,310px);transition:transform .18s;transform:translate(-102%);box-shadow:18px 0 50px #0000008c}.sidebar--open{transform:translate(0)}.sidebar-backdrop{z-index:70;background:#000000b3;border:0;display:block;position:fixed;inset:0}.main-content{margin-left:0}.mobile-topbar{z-index:40;min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#050505eb;border-bottom:1px solid #ffffff0d;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;display:grid;position:sticky;top:0}.mobile-brand{text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.content-wrap{padding:18px 20px 36px}.asset-header{gap:12px}.back-button{display:grid}.asset-heading{gap:11px}.asset-heading h1{font-size:19px}.asset-heading h1 span{display:none}.asset-heading p{text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:12px;overflow:hidden}.asset-actions{gap:6px}.asset-actions .icon-button{display:none}.asset-mark--large{width:48px;height:48px}.section-tabs{margin-top:20px;padding-bottom:10px}.section-tabs button{min-height:36px;padding:0 14px;font-size:13px}.quote-section{min-height:138px;margin-left:-8px;margin-right:-8px;padding-top:18px}.chart-section{padding-top:4px}.chart-frame{width:calc(100% + 40px);height:355px;margin-left:-20px;margin-right:-20px}.period-control{margin-left:-2px;margin-right:-2px;display:flex}.period-control button{flex:1 0 65px}.dashboard-grid{gap:12px;padding-top:24px}.position-card,.levels-card{padding:20px}.position-value,.empty-position strong{font-size:32px}.position-metrics{grid-template-columns:repeat(2,1fr)}.position-metrics span:last-child{grid-column:1/-1}.mobile-bottom-nav{z-index:60;height:calc(68px + env(safe-area-inset-bottom));border-top:1px solid var(--border-soft);padding:4px 10px env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a0a0bf5;grid-template-columns:1fr 1fr 58px 1fr 1fr;align-items:center;display:grid;position:fixed;inset:auto 0 0}.mobile-bottom-nav button,.mobile-bottom-nav a{min-width:0;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-content:center;place-items:center;gap:3px;text-decoration:none;display:grid}.mobile-bottom-nav span{font-size:9px}.mobile-bottom-nav button.is-active,.mobile-bottom-nav a:active{color:var(--text)}.mobile-bottom-nav .mobile-search-button{background:var(--blue);color:#fff;border-radius:50%;align-self:start;width:48px;height:48px;min-height:48px;margin-top:-16px;box-shadow:0 8px 24px #1769e059}.subpage{padding-top:0}.subpage-header{align-items:flex-start;min-height:92px}.subpage-header h1{font-size:24px}.secondary-command{flex:none;padding:0 11px;font-size:12px}.scenario-layout{margin-top:18px}.scenario-card,.plan-card{min-height:auto;padding:18px}.scenario-price-label{grid-template-columns:1fr 130px}.scenario-row{grid-template-columns:42px minmax(40px,1fr) 100px;gap:9px;font-size:12px}.portfolio-total{margin-top:18px;padding:20px}.portfolio-total>strong{font-size:31px}.portfolio-open{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}.portfolio-open>svg{display:none}.portfolio-name small{max-width:135px}.portfolio-value strong{font-size:13px}.sheet-backdrop{align-items:end;padding:0}.search-sheet,.transaction-sheet{width:100%;max-height:calc(92vh - env(safe-area-inset-top));padding-bottom:calc(22px + env(safe-area-inset-bottom));border-bottom:0;border-left:0;border-right:0;border-radius:8px 8px 0 0}.search-results{max-height:58vh}}@media (width<=390px){.content-wrap{padding-left:15px;padding-right:15px}.chart-frame{width:calc(100% + 30px);margin-left:-15px;margin-right:-15px}.asset-heading p{max-width:160px}.position-card,.levels-card{padding:17px}.trade-actions button{min-height:46px}.scenario-row{grid-template-columns:38px minmax(30px,1fr) 90px;gap:7px}.mobile-bottom-nav{grid-template-columns:1fr 1fr 54px 1fr 1fr;padding-left:4px;padding-right:4px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
