.survey-weighted-result{padding:20px;border:1px solid #c9e3db;border-radius:16px;background:#f3faf7;margin:20px 0}.survey-weighted-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.survey-weighted-header h3{margin:0}.survey-weighted-header p{color:#526e63;font-size:.85rem}.survey-weighted-score{white-space:nowrap}.survey-weighted-score strong{font-size:2.3rem;color:#087443}.survey-weighted-score span{color:#526e63;margin-left:5px}.survey-relation-grid,.survey-policy-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.survey-relation-grid>section{background:#fff;border-radius:10px;padding:14px;min-width:0}.survey-relation-grid h4{margin:0 0 12px}.survey-relation-grid strong{font-size:1.5rem}.survey-relation-grid strong small{font-size:.8rem}.survey-relation-grid p{font-size:.85rem}.survey-weight-status{font-weight:600}.survey-weight-warning{color:#775215;background:#fff3d6;border-radius:8px;padding:12px}.survey-competency{display:grid;grid-template-columns:1fr 1fr 65px;gap:12px;align-items:center;padding:12px 0}.survey-competency progress{width:100%;accent-color:#087443}.survey-policy-settings{margin:20px 0;padding-bottom:20px;border-bottom:1px solid #d9e8e2}.survey-policy-settings>summary{font-weight:600;cursor:pointer;padding:10px 0}.survey-weighting-manage small{display:block;color:#61766d}.survey-weighting-manage .scroll{max-height:420px;margin:16px 0}.peer-legacy-chart{margin:20px 0}.peer-legacy-chart>summary{font-weight:600;cursor:pointer}.survey-weighting-manage [role=status]{margin:12px 0;overflow-wrap:anywhere}
@media(max-width:650px){.survey-relation-grid,.survey-policy-inputs{grid-template-columns:1fr}.survey-weighted-header{align-items:start;flex-wrap:wrap}.survey-competency{grid-template-columns:1fr 65px}.survey-competency>span{grid-column:1/-1}.survey-weighted-result{padding:14px}}
/* Self comparison is confined to the expanded five-competency block. */
.survey-compare-guide{font-size:.85rem;color:#526e63;line-height:1.6}.survey-competency-compare{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,1.7fr);gap:24px;padding:20px 0;border-top:1px solid #dce8e0;align-items:start}.survey-competency-compare h4{margin:4px 0;font-size:1rem;line-height:1.6}.survey-compare-pair{min-width:0}.survey-compare-bar{display:grid;grid-template-columns:105px minmax(0,1fr) 62px;align-items:center;gap:12px;margin:0 0 10px;font-size:.85rem}.survey-compare-bar progress{appearance:none;width:100%;height:10px;border:0;border-radius:8px;overflow:hidden;background:#e3ebe7}.survey-compare-bar progress::-webkit-progress-bar{background:#e3ebe7;border-radius:8px}.survey-compare-bar progress::-webkit-progress-value{background:#087443;border-radius:8px}.survey-compare-bar progress::-moz-progress-bar{background:#087443;border-radius:8px}.survey-compare-self progress::-webkit-progress-value{background:#ba8523}.survey-compare-self progress::-moz-progress-bar{background:#ba8523}.survey-compare-bar strong{text-align:right;white-space:nowrap}.survey-compare-empty{grid-column:2/-1;color:#61766d}.survey-compare-delta{display:inline-block;margin:2px 0 0;padding:6px 10px;border-radius:7px;font-size:.8rem;line-height:1.5;background:#edf2ef;color:#425d52}.survey-compare-delta.higher{background:#fff2d6;color:#775215}.survey-compare-delta.lower{background:#eaf1fc;color:#2e568b}.survey-compare-delta.equal{background:#e5f2eb;color:#235e45}.survey-compare-delta.missing{background:transparent;padding-left:0;color:#61766d}@media(max-width:700px){.survey-competency-compare{grid-template-columns:1fr;gap:12px;padding:18px 0}.survey-compare-bar{grid-template-columns:95px minmax(0,1fr) 55px;gap:8px}}
