/* Bright registration header outside the dark class cards. */
body .ja30-left-stack>.ja-enrollment-panel.hn-enhanced{container-type:inline-size;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;height:auto!important;min-height:0!important;overflow:visible!important}
body .hn-enhanced>.ja32-enrollment-head{height:auto!important;min-height:52px!important;max-height:none!important;display:flex!important;flex-wrap:nowrap!important;gap:10px!important;margin:0 0 10px!important;padding:0!important}
body .ja30-left-stack>.hn-enhanced>.ja32-enrollment-head h2{font-size:12px!important;color:var(--text,#24415c)!important;-webkit-text-fill-color:currentColor!important;letter-spacing:.4px}
body .hn-enhanced .ja32-head-status{display:none!important}
body .hn-enhanced .ja31-enrollment-tools{display:flex!important;align-items:center;gap:7px;flex:1!important;min-width:0;max-width:100%;margin:0!important;position:static;flex-wrap:nowrap!important}
body .ja30-left-stack>.hn-enhanced .ja31-enrollment-tools summary{background:#fff!important;border:1px solid #d9e4ed!important;color:#264860!important;font-size:11px;padding:8px!important;border-radius:9px}
body .hn-enhanced #jaClassCards{padding:16px;background:linear-gradient(125deg,#14243d,#1c2c4d);border:1px solid #344e72;border-radius:20px}
.hn-launch,.hn-dialog{font-family:inherit;box-sizing:border-box}
body .hn-launch{display:inline-flex!important;align-items:center;justify-content:center;flex:none;gap:6px;margin-left:auto!important;border:1px solid #d9e5ef!important;border-radius:14px!important;background:#fff!important;color:#173e5a!important;padding:2px 10px 2px 3px!important;cursor:pointer;font-size:12px!important;line-height:1.3;white-space:nowrap;box-shadow:0 3px 12px #173b5810}
.hn-launch img{width:44px;height:44px;object-fit:contain;animation:hn-float 4s ease-in-out infinite;transform-origin:50% 70%;flex:none}.hn-launch:hover{box-shadow:0 4px 18px #2094d02b}.hn-launch:hover img{animation:hn-wave 1.1s ease-in-out}.hn-label-short{display:none}
.hn-dialog{position:fixed;inset:auto;margin:0;padding:0;width:390px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100dvh - 24px);border:1px solid #cbe1ef;border-radius:20px;background:#f4f9fe;color:#163750;box-shadow:0 16px 48px #0b29402e;overflow:hidden;z-index:2147483000}
.hn-dialog[open]{display:flex;flex-direction:column}.hn-dialog:not([open]){display:none}.hn-dialog *{box-sizing:border-box}.hn-dialog header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(120deg,#14344c,#1a526e);color:#fff;flex-shrink:0}.hn-dialog header img{object-fit:contain;flex:none}.hn-dialog h2{font-size:20px;margin:0;color:#fff}.hn-dialog header small{font-size:12px;color:#d3ebf7}.hn-close{margin-left:auto;color:#fff;background:transparent;border:0;font-size:28px;cursor:pointer;padding:4px 8px;min-width:40px;min-height:40px}
.hn-levels,.hn-topics{display:flex;align-items:center;gap:7px;padding:10px 12px;flex-shrink:0}.hn-levels button,.hn-topics button{background:#fff;color:#245677;border:1px solid #c6deed;border-radius:99px;padding:8px 10px;font:inherit;font-size:12px;cursor:pointer}.hn-levels [aria-pressed=true]{background:#146ea6;color:#fff;border-color:#146ea6}.hn-mode{font-size:11px;color:#506f87;margin-left:auto}.hn-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px;display:flex;flex-direction:column;gap:12px}.hn-message{max-width:92%;white-space:pre-wrap;font-size:14px;line-height:1.65;padding:12px 14px;border-radius:15px;overflow-wrap:anywhere;flex-shrink:0}.hn-bot{align-self:flex-start;background:#fff;border:1px solid #dce9f3;border-bottom-left-radius:4px}.hn-user{align-self:flex-end;background:#147eb8;color:#fff;border-bottom-right-radius:4px}.hn-message a{display:block;margin-top:9px;color:#0865a3;font-weight:700;text-decoration:underline}.hn-fallback{display:block;color:#5b7286;border-bottom:1px solid #e1ebf2;padding-bottom:8px;margin-bottom:8px;font-size:12px}.hn-thinking{color:#567184;animation:hn-breathe 1.5s ease-in-out infinite}.hn-form{display:flex;gap:8px;padding:12px;border-top:1px solid #dbe9f3;flex-shrink:0}.hn-form input{min-width:0;flex:1;border:1px solid #c9dce9;background:#fff;color:#15344d;border-radius:10px;padding:11px;font-size:16px}.hn-form button{border:0;background:#117ab7;color:#fff;border-radius:10px;padding:10px 14px;font-size:14px;cursor:pointer}.hn-note{font-size:11px!important;line-height:1.5;margin:0!important;padding:0 14px 12px;color:#5b7286}.hn-dialog button:disabled{opacity:.55;cursor:wait}.hn-dialog :focus-visible,.hn-launch:focus-visible{outline:3px solid #27bce8;outline-offset:2px}.hn-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes hn-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}@keyframes hn-wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg)}65%{transform:rotate(7deg)}}@keyframes hn-breathe{50%{opacity:.55}}
@container(max-width:560px){.hn-enhanced .ja32-desktop-label{display:none!important}.hn-enhanced .ja32-mobile-label{display:inline!important}.hn-label-long{display:none}.hn-label-short{display:inline}body .ja30-left-stack>.hn-enhanced .ja31-enrollment-tools summary{font-size:11px!important;padding:7px!important}body .hn-launch{font-size:11px!important}.hn-launch img{width:38px;height:38px}body .hn-enhanced>.ja32-enrollment-head{gap:7px!important}}
@container(max-width:370px){body .ja30-left-stack>.hn-enhanced .ja31-enrollment-tools summary{font-size:10px!important;padding:5px!important}body .hn-launch{padding:2px!important}.hn-launch img{width:36px;height:36px}body .ja30-left-stack>.hn-enhanced>.ja32-enrollment-head h2{font-size:10px!important}body .hn-enhanced .ja31-enrollment-tools{gap:5px}body .hn-enhanced #jaClassCards{padding:12px}}
@container(max-width:315px){.hn-label-short{display:none}}
@media(max-width:480px){.hn-topics{gap:5px;padding:8px 10px}.hn-topics button{font-size:11px;padding:8px}.hn-mode{font-size:10px}.hn-dialog header{padding:10px}.hn-dialog header img{width:42px;height:42px}.hn-message{max-width:96%}}
@media(prefers-reduced-motion:reduce){.hn-launch img,.hn-thinking{animation:none!important;transition:none!important}}

/* A distinctive white invitation, with a nonmodal chat card over the registration area. */
body .hn-launch{position:relative;isolation:isolate;border-color:#d9b75b!important;background:#fff!important;color:#163f63!important;box-shadow:0 2px 0 #d5ab3b44,0 4px 14px #177db51c!important;overflow:visible!important;font-weight:750!important;transition:box-shadow .2s,transform .2s}
body .hn-launch::before{content:'';position:absolute;inset:-4px;border:1px solid #e7b74070;border-radius:18px;z-index:-1;animation:hn-invite-glow 3.6s ease-in-out infinite;pointer-events:none}
body .hn-launch[aria-expanded=true]{border-color:#2789ba!important;box-shadow:0 0 0 3px #288fbb21!important}
body .hn-launch img{width:48px;height:48px;filter:drop-shadow(0 2px 3px #1472a52b);animation:hn-mascot-bob 4.2s ease-in-out infinite}
body .hn-launch:hover{transform:translateY(-1px);box-shadow:0 5px 20px #1974ad35!important}
body #hn-chat.hn-dialog{position:fixed!important;inset:auto;margin:0!important;padding:0!important;border:1px solid #bccfdd!important;border-radius:20px!important;background:#f0e9e2!important;color:#163750!important;box-shadow:0 12px 38px #102d4b33!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;z-index:2147483000!important;animation:hn-chat-in .22s ease-out}
body #hn-chat.hn-dialog[open]{display:flex!important;flex-direction:column!important}body #hn-chat.hn-dialog:not([open]){display:none!important}
body #hn-chat header{background:linear-gradient(120deg,#144f77,#167f9a)!important;padding:10px 13px!important;gap:9px;border:0;color:#fff!important;min-height:67px;flex:none}
body #hn-chat h2{font:800 19px/1.3 var(--font),sans-serif!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin:0!important}
body #hn-chat header small{color:#e3f3fb!important;-webkit-text-fill-color:#e3f3fb!important;font-size:11px!important}
body #hn-chat .hn-close{display:grid;place-items:center;flex:none;width:34px;min-width:34px;height:34px;min-height:34px;border-radius:50%;padding:0!important;font-size:26px;line-height:1;background:#ffffff20!important;border:1px solid #ffffff55!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin-left:auto;cursor:pointer}
body #hn-chat .hn-close:hover{background:#a52942!important;border-color:#f3b6c1!important}
body #hn-chat .hn-levels{background:#f8fbff;padding:7px 10px;gap:6px;border-bottom:1px solid #d7e3ed}
body #hn-chat .hn-levels button{font-size:11px;padding:6px 9px;min-height:30px}body #hn-chat .hn-mode{font-size:10px;color:#4d687c!important}
body #hn-chat .hn-messages{padding:12px;background:#f0e9e2!important;min-height:55px}
body #hn-chat .hn-message{font:400 13px/1.65 var(--font),sans-serif!important;padding:11px 13px;border-radius:16px;border:0;box-shadow:0 2px 3px #554b3b14;max-width:93%}
body #hn-chat .hn-bot{background:#fff!important;color:#344e64!important;-webkit-text-fill-color:#344e64!important;border-bottom-left-radius:5px}
body #hn-chat .hn-user{background:#d8f1f7!important;color:#16455c!important;-webkit-text-fill-color:#16455c!important;border-bottom-right-radius:5px}
body #hn-chat .hn-topics{gap:5px;padding:6px 10px;background:#f7f4f0;overflow-x:auto;flex-wrap:nowrap}
body #hn-chat .hn-topics button{white-space:nowrap;font-size:10px;padding:6px 8px;min-height:29px;background:#fff;color:#285b76;border-color:#c7d8e5}
body #hn-chat .hn-form{padding:9px 10px;background:#fff;border-top:1px solid #d5e0e7;gap:7px}
body #hn-chat .hn-form input{padding:9px;min-height:39px;margin:0;background:#f7fafc;color:#163750!important;-webkit-text-fill-color:#163750!important;border:1px solid #cbdce8;font-size:16px;box-sizing:border-box;width:0;flex:1}
body #hn-chat .hn-form button{background:#117995!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px;border-radius:12px;padding:8px 12px;min-height:39px;box-shadow:none}
body #hn-chat .hn-note{background:#fff;color:#526a7d!important;-webkit-text-fill-color:#526a7d!important;font-size:9px!important;line-height:1.45!important;padding:0 12px 8px!important}
@keyframes hn-invite-glow{0%,100%{opacity:.45;transform:scale(1)}50%{opacity:1;transform:scale(1.025)}}
@keyframes hn-mascot-bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes hn-chat-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@container(max-width:560px){body .hn-launch img{width:40px;height:40px}body .hn-launch{font-size:11px!important;padding:2px 7px 2px 2px!important}}
@container(max-width:370px){body .hn-launch img{width:35px;height:35px}body .hn-launch{padding:2px!important}.hn-launch::before{inset:-2px!important}}
@media(prefers-reduced-motion:reduce){body .hn-launch::before,body .hn-launch img,body #hn-chat.hn-dialog{animation:none!important;transition:none!important}}
/* Registration mascot lives in a reserved footer, not the header or a card button. */
body .ja30-left-stack>.ja-enrollment-panel.hn-enhanced{container-type:normal!important}
body .hn-enhanced>.ja32-enrollment-head{min-height:40px!important;flex-wrap:wrap!important;gap:8px!important}
body .hn-enhanced .ja31-enrollment-tools{margin-left:0!important;flex-wrap:wrap!important}
body .hn-dock-host{position:relative;padding-bottom:84px!important}
body .hn-dock{position:absolute;right:14px;bottom:9px;z-index:25;width:64px;height:64px}
body .hn-dock .hn-launch{display:grid!important;place-items:center;width:64px!important;height:64px!important;min-width:64px;min-height:64px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;isolation:auto;animation:none}
body .hn-dock .hn-launch::before{display:none!important}
body .hn-dock .hn-launch :is(.hn-label-long,.hn-label-short){display:none!important}
body .hn-dock .hn-launch img{display:block;width:64px!important;height:64px!important;object-fit:contain;animation:hn-mascot-bob 4s ease-in-out infinite;filter:drop-shadow(0 4px 5px #00162d44)}
body .hn-dock .hn-launch:hover{transform:scale(1.06)}
body .hn-cloud{position:absolute;right:76px;bottom:4px;width:255px;max-width:calc(100vw - 160px);padding:15px 27px 14px 16px;border:1px solid #d7e5ee;border-radius:20px;background:#fff;color:#173b59;box-shadow:0 5px 20px #0b274d22;animation:hn-chat-in .25s ease-out}
body .hn-cloud[hidden]{display:none!important}
body .hn-cloud::after{content:'';position:absolute;right:-7px;bottom:18px;width:12px;height:12px;background:#fff;border-right:1px solid #d7e5ee;border-top:1px solid #d7e5ee;transform:rotate(45deg)}
body .hn-cloud .hn-cloud-close{position:absolute;right:2px;top:2px;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:#fff;color:#9b263b;font-size:23px;box-shadow:none;cursor:pointer;z-index:1}
body .hn-cloud .hn-cloud-ask{display:block;padding:0;border:0;background:none;box-shadow:none;text-align:left;color:#173b59;cursor:pointer;white-space:normal;font:400 12px/1.5 var(--font),system-ui}
body .hn-cloud-ask b{display:block;font-size:14px;color:#173b59!important;-webkit-text-fill-color:#173b59!important}
body .hn-cloud-ask span{display:block;color:#4d657b!important;-webkit-text-fill-color:#4d657b!important;margin-top:4px}
body .hn-cloud-ask i{display:inline-block;color:#1687b4;letter-spacing:2px;animation:hn-breathe 1.8s ease-in-out infinite}
body .hn-dock :focus-visible{outline:3px solid #22b9ef;outline-offset:3px}
@media(max-width:700px){body .hn-cloud{right:0;bottom:80px;max-width:calc(100vw - 115px);width:245px}body .hn-cloud::after{right:23px;bottom:-7px;transform:rotate(135deg)}body .hn-enhanced .ja32-desktop-label{display:none!important}body .hn-enhanced .ja32-mobile-label{display:inline!important}body .hn-enhanced .ja31-enrollment-tools summary{font-size:11px!important;padding:8px!important}}
@media(prefers-reduced-motion:reduce){body .hn-cloud,body .hn-cloud-ask i,body .hn-dock .hn-launch img{animation:none!important}}
/* Enrollment information takes priority over the optional mascot invitation. */
body .hn-enhanced:has(#ja31EnrollmentTools details[open]) .hn-dock{visibility:hidden;pointer-events:none}
/* Compact overlay mascot: no reserved footer. */
body .hn-dock-host{padding-bottom:14px!important}
body .hn-dock{right:8px;bottom:8px;width:56px;height:56px;touch-action:none;user-select:none;box-sizing:border-box}
body .hn-dock .hn-launch{width:56px!important;height:56px!important;min-width:56px;min-height:56px;touch-action:none;cursor:grab}
body .hn-dock .hn-launch img{width:56px!important;height:56px!important;-webkit-user-drag:none}
body .hn-dock.is-dragging .hn-launch{cursor:grabbing;transform:none}
body .hn-dock.is-dragging img{animation:none!important}
body .hn-cloud{right:auto;bottom:auto;max-width:none;padding:16px 18px;border-radius:19px;background:#fff;box-shadow:0 8px 30px #071c3933;border:1px solid #e2e8f0;font-family:Inter,"Segoe UI",system-ui,sans-serif;user-select:text}
body .hn-cloud::after{right:24px;bottom:-6px;top:auto;transform:rotate(135deg);width:11px;height:11px}
body .hn-cloud .hn-cloud-close{right:5px;top:5px;width:28px;height:28px;min-height:28px;background:#f1f5f9;color:#64748b;font-size:20px}
body .hn-cloud .hn-cloud-ask{font-family:Inter,"Segoe UI",system-ui,sans-serif;line-height:1.55;padding-right:10px}
body .hn-cloud-ask small{display:block;color:#54718a;font-size:9px;font-weight:700;letter-spacing:1px;margin-bottom:6px}
body .hn-cloud-ask b{font-size:15px;font-weight:650;letter-spacing:-.2px}
body .hn-cloud-ask span{font-size:12px;color:#52657a!important;line-height:1.6}
body .hn-cloud-ask em{display:block;font-size:12px;font-style:normal;font-weight:650;color:#126d9a;margin-top:10px}
body .hn-cloud-ask i{animation:none;letter-spacing:0;float:right;font-style:normal}
