/* =====================================================================
   PES Support — PUBLIC SITE design system
   ---------------------------------------------------------------------
   Fully self-contained stylesheet for the public-facing pages only (home,
   campus detail, FAQs, topics, contact, public webform submission). Does
   NOT import or depend on static/css/style.css (the dashboard/login/embed
   design system) — the two are intentionally separate so this file can be
   redesigned without ever touching the dashboard or the sign-in pages.

   Dark mode uses the project-wide convention: the `data-bs-theme="dark"`
   attribute on <html>, persisted under the `pes-theme` localStorage key
   (see main/public_base.html) — the same attribute/key the dashboard and
   login pages use, so a visitor's theme choice follows them across all
   three surfaces of the site.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&family=Noto+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --navy:#00264d; --navy-light:#004080; --heading:#00264d; --surface:#ffffff; --header-bg:rgba(255,255,255,0.94); --dot-color:rgba(0,38,77,0.09); --navy-pale:#e9eff6; --navy-pale-2:#dbe5f0;
  --orange:#ef7e1a; --orange-light:#ff9a45; --orange-pale:#fef1e2;
  --green:#1e8a5f; --green-pale:#e8f6ef; --red:#c0392b; --red-pale:#fdeceb;
  --ink:#0a1626; --muted:#5c6b80; --paper:#ffffff; --paper-2:#f6f8fb;
  --line:#e2e8f0; --line-strong:#cbd6e3;
  --display:"Playfair Display","Times New Roman",serif; --body:"Noto Sans",-apple-system,sans-serif;
  --shadow-sm:0 2px 10px rgba(0,38,77,0.06); --shadow-md:0 12px 34px rgba(0,38,77,0.10); --shadow-lg:0 24px 60px rgba(0,38,77,0.16);
}

html[data-bs-theme="dark"]{
  --navy-pale:#122036; --navy-pale-2:#16283f;
  --orange:#ff9450; --orange-light:#ffb37c; --orange-pale:rgba(255,148,80,0.14);
  --green:#3ecf94; --green-pale:rgba(62,207,148,0.14); --red:#ff6b5b; --red-pale:rgba(255,107,91,0.14);
  --ink:#e8edf5; --muted:#93a2ba; --paper:#0a0f1a; --paper-2:#0f1626;
  --line:rgba(255,255,255,0.10); --line-strong:rgba(255,255,255,0.20);
  --heading:#eef1f7; --surface:#101a2c; --header-bg:rgba(8,14,24,0.88); --dot-color:rgba(255,255,255,0.09);
  --shadow-sm:0 2px 10px rgba(0,0,0,0.4); --shadow-md:0 14px 36px rgba(0,0,0,0.5); --shadow-lg:0 26px 64px rgba(0,0,0,0.6);
}

/* ---------------------------------------------------------------- reset */
.public-page, .public-page *{margin:0;padding:0;box-sizing:border-box;}
/* overflow-x:clip (not :hidden) deliberately — :hidden on any axis forces
   the other axis's computed overflow from visible to auto (CSS Overflow §3),
   which would turn <body> into its own scroll container and break every
   position:sticky descendant (header, FAQ filter bar, sidebars) against it
   instead of the viewport; :clip suppresses horizontal overflow the same
   way without that side effect. */
.public-page{background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip;transition:background-color .3s ease, color .3s ease;}
.public-page a{color:inherit;text-decoration:none;}
.public-page img{max-width:100%;display:block;}
.public-page svg{stroke:currentColor;flex-shrink:0;}
.public-page .ic svg{width:50%;height:50%;}
.public-page ::selection{background:var(--orange);color:#fff;}
.public-page :focus-visible{outline:2px solid var(--orange);outline-offset:3px;}
.public-page button{font-family:inherit;}
.public-page .wrap{max-width:1280px;margin:0 auto;padding:0 40px;}
@media (max-width:640px){.public-page .wrap{padding:0 10px;}}

.public-page .eyebrow{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--orange);display:flex;align-items:center;gap:9px;}
.public-page .eyebrow.center{justify-content:center;}
.public-page .eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange);flex-shrink:0;}

/* ---------------------------------------------------------------- buttons */
.public-page .btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;padding:14px 26px;border-radius:999px;border:1.5px solid transparent;transition:all .25s ease;white-space:nowrap;cursor:pointer;font-family:var(--body);}
.public-page .btn.solid{background:var(--orange);color:#fff;box-shadow:0 8px 22px rgba(239,126,26,0.32);}
.public-page .btn.solid:hover{background:#d96e0f;transform:translateY(-2px);box-shadow:0 12px 26px rgba(239,126,26,0.4);}
.public-page .btn.solid:disabled{background:var(--line-strong);color:#fff;box-shadow:none;cursor:not-allowed;transform:none;}
.public-page .btn.outline{border-color:var(--navy);color:var(--heading);background:transparent;}
html[data-bs-theme="dark"] .public-page .btn.outline{border-color:var(--line-strong);}
.public-page .btn.outline:hover{background:var(--navy);color:#fff;transform:translateY(-2px);}
.public-page .btn.outline-light{border-color:rgba(255,255,255,0.6);color:#fff;background:transparent;}
.public-page .btn.outline-light:hover{background:#fff;color:var(--navy);}
.public-page .btn.sm{padding:10px 20px;font-size:13px;}
.public-page .btn.block{width:100%;justify-content:center;}

/* ---------------------------------------------------------------- utility bar */
.public-page .utilitybar{background:var(--navy);color:rgba(255,255,255,0.75);font-size:12.5px;font-weight:600;}
.public-page .utilitybar .wrap{display:flex;align-items:center;justify-content:space-between;padding:9px 40px;gap:16px;}
.public-page .utilitybar .ub-left{display:flex;align-items:center;gap:12px;min-width:0;}
.public-page .utilitybar .ub-brand{color:#fff;font-weight:700;white-space:nowrap;}
.public-page .utilitybar .ub-right{display:flex;align-items:center;gap:18px;flex-shrink:0;}
.public-page .utilitybar .ub-back, .public-page .utilitybar .ub-link{display:flex;align-items:center;gap:5px;opacity:.85;transition:opacity .2s ease;color:#fff;white-space:nowrap;flex-shrink:0;}
.public-page .utilitybar .ub-back:hover, .public-page .utilitybar .ub-link:hover{opacity:1;}
.public-page .utilitybar .ub-link svg{width:13px;height:13px;flex-shrink:0;}
.public-page .utilitybar .topband-arrow{font-size:13px;line-height:1;}
.public-page .utilitybar .ub-divider{width:1px;height:14px;background:rgba(255,255,255,0.25);flex-shrink:0;}
.public-page .utilitybar .ub-admissions{display:flex;align-items:center;gap:5px;background:var(--orange);color:#fff;padding:5px 13px;border-radius:999px;font-weight:700;white-space:nowrap;transition:filter .2s ease;flex-shrink:0;}
.public-page .utilitybar .ub-admissions:hover{filter:brightness(1.08);}
.public-page .utilitybar .ub-admissions svg{width:13px;height:13px;flex-shrink:0;}

/* Without this, the tablet range (641-1040px) has no intermediate step
   and the full utility bar overflows/overlaps itself before it ever
   reaches the 640px rule. */
@media (max-width:1040px){
  .public-page .utilitybar .ub-link{display:none;}
  .public-page .utilitybar .ub-right .ub-divider{display:none;}
}
@media (max-width:640px){
  .public-page .utilitybar .wrap{padding:8px 10px;gap:10px;}
  .public-page .utilitybar .ub-brand, .public-page .utilitybar .ub-left .ub-divider{display:none;}
}

/* ---------------------------------------------------------------- header/nav */
.public-page header.site{position:sticky;top:0;left:0;right:0;z-index:100;background:var(--header-bg);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line);transition:box-shadow .3s ease;}
.public-page header.site.scrolled{box-shadow:0 1px 0 var(--line), 0 8px 24px rgba(0,38,77,0.08);}
.public-page .header-inner{max-width:1280px;margin:0 auto;padding:16px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
@media (max-width:640px){.public-page .header-inner{padding:14px 10px;}}
.public-page .logo{display:flex;align-items:center;gap:11px;}
.public-page .logo-full{height:40px;width:auto;}
.public-page .logo-mark-dark, html[data-bs-theme="dark"] .public-page .logo-mark-light{display:none;}
html[data-bs-theme="dark"] .public-page .logo-mark-dark{display:block;}
.public-page .logo-full-dark, html[data-bs-theme="dark"] .public-page .logo-full-light{display:none;}
html[data-bs-theme="dark"] .public-page .logo-full-dark{display:block;}

/* Round mark-only logo — swapped in for the full wordmark on narrow phones
   where there isn't room for it next to search/theme/menu icons. */
.public-page .logo-round{display:none;width:38px;height:38px;border-radius:50%;overflow:hidden;flex-shrink:0;}
.public-page .logo-round img{width:100%;height:100%;object-fit:cover;display:block;}
.public-page .logo-round-dark, html[data-bs-theme="dark"] .public-page .logo-round-light{display:none;}
html[data-bs-theme="dark"] .public-page .logo-round-dark{display:block;}
@media (max-width:640px){
  .public-page .logo-full{display:none !important;}
  .public-page .logo-round{display:block !important;}
}

.public-page nav.links{display:flex;gap:28px;font-size:14.5px;font-weight:600;color:var(--heading);align-items:center;}
.public-page nav.links > a{position:relative;padding-bottom:3px;}
.public-page nav.links > a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--orange);border-radius:2px;transition:width .3s ease;}
.public-page nav.links > a:hover::after{width:100%;}
.public-page nav.links > a.active{color:var(--orange);}
.public-page nav.links > a.active::after{width:100%;}
@media (max-width:1040px){.public-page nav.links{display:none;}}
.public-page nav.links .mega-item{position:relative;display:flex;align-items:center;}
.public-page nav.links .mega-trigger{background:none;border:none;font-size:14.5px;font-weight:600;color:var(--heading);cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:0 0 3px;position:relative;}
.public-page nav.links .mega-trigger::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--orange);border-radius:2px;transition:width .3s ease;}
.public-page nav.links .mega-trigger:hover::after, .public-page nav.links .mega-item.open .mega-trigger::after{width:100%;}
.public-page nav.links .mega-item.open .mega-trigger{color:var(--orange);}
.public-page nav.links .mega-trigger .caret{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px;transition:transform .2s ease;}
.public-page nav.links .mega-item.open .mega-trigger .caret{transform:rotate(-135deg);margin-top:2px;}

.public-page .mega-panel{position:fixed;left:0;width:100%;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 30px 60px rgba(0,38,77,0.16);opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .22s ease, transform .22s ease, visibility .22s ease;z-index:95;}
.public-page .mega-panel.show{opacity:1;visibility:visible;transform:translateY(0);}
.public-page .mega-backdrop{position:fixed;inset:0;background:rgba(0,10,25,0.3);z-index:90;opacity:0;visibility:hidden;transition:opacity .22s ease, visibility .22s ease;}
.public-page .mega-backdrop.show{opacity:1;visibility:visible;}
@media (max-width:1040px){.public-page .mega-panel,.public-page .mega-backdrop{display:none !important;}}

/* Apple-style multi-column campus mega menu (home page's version — used on
   every page per design brief, not just the home page). */
.public-page .apple-mega-inner{max-width:1120px;margin:0 auto;padding:28px 40px 32px;}
.public-page .apple-mega-grid{display:grid;grid-template-columns:1.3fr 1fr 1.1fr;gap:0;}
.public-page .apple-mega-grid.cols-4{grid-template-columns:1.3fr 1fr 1fr 1.1fr;}
.public-page .apple-col{padding:0 36px;border-right:1px solid var(--line);}
.public-page .apple-col:first-child{padding-left:0;}
.public-page .apple-col:last-of-type:not(.apple-mega-cta){border-right:none;}
.public-page .apple-col-title{font-size:12px;font-weight:600;letter-spacing:0.01em;color:var(--muted);margin-bottom:6px;}
.public-page .apple-link{display:block;padding:11px 0;border-bottom:1px solid transparent;}
.public-page .apple-link .al-name{display:block;font-family:var(--display);font-size:16px;font-weight:700;color:var(--heading);transition:color .15s ease;}
.public-page .apple-link .al-desc{display:block;font-size:12px;color:var(--muted);margin-top:2px;}
.public-page .apple-link:hover .al-name{color:var(--orange);}
.public-page .apple-link-sm{display:block;padding:9px 0;font-size:13.5px;font-weight:500;color:var(--ink);transition:color .15s ease;}
.public-page .apple-link-sm:hover{color:var(--orange);}
.public-page .apple-mega-cta{padding-left:36px;}
.public-page .apple-mega-cta-panel{background:linear-gradient(160deg,var(--navy) 0%,#013a73 100%);border-radius:18px;padding:24px 22px;color:#fff;position:relative;overflow:hidden;}
.public-page .apple-mega-cta-panel::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 180px 140px at 100% 0%, rgba(239,126,26,0.30), transparent 60%);}
.public-page .apple-mega-cta-ic{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,0.12);display:flex;align-items:center;justify-content:center;margin-bottom:14px;position:relative;}
.public-page .apple-mega-cta-ic svg{width:18px;height:18px;stroke:var(--orange-light);}
.public-page .apple-mega-cta-panel h4{font-family:var(--display);font-weight:700;font-size:16px;margin-bottom:6px;position:relative;}
.public-page .apple-mega-cta-panel p{font-size:12.5px;color:rgba(255,255,255,0.72);line-height:1.55;margin-bottom:16px;position:relative;}
.public-page .apple-mega-cta-link{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#fff;}
.public-page .apple-mega-cta-link svg{width:13px;height:13px;transition:transform .2s ease;}
.public-page .apple-mega-cta-link:hover svg{transform:translateX(3px);}
.public-page .apple-mega-foot{max-width:1120px;margin:0 auto;padding:18px 40px 28px;border-top:1px solid var(--line);display:flex;gap:28px;flex-wrap:wrap;}
.public-page .apple-mega-foot a{font-size:12.5px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:6px;transition:color .15s ease;}
.public-page .apple-mega-foot a:hover{color:var(--orange);}
.public-page .apple-mega-foot a svg{width:13px;height:13px;}
@media (max-width:1040px){.public-page .apple-mega-grid{grid-template-columns:1fr;}.public-page .apple-col{border-right:none;padding:0 0 24px !important;}.public-page .apple-mega-cta{padding-left:0;}}

/* Mobile full-screen menu — the mockup has no mobile menu at all (nav.links
   just disappears under 1040px); this reuses the same nav content in a
   full-screen overlay (accordion for Campuses, plain links otherwise, a
   search field and a footer CTA) so mobile visitors still get everywhere
   nav.links leads to, instead of a dead end. */
.public-page #mobileMenu{
  position:fixed;left:0;right:0;top:0;bottom:0;background:var(--surface);z-index:160;
  opacity:0;visibility:hidden;transform:translateY(-14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
  display:flex;flex-direction:column;
}
.public-page #mobileMenu.open{opacity:1;visibility:visible;transform:translateY(0);}
.public-page .mm-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0;}
.public-page .mm-logo{display:flex;align-items:center;}
.public-page .mm-logo img{height:30px;width:auto;}
.public-page .mm-logo-dark, html[data-bs-theme="dark"] .public-page .mm-logo-light{display:none;}
html[data-bs-theme="dark"] .public-page .mm-logo-dark{display:block;}
.public-page .mm-search-row{padding:14px 20px;border-bottom:1px solid var(--line);flex-shrink:0;}
.public-page .mm-search{display:flex;align-items:center;gap:10px;background:var(--paper-2);border:1px solid var(--line);border-radius:999px;padding:11px 16px;}
.public-page .mm-search svg{width:16px;height:16px;stroke:var(--muted);flex-shrink:0;}
.public-page .mm-search input{border:none;background:none;outline:none;font-size:14px;color:var(--heading);width:100%;font-family:var(--body);}
.public-page .mm-search input::placeholder{color:var(--muted);}
.public-page #mobileMenu .close{background:var(--paper-2);border:1.5px solid var(--line);border-radius:999px;width:38px;height:38px;font-size:16px;color:var(--muted);flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:all .2s ease;}
.public-page #mobileMenu .close svg{width:15px;height:15px;}
.public-page #mobileMenu .close:hover{border-color:var(--line-strong);color:var(--orange);}
.public-page .mm-body{flex:1;overflow-y:auto;padding:8px 20px 24px;}
.public-page .mm-utility{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);}
.public-page .mm-utility a{font-size:13px;font-weight:600;color:var(--muted);}
.public-page .mm-utility a:hover{color:var(--orange);}
.public-page a.mm-link{display:block;padding:18px 2px;font-family:var(--display);font-weight:700;font-size:23px;color:var(--heading);border-bottom:1px solid var(--line);}
.public-page a.mm-link.active{color:var(--orange);}
.public-page a.mm-link:active{color:var(--orange);}
.public-page .mm-accordion{border-bottom:1px solid var(--line);}
.public-page .mm-acc-trigger{width:100%;background:none;border:none;display:flex;align-items:center;justify-content:space-between;padding:18px 2px;font-family:var(--display);font-weight:700;font-size:23px;color:var(--heading);cursor:pointer;text-align:left;}
.public-page .mm-acc-trigger .mm-caret{width:11px;height:11px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .25s ease;flex-shrink:0;margin-top:-4px;}
.public-page .mm-accordion.open .mm-acc-trigger{color:var(--orange);}
.public-page .mm-accordion.open .mm-acc-trigger .mm-caret{transform:rotate(-135deg);margin-top:4px;border-color:var(--orange);}
.public-page .mm-acc-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease;}
.public-page .mm-accordion.open .mm-acc-panel{grid-template-rows:1fr;}
.public-page .mm-acc-panel-inner{overflow:hidden;}
.public-page .mm-acc-group{padding:6px 0 14px;}
.public-page .mm-acc-group a{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;font-size:15.5px;font-weight:600;color:var(--ink);}
.public-page .mm-acc-group a span{font-size:12px;color:var(--muted);font-weight:600;}
.public-page .mm-acc-group a:active{color:var(--orange);}
.public-page a.mm-acc-all{display:flex;align-items:center;gap:6px;padding:10px 2px 18px;font-size:14px;font-weight:700;color:var(--orange);}
.public-page .mm-foot{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid var(--line);background:var(--surface);}
.public-page .mm-foot .btn{flex:1;justify-content:center;}
@media (min-width:1041px){.public-page #mobileMenu{display:none !important;}}
@media (max-width:640px){
  .public-page .mm-top{padding:16px 10px;}
  .public-page .mm-search-row{padding:14px 10px;}
  .public-page .mm-body{padding:8px 10px 24px;}
  .public-page .mm-foot{padding:16px 10px;}
}

.public-page .nav-toggle-btn{display:none;}
@media (max-width:1040px){
  .public-page .nav-toggle-btn{display:flex;width:38px;height:38px;border-radius:999px;border:1.5px solid var(--line);background:var(--paper-2);color:var(--muted);align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;}
  .public-page .nav-toggle-btn svg{width:17px;height:17px;}
}

.public-page .nav-actions{display:flex;align-items:center;gap:12px;}
.public-page .search-trigger{display:flex;align-items:center;gap:10px;background:var(--paper-2);border:1.5px solid var(--line);border-radius:999px;padding:9px 14px 9px 16px;color:var(--muted);font-size:13.5px;font-weight:600;cursor:pointer;transition:border-color .2s ease, background .2s ease;}
.public-page .search-trigger:hover{border-color:var(--line-strong);background:var(--surface);}
.public-page .search-trigger svg{width:16px;height:16px;stroke:var(--muted);flex-shrink:0;}
.public-page .search-trigger kbd{font-family:var(--body);font-size:11px;font-weight:700;background:var(--surface);border:1px solid var(--line-strong);border-radius:5px;padding:2px 6px;color:var(--muted);}
@media (max-width:640px){
  .public-page .search-trigger span, .public-page .search-trigger kbd{display:none;}
  .public-page .search-trigger{width:38px;height:38px;padding:0;gap:0;justify-content:center;flex-shrink:0;}
}
/* "Request a Call" moves from the navbar into the mobile menu's footer at
   the same breakpoint the menu itself takes over navigation (see
   #mobileMenu / nav.links in the header/nav section above) — never shown
   in both places at once, never in neither. */
@media (max-width:1040px){.public-page .nav-call-btn{display:none;}}

.public-page .theme-toggle{width:38px;height:38px;border-radius:999px;border:1.5px solid var(--line);background:var(--paper-2);color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s ease;}
.public-page .theme-toggle:hover{border-color:var(--line-strong);color:var(--orange);}
.public-page .theme-toggle svg{width:17px;height:17px;}
.public-page .theme-toggle .icon-moon{display:none;}
html[data-bs-theme="dark"] .public-page .theme-toggle .icon-sun{display:none;}
html[data-bs-theme="dark"] .public-page .theme-toggle .icon-moon{display:block;}

/* ---------------------------------------------------------------- profile menu (logged-in staff only) */
.public-page .profile-menu-wrap{position:relative;}
.public-page .profile-trigger{width:38px;height:38px;border-radius:999px;border:none;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:0.02em;transition:all .2s ease;}
.public-page .profile-trigger:hover{background:var(--navy-light);}
.public-page .profile-trigger.profile-trigger-lg{width:44px;height:44px;font-size:15px;cursor:default;}
.public-page .profile-panel{position:absolute;top:calc(100% + 12px);right:0;width:260px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s ease, transform .2s ease, visibility .2s ease;z-index:120;overflow:hidden;}
.public-page .profile-panel.show{opacity:1;visibility:visible;transform:translateY(0);}
.public-page .profile-panel-head{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid var(--line);}
.public-page .profile-panel-head-text{min-width:0;}
.public-page .profile-panel-head-text .name{font-family:var(--display);font-weight:700;font-size:14.5px;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.public-page .profile-panel-head-text .username{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.public-page .profile-panel-body{padding:8px;}
.public-page .profile-menu-item{display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:10px;font-size:13.5px;font-weight:600;color:var(--ink);transition:background .15s ease;}
.public-page .profile-menu-item svg{width:16px;height:16px;stroke:var(--muted);flex-shrink:0;}
.public-page .profile-menu-item:hover{background:var(--paper-2);}
.public-page .profile-menu-item.danger{color:var(--red);}
.public-page .profile-menu-item.danger svg{stroke:var(--red);}
.public-page .profile-menu-divider{height:1px;background:var(--line);margin:8px 4px;}
@media (max-width:640px){.public-page .profile-panel{right:-40px;}}

/* ---------------------------------------------------------------- breadcrumb */
.public-page .crumb{padding-top:16px;padding-bottom:16px;font-size:13px;color:var(--muted);font-weight:600;}
.public-page .crumb a:hover{color:var(--orange);}
.public-page .crumb .sep{margin:0 8px;color:var(--line-strong);}
.public-page .crumb .current{color:var(--heading);}
.public-page .crumb-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:28px;flex-wrap:wrap;}
.public-page .back-link{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:var(--heading);flex-shrink:0;}
.public-page .back-link:hover{color:var(--orange);}
.public-page .back-link svg{width:15px;height:15px;}

/* ---------------------------------------------------------------- page hero (faq/topics/contact) */
.public-page .page-hero{padding:26px 0 44px;text-align:center;position:relative;background:radial-gradient(ellipse 800px 460px at 85% -20%, rgba(239,126,26,0.10), transparent 60%), radial-gradient(circle, var(--dot-color) 1.6px, transparent 1.6px), var(--paper-2);background-size:auto,22px 22px,auto;}
.public-page h1.page-title{font-family:var(--display);font-weight:700;font-size:clamp(30px,4vw,46px);color:var(--heading);margin-top:14px;line-height:1.15;}
.public-page .page-sub{font-size:16px;color:var(--muted);max-width:56ch;margin:14px auto 0;line-height:1.7;}
.public-page .hero-search{max-width:560px;margin:28px auto 0;display:flex;align-items:center;gap:10px;background:var(--surface);border:1.5px solid var(--line-strong);border-radius:999px;padding:8px 8px 8px 22px;box-shadow:var(--shadow-md);}
.public-page .hero-search svg{width:18px;height:18px;stroke:var(--muted);}
.public-page .hero-search input{flex:1;border:none;outline:none;font-size:14.5px;font-family:var(--body);background:transparent;min-width:0;color:var(--ink);}
.public-page .hero-search button{background:var(--orange);color:#fff;border:none;border-radius:999px;padding:12px 22px;font-weight:700;font-size:13.5px;cursor:pointer;}

/* ---------------------------------------------------------------- campus hero (campus detail page) */
.public-page .campus-hero{position:relative;background:radial-gradient(circle, rgba(255,255,255,0.07) 1.6px, transparent 1.6px), linear-gradient(135deg,var(--navy) 0%,#013a73 60%,#0c4d8c 100%);background-size:22px 22px,auto;overflow:hidden;padding:56px 0 0;}
.public-page .campus-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 700px 420px at 88% 0%, rgba(239,126,26,0.20), transparent 60%);}
.public-page .campus-hero-grid{position:relative;display:grid;grid-template-columns:1.2fr 0.8fr;gap:50px;align-items:end;padding-bottom:44px;}
.public-page .campus-badge{width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;margin-bottom:20px;overflow:hidden;}
.public-page .campus-badge img{width:100%;height:100%;object-fit:cover;}
.public-page .campus-badge svg{width:26px;height:26px;stroke:var(--orange-light);}
.public-page h1.campus-title{font-family:var(--display);font-weight:700;font-size:clamp(32px,4.4vw,52px);color:#fff;line-height:1.1;letter-spacing:-0.01em;margin-top:14px;}
.public-page .campus-sub{font-size:16px;line-height:1.7;color:rgba(255,255,255,0.72);max-width:48ch;margin-top:16px;}
.public-page .campus-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;}
.public-page .campus-pill{font-size:12.5px;font-weight:700;color:#fff;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);padding:8px 16px;border-radius:999px;display:flex;align-items:center;gap:7px;}
.public-page .campus-pill b{font-family:var(--display);color:var(--orange-light);}
.public-page .campus-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px;}
.public-page .campus-hero-panel{position:relative;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.16);border-radius:22px;padding:28px;backdrop-filter:blur(6px);}
.public-page .campus-hero-panel h4{font-size:11.5px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:rgba(255,255,255,0.5);margin-bottom:16px;}
.public-page .campus-hero-panel ul{list-style:none;display:flex;flex-direction:column;gap:3px;}
.public-page .campus-hero-panel li a{display:flex;align-items:center;justify-content:space-between;padding:11px 4px;font-size:13.5px;font-weight:600;color:#fff;border-bottom:1px solid rgba(255,255,255,0.1);}
.public-page .campus-hero-panel li:last-child a{border-bottom:none;}
.public-page .campus-hero-panel li a:hover{color:var(--orange-light);}
.public-page .campus-hero-panel li a svg{width:14px;height:14px;stroke:rgba(255,255,255,0.5);flex-shrink:0;}
@media (max-width:900px){.public-page .campus-hero-grid{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- 2-col layout (campus detail / faq) */
.public-page .layout{display:grid;grid-template-columns:260px 1fr;gap:56px;padding-top:70px;padding-bottom:100px;align-items:start;}
.public-page .side-nav{position:sticky;top:96px;}
.public-page .side-nav .grp{margin-bottom:28px;}
.public-page .side-nav h5{font-size:11px;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
/* .facet-head is a <button> wrapping the h5 + a chevron so each facet can
   become its own tap-to-open accordion row on mobile (see the ≤900px
   block below) — on desktop it's reset to look exactly like the plain
   label it replaces, chevron hidden, no button chrome. */
.public-page .facet-head{display:block;width:100%;padding:0;margin:0;background:none;border:none;cursor:default;text-align:left;}
.public-page .facet-head .chev{display:none;}
.public-page .side-nav a.step{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:13.5px;font-weight:600;color:var(--ink);border-left:2px solid var(--line);padding-left:14px;margin-left:1px;transition:all .2s ease;}
.public-page .side-nav a.step:hover, .public-page .side-nav a.step.is-active{color:var(--orange);border-left-color:var(--orange);}
.public-page .side-nav .num{font-family:var(--display);font-size:11px;color:var(--muted);}
.public-page .side-contact{background:var(--paper-2);border:1px solid var(--line);border-radius:16px;padding:20px;}
.public-page .side-contact p{font-size:12.5px;color:var(--muted);line-height:1.6;margin-bottom:12px;}
.public-page .side-contact a.phone{display:block;font-family:var(--display);font-weight:700;font-size:15px;color:var(--heading);margin-bottom:4px;}
.public-page .side-contact a.mail{font-size:12.5px;color:var(--orange);font-weight:600;}
.public-page .form-help-card p{font-size:12.5px;color:var(--muted);line-height:1.6;margin-bottom:12px;}
.public-page .form-help-card a.phone{display:block;font-family:var(--display);font-weight:700;font-size:15px;color:var(--heading);margin-bottom:4px;}
.public-page .form-help-card a.mail{font-size:12.5px;color:var(--orange);font-weight:600;}
.public-page .filter-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;font-size:13.5px;font-weight:600;color:var(--ink);border-left:2px solid var(--line);padding-left:14px;margin-left:1px;cursor:pointer;transition:all .2s ease;background:none;border-top:none;border-right:none;border-bottom:none;width:100%;text-align:left;}
.public-page .filter-chip:hover{color:var(--orange);}
.public-page .filter-chip.is-active{color:var(--orange);border-left-color:var(--orange);}
.public-page .filter-chip .count{font-size:11px;color:var(--muted);font-weight:700;background:var(--paper-2);padding:2px 8px;border-radius:999px;}
.public-page .filter-chip.is-active .count{background:var(--orange-pale);color:var(--orange);}
.public-page .side-help{background:var(--paper-2);border:1px solid var(--line);border-radius:16px;padding:20px;}
.public-page .side-help p{font-size:12.5px;color:var(--muted);line-height:1.6;margin-bottom:14px;}
.public-page .faq-filters-mobile-wrap{display:none;}

/* Faceted sidebar filters (FAQ page) — Campus/Programs/Category, each a
   .facet with an optional "View all" that reveals rows past the first 5
   (marked .facet-extra) in place, no navigation. */
.public-page .facet-list .facet-extra{display:none;}
.public-page .facet.expanded .facet-list .facet-extra{display:flex;}
.public-page .facet-view-all{display:flex;align-items:center;gap:5px;margin-top:8px;margin-left:15px;padding:0;background:none;border:none;font-size:12.5px;font-weight:700;color:var(--orange);cursor:pointer;}
.public-page .facet-view-all .chev{transition:transform .2s ease;}
.public-page .facet.expanded .facet-view-all .chev{transform:rotate(180deg);}

@media (max-width:900px){
  /* Desktop's 70px top padding exists to gap the two-column layout below
     the hero — on mobile the "Filters" bar above already provides that
     separation, so the leftover padding was showing as a big blank gap
     between the bar and the (sticky, now revealed-on-tap) facet panel. */
  .public-page .layout{grid-template-columns:1fr;padding-top:16px;}
  .public-page .side-nav{position:static;display:flex;gap:24px;overflow-x:auto;padding-bottom:8px;}
  .public-page .side-nav .grp{margin-bottom:0;flex-shrink:0;}
  .public-page .side-nav .grp:first-child .filter-chip{border-left:none;border:1.5px solid var(--line-strong);border-radius:999px;padding:8px 16px;flex-shrink:0;white-space:nowrap;}
  .public-page .side-contact, .public-page .side-help{display:none;}
  /* "On this page" / "Quick links" (campus detail) are two lists of plain
     step links, not horizontally-scrolling filter pills like the FAQ
     page's — stack them instead of cramming a second column half off-screen. */
  .public-page .side-nav.side-nav-stack{display:flex;flex-direction:column;overflow-x:visible;gap:0;}
  .public-page .side-nav.side-nav-stack .grp{margin-bottom:24px;flex-shrink:1;}

  /* FAQ page's faceted sidebar: hidden behind a "Filters" bar pinned
     directly under the sticky header — tapping it drops the whole panel
     down, and each facet inside is its own accordion row ("Filter by
     Campus" etc.) that opens just that facet's chip list. Higher
     specificity (.faq-filters, two classes) wins over the plain .side-nav
     rules regardless of source order. */
  /* position:sticky lives on the .wrap div, not the <button> itself —
     some engines apply sticky inconsistently to form-control elements
     (buttons), so the button stays a plain flex box for its visuals and
     the sticky/pin behavior is handled one level up on a normal div. */
  .public-page .faq-filters-mobile-wrap{display:block;position:sticky;top:70px;z-index:60;margin-bottom:16px;}
  .public-page .faq-filters-mobile-bar{
    display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;
    background:var(--surface);border:1px solid var(--line-strong);
    border-radius:12px;padding:13px 16px;font-weight:700;font-size:14px;color:var(--heading);
    box-shadow:var(--shadow-sm);cursor:pointer;
  }
  .public-page .faq-filters-mobile-bar .lbl{display:flex;align-items:center;gap:8px;}
  .public-page .faq-filters-mobile-bar .dot{width:7px;height:7px;border-radius:50%;background:var(--orange);display:none;}
  .public-page .faq-filters-mobile-bar.has-active .dot{display:block;}
  .public-page .faq-filters-mobile-bar .chev{transition:transform .2s ease;flex-shrink:0;}
  .public-page .faq-filters-mobile-bar[aria-expanded="true"] .chev{transform:rotate(180deg);}
  .public-page .faq-filters{
    display:none;position:sticky;top:126px;z-index:55;flex-direction:column;overflow:visible;
    background:var(--surface);border:1px solid var(--line-strong);border-radius:14px;
    padding:0 16px;margin:-8px 0 16px;box-shadow:var(--shadow-sm);gap:0;
    max-height:calc(100vh - 146px);overflow-y:auto;overscroll-behavior:contain;
  }
  .public-page .faq-filters.open{display:flex;}
  .public-page .faq-filters .grp{width:100%;margin:0;flex-shrink:1;border-bottom:1px solid var(--line);}
  .public-page .faq-filters .grp:last-of-type{border-bottom:none;}
  .public-page .facet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:14px 0;background:none;border:none;cursor:pointer;text-align:left;}
  .public-page .facet-head h5{margin-bottom:0;}
  .public-page .facet-head .chev{display:block;transition:transform .2s ease;flex-shrink:0;color:var(--muted);}
  .public-page .facet.mobile-open .facet-head .chev{transform:rotate(180deg);}
  .public-page .faq-filters .facet-list{display:none;padding-bottom:14px;}
  .public-page .facet.mobile-open .facet-list{display:flex;flex-direction:column;}
  .public-page .faq-filters .filter-chip,
  .public-page .faq-filters .grp:first-child .filter-chip{
    border:none;border-left:2px solid var(--line);border-radius:0;padding:9px 0 9px 14px;white-space:normal;flex-shrink:1;
  }
  .public-page .faq-filters .filter-chip.is-active,
  .public-page .faq-filters .grp:first-child .filter-chip.is-active{border-left-color:var(--orange);}
  .public-page .faq-filters .facet-view-all{margin:0 0 14px 15px;}
}

.public-page .content-section{margin-bottom:64px;}
.public-page .content-head{display:flex;align-items:baseline;gap:14px;margin-bottom:8px;}
.public-page .content-head .idx{font-family:var(--display);font-weight:700;font-size:14px;color:var(--orange);}
.public-page .content-head h2{font-family:var(--display);font-weight:700;font-size:clamp(24px,2.6vw,32px);color:var(--heading);}
.public-page .content-desc{color:var(--muted);font-size:15px;line-height:1.7;margin-bottom:32px;max-width:60ch;}

/* ---------------------------------------------------------------- form cards (campus detail forms grid) */
.public-page .form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.public-page .form-card{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 20px;transition:all .25s ease;}
.public-page .form-card:hover{border-color:var(--orange);box-shadow:var(--shadow-sm);transform:translateY(-3px);}
/* Program cards reuse .form-card's layout but aren't links to anywhere —
   no hover-as-clickable cue, and the description can run past one line. */
.public-page .form-card.program-card{align-items:flex-start;}
.public-page .form-card.program-card:hover{border-color:var(--line);box-shadow:none;transform:none;}
.public-page .form-card.program-card:hover .ic{background:var(--navy-pale);color:var(--heading);}
.public-page .form-card .ic{width:42px;height:42px;border-radius:12px;background:var(--navy-pale);color:var(--heading);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.public-page .form-card:hover .ic{background:var(--orange);color:#fff;}
.public-page .form-card .tx{flex:1;min-width:0;}
.public-page .form-card h4{font-family:var(--display);font-weight:700;font-size:15px;color:var(--heading);margin-bottom:3px;}
.public-page .form-card p{font-size:12px;color:var(--muted);font-weight:600;}
.public-page .form-card .go{width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--heading);flex-shrink:0;transition:all .25s ease;}
.public-page .form-card .go svg{width:13px;height:13px;}
.public-page .form-card:hover .go{background:var(--navy);border-color:var(--navy);color:#fff;transform:rotate(45deg);}
@media (max-width:640px){.public-page .form-grid{grid-template-columns:1fr;}}
.public-page .form-card.urgent{border-color:var(--orange-pale);background:var(--orange-pale);}
.public-page .form-card.urgent .ic{background:var(--surface);color:var(--orange);}
.public-page .form-card.urgent:hover .ic{background:var(--orange);color:#fff;}

/* ---------------------------------------------------------------- FAQ empty state / accordion */
.public-page .faq-empty{background:var(--paper-2);border:1.5px dashed var(--line-strong);border-radius:20px;padding:48px 40px;text-align:center;}
.public-page .faq-empty .ic, .public-page .faq-empty-all .ic{width:56px;height:56px;border-radius:16px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:var(--muted);}
.public-page .faq-empty .ic svg, .public-page .faq-empty-all .ic svg{width:26px;height:26px;}
.public-page .faq-empty h3, .public-page .faq-empty-all h3{font-family:var(--display);font-weight:700;font-size:19px;color:var(--heading);margin-bottom:8px;}
.public-page .faq-empty p, .public-page .faq-empty-all p{font-size:14px;color:var(--muted);max-width:44ch;margin:0 auto 24px;line-height:1.65;}
.public-page .faq-empty .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

.public-page .faq-list{display:flex;flex-direction:column;gap:12px;}
.public-page .faq-item{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:border-color .2s ease;}
.public-page .faq-item.is-open{border-color:var(--line-strong);box-shadow:var(--shadow-sm);}
.public-page .faq-q{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;font-weight:700;font-size:14.5px;color:var(--heading);}
.public-page .faq-q>span:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
.public-page .faq-q .tpc{font-size:10.5px;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:var(--orange);background:var(--orange-pale);padding:3px 9px;border-radius:6px;}
.public-page .faq-q .plus{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line-strong);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;transition:all .2s ease;}
.public-page .faq-q .plus::before, .public-page .faq-q .plus::after{content:"";position:absolute;background:var(--navy);transition:transform .25s ease, opacity .25s ease;}
.public-page .faq-q .plus::before{width:10px;height:1.5px;}
.public-page .faq-q .plus::after{width:1.5px;height:10px;}
.public-page .faq-item.is-open .plus{background:var(--orange);border-color:var(--orange);}
.public-page .faq-item.is-open .plus::before, .public-page .faq-item.is-open .plus::after{background:#fff;}
.public-page .faq-item.is-open .plus::after{transform:rotate(90deg) scaleY(0);opacity:0;}
.public-page .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.public-page .faq-a-inner{padding:0 20px 20px;font-size:13.5px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;}
.public-page .faq-item.hide, .public-page .faq-campus-group.hide, .public-page .faq-view-all.hide{display:none;}
.public-page .faq-item.page-hide{display:none;}
.public-page .faq-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px;}
.public-page .faq-pager-info{font-size:13px;font-weight:700;color:var(--muted);}
.public-page .faq-pager .btn:disabled{opacity:.4;cursor:default;pointer-events:none;}
.public-page .faq-view-all{display:flex;align-items:center;justify-content:center;gap:6px;padding:14px 20px;margin-top:-2px;border:1.5px dashed var(--line-strong);border-radius:16px;font-size:13px;font-weight:700;color:var(--heading);transition:all .2s ease;}
.public-page .faq-view-all svg{width:14px;height:14px;transition:transform .2s ease;}
.public-page .faq-view-all:hover{border-color:var(--orange);color:var(--orange);}
.public-page .faq-view-all:hover svg{transform:translateX(3px);}

.public-page .faq-campus-group{margin-bottom:52px;}
.public-page .faq-campus-head{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.public-page .faq-campus-head h2{font-family:var(--display);font-weight:700;font-size:22px;color:var(--heading);}
.public-page .faq-campus-head .cnt{font-size:12px;font-weight:700;color:var(--muted);background:var(--paper-2);padding:4px 10px;border-radius:999px;}

/* Campus detail page's Programs Offered groups — same look as
   .faq-campus-group/.faq-campus-head above, but a distinct class so the
   sitewide FAQ page's campus-chip filter (which targets .faq-campus-group
   specifically) never touches these program-category blocks. */
.public-page .dept-group{margin-bottom:52px;}
.public-page .dept-group:last-child{margin-bottom:0;}
.public-page .dept-group-head{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.public-page .dept-group-head h2{font-family:var(--display);font-weight:700;font-size:22px;color:var(--heading);}
.public-page .dept-group-head .cnt{font-size:12px;font-weight:700;color:var(--muted);background:var(--paper-2);padding:4px 10px;border-radius:999px;}
.public-page .faq-campus-programs{margin-bottom:24px;}
.public-page .faq-campus-programs h5{font-size:11px;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
.public-page .faq-empty-all{background:var(--paper-2);border:1.5px dashed var(--line-strong);border-radius:20px;padding:48px 40px;text-align:center;display:none;}
.public-page .faq-empty-all.show{display:block;}

/* ---------------------------------------------------------------- contact channel cards (compact, campus detail) */
.public-page .channel-grid-sm{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.public-page .channel-grid-sm .channel-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;transition:all .3s ease;}
.public-page .channel-grid-sm .channel-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:transparent;}
.public-page .channel-grid-sm .channel-card .ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.public-page .channel-grid-sm .channel-card.c1 .ic{background:var(--navy-pale);color:var(--heading);}
.public-page .channel-grid-sm .channel-card.c2 .ic{background:var(--orange-pale);color:var(--orange);}
.public-page .channel-grid-sm .channel-card h4{font-family:var(--display);font-weight:700;font-size:15.5px;color:var(--heading);margin-bottom:7px;}
.public-page .channel-grid-sm .channel-card p{font-size:12.5px;color:var(--muted);line-height:1.6;margin-bottom:14px;}
.public-page .channel-grid-sm .channel-card .go{font-size:13px;font-weight:700;color:var(--orange);display:inline-flex;align-items:center;gap:5px;}
@media (max-width:640px){.public-page .channel-grid-sm{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- switch strip (other campuses) */
.public-page .switch-strip{background:var(--paper-2);border-top:1px solid var(--line);padding:56px 0;overflow:hidden;}
.public-page .switch-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:26px;flex-wrap:wrap;gap:10px;}
.public-page .switch-head h3{font-family:var(--display);font-weight:700;font-size:20px;color:var(--heading);}

/* Card visual: full-bleed campus photo on the right, fading into a solid
   navy panel on the left that carries the label + CTA — matches the
   reference "PESU RR/EC/HN Campus" tile design. */
.public-page .switch-card{position:relative;flex:0 0 auto;display:flex;flex-direction:column;justify-content:space-between;width:300px;min-height:180px;border-radius:18px;padding:32px 26px;overflow:hidden;background:radial-gradient(circle, rgba(255,255,255,0.07) 1.6px, transparent 1.6px), linear-gradient(150deg, var(--navy), var(--navy-light));background-size:18px 18px, auto;transition:transform .3s ease, box-shadow .3s ease;}
.public-page .switch-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,38,77,0.28);}
.public-page .switch-card .lbl, .public-page .switch-card .meta{position:relative;z-index:2;}
.public-page .switch-card .lbl{font-family:var(--display);font-weight:700;font-size:19px;color:#fff;}
.public-page .switch-card .meta{font-size:12.5px;color:var(--orange-light);font-weight:700;display:flex;align-items:center;gap:5px;}
.public-page .switch-card-arrow{position:absolute;top:18px;right:18px;z-index:2;width:32px;height:32px;border-radius:50%;border:1.5px solid rgba(255,255,255,0.5);background:rgba(255,255,255,0.08);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;color:#fff;transition:all .25s ease;}
.public-page .switch-card-arrow svg{width:14px;height:14px;}
.public-page .switch-card:hover .switch-card-arrow{background:var(--orange);border-color:var(--orange);transform:rotate(45deg);}
/* Photo sits in the right 60% of the card and fades in via a mask
   (not an opaque overlay), so the card's own dotted-navy background shows
   *through* the photo's own fading edge instead of being painted over —
   clear photo only in the rightmost ~40%, blending into the dots before
   that, matching the reference tile design. */
.public-page .switch-card.has-image .switch-card-bg{
  position:absolute;top:0;right:0;bottom:0;width:60%;
  background-size:cover;background-position:center;z-index:0;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 34%);
  mask-image:linear-gradient(to right, transparent 0%, #000 34%);
}

/* Always a single row that auto-scrolls right-to-left on loop, at every
   screen size — never wraps to a second line. The track renders the card
   list twice back-to-back and animates exactly one copy-width of
   translation, so the loop seams invisibly. */
.public-page .switch-row-marquee{overflow:hidden;margin:-20px -4px -44px;padding:0 4px;}
.public-page .switch-marquee-track{display:flex;gap:18px;width:max-content;padding:20px 0 44px;animation:switchMarquee 32s linear infinite;}
.public-page .switch-row-marquee:hover .switch-marquee-track{animation-play-state:paused;}
@keyframes switchMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce){.public-page .switch-marquee-track{animation:none;}}

@media (max-width:640px){
  .public-page .switch-marquee-track{gap:14px;animation-duration:24s;}
  .public-page .switch-card{width:240px;min-height:156px;padding:20px 22px;}
  .public-page .switch-card .lbl{font-size:16.5px;}
}

/* ---------------------------------------------------------------- footer */
.public-page footer.site{background:var(--navy);color:rgba(255,255,255,0.86);padding:70px 0 0;}
.public-page .foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:50px;border-bottom:1px solid rgba(255,255,255,0.1);}
.public-page .foot-logo{display:flex;align-items:center;gap:11px;}
.public-page .foot-col h4{font-size:12px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.4);margin-bottom:18px;}
.public-page .foot-col a, .public-page .foot-col .contact-line{display:block;font-size:13.5px;color:rgba(255,255,255,0.75);margin-bottom:13px;line-height:1.6;}
.public-page .foot-col a:hover{color:var(--orange-light);}
.public-page .foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:26px 0;font-size:12px;color:rgba(255,255,255,0.4);}
.public-page .site-footer-social{display:flex;align-items:center;gap:14px;padding:22px 0;justify-content:center;border-top:1px solid rgba(255,255,255,0.1);}
.public-page .site-footer-social span{font-size:12px;color:rgba(255,255,255,0.5);font-weight:600;margin-right:6px;}
.public-page .site-footer-social a{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;color:#fff;transition:background .2s ease;}
.public-page .site-footer-social a:hover{background:var(--orange);}
@media (max-width:900px){.public-page .foot-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.public-page .foot-grid{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- search overlay */
/* Full-screen dark blurred-backdrop search — no card/panel background by
   design: only the search input itself is a solid (white) pill, everything
   else (header, quick filters, tags) floats directly on the blurred
   backdrop, same as the reference "navbar icon + full-screen overlay"
   search design this was built from. */
.public-page .icon{width:1em;height:1em;display:inline-block;vertical-align:-0.125em;fill:currentColor;}

.public-page .srch-overlay{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:8vh;opacity:0;visibility:hidden;transition:opacity .22s ease, visibility .22s ease;font-family:var(--body);}
.public-page .srch-overlay.srch-open{opacity:1;visibility:visible;}
.public-page .srch-overlay.srch-open .srch-panel{transform:translateY(0) scale(1);opacity:1;}
.public-page .srch-backdrop{position:absolute;inset:0;background:rgba(0,8,24,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.public-page .srch-panel{position:relative;z-index:1;width:100%;max-width:660px;padding:0 20px 40px;transform:translateY(-18px) scale(.97);opacity:0;transition:transform .32s cubic-bezier(.34,1.56,.64,1), opacity .22s;}

.public-page .srch-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;}
.public-page .srch-brand{font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.35);display:flex;align-items:center;gap:.45rem;}
.public-page .srch-brand .icon{color:var(--orange);font-size:.85rem;}
.public-page .srch-close-btn{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.6);border-radius:9px;padding:.4rem .85rem;cursor:pointer;font-size:.78rem;font-weight:600;transition:background .15s, color .15s;}
.public-page .srch-close-btn:hover{background:rgba(255,255,255,.18);color:#fff;}
.public-page .srch-close-btn .icon{font-size:.95rem;}
.public-page .srch-close-btn kbd{font-size:.6rem;font-family:inherit;font-weight:700;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:4px;padding:1px 5px;}

.public-page .srch-form{margin-bottom:22px;}
.public-page .srch-input-wrap{display:flex;align-items:center;background:#fff;border-radius:999px;padding:6px 6px 6px 22px;box-shadow:0 24px 64px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.2);}
.public-page .srch-ico{color:#9ca3af;font-size:1.1rem;flex-shrink:0;}
.public-page .srch-input::placeholder{color:#9ca3af;}
.public-page .srch-go-btn{width:50px;height:50px;border-radius:50%;flex-shrink:0;background:var(--navy);border:none;color:#fff;font-size:1.3rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s, transform .15s;}
.public-page .srch-go-btn:hover{background:var(--orange);transform:scale(1.06);}

.public-page .srch-section{margin-bottom:18px;}
.public-page .srch-section-label{display:flex;align-items:center;gap:.4rem;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.3);margin-bottom:10px;}
.public-page .srch-section-label .icon{color:var(--orange);font-size:.7rem;}

.public-page .srch-chips{display:flex;flex-wrap:wrap;gap:8px;}
.public-page .srch-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.36rem .88rem;border-radius:50px;font-size:.775rem;font-weight:600;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);color:rgba(255,255,255,.65);text-decoration:none;transition:background .15s, color .15s, transform .15s, border-color .15s;}
.public-page .srch-chip:hover{background:rgba(255,255,255,.18);color:#fff;transform:translateY(-2px);border-color:rgba(255,255,255,.3);}
.public-page .srch-chip-red{background:rgba(220,38,38,.2);border-color:rgba(220,38,38,.3);color:#fca5a5;}
.public-page .srch-chip-red:hover{background:rgba(220,38,38,.4);color:#fff;}
.public-page .srch-chip-orange{background:rgba(239,126,26,.2);border-color:rgba(239,126,26,.3);color:#fdba74;}
.public-page .srch-chip-orange:hover{background:rgba(239,126,26,.4);color:#fff;}
.public-page .srch-chip-navy{background:rgba(97,185,240,.15);border-color:rgba(97,185,240,.28);color:#93c5fd;}
.public-page .srch-chip-navy:hover{background:rgba(97,185,240,.3);color:#fff;}
.public-page .srch-chip-tag{font-size:.72rem;color:rgba(255,255,255,.5);}
.public-page .srch-chip-tag:hover{color:#fff;}

.public-page .srch-hint{text-align:center;font-size:.7rem;color:rgba(255,255,255,.2);margin:0;}
.public-page .srch-hint kbd{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:4px;padding:1px 6px;font-size:.65rem;font-family:inherit;color:rgba(255,255,255,.4);}

@media (max-width:480px){
  .public-page .srch-overlay{padding-top:5vh;}
  .public-page .srch-form input.srch-input{font-size:1rem;padding:8px 10px;}
  .public-page .srch-go-btn{width:44px;height:44px;}
  .public-page .srch-hint{display:none;}
}

.public-page ::-webkit-scrollbar{width:8px;height:8px;}
.public-page ::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px;}

/* ---------------------------------------------------------------- home page hero */
.public-page .hero{position:relative;padding:76px 40px 0;background:
    radial-gradient(ellipse 900px 520px at 90% -10%, rgba(239,126,26,0.10), transparent 60%),
    radial-gradient(ellipse 760px 540px at -8% 90%, rgba(0,38,77,0.07), transparent 60%),
    radial-gradient(circle, var(--dot-color) 1.6px, transparent 1.6px),
    var(--paper-2);background-size:auto,auto,22px 22px,auto;overflow:hidden;}
@media (max-width:640px){.public-page .hero{padding:56px 10px 0;}}
.public-page .hero-inner{max-width:900px;margin:0 auto;text-align:center;}
.public-page h1.hero-title{font-family:var(--display);font-weight:700;font-size:clamp(32px,4.6vw,52px);line-height:1.14;letter-spacing:-0.01em;color:var(--heading);margin-top:18px;}
.public-page h1.hero-title em{font-style:italic;font-weight:500;color:var(--orange);}
.public-page .hero-sub{font-size:17px;line-height:1.7;color:var(--muted);max-width:52ch;margin:18px auto 0;}
.public-page .hero-chips{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:20px;}
.public-page .hero-chips a{font-size:13px;font-weight:600;color:var(--heading);background:var(--navy-pale);border:1px solid transparent;padding:8px 16px;border-radius:999px;transition:all .2s ease;}
.public-page .hero-chips a:hover{background:var(--orange-pale);color:#b85e0f;}
/* 1200px, not 1280px — .wrap is 1280px wide *including* its own 40px
   side padding, so every other section's actual content sits in a
   1200px column. Matching that (not the 1280px padding-box) is what
   makes this card's edges line up with the campus grid / topic grid /
   everything else below it instead of bleeding 40px wider on each side. */
.public-page .hero-stats{max-width:1200px;width:100%;margin:56px auto 0;background:var(--navy);border-radius:24px 24px 0 0;position:relative;overflow:hidden;box-sizing:border-box;}
.public-page .hero-stats-grid{padding:0 40px;display:grid;grid-template-columns:repeat(4,1fr);box-sizing:border-box;}
.public-page .hstat{padding:34px 20px 30px 0;border-right:1px solid rgba(255,255,255,0.14);min-width:0;}
.public-page .hstat:last-child{border-right:none;}
.public-page .hstat .num{font-family:var(--display);font-weight:700;font-size:clamp(20px,2vw,28px);color:#fff;}
.public-page .hstat .lbl{font-size:12px;font-weight:500;color:rgba(255,255,255,0.62);margin-top:9px;line-height:1.5;max-width:20ch;}
@media (max-width:850px){.public-page .hero-stats-grid{grid-template-columns:repeat(2,1fr);}.public-page .hstat{padding:24px 16px 22px 0;}}

.public-page section.block{padding:100px 0;}
.public-page section.procedure{background:var(--paper-2);}
.public-page .section-head{max-width:680px;margin:0 auto 52px;text-align:center;}
.public-page .section-head.left{margin:0 0 44px;text-align:left;max-width:640px;}
.public-page .section-head h2{font-family:var(--display);font-weight:700;font-size:clamp(27px,3.2vw,40px);margin-top:14px;color:var(--heading);line-height:1.18;}
.public-page .section-head p{color:var(--muted);font-size:16px;line-height:1.7;margin-top:15px;max-width:62ch;}
.public-page .section-head.center p{margin-left:auto;margin-right:auto;}
.public-page .section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:44px;flex-wrap:wrap;}
@media (max-width:600px){.public-page section.block{padding:70px 0;}}

.public-page [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);}
.public-page [data-reveal].is-visible{opacity:1;transform:translateY(0);}

/* ---------------------------------------------------------------- campus cards (home) */
/* Reuses the same .switch-card tile + .switch-row-marquee auto-scroll
   strip as the "other campuses" row on the campus detail page (see
   below) — a single right-to-left scrolling row, never wraps. */

/* ---------------------------------------------------------------- topic cards */
.public-page .topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.public-page .topic-grid.topic-grid-sm{display:flex;flex-wrap:wrap;gap:18px;}
.public-page .topic-card{display:flex;gap:16px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;transition:all .25s ease;}
.public-page .topic-card:hover{border-color:var(--orange);box-shadow:var(--shadow-sm);transform:translateY(-3px);}
.public-page .topic-card .ic{width:42px;height:42px;border-radius:12px;background:var(--orange-pale);color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.public-page .topic-card h4{font-family:var(--display);font-weight:700;font-size:15.5px;color:var(--heading);margin-bottom:5px;}
.public-page .topic-card p{font-size:13px;color:var(--muted);line-height:1.55;}
@media (max-width:980px){.public-page .topic-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.public-page .topic-grid{grid-template-columns:1fr;}}

/* Topics page's own card variant (column layout, top row + arrow + meta) */
.public-page .group{margin-bottom:56px;}
.public-page .group-head{display:flex;align-items:baseline;gap:12px;margin-bottom:22px;}
.public-page .group-head .n{font-family:var(--display);font-weight:700;font-size:13px;color:var(--orange);}
.public-page .group-head h2{font-family:var(--display);font-weight:700;font-size:22px;color:var(--heading);}
.public-page .group-head p{font-size:13.5px;color:var(--muted);margin-left:auto;}
/* On very narrow phones a long group name (e.g. "Admissions & Academics")
   wraps to 2 lines; align-items:baseline then pins the count beside just
   the first line, leaving it looking detached from the heading. */
@media (max-width:380px){
  .public-page .group-head{flex-wrap:wrap;}
  .public-page .group-head p{margin-left:0;}
}
.public-page .topic-grid-col{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.public-page .topic-card-col{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;transition:all .25s ease;}
.public-page .topic-card-col:hover{border-color:var(--orange);box-shadow:var(--shadow-sm);transform:translateY(-4px);}
.public-page .topic-card-col .top{display:flex;align-items:flex-start;justify-content:space-between;}
.public-page .topic-card-col .ic{width:44px;height:44px;border-radius:12px;background:var(--orange-pale);color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.public-page .topic-card-col .arrow{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--heading);flex-shrink:0;transition:all .25s ease;}
.public-page .topic-card-col .arrow svg{width:12px;height:12px;}
.public-page .topic-card-col:hover .arrow{background:var(--navy);border-color:var(--navy);color:#fff;transform:rotate(45deg);}
.public-page .topic-card-col h4{font-family:var(--display);font-weight:700;font-size:16px;color:var(--heading);}
.public-page .topic-card-col p{font-size:12.5px;color:var(--muted);line-height:1.6;}
.public-page .topic-card-col .meta{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:0.04em;margin-top:auto;padding-top:6px;}
@media (max-width:980px){.public-page .topic-grid-col{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.public-page .topic-grid-col{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- get started (home) */
.public-page .cta-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:900px){.public-page .cta-row{grid-template-columns:1fr;}}
.public-page .cta-card{border-radius:22px;padding:32px 30px;display:flex;flex-direction:column;gap:14px;}
.public-page .cta-card.navy-card{background:radial-gradient(ellipse 420px 220px at 90% 0%, rgba(255,154,69,0.18), transparent 60%), linear-gradient(150deg, var(--navy) 0%, #001830 100%);color:#fff;}
.public-page .cta-card.line-card{background:var(--surface);border:1px solid var(--line);}
.public-page .cta-card .ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;}
.public-page .cta-card.navy-card .ic{background:rgba(255,255,255,0.1);}
.public-page .cta-card.line-card .ic{background:var(--orange-pale);}
.public-page .cta-card .ic svg{stroke:var(--orange-light);}
.public-page .cta-card.line-card .ic svg{stroke:var(--orange);}
.public-page .cta-card h3{font-family:var(--display);font-weight:700;font-size:19px;}
.public-page .cta-card.line-card h3{color:var(--heading);}
.public-page .cta-card p{font-size:13.5px;line-height:1.65;}
.public-page .cta-card.navy-card p{color:rgba(255,255,255,0.7);}
.public-page .cta-card.line-card p{color:var(--muted);}
.public-page .cta-events{display:flex;flex-direction:column;gap:0;margin-top:4px;}
.public-page .cta-event-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.12);align-items:baseline;}
.public-page .cta-event-item:last-child{border-bottom:none;}
.public-page .cta-event-item .ev-date{font-size:11px;font-weight:800;color:var(--orange-light);flex-shrink:0;width:52px;}
.public-page .cta-event-item .ev-name{font-size:12.5px;color:rgba(255,255,255,0.85);line-height:1.4;}
.public-page .cta-card.line-card .cta-event-item{border-bottom-color:var(--line);}
.public-page .cta-card.line-card .cta-event-item .ev-date{color:var(--orange);}
.public-page .cta-card.line-card .cta-event-item .ev-name{color:var(--ink);}

.public-page .start-card{background:var(--surface);border-radius:22px;border:1px solid var(--line);overflow:hidden;transition:transform .3s ease, box-shadow .3s ease;}
.public-page .start-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.public-page .start-panel{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;position:relative;}
.public-page .start-panel svg{width:56px;height:56px;stroke-width:1.5;color:#fff;position:relative;z-index:2;}
.public-page .start-panel.p1{background:linear-gradient(135deg,var(--navy),var(--navy-light));}
.public-page .start-panel.p2{background:linear-gradient(135deg,#0f3a63,#1c5a94);}
.public-page .start-panel.p3{background:linear-gradient(135deg,var(--orange),#f5a041);}
.public-page .start-num{position:absolute;top:16px;left:18px;font-family:var(--display);font-weight:700;font-size:13px;color:rgba(255,255,255,0.6);z-index:2;}
.public-page .start-body{padding:22px 24px 26px;}
.public-page .start-body h3{font-family:var(--display);font-weight:700;font-size:18px;color:var(--heading);margin-bottom:8px;}
.public-page .start-body p{font-size:13.5px;color:var(--muted);line-height:1.6;margin-bottom:16px;}
.public-page .start-body a{font-size:13.5px;font-weight:700;color:var(--orange);display:inline-flex;align-items:center;gap:6px;}
.public-page .start-body a svg{width:14px;height:14px;transition:transform .2s ease;}
.public-page .start-body a:hover svg{transform:translateX(3px);}
.public-page .start-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
@media (max-width:980px){.public-page .start-grid{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- home FAQ preview (tabs, not the full FAQ page) */
.public-page .faq-layout{display:grid;grid-template-columns:1fr 320px;gap:44px;align-items:start;}
@media (max-width:900px){.public-page .faq-layout{grid-template-columns:1fr;}}
.public-page .faq-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:34px;}
.public-page .faq-tab{padding:11px 20px;border-radius:999px;font-size:13.5px;font-weight:700;border:1.5px solid var(--line-strong);color:var(--heading);background:var(--surface);cursor:pointer;transition:all .25s ease;}
.public-page .faq-tab:hover{border-color:var(--orange);color:var(--orange);}
.public-page .faq-tab.is-active{background:var(--navy);border-color:var(--navy);color:#fff;}
.public-page .faq-side-card{background:linear-gradient(160deg,var(--navy) 0%,#013a73 100%);border-radius:22px;padding:32px 28px;color:#fff;position:sticky;top:96px;overflow:hidden;}

/* ---------------------------------------------------------------- programs directory filter bar */
.public-page .prog-filter-bar{background:var(--paper-2);border:1px solid var(--line);border-radius:20px;padding:24px 26px;}
.public-page .prog-filter-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.public-page .prog-filter-group{flex:1;min-width:0;}
.public-page .prog-filter-label{font-size:11px;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
.public-page .prog-filter-pills{display:flex;gap:10px;flex-wrap:wrap;}
.public-page .prog-filter-pills .faq-tab{padding:9px 18px;font-size:13px;}
.public-page .prog-filter-select-wrap{position:relative;flex-shrink:0;}
.public-page .prog-filter-select{appearance:none;-webkit-appearance:none;background:var(--surface);border:1.5px solid var(--line-strong);border-radius:999px;padding:11px 40px 11px 20px;font-size:13.5px;font-weight:700;color:var(--heading);font-family:var(--body);cursor:pointer;transition:border-color .2s ease;}
.public-page .prog-filter-select:hover, .public-page .prog-filter-select:focus{border-color:var(--orange);outline:none;}
.public-page .prog-filter-select-chev{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;}
.public-page .prog-filter-foot{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);}
.public-page .prog-filter-clear{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:var(--surface);border:1.5px solid var(--line-strong);border-radius:999px;font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer;transition:all .2s ease;}
.public-page .prog-filter-clear:hover{border-color:var(--red);color:var(--red);}
.public-page .prog-filter-clear.is-active{border-color:var(--orange);color:var(--orange);}
.public-page #programsGrid .form-card.hide{display:none;}
@media (max-width:640px){
  .public-page .prog-filter-bar{padding:18px 16px;}
  .public-page .prog-filter-select-wrap{width:100%;}
  .public-page .prog-filter-select{width:100%;}
}

/* ---------------------------------------------------------------- custom select (csel) — replaces a native <select> with a
   pill button that opens a floating option panel (checkmark on the active
   row), for filters that need real custom styling instead of the browser's
   own dropdown chrome. See initCustomSelects() in scripts.js. */
.public-page .csel-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px;}
.public-page .csel{position:relative;flex-shrink:0;}
.public-page .csel-btn{appearance:none;-webkit-appearance:none;margin:0;display:inline-flex;align-items:center;gap:10px;width:100%;padding:11px 18px;border-radius:999px;border:1.5px solid var(--line-strong);background:var(--surface);font-family:var(--body);font-size:13.5px;font-weight:700;color:var(--heading);cursor:pointer;transition:border-color .2s ease,color .2s ease;}
.public-page .csel-btn:hover{border-color:var(--orange);}
.public-page .csel.is-open .csel-btn{border-color:var(--orange);color:var(--orange);}
.public-page .csel-btn-label{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.public-page .csel-btn-chev{flex-shrink:0;color:var(--muted);transition:transform .2s ease;}
.public-page .csel.is-open .csel-btn-chev{transform:rotate(180deg);color:var(--orange);}
.public-page .csel-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:40;min-width:100%;width:max-content;max-width:280px;max-height:320px;overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:8px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;}
.public-page .csel.is-open .csel-panel{opacity:1;visibility:visible;transform:translateY(0);}
.public-page .csel-opt{appearance:none;-webkit-appearance:none;margin:0;border:none;background:none;box-shadow:none;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:10px 12px;border-radius:8px;font-family:var(--body);font-size:14px;font-weight:500;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s ease;}
.public-page .csel-opt:hover{background:var(--paper-2);}
.public-page .csel-opt.is-active{color:var(--orange);font-weight:700;}
.public-page .csel-opt-check{flex-shrink:0;color:var(--orange);opacity:0;}
.public-page .csel-opt.is-active .csel-opt-check{opacity:1;}
@media (max-width:640px){.public-page .csel{width:100%;}}
.public-page .faq-side-card::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 260px 200px at 90% -10%, rgba(239,126,26,0.28), transparent 60%);}
.public-page .faq-side-ic{width:60px;height:60px;border-radius:16px;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;margin-bottom:20px;position:relative;}
.public-page .faq-side-ic svg{width:28px;height:28px;stroke:var(--orange-light);}
.public-page .faq-side-card h3{font-family:var(--display);font-weight:700;font-size:21px;margin-bottom:10px;position:relative;line-height:1.3;}
.public-page .faq-side-card > p{font-size:13.5px;color:rgba(255,255,255,0.72);line-height:1.65;margin-bottom:22px;position:relative;}
.public-page .faq-side-stats{list-style:none;display:flex;flex-direction:column;position:relative;margin-bottom:24px;}
.public-page .faq-side-stats li{display:flex;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.14);font-size:12.5px;color:rgba(255,255,255,0.72);}
.public-page .faq-side-stats li:last-child{border-bottom:none;}
.public-page .faq-side-stats li b{font-family:var(--display);font-weight:700;font-size:17px;color:#fff;flex-shrink:0;min-width:58px;}
.public-page .faq-side-card .btn{position:relative;width:100%;justify-content:center;}
@media (max-width:900px){.public-page .faq-side-card{position:static;}}

/* ---------------------------------------------------------------- contact channels (4-up, home + contact page) */
.public-page .channel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.public-page .channel-grid .channel-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px 24px;text-align:left;transition:all .3s ease;}
.public-page .channel-grid .channel-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:transparent;}
.public-page .channel-grid .channel-card .ic{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.public-page .channel-grid .channel-card.c1 .ic{background:var(--navy-pale);color:var(--heading);}
.public-page .channel-grid .channel-card.c2 .ic{background:var(--orange-pale);color:var(--orange);}
.public-page .channel-grid .channel-card.c3 .ic{background:var(--green-pale);color:var(--green);}
.public-page .channel-grid .channel-card.c4 .ic{background:var(--navy-pale-2);color:var(--heading);}
.public-page .channel-grid .channel-card h4{font-family:var(--display);font-weight:700;font-size:16.5px;color:var(--heading);margin-bottom:8px;}
.public-page .channel-grid .channel-card p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:16px;min-height:58px;}
.public-page .channel-grid .channel-card .meta-line{font-size:12px;color:var(--muted);font-weight:600;margin-bottom:14px;display:flex;align-items:center;gap:6px;}
.public-page .channel-grid .channel-card .go{font-size:13px;font-weight:700;color:var(--orange);display:inline-flex;align-items:center;gap:5px;}
@media (max-width:980px){.public-page .channel-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.public-page .channel-grid{grid-template-columns:1fr;}}

/* ---------------------------------------------------------------- trust band + updates + cta band (home) */
.public-page .trust-band{background:var(--navy);position:relative;overflow:hidden;}
.public-page .trust-band::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 700px 400px at 15% 20%, rgba(239,126,26,0.14), transparent 60%);}
.public-page .trust-inner{position:relative;padding:80px 0;text-align:center;max-width:760px;margin:0 auto;}
.public-page .trust-stars{color:var(--orange-light);font-size:20px;letter-spacing:4px;margin-bottom:22px;}
.public-page .trust-inner blockquote{font-family:var(--display);font-style:italic;font-weight:500;font-size:clamp(19px,2.4vw,26px);color:#fff;line-height:1.5;}
.public-page .trust-inner cite{display:block;margin-top:22px;font-style:normal;font-size:13px;font-weight:600;color:rgba(255,255,255,0.55);letter-spacing:0.03em;}

.public-page .cta-band{background:linear-gradient(135deg,var(--navy) 0%,#013a73 100%);padding:76px 0;text-align:center;position:relative;overflow:hidden;}
.public-page .cta-band::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 600px 400px at 85% 15%, rgba(239,126,26,0.16), transparent 60%);}
.public-page .cta-band .wrap{position:relative;}
.public-page .cta-band .eyebrow{justify-content:center;color:var(--orange-light);}
.public-page .cta-band .eyebrow::before{background:var(--orange-light);}
.public-page .cta-band h2{font-family:var(--display);font-weight:700;font-size:clamp(24px,3vw,36px);color:#fff;margin-top:14px;max-width:26ch;margin-left:auto;margin-right:auto;line-height:1.3;}
.public-page .cta-band p.sub{color:rgba(255,255,255,0.72);font-size:15px;margin-top:14px;max-width:52ch;margin-left:auto;margin-right:auto;}
.public-page .cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:32px;}

/* ---------------------------------------------------------------- contact page layout */
.public-page .contact-layout{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:start;}
@media (max-width:980px){.public-page .contact-layout{grid-template-columns:1fr;}}
.public-page .form-card-wrap{padding:0;}
.public-page .form-card-wrap h2{font-family:var(--display);font-weight:700;font-size:26px;color:var(--heading);margin-bottom:8px;}
.public-page .form-card-wrap > p{font-size:14px;color:var(--muted);margin-bottom:30px;}
.public-page .side-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:20px;}
.public-page .side-card h4{font-family:var(--display);font-weight:700;font-size:15px;color:var(--heading);margin-bottom:16px;}
.public-page .campus-contact{display:flex;flex-direction:column;gap:16px;}
.public-page .hours-row{display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted);padding:7px 0;border-bottom:1px dashed var(--line);}
.public-page .hours-row:last-child{border-bottom:none;}
.public-page .hours-row b{color:var(--ink);font-weight:700;}
.public-page .social-row{display:flex;gap:10px;margin-top:6px;}
.public-page .social-row a{width:36px;height:36px;border-radius:10px;background:var(--paper-2);display:flex;align-items:center;justify-content:center;color:var(--heading);transition:all .2s ease;}
.public-page .social-row a:hover{background:var(--navy);color:#fff;}
.public-page .social-row a svg{width:16px;height:16px;}

.public-page .success-panel{display:none;text-align:center;padding:50px 10px;}
.public-page .success-panel.show{display:block;}
.public-page .success-ic{width:64px;height:64px;border-radius:18px;background:var(--green-pale);color:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.public-page .success-ic svg{width:30px;height:30px;}
.public-page .success-panel h3, .public-page .success-panel h2{font-family:var(--display);font-weight:700;font-size:22px;color:var(--heading);margin-bottom:10px;}
.public-page .success-panel p{font-size:14px;color:var(--muted);max-width:44ch;margin:0 auto 20px;line-height:1.7;}
.public-page .ref-chip{display:inline-flex;align-items:center;gap:8px;background:var(--navy-pale);color:var(--heading);font-family:var(--display);font-weight:700;font-size:14px;padding:9px 16px;border-radius:999px;margin-bottom:22px;}
.public-page .success-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.public-page #contactForm.hide, .public-page #rrForm.hide, .public-page form.hide{display:none;}

/* ---------------------------------------------------------------- generic form fields (contact form + dynamic webform) */
.public-page .fgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.public-page .dynamic-form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px 20px;}
.public-page .field{display:flex;flex-direction:column;gap:8px;}
.public-page .field.full, .public-page .field.mb-0{grid-column:1 / -1;}
.public-page .fgrid .field{grid-column:auto;}
.public-page label{font-size:13px;font-weight:700;color:var(--ink);}
.public-page label .req, .public-page .req{color:var(--orange);margin-left:3px;}
.public-page label .hint{font-weight:500;color:var(--muted);font-size:12px;margin-left:6px;}
.public-page input[type=text], .public-page input[type=email], .public-page input[type=tel], .public-page input[type=password],
.public-page input[type=date], .public-page input[type=number], .public-page textarea, .public-page select{
  font-family:var(--body);font-size:14.5px;color:var(--ink);background:var(--surface);border:1.5px solid var(--line-strong);
  border-radius:12px;padding:13px 15px;outline:none;transition:border-color .2s ease, box-shadow .2s ease;width:100%;
}
.public-page input:focus, .public-page textarea:focus, .public-page select:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(239,126,26,0.12);}
.public-page textarea{resize:vertical;min-height:100px;font-family:inherit;}
.public-page select{appearance:none;-webkit-appearance:none;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235c6b80" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;padding-right:38px;}
html[data-bs-theme="dark"] .public-page select{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2393a2ba" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');}
.public-page select:disabled{background-color:var(--paper-2);color:#94a3b8;cursor:not-allowed;}
/* The pill-shaped search bars (hero search, header search overlay) already
   provide their own border/background/padding on the wrapping pill — the
   generic bordered-box input styling above would otherwise nest a second
   boxed field inside them. These need to win on specificity (not just
   position) since the generic rule above targets input[type=text] etc.,
   which is just as specific as a plain class selector would be. */
.public-page .hero-search input{border:none;background:transparent;border-radius:0;padding:0;width:auto;}
.public-page .hero-search input:focus{box-shadow:none;}
.public-page .srch-form input.srch-input{flex:1;border:none;background:transparent;border-radius:0;width:auto;outline:none;font-size:1.15rem;padding:10px 14px;color:var(--ink);font-family:var(--body);}
.public-page .srch-form input.srch-input:focus{border-color:transparent;box-shadow:none;}
html[data-bs-theme="dark"] .public-page .srch-form input.srch-input{color:#1a1a2e;}
.public-page .field-help, .public-page .helptext, .public-page .text-sub{font-size:11.5px;color:var(--muted);}
.public-page .field-error, .public-page .errors{font-size:12px;color:var(--red);font-weight:600;}
.public-page .field.has-error input, .public-page .field.has-error select, .public-page .field.has-error textarea{border-color:var(--red);}
.public-page .form-heading{font-family:var(--display);font-weight:700;font-size:16px;color:var(--heading);display:flex;align-items:center;gap:12px;counter-increment:form-section;padding-top:6px;}
.public-page .form-heading::before{content:counter(form-section);width:26px;height:26px;border-radius:8px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0;}
.public-page .form-heading-sub{font-size:12.5px;color:var(--muted);margin-top:4px;}
.public-page .dynamic-form-grid{counter-reset:form-section;}

/* upload widget — matches _form_body.html's data-upload-box markup */
.public-page .upload-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.public-page .upload-box{border:1.5px dashed var(--line-strong);border-radius:14px;padding:18px;display:flex;align-items:center;gap:14px;cursor:pointer;transition:all .2s ease;background:var(--paper-2);flex:1;min-width:220px;position:relative;}
.public-page .upload-box:hover{border-color:var(--orange);background:var(--orange-pale);}
.public-page .upload-box.has-file{border-color:var(--green);background:var(--green-pale);}
.public-page .upload-box input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;}
.public-page .upload-icon-wrap{width:38px;height:38px;border-radius:11px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--heading);flex-shrink:0;}
.public-page .upload-box.has-file .upload-icon-wrap{color:var(--green);border-color:var(--green);}
.public-page .upload-title{font-size:13.5px;font-weight:700;color:var(--heading);}
.public-page .upload-hint{font-size:11.5px;color:var(--muted);}
.public-page .upload-thumb-wrap{display:none;align-items:center;gap:10px;}
.public-page .upload-thumb-wrap.show{display:flex;}
.public-page .upload-thumb-wrap img{width:44px;height:44px;border-radius:10px;object-fit:cover;border:1px solid var(--line);}
.public-page .upload-thumb-fallback{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:var(--paper-2);display:flex;align-items:center;justify-content:center;color:var(--heading);}
.public-page .upload-thumb-close{width:26px;height:26px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);color:var(--red);display:flex;align-items:center;justify-content:center;cursor:pointer;}

.public-page .card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:40px;}
.public-page .btn.btn-form-submit, .public-page .btn-form-submit{background:var(--orange);color:#fff;border:none;border-radius:999px;padding:14px 26px;font-weight:700;font-size:14px;box-shadow:0 8px 22px rgba(239,126,26,0.32);cursor:pointer;width:100%;justify-content:center;display:flex;align-items:center;gap:8px;transition:all .25s ease;}
.public-page .btn.btn-form-submit:hover, .public-page .btn-form-submit:hover{background:#d96e0f;transform:translateY(-2px);}
.public-page .btn.btn-form-submit:disabled, .public-page .btn-form-submit:disabled{background:var(--line-strong);box-shadow:none;transform:none;cursor:not-allowed;}
.public-page .form-back-link{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:var(--heading);}
.public-page .form-back-link:hover{color:var(--orange);}
.public-page .breadcrumb{font-size:13px;color:var(--muted);font-weight:600;text-transform:none;}
.public-page .breadcrumb a:hover{color:var(--orange);}

/* ---------------------------------------------------------------- public webform page chrome */
.public-page .form-head{padding:8px 0 40px;border-bottom:1px solid var(--line);margin-bottom:48px;}
.public-page .form-head-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.public-page h1.form-title{font-family:var(--display);font-weight:700;font-size:clamp(28px,3.6vw,40px);color:var(--heading);margin-top:12px;line-height:1.15;}
.public-page .form-sub{font-size:15.5px;color:var(--muted);max-width:56ch;margin-top:12px;line-height:1.65;}
.public-page .form-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;}
.public-page .meta-pill{font-size:12px;font-weight:700;color:var(--heading);background:var(--navy-pale);padding:7px 14px;border-radius:999px;display:flex;align-items:center;gap:6px;}
.public-page .meta-pill svg{width:13px;height:13px;}
.public-page .form-layout{display:grid;grid-template-columns:1fr 320px;gap:56px;align-items:start;padding-bottom:110px;}
@media (max-width:980px){.public-page .form-layout{grid-template-columns:1fr;}}

/* stacking sticky cards: each card sticks at the same offset, later cards
   overlapping/covering earlier ones as you scroll down; scrolling back up
   un-sticks them in reverse, revealing all three again */
.public-page .form-layout aside .side-card{position:sticky;top:96px;}
.public-page .form-layout aside .side-card-before{z-index:1;}
.public-page .form-layout aside .form-help-card{z-index:2;}
.public-page .form-layout aside .side-card-next{z-index:3;}
@media (max-width:980px){
  .public-page .form-layout aside .side-card{position:static;}
}
.public-page .checklist{list-style:none;display:flex;flex-direction:column;gap:12px;margin-bottom:4px;}
.public-page .checklist li{display:flex;gap:10px;font-size:13px;color:var(--muted);line-height:1.5;}
.public-page .checklist li svg{width:16px;height:16px;stroke:var(--green);flex-shrink:0;margin-top:1px;}
.public-page .steps-mini{list-style:none;display:flex;flex-direction:column;gap:16px;margin-top:4px;}
.public-page .steps-mini li{display:flex;gap:12px;font-size:12.5px;color:var(--muted);line-height:1.55;}
.public-page .steps-mini .n{width:22px;height:22px;border-radius:50%;background:var(--navy-pale);color:var(--heading);font-family:var(--display);font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.public-page .form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:40px;padding-top:28px;border-top:1px solid var(--line);flex-wrap:wrap;}
.public-page .form-footer p{font-size:12px;color:var(--muted);max-width:40ch;}
@media (max-width:560px){.public-page .fgrid, .public-page .dynamic-form-grid{grid-template-columns:1fr;}.public-page .card{padding:26px;}}
/* Every dynamic-form field carries its own inline grid-column:span N (set
   per-field in the webform builder) — on phones that needs overriding
   (not just the grid container's own column count) or a "span 6" field
   stays half-width with nothing beside it to share the row. */
@media (max-width:640px){.public-page .dynamic-form-grid{grid-template-columns:1fr;}.public-page .dynamic-form-grid > .field{grid-column:1 / -1 !important;}}

/* ---------------------------------------------------------------- messages / toast / back-to-top */
.public-page .messages-stack{position:fixed;top:20px;right:20px;z-index:400;display:flex;flex-direction:column;gap:10px;max-width:360px;}
.public-page .alert{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:12px;padding:14px 16px;font-size:13.5px;color:var(--ink);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.public-page .alert-success{border-left-color:var(--green);}
.public-page .alert-error, .public-page .alert-danger{border-left-color:var(--red);}
.public-page .alert-close{background:none;border:none;color:var(--muted);font-size:18px;cursor:pointer;line-height:1;}
.public-page .toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--navy);color:#fff;padding:13px 20px;border-radius:999px;font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transition:all .25s ease;z-index:400;}
.public-page .toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.public-page .toast svg{width:16px;height:16px;stroke:var(--green);}
.public-page .back-to-top{
  position:fixed;bottom:28px;right:28px;width:40px;height:40px;border-radius:50%;
  background:var(--navy);color:#fff;border:1px solid rgba(255, 255, 255, 0.1);;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:0 10px 26px rgba(0,38,77,0.32), 0 2px 8px rgba(0,0,0,0.12);
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.9);
  transition:opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .2s ease, box-shadow .2s ease;
  z-index:150;
}
.public-page .back-to-top svg{width:19px;height:19px;}
.public-page .back-to-top.show{opacity:1;visibility:visible;transform:translateY(0) scale(1);}
.public-page .back-to-top:hover{background:var(--navy-light);transform:translateY(-3px) scale(1.05);box-shadow:0 14px 32px rgba(0,38,77,0.42), 0 4px 10px rgba(0,0,0,0.14);}
.public-page .back-to-top:active{transform:translateY(-1px) scale(1.0);}
@media (max-width:640px){.public-page .back-to-top{bottom:18px;right:18px;width:44px;height:44px;}}
.public-page .overlay{position:fixed;inset:0;background:rgba(0,10,25,0.4);z-index:150;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;}
.public-page .overlay.show{opacity:1;visibility:visible;}

/* ---------------------------------------------------------------- auth pages (sign in / forgot password / reset password / verify OTP)
   Faithful port of the previous split-card auth design (same layout,
   sliding sign-in/forgot-password swap, decorative blobs) onto this
   stylesheet's own tokens, since this page no longer loads css/style.css. */
.public-page .auth-shell{
  min-height:calc(100vh - 300px);display:flex;align-items:center;justify-content:center;padding:40px 20px;
  position:relative;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(ellipse 760px 520px at 10% 8%, rgba(0,38,77,0.10) 0%, transparent 62%),
    radial-gradient(ellipse 640px 520px at 92% 94%, rgba(239,126,26,0.12) 0%, transparent 62%),
    var(--paper);
}
@media (max-width:640px){.public-page .auth-shell{padding:40px 10px;}}
.public-page .auth-shell::before{
  content:"";position:absolute;inset:0;z-index:0;opacity:.7;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px, rgba(0,38,77,0.08) 1px, transparent 0);
  background-size:26px 26px;
}
.public-page .auth-blob{position:absolute;border-radius:50%;filter:blur(80px);opacity:.28;z-index:0;pointer-events:none;animation:authBlobFloat 16s ease-in-out infinite alternate;}
.public-page .auth-blob.b1{width:340px;height:340px;background:#5ea3ff;top:-120px;left:-80px;}
.public-page .auth-blob.b2{width:280px;height:280px;background:var(--orange-light);bottom:-100px;right:-60px;animation-duration:20s;animation-delay:-6s;}
.public-page .auth-blob.b3{width:220px;height:220px;background:#7fe8c0;top:38%;right:6%;animation-duration:14s;animation-delay:-10s;}
@keyframes authBlobFloat{0%{transform:translate(0,0) scale(1);}100%{transform:translate(26px,-20px) scale(1.1);}}
@keyframes authCardIn{from{opacity:0;transform:translateY(20px) scale(.96);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.public-page .auth-blob{animation:none;}}

.public-page .auth-card-split, .public-page .auth-static-split{
  position:relative;background:var(--surface);border:1px solid var(--line);border-radius:24px;
  box-shadow:0 30px 70px -10px rgba(20,30,60,.25), 0 8px 24px rgba(20,30,60,.12);
  animation:authCardIn .5s cubic-bezier(.22,.85,.32,1) both;overflow:hidden;
}
.public-page .auth-card-split{width:760px;max-width:100%;min-height:480px;display:flex;padding:0;}
.public-page .auth-static-split{width:760px;max-width:100%;display:flex;padding:0;}

.public-page .auth-form-panel{
  position:absolute;top:0;left:0;width:50%;height:100%;padding:48px 46px;
  display:flex;flex-direction:column;justify-content:center;text-align:left;
  transition:transform .6s cubic-bezier(.65,0,.35,1), opacity .45s ease;
}
.public-page .auth-form-panel img.logo-full, .public-page .auth-static-form img.logo-full{height:32px;width:auto;margin-bottom:18px;display:block;object-fit:contain;}
html[data-bs-theme="dark"] .public-page .auth-form-panel img.logo-full-light,
html[data-bs-theme="dark"] .public-page .auth-static-form img.logo-full-light{display:none;}
html:not([data-bs-theme="dark"]) .public-page .auth-form-panel img.logo-full-dark,
html:not([data-bs-theme="dark"]) .public-page .auth-static-form img.logo-full-dark{display:none;}
.public-page .auth-form-panel h1, .public-page .auth-static-form h1{font-family:var(--display);font-weight:700;font-size:22px;color:var(--heading);margin-bottom:6px;}
.public-page .auth-form-panel .sub, .public-page .auth-static-form .sub{font-size:13.5px;color:var(--muted);margin-bottom:24px;}
.public-page .auth-form-panel form .field, .public-page .auth-static-form form .field{margin-bottom:16px;}
.public-page .auth-panel-signin{z-index:2;}
.public-page .auth-panel-forgot{z-index:1;opacity:0;pointer-events:none;}
.public-page .auth-card-split.auth-right-active .auth-panel-signin{transform:translateX(100%);opacity:0;pointer-events:none;z-index:1;}
.public-page .auth-card-split.auth-right-active .auth-panel-forgot{transform:translateX(100%);opacity:1;pointer-events:auto;z-index:5;}

.public-page .auth-accent{
  position:absolute;top:0;left:50%;width:50%;height:100%;overflow:hidden;z-index:10;
  background:linear-gradient(150deg, #001830 0%, var(--navy) 55%, var(--navy-light) 100%);
  transition:transform .6s cubic-bezier(.65,0,.35,1);
}
.public-page .auth-accent::before{
  content:"";position:absolute;inset:0;z-index:0;opacity:.5;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0);
  background-size:26px 26px;
}
.public-page .auth-accent-shape{position:absolute;border-radius:50%;filter:blur(60px);opacity:.35;z-index:0;pointer-events:none;animation:authBlobFloat 16s ease-in-out infinite alternate;}
.public-page .auth-accent-shape.s1{width:220px;height:220px;background:#5ea3ff;top:-70px;left:15%;}
.public-page .auth-accent-shape.s2{width:180px;height:180px;background:#7fe8c0;bottom:-60px;right:5%;animation-duration:20s;animation-delay:-6s;}
.public-page .auth-card-split.auth-right-active .auth-accent{transform:translateX(-100%);}

.public-page .auth-accent-panel{
  position:absolute;inset:0;z-index:1;padding:44px 38px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  color:#fff;transition:opacity .35s ease, transform .45s ease;
}
.public-page .auth-accent-panel svg{width:38px;height:38px;margin-bottom:16px;opacity:.9;}
.public-page .auth-accent-panel h2{font-family:var(--display);font-weight:700;font-size:19px;margin-bottom:10px;color:#fff;}
.public-page .auth-accent-panel p{font-size:13px;line-height:1.6;opacity:.85;margin-bottom:22px;}
.public-page .auth-accent-panel .btn{background:transparent;border:1.5px solid rgba(255,255,255,.7);color:#fff;}
.public-page .auth-accent-panel .btn:hover{background:rgba(255,255,255,.12);border-color:#fff;transform:none;}
.public-page .auth-accent-signin{opacity:1;transform:none;transition-delay:.2s;}
.public-page .auth-accent-forgot{opacity:0;transform:translateY(10px);pointer-events:none;}
.public-page .auth-card-split.auth-right-active .auth-accent-signin{opacity:0;transform:translateY(-10px);pointer-events:none;transition-delay:0s;}
.public-page .auth-card-split.auth-right-active .auth-accent-forgot{opacity:1;transform:none;pointer-events:auto;transition-delay:.2s;}

.public-page .auth-static-form{width:50%;padding:48px 46px;display:flex;flex-direction:column;justify-content:center;text-align:left;}
.public-page .auth-static-accent{
  width:50%;position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(150deg, #001830 0%, var(--navy) 55%, var(--navy-light) 100%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:44px 38px;color:#fff;
}
.public-page .auth-static-accent::before{
  content:"";position:absolute;inset:0;z-index:0;opacity:.5;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0);
  background-size:26px 26px;
}
.public-page .auth-static-accent > *{position:relative;z-index:1;}
.public-page .auth-static-accent svg{width:38px;height:38px;margin-bottom:16px;opacity:.9;}
.public-page .auth-static-accent h2{font-family:var(--display);font-weight:700;font-size:19px;margin-bottom:10px;color:#fff;}
.public-page .auth-static-accent p{font-size:13px;line-height:1.6;opacity:.85;}

.public-page .auth-remember{display:flex;align-items:center;justify-content:space-between;margin:-4px 0 18px;font-size:12.5px;}
.public-page .auth-remember label{display:flex;align-items:center;gap:7px;color:var(--muted);font-weight:600;cursor:pointer;}
.public-page .auth-remember input[type=checkbox]{width:15px;height:15px;accent-color:var(--orange);}
.public-page .auth-swap-link{color:var(--orange);font-weight:700;}
.public-page .auth-swap-link:hover{text-decoration:underline;}
.public-page .auth-otp-input{text-align:center;font-size:22px;font-weight:700;letter-spacing:0.5em;padding-left:20px;}

@media (prefers-reduced-motion:reduce){
  .public-page .auth-card-split, .public-page .auth-static-split{animation:none;}
  .public-page .auth-form-panel, .public-page .auth-accent, .public-page .auth-accent-panel, .public-page .auth-accent-shape{transition:none;animation:none;}
}
@media (max-width:680px){
  .public-page .auth-card-split{display:block;width:420px;min-height:0;}
  .public-page .auth-accent{display:none;}
  .public-page .auth-form-panel{position:static;width:100%;padding:40px 32px;transform:none !important;opacity:1 !important;pointer-events:auto !important;transition:none;}
  .public-page .auth-panel-forgot{display:none;}
  .public-page .auth-card-split.auth-right-active .auth-panel-signin{display:none;}
  .public-page .auth-card-split.auth-right-active .auth-panel-forgot{display:flex;}
  .public-page .auth-static-split{display:block;width:420px;}
  .public-page .auth-static-accent{display:none;}
  .public-page .auth-static-form{width:100%;padding:40px 32px;}
}
