/* Readable data layer: larger type, fewer cramped panels, explicit sources */
:root{
  --read-xs:10px;
  --read-sm:12px;
  --read-md:14px;
  --read-lg:16px;
}

/* shell */
body{font-size:16px}
.topbar-inner{min-height:68px}
.nav a{font-size:13px;padding:10px 12px}
.live{font-size:10px}
.terminal-bar{min-height:44px;font-size:11px;padding:0 30px}
.term-title,.term-link,.term-latency,.term-version{font-size:10px}
.term-right{font-size:9px;gap:14px}
.term-btn{font-size:9px;padding:5px 8px}
.cmdbar{height:46px;padding:0 30px;gap:12px}
.cmd-prompt{font-size:13px}
#cmd-input{font-size:14px}
.cmd-hint{font-size:9px}
.cmd-run{font-size:9px;padding:6px 10px}
.cmd-sug{padding:0}
.cmd-sug b{font-size:12px}
.cmd-sug span{font-size:10px}
.ticker-wrap{height:42px}
.tick b{font-size:11px}

/* live desk */
.live-desk{padding:52px 0 36px}
.live-desk h2{font-size:46px;margin-bottom:10px}
.live-desk-head p{font-size:15px;line-height:1.65;max-width:760px}
.live-kicker{font-size:10px}
.live-desk-meta b{font-size:12px}
.live-desk-meta span{font-size:9px}
.live-grid{gap:14px}
.tape-panel{grid-column:span 12}
.watch-panel{grid-column:span 6}
.news-panel{grid-column:span 6}
.live-side{grid-column:span 12;grid-template-columns:1fr 1fr;gap:14px}
.live-chart-panel,.buildout-strip,.marks-strip{grid-column:span 12}
.live-panel-head{padding:15px 18px}
.live-panel-head b{font-size:15px}
.live-panel-kicker{font-size:9px}
.live-panel-meta{font-size:9.5px;gap:12px}
.live-panel-foot{font-size:9px;padding:11px 18px}
.live-row{font-size:13px;padding:9px 14px;gap:10px}
.live-row.live-head{font-size:9.5px;padding:9px 14px}
.gpu-row,.live-table .live-head{grid-template-columns:1.5fr .8fr .7fr .8fr .8fr .8fr .5fr .9fr}
.gpu-row .lr-sym b{font-size:13px}
.gpu-row .lr-sym small{font-size:9px}
.lr-prov{font-size:10px}
.lr-spark svg{width:110px;height:24px}
.lr-spark{height:24px}
.watch-table .live-row,.watch-table .live-head{grid-template-columns:58px 1fr 88px 74px 92px}
.watch-row{font-size:13px;padding:8px 14px}
.watch-sym{font-size:12px}
.watch-name{font-size:10px}
.watch-spark svg{width:86px;height:20px}
.live-news{max-height:365px;padding:4px 18px 12px}
.news-item{grid-template-columns:48px 1fr;gap:12px;padding:10px 0}
.news-time{font-size:9.5px}
.news-title{font-size:13px;line-height:1.45}
.news-meta{font-size:9px}
.live-feeds{padding:4px 18px 10px}
.feed-row{grid-template-columns:10px 1fr 75px 58px 42px;font-size:11.5px;padding:9px 0;gap:9px}
.live-alerts{padding:4px 18px 10px;max-height:185px}
.alert-row{font-size:11px;padding:9px 0;gap:10px}
.alert-time{font-size:8.5px}
.alert-level{font-size:8px}
.live-chart-head{padding:13px 18px;gap:22px}
.live-chart-head b{font-size:14px}
.live-chart-tabs button{font-size:10px;padding:5px 9px}
.live-chart-stats{gap:20px}
.live-chart-stats span{font-size:8px}
.live-chart-stats b{font-size:11px}
.live-chart-body{height:175px;padding:4px 12px 8px}
.buildout-head,.marks-head{padding:13px 18px}
.buildout-head b,.marks-head b{font-size:13px}
.buildout-meta{font-size:8px}
.buildout-item,.marks-item{padding:12px 15px}
.buildout-item span,.marks-item span{font-size:8.5px}
.buildout-item b{font-size:19px}
.buildout-item small,.marks-item small{font-size:8px}
.buildout-item em,.marks-item em{font-size:7.5px}
.marks-item b{font-size:15px}
.marks-grid{grid-template-columns:repeat(8,1fr)}

/* data overview */
.overview{padding:58px 0 34px;border-bottom:1px solid var(--line-soft)}
.overview-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:start}
.overview h1{font-family:var(--display);font-size:58px;line-height:1.02;letter-spacing:-.05em;margin:0 0 20px;font-weight:600}
.overview-deck{font-size:18px;line-height:1.65;color:var(--muted);max-width:760px;margin:0 0 28px}
.eyebrow{font-size:11px}
.freshness-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:linear-gradient(160deg,rgba(200,255,90,.035),rgba(255,255,255,.01))}
.freshness-top{display:flex;justify-content:space-between;align-items:center;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.freshness-row{display:grid;grid-template-columns:86px 1fr;gap:12px;padding:9px 0;border-top:1px solid var(--line-soft);font-size:12px;color:var(--dim)}
.freshness-row b{font-family:var(--mono);font-weight:400;color:var(--lime);font-size:12px}
.freshness-card p{font-size:11px;line-height:1.6;color:var(--dim);margin:14px 0 0;border-top:1px solid var(--line-soft);padding-top:12px}
.freshness-card .tag{font-size:8px}

/* research sections */
.section{padding:70px 0}
.section-head h2{font-size:44px;line-height:1.05;letter-spacing:-.04em}
.section-deck{font-size:16px;line-height:1.65;max-width:700px}
.section-kicker{font-size:11px}
.section-aside{font-size:11.5px;line-height:1.75}
.panel-title{font-size:15px}
.panel-title span{font-size:10px}
.panel-head{padding:18px 20px 0}
.chart-note{font-size:11px;line-height:1.6;padding:0 20px 18px}
.legend{font-size:10px}
.data-note{font-size:12px;line-height:1.7;color:var(--muted);border:1px solid var(--line);border-left:3px solid var(--lime);border-radius:8px;padding:14px 16px;margin-top:14px;background:rgba(200,255,90,.025)}
.data-note b{color:var(--text)}
table{font-size:14px}
th{font-size:9px}
td{padding:12px 10px}
.table-wrap{border-radius:10px}
.sales-stats,.mem-stats{gap:12px}
.sales-stats .stat,.mem-stats .stat{padding:16px 18px}
.stat .k{font-size:9px}
.stat .v{font-size:30px}
.stat .s{font-size:10px;line-height:1.55}
.evidence-table td{font-size:13px}
.source-stack summary{font-size:12px}
.source-quote{font-size:12px}

/* tables */
#memory-table td,#capex-table td,#neo-table td,#fin-table td,#sources-table td{font-size:13px;line-height:1.5}
#sources-table td:nth-child(2){color:var(--text)}
#sources-table a{color:var(--cyan);text-decoration:none}
#sources-table a:hover{text-decoration:underline}
#sources-table .cadence{font-family:var(--mono);font-size:11px;color:var(--lime);white-space:nowrap}
.log-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.log-card{border:1px solid var(--line);border-radius:10px;padding:18px;background:linear-gradient(160deg,rgba(255,255,255,.02),rgba(255,255,255,.005))}
.log-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;font-family:var(--mono);font-size:9px;color:var(--dim);letter-spacing:.05em}
.log-card h3{font-size:16px;line-height:1.35;margin:0 0 7px;font-weight:600}
.log-card p{font-size:12.5px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.log-card a{font-family:var(--mono);font-size:10px;color:var(--cyan);text-decoration:none}
.log-card a:hover{text-decoration:underline}

/* header / footer */
.foot-note{font-size:13px;line-height:1.65}
.foot-col p,.foot-col a{font-size:12px;line-height:1.65}
.foot-bottom{font-size:10px}
.meta-line{font-size:10.5px}

/* kpi */
.kpi-label{font-size:11px}
.kpi-sub{font-size:10px}
.kpi .delta{font-size:9px}

/* mobile */
@media(max-width:1100px){
  .watch-panel,.news-panel{grid-column:span 12}
  .live-side{grid-template-columns:1fr}
  .overview-grid{grid-template-columns:1fr;gap:26px}
  .overview h1{font-size:48px}
  .log-grid{grid-template-columns:1fr}
  .marks-grid{grid-template-columns:repeat(4,1fr)}
  .buildout-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .terminal-bar{padding:8px 16px;gap:8px}
  .term-utc,.term-center,.term-right{display:none}
  .cmdbar{height:44px;padding:0 16px}
  .cmd-hint{display:none}
  .cmd-suggest{left:16px;right:16px}
  .live-desk h2{font-size:36px}
  .live-desk-head p{font-size:14px}
  .live-row{font-size:12px;min-width:0}
  .gpu-row,.live-table .live-head{grid-template-columns:1.25fr .75fr .65fr .75fr .75fr .8fr}
  .gpu-row .lr-prov,.gpu-row .lr-spark{display:none}
  .live-table .live-head>div:nth-child(7),.live-table .live-head>div:nth-child(8){display:none}
  .watch-table .live-row,.watch-table .live-head{grid-template-columns:52px 1fr 76px 64px 72px}
  .news-item{grid-template-columns:44px 1fr}
  .live-news{max-height:300px}
  .live-side{grid-column:span 1}
  .live-chart-stats{display:none}
  .buildout-grid,.marks-grid{grid-template-columns:repeat(2,1fr)}
  .buildout-item:nth-child(2n),.marks-item:nth-child(2n){border-right:0}
  .overview{padding:40px 0 26px}
  .overview h1{font-size:38px}
  .overview-deck{font-size:15px}
  .freshness-row{grid-template-columns:78px 1fr;font-size:11px}
  .section{padding:52px 0}
  .section-head h2{font-size:34px}
  .section-deck{font-size:14px}
  .log-card h3{font-size:15px}
}
.kpi-basis{font-family:var(--mono);font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);border:1px solid var(--line-soft);border-radius:4px;padding:2px 5px;white-space:nowrap}
.source-inline{color:var(--cyan);text-decoration:none;font-family:var(--mono);font-size:10px}
.source-inline:hover{text-decoration:underline}
.live-side{align-items:start}
.marks-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1180px){.marks-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.marks-grid{grid-template-columns:repeat(2,1fr)}}
.ticker-wrap{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.ticker-wrap:before,.ticker-wrap:after{display:none}
.ticker{animation:none;padding-left:0;transform:none}
@media(max-width:760px){.ticker{width:max-content}.tick{padding:11px 16px;font-size:11px}}
.live-row{font-size:13.5px}
.news-title{font-size:13.5px}
.feed-row{font-size:12px}
.watch-name{font-size:11px}
@media(max-width:760px){.live-row{font-size:13px}.news-title{font-size:13.5px}.watch-name{font-size:10.5px}}
@media(max-width:760px){
  .live-panel-head{flex-direction:column;align-items:flex-start;gap:7px}
  .live-panel-head>div:first-child{width:100%}
  .live-panel-meta{flex-wrap:wrap;gap:8px;padding-top:0}
  .live-panel-head b{font-size:16px}
}
@media(max-width:760px){
  .live-table .live-head>div:nth-child(6){display:block}
}
