/* SPENIWA V16 — scoped public changes; preserve V15 performance and motion preferences. */
html{scroll-padding-top:108px}
#mainNavbar .navbar-brand{gap:.55rem;min-width:0}
#mainNavbar .school-brand-text-v16{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;line-height:1.2;margin-top:3px}
#mainNavbar .school-brand-text-v16 span{line-height:1.2!important}
#mainNavbar .school-brand-text-v16 small{display:block;line-height:1.25;text-transform:uppercase;white-space:normal}
#mainNavbar .school-logo-v14{object-fit:contain;flex-shrink:0}
#mainNavbar .dropdown-item{display:flex;align-items:center;gap:.35rem;min-height:43px}
#mainNavbar .dropdown-item i{width:22px;text-align:center}
/* The stroke uses the identical SVG path as the solid fill, avoiding seam drift. */
.home-hero-v10 .hero-wave-v16{overflow:visible}
.home-hero-v10 .hero-wave-stroke-v16{stroke:#c7d9ef;stroke-width:2;opacity:.86;vector-effect:non-scaling-stroke}
.home-hero-v10 .carousel-item img{object-fit:cover}
.profile-unified-v16{padding-bottom:clamp(20px,5vw,70px)}
.profile-anchor-nav-v16{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 clamp(35px,5vw,70px);padding:12px;border:1px solid #dce6f1;border-radius:12px;background:white}
.profile-anchor-nav-v16 a{color:#164574;text-decoration:none;display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:8px;font-weight:600;transition:background .2s}
.profile-anchor-nav-v16 a:hover,.profile-anchor-nav-v16 a:focus-visible{background:#eaf2fb}
.profile-section-v16{scroll-margin-top:110px;margin-bottom:clamp(64px,9vw,112px)}
.profile-section-heading-v16{border-bottom:1px solid #dce6f1;margin-bottom:28px;padding-bottom:18px}
.profile-section-heading-v16 h2{color:#143e69;font-size:clamp(1.7rem,3.2vw,2.6rem);letter-spacing:-.035em;margin:6px 0 0}
.profile-section-v16 .profile-prose-v8{white-space:pre-line;line-height:1.85;overflow-wrap:anywhere}
.profile-section-v16 .vision-editorial,.profile-section-v16 .mission-editorial{margin-top:0;margin-bottom:24px}
.news-controls-v16{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,235px) auto;gap:12px;align-items:stretch}
.news-controls-v16 .search-field-v5{min-width:0}
.news-controls-v16 select{min-height:46px}
.agenda-calendar-v16{background:#fff;border:1px solid #dce6f1;border-radius:14px;padding:clamp(14px,2.7vw,24px);box-shadow:0 10px 26px #102e510e;position:sticky;top:106px}
.agenda-calendar-head-v16{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.agenda-calendar-head-v16 h2{color:#173d67;font-size:clamp(1rem,1.5vw,1.18rem);text-align:center;text-transform:capitalize}
.agenda-calendar-head-v16 button{min-height:38px;min-width:38px}
.agenda-calendar-jump-v16{display:flex;align-items:center;justify-content:end;gap:8px;margin-bottom:16px;font-size:.84rem;color:#526780}
.agenda-calendar-jump-v16 input{max-width:100px}
.agenda-calendar-weekdays-v16,.agenda-calendar-days-v16{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.agenda-calendar-weekdays-v16{font-size:.72rem;color:#64748b;text-transform:uppercase;font-weight:700;margin-bottom:8px}
.calendar-blank-v16{min-height:43px}
.calendar-day-v16{position:relative;min-width:0;min-height:43px;border:1px solid transparent;border-radius:8px;background:#f6f8fb;color:#29425f;display:grid;place-items:center;font-weight:500;padding:2px 2px 9px;cursor:pointer}
.calendar-day-v16:hover{border-color:#9cb8db;background:#eaf2ff}
.calendar-day-v16.has-agenda{font-weight:750;color:#123f78;background:#e8f1ff}
.calendar-day-v16.is-today{border-color:#4d78af}
.calendar-day-v16.is-selected{outline:2px solid #2563a6;outline-offset:1px}
.calendar-dot-v16{position:absolute;bottom:5px;left:calc(50% - 3px);width:6px;height:6px;background:#2563a6;border-radius:50%}
.agenda-calendar-detail-v16{border-top:1px solid #dce5f0;padding-top:14px;margin-top:16px;min-height:50px;color:#536a84;font-size:.9rem;overflow-wrap:anywhere}
.agenda-calendar-detail-v16 strong{display:block;color:#193d68;text-transform:capitalize;margin-bottom:6px}
.agenda-calendar-detail-v16 p{margin:6px 0}
.agenda-calendar-detail-v16 ul{padding-left:18px;margin-bottom:0}
@media(max-width:767px){.news-controls-v16{grid-template-columns:minmax(0,1fr) auto}.news-controls-v16 .search-field-v5{grid-column:1/-1}.agenda-calendar-v16{position:static}.profile-anchor-nav-v16{gap:4px}.profile-anchor-nav-v16 a{padding:10px 12px}}
@media(max-width:420px){.news-controls-v16{grid-template-columns:minmax(0,1fr)}.agenda-calendar-days-v16,.agenda-calendar-weekdays-v16{gap:2px}.calendar-day-v16{min-height:38px;font-size:.82rem}#mainNavbar .school-brand-text-v16 span{font-size:.94rem!important}#mainNavbar .school-brand-text-v16 small{font-size:.6rem!important;letter-spacing:.45px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.profile-anchor-nav-v16 a{transition:none}}
