.survey-results-page{--survey-ink:#173b32;--survey-muted:#61766d;--survey-green:#087443;color:var(--survey-ink)}.survey-results-page h1{font-size:clamp(1.6rem,2.5vw,2.15rem);line-height:1.25}.survey-results-page .survey-result-title{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:18px 0 24px}.survey-result-title p{margin:8px 0}.survey-result-muted{color:var(--survey-muted);font-size:.9rem}.survey-overview{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px;margin:20px 0}.survey-results-page .survey-overview .card{margin:0;padding:20px}.survey-completion{display:flex;align-items:center;gap:20px}.survey-completion svg{width:100px;height:100px;flex-shrink:0}.survey-completion circle{fill:none;stroke-width:10}.survey-donut-track{stroke:#e1ede7}.survey-donut-value{stroke:#087443;transform:rotate(-90deg);transform-origin:60px 60px;stroke-linecap:round}.survey-completion text{font-weight:700;font-size:24px;fill:var(--survey-ink)}.survey-completion strong,.survey-overview-stat strong{display:block;font-size:1.8rem;color:#087443}.survey-completion span,.survey-overview-stat span{display:block;font-weight:600;margin:5px 0}.survey-overview small{color:var(--survey-muted)}.survey-results-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.survey-results-controls label{flex:1;min-width:170px;margin:0}.survey-results-controls input,.survey-results-controls select{margin-bottom:0}.survey-view-toggle{display:flex;gap:6px;flex-wrap:wrap}.survey-view-toggle button[aria-pressed=true]{background:#087443;color:white;border-color:#087443}.survey-result-list-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.survey-result-list-heading p{margin:8px 0 18px}.survey-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.survey-results-page .survey-person-card{padding:20px;margin:0;display:flex;flex-direction:column;min-width:0;box-shadow:0 3px 14px #124a3510}.survey-person-card-title{display:flex;gap:12px;align-items:center}.survey-person-card-title h2{font-size:1.05rem;margin:0 0 6px;line-height:1.35;overflow-wrap:anywhere}.survey-person-card-title p{font-size:.8rem;margin:0;color:var(--survey-muted);overflow-wrap:anywhere}.survey-person-initial{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;flex-shrink:0;background:#e4f2e9;color:#087443;font-weight:700;font-size:1.2rem}.survey-person-position{font-size:.85rem;color:var(--survey-muted);min-height:1.2em;margin:14px 0}.survey-person-score{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.survey-person-score strong{font-size:2rem;line-height:1.15;color:#087443}.survey-person-score>span{color:var(--survey-muted)}.survey-person-score small{flex-basis:100%;font-size:.75rem;color:var(--survey-muted);margin-top:4px}.survey-card-status{font-size:.8rem;min-height:2.8em;line-height:1.4;margin:12px 0 0}.survey-mini-chart{width:100%;height:112px;display:block;margin:8px 0 12px}.survey-mini-chart text{font:10px system-ui,sans-serif;fill:#526b60}.survey-card-progress{display:flex;justify-content:space-between;font-size:.8rem;color:var(--survey-muted);gap:10px}.survey-person-card>progress{width:100%;height:6px;accent-color:#087443;margin:7px 0 0}.survey-person-card .survey-card-warning{font-size:.75rem;color:#79602e;margin:10px 0 16px;min-height:1.3em}.survey-person-card>a.button{width:100%;box-sizing:border-box;text-align:center;margin-top:auto}.survey-results-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0}.survey-results-empty{text-align:center}.survey-heatmap-scroll{overflow:auto;max-height:600px}.survey-heatmap table{min-width:760px;width:100%;table-layout:fixed}.survey-heatmap th,.survey-heatmap td{vertical-align:middle;padding:12px 8px;text-align:center}.survey-heatmap th:first-child{width:200px;text-align:left}.survey-heatmap thead th{position:sticky;top:0;background:#edf4f0;z-index:1}.survey-heatmap tbody th{background:white}.survey-heatmap small{display:block;font-size:.72rem;font-weight:400;color:var(--survey-muted);margin-top:5px}.survey-heatmap tbody th a{font-weight:600}.survey-heat-cell{display:inline-block;background:var(--survey-cell-color);color:white;font-weight:600;border-radius:7px;padding:10px 12px;min-width:42px;box-sizing:border-box}.survey-heat-legend{display:flex;align-items:center;gap:10px;margin:18px 0 0;flex-wrap:wrap;font-size:.8rem}.survey-heat-gradient{height:10px;width:160px;border-radius:6px;background:linear-gradient(90deg,hsl(28 48% 38%),hsl(90 48% 38%),hsl(153 48% 38%))}.survey-detail-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 24px}.survey-result-detail>section[id]{scroll-margin-top:110px}.survey-result-detail .survey-weighted-result{margin:0;border:none;padding:0;background:none}.survey-result-detail .survey-weighted-result details>summary{cursor:pointer;font-weight:600;margin:16px 0}.survey-result-detail .survey-competency{padding:16px 0;border-top:1px solid #e3ece7}.survey-result-detail .survey-relation-grid>section{background:#f2f8f4;border:1px solid #deebe3}.survey-section-title,.survey-response-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.survey-section-title h2{margin-top:0}.survey-response{padding:24px 0;border-top:1px solid #dce8e0}.survey-response-heading h3{margin:0;font-size:1.05rem}.survey-comments-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.survey-comments-grid>section{padding:16px;background:#f4f8f5;border-radius:10px;min-width:0}.survey-comments-grid h4,.survey-response-notes h4{margin:0 0 10px}.survey-comments-grid p{margin:0;overflow-wrap:anywhere}.survey-response-notes ul{list-style:none;padding:0}.survey-response-notes li{padding:12px 14px;border-left:3px solid #a4c7b6;background:#f8faf7;margin:10px 0;overflow-wrap:anywhere}.survey-response-notes li strong{font-size:.9rem}.survey-response-notes .peer-result-note{white-space:pre-wrap;margin:8px 0 0}.survey-criterion-details>summary{font-weight:600;cursor:pointer;padding:14px 0}.survey-response-group h4{padding:12px;background:#edf4f0;margin:14px 0 0}.survey-response-criterion{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:16px;align-items:start;padding:12px 8px;border-bottom:1px solid #e5eee8;font-size:.9rem}.survey-response-criterion strong{text-align:right;font-size:.8rem;color:#087443}.survey-response-criterion span{overflow-wrap:anywhere}.survey-pending>summary{padding:14px 0;cursor:pointer}.survey-result-warning{padding:12px;border-radius:8px;background:#fff3d6;color:#775215}.survey-results-page .peer-progress-detail{margin-top:24px}.survey-back{display:inline-block;margin-top:12px}
@media(max-width:1400px){.survey-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.survey-completion{gap:12px}.survey-completion svg{width:76px;height:76px}.survey-completion strong,.survey-overview-stat strong{font-size:1.6rem}}
@media(max-width:760px){.survey-overview{grid-template-columns:1fr 1fr;gap:10px}.survey-results-page .survey-overview .card{padding:16px}.survey-completion{grid-column:1/-1}.survey-completion svg{width:86px;height:86px}.survey-results-grid{gap:12px}.survey-comments-grid{grid-template-columns:1fr}.survey-results-controls label{min-width:calc(50% - 14px)}.survey-results-controls label:first-child{min-width:100%}.survey-result-detail>section[id]{scroll-margin-top:90px}}
@media(max-width:540px){.survey-results-grid{grid-template-columns:1fr}.survey-results-page .survey-person-card{padding:18px}.survey-results-controls label{min-width:100%}.survey-view-toggle{width:100%}.survey-view-toggle button{flex:1}.survey-person-card-title h2{font-size:1.1rem}.survey-mini-chart{height:112px}.survey-detail-shortcuts button{flex:1;min-width:130px}.survey-response-criterion{grid-template-columns:minmax(0,1fr) 76px;gap:10px}.survey-results-pagination{gap:10px}.survey-results-pagination button{padding:10px;font-size:.85rem}}
@media print{.survey-results-controls,.survey-results-pagination,.survey-view-toggle,.survey-back,.survey-person-card>a.button{display:none}.survey-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-results-page .card{break-inside:avoid;box-shadow:none}.survey-mini-chart,.survey-heat-cell{print-color-adjust:exact}.survey-heatmap-scroll{max-height:none;overflow:visible}}

/* Sorting is shared by cards and the competency map. */
.survey-heatmap .survey-sort-header{display:block;width:100%;min-height:44px;margin:0;padding:6px 0;background:transparent;border:0;border-radius:5px;color:var(--survey-ink);font:inherit;font-weight:700;text-align:inherit;cursor:pointer;white-space:normal}.survey-sort-header:focus-visible{outline:3px solid #087443;outline-offset:2px}.survey-heatmap th[aria-sort]{background:#dceee3}.survey-heatmap .survey-sort-header small{white-space:normal;line-height:1.5}.survey-sort-score{font-size:.85rem;background:#edf4f0;padding:10px;border-radius:8px;margin:8px 0 0;overflow-wrap:anywhere}

/* Taller card charts; categorical colors identify I–V, never personnel ratings. */
.survey-results-page .survey-mini-chart{height:196px}.survey-mini-chart .survey-mini-number{font-size:11px;font-weight:700;fill:#243e48}.survey-mini-chart .survey-mini-label{font-size:11px;font-weight:650;fill:#344e58}.survey-mini-grid line{stroke:#d4dde4;stroke-width:1;stroke-dasharray:3 3}

/* Individual submitted responses: clear boundaries and prominent reviewer identity. */
.survey-results-page .survey-response{margin:24px 0;padding:0;border:1px solid #bed3c8;border-radius:16px;background:#fff;box-shadow:0 3px 12px #173b3209;min-width:0}.survey-response .survey-response-heading{padding:20px 22px;border-left:5px solid #087443;border-bottom:1px solid #ccdfd4;border-radius:15px 15px 0 0;background:#edf6f0;align-items:flex-start}.survey-reviewer-identity{display:flex;gap:14px;align-items:flex-start;min-width:0;flex:1}.survey-reviewer-identity>div{min-width:0}.survey-reviewer-avatar{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:12px;background:#087443;color:#fff;font-size:1.2rem;font-weight:750}.survey-response-heading .survey-reviewer-name{margin:3px 0 6px;font-size:1.35rem;line-height:1.4;font-weight:750;color:#0c4c32;overflow-wrap:anywhere}.survey-reviewer-caption{margin:0;color:#426c56;font-size:.78rem;font-weight:650;letter-spacing:.03em;text-transform:uppercase}.survey-reviewer-meta{margin:0;font-size:.85rem;color:#456353;overflow-wrap:anywhere}.survey-response-heading .survey-reviewer-relation{border:1px solid #a9c8b7;background:#fff;color:#235e45;white-space:normal}.survey-response-body{padding:20px 22px;min-width:0}.survey-response-body>.survey-result-muted{margin-top:0}.survey-response .survey-comments-grid{gap:14px}.survey-response .survey-comments-grid>section{border:1px solid #e1ebe5}.survey-response .survey-criterion-details>summary{border-top:1px solid #dce8e0;margin-top:16px;color:#235e45}@media(max-width:650px){.survey-response .survey-response-heading{padding:16px 14px;gap:12px}.survey-response-heading .survey-reviewer-name{font-size:1.2rem}.survey-reviewer-identity{gap:10px;flex-basis:100%}.survey-reviewer-avatar{width:38px;height:38px;flex-basis:38px;font-size:1rem}.survey-response-body{padding:16px 14px}.survey-reviewer-relation{margin-left:48px;max-width:calc(100% - 48px)}}

/* Full competency legend shared by employee cards and the competency map. */
.survey-results-page .survey-competency-legend{margin:0 0 18px;padding:20px;border:1px solid #9fc5b2;border-left:5px solid #08744e;border-radius:14px;background:#edf7f1;color:#183f30}
.survey-results-page .survey-legend-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.survey-results-page .survey-legend-heading h2{font-size:1.08rem;font-weight:750;margin:0;color:#125237}
.survey-results-page .survey-legend-scale{padding:6px 12px;border-radius:20px;background:#12613f;color:#fff;font-size:.85rem;font-weight:700;white-space:nowrap}
.survey-results-page .survey-competency-legend ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;list-style:none;margin:0;padding:0}
.survey-results-page .survey-competency-legend li{display:flex;align-items:flex-start;gap:10px;min-width:0;font-size:.94rem;line-height:1.5;font-weight:600}
.survey-results-page .survey-competency-legend li strong{display:grid;place-items:center;flex:0 0 32px;min-height:32px;border:1px solid #a8ceba;border-radius:8px;background:#fff;color:#075b38;font-weight:800}
.survey-results-page .survey-competency-legend li span{padding-top:4px;overflow-wrap:anywhere}
@media(max-width:900px){.survey-results-page .survey-competency-legend ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.survey-results-page .survey-competency-legend{padding:16px}.survey-results-page .survey-competency-legend ul{grid-template-columns:1fr;gap:12px}.survey-results-page .survey-legend-heading{margin-bottom:18px}}

/* Individual criterion comparison: shared server scores, fixed 0–4 scale. */
.survey-criterion-page{max-width:1440px;margin:auto}.survey-criterion-page h1{font-size:clamp(24px,2.5vw,34px)}
.survey-criterion-controls{display:grid;grid-template-columns:1fr 2fr 1fr 1fr;gap:16px;margin:20px 0 12px;padding:20px}.survey-criterion-controls label{min-width:0;font-weight:600}.survey-criterion-controls select{width:100%;min-width:0;margin-top:8px;text-overflow:ellipsis;font-weight:400}
.survey-criterion-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px}.survey-criterion-navigation span{font-size:13px;color:#526b62;text-align:center}.survey-criterion-navigation button{min-height:44px}
.survey-criterion-chart{padding:24px}.survey-criterion-heading{border-left:5px solid #087648;padding-left:16px;margin-bottom:20px}.survey-criterion-heading h2{font-size:22px;line-height:1.55;margin:8px 0;overflow-wrap:anywhere}.survey-criterion-heading p{color:#526b62;margin:0}.survey-criterion-heading .eyebrow{color:#096040}
.survey-criterion-extremes{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:18px}.survey-criterion-extremes section{background:#f3f8f5;border:1px solid #cbded2;border-radius:12px;padding:16px 20px;min-width:0}.survey-criterion-extremes section>span{font-weight:700;color:#304d40}.survey-criterion-extremes section>strong{display:block;font-size:30px;color:#075b35;margin:4px 0}.survey-criterion-extremes strong small{font-size:14px;margin-left:5px;font-weight:400}.survey-criterion-extremes a,.survey-criterion-missing a{display:block;overflow-wrap:anywhere;margin-top:6px;font-weight:600}.survey-criterion-extremes a small{color:#526b62;font-weight:400}
.survey-criterion-method{font-size:13px;line-height:1.65;color:#526b62}.survey-criterion-axis,.survey-criterion-ranks li{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,1.5fr) 75px;gap:20px;align-items:center}.survey-criterion-axis{font-size:12px;color:#526b62;border-bottom:1px solid #dbe5df;padding:18px 0 12px}.survey-criterion-axis>div{display:flex;justify-content:space-between}.survey-criterion-axis>span:last-child{text-align:right}.survey-criterion-ranks{list-style:none;margin:0;padding:0}.survey-criterion-ranks li{padding:18px 0;border-bottom:1px solid #e2eae5}.survey-criterion-ranks li:last-child{border-bottom:0}.survey-criterion-person{display:flex;align-items:center;gap:12px;min-width:0}.survey-criterion-rank{flex:0 0 34px;text-align:center;padding:7px 0;background:#e8f2ec;border-radius:8px;font-weight:700;color:#075b35}.survey-criterion-person a{font-size:16px;font-weight:700;overflow-wrap:anywhere}.survey-criterion-person small,.survey-criterion-score small{display:block;font-size:12px;line-height:1.5;color:#526b62;margin-top:5px;overflow-wrap:anywhere}.survey-criterion-score{min-width:0}.survey-criterion-score progress{display:block;width:100%;height:20px;border:0;border-radius:5px;overflow:hidden;background:#edf2ef;accent-color:var(--criterion-color)}.survey-criterion-score progress::-webkit-progress-bar{background:#edf2ef}.survey-criterion-score progress::-webkit-progress-value{background:var(--criterion-color);border-radius:5px}.survey-criterion-score progress::-moz-progress-bar{background:var(--criterion-color);border-radius:5px}.survey-criterion-ranks li>strong{text-align:right;font-size:21px;font-variant-numeric:tabular-nums;color:#153e2c}.survey-criterion-ranks li>strong small{font-size:12px;color:#526b62;margin-left:3px;font-weight:400}.survey-criterion-missing{border-top:1px solid #dbe5df;margin-top:12px;padding-top:18px}.survey-criterion-missing summary{cursor:pointer;font-weight:600;color:#526b62;padding:8px 0}.survey-criterion-missing>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:12px}.survey-criterion-empty{padding:30px;text-align:center;color:#526b62;background:#f5f8f6;border-radius:10px}
@media(max-width:1100px){.survey-criterion-controls{grid-template-columns:1fr 1fr}.survey-criterion-axis,.survey-criterion-ranks li{grid-template-columns:minmax(180px,1fr) minmax(140px,1.2fr) 65px;gap:12px}}
@media(max-width:600px){.survey-criterion-controls{grid-template-columns:1fr;padding:16px;gap:12px}.survey-criterion-chart{padding:18px 14px}.survey-criterion-heading h2{font-size:19px}.survey-criterion-extremes{grid-template-columns:1fr}.survey-criterion-navigation{gap:6px}.survey-criterion-navigation button{padding:10px;font-size:12px}.survey-criterion-axis{display:none}.survey-criterion-ranks li{grid-template-columns:minmax(0,1fr) 60px;gap:8px;padding:20px 0}.survey-criterion-person{grid-column:1/-1}.survey-criterion-ranks li>strong{font-size:20px}.survey-criterion-score{padding-left:46px}.survey-criterion-score progress{height:22px}.survey-criterion-missing>div{grid-template-columns:1fr}.survey-criterion-person a{font-size:16px}}
@media print{.survey-criterion-controls,.survey-criterion-navigation{display:none}.survey-criterion-ranks li{break-inside:avoid}.survey-criterion-chart{box-shadow:none}.survey-criterion-extremes section{break-inside:avoid}}

/* Keep the three result views together; wrap naturally on narrow screens. */
.survey-results-controls .survey-result-views{flex-basis:100%;align-items:stretch}.survey-result-views>.button,.survey-result-views>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}
@media(max-width:600px){.survey-result-views>.button{flex:1 0 100%;text-align:center}}
@media(min-width:601px){.survey-results-controls .survey-result-views{flex-wrap:nowrap}.survey-result-views>.button,.survey-result-views>button{flex:0 1 auto;min-width:0;font-size:14px;padding:10px 12px;white-space:normal;text-align:center}}
