@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#17253e;background:#e9edf4;font-size:16px;--blue:#386de4;--muted:#65718a}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #679cff;outline-offset:4px}[hidden]{display:none!important}.preview{min-height:40px;background:#0a1427;color:#c2d1ed;padding:10px 4%;font-size:12px;letter-spacing:1.3px;display:flex;justify-content:space-between;gap:10px}.preview span{letter-spacing:0;color:#b8c5dc}.shell{max-width:1440px;margin:auto;min-height:calc(100dvh - 40px);display:grid;grid-template-columns:35% 65%;background:#fff}aside{background:linear-gradient(155deg,#152b4e,#0c192f);color:white;padding:46px 46px 30px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;font-family:Manrope,sans-serif;font-size:30px;font-weight:700;letter-spacing:-1.2px}.monogram{background:#386de4;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;font-size:31px;font-weight:500}.ai{font-weight:400;color:#90b3ff;margin-left:3px}.brand small{display:block;font:10px 'DM Sans',sans-serif;letter-spacing:1.9px;color:#a4b4ce;margin-top:3px}.sidebody{margin:auto 0;padding:80px 0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:#9fb5d8}.blue{color:#3865bb}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(28px,3vw,43px);font-weight:500;line-height:1.24;letter-spacing:-1.5px;margin:22px 0}p{line-height:1.65}.sidebody>p{color:#b3c1d8;max-width:285px}.railnote{border-left:2px solid #527ee0;padding-left:20px;margin-top:70px}.railnote span{font-size:12px;letter-spacing:1.5px;color:#9cb8ef}.railnote p{font-size:14px;color:#c3cfe2;max-width:260px}.sidefoot{font-size:12px;color:#a7b7d0}.sidefoot span{display:block;margin-top:8px;color:#7588a8}main{padding:0 58px 28px;min-width:0}header{height:89px;border-bottom:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px;gap:15px}.textbutton{background:transparent;border:0;color:#365fa9;padding:8px 0;font-size:14px}.view{max-width:640px;margin:auto}#login{padding:65px 0 20px}.intro h2{font-size:38px;line-height:1.25;font-weight:600;letter-spacing:-1.5px;margin:18px 0}.intro p,.sub{color:var(--muted)}.rolecards{display:grid;gap:14px;margin:36px 0 24px}.role{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:1px solid #dbe1eb;border-radius:14px;background:white;padding:20px;color:inherit}.role.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#f7f9ff}.avatar{width:44px;height:44px;background:#e7eeff;color:#345caa;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:14px;font-weight:700}.teacher{background:#e4eaf2;color:#24395e}.role strong{display:block;font-size:16px}.role small{display:block;color:var(--muted);font-size:13px;margin-top:6px;line-height:1.4}.radio{margin-left:auto;flex-shrink:0;width:18px;height:18px;border:1px solid #bec8da;border-radius:50%}.selected .radio{border:5px solid var(--blue)}.primary{border:0;background:var(--blue);color:white;border-radius:10px;padding:16px 22px;font-weight:600;min-height:50px}.primary:hover{background:#285dcc}.wide{width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px}.fine{font-size:12px;color:#758198;line-height:1.6}.footnote{border-top:1px solid #e7ecf4;margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:10px;color:#8490a3;font-size:10px;letter-spacing:1px}.sessionhead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:30px 0 20px}.sessionhead h2{font-size:29px;letter-spacing:-1px;font-weight:600;margin:8px 0 0;line-height:1.3}.profileline{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f5f7fb;border:1px solid #e9edf4;border-radius:10px;padding:12px 15px;font-size:13px;color:#65718a}.profileline strong{color:#254c97;letter-spacing:2px}.profileline span{margin-left:auto}.messages{height:clamp(280px,45dvh,490px);overflow:auto;padding:20px 2px;scroll-behavior:smooth}.welcome{padding:10px 0}.smallmark{background:#eaf0ff;color:#386de4;border-radius:11px;width:36px;height:36px;display:grid;place-items:center;font-size:24px}.welcome h3{font-size:24px;margin:18px 0 5px;letter-spacing:-.6px;font-weight:600}.welcome p{color:var(--muted);font-size:14px;margin:0}.prompts{display:grid;gap:9px;margin-top:24px}.prompts button{border:1px solid #e3e8f1;background:#fff;text-align:left;border-radius:9px;padding:13px;color:#344361;font-size:14px;display:flex;justify-content:space-between}.prompts button:hover{background:#f5f8ff;border-color:#aec4f3}.composer{border:1px solid #cdd7e8;border-radius:14px;padding:12px 14px;box-shadow:0 5px 20px #142a4b06}textarea{resize:vertical;width:100%;border:1px solid #d7dfec;border-radius:10px;padding:15px;color:#17253e;background:white;line-height:1.6}textarea::placeholder{color:#8390a6}.composer textarea{padding:3px;border:0;resize:none;min-height:60px}.composerbar{display:flex;justify-content:space-between;align-items:center}.voicebutton{display:flex;align-items:center;gap:8px;border:0;background:#eff4ff;border-radius:7px;color:#355fae;padding:10px 12px;font-size:14px}.send{border:0;border-radius:9px;background:var(--blue);color:white;width:40px;height:40px;font-size:23px}.centered{text-align:center}.bubble{max-width:94%;margin:12px 0;padding:15px 18px;border-radius:14px;background:#f1f5fb;line-height:1.6;font-size:15px;white-space:pre-wrap}.bubble.user{margin-left:auto;background:#386de4;color:#fff;max-width:86%;border-bottom-right-radius:3px}.bubble.assistant{border-bottom-left-radius:3px}.bubble small{display:block;color:#5e7194;font-size:11px;margin-bottom:5px;letter-spacing:.5px}.teachlabel{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0 25px;color:#758198;font-size:12px}.pill{border:1px solid #bfd0ef;border-radius:20px;color:#3b609f;background:#f4f7fe;font-size:11px;padding:7px 12px;letter-spacing:1px}label{display:block;font-size:14px;font-weight:600;margin-bottom:12px}.example{margin:8px 0 18px}.review{border:1px solid #bdcfee;background:#f7faff;padding:20px;border-radius:12px;margin:22px 0}.review>p:first-of-type{white-space:pre-wrap;overflow-wrap:anywhere}.teachhistory{margin-top:32px;border-top:1px solid #e4eaf2}.teachhistory h3{display:flex;justify-content:space-between;font-size:16px}.teachhistory h3 span{font-family:'DM Sans',sans-serif;font-weight:400;font-size:13px;color:#758198}.teachhistory>p{color:#758198;font-size:14px}.entry{border-bottom:1px solid #e6ebf2;padding:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.entry small{display:block;color:#3865bb;margin-bottom:6px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{width:min(460px,calc(100% - 32px));border:0;border-radius:23px;padding:38px 30px;text-align:center;color:#17253e;box-shadow:0 30px 100px #06152b55}dialog::backdrop{background:#07142aba;backdrop-filter:blur(5px)}dialog h2{font-size:26px;line-height:1.3;letter-spacing:-1px}dialog p{color:var(--muted)}.close{position:absolute;right:12px;top:8px;background:none;border:0;font-size:29px;color:#63728a}.voiceorb{height:110px;width:110px;display:grid;place-items:center;margin:32px auto;background:radial-gradient(circle at 35% 25%,#6895f9,#315dcb);box-shadow:0 0 0 14px #eef3ff,0 0 0 26px #f7f9ff;border-radius:50%;color:white}.voiceorb.active{animation:pulse 1.5s infinite}@keyframes pulse{50%{box-shadow:0 0 0 19px #eef3ff,0 0 0 32px #f7f9ff}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media(max-width:1000px){aside{padding:35px 28px}main{padding:0 30px 20px}.shell{grid-template-columns:33% 67%}.brand small{display:none}.sidebody h1{font-size:30px}}@media(max-width:700px){.preview{font-size:10px;justify-content:center;flex-wrap:wrap;gap:3px;padding:7px 12px}.preview span{font-size:10px;width:100%;text-align:center}.shell{display:block;min-height:calc(100dvh - 42px)}aside{padding:16px 22px}.brand{font-size:23px;gap:10px}.monogram{width:33px;height:33px;font-size:24px;border-radius:10px}.sidebody,.sidefoot{display:none}main{padding:0 22px 18px}header{height:57px;font-size:12px}#login{padding:35px 0 12px}.intro h2{font-size:33px}.role{padding:17px 13px;gap:10px}.role small{font-size:12px}.footnote{font-size:9px;letter-spacing:.2px;margin-top:30px}.sessionhead{margin-top:25px}.sessionhead h2{font-size:25px}.profileline{font-size:12px;gap:8px}.profileline span{margin-left:0;width:100%}.messages{height:40dvh;min-height:270px}.sessionhead .avatar{width:38px;height:38px}.composer textarea{font-size:16px}.sub{font-size:15px}} 

/* Extend the existing design for real sign-in and connection states. */
.teachingvoice{padding:18px;border:1px solid #c9d8f3;background:#f5f8ff;border-radius:12px;margin:0 0 24px}.teachingvoice .voicebutton{font-size:16px;font-weight:600;min-height:48px;background:#386de4;color:#fff;justify-content:center;width:100%}.teachingvoice .voicebutton.recording{background:#1d3d78}.teachingvoice .formstatus{margin:12px 0 0;font-size:14px}.teachingvoice svg{flex-shrink:0}#teaching[readonly]{background:#f8faff}#teachingCount{font-size:14px;margin:8px 0 0}#teachingCount.error{color:#a52c37}.teachingvoice .voicebutton:disabled{cursor:wait}
input{font:inherit;width:100%;border:1px solid #d7dfec;border-radius:10px;padding:15px;color:#17253e;background:white;min-height:52px}input:focus-visible{outline:3px solid #679cff;outline-offset:3px}.loginfield{margin:0 0 22px}.loginfield label{margin-bottom:10px}.loginfield .fine{margin-bottom:0}.formstatus{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.error{color:#a52c37}.teachinggap{height:22px}button:disabled{opacity:.6;cursor:wait}.bubble{overflow-wrap:anywhere}.savedTeaching summary{cursor:pointer;font-size:14px;line-height:1.6}.savedTeaching p{white-space:pre-wrap}.profileline #profileLabel{margin-left:0}.profileline #employeeDepartment{margin-left:auto}.profileline strong{overflow-wrap:anywhere}.voicebutton:disabled{cursor:default}#voiceDialog audio{display:none}@media(max-width:700px){.profileline #employeeDepartment{margin-left:0}}

.teachingplayback{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:14px 0}.replay{width:100%;justify-content:center;margin-top:14px;min-height:48px;font-size:16px}

.teachingconversation{max-height:360px;min-height:0;margin:20px 0;padding:16px;background:#f4f7fc;border-radius:16px}.teachingconversation .bubble{white-space:pre-wrap}.teachingconversation .bubble small{display:block;margin-bottom:6px;font-size:12px;font-weight:700;letter-spacing:.08em}

.teachingconversation .bubble{font-size:16px}.teachingconversation .bubble.user small{color:#fff}
