/* P_tabs (15 Oct 2026): governance checklist and gallery on school pages. Prefix spt-. */
body.ux.cec .spt-lead { margin: 0 0 0.9rem; font-size: 0.9rem; color: #3a3c40; max-width: 46rem; }
body.ux.cec .spt-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
body.ux.cec .spt-wrap:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
body.ux.cec .spt-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.88rem; }
body.ux.cec .spt-table thead th { text-align: left; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); padding: 0 0.75rem 0.55rem; white-space: nowrap; }
body.ux.cec .spt-table tbody th, body.ux.cec .spt-table tbody td { padding: 0.7rem 0.75rem; border-top: 1px solid var(--c-line); vertical-align: top; text-align: left; font-weight: 400; text-transform: none; letter-spacing: normal; font-size: 0.88rem; }
body.ux.cec .spt-table tbody th { min-width: 13rem; font-weight: 700; color: var(--c-deep); }
body.ux.cec .spt-note a { color: var(--c-accent); }
body.ux.cec .spt-table tbody td:nth-child(2) { white-space: nowrap; }
body.ux.cec .spt-table .spt-note { min-width: 15rem; color: #3a3c40; }
body.ux.cec .spt-req { display: block; margin-top: 0.2rem; font-weight: 400; font-size: 0.78rem; color: var(--ux-muted); }
body.ux.cec .spt-tag { display: inline-block; border-radius: 999px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.22rem 0.6rem; white-space: nowrap; }
body.ux.cec .spt-tag.found { background: var(--c-deep); color: #fff; }
body.ux.cec .spt-tag.nf { background: #fff; color: #3a3c40; box-shadow: inset 0 0 0 1.5px #3a3c40; }
body.ux.cec .spt-tag.na { background: #ececea; color: #55575c; }
body.ux.cec .spt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.8rem; }
body.ux.cec .spt-grid li { margin: 0; min-width: 0; }
body.ux.cec .spt-ph { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--c-pale); }
body.ux.cec .spt-ph:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
body.ux.cec .spt-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ux.cec .spt-cap { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--ux-muted); line-height: 1.35; }
.spt-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 10, 12, 0.92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 1rem; }
.spt-lb img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.spt-lb p { color: #fff; margin: 0.7rem 0 0; font-size: 0.9rem; text-align: center; max-width: 40rem; }
.spt-lb button { position: absolute; background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; border-radius: 999px; width: 2.75rem; height: 2.75rem; font-size: 1.3rem; cursor: pointer; }
.spt-lb button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.spt-lb .x { top: 1rem; right: 1rem; } .spt-lb .pv { left: 0.75rem; top: 50%; } .spt-lb .nx { right: 0.75rem; top: 50%; }
@media (max-width: 640px) {
  body.ux.cec .spt-table thead { display: none; }
  body.ux.cec .spt-table, body.ux.cec .spt-table tbody, body.ux.cec .spt-table tr, body.ux.cec .spt-table th, body.ux.cec .spt-table td { display: block; width: auto; min-width: 0 !important; }
  body.ux.cec .spt-table tbody tr { padding: 0.8rem 0; border-top: 1px solid var(--c-line); }
  body.ux.cec .spt-table tbody tr:first-child { border-top: 0; }
  body.ux.cec .spt-table tbody th, body.ux.cec .spt-table tbody td { border-top: 0; padding: 0.15rem 0.1rem; }
}
