:root{font:13px/1.55 Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color-scheme:light;--bg:#f4f6f9;--panel:#fff;--text:#1c2b40;--muted:#64748b;--border:#dfe5ed;--blue:#2256a0;--soft:#eaf1fb;--hover:#f0f4f9;--error:#a52638;--success:#18764d;--side:222px;--shadow:0 1px 3px #1326410b}html[data-theme=dark]{color-scheme:dark;--bg:#111925;--panel:#1a2536;--text:#e7edf5;--muted:#a1afc3;--border:#324052;--blue:#88b7fa;--soft:#273951;--hover:#253248;--error:#ff9b9b;--success:#83d6ae;--shadow:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #589af0;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin:0 0 12px}.auth{min-height:100dvh;display:grid;grid-template-columns:1.08fr minmax(400px,1fr)}.art{position:relative;overflow:hidden;padding:42px 48px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 95% 75%,#234e84,#112e55 45%,#0b1e3c 85%);color:white;min-height:100dvh}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:650;letter-spacing:-.4px;line-height:1.2;white-space:nowrap}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:1.3px;margin-top:5px;color:var(--muted)}.art .brand small{color:#a4bad6}.mark{width:39px;height:39px;border-radius:9px;display:grid;place-items:center;background:#2057a2;color:white;flex:none}.art .mark{background:#fff1;border:1px solid #fff4}.artcopy{position:relative;z-index:1;margin:70px 0 75px}.kicker{font-size:10px;color:#a5c8eb;letter-spacing:1.3px;font-weight:650;display:flex;gap:8px;align-items:center}.kicker i,.status i{width:6px;height:6px;border-radius:50%;background:#74c8f2;display:inline-block}.artcopy h1{font-size:clamp(39px,4.1vw,64px);font-weight:620;line-height:1.08;letter-spacing:-2.5px;margin:24px 0}.artcopy h1 em{color:#a8d6ff;font-style:normal}.subcopy{color:#bcd1e9;font-size:14px;line-height:1.8;max-width:360px}.numbers{display:flex;gap:23px;margin-top:36px}.numbers>div{border-right:1px solid #fff3;padding-right:23px}.numbers>div:last-child{border:0;padding:0}.numbers b{display:block;font-size:26px;line-height:1.2;font-weight:650;letter-spacing:-.8px}.numbers small{display:block;font-size:11px;color:#b4c7de;margin-top:5px}.geometry{position:absolute;right:-110px;bottom:-90px;width:min(650px,100%);height:auto;pointer-events:none}.artfoot,.authfoot{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#a4b9d2;position:relative}.artfoot span:first-child{display:flex;align-items:center;gap:6px}.formside{background:var(--panel);min-height:100dvh;padding:32px 40px 25px;display:flex;flex-direction:column}.authtop{display:flex;align-items:center;justify-content:flex-end}.authtop>span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.mobilebrand{display:none}.formwrap{max-width:360px;width:100%;margin:auto;padding:46px 0}.formwrap h2{font-size:31px;font-weight:650;letter-spacing:-1.1px;line-height:1.2;margin:0 0 9px}.intro{font-size:13px;margin-bottom:28px}.tag{font-size:10px;letter-spacing:1.1px;color:var(--blue);font-weight:700;text-transform:uppercase}.formwrap label{margin:0 0 7px;font-size:12px}.field{display:flex;align-items:center;gap:9px;padding:0 11px;height:42px;border:1px solid var(--border);border-radius:7px;color:var(--muted);margin-bottom:18px}.field:focus-within{border-color:#6298db;box-shadow:0 0 0 3px #6298db19}.field input{padding:0!important;border:0!important;background:transparent!important;outline:0!important;min-width:0;height:39px}.field .iconbtn{width:25px;height:28px}.signin{width:100%;background:#2056a4;color:#fff;border:0;border-radius:7px;height:42px;margin-top:7px;font-weight:650;box-shadow:0 2px 5px #17478120}.signin:hover{background:#184685}.help{border-top:1px solid var(--border);margin:25px 0 12px;padding-top:18px;font-size:12px}.help p{margin:4px 0;color:var(--muted)}.preview{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600}.disclaimer{font-size:10.5px;line-height:1.6;color:var(--muted);margin-top:22px}.authfoot{color:var(--muted)}.iconbtn{display:inline-grid;place-items:center;width:31px;height:31px;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:0;flex:none}.iconbtn:hover{background:var(--hover);color:var(--blue)}#workspace{display:flex;min-height:100dvh}#sidebar{position:sticky;top:0;height:100dvh;flex:0 0 var(--side);width:var(--side);display:flex;flex-direction:column;background:var(--panel);border-right:1px solid var(--border);z-index:30}.sidebrand{font-size:14px;padding:20px 13px;overflow:hidden}.sidebrand .mark{width:33px;height:33px}.sidebrand small{font-size:7px;letter-spacing:1px}.navscroll{overflow:auto;flex:1;padding:0 10px 14px}.navlabel{font-size:9px;letter-spacing:1.1px;font-weight:700;color:var(--muted);padding:16px 9px 6px;white-space:nowrap}.navitem{display:flex;align-items:center;gap:9px;padding:8px 9px;border:0;width:100%;height:36px;white-space:nowrap;background:transparent;border-radius:6px;color:var(--muted);font-size:12px;font-weight:550;text-align:left;margin:1px 0}.navitem svg{flex:none}.navitem span{overflow:hidden;text-overflow:ellipsis}.navitem:hover{text-decoration:none;background:var(--hover);color:var(--text)}.navitem.active{background:var(--soft);color:var(--blue);font-weight:650}.sidefoot{padding:12px 10px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);overflow:hidden}.avatar{display:grid;place-items:center;background:var(--soft);color:var(--blue);width:30px;height:30px;border-radius:7px;font-size:10px;font-weight:750;flex:none}.user{flex:1;min-width:0;white-space:nowrap}.user strong,.user small{display:block;overflow:hidden;text-overflow:ellipsis}.user strong{font-size:11px}.user small{font-size:10px;color:var(--muted)}.workbody{flex:1;min-width:0}.topbar{height:54px;position:sticky;top:0;z-index:20;background:var(--panel);border-bottom:1px solid var(--border);padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.between{justify-content:space-between}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--text);font-weight:600}.status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.status i{background:#2d9d72}.content{max-width:1560px;padding:21px 24px;margin:0 auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.pagehead h1{font-size:21px;letter-spacing:-.45px;font-weight:650;margin:3px 0 0;line-height:1.3}.pagehead .tag{margin:0}#screen{min-height:200px}#screen h1{font-size:21px;font-weight:650;line-height:1.25;letter-spacing:-.45px}h2{font-size:15px;font-weight:650;line-height:1.4;letter-spacing:-.1px}h3{font-size:13px}.card{padding:16px;background:var(--panel);border:1px solid var(--border);border-radius:9px;box-shadow:var(--shadow);margin-bottom:12px;min-width:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:11px}.grid .card{padding:14px}.metric{font-size:26px;line-height:1.4;font-weight:650;letter-spacing:-.7px;margin-top:4px;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.msg{color:var(--error);font-size:12px;white-space:pre-wrap;margin:9px 0}.msg:empty,#notice:empty{display:none}.ok{color:var(--success)}#screen button,dialog button,a.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:#2057a4;color:#fff;border-radius:6px;padding:7px 12px;min-height:32px;font-size:12px;font-weight:600;text-decoration:none}#screen button.alt,dialog button.alt,a.alt{background:var(--soft);color:var(--blue);border-color:var(--border)}#screen button:hover:not(:disabled),dialog button:hover:not(:disabled){filter:brightness(.96)}input,textarea,select{border:1px solid var(--border);border-radius:6px;width:100%;background:var(--panel);color:var(--text);padding:9px 10px}input[type=radio]{width:auto;accent-color:#2057a4}textarea{min-height:105px;resize:vertical;line-height:1.7}label{display:block;font-size:12px;font-weight:600;margin:10px 0 6px}#screen form>button,#screen textarea+button{margin-top:9px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:10px 9px;border-bottom:1px solid var(--border);white-space:nowrap}th{font-size:10px;letter-spacing:.5px;font-weight:650;color:var(--muted);background:var(--bg);text-transform:uppercase}tbody tr:hover{background:var(--hover)}td small{font-size:11px;color:var(--muted)}.module{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);font-size:12px}.module:last-child{border:0}.module strong{font-weight:600}.module .muted{font-size:11px}.example{background:var(--soft);padding:13px;border-radius:6px;border-left:3px solid #6397d5;margin:13px 0;line-height:1.7}.response{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}.question{padding:14px 0;border-bottom:1px solid var(--border)}.question label{font-weight:400;padding:5px 0}footer{text-align:center;font-size:10px;color:var(--muted);margin:22px 0}dialog{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:11px;width:min(510px,92vw);max-height:85dvh;padding:22px;box-shadow:0 14px 44px #0a1a3a25}dialog::backdrop{background:#0a1c3699}.actions{margin-top:16px}.collapsed #sidebar{width:61px;flex-basis:61px}.collapsed .sidebrand{padding:20px 14px}.collapsed .sidebrand>div,.collapsed .navitem span,.collapsed .navlabel,.collapsed .user{display:none}.collapsed .navitem{justify-content:center}.collapsed .navscroll{padding:0 8px}.collapsed .sidefoot{flex-direction:column}.tutorlayout{display:grid;grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:12px}.tutorlayout>div{min-width:0}.chatlog{min-height:230px;max-height:52vh;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:7px 0}.bubble{background:var(--bg);border:1px solid var(--border);border-radius:9px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:92%;font-size:12px}.bubble.mine{align-self:flex-end;background:var(--soft)}.bubble strong{display:block;margin-bottom:5px;color:var(--blue);font-size:11px}.tutorlinks button{width:100%;margin-top:7px}.chattools{display:flex;gap:6px;flex-wrap:wrap}.tutorform{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.tutorform textarea{min-height:65px}.hero{background:linear-gradient(120deg,#153763,#24609d);color:#fff;padding:22px;border-radius:9px;margin-bottom:14px}.hero h2{font-size:21px;color:#fff}.hero p{color:#cddff7}.hero .tag{color:#b6d7fc}#screen .hero button{background:#fff;color:#174780}.pathgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.pathgrid .card p{color:var(--muted);font-size:12px}.progressline{height:6px;background:var(--bg);border-radius:8px;overflow:hidden;margin:12px 0 7px}.progressline span{display:block;background:#397dc7;height:100%}.smallmeta{font-size:11px;color:var(--muted)}#navShade{display:none}.pending{padding:26px;color:var(--muted);text-align:center}
@media(max-width:1000px){.art{padding:34px}.formside{padding:30px}.artcopy h1{font-size:44px}.numbers{gap:15px}.numbers>div{padding-right:15px}.content{padding:18px}.tutorlayout{grid-template-columns:1fr}}
@media(max-width:740px){.auth{display:block}.art{display:none}.formside{padding:24px;gap:16px}.authtop{justify-content:space-between}.mobilebrand{display:flex;font-size:13px}.mobilebrand small{font-size:7px;letter-spacing:.8px}.mobilebrand .mark{width:31px;height:31px}.authtop>span{font-size:10px}.formwrap{padding:30px 0}.field input{font-size:16px}.field input::placeholder{font-size:13px}.formwrap h2{font-size:29px}#sidebar,.collapsed #sidebar{position:fixed;width:235px;top:0;left:0;transform:translateX(-100%);transition:transform .16s ease}.nav-open #sidebar{transform:translateX(0)}.nav-open #navShade{display:block;position:fixed;inset:0;background:#0a1c3688;z-index:29}.collapsed .sidebrand>div,.collapsed .navitem span,.collapsed .navlabel,.collapsed .user{display:revert}.collapsed .navitem{justify-content:flex-start}.collapsed .sidefoot{flex-direction:row}.collapsed .sidebrand{padding:20px 13px}.topbar{height:50px;padding:0 11px}.breadcrumb{font-size:11px}.breadcrumb span,.topbar .status,.pagehead .status{display:none}.content{padding:14px 12px}.pagehead h1{font-size:19px}.card{padding:13px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grid .card{padding:11px}.metric{font-size:23px}.pathgrid{grid-template-columns:1fr}.hero{padding:17px}.tutorform{grid-template-columns:1fr}.bubble{max-width:100%}#screen input:not([type=radio]),#screen textarea,#screen select,dialog input{font-size:16px}.module button{flex:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* QA: prevent long user-supplied text and compact mobile navigation from widening the page. */
[hidden]{display:none!important}.workbody,.content,#screen,.card,.study-body,.ops-grid>*,.curr-layout>*,.hd-detail>*{min-width:0}.card p,.module>div,.response,.example,.notice-body,.hd-message,.curr-preview,.welcome{overflow-wrap:anywhere}.scroll{max-width:100%;overflow-x:auto}.navscroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}.navitem:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.pending{min-height:65px}@media(max-width:740px){.content{overflow-x:clip}.topbar{gap:6px}.topbar .row{gap:5px;flex-wrap:nowrap}.workbody .topbar .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card input:not([type=radio]):not([type=checkbox]),.card textarea,.card select{max-width:100%;font-size:16px}.card .scroll input:not([type=radio]):not([type=checkbox]),.card .scroll select{font-size:13px}.card .row{min-width:0}.module{gap:8px;min-width:0}.module>div{min-width:0}.navscroll{padding-bottom:8px}}