/* Inverted Blend Mode Cursor */
    .blend-cursor {
      pointer-events: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background-color: #ffffff;
      mix-blend-mode: difference;
      --ahu-cursor-x: -100px;
      --ahu-cursor-y: -100px;
      transform: translate3d(var(--ahu-cursor-x), var(--ahu-cursor-y), 0) translate(-50%, -50%);
      will-change: transform, width, height;
      transition: width 0.2s ease, height 0.2s ease;
      z-index: 999999;
    }
    .blend-cursor.hovered {
      width: 64px;
      height: 64px;
    }
    @media (max-width: 768px) {
      .blend-cursor { display: none; }
    }
    
    /* Page Transition */
    .page-view {
      animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Mobile Drawer Open State */
    #mobileMenuDrawer.open { transform: translateX(0); }
    #mobileMenuOverlay.open { opacity: 1; pointer-events: auto; }

    /* Hamburger -> X transform */
    #mobileMenuBtn.open .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    #mobileMenuBtn.open .hamburger-line:nth-child(2) { opacity: 0; }
    #mobileMenuBtn.open .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* Respect reduced motion preference */
    /* Password visibility toggle */
    .password-field-wrap { position: relative; display: block; }
    .password-field-wrap > input { padding-right: 3rem !important; }
    .password-field-wrap > .password-toggle {
      position: absolute;
      right: 8px;
      top: 0;
      bottom: 0;
      margin: auto 0;
      transform: none !important;
      width: 36px;
      height: 36px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 9px;
      color: #64748b;
      background: transparent;
      border: 0;
      cursor: pointer;
      z-index: 3;
      line-height: 1;
    }
    .password-field-wrap > .password-toggle:hover { color: #0c2b59; background: #f8fafc; }
    .password-field-wrap > .password-toggle:active { transform: none !important; }
    .password-field-wrap > .password-toggle svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }


    /* ===== AHU Premium Responsive Foundation ===== */
    :root { --ahu-navy:#0c2b59; --ahu-dark:#071b38; --ahu-gold:#f59e0b; --ahu-surface:#fcfbf8; }
    html { scroll-behavior:smooth; }
    body { overflow-x:hidden; }
    .premium-card { background:rgba(255,255,255,.92); border:1px solid rgba(148,163,184,.22); box-shadow:0 24px 70px rgba(7,27,56,.08); }
    .soft-grid { background-image:linear-gradient(rgba(12,43,89,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(12,43,89,.035) 1px,transparent 1px); background-size:32px 32px; }
    .hero-orb { position:absolute; border-radius:999px; filter:blur(2px); pointer-events:none; }
    .glass { background:rgba(255,255,255,.78); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
    .section-kicker { letter-spacing:.14em; text-transform:uppercase; font-weight:800; font-size:.7rem; color:var(--ahu-gold); }
    .image-card img { transition:transform .65s cubic-bezier(.2,.8,.2,1); }
    .image-card:hover img { transform:scale(1.055); }
    .lift { transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .lift:hover { transform:translateY(-4px); box-shadow:0 22px 60px rgba(7,27,56,.11); border-color:rgba(245,158,11,.45); }
    .focus-ring:focus { outline:none; box-shadow:0 0 0 3px rgba(245,158,11,.25); border-color:var(--ahu-gold); }
    .iti { width:100%; }
    .iti input { width:100%; }
    .portal-sidebar { position:sticky; top:6.5rem; }
    .portal-nav-btn.active { background:#0c2b59; color:white; border-color:#0c2b59; }
    .portal-nav-btn { width:100%; text-align:left; border:1px solid #e2e8f0; border-radius:14px; padding:.8rem .9rem; font-size:.75rem; font-weight:800; transition:.2s ease; }
    .portal-nav-btn:hover { border-color:#f59e0b; color:#0c2b59; background:#fffaf0; }
    .elig-step { display:none; }
    .elig-step.active { display:block; animation:fadeIn .3s ease forwards; }
    .elig-dot.active { background:#f59e0b; color:#071b38; border-color:#f59e0b; }
    .elig-dot.done { background:#0c2b59; color:white; border-color:#0c2b59; }
    .result-chip { display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .65rem;border-radius:999px;font-size:.7rem;font-weight:800;background:#f8fafc;border:1px solid #e2e8f0;color:#334155; }
    .country-mini-card { min-height:160px; }
    .mobile-safe-table { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .mobile-safe-table table { min-width:900px; }
    .portal-access-menu { transform-origin:top right; }
    .portal-access-menu.hidden { display:none; }
    .article-card .article-image { aspect-ratio:16/10; object-fit:cover; width:100%; }
    .logo-loader { position:fixed; inset:0; z-index:9999999; background:linear-gradient(135deg,#071b38,#0c2b59 60%,#163f7a); display:flex; align-items:center; justify-content:center; transition:opacity .45s ease, visibility .45s ease; }
    .logo-loader.hide { opacity:0; visibility:hidden; pointer-events:none; }
    .loader-ring { width:84px;height:84px;border-radius:999px;border:3px solid rgba(255,255,255,.18);border-top-color:#f59e0b;animation:spin 1s linear infinite;position:absolute; }
    @keyframes spin { to { transform:rotate(360deg); } }
    @media (max-width:1023px) { .portal-sidebar { position:static; } }
    @media (max-width:767px) {
      .blend-cursor { display:none!important; }
      .mobile-safe-table table { min-width:760px; }
      .premium-card { box-shadow:0 14px 40px rgba(7,27,56,.08); }
      .page-view { padding-top:0; }
    }


    body.portal-mode #publicSiteHeader,
    body.portal-mode #publicSiteFooter { display:none !important; }
    body.portal-mode { background:#f8fafc; }
    .portal-private-topbar { position:sticky; top:0; z-index:70; background:rgba(248,250,252,.96); backdrop-filter:blur(16px); padding:.7rem .25rem; border-bottom:1px solid #e2e8f0; }
    body.portal-mode .page-view { padding-top:0 !important; }
    .portal-profile-anchor { position:relative; z-index:90; }


    /* AHU certificate preview / PDF only */
    .ahu-certificate-preview-wrap{margin-top:18px;overflow:auto;border-radius:20px}
    .ahu-certificate-sheet{position:relative;width:1120px;max-width:100%;aspect-ratio:1.414/1;background:#fff;overflow:hidden;color:#071b38;border:1px solid #e2e8f0;box-shadow:0 18px 45px rgba(7,27,56,.12);font-family:"Plus Jakarta Sans",Arial,sans-serif}
    .ahu-cert-corner{position:absolute;background:#0c2b59}
    .ahu-cert-corner.tl{left:0;top:0;width:29%;height:32px}
    .ahu-cert-corner.tr{right:0;top:0;width:32px;height:35%}
    .ahu-cert-corner.bl{left:0;bottom:0;width:32px;height:35%}
    .ahu-cert-corner.br{right:0;bottom:0;width:29%;height:32px}
    .ahu-cert-gold-line{position:absolute;border-color:#c58b27;border-style:solid;pointer-events:none}
    .ahu-cert-gold-line.one{left:42px;top:42px;right:115px;bottom:42px;border-width:2px 0 0 2px}
    .ahu-cert-gold-line.two{right:62px;top:62px;width:28%;height:27%;border-width:7px 7px 0 0}
    .ahu-cert-gold-line.three{left:62px;bottom:62px;width:28%;height:27%;border-width:0 0 7px 7px}
    .ahu-cert-watermark{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);width:36%;opacity:.045;filter:grayscale(1);pointer-events:none}
    .ahu-cert-content{position:absolute;inset:54px 78px;display:flex;flex-direction:column;align-items:center;text-align:center;z-index:2}
    .ahu-cert-brand{display:flex;align-items:center;gap:10px;align-self:flex-start}
    .ahu-cert-brand img{width:48px;height:48px;object-fit:contain}
    .ahu-cert-brand-name{font-size:21px;font-weight:900;letter-spacing:-.02em;color:#0c2b59}
    .ahu-cert-brand-sub{font-size:8px;font-weight:900;letter-spacing:.18em;color:#c58b27;text-transform:uppercase}
    .ahu-cert-title{margin-top:22px;font-family:Georgia,"Times New Roman",serif;font-size:48px;line-height:1;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#071b38}
    .ahu-cert-presented{margin-top:17px;font-size:13px;color:#64748b}
    .ahu-cert-recipient{
  margin-top:7px;
  font-family:'Dancing Script', cursive;
  font-size:54px;
  line-height:1.15;
  font-style:normal;
  font-weight:600;
  color:#0c2b59;
  letter-spacing:.01em;
}
    .ahu-cert-program{margin-top:9px;font-size:15px;font-weight:900;color:#c58b27;max-width:78%}
    .ahu-cert-text{margin-top:14px;max-width:78%;font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.65;color:#334155}
    .ahu-cert-bottom{margin-top:auto;width:100%;display:grid;grid-template-columns:1fr 150px 1fr;align-items:end;gap:26px}
    .ahu-cert-meta{font-size:10px;color:#64748b}
    .ahu-cert-meta strong{display:block;color:#071b38;font-size:13px;margin-bottom:3px}
    .ahu-cert-qrbox{display:flex;flex-direction:column;align-items:center}
    .ahu-cert-qr{background:#fff;padding:8px;border:2px solid #c58b27;border-radius:14px;min-width:104px;min-height:104px;display:flex;align-items:center;justify-content:center}
    .ahu-cert-authorized{margin-top:6px;font-size:8px;font-weight:900;color:#0c2b59}
    .ahu-cert-number{position:absolute;right:78px;top:60px;font-size:9px;font-weight:800;color:#64748b;z-index:3}
    @media(max-width:900px){.ahu-certificate-sheet{width:900px}.ahu-certificate-preview-wrap{overflow-x:auto}}


    /* ===== Public Frontend Enhancement Pack ===== */
    .reveal-up { opacity:0; transform:translateY(18px); transition:opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1); }
    .reveal-up.is-visible { opacity:1; transform:translateY(0); }
    .service-card, .btn-micro { position:relative; overflow:hidden; }
    .service-card::after, .btn-micro::after { content:""; position:absolute; inset:auto -25% -70% auto; width:130px; height:130px; border-radius:999px; background:rgba(245,158,11,.08); transform:scale(.6); transition:transform .35s ease; pointer-events:none; }
    .service-card:hover::after, .btn-micro:hover::after { transform:scale(1.15); }
    button, a { -webkit-tap-highlight-color:transparent; }
    button:not(:disabled):active, .btn-micro:not(:disabled):active { transform:translateY(1px) scale(.995); }
    .hero-float { animation:ahuFloat 6s ease-in-out infinite; }
    @keyframes ahuFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
    .hero-sheen { position:absolute; inset:-40%; background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.24) 50%,transparent 58%); transform:translateX(-45%) rotate(8deg); animation:ahuSheen 7s ease-in-out infinite; pointer-events:none; }
    @keyframes ahuSheen { 0%,55%{transform:translateX(-45%) rotate(8deg)} 75%,100%{transform:translateX(45%) rotate(8deg)} }
    .faq-item[open] .faq-plus { transform:rotate(45deg); }
    .faq-plus { transition:transform .2s ease; }
    .public-modal-backdrop { background:rgba(7,27,56,.72); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
    .source-link { word-break:break-word; }
    .partner-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.35rem .6rem; border-radius:999px; background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; font-size:.62rem; font-weight:900; }
    .verified-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.35rem .6rem; border-radius:999px; background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; font-size:.62rem; font-weight:900; }

    /* 3D public assistant - CSS/SVG only, no copyrighted character artwork */
    #ahuAssistant { position:fixed; right:18px; bottom:18px; z-index:160; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
    body.portal-mode #ahuAssistant { display:none !important; }
    .ahu-ai-launcher { width:68px; height:68px; border-radius:22px; border:1px solid rgba(255,255,255,.9); background:linear-gradient(145deg,#163f7a,#071b38); box-shadow:0 18px 40px rgba(7,27,56,.28), inset 0 1px 0 rgba(255,255,255,.25); display:grid; place-items:center; position:relative; transform-style:preserve-3d; transition:transform .25s ease, box-shadow .25s ease; }
    .ahu-ai-launcher:hover { transform:translateY(-3px) rotateX(4deg) rotateY(-5deg); box-shadow:0 24px 48px rgba(7,27,56,.34); }
    .ahu-ai-head { width:42px; height:34px; border-radius:15px 15px 13px 13px; background:linear-gradient(145deg,#fff,#dbeafe); border:2px solid rgba(245,158,11,.95); position:relative; box-shadow:inset -6px -6px 12px rgba(12,43,89,.12),0 7px 16px rgba(0,0,0,.18); transform:translateZ(12px); }
    .ahu-ai-head::before,.ahu-ai-head::after { content:""; position:absolute; top:12px; width:6px; height:6px; border-radius:50%; background:#0c2b59; box-shadow:0 0 8px rgba(245,158,11,.55); }
    .ahu-ai-head::before { left:9px; } .ahu-ai-head::after { right:9px; }
    .ahu-ai-smile { position:absolute; left:50%; bottom:6px; transform:translateX(-50%); width:14px; height:6px; border-bottom:2px solid #f59e0b; border-radius:0 0 12px 12px; }
    .ahu-ai-orbit { position:absolute; inset:7px; border-radius:18px; border:1px solid rgba(255,255,255,.22); transform:translateZ(-6px) rotate(18deg); }
    .ahu-ai-dot { position:absolute; width:8px; height:8px; border-radius:50%; background:#f59e0b; right:5px; top:5px; box-shadow:0 0 0 4px rgba(245,158,11,.14); }
    .ahu-ai-panel { width:min(390px,calc(100vw - 24px)); height:min(590px,72vh); background:#fff; border:1px solid #e2e8f0; border-radius:24px; box-shadow:0 28px 70px rgba(7,27,56,.28); overflow:hidden; display:flex; flex-direction:column; transform-origin:bottom right; }
    .ahu-ai-panel.hidden { display:none; }
    .ahu-ai-header { padding:16px; background:linear-gradient(135deg,#071b38,#0c2b59); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .ahu-ai-messages { flex:1; overflow-y:auto; padding:14px; background:linear-gradient(#f8fafc,#fff); }
    .ahu-ai-msg { max-width:88%; padding:10px 12px; border-radius:16px; font-size:.76rem; line-height:1.6; margin-bottom:10px; }
    .ahu-ai-msg.bot { background:#fff; border:1px solid #e2e8f0; color:#334155; border-top-left-radius:6px; }
    .ahu-ai-msg.user { background:#0c2b59; color:#fff; margin-left:auto; border-top-right-radius:6px; }
    .ahu-ai-actions { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 12px; }
    .ahu-ai-action { padding:7px 9px; border-radius:10px; border:1px solid #f59e0b; background:#fffaf0; color:#0c2b59; font-size:.66rem; font-weight:900; }
    .ahu-ai-inputbar { display:flex; gap:8px; padding:12px; border-top:1px solid #e2e8f0; background:#fff; }
    .ahu-ai-inputbar input { flex:1; min-width:0; border:1px solid #cbd5e1; border-radius:12px; padding:10px 12px; font-size:.78rem; outline:none; }
    .ahu-ai-inputbar input:focus { border-color:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.14); }
    @media (max-width:640px){
      #ahuAssistant { right:10px; bottom:10px; }
      .ahu-ai-launcher { width:58px; height:58px; border-radius:19px; }
      .ahu-ai-panel { width:calc(100vw - 20px); height:70vh; }
    }


/* Responsive public pages and portal shells; inner forms keep their reading width. */
.ahu-page-container.ahu-page-container{width:100%;max-width:none;margin-inline:auto;padding-inline:clamp(16px,2.5vw,56px)}
.page-view,.page-view .grid>*,.page-view .flex>*,.portal-private-topbar>*{min-width:0}
.page-view input:not([type=checkbox]):not([type=radio]),.page-view select,.page-view textarea{max-width:100%}
#agentAuthShell,#studentDashboardBox{max-width:none;width:100%}
#page-faq>div,#page-contact>div{max-width:none}
#page-apply>div{width:100%;max-width:1100px}
#page-home h1{font-size:clamp(2.25rem,4.5vw,5.25rem);max-width:17ch;line-height:1.08}
#ahuExistingHome .hero-float{min-height:clamp(360px,37vw,600px)}
.portal-profile-anchor[hidden]{display:none!important}
#mobileMenuDrawer:not(.open){display:none}
.portal-private-topbar{flex-wrap:wrap}
.portal-private-topbar>button{flex-shrink:0}
.portal-private-topbar>div{margin-left:auto}
.portal-private-topbar img{flex-shrink:0}
.portal-private-topbar .portal-profile-anchor{flex-shrink:0}
.ahu-apply-section{padding-block:clamp(36px,5vw,72px)}
.ahu-apply-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(24px,3vw,44px);border:1px solid #e2e8f0;border-radius:24px;background:linear-gradient(120deg,#f1f5f9,#fff9eb)}
.ahu-apply-panel h2{font-size:clamp(22px,2.1vw,32px);font-weight:800;line-height:1.3;color:#0c2b59}
.ahu-apply-panel p{font-size:14px;line-height:1.8;color:#64748b;margin-top:8px;max-width:65ch}
.ahu-apply-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 30px;border-radius:12px;background:#f59e0b;color:#071b38;font-weight:800;white-space:nowrap;box-shadow:0 4px 0 #d97706;transition:background .2s,transform .2s}
.ahu-apply-button:hover{background:#fbbf24;transform:translateY(-2px)}
.ahu-text-link{font-weight:800;text-align:left;color:#0c2b59;text-underline-offset:3px}
.ahu-text-link:hover{text-decoration:underline;color:#b45309}
.ahu-text-link:focus-visible,.ahu-apply-button:focus-visible{outline:3px solid #f59e0b;outline-offset:4px}
.ahu-journey-step{position:relative;padding:28px;border:1px solid #e2e8f0;border-radius:24px;background:#fff}
.ahu-journey-step>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fffbeb;color:#b45309;font-size:16px;font-weight:800}
.ahu-journey-step h3{font-size:18px;font-weight:800;color:#0c2b59;margin-top:20px}
.ahu-journey-step p{font-size:13px;color:#64748b;line-height:1.85;margin-top:10px}
.article-card .article-image{display:block;aspect-ratio:16/10;background:#e2e8f0;object-position:center}
.ahu-photo-credit{font-size:10px;line-height:1.7;color:#64748b;margin-top:16px}
.ahu-photo-credit a{text-decoration:underline;text-underline-offset:2px}
#agentActionCancel[hidden]{display:none}
.agent-success-icon{animation:ahu-success-breathe 2.6s 1.35s ease-in-out infinite}
@keyframes ahu-success-breathe{0%,100%{filter:drop-shadow(0 9px 7px #169b6728)}50%{filter:drop-shadow(0 9px 13px #169b6755)}}
@media(min-width:1024px){#agentAuthShell #agentLoginPanel{max-width:640px;margin-inline:auto;width:100%}}
@media(max-width:767px){
 .ahu-apply-panel{flex-direction:column;align-items:stretch}.ahu-apply-button{width:100%}
 .portal-private-topbar{gap:12px}.portal-private-topbar>div>div:first-child>div{font-size:13px}
 #agentAuthShell>div>div{padding:24px;min-height:0}
 #ahuExistingHome .hero-float{min-height:360px}
 .portal-profile-anchor [id$=ProfileMenu]{max-width:calc(100vw - 32px)}
 .page-view th,.page-view td{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.agent-success-icon{animation:none}.ahu-apply-button{transition:none}}

/* Only one workspace screen is shown; existing controls remain mounted. */
[data-staff-page][hidden],[data-student-page][hidden],[data-admin-shortcut][hidden]{display:none!important}
.ahu-workspace-heading h2{font-size:clamp(24px,2.5vw,32px);font-weight:800;color:#0c2b59;line-height:1.25}
.ahu-workspace-heading p{font-size:13px;color:#64748b;line-height:1.7;margin-top:8px}
.ahu-workspace-heading h2:focus{outline:none}
.ahu-workspace-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ahu-workspace-shortcut{padding:24px;text-align:left;border:1px solid #e2e8f0;border-radius:18px;background:white;transition:border-color .2s,box-shadow .2s}
.ahu-workspace-shortcut>span:first-child{color:#0c2b59;font-size:17px;font-weight:800}
.ahu-workspace-shortcut p{font-size:13px;color:#64748b;line-height:1.8;margin-top:10px}
.ahu-workspace-shortcut .ahu-shortcut-action{display:block;font-size:12px;font-weight:800;color:#b45309;margin-top:20px}
.ahu-workspace-shortcut:hover{border-color:#f59e0b;box-shadow:0 5px 18px #0c2b5909}
.ahu-workspace-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;scroll-margin-top:96px}
.ahu-workspace-tabs button{flex:1;min-width:110px;padding:12px 16px;border-radius:12px;color:#475569;font-size:13px;font-weight:800;transition:background .2s}
.ahu-workspace-tabs button:hover{background:#f1f5f9}
.ahu-workspace-tabs button[aria-current=page]{background:#0c2b59;color:white;box-shadow:0 3px 8px #0c2b5920}
.ahu-workspace-shortcut:focus-visible,.ahu-workspace-tabs button:focus-visible,.portal-nav-btn:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
#staffOverview>div,#staffOverview>div:last-child{flex-wrap:wrap;min-width:0}
#portalDashboardSection{scroll-margin-top:96px}
.ahu-case-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.ahu-case-actions>div:first-child{width:100%;max-width:640px}
.ahu-case-actions>div:last-child{padding-top:0}
#studentCounselorPanel [id^=studentCounselor]{overflow-wrap:anywhere}
@media(min-width:1024px){#portalDashboardSection .portal-sidebar{position:sticky;top:24px}}
@media(max-width:639px){.ahu-workspace-shortcuts{grid-template-columns:minmax(0,1fr)}.ahu-workspace-tabs button{flex-basis:calc(50% - 8px)}#staffOverview>div:last-child{width:100%}#checkInToggleBtn{white-space:normal;text-align:left}}
/* Gentle homepage movement; no content or actions depend on animation. */
#page-home .ahu-journey-step{transition:opacity .65s,transform .65s,box-shadow .25s,border-color .25s}
#page-home .ahu-home-prep-card{transition:opacity .65s,transform .65s,box-shadow .25s,border-color .25s}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #page-home .ahu-journey-step.is-visible:hover,#page-home .ahu-home-prep-card.is-visible:hover{transform:translateY(-5px);border-color:#f5c465;box-shadow:0 12px 28px #0c2b590c}
}
@media(prefers-reduced-motion:reduce){
 #page-home .reveal-up{opacity:1;transform:none;transition:none!important}
 #page-home .hero-float,#page-home .hero-sheen{animation:none}
 #page-home .ahu-journey-step,#page-home .ahu-home-prep-card,.ahu-workspace-tabs button,.ahu-workspace-shortcut{transition:none}
}

/* =========================================================
   AHU LIQUID GLASS FLOATING NAVBAR
   Restored after performance optimization
   ========================================================= */

#publicSiteHeader {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.92) !important;
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
    border-color: rgba(12, 43, 89, 0.08) !important;
    transition:
        width 0.55s cubic-bezier(.22, 1, .36, 1),
        top 0.55s cubic-bezier(.22, 1, .36, 1),
        border-radius 0.55s cubic-bezier(.22, 1, .36, 1),
        background 0.45s ease,
        box-shadow 0.55s cubic-bezier(.22, 1, .36, 1),
        border-color 0.45s ease;
    overflow: visible;
    isolation: isolate;
}

#publicSiteHeader > div:first-child {
    transition:
        height 0.5s cubic-bezier(.22, 1, .36, 1),
        padding 0.5s cubic-bezier(.22, 1, .36, 1);
}

#publicSiteHeader.ahu-liquid-scrolled {
    top: 14px !important;
    width: min(calc(100% - 36px), 1450px);
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.80) 0%,
            rgba(255,255,255,0.67) 45%,
            rgba(255,248,230,0.73) 100%
        ) !important;
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    backdrop-filter: blur(28px) saturate(185%);
    border: 1px solid rgba(255,255,255,0.78) !important;
    box-shadow:
        0 24px 55px rgba(7, 27, 56, 0.14),
        0 8px 22px rgba(7, 27, 56, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.95),
        inset 0 -1px 0 rgba(12,43,89,0.05);
}

#publicSiteHeader.ahu-liquid-scrolled > div:first-child {
    height: 68px;
}

#publicSiteHeader.ahu-liquid-scrolled::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            115deg,
            rgba(255,255,255,0.48) 0%,
            rgba(255,255,255,0.10) 30%,
            rgba(245,158,11,0.045) 63%,
            rgba(255,255,255,0.22) 100%
        );
    pointer-events: none;
    z-index: -1;
}

#publicSiteHeader.ahu-liquid-scrolled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.95),
            transparent
        );
    pointer-events: none;
}

#publicSiteHeader .nav-btn {
    border-radius: 9px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

#publicSiteHeader.ahu-liquid-scrolled .nav-btn:hover {
    background: rgba(245,158,11,0.07);
    transform: translateY(-1px);
}

#publicSiteHeader.ahu-liquid-scrolled button[onclick="togglePortalAccessMenu()"] {
    background: rgba(255,255,255,0.48);
    border-color: rgba(12,43,89,0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

#publicSiteHeader.ahu-liquid-scrolled button[onclick="openConsultationModal()"] {
    box-shadow:
        0 8px 20px rgba(245,158,11,0.18),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

@media (max-width: 1279px) {
    #publicSiteHeader.ahu-liquid-scrolled {
        width: calc(100% - 18px);
        top: 9px !important;
        border-radius: 22px;
    }
    #publicSiteHeader.ahu-liquid-scrolled > div:first-child {
        height: 70px;
    }
    #publicSiteHeader.ahu-liquid-scrolled #mobileMenuOverlay {
        top: 79px;
    }
    #publicSiteHeader.ahu-liquid-scrolled #mobileMenuDrawer {
        top: 79px;
        height: calc(100vh - 88px);
        border-radius: 22px 0 0 22px;
    }
}

@media (max-width: 640px) {
    #publicSiteHeader.ahu-liquid-scrolled {
        width: calc(100% - 12px);
        top: 6px !important;
        border-radius: 19px;
    }
    #publicSiteHeader.ahu-liquid-scrolled > div:first-child {
        height: 68px;
        padding-left: 14px;
        padding-right: 14px;
    }
    #publicSiteHeader.ahu-liquid-scrolled #mobileMenuOverlay {
        top: 74px;
    }
    #publicSiteHeader.ahu-liquid-scrolled #mobileMenuDrawer {
        top: 74px;
        height: calc(100vh - 80px);
    }
}

@media (max-width: 768px), (pointer: coarse) {
    #publicSiteHeader.ahu-liquid-scrolled {
        -webkit-backdrop-filter: blur(12px) saturate(145%) !important;
        backdrop-filter: blur(12px) saturate(145%) !important;
        box-shadow:
            0 10px 28px rgba(7, 27, 56, 0.11),
            inset 0 1px 0 rgba(255,255,255,.85) !important;
    }
    .glass {
        -webkit-backdrop-filter: blur(9px) !important;
        backdrop-filter: blur(9px) !important;
    }
    .blend-cursor { display: none !important; }
    .image-card img { transition-duration: .3s !important; }
    .lift { transition-duration: .2s !important; }
}

@media (prefers-reduced-motion: reduce) {
    #publicSiteHeader,
    #publicSiteHeader > div:first-child,
    #publicSiteHeader .nav-btn {
        transition: none !important;
    }
}


/* AHU gold scroll handles apply consistently to public pages and portal panels. */
:root,*{scrollbar-color:#ddb027 #eef1f7;scrollbar-width:thin}
::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#eef1f7}
::-webkit-scrollbar-thumb{background:#ddb027;border:2px solid #eef1f7;border-radius:12px}
::-webkit-scrollbar-thumb:hover{background:#edbb36}
@media(prefers-reduced-motion:reduce){#cursor{display:none!important}}

/* Public course browsing and separate profile guidance. */
.ahu-public-courses{margin-top:28px;padding-top:24px;border-top:2px solid #ddb027}.ahu-public-courses h3{font-size:20px;font-weight:800;color:#1e315c;margin-bottom:16px}.ahu-public-courses h3 small{display:block;font-size:12px;font-weight:600;color:#64748b;margin-top:4px}.ahu-public-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ahu-public-course-card{min-width:0;padding:18px;border:1px solid #dde4ef;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1e315c06;color:#263454}.ahu-public-course-card strong{display:block;font-size:15px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}.ahu-public-course-card small{display:block;font-size:12px;color:#64748b;margin-top:4px}.ahu-public-course-facts{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.ahu-public-course-facts span{font-size:11px;font-weight:650;background:#f2f5fa;padding:5px 8px;border-radius:8px}.ahu-public-course-card ul{padding-left:17px;margin:10px 0;font-size:12px;line-height:1.7;color:#566277}.ahu-public-course-card p{font-size:12px;line-height:1.7}.ahu-public-course-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.ahu-public-course-actions a{color:#263b6b;font-weight:750;font-size:12px;text-decoration:underline}.ahu-public-study-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;background:#1e315c;color:white;padding:10px 14px;border-radius:10px;font-size:12px;font-weight:800;transition:background .2s}.ahu-public-study-button:hover{background:#334c80}.ahu-public-analysis-notes{padding:14px 16px;background:#f5f7fb;border-left:3px solid #ddb027;border-radius:10px;margin-bottom:16px;font-size:12px;color:#475569;line-height:1.8}.ahu-public-course-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;margin:18px 0;font-size:12px}.ahu-public-course-pagination button{font-weight:750;color:#20355f;padding:7px 10px;border-radius:8px;border:1px solid #d9e0eb}.ahu-public-course-pagination button:disabled{opacity:.4;cursor:default}.ahu-public-course-footnote{font-size:11px;line-height:1.8;color:#64748b;background:#f8fafc;padding:12px;border-radius:9px}@media(max-width:640px){.ahu-public-course-list{grid-template-columns:1fr}.ahu-public-course-card{padding:15px}}
