/* Build 105 · presentation only. No data, classification, control or copy changes.
   One visual system for every room: less chrome above the fold, one clear answer per
   view, consistent cards and chips, and charts where numbers already exist. */

/* ---- Header: brand, title, actions on one compact band -------------------- */
#bc014 .bc014-wrap{padding-top:18px}
#bc014 .bc014-head{align-items:center;padding-bottom:14px;border-bottom:1px solid #1f3247}
#bc014 .bc014-title{font-size:24px;line-height:1.15;margin:2px 0 2px;letter-spacing:-.03em}
#bc014 .bc014-sub{font-size:13px;color:#86a0ba}
#bc014 .bc014-actions .bc014-btn{min-height:38px;padding:8px 12px;font-size:12.5px;border-radius:9px;background:#0b192b;border-color:#26405c}
#bc014 .bc014-actions .bc014-btn:hover{background:#12263d;border-color:#3f6383}
/* Room switcher (Build 143): the current room and a count, opening to every room. Replaces the pill strip. */
#bc014 .bc037-switch{margin-top:10px;position:relative}
#bc014 .bc037-switch summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid #28405c;border-radius:9px;background:#0a1728;color:#b7c8dc;font-size:12.5px;cursor:pointer;user-select:none}
#bc014 .bc037-switch summary::-webkit-details-marker{display:none}
#bc014 .bc037-switch summary::after{content:"▾";opacity:.7}
#bc014 .bc037-switch[open] summary::after{content:"▴"}
#bc014 .bc037-switch summary:hover,#bc014 .bc037-switch summary:focus-visible{border-color:#3f6383;background:#12263d;outline:none}
#bc014 .bc037-switch-here{font-weight:800;color:#d9fff0}
#bc014 .bc037-switch-label{opacity:.85}
#bc014 .bc037-companies{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;margin-top:8px;padding:10px;border:1px solid #28405c;border-radius:10px;background:#0a1728;max-width:520px}
#bc014 .bc037-companies a{display:block;text-align:center;padding:7px 8px;font-size:12px;border-color:#28405c;color:#b7c8dc;background:#0f2138}
#bc014 .bc037-companies a[aria-current],#bc014 .bc037-companies a.bc037-here{background:#173b34;border-color:#3f8a72;color:#d9fff0}
/* Program chooser: tighter, one line of context. */
#bc014 .bc080-chooser{margin:12px 0 0}
#bc014 .bc080-chooser select{min-height:42px;border-radius:10px}
#bc014 .bc080-chooser small,#bc014 .bc080-chooser p{font-size:12px;line-height:1.5;color:#7f97b1}

/* ---- Section navigation: a segmented control with an underline indicator --- */
#bc014 .bc014-wrap.bc085-uniform .bc037-nav{gap:2px;padding:6px;margin:12px 0 6px;border-radius:12px;background:#0a1626f2;border-color:#22374f;box-shadow:0 10px 30px #0004}
#bc014 .bc037-nav a{position:relative;min-height:40px;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:650;color:#b3c4d8!important;white-space:nowrap;transition:background .15s,color .15s}
#bc014 .bc037-nav a:hover{background:#122438;color:#e8f3fb!important}
#bc014 .bc037-nav a[aria-current="location"],#bc014 .bc037-nav a[aria-current="page"]{background:#15332e;color:#dffcf0!important;box-shadow:inset 0 -2px #7fd8bd}
#bc014 .bc037-nav a.bc076-show-all{font-weight:500;color:#86a0ba!important}
/* On phones the control scrolls sideways in one row instead of wrapping into three. */
@media(max-width:700px){
  #bc014 .bc037-nav,#bc014 .bc014-wrap.bc085-uniform .bc037-nav{display:flex;grid-template-columns:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:2px;padding:5px;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 34px),transparent)}
  #bc014 .bc037-nav::-webkit-scrollbar{display:none}
  #bc014 .bc037-nav a,#bc014 .bc014-wrap.bc085-uniform .bc037-nav a{flex:0 0 auto;font-size:12.5px;min-height:40px;padding:8px 11px}
  #bc014 .bc037-nav a.bc076-show-all{margin-left:8px}
  #bc014 .bc014-sub{display:none}
  #bc014 .bc014-title{font-size:21px}
  #bc014 .bc014-actions{margin-top:10px;gap:6px}
  #bc014 .bc014-actions .bc014-btn{min-height:36px;padding:7px 10px;font-size:12px}
  #bc014 .bc014-wrap{padding:14px 14px 48px}
}

/* ---- Views and cards: one rhythm ------------------------------------------ */
#bc014 .bc076-view h2.bc076-view-heading{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#7f97b1;margin:18px 0 10px;font-weight:800}
#bc014 .bc014-wrap.bc085-uniform :is(.bc014-card,.bc053-hero,.bc085-primary,.bc053-disclosure,.bc077-supporting>details){border-radius:14px;border-color:#22364f;box-shadow:0 14px 34px #0006,inset 0 1px 0 #ffffff0a}
#bc014 .bc014-card{background:linear-gradient(180deg,#0d1c30,#0b182a)}
#bc014 .bc053-hero{background:radial-gradient(ellipse at 100% 0%,#17423b 0%,transparent 52%),linear-gradient(180deg,#0d1d2f,#0b1828);border-color:#2b5a4f}
#bc014 .bc014-card h2,#bc014 .bc053 h2{font-size:19px;letter-spacing:-.015em}
#bc014 .bc014-k,#bc014 .bc053-label,#bc014 .bc053-scores span{color:#7fd8bd;opacity:.9}
#bc014 .bc014-wrap.bc085-uniform :is(p,li,.bc014-detail,.bc014-why){color:#c3d2e2}
#bc014 .bc014-wrap .bc014-why{color:#93a9c2}
/* Disclosures read as rows, with a chevron that turns. */
#bc014 details.bc014-context>summary,#bc014 .bc053-disclosure>summary,#bc103-valuation summary{list-style:none;display:flex;align-items:center;gap:10px}
#bc014 details.bc014-context>summary::-webkit-details-marker,#bc014 .bc053-disclosure>summary::-webkit-details-marker,#bc103-valuation summary::-webkit-details-marker{display:none}
#bc014 details.bc014-context>summary::before,#bc014 .bc053-disclosure>summary::before,#bc103-valuation summary::before{content:"";flex:0 0 auto;width:7px;height:7px;border-right:1.5px solid #7fd8bd;border-bottom:1.5px solid #7fd8bd;transform:rotate(-45deg);transition:transform .15s;margin-left:2px}
#bc014 details[open].bc014-context>summary::before,#bc014 .bc053-disclosure[open]>summary::before,#bc103-valuation details[open]>summary::before{transform:rotate(45deg)}
/* Provenance and classification chips look the same everywhere. */
#bc014 :is(.bc053-tag,.bc082-type,.bc103-prov,.bc101-dir){border-radius:999px;font-size:10.5px;letter-spacing:.06em;font-weight:700;padding:3px 8px;border:1px solid #35516a;color:#a9c3d6;background:#0a1728}
#bc014 .bc103-prov-measured{color:#8ee7c9;border-color:#2f7a63}
#bc014 .bc103-prov-unresolved{color:#f0c674;border-color:#7a6430}
#bc014 .bc103-prov-management{color:#9fc4ff;border-color:#35598a}
/* Links inside cards use the accent, not underline-everything. */
#bc014 .bc014-wrap a:not(.bc014-btn):not(.bc037-nav a):not(.bc037-companies a){color:#9fdcc9;text-decoration-color:#3f6f62;text-underline-offset:3px}
#bc014 .bc014-wrap a:not(.bc014-btn):not(.bc037-nav a):not(.bc037-companies a):hover{color:#c9f5e6}
/* Entry state on Decision: a quiet strip, not another card competing with the hero. */
#bc014 #bc102-return{background:#0a1626;border-color:#22364f;padding:14px 18px}
#bc014 #bc102-return h3{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7f97b1}
#bc014 #bc102-return .bc102-head{font-size:15px;color:#e6f0f8}
/* View change: content settles in rather than snapping. */
@media(prefers-reduced-motion:no-preference){#bc014 .bc076-view:not([hidden])>*{animation:bc105-in .22s ease-out both}@keyframes bc105-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}

/* ---- Valuation charts ----------------------------------------------------- */
.bc105-chart{display:block;width:100%;height:auto;margin:10px 0 4px;overflow:visible}
.bc105-chart text{font-family:Inter,ui-sans-serif,system-ui,sans-serif;fill:#c3d2e2;font-size:11px}
.bc105-chart .bc105-axis{stroke:#2a4058;stroke-width:1}
.bc105-chart .bc105-zero{stroke:#3d5a78;stroke-dasharray:3 3}
.bc105-chart .bc105-pos{fill:#5fd0af}.bc105-chart .bc105-neg{fill:#e7a25a}.bc105-chart .bc105-cash{fill:#7fb2ff}.bc105-chart .bc105-debt{fill:#e28b8b}.bc105-chart .bc105-total{fill:#dff6ee}
.bc105-chart .bc105-if{fill:#5fd0af;opacity:.22}.bc105-chart .bc105-label{fill:#e6f0f8;font-weight:600}.bc105-chart .bc105-muted{fill:#7f97b1}
.bc105-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:#93a9c2;margin:0 0 8px}
.bc105-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;vertical-align:-1px;margin-right:6px}
#bc103-valuation .bc103-scope{order:99}

/* ---- Controls inside panels match the room, not the browser default ---------- */
#bc014 :is(.bc102-go,.bc103-set,.bc103-save,.bc101-save){font:inherit;font-size:13px;font-weight:600;min-height:38px;padding:8px 14px;border-radius:9px;cursor:pointer;background:#123229;color:#dffcf0;border:1px solid #3f8a72;transition:background .15s,border-color .15s}
#bc014 :is(.bc102-go,.bc103-set,.bc103-save,.bc101-save):hover{background:#174034;border-color:#7fd8bd}
#bc014 :is(.bc103-set){background:#0b192b;color:#b3c4d8;border-color:#26405c;min-height:32px;padding:5px 10px;font-size:12px}
#bc014 :is(.bc103-form input,.bc103-form textarea,.bc101-form textarea,.bc101-form select){background:#0a1626;color:#e6f0f8;border:1px solid #2a4058;border-radius:9px;padding:8px 10px}
/* A view already announces its name; the panel inside it does not repeat it. */
#bc014 .bc076-view#bc076-valuation > #bc103-valuation > h2,#bc014 .bc076-view#bc076-valuation > #bc103-valuation > .bc014-k{display:none}
#bc014 .bc076-view#bc076-cash > #bc031-runway > .bc014-k{display:none}

@media(max-width:700px){.bc105-chart text{font-size:12px}.bc105-legend{font-size:11px;gap:4px 12px}}

/* The supporting-detail inspector hides summaries of the originals it holds; those rules
   must outlive the chevron styling above, and return in Show all and print. */
#bc014 .bc079-inspector>details>summary{display:none}
#bc014 .bc076-showing-all .bc079-inspector>details>summary{display:flex}
@media print{#bc014 .bc079-inspector>details>summary{display:flex}}

/* ---- Build 107: hero as three tiles; print as a document ------------------- */
#bc014 .bc014-wrap.bc085-uniform .bc053-scores{gap:12px;margin:22px 0 14px}
#bc014 .bc014-wrap.bc085-uniform .bc053-scores>div,#bc014 .bc014-wrap.bc085-uniform .bc053-scores>div:first-child{border:1px solid #22364f;border-radius:12px;background:#0a1626;padding:14px 16px;min-width:0}
#bc014 .bc014-wrap.bc085-uniform .bc053-scores>div:first-child{background:linear-gradient(180deg,#0f2a26,#0a1a1e);border-color:#2b5a4f}
#bc014 .bc014-wrap.bc085-uniform .bc053-scores strong{margin:6px 0 4px}
#bc014 .bc107-print{color:#86a0ba;text-decoration:none;border-bottom:1px dotted #3f5a78}
@media(max-width:760px){#bc014 .bc014-wrap.bc085-uniform .bc053-scores>div,#bc014 .bc014-wrap.bc085-uniform .bc053-scores>div:first-child{border-bottom:1px solid #22364f;padding:12px 14px}}
@media print{
  /* Build 126: the room prints as a document. On screen it is a fixed, scrolling
     overlay, which is why a plain print showed one viewport and stopped. In print
     the overlay becomes ordinary flow, every view is shown in order (the script
     unhides them on beforeprint), every disclosure is open, and controls go. */
  @page{margin:0.5in 0.55in 0.6in}
  html.bc014-open,html.bc014-open body{background:#fff!important;color:#111!important;overflow:visible!important;height:auto!important}
  html.bc014-open body>*:not(#bc014){display:none!important}
  #bc014{position:static!important;inset:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;color:#111!important;font-size:10pt;line-height:1.38}
  #bc014 :is(p,li,dd){margin-top:3px;margin-bottom:5px}#bc014 :is(.bc014-card,.bc014-context,.bc107,.bc105-panel,.bc112){padding:8px 10px!important;margin:8px 0!important}#bc014 h2{font-size:14pt}#bc014 h3{font-size:12pt}#bc014 h4{font-size:11pt}
  #bc014 .bc014-wrap{max-width:none!important;padding:0!important;margin:0!important}
  #bc014 .bc014-card,#bc014 .bc053-hero,#bc014 .bc107,#bc014 .bc053-disclosure,#bc014 .bc014-context,#bc014 .bc079-inspector,#bc014 details,#bc014 .bc105-panel,#bc014 .bc112,#bc014 .bc102-since,#bc014 #bc102-return,#bc014 .bc053-scores>div{background:#fff!important;border-color:#c9c9c9!important;box-shadow:none!important;color:#111!important}
  #bc014 :is(.bc053-scores>div,.bc103-asset,.bc107-event,.bc105-panel figure,tr,li,.bc014-event){break-inside:avoid}
  #bc014 :is(p,li,span,b,strong,em,h1,h2,h3,h4,td,th,summary,label,small,dt,dd,figcaption,.bc014-k,.bc014-why,.bc014-detail,.bc014-title){color:#111!important}
  #bc014 :is(.bc014-why,.bc014-k,small,.bc082-metrics small,.bc080-limit){color:#444!important}
  #bc014 a{color:#0b4f8a!important;text-decoration:none}
  /* Sources stay checkable on paper: external links print their address. */
  #bc014 a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;color:#555!important;word-break:break-all}
  #bc014 :is(.bc037-companies,.bc014-actions,.bc037-nav,.bc107-print,.bc102-actions,.bc103-override,.bc103-custom,.bc076-show-all,.bc079-inspect-control,.bc105-controls,.bc109,.bc036-feedback,.bc036-form,button,select,input,textarea,form,[data-bc076-cash-risk] a,.bc014-btn){display:none!important}
  #bc014 .bc076-view,#bc014 .bc076-view[hidden]{display:block!important}
  #bc014 .bc076-view+.bc076-view{break-before:page}
  #bc014 .bc076-view h2.bc076-view-heading,#bc014 .bc076-view h2.bc076-sr-only{position:static!important;width:auto!important;height:auto!important;margin:0 0 10px!important;padding:0 0 6px;overflow:visible;clip:auto;white-space:normal;font-size:16pt;border-bottom:2px solid #111}
  #bc014 details[open]>*{display:block}#bc014 details:not([open])>*:not(summary){display:none!important}#bc014 .bc079-inspector>details[hidden]{display:block!important}
  #bc014 .bc076-print-omitted{font-size:9pt;color:#444!important;font-style:italic;margin:6px 0 10px}
  #bc014 .bc079-inspector>details>summary{display:none!important}#bc014 .bc079-detail-heading{display:block!important;font-size:12pt;margin:14px 0 6px}
  #bc014 details>summary{list-style:none;font-weight:700}#bc014 details>summary::-webkit-details-marker{display:none}
  #bc014 .bc076-print-head{display:flex;justify-content:space-between;gap:16px;align-items:baseline;border-bottom:3px solid #111;padding:0 0 8px;margin:0 0 14px}
  #bc014 .bc076-print-head b{font-size:20pt;letter-spacing:-.01em}#bc014 .bc076-print-head span{font-size:9pt;color:#444!important;text-align:right}
  #bc014 .bc076-print-foot{border-top:1px solid #999;margin:18px 0 0;padding:8px 0 0;font-size:8.5pt;color:#444!important}
  #bc014 svg{max-width:100%!important;height:auto!important}#bc014 svg text{fill:#111!important}#bc014 svg [stroke="#fff"],#bc014 svg [stroke="white"]{stroke:#333!important}
  /* Classification chips: white with a hairline, never a dark pill on white paper. */
  #bc014 :is(.bc082-type,.bc053-tag,.bc103-prov,.bc101-dir,.bc082-metrics small,.bc014-pill,.bc053-badge,.bc110-pill,.bc112-read,.bc107-kind,[class*="-chip"],[class*="-tag"],[class*="-badge"]){background:#fff!important;color:#111!important;border:1px solid #777!important;box-shadow:none!important;-webkit-text-fill-color:#111!important}
  #bc014 details:not([open])>summary{color:#333!important;font-weight:600;font-size:9.5pt;margin:4px 0}#bc014 details:not([open])>summary::after{content:"  · in the room online";font-weight:400;color:#666!important}
  #bc014 table{width:100%;border-collapse:collapse;font-size:9.5pt}#bc014 :is(td,th){border-bottom:1px solid #ccc;padding:4px 6px;vertical-align:top}
  #bc014 .bc053-scores{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
  #bc014 :is(h2,h3,h4){break-after:avoid}#bc014 :is(ul,ol,table,figure,details,.bc014-card,.bc079-inspector,section){break-inside:auto}
  #bc014 .bc079-inspector>h3{font-size:13pt;border-bottom:1px solid #999;padding-bottom:4px;margin:18px 0 8px}
}

/* ---- Build 114: consolidation --------------------------------------------- */
/* The active tab already names the view; the view heading stays for readers who need it. */
#bc014 .bc076-view h2.bc076-view-heading{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#bc014 .bc076-view{margin-top:6px}
/* Classification chips are pills, not full-width bars. */
#bc014 :is(.bc082-type,.bc053-tag,.bc103-prov,.bc101-dir,.bc082-metrics small){display:inline-block;width:auto;max-width:100%}
/* Chooser notes read as one muted line. */
#bc014 .bc080-chooser small{display:block;font-size:12px;line-height:1.5;color:#7f97b1}
#bc014 .bc080-chooser{margin:10px 0 0;gap:6px 16px}
/* Header: tagline lives with the brand, smaller. */
#bc014 .bc014-sub{margin:0}
/* Entry strip on Decision is a slim bar; the thesis hero is the headline. */
#bc014 #bc102-return{padding:10px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:12px}
#bc014 #bc102-return h3{margin:0;flex:0 0 auto}#bc014 #bc102-return .bc102-meta,#bc014 #bc102-return .bc102-head{margin:0;flex:1 1 320px}
#bc014 #bc102-return .bc102-actions{margin:0;flex:0 0 auto}
#bc014 #bc102-return .bc102-go{min-height:32px;padding:6px 12px;font-size:12.5px}
/* Caveat runs (conference and coverage notes) recede so the findings lead. */
#bc014 #bc045-conferences > .bc014-why,#bc014 #bc045-conferences > p.bc014-why{font-size:12.5px;line-height:1.5;color:#7f97b1;margin:4px 0}
@media(max-width:700px){
  /* Actions and company strip each scroll in one row; nothing stacks into a block. */
  #bc014 .bc014-actions{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px;margin-top:8px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent)}
  #bc014 .bc014-actions::-webkit-scrollbar{display:none}#bc014 .bc014-actions .bc014-btn{flex:0 0 auto}
  #bc014 .bc080-chooser small#bc099-program-help{font-size:11.5px}
  #bc014 #bc102-return{padding:10px 14px}
}

/* Milestone inference and timing provenance are different facts, presented quietly. */
#bc014 #bc095-milestones .bc082-type,#bc014 #program-milestones .bc082-type{display:block;border:0;border-radius:0;background:transparent;padding:0;margin:4px 0;font-size:12px;letter-spacing:0;font-weight:400;color:#a9c3d6}
