.pareto-section{scroll-margin-top:20px}.pareto-section .eyebrow{margin-bottom:6px}.pareto-section h2{font-size:23px}.pareto-section a{color:var(--green)}.pareto-help{font-size:12px}.pareto-lead{max-width:830px;font-size:13px;color:var(--muted);margin:16px 0}.pareto-primary-controls{display:grid;grid-template-columns:1fr 1.5fr;gap:16px}.pareto-primary-controls label{margin-top:0}.pareto-section button,.pareto-section select{min-height:44px}.pareto-section button{font-family:inherit;cursor:pointer}.pareto-section button:focus-visible,.pareto-section summary:focus-visible,.pareto-section a:focus-visible{outline:3px solid #2464a0;outline-offset:3px}.pareto-count{font-size:13px;font-weight:600;margin:16px 0}.pareto-presets{display:flex;gap:8px;flex-wrap:wrap}.pareto-presets button{border:1px solid #cdd9d1;border-radius:7px;padding:8px 13px;background:white;color:var(--ink);font-size:12px}.pareto-presets button[aria-pressed="true"]{background:#e5f0e8;border-color:#286747;font-weight:600}.pareto-presets #pareto-reset{margin-left:auto;border-style:dashed;color:var(--muted)}.pareto-settings{padding:12px 0;border-block:1px solid var(--line);font-size:12px}.pareto-settings summary{color:var(--ink);font-weight:600;min-height:24px}.pareto-settings fieldset{border:0;padding:0;margin:18px 0}.pareto-settings legend{color:var(--muted)}.pareto-objectives{display:grid;grid-template-columns:repeat(3,1fr);gap:2px 16px}.pareto-objectives label{flex-direction:row;align-items:center;margin:0;min-height:44px;cursor:pointer}.pareto-objectives input{width:17px;height:17px;accent-color:var(--green)}.pareto-axis-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pareto-settings .check{margin-top:8px;min-height:38px;align-items:center}.pareto-settings .check input{margin:0}.pareto-visual-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.85fr);gap:18px;margin:20px 0}.pareto-plot-panel{min-width:0}.pareto-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.pareto-legend span{display:flex;gap:6px;align-items:center}.pareto-symbol{display:inline-block;width:10px;height:10px;border:2px solid #286747}.pareto-symbol.front{background:#286747;transform:rotate(45deg)}.pareto-symbol.later{border-radius:50%;border-color:#77857e;background:white}.pareto-symbol.selected{border-radius:50%;border-color:#2765a0;outline:2px solid #2765a033;outline-offset:2px}#pareto-chart{width:100%;min-height:300px;margin-top:10px}#pareto-chart svg{display:block;width:100%;overflow:visible;font-family:inherit}#pareto-chart text{fill:#52645b;font-size:11px;font-variant-numeric:tabular-nums}#pareto-chart .pareto-point-label{font-size:11px;fill:#173930;font-weight:600;paint-order:stroke;stroke:white;stroke-width:3px;stroke-linejoin:round}#pareto-chart .pareto-point{cursor:pointer;outline:none}#pareto-chart .pareto-point:focus-visible .focus-ring{stroke:#2765a0;stroke-width:3;fill:#e5f0fb}#pareto-chart .gridline{stroke:#e3eae5;stroke-width:.75;shape-rendering:crispEdges}#pareto-chart .spread{stroke:#79998a;stroke-width:1.2;opacity:.65}.pareto-detail{padding:16px;background:#f7f9f4;border:1px solid var(--line);border-radius:10px;align-self:start;min-width:0}.pareto-detail h3{font-size:18px;margin:6px 0 8px}.pareto-detail p{font-size:12px}.pareto-detail .badge{display:inline-block}.pareto-detail dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:12px;margin:13px 0}.pareto-detail dt{color:var(--muted)}.pareto-detail dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}.pareto-detail dd small{display:block;text-align:right;font-weight:400;font-size:10px;color:var(--muted)}.pareto-detail details{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.pareto-detail summary{cursor:pointer;font-size:12px;font-weight:600}.pareto-detail .detail-meta p{margin:7px 0}.pareto-detail .detail-metrics dl{margin-top:10px}.pareto-risk{border-left:3px solid #bd8b38;padding:8px 10px;background:#fff7e7;color:#785021;line-height:1.7}.pareto-table-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin:20px 0 12px}.pareto-table-heading h3{font-size:15px}.pareto-table-wrap{border:1px solid var(--line);border-radius:8px}#pareto-table{font-variant-numeric:tabular-nums}#pareto-table caption{text-align:left;padding:10px;color:var(--muted);font-size:11px;white-space:normal}#pareto-table th{font-size:11px;line-height:1.6;background:#f5f8f2}#pareto-table th small{display:block;font-size:10px}#pareto-table td{font-size:12px}#pareto-table td:first-child{position:sticky;left:0;background:white;box-shadow:1px 0 var(--line)}#pareto-table tr.selected td{background:#edf4fa}#pareto-table tr.front td:first-child{border-left:3px solid #286747}#pareto-table button{border:0;background:none;color:var(--green);font-weight:600;padding:0 3px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.pareto-cell-count{display:block;font-size:10px;color:var(--muted)}.pareto-empty{padding:28px;background:#f6f8f2;border:1px dashed #cdd9c6;border-radius:9px}.pareto-section #pareto-method{color:var(--ink);font-size:13px}.pareto-section #pareto-method p{font-size:12px;line-height:1.9}.pareto-section #pareto-method h3{font-size:14px}.pareto-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.pareto-guide-grid article{border-top:1px solid var(--line);padding-top:12px}.pareto-guide-grid article p{margin:6px 0}.pareto-section .source-note{font-size:11px!important}.pareto-section .hint{font-size:12px}.pareto-plot-empty{padding:38px 18px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:13px}
@media(max-width:850px){.pareto-section{padding:20px 16px}.pareto-section h2{font-size:20px}.pareto-visual-grid{grid-template-columns:1fr;gap:14px}.pareto-primary-controls{grid-template-columns:1fr 1fr;gap:10px}.pareto-primary-controls select{font-size:11px;padding:10px 7px}.pareto-objectives{grid-template-columns:1fr 1fr}.pareto-guide-grid{grid-template-columns:1fr}.pareto-presets{gap:6px}.pareto-presets button{font-size:11px;padding:7px 9px}.pareto-presets #pareto-reset{margin-left:0}.pareto-legend{gap:12px}.pareto-detail dl{gap:7px 16px}.pareto-table-heading .competition-actions{gap:8px}.pareto-section .secondary{padding:7px 9px}.pareto-section .section-title{gap:9px}}
@media print{.pareto-settings,.pareto-presets,.pareto-table-heading button{display:none}.pareto-visual-grid{display:block}.pareto-table-wrap{overflow:visible}.pareto-detail{break-inside:avoid}}

.pareto-primary-controls{grid-template-columns:1fr 1fr 1.3fr}
@media(max-width:650px){.pareto-primary-controls{grid-template-columns:1fr 1fr}.pareto-primary-controls label:last-child{grid-column:1 / -1}}
.pareto-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.pareto-pagination[hidden]{display:none}.pareto-page-controls{display:flex;align-items:center;gap:8px}.pareto-pagination button{width:44px;height:44px;padding:0;font-size:24px;line-height:1}.pareto-pagination button:disabled{opacity:.45;cursor:default}.pareto-pagination select{width:auto;min-width:104px;padding:8px}.pareto-pagination label{margin:0;font-size:12px}

@media(max-width:1050px){.pareto-visual-grid{grid-template-columns:1fr;gap:14px}}

.pareto-selection-note{font-size:12px;line-height:1.5;color:#31594c;margin:10px 0}.pareto-model-status{display:flex;gap:5px;flex-wrap:wrap;margin:11px 0}.pareto-model-status span{border:1px solid #d7ded7;border-radius:4px;padding:3px 7px;color:#68786d;font-size:10px}.pareto-model-status .is-complete{border-color:#bed5c2;background:#edf6ed;color:#236342}.pareto-detail .pareto-risk{margin:12px 0;padding:6px 9px}.pareto-detail>button{margin-top:9px}.pareto-score-detail{border-top:1px solid var(--line);padding:14px 0;margin:2px 0 16px}.pareto-score-detail summary{cursor:pointer;font-size:13px;font-weight:600}.pareto-score-detail summary:focus-visible{outline:3px solid #2464a0;outline-offset:3px}.pareto-score-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;margin-top:15px}.pareto-score-group h4,.pareto-review-evidence h4{font-size:12px;margin:0 0 8px}.pareto-score-group dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;font-size:11px;margin:0}.pareto-score-group dt{color:var(--muted)}.pareto-score-group dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.pareto-score-group dd small{display:block;font-weight:400;color:var(--muted)}.pareto-review-evidence{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:12px}.pareto-review-evidence ul{padding-left:20px}.pareto-score-detail[open]{padding-bottom:16px}
@media(max-width:650px){.pareto-score-groups{grid-template-columns:1fr}.pareto-score-group{border-bottom:1px solid var(--line);padding-bottom:10px}}

/* The matrix uses raw labels and a column-local colour scale, never a composite score. */
.pareto-chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.pareto-chart-switch{display:flex;border:1px solid #c8d6d0;border-radius:8px;padding:3px;gap:3px;background:#f5f8f5}
.pareto-chart-switch button{border:0;background:transparent;color:#4b6157;padding:8px 13px;border-radius:5px;font-size:12px}
.pareto-chart-switch button[aria-pressed="true"]{background:#fff;color:#194f3c;box-shadow:0 1px 4px #183b2726;font-weight:700}
.pareto-matrix-pages{display:flex;align-items:center;gap:8px;color:#52645b;font-size:12px;font-variant-numeric:tabular-nums}
.pareto-matrix-pages button{width:44px;padding:0;border:1px solid #c8d6d0;border-radius:6px;background:white;color:#285c46;font-size:22px}
.pareto-matrix-pages button:disabled{opacity:.4;cursor:default}
.pareto-heatmap-legend{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;font-size:11px;color:#52645b;min-height:25px}
.heatmap-key{display:inline-flex;align-items:center;gap:5px}.heatmap-key i{display:inline-block;width:16px;height:13px;border:1px solid #c8d6d0;border-radius:2px}
.selected-key{color:#245f96}.heat-level-0{background:#f0f4f2;color:#314e43}.heat-level-1{background:#dcebe4;color:#254b3c}.heat-level-2{background:#bdd8c9;color:#1f4736}.heat-level-3{background:#74a88e;color:#123426}.heat-level-4{background:#2c694e;color:white}
.pareto-heatmap .is-missing,.heatmap-key .is-missing{background:repeating-linear-gradient(135deg,#f7f7f4 0 5px,#e9ece8 5px 6px);color:#677168}
#pareto-chart.pareto-heatmap-scroll{overflow:auto;min-height:0;border:1px solid #d2ddd5;border-radius:8px;margin-top:12px;scroll-padding-inline-start:145px}
.pareto-heatmap-scroll:focus-visible{outline:3px solid #2765a0;outline-offset:3px}
.pareto-heatmap{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.pareto-heatmap thead th{background:#f8faf7;color:#264638;font-size:11px;text-align:center;padding:12px 7px;white-space:normal;line-height:1.5;border-bottom:1px solid #d2ddd5}
.pareto-heatmap th small{display:block;font-size:10px;font-weight:400;color:#52645b}.pareto-heatmap .pareto-heatmap-range{margin-top:5px;color:#52645b}
.pareto-heatmap th:first-child{position:sticky;left:0;width:144px;z-index:1;box-shadow:1px 0 #d2ddd5}
.pareto-heatmap tbody th{background:white;padding:0;border-bottom:1px solid #e1e8e3;text-align:left}
.pareto-heatmap td{padding:0 5px;height:44px;text-align:center;font-size:12px;border-bottom:2px solid white;border-left:2px solid white;cursor:pointer}
.pareto-heatmap-select{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:6px 9px;border:0;background:transparent;color:#254838;font-size:11px;text-align:left;min-height:44px}
.pareto-heatmap-select>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pareto-heatmap-select small{flex-shrink:0;font-size:10px}.pareto-heatmap-select small.is-front{font-weight:700;color:#206141}
.pareto-heatmap-row.selected td{box-shadow:inset 0 2px #2765a0,inset 0 -2px #2765a0}
.pareto-heatmap-row.selected td:last-child{box-shadow:inset 0 2px #2765a0,inset 0 -2px #2765a0,inset -2px 0 #2765a0}
.pareto-heatmap-row.selected th{background:#eaf2fa;box-shadow:inset 3px 0 #2765a0,inset 0 2px #2765a0,inset 0 -2px #2765a0}
.pareto-heatmap-select:focus-visible{outline-offset:-4px!important}
.pareto-heatmap .is-missing .pareto-heatmap-value{font-size:10px}
.pareto-section [hidden]{display:none!important}
.pareto-heatmap .visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:520px){.pareto-chart-toolbar{gap:10px}.pareto-chart-switch{width:100%}.pareto-chart-switch button{flex:1;padding:8px 6px}.pareto-matrix-pages{justify-content:flex-end;width:100%}.pareto-heatmap th:first-child{width:128px}.pareto-heatmap-select{font-size:10px}.pareto-heatmap-legend{gap:7px 10px}}
.pareto-visual-grid.is-heatmap{grid-template-columns:minmax(0,1fr)}
.pareto-sort-controls{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin:12px 0 0;color:#52645b;font-size:11px}
.pareto-sort-controls #pareto-sort-status{font-weight:600;color:#264638}.pareto-sort-controls button{margin-left:auto;font-size:11px}
.pareto-sort-controls button:disabled{opacity:.45;cursor:default}
.pareto-heatmap .pareto-sort-column,#pareto-table .pareto-sort-column{display:block;width:100%;background:transparent;border:0;text-decoration:none;color:#264638;font-family:inherit;font-size:11px;font-weight:600;padding:4px 2px;white-space:normal;text-align:inherit;line-height:1.5}
.pareto-sort-column span,.pareto-sort-column small{display:block}.pareto-heatmap .pareto-sort-column small,#pareto-table .pareto-sort-column small{font-weight:400;color:#52645b;font-size:10px}
.pareto-heatmap th[aria-sort="ascending"],.pareto-heatmap th[aria-sort="descending"],#pareto-table th[aria-sort="ascending"],#pareto-table th[aria-sort="descending"]{background:#e3eee8}
.pareto-heatmap .pareto-sort-column:focus-visible{outline-offset:-2px}
@media(max-width:520px){.pareto-sort-controls{gap:6px 10px}.pareto-sort-controls button{margin-left:0}}
