:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17283e;background:#f3f5fb;--nav:#152640;--purple:#6855d9;--teal:#098e80;--orange:#f5a43d;--muted:#68768d;--line:#e3e7ef}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;min-height:44px;border-radius:13px;padding:11px 17px;font-weight:700;background:#e9eaf8;color:#343c79}button:hover{filter:brightness(.97)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8a7cff;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--purple);color:white}button.teal{background:#078476;color:white}button.danger{background:#ffe7e7;color:#ad3030}button.ghost{background:white;border:1px solid var(--line);color:var(--nav)}input,select{width:100%;border:1px solid #dbe0ec;border-radius:12px;padding:12px;background:#fff;color:#17283e;min-height:46px}label{display:block;font-weight:650;margin:10px 0 5px}h1,h2,h3,p{margin:0 0 12px}h1{font-size:clamp(25px,4vw,37px);letter-spacing:-1.1px}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:17px}p{line-height:1.55}small,.muted{color:var(--muted)}.loading{padding:40px;text-align:center}.shell{min-height:100dvh;display:grid;grid-template-columns:240px minmax(0,1fr)}aside{background:var(--nav);color:#fff;position:sticky;top:0;height:100dvh;padding:24px 17px;display:flex;flex-direction:column;gap:22px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:850;letter-spacing:-.5px}.brand img{width:45px;height:45px}.brand span{color:#62e4d0}nav{display:grid;gap:6px}nav button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:#c0cbdf;font-weight:600;font-size:14px}nav button.active{background:#304565;color:#fff}nav button span{font-size:20px;min-width:24px}aside .bottom{margin-top:auto}main{max-width:1250px;width:100%;padding:28px 34px 60px;margin:0 auto;min-width:0}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.top .profile{display:flex;align-items:center;gap:8px}.pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:30px;font-size:13px;font-weight:750;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 4px 15px #27345a08;min-width:0}.hero{background:linear-gradient(120deg,#283b63,#6655c7 80%);color:white;border:none;display:grid;grid-template-columns:1fr 180px;align-items:center;min-height:220px;overflow:hidden;position:relative;margin-bottom:20px}.hero p{color:#e0e4ff;max-width:510px}.hero .primary{background:#73ead3;color:#143648}.hero h1{max-width:520px}.robot{width:155px;max-width:100%;filter:drop-shadow(0 18px 12px #12182b55);animation:float 4s ease-in-out infinite;display:block;margin:auto}.robot.listening{animation:pulse 1s infinite}.robot.speaking{animation:float .7s infinite}.robot.thinking{animation:spin 2s infinite}.stat{font-size:31px;font-weight:850;margin:6px 0}.accent{color:#6855d9}.bar{height:9px;border-radius:10px;background:#e6e9f3;overflow:hidden;margin:10px 0}.bar i{display:block;height:100%;background:#21b6a4;border-radius:10px}.section{margin:24px 0 12px;display:flex;justify-content:space-between;align-items:center}.section h2{margin:0}.tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;width:100%;background:#fff;color:#17283e;border:1px solid var(--line);border-radius:20px;padding:18px}.tile:hover{border-color:#9585e9}.tile .symbol{display:grid;place-items:center;width:53px;height:53px;border-radius:17px;background:#efedff;font-size:28px}.tile b{font-size:17px}.tile small{font-weight:400}.unit{display:flex;align-items:center;gap:14px;margin-bottom:12px}.unit .symbol{font-size:35px;background:#edf0fb;border-radius:18px;padding:12px;min-width:65px;text-align:center}.unit .grow{flex:1}.unit h3{margin:0 0 5px}.unit.locked{opacity:.7}.lessons{display:grid;gap:8px;margin:0 0 20px 30px}.lessons button{text-align:left;background:white;border:1px solid var(--line);color:#243858;display:flex;justify-content:space-between;align-items:center}.center{text-align:center}.stage{max-width:750px;margin:auto}.flash{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;background:linear-gradient(145deg,#f4f1ff,#f3fbff);border-radius:20px;padding:22px;margin:14px 0}.bigicon{font-size:76px;line-height:1.2}.word{font-weight:850;font-size:clamp(30px,6vw,45px);margin:8px 0;overflow-wrap:anywhere}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px;align-items:center}.actions.center{justify-content:center}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.choices button{background:#f3f5fc;color:#203553;border:2px solid transparent;min-height:68px}.choices button.right{border-color:#149787;background:#e3f9f3}.choices button.wrong{border-color:#d75656;background:#fff0f0}.answerbox{min-height:66px;padding:12px;background:#f1f3fb;border:2px dashed #cdd2e4;border-radius:14px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.feedback{padding:12px 15px;border-radius:12px;background:#edf0ff;margin:12px 0;line-height:1.5}.feedback.ok{background:#dff6ec;color:#125f4a}.feedback.no{background:#fff2e4;color:#875018}.chat{display:grid;grid-template-columns:1fr 1.5fr;gap:16px}.chatbox{height:350px;overflow:auto;background:#f8f9fd;padding:14px;border-radius:15px;display:flex;flex-direction:column;gap:12px}.bubble{padding:12px 15px;border-radius:16px 16px 16px 4px;background:#eae7ff;max-width:88%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#d7f6ee;align-self:flex-end;border-radius:16px 16px 4px 16px}.mic{height:74px;width:74px;border-radius:50%;font-size:30px;background:var(--purple);color:white;padding:0}.mic.on{background:#cf3c57;animation:pulse 1s infinite}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tabs button{font-size:13px}.tabs button.active{background:var(--purple);color:white}.formcard{max-width:480px;margin:20px auto}.welcome{min-height:100dvh;display:grid;align-items:center;padding:25px;background:radial-gradient(at 80% 20%,#dfdcff,#f3f5fb 55%)}.welcome .layout{display:grid;grid-template-columns:1fr 1fr;max-width:960px;margin:auto;align-items:center;gap:38px;width:100%}.welcome .robot{width:245px}.welcome h1{font-size:clamp(36px,6vw,56px)}.notice{font-size:13px;background:#fff3d9;border-radius:12px;padding:12px;margin:12px 0;color:#70531d}.profilecards{display:grid;gap:9px}.profilecards button{text-align:left}.listrow{padding:13px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.listrow:last-child{border-bottom:0}.mobile{display:none}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#17283e;color:#fff;border-radius:12px;box-shadow:0 6px 25px #0003;z-index:100;display:none;max-width:90vw;text-align:center}.chart{display:flex;align-items:flex-end;justify-content:space-around;height:130px;gap:10px}.chart div{display:grid;justify-items:center;gap:6px;flex:1}.chart i{width:100%;max-width:34px;background:#8b7ae8;border-radius:6px;min-height:3px}.badge{background:#fef1d7;color:#84531b;padding:8px 12px;border-radius:20px;font-size:13px}.tiny{font-size:12px}.dangerzone{margin-top:30px}.kbd{padding:8px 12px;background:#e9eaf8;border-radius:8px}.hide{display:none}@keyframes float{50%{transform:translateY(-6px)}}@keyframes pulse{50%{transform:scale(1.06)}}@keyframes spin{50%{transform:rotate(4deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:760px){.shell{display:block}aside{display:none}main{padding:16px 15px 96px}.top{margin-bottom:16px}.hero{grid-template-columns:1fr 95px;padding:18px;min-height:190px}.hero h1{font-size:26px}.hero .robot{width:95px}.card{padding:17px;border-radius:18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid .card{padding:15px}.tile{padding:13px}.tile b{font-size:15px}.mobile{position:fixed;bottom:0;left:0;right:0;display:flex;background:#152640;justify-content:space-around;z-index:50;padding:7px 3px max(7px,env(safe-area-inset-bottom));gap:2px}.mobile button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;background:transparent;color:#bdc9df;font-size:10px;gap:1px;padding:4px 0;border-radius:10px}.mobile button span{font-size:21px}.mobile button.active{color:#6ce9d6;background:#293e60}.chat{grid-template-columns:1fr}.chat .robot{width:85px}.chatbox{height:270px}.welcome .layout{grid-template-columns:1fr;gap:12px}.welcome .robot{width:130px}.welcome .intro{text-align:center}.welcome h1{font-size:36px}.unit{padding:13px}.unit .symbol{font-size:27px;min-width:48px;padding:8px}.unit button{padding:8px}.lessons{margin-left:12px}.top .brand{font-size:16px}.top .brand img{width:33px;height:33px}#toast{bottom:86px}}
