/* ==================================================
   Lumigo Schools public pages
   ================================================== */

:root {
  --schools-bg: #eef8fd;
  --schools-bg-warm: #fff7ed;
  --schools-surface: #ffffff;
  --schools-surface-soft: #f7fbff;
  --schools-surface-blue: #eff8ff;
  --schools-text: #05070d;
  --schools-muted: #5f6064;
  --schools-line: #dfe8f2;
  --schools-line-strong: #c9d6e5;
  --schools-blue: #00bfff;
  --schools-blue-deep: #0040ff;
  --schools-orange: #ffad33;
  --schools-orange-deep: #ff5c00;
  --schools-green: #4fa52e;
  --schools-max-width: var(--blog-max-width, 1180px);
  --schools-shadow: 0 28px 80px rgba(0, 64, 255, 0.11);
  --schools-card-shadow: 0 18px 48px rgba(15, 58, 96, 0.09);
}

.schools-public-page {
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(238, 248, 253, 0.96), rgba(255, 247, 237, 0.86)),
    var(--schools-bg);
  color: var(--schools-text);
}

.schools-public-shell {
  width: min(calc(100% - 32px), var(--schools-max-width));
  margin: 0 auto;
  padding: 20px 0 50px;
  font-family: "Open Sans", Arial, sans-serif;
}

.schools-shell-chrome {
  margin-bottom: 20px;
}

.schools-breadcrumbs {
  margin: 0 0 20px;
}

.schools-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schools-breadcrumbs li + li::before {
  content: "/";
  color: rgba(5, 7, 13, 0.32);
}

.schools-breadcrumbs[hidden] {
  display: none;
}

.schools-school-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.54fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 255, 0.76)),
    var(--schools-surface);
  box-shadow: var(--schools-shadow);
}

.schools-school-hero--generic {
  grid-template-columns: minmax(0, 1fr);
}

.schools-school-hero__copy,
.schools-school-hero__summary {
  min-width: 0;
}

.schools-school-hero__copy,
.schools-school-hero__identity,
.schools-school-hero__brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.schools-school-hero__eyebrow,
.schools-section__eyebrow,
.schools-loading-card__eyebrow {
  margin: 0 0 8px;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.schools-school-hero__title {
  display: grid;
  gap: 9px;
  max-width: 820px;
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.06;
}

.schools-school-hero__title-main,
.schools-school-hero__title-subtitle {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.schools-school-hero__title-main {
  font-size: clamp(2.35rem, 4.2vw, 3.25rem);
  font-weight: 760;
}

.schools-school-hero__title-subtitle {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(5, 7, 13, 0.58);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.schools-score-card__coverage {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(163, 55, 32, 0.2);
  border-radius: 6px;
  background: rgba(255, 247, 237, 0.8);
  color: #8a3b24;
  font-size: 0.72rem;
  font-weight: 800;
}

.schools-score-card__coverage-detail {
  margin: 10px 0 0;
  color: var(--schools-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.schools-school-hero__lede,
.schools-school-hero__verdict {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--schools-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.schools-school-hero__verdict {
  margin: 0;
  color: rgba(5, 7, 13, 0.82);
  font-size: 1.03rem;
  font-weight: 500;
}

.schools-school-hero__brief {
  max-width: 780px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 20px;
  background: rgba(239, 248, 255, 0.72);
}

.schools-school-hero__brief strong {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
}

.schools-school-hero__keyfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  max-width: 780px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.schools-school-hero__keyfacts li {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(201, 214, 229, 0.74);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.schools-school-hero__keyfacts strong {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.schools-rank-number {
  white-space: nowrap;
}

.schools-rank-denominator {
  flex: 0 0 auto;
  padding: 0;
  color: rgba(5, 7, 13, 0.46);
  font-size: 0.64em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.schools-school-hero__keyfacts span {
  color: rgba(5, 7, 13, 0.66);
  font-size: 0.78rem;
  line-height: 1.35;
}

.schools-school-hero__keyfacts .schools-rank-number {
  color: var(--schools-blue-deep);
  font-size: 1em;
  font-weight: 800;
  line-height: 1;
}

.schools-school-hero__keyfacts .schools-rank-denominator {
  color: rgba(5, 7, 13, 0.46);
  font-size: 0.64em;
  line-height: 1;
}

.schools-reading-warning {
  display: grid;
  gap: 5px;
  max-width: 760px;
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 173, 51, 0.34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.84));
  color: rgba(5, 7, 13, 0.76);
  font-size: 0.95rem;
  line-height: 1.58;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.schools-reading-warning strong {
  color: #7d3f00;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.schools-school-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin-top: 18px;
}

.schools-school-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.schools-school-hero__action--primary {
  border-color: transparent;
  background: var(--schools-blue-deep);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 64, 255, 0.16);
}

.schools-school-toc {
  display: flex;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.schools-school-toc::-webkit-scrollbar {
  display: none;
}

.schools-school-toc a {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 8px;
  color: rgba(5, 7, 13, 0.72);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.schools-school-toc a.schools-school-toc__top {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.schools-school-toc__top img {
  display: block;
  width: 16px;
  height: 16px;
}

.schools-school-toc a:hover,
.schools-school-toc a:focus-visible {
  background: rgba(0, 64, 255, 0.07);
  color: var(--schools-blue-deep);
  outline: none;
}

@media (min-width: 981px) {
  .schools-school-toc {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.schools-school-hero__summary {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 230px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.schools-school-hero__summary:has(.schools-hero-media),
.schools-school-hero__summary:has(.schools-hero-contact-frame) {
  align-content: start;
}

.schools-hero-score-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  min-height: 170px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.86));
}

.schools-hero-score-panel:has(.schools-hero-media) {
  align-content: start;
}

.schools-hero-score-panel--loading {
  min-height: 230px;
}

.schools-hero-contact-frame {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--schools-line-strong);
  border-radius: 14px;
  background: transparent;
}

.schools-hero-contact-frame .schools-contact-list {
  gap: 11px;
  margin: 0;
}

.schools-hero-contact-frame .schools-contact-list__item + .schools-contact-list__item {
  padding-top: 10px;
  border-top: 1px solid var(--schools-line);
}

.schools-hero-media {
  position: relative;
  min-width: 0;
  margin: -24px -24px 4px;
  overflow: hidden;
  border-radius: 24px 24px 16px 16px;
  aspect-ratio: 16 / 9;
  background: var(--schools-surface-blue);
}

.schools-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schools-hero-media figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(5, 7, 13, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
}

.schools-quick-verdict {
  margin: 0 0 24px;
  padding: 26px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.78));
  box-shadow: var(--schools-card-shadow);
}

.schools-quick-verdict__title {
  max-width: 820px;
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.schools-quick-verdict__tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  padding: 0 4px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0, 64, 255, 0.16);
  scrollbar-width: none;
}

.schools-quick-verdict__tabs::-webkit-scrollbar {
  display: none;
}

.schools-quick-verdict__tab {
  position: relative;
  min-height: 42px;
  padding: 9px 13px 11px;
  border: 0;
  background: transparent;
  color: var(--schools-muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}

.schools-quick-verdict__tab::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.schools-quick-verdict__tab:hover {
  color: var(--schools-text);
}

.schools-quick-verdict__tab.is-active {
  color: var(--schools-blue-deep);
}

.schools-quick-verdict__tab.is-active::after {
  background: var(--schools-blue-deep);
}

.schools-quick-verdict__tab:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(0, 64, 255, 0.24);
  outline-offset: -3px;
}

.schools-quick-verdict__panel {
  margin-top: 20px;
}

.schools-quick-verdict__panel[hidden] {
  display: none;
}

.schools-quick-verdict:not([data-schools-tabs-ready="true"]) .schools-quick-verdict__panel + .schools-quick-verdict__panel {
  padding-top: 24px;
  border-top: 1px solid var(--schools-line);
}

.schools-quick-verdict__panel:focus-visible {
  outline: 3px solid rgba(0, 64, 255, 0.2);
  outline-offset: 5px;
}

.schools-quick-verdict__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.schools-quick-verdict__card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(201, 214, 229, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.schools-quick-verdict__card h3 {
  margin: 0 0 12px;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.schools-quick-verdict__card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-quick-verdict__card li {
  position: relative;
  padding-left: 18px;
  color: rgba(5, 7, 13, 0.78);
  font-size: 0.94rem;
  line-height: 1.52;
}

.schools-quick-verdict__card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--schools-blue-deep);
  content: "";
}

.schools-quick-verdict__card:nth-child(2) li::before {
  background: var(--schools-orange-deep);
}

.schools-quick-verdict__card:nth-child(3) li::before {
  background: var(--schools-green);
}

.schools-quick-verdict__card p {
  margin: 0;
  color: rgba(5, 7, 13, 0.76);
  font-size: 0.96rem;
  line-height: 1.62;
}

.schools-quick-verdict__comparison-head {
  display: grid;
  gap: 7px;
  max-width: 760px;
}

.schools-quick-verdict__comparison-head h3,
.schools-quick-verdict__comparison-head p {
  margin: 0;
}

.schools-quick-verdict__comparison-head h3 {
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.schools-quick-verdict__comparison-head > p:last-child {
  color: rgba(5, 7, 13, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.schools-quick-verdict__comparison .schools-table-wrap {
  margin-top: 16px;
}

.schools-hero-score {
  display: grid;
  gap: 8px;
}

.schools-hero-score__value {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.schools-score-number {
  font-variant-numeric: tabular-nums;
}

.schools-score-denominator {
  color: rgba(0, 64, 255, 0.58);
  font-size: 0.42em;
  font-weight: 700;
}

.schools-hero-score__label {
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.schools-hero-score__meta {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.schools-contact-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
}

.schools-contact-list__item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.schools-contact-list dt {
  color: var(--schools-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.schools-contact-list dd {
  min-width: 0;
  margin: 0;
  color: var(--schools-text);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.schools-contact-list a {
  display: inline-flex;
  gap: 6px;
  align-items: flex-start;
  color: var(--schools-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.schools-contact-list a:hover,
.schools-contact-list a:focus-visible {
  color: var(--schools-orange-deep);
  text-decoration: underline;
}

.schools-contact-link__content {
  display: grid;
  gap: 0;
  min-width: 0;
}

.schools-external-link-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  opacity: 0.72;
}

.schools-school-dashboard {
  display: grid;
  gap: 22px;
}

.schools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.schools-score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.schools-score-card,
.schools-panel,
.schools-loading-card {
  min-width: 0;
  border: 1px solid rgba(0, 64, 255, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--schools-card-shadow);
}

.schools-score-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.schools-score-card__header {
  display: grid;
  gap: 8px;
}

.schools-score-card__eyebrow {
  margin: 0;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schools-score-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.schools-score-card__label,
.schools-section__title,
.schools-table-title {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.schools-score-card__label {
  font-size: 1rem;
}

.schools-score-card__value {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.schools-score-card__level {
  justify-self: start;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 173, 51, 0.2);
  color: #7d3f00;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.schools-score-card__copy,
.schools-score-card__meaning,
.schools-score-card__primary-rank,
.schools-score-card__criteria,
.schools-score-card__interpretation,
.schools-score-card__limit {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.schools-score-card__meaning {
  color: rgba(5, 7, 13, 0.82);
  font-weight: 700;
}

.schools-score-card__primary-rank {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 16px;
  background: rgba(239, 248, 255, 0.74);
  color: #113d74;
  font-weight: 700;
}

.schools-score-rank__context {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
  color: #113d74;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.schools-score-rank__context small {
  color: var(--schools-muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.schools-score-rank__figures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
}

.schools-score-rank__position {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.schools-score-rank__denominator,
.schools-score-rank__top {
  padding: 4px 7px;
  border-radius: 999px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.schools-score-rank__denominator {
  background: rgba(255, 173, 51, 0.2);
  color: #7d3f00;
}

.schools-score-rank__top {
  background: rgba(0, 64, 255, 0.08);
  color: var(--schools-blue-deep);
}

.schools-score-rank__unavailable {
  color: var(--schools-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.schools-score-comparison__name,
.schools-score-comparison__figures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.schools-score-comparison__name {
  margin-bottom: 5px;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
}

.schools-score-comparison__value {
  display: inline-flex;
  gap: 3px;
  align-items: baseline;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.schools-score-comparison__delta {
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.schools-score-comparison__delta.is-positive {
  color: #087443;
}

.schools-score-comparison__delta.is-negative {
  color: #a33720;
}

.schools-score-card__criteria {
  color: #33415f;
}

.schools-score-card__criteria strong {
  color: var(--schools-text);
}

.schools-score-card__interpretation {
  color: var(--schools-text);
}

.schools-score-card__details {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 64, 255, 0.1);
}

.schools-score-card__details summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--schools-blue-deep);
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
}

.schools-score-card__details summary::-webkit-details-marker,
.schools-data-disclosure > summary::-webkit-details-marker {
  display: none;
}

.schools-score-card__details summary:hover,
.schools-score-card__details summary:focus-visible {
  color: var(--schools-orange-deep);
}

.schools-score-card__details[open] summary {
  margin-bottom: 10px;
}

.schools-disclosure-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.schools-score-card__details[open] > summary .schools-disclosure-chevron,
.schools-data-disclosure[open] > summary .schools-disclosure-chevron {
  transform: rotate(180deg);
}

.schools-score-card__details .schools-score-card__criteria,
.schools-score-card__details .schools-score-card__limit {
  margin-top: 10px;
}

.schools-score-card__details .schools-rank-list {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 10px;
}

.schools-score-card__limit {
  padding-top: 10px;
  border-top: 1px solid rgba(0, 64, 255, 0.1);
  font-size: 0.8rem;
}

.schools-progress-profile {
  display: grid;
  gap: 16px;
}

.schools-progress-profile__summary {
  margin: 0;
  color: var(--schools-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.schools-progress-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.schools-progress-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(0, 64, 255, 0.09);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.88);
}

.schools-progress-card--reliable-strength {
  border-color: rgba(11, 132, 84, 0.18);
  background: rgba(237, 250, 244, 0.9);
}

.schools-progress-card--reliable-watchpoint {
  border-color: rgba(190, 92, 0, 0.22);
  background: rgba(255, 246, 235, 0.92);
}

.schools-progress-card--expected-range {
  background: rgba(246, 248, 252, 0.9);
}

.schools-progress-card__status {
  justify-self: start;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 64, 255, 0.1);
  color: #113d74;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.schools-progress-card h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.schools-progress-card p {
  margin: 0;
  color: rgba(5, 7, 13, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.schools-progress-card__evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 0;
}

.schools-progress-card__evidence div {
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.schools-progress-card__evidence dt {
  margin: 0 0 3px;
  color: var(--schools-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.schools-progress-card__evidence dd {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
}

.schools-progress-profile__secondary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.schools-progress-profile__secondary h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.95rem;
}

.schools-progress-profile__secondary ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--schools-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.schools-progress-profile__caution {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.schools-rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-rank-chip {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 14px;
  background: rgba(239, 248, 255, 0.74);
  color: #113d74;
}

.schools-rank-chip .schools-score-rank__position {
  font-size: 1.08rem;
}

.schools-panel {
  padding: 24px;
}

.schools-panel--warm {
  background:
    linear-gradient(150deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.9));
}

.schools-panel--split {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.schools-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.schools-section__title {
  font-size: 1.45rem;
}

.schools-section__copy {
  margin: 8px 0 0;
  color: var(--schools-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.schools-section__evidence {
  margin: 8px 0 0;
  color: #33415f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.schools-section__insight {
  margin: 14px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 14px;
  background: rgba(247, 251, 255, 0.82);
  color: rgba(5, 7, 13, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.schools-section__note {
  margin: 14px 0 0;
  color: rgba(5, 7, 13, 0.72);
  font-size: 0.9rem;
  line-height: 1.58;
}

.schools-practical {
  overflow: hidden;
  border-color: rgba(255, 92, 0, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.72), rgba(255, 255, 255, 0.94) 42%, rgba(239, 248, 255, 0.72));
}

.schools-practical__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 64, 255, 0.1);
}

.schools-practical__group {
  min-width: 0;
  padding: 20px 22px 0 0;
}

.schools-practical__group + .schools-practical__group {
  padding-left: 22px;
  border-left: 1px solid rgba(0, 64, 255, 0.1);
}

.schools-practical__group:last-child {
  padding-right: 0;
}

.schools-practical__group > h3 {
  margin: 0 0 14px;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.schools-practical__subgroup,
.schools-practical__offer-group {
  margin-top: 16px;
}

.schools-practical__subgroup h4,
.schools-practical__offer-group h4 {
  margin: 0 0 8px;
  color: #24324d;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.schools-practical__chips,
.schools-practical__services,
.schools-practical__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-practical__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.schools-practical__chips li {
  padding: 6px 9px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  border-radius: 999px;
  background: rgba(239, 248, 255, 0.86);
  color: #113d74;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.schools-practical__services {
  display: grid;
  gap: 8px;
}

.schools-practical__services li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 64, 255, 0.08);
  color: #33415f;
  font-size: 0.86rem;
}

.schools-practical__services strong {
  color: var(--schools-text);
}

.schools-practical__services span {
  color: #2f6e25;
  font-weight: 700;
}

.schools-practical__services .is-negative {
  color: #6b7280;
}

.schools-practical__list {
  display: grid;
  gap: 7px;
}

.schools-practical__list li {
  position: relative;
  padding-left: 13px;
  color: #33415f;
  font-size: 0.84rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.schools-practical__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--schools-orange);
}

.schools-practical__list a,
.schools-practical__more a {
  color: var(--schools-blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.schools-practical__details {
  margin-top: 14px;
}

.schools-practical__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  cursor: pointer;
  color: #24324d;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  list-style: none;
}

.schools-practical__details > summary::-webkit-details-marker {
  display: none;
}

.schools-practical__details > summary span {
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 64, 255, 0.08);
  color: var(--schools-blue-deep);
  text-align: center;
}

.schools-practical__details[open] > summary {
  margin-bottom: 9px;
}

.schools-practical__more {
  margin: 16px 0 0;
  color: var(--schools-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.schools-quick-reading {
  background:
    linear-gradient(145deg, rgba(239, 248, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.schools-callout-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.schools-callout-list li {
  position: relative;
  padding-left: 22px;
  color: var(--schools-text);
  font-size: 0.96rem;
  line-height: 1.55;
}

.schools-callout-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--schools-orange);
}

.schools-workbench-sticky {
  position: sticky;
  top: 0;
  z-index: 8;
  container-name: schools-workbench-state;
  container-type: scroll-state;
}

.schools-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(15, 58, 96, 0.12);
  backdrop-filter: blur(18px) saturate(1.08);
  transition: border-radius 150ms ease;
}

.schools-workbench__navigation {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding-right: 14px;
  border-right: 1px solid rgba(0, 64, 255, 0.1);
}

.schools-workbench__compare {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.schools-workbench__icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.schools-workbench__icon img {
  display: block;
  width: 18px;
  height: 18px;
  opacity: 0.72;
}

.schools-workbench__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.schools-segment {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 13px;
  background: rgba(239, 248, 255, 0.82);
}

.schools-segment__button,
.schools-select,
.schools-search-input,
.schools-action {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.schools-segment__button {
  min-height: 34px;
  padding: 0 12px;
  background: transparent;
  color: #21405d;
  cursor: pointer;
}

.schools-segment__button.is-active {
  background: linear-gradient(135deg, var(--schools-blue-deep), #1760ff);
  color: #fff;
  box-shadow: 0 7px 16px rgba(0, 64, 255, 0.2);
}

.schools-select {
  max-width: 100%;
  padding: 0 36px 0 14px;
  background: #fff;
  color: var(--schools-text);
  border-color: var(--schools-line);
}

.schools-search-input {
  min-width: min(260px, 100%);
  padding: 0 14px;
  background: #fff;
  color: var(--schools-text);
  border-color: var(--schools-line);
}

.schools-search-input::placeholder {
  color: rgba(5, 7, 13, 0.46);
  font-weight: 600;
}

.schools-search-input:focus {
  border-color: rgba(0, 64, 255, 0.48);
  outline: 3px solid rgba(0, 64, 255, 0.12);
  outline-offset: 1px;
}

.schools-peer-picker {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.schools-peer-search {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.schools-peer-search .schools-search-input {
  width: 100%;
}

.schools-peer-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  min-width: 0;
}

.schools-peer-results__title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.schools-peer-result {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--schools-line);
  border-radius: 12px;
  background: #fff;
  color: var(--schools-text);
  cursor: pointer;
  text-align: left;
}

.schools-peer-result:hover,
.schools-peer-result:focus-visible {
  border-color: rgba(0, 64, 255, 0.28);
  outline: none;
  box-shadow: 0 8px 24px rgba(15, 58, 96, 0.08);
}

.schools-peer-result.is-selected {
  border-color: var(--schools-blue-deep);
  background: var(--schools-surface-blue);
}

.schools-peer-result__identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.schools-peer-result__identity strong,
.schools-peer-result__identity small {
  overflow-wrap: anywhere;
}

.schools-peer-result__identity strong {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.25;
}

.schools-peer-result__identity small {
  color: var(--schools-muted);
  font-size: 0.74rem;
}

.schools-distance {
  overflow-wrap: normal;
  white-space: nowrap;
}

.schools-peer-result__score {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  align-items: baseline;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.schools-action {
  padding: 0 16px;
  background: var(--schools-orange);
  color: #1f1200;
  cursor: pointer;
}

.schools-compare-note {
  margin: 0;
  padding: 0;
  color: rgba(5, 7, 13, 0.74);
  font-size: 0.86rem;
  line-height: 1.6;
}

.schools-compare-note::before {
  display: none;
}

.schools-compare-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: start;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 64, 255, 0.12);
  border-left: 4px solid var(--schools-blue-deep);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 58, 96, 0.07);
}

.schools-compare-summary__head {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 2px 28px 2px 0;
  border-right: 1px solid rgba(0, 64, 255, 0.1);
}

.schools-compare-summary__head span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.schools-compare-summary__head span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--schools-blue-deep);
  box-shadow: 0 0 0 4px rgba(0, 64, 255, 0.09);
  content: "";
}

.schools-compare-summary__head strong {
  overflow-wrap: anywhere;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.schools-compare-summary__insight {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.schools-compare-summary__insight > span {
  color: var(--schools-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.schools-compare-summary__insight .schools-compare-note {
  font-size: 0.9rem;
  line-height: 1.55;
}

.schools-compare-summary > .schools-compare-note {
  grid-column: 1 / -1;
}

.schools-compare-summary .schools-peer-picker {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--schools-line);
}

.schools-nearby-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.schools-nearby-score {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(0, 64, 255, 0.09);
  border-radius: 16px;
  background: rgba(239, 248, 255, 0.72);
  color: var(--schools-text);
  text-decoration: none;
}

.schools-nearby-score strong,
.schools-nearby-score small {
  display: block;
  min-width: 0;
}

.schools-nearby-score strong {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.2;
}

.schools-nearby-score small {
  margin-top: 3px;
  color: var(--schools-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.schools-nearby-score em {
  flex: 0 0 auto;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
}

.schools-nearby-score:hover,
.schools-nearby-score:focus-visible {
  border-color: rgba(0, 64, 255, 0.22);
  background: #fff;
  outline: none;
}

.schools-nearby-empty {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.schools-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.schools-compare-actions:empty {
  display: none;
}

.schools-compare-actions__link {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schools-compare-actions__link:hover,
.schools-compare-actions__link:focus-visible {
  color: #002eb8;
  outline: none;
}

.schools-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.schools-graph-frame {
  min-width: 0;
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--schools-line);
  border-radius: 20px;
  background: #fff;
}

.schools-graph-frame .schools-svg {
  width: max(100%, 620px);
  max-width: none;
}

@media (max-width: 640px) {
  .schools-graph-frame[data-schools-radar-graph] .schools-svg {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

.schools-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: 14px 0 0;
  color: var(--schools-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.schools-chart-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 251, 255, 0.84);
  overflow-wrap: anywhere;
}

.schools-legend-line {
  display: inline-block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
}

.schools-legend-line--school {
  background: var(--schools-blue-deep);
}

.schools-legend-line--benchmark {
  background: var(--schools-orange);
}

.schools-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.schools-svg text {
  font-family: "Open Sans", Arial, sans-serif;
}

.schools-svg-label {
  fill: #2c4054;
  font-size: 12px;
  font-weight: 700;
}

.schools-svg-small {
  fill: #607082;
  font-size: 11px;
}

.schools-svg-axis {
  stroke: #d8e3ee;
  stroke-width: 1;
}

.schools-svg-primary {
  fill: rgba(0, 64, 255, 0.16);
  stroke: #0040ff;
  stroke-width: 2.5;
}

.schools-svg-secondary {
  fill: rgba(255, 173, 51, 0.12);
  stroke: #ff8a00;
  stroke-width: 2;
}

.schools-svg-point {
  cursor: help;
  outline: none;
}

.schools-svg-point circle {
  stroke: #fff;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 150ms ease, filter 150ms ease;
}

.schools-svg-point--school circle {
  fill: var(--schools-blue-deep);
}

.schools-svg-point--benchmark circle {
  fill: var(--schools-orange-deep);
}

.schools-svg-point:hover circle,
.schools-svg-point:focus-visible circle {
  transform: scale(1.55);
  filter: drop-shadow(0 4px 5px rgba(15, 58, 96, 0.24));
}

.schools-chart-tooltip {
  position: fixed;
  z-index: 30;
  display: grid;
  gap: 3px;
  width: max-content;
  max-width: min(260px, calc(100vw - 16px));
  padding: 9px 11px;
  border: 1px solid rgba(0, 64, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 36px rgba(15, 58, 96, 0.18);
  color: var(--schools-text);
  pointer-events: none;
}

.schools-chart-tooltip[hidden] {
  display: none;
}

.schools-chart-tooltip strong {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.76rem;
  line-height: 1.25;
}

.schools-chart-tooltip span {
  color: var(--schools-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.schools-svg-line-primary {
  fill: none;
  stroke: #0040ff;
  stroke-width: 3;
}

.schools-svg-line-secondary {
  fill: none;
  stroke: #ff8a00;
  stroke-width: 2.4;
  stroke-dasharray: 7 6;
}

.schools-svg-line-mention {
  fill: none;
  stroke: rgba(15, 23, 42, 0.48);
  stroke-width: 1.8;
  stroke-dasharray: 3 6;
}

.schools-svg-mean {
  stroke: rgba(0, 64, 255, 0.78);
  stroke-width: 1.8;
  stroke-dasharray: 2 4;
}

.schools-svg-mean-secondary {
  stroke: rgba(255, 138, 0, 0.72);
  stroke-width: 1.6;
  stroke-dasharray: 2 5;
}

.schools-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
}

.schools-stat {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: var(--schools-surface-soft);
}

.schools-stat__label {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.schools-stat__value {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.schools-stat__benchmark {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: baseline;
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.schools-stat__benchmark strong {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
}

.schools-context-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 18px 0 14px;
  color: rgba(5, 7, 13, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.schools-context-legend span,
.schools-context-axis__value span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.schools-context-legend__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.88);
}

.schools-context-legend__dot--school {
  background: var(--schools-blue-deep);
}

.schools-context-legend__dot--benchmark {
  background: var(--schools-orange-deep);
}

.schools-context-summary {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.schools-context-summary {
  margin-top: 16px;
  border-color: rgba(255, 173, 51, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(255, 255, 255, 0.92));
}

.schools-context-summary h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.schools-context-summary p {
  max-width: 82ch;
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.schools-context-groups {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.schools-context-group {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(201, 214, 229, 0.82);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(247, 251, 255, 0.88), rgba(255, 255, 255, 0.94));
}

.schools-context-group__head h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.schools-context-group__head p {
  max-width: 74ch;
  margin: 6px 0 0;
  color: var(--schools-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.schools-context-axis-list {
  display: grid;
  gap: 12px;
}

.schools-context-axis {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 58, 96, 0.06);
}

.schools-context-axis__copy {
  min-width: 0;
}

.schools-context-axis__copy h4 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.schools-context-axis__copy p {
  margin: 5px 0 0;
  color: var(--schools-muted);
  font-size: 0.8rem;
  line-height: 1.42;
}

.schools-context-axis__scale {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.schools-context-axis__labels {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(5, 7, 13, 0.68);
  font-size: 0.76rem;
}

.schools-context-axis__labels span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.schools-context-axis__labels span:last-child {
  text-align: right;
}

.schools-context-axis__labels strong {
  color: rgba(5, 7, 13, 0.78);
  font-weight: 700;
}

.schools-context-axis__labels small {
  color: #4b5563;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.schools-context-axis__track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 64, 255, 0.08), rgba(255, 173, 51, 0.18));
  box-shadow: inset 0 0 0 1px rgba(201, 214, 229, 0.86);
}

.schools-context-axis__marker {
  position: absolute;
  top: 50%;
  left: var(--schools-context-axis-position, 0%);
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(15, 58, 96, 0.18);
  cursor: help;
  outline: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.schools-context-axis__marker:hover,
.schools-context-axis__marker:focus-visible {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 10px 24px rgba(15, 58, 96, 0.24);
}

.schools-context-axis__marker--school {
  z-index: 2;
  background: var(--schools-blue-deep);
}

.schools-context-axis__marker--benchmark {
  background: var(--schools-orange-deep);
}

.schools-context-axis__value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  color: rgba(5, 7, 13, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.schools-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--schools-line);
  border-radius: 18px;
  background: #fff;
}

.schools-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.schools-table th,
.schools-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--schools-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.88rem;
  line-height: 1.42;
}

.schools-table th {
  color: #23415d;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.schools-table tr:last-child td {
  border-bottom: 0;
}

.schools-table caption {
  padding: 12px 14px 0;
  color: var(--schools-muted);
  text-align: left;
  font-size: 0.82rem;
}

.schools-chart-values {
  margin-top: 14px;
}

.schools-chart-values > summary {
  width: fit-content;
  color: var(--schools-blue-deep);
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 750;
}

.schools-chart-values[open] > summary {
  margin-bottom: 10px;
}

.schools-radar-values-table {
  min-width: 760px;
}

.schools-radar-values-table td {
  font-variant-numeric: tabular-nums;
}

.schools-comparison-table {
  min-width: 790px;
}

.schools-comparison-table thead th:not(:first-child) {
  min-width: 142px;
  white-space: normal;
}

.schools-comparison-table th:first-child {
  width: 24%;
  white-space: normal;
}

.schools-comparison-table__school {
  background: rgba(0, 64, 255, 0.055);
}

.schools-comparison-table thead .schools-comparison-table__school {
  color: var(--schools-blue-deep);
}

.schools-comparison-cell__value,
.schools-comparison-cell__delta {
  display: block;
  font-variant-numeric: tabular-nums;
}

.schools-comparison-cell__value {
  color: var(--schools-text);
  font-weight: 700;
}

.schools-comparison-cell__delta {
  margin-top: 3px;
  color: var(--schools-muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.schools-evolution-table {
  min-width: 560px;
  table-layout: fixed;
}

#evolution > .schools-table-wrap {
  margin-top: 18px;
}

.schools-evolution-table caption {
  padding: 14px 14px 10px;
  line-height: 1.4;
}

.schools-evolution-table th:first-child {
  width: 96px;
}

.schools-evolution-table thead th:not(:first-child) {
  white-space: normal;
}

.schools-evolution-table .schools-evolution-table__school {
  border-right: 1px solid rgba(0, 64, 255, 0.14);
  border-left: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.065);
  color: var(--schools-blue-deep);
}

.schools-evolution-table thead .schools-evolution-table__school {
  box-shadow: inset 0 3px 0 var(--schools-blue-deep);
}

.schools-evolution-table tbody .schools-evolution-table__school {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  #evolution > .schools-table-wrap {
    margin-top: 16px;
  }

  .schools-evolution-table caption {
    padding: 12px 10px 8px;
  }

  .schools-evolution-table {
    min-width: 100%;
  }

  .schools-evolution-table th,
  .schools-evolution-table td {
    padding: 11px 8px;
    font-size: 0.76rem;
  }

  .schools-evolution-table th:first-child {
    width: 62px;
  }

  .schools-evolution-table thead th {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

.schools-info-grid,
.schools-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.schools-info-grid article,
.schools-link-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.schools-info-grid h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.98rem;
}

.schools-info-grid p {
  margin: 8px 0 0;
  color: var(--schools-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.schools-link-card {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.schools-link-card span {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.schools-link-card small {
  color: var(--schools-muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

.schools-link-card:hover,
.schools-link-card:focus-visible {
  border-color: rgba(0, 64, 255, 0.22);
  box-shadow: 0 14px 34px rgba(0, 64, 255, 0.09);
  transform: translateY(-1px);
}

.schools-related-links__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.schools-related-links__list li {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.schools-related-links__list a {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none;
}

.schools-related-links__list a:hover,
.schools-related-links__list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schools-related-links__list span {
  color: var(--schools-muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

.schools-explore__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.schools-explore__group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(0, 64, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.schools-explore__group h3 {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.schools-explore__group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schools-explore__group a {
  color: var(--schools-blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.schools-explore__group a:hover,
.schools-explore__group a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schools-explore__group--relationship {
  border-color: rgba(255, 173, 51, 0.28);
  background: rgba(255, 247, 237, 0.68);
}

.schools-related-schools {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.schools-related-schools h3,
.schools-related-links__subtitle {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.schools-related-links__subtitle {
  margin-top: 22px;
}

.schools-related-schools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.schools-related-school-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(0, 64, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(239, 248, 255, 0.78), rgba(255, 255, 255, 0.9));
}

.schools-related-school-card a {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.schools-related-school-card a:hover,
.schools-related-school-card a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schools-related-school-card p,
.schools-related-school-card span {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.schools-related-school-card p {
  color: #33415f;
  font-weight: 700;
}

.schools-data-sources {
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.schools-data-sources h3 {
  margin: 0 0 12px;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.schools-data-sources ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.schools-data-sources li {
  color: rgba(5, 7, 13, 0.76);
  font-size: 0.9rem;
  line-height: 1.5;
}

.schools-data-sources strong {
  color: var(--schools-text);
}

.schools-raw-groups {
  display: grid;
  gap: 18px;
}

.schools-raw-group {
  display: grid;
  gap: 10px;
}

.schools-raw-group__title {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.schools-raw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 12px;
}

.schools-raw-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(0, 64, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.schools-raw-card__label {
  margin: 0;
  color: var(--schools-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.schools-raw-card__value {
  margin: 8px 0 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.schools-address-line {
  display: block;
  margin: 0;
  line-height: 1.28;
}

.schools-inline-metric {
  color: var(--schools-blue-deep);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  font-style: normal;
  white-space: nowrap;
}

.schools-data-disclosure {
  overflow: clip;
  border: 1px solid rgba(0, 64, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.schools-data-disclosure > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--schools-text);
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  list-style: none;
}

.schools-data-disclosure > summary:hover,
.schools-data-disclosure > summary:focus-visible {
  background: rgba(239, 248, 255, 0.7);
  outline: none;
}

.schools-disclosure-summary__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.schools-data-disclosure > summary small {
  color: var(--schools-muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.schools-data-disclosure__content {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(0, 64, 255, 0.08);
}

.schools-layout > [id] {
  scroll-margin-top: 178px;
}

.schools-hero-link {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 64, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
  color: var(--schools-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.schools-hero-link span {
  display: block;
  color: var(--schools-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.schools-hero-link a {
  color: var(--schools-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.schools-raw-card__description {
  margin: 8px 0 0;
  color: rgba(5, 7, 13, 0.72);
  font-size: 0.75rem;
  line-height: 1.4;
}

.schools-raw-card__meta {
  margin: 6px 0 0;
  color: var(--schools-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.schools-empty {
  margin: 0;
  color: var(--schools-muted);
  line-height: 1.6;
}

.schools-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.schools-flag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 173, 51, 0.16);
  color: #7a3b00;
  font-size: 0.77rem;
  font-weight: 700;
}

.schools-skeleton,
.schools-loading-card {
  position: relative;
  overflow: hidden;
}

.schools-skeleton {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 64, 255, 0.08), rgba(255, 255, 255, 0.7), rgba(0, 64, 255, 0.08));
  background-size: 220% 100%;
  animation: schoolsSkeleton 1.4s ease-in-out infinite;
}

.is-comparison-loading {
  position: relative !important;
  overflow: hidden;
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}

.is-comparison-loading > :not(.schools-comparison-loading-mask) {
  visibility: hidden !important;
}

.is-comparison-loading[data-schools-loading-variant="line"] {
  min-height: 18px;
}

.schools-comparison-loading-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
  padding: 4px;
  border-radius: inherit;
  background: #fff;
}

.schools-comparison-loading-bar {
  display: block;
  width: 100%;
  height: 13px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(0, 64, 255, 0.07), rgba(0, 191, 255, 0.15), rgba(255, 173, 51, 0.11), rgba(0, 64, 255, 0.07));
  background-size: 240% 100%;
  animation: schoolsSkeleton 1.25s ease-in-out infinite;
}

.schools-comparison-loading-label {
  grid-column: 1 / -1;
  color: var(--schools-blue-deep) !important;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.schools-comparison-loading-mask--line {
  padding: 1px 0;
}

.schools-comparison-loading-mask--line .schools-comparison-loading-bar {
  width: min(68%, 480px);
}

.schools-comparison-loading-mask--legend {
  grid-template-columns: minmax(120px, 0.24fr) minmax(140px, 0.28fr);
  align-content: center;
  padding: 2px 0;
}

.schools-comparison-loading-mask--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 0;
}

.schools-comparison-loading-mask--grid .schools-comparison-loading-bar {
  height: 58px;
  border-radius: 10px;
}

.schools-comparison-loading-mask--graph {
  grid-template-rows: auto minmax(150px, 1fr) auto;
  align-content: stretch;
  padding: 22px;
}

.schools-comparison-loading-mask--graph .schools-comparison-loading-bar:first-child {
  width: 32%;
}

.schools-comparison-loading-mask--graph .schools-comparison-loading-bar:nth-child(2) {
  height: 100%;
  min-height: 150px;
  border-radius: 12px;
}

.schools-comparison-loading-mask--graph .schools-comparison-loading-bar:last-child {
  width: 46%;
}

.schools-comparison-loading-mask--table {
  align-content: start;
  padding: 54px 24px 24px;
}

.schools-comparison-loading-mask--table .schools-comparison-loading-bar {
  height: 42px;
  border-radius: 8px;
}

.schools-comparison-loading-mask--summary {
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  align-content: center;
  padding: 18px 22px;
  background: #fff;
}

.schools-comparison-loading-mask--summary .schools-comparison-loading-bar:nth-child(2),
.schools-comparison-loading-mask--summary .schools-comparison-loading-bar:nth-child(5) {
  width: 72%;
}

.schools-comparison-loading-mask--summary .schools-comparison-loading-bar:nth-child(3) {
  width: 92%;
}

.schools-comparison-loading-mask--summary .schools-comparison-loading-bar:nth-child(4) {
  width: 64%;
}

.schools-comparison-loading-mask--summary-picker {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  padding: 18px 22px;
}

.schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(2) {
  width: 72%;
}

.schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(3) {
  grid-column: 2 / -1;
  width: 78%;
}

.schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(4) {
  grid-column: 1 / -1;
  height: 38px;
  margin-top: 8px;
}

.schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(n + 5) {
  height: 62px;
  border-radius: 10px;
}

.schools-skeleton--score {
  width: 58%;
  height: 72px;
  border-radius: 20px;
}

.schools-skeleton--line {
  width: 92%;
}

.schools-skeleton--short {
  width: 62%;
}

.schools-loading-card {
  padding: 30px;
}

.schools-loading-card__title {
  margin: 0;
  color: var(--schools-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.18;
}

@keyframes schoolsSkeleton {
  from {
    background-position: 160% 0;
  }

  to {
    background-position: -60% 0;
  }
}

@media (max-width: 980px) {
  .schools-school-hero,
  .schools-practical__grid,
  .schools-quick-verdict__grid,
  .schools-progress-profile__grid,
  .schools-panel--split,
  .schools-context-axis,
  .schools-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-practical__group,
  .schools-practical__group + .schools-practical__group,
  .schools-practical__group:last-child {
    padding: 18px 0;
    border-left: 0;
  }

  .schools-practical__group + .schools-practical__group {
    border-top: 1px solid rgba(0, 64, 255, 0.1);
  }

  .schools-score-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schools-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .schools-workbench__navigation {
    padding: 0 0 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 64, 255, 0.08);
  }
}

@media (max-width: 640px) {
  .schools-public-shell {
    width: min(calc(100% - 24px), var(--schools-max-width));
    padding-top: 12px;
  }

  .schools-school-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .schools-school-hero__copy {
    display: contents;
  }

  .schools-school-hero__identity {
    order: 1;
  }

  .schools-school-hero__summary {
    order: 2;
    min-height: 0;
  }

  .schools-school-hero__brief {
    order: 3;
    margin-top: 0;
  }

  .schools-school-hero__keyfacts {
    order: 4;
    margin-top: 0;
  }

  .schools-rank-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-school-hero__title {
    gap: 8px;
  }

  .schools-school-hero__title-main {
    font-size: 2.25rem;
  }

  .schools-school-hero__title-subtitle {
    font-size: 1.14rem;
  }

  .schools-quick-verdict,
  .schools-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .schools-practical__group {
    padding-block: 16px;
  }

  .schools-practical__details > summary {
    min-height: 44px;
  }

  .schools-hero-score-panel {
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .schools-hero-score-panel--loading {
    min-height: 210px;
  }

  .schools-hero-contact-frame {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .schools-comparison-table {
    min-width: 805px;
  }

  .schools-comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 165px;
    min-width: 165px;
    max-width: 165px;
    background: #fff;
    box-shadow: 1px 0 0 var(--schools-line);
  }

  .schools-comparison-table thead th:first-child {
    z-index: 2;
  }

  .schools-comparison-table thead th:not(:first-child) {
    min-width: 160px;
  }

  .schools-hero-media {
    margin: -18px -18px 4px;
    border-radius: 20px 20px 14px 14px;
  }

  .schools-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .schools-workbench__navigation {
    gap: 4px;
    padding: 0 0 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 64, 255, 0.08);
  }

  .schools-workbench__icon {
    width: 18px;
    height: 18px;
  }

  .schools-workbench__icon img {
    width: 16px;
    height: 16px;
  }

  .schools-school-toc {
    gap: 3px;
  }

  .schools-school-toc a {
    padding: 6px;
    font-size: 0.72rem;
  }

  .schools-school-toc a.schools-school-toc__top {
    width: 28px;
    height: 28px;
  }

  .schools-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-progress-card__evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-section__head {
    display: grid;
  }

  .schools-segment {
    flex-wrap: nowrap;
    width: 100%;
    padding: 4px;
    overflow-x: auto;
    border-radius: 12px;
    scrollbar-width: none;
  }

  .schools-segment::-webkit-scrollbar {
    display: none;
  }

  .schools-data-disclosure > summary {
    display: flex;
  }

  .schools-workbench__compare {
    display: flex;
    gap: 7px;
    align-items: center;
  }

  .schools-compare-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-left-width: 3px;
  }

  .schools-compare-summary__head {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 64, 255, 0.1);
  }

  .schools-comparison-loading-mask--summary,
  .schools-comparison-loading-mask--summary-picker,
  .schools-comparison-loading-mask--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(3),
  .schools-comparison-loading-mask--summary-picker .schools-comparison-loading-bar:nth-child(4) {
    grid-column: 1;
  }

  .schools-comparison-loading-mask--graph {
    padding: 18px;
  }

  .schools-layout > [id] {
    scroll-margin-top: 178px;
  }

  .schools-segment__button {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 11px;
  }

  .schools-workbench__row > *,
  .schools-select,
  .schools-search-input {
    min-width: 0;
    max-width: 100%;
  }

  .schools-peer-picker,
  .schools-peer-picker .schools-select,
  .schools-search-input {
    width: 100%;
  }
}

@container schools-workbench-state scroll-state(stuck: top) {
  .schools-workbench {
    border-radius: 0 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schools-skeleton,
  .schools-comparison-loading-bar {
    animation: none;
  }
}
