.hub-body{height:auto;min-height:100svh;overflow:auto;font-family:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(circle at 50% 43%,rgba(50,89,211,.19),transparent 31rem),linear-gradient(145deg,#05070d,#080c15 48%,#04060b)}
.hub-body::after{content:"";position:fixed;z-index:0;inset:-18%;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 46%,rgba(40,216,239,.22) 0,rgba(43,96,255,.38) 20%,rgba(29,75,205,.2) 38%,transparent 64%);transform:scale(.84);transition:opacity .45s ease}.hub-body.nexus-thinking::after{opacity:1;animation:nexus-breathe 3.4s ease-in-out infinite}@keyframes nexus-breathe{0%,100%{opacity:.48;transform:scale(.84)}50%{opacity:1;transform:scale(1.1)}}
.staff-mode .composer{border-color:rgba(40,216,239,.26)}.staff-mode .footer-meta{color:#74aeb9}
.hub-shell{position:relative;z-index:1;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto;padding:24px clamp(18px,4vw,56px)}
.hub-header{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px}.hub-brand-lockup{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.hub-brand{width:clamp(150px,18vw,220px);height:auto;filter:grayscale(1) brightness(0) invert(1);opacity:1;mix-blend-mode:normal}.beta-badge{padding:3px 7px;border:1px solid rgba(73,220,239,.4);border-radius:999px;background:rgba(34,160,184,.13);color:#65e4f2;font:700 9px/1 "Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}.header-session-title{display:none}
.staff-button{position:absolute;right:0;border:0;background:transparent;color:#7f8999;padding:10px 0 10px 14px;font:500 13px/1.4 "Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;cursor:pointer;transition:color .18s ease}.staff-button:hover{color:#fff}.staff-button:focus-visible{outline:2px solid #39d7ef;outline-offset:5px;border-radius:2px}
.hub-main{position:static;display:block;width:min(1180px,100%);height:auto;margin:auto;padding:50px 0 34px;text-align:initial}.hub-intro{text-align:center;margin-bottom:30px;transition:.25s ease}.hub-intro h1{margin:0;max-width:none;font-family:"Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;font-size:clamp(26px,2.6vw,36px);line-height:1.15;letter-spacing:-.032em;font-weight:600;transition:.25s ease}
.conversation{display:none;width:min(1040px,100%);margin:0 auto 22px;padding:0 38px}.conversation.show{display:block}.chat-turn{margin-bottom:42px}.bubble{line-height:1.65;white-space:pre-wrap}.user-bubble{width:fit-content;max-width:78%;margin:0 0 34px auto;padding:11px 16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(27,37,62,.82);font-size:17px}.nexus-bubble{width:100%;padding:0 0 28px;background:transparent;border:0;box-shadow:none}.answer-head{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:13px;font-weight:700;color:#39d7ef}.answer-head img{width:24px;height:24px;filter:brightness(1.35) saturate(1.15) drop-shadow(0 0 8px rgba(40,216,239,.32))}
.evidence{display:none;margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#7f8999}.evidence.show{display:block}.evidence a{color:#aebdff;text-decoration:none}.evidence a:hover{text-decoration:underline;color:#fff}
.answer-body a{color:#55dff1;text-decoration-color:rgba(85,223,241,.42);text-underline-offset:3px;overflow-wrap:anywhere}.answer-body a:hover,.answer-body a:focus-visible{color:#a4f4ff;text-decoration-color:currentColor}
#chatForm{display:block;width:min(1040px,100%);margin:0 auto}.composer{position:relative;width:100%;margin:auto;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(18,22,31,.96);box-shadow:0 24px 90px rgba(0,0,0,.36),0 0 70px rgba(61,100,255,.1);transition:.25s}.composer:focus-within{border-color:rgba(71,205,236,.48);transform:translateY(-1px)}
#turnstileMount{position:fixed;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}
.composer textarea{display:block;box-sizing:border-box;width:100%;height:54px;max-height:180px;resize:none;border:0;outline:0;overflow-y:hidden;background:transparent;color:#f7f9fd;padding:0 62px 0 20px;font:17px/54px "Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;text-align:left;transition:height .16s ease}.composer textarea.is-expanded{padding-top:13px;padding-bottom:13px;line-height:1.6}.composer textarea::placeholder{color:#7d8799}.send-button{position:absolute;right:9px;top:50%;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(40,216,239,.34);border-radius:11px;background:linear-gradient(145deg,rgba(40,216,239,.18),rgba(49,117,255,.14));backdrop-filter:blur(10px) saturate(135%);-webkit-backdrop-filter:blur(10px) saturate(135%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(0,136,255,.12);color:#39d7ef;cursor:pointer;transform:translateY(-50%);transition:background .16s ease,border-color .16s ease,color .16s ease,opacity .16s ease}.send-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}.send-button:hover:not(:disabled){border-color:rgba(40,216,239,.62);background:linear-gradient(145deg,rgba(40,216,239,.27),rgba(49,117,255,.22));color:#8cecff}.send-button:disabled{opacity:.38;cursor:not-allowed}.privacy-note{text-align:center;margin:12px auto 0;color:#737d8d;font-size:12px}
.chat-active .hub-shell{display:block;min-height:100svh;padding-top:0}.chat-active .hub-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:78px;margin:0 calc(clamp(18px,4vw,56px) * -1);padding:10px clamp(18px,4vw,56px);background:linear-gradient(180deg,rgba(8,13,25,.9),rgba(7,11,22,.8));border-bottom:1px solid rgba(255,255,255,.06);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%)}.chat-active .header-session-title{display:block;min-width:0;padding-right:28px;overflow:hidden;color:#aeb7c6;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.chat-active .hub-brand{grid-column:2}.chat-active .staff-button{grid-column:3;justify-self:end}.chat-active .hub-main{margin:0 auto;padding:34px 0 210px}.chat-active .hub-intro{display:none}.chat-active #chatForm{position:fixed;z-index:10;left:50%;bottom:22px;width:min(1040px,calc(100% - 40px));transform:translateX(-50%)}.chat-active .composer{border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.4),0 0 55px rgba(61,100,255,.08)}.chat-active .privacy-note,.chat-active .hub-footer{display:none}
.hub-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#687384;font-size:12px}.footer-brand{display:block;line-height:0}.hub-footer img{width:155px;opacity:.48;transition:opacity .18s ease,filter .18s ease}.footer-brand:hover img,.footer-brand:focus-visible img{opacity:1;filter:drop-shadow(0 0 12px rgba(255,255,255,.12))}.school-link{color:inherit;text-decoration:none;white-space:nowrap;transition:color .18s ease}.school-link:hover,.school-link:focus-visible{color:#d6dce7}.footer-meta{display:flex;align-items:center;gap:9px}.privacy-button{border:0;background:transparent;color:inherit;padding:4px 0;font:inherit;cursor:pointer}.privacy-button:hover,.privacy-button:focus-visible{color:#d6dce7}.privacy-dialog{width:min(520px,calc(100% - 32px));padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(13,18,30,.98);box-shadow:0 28px 100px rgba(0,0,0,.58);color:#eef2f8}.privacy-dialog::backdrop{background:rgba(2,5,12,.66);backdrop-filter:blur(6px)}.privacy-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.privacy-dialog h2{margin:0;font-size:21px;letter-spacing:-.02em}.privacy-dialog p{margin:0 0 14px;color:#adb6c5;font:14px/1.7 "Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif}.privacy-dialog p:last-child{margin-bottom:0}.privacy-dialog a{color:#73ddea;text-decoration:none}.privacy-dialog a:hover,.privacy-dialog a:focus-visible{color:#fff;text-decoration:underline}.dialog-close{border:0;background:transparent;color:#8f9aab;padding:6px;font:600 12px "Plus Jakarta Sans",sans-serif;cursor:pointer}.dialog-close:hover{color:#fff}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#202632;border:1px solid rgba(255,255,255,.1);padding:12px 16px;border-radius:12px;color:#e9edf5;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:650px){.hub-shell{padding:18px}.hub-brand{width:138px}.staff-button{padding:9px 0 9px 10px;font-size:12px}.hub-main{padding-top:38px}.hub-intro{margin-bottom:22px}.hub-intro h1{font-size:clamp(18px,5.4vw,22px);line-height:1.15;letter-spacing:-.04em;white-space:nowrap}.composer{border-radius:17px}.composer textarea{height:54px;font-size:15px;line-height:54px;padding-top:0;padding-bottom:0}.composer textarea.is-expanded{padding-top:13px;padding-bottom:13px;line-height:1.6}.hub-footer{align-items:center;gap:7px;font-size:8px;white-space:nowrap}.hub-footer img{width:82px}.footer-meta{min-width:0;gap:7px}.school-link{font-size:8px}.privacy-button{font-size:8px;white-space:nowrap}.hub-footer span{display:none}.conversation{padding:0 12px}.user-bubble{max-width:88%}.chat-active .hub-header{display:flex;justify-content:space-between;min-height:66px;margin:0 -18px;padding:8px 18px}.chat-active .header-session-title{display:none}.chat-active .hub-brand{width:126px}.chat-active .staff-button{position:static}.chat-active .hub-main{padding:24px 0 152px}.chat-active #chatForm{bottom:14px;width:calc(100% - 24px)}}
.header-session{display:none}.chat-active .header-session{display:flex;min-width:0;align-items:center;gap:12px;padding-right:28px}.chat-active .header-session-title{display:block;min-width:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-chat-button{display:grid;flex:0 0 auto;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#8f99a9;font:300 25px/1 ui-sans-serif,system-ui,sans-serif;cursor:pointer}.new-chat-button:hover,.new-chat-button:focus-visible{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.06);color:#fff}.chat-active .staff-button{position:static;grid-column:3;justify-self:end;max-width:100%;padding-left:24px;white-space:nowrap}
@media(max-width:650px){.chat-active .hub-header{display:grid;grid-template-columns:32px 1fr auto}.chat-active .header-session{display:block;padding:0}.chat-active .header-session-title{display:none}.chat-active .hub-brand{grid-column:2;justify-self:center}.chat-active .staff-button{grid-column:3;padding-left:10px}}
@media(prefers-reduced-motion:reduce){.hub-body.nexus-thinking::after{animation:none;opacity:.56}}
.chat-active .hub-brand-lockup{grid-column:2;justify-self:center}
@media(max-width:650px){.beta-badge{padding:3px 6px;font-size:8px}.chat-active .hub-brand-lockup{grid-column:2;justify-self:center}.chat-active .hub-brand-lockup .hub-brand{width:126px}}

/* Markdown tables and bar charts in Nexus answers */
.nexus-bubble p,.nexus-bubble ul,.nexus-bubble ol,.nexus-bubble .md-table,.nexus-bubble h3,.nexus-bubble h4,.nexus-bubble h5,.nexus-bubble .bar-chart{white-space:normal}
.nexus-bubble .md-table{width:100%;margin:14px 0;border-collapse:collapse;font-size:14px;line-height:1.5}
.md-table th{text-align:left;padding:8px 12px;color:var(--muted);font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid var(--line)}
.md-table td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.md-table tr:last-child td{border-bottom:none}
.nexus-bubble p{margin:8px 0}
.nexus-bubble p:first-child{margin-top:0}
.nexus-bubble p:last-child{margin-bottom:0}
.nexus-bubble ul,.nexus-bubble ol{margin:8px 0;padding-left:22px}
.nexus-bubble li{margin:4px 0}
.nexus-bubble h3,.nexus-bubble h4,.nexus-bubble h5{margin:14px 0 6px;font-size:15px;font-weight:600}
.bar-chart{margin:14px 0;display:flex;flex-direction:column;gap:6px}
.bar-chart-title{color:var(--muted);font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;margin-bottom:4px}
.bar-row{display:grid;grid-template-columns:minmax(90px,180px) 1fr auto;align-items:center;gap:10px}
.bar-label{font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-track{height:8px;border-radius:99px;background:var(--line);overflow:hidden}
.bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--blue),var(--cyan))}
.bar-value{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:44px;text-align:right}
@media (max-width:560px){.bar-row{grid-template-columns:minmax(70px,110px) 1fr auto;gap:8px}.bar-label{font-size:12px}.md-table{font-size:13px}.md-table th,.md-table td{padding:6px 8px}}
.copy-button{margin-top:2px;border:0;background:transparent;color:#7f8999;font:500 12px "Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;cursor:pointer;padding:4px 0;opacity:0;transition:opacity .15s}.chat-turn:hover .copy-button,.copy-button:focus-visible{opacity:1}
