:root{--ground:#000;--surface:#0a0a0b;--raised:#131316;--border:#232327;--rule:#18181b;--grid:#19191d;--control:#303036;--text:#fff;--muted:#a1a1aa;--accent:#4c8dff;--secondary:#9b7bff;--positive:#089981;--negative:#f23645;--warning:#ffb020;--neutral:#d4d4d8;--pill-positive-bg:#042a23;--pill-positive-ink:#1fc7a1;--pill-negative-bg:#2d0b10;--pill-negative-ink:#ff5c6b;--pill-neutral-bg:#18181b;--pill-neutral-ink:#d4d4d8;--backdrop:#000000bf;--shadow:0 16px 40px #0000008c, 0 0 0 1px #ffffff0d;--hover:#1a1a1f;--accent-soft:#4c8dff33;--accent-ink:#7aaaff;--on-accent:#05070b;--primary-bg:#fff;--primary-ink:#000;--selected:#142849;--sea-1:#0b1830;--sea-2:#12264b;--sea-3:#1b3a72;--dive-sky:#07142a;--dive-surface:#0b2c52;--dive-mid:#051833;--dive-abyss:#02060d;--dive-foam:#eaf2ff;--dive-dim:#8fa6c2;--dive-glow:#3cf0c5;--tile-active-bg:#fff;--tile-active-ink:#000;--radius-card:12px;--radius-control:10px;--radius-shell:16px;--gap:6px;--bar-height:48px;--rail-width:48px;--panel-width:340px;--control-height:32px;--fs-title:20px;--fs-price:28px;--fs-section:16px;--fs-body:13px;--fs-small:12px;--font:"Plus Jakarta Sans", Inter, system-ui, sans-serif;--t-hover:.14s;--t-enter:.2s;--t-panel:.26s;--ease-out:cubic-bezier(.16, 1, .3, 1);--ease-spring:cubic-bezier(.34, 1.4, .64, 1);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--ground:#eef1f6;--surface:#fff;--raised:#f5f7fb;--border:#dde3ec;--rule:#e9edf3;--grid:#eef0f4;--control:#c3cbd8;--text:#0a0f1a;--muted:#5b6578;--accent:#2563eb;--secondary:#6d4dff;--positive:#089981;--negative:#f23645;--warning:#9a5b00;--neutral:#2c3444;--pill-positive-bg:#e1f5f0;--pill-positive-ink:#067a66;--pill-negative-bg:#fde7ea;--pill-negative-ink:#c91f31;--pill-neutral-bg:#e9edf3;--pill-neutral-ink:#2c3444;--shadow:0 12px 32px #1111131f, 0 0 0 1px #1111130f;--hover:#edf1f7;--accent-soft:#2563eb24;--accent-ink:#1d4ed8;--on-accent:#fff;--primary-bg:#0a0a0a;--primary-ink:#fff;--selected:#dce8ff;--tile-active-bg:#0a0a0a;--tile-active-ink:#fff;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:1180px){:root{--panel-width:300px}}[role=menu]:focus{outline:none}
*,:before,:after{box-sizing:border-box}html{background:var(--ground);color:var(--text);font-family:var(--font);font-size:var(--fs-body);-webkit-font-smoothing:antialiased;margin:0;line-height:20px}body{color:var(--text);font-family:var(--font);font-size:var(--fs-body);background:var(--ground);font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-weight:500;line-height:20px}h1,h2,h3,p{margin:0}button,select{font:inherit;color:inherit}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.spacer{flex:1}.dash{background:var(--muted);vertical-align:middle;width:12px;height:2px;display:inline-block}.skeleton{vertical-align:middle;background:linear-gradient(90deg, var(--raised) 0%, var(--hover) 50%, var(--raised) 100%);background-size:400px 100%;border-radius:4px;animation:1.2s linear infinite shimmer;display:inline-block}.price-skeleton{width:160px;height:22px}.price{font-size:var(--fs-price);letter-spacing:-.01em;font-weight:600;line-height:34px}.change.up{color:var(--positive)}.change.down{color:var(--negative)}.panel .meta{color:var(--muted);font-size:var(--fs-small)}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}th{color:var(--muted);font-size:var(--fs-small);text-align:left;padding:0 0 6px;font-weight:500}td{border-top:1px solid var(--rule);height:34px}th.num,td.num{text-align:right}.subhead{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);margin:12px 0 6px;padding-top:12px}.empty{border:1px dashed var(--control);border-radius:var(--radius-card);color:var(--muted);padding:12px 14px}.pill{height:20px;font-size:var(--fs-small);background:var(--pill-neutral-bg);color:var(--pill-neutral-ink);white-space:nowrap;border-radius:999px;align-items:center;padding:0 8px;font-weight:600;display:inline-flex}.pill.pos{background:var(--pill-positive-bg);color:var(--pill-positive-ink)}.pill.neg{background:var(--pill-negative-bg);color:var(--pill-negative-ink)}kbd{font-family:var(--font);border:1px solid var(--control);font-size:var(--fs-small);border-radius:4px;padding:1px 6px}@media (max-width:480px){.hide-phone{display:none}}.subhead.with-action{justify-content:space-between;align-items:center;display:flex}.text-button{color:var(--accent);cursor:pointer;font-size:var(--fs-small);background:0 0;border:0;padding:0}.panel h2{font-size:var(--fs-section);font-weight:700;line-height:24px}.flash-up{border-radius:4px;animation:.7s ease-out flash-up}.flash-down{border-radius:4px;animation:.7s ease-out flash-down}.coin-icon{vertical-align:middle;object-fit:contain;border-radius:50%;flex:none;display:inline-block}.coin-badge{background:var(--raised);color:var(--text);box-shadow:inset 0 0 0 1px var(--border);place-items:center;font-weight:700;line-height:1;display:inline-grid}
input{font:inherit;color:inherit}.tool-button{min-width:var(--control-height);height:var(--control-height);color:var(--text);cursor:pointer;white-space:nowrap;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);background:0 0;border:0;border-radius:10px;grid-auto-flow:column;justify-content:center;align-items:center;gap:6px;padding:0 6px;display:inline-grid;position:relative}.tool-button.with-label{padding:0 10px}.tool-button:hover:not(:disabled){color:var(--text);background:var(--raised)}.tool-button:disabled{opacity:.45;cursor:default}.tool-button[aria-expanded=true]{color:var(--text);background:var(--hover)}.tool-button[aria-pressed=true],.tool-button[aria-pressed=true]:hover:not(:disabled){color:var(--tile-active-ink);background:var(--tile-active-bg)}.tool-button .chevron{width:14px;height:14px}.lines{height:var(--control-height);align-items:stretch;gap:14px;display:inline-flex}.lines button{color:var(--neutral);cursor:pointer;white-space:nowrap;transition:color var(--t-hover) ease;background:0 0;border:0;align-items:center;gap:7px;padding:0 2px;display:inline-flex;position:relative}.lines button:hover,.lines button[aria-pressed=true]{color:var(--text)}.lines button .line-label:after{content:"";background:var(--accent);opacity:0;height:2px;transition:transform .22s var(--ease-out), opacity .16s ease;border-radius:2px;position:absolute;bottom:-6px;left:0;right:0;transform:scaleX(0)}.line-label{position:relative}.swatch-button,.width-button,.dash-button{cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:26px;height:26px;padding:0;display:grid}.swatch-button span{border-radius:50%;width:12px;height:12px}.swatch-button[aria-pressed=true],.width-button[aria-pressed=true],.dash-button[aria-pressed=true]{box-shadow:0 0 0 1px var(--accent);background:var(--accent-soft)}.width-button span{background:var(--text);border-radius:2px;width:14px}.dash-button span{border-top:2px solid var(--text);width:16px}.dash-button.dashed span{border-top-style:dashed}.dash-button.dotted span{border-top-style:dotted}.btn{height:var(--control-height);white-space:nowrap;border:1px solid var(--control);cursor:pointer;border-radius:var(--radius-control);background:var(--raised);transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);border-color:#0000;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:600;display:inline-flex}.btn:hover{background:var(--hover);border-color:#0000}.btn:active{transform:translateY(1px)}.btn.small{height:28px;padding:0 12px}.btn.primary{background:var(--primary-bg);color:var(--primary-ink);border-color:#0000}.btn:disabled{opacity:.45;cursor:default}.input{border:1px solid var(--control);border-radius:var(--radius-control);background:var(--raised);width:100%;height:38px;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;border-color:#0000;padding:0 12px}.input::placeholder{color:var(--muted)}.input:hover{border-color:var(--border)}.field{gap:8px;margin-bottom:16px;display:grid}.field label{font-weight:600}.field-error{color:var(--negative);font-size:var(--fs-small)}.field-hint{font-size:var(--fs-small)}dialog{width:min(520px,100vw - 32px);color:var(--text);box-shadow:var(--shadow);background:var(--surface);border:0;border-radius:20px;padding:24px}dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{margin-bottom:12px;font-size:20px;font-weight:700;line-height:28px}.dialog-intro{margin-bottom:16px}dialog dl{grid-template-columns:max-content 1fr;gap:8px 16px;margin:0 0 20px;display:grid}dialog dt{color:var(--muted)}dialog dd{margin:0}dialog p+p{margin-top:10px}.search-dialog{width:min(620px,100vw - 32px)}.search-results{max-height:min(56svh,520px);margin-top:4px;overflow-y:auto}.search-option{cursor:pointer;min-height:34px;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;border-radius:4px;grid-template-columns:minmax(0,1fr) 110px 72px 84px;align-items:center;gap:12px;padding:0 10px;display:grid}.search-columns{border-bottom:1px solid var(--border);font-size:var(--fs-small);grid-template-columns:minmax(0,1fr) 110px 72px 84px;align-items:center;gap:12px;margin-top:12px;padding:0 10px 6px;display:grid}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin:-8px -8px 12px 0;display:flex}.search-option[aria-selected=true]{background:var(--hover)}.search-option .change{text-align:right}@media (max-width:480px){.lines{gap:12px}.search-option,.search-columns{grid-template-columns:minmax(0,1fr) 72px}}.field-label{font-weight:600}select.input{appearance:none;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%238a8c92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;background-color:var(--raised);padding-right:28px}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:0 10px;display:flex}.switch:after{content:"";background:var(--text);width:14px;height:14px;transition:transform .22s var(--ease-spring), background-color var(--t-hover) ease;border-radius:50%;position:absolute;top:2px;left:2px}.switch:checked{background:var(--accent)}.switch:checked:after{background:var(--on-accent);transform:translate(14px)}.color-choice{border:0;margin:0 0 16px;padding:0}.color-choice legend{margin-bottom:8px;font-weight:600}.icon-choices{flex-wrap:wrap;gap:4px;margin-bottom:12px;display:flex}.icon-choice{width:36px;height:36px;font-size:var(--fs-title)}.swatches .swatch-button{width:30px;height:30px}.swatches .swatch-button span{border-radius:4px;width:18px;height:18px}.palette-dialog{width:min(620px,100vw - 32px);margin-top:12vh;padding:12px}.palette-input{height:44px;font-size:15px}.palette-results{max-height:min(56svh,520px);margin-top:8px;overflow-y:auto}.palette-option{grid-template-columns:minmax(0,1fr) auto}.small-input{width:120px;height:28px;font-size:var(--fs-small);padding:0 8px}select.small-input{background-position:right 6px center;padding-right:24px}.inline-field{font-size:var(--fs-small);align-items:center;gap:6px;display:inline-flex}.inline-field .small-input{width:auto;min-width:96px}.search-option.palette-option{grid-template-columns:minmax(0,1fr) auto}.palette-tip{padding:4px 10px 8px}.btn.primary:hover:not(:disabled){background:color-mix(in srgb, var(--primary-bg) 88%, var(--accent))}.lines button[aria-pressed=true] .line-label:after{background:var(--accent);opacity:1;border-radius:2px;height:2px;transform:scaleX(1)}dialog[open]{animation:dialog-in .24s var(--ease-out)}dialog[open]::backdrop{animation:.24s ease-out fade-in}.tool-button:active:not(:disabled){transform:scale(.94)}.btn:active:not(:disabled){transform:scale(.97)}.chip-filter button:active{transform:scale(.94)}.lines button[aria-selected=true] .line-label:after{opacity:1;transform:scaleX(1)}select.input:focus{background-color:var(--surface)}.tool-button svg{stroke-width:1.75px;width:18px;height:18px}.input:focus-visible,.input:focus{border-color:color-mix(in srgb, var(--accent) 60%, transparent);box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface);outline:none}dialog .actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.search-option>span:not(:first-child),.search-columns>span:not(:first-child){text-align:right}.dialog-head h2{margin:0}.chip-filter{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.chip-filter button{border:1px solid var(--border);border-radius:var(--radius-control);height:28px;color:var(--neutral);font-size:var(--fs-small);cursor:pointer;background:var(--raised);transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);border-color:#0000;padding:0 12px}.chip-filter button:hover{color:var(--text);border-color:var(--muted)}.chip-filter button[aria-pressed=true]{background:var(--tile-active-bg);color:var(--tile-active-ink);border-color:#0000}@media (max-width:480px){.search-option>span:nth-child(2),.search-option>span:nth-child(4),.search-columns>span:nth-child(2),.search-columns>span:nth-child(4){display:none}}.switch{appearance:none;background:var(--control);cursor:pointer;width:32px;height:18px;transition:background-color var(--t-hover) ease;border-radius:999px;flex:none;margin:0;position:relative}.swatches{flex-wrap:wrap;gap:4px;display:flex}.search-name{align-items:center;gap:10px;min-width:0;display:inline-flex}.palette-label{align-items:center;gap:10px;display:inline-flex}
.symbol-button:active{transform:scale(.94)}.terminal{grid-template-columns:var(--rail-width) minmax(0, 1fr) var(--panel-width) var(--rail-width);gap:var(--gap);height:100svh;padding:0 var(--gap) var(--gap);background:var(--ground);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"top top top top""draw chart panel rail";display:grid}.terminal.panel-closed{grid-template-columns:var(--rail-width) minmax(0, 1fr) var(--rail-width);grid-template-areas:"top top top""draw chart rail"}.topbar{min-height:var(--bar-height);scrollbar-width:none;border-bottom:0;flex-wrap:wrap;grid-area:top;align-items:center;gap:4px 8px;min-width:0;padding:0 8px;display:flex;overflow-x:auto}.topbar::-webkit-scrollbar{display:none}.topbar>*{flex:none}@media (max-width:1600px){.topbar .folds>span{display:none}.topbar .lines{gap:10px}}.brand{height:var(--control-height);border-radius:var(--radius-control);color:var(--text);transition:background-color var(--t-hover) ease;align-items:center;gap:8px;margin-right:8px;padding:0 10px 0 6px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.brand:hover{background:var(--hover)}.brand:active{transform:scale(.97)}.main-menu .chevron{display:none}.symbol-button{height:var(--control-height);border:1px solid var(--control);border-radius:var(--radius-control);cursor:pointer;white-space:nowrap;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);background:0 0;align-items:center;gap:8px;padding:0 14px 0 10px;font-weight:700;display:inline-flex}.symbol-button:hover{border-color:var(--muted)}.symbol-button svg{width:16px;height:16px;color:var(--text)}.bar-divider{background:var(--border);flex:none;width:1px;height:20px}.status{color:var(--muted);font-size:var(--fs-small);white-space:nowrap;align-items:center;gap:8px;margin-right:4px;display:inline-flex}.status .dot{background:var(--muted);border-radius:50%;width:6px;height:6px}.status.live .dot{background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);animation:2.4s ease-out infinite live-pulse}.status.trouble .dot{background:var(--negative)}.draw-bar{border-radius:var(--radius-shell);background:var(--surface);border:0;flex-direction:column;grid-area:draw;align-items:center;gap:2px;min-height:0;padding:6px 0;display:flex;overflow-y:auto}.panel-rail{border-radius:var(--radius-shell);background:var(--surface);border:0;flex-direction:column;grid-area:rail;align-items:center;gap:2px;min-height:0;padding:6px 0;display:flex;overflow-y:auto}.draw-group{flex-direction:column;gap:2px;padding:6px 0;display:flex}.draw-group+.draw-group{position:relative}.draw-bar .tool-button,.panel-rail .tool-button{width:36px;height:36px}.panel-rail .tool-button[aria-pressed=true]:after{content:"";background:var(--accent);border-radius:2px;width:2px;position:absolute;top:8px;bottom:8px;right:-6px}.chart-column{gap:var(--gap);background:0 0;grid-area:chart;grid-template-rows:minmax(0,1fr) auto auto;min-width:0;min-height:0;display:grid}.tool-group{position:relative}.clock{font-size:var(--fs-small);white-space:nowrap}.right-panel{min-height:0;animation:panel-in var(--t-panel) var(--ease-out);border-radius:var(--radius-shell);background:var(--surface);border:0;flex-direction:column;grid-area:panel;display:flex;overflow-y:auto}.tab-body{flex-direction:column;min-height:0;display:flex;position:relative;container-type:inline-size}.tab-panel{padding:0 16px 16px}.tab-header{justify-content:space-between;align-items:center;gap:12px;padding:14px 0 10px;display:flex}.right-panel .panel>header{justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 10px;display:flex}.tab-header h2{font-size:var(--fs-section);font-weight:700;line-height:24px}.right-panel .panel{background:0 0}.tab-panel .subhead:first-of-type{border-top:0;padding-top:0}@media (max-width:1180px){.brand-name,.interval-quick button:nth-child(n+4){display:none}}@media (max-width:960px){.terminal,.terminal.panel-closed{grid-template:"top""draw""chart""rail""panel"/minmax(0,1fr);height:auto}.topbar{height:auto;min-height:var(--bar-height);flex-wrap:wrap;row-gap:6px}.topbar .spacer,.topbar .bar-divider{display:none}.draw-bar,.panel-rail{flex-direction:row;overflow:auto hidden}.draw-group{flex-direction:row;padding:0 6px}.draw-group+.draw-group{border-left:1px solid var(--border)}.draw-bar .tool-button,.panel-rail .tool-button{width:44px;height:44px}.draw-bar .tool-button[aria-pressed=true]:after,.panel-rail .tool-button[aria-pressed=true]:after{width:auto;height:1px;inset:auto 12px 0}.panel-rail .spacer{display:none}.right-panel{overflow:visible}}@media (max-width:480px){.clock{display:none}}.terminal:has(.right-panel.wide){--panel-width:460px}.layout-area{background:var(--ground);min-height:0;position:relative}.layout-area>.chart-panel{background:var(--surface);border-radius:var(--radius-shell);min-height:0;box-shadow:0 0 0 calc(var(--gap) / 2) var(--ground);border:0;position:absolute}.layout-area>.chart-panel.is-hidden{visibility:hidden}.divider{z-index:5;touch-action:none;position:absolute}.divider.vertical{cursor:col-resize;width:9px;margin-left:-4.5px}.divider.horizontal{cursor:row-resize;height:9px;margin-top:-4.5px}.divider:after{content:"";transition:background-color var(--t-hover) ease;background:0 0;position:absolute}.divider.vertical:after{width:1px;top:0;bottom:0;left:4px}.divider.horizontal:after{height:1px;top:4px;left:0;right:0}.divider:hover:after,.divider:focus-visible:after{background:var(--accent)}.chart-controls{z-index:6;opacity:0;transition:opacity var(--t-hover) ease;gap:2px;display:flex;position:absolute;top:6px;right:84px}.chart-controls .tool-button{background:var(--raised);width:28px;min-width:28px;height:28px}.chart-controls .grip{cursor:grab}@media (max-width:960px){.layout-area{height:64svh}}.panel-resizer{z-index:10;cursor:col-resize;touch-action:none;width:9px;margin-left:calc(var(--gap) * -1 - 4px);grid-area:panel;justify-self:start}.panel-resizer:after{content:"";width:1px;height:100%;transition:background-color var(--t-hover) ease;background:0 0;border-radius:2px;margin-left:4px;display:block}.dock{border-radius:var(--radius-shell);background:var(--surface);border-top:0;flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.dock-resizer{z-index:10;cursor:row-resize;touch-action:none;height:9px;position:absolute;top:-5px;left:0;right:0}.dock-resizer:after{content:"";height:1px;transition:background-color var(--t-hover) ease;background:0 0;border-radius:2px;position:absolute;top:4px;left:0;right:0}.dock-tabs{flex:none;align-items:center;gap:18px;height:36px;padding:0 8px 0 16px;display:flex}.dock-body{flex:1;min-height:0;padding:4px 16px 16px;overflow:auto;container-type:inline-size}.dock .screener-table{max-height:none}@media (max-width:960px){.panel-resizer{display:none}}.bar-grip{width:16px;color:var(--text);cursor:grab;touch-action:none;place-items:center;margin-left:-8px;display:grid}.dock-tabs .btn.small{margin-right:4px}.dock-empty{font-size:var(--fs-small);align-self:center}.dock.is-drop-target,.panel-rail.is-drop-target{box-shadow:inset 0 0 0 2px var(--accent)}.dock-body .tab-panel{padding:0}.tab-body>.script-panel,.tab-body>.paper-panel,.tab-body>.screener{padding:52px 16px 16px}.panel-move-button{z-index:1;position:absolute;top:12px;right:12px}.tab-body .tab-header,.tab-body .panel>header{padding-right:40px}.draw-group+.draw-group:before{content:"";background:var(--border);height:1px;position:absolute;top:0;left:10px;right:10px}.panel-resizer:hover:after,.panel-resizer:focus-visible:after,.dock-resizer:hover:after,.dock-resizer:focus-visible:after{background:var(--muted)}.chart-controls:focus-within{opacity:1}.bar-grip svg{width:14px;height:14px}.tab-body>*,.dock-body>*{animation:rise-in var(--t-panel) var(--ease-out)}.welcome{z-index:20;border-radius:var(--radius-shell);background:var(--raised);width:min(320px,100vw - 32px);box-shadow:var(--shadow);animation:pop-in var(--t-panel) var(--ease-out);gap:12px;padding:18px;display:grid;position:fixed;bottom:72px;left:72px}.welcome.is-phone{right:16px;bottom:calc(130px + env(safe-area-inset-bottom));width:auto;left:16px}.welcome h2{font-size:var(--fs-section);margin:0;font-weight:700}.welcome ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.welcome li{align-items:center;gap:10px;font-weight:600;display:flex}.welcome li svg{width:18px;height:18px;color:var(--accent-ink);flex:none}.terminal-opening{text-align:center;min-height:100svh;color:var(--muted);align-content:center;justify-items:center;gap:12px;padding:24px;display:grid}.terminal-opening h1{color:var(--text);font-size:18px;font-weight:700}.terminal-opening p{max-width:460px}.terminal-opening nav{max-width:520px;font-size:var(--fs-small);flex-wrap:wrap;justify-content:center;gap:4px 14px;display:flex}.terminal-opening a{color:var(--muted)}
.menu-chips .chip-row button:active,.layout-grid button:active{transform:scale(.94)}.menu{position:relative}.menu-list{z-index:30;min-width:200px;max-height:70svh;box-shadow:var(--shadow);transform-origin:top;animation:pop-in var(--t-enter) var(--ease-out);background:var(--raised);border:0;border-radius:14px;padding:6px;position:fixed;overflow-y:auto}.menu-list button,.menu-list a{width:100%;height:32px;color:inherit;text-align:left;cursor:pointer;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;text-decoration:none;display:flex}.menu-list button:hover,.menu-list button:focus-visible,.menu-list a:hover,.menu-list a:focus-visible{background:var(--hover);outline:none}.menu-list button[aria-checked=true],.menu-list button[aria-checked=true] svg{color:var(--accent-ink)}.menu-list svg.menu-check,.flyout svg.menu-check{width:16px;height:16px;color:var(--accent-ink);margin-left:auto}[role=dialog].menu-list:focus{outline:none}.menu-chips{width:236px}.chip-row{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.menu-chips .chip-row button{font-variant-numeric:tabular-nums;background:var(--raised);height:30px;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);border:1px solid #0000;justify-content:center;padding:0}.menu-chips .chip-row button[aria-checked=true]{background:var(--tile-active-bg);color:var(--tile-active-ink);border-color:#0000}.menu-group{color:var(--muted);font-size:var(--fs-small);padding:8px 10px 4px}.flyout-toggle{border-radius:0 0 var(--radius-card) 0;width:14px;height:14px;color:var(--text);cursor:pointer;background:0 0;border:0;place-items:end;padding:0 3px 3px 0;display:grid;position:absolute;bottom:0;right:0}.flyout-toggle:hover{color:var(--text)}.flyout{z-index:40;min-width:240px;box-shadow:var(--shadow);transform-origin:0 0;animation:slide-in-left var(--t-enter) var(--ease-out);background:var(--raised);border:0;border-radius:14px;max-height:60vh;margin-top:-36px;margin-left:44px;padding:6px;position:fixed;overflow-y:auto}.flyout-hint{font-size:var(--fs-small);margin-left:auto}.context-menu{z-index:60;transform-origin:top;width:260px;animation:pop-in var(--t-enter) var(--ease-out);background:var(--raised);border:0;border-radius:14px}.menu-hint{font-size:var(--fs-small)}.menu-separator{background:var(--border);height:1px;margin:4px 6px}.layers-menu{transform-origin:top;width:340px;animation:pop-in var(--t-enter) var(--ease-out);padding:6px}.layers-menu .switch-row{border-radius:4px;padding:8px 10px}.layers-menu .switch-row:hover{background:var(--hover)}.context-menu .menu-icon{flex:none;place-items:center;width:18px;display:inline-grid}.context-menu .menu-hint{margin-left:auto}.layout-menu{transform-origin:top;animation:pop-in var(--t-enter) var(--ease-out);width:300px}.layout-grid{flex-wrap:wrap;gap:4px;display:flex}.menu-list svg{width:18px;height:18px;color:var(--text)}.flyout-toggle svg{width:6px;height:6px}.flyout button{text-align:left;cursor:pointer;width:100%;height:34px;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;display:flex}.flyout button:hover,.flyout button:focus-visible{background:var(--hover);outline:none}.flyout button[aria-checked=true],.flyout button[aria-checked=true] svg{color:var(--accent-ink)}.flyout svg{width:18px;height:18px;color:var(--text);flex:none}.layout-grid button{width:44px;height:36px;color:var(--text);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.layout-grid button:hover,.layout-grid button:focus-visible{background:var(--hover);color:var(--text);outline:none}.layout-grid button[aria-checked=true]{color:var(--text);background:var(--selected)}.context-menu button{justify-content:flex-start}.context-menu button.danger{color:var(--negative)}.context-menu button:disabled{opacity:.45;cursor:default}.context-menu .menu-icon svg{width:16px;height:16px}.context-menu button.danger svg{color:var(--negative)}.layers-field{padding:8px 10px 4px}.pin-group{border-top:1px solid var(--rule);margin-top:6px;padding-top:6px}.pin-chip[aria-pressed=true]{color:var(--accent)}.tool-button.is-strong svg{stroke-width:2.8px}
.chart-panel{min-height:320px;position:relative;overflow:hidden}.chart-host{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.chart-host:focus-visible{outline-offset:-2px}.chart-layer{width:100%;height:100%;position:absolute;inset:0}.legend{pointer-events:none;font-size:var(--fs-small);font-variant-numeric:tabular-nums;justify-items:start;gap:2px;line-height:18px;display:grid;position:absolute;left:10px;right:90px}.legend-row{background:color-mix(in srgb, var(--surface) 72%, transparent);pointer-events:auto;border-radius:4px;flex-wrap:wrap;align-items:center;gap:2px 10px;padding:0 6px;display:inline-flex}.legend-row.main .legend-label{color:var(--text);font-size:13px;font-weight:600}.legend-label{color:var(--muted)}.legend-values{flex-wrap:wrap;gap:0 10px;display:inline-flex}.legend-row.note{color:var(--muted)}.legend-row.is-hidden .legend-label{text-decoration:line-through}.legend-actions{opacity:0;transition:opacity var(--t-hover) ease;gap:2px;display:inline-flex}.legend-row:hover .legend-actions,.legend-row:focus-within .legend-actions{opacity:1}.legend-actions button{width:22px;height:22px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.legend-actions button:hover{color:var(--text);background:var(--raised)}.replay-bar{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--raised);max-width:calc(100% - 120px);box-shadow:var(--shadow);white-space:nowrap;animation:rise-in var(--t-enter) var(--ease-out);align-items:center;gap:8px;padding:4px 6px 4px 14px;display:inline-flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%)}.replay-label{font-weight:700}.replay-bar .btn svg{width:14px;height:14px}.selection-name{color:var(--text);white-space:nowrap;font-weight:600}.style-group{border-left:1px solid var(--control);align-items:center;gap:2px;padding-left:8px;display:inline-flex}.selection-bar{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--raised);box-shadow:var(--shadow);color:var(--muted);scrollbar-width:none;max-width:calc(100% - 16px);animation:rise-in var(--t-enter) var(--ease-out);align-items:center;gap:8px;padding:4px 4px 4px 14px;display:inline-flex;position:absolute;bottom:40px;left:50%;overflow-x:auto;transform:translate(-50%)}.chart-message{text-align:center;background:color-mix(in srgb, var(--surface) 80%, transparent);place-items:center;padding:24px;display:grid;position:absolute;inset:0}.chart-message>div{justify-items:center;gap:12px;max-width:44ch;display:grid}.range-bar{border-radius:var(--radius-shell);background:var(--surface);border-top:0;align-items:center;gap:12px;min-width:0;height:40px;padding:0 16px;display:flex}.range-bar .lines{gap:12px}.range-bar>*{flex-shrink:0}.range-shell{container-type:inline-size}@container (max-width:760px){.range-bar .clock,.range-bar .back-to-latest>span{display:none}}@container (max-width:560px){.range-bar{flex-wrap:wrap;height:auto;padding-block:4px}}.range-loading{font-size:var(--fs-small)}@media (max-width:960px){.range-bar{overflow-x:auto}.legend{right:80px}}@media (max-width:480px){.range-bar{flex-wrap:wrap;height:auto;padding:4px 16px;overflow-x:visible}.range-bar .spacer{display:none}}.chart-panel.is-active:before{content:"";z-index:4;pointer-events:none;border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);border-radius:var(--radius-shell);animation:.22s ease-out fade-in;position:absolute;inset:0}.chart-panel.is-drop-target:after{content:"";background:color-mix(in srgb, var(--accent) 14%, transparent);border:1px dashed var(--accent);pointer-events:none;position:absolute;inset:0}.chart-panel:hover .chart-controls{opacity:1}.legend-key{color:var(--muted)}.legend-row.main .legend-values{font-weight:600}.legend-actions svg{width:14px;height:14px}.legend-market{align-items:center;gap:6px;display:inline-flex}.back-to-now{z-index:6;background:var(--primary-bg);height:34px;color:var(--primary-ink);font:inherit;box-shadow:var(--shadow);cursor:pointer;animation:pop-in var(--t-enter) var(--ease-out);border:0;border-radius:17px;align-items:center;gap:6px;padding:0 14px;font-weight:700;display:inline-flex;position:absolute;bottom:44px;right:88px}.back-to-now svg{width:16px;height:16px}.back-to-now:active{transform:scale(.96)}.legend,.topbar,.range-bar,.draw-bar,.panel-rail{-webkit-user-select:none;user-select:none}.chart-panel:has(.replay-bar) .selection-bar{bottom:88px}
.details{border-radius:var(--radius-card);background:var(--raised);border-bottom:0;margin:8px;padding:14px 14px 12px}.details h1{font-size:var(--fs-title);align-items:center;gap:10px;font-weight:700;line-height:28px;display:flex}.details-sub{font-size:var(--fs-small)}.details-price{align-items:baseline;gap:8px;margin-top:10px;display:flex}.details-stats{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px 8px;margin:12px 0 0;display:grid}.details-stats dt{color:var(--muted);font-size:var(--fs-small);line-height:16px}.details-stats dd{overflow-wrap:anywhere;margin:2px 0 0;font-weight:600}.finding{color:var(--muted);margin-top:12px}.finding strong{color:var(--text);font-weight:600}.past-returns{margin-top:12px}.past-returns summary{cursor:pointer;color:var(--muted)}.past-returns-title{font-size:var(--fs-body);margin-top:14px;font-weight:600}.past-returns-note{font-size:var(--fs-small);margin-top:6px}.season-grid{font-size:var(--fs-small);grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.season-grid li{gap:2px;display:grid}.season-grid .num{font-weight:600}.watch-table td:last-child,.watch-table th:last-child{text-align:right;width:0;padding:0}.watch-table tr.is-current{background:var(--selected)}.watch-table tr.is-current .row-link{color:var(--text);font-weight:700}.row-link{color:var(--neutral);cursor:pointer;text-align:left;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-weight:600;display:inline-flex}.row-link:hover{color:var(--text)}.row-remove{width:24px;height:24px;color:var(--text);cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:inline-grid}tr:hover .row-remove,li:hover .row-remove,.row-remove:focus-visible{opacity:1}.row-remove:hover{color:var(--text);background:var(--raised)}.row-remove:disabled{visibility:hidden}.object-list{margin:0;padding:0;list-style:none}.object-list li{border-top:1px solid var(--rule);grid-template-columns:auto minmax(0,1fr) 24px;align-items:center;gap:10px;min-height:34px;display:grid}.object-list li>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;text-align:right;overflow:hidden}.insights .scroll{padding:0 16px 16px}.insight{grid-template-columns:6px minmax(0,1fr);gap:4px 12px;padding:12px 0;display:grid}.insight+.insight{border-top:1px solid var(--rule)}.insight .tone{background:var(--muted);border-radius:50%;width:6px;height:6px;margin-top:7px}.insight .tone.positive{background:var(--positive)}.insight .tone.negative{background:var(--negative)}.insight h3{font-size:14px;font-weight:700;line-height:20px}.insight p{color:var(--muted);grid-column:2}.insight time{color:var(--muted);margin-right:6px;font-weight:500}.book{padding:0 16px 16px}.book-head{color:var(--muted);font-size:var(--fs-small);grid-template-columns:minmax(0,1fr) 84px 64px;align-items:center;gap:10px;padding-bottom:6px;display:grid}.book-row{grid-template-columns:minmax(0,1fr) 84px 64px;align-items:center;gap:10px;height:22px;display:grid;position:relative}.book-head span:not(:first-child),.book-row span:not(:first-child){text-align:right}.book-row .bar{background:var(--accent);opacity:.14;border-radius:2px;position:absolute;top:2px;bottom:2px;right:0}.book-row.wall .bar{opacity:.34}.book-row span{position:relative}.book-row.ask .price-cell{color:var(--pill-negative-ink)}.book-row.bid .price-cell{color:var(--pill-positive-ink)}.book-side-label{color:var(--muted);font-size:var(--fs-small);padding:4px 0}.book-mid{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);justify-content:space-between;margin:4px 0;padding:6px 0;font-weight:600;display:flex}.trades{padding:0 16px 12px}.row-remove.visible{opacity:1}.object-list li.drawing-row{grid-template-columns:auto minmax(0,1fr) auto}.drawing-row.is-hidden .row-link{color:var(--muted);text-decoration:line-through}.row-actions{gap:2px;display:inline-flex}.watch-table tr[draggable=true]{cursor:grab}.watch-table tr.drop-before td{box-shadow:inset 0 1px 0 var(--accent)}.data-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0;display:grid}.watch-table tr{position:relative}.watch-table .row-remove{background:var(--surface);position:absolute;top:50%;right:4px;translate:0 -50%}.watch-table tr:hover .row-remove,.watch-table .row-remove:focus-visible{opacity:1}.watch-table td:first-child{text-overflow:ellipsis;padding-left:8px;overflow:hidden}.watch-table th:first-child{width:44%;padding-left:8px}.watch-table td:nth-last-child(2),.watch-table th:nth-last-child(2){padding-right:8px}.watch-table tbody tr:hover{background:var(--hover)}.watch-table tbody tr.is-current:hover{background:var(--selected)}.watch-table td{white-space:nowrap;font-size:12.5px}.watch-table th{white-space:nowrap}.watch-table td.num,.watch-table th.num{padding-left:4px}.watch-table{table-layout:fixed}.watch-table th:nth-child(3),.watch-table td:nth-child(3){width:24%}.watch-table td.num:nth-child(3){padding-left:8px}.watch-table .row-link{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:flex;overflow:hidden}.watch-quote{color:var(--muted);font-size:11px;font-weight:500}.watch-table tbody tr{transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;border-radius:8px}.watch-table tr.is-current td:first-child{box-shadow:inset 2px 0 0 var(--accent)}.row-remove svg{width:14px;height:14px}.data-values div{justify-content:space-between;gap:8px;display:flex}.data-values dt{color:var(--muted)}.data-values dd{margin:0}.watch-pair{text-overflow:ellipsis;min-width:0;overflow:hidden}
.alert-form{gap:10px;display:grid}.alert-row{grid-template-columns:130px minmax(0,1fr);gap:8px;display:grid}.alert-options summary{cursor:pointer;color:var(--muted)}.alert-options-body{gap:6px;margin-top:10px;display:grid}.alert-form .btn.primary{justify-self:start}.toasts{z-index:50;gap:8px;width:min(360px,100vw - 32px);display:grid;position:fixed;bottom:56px;right:72px}.toast{background:var(--raised);box-shadow:var(--shadow);animation:toast-in .32s var(--ease-spring);border:0;border-radius:14px;grid-template-columns:18px minmax(0,1fr) 24px;align-items:start;gap:10px;padding:12px 10px 12px 14px;display:grid}.toast-title{font-weight:700}@media (max-width:960px){.toasts{bottom:16px;right:16px}}.toast>svg{width:18px;height:18px;color:var(--warning);margin-top:1px}.alert-market{align-items:center;gap:6px;display:inline-flex}
.layout-row{grid-template-columns:34px 1fr;align-items:center;gap:6px;padding:2px 0 2px 10px;display:grid}.layout-count{color:var(--muted);font-size:var(--fs-small)}.layout-save{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:16px;display:grid}.layout-save .btn{height:38px}
.screener-table{max-height:min(52svh,560px);overflow:auto}.screener-table thead th{background:var(--surface);z-index:1;position:sticky;top:0}.sort-button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.range-cell{align-items:center;gap:8px;display:inline-flex}.range-track{background:var(--control);width:64px;height:2px;position:relative}.range-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;top:-3px}.screener-toolbar{z-index:2;background:var(--surface);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:4px 0 10px;display:flex;position:sticky;top:0}.screener-toolbar .chip-filter{margin-top:0}.screener-search{width:180px}.screener-count{font-size:var(--fs-small)}.screener-presets{flex-wrap:wrap;row-gap:8px;height:auto;margin:12px 0 16px}.screener-presets button{height:var(--control-height)}.range-cell>span:last-child{text-align:right;min-width:36px;display:inline-block}.screener-table tbody tr{transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease}
.code-editor{resize:vertical;tab-size:2;white-space:pre;height:300px;padding:10px 12px;font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px}.script-error{border-radius:var(--radius-card);background:var(--pill-negative-bg);color:var(--pill-negative-ink);padding:10px 12px}.script-summary{margin-bottom:12px}.script-summary strong{font-weight:700}.script-stats{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px 16px;margin:0 0 12px;display:grid}.script-stats dt{color:var(--muted);font-size:var(--fs-small)}.script-log{border-radius:var(--radius-card);background:var(--ground);max-height:160px;padding:8px 10px;font-size:12px;overflow:auto}.script-help{margin-top:16px}.script-help summary{cursor:pointer;color:var(--muted)}.script-help dt{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-size:12px}.script-panel{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.script-panel .code-editor{height:max(180px, calc(var(--dock-body-height,320px) - 70px))}@media (max-width:960px){.script-panel{grid-template-columns:minmax(0,1fr)}}.script-trades .btn{white-space:nowrap}.script-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.script-template{width:220px}.fee-input{width:64px}.script-stats dd{margin:2px 0 0;font-weight:600}.script-help dl{gap:4px;margin:10px 0 0;display:grid}.script-help dd{color:var(--muted);margin:0 0 8px}@container (max-width:720px){.script-panel{grid-template-columns:minmax(0,1fr)}}
.settings-dialog{width:min(720px,100vw - 32px)}.settings-body{grid-template-columns:180px minmax(0,1fr);gap:24px;min-height:320px;display:grid}.settings-nav{align-content:start;gap:2px;display:grid}.settings-row{min-height:44px;padding:8px 0}.settings-hint{font-size:var(--fs-small)}@media (max-width:640px){.settings-body{grid-template-columns:minmax(0,1fr)}.settings-nav{grid-auto-flow:column;overflow-x:auto}}.template-form{display:inline-flex}.settings-nav button{height:34px;color:var(--neutral);text-align:left;cursor:pointer;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);background:0 0;border:0;border-radius:4px;padding:0 12px}.settings-nav button:hover{color:var(--text)}.settings-nav button[aria-current=page]{color:var(--text);background:var(--selected);font-weight:600}.settings-row>span{gap:2px;display:grid}
.paper-panel{grid-template-columns:minmax(240px,300px) minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.paper-ticket{gap:8px;display:grid}.paper-note{color:var(--muted);font-size:var(--fs-small);margin:0}.paper-sides{grid-template-columns:1fr 1fr;gap:8px;display:grid}.paper-side[aria-pressed=true].buy,.paper-submit.buy:not(:disabled){background:var(--positive);color:var(--surface);border-color:#0000}.paper-side[aria-pressed=true].sell,.paper-submit.sell:not(:disabled){background:var(--negative);color:var(--surface);border-color:#0000}.paper-amount{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.paper-total{font-size:var(--fs-small);margin:0}.paper-list{gap:4px;margin:0 0 12px;padding:0;list-style:none;display:grid}.paper-list .row-remove{margin-left:auto}.paper-ticket .field{gap:4px;margin-bottom:0}.paper-ticket .field>label{color:var(--muted);font-size:var(--fs-small);font-weight:500}.paper-ticket .input,.paper-ticket .paper-side,.paper-ticket .paper-submit{height:34px}.paper-row.two{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px;display:grid}.paper-ticket .field-hint{margin:0}.paper-account .paper-note{margin-bottom:12px}.paper-list li{flex-wrap:wrap;align-items:center;gap:6px;display:flex}@container (max-width:720px){.paper-panel{grid-template-columns:minmax(0,1fr)}}@container (min-width:721px) and (max-width:1100px){.paper-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.paper-side{transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out)}
.indicator-list{max-height:min(56svh,520px);margin-top:4px;overflow-y:auto}.indicator-dialog{width:min(760px,100vw - 32px)}.indicator-body{grid-template-columns:180px minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.indicator-nav{border-right:1px solid var(--border);align-content:start;gap:2px;padding-right:12px;display:grid}.indicator-dialog .indicator-list{height:min(56svh,480px);max-height:none;margin-top:0}.indicator-option{text-align:left;cursor:pointer;width:100%;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;background:0 0;border:0;border-radius:4px;grid-template-columns:minmax(0,1fr) auto 92px;align-items:center;column-gap:12px;padding:7px 10px;display:grid}.indicator-option:hover,.indicator-option:focus-visible{background:var(--hover);outline:none}.indicator-name{font-weight:600}.indicator-where{font-size:var(--fs-small)}.indicator-description{font-size:var(--fs-small);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;overflow:hidden}.indicator-added{font-size:var(--fs-small);color:var(--accent-ink);justify-content:flex-end;align-items:center;gap:4px;display:inline-flex}.indicator-add{font-size:var(--fs-small);color:var(--text);opacity:0;justify-content:flex-end;align-items:center;gap:4px;display:inline-flex}.indicator-option:hover .indicator-add,.indicator-option:focus-visible .indicator-add{opacity:1}.indicator-foot{margin-top:10px}.indicator-sets{align-content:start;gap:16px;display:grid}.set-form{gap:8px;display:grid}.set-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.indicator-nav button{height:32px;color:var(--neutral);text-align:left;cursor:pointer;transition:background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, transform .12s var(--ease-out);background:0 0;border:0;border-radius:4px;padding:0 10px}.indicator-nav button:hover{color:var(--text);background:var(--hover)}.indicator-nav button[aria-current=page]{color:var(--text);background:var(--selected);font-weight:600}.indicator-added svg,.indicator-add svg{width:16px;height:16px}@media (max-width:960px),(max-height:520px) and (pointer:coarse){.indicator-body{grid-template-columns:minmax(0,1fr)}.indicator-nav{scrollbar-width:none;border-right:0;gap:6px;padding:0 0 4px;display:flex;overflow-x:auto}.indicator-nav button{background:var(--raised);white-space:nowrap;border-radius:17px;flex:none;height:34px;padding:0 14px}.indicator-option{grid-template-columns:minmax(0,1fr) auto;padding:10px 8px}.indicator-add{display:none}.indicator-added{grid-area:2/2}.indicator-description{white-space:normal;grid-column:1}.indicator-dialog .indicator-list{height:52svh}}
.phone{background:var(--ground);grid-template:"bar""intervals""chart"minmax(0,1fr)"says""draw""tabs"/minmax(0,1fr);height:100svh;display:grid}.phone-bar{min-width:0;padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left));grid-area:bar;align-items:center;gap:8px;display:flex}.phone-home{border-radius:var(--radius-control);width:40px;height:40px;color:var(--text);flex:none;place-items:center;display:grid}.phone-home:active,.phone-symbol:active,.phone-tabs button:active,.sheet-actions>:active{transform:scale(.96)}.phone-symbol{border-radius:var(--radius-control);background:var(--raised);min-width:0;height:40px;color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;transition:transform var(--t-hover) ease;border:0;align-items:center;gap:8px;padding:0 10px 0 8px;font-size:15px;font-weight:700;display:inline-flex}.phone-symbol svg{width:16px;height:16px;color:var(--muted)}.phone-quote{flex-direction:column;align-items:flex-end;margin-left:auto;line-height:1.2;display:flex}.phone-price{font-size:17px;font-weight:700}.phone-change{color:var(--muted);font-size:var(--fs-small);font-weight:600}.phone-change.up{color:var(--positive)}.phone-change.down{color:var(--negative)}.phone-intervals{scrollbar-width:none;grid-area:intervals;gap:4px;padding:0 12px 8px;display:flex;overflow-x:auto}.phone-intervals::-webkit-scrollbar{display:none}.phone-intervals button{border-radius:var(--radius-control);min-width:44px;height:34px;color:var(--muted);font:inherit;cursor:pointer;transition:background-color var(--t-hover) ease, color var(--t-hover) ease;background:0 0;border:0;flex:none;padding:0 12px;font-weight:600}.phone-intervals button[aria-pressed=true]{background:var(--tile-active-bg);color:var(--tile-active-ink)}.phone .phone-chart{height:auto;margin:0 var(--gap);border-radius:var(--radius-shell);grid-area:chart;overflow:hidden}.phone .legend-row.main .legend-values{display:none}.phone .draw-bar{margin:var(--gap) var(--gap) 0;border-radius:var(--radius-shell)}.phone-tabs{padding:6px 4px calc(6px + env(safe-area-inset-bottom));grid-area:tabs;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.phone-tabs button{border-radius:var(--radius-control);min-height:52px;color:var(--muted);font:inherit;cursor:pointer;transition:color var(--t-hover) ease, transform var(--t-hover) ease;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:6px 0;font-size:11px;font-weight:600;display:flex}.phone-tabs svg{width:22px;height:22px}.phone-tabs button[aria-pressed=true]{color:var(--text)}.phone-tabs button[aria-pressed=true] svg{color:var(--accent-ink)}dialog.sheet{background:var(--surface);width:100%;max-width:100%;max-height:88svh;color:var(--text);box-shadow:var(--shadow);border:0;border-radius:20px 20px 0 0;margin:auto 0 0;padding:0}dialog.sheet[open]{animation:sheet-up var(--t-panel) var(--ease-out)}dialog.sheet::backdrop{background:var(--backdrop)}.sheet-body{flex-direction:column;max-height:88svh;display:flex}.sheet-handle{background:var(--control);border-radius:2px;flex:none;width:36px;height:4px;margin:8px auto 0}.sheet-head{flex:none;justify-content:space-between;align-items:center;padding:4px 8px 4px 16px;display:flex}.sheet-head h2{font-size:var(--fs-section);margin:0;font-weight:700}.sheet-content{min-height:0;padding:0 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain;overflow-y:auto}.sheet-content .details{padding:0 0 12px}.sheet-chips{scrollbar-width:none;gap:6px;margin:0 -16px;padding:4px 16px 12px;display:flex;overflow-x:auto}.sheet-chips::-webkit-scrollbar{display:none}.sheet-chips button{background:var(--raised);height:36px;color:var(--muted);font:inherit;cursor:pointer;border:0;border-radius:18px;flex:none;padding:0 14px;font-weight:600}.sheet-chips button[aria-selected=true]{background:var(--tile-active-bg);color:var(--tile-active-ink)}.sheet-panel{min-height:40svh}.sheet-section+.sheet-section{margin-top:22px}.sheet-section h3{color:var(--muted);font-size:var(--fs-small);margin:0 0 10px;font-weight:600}.sheet-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sheet-actions button,.sheet-link{border-radius:var(--radius-card);background:var(--raised);min-height:76px;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:transform var(--t-hover) ease;border:0;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px;font-weight:600;text-decoration:none;display:flex}.sheet-actions svg{width:20px;height:20px;color:var(--accent-ink)}.sheet-toggles{border-radius:var(--radius-card);background:var(--raised)}.sheet-toggles .switch-row{min-height:56px;padding:8px 14px}.sheet-toggles .switch-row+.switch-row{border-top:1px solid var(--border)}.sheet-toggles .switch-row>span{flex-direction:column;gap:2px;font-weight:600;display:flex}.sheet-toggles small{font-size:var(--fs-small);font-weight:500}.sheet-chart-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.sheet-chart-types button{border-radius:var(--radius-control);background:var(--raised);min-height:72px;color:var(--text);font:inherit;font-size:var(--fs-small);text-align:center;cursor:pointer;border:0;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;font-weight:600;display:flex}.sheet-chart-types button[aria-pressed=true]{background:var(--tile-active-bg);color:var(--tile-active-ink)}.sheet .range-bar{border-radius:var(--radius-card);background:var(--raised);flex-wrap:wrap;height:auto;padding:8px}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:none}}.sheet-body:focus{outline:none}.phone .chart-panel.is-inspecting .legend-row.main .legend-values{display:inline-flex}.says-strip{min-width:0;height:40px;margin:var(--gap) var(--gap) 0;border-radius:var(--radius-card);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;grid-area:says;align-items:center;gap:10px;padding:0 10px 0 14px;font-weight:600;display:flex}.says-strip-dot{background:var(--muted);border-radius:50%;flex:none;width:8px;height:8px}.says-strip.is-positive .says-strip-dot{background:var(--positive)}.says-strip.is-negative .says-strip-dot,.says-strip.is-trouble .says-strip-dot{background:var(--negative)}.says-strip-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.says-strip svg{width:16px;height:16px;color:var(--muted);flex:none}@media (max-width:960px),(max-height:520px) and (pointer:coarse){dialog:not(.sheet){width:100%;max-width:100%;max-height:88svh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;margin:auto 0 0}dialog:not(.sheet)[open]{animation:sheet-up var(--t-panel) var(--ease-out)}dialog.search-dialog{height:100svh;max-height:100svh;padding-top:calc(16px + env(safe-area-inset-top));border-radius:0;margin:0}dialog.search-dialog[open]{flex-direction:column;display:flex}.search-dialog .chip-filter{scrollbar-width:none;flex-wrap:nowrap;flex:none;overflow-x:auto}.search-dialog .chip-filter button{flex:none;height:34px;padding:0 14px}.search-dialog .search-results{flex:1;min-height:0;max-height:none}.search-option,.search-columns{grid-template-columns:minmax(0,1fr) 96px 64px}.search-option{min-height:48px}.search-option>span:nth-child(2),.search-columns>span:nth-child(2){display:block}.search-option>span:nth-child(4),.search-columns>span:nth-child(4){display:none}}.sheet-grab{touch-action:none;cursor:grab;flex-direction:column;flex:none;display:flex}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.tool-grid button{border-radius:var(--radius-control);background:var(--raised);min-height:84px;color:var(--text);font:inherit;font-size:var(--fs-small);text-align:center;cursor:pointer;border:0;flex-direction:column;align-items:center;gap:6px;padding:12px 6px;font-weight:600;display:flex}.tool-grid button svg{width:24px;height:24px}.tool-grid small{font-size:11px;font-weight:500}.tool-grid button[aria-pressed=true]{background:var(--tile-active-bg);color:var(--tile-active-ink)}.tool-grid button[aria-pressed=true] small{color:inherit}@media (max-height:520px) and (orientation:landscape){.phone{grid-template:"bar intervals tabs""chart chart tabs"minmax(0,1fr)"draw draw tabs"/auto minmax(0,1fr) auto}.phone-bar{padding-bottom:4px}.phone-intervals{padding:calc(4px + env(safe-area-inset-top)) 8px 0;align-self:center}.phone .says-strip{display:none}.phone-tabs{padding:calc(6px + env(safe-area-inset-top)) calc(6px + env(safe-area-inset-right)) 6px 4px;grid-template-columns:minmax(0,1fr);align-content:center;gap:2px}}
@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@keyframes pop-in{0%{opacity:0;transform:translateY(-6px)scale(.97)}to{opacity:1;transform:none}}@keyframes slide-in-left{0%{opacity:0;transform:translate(-8px)scale(.98)}to{opacity:1;transform:none}}@keyframes dialog-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translate(24px)scale(.98)}to{opacity:1;transform:none}}@keyframes panel-in{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:none}}@keyframes flash-up{0%{background-color:color-mix(in srgb, var(--positive) 28%, transparent)}to{background-color:#0000}}@keyframes flash-down{0%{background-color:color-mix(in srgb, var(--negative) 28%, transparent)}to{background-color:#0000}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}@keyframes live-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent)}60%{box-shadow:0 0 0 6px #0000}}@media (prefers-reduced-motion:reduce){.tool-button:active:not(:disabled),.btn:active:not(:disabled){transform:none}}

