/* ORBIT v10 — executive typography and reading comfort */
:root{
  --text-xs:11px;
  --text-sm:12px;
  --text-md:14px;
  --text-lg:16px;
  --text-muted:#596575;
}

body{font-size:16px;line-height:1.5;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
main{max-width:1720px;padding-top:38px}
header{min-height:82px}

/* Shell and global controls */
#sidebar{width:270px}
.app-body{margin-left:298px}
#sidebar .brand{font-size:26px}
.workspace{font-size:12px;line-height:1.5}.workspace span{font-size:13px}
.nav-label{font-size:10px;letter-spacing:1.6px}
nav a{font-size:14px;min-height:49px;padding:13px 14px}
nav a .nav-count{font-size:11px;padding:3px 7px}
.system-health{font-size:12px}.system-health span{font-size:11px;line-height:1.5}
.person{font-size:13px}.person small{font-size:11px}.avatar{font-size:11px}
.breadcrumb{font-size:13px}.synthetic{font-size:10px}
.global-focus>span,.global-period>span,.period-control>span{font-size:10px;letter-spacing:1.2px}
.global-focus select,.globalPeriod,.actionPeriod,.performancePeriod{font-size:12px;min-height:38px;padding-left:12px}
.icon-button{width:34px;height:34px;font-size:14px}.small-avatar{width:34px;height:34px}

/* Titles, supporting copy and controls */
.page-heading{margin-bottom:24px}.page-heading h1{font-size:clamp(34px,2.8vw,48px);letter-spacing:-1.8px;line-height:1.12}
.page-heading p,.exec-head p{font-size:15px;line-height:1.6;color:var(--text-muted)}
.exec-head h1{font-size:clamp(42px,4vw,64px);line-height:1.02;letter-spacing:-3px}
.exec-kicker{font-size:12px;letter-spacing:2px}
.page-scope{font-size:11px;padding:7px 10px;margin-top:12px}
.period-switch button{font-size:13px;min-height:40px;padding:10px 14px}
.notice{font-size:13px;line-height:1.6;padding:13px 16px;white-space:normal}
.primary,.secondary,.ghost,.danger{font-size:13px;min-height:40px}
.pill,.badge{font-size:11px}.eyebrow{font-size:11px}

/* Command center */
.command-surface{padding:32px 36px;min-height:250px}
.command-copy small{font-size:11px}.command-copy h2{font-size:clamp(31px,2.6vw,43px);line-height:1.18}
.command-copy p{font-size:15px;line-height:1.7}.ask-orbit{min-height:54px}.ask-orbit input{font-size:14px}
.priority-snapshot{
  display:grid;grid-template-rows:auto auto auto 1fr;align-content:start;
  padding-left:32px;border-left:1px solid rgba(255,255,255,.12)
}
.priority-label{
  position:static;display:block;width:100%;height:auto;min-height:0;margin:0 0 24px;padding:0 0 15px;
  background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.14);border-radius:0;
  color:#939ca9;font-size:12px;line-height:1.35;letter-spacing:2px;text-align:left
}
.priority-snapshot strong{font-size:52px;margin:0 0 18px}.priority-snapshot p{font-size:14px;line-height:1.6;max-width:390px}.priority-snapshot button{font-size:13px;justify-self:start;margin-top:20px}
.exec-metric{padding:23px 22px;min-height:138px}.exec-metric small{font-size:11px;line-height:1.35}.exec-metric b{font-size:32px}.exec-metric span{font-size:13px;line-height:1.45}
.metric-basis{font-size:12px;line-height:1.6}.metric-basis button{font-size:12px}
.card-head h2,.exec-card-head h2{font-size:18px}.card-head p,.exec-card-head p{font-size:13px;line-height:1.55}
.card-head a,.card-head button,.exec-card-head a,.exec-card-head button{font-size:12px}
.pulse-row{grid-template-columns:32px minmax(0,1fr) 105px 88px 30px;gap:16px;padding:20px 0}
.pulse-rank{font-size:12px}.pulse-row h3{font-size:15px;line-height:1.4}.pulse-row p{font-size:12px;line-height:1.5}
.pulse-data small{font-size:10px}.pulse-data b{font-size:13px}.pulse-score{font-size:14px}
.change-item{padding:18px 0}.change-item b{font-size:14px}.change-item p{font-size:12px;line-height:1.5}.change-item time{font-size:11px}
.source-health small{font-size:10px}.source-health b{font-size:12px}

/* Ecosystem intelligence */
.ecosystem-intelligence{padding:30px}
.ecosystem-heading>div:first-child{max-width:900px}.ecosystem-heading small,.connection-head small{font-size:11px}
.ecosystem-heading h2{font-size:30px;margin:9px 0}.ecosystem-heading p{font-size:14px;line-height:1.6}
.ecosystem-period span{font-size:13px}.ecosystem-period b{font-size:11px}
.ecosystem-focusbar button{font-size:12px;padding:10px 15px}
.ecosystem-grid{gap:14px}.ecosystem-card{padding:20px}.ecosystem-card-top small{font-size:10px;line-height:1.35}
.ecosystem-card h3{font-size:18px}.ecosystem-card-top em{font-size:9px;padding:5px 7px}
.ecosystem-card>strong{font-size:30px}.ecosystem-card>p{font-size:12px}
.ecosystem-card-stats span{font-size:10px;line-height:1.35}.ecosystem-card-stats b{font-size:13px}
.ecosystem-capacity>span{font-size:11px}.ecosystem-services span{font-size:10px;padding:5px 7px}
.connection-head{padding:20px 22px}.connection-head h3{font-size:20px}.connection-head>span{font-size:11px}
.connection-row{padding:19px 22px;gap:13px}.connection-row small{font-size:10px;line-height:1.4}.connection-row h4{font-size:14px;line-height:1.45}.connection-row p{font-size:12px;line-height:1.5}
.connection-row aside b{font-size:14px}.connection-row aside span{font-size:10px}

/* Forecasts, actions and general records */
.op-card h3,.forecast-head h3{font-size:18px}.op-card .company-name,.forecast-head p{font-size:12px}
.op-card .hypothesis{font-size:14px;line-height:1.7}.op-card-bottom{font-size:12px}.op-card-bottom span{font-size:10px}.op-card-bottom strong{font-size:16px}
.confidence-pill{font-size:11px}.forecast-factors span{font-size:11px}.forecast-foot{font-size:13px;line-height:1.65}
.nba-row{grid-template-columns:52px 1.45fr .8fr .8fr auto;gap:20px;padding:21px 24px}
.nba-index{font-size:24px}.nba-row h3{font-size:16px}.nba-row p{font-size:13px;line-height:1.6}
.nba-cell small{font-size:10px}.nba-cell b{font-size:13px}.nba-actions button{font-size:13px}
.history-row{padding:21px 24px}.history-row time{font-size:12px}.history-row h3{font-size:15px}.history-row p,.history-owner small{font-size:12px}.history-owner b{font-size:13px}.history-status{font-size:11px}.history-row>strong{font-size:15px}
.time-toolbar,.view-tabs button{font-size:13px}.view-tabs b{font-size:11px}

/* Risk, ledger, account coverage and capacity */
.risk-head,.ledger-head,.coverage-head,.capacity-head{padding:25px 27px}
.risk-head small,.ledger-head small,.coverage-head small,.capacity-head small{font-size:11px}
.risk-head h2,.ledger-head h2,.coverage-head h2,.capacity-head h2{font-size:25px;margin:8px 0}
.risk-head p,.ledger-head p,.coverage-head p,.capacity-head p{font-size:14px;line-height:1.65}
.risk-summary small{font-size:10px}.risk-summary b,.coverage-kpis b,.ledger-kpis b{font-size:18px}.coverage-kpis span,.ledger-kpis span{font-size:11px}
.risk-row{padding:17px 24px}.risk-row span{font-size:12px}.risk-row b{font-size:13px}.risk-row small{font-size:11px}.risk-labels{font-size:10px!important}
.ledger-row{padding:18px 24px}.ledger-row span>b{font-size:13px}.ledger-row small,.ledger-row em{font-size:10px}.ledger-labels{font-size:10px!important}
.vertical-tags i,.ledger-status{font-size:10px;padding:5px 7px}
.coverage-tabs button{font-size:12px;padding:10px 13px}.coverage-labels{font-size:10px}
.coverage-row{padding:12px 17px}.coverage-account b{font-size:13px}.coverage-account small{font-size:11px}.coverage-cell b{font-size:11px}.coverage-cell small{font-size:10px}
.capacity-head>span{font-size:11px}.capacity-card{padding:19px}.capacity-card header small{font-size:9px}.capacity-card h3{font-size:17px}.capacity-card header em{font-size:9px}
.capacity-number strong{font-size:34px}.capacity-number span{font-size:11px}.capacity-legend span{font-size:10px}.capacity-card footer span,.capacity-card footer small{font-size:10px}.capacity-card footer b{font-size:12px}

/* Performance and data tables */
.legend-inline,.y-labels,.bar-group>b{font-size:11px}.quality-list span{font-size:13px}.quality-list b{font-size:14px}
.decision-speed small{font-size:10px}.decision-speed strong{font-size:32px}.decision-speed em{font-size:12px}
.outcome-step b{font-size:28px}.outcome-step span{font-size:13px}.outcome-step small{font-size:11px}
table{font-size:13px}th{font-size:11px;padding:16px 20px}td,.activity-card td{font-size:13px;padding:18px 20px}td small{font-size:11px}
.learning-strip small{font-size:11px}.learning-strip b{font-size:20px}.learning-strip p{font-size:13px}

/* Memory, scenario, studio and governance */
.source-node small{font-size:10px}.source-node b{font-size:15px}.source-node p{font-size:12px}
.layer-bridge strong{font-size:14px}.layer-bridge span{font-size:12px}
.graph-node{font-size:11px}.graph-node b{font-size:13px}
.memory-item small{font-size:11px}.memory-item h4{font-size:14px}.memory-item p{font-size:12px}
.metric-top{font-size:12px}.metric-foot{font-size:12px}.metric-value{font-size:34px}
.range-label{font-size:13px}.range-label strong{font-size:15px}.range-help{font-size:11px}
.sim-big h2{font-size:16px}.sim-big p{font-size:14px}.formula{font-size:13px;line-height:1.85}
.gen-controls button{font-size:13px;padding:15px}.generated-document h2{font-size:28px}.generated-document h3{font-size:13px}.generated-document p,.generated-document li{font-size:14px;line-height:1.75}
.source-tag{font-size:10px}.gen-warning{font-size:12px}.studio-focus-context small{font-size:11px}.studio-focus-context p,.studio-focus-context li{font-size:13px;line-height:1.6}
.integration-state{font-size:11px}.playbook-grid .card-body h3{font-size:18px}.playbook-grid p,.playbook-grid ol{font-size:13px}
.info-list{font-size:13px;line-height:1.9}.subtle{font-size:12px}.focus-empty{font-size:13px}

/* Explainability drawer */
.drawer{width:min(800px,100%)}.drawer h2{font-size:32px}.drawer .subtitle{font-size:14px}.drawer h3{font-size:16px}
.drawer p{font-size:14px;line-height:1.8}.detail-box span{font-size:11px}.detail-box strong{font-size:18px}
.evidence strong{font-size:13px}.evidence p,.step p{font-size:13px}.step span{font-size:11px}.annotation,.audit-line{font-size:12px}
.app-footer{font-size:11px;line-height:1.5}

@media(max-width:1280px){
  #sidebar{width:238px}.app-body{margin-left:262px}
  .exec-metric b{font-size:28px}.exec-metric{padding:20px 17px}
  .pulse-row{grid-template-columns:28px minmax(0,1fr) 88px 70px 26px;gap:12px}
  .risk-row,.ledger-row{gap:10px}
}

@media(max-width:800px){
  #sidebar{width:290px}.app-body{margin-left:0}header{min-height:68px}
  main{padding:27px 18px 44px}.page-heading h1{font-size:34px}.page-heading p,.exec-head p{font-size:14px}
  .exec-head h1{font-size:40px;letter-spacing:-2px}.command-surface{padding:26px 22px}.command-copy h2{font-size:30px}
  .exec-metrics,.performance-metrics{grid-template-columns:1fr 1fr}.exec-metric{min-height:120px}
  .pulse-row{grid-template-columns:26px 1fr 68px 28px}.pulse-row .pulse-data{display:none}
  .nba-row{grid-template-columns:36px 1fr;gap:12px}.nba-cell,.nba-actions{grid-column:2}.nba-actions{flex-wrap:wrap}
  .risk-head,.ledger-head,.coverage-head,.capacity-head{align-items:flex-start;flex-direction:column}
  .risk-row,.ledger-row{min-width:760px}.risk-table,.ledger-table,.coverage-matrix{overflow:auto}
  .generated-document{padding:22px}.app-footer{font-size:10px}
}

@media(max-width:520px){
  body{font-size:15px}.exec-head h1{font-size:35px}.page-heading h1{font-size:31px}
  .exec-metrics,.performance-metrics{grid-template-columns:1fr}.exec-metric{min-height:auto}
  .ecosystem-intelligence{padding:19px 15px}.ecosystem-heading h2{font-size:26px}
  .ecosystem-card{padding:19px}.connection-row{padding:18px 16px}
  .pulse-row h3{font-size:14px}.pulse-row p{font-size:12px}.change-item b{font-size:13px}
  .gen-layout{grid-template-columns:1fr}.generated-document p,.generated-document li{font-size:13px}
}

/* Final readability layer: protects the executive scale from older view rules. */
.global-focus select{min-width:138px;max-width:160px}
.page-heading>div p,.page-heading p{font-size:15px!important;line-height:1.6!important}
.nav-label,.global-focus>span,.global-period>span,.period-control>span{font-size:11px!important}
.synthetic,.eyebrow,.page-scope,.pill,.badge{font-size:12px!important}
.person small,#sidebar footer small{font-size:12px!important}

.exec-metric small,.command-copy small,.priority-label,
.risk-head small,.ledger-head small,.coverage-head small,.capacity-head small,
.performance-metrics small,.learning-strip small,.outcome-step small,
th,.activity-card th{font-size:12px!important}

.pulse-data small,.source-health small,.ecosystem-card-top small,
.ecosystem-card-stats span,.connection-row small,.connection-row aside span,
.nba-cell small,.risk-summary small,.risk-labels,.ledger-labels,
.ledger-row small,.ledger-row em,.coverage-labels,.coverage-cell small,
.capacity-card header small,.capacity-card header em,.capacity-legend span,
.capacity-card footer span,.capacity-card footer small,.decision-speed small,
.source-node small,.source-tag,.detail-box span,.step span{
  font-size:11px!important;
}

.pulse-row p,.change-item p,.ecosystem-card>p,.connection-row p,
.op-card .company-name,.op-card-bottom,.history-row p,.history-owner small,
.source-node p,.layer-bridge span,.memory-item p,.subtle,.annotation,.audit-line{
  font-size:13px!important;
}

.risk-row span,.risk-row small,.ledger-row span,.coverage-account small,
.coverage-cell b,.capacity-number span,.decision-speed em,.outcome-step span,
td small,.range-help,.gen-warning,.app-footer{font-size:12px!important}

.vertical-tags i,.ledger-status,.source-tag{font-size:11px!important}

/* Login and manifesto: decorative copy remains subtle, never illegible. */
.brand-small{font-size:10px;line-height:1.45;width:104px}
.manifesto footer{font-size:10px;line-height:1.5}
.manifesto footer b{font-size:10px}
.manifesto footer span{font-size:10px}
.vlabel{font-size:10px;letter-spacing:1.3px}
.signin label{font-size:13px}
.signin input{font-size:14px}
.signin .demo-note{font-size:12px;line-height:1.7}
.signin .demo-note b{font-size:13px}
.signin small{font-size:12px;line-height:1.6}

@media(max-width:800px){
  .global-focus select{min-width:0;max-width:145px}
  .page-heading>div p,.page-heading p{font-size:14px!important}
  .priority-snapshot{padding:24px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.12)}
  .priority-label{margin-bottom:20px}
}
