.homepage .school-metric-group-grid .survey-stat .stat-value-group { flex: 0 0 auto; min-height: 142px; gap: 4px; align-items: center; }
.homepage .survey-topic-value small { font-size: 12px; font-weight: normal; color: #46617e; }
.homepage .survey-topic-status { font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; color: #274969; }
.homepage .survey-stat .metric-context { font-size: 12px; line-height: 1.3; }
.homepage .survey-topic-link, .homepage .survey-topic-retry { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 4px 6px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.homepage .survey-topic-link { color: #0754a6; text-decoration: underline; }
.homepage .survey-topic-retry { border: 1px solid #b9cfea; border-radius: 6px; color: #0754a6; background: #f5f9ff; cursor: pointer; }
.homepage .survey-stat :focus-visible { outline: 3px solid #175cad; outline-offset: 2px; }
.homepage .survey-topic-note { margin: 7px 2px 0; color: #46617e; font-size: 12px; line-height: 1.4; }
@media(max-width:640px) { .homepage .school-metric-group-grid-key.key-measure-count-3 { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.homepage #school-list .survey-historical { display:block; color:#67460d; font-size:13px; }
.homepage #school-list .survey-information { cursor:pointer; }
.survey-information-dialog { box-sizing:border-box; width: min(620px, calc(100% - 32px)); max-height:85vh; margin:auto; padding:24px; border:1px solid #b9cfea; border-radius:12px; background:#fff; color:#274969; font:15px/1.55 Arial,sans-serif; overflow:auto; }
.survey-information-dialog::backdrop { background:rgba(20,40,60,.48); }
.survey-information-dialog h2 { margin:0 0 16px; font-size:21px; line-height:1.3; }
.survey-information-dialog p { margin:0 0 16px; }
.survey-history-explanation { background:#fff5df; padding:12px; border-radius:6px; }
.survey-information-dialog form { position:sticky; bottom:-24px; background:white; padding:12px 0; }
.survey-information-close { min-height:44px; padding:8px 24px; border:1px solid #0754a6; border-radius:6px; background:#0754a6; color:white; font:700 15px Arial,sans-serif; cursor:pointer; }
.survey-information-close:focus-visible { outline:3px solid #a8490c; outline-offset:3px; }
