/* Presentation-only refresh. Existing content, routes and scripts remain authoritative. */
:root {
  --plum-950:#071e3c; --plum-900:#09284b; --plum-800:#0b345d;
  --plum-700:#104577; --plum-500:#326b9b; --plum-300:#86accb;
  --gold:#efc34b; --gold-light:#ffe4a0; --cream:#f5f8fc;
  --paper:#fff; --ink:#172e46; --muted:#586d81; --line:#dce5ef;
  --shadow-sm:0 4px 18px #102e4e08; --shadow-md:0 14px 40px #102e4e0d;
  --shadow-lg:0 24px 64px #102e4e18; --radius:18px;
  --font-display:Georgia,'Times New Roman',serif;
  --font-body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:var(--font-display); --body:var(--font-body);
}
body { font-family:var(--font-body); background:var(--cream); color:var(--ink); }
h1,h2,h3,h4,h5,h6 { text-wrap:balance; }
p { line-height:1.8; }
img { max-width:100%; }
a,button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #c49318; outline-offset:4px; }
.topbar { background:var(--plum-950); padding:10px 24px; font-size:12px; }
.topbar-inner { max-width:1320px; margin:auto; }
.topbar .topbar-inner { padding:0; min-height:22px; }
.navbar-brand::before { display:none; }
.navbar-brand { gap:12px; }
.school-wordmark { display:block; color:var(--plum-800); font-family:var(--font-body); font-weight:750; font-size:17px; line-height:1.25; max-width:190px; white-space:normal; letter-spacing:-.4px; }
.navbar .navbar-brand img { max-height:60px; filter:none; }
.navbar .navbar-nav .login-link { border-radius:8px; box-shadow:none; }
#heroCarousel .carousel-inner { height:auto; min-height:0; }
.admission-popup .admission-popup-btn,.admission-popup .admission-popup-btn:hover { color:var(--plum-950)!important; }
.topbar-contacts { gap:24px; }
.navbar { background:#fff!important; border-bottom:1px solid var(--line); box-shadow:0 4px 20px #102e4e08!important; }
.navbar::after { background:linear-gradient(90deg,var(--gold) 0 16%,#dce5ef 16%); height:2px; }
.navbar .container-fluid { max-width:1440px; min-height:92px; padding:10px 28px; gap:12px; }
.navbar-brand { margin-right:12px; flex-shrink:0; }
.navbar-brand img { width:auto; max-width:220px; max-height:76px; object-fit:contain; }
.navbar-nav { gap:2px!important; }
.navbar-nav .nav-link { background:transparent; color:var(--plum-800)!important; border-radius:7px; font-size:12px; font-weight:650; padding:11px 9px!important; box-shadow:none; transform:none; gap:5px; }
.navbar-nav .nav-link i { color:var(--plum-500)!important; font-size:13px; }
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active { background:#edf3f9; color:var(--plum-800)!important; box-shadow:none; transform:none; }
.navbar-nav .nav-link.login-link { background:var(--plum-800); color:#fff!important; border:0; margin-left:5px; padding:12px!important; }
.navbar-nav .nav-link.login-link i { color:var(--gold)!important; }
.navbar-toggler { border:1px solid var(--line); border-radius:8px; min-width:44px; min-height:44px; box-shadow:none; }
.dropdown-menu { border:1px solid var(--line); padding:8px; border-radius:12px; box-shadow:var(--shadow-md); }
.dropdown-item { border-radius:6px; padding:10px 14px; white-space:normal; }
.dropdown-item:hover { background:#edf3f9; color:var(--plum-800); }
#heroCarousel { position:relative; background:var(--plum-950); }
#heroCarousel .carousel-item { height:590px; min-height:0; }
#heroCarousel .carousel-item>img { height:100%; width:100%; object-fit:cover; object-position:center 42%; filter:none; }
#heroCarousel .hero-scrim { background:linear-gradient(90deg,#051d3cf2 0%,#082b4dc9 34%,#0b2d4e40 67%,#051d3c1f 100%); }
#heroCarousel .hero-content { max-width:1320px; width:100%; left:50%; transform:translate(-50%,-50%); top:50%; padding:36px 60px; text-align:left; }
#heroCarousel .hero-content>* { margin-left:0; }
#heroCarousel .hero-content .eyebrow { color:var(--gold-light); font-size:12px; letter-spacing:3px; margin-bottom:20px; }
#heroCarousel .hero-content h1 { font-family:var(--font-display); font-size:clamp(40px,5.1vw,74px); max-width:660px; font-weight:500; line-height:1.08; letter-spacing:-2px; text-shadow:none; }
#heroCarousel .hero-content h1 em { color:var(--gold-light); font-style:italic; }
#heroCarousel .hero-content p { max-width:470px; font-size:17px; line-height:1.75; color:#e8eff6; margin-top:22px; margin-bottom:28px; }
.btn-gold { border-radius:8px; padding:14px 24px; background:var(--gold); color:#142c46; box-shadow:none; font-size:13px; }
.btn-gold:hover { background:var(--gold-light); color:#142c46; box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.hero-arrow { width:40px; height:40px; border:1px solid #ffffff55; background:#0b345d88; box-shadow:none; }
.carousel-control-prev,.carousel-control-next { width:50px; }
/* These controls are siblings of the carousel in the existing document. */
main>.carousel-control-prev,main>.carousel-control-next { top:390px; bottom:auto; height:44px; z-index:4; }
.carousel-indicators { bottom:22px; gap:5px; }
.carousel-indicators [data-bs-target] { width:7px; height:7px; border-radius:50%; border:0; opacity:.6; }
.carousel-indicators .active { width:28px; border-radius:8px; background:var(--gold); opacity:1; }
.notice-bar { background:var(--plum-800); min-height:66px; padding:10px max(24px,calc((100vw - 1200px)/2)); gap:20px; box-shadow:none; border:0; }
.notice-bar::before { display:none; }
.notice-label { background:var(--gold); color:var(--plum-950); border-radius:6px; min-width:110px; height:36px; font-size:11px; letter-spacing:1.4px; box-shadow:none; }
.notice-view-all { color:#fff; border:1px solid #ffffff40; background:transparent; border-radius:6px; white-space:nowrap; font-size:12px; }
.notice-scroll-container { min-width:0; }
.notice-bar:hover .notice-scroll-content,.notice-bar:focus-within .notice-scroll-content,
.apply-now-bar:hover .apply-track,.apply-now-bar:focus-within .apply-track,
.news-scroll:focus-within .latest-news-track { animation-play-state:paused; }
.apply-now-bar { background:#fff5d8; color:var(--plum-950); border-bottom:1px solid #eedeb5; box-shadow:none; padding:10px 0; }
.apply-track { color:var(--plum-950); font-size:13px; }
.apply-track span { color:var(--plum-950); font-size:13px; }
.apply-track a { background:var(--plum-800); color:#fff; border-radius:5px; box-shadow:none; }
.principal-section { background:#fff; padding:72px 28px; }
.principal-grid { max-width:1160px; grid-template-columns:150px minmax(0,1fr); gap:48px; align-items:start; padding:0; background:transparent; box-shadow:none; border:0; }
.principal-figure { margin-top:14px; border-radius:12px; box-shadow:none; width:150px; height:auto; min-height:0; padding:0; background:transparent; }
.principal-figure::before,.principal-figure::after { display:none; }
.principal-figure img { width:150px; height:180px; min-height:0; object-fit:cover; border-radius:12px; box-shadow:none; border:1px solid var(--line); }
.principal-tag { position:static; margin:10px 0 0; padding:5px; text-align:center; display:block; background:transparent; color:var(--muted); box-shadow:none; font-size:12px; border:0; }
.principal-copy h2 { color:var(--plum-800); font-size:clamp(30px,3vw,42px); margin:12px 0 22px; }
.principal-copy { background:transparent; border:0; box-shadow:none; border-radius:0; padding:0; color:var(--ink); }
.principal-copy::before,.principal-section::before,.principal-section::after,.principal-section .principal-grid::before { display:none; }
.principal-copy .eyebrow { color:#86651b; }
.principal-copy p { text-align:left; }
.principal-copy p { color:var(--muted); margin-bottom:16px; }
.message-intro { background:#f3f7fb; border-left:3px solid var(--gold); border-radius:0 12px 12px 0; box-shadow:none; padding:20px 24px; }
.principal-sign { margin-top:24px; }
.eyebrow,.label { color:#86651b; }
.dashboard-section { padding:64px 28px; background:#edf3f9; }
.dashboard-wrap { max-width:1200px; }
.dash-grid { gap:24px; }
.dash-grid.second-row { margin-top:24px; }
.dash-card { background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden; }
.dash-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
.dash-card-head { padding:22px; border-bottom:1px solid var(--line); }
.dash-card-head h5,.dash-card-body h5 { font-family:var(--font-body); font-size:21px; color:var(--plum-800); }
.dash-card-head .label { color:var(--muted); letter-spacing:1.2px; font-size:10px; text-transform:uppercase; }
.dash-view { color:var(--plum-700); font-size:12px; }
.dash-image { height:170px; }
.dash-image::after { background:linear-gradient(0deg,#071e3cd9,transparent); }
.dash-card-body,.holiday-body { padding:22px; }
.house-points { gap:12px; padding:26px 20px; }
.house-point { box-shadow:none; border-radius:12px; font-family:var(--font-body); font-size:24px; text-shadow:0 1px 3px #0008; }
.event-video { margin:20px; border-radius:10px; overflow:hidden; }
.event-title { padding:0 20px 20px; font-size:14px; }
.mission-section { padding:76px 28px; background:#fff; }
.mission-card { max-width:1060px; border:1px solid var(--line); border-top:3px solid var(--gold); border-radius:14px; background:#f8fafc; box-shadow:none; padding:40px 52px; }
.mission-card p { color:var(--muted); }
.section-head h2 { font-weight:500; }
.facilities-section { background:var(--plum-950); padding:76px 28px 84px; }
.facility-card { border-radius:14px; box-shadow:none; height:350px; }
.facility-overlay { background:linear-gradient(0deg,#071e3cf5,transparent 85%); }
.facility-body h3 { font-family:var(--font-body); font-size:21px; }
.facility-icon { border-radius:10px; color:var(--plum-800); box-shadow:none; }
.fb-section { padding:64px 28px; background:#f5f8fc; }
.fb-card { border:1px solid var(--line); border-radius:16px; box-shadow:none; }
.footer-section { background:#edf3f9; padding:60px 28px; gap:28px; }
.map-wrap,.disclaimer-card { border:1px solid var(--line); border-radius:14px; box-shadow:none; }
.disclaimer-card { background:#fff; padding:32px; }
.site-footer,.bottom-bar { background:var(--plum-950); color:#e3ebf4; }
.bottom-bar { border-top:1px solid #ffffff1f; }
.floating-contact { right:18px; bottom:20px; gap:10px; }
.floating-contact a { width:46px; height:46px; box-shadow:0 4px 14px #071e3c22; }
.admission-popup-overlay { background:#03172dc4; backdrop-filter:blur(7px); padding:20px; }
.admission-popup { border-radius:18px; border:1px solid #ffffff55; box-shadow:0 28px 90px #0005; max-width:540px; max-height:90dvh; overflow:auto; background:#fff; }
.admission-popup-image { background:#f3f7fb; }
.admission-popup-image img { max-height:68dvh; width:100%; object-fit:contain; }
.admission-popup-close { background:var(--plum-950); color:#fff; border:2px solid #fff; width:44px; height:44px; top:12px; right:12px; box-shadow:0 3px 12px #0003; }
.admission-popup-content { background:#fff; padding:20px; }
.admission-popup-btn { background:var(--gold); color:var(--plum-950); border-radius:8px; box-shadow:none; width:100%; padding:14px 20px; }
/* Shared inner pages, including pages with their own embedded styles. */
.rules-hero,.classes-hero,.contact-hero,.facility-hero,.gallery-hero,.notice-hero { background:linear-gradient(120deg,#071e3c,#104577); padding:72px 24px; border-bottom:4px solid var(--gold); }
.rules-hero h1,.classes-hero h1,.contact-hero h1,.facility-hero h1,.gallery-hero h1,.notice-hero h1 { font-family:var(--font-display); font-size:clamp(36px,4.5vw,58px); font-weight:500; letter-spacing:-1px; }
.about-section,.mv-section,.rules-section,.classes-section,.facility-section,.details-section,.contact-section,.gallery-container { padding-top:60px; padding-bottom:60px; }
.about-card,.mv-row,.rules-card,.class-card,.contact-card,.contact-form-card,.gallery-card,.results-card,.payment-card,.admission-card { border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-sm); }
.about-copy,.mv-copy { padding:32px; }
.about-copy h3,.mv-copy h3 { color:var(--plum-800); }
.rules-card-header { background:var(--plum-800); }
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea { border-radius:8px; border:1px solid #c8d6e3; max-width:100%; min-height:44px; }
input:focus,select:focus,textarea:focus { border-color:var(--plum-500); box-shadow:0 0 0 3px #326b9b18; }
.table-responsive { border-radius:12px; border:1px solid var(--line); }
body:has(#tableBody) { margin:0; padding:24px 16px; }
body:has(#tableBody)>h2 { font-size:clamp(24px,4vw,38px)!important; color:var(--plum-800); }
body:has(#tableBody)>table { table-layout:fixed; max-width:1100px; margin:auto; font-size:14px; }
body:has(#tableBody) th { background:var(--plum-800); }
body:has(#tableBody) td { overflow-wrap:anywhere; padding:10px 6px; }
body:has(#tableBody) .date-box { padding:8px 4px; border-radius:5px; }
body:has(#tableBody) .date-box::after { display:none; }
body:has(#tableBody) .month { background:var(--plum-800); }
.container-01 { max-width:1200px; margin:32px auto; padding:32px!important; background:var(--plum-950); border-radius:16px; }
@media(min-width:992px) and (max-width:1250px) {
  .navbar .container-fluid { flex-wrap:wrap; justify-content:center; }
  .navbar-brand { margin:auto; }
  .navbar-collapse { flex-basis:100%; justify-content:center; }
  .navbar-nav { margin-left:0!important; flex-wrap:wrap; justify-content:center; }
  .navbar-nav .nav-link { font-size:11px; padding:9px 7px!important; }
}
@media(max-width:991.98px) {
  .navbar .container-fluid { padding:10px 20px; min-height:78px; }
  .navbar-brand img { max-width:200px; max-height:60px; }
  .navbar-nav { align-items:stretch; gap:4px!important; padding:16px 0; }
  .navbar-nav .nav-link { justify-content:flex-start; font-size:14px; padding:12px!important; min-height:44px; }
  .navbar-nav .nav-link.login-link { margin-left:0; }
  .navbar-collapse { max-height:calc(100dvh - 100px); overflow-y:auto; }
  #heroCarousel .carousel-item { height:540px; }
  #heroCarousel .hero-content { padding:32px 56px; }
  main>.carousel-control-prev,main>.carousel-control-next { top:325px; }
  .principal-grid { grid-template-columns:110px minmax(0,1fr); gap:28px; }
  .principal-figure,.principal-figure img { width:110px; }
  .principal-figure img { height:140px; }
}
@media(max-width:600px) {
  .school-wordmark { max-width:155px; font-size:15px; }
  .navbar .navbar-brand img { max-height:46px; }
  .navbar .container-fluid { padding:8px 16px; }
  .navbar-brand img { max-width:180px; max-height:58px; }
  #heroCarousel .carousel-item { height:560px; }
  #heroCarousel .hero-scrim { background:linear-gradient(90deg,#051d3ce8,#082b4d80),linear-gradient(0deg,#051d3caa,transparent); }
  #heroCarousel .hero-content { padding:36px 30px; }
  #heroCarousel .hero-content h1 { font-size:44px; letter-spacing:-1.4px; }
  #heroCarousel .hero-content .eyebrow { font-size:10px; letter-spacing:2px; }
  #heroCarousel .hero-content p { font-size:15px; max-width:300px; }
  .carousel-control-prev,.carousel-control-next { width:28px; }
  .hero-arrow { width:26px; height:36px; border-radius:5px; font-size:12px; }
  .notice-bar { padding:12px; gap:10px; }
  .notice-label { min-width:76px; font-size:9px; letter-spacing:.6px; }
  .notice-view-all { padding:8px; font-size:11px; }
  .principal-section,.dashboard-section,.mission-section,.fb-section,.footer-section { padding:44px 20px; }
  .principal-grid { display:flex; flex-direction:column; gap:22px; }
  .principal-figure { width:84px; margin:0; }
  .principal-figure img { width:84px; height:100px; }
  .principal-tag { font-size:10px; }
  .principal-copy { padding:0; }
  .principal-copy h2 { font-size:32px; }
  .message-intro { padding:18px; }
  .dash-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .dash-image { height:190px; }
  .mission-card { padding:28px 22px; }
  .facilities-section { padding:48px 20px; }
  .rules-hero,.classes-hero,.contact-hero,.facility-hero,.gallery-hero,.notice-hero { padding:48px 20px; }
  .about-section,.mv-section,.rules-section,.classes-section,.facility-section,.details-section,.contact-section,.gallery-container { padding:36px 18px; }
  .about-copy,.mv-copy,.disclaimer-card { padding:24px; }
  .footer-inner,.bottom-bar { gap:14px; text-align:center; }
  .admission-popup-overlay { padding:14px; }
  .admission-popup { max-width:100%; }
  .floating-contact { right:12px; bottom:12px; }
  .container-01 { margin:20px 12px; padding:22px!important; width:auto; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .notice-scroll-content,.apply-track,.latest-news-track { animation:none!important; transform:none!important; }
  .notice-scroll-container,.apply-now-bar,.news-scroll { overflow:auto; }
}

/* Reference-aligned homepage: same palette, denser information hierarchy. */
.reference-home { background:#fff; }
.reference-home .topbar { padding:7px 28px; }
.reference-home .topbar-inner { max-width:1480px; }
.reference-home .topbar-contacts { gap:20px; }
.reference-home .utility-login { border-left:1px solid #ffffff55; padding-left:18px; }
.reference-home .navbar { padding:0; }
.reference-home .navbar .container-fluid { max-width:1536px; min-height:100px; padding:14px 32px; }
.reference-home .navbar-brand { gap:14px; border-left:6px solid var(--gold); padding-left:14px; }
.reference-home .school-wordmark { font-size:clamp(20px,2vw,30px); font-weight:800; max-width:530px; letter-spacing:-.8px; line-height:1.12; text-transform:uppercase; }
.reference-home .school-wordmark small { display:block; font-size:14px; letter-spacing:5px; font-weight:500; margin-top:7px; }
.reference-home .navbar .navbar-brand img { max-height:54px; }
.reference-home .navbar-nav .nav-link { font-size:13px; padding:12px 10px!important; }
.reference-home .navbar-nav .nav-link>i { display:none; }
.reference-home .navbar-nav .nav-link.active { color:#fff!important; background:var(--plum-800); }
.reference-home .navbar::after { background:var(--line); height:1px; }
.reference-home #heroCarousel .carousel-item { height:350px; }
.reference-home #heroCarousel .hero-content { max-width:1536px; padding:24px 100px; }
.reference-home #heroCarousel .hero-content .eyebrow { font-size:11px; margin-bottom:12px; letter-spacing:2.8px; }
.reference-home #heroCarousel .hero-content h1 { font-family:var(--font-body); font-size:clamp(36px,3.7vw,56px); font-weight:800; max-width:650px; line-height:1.02; letter-spacing:-1.8px; }
.reference-home #heroCarousel .hero-content h1 em { color:var(--gold); font-style:normal; }
.reference-home #heroCarousel .hero-content p { font-size:15px; line-height:1.5; max-width:450px; margin:16px 0 18px; }
.reference-home #heroCarousel .hero-scrim { background:linear-gradient(90deg,#071e3cf5 0%,#0b345dd9 30%,#0b345d35 65%,#071e3c14); }
.reference-home #heroCarousel .btn-gold { padding:11px 20px; min-height:44px; border-radius:6px; }
.reference-home #heroCarousel .carousel-control-prev,.reference-home #heroCarousel .carousel-control-next { top:0; bottom:0; width:60px; }
.reference-home #heroCarousel .hero-arrow { width:40px; height:40px; background:#104577a8; }
.reference-home #heroCarousel .carousel-indicators { bottom:10px; margin-bottom:0; }
.reference-home .notice-bar { min-height:44px; padding:5px 30px; gap:18px; border-top:1px solid #ffffff20; }
.reference-home .notice-label { height:30px; min-width:95px; font-size:10px; border-radius:4px; }
.reference-home .notice-scroll-container { height:34px; display:flex; align-items:center; }
.reference-home .notice-scroll-content { align-items:center; }
.reference-home .notice-item { padding:5px 12px; font-size:11px; }
.reference-home .notice-view-all { padding:6px 12px; border:0; }
.reference-home .apply-now-bar { padding:5px 0; min-height:34px; }
.reference-home .apply-track { gap:20px; }
.reference-home .apply-track span { font-size:12px; }
.reference-home .apply-track a { font-size:11px; padding:4px 12px; }
.home-shortcuts { max-width:1476px; margin:16px auto; width:calc(100% - 60px); display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); background:#edf5fd; padding:14px 10px; border:1px solid #e9f1f9; border-radius:8px; }
.home-shortcuts a { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:8px; min-height:88px; padding:0 8px; color:var(--plum-800); font-size:13px; font-weight:650; line-height:1.25; border-right:1px solid #bfd6e9; transition:background .2s,transform .2s; }
.home-shortcuts a:last-child { border-right:0; }
.home-shortcuts a:hover { background:#e0edf9; transform:translateY(-2px); }
.home-shortcuts i { font-size:31px; line-height:1; color:#2185d4; }
.home-shortcuts a:nth-child(2) i,.home-shortcuts a:nth-child(8) i { color:#7855ce; }
.home-shortcuts a:nth-child(3) i,.home-shortcuts a:nth-child(6) i { color:#db507a; }
.home-shortcuts a:nth-child(4) i { color:#d9a519; }
.home-shortcuts a:nth-child(5) i { color:#38955c; }
.home-shortcuts a:nth-child(7) i { color:#0b839f; }
.reference-home .reference-dashboard { padding:0 30px 32px; background:#fff; }
.reference-dashboard .dashboard-wrap { max-width:1476px; margin:auto; }
.home-overview { display:grid; grid-template-columns:1.18fr 1.05fr .9fr 1.1fr; gap:14px; align-items:stretch; }
.home-overview>* { min-width:0; min-height:280px; margin:0; border:1px solid #dce8f3; border-radius:8px; box-shadow:none; background:#fff; }
.home-overview .dash-card:hover { transform:none; box-shadow:0 8px 22px #102e4e0a; }
.home-panel { padding:18px; }
.home-panel h2,.home-overview .dash-card h5 { font-family:var(--font-body); color:var(--plum-800); font-size:20px; font-weight:750; line-height:1.2; margin:0; }
.home-panel h2 i { margin-right:6px; }
.quick-links-panel { display:flex; flex-direction:column; gap:7px; }
.quick-links-panel h2 { margin-bottom:5px; }
.quick-links-panel>a { display:flex; align-items:center; gap:10px; background:#eff6fd; border-radius:5px; padding:8px 10px; min-height:35px; font-size:12px; color:var(--plum-700); }
.quick-links-panel>a i { font-size:17px; color:#1879b0; }
.quick-links-panel>a span { margin-left:auto; }
.quick-links-panel>a:hover { background:#dcecf9; }
.principal-preview-body { display:flow-root; margin:18px 0; }
.principal-preview-body>img { float:left; width:76px; height:94px; object-fit:cover; border-radius:6px; margin:0 14px 8px 0; }
.principal-preview-body>p { font-size:13px; line-height:1.7; color:var(--plum-700); margin:0; }
.panel-more { display:inline-flex; align-items:center; gap:12px; background:var(--plum-800); color:#fff; border-radius:5px; font-size:11px; padding:10px 14px; min-height:36px; }
.panel-more:hover { background:var(--plum-700); color:#fff; }
.home-overview .dash-card-head { padding:18px; border:0; align-items:center; gap:8px; }
.home-overview .dash-card-head .label { display:none; }
.home-overview .dash-view { font-size:10px; padding:0; white-space:nowrap; }
.home-overview .event-video { margin:0 16px 12px; height:164px; border-radius:5px; }
.home-overview .event-video iframe { width:100%; height:100%; }
.event-player { margin:0 16px 12px; }
.event-player summary { position:relative; height:164px; border-radius:6px; overflow:hidden; list-style:none; cursor:pointer; background:var(--plum-950); }
.event-player summary::-webkit-details-marker { display:none; }
.event-player summary>img { width:100%; height:100%; object-fit:cover; }
.event-play-icon { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#0b345ddd; color:#fff; border:2px solid #fff; font-size:18px; }
.event-player[open] summary { height:70px; }
.event-player[open] .event-video { margin:8px 0 0; }
.home-overview .event-title { font-size:12px; color:var(--plum-700); padding:0 16px 14px; }
.home-overview .latest-news-card { position:relative; display:flex; flex-direction:column; }
.home-overview .latest-news-card .dash-image { position:absolute; top:18px; right:18px; left:18px; width:auto; height:26px; background:transparent; overflow:visible; }
.home-overview .latest-news-card .dash-image img { width:26px; height:26px; object-fit:cover; border-radius:4px; position:absolute; left:0; top:0; }
.home-overview .latest-news-card .dash-image::after { display:none; }
.home-overview .latest-news-card .dash-badge { display:none; }
.home-overview .latest-news-card .dash-image .dash-view { position:absolute; right:0; left:auto; top:4px; color:var(--plum-700); background:transparent; box-shadow:none; }
.home-overview .latest-news-card .dash-card-body { padding:18px; }
.home-overview .latest-news-card h5 { margin-bottom:18px; padding-left:36px; }
.home-overview .news-scroll { height:200px; margin:0; padding:0; overflow-y:auto; }
.home-overview .latest-news-track { gap:0; animation:none; transform:none; }
.home-overview .latest-news-item { padding:13px 30px 13px 14px; background:#fff; border:0; border-bottom:1px solid #edf1f5; border-radius:0; box-shadow:none; }
.home-overview .latest-news-item::before { content:''; position:absolute; width:6px; height:6px; border-radius:50%; background:var(--gold); left:0; top:19px; }
.home-overview .latest-news-item .news-title { font-size:11px; line-height:1.6; font-weight:550; }
.home-overview .latest-news-item .news-view { font-size:10px; margin-top:5px; }
.home-activities { margin-top:22px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; border-top:5px solid var(--plum-800); padding-top:22px; }
.home-activities .dash-card { border-radius:8px; box-shadow:none; min-width:0; }
.home-activities .dash-card-head { padding:18px; }
.home-activities .dash-card h5 { font-family:var(--font-body); font-size:20px; }
.home-activities .dash-image { height:115px; }
.home-activities .dash-card-body { padding:18px; }
.home-activities .house-points { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:18px; }
.home-activities .house-point { width:100%; height:64px; font-size:26px; border-radius:7px; }
.reference-home .principal-section { background:#f5f8fc; padding:52px 30px; }
.reference-home .principal-grid { max-width:1200px; }
.reference-home .principal-section .principal-figure { width:100px; }
.reference-home .principal-section .principal-figure img { width:100px; height:125px; }
.reference-home [id] { scroll-margin-top:125px; }
@media(min-width:992px) and (max-width:1350px) {
  .reference-home .navbar .container-fluid { justify-content:space-between; flex-wrap:wrap; }
  .reference-home .navbar-brand { margin:0; }
  .reference-home .navbar-collapse { flex-basis:100%; justify-content:center; }
  .reference-home .navbar-nav { margin:0!important; }
  .reference-home .navbar-nav .nav-link { padding:9px 13px!important; }
}
@media(max-width:1100px) {
  .home-overview,.home-activities { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reference-home #heroCarousel .hero-content { padding:24px 65px; }
  .home-shortcuts { width:calc(100% - 36px); }
}
@media(max-width:991.98px) {
  .reference-home .topbar { display:block; padding:5px 14px; }
  .reference-home .topbar-welcome,.reference-home .topbar-contacts>a:not(.utility-login) { display:none; }
  .reference-home .topbar-inner { display:flex; justify-content:flex-end; }
  .reference-home .topbar-contacts { display:flex; gap:16px; }
  .reference-home .utility-login { padding:4px 0; border:0; font-size:11px; min-height:28px; }
  .reference-home .navbar .container-fluid { padding:10px 20px; min-height:80px; }
  .reference-home .school-wordmark { font-size:21px; max-width:270px; }
  .reference-home .navbar-nav .nav-link>i { display:inline-block; }
  .reference-home .navbar-nav .nav-link { min-height:44px; font-size:14px; }
  .home-shortcuts { grid-template-columns:repeat(4,minmax(0,1fr)); padding:8px; }
  .home-shortcuts a { min-height:92px; margin:4px 0; }
  .home-shortcuts a:nth-child(4) { border-right:0; }
  .reference-home .reference-dashboard { padding:0 18px 28px; }
}
@media(max-width:600px) {
  .reference-home .navbar-brand { gap:8px; padding-left:8px; border-left-width:4px; margin:0; }
  .reference-home .navbar .container-fluid { padding:10px 12px; gap:8px; }
  .reference-home .navbar .navbar-brand img { max-height:38px; }
  .reference-home .school-wordmark { max-width:180px; font-size:16px; letter-spacing:-.3px; }
  .reference-home .school-wordmark small { font-size:10px; letter-spacing:3px; margin-top:4px; }
  .reference-home #heroCarousel .carousel-item { height:360px; }
  .reference-home #heroCarousel .hero-content { padding:24px 34px; }
  .reference-home #heroCarousel .hero-content h1 { font-size:34px; letter-spacing:-1px; }
  .reference-home #heroCarousel .hero-content .eyebrow { font-size:9px; letter-spacing:1.7px; }
  .reference-home #heroCarousel .hero-content p { font-size:13px; max-width:290px; }
  .reference-home #heroCarousel .hero-scrim { background:linear-gradient(90deg,#071e3ce8,#0b345da0); }
  .reference-home #heroCarousel .carousel-control-prev,.reference-home #heroCarousel .carousel-control-next { width:28px; }
  .reference-home #heroCarousel .hero-arrow { width:25px; height:36px; border-radius:4px; }
  .reference-home .notice-bar { padding:6px 12px; gap:8px; }
  .reference-home .notice-label { min-width:66px; font-size:9px; }
  .reference-home .notice-label span { display:inline!important; }
  .reference-home .notice-view-all { padding:6px; font-size:10px; }
  .home-shortcuts { width:calc(100% - 24px); margin:12px auto; }
  .home-shortcuts a { font-size:10px; min-height:76px; padding:0 3px; gap:7px; }
  .home-shortcuts i { font-size:25px; }
  .reference-home .reference-dashboard { padding:0 12px 24px; }
  .home-overview,.home-activities { grid-template-columns:minmax(0,1fr); gap:12px; }
  .home-overview>* { min-height:0; }
  .home-overview .event-video { height:180px; }
  .home-overview .news-scroll { height:170px; }
  .home-activities .house-points { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .home-activities .house-point { font-size:21px; }
  .reference-home .principal-section { padding:36px 20px; }
  .reference-home [id] { scroll-margin-top:90px; }
}
@media(max-width:359px) {
  .reference-home .school-wordmark { font-size:14px; max-width:142px; }
  .reference-home .navbar .navbar-brand img { max-height:32px; }
}
