@import"https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap";:root{font-family:Nunito,system-ui,sans-serif;color:#173947;background:#edf8f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex;flex-direction:column}.header{min-height:86px;padding:12px max(24px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #ddede7}.brand{display:flex;align-items:center;gap:12px}.brand img{width:57px;height:57px;object-fit:contain}.brand strong{display:block;font-size:23px;color:#12724c;line-height:1.1;font-weight:900}.brand span{font-size:12px;font-weight:800;color:#e1a72d}.team{color:#64827b;font-weight:800;font-size:13px}.layout{max-width:1240px;width:100%;margin:26px auto;display:grid;grid-template-columns:320px 1fr;gap:22px;padding:0 20px;flex:1;min-height:650px}.sidebar,.chat{background:#fff;border-radius:26px;box-shadow:0 10px 32px #165a3920;overflow:hidden}.sidebar{padding:22px}.hero{border-radius:22px;background:linear-gradient(155deg,#e3ffe9,#e4f3ff);text-align:center;padding:16px 16px 22px}.hero img{width:min(82%,210px);height:190px;object-fit:contain}.hero h1{font-size:23px;line-height:1.2;margin:7px 0 9px;color:#146c51;font-weight:900}.hero p{font-size:14px;line-height:1.5;margin:0;color:#58766b}.side-heading{font-weight:900;letter-spacing:.08em;color:#81938d;margin:26px 0 12px;font-size:11px}.subjects{display:grid;gap:9px}.subject{display:flex;gap:12px;align-items:center;border:2px solid #edf4f0;padding:10px;border-radius:15px;background:#fff;color:#325449;font-weight:900;text-align:left;transition:.15s}.subject.active{border-color:#37b779;background:#effbf3;color:#087448}.subject-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center}.arrow{margin-left:auto;font-size:26px}.safe{display:flex;align-items:start;gap:10px;margin-top:30px;font-size:12px;line-height:1.5;color:#708b7d;background:#f5faf6;padding:13px;border-radius:12px}.safe svg{flex-shrink:0;color:#14885e}.chat{display:flex;flex-direction:column;min-height:650px}.chat-top{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #eef2f0}.avatar{background:#eaf9ef;width:54px;height:54px;border-radius:50%;overflow:hidden;display:grid;place-items:center}.avatar img{width:62px}.chat-top h2{font-size:20px;margin:0 0 2px;font-weight:900}.chat-top p{margin:0;font-size:13px;color:#7c9990}.online{font-size:11px;color:#159263;margin-left:8px;font-weight:800}.icon-btn{background:#fff;border:1px solid #dfebe5;border-radius:12px;padding:11px;color:#678477}.clear{margin-left:auto}.messages{padding:23px 24px 16px;flex:1;overflow-y:auto;max-height:520px;min-height:310px;background:radial-gradient(circle at 90% 10%,#f8ffef,transparent 40%),#fff}.message{display:flex;margin-bottom:19px}.message.student{justify-content:flex-end}.bubble{max-width:78%;border-radius:18px 18px 18px 5px;padding:15px 18px;background:#eaf8ed;color:#264f40}.message.student .bubble{background:#2d9876;color:#fff;border-radius:18px 18px 5px}.bubble p{white-space:pre-wrap;line-height:1.65;font-size:14px;margin:0}.speaker{display:flex;align-items:center;gap:6px;color:#078957;font-size:12px;font-weight:900;margin-bottom:8px}.repeat{border:0;background:transparent;color:#178664;margin-top:10px;padding:4px 0;font-size:12px;font-weight:900;display:flex;align-items:center;gap:6px}.compose{padding:16px 22px 20px;border-top:1px solid #edf2ef}.prompts{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:13px}.prompts span{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:900;color:#788c7c;margin-right:3px}.prompts button{border:1px solid #d5e9df;background:#f7fcf9;border-radius:40px;color:#177550;font-size:12px;font-weight:800;padding:7px 11px}.notice{font-size:12px;color:#66551b;background:#fff7d7;padding:9px 12px;border-radius:10px;margin:8px 0}.inputbar{border:2px solid #dcebe4;border-radius:16px;display:flex;align-items:center;padding:6px;gap:7px}.inputbar:focus-within{border-color:#63bf95}.inputbar input{border:0;outline:none;flex:1;min-width:0;padding:9px 2px;color:#164b38}.inputbar button{border:0;display:grid;place-items:center;border-radius:11px;height:41px;width:41px;flex-shrink:0}.mic{background:#e7f7ef;color:#167b59}.mic.listening{background:#ffe1e1;color:#c62e38;animation:pulse 1s infinite}.volume{background:#fff;color:#568677}.send{background:#119065;color:#fff}.send:disabled{opacity:.4;cursor:default}.tip{font-size:10px;color:#90a59b;text-align:center;margin:10px 0 0}footer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#748d82;padding:15px}@keyframes pulse{50%{opacity:.4}}@media(max-width:800px){.team{display:none}.layout{grid-template-columns:1fr;margin:12px auto;gap:12px}.sidebar{padding:13px}.hero{display:none}.side-heading{margin:4px 0 8px}.subjects{grid-template-columns:repeat(3,1fr);gap:6px}.subject{font-size:12px;padding:6px;gap:5px}.subject-icon{width:31px;height:31px;flex-shrink:0}.subject-icon svg{width:17px}.arrow,.safe{display:none}.chat{min-height:70vh}.messages{max-height:55vh}.bubble{max-width:92%}.header{min-height:72px}.brand strong{font-size:20px}}@media(max-width:430px){.subject{flex-direction:column;align-items:center}.prompts button{font-size:11px}.chat-top{padding:12px}.messages{padding:14px}.compose{padding:12px}.online{display:block;margin:2px 0}.inputbar button{width:35px;height:37px}}
