
:root{--ink:#15254a;--muted:#65718b;--bg:#f2f6ff;--blue:#355ce7;--violet:#8160db;--green:#159b83;--gold:#fab94c;--line:#dce4f5;--white:#fff;--shadow:0 20px 55px rgba(27,48,111,.095)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(135deg,#ecf7ff 0%,#f8f5ff 70%,#fff8eb 100%);color:var(--ink);font-family:ui-rounded,'Avenir Next',Nunito,'Trebuchet MS',system-ui,sans-serif;min-height:100vh}button,input,select{font:inherit}button{touch-action:manipulation;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffbe56;outline-offset:3px}button:disabled{opacity:.43;cursor:not-allowed}.shell{max-width:1210px;margin:0 auto;padding:20px 22px 42px}.top{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:25px}.brand{display:flex;align-items:center;gap:12px}.logo{width:51px;height:51px;border-radius:17px;background:linear-gradient(140deg,#395be9,#8362df);color:white;display:grid;place-items:center;font-weight:1000;font-size:28px;transform:rotate(-4deg);box-shadow:0 8px 22px #355ce735}.brand h1{font-size:27px;margin:0;letter-spacing:-1.4px;font-weight:950}.brand small{font-size:12px;letter-spacing:1.25px;font-weight:800;color:#62759a}.profile{display:flex;gap:9px;align-items:center;background:#ffffffcf;border:1px solid #e5ebf7;border-radius:99px;padding:6px 8px 6px 14px;box-shadow:0 6px 24px #172e6710}.profile label{font-size:12px;color:var(--muted);font-weight:800}.profile select{min-width:100px;max-width:180px;border:none;background:transparent;color:var(--ink);font-weight:800;padding:7px}.profile button{border:none;background:#ebeffd;color:#3854af;padding:9px 13px;border-radius:99px;font-weight:900}.layout{display:grid;grid-template-columns:292px minmax(0,1fr);gap:22px}.side,.play{background:#fff;border:1px solid #edf0f9;border-radius:28px;box-shadow:var(--shadow)}.side{padding:24px;align-self:start}.side h2{font-size:16px;margin:0 0 15px}.caption{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;font-weight:900;color:var(--muted);margin-bottom:13px}.phase{display:flex;align-items:center;gap:11px;cursor:pointer;border:2px solid transparent;background:#f7f9fe;padding:12px 10px;border-radius:17px;width:100%;text-align:left;color:#5a6681;margin-bottom:9px}.phase.active{background:#f0f2ff;border-color:#8fa5fd;color:var(--ink)}.phase b{display:block;font-size:14px}.phase span.detail{display:block;font-size:11px;line-height:1.4;margin-top:3px;font-weight:500}.phase .ico{width:41px;height:41px;display:grid;place-items:center;border-radius:13px;font-size:23px;background:white;flex-shrink:0}.progressCard{border-top:1px solid var(--line);margin-top:19px;padding-top:21px}.statRow{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:10px}.statRow strong{font-size:18px}.track{height:9px;border-radius:50px;background:#e9eefa;overflow:hidden}.fill{height:100%;background:linear-gradient(90deg,#37c4a4,#4c78ec);width:0;border-radius:50px;transition:width .3s}.families{margin-top:16px}.family{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin:8px 0}.family em{font-style:normal;white-space:nowrap;width:45px}.familybar{height:7px;flex:1;background:#edf1fa;border-radius:9px;overflow:hidden}.familybar i{height:100%;display:block;background:#91a6f8;border-radius:9px}.focusItem{font-size:12px;color:#4d5d84;background:#f4f7ff;margin:7px 0;padding:9px;border-radius:11px;font-weight:800}.note{font-size:12px;line-height:1.65;color:#64728c;background:#f5f8fe;padding:12px;border-radius:15px;margin-top:20px}.play{min-height:700px;overflow:hidden;position:relative}.hero{padding:28px 33px 20px;background:linear-gradient(112deg,#193875,#445bba 60%,#7865be);color:white;position:relative;overflow:hidden}.hero:before{content:'✦';position:absolute;font-size:180px;color:#ffffff12;right:6%;top:-94px}.hero .overline{color:#c5d9ff;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:900}.hero h2{font-size:29px;letter-spacing:-.8px;margin:6px 0;font-weight:950}.hero p{margin:0;color:#e0e8ff;font-size:14px;line-height:1.5;max-width:570px}.counter{position:absolute;top:25px;right:29px;font-size:12px;background:#ffffff2b;border:1px solid #ffffff2d;padding:8px 11px;border-radius:100px;font-weight:800}.inner{padding:27px 32px 35px}.statusrow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:17px}.pill{display:inline-flex;align-items:center;gap:7px;border-radius:99px;background:#edf4ff;color:#4460aa;font-size:12px;font-weight:850;padding:8px 13px}.smallbtn{background:#f2f5ff;color:#4260ac;border:1px solid #dfe7f9;border-radius:12px;padding:9px 13px;font-size:13px;font-weight:900}.prompt{text-align:center;background:linear-gradient(140deg,#f7faff,#f2f5ff);border:1px solid #e6ebfa;border-radius:24px;padding:20px 18px;margin:0 0 22px}.prompt .eyebrow{color:#63719a;font-size:11px;font-weight:900;letter-spacing:1.8px;text-transform:uppercase}.prompt h3{font-size:24px;margin:5px 0 8px;letter-spacing:-.4px}.prompt p{color:#63718a;font-size:13px;margin:5px}.speaker{background:#375ddd;color:#fff;border:0;display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:14px 19px;border-radius:16px;box-shadow:0 8px 18px #375ddd3a;font-weight:950;margin:8px 0}.speaker b{font-size:22px}.answerSlots{display:flex;justify-content:center;gap:10px;margin:24px auto}.slot{width:84px;height:102px;background:#fff;border:3px dashed #9bb4ef;border-radius:18px;display:grid;place-items:center;font-size:67px;font-weight:950;color:#263979}.slot.filled{border:3px solid #5e79e8;box-shadow:0 8px 20px #2c4aaf12}.tiles{max-width:560px;display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin:0 auto 20px}.tile{aspect-ratio:1/1;background:white;color:#253b76;font-size:37px;font-weight:900;border:2px solid #e0e7f8;border-radius:17px;box-shadow:0 5px 0 #dce4f4;transition:transform .08s}.tile:active{transform:translateY(3px);box-shadow:0 1px 0 #dce4f4}.actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin:21px auto 0}.primary{background:#2756de;border:0;color:white;font-weight:950;padding:14px 23px;border-radius:15px;box-shadow:0 7px 18px #355ce732}.secondary{background:#f1f5ff;border:1px solid #dce6f8;color:#3e5ba8;font-weight:900;padding:13px 19px;border-radius:15px}.quiet{border:0;background:transparent;color:#687999;padding:10px;font-size:12px;font-weight:900}.showNumber{font-size:clamp(100px,17vw,177px);font-weight:1000;letter-spacing:-8px;line-height:1.15;color:#2542a5;text-align:center;margin:14px 0 22px}.micbtn{background:#e3f9f1;border:3px solid #52cda8;color:#106b5a;min-width:170px;min-height:70px;border-radius:23px;font-size:18px;font-weight:950;display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto}.micbtn.listening{animation:throb 1s infinite alternate;background:#d9fff2}@keyframes throb{from{box-shadow:0 0 0 3px #66d8ae48}to{box-shadow:0 0 0 15px #66d8ae00}}.transcript{text-align:center;background:#f0fff8;color:#146d58;padding:13px;border-radius:14px;margin:15px auto;max-width:490px;font-size:15px}.writeGrid{display:flex;justify-content:center;gap:11px;flex-wrap:nowrap;margin:14px auto;max-width:770px}.writeBox{min-width:0;flex:1;max-width:220px;background:#fff;border:3px solid #ffad72;border-radius:13px;overflow:hidden;position:relative}.writeBox canvas{display:block;width:100%;height:205px;touch-action:none;cursor:crosshair;position:relative;z-index:2}.rule{position:absolute;left:0;right:0;height:1px;background:#a9b6dc;pointer-events:none}.rule.top{top:24%}.rule.middle{top:51%;background:repeating-linear-gradient(90deg,#76bcef 0,#76bcef 10px,transparent 10px,transparent 16px);height:2px}.rule.base{top:79%;background:#8279d8;height:2px}.rule.vertical{left:50%;right:auto;top:0;bottom:0;width:2px;height:auto;background:repeating-linear-gradient(180deg,#b8c2de 0,#b8c2de 7px,transparent 7px,transparent 14px)}.writeLabel{text-align:center;font-size:13px;font-weight:950;color:#d06d32;padding:7px;background:#fff9f1;border-top:1px solid #ffddc5}.feedback{border-radius:17px;padding:15px 17px;font-size:15px;margin:16px 0 3px;text-align:center}.feedback.good{background:#e5fbef;border:1px solid #8addb4;color:#137454}.feedback.bad{background:#fff2ec;border:1px solid #fac9a9;color:#99481f}.feedback.info{background:#eff4ff;border:1px solid #bcd0fb;color:#3c57a3}.feedback strong{font-size:18px}.feedback small{display:block;margin-top:6px;line-height:1.45}.feedback button{margin-top:12px}.checkpanel{background:#fff8e9;border:1px solid #f5dca1;border-radius:18px;padding:17px;margin-top:16px;text-align:center}.checkpanel strong{display:block;font-size:19px;margin-bottom:9px}.checkpanel p{font-size:13px;color:#6e5d3b}.startCard{text-align:center;padding:20px 16px 25px}.startIcon{font-size:70px}.startCard h3{font-size:30px;margin:4px}.startCard p{max-width:540px;margin:10px auto 21px;font-size:15px;color:#64718c;line-height:1.7}.modegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px auto;max-width:650px}.mode{padding:20px 11px;border-radius:19px;background:#f7f9ff;border:1px solid #e5eaf8;font-size:32px}.mode b{display:block;font-size:13px;margin-top:8px}.streak{display:inline-block;font-weight:950;font-size:14px;color:#dc7a30}.footerline{font-size:12px;color:#8791a8;text-align:center;margin-top:26px;padding:15px 20px}.hidden{display:none!important}.badgeStar{display:inline-block;background:#fff2c9;padding:4px 9px;border-radius:50px;color:#9e6d19;font-size:12px;font-weight:950}.tiny{font-size:11px;color:#72809e;text-align:center;margin-top:13px;line-height:1.5}.inputline{display:flex;justify-content:center;gap:8px;margin:16px auto}.inputline input{border:2px solid #d6e0f6;border-radius:12px;padding:11px;font-weight:850;max-width:240px}.help{background:#fffaf0;padding:13px;border-radius:14px;font-size:12px;color:#85612b;margin-top:14px}.menuBtn{border:0;background:#fff3;border-radius:99px;color:white;padding:6px 13px;font-weight:850;margin-top:12px}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti span{position:absolute;top:-25px;font-size:20px;animation:fall 1.2s ease-in forwards}@keyframes fall{to{transform:translateY(580px) rotate(360deg);opacity:0}}@media(max-width:830px){.layout{grid-template-columns:1fr}.side{order:2;display:block}.play{order:1;min-height:590px}.phaseList{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.phase{margin:0;display:block;text-align:center;padding:10px 5px}.phase .ico{margin:auto auto 8px}.phase .detail{display:none!important}.hero{padding:25px 20px 20px}.inner{padding:20px}.counter{top:15px;right:15px}.hero h2{font-size:25px;margin-right:80px}}@media(max-width:480px){.shell{padding:11px 10px 24px}.top{flex-wrap:wrap;margin:5px 4px 16px}.brand h1{font-size:23px}.brand small{font-size:9px}.profile{width:100%;justify-content:space-between}.side,.play{border-radius:20px}.prompt{padding:17px 11px}.prompt h3{font-size:20px}.tile{font-size:31px;border-radius:13px}.tiles{gap:7px}.slot{width:64px;height:82px;font-size:48px;border-radius:12px}.writeBox canvas{height:168px}.modegrid{gap:6px}.mode{font-size:26px;padding:15px 6px}.mode b{font-size:11px}.counter{position:static;display:inline-block;margin-top:8px}.showNumber{font-size:96px}.hero{padding:22px 18px}.hero h2{margin-right:0}}

:root{--player-accent:#ed4b59;--player-soft:#fff0f2}
.logo{background:linear-gradient(135deg,var(--player-accent),#5864be)}
.player-dot{width:20px;height:20px;border-radius:50%;background:var(--player-accent);box-shadow:0 0 0 4px var(--player-soft);display:inline-block;flex-shrink:0}
.profile{border:2px solid var(--player-accent)}
.topactions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.navbtn{background:white;border:1px solid #dce4f5;color:#334a8b;border-radius:14px;padding:12px 15px;font-weight:900}
.navbtn.active{background:#e9eeff;border-color:#89a2f3}
.profile button{white-space:nowrap}
.profile select{min-width:90px;max-width:130px}
.primary{background:var(--player-accent);color:var(--player-button-ink,#fff);box-shadow:0 7px 18px #25365d24}
.tile:focus-visible,.mode:focus-visible{outline:3px solid var(--player-accent)}
.player-ribbon{border-radius:14px;background:var(--player-soft);padding:11px 13px;color:var(--ink);font-weight:850;font-size:13px;display:flex;gap:10px;align-items:center;margin-bottom:18px;border:1px solid #e8ecf3}
.profile-list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:12px auto 3px}
.profile-chip{border:2px solid #e3eafa;border-radius:16px;padding:10px 12px;background:#fff;display:flex;gap:9px;align-items:center;font-weight:900}
.profile-chip.selected{border-color:var(--player-accent);background:var(--player-soft)}
.profile-chip small{display:block;color:#7c88a1;font-size:10px;font-weight:700}
.dashboard{display:flex;flex-direction:column;gap:22px}
.dashboard h3{font-size:23px;margin:0 0 6px}
.dashboard h4{margin:0 0 10px;font-size:16px}
.dashboard p{color:#64718b;font-size:13px;line-height:1.5;margin:4px 0 12px}
.dash-nav{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;align-items:center}
.dash-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.dash-card{border:1px solid #e2e9f7;border-radius:18px;background:#f9fbff;padding:17px 15px}
.dash-card .big{font-size:30px;font-weight:950;color:#254588;line-height:1.1}
.dash-card .small{font-size:11px;font-weight:850;color:#6f7e99;margin-top:8px}
.dash-panel{border:1px solid #e5eafa;border-radius:19px;padding:19px;background:#fff}
.dash-panel.accent{background:#f8faff}
.filter-row{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 12px}
.filter-chip{border:1px solid #dbe3f4;color:#465d95;background:white;border-radius:99px;padding:8px 12px;font-size:12px;font-weight:850}
.filter-chip.selected{background:#324fab;color:#fff;border-color:#324fab}
.struggle-table{width:100%;border-collapse:collapse;font-size:12px}
.struggle-table th,.struggle-table td{text-align:left;border-bottom:1px solid #e9edf7;padding:10px 7px;vertical-align:middle}
.struggle-table th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#7584a0}
.struggle-table td strong{font-size:17px}
.struggle-table tr:last-child td{border-bottom:0}
.struggle-table button{background:#ecf1ff;border:1px solid #d5dff6;color:#3152a2;font-size:11px;border-radius:10px;padding:8px 10px;font-weight:900}
.status-tag{display:inline-flex;padding:5px 8px;border-radius:10px;font-weight:850;font-size:10px}
.status-tag.needs{background:#fff0e6;color:#a14e27}
.status-tag.careful{background:#fff7da;color:#865d10}
.status-tag.strong{background:#e7f9ec;color:#226d47}
.status-tag.new{background:#e9effe;color:#4b6293}
.heatmap{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:5px}
.heat-cell{aspect-ratio:1/1;min-height:32px;font-weight:800;font-size:11px;border-radius:7px;border:1px solid #d9e2f3;color:#54657e;background:#f0f3f9}
.heat-cell.needs{background:#ffd9c8;border-color:#f9a68f;color:#7e321d}
.heat-cell.careful{background:#ffedba;border-color:#efce68;color:#714d12}
.heat-cell.strong{background:#c9f4d7;border-color:#78d9a5;color:#1e704a}
.heat-cell.learning{background:#dfe8ff;border-color:#b3c6f5;color:#334e91}
.legend{display:flex;flex-wrap:wrap;gap:11px;margin:9px 0 0;font-size:11px;color:#65748c}
.legend span{display:flex;gap:5px;align-items:center}.legend i{width:11px;height:11px;display:inline-block;border:1px solid #bcc9dc;border-radius:3px}
.recent-row{display:flex;align-items:start;gap:12px;border-bottom:1px solid #edf0f8;padding:12px 0}
.recent-row:last-child{border-bottom:none}.recent-row .number{font-size:20px;font-weight:950;color:#2d4492;min-width:42px}
.recent-row .detail{font-size:12px;color:#66738b;line-height:1.5}.recent-row strong{font-size:12px;color:#23345c}
.meter{background:#eaf0fb;border-radius:20px;height:8px;overflow:hidden;margin:7px 0 4px}.meter span{display:block;height:100%;background:#6084f6;border-radius:20px}
.skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.skill-box{background:#f7f9fe;border-radius:15px;padding:13px;border:1px solid #e7ecf8}
.skill-box b{font-size:13px}.skill-box small{display:block;color:#71809a;font-size:11px;margin-top:4px}
.parent-note{background:#f4f7ff;padding:11px 14px;border-radius:12px;font-size:12px;color:#62718c;line-height:1.5}
.profile-dialog{border:0;border-radius:24px;box-shadow:0 25px 90px #121f4e60;width:min(93vw,460px);padding:23px;background:white;color:var(--ink)}
.profile-dialog::backdrop{background:#18264f88;backdrop-filter:blur(4px)}
.profile-dialog h3{font-size:24px;margin:0 0 16px}
.profile-dialog label.fieldlabel{display:block;font-weight:850;font-size:13px;margin:12px 0 8px}
.profile-dialog input[type=text]{width:100%;border:2px solid #dae4f6;border-radius:12px;padding:13px;font-size:17px}
.color-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.color-choice{border:2px solid #e8edf6;border-radius:13px;padding:12px 3px;text-align:center;display:grid;gap:7px;place-items:center;font-weight:850;font-size:11px;background:#fff;cursor:pointer}
.color-choice.active{border-color:#283f82;background:#f1f4ff}
.color-choice i{display:block;width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px #0001}
.dialog-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:20px}
.danger{border:1px solid #f3c6c5;background:#fff2f1;color:#ad3634;border-radius:12px;padding:11px 14px;font-weight:900;margin-right:auto}
.empty-insight{border:1px dashed #cdd8ec;background:#f9fbff;padding:20px;border-radius:14px;color:#607391;font-size:13px;text-align:center;line-height:1.6}
@media(max-width:830px){.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.heatmap{grid-template-columns:repeat(11,minmax(0,1fr))}.topactions{width:100%;justify-content:space-between}}
@media(max-width:560px){.heatmap{grid-template-columns:repeat(7,minmax(0,1fr))}.heat-cell{min-height:37px}.skill-grid{grid-template-columns:1fr}.dash-card{padding:13px 11px}.dash-card .big{font-size:25px}.struggle-table th:nth-child(3),.struggle-table td:nth-child(3){display:none}.profile{width:auto;flex:1}.topactions{align-items:center}.navbtn{padding:10px}.profile button{padding:7px 10px}}
