/* Compare schools, parent guides and the compare tray (agent C_compare_guides, 15 Oct 2026). Prefix sc- and gd-. */
body.ux.cec .cec-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- compare button and tray ---- */
body.ux.cec .sc-add { display: inline-flex; align-items: center; gap: 0.4rem; }
body.ux.cec .sc-add[aria-pressed="true"] { background: var(--c-deep); color: #fff !important; border-color: var(--c-deep); }
body.ux.cec .sc-mini { margin-left: 0.5rem; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--c-line-strong); background: #fff; color: var(--ux-ink); cursor: pointer; line-height: 1.4; vertical-align: middle; }
body.ux.cec .sc-mini:hover { border-color: var(--c-accent); }
body.ux.cec .sc-mini[aria-pressed="true"] { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
body.ux.cec .sc-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--c-deep); color: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,0.25); padding: 0.6rem 1rem; display: none; }
body.ux.cec .sc-tray.on { display: block; }
body.ux.cec .sc-tray-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 0.8rem 1rem; flex-wrap: wrap; }
body.ux.cec .sc-tray-t { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; }
body.ux.cec .sc-tray ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.4rem; flex-wrap: wrap; flex: 1 1 14rem; min-width: 0; }
body.ux.cec .sc-tray li { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,255,255,0.12); border-radius: 999px; padding: 0.15rem 0.2rem 0.15rem 0.65rem; font-size: 0.82rem; max-width: 100%; min-width: 0; }
body.ux.cec .sc-tray li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12rem; }
body.ux.cec .sc-tray li button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0.15rem 0.45rem; border-radius: 999px; }
body.ux.cec .sc-tray li button:hover { background: rgba(255,255,255,0.2); }
body.ux.cec .sc-tray .btn { padding: 0.45rem 1rem; font-size: 0.85rem; }
body.ux.cec .sc-tray .sc-clear { background: transparent; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font-size: 0.8rem; padding: 0.3rem; }
body.ux.cec .sc-tray a.btn.is-off { opacity: 0.55; pointer-events: none; }
body.ux.cec.sc-hastray { padding-bottom: 4.5rem; }

/* ---- compare page ---- */
body.ux.cec .sc-page .sc-notes { background: var(--c-pale); border-radius: 12px; padding: 0.7rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
body.ux.cec .sc-page .sc-notes p { margin: 0.2rem 0; }
body.ux.cec .sc-picker, body.ux.cec .sc-tablecard, body.ux.cec .sc-empty, body.ux.cec .sc-share, body.ux.cec .sc-src, body.ux.cec .sc-guides { margin-bottom: 1.2rem; }
body.ux.cec .sc-chips { list-style: none; margin: 0 0 0.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
body.ux.cec .sc-chips li { display: inline-flex; align-items: center; background: var(--c-pale); border: 1px solid var(--c-line); border-radius: 999px; padding: 0.15rem 0.2rem 0.15rem 0.8rem; font-weight: 700; font-size: 0.9rem; max-width: 100%; }
body.ux.cec .sc-chips li > a:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 17rem; color: var(--ux-ink); }
body.ux.cec .sc-x { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; color: var(--ux-ink); font-size: 1.2rem; margin-left: 0.2rem; text-decoration: none; }
body.ux.cec .sc-x:hover { background: #fff; color: var(--c-accent); }
body.ux.cec .sc-lab { display: block; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
body.ux.cec .sc-row { display: flex; gap: 0.5rem; align-items: stretch; position: relative; }
body.ux.cec .sc-row input[type=search] { flex: 1 1 auto; min-width: 0; padding: 0.7rem 0.9rem; font-size: 1rem; border: 1px solid var(--c-line-strong); border-radius: 10px; background: #fff; }
body.ux.cec .sc-found h3 { font-size: 0.95rem; margin: 1rem 0 0.4rem; }
body.ux.cec .sc-list { list-style: none; margin: 0; padding: 0; }
body.ux.cec .sc-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.55rem 0; border-top: 1px solid var(--c-line); }
body.ux.cec .sc-list li > div { min-width: 0; display: flex; flex-direction: column; }
body.ux.cec .sc-mylist { margin-top: 0.9rem; padding-top: 0.7rem; border-top: 1px solid var(--c-line); font-size: 0.9rem; }
body.ux.cec .sc-sug { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--c-line-strong); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,0.16); overflow: hidden; }
body.ux.cec .sc-sug button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 0.6rem 0.9rem; cursor: pointer; font: inherit; border-top: 1px solid var(--c-line); }
body.ux.cec .sc-sug button:first-child { border-top: 0; }
body.ux.cec .sc-sug button:hover, body.ux.cec .sc-sug button:focus { background: var(--c-pale); outline: none; }
body.ux.cec .sc-sug b { display: block; color: var(--ux-ink); }
body.ux.cec .sc-sug small { color: var(--ux-muted); }
body.ux.cec .sc-steps { margin: 0 0 1rem; padding-left: 1.2rem; }
body.ux.cec .sc-steps li { margin: 0.4rem 0; line-height: 1.5; }
body.ux.cec .sc-warn { background: var(--c-pale); border-left: 3px solid var(--c-accent); padding: 0.6rem 0.9rem; border-radius: 0 10px 10px 0; font-size: 0.9rem; margin: 0 0 0.8rem; }
body.ux.cec .sc-scrollhint { display: none; font-size: 0.74rem; color: var(--ux-muted); margin: 0 0 0.3rem; }
body.ux.cec .sc-tablewrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
body.ux.cec .sc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; font-variant-numeric: tabular-nums; table-layout: fixed; }
body.ux.cec .sc-table th, body.ux.cec .sc-table td { padding: 0.65rem 0.75rem; text-align: left; vertical-align: top; border-top: 1px solid var(--c-line); background: #fff; overflow-wrap: anywhere; }
body.ux.cec .sc-table th:first-child, body.ux.cec .sc-table td:first-child { position: sticky; left: 0; z-index: 1; width: 13rem; box-shadow: 1px 0 0 var(--c-line); font-weight: 700; color: var(--ux-ink); font-size: 0.86rem; }
body.ux.cec .sc-table thead th { border-top: 0; border-bottom: 2px solid var(--c-line-strong); vertical-align: bottom; z-index: 2; }
body.ux.cec .sc-table thead th:first-child { z-index: 3; }
body.ux.cec .sc-table .sc-h { min-width: 10.5rem; }
body.ux.cec .sc-hn { display: block; font-weight: 900; font-size: 0.98rem; line-height: 1.25; color: var(--ux-ink); }
body.ux.cec .sc-hm { display: block; font-size: 0.78rem; color: var(--ux-muted); margin-top: 0.15rem; font-weight: 400; }
body.ux.cec .sc-rm { display: inline-block; margin-top: 0.4rem; font-size: 0.75rem; font-weight: 400; color: var(--ux-muted); text-decoration: underline; }
body.ux.cec .sc-sec th { background: var(--c-pale) !important; font-size: 0.66rem !important; font-weight: 900 !important; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-accent) !important; border-top: 1px solid var(--c-line-strong); padding: 0.5rem 0.75rem; position: static !important; box-shadow: none !important; }
body.ux.cec .sc-v { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ux-ink); }
body.ux.cec .sc-sub { display: block; font-size: 0.74rem; color: var(--ux-muted); margin-top: 0.15rem; line-height: 1.3; }
body.ux.cec .sc-na { color: var(--ux-muted); }
body.ux.cec .sc-table tbody tr:not(.sc-sec):hover th, body.ux.cec .sc-table tbody tr:not(.sc-sec):hover td { background: #fafaf9; }
body.ux.cec .sc-legend { margin-top: 0.8rem; }
body.ux.cec .sc-sharerow { display: flex; gap: 0.5rem; }
body.ux.cec .sc-sharerow input { flex: 1 1 auto; min-width: 0; padding: 0.6rem 0.8rem; border: 1px solid var(--c-line-strong); border-radius: 10px; font-size: 0.9rem; background: #fff; }
body.ux.cec .sc-srcl dt { font-weight: 900; margin-top: 0.7rem; font-size: 0.9rem; }
body.ux.cec .sc-srcl dd { margin: 0.1rem 0 0; color: var(--ux-ink-2); font-size: 0.86rem; line-height: 1.45; }
body.ux.cec .sc-glist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
body.ux.cec .sc-glist li { padding: 0.55rem 0; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; }
body.ux.cec .sc-glist li:first-child { border-top: 0; }
body.ux.cec .sc-glist a { font-weight: 700; }
body.ux.cec .sc-gwrap { margin-top: 1.2rem; }
body.ux.cec .sc-cmprow { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 0; }

/* ---- guides ---- */
body.ux.cec .sc-crumbs { font-size: 0.82rem; color: var(--ux-muted); margin: 0.8rem 0 0; }
body.ux.cec .sc-crumbs a { color: var(--ux-muted); text-decoration: underline; }
body.ux.cec .sc-gindex { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; margin: 1rem 0 1.4rem; }
body.ux.cec .sc-gcard h2 { font-size: 1.12rem; margin: 0 0 0.4rem; }
body.ux.cec .sc-gcard h2 a { color: var(--ux-ink); text-decoration: none; }
body.ux.cec .sc-gcard h2 a:hover { color: var(--c-accent); }
body.ux.cec .sc-gcard p { margin: 0.3rem 0; line-height: 1.5; }
body.ux.cec .sc-split { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.5rem; align-items: start; margin-top: 1rem; }
body.ux.cec .sc-aside { position: sticky; top: 1rem; display: grid; gap: 1rem; }
body.ux.cec .sc-toc h2, body.ux.cec .sc-rel h2 { font-size: 0.95rem; margin: 0 0 0.5rem; }
body.ux.cec .sc-toc ol { margin: 0; padding-left: 1.2rem; }
body.ux.cec .sc-toc li { margin: 0.35rem 0; }
body.ux.cec .sc-rel ul { margin: 0 0 0.6rem; padding-left: 1.1rem; }
body.ux.cec .sc-meta { margin-bottom: 0.6rem; }
body.ux.cec .sc-applies { background: var(--c-pale); border-left: 3px solid var(--c-accent); border-radius: 0 10px 10px 0; padding: 0.7rem 1rem; margin-bottom: 1rem; font-size: 0.92rem; line-height: 1.5; }
body.ux.cec .sc-gsec { margin-bottom: 1rem; scroll-margin-top: 1rem; }
body.ux.cec .sc-prose p, body.ux.cec .sc-prose li { line-height: 1.62; }
body.ux.cec .sc-prose ul, body.ux.cec .sc-prose ol { padding-left: 1.3rem; }
body.ux.cec .sc-prose li { margin: 0.35rem 0; }
body.ux.cec .sc-prose .gd-src, body.ux.cec .sc-srclist + p { font-size: 0.8rem; color: var(--ux-muted); }
body.ux.cec .sc-prose .gd-checks { list-style: none; padding-left: 0; }
body.ux.cec .sc-prose .gd-checks li { padding-left: 1.5rem; position: relative; }
body.ux.cec .sc-prose .gd-checks li::before { content: ''; position: absolute; left: 0; top: 0.35rem; width: 0.9rem; height: 0.9rem; border: 2px solid var(--c-accent); border-radius: 3px; }
body.ux.cec .gd-tablewrap { overflow-x: auto; max-width: 100%; margin: 0.8rem 0; }
body.ux.cec .gd-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
body.ux.cec .gd-table th, body.ux.cec .gd-table td { padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; border-top: 1px solid var(--c-line); }
body.ux.cec .gd-table thead th { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-accent); border-top: 0; border-bottom: 1px solid var(--c-line-strong); }
body.ux.cec .gd-table tbody th { font-weight: 700; }
body.ux.cec .sc-srclist { padding-left: 1.2rem; }
body.ux.cec .sc-srclist li { margin: 0.4rem 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  body.ux.cec .sc-split { grid-template-columns: minmax(0, 1fr); }
  body.ux.cec .sc-aside { position: static; order: -1; }
}
@media (max-width: 620px) {
  body.ux.cec .sc-scrollhint { display: block; }
  body.ux.cec .sc-table th:first-child, body.ux.cec .sc-table td:first-child { width: 7.2rem; font-size: 0.78rem; padding: 0.55rem 0.5rem; }
  body.ux.cec .sc-table th, body.ux.cec .sc-table td { padding: 0.55rem 0.55rem; }
  body.ux.cec .sc-table .sc-h { min-width: 8.6rem; }
  body.ux.cec .sc-v { font-size: 0.98rem; }
  body.ux.cec .sc-row { flex-wrap: wrap; }
  body.ux.cec .sc-row .btn { flex: 1 1 100%; }
  body.ux.cec .sc-sharerow { flex-wrap: wrap; }
  body.ux.cec .sc-tray { padding: 0.5rem 0.8rem; }
  body.ux.cec .sc-tray li span { max-width: 8rem; }
  body.ux.cec.sc-hastray { padding-bottom: 7rem; }
}
@media print {
  body.ux.cec .sc-tray, body.ux.cec .sc-picker, body.ux.cec .sc-rm, body.ux.cec .sc-share, body.ux.cec .sc-guides, body.ux.cec .sc-scrollhint { display: none !important; }
}

/* wrapping fixes found at 390 (cec.css makes card-header notes and buttons nowrap) */
body.ux.cec .sc-page .cec-card-h { flex-wrap: wrap; }
body.ux.cec .sc-page .cec-card-h .muted { white-space: normal; }
body.ux.cec .sc-page .btn, body.ux.cec .sc-gwrap .btn { white-space: normal; max-width: 100%; text-align: center; }
body.ux.cec .sc-table { min-width: calc(13rem + 10.5rem * var(--n, 2)); }
@media (max-width: 620px) { body.ux.cec .sc-table { min-width: calc(7.2rem + 8.6rem * var(--n, 2)); } }
body.ux.cec .gd-table tbody th { font-size: 0.9rem; text-transform: none; letter-spacing: 0; color: var(--ux-ink); }
body.ux.cec .sc-page .wrap, body.ux.cec .sc-page .wrap > *, body.ux.cec .sc-tablecard { min-width: 0; max-width: 100%; } body.ux.cec .sc-tablewrap { width: 100%; contain: inline-size; }
body.ux.cec .sc-tablewrap { position: relative; }
