/* 4.9.13 — scoped to the authenticated conversation workspace. */
#student-chat.sc-chat-mode #status.sc-routine-password {display:none!important}
#student-chat.sc-chat-mode {padding-bottom:0!important}
#student-chat.sc-chat-mode .sc-toolbar {margin:0!important;min-height:0!important}
#student-chat.sc-chat-mode .sc-layout {height:var(--sc-fit-height,calc(100dvh - 210px))!important;margin-bottom:0!important}
#student-chat.sc-chat-mode #class-sidebar {display:flex;flex-direction:column;overflow:hidden;padding:12px 10px;min-height:0}
#student-chat #class-sidebar h2 {margin:0 4px 4px!important}
#student-chat #class-sidebar .sc-class-hint {margin:0 4px 8px}
#student-chat #sc-class-picker {flex:none;width:100%;padding:8px 10px;margin:0 0 8px;border-color:#a9c9c4;background:#f0faf7;font-size:13px;font-weight:600;min-height:40px}
#student-chat #class-list {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a8c2b9 transparent}
#student-chat #class-list button {min-height:44px;padding:6px 8px;gap:8px}
#student-chat #class-list button::before {width:29px;height:29px;font-size:16px}
#student-chat #messages {scrollbar-width:thin}
#student-chat #sc-chat-welcome {display:none;flex:1;min-height:0;overflow:auto;place-items:center;text-align:center;padding:20px;background:radial-gradient(ellipse at center,#f6fbfa,#eaf2f5);color:#163b52}
#student-chat .sc-conversation:has(#message-form[hidden]) #sc-chat-welcome {display:grid}
#student-chat .sc-conversation:has(#message-form[hidden]) #messages {display:none}
#student-chat #sc-chat-welcome .sc-welcome-inner {max-width:470px}
#student-chat #sc-chat-welcome .sc-welcome-emblem {display:grid;place-items:center;margin:0 auto 14px;width:68px;height:68px;border-radius:22px;background:#d9eee8;color:#126b58;font-size:34px}
#student-chat #sc-chat-welcome h2 {font-size:clamp(19px,2vw,28px)!important;color:#163b52;margin:8px 0!important}
#student-chat #sc-chat-welcome p {margin:8px 0!important;line-height:1.6;color:#456476}
#student-chat #sc-chat-welcome .sc-welcome-tip {display:inline-block;margin-top:12px;padding:9px 14px;border-radius:8px;background:white;border:1px solid #c8dfda;color:#176557;font-size:13px;font-weight:600}
@media(max-width:760px){#student-chat.sc-chat-mode .sc-chat-open #class-sidebar{display:none}#student-chat.sc-chat-mode #class-sidebar{height:100%}}
