/* A quiet classroom: warm paper, mint, and the approved B teacher. */
.sky-shell .ask-label{font-size:11px;letter-spacing:.12em;font-weight:750;color:var(--ui-green)}
.sky-shell .ask-entry{background:#faf7ef;border:1px solid #e7e5d8;border-radius:24px;color:#293b31}
.sky-shell .ask-entry-home{padding:24px;text-align:center;box-shadow:0 12px 32px #263e3010}
.sky-shell .ask-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sky-shell .ask-dot{font-size:11px;border:1px solid #cbd9c9;border-radius:20px;padding:3px 8px}
.sky-shell .ask-entry-home>img{width:168px;margin:12px auto 8px;border-radius:50%}
.sky-shell .ask-entry-home h2{font-size:26px;line-height:1.4;letter-spacing:-.04em}
.sky-shell .ask-entry-home>p{margin:10px 0 20px;font-size:14px;color:#58675d}
.sky-shell .ask-primary{background:#245b44;color:#fff;border:1px solid #245b44;border-radius:13px;min-height:48px;padding:11px 20px;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:15px;font-weight:700;text-decoration:none}
.sky-shell .ask-primary:hover{background:#174b35;color:#fff}
.sky-shell .ask-preview-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:16px 0 12px}
.sky-shell .ask-preview-chips a{font-size:12px;border-radius:20px;border:1px solid #d6dfd2;padding:7px 9px;background:#fff8}
.sky-shell .ask-entry small{font-size:11px;color:#637064}
.sky-shell.ask-entry-report{max-width:832px;margin:22px auto;display:flex;align-items:center;gap:18px;padding:22px 26px;text-align:left}
.sky-shell .ask-entry-report img,.sky-shell.ask-entry-report img{width:88px;flex:none;border-radius:50%}
.sky-shell.ask-entry-report h3{font-size:21px;margin:4px 0}
.sky-shell.ask-entry-report p{font-size:14px;color:#58675d;margin:0}
.sky-shell .ask-link{display:inline-flex;gap:20px;align-items:center;min-height:44px;font-size:14px;font-weight:750;color:#245b44}
.sky-shell .ask-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:64px;padding:36px 0 60px;align-items:start}
.sky-shell .ask-intro{position:sticky;top:30px;padding-top:4px}
.sky-shell .ask-back{display:inline-block;font-size:13px;color:var(--ui-muted);min-height:44px}
.sky-shell .ask-intro>.ask-label{margin:28px 0 18px;font-size:10px}
.sky-shell .ask-intro h1{font-size:clamp(30px,3.4vw,43px);font-weight:750;letter-spacing:-.055em;line-height:1.35}
.sky-shell .ask-intro-copy{font-size:16px;color:var(--ui-ink2);margin-top:20px;line-height:1.8}
.sky-shell .ask-intro>img{width:260px;border-radius:50%;margin:26px auto 12px}
.sky-shell .ask-promise{border-left:2px solid var(--ui-line);padding:4px 0 4px 18px;margin:28px 0 0 12px;font-size:13px;color:var(--ui-muted)}
.sky-shell .ask-promise b{display:block;color:var(--ui-ink2);margin-bottom:8px}
.sky-shell .ask-room{border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:26px;overflow:hidden;box-shadow:0 14px 45px #163e2110;min-width:0}
.sky-shell .ask-room-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 28px;background:var(--ui-surface2);border-bottom:1px solid var(--ui-line)}
.sky-shell .ask-room-head h2{font-size:21px;line-height:1.6;letter-spacing:-.025em}
.sky-shell #ask-forget{border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:9px;font-size:12px;min-height:40px;padding:8px 12px}
.sky-shell #ask-source{padding:12px 28px;background:var(--ui-mint);font-size:12px;color:var(--ui-green)}
.sky-shell #ask-source a{text-decoration:underline;text-underline-offset:3px}
.sky-shell #ask-scroll{overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;min-height:0}
.sky-shell #ask-log{padding:28px 28px 8px;min-height:150px}
.sky-shell .ask-room>#ask-log{max-height:540px;overflow-y:auto}
.sky-shell .ask-message{margin:0 0 24px;max-width:100%;font-size:16px;line-height:1.85}
.sky-shell .ask-speaker{display:block;font-size:11px;font-weight:750;letter-spacing:.04em;color:var(--ui-muted);margin-bottom:8px}
.sky-shell .ask-message p{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.sky-shell .ask-user{background:var(--ui-mint);margin-left:36px;padding:14px 18px;border-radius:18px 18px 4px 18px;color:var(--ui-green)}
.sky-shell .ask-user .ask-speaker{color:var(--ui-green)}
.sky-shell .ask-cards{display:grid;gap:8px;margin-top:16px}
.sky-shell .ask-reading{display:block;border:1px solid var(--ui-line);border-radius:12px;padding:12px 14px;background:var(--ui-surface2);font-size:14px;line-height:1.5}
.sky-shell .ask-reading span{display:block;font-size:11px;color:var(--ui-muted);margin-top:4px}
.sky-shell .ask-feedback{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.sky-shell .ask-feedback button{min-height:36px;font-size:11px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface);padding:5px 10px;color:var(--ui-muted)}
.sky-shell .ask-feedback button[aria-pressed=true]{background:var(--ui-mint);color:var(--ui-green);border-color:var(--ui-forest)}
.sky-shell .ask-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 28px 20px}
.sky-shell .ask-chips button{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:18px;padding:9px 13px;font-size:12px;text-align:left;min-height:40px}
.sky-shell :is(#ask-start-form,#ask-consent){margin:0 28px 20px;padding:22px;background:var(--ui-plane);border:1px solid var(--ui-line);border-radius:16px}
.sky-shell :is(#ask-start-form,#ask-consent) h3{font-size:17px;margin-bottom:8px}
.sky-shell :is(#ask-start-form,#ask-consent) p{font-size:13px;color:var(--ui-ink2);line-height:1.7;margin-bottom:12px}
.sky-shell :is(#ask-start-form,#ask-consent) label{display:flex;gap:10px;align-items:flex-start;font-size:13px;padding:8px 0;cursor:pointer}
.sky-shell :is(#ask-start-form,#ask-consent) input{width:18px;height:18px;flex:none;accent-color:#245b44;margin-top:2px}
.sky-shell :is(#ask-start-form,#ask-consent) a,.sky-shell .ask-footnote a,.sky-shell .ask-policy a{color:var(--ui-green);text-decoration:underline;text-underline-offset:3px}
.sky-shell #ask-start{width:100%;margin-top:12px}
.sky-shell :is(#ask-start-form,#ask-consent) small{display:block;margin-top:12px;font-size:11px;color:var(--ui-muted)}
.sky-shell #ask-bot{margin-top:8px;max-width:100%;overflow:hidden}
.sky-shell #ask-form{padding:0 28px 12px}
.sky-shell #ask-form>label{display:block;font-size:12px;color:var(--ui-muted);margin-bottom:8px}
.sky-shell .ask-input-row{display:flex;align-items:flex-end;gap:8px;background:var(--ui-plane);border:1px solid var(--ui-line);border-radius:16px;padding:8px}
.sky-shell #ask-question{border:0;outline-offset:5px;background:transparent;color:var(--ui-ink);font-family:inherit;font-size:16px;line-height:1.6;padding:7px;flex:1;min-width:0;resize:vertical;max-height:220px}
.sky-shell #ask-send{font-size:13px;padding:9px 13px;white-space:nowrap}
.sky-shell .ask-input-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--ui-muted);margin-top:7px}
.sky-shell #ask-status{font-size:13px;padding:0 28px;color:var(--ui-green);min-height:24px}
.sky-shell .ask-footnote{font-size:11px;color:var(--ui-muted);text-align:center;padding:12px 24px 20px;line-height:1.8}
.sky-shell .ask-help{border-top:1px solid var(--ui-line);background:var(--ui-surface2);padding:14px 28px;font-size:12px;color:var(--ui-ink2)}
.sky-shell .ask-help summary{cursor:pointer;min-height:28px;padding:4px 0;color:var(--ui-green);font-weight:650}
.sky-shell .ask-help p{margin:8px 0;line-height:1.8}
.sky-shell .ask-help a{color:var(--ui-green);text-decoration:underline;text-underline-offset:3px}
.sky-shell .ask-help small{color:var(--ui-muted)}
.sky-shell .ask-policy h1{font-size:34px;letter-spacing:-.04em;margin:14px 0}
.sky-shell .ask-policy section{margin:32px 0}
.sky-shell .ask-policy section p+p{margin-top:14px}
[data-theme=dark] .sky-shell .ask-entry,[data-theme=dark] .sky-shell.ask-entry{background:#202c25;border-color:#3b493e;color:#eef1e8}
[data-theme=dark] .sky-shell .ask-entry p,[data-theme=dark] .sky-shell.ask-entry p,[data-theme=dark] .sky-shell .ask-entry small{color:#b5c3b6}
[data-theme=dark] .sky-shell .ask-preview-chips a{background:#2b3b30;border-color:#4c5d4c}
[data-theme=dark] .sky-shell .ask-link{color:#9be6c6}
.sky-shell [hidden]{display:none!important}
@media(max-width:760px){.sky-shell .ask-layout{display:block;padding:16px 0 32px}.sky-shell .ask-intro{position:relative;padding:0 0 22px;min-height:150px}.sky-shell .ask-intro>.ask-label{margin:6px 0 12px;font-size:9px}.sky-shell .ask-intro h1{font-size:28px}.sky-shell .ask-intro-copy,.sky-shell .ask-promise{display:none}.sky-shell .ask-intro>img{position:absolute;width:108px;right:0;bottom:22px;margin:0}.sky-shell .ask-room{border-radius:20px}.sky-shell .ask-room-head{padding:17px 20px}.sky-shell #ask-log{padding:22px 20px 8px;max-height:52svh}.sky-shell .ask-chips{padding:0 20px 16px}.sky-shell :is(#ask-start-form,#ask-consent){margin:0 16px 16px;padding:16px}.sky-shell #ask-form{padding:0 16px 12px}.sky-shell #ask-status{padding:0 20px}.sky-shell .ask-help{padding:12px 20px}.sky-shell .ask-entry-home>img{width:136px}.sky-shell .ask-entry-home h2{font-size:24px}.sky-shell .ask-entry-home{margin-top:24px}.sky-shell.ask-entry-report{margin:18px 16px;padding:18px;gap:12px}.sky-shell.ask-entry-report img{width:64px}.sky-shell.ask-entry-report h3{font-size:18px}.sky-shell.ask-entry-report p{font-size:12px}.sky-shell.ask-entry-report .ask-label{font-size:9px}.sky-shell .ask-user{margin-left:20px}.sky-shell .ask-input-meta{font-size:9px}}
@media(prefers-reduced-motion:reduce){.sky-shell .ask-room *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep each navigation label intact when the teacher tab is enabled. */
@media(max-width:960px){.sky-shell .ui-menu{min-width:0}.sky-shell .ui-menu>a{flex:0 0 auto}}

/* After entry, the conversation owns the viewport; only its history scrolls. */
.sky-shell .ask-room-back{display:none}
.sky-shell #ask-latest{align-self:center;flex:none;margin:0 0 8px;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-mint);color:var(--ui-green);padding:6px 14px;min-height:36px;font:inherit;font-size:12px}
.sky-shell .ask-pending{color:var(--ui-muted)}
.sky-shell :is(#ask-start-form,#ask-consent) :is(.ask-notice-detail,.ask-consent-detail){font-size:11px;color:var(--ui-muted)}
html.ask-chat-active,html.ask-chat-active body{overflow:hidden;height:100%}
.ask-chat-active .sky-shell.ui-header,.ask-chat-active .sky-shell.ui-footer,.ask-chat-active .sky-shell.live-notice{display:none}
.ask-chat-active .ask-layout{position:fixed;z-index:30;top:var(--ask-top,0px);left:50%;transform:translateX(-50%);width:min(1120px,100%);height:var(--ask-height,100dvh);padding:20px;grid-template-columns:240px minmax(0,1fr);gap:32px;box-sizing:border-box;background:var(--ui-plane);align-items:stretch}
.ask-chat-active .ask-intro{position:static;min-height:0;overflow-y:auto}
.ask-chat-active .ask-intro h1{font-size:32px}
.ask-chat-active .ask-intro>img{width:180px}
.ask-chat-active .ask-room{display:flex;flex-direction:column;height:100%;min-height:0;position:relative}
.ask-chat-active .ask-room-head{flex:none;padding:12px 20px}
.ask-chat-active .ask-room-head h2{font-size:18px}
.ask-chat-active #ask-source{flex:none;padding:7px 20px;max-height:54px;overflow-y:auto}
.ask-chat-active #ask-scroll{flex:1;min-height:0}
.ask-chat-active #ask-log{max-height:none;min-height:0;padding:20px 24px 0}
.ask-chat-active #ask-form{flex:none;padding:10px 20px 0;border-top:1px solid var(--ui-line);background:var(--ui-surface)}
.ask-chat-active #ask-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ask-chat-active #ask-question{resize:none;max-height:100px}
.ask-chat-active #ask-status{flex:none;font-size:11px;line-height:1.5;min-height:18px;padding:5px 20px 0}
.ask-chat-active .ask-footnote{flex:none;font-size:10px;padding:5px 20px 9px}
.ask-chat-active .ask-footnote-extra{display:none}
.ask-chat-active .ask-help{flex:none;padding:5px 20px}
.ask-chat-active .ask-help[open]{position:absolute;z-index:2;bottom:0;left:0;right:0;max-height:75%;overflow-y:auto;box-shadow:0 -8px 24px #163e2120}
@media(max-width:760px){.ask-chat-active .ask-layout{display:block;padding:0}.ask-chat-active .ask-intro{display:none}.ask-chat-active .ask-room{border:0;border-radius:0;box-shadow:none}.ask-chat-active .ask-room-back{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;font-size:22px}.ask-chat-active .ask-room-head{padding:6px 12px;gap:8px}.ask-chat-active .ask-room-head>div{flex:1}.ask-chat-active .ask-room-head .ask-label{font-size:9px}.ask-chat-active #ask-source{padding:6px 16px;font-size:11px}.ask-chat-active #ask-log{padding:18px 16px 0}.ask-chat-active #ask-form{padding:8px 12px 0}.ask-chat-active #ask-status{padding:4px 16px 0}.ask-chat-active .ask-footnote{padding:4px 12px 6px}.ask-chat-active .ask-help{padding:3px 16px max(3px,env(safe-area-inset-bottom))}.ask-chat-active .ask-chips{padding:0 16px 16px}}
@media(max-height:520px){.ask-chat-active .ask-room-head .ask-label,.ask-chat-active .ask-input-meta,.ask-chat-active .ask-footnote{display:none}.ask-chat-active .ask-room-head{padding-top:2px;padding-bottom:2px}.ask-chat-active #ask-status{font-size:10px}}

.sky-shell .ask-budget-notice{margin:0 28px 20px;padding:22px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-plane);font-size:14px;line-height:1.7}
.sky-shell .ask-budget-notice small{display:block;color:var(--ui-muted);font-size:11px;margin:10px 0}.sky-shell .ask-budget-notice a{color:var(--ui-green);text-decoration:underline;text-underline-offset:3px}
