.scheme-analysis{min-width:0}.scheme-intro{padding:18px 22px;border:1px solid #dbe7e9;border-radius:14px;background:#f4f8fa;margin-bottom:18px}.scheme-intro strong{font-size:1.08rem;color:#213d50}.scheme-intro p{max-width:1050px;margin:8px 0;color:#526575;line-height:1.6}.scheme-intro button{margin:8px 10px 0 0}.scheme-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.scheme-filter{display:flex;flex-direction:column;gap:6px;min-width:180px;max-width:100%;font-size:.84rem;font-weight:600;color:#435b6b}.scheme-filter select{max-width:340px;min-width:180px}.scheme-controls input{width:390px;max-width:100%}.scheme-view-nav{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce6ea;padding:0 0 16px;margin:12px 0 20px}.scheme-view-nav button{background:#fff;color:#3e5668;border:1px solid #d3e0e4;border-radius:9px}.scheme-view-nav button[aria-pressed=true]{background:#214c62;color:#fff;border-color:#214c62}.scheme-graph-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.scheme-graph-grid>*{min-width:0}.scheme-heatmap-scroll{overflow-x:auto;max-width:100%;border:1px solid #dce6ea;border-radius:10px;margin:12px 0}.scheme-heatmap{min-width:600px;width:100%;border-collapse:collapse}.scheme-heatmap td,.scheme-heatmap th{padding:12px;white-space:nowrap;border-bottom:1px solid #e6edef;text-align:left}.scheme-heatmap th{font-size:.8rem;background:#f3f7f9;color:#345266}.scheme-heatmap td strong,.scheme-heatmap td small{display:block}.scheme-heatmap td small{font-size:.72rem;margin-top:5px}.scheme-heat-up{background:#e2f1ed;color:#1e5b50}.scheme-heat-down{background:#fae9e5;color:#824438}.scheme-heat-flat{background:#f0f4f6;color:#586977}.scheme-evidence{padding:14px 18px;border:1px solid #dce6ea;border-radius:12px;margin:18px 0}.scheme-evidence summary{font-weight:600;color:#365569;cursor:pointer}.scheme-evidence p{line-height:1.65}.scheme-detail{min-width:0}.scheme-detail .scheme-graph-grid{grid-template-columns:1fr}@media(max-width:1050px){.scheme-graph-grid{grid-template-columns:1fr}}@media(max-width:650px){.scheme-intro{padding:14px}.scheme-filter{width:100%;min-width:0}.scheme-filter select{width:100%;max-width:100%;min-width:0}.scheme-view-nav{display:grid;grid-template-columns:1fr 1fr}.scheme-view-nav button{padding:10px;font-size:.8rem}.scheme-controls{align-items:stretch}.scheme-heatmap td,.scheme-heatmap th{padding:10px}.scheme-evidence{padding:12px}}
body:not(.entry-mode) .scheme-analysis .scheme-view-nav .subtle-button[aria-pressed="true"]{background:#214c62;color:#fff;border-color:#214c62}

.scheme-headlines{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.scheme-kpi{border:1px solid #d4e3e3;border-top:2px solid #bdd4d1;border-radius:12px;background:#fff;padding:18px;min-width:0}.scheme-kpi h3{font-size:.84rem;color:#385364;margin:0 0 20px}.scheme-kpi-value{display:block;font-size:1.65rem;color:#173d4c;overflow-wrap:anywhere}.scheme-kpi p{font-size:.78rem;line-height:1.5;color:#526575;margin:8px 0 0}.scheme-scope,.scheme-company-context{padding:12px 16px;border:1px solid #dbe7e9;border-radius:10px;background:#f4f8fa;line-height:1.6}.scheme-active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.scheme-controls input[type=number]{width:170px}.scheme-controls input[type=search]{width:280px}.scheme-analysis .scheme-header-controls{margin:0}.scheme-header-controls .site-picker{min-width:210px;max-width:300px}.scheme-analysis .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.scheme-detail .scheme-kpi-value{font-size:1.3rem}
@media(max-width:1100px){.scheme-headlines{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.scheme-headlines{grid-template-columns:1fr}.scheme-kpi h3{margin-bottom:12px}.scheme-kpi-value{font-size:1.5rem}.scheme-controls input[type=number],.scheme-controls input[type=search]{width:100%}.scheme-analysis .scheme-controls>label{width:100%}.scheme-view-nav{grid-template-columns:1fr}.scheme-header-controls .site-picker{max-width:100%;min-width:0}.scheme-active-filters button{max-width:100%;white-space:normal}}
/* Negotiation workbench and payer-family upload (scheme-negotiation.js). */
.scheme-negotiation{min-width:0}.scheme-negotiation-controls .site-picker{min-width:240px;max-width:360px}.scheme-negotiation-controls>button{align-self:end}.scheme-negotiation-notice{border-color:#e6d9b8;background:#fbf7ec}.scheme-family-upload input[type=file]{display:block;margin:8px 0 12px}.scheme-family-upload .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.scheme-family-preview{margin-top:12px}@media(max-width:650px){.scheme-negotiation-controls .site-picker{max-width:100%;min-width:0;width:100%}}
