.classroom-screen.classroom-chat-screen{--chat-nav-space:calc(64px + env(safe-area-inset-bottom));inset:var(--chat-viewport-top,0px) 0 auto;height:calc(var(--chat-viewport-height,100dvh) - var(--chat-nav-space));background:#faf7f0;max-width:none;min-height:0;padding:12px;position:fixed;overflow:hidden}.classroom-chat-screen[data-keyboard-open=true]{--chat-nav-space:0px}body:has(.classroom-chat-screen){overflow:hidden}body:has(.classroom-chat-screen[data-keyboard-open=true]) .classroom-nav{display:none}.classroom-chat{background:#fffdf9;border:1px solid #e2d9c8;border-radius:22px;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:760px;height:100%;min-height:0;margin:auto;display:grid;position:relative;overflow:hidden}.classroom-chat-person{z-index:2;background:#fffdf9;border-bottom:1px solid #e5e7df;align-items:center;gap:9px;min-height:66px;padding:7px 12px;display:flex;position:relative}.classroom-chat-person>.classroom-mascot{aspect-ratio:auto;width:36px;height:44px}.classroom-chat-back,.classroom-chat-more{color:#14797d;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;width:40px;height:44px;text-decoration:none;display:grid}.classroom-chat-back{font:32px/1 system-ui}.classroom-chat-more{letter-spacing:1px;font-size:15px}.classroom-chat-identity{flex:1;min-width:0}.classroom-chat-screen .classroom-chat-person h1{color:#102343;margin:0;font:700 19px/1.2 system-ui,sans-serif}.classroom-chat-person p{color:#657085;margin:3px 0 0;font-size:12px;line-height:1.3}.classroom-chat-score{color:#657085;font-variant-numeric:tabular-nums;flex:none;font-size:13px}.classroom-chat-score strong{font-weight:600}.classroom-chat-options{z-index:4;background:#fffdf9;border:1px solid #e0d8c9;border-radius:16px;width:min(265px,100vw - 28px);padding:6px;position:absolute;top:calc(100% - 2px);right:10px;box-shadow:0 10px 30px #10234320}.classroom-chat-options label,.classroom-chat-options button{color:#102343;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:9px 10px;font-size:14px;font-weight:500;display:flex}.classroom-chat-options input{accent-color:#14797d;width:18px;height:18px;margin:0}.classroom-messages{overscroll-behavior:contain;scrollbar-width:thin;background:#f1f5f2;flex-direction:column;align-items:flex-start;gap:12px;min-height:0;padding:16px 14px 22px;display:flex;overflow-y:auto}.classroom-messages>article{flex-shrink:0}.classroom-bubble{overflow-wrap:anywhere;background:#fff;border-radius:18px 18px 18px 5px;max-width:88%;padding:10px 13px;position:relative;box-shadow:0 2px 7px #10234307}.classroom-bubble p{color:#102343;margin:3px 0;line-height:1.45}.classroom-bubble .classroom-bubble-lao{font-family:Noto Sans Lao,Lao UI,sans-serif;font-size:23px;line-height:1.65}.classroom-bubble .classroom-bubble-english{font-size:14px}.classroom-bubble .classroom-bubble-roman{color:#657085;font-size:13px}.classroom-bubble .classroom-bubble-note{color:#52665e;font-size:13px;font-weight:500}.classroom-bubble-user{background:#dceee3;border-radius:18px 18px 5px;align-self:flex-end;margin-bottom:7px}.classroom-message-reaction{background:#fff;border:1px solid #d8e2df;border-radius:999px;place-items:center;min-width:30px;height:24px;padding:0 7px;font-size:15px;line-height:1;display:grid;position:absolute;bottom:-14px;right:8px;box-shadow:0 2px 5px #10234312}.classroom-message-audio{color:#14797d;background:#f4faf8;border:1px solid #d8e2df;border-radius:12px;min-height:36px;margin-top:4px;padding:5px 9px;font-size:13px}.classroom-chat-replies{overscroll-behavior:contain;background:#fffdf9;border-top:1px solid #e0e5dd;min-width:0;max-height:none;padding:8px 12px 12px;overflow-y:auto}.classroom-chat-modes{background:#edf0eb;border-radius:12px;gap:4px;width:max-content;max-width:100%;margin:0 auto 8px;padding:3px;display:flex}.classroom-chat-modes button{color:#657085;background:0 0;border:0;border-radius:9px;min-height:34px;padding:5px 14px;font-size:13px;font-weight:600}.classroom-chat-modes button[aria-pressed=true]{color:#126f73;background:#fff;box-shadow:0 1px 3px #10234316}.classroom-phrase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.classroom-phrase-grid button{color:#102343;text-align:left;overflow-wrap:anywhere;background:#f8fcf9;border:1px solid #d6e3dc;border-radius:14px;min-width:0;min-height:68px;padding:7px 10px}.classroom-phrase-grid span{font-family:Noto Sans Lao,Lao UI,sans-serif;font-size:19px;line-height:1.55;display:block}.classroom-phrase-grid small{color:#52665e;margin-top:2px;font-size:12px;line-height:1.3;display:block}.classroom-phrase-grid .classroom-reply-roman{color:#657085;font-size:11px}.classroom-phrase-grid button:disabled{opacity:.55;cursor:default}.classroom-composer{align-items:center;gap:8px;margin:0;display:flex}.classroom-composer input{color:#102343;background:#fff;border:1px solid #d6e3dc;border-radius:23px;flex:1;width:100%;min-width:0;height:46px;padding:8px 14px;font-size:16px;line-height:1.5}.classroom-composer button{color:#fff;background:#14797d;border:0;border-radius:50%;flex:none;width:46px;height:46px;padding:0;font-size:28px;line-height:1}.classroom-composer button:disabled{opacity:.45}.classroom-chat .srOnly{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.classroom-chat-help{background:#edf4ee;border-radius:12px;align-items:flex-start;gap:6px;margin:0 0 8px;padding:8px 10px;display:flex}.classroom-chat-help p{color:#52665e;margin:0;font-size:12px;line-height:1.45}.classroom-chat-help button{color:#14797d;background:0 0;border:0;border-radius:50%;flex:none;width:32px;height:32px;padding:0;font-size:22px}.classroom-chat-error{color:#8b3a2c;margin:7px 0 0;font-size:12px;line-height:1.4}.classroom-chat button:focus-visible,.classroom-chat a:focus-visible,.classroom-messages:focus-visible{outline-offset:2px;outline:3px solid #bc973e}@media (hover:hover){.classroom-phrase-grid button:not(:disabled):hover,.classroom-chat-options button:hover,.classroom-chat-options label:hover{background:#e9f4ec}}@media (max-width:600px){.classroom-screen.classroom-chat-screen{padding:0}.classroom-chat{border:0;border-radius:0;max-width:none}.classroom-chat-person{gap:6px;min-height:62px;padding:5px 8px}.classroom-chat-replies{padding:8px 10px 10px}.classroom-messages{padding:14px 12px 22px}}@media (max-width:360px),(max-height:600px){.classroom-chat-person{min-height:54px;padding-top:3px;padding-bottom:3px}.classroom-chat-person>.classroom-mascot{width:30px;height:38px}.classroom-chat-screen .classroom-chat-person h1{font-size:17px}.classroom-chat-person p{font-size:11px}.classroom-chat-modes{margin-bottom:6px}.classroom-chat-modes button{min-height:30px;padding:4px 12px}.classroom-phrase-grid button{min-height:60px;padding:5px 8px}.classroom-phrase-grid span{font-size:18px;line-height:1.5}.classroom-phrase-grid small{font-size:11px}.classroom-chat-replies{padding-top:6px;padding-bottom:8px}.classroom-bubble .classroom-bubble-lao{font-size:21px}.classroom-bubble .classroom-bubble-english{font-size:13px}}@media (max-height:450px) and (min-width:480px){.classroom-chat{max-width:980px}.classroom-chat-replies{max-height:none;padding:5px 12px}.classroom-chat-modes{margin-bottom:4px}.classroom-phrase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.classroom-phrase-grid button{min-height:56px}.classroom-messages{padding:8px 14px 18px}.classroom-phrase-grid span{font-size:17px}.classroom-phrase-grid small{font-size:11px}.classroom-phrase-grid .classroom-reply-roman{display:none}}@media (max-width:360px){body:has(.classroom-chat-screen) .classroom-nav a{font-size:12px}body:has(.classroom-chat-screen) .classroom-nav a>span{font-size:22px}}@media (max-height:450px) and (min-width:480px){.classroom-screen.classroom-chat-screen{--chat-nav-space:0px}body:has(.classroom-chat-screen) .classroom-nav{display:none}}
