@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,500&display=swap');
:root{--bg:#fbfaf7;--ink:#263b31;--muted:#77827a;--line:#e6e8e3;--sidebar:#143b2e;--side-text:#f7f6ed;--green:#17583e;--soft:#edf4ed;--shadow:0 20px 65px #102b2212;--r:20px;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:DM Sans,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.layout{display:grid;grid-template-columns:286px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{min-height:0;display:flex;flex-direction:column;background:var(--sidebar);color:var(--side-text);padding:26px 18px 20px}.brand{display:flex;align-items:center;gap:11px;margin:4px 11px 29px}.mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #82ad9466;border-radius:14px;background:#ffffff13;color:#d7e6bf;font-size:31px}.brand b{display:block;font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.6px}.brand small{display:block;font-size:9px;letter-spacing:1.3px;color:#bbcdc0;margin-top:4px}.new-chat{height:45px;background:#e8f1e8;color:#194732;display:flex;align-items:center;gap:9px;justify-content:center;border:0;border-radius:13px;font-weight:800;margin-bottom:16px}.new-chat span:first-child{font-size:21px;font-weight:400}.shortcut{font-size:10px;color:#66806b;margin-left:9px}.search{display:flex;gap:9px;align-items:center;border:1px solid #90b49d51;border-radius:11px;padding:11px 12px;color:#b9cdbe}.search input{min-width:0;flex:1;background:none;border:0;outline:0;color:white;font-size:12px}.search input::placeholder{color:#c2d0c5}.section-label{margin:30px 12px 11px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#c3d1c5}.thread-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:3px;scrollbar-width:thin}.thread{display:flex;align-items:center;gap:4px;padding:0 6px;border-radius:10px;min-height:39px}.thread.active{background:#ffffff1c}.thread-open{flex:1;min-width:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;border:0;background:transparent;color:#eaf3e9;font-size:12px;padding:11px 9px}.thread:hover{background:#ffffff12}.thread-actions{display:flex;gap:1px;opacity:0}.thread:hover .thread-actions,.thread:focus-within .thread-actions{opacity:1}.thread-actions button{border:0;background:transparent;color:#d6e7da;font-size:13px;width:22px;height:25px}.empty-thread{padding:18px 12px;color:#b3c7b9;font-size:12px;line-height:1.6}.sidebar-bottom{margin-top:auto}.sidebar-separator{border-top:1px solid #ffffff29;margin-bottom:14px}.back-link{display:flex;align-items:center;gap:12px;padding:12px;color:#e9f1e7;text-decoration:none;border-radius:12px;font-size:12px}.back-link:hover{background:#ffffff1a}.teacher{margin:15px 0 0;display:flex;align-items:center;gap:9px;background:#ffffff12;border:1px solid #ffffff1e;padding:10px;border-radius:12px}.teacher-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#e4eddb;color:#18563a;font-weight:800}.teacher b{font-size:12px}.teacher small{display:block;font-size:10px;color:#b5c6b9;margin-top:3px}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line);height:77px;padding:0 clamp(18px,3.3vw,55px)}.top-left,.top-actions{display:flex;align-items:center;gap:11px}.model-label{font-weight:800;font-size:14px;white-space:nowrap}.model-dot,.sync-dot{display:inline-block;background:#56986c;border-radius:50%;width:8px;height:8px;margin-right:7px;box-shadow:0 0 0 4px #56986c19}.model-sub{font-weight:500;color:#9ca9a0;margin-left:7px}.top-actions{gap:10px}.icon-btn{display:grid;place-items:center;width:37px;height:37px;flex:none;background:white;border:1px solid var(--line);border-radius:11px;color:var(--ink);font-size:21px}.icon-btn:hover,.pill:hover{background:var(--soft)}.pill{border:1px solid #dfe9dd;border-radius:24px;background:#f4f8f3;padding:10px 13px;color:#55735d;font-size:11px;font-weight:800}.privacy-pill .dot{display:inline-block;width:6px;height:6px;background:#b4b9ad;border-radius:50%;margin-right:6px}.privacy-pill.on .dot{background:#4a9965}.chat-body{overflow-y:auto;flex:1;min-height:0;scroll-behavior:smooth}.welcome{max-width:850px;margin:0 auto;padding:clamp(45px,10vh,110px) 28px 40px;text-align:center}.welcome-glyph{display:grid;place-items:center;margin:0 auto 25px;width:67px;height:67px;border-radius:20px;background:#edf2e6;color:#235b42;font-size:45px;border:1px solid #dbe5d5}.eyebrow{font-size:10px!important;color:#60836b!important;letter-spacing:2px!important;font-weight:800!important;text-transform:uppercase}.welcome h1{font-family:Manrope,Arial,sans-serif;font-weight:700;letter-spacing:-2.2px;font-size:clamp(30px,3.5vw,51px);margin:9px auto 15px}.welcome h1 em{font-family:Playfair Display,Georgia,serif;font-weight:500;color:#3f8157}.welcome>p:not(.eyebrow){font-size:14px;line-height:1.75;color:#76857a;max-width:540px;margin:0 auto}.prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:left;gap:13px;margin-top:42px}.prompts button{border:1px solid #e1e6dd;background:#fff;border-radius:17px;padding:20px 22px;text-align:left;transition:transform .22s,box-shadow .22s;min-height:125px;box-shadow:0 5px 20px #1d4d2b05}.prompts button:hover{transform:translateY(-3px);box-shadow:0 14px 34px #16442d0e}.prompt-icon{display:block;color:#3f7f5c;font-size:24px;margin-bottom:5px}.prompts b{display:block;font-size:13px}.prompts small{color:#849088;display:block;font-size:11px;margin-top:5px}.messages{width:min(770px,calc(100% - 44px));margin:25px auto 50px;display:flex;flex-direction:column;gap:26px}.message{display:flex;align-items:flex-start;gap:14px}.message.user{justify-content:flex-end}.message.user .msg-bubble{background:#eaf2e8;border-radius:18px 18px 5px 18px;padding:13px 18px;max-width:85%;font-size:14px}.message.assistant .msg-bubble{flex:1;min-width:0;line-height:1.8;font-size:14px;color:#33443b}.message-role{font-size:11px;font-weight:800;margin-bottom:8px;color:#698273}.ai-avatar{width:30px;height:30px;border-radius:10px;background:#e7f1e6;color:#245b3f;display:grid;place-items:center;font-size:22px;flex-shrink:0}.msg-bubble{word-break:break-word}.msg-bubble p{margin:0 0 12px}.msg-bubble h3{font-size:15px;margin:15px 0 8px}.msg-bubble ul{margin:8px 0 12px;padding-left:22px}.msg-bubble li{margin:5px 0}.msg-bubble pre{background:#182a22;color:#f0f5ef;padding:16px;border-radius:12px;overflow:auto;font-size:12px}.msg-bubble code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.msg-bubble :not(pre)>code{background:#eef1ec;padding:2px 5px;border-radius:4px}.msg-tools{margin-top:10px;display:flex;gap:10px}.msg-tools button{border:0;background:transparent;color:#74857a;font-size:11px;padding:5px 0}.msg-tools button:hover{text-decoration:underline}.composer-area{max-width:850px;width:calc(100% - 40px);margin:0 auto;padding:7px 0 17px}.composer{border:1px solid #d6e0d6;background:white;box-shadow:0 7px 34px #163d260c;border-radius:20px;padding:13px 16px 12px}.composer:focus-within{border-color:#8db69c;box-shadow:0 5px 28px #1c5f321a}.composer textarea{width:100%;height:53px;max-height:170px;resize:none;outline:none;border:0;padding:8px 5px;line-height:1.5;background:none;color:var(--ink);font-size:14px}.composer textarea::placeholder{color:#9aa69d}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-left,.composer-right{display:flex;align-items:center;gap:10px}.attachment{cursor:pointer;font-size:12px;color:#64806a;font-weight:700}.attachment:hover{text-decoration:underline}#fileLabel{color:#819386;font-size:10px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.word-note{font-size:10px;color:#a1aca4}.send,.stop{background:#174d36;color:white;border:0;border-radius:11px;width:34px;height:34px;font-size:20px;display:grid;place-items:center}.stop{background:#8e5c4b;font-size:13px}.disclaimer{text-align:center;color:#9ca7a0;font-size:10px;margin:11px 0 0}.status-banner{padding:11px 22px;background:#fff0d7;color:#7a5821;font-size:12px;text-align:center}.status-banner a{color:#34614b}.drawer-backdrop{position:fixed;inset:0;background:#152b2166;z-index:20}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(430px,100vw);background:#fdfdfa;box-shadow:-15px 0 60px #1b332223;z-index:30;transform:translateX(104%);transition:transform .28s ease;display:flex;flex-direction:column}.drawer.open{transform:translateX(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:2px 0;font-size:21px;letter-spacing:-.8px}.drawer-content{overflow-y:auto;padding:22px 22px 40px}.synced-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#587763;margin-bottom:21px}.synced-label button{margin-left:auto;border:0;background:transparent;color:#397152;font-size:11px;font-weight:700}.settings-card{background:white;border:1px solid #e3e8de;border-radius:16px;padding:19px;margin-bottom:16px}.settings-card h3{font-size:14px;margin:0 0 9px}.settings-card>p{font-size:11px;color:#7b897d;line-height:1.7}.toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:10px 0}.toggle-row input{accent-color:#266449;width:17px;height:17px}.field-label{font-size:11px;color:#6d7d70;font-weight:700;display:block;margin:15px 0 6px}.settings-card select,.settings-card input:not([type=checkbox]){width:100%;height:39px;border:1px solid #dce5dc;border-radius:9px;background:#fff;padding:0 11px;outline-color:#387450;color:#324b3c}.student-list{border:1px solid #e0e7dd;border-radius:10px;max-height:180px;overflow-y:auto;margin-top:10px;padding:6px}.student-item{display:flex;align-items:center;gap:9px;padding:8px 5px;font-size:12px}.student-item input{accent-color:#276c49}.student-item small{margin-left:auto;color:#9ba59a}.selection-count{font-weight:700!important;color:#40744d!important}.points-row{display:grid;gap:9px;grid-template-columns:1fr 1fr;margin-top:12px}.points-row span{display:block;color:#758476;font-size:10px;margin-bottom:6px}.apply-points{width:100%;border:0;background:#225c40;color:white;border-radius:11px;padding:13px;font-weight:800;margin-top:15px}.points-note{font-size:11px;line-height:1.5;color:#597a5e}.toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);z-index:50;background:#204d36;color:white;padding:12px 17px;border-radius:12px;box-shadow:var(--shadow);font-size:12px}.mobile-menu,.sidebar-scrim{display:none}.dark{--bg:#172620;--ink:#e7ece6;--muted:#b1bfb5;--line:#3c5144}.dark .main{background:#1d2922}.dark .topbar,.dark .composer{background:#203228}.dark .prompts button,.dark .icon-btn{background:#243d2e;color:#eff5ef;border-color:#3d6049}.dark .message.assistant .msg-bubble{color:#e9f2e9}.dark .message.user .msg-bubble{color:#24372a}.dark .composer textarea{color:#f4f7f2}.dark .welcome>p:not(.eyebrow),.dark .disclaimer{color:#adbdaf}.dark .prompts small{color:#b0c6b3}.dark .model-label{color:#dfeee1}.dark .model-sub{color:#a5b7aa}.dark .pill{background:#284a34;color:#d5e2d7;border-color:#3a6245}
@media(max-width:940px){.layout{grid-template-columns:242px minmax(0,1fr)}.sidebar{padding:23px 11px}.topbar{padding:0 23px}.welcome{padding-top:80px}.model-sub{display:none}}@media(max-width:720px){.layout{display:block}.sidebar{width:min(300px,84vw);position:fixed;inset:0 auto 0 0;z-index:50;transform:translateX(-103%);transition:transform .25s}.sidebar.open{transform:translateX(0)}.sidebar-scrim{display:block;position:fixed;inset:0;z-index:45;background:#0d211a70;opacity:0;pointer-events:none;transition:opacity .25s}.sidebar.open+.sidebar-scrim{opacity:1;pointer-events:auto}.main{height:100dvh}.mobile-menu{display:grid}.topbar{height:65px;padding:0 16px}.top-actions{gap:6px}.topbar .model-label{font-size:12px}.pill{font-size:10px;padding:8px}.welcome{padding:60px 17px 25px}.welcome h1{font-size:33px}.prompts{margin-top:29px;gap:9px}.prompts button{padding:14px 12px;min-height:111px}.prompts small{font-size:10px}.chat-body{scroll-behavior:auto}.composer-area{width:calc(100% - 22px);padding-bottom:9px}.word-note{display:none}.disclaimer{font-size:9px}.messages{width:calc(100% - 24px);gap:16px}.message.assistant{gap:8px}.message.user .msg-bubble{max-width:91%}}@media(max-width:370px){.prompts{grid-template-columns:1fr 1fr}.prompts button{min-height:116px}.top-actions .privacy-pill span:not(.dot){display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}

/* ClassDojo queue: status-only; never imply third-party delivery. */
.dojo-queue-card{background:linear-gradient(155deg,#f4f8f2,#fff);border-color:#d0e1d1}
.dojo-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.dojo-card-head h3{font-size:14px;margin:0 0 6px}
.dojo-card-head p{font-size:11px;line-height:1.6;color:#63786a;margin:0}
.dojo-not-connected{white-space:nowrap;font-size:9px;background:#fff4e4;border:1px solid #eedac0;border-radius:100px;padding:6px 8px;color:#996e2c;font-weight:800}
.dojo-count-line{display:flex;align-items:center;gap:11px;padding:17px 0;border-bottom:1px solid #dce6dd}
.dojo-count-line strong{font-size:35px;line-height:1;font-variant-numeric:tabular-nums;color:#22533b}
.dojo-count-line span{font-size:11px;color:#557362;line-height:1.45}
.dojo-queue-list{display:grid;gap:5px;padding:11px 0}
.dojo-pending-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:29px;font-size:11px;color:#314b3a}
.dojo-pending-row a{font-size:10px;color:#246e47;font-weight:800;white-space:nowrap}
.dojo-pending-row small{font-size:9px;color:#83968a}
.dojo-queue-notice{font-size:10px!important;line-height:1.55!important;color:#8a6745!important;background:#fff8ed;border-radius:10px;padding:10px 12px;margin:7px 0!important}
.dojo-refresh{display:block;width:100%;border:1px solid #bad2bf;background:#fff;color:#225e40;font-weight:800;font-size:11px;border-radius:9px;padding:10px;margin:3px 0 12px}
.dojo-access{display:block;text-align:center;font-size:10px;color:#567d5a;text-decoration:underline}
