/* The Terminal's seven-dock Dashboard. All selectors stay inside this page. */
.terminal-dashboard-page #scrollhost { overflow:hidden; }
/* Frost the same viewport-aligned Pinstripe field as Terminal. */
.terminal-dashboard-page .terminal-rail,
.td-workspace .td-card {
  background-image: linear-gradient(to bottom right, rgb(255 255 255 / 9%), rgb(255 255 255 / 2.5%) 45%, rgb(183 221 242 / 4.5%)),
    var(--pinstripe-background);
  background-color: #020c11;
  background-attachment: scroll, fixed;
}
.terminal-dashboard-page { --td-line:#3b5965; --td-text:#e7f3fa; --td-muted:#9ab9cb; --td-up:#21dfb5; --td-down:#f36d88; }
#terminal-workspace.td-workspace { width:100%; height:100%; min-height:0; padding:6px 6px 0; color:var(--td-text); font-family:Magnes,sans-serif; font-size:12px; font-weight:300; line-height:1.3; position:relative; }
.td-layout { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(0,1fr); gap:6px; height:100%; min-height:0; }
.td-left { display:grid; grid-template-rows:minmax(0,1.39fr) minmax(0,1fr); min-height:0; min-width:0; gap:6px; }
.td-bottom { display:grid; grid-template-columns:1fr 1.015fr; min-height:0; min-width:0; gap:6px; }
.td-right { display:grid; grid-template-rows:minmax(0,1.05fr) minmax(0,1.04fr) minmax(0,.99fr) minmax(0,.85fr); gap:6px; min-height:0; min-width:0; }
.td-workspace .td-card { min-height:0; min-width:0; display:flex; flex-direction:column; border:1px solid #5b7d8738; overflow:hidden; position:relative; scroll-margin:6px; }
.td-workspace .td-card[hidden] { display:none; }
.td-workspace .td-card { grid-column:auto; }
.td-workspace .td-card:focus { outline:1px solid #90bbc8; outline-offset:-1px; }
.td-workspace .td-card-head { display:flex; align-items:center; flex:none; height:33px; gap:4px; padding:4px 9px 4px 11px; border-bottom:1px solid #4c6a764f; background:linear-gradient(120deg,#a4d6df0d,#2b4e5b22); }
.td-workspace .td-icon { display:inline-block; width:22px; height:22px; object-fit:contain; flex:none; vertical-align:middle; }
.td-workspace .td-card-head > .td-icon { width:23px; height:23px; }
.td-workspace h2 { font-size:12px; font-weight:400; line-height:1; margin:0; color:#f4f8fb; white-space:nowrap; }
.td-card-actions { display:flex; align-items:center; gap:5px; margin-left:auto; flex:none; }
.td-workspace button,.td-workspace input,.td-workspace select { font:inherit; letter-spacing:0; border-radius:0; box-shadow:none; }
.td-workspace button { cursor:pointer; min-height:0; padding:0; color:inherit; border:1px solid transparent; background:transparent; }
.td-workspace button:hover { color:#fff; border-color:#789ba7; background:#afd3e610; }
.td-workspace button:focus-visible,.td-workspace input:focus-visible,.td-workspace select:focus-visible { outline:1px solid #c4e8ef; outline-offset:-2px; }
.td-workspace button:disabled { opacity:.35; cursor:not-allowed; }
.td-workspace .td-tool { width:26px; height:25px; display:inline-flex; justify-content:center; align-items:center; flex:none; }
.td-tool .td-icon { width:20px; height:20px; opacity:.85; }
.td-workspace .td-tool[aria-pressed="true"] { background:#b9dbea20; border-color:#9cbac7; }
.td-card-content { flex:1; min-height:0; min-width:0; overflow:auto; }
.td-card-content p { margin:0; }
.td-workspace .td-up { color:var(--td-up); }.td-workspace .td-down { color:var(--td-down); }
.td-muted { color:var(--td-muted); }.td-gold { color:#d9c67e; }
.td-empty { color:#9ab9cb; padding:22px 14px; font-size:11px; line-height:1.65; }
.td-empty strong { display:block; color:#c4dce7; font-weight:300; }
.td-workspace .td-card.td-maximized { position:absolute; z-index:30; inset:6px 6px 0; }
.td-card.td-minimized > .td-card-content { display:none; }
.td-card.td-minimized { align-self:start; }
.td-workspace .td-card.td-positions { position:absolute; z-index:28; inset:10% 10%; background:linear-gradient(135deg,#254a5a,#07171e); box-shadow:0 12px 60px #0008; }
/* Card bodies and nested panes inherit the shared co-house-scrollbar in style.css. */
/* Chart: inspector, price / volume, navigator and oscillator. */
.td-chart-title { display:flex; align-items:center; gap:4px; flex:0 0 calc(16.6% - 11px); min-width:0; }
.td-chart-head h2 { margin-right:0; }
.td-periods { display:flex; align-items:center; justify-content:space-around; min-width:0; flex:1; border-left:1px solid #526c775c; padding-left:7px; margin-left:0; gap:1px; }
.td-workspace .td-periods button { color:#6d8d9f; font-size:10px; padding:4px 2px; }
.td-workspace .td-periods button[aria-pressed="true"] { color:#f7fbff; }
.td-chart-head .td-card-actions { border-left:1px solid #526c775c; padding-left:6px; margin-left:6px; gap:8px; }
.td-chart-body { display:grid; grid-template-columns:16.6% minmax(0,1fr); overflow:hidden; }
.td-inspector { padding:6px 7px 2px 10px; overflow:auto; min-width:0; background:linear-gradient(145deg,#698f9d80,#173947 56%,#0a1b24); border-right:4px solid #8fb4c15c; }
.td-search { display:flex; align-items:center; min-width:0; background:linear-gradient(120deg,#a6d4e51c,#7faab310); border:1px solid #94b9c56b; height:28px; padding:0 6px; gap:8px; }
.td-search .td-icon { width:18px; height:18px; opacity:.8; }
.td-workspace .td-search input { background:transparent; border:0; min-height:0; min-width:0; width:100%; padding:0; height:100%; color:#ecf5fa; outline:0; font-size:12px; }
.td-workspace .td-search input::placeholder { color:#91aebb; }
.td-company-quote { display:grid; grid-template-columns:28px minmax(0,1fr); gap:6px; margin:6px 0 7px; align-items:center; }
.td-logo { display:inline-flex; flex:none; align-items:center; justify-content:center; width:27px; height:27px; font-size:16px; background:#10232c; color:#cbe7f1; border:1px solid #6f939b55; font-weight:300; overflow:hidden; }
.td-logo img { width:100%; height:100%; object-fit:contain; }
img:is([src="assets/terminal/logos/COHR.png"], [src="assets/terminal/logos/RL.png"]) { background:#e7f0f4; }
.td-company-name { display:block; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--td-muted); }
.td-latest { display:flex; justify-content:space-between; align-items:baseline; gap:3px; margin-top:4px; }
.td-latest small { font-size:8px; color:var(--td-muted); }.td-latest strong { font-size:14px; font-weight:300; }
.td-ohlc { border-top:1px solid #7898a45c; border-bottom:1px solid #7898a45c; padding:5px 0; }
.td-quote-date { font-size:10px; color:var(--td-muted); padding:0 0 5px; }
.td-ohlc dl,.td-overlays dl { display:grid; grid-template-columns:auto auto; margin:0; gap:5px; font-size:11px; }
.td-workspace dt,.td-workspace dd { margin:0; }.td-ohlc dt { color:var(--td-muted); }.td-ohlc dd,.td-overlays dd { text-align:right; }
.td-overlays { padding:5px 0; }
.td-small-heading { display:flex; justify-content:space-between; font-size:8px; color:var(--td-muted); letter-spacing:.4px; margin-bottom:7px; text-transform:uppercase; }
.td-overlays dl { gap:5px; font-size:10px; }
.td-overlays dt i { display:inline-block; width:8px; height:2px; margin:0 4px 3px 1px; }
.td-chart-modes { display:flex; gap:4px; border-top:1px solid #7898a45c; padding-top:4px; margin-top:4px; }
.td-workspace .td-chart-modes button { border:1px solid #617d876b; background:#a3c4d30b; flex:1; font-size:7px; padding:3px 0; }
.td-chart-modes .td-icon { display:block; margin:0 auto 3px; width:21px; height:21px; }
.td-plot { display:grid; grid-template-rows:minmax(130px,1fr) minmax(57px,.32fr) minmax(80px,.42fr); min-height:0; min-width:0; padding:4px 0 4px; position:relative; overflow:hidden; }
.td-price { position:relative; min-height:0; min-width:0; }
.td-price > svg { display:block; height:100%; width:100%; }
.td-plot svg text { fill:#b5d0df; font-family:Magnes,sans-serif; font-weight:300; font-size:10px; }
.td-plot svg .td-band-label { font-size:8px; }
.td-navigator { min-height:0; padding:10px 0 0 10px; display:flex; flex-direction:column; justify-content:end; }
.td-navigator > svg { width:100%; height:calc(100% - 22px); min-height:25px; }
#td-history { flex:1; min-height:0; }
#td-history > svg { width:100%; height:100%; display:block; }
.td-range-controls { display:flex; gap:9px; justify-content:center; align-items:center; height:22px; flex:none; }
.td-workspace .td-range-controls button { color:#789cac; font-size:9px; padding:2px 4px; }
.td-range-controls input { appearance:none; max-width:75px; height:2px; min-height:0; border:0; padding:0; background:#4a6673; }
.td-range-controls input::-webkit-slider-thumb { appearance:none; width:6px; height:9px; background:#b9d7e0; }
.td-oscillator { display:flex; flex-direction:column; min-height:0; padding:3px 0 0 3px; }
.td-oscillator > svg { flex:1; width:100%; min-height:0; }
#td-oscillator-plot { flex:1; min-height:0; }
#td-oscillator-plot > svg { width:100%; height:100%; display:block; }
.td-legend { display:flex; align-items:center; gap:14px; height:25px; font-size:10px; flex:none; }
.td-legend i { display:inline-block; height:2px; width:16px; vertical-align:middle; margin-right:5px; }
.td-legend .td-fill-key { height:10px; width:14px; border:1px solid #257dea; background:linear-gradient(90deg,#034bc1,#0078ff); }
.td-plot-empty { position:absolute; inset:20px 18px 28%; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.td-chart-tooltip { position:absolute; top:4px; left:6px; font-size:9px; padding:4px 6px; color:#cee5ee; background:#10242de8; pointer-events:none; z-index:3; }
.td-popover { position:absolute; top:34px; right:5px; width:210px; padding:12px; border:1px solid #7695a1; background:#142c37; box-shadow:0 8px 25px #0006; z-index:5; font-size:11px; }
.td-popover h3 { margin:0 0 8px; font-size:12px; font-weight:300; }
.td-popover label { display:flex; align-items:center; gap:6px; margin:7px 0; }
.td-workspace .td-popover input { width:12px; height:12px; min-height:0; accent-color:#50bfa8; padding:0; }
.td-workspace .td-popover button { border:1px solid #74909b; padding:6px 8px; }
.td-popover p { font-size:10px; line-height:1.6; margin:8px 0; color:#9bb9c8; }
/* Watchlist and Movers share the Terminal's inset navigation. */
.td-split { display:grid; grid-template-columns:28% minmax(0,1fr); overflow:hidden; }
.td-inset-rail { min-width:0; overflow:auto; padding:9px 7px 4px 6px; border-right:1px solid #385866; background:linear-gradient(135deg,#799da82b,#152e3b44); }
.td-inset-rail .td-small-heading { margin:0 4px 10px; font-size:8px; }
.td-workspace .td-list-button { display:block; width:100%; text-align:left; padding:8px 7px; margin-bottom:2px; color:#879faa; border:1px solid transparent; position:relative; isolation:isolate; }
.td-list-button > span { position:relative; display:flex; align-items:center; gap:6px; font-size:15px; z-index:1; }
.td-list-button .td-icon { width:18px; height:18px; }
.td-list-button small { position:relative; display:block; padding:6px 0 0 25px; font-size:9px; z-index:1; }
/* co_watchlist_navigation.tinted_frost: the native face with Color blending at .88. */
.td-choice-plate { position:absolute; inset:0; isolation:isolate; opacity:0; pointer-events:none;
  background:linear-gradient(to left,rgba(170,205,211,.14902),rgba(170,205,211,0) 7px),linear-gradient(to right,rgba(181,220,227,.16863),rgba(181,220,227,0) 7px),linear-gradient(to top,rgba(186,220,229,.21961),rgba(186,220,229,0) 7px),linear-gradient(to bottom,rgba(208,237,243,.25098),rgba(208,237,243,0) 7px),linear-gradient(118deg,#315d6e,#194958 43%,#10323e);
  box-shadow:inset 0 0 0 1px #90b7c5; }
.td-choice-plate::before { content:""; position:absolute; inset:0; background:var(--td-choice-color,#38bdf8); mix-blend-mode:color; opacity:.88; }
.td-workspace .td-list-button[aria-pressed="true"] { color:#f0f8fb; background:transparent; border-color:transparent; box-shadow:none; }
.td-list-button[aria-pressed="true"] .td-choice-plate { opacity:1; }
.td-list-button[aria-pressed="true"] small { color:#a7c7d4; }
.td-list-button::after { content:""; position:absolute; right:1px; bottom:1px; width:5px; height:5px; background:var(--td-choice-color,#38bdf8); opacity:.48; z-index:1; }
.td-list-button[aria-pressed="true"]::after { opacity:1; }
.td-list-content { display:flex; flex-direction:column; min-width:0; overflow:hidden; padding:6px 8px 0; }
.td-list-search { display:flex; gap:5px; margin-bottom:9px; }.td-list-search .td-search { flex:1; }
.td-workspace .td-list-search .td-tool { width:25px; height:27px; border:1px solid #6e89965e; }
.td-stock-scroll { overflow:auto; min-height:0; }
.td-stock-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.td-stock-table th { font-weight:300; color:#9fbacc; font-size:8px; text-align:left; padding:3px 0 5px; border-bottom:1px solid #48677277; }
.td-stock-table th:first-child { width:35%; }.td-stock-table th:nth-child(2) { width:25%; text-align:right; }.td-stock-table th:nth-child(3) { width:16%; text-align:right; }.td-stock-table th:nth-child(4) { width:24%; text-align:right; }
.td-stock-table td { height:40px; padding:6px 0; border-bottom:1px solid #45616b66; vertical-align:middle; text-align:right; font-size:11px; }
.td-stock-table td:first-child { text-align:left; }
.td-workspace .td-symbol { display:flex; align-items:center; gap:6px; min-width:0; max-width:100%; border:0; text-align:left; }
.td-symbol > span:last-child { min-width:0; overflow:hidden; }.td-symbol b { display:block; font-size:12px; font-weight:300; }.td-symbol small { display:block; font-size:9px; color:var(--td-muted); white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.td-last { display:block; font-size:15px; line-height:1.2; }.td-change { display:block; font-size:9px; white-space:nowrap; margin-top:3px; }
.td-spark { display:block; width:100%; height:21px; padding-left:7px; }
.td-cap-tabs { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #3a5763; margin:3px 0 0; padding:0 0 6px; font-size:8px; }
.td-workspace .td-cap-tabs button { font-size:10px; padding:4px 7px; color:#8caebb; }.td-workspace .td-cap-tabs button[aria-pressed="true"] { color:#fff; }
.td-move-badge { display:inline-block; min-width:55px; padding:5px 3px; border:.65px solid; border-image:linear-gradient(125deg,#d9f2f687,#d9f2f623 55%,#d9f2f637) 1; background:linear-gradient(125deg,#69a399,#1d4a45 25%,#092b29 65%,#06161e); font-size:11px; }
.td-move-badge.td-down { background:linear-gradient(125deg,#986f81,#442b38 25%,#27151f 65%,#06161e); }
.movers-content .td-up { color:#6df0c7; }.movers-content .td-down { color:#ff899c; }
.td-direction .td-list-button { margin:10px 0 12px; padding:15px 10px; }.td-direction .td-list-button > span { font-size:16px; gap:8px; }.td-direction .td-icon { width:24px; height:24px; }
.td-rank { font-size:9px; color:#94b6c4; width:9px; }
/* Brief: company summary, valuation matrix, five native detail tabs. */
.td-brief-content { display:flex; flex-direction:column; padding:9px 10px 5px; }
.td-brief-overview { display:grid; grid-template-columns:37% minmax(0,1fr); flex:1; min-height:0; overflow:auto; padding:0 6px 7px; }
.td-brief-company { border-right:1px solid #3d5c69; padding-right:7px; }
.td-brief-company .td-symbol { margin-bottom:8px; }.td-brief-company .td-symbol b { font-size:13px; }.td-brief-company .td-symbol small { font-size:8px; }
.td-brief-price { font-size:23px; line-height:1.1; margin-bottom:5px; }
.td-brief-company > .td-change { font-size:11px; }.td-brief-company > small { font-size:7px; color:#9db6c5; display:block; margin-top:5px; }
.td-valuation { display:grid; grid-template-columns:1fr 1fr; gap:6px 9px; align-content:start; padding-left:12px; }
.td-valuation > div { display:flex; align-items:center; gap:7px; }.td-valuation .td-icon { width:20px; height:20px; }
.td-valuation small { display:block; color:#a7c4d6; font-size:8px; line-height:1; }.td-valuation strong { display:block; font-weight:300; font-size:15px; margin-top:3px; line-height:1; }
.td-detail-tabs { display:flex; flex:none; border-top:1px solid #3c5966; padding-top:4px; margin-top:3px; gap:3px; }
.td-workspace .td-detail-tabs button { flex:1; font-size:9px; min-width:0; padding:3px; line-height:1.3; color:#a0bfd0; }
.td-detail-tabs .td-icon { display:block; margin:0 auto 3px; width:17px; height:17px; }
.td-workspace .td-detail-tabs button[aria-pressed="true"] { border-color:#9db7c2; color:#f5faff; background:#d7ecf619; }
.td-financial-table { width:100%; border-collapse:collapse; font-size:10px; }.td-financial-table td { border-bottom:1px solid #36515b; padding:5px; }.td-financial-table td:last-child { text-align:right; }
/* News tabs and headline feed. */
.td-news-content { display:flex; flex-direction:column; padding:0 10px 5px; }
.td-news-tabs { display:flex; flex:none; }.td-workspace .td-news-tabs button { flex:1; border:1px solid #35515d; padding:4px; font-size:11px; }.td-news-tabs .td-icon { width:17px; height:17px; margin-right:7px; }
.td-workspace .td-news-tabs button[aria-pressed="true"] { border-bottom-color:#b7d4df; background:#c7e0e411; }
.td-news-company { display:flex; align-items:center; gap:7px; padding:2px 0; border-bottom:2px solid #8bb6be; flex:none; }.td-news-company .td-logo { width:23px; height:23px; }.td-news-company strong { font-weight:300; font-size:11px; }.td-news-company small { display:block; color:#8fabba; font-size:8px; }.td-news-counts { margin-left:auto; display:flex; gap:9px; font-size:9px; }
.td-news-feed { min-height:0; flex:1; overflow:auto; }
.td-news-item { display:block; color:#e2f1f8; text-decoration:none; padding:6px 0 4px; border-bottom:1px solid #41606d; font-size:11px; line-height:1.35; }.td-news-item:hover { background:#a2d3e60c; }.td-news-item small { display:flex; justify-content:space-between; gap:8px; font-size:9px; margin-top:2px; color:#a3becf; }.td-news-item > span { display:block; }
.td-news-foot { display:flex; justify-content:space-between; align-items:center; height:18px; font-size:9px; color:#9dbacb; flex:none; }
/* Calendar: fixed week rail, filter tiles, scrolling agenda. */
.td-calendar-content { display:grid; grid-template-columns:19% minmax(0,1fr); overflow:hidden; }
.td-calendar-rail { display:flex; flex-direction:column; align-items:stretch; background:linear-gradient(130deg,#729aa530,#17344288); border-right:1px solid #355460; padding:7px 8px 15px; min-width:0; }
.td-workspace .td-month { width:100%; padding:3px 0 12px; border:0; color:#c1dce9; font-size:11px; min-height:28px; text-transform:uppercase; text-align:center; }
.td-date-input { width:100%!important; background:#19323e!important; font-size:9px!important; padding:3px!important; min-height:24px!important; color-scheme:dark; }
.td-week-days { display:flex; flex-direction:column; flex:1; justify-content:space-around; gap:3px; }
.td-workspace .td-day { text-align:center; padding:4px 1px; border:1px solid transparent; }.td-day small { display:block; color:#9dbfd0; font-size:10px; line-height:1.2; text-transform:uppercase; }.td-day strong { display:block; font-size:18px; font-weight:300; line-height:1.2; }
.td-workspace .td-day[aria-pressed="true"] { border-color:#829ea9; background:#b5d8e512; }
.td-calendar-agenda { display:flex; flex-direction:column; overflow:hidden; padding:8px 10px; min-width:0; }
.td-event-tabs { display:flex; gap:6px; flex:none; }
.td-workspace .td-event-tabs button { border:1px solid #6d848b77; padding:7px 5px; background:linear-gradient(125deg,#b9d7dd22,#50717e08); flex:1; min-width:0; font-size:10px; display:flex; align-items:center; justify-content:center; gap:4px; }.td-event-tabs .td-icon { width:21px; height:21px; }.td-event-tabs small { font-size:8px; margin-left:auto; color:#accedd; }.td-event-tabs small::before { content:"▪ "; color:#d5bf7c; }
.td-workspace .td-event-tabs button[aria-pressed="false"] { opacity:.45; }
.td-agenda-rows { flex:1; min-height:0; overflow:auto; padding:20px 18px; }.td-event { border-bottom:1px solid #38505d; padding:8px 0; line-height:1.5; }.td-event small { display:block; color:#99b7c7; font-size:9px; }
.td-agenda-rows .td-empty { padding:0; }
/* Sentiment uses the running Terminal's regime model, not invented scores. */
.td-sentiment-content { padding:3px 10px 8px; }
.td-scope { display:flex; justify-content:flex-end; border-bottom:1px solid #3e5e6b; padding-bottom:2px; margin-bottom:3px; }.td-workspace .td-scope button { border:1px solid #3a5763; padding:4px 10px; font-size:11px; color:#91b1c3; }.td-workspace .td-scope button[aria-pressed="true"] { color:#f3faff; border-color:#95b0ba; background:#bed8e40e; }
.td-regime { display:grid; grid-template-columns:60% 40%; padding-bottom:4px; }
.td-regime-main { display:flex; align-items:center; gap:8px; padding-right:8px; }.td-regime-main > .td-icon { width:25px; height:25px; }.td-regime-name { display:flex; align-items:center; gap:15px; }.td-regime-name strong { font-size:19px; font-weight:300; }.td-regime-name small { font-size:9px; color:#e0cc7d; }.td-regime-main p { color:#9dbdce; font-size:9px; margin-top:7px; }
.td-vix { border-left:1px solid #3a5967; padding-left:12px; }.td-vix-value { display:flex; align-items:center; gap:6px; }.td-vix-value .td-icon { width:22px; height:22px; }.td-vix-value strong { font-size:20px; font-weight:300; }.td-vix-value small { font-size:8px; margin-left:auto; }
.td-vix-meter { height:2px; margin:4px 0 3px; background:linear-gradient(90deg,#aed3de 55%,#a19b81); position:relative; }.td-vix-meter i { display:block; width:3px; height:6px; background:#d6e9ed; position:absolute; top:-2px; }.td-vix > small { font-size:9px; color:#b0c9d9; }
.td-risk { display:flex; gap:20px; align-items:center; color:#a7c2d2; font-size:9px; padding:2px 0 5px; }.td-risk-track { flex:1; display:flex; justify-content:space-between; align-items:center; height:2px; background:#4c6a78; }.td-risk-track i { width:4px; height:4px; background:#95b6c5; }.td-risk-track i.active { background:#e0cc81; width:7px; height:7px; }
.td-lenses { width:100%; border-collapse:collapse; }.td-lenses td { border-top:1px solid #43616d99; padding:2px 0; font-size:10px; }.td-lenses td:first-child { width:40%; }.td-lenses td:last-child { text-align:right; font-size:9px; }.td-lenses .td-icon { width:16px; height:16px; margin-right:6px; }
.td-inflation-title { display:flex; align-items:center; gap:7px; margin-top:4px; padding-top:5px; border-top:1px solid #3c5865; font-size:13px; }.td-inflation-title small { margin-left:auto; font-size:9px; color:#96b5c5; }
.td-inflation-metrics { display:grid; grid-template-columns:1fr 1.08fr 1fr; margin-top:7px; }.td-inflation-metrics div { padding:0 11px; border-left:1px solid #42616b; }.td-inflation-metrics div:first-child { padding-left:0; border:0; }.td-inflation-metrics small { display:block; font-size:8px; color:#a0bbce; }.td-inflation-metrics strong { display:block; font-size:20px; font-weight:300; margin-top:5px; }
.td-inflation-line { height:2px; background:linear-gradient(90deg,#6b9aaa,#7c837d); margin:6px 0 0; }
.td-sentiment-source { font-size:8px; color:#89a8b7; margin-top:6px!important; }
.td-notice { position:absolute; z-index:40; bottom:12px; left:50%; transform:translateX(-50%); max-width:calc(100% - 30px); border:1px solid #779ca7; padding:10px 16px; color:#d4e8f1; background:#142e3bf5; font-size:11px; box-shadow:0 8px 25px #0005; }
.td-broker { display:flex; align-items:center; gap:9px; color:#adc8d7; padding:0 10px; white-space:nowrap; border-left:1px solid #5b7d8c; height:100%; font-size:11px; flex:none; background:#153744; }
.td-broker button { font:inherit; background:transparent; border:0; color:inherit; cursor:pointer; padding:0; }.td-broker-status { font-size:8px; color:#9cafba; }.td-broker-status::before { content:"▪ "; color:#9aa8b0; }.td-broker[data-connected="true"] .td-broker-status::before { color:#28d7a7; }
@media(max-width:1250px) and (min-width:901px) {
  .td-chart-head .td-card-actions { gap:0; padding-left:3px; }.td-chart-head .td-tool { width:21px; }.td-chart-head h2 { margin-right:5px; font-size:12px; }.td-workspace .td-periods button { font-size:9px; }
  .td-inspector { padding-left:5px; padding-right:5px; }.td-latest strong { font-size:13px; }.td-ohlc dl { font-size:10px; }.td-overlays dl { font-size:9px; gap:5px; }.td-latest small { display:none; }
  .td-direction .td-list-button { padding:12px 4px; }.td-direction .td-list-button > span { font-size:12px; gap:4px; }.td-list-button > span { font-size:12px; }.td-event-tabs .td-icon { display:none; }.td-event-tabs small { display:none; }
  .td-valuation { padding-left:7px; gap:7px 5px; }.td-valuation .td-icon { width:14px; height:14px; }.td-valuation strong { font-size:12px; }.td-brief-price { font-size:22px; }.td-regime-name { gap:5px; }.td-regime-name strong { font-size:15px; }.td-regime-main > .td-icon { width:19px; }.td-brief-company .td-symbol b { font-size:10px; }
}
@media(max-width:900px) {
  .terminal-dashboard-page #scrollhost { overflow-y:auto; }
  /* Paint the desktop gradient at viewport scale without mobile fixed-background handling. */
  .td-workspace .td-card[data-card] {
    --td-card-inset:6px;
    background-color:#071419; background-attachment:scroll; background-repeat:no-repeat;
    background-origin:border-box; background-size:100vw 100vh; background-size:100vw 100svh;
    background-position:calc(-1 * (var(--rail-w,0px) + var(--td-card-inset))) calc(-1 * (var(--nav-h) + var(--td-card-inset)));
  }
  #terminal-workspace.td-workspace { height:auto; min-height:100%; }
  .td-layout { grid-template-columns:1fr; height:auto; }.td-left { grid-template-rows:470px 330px; }.td-right { grid-template-columns:1fr 1fr; grid-template-rows:310px 300px; }
  .td-broker { display:none; }.td-workspace .td-card.td-maximized { position:fixed; inset:calc(var(--nav-h) + 6px) 6px var(--page-content-bottom) calc(var(--rail-w) + 6px); }
  .td-workspace .td-card.td-positions { position:fixed; inset:calc(var(--nav-h) + 20px) 10px var(--page-content-bottom); }
  .td-event-tabs .td-icon { display:none; }.td-regime-name { gap:5px; }.td-regime-name strong { font-size:16px; }.td-valuation { padding-left:8px; gap:8px; }
}
@media(max-width:720px) {
  #terminal-workspace.td-workspace { padding:5px 5px 0; }
  .td-workspace .td-card[data-card] { --td-card-inset:5px; }
  .td-left { display:contents; }.td-bottom { grid-template-columns:1fr; grid-template-rows:315px 340px; }
  .td-layout > .td-left > .td-card:not(.td-maximized) { height:470px; }.td-right { display:grid; grid-template-columns:1fr; grid-template-rows:300px 300px 250px 270px; }
  .td-workspace .td-chart-head { flex-wrap:wrap; height:63px; gap:2px; padding-left:7px; }.td-chart-head .td-card-actions { order:1; border:0; margin-left:auto; }.td-periods { order:2; flex-basis:100%; border:0; padding:0; }.td-chart-head h2 { margin-right:0; }
  .td-chart-body { grid-template-columns:99px minmax(0,1fr); }.td-inspector { padding:5px; }.td-company-quote { grid-template-columns:22px minmax(0,1fr); gap:4px; }.td-company-quote .td-logo { width:22px; height:22px; }.td-latest strong { font-size:12px; }.td-latest small { display:none; }.td-company-name { font-size:8px; }.td-ohlc dl { font-size:10px; }.td-overlays dl { font-size:9px; }
  .td-plot { grid-template-rows:minmax(130px,1fr) 65px 102px; }.td-legend { font-size:8px; gap:5px; flex-wrap:wrap; height:28px; }.td-legend i { width:8px; margin-right:3px; }.td-range-controls { gap:0; }.td-workspace .td-range-controls button { font-size:8px; padding:2px 3px; }.td-range-controls input { width:35px; }.td-plot svg text { font-size:9px; }.td-chart-modes { gap:2px; }.td-chart-modes button { font-size:6px!important; }
  .td-workspace .td-card.td-maximized { inset:calc(var(--nav-h) + 5px) 5px var(--page-content-bottom); }.td-brief-content { padding:10px; }.td-valuation strong { font-size:16px; }.td-detail-tabs button { font-size:10px!important; }.td-detail-tabs .td-icon { width:22px; height:22px; }.td-news-item { font-size:12px; }
}
@media(prefers-reduced-motion:no-preference) { .td-card:focus { animation:td-focus .9s ease-out; } @keyframes td-focus { from { outline-color:#3bdac0; } to { outline-color:#90bbc8; } } }

.td-lenses td:last-child { text-transform:capitalize; }
.td-setup-key { margin-left:auto; white-space:nowrap; }
.td-setup-key + .td-setup-key { margin-left:0; }
.td-setup-key i { width:6px; height:6px; border-radius:50%; }
@media(max-width:1100px) { .td-setup-key { display:none; } }

@media(max-width:720px) { .td-chart-title { flex-basis:auto; } .td-chart-head .td-tool { width:23px; } .td-chart-head .td-card-actions { gap:1px; padding:0; } }
