.cost-panel{background:var(--surface);border-radius:6px;padding:28px;box-shadow:var(--shadow);min-width:0}.cost-intro{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:24px}.cost-intro strong{display:block;font-size:13px;margin-bottom:5px}.cost-intro p{font-size:12px;color:var(--muted);line-height:1.75}.cost-family{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.cost-family button{min-height:44px;padding:8px 15px;background:transparent;border:1px solid #cad6ca;border-radius:5px;font-size:12px;font-weight:650}.cost-family button[aria-pressed=true]{background:var(--deep);color:var(--surface);border-color:var(--deep)}.cost-family button:hover{box-shadow:0 0 0 1px var(--teal)}.cost-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 22px}.cost-filters label>span,.cost-scenario label>span{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-bottom:6px}.cost-filters input,.cost-filters select,.cost-scenario input{width:100%;border:1px solid #cad6ca;background:var(--surface);border-radius:4px;padding:9px 12px;font-size:12px;min-height:44px}.cost-count{display:flex;gap:15px;align-items:baseline;justify-content:space-between;margin:10px 0 16px;font-size:12px}.cost-count p{color:var(--muted)}.cost-count strong{color:var(--ink)}.cost-chart-note{padding:13px 17px;background:var(--pale);font-size:12px;color:var(--muted);line-height:1.8;border-left:3px solid var(--teal);margin-bottom:20px}.cost-chart-note strong{color:var(--ink)}.cost-results-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:26px;align-items:start}.cost-results-list{min-width:0}.cost-axis-title{font-size:11px;color:var(--muted);margin:0 0 12px;display:flex;justify-content:space-between;gap:10px}.cost-reference{display:block;width:100%;text-align:left;padding:14px 14px 13px;background:transparent;border:1px solid var(--line);border-radius:5px;margin-bottom:9px;position:relative;min-height:44px}.cost-reference:hover{background:#f3f6f0;border-color:#8ea89a}.cost-reference[aria-pressed=true]{border-color:var(--teal);box-shadow:inset 3px 0 0 var(--teal);background:#eef4ed}.cost-row-top{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.cost-row-top strong{font-size:12px;line-height:1.6;font-weight:700}.cost-row-top b{font-size:13px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}.cost-row-meta{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}.cost-bar-track{height:5px;margin-top:13px;background:#e2e8de;position:relative;border-radius:3px}.cost-bar{height:5px;position:absolute;left:0;background:var(--teal);border-radius:3px;min-width:2px}.cost-bar-range{position:absolute;top:-2px;height:9px;background:#759d84;border:1px solid var(--teal);min-width:3px;border-radius:2px}.cost-reference[data-evidence=actual] .cost-bar{background:var(--blue)}.cost-reference[data-evidence=planning] .cost-bar{background:#aa733c}.cost-inspector{border:1px solid #cbd8ca;border-top:3px solid var(--teal);border-radius:5px;padding:23px;position:sticky;top:105px;scroll-margin-top:110px;min-width:0;overflow-wrap:anywhere}.cost-inspector h3{font:500 28px/1.25 var(--serif);letter-spacing:-.02em;margin-top:10px}.cost-badge{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--teal)}.cost-unit-price{font:500 35px/1.25 var(--serif);margin:18px 0 3px;font-variant-numeric:tabular-nums}.cost-unit-price small{font:500 12px/1.5 var(--sans);color:var(--muted)}.cost-basis{font-size:11px;color:var(--muted);line-height:1.7}.cost-inspector p.cost-scope{font-size:12px;line-height:1.85;margin-top:19px}.cost-inspector dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0;font-size:12px}.cost-inspector dt{color:var(--muted);font-size:10px;margin-bottom:3px}.cost-inspector dd{margin:0;font-weight:650}.cost-scenario{padding:18px;background:#eef3eb;border-radius:4px;margin-top:22px}.cost-scenario h4{margin:0 0 6px;font-size:13px}.cost-scenario>p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:14px}.cost-scenario label{display:block;max-width:210px}.cost-scenario output{display:block;font:500 31px/1.3 var(--serif);margin:15px 0 4px;font-variant-numeric:tabular-nums}.cost-scenario .cost-scenario-note{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.cost-scenario .cost-invalid{color:#944532;font:600 12px/1.6 var(--sans)}.cost-proof{border-top:1px solid var(--line);margin-top:20px;padding-top:8px;font-size:11px;line-height:1.85}.cost-proof summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;color:var(--teal)}.cost-proof p{margin:9px 0}.cost-proof ul{padding-left:18px}.cost-proof a{display:inline-block;min-height:40px;padding:7px 0}.cost-source-ref{font-family:ui-monospace,monospace;font-size:10px;word-break:break-word}.cost-show-more{width:100%;margin-top:5px}.cost-empty{padding:32px 18px;border:1px dashed #bac9bc;border-radius:5px;color:var(--muted);font-size:13px}.cost-empty .button{margin-top:15px}.cost-coverage{margin-top:28px;padding:25px 28px;background:var(--surface);border-radius:5px;box-shadow:var(--shadow);font-size:12px;line-height:1.85}.cost-coverage h3{font:500 27px/1.3 var(--serif);margin-bottom:12px}.cost-coverage>p{color:var(--muted);margin-bottom:12px}.cost-coverage summary{min-height:44px;padding:10px 0;color:var(--teal);font-weight:700;cursor:pointer}.cost-coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.cost-coverage-card{padding:15px;background:#f5f6f0;border:1px solid var(--line);border-radius:4px;min-width:0}.cost-coverage-card strong{font-size:12px;display:block}.cost-coverage-card span{display:block;color:var(--teal);font-size:10px;font-weight:700;letter-spacing:.02em}.cost-coverage-card p{font-size:11px;color:var(--muted);margin-top:6px}.cost-coverage-card a{display:inline-block;min-height:40px;padding-top:8px;font-size:11px}.cost-coverage-error{border-left:3px solid #aa6337;background:#fbf1e4;padding:12px 16px;font-size:12px;margin-bottom:18px}.cost-load-help{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.cost-load-help p{max-width:1000px;margin-top:10px;color:var(--muted)}.cost-pagination-note{font-size:11px;color:var(--muted);margin:15px 0}.cost-coverage a,.cost-proof a{overflow-wrap:anywhere}
.cost-bar-track{display:block}
.cost-chart-jump{display:block;min-height:44px;background:none;border:0;padding:5px 0 12px;color:var(--teal);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.cost-distribution{margin-top:28px;padding:28px;background:var(--surface);border-radius:6px;box-shadow:var(--shadow);min-width:0;scroll-margin-top:105px}
.cost-distribution-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.cost-distribution-heading h3{font:500 29px/1.25 var(--serif);letter-spacing:-.02em;margin:8px 0;text-wrap:balance}
.cost-distribution-heading p{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.cost-distribution-heading label{flex-shrink:0}.cost-distribution-heading label>span{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:6px}
.cost-distribution-heading select{min-height:44px;padding:9px 12px;border:1px solid #cad6ca;border-radius:4px;background:var(--surface);font-size:12px}
.cost-distribution-guide{font-size:12px;color:var(--muted);line-height:1.8;margin:16px 0 13px;max-width:880px;text-wrap:pretty}
.cost-distribution-legend{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:11px;color:var(--muted)}
.cost-distribution-legend span{display:flex;align-items:center;gap:7px;font-variant-numeric:tabular-nums}.cost-distribution-legend i{width:9px;height:9px;border-radius:50%}
.cost-distribution-scroll{overflow-x:auto;max-width:100%;margin-top:12px;scrollbar-color:#adc0ac transparent}
.cost-distribution-svg{display:block;width:100%;min-width:740px;font-family:var(--sans);overflow:visible}
.cost-distribution-grid{stroke:#dce5da;stroke-width:1}.cost-distribution-tick{fill:#667974;font-size:11px;font-variant-numeric:tabular-nums}
.cost-distribution-source{fill:var(--ink);font-size:12px;font-weight:650}.cost-distribution-axis{fill:var(--ink);font-size:12px;font-weight:600}
.cost-distribution-point{cursor:pointer;outline:none}.cost-distribution-dot{fill:var(--point-color);fill-opacity:.8;stroke:var(--surface);stroke-width:1}
.cost-distribution-interval{fill:none;stroke:var(--point-color);stroke-width:2.5;stroke-linecap:round}
.cost-distribution-selection{fill:none;stroke:var(--ink);stroke-width:2;opacity:0;pointer-events:none}
.cost-distribution-point[aria-pressed=true] .cost-distribution-selection,.cost-distribution-point:hover .cost-distribution-selection,.cost-distribution-point:focus-visible .cost-distribution-selection{opacity:1}
.cost-distribution-point:focus-visible .cost-distribution-selection{stroke:var(--blue);stroke-width:3}
.cost-distribution-readout{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--pale);padding:16px 18px;border-left:3px solid var(--teal);margin-top:18px}
.cost-distribution-readout[hidden]{display:none}.cost-distribution-readout>div{min-width:0}.cost-distribution-readout strong{display:block;font-size:13px;margin:6px 0}.cost-distribution-readout p{font-size:11px;color:var(--muted);line-height:1.7}.cost-distribution-readout b{color:var(--ink);font-variant-numeric:tabular-nums}.cost-distribution-readout button{flex-shrink:0}
.cost-distribution-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:14px;max-width:1000px;text-wrap:pretty}.cost-distribution-pan{display:none;font-size:11px;color:var(--muted);margin-top:15px}
.cost-distribution-picker{display:block;margin-top:18px;min-width:0}.cost-distribution-picker>span{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:6px}.cost-distribution-picker select{width:100%;max-width:100%;min-height:44px;border:1px solid #cad6ca;border-radius:4px;padding:9px 12px;background:var(--surface);font-size:12px;text-overflow:ellipsis}
.cost-list-unit+.cost-list-unit{margin-top:25px}.cost-list-unit-heading{margin:12px 0 10px}.cost-list-unit-heading h4{font-size:14px;margin:0 0 4px}.cost-list-unit-heading span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.cost-price-unit{display:block;font-size:10px;font-weight:500;color:var(--muted);white-space:normal;margin-top:3px}
.cost-distribution-panel+.cost-distribution-panel{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.cost-distribution-panel-heading h4{font-size:17px;margin:0 0 5px}.cost-distribution-panel-heading span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.cost-distribution-panel>p{font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0 12px;max-width:850px}
.cost-actual-availability{padding:14px 16px;margin:14px 0;background:#edf3f8;border-left:3px solid var(--blue);font-size:12px;line-height:1.8}.cost-actual-availability p{margin-bottom:10px}.cost-actual-availability[hidden]{display:none}
@media(max-width:850px){.cost-distribution-pan{display:block}.cost-distribution-heading{flex-wrap:wrap}.cost-distribution-readout{align-items:start;flex-direction:column}.cost-distribution{padding:22px 16px}}
@media(min-width:1400px){.cost-results-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:1000px){.cost-results-layout{grid-template-columns:minmax(0,1fr)}.cost-inspector{position:static}.cost-results-list{max-height:620px;overflow:auto;padding:0 5px 0 0}.cost-inspector h3{font-size:27px}}
@media(max-width:650px){.cost-panel,.cost-coverage{padding:19px 16px}.cost-intro{grid-template-columns:1fr;gap:14px}.cost-intro p{font-size:11px}.cost-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cost-filters label:last-child{grid-column:1/-1}.cost-family{gap:6px}.cost-family button{font-size:11px;padding:8px 10px}.cost-count{align-items:start;flex-direction:column;gap:10px}.cost-row-top{display:block}.cost-row-top b{display:block;margin-top:4px}.cost-reference{padding:12px}.cost-coverage-grid{grid-template-columns:1fr}.cost-inspector{padding:19px 16px}.cost-unit-price{font-size:31px}.cost-scenario{padding:15px}.cost-chart-note{font-size:11px}.cost-inspector dl{gap:12px}}
.cost-distribution-controls{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.cost-distribution-controls select{max-width:100%;width:100%}
.cost-distribution-legend .cost-budget-key{background:transparent;border:2px solid var(--teal);width:11px;height:11px;box-sizing:border-box}
.cost-distribution-legend .cost-pair-key{width:24px;height:0;border-radius:0;border-top:2px dashed #7b919b}
.cost-budget-dot{fill:var(--plot-surface,#edf3f6);stroke:var(--teal);stroke-width:1.8}
.cost-budget-range{fill:none;stroke:var(--teal);stroke-width:1.7}
.cost-pair-connector{fill:none;stroke:#7b919b;stroke-width:1.5;stroke-dasharray:4 3}
.cost-pair-hit{fill:none;stroke:transparent;stroke-width:14}
.cost-distribution-point:hover .cost-pair-connector,.cost-distribution-point:focus-visible .cost-pair-connector,.cost-distribution-point[aria-pressed=true] .cost-pair-connector{stroke:var(--ink);stroke-width:2}
.cost-project-comparison{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:12px;line-height:1.7}
.cost-project-comparison h4{font-size:14px;margin:0 0 10px}
.cost-project-comparison dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 12px}
.cost-project-comparison dt{font-size:11px;color:var(--muted)}
.cost-project-comparison dd{margin:3px 0 0;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}
.cost-project-comparison summary{cursor:pointer;font-weight:600;min-height:40px;display:list-item;align-content:center}
.cost-project-comparison a{overflow-wrap:anywhere}
.cost-distribution-readout:has(.cost-project-comparison){align-items:start}
@media(max-width:850px){.cost-distribution-controls{justify-content:flex-start;width:100%}.cost-distribution-controls label{flex:1 1 210px}.cost-project-comparison dl{grid-template-columns:1fr}}
