/* Shared layout and dark-mode guidance. light.css is enabled only in day mode. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  flex-shrink: 0; min-height: 40px; padding: 8px 13px; border-radius: 100px;
  border: 1px solid #839574; background: #20291b; color: #e0edd2;
  font-size: 12px; line-height: 1.3; transition: background .2s, border-color .2s;
}
.theme-toggle:hover { border-color: #cdfa77; background: #2a3722; }
.theme-toggle-icon { font-size: 19px; width: 20px; line-height: 1; }
.school-brand img { filter: brightness(0) invert(.9); }
.assessment-note {
  display: flex; align-items: flex-start; gap: 13px; padding: 18px 21px;
  margin-bottom: 14px; border: 1px solid #7f9b5d; background: #26351e;
  color: #e8f1dc; border-radius: 14px;
}
.assessment-icon { color: #cdfa77; margin-top: 2px; flex-shrink: 0; }
.assessment-note strong { display: block; font-size: 14px; font-weight: 600; }
.assessment-note p { margin-top: 5px; font-size: 13px; line-height: 1.9; color: #d4e3c3; }
.data-explanation { font-size: 13px; color: #c4cfbc; margin: 0 0 23px; padding: 0 3px; }
.data-explanation summary { cursor: pointer; color: #d4e6bd; width: fit-content; }
.data-explanation p { margin-top: 9px; line-height: 1.9; max-width: 850px; }
.data-explanation p + p { margin-top: 7px; }
.workbench-sidebar { top: 25px; }
.result-heading h2 { font-size: clamp(22px, 2.3vw, 29px); }
.result-bottom > span { line-height: 1.9; }
@media (max-width: 1250px) {
  .site-header { gap: 14px; }
  .main-nav { gap: 17px; }
  .header-divider, .brand-product { display: none; }
  .main-nav { margin-left: auto; }
}
@media (max-width: 900px) {
  .theme-toggle { margin-left: auto; }
  .site-header .nav-cta { margin-left: 0; }
}
@media (max-width: 650px) {
  .site-header { gap: 9px; }
  .school-brand { width: clamp(145px, 43vw, 208px); }
  .theme-toggle { padding: 7px 10px; min-height: 36px; }
  .theme-toggle-label { display: none; }
  .theme-toggle-icon { width: 17px; }
  .assessment-note { padding: 16px; gap: 10px; }
  .assessment-note strong { font-size: 14px; }
  .assessment-note p, .data-explanation { font-size: 13px; }
}
