body.tutor-open{overflow:hidden!important}
.tutor-voice-spinner{display:inline-block;width:16px;height:16px;border:2px solid #dcd5fc;border-top-color:#7c5cff;border-radius:50%;animation:tutorVoiceLoading .85s linear infinite}
@keyframes tutorVoiceLoading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tutor-voice-spinner{animation:none}}
.tutor-surface{width:100%;height:100%;position:relative}
.tutor-app .tutor-lesson-art{display:flex;justify-content:center;overflow:hidden;border-radius:14px;background:linear-gradient(110deg,#f6f5fc,#f0f7f8);margin:14px 0 4px;flex-shrink:0}
.tutor-app .tutor-lesson-art svg{width:min(100%,420px);height:164px;flex-shrink:1}
dialog.tutor-app #support-fab{display:grid!important;right:30px!important;bottom:32px!important;z-index:80}
dialog.tutor-app .tutor-board-footer{padding-right:88px}
dialog.tutor-app #support-mini:not(.expanded){bottom:104px;max-height:calc(100dvh - 120px)}
@media(max-width:860px){.tutor-app .tutor-surface{height:calc(100% - 68px - env(safe-area-inset-bottom,0px))}.tutor-app .tutor-lesson-art svg{height:125px}dialog.tutor-app .tutor-board-footer{padding-right:0}dialog.tutor-app #support-fab{right:22px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}dialog.tutor-app #support-mini:not(.expanded){left:10px;right:10px;width:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));min-height:min(420px,calc(100dvh - 110px));max-height:calc(100dvh - 110px)}dialog.tutor-app #support-mini textarea{font-size:16px}}
.tutor-app .tutor-text-task{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;color:#7184a5;font-size:12px}
.tutor-app .tutor-shortcuts{flex-wrap:wrap}.tutor-app .tutor-shortcuts button[aria-pressed="true"]{background:#f1f4fa;border-color:#cbd5e5;color:#435675}
dialog.tutor-app{--tutor-blue:#3b82f6;--tutor-purple:#7c5cff;position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;color:#172742;background:#f5f6fb;font-family:Inter,Arial,sans-serif;font-size:14px;overflow:hidden;color-scheme:light}
.tutor-app::backdrop{background:#f5f6fb}.tutor-app *{box-sizing:border-box}.tutor-app button:not(.support-fab),.tutor-app input,.tutor-app textarea,.tutor-app select{font:inherit}.tutor-app button{cursor:pointer}.tutor-app button:disabled{opacity:.48;cursor:default}.tutor-app button:focus-visible,.tutor-app textarea:focus-visible,.tutor-app select:focus-visible{outline:3px solid #a3c7ff;outline-offset:2px}.tutor-app svg{width:20px;height:20px;flex-shrink:0}.tutor-app h1,.tutor-app h2,.tutor-app h3,.tutor-app p{margin:0}.tutor-app button:not(.support-fab){color:inherit}
.tutor-topbar{height:68px;background:#fff;border-bottom:1px solid #e3e8f3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px}.tutor-topbar>div{display:flex;align-items:center;gap:16px}.tutor-topbar strong{font-size:22px;letter-spacing:-.6px}.tutor-brand{color:#8998b4;border-left:1px solid #dbe2ef;padding-left:16px}.tutor-back{width:40px;height:40px;display:grid;place-items:center;color:white!important;background:var(--tutor-blue);border:0;border-radius:11px}.tutor-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;background:#fff;border:1px solid #d7e1f4;border-radius:10px;color:#254780!important;font-weight:600}.tutor-outline:hover{background:#f0f6ff}.tutor-primary{padding:12px 18px;border:0;border-radius:10px;background:var(--tutor-blue);color:#fff!important}.tutor-round{display:grid;place-items:center;border:1px solid #dce4f3;background:#fff;border-radius:50%;width:42px;height:42px}
.tutor-workspace{display:grid;grid-template-columns:minmax(320px,30%) minmax(0,1fr);margin:24px;max-width:1800px;height:calc(100% - 116px);background:#fff;border:1px solid #dfe6f3;border-radius:20px;overflow:hidden;box-shadow:0 3px 12px #24375a03}.tutor-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #e3e9f4;padding:22px 18px 16px;background:linear-gradient(160deg,#fff 60%,#faf9ff)}.tutor-person{display:flex;align-items:center;gap:12px;flex-shrink:0}.tutor-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:white;background:linear-gradient(140deg,#9a68ff,#6c4eff);font-size:19px;font-weight:800}.tutor-person strong{display:block;font-size:16px}.tutor-person small{display:flex;align-items:center;gap:7px;margin-top:6px;color:#8796b1}.tutor-person small i{width:7px;height:7px;background:#34c787;border-radius:50%}.tutor-grade-label{display:flex;gap:8px;align-items:center;margin:18px 0 0;font-size:12px;color:#687c9d}.tutor-grade-label select{min-width:0;width:100%;border:1px solid #dfe5f3;padding:9px;background:white;color:#35577c;border-radius:9px}.tutor-topic{margin:18px 0 0;color:#5276b4;background:#f0f5ff;border-radius:8px;padding:8px 10px;font-size:12px;max-height:70px;overflow:auto;overflow-wrap:anywhere}
.tutor-messages{flex:1;min-height:90px;overflow:auto;padding:18px 1px;scrollbar-width:thin;overscroll-behavior:contain}.tutor-welcome{padding:22px 6px;color:#4c6182;line-height:1.75}.tutor-welcome>span{font-size:20px;font-weight:700;color:#283c5b}.tutor-welcome p{margin-top:10px}.tutor-message{margin:0 0 18px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.tutor-message.mine{margin-left:32px;background:#edf4ff;padding:12px 14px;border-radius:14px 14px 4px 14px}.tutor-message.iva{display:flex;gap:9px}.tutor-message.iva>div{padding:12px;background:#f5f1ff;border-radius:4px 14px 14px 14px;min-width:0}.tutor-mini-avatar{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#7c5cff;color:#fff;font-size:9px;font-weight:800}.tutor-replay{display:block;margin-top:8px;border:0;background:transparent;color:#7861b6!important;padding:4px}.tutor-replay svg{width:17px;height:17px}.tutor-thinking{display:flex;align-items:center;gap:9px;color:#7e75a1;font-size:12px;padding:8px 0}.tutor-thinking i{width:15px;height:15px;border:2px solid #dcd4f7;border-top-color:#7c5cff;border-radius:50%;animation:tutor-spin .9s linear infinite}
.tutor-compose{flex-shrink:0}.tutor-shortcuts{display:flex;gap:8px;margin-bottom:10px}.tutor-shortcuts button{background:#fff;border:1px solid #dfe4f6;border-radius:10px;padding:8px 10px;font-size:12px;color:#355886}.tutor-voice-box{text-align:center;border:1px solid #e3e5f5;border-radius:16px;padding:13px;background:white}.tutor-wave{display:flex;align-items:center;justify-content:center;gap:3px;height:24px}.tutor-wave i{display:block;width:3px;height:6px;background:#8c63ef;border-radius:3px}.tutor-wave i:nth-child(3n+2){height:15px}.tutor-wave i:nth-child(3n){height:22px}.tutor-wave.live i{animation:tutor-wave .8s ease-in-out infinite alternate}.tutor-wave.live i:nth-child(2n){animation-delay:-.4s}.tutor-voice-state{display:block;margin:5px 0 11px;font-size:13px;color:#516184}.tutor-voice-actions{display:flex;align-items:center;justify-content:center;gap:24px}.tutor-mic{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;border:6px solid #e6ddff;background:linear-gradient(135deg,#a26cff,#7045ff);box-shadow:0 0 0 5px #f5f0ff;color:#fff!important}.tutor-mic svg{width:30px;height:30px}.tutor-mic.listening{box-shadow:0 0 0 6px #e3dcff,0 0 0 12px #f4f0ff}.tutor-text-compose{display:block;border:1px solid #e0e6f0;background:#fff;padding:12px 13px 10px;border-radius:17px;margin-top:10px;box-shadow:0 3px 12px #243c6005;transition:border-color .16s,box-shadow .16s}
.tutor-text-compose:focus-within{border-color:#a9beda;box-shadow:0 0 0 3px #3b82f60a,0 5px 16px #243c6008}
.tutor-app .tutor-text-compose textarea,.tutor-app .tutor-text-compose textarea:focus,.tutor-app .tutor-text-compose textarea:focus-visible{display:block;resize:none;width:100%;min-width:0;border:0!important;padding:2px 1px;background:transparent;color:#243c5a;outline:none!important;box-shadow:none!important;min-height:42px;max-height:110px;font-size:14px;line-height:1.55;border-radius:0}
.tutor-text-compose textarea::placeholder{color:#9aa8bd}
.tutor-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px;min-height:36px}
.tutor-input-hint{display:flex;align-items:center;gap:6px;color:#a3aec0;font-size:10px;user-select:none}
.tutor-input-hint kbd{display:inline-block;padding:2px 5px;border:1px solid #e8ecf3;border-radius:5px;background:#fafbfd;font:inherit;line-height:1.2;color:#8f9db2}
.tutor-input-mobile-hint{display:none}
.tutor-send{width:36px;height:36px;flex-shrink:0;border:0;border-radius:11px;background:#345b88;color:white!important;display:grid;place-items:center;box-shadow:0 2px 5px #345b8817;transition:background .16s,box-shadow .16s}
.tutor-send:hover:not(:disabled){background:#294b74;box-shadow:0 3px 8px #345b8826}
.tutor-app .tutor-send:disabled{opacity:1;background:#eff3f9;color:#a5b3c8!important;box-shadow:none}
.tutor-send svg{width:19px;height:19px}
.tutor-text-compose:has(textarea:disabled){background:#fafbfd}
@media(max-width:860px){.tutor-app .tutor-text-compose textarea,.tutor-app .tutor-text-compose textarea:focus,.tutor-app .tutor-text-compose textarea:focus-visible{font-size:16px}.tutor-input-hint{display:none}.tutor-input-mobile-hint{display:block;font-size:11px;color:#a3aec0}.tutor-send{width:42px;height:42px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.tutor-text-compose,.tutor-send{transition:none}}
.tutor-cost{display:block;margin-top:8px;text-align:center;color:#9ba6b9;font-size:10px}.tutor-voice-error{margin:9px 0 2px;color:#8b5a22;font-size:12px;line-height:1.45}.tutor-error,.tutor-inline-error{padding:10px 12px;background:#fff1f0;border-radius:10px;color:#a34139;line-height:1.5;margin:8px 0;font-size:12px}.tutor-error button,.tutor-inline-error button{display:inline-block;margin-left:8px;padding:3px 6px;border:0;border-radius:4px;color:#375d9c;background:#fff}.tutor-finished{display:grid;gap:14px;padding:18px;background:#f3fbf7;border-radius:12px}
.tutor-board-side{padding:26px 28px 16px;overflow-y:auto;min-width:0;overscroll-behavior:contain;display:flex;flex-direction:column;gap:18px;background:linear-gradient(150deg,#fff,#fcfcff)}.tutor-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.tutor-board-head small{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#8a96ae}.tutor-board-head h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:8px 0;overflow-wrap:anywhere}.tutor-board-head p{color:#8897af;font-size:13px;line-height:1.6}.tutor-board-head .tutor-outline{flex-shrink:0;font-size:12px}.tutor-stages{display:flex;gap:6px;flex-wrap:wrap}.tutor-stages span{flex:1;min-width:80px;text-align:center;border-radius:9px;background:#f0f3fa;color:#8a99b5;padding:10px 8px;font-size:12px}.tutor-stages .active{background:#3b82f6;color:white}.tutor-stages .done{background:#edf8f4;color:#30a47e}.tutor-board{position:relative;display:flex;flex-direction:column;justify-content:center;flex:1;min-height:290px;border:1px solid #e3e9f4;border-radius:16px;padding:48px 20px 22px;background-color:#fff;background-image:radial-gradient(#dce3f2 .65px,transparent .65px);background-size:16px 16px}.tutor-board-label{position:absolute;left:18px;top:16px;padding:5px 10px;border-radius:20px;background:#f1f4fb;color:#8192b1;font-size:10px}.tutor-board>h2{text-align:center;font-size:17px;color:#536c8f;margin-bottom:12px}.tutor-fraction{display:flex;justify-content:center;align-items:center;gap:32px}.tutor-fraction>svg{width:min(46%,340px);height:auto;flex-shrink:1}.tutor-fraction-explainer{min-width:160px}.tutor-fraction-row{display:flex;gap:22px;align-items:center}.tutor-fraction-row b{font-size:64px;width:70px;text-align:center;font-weight:700;line-height:1.15;letter-spacing:-2px}.tutor-fraction-row span{color:#6f87ac;font-size:12px;max-width:145px}.tutor-fraction-row:first-child span{color:#3b82f6}.tutor-fraction-explainer hr{width:70px;margin:5px 0;border:0;border-top:3px solid #223453}.tutor-board-caption{text-align:center;color:#8595b0;font-size:12px;line-height:1.55;margin-top:12px!important;white-space:pre-wrap}.tutor-numberline{width:100%!important;height:auto!important;min-height:150px}.tutor-numberline text{font:18px Inter,Arial;fill:#435c83}.tutor-visual-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tutor-visual-items article{padding:20px;background:#f4f7ff;border:1px solid #e2e9f9;border-radius:13px;overflow-wrap:anywhere}.tutor-visual-index{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e4ecff;color:#3b82f6;font-size:12px;font-weight:700;margin-bottom:12px}.tutor-visual-items h3{font-size:18px;line-height:1.4}.tutor-visual-items p{margin-top:9px;font-size:14px;color:#647a9b;line-height:1.65;white-space:pre-wrap}.tutor-visual-items.connected{grid-template-columns:1fr;gap:22px}.tutor-visual-items.connected article{position:relative;display:grid;grid-template-columns:30px 1fr;gap:4px 12px;padding:14px 18px}.tutor-visual-items.connected .tutor-visual-index{grid-row:1/3;margin:0}.tutor-visual-items.connected h3{font-size:16px}.tutor-visual-items.connected p{margin:0;grid-column:2}.tutor-visual-items.connected article:not(:last-child):after{content:'↓';position:absolute;bottom:-23px;left:29px;color:#9eb6de;font-size:20px}.tutor-table-scroll{max-width:100%;overflow-x:auto}.tutor-board table{border-collapse:collapse;width:100%;font-size:14px;background:#fff}.tutor-board th,.tutor-board td{border:1px solid #e1e7f2;padding:14px;text-align:left;min-width:90px;overflow-wrap:anywhere}.tutor-board th{background:#eef4ff;color:#446694}.tutor-empty-art{display:flex;justify-content:center;align-items:center;gap:25px;min-height:120px;position:relative}.tutor-empty-art>span{display:grid;place-items:center;width:76px;height:76px;font-size:28px;border:1px solid #e0e8fb;border-radius:20px;background:#eef4ff;color:#6a9ae9;transform:rotate(-8deg)}.tutor-empty-art>span:nth-child(2){transform:rotate(8deg);background:#f2ecff;color:#9a76df;font-size:44px}.tutor-empty-art>span:nth-child(3){transform:rotate(-5deg);background:#eaf8f3;color:#6fb99d}.tutor-empty-art i{position:absolute;top:0;right:25%;color:#bba7ef}.tutor-empty-copy{text-align:center;padding:20px 20px 15px}.tutor-empty-copy h2{font-size:23px;letter-spacing:-.5px}.tutor-empty-copy p{max-width:420px;margin:12px auto;color:#8b99af;line-height:1.7;font-size:14px}.tutor-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px}.tutor-suggestions button{background:white;border:1px solid #dfe6f6;border-radius:20px;color:#6883ac;padding:9px 13px;font-size:12px}
.tutor-practice{padding:22px;background:#eff5ff;border-radius:14px;text-align:center}.tutor-practice h2{font-size:20px;line-height:1.4;letter-spacing:-.3px}.tutor-practice p{color:#8599ba;font-size:12px;margin:8px 0 0}.tutor-options{display:flex;gap:10px;justify-content:center;margin-top:18px;flex-wrap:wrap}.tutor-options button{flex:1;max-width:240px;min-width:90px;padding:13px;border:1px solid #b9cff4;background:white;border-radius:10px;color:#25487c;font-size:16px;overflow-wrap:anywhere}.tutor-options button:hover{background:#e6efff}.tutor-board-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9ba7bb;font-size:11px;margin-top:auto;min-height:34px}.tutor-board-footer .tutor-outline{font-size:11px;flex-shrink:0}.tutor-summary{background:#f1faf6;padding:20px;border-radius:14px}.tutor-summary h2{font-size:19px}.tutor-summary h3{font-size:14px;margin-top:14px}.tutor-summary ul{padding-left:20px;color:#53786d;line-height:1.65;margin-bottom:0}.tutor-drawer{position:absolute;right:0;top:68px;bottom:0;width:min(410px,100%);overflow:auto;padding:24px;background:#fff;box-shadow:-16px 0 80px #32486c22;border-left:1px solid #e3e8f3}.tutor-drawer header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.tutor-drawer h2{font-size:21px}.tutor-drawer ol{padding-left:20px;line-height:2.2;color:#526b92}.tutor-drawer>p{color:#899ab7;line-height:1.6}.tutor-history-row{display:block;width:100%;text-align:left;background:#f7f9ff;border:1px solid #e0e7f6;border-radius:12px;padding:16px;margin-bottom:12px}.tutor-history-row strong,.tutor-history-row span{display:block;overflow-wrap:anywhere}.tutor-history-row span{color:#8b9bb4;font-size:12px;margin-top:7px}.tutor-mobile-tabs{display:none}
.tutor-board{flex:1 0 auto}.tutor-fraction>svg{height:clamp(150px,24vh,300px);width:auto;max-width:48%}
@keyframes tutor-spin{to{transform:rotate(360deg)}}@keyframes tutor-wave{to{transform:scaleY(.4)}}@media(prefers-reduced-motion:reduce){.tutor-wave.live i{animation:none}}
@media(min-width:1848px){.tutor-workspace{margin-left:auto;margin-right:auto}}@media(max-width:1366px){.tutor-workspace{margin:16px;height:calc(100% - 100px)}.tutor-board-side{padding:22px;gap:14px}.tutor-conversation{padding:18px 14px 12px}.tutor-voice-box{padding:9px}.tutor-voice-actions{gap:20px}.tutor-mic{height:54px;width:54px}.tutor-board-head h1{font-size:25px}.tutor-board{min-height:260px}.tutor-fraction-row b{font-size:56px}}
@media(max-width:860px){.tutor-topbar{padding:0 14px;height:60px;gap:8px}.tutor-topbar>div{gap:9px}.tutor-topbar strong{font-size:18px}.tutor-brand{display:none}.tutor-topbar .tutor-outline{font-size:11px;padding:7px 9px;min-height:34px}.tutor-topbar .tutor-outline svg{display:none}.tutor-back{width:34px;height:34px}.tutor-mobile-tabs{display:flex;padding:8px 12px;gap:8px;height:48px;background:#fff}.tutor-mobile-tabs button{flex:1;padding:8px;background:#f2f4fa;color:#7c8daa;border:0;border-radius:9px;font-size:12px}.tutor-mobile-tabs [aria-selected=true]{background:#e9f1ff;color:#3b82f6;font-weight:700}.tutor-workspace{display:block;height:calc(100% - 116px);height:calc(100% - 116px - env(safe-area-inset-bottom,0px));margin:0 8px 8px;border-radius:14px}.tutor-workspace[data-mobile=board] .tutor-conversation,.tutor-workspace[data-mobile=tutor] .tutor-board-side{display:none}.tutor-conversation,.tutor-board-side{height:100%;border:0}.tutor-board-side{padding:20px 15px;gap:16px}.tutor-board-head{gap:10px}.tutor-board-head h1{font-size:24px}.tutor-board-head p{font-size:12px}.tutor-board-head .tutor-outline{font-size:0;padding:8px}.tutor-board-head .tutor-outline svg{font-size:16px}.tutor-stages span{font-size:10px;min-width:70px;padding:9px 5px}.tutor-board{padding:48px 12px 20px;min-height:300px}.tutor-fraction{flex-direction:column;gap:16px}.tutor-fraction>svg{width:80%;max-width:220px}.tutor-fraction-explainer{min-width:160px}.tutor-fraction-row b{font-size:38px;width:48px}.tutor-fraction-explainer hr{width:48px;margin:3px 0}.tutor-fraction-row span{font-size:11px}.tutor-board>h2{font-size:16px}.tutor-board-caption{font-size:11px}.tutor-practice{padding:18px 13px}.tutor-practice h2{font-size:18px}.tutor-options button{font-size:16px;padding:11px;min-width:70px}.tutor-board-footer{align-items:flex-start;font-size:10px}.tutor-visual-items{grid-template-columns:1fr}.tutor-empty-copy{padding:18px 4px}.tutor-empty-copy h2{font-size:21px}.tutor-empty-art{gap:15px}.tutor-empty-art>span{width:65px;height:65px;font-size:24px}.tutor-drawer{top:60px}.tutor-text-compose textarea{font-size:16px}.tutor-person{padding-top:4px}.tutor-messages{min-height:60px}.tutor-cost{font-size:10px}.tutor-conversation{padding:16px 14px}.tutor-voice-box{padding:10px}.tutor-voice-actions{gap:26px}.tutor-mic{width:62px;height:62px}.tutor-grade-label select{font-size:16px}}
@media(max-height:720px) and (min-width:861px){.tutor-workspace{margin:10px;height:calc(100% - 88px)}.tutor-voice-box{padding:8px}.tutor-wave{display:none}.tutor-voice-state{margin:0 0 9px}.tutor-mic{width:48px;height:48px}.tutor-mic svg{width:25px;height:25px}.tutor-voice-actions .tutor-round{width:34px;height:34px}.tutor-shortcuts{margin-bottom:8px}.tutor-messages{padding:12px 1px}.tutor-board-head h1{font-size:24px}.tutor-board-side{padding:18px;gap:12px}.tutor-board{min-height:250px}.tutor-fraction>svg{max-width:220px}.tutor-practice{padding:15px}}

/* Guided lesson: a visible learner action comes before the reference board. */
.tutor-power{padding:9px 11px;border:1px solid #e5dcfb;background:#f7f3ff;border-radius:10px;color:#7b58b9;font-size:12px;font-weight:600;white-space:nowrap}
.tutor-app .tutor-topic{margin:14px 0 0;padding:10px 0 12px;border-radius:0;border-bottom:1px solid #e3e9f3;background:transparent;color:#8a9bb1;font-size:11px;max-height:60px;flex-shrink:0}
.tutor-answer-note{padding:12px 15px;border-left:3px solid #c89866;border-radius:8px;background:#fff9f1;color:#855e39;font-size:13px;line-height:1.5;flex-shrink:0}
.tutor-answer-note[data-outcome=correct]{background:#f0faf5;border-color:#69b692;color:#32765a}
.tutor-answer-note p{margin:4px 0 0;color:inherit}
.tutor-app .tutor-learning-status>.tutor-question-counter{display:block;font-size:12px;white-space:nowrap;color:#6f83a0;margin-left:auto}
.tutor-multiple-label{font-size:11px;letter-spacing:0;font-weight:600;color:#795db2}
.tutor-history-item{position:relative;margin-bottom:12px}
.tutor-history-item .tutor-history-row{padding-right:48px;margin-bottom:0}
.tutor-history-delete{position:absolute;right:10px;top:12px;display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;color:#97a5ba;border-radius:8px}
.tutor-history-delete:hover{background:#fff0ee;color:#b46760}
.tutor-history-delete svg{width:16px;height:16px}
.tutor-delete-confirm{display:flex;flex-wrap:wrap;gap:9px;padding:12px;background:#fff7f5;border:1px solid #f2dcd6;border-radius:9px;font-size:12px;color:#975b51}
.tutor-delete-confirm span{flex:1 1 100%}
.tutor-delete-confirm button{padding:7px 10px;border:1px solid #e7d1ca;border-radius:7px;background:white;color:#975b51}
.tutor-app .tutor-text-compose .tutor-send{width:42px;height:42px;border-radius:12px}
.tutor-app .tutor-text-compose .tutor-send[data-mode=mic]{background:#f3edff;color:#835dcc!important;box-shadow:none}
.tutor-app .tutor-text-compose .tutor-send[data-mode=stop]{background:#fbeeee;color:#b86565!important;box-shadow:none}
@media(max-width:860px){.tutor-topbar{height:auto;min-height:60px;flex-wrap:wrap;padding:10px 14px}.tutor-topbar>div:last-child{margin-left:auto}.tutor-power{padding:7px 8px;font-size:11px}.tutor-workspace{height:calc(100% - 154px - env(safe-area-inset-bottom,0px))}.tutor-app .tutor-learning-status>.tutor-question-counter{font-size:11px}.tutor-answer-note{padding:10px 12px;font-size:12px}}
.tutor-practice .tutor-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:10px}
.tutor-practice .tutor-options button{display:flex;align-items:center;gap:12px;max-width:none;text-align:left;min-height:66px;background:#fff;line-height:1.45;opacity:1}
.tutor-practice .tutor-options.is-words{grid-template-columns:repeat(auto-fit,minmax(min(116px,100%),1fr))}
.tutor-practice .tutor-options.is-words button{min-width:0;min-height:54px;padding:10px;gap:8px}
.tutor-choice-index{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:8px;background:#eef3fb;color:#6887af;font-size:12px;font-weight:700}
.tutor-options button small{display:block;margin-top:4px;font-size:11px}
.tutor-app .tutor-options button.is-selected{background:#e4efff;border-color:#397bd8;box-shadow:0 0 0 1px #397bd8;color:#204f8c}
.tutor-app .tutor-options button.is-correct{background:#eaf8f0;border-color:#62b48c;color:#1d6d48}
.tutor-app .tutor-options button.is-wrong{background:#fff0ef;border-color:#db9c95;color:#994840}
.tutor-app .tutor-options button:disabled{cursor:default;opacity:1}
.tutor-feedback{margin-top:20px;border:1px solid #c5dbec;background:#f0f6fc;padding:16px 18px;border-radius:12px;line-height:1.6;color:#3d587c}
.tutor-feedback[data-outcome=correct]{background:#eef9f3;border-color:#b9dfcc;color:#256b4c}
.tutor-feedback[data-outcome=incorrect],.tutor-feedback[data-outcome=partial]{background:#fff3f1;border-color:#ecd0ca;color:#95554c}
.tutor-feedback p{margin:6px 0 0;color:inherit;font-size:14px}
.tutor-exercise-visual{padding:18px 0 8px}
.tutor-hint{margin-top:18px;padding-top:16px;border-top:1px solid #dce6f3}
.tutor-hint>.tutor-outline{font-size:12px;min-height:38px}
.tutor-app .tutor-hint .tutor-board{margin-top:12px;min-height:0;justify-content:flex-start;padding:18px;background:#fff}
.tutor-app .tutor-practice{background:#fafcff}
.tutor-practice .tutor-answer-actions>.tutor-primary{min-height:44px;font-size:13px;padding:10px 16px}
.tutor-practice button:focus-visible{outline:3px solid #8cb4ed;outline-offset:3px}
@media(max-width:860px){.tutor-practice .tutor-options{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}.tutor-practice .tutor-options button{min-width:0;font-size:15px;padding:12px;gap:8px}.tutor-feedback{padding:14px}.tutor-practice .tutor-answer-actions>.tutor-primary{flex:1 1 100%}}
.tutor-setup-grade{flex-shrink:0;margin-top:16px;padding:12px;border:1px solid #dfe7f5;border-radius:12px;background:#f7faff}
.tutor-setup-grade .tutor-grade-label{display:grid;gap:8px;margin:0;color:#3a5479;font-size:13px;font-weight:600}
.tutor-setup-grade .tutor-grade-label select{min-height:40px}
.tutor-setup-grade>small{display:block;margin-top:8px;color:#8a9bb3;font-size:11px;line-height:1.5}
.tutor-setup-grade.needs-choice{border-color:#d8b174;background:#fffbf3}
.tutor-setup-grade.needs-choice>small{color:#90652e}
.tutor-start-hint{color:#94a3b9;font-size:10px;line-height:1.5}
.tutor-send.is-start{display:flex;width:auto;min-width:142px;gap:7px;padding:0 11px;font-size:12px;font-weight:600}
.tutor-send.is-start svg{width:16px;height:16px}
.tutor-learning-status{display:flex;align-items:center;gap:9px;flex-shrink:0;min-height:32px;color:#677d9d;font-size:12px;line-height:1.4}
.tutor-learning-status>i{width:8px;height:8px;border-radius:50%;background:#9aaecb;flex-shrink:0}
.tutor-learning-status>strong{color:#587396;font-weight:600}
.tutor-learning-status>span{margin-left:auto;color:#93a1b7;font-size:11px;text-align:right}
.tutor-learning-status[data-state=ready]>strong{color:#248966}
.tutor-learning-status[data-state=ready]>i,.tutor-learning-status[data-state=done]>i{background:#2fbb8c}
.tutor-learning-status[data-state=busy]>i{width:14px;height:14px;border:2px solid #d8e4f6;border-top-color:#527fd1;background:transparent;animation:tutor-spin .9s linear infinite}
.tutor-learning-status[data-state=listening]>i,.tutor-learning-status[data-state=speaking]>i{background:#8a60e8}
.tutor-learning-status[data-state=error]>strong{color:#a46b3b}
.tutor-learning-status[data-state=error]>i{background:#d39b65}
.tutor-practice{flex-shrink:0;text-align:left;padding:19px 21px;border:1px solid #cfe0f8;background:linear-gradient(130deg,#f1f7ff,#f9fbff);border-radius:15px}
.tutor-practice-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#6687ba;font-size:10px;font-weight:700;letter-spacing:1.1px}
.tutor-practice-heading small{font-size:11px;letter-spacing:0;font-weight:500}
.tutor-practice h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.tutor-practice>p{color:#8196b4;font-size:12px;line-height:1.55}
.tutor-practice .tutor-options{justify-content:flex-start;margin-top:15px}
.tutor-options button{min-height:44px;font-size:15px}
.tutor-answer-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.tutor-answer-actions .tutor-outline{min-height:38px;padding:7px 11px;gap:6px;font-size:12px;background:#ffffffb8}
.tutor-answer-actions svg{width:16px;height:16px}
.tutor-practice-retry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #dbe5f4;color:#9b764a;font-size:12px}
.tutor-practice-retry button{font-size:12px}
.tutor-stages{flex-wrap:nowrap;overflow-x:auto;flex-shrink:0;scrollbar-width:thin}
.tutor-stages span{flex:1 0 105px;max-width:240px;display:flex;align-items:center;justify-content:center;font-size:11px;line-height:1.4}
.tutor-board-side:has(.tutor-practice) .tutor-board{justify-content:flex-start;min-height:260px}
@media(max-width:860px){
  .tutor-learning-status{align-items:flex-start;font-size:12px}
  .tutor-learning-status>i{margin-top:4px}
  .tutor-learning-status>span{display:none}
  .tutor-practice{padding:17px 14px}
  .tutor-practice h2{font-size:19px}
  .tutor-answer-actions{gap:8px}
  .tutor-answer-actions .tutor-outline{flex:1;min-height:44px;font-size:12px;padding:8px}
  .tutor-options button{flex:1 1 100px;min-height:46px;font-size:16px}
  .tutor-setup-grade{margin-top:12px}
  .tutor-start-hint{max-width:80px}
}
@media(prefers-reduced-motion:reduce){.tutor-learning-status[data-state=busy]>i{animation:none}}

/* IVA learning studio — adapted from the user's glass/robot sketch.
   All state, choices, prices and progress still come from the existing API. */
dialog.tutor-app{--tutor-ink:#252840;--tutor-muted:#858ba5;--tutor-line:#e3e5f2;--tutor-gradient:linear-gradient(135deg,#8b6bff,#526ef4);color:var(--tutor-ink);background:radial-gradient(ellipse at 15% 12%,#e9e5ff 0,transparent 45%),radial-gradient(ellipse at 95% 92%,#e5edff 0,transparent 48%),#f4f5fb}
.tutor-app h1,.tutor-app h2,.tutor-app h3{font-family:inherit}
.tutor-app .tutor-surface{display:flex;flex-direction:column;min-height:0}
.tutor-app .tutor-topbar{flex-shrink:0;background:#ffffffba;backdrop-filter:blur(16px);border-color:#e4e6f1;height:66px;padding:0 24px}
.tutor-app .tutor-topbar strong{font-size:20px;letter-spacing:-.5px}
.tutor-app .tutor-topbar .tutor-outline{min-height:38px;border-radius:12px;font-size:12px;background:#ffffffb8}
.tutor-app .tutor-power{border-radius:12px;background:#f2edff;border-color:#e5ddfc;color:#7050bd}
.tutor-app .tutor-workspace{flex:1;min-height:0;height:auto;margin:14px;max-width:none;grid-template-columns:360px minmax(0,1fr);background:#ffffffba;border:1px solid #fffffff0;border-radius:28px;box-shadow:0 24px 70px -32px #42457c44;backdrop-filter:blur(18px)}
.tutor-app .tutor-conversation{padding:24px 18px 16px;background:linear-gradient(165deg,#ffffffdb,#fbfaffdb);border-right:1px solid var(--tutor-line)}
.tutor-app .tutor-person{gap:12px;padding:0 4px}
.tutor-app .tutor-avatar{width:44px;height:44px;background:var(--tutor-gradient);font-size:15px;box-shadow:0 8px 20px -10px #7055db88}
.tutor-app .tutor-person strong{font-size:15px;font-weight:750}
.tutor-app .tutor-person small{font-size:12px;color:#848ba2;margin-top:5px}
.tutor-app .tutor-topic{margin:20px 4px 0;padding:0 0 14px;color:#8089a5;border-color:#e6e7f3;font-size:11px;line-height:1.6}
.tutor-app .tutor-messages{padding:18px 2px;scrollbar-color:#d9d9ed transparent}
.tutor-app .tutor-message{font-size:13px;line-height:1.65;margin-bottom:16px}
.tutor-app .tutor-message.mine{padding:12px 14px;background:#eaf1ff;border-radius:18px 18px 6px 18px;color:#35476d;margin-left:36px}
.tutor-app .tutor-message.iva{gap:9px}
.tutor-app .tutor-message.iva>div{border:1px solid #e9e1fa;background:linear-gradient(170deg,#f6f2ff,#f1edff);padding:12px 14px;border-radius:6px 18px 18px 18px;color:#373650;box-shadow:0 8px 18px -15px #7055db66}
.tutor-app .tutor-mini-avatar{background:var(--tutor-gradient);margin-top:2px}
.tutor-app .tutor-replay{display:grid;place-items:center;width:30px;height:30px;padding:6px;border-radius:50%;background:#ffffffd9;color:#795bcc!important;box-shadow:0 2px 6px -2px #7055db44}
.tutor-app .tutor-replay svg{width:15px;height:15px}
.tutor-app .tutor-shortcuts{gap:6px;margin-bottom:10px}
.tutor-app .tutor-shortcuts button{flex:1 1 auto;min-height:34px;padding:7px 8px;border-radius:999px;border-color:#dedff0;color:#626585;font-size:10px;background:#ffffffd9;transition:background .2s,border-color .2s}
.tutor-app .tutor-shortcuts button:hover{border-color:#c2b5f6;background:#f7f3ff;color:#7150c5}
.tutor-app .tutor-text-compose{border-radius:20px;border-color:#dedff0;padding:12px 14px 10px;margin-top:0;box-shadow:0 12px 26px -20px #40407a55}
.tutor-app .tutor-text-compose:focus-within{border-color:#b9a8ef;box-shadow:0 0 0 3px #8b6bff0d,0 12px 26px -18px #60509e33}
.tutor-app .tutor-text-compose textarea{color:#35374f;font-size:14px}
.tutor-app .tutor-input-hint{font-size:9px;gap:4px;color:#959ab2}
.tutor-app .tutor-text-compose .tutor-send,.tutor-app .tutor-text-compose .tutor-send[data-mode=mic]{width:40px;height:40px;border-radius:50%;color:#fff!important;background:var(--tutor-gradient);box-shadow:0 8px 18px -9px #7757d599}
.tutor-app .tutor-text-compose .tutor-send[data-mode=send]{background:#6655c5}
.tutor-app .tutor-text-compose .tutor-send[data-mode=stop]{background:#f8e7eb;color:#b04e66!important;box-shadow:none}
.tutor-app .tutor-text-compose .tutor-send:disabled{background:#eceaf5;color:#aaa3c6!important;box-shadow:none}
.tutor-app .tutor-cost{font-size:10px;color:#9197ad;line-height:1.55;margin-top:10px}
.tutor-app .tutor-board-side{position:relative;isolation:isolate;padding:26px 34px 18px;gap:16px;background:linear-gradient(145deg,#ffffff91,#fafbff9c);scrollbar-width:thin;scrollbar-color:#d9d9ed transparent}
.tutor-app .tutor-board-side::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#d5d7eb .9px,transparent 1px);background-size:22px 22px;opacity:.45;mask-image:linear-gradient(#000,transparent 80%);pointer-events:none}
.tutor-app .tutor-board-head{align-items:flex-start;flex-shrink:0;gap:20px}
.tutor-app .tutor-board-head>div:first-child{min-width:0}
.tutor-app .tutor-board-head small{font-size:10px;letter-spacing:1.6px;color:#8a90aa}
.tutor-app .tutor-board-head h1{font-size:34px;font-weight:800;letter-spacing:-1px;line-height:1.2;margin:7px 0 0}
.tutor-app .tutor-board-head p{margin-top:10px;color:#858ba5}
.tutor-app .tutor-board-meta{display:flex;align-items:flex-end;flex-direction:column;gap:10px;max-width:45%;flex-shrink:0}
.tutor-app .tutor-learning-status{padding:8px 12px;border-radius:999px;background:#f1ecff;min-height:32px;font-size:12px;gap:7px;color:#7555c5}
.tutor-app .tutor-learning-status>strong{color:inherit;font-weight:700}
.tutor-app .tutor-learning-status>i{background:#8b6bff;width:7px;height:7px;margin:0}
.tutor-app .tutor-learning-status[data-state=error]{background:#fff4e9;color:#986632}
.tutor-app .tutor-learning-status[data-state=error]>i{background:#c28b55}
.tutor-app .tutor-learning-status[data-state=busy]>i{width:12px;height:12px;background:transparent;border-color:#d7ccfa;border-top-color:#8b6bff}
.tutor-app .tutor-question-counter{display:block;color:#858ba5;font-size:12px;font-weight:600;text-align:right;line-height:1.4}
.tutor-app .tutor-progress{height:6px;border-radius:99px;background:#e8e9f3;flex-shrink:0;overflow:hidden}
.tutor-app .tutor-progress>span{display:block;height:100%;border-radius:inherit;background:var(--tutor-gradient)}
.tutor-app .tutor-stage{position:relative;flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;gap:18px;width:100%;max-width:860px;margin:0 auto;min-width:0}
.tutor-app .tutor-answer-note{display:grid;grid-template-columns:156px minmax(0,1fr);align-items:center;gap:16px;position:relative;isolation:isolate;padding:12px 18px 12px 12px;border:1px solid #e2dbfa;border-radius:24px;background:linear-gradient(135deg,#f5f2ff,#eef2ff);color:#624d9d;box-shadow:0 20px 40px -32px #7450c555;min-width:0}
.tutor-app .tutor-answer-note[data-outcome=correct]{background:linear-gradient(135deg,#f0fdf6,#eafaf2);border-color:#c9efd9;color:#247343;box-shadow:0 20px 40px -30px #29955b44}
.tutor-app .tutor-verdict-copy{position:relative;border:1px solid #e7e1f5;border-radius:19px;background:#fffffff0;padding:16px 18px;min-width:0;z-index:1}
.tutor-app .tutor-answer-note[data-outcome=correct] .tutor-verdict-copy{border-color:#d7f0e0}
.tutor-app .tutor-verdict-copy::before{content:"";position:absolute;left:-8px;top:28px;width:14px;height:14px;background:#fff;border:inherit;border-right:0;border-top:0;transform:rotate(45deg)}
.tutor-app .tutor-verdict-copy strong{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800}
.tutor-app .tutor-verdict-copy strong>span{width:20px;height:20px;border-radius:50%;background:#8871cf;color:#fff;display:grid;place-items:center;font-size:12px;flex-shrink:0}
.tutor-app .tutor-answer-note[data-outcome=correct] strong>span{background:#29a065}
.tutor-app .tutor-verdict-copy p{margin-top:6px;font-size:13px;line-height:1.65;color:#51516b;overflow-wrap:anywhere}
.tutor-app .tutor-answer-note[data-outcome=correct] .tutor-verdict-copy p{color:#345346}
.tutor-app .tutor-robot{width:156px;height:144px;justify-self:center;pointer-events:none}
.tutor-app .tutor-robot>svg{width:100%;height:100%;overflow:visible}
.tutor-app .tutor-robot-body{animation:tutorRobotBob 2.8s ease-in-out infinite;transform-origin:75px 100px}
.tutor-app .tutor-robot-sign{transform-box:fill-box;transform-origin:50% 90%;animation:tutorRobotSign 3s ease-in-out infinite}
.tutor-app .tutor-robot-arm{transform-origin:100px 86px;animation:tutorRobotWave 2.8s ease-in-out infinite}
.tutor-app .tutor-robot-eyes{transform-box:fill-box;transform-origin:center;animation:tutorRobotBlink 5s infinite}
.tutor-app .tutor-celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}
.tutor-app .tutor-celebration i{position:absolute;left:var(--x);top:-16px;width:5px;height:9px;border-radius:2px;background:var(--confetti);opacity:0;animation:tutorCelebrate 1.8s var(--delay) ease-out forwards}
@keyframes tutorRobotBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes tutorRobotSign{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes tutorRobotWave{0%,100%{transform:rotate(0)}50%{transform:rotate(-12deg)}}
@keyframes tutorRobotBlink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.12)}}
@keyframes tutorCelebrate{0%{opacity:0;transform:translateY(0)}15%{opacity:.8}100%{opacity:0;transform:translate(var(--drift),190px) rotate(var(--spin))}}
.tutor-app .tutor-practice{padding:22px 24px 24px;border:1px solid var(--tutor-line);background:#fffffff2;border-radius:24px;box-shadow:0 22px 44px -34px #44447a66}
.tutor-app .tutor-practice-heading{font-size:10px;color:#7d60c4;letter-spacing:1.4px;margin-bottom:10px}
.tutor-app .tutor-practice h2{font-size:21px;font-weight:750;line-height:1.45;letter-spacing:-.35px}
.tutor-app .tutor-practice>p{font-size:12px;color:#878fa8;margin-top:6px}
.tutor-app .tutor-lesson-art{margin:16px 0 0;border-radius:18px;background:radial-gradient(ellipse at center,#eeedff,#f7f8ff)}
.tutor-app .tutor-lesson-art svg{height:150px}
.tutor-app .tutor-exercise-visual{padding:16px 0 0}
.tutor-app .tutor-fraction>svg{height:190px;width:auto;max-width:75%}
.tutor-app .tutor-practice .tutor-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.tutor-app .tutor-practice .tutor-options button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;min-height:94px;padding:14px;border:1px solid #e1e3f1;border-radius:16px;background:#fff;color:#383953;font-size:13px;font-weight:600;line-height:1.5;transition:transform .2s,box-shadow .2s,border-color .2s,background .2s}
.tutor-app .tutor-practice .tutor-options button:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 18px 26px -21px #7b57d2a0;border-color:#c7baf0;background:#fcfaff}
.tutor-app .tutor-choice-index{flex:0 0 24px;min-width:24px;height:24px;margin:0;border-radius:8px;background:#f0edf9;color:#7a5ebf;font-size:11px;font-weight:800}
.tutor-app .tutor-practice .tutor-options button.is-selected{border-color:#a38bdf;background:#f5f0ff;box-shadow:0 0 0 1px #a38bdf}
.tutor-app .tutor-options button.is-selected .tutor-choice-index{background:#8968d4;color:#fff}
.tutor-app .tutor-practice .tutor-options.is-words{grid-template-columns:repeat(auto-fit,minmax(min(116px,100%),1fr))}
.tutor-app .tutor-practice .tutor-options.is-words button{flex-direction:row;align-items:center;min-height:54px;padding:12px;gap:9px;font-size:14px}
.tutor-app .tutor-hint{border-color:#ece9f6}
.tutor-app .tutor-hint>.tutor-outline{border-radius:999px;font-size:11px;color:#7b6b9e!important}
.tutor-app .tutor-board-footer{position:sticky;bottom:-18px;z-index:3;margin-top:0;min-height:52px;padding-top:6px;padding-bottom:6px;flex-shrink:0;color:#9399af;font-size:11px;align-items:center;background:linear-gradient(180deg,#fcfcffde,#fcfcfff5 30%);box-shadow:0 -10px 20px -12px #f9faff}
.tutor-app .tutor-board-footer .tutor-outline{border-radius:14px;min-height:40px;font-size:11px;border-color:#dedff0;color:#6c6986!important}
.tutor-app .tutor-welcome-board{flex:none;min-height:440px;border-radius:24px;background:#ffffffc9;border:1px solid var(--tutor-line);box-shadow:0 24px 48px -38px #44447a66;padding:42px 24px 24px;align-items:center}
.tutor-app .tutor-welcome-board .tutor-robot{width:190px;height:172px}
.tutor-app .tutor-empty-copy{padding-top:10px}
.tutor-app .tutor-empty-copy p{color:#848ba4}
.tutor-app .tutor-primary{border-radius:14px;background:var(--tutor-gradient);box-shadow:0 8px 20px -12px #7855d099}
.tutor-app .tutor-suggestions{margin-top:18px}
.tutor-app .tutor-suggestions button{font-size:11px;border-color:#e2dff1;color:#7a6e99}
.tutor-app .tutor-setup-grade{background:#f8f6ff;border-color:#e6e0f5;border-radius:16px}
.tutor-app .tutor-setup-grade .tutor-grade-label{color:#635c7f}
.tutor-app .tutor-drawer{z-index:10;top:66px;border-radius:24px 0 0 24px;box-shadow:-20px 0 80px #4b3a7b22}
@media(min-width:1800px){.tutor-app .tutor-workspace{grid-template-columns:390px minmax(0,1fr);margin:18px 24px}}
@media(max-width:1366px) and (min-width:861px){.tutor-app .tutor-workspace{grid-template-columns:340px minmax(0,1fr);margin:12px}.tutor-app .tutor-board-side{padding:22px 26px 16px;gap:14px}.tutor-app .tutor-board-head h1{font-size:28px}.tutor-app .tutor-conversation{padding:20px 16px 14px}.tutor-app .tutor-stage{gap:14px}.tutor-app .tutor-answer-note{grid-template-columns:112px minmax(0,1fr);gap:10px;padding:10px 14px 10px 8px}.tutor-app .tutor-answer-note .tutor-robot{width:112px;height:106px}.tutor-app .tutor-verdict-copy{padding:12px 15px}.tutor-app .tutor-verdict-copy p{font-size:12px}.tutor-app .tutor-practice{padding:20px}.tutor-app .tutor-practice h2{font-size:20px}.tutor-app .tutor-lesson-art svg{height:132px}.tutor-app .tutor-fraction>svg{height:160px}}
@media(max-width:1100px) and (min-width:861px){.tutor-app .tutor-workspace{grid-template-columns:310px minmax(0,1fr)}.tutor-app .tutor-board-side{padding:20px}.tutor-app .tutor-practice .tutor-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){
  .tutor-app .tutor-topbar{height:auto;min-height:60px;padding:10px 14px;flex-wrap:wrap}
  .tutor-app .tutor-topbar strong{font-size:18px}.tutor-app .tutor-topbar .tutor-outline{font-size:11px;padding:7px 9px;min-height:34px}
  .tutor-app .tutor-mobile-tabs{flex-shrink:0;background:#ffffffb0;height:48px}
  .tutor-app .tutor-mobile-tabs button{border-radius:12px;background:#efedf8;color:#857e9e}
  .tutor-app .tutor-mobile-tabs [aria-selected=true]{background:#e8e0fa;color:#7652c1}
  .tutor-app .tutor-workspace{display:block;margin:0 8px 8px;height:auto;flex:1;min-height:0;border-radius:22px}
  .tutor-app .tutor-conversation{height:100%;padding:18px 14px 14px}
  .tutor-app .tutor-board-side{height:100%;padding:22px 18px 16px;gap:14px}
  .tutor-app .tutor-board-head h1{font-size:26px;letter-spacing:-.6px}
  .tutor-app .tutor-board-head{gap:10px}.tutor-app .tutor-board-head small{font-size:9px}
  .tutor-app .tutor-board-meta{gap:8px;max-width:46%}.tutor-app .tutor-learning-status{padding:7px 9px;font-size:10px;min-height:30px;gap:5px}
  .tutor-app .tutor-question-counter{font-size:10px}
  .tutor-app .tutor-stage{gap:14px;justify-content:center}
  .tutor-app .tutor-answer-note{grid-template-columns:90px minmax(0,1fr);padding:10px 12px 10px 5px;gap:4px;border-radius:20px}
  .tutor-app .tutor-answer-note .tutor-robot{width:90px;height:90px}
  .tutor-app .tutor-verdict-copy{padding:12px;border-radius:15px}
  .tutor-app .tutor-verdict-copy strong{font-size:12px;gap:5px}.tutor-app .tutor-verdict-copy p{font-size:12px;line-height:1.6}
  .tutor-app .tutor-practice{border-radius:20px;padding:18px 16px}
  .tutor-app .tutor-practice h2{font-size:19px}.tutor-app .tutor-practice>p{font-size:12px}
  .tutor-app .tutor-practice .tutor-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tutor-app .tutor-practice .tutor-options button{min-height:90px;padding:12px;font-size:14px}
  .tutor-app .tutor-practice .tutor-options.is-words{grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr))}
  .tutor-app .tutor-practice .tutor-options.is-words button{min-height:54px}
  .tutor-app .tutor-lesson-art svg{height:126px}.tutor-app .tutor-fraction>svg{height:155px;max-width:85%}
  .tutor-app .tutor-board-footer{bottom:-16px;align-items:center;font-size:10px;gap:10px}.tutor-app .tutor-board-footer>span{line-height:1.6}
  .tutor-app .tutor-board-footer .tutor-outline{padding:8px 10px;min-height:40px;font-size:10px}
  .tutor-app .tutor-welcome-board{min-height:395px;padding:40px 14px 20px}.tutor-app .tutor-welcome-board .tutor-robot{width:158px;height:145px}
  .tutor-app .tutor-welcome-board .tutor-empty-copy{padding:10px 0 0}.tutor-app .tutor-empty-copy h2{font-size:21px}.tutor-app .tutor-empty-copy p{font-size:12px;margin:10px auto}
  .tutor-app .tutor-text-compose textarea,.tutor-app .tutor-text-compose textarea:focus,.tutor-app .tutor-text-compose textarea:focus-visible{font-size:16px}
  .tutor-app .tutor-text-compose .tutor-send{width:44px;height:44px}
  .tutor-app .tutor-shortcuts button{min-height:38px;font-size:11px;padding:8px 10px}
  .tutor-app .tutor-drawer{top:0;z-index:100;border-radius:22px 0 0 22px}
}
@media(max-width:390px){.tutor-app .tutor-board-side{padding:18px 12px 14px}.tutor-app .tutor-board-head h1{font-size:24px}.tutor-app .tutor-board-meta{max-width:44%}.tutor-app .tutor-answer-note{grid-template-columns:68px minmax(0,1fr);padding-left:2px}.tutor-app .tutor-answer-note .tutor-robot{width:72px;height:80px}.tutor-app .tutor-practice{padding:17px 13px}.tutor-app .tutor-practice h2{font-size:18px}}
@media(max-height:720px) and (min-width:861px){.tutor-app .tutor-board-side{padding:18px 22px 14px;gap:12px}.tutor-app .tutor-stage{gap:12px}.tutor-app .tutor-lesson-art svg{height:110px}.tutor-app .tutor-practice .tutor-options button{min-height:82px}.tutor-app .tutor-board-head h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.tutor-app .tutor-robot *{animation:none!important}.tutor-app .tutor-celebration{display:none}.tutor-app .tutor-practice .tutor-options button,.tutor-app .tutor-shortcuts button{transition:none}.tutor-app .tutor-practice .tutor-options button:hover:not(:disabled){transform:none}}
