:root{font-family:Figtree,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15243c;background:#f4f7fb;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-width:280px}.app-shell>header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff;background:#13376e;padding:12px max(24px,calc((100vw - 1152px)/2))}.app-shell>header strong{font-size:1.375rem;display:block}.app-shell>header span{font-size:.8rem;opacity:.86}.app-shell>main,.context{max-width:1200px;margin:auto;padding-left:24px;padding-right:24px}.app-shell>main{padding-bottom:48px}.context{padding-top:14px;padding-bottom:14px;color:#4b617d;font-size:.9rem;border-bottom:1px solid #d8e1ee}.skip-link{position:fixed;z-index:20;left:12px;top:8px;background:#fff;color:#123b75;padding:10px 14px;border-radius:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}h1{margin:28px 0 4px;line-height:1.2}h2{font-size:1.1rem;margin-top:0}h3{font-size:1rem}.muted,small{color:#5c6f88}.cards,.grid{display:grid;gap:16px;margin-top:22px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.metric,.panel{background:#fff;border:1px solid #dce5f1;border-radius:14px;padding:18px;box-shadow:0 2px 8px #11396b0b}.metric span{display:block;color:#536780;font-size:.9rem}.metric strong{display:block;font-size:1.75rem;margin:7px 0;color:#123b75}.panel>p{border-bottom:1px solid #edf1f6;padding-bottom:12px}select,input,textarea,button{font:inherit;border-radius:8px;padding:10px 12px;border:1px solid #aebed3}input,select,textarea{width:100%;color:#15243c;background:#fff}textarea{min-height:92px;resize:vertical}button{width:max-content;background:#1763c7;color:#fff;border:none;cursor:pointer;font-weight:650}button:hover{background:#124f9f}button:disabled{opacity:.58;cursor:not-allowed}button.secondary{color:#123b75;background:#e8eef7}button.secondary:hover{background:#d9e4f2}li{margin:12px 0}.chat{height:auto;overflow:auto;background:#f6f9fd;border-radius:9px;padding:12px}.auth{max-width:460px;margin:48px auto}.auth form,.panel form{display:flex;flex-direction:column;align-items:stretch;margin-top:12px;gap:12px}.auth label,.panel label{display:grid;gap:5px;color:#344b68;font-weight:600}.auth button,.panel form button{align-self:flex-start}.mfa-setup{background:#f6f9fd;border:1px solid #d9e4f2;border-radius:10px;padding:12px;margin:14px 0}.mfa-setup code{display:block;overflow-wrap:anywhere;font-size:1rem;letter-spacing:.05em}.table-wrap{max-width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse}caption{text-align:left;font-weight:600;color:#536780;padding:0 0 8px}th,td{text-align:left;padding:10px;border-bottom:1px solid #d9e3ef}th{color:#294768}.error,.success{border-radius:8px;padding:10px}.error{color:#841b1b;background:#fff1f1;border:1px solid #f0caca}.success{color:#195b37;background:#edf9f1;border:1px solid #bfe2ca}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #e3a900;outline-offset:3px}.sessions,.privacy{margin-top:24px}.sessions summary,.privacy summary{font-weight:700;cursor:pointer;color:#123b75}.sessions li{display:flex;align-items:center;justify-content:space-between;gap:12px}.sessions small,.privacy small{display:block;margin-top:3px}.danger{background:#9b1c1c}.danger:hover{background:#751515}fieldset{border:1px solid #d6e0ec;border-radius:10px;margin:16px 0;padding:14px}legend{font-weight:700;padding:0 6px}.consent{display:grid!important;grid-template-columns:auto 1fr;align-items:start;gap:10px!important;margin:12px 0}.consent input{width:20px;height:20px;margin-top:2px}.privacy>button{margin:4px 0 8px}@media(max-width:720px){.cards,.grid{grid-template-columns:minmax(0,1fr)}.app-shell>header{align-items:flex-start;flex-direction:column;padding-left:14px;padding-right:14px}.app-shell>main,.context{padding-left:14px;padding-right:14px}.sessions li{align-items:flex-start;flex-direction:column}.metric strong{font-size:1.5rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.tutor-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.tutor-actions button{font-size:.85rem;padding:.35rem .7rem}.chat .turn{padding:.6rem .75rem;border-radius:.5rem;margin-bottom:.5rem}.chat .turn.student{background:#eef2f7}.chat .turn.tutor{background:#f6fbf7;border-left:3px solid #2f7d4f}.chat .turn p{margin:0 0 .35rem}.phase-badge{margin:0 0 .3rem}.phase-badge small{display:inline-block;background:#e8f3ec;color:#1f6b3e;border-radius:999px;padding:.15rem .6rem;font-weight:600;letter-spacing:.01em}.curriculum-focus{border-left:.25rem solid #2563eb;background:#eff6ff;margin:.5rem 0;padding:.45rem .7rem;border-radius:.25rem}.curriculum-focus p{margin:.2rem 0}.auth-split{--auth-ink: #071c19;--auth-teal: #0f4c45;--auth-teal-mid: #17665c;--auth-foam: #f2f5f3;--auth-panel: #fbfcfb;--auth-line: #d5e0db;--auth-text: #152823;--auth-muted: #5a6f68;--auth-accent: #c4722a;--auth-accent-deep: #9a5418;--font-display: "Figtree", "Segoe UI", sans-serif;--font-body: "Figtree", "Segoe UI", sans-serif;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);background:var(--auth-foam);color:var(--auth-text);font-family:var(--font-body)}.auth-split .skip-link{position:fixed;z-index:30;left:12px;top:8px;background:#fff;color:var(--auth-teal);padding:10px 14px;border-radius:8px;transform:translateY(-160%)}.auth-split .skip-link:focus{transform:translateY(0)}.auth-split__form{display:flex;align-items:center;justify-content:center;padding:clamp(1.5rem,4vw,3rem);background:radial-gradient(ellipse 80% 50% at 0% 0%,rgba(15,76,69,.06),transparent 55%),var(--auth-foam);animation:auth-form-in .52s cubic-bezier(.22,1,.36,1) both}.auth-split__form-inner{width:min(100%,420px)}.auth-split__mobile-brand{display:none;margin:0 0 1.25rem;font-family:var(--font-display);font-size:1.35rem;font-weight:700;letter-spacing:-.02em;color:var(--auth-teal)}.auth-split__main{width:100%}.auth-split .auth{max-width:none;margin:0;padding:0;background:transparent;border:none;box-shadow:none}.auth-split .auth h1{margin:0 0 .35rem;font-family:var(--font-display);font-size:clamp(1.75rem,2.4vw,2.15rem);font-weight:700;letter-spacing:-.03em;line-height:1.15;color:var(--auth-ink)}.auth-split .auth>p.muted{margin:0 0 1.5rem;color:var(--auth-muted);font-size:.98rem}.auth-split .auth form{display:flex;flex-direction:column;gap:.95rem;margin-top:0}.auth-split .auth label{display:grid;gap:.4rem;color:var(--auth-ink);font-weight:600;font-size:.9rem}.auth-split .auth input{width:100%;border:1px solid var(--auth-line);border-radius:10px;padding:.85rem .95rem;background:var(--auth-panel);color:var(--auth-text);transition:border-color .16s ease,box-shadow .16s ease}.auth-split .auth input:focus{outline:none;border-color:var(--auth-teal-mid);box-shadow:0 0 0 3px #0f4c4529}.auth-split .auth button{width:100%;align-self:stretch;margin-top:.15rem;border:none;border-radius:10px;padding:.9rem 1rem;font-weight:700;cursor:pointer;background:var(--auth-teal);color:#f7fbf9;transition:background .16s ease,transform .16s ease}.auth-split .auth button:hover:not(:disabled){background:var(--auth-ink)}.auth-split .auth button:active:not(:disabled){transform:translateY(1px)}.auth-split .auth button.secondary{width:100%;background:transparent;color:var(--auth-teal);border:1px solid var(--auth-line);font-weight:600}.auth-split .auth button.secondary:hover:not(:disabled){background:#0f4c450f;color:var(--auth-ink)}.auth-split .auth button.linklike,.auth-split .linklike{width:auto;display:inline;margin:0;padding:0;border:none;border-radius:0;background:none;color:var(--auth-accent-deep);font-weight:600;text-decoration:underline;text-underline-offset:2px}.auth-split .auth button.linklike:hover,.auth-split .linklike:hover{color:var(--auth-accent);background:none;transform:none}.auth-split .sso-options{display:grid;gap:.55rem;margin-top:.25rem}.auth-split a.button.secondary{display:block;width:100%;text-align:center;text-decoration:none;border-radius:10px;padding:.9rem 1rem;font-weight:600;color:var(--auth-teal);border:1px solid var(--auth-line);background:transparent}.auth-split a.button.secondary:hover{background:#0f4c450f;color:var(--auth-ink)}.auth-split .auth-foot{margin:1.1rem 0 0;color:var(--auth-muted);font-size:.9rem}.auth-split .notice{margin:0 0 1rem}.auth-split__brand{position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:clamp(2rem,5vw,4rem);color:#eef6f3;background:linear-gradient(155deg,rgba(7,28,25,.2),transparent 45%),linear-gradient(210deg,#0a3530,#071c19 48%,#0d2924);animation:auth-brand-in .7s cubic-bezier(.22,1,.36,1) both}.auth-split__grid{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(238,246,243,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(238,246,243,.045) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse 70% 70% at 60% 40%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse 70% 70% at 60% 40%,#000 20%,transparent 75%);animation:auth-grid-drift 28s linear infinite}.auth-split__glow{position:absolute;border-radius:50%;filter:blur(40px);pointer-events:none}.auth-split__glow--a{width:min(58vw,520px);height:min(58vw,520px);top:-12%;right:-8%;background:radial-gradient(circle,rgba(196,114,42,.38),transparent 68%);animation:auth-orb 12s ease-in-out infinite alternate}.auth-split__glow--b{width:min(46vw,420px);height:min(46vw,420px);bottom:8%;left:-10%;background:radial-gradient(circle,rgba(23,102,92,.55),transparent 70%);animation:auth-orb 16s ease-in-out infinite alternate-reverse}.auth-split__brand-copy{position:relative;z-index:1;max-width:28rem}.auth-split__kicker{margin:0 0 .75rem;font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#eef6f3b8}.auth-split__logo{margin:0;font-family:var(--font-display);font-size:clamp(3rem,6vw,4.75rem);font-weight:700;letter-spacing:-.04em;line-height:.95;color:#f7fbf9}.auth-split__tagline{margin:1.15rem 0 0;font-size:clamp(1.05rem,1.5vw,1.2rem);line-height:1.45;color:#eef6f3d1;max-width:22rem}@keyframes auth-form-in{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:translate(0)}}@keyframes auth-brand-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes auth-orb{0%{transform:translateZ(0) scale(1)}to{transform:translate3d(-18px,22px,0) scale(1.06)}}@keyframes auth-grid-drift{0%{transform:translateZ(0)}to{transform:translate3d(48px,24px,0)}}@media(max-width:900px){.auth-split{grid-template-columns:1fr;grid-template-rows:auto 1fr}.auth-split__brand{min-height:34vh;order:-1;align-items:center;padding:2.25rem 1.5rem}.auth-split__logo{font-size:clamp(2.4rem,10vw,3.4rem)}.auth-split__tagline{max-width:26rem}.auth-split__mobile-brand{display:none}.auth-split__form{align-items:flex-start;padding-top:2rem}}@media(max-width:560px){.auth-split__brand{min-height:28vh}.auth-split__kicker{margin-bottom:.5rem}}@media(prefers-reduced-motion:reduce){.auth-split__form,.auth-split__brand,.auth-split__glow,.auth-split__grid{animation:none!important}}.app-frame{--frame-ink: #071c19;--frame-teal: #0f4c45;--frame-teal-soft: #e7f1ef;--frame-line: #d7e2de;--frame-foam: #f4f7f5;--frame-panel: #ffffff;--frame-muted: #5a6f68;--sidebar-width: 15.5rem;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:var(--frame-foam);color:var(--frame-ink);font-family:Figtree,Segoe UI,sans-serif}.app-sidebar{display:flex;flex-direction:column;gap:1.25rem;padding:1.25rem .9rem 1rem;background:linear-gradient(180deg,#0c332e,#071c19);color:#eef6f3;position:sticky;top:0;height:100vh;height:100dvh;z-index:20}.app-sidebar__brand{padding:.35rem .7rem .85rem;border-bottom:1px solid rgba(238,246,243,.12)}.app-sidebar__logo{display:block;font-family:Figtree,sans-serif;font-weight:700;font-size:1.2rem;letter-spacing:-.03em}.app-sidebar__role{display:block;margin-top:.2rem;font-size:.78rem;opacity:.72}.app-sidebar__nav{display:grid;gap:.3rem;flex:1;align-content:start}.app-sidebar__link{width:100%;text-align:left;border:none;border-radius:10px;padding:.7rem .8rem;background:transparent;color:#eef6f3db;font:inherit;font-weight:600;cursor:pointer}.app-sidebar__link:hover{background:#eef6f314;color:#fff}.app-sidebar__link.is-active{background:#eef6f324;color:#fff}.app-sidebar__foot{padding-top:.5rem;border-top:1px solid rgba(238,246,243,.12)}.app-sidebar__signout{width:100%;border:1px solid rgba(238,246,243,.22);border-radius:10px;padding:.7rem .8rem;background:transparent;color:#eef6f3;font:inherit;font-weight:600;cursor:pointer}.app-sidebar__signout:hover{background:#eef6f31a}.app-frame__main{min-width:0;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem;padding:.75rem 1.5rem;background:var(--frame-panel);border-bottom:1px solid var(--frame-line);position:sticky;top:0;z-index:10}.app-topbar__menu{display:none;border:1px solid var(--frame-line);border-radius:8px;background:var(--frame-panel);color:var(--frame-teal);font:inherit;font-weight:650;padding:.55rem .8rem;cursor:pointer}.app-topbar__identity{margin-left:auto;text-align:right}.app-topbar__identity strong{display:block;font-size:.95rem;color:var(--frame-ink)}.app-topbar__identity span{display:block;font-size:.8rem;color:var(--frame-muted)}.app-content{flex:1;width:min(100%,1200px);margin:0 auto;padding:1.25rem 1.5rem 3rem}.app-page-head{margin-bottom:1.25rem}.app-page-head h1{margin:0 0 .3rem;font-family:Figtree,sans-serif;font-size:clamp(1.55rem,2.2vw,1.9rem);font-weight:700;letter-spacing:-.03em;line-height:1.2;color:var(--frame-ink)}.app-page-head .muted{margin:0;max-width:42rem}.app-page-body>section>h1,.app-page-body>section>.muted:first-of-type{display:none}.app-page-body>section>h1+.muted{display:none}.app-frame__scrim{display:none}@media(max-width:900px){.app-frame{grid-template-columns:1fr}.app-sidebar{position:fixed;left:0;top:0;width:min(18rem,86vw);transform:translate(-105%);transition:transform .18s ease;box-shadow:8px 0 28px #071c1947}.app-frame--nav-open .app-sidebar{transform:translate(0)}.app-topbar__menu{display:inline-flex}.app-frame__scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;border:none;background:#071c196b;cursor:pointer}.app-content{padding-left:1rem;padding-right:1rem}}@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none}}.recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:12px;background:#f6f9fd;border:1px solid #d9e4f2;border-radius:10px}.recovery-codes li{margin:0;padding:8px;text-align:center;background:#fff;border:1px solid #d9e4f2;border-radius:7px}.recovery-codes code{font-size:1rem;letter-spacing:.06em}.auth .acknowledge{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;margin:18px 0;font-weight:500}.auth .acknowledge input{width:20px;height:20px;margin-top:2px}@media(max-width:480px){.recovery-codes{grid-template-columns:1fr}}.notice{margin:.75rem 0;padding:.6rem .75rem;border-radius:6px;border-left:4px solid;font-size:.95rem;line-height:1.45}.notice-error{background:#fdecec;border-color:#c62828;color:#8e1b1b}.notice-warn{background:#fff6e5;border-color:#b8860b;color:#7a5901}.notice-ok{background:#e9f5ec;border-color:#2e7d32;color:#1b5e20}.muted.small{font-size:.85rem}.linklike{background:none;border:0;padding:0;color:#1565c0;text-decoration:underline;cursor:pointer;font:inherit}.operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.operation-detail{margin-top:16px}.action-list{list-style:none;margin:0;padding:0}.action-list>li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e4ebf4}.action-list>li:last-child{border-bottom:0}.action-list small{display:block;margin-top:3px}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.review-questions{display:grid;gap:12px}.review-questions>section{padding:12px;border:1px solid #dce5f1;border-radius:10px;background:#f8fafd}.review-questions code{white-space:pre-wrap;overflow-wrap:anywhere}.operation-detail nav,.panel nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}@media(max-width:800px){.operations-grid{grid-template-columns:minmax(0,1fr)}.action-list>li{align-items:flex-start;flex-direction:column}}.tabs{display:flex;flex-wrap:wrap;gap:.25rem;border-bottom:1px solid var(--border,#d5d9e0);margin:1rem 0 1.25rem}.tab{background:none;border:none;border-bottom:3px solid transparent;border-radius:0;padding:.6rem .9rem;font:inherit;color:inherit;cursor:pointer}.tab:hover{background:#0000000a}.tab.active{border-bottom-color:currentColor;font-weight:600}.tab:focus-visible{outline:2px solid currentColor;outline-offset:2px}.filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1rem}.filters label{flex:1 1 12rem}.row-actions{display:flex;flex-wrap:wrap;gap:.4rem}.row-actions button{padding:.35rem .6rem;font-size:.85em}.paginator{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.75rem;flex-wrap:wrap}.paginator span{font-size:.9em}.empty-state{padding:1.25rem 0;font-style:italic}.status{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.8em;border:1px solid currentColor}.status-active{color:#1b6b3a}.status-invited,.status-suspended{color:#8a5a00}.status-deactivated,.status-withdrawn,.status-closed{color:#7a2222}.badge{font-size:.75em;padding:.05rem .4rem;border:1px solid currentColor;border-radius:999px}.warning{color:#7a2222;font-weight:700}button.destructive{background:#7a2222;color:#fff;border-color:#7a2222}button.destructive:disabled{opacity:.6}.inline-form{margin-top:.5rem}.inline-form textarea{min-height:4rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f12198c;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.modal{max-width:32rem;width:100%}.modal h2{margin-top:0}fieldset{border:1px solid var(--border,#d5d9e0);border-radius:.4rem;padding:.75rem 1rem 1rem;margin:.75rem 0}legend{padding:0 .35rem;font-weight:600}@media(max-width:640px){.tabs{overflow-x:auto;flex-wrap:nowrap}.row-actions{flex-direction:column;align-items:stretch}}.role-picker{border:0;padding:0;margin:.5rem 0}.role-picker legend{font-size:.85rem;color:#555;padding:0 0 .35rem}.role-tabs{display:flex;gap:.4rem;flex-wrap:wrap}.role-tab{background:#eef2f7;color:#1a2634;border:1px solid #cfd8e3;border-radius:6px;padding:.45rem .9rem;cursor:pointer;font:inherit}.role-tab.active{background:#1565c0;border-color:#1565c0;color:#fff;font-weight:600}.role-tab:focus-visible{outline:3px solid #1565c0;outline-offset:2px}
