/* Report surfaces use the existing brand; charts are semantic text + CSS geometry. */
body.result-view .page-title,body.result-view .summary-strip,body.result-view .assumption-line,body.result-view .company-overview{display:none!important}
body.result-view .workspace{grid-template-columns:minmax(0,1fr);max-width:1180px;margin:auto}
body.result-view .sidebar{display:none}
body.result-view[data-show-conditions="true"] .sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
body.result-view[data-show-conditions="true"] .sidebar-title,body.result-view[data-show-conditions="true"] .sidebar-note{grid-column:1/-1}
body.result-view .role-note{max-width:1180px;margin:0 auto 14px}
body.result-view .tabs{margin-bottom:20px}
.health-report-header{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:0 0 20px}
.health-report-header h1{font-size:1.45rem;letter-spacing:0}
.health-report-header p{font-size:.875rem;color:#526c72;margin-top:5px;line-height:1.7}
.health-report-header .report-actions{display:flex;flex-wrap:wrap;gap:8px}
.health-report{--health-blue:#276b8a;--health-teal:#19776c;--health-muted:#526c72;--health-amber:#86521c;font-size:1rem;line-height:1.85}
.health-report p,.health-report label,.health-report dd{font-size:1rem;line-height:1.85}
.health-report h2{font-size:1.15rem;line-height:1.6}
.health-report h3{font-size:1rem;line-height:1.75}
.health-report section{margin-bottom:28px;scroll-margin-top:20px}
.health-report [class*="grid"]>*{min-width:0}
.health-report small{font-size:.875rem;font-weight:400}
.health-report strong,.health-report b{font-variant-numeric:tabular-nums}
.health-report .health-note{font-size:.875rem;color:var(--health-muted);margin-top:14px;line-height:1.8}
.health-report details{border-top:1px solid var(--line);margin-top:18px;padding-top:14px;font-size:.875rem}
.health-report details p{margin-top:10px;font-size:.875rem;color:var(--health-muted)}
.health-report details summary{font-weight:600;font-size:.875rem;color:var(--ink)}
.health-overview{display:grid;grid-template-columns:260px minmax(0,1fr);background:#fff;border:1px solid #cbdcde;border-radius:14px;overflow:hidden}
.health-score-block{text-align:center;padding:25px 18px;background:#f1f7f8;border-right:1px solid #d8e5e7;display:flex;flex-direction:column;align-items:center}
.health-score-block h2{font-size:1rem}
.health-score-ring{--score:0;margin:14px 0 12px;width:142px;height:142px;padding:9px;border-radius:50%;background:conic-gradient(var(--health-blue) calc(var(--score)*1%),#dde8ea 0);flex:none}
.health-score-ring>div{width:100%;height:100%;background:#fff;border-radius:50%;display:flex;align-items:baseline;justify-content:center;padding-top:22px;gap:3px}
.health-score-ring strong{font-size:3.1rem;line-height:1.5;font-weight:650;letter-spacing:-.035em;color:#164b64}
.health-score-ring span{font-size:.875rem;color:var(--health-muted)}
.health-score-ring.unknown{background:#dde8ea}
.health-score-status{font-size:.8rem;font-weight:600;color:#315969}
.health-score-block p{font-size:.875rem;color:var(--health-muted);margin-top:4px}
.health-overview-copy{padding:24px 28px;min-width:0}
.health-overview-copy .eyebrow{font-size:.8rem;margin-bottom:4px}
.health-overview-copy>h2{font-size:1.35rem;overflow-wrap:anywhere;margin-bottom:8px}
.health-overview-copy>p{color:var(--health-muted)}
.health-overview-copy .health-problem{font-size:.875rem;margin-top:12px;line-height:1.7}
.health-problem b{display:inline-block;margin-right:9px;color:var(--ink)}
.health-first{margin-top:16px;padding:12px 16px;background:#edf5f3;border-left:3px solid var(--health-teal);border-radius:0 6px 6px 0}
.health-first>span{font-size:.8rem;color:var(--health-teal);display:block;font-weight:650}
.health-first>strong{display:block;font-size:1.08rem;margin:2px 0;line-height:1.65}
.health-first>p{font-size:.875rem;color:var(--health-muted)}
.health-jumps{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px;font-size:.875rem;color:var(--health-teal)}
.health-section-head{margin-bottom:18px}
.health-section-head>div{display:flex;align-items:center;gap:12px}
.health-section-number{color:var(--health-blue);font-size:.8rem;letter-spacing:.08em;font-weight:700;background:#edf4f7;padding:1px 7px;border-radius:4px}
.health-section-head>p{color:var(--health-muted);font-size:.875rem;margin-top:5px}
.health-impact-grid{display:grid;grid-template-columns:1.4fr 1.6fr 1fr 1fr;gap:12px}
.health-impact-grid article{border:1px solid #d6e2e5;border-radius:10px;background:white;padding:19px 20px}
.health-impact-grid .health-impact-primary{border-top:3px solid var(--health-blue);padding-top:17px}
.health-impact-grid article>span{font-size:.875rem;display:block;font-weight:600;line-height:1.6}
.health-impact-grid strong{display:block;font-size:2.5rem;font-weight:650;line-height:1.2;letter-spacing:-.04em;margin:16px 0 12px;overflow-wrap:anywhere;color:#164b64}
.health-impact-grid small{display:block;letter-spacing:0;margin-top:7px;line-height:1.5;color:var(--health-muted)}
.health-impact-grid article>p{font-size:.8rem;color:var(--health-muted);line-height:1.65}
.health-surface{background:#fff;padding:26px 28px;border:1px solid #d6e2e5;border-radius:12px}
.health-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:.875rem;margin-bottom:8px;color:var(--health-muted)}
.health-legend>span{display:flex;align-items:center;gap:7px}
.health-legend i{display:inline-block;width:18px;height:8px;border-radius:2px;background:#9cb1b9}
.health-legend .after-swatch{background:var(--health-teal)}
.compare-row{padding:19px 0;border-bottom:1px solid #e5ecee}
.compare-row:last-child{border:0;padding-bottom:0}
.compare-title{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:10px}
.compare-title>span{font-size:.875rem;font-weight:600;flex:none}
.health-positive{color:#136254}
.health-caution{color:var(--health-amber,#86521c)}
.compare-track{display:grid;grid-template-columns:58px minmax(0,1fr) 110px;align-items:center;gap:12px;margin-top:7px}
.compare-track>span{font-size:.875rem;color:var(--health-muted)}
.compare-track>strong{font-size:1rem;text-align:right;line-height:1.5;overflow-wrap:anywhere}
.compare-track small{margin-left:5px}
.compare-rail{background:#f4f7f8;height:16px;border-radius:3px;overflow:hidden}
.compare-bar{height:100%;display:block;border-radius:3px}
.compare-bar.before{background:#9cb1b9}
.compare-bar.after{background:var(--health-teal)}
.compare-bar.increase{background:#b97635}
.health-flow{display:grid;grid-template-columns:1fr 30px 1fr 30px 1.2fr;align-items:stretch;gap:8px}
.health-flow article{padding:18px;background:#f3f6f8;border:1px solid #dce5e8;border-radius:8px}
.health-flow article>span{font-size:.875rem;display:block}
.health-flow strong{font-size:1.85rem;line-height:1.3;display:block;margin-top:10px;overflow-wrap:anywhere}
.health-flow small{display:block;margin-top:6px}
.health-flow .flow-result{background:#eaf5f0;border-color:#afd1c5}
.health-flow p{font-size:.875rem;margin-top:9px}
.health-flow .flow-arrow{align-self:center;text-align:center;color:#759097;font-size:1.3rem}
.health-flow .health-burden{background:#fff5e8;border-color:#e4c299}
.health-money{display:grid;grid-template-columns:230px 1fr;gap:25px;padding:22px 0;margin-top:8px;align-items:center}
.health-rate-input{display:flex;align-items:center;gap:10px;white-space:nowrap}
.health-rate-input input{font-size:1.2rem;font-variant-numeric:tabular-nums}
.health-rate-input span{font-size:.875rem}
.health-money>div>p{font-size:.875rem}
.health-money .health-note{margin-top:6px}
.health-money .text-button{margin-top:8px}
.health-equation{padding:14px 18px;background:#f1f6f7;border-radius:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.health-money-statement{font-weight:600;margin-top:16px;color:#18594f}
.health-reinvest{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.health-reinvest b{font-size:.875rem}
.health-reinvest p{margin-top:6px}
.dimension-row{display:grid;grid-template-columns:230px 1fr 83px;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #edf1f3}
.dimension-row>div:first-child span{font-size:.8rem;display:block;color:var(--health-muted);line-height:1.65;margin-top:3px}
.dimension-row>div:first-child strong{font-size:.95rem}
.dimension-row>b{font-size:1.15rem;text-align:right;white-space:nowrap}
.dimension-row small,.priority-score small{font-size:.8rem;color:var(--health-muted);margin-left:3px}
.dimension-rail{height:9px;background:#e9eff2;border-radius:5px;overflow:hidden;min-width:0}
.dimension-rail i{display:block;height:100%;background:var(--health-blue);border-radius:5px}
.dimension-rail.unknown{background:repeating-linear-gradient(120deg,#f2f5f6,#f2f5f6 5px,#e3e9eb 5px,#e3e9eb 7px)}
.health-checks{background:#f5f8fa;border:1px solid #dae5e9!important;padding:16px 20px!important;border-radius:8px}
.health-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}
.health-check-grid select{font-size:1rem}
.health-empty{padding:22px;background:#f4f7f8;border:1px dashed #b7ccd3;border-radius:8px}
.health-empty p{color:var(--health-muted)}
.health-empty button{margin-top:12px}
.priority-row{display:grid;grid-template-columns:38px 1fr;gap:15px;padding:22px 0;border-bottom:1px solid #e3ebed}
.priority-row:last-child{border:0;padding-bottom:0}
.health-rank{display:grid;place-items:center;align-self:start;width:34px;height:34px;background:#e8f1f4;border-radius:6px;color:#1b546c;font-size:.875rem;font-weight:700}
.priority-title{display:flex;justify-content:space-between;gap:15px;align-items:start}
.priority-title>span{font-size:.875rem;color:var(--health-amber);flex:none}
.health-stars{letter-spacing:2px;color:#236482;white-space:nowrap}
.priority-score{display:flex;align-items:center;gap:15px;margin:8px 0;max-width:680px}
.priority-score .dimension-rail{flex:1}
.priority-score b{font-size:.875rem;min-width:58px;text-align:right}
.priority-row p{color:var(--health-muted)}
.health-tag{display:inline-block;padding:3px 9px;background:#eef5f5;border:1px solid #d6e7e6;border-radius:4px;font-size:.8rem;color:#25635f;line-height:1.6;margin-top:8px}
.health-proposal{border:1px solid #d5e2e6;border-radius:9px;overflow:hidden;margin-top:20px;padding:20px}
.proposal-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.proposal-title h3{flex:1}
.proposal-title .health-tag{margin:0}
.health-proposal dl{margin:0}
.health-proposal dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px 14px;border-top:1px solid #edf1f3}
.health-proposal dt{font-size:.875rem;font-weight:600;color:#466a75}
.health-proposal dd{margin:0;overflow-wrap:anywhere}
.proposal-ai{background:#f0f7f4;border-radius:5px}
.proposal-effort{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 14px 0;border-top:1px solid #e2eaed}
.proposal-effort span{display:block;font-size:.8rem;color:var(--health-muted)}
.proposal-effort strong{display:block;font-size:1.4rem;margin:2px 0}
.proposal-effort small{margin-left:7px}
.health-business-context{padding:16px 20px;border-left:3px solid #81b5ad;background:#f3f8f7}
.health-business-context p+p{margin-top:12px}
.health-business-context b{display:block;color:#3e7068;font-size:.875rem}
.health-business-plans{margin-top:28px}
.health-business-plans>p{color:var(--health-muted);font-size:.875rem;margin:8px 0 16px}
.health-business-plans .opportunity-card{margin-top:18px}
.health-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.health-levels article{position:relative;border:1px solid #d9e3e7;border-radius:8px;padding:20px;background:#f7f9fa}
.health-levels article>span{font-size:.875rem;font-weight:600;color:#5b7884;display:block}
.health-levels .recommended{border:2px solid #2c7c73;padding:19px;background:#edf7f3}
.health-level-recommend{position:absolute;right:12px;top:15px;color:#1a685c;font-size:.75rem;background:#d3ebe1;padding:1px 6px;border-radius:4px}
.health-levels h3{margin:10px 0 8px}
.health-levels p{font-size:.875rem;color:var(--health-muted)}
.health-level-reason{margin-top:20px}
.health-roadmap{list-style:none;margin:0;padding:0}
.health-roadmap>li{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;padding:20px 0;border-top:1px solid #e1eaed}
.health-roadmap>li:first-child{border:0;padding-top:0}
.roadmap-step{border-left:3px solid #3b8292;padding:2px 16px;align-self:stretch}
.roadmap-step span{font-size:.8rem;font-weight:700;color:#376678;display:block}
.roadmap-step strong{font-size:1rem;display:block;margin-top:4px}
.roadmap-step small{display:block;color:var(--health-muted);margin-top:5px}
.health-roadmap ol{padding-left:22px;margin:10px 0 0}
.health-roadmap ol li{padding:3px 0;font-size:1rem;color:var(--health-muted)}
.health-notes{padding-left:22px;margin:0;color:var(--health-muted)}
.health-notes li{margin:8px 0;font-size:.875rem}
.health-trace{font-size:.8rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;padding:16px;background:#f4f7f9;border-radius:7px}
@media(max-width:1050px){.health-impact-grid{grid-template-columns:1fr 1fr}.health-impact-grid article:nth-child(n+3){display:grid;grid-template-columns:1fr auto;gap:3px 14px;align-items:center}.health-impact-grid article:nth-child(n+3)>p{grid-column:1}.health-impact-grid article:nth-child(n+3)>strong{grid-column:2;grid-row:1/3;margin:0;font-size:2rem}.health-impact-grid article:nth-child(n+3) small{display:inline;margin-left:5px}.dimension-row{grid-template-columns:200px 1fr 75px;gap:15px}.health-levels{gap:10px}.health-levels article{padding:15px}.health-levels .recommended{padding:14px}.health-level-recommend{position:static;display:inline-block}.health-overview{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:720px){.health-report-header{align-items:flex-start;flex-direction:column;gap:12px}.health-report-header .report-actions{width:100%}.health-overview{grid-template-columns:1fr}.health-score-block{border-right:0;border-bottom:1px solid #d8e5e7;display:grid;grid-template-columns:114px 1fr;column-gap:18px;text-align:left;padding:20px}.health-score-block h2{grid-column:2;grid-row:1;align-self:end}.health-score-ring{grid-column:1;grid-row:1/4;width:112px;height:112px;padding:7px;margin:0}.health-score-ring>div{padding-top:17px}.health-score-ring strong{font-size:2.4rem}.health-score-status{grid-column:2;align-self:center;margin-top:3px}.health-score-block p{grid-column:2;margin:0;align-self:start}.health-overview-copy{padding:20px}.health-surface{padding:22px 20px}.health-flow{grid-template-columns:1fr;gap:5px}.health-flow article{padding:13px 16px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}.health-flow strong{margin:0;font-size:1.6rem;text-align:right}.health-flow small{font-size:.8rem}.health-flow p{grid-column:1/-1;margin:0;text-align:right}.health-flow .flow-arrow{transform:rotate(90deg);font-size:1.1rem;line-height:20px}.health-money{grid-template-columns:1fr;gap:12px}.health-money label{max-width:250px}.health-check-grid{grid-template-columns:1fr}.dimension-row{grid-template-columns:minmax(0,1fr) 70px;gap:8px 14px}.dimension-row>div:first-child{grid-column:1}.dimension-row>b{grid-column:2;grid-row:1;align-self:start}.dimension-rail{grid-column:1/-1}.health-levels{grid-template-columns:1fr}.health-levels article{padding:17px 20px}.health-levels .recommended{padding:16px 19px}.health-level-recommend{position:absolute;top:16px;right:20px}.health-roadmap>li{grid-template-columns:1fr;gap:15px}.roadmap-step{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.roadmap-step strong,.roadmap-step small{margin:0}.health-proposal dl>div{grid-template-columns:1fr;gap:4px;padding:12px}.health-report .opportunity-card{padding:18px}.proposal-effort{grid-template-columns:1fr;gap:14px}.priority-title{flex-direction:column;gap:4px}.health-report .breakdown{font-size:.875rem}body.result-view[data-show-conditions="true"] .sidebar{grid-template-columns:1fr 1fr}}
@media(max-width:440px){body.result-view main{padding:20px 14px}.health-surface,.health-overview-copy{padding:20px 16px}.health-impact-grid{gap:10px}.health-impact-grid article{padding:15px 12px}.health-impact-grid .health-impact-primary{padding-top:13px}.health-impact-grid strong{font-size:2rem}.health-impact-grid article>span{font-size:.8rem}.health-impact-grid small{font-size:.8rem}.health-impact-grid article:nth-child(n+3){display:block}.health-impact-grid article:nth-child(n+3)>strong{margin-top:10px}.health-impact-grid article:nth-child(n+3)>p{margin-top:8px}.compare-title{flex-direction:column;gap:5px}.compare-track{grid-template-columns:44px minmax(0,1fr) 82px;gap:8px}.compare-track strong{font-size:.875rem}.compare-track small{font-size:.75rem;margin-left:3px}.health-score-block{padding:17px 15px;column-gap:13px}.health-score-block h2{font-size:.95rem}.health-proposal{padding:16px 12px}.priority-row{grid-template-columns:28px 1fr;gap:10px}.health-rank{width:28px;height:28px}.health-checks{padding:14px!important}.health-jumps{gap:12px}.health-report-header .button{font-size:.8rem;padding:10px 12px}}
@media(max-width:720px){.health-overview-copy>.eyebrow,.health-overview-copy>h2{display:none}.health-overview-copy{padding-top:16px}.health-overview-copy>p{line-height:1.7}.health-first{margin-top:12px}.health-jumps{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.health-report *{scroll-behavior:auto!important;transition:none!important}}
@media print{.health-report-header .report-actions,.health-jumps,.health-money .text-button,.health-report .no-print{display:none!important}.health-report{font-size:11px}.health-report p,.health-report dd,.health-report label{font-size:11px}.health-report h2{font-size:14px}.health-report h3{font-size:12px}.health-report section{margin-bottom:18px}.health-surface{padding:15px}.health-overview,.health-impact-grid article,.compare-row,.health-proposal,.health-levels article,.health-roadmap>li{break-inside:avoid}.health-overview{grid-template-columns:200px 1fr}.health-impact-grid{grid-template-columns:1fr 1fr}.health-surface{break-inside:auto}.health-score-ring{print-color-adjust:exact}.compare-bar,.dimension-rail i{print-color-adjust:exact}body.result-view .sidebar,body.result-view .role-note{display:none!important}.health-report-header h1{font-size:18px}.health-trace{display:none}.health-report .health-note{font-size:10px}}
