:root{--ink:#173341;--muted:#647681;--dark:#133b4b;--teal:#167b79;--teal-light:#e3f4ef;--bg:#f6f8f6;--paper:#fff;--border:#dde8e4;--red:#b94535;--redlight:#fff1eb;--amber:#946622;--amberlight:#fff4dc;--shadow:0 8px 28px rgba(22,55,63,.055)}
*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;background:var(--bg);margin:0;color:var(--ink);line-height:1.58;font-size:16px}button{font:inherit;cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--teal)}.shell{width:min(1100px,100%);margin:auto;padding:0 22px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:27px 0 21px;gap:16px}.brand{display:flex;gap:12px;align-items:center}.logo{width:47px;height:47px;background:#133b4b;border-radius:15px;color:#def4ee;display:grid;place-items:center;font-size:29px}.brand strong{display:block;font-size:21px;letter-spacing:.025em}.brand small{display:block;font-size:12px;color:var(--muted);letter-spacing:.04em}.topright{display:flex;align-items:center;gap:12px}.save-pill{font-size:12px;border:1px solid #bfddd1;color:#256d5d;background:#e9f7f0;padding:6px 11px;border-radius:50px}.date-pill{font-size:13px;color:var(--muted)}.main-nav{display:flex;gap:8px;background:#e8eeee;border-radius:15px;padding:5px;margin-bottom:25px}.nav{border:0;background:none;flex:1;padding:13px 12px;border-radius:11px;color:#50636e;font-weight:700}.nav.active{background:white;color:#143c4c;box-shadow:0 2px 10px rgba(10,50,50,.06)}main{min-height:64vh}footer{text-align:center;color:#7c898e;font-size:11px;padding:42px 0 32px}.eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:800;color:var(--teal);margin-bottom:8px}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:5px 0 22px}.hero h1{font-size:clamp(27px,4.3vw,38px);letter-spacing:-.035em;line-height:1.34;margin:0 0 8px}.hero p{color:var(--muted);margin:0}.hero-stamp{background:#deeee5;border-radius:24px;width:103px;height:103px;display:grid;place-items:center;font-size:45px;flex:none}.card{background:var(--paper);border:1px solid var(--border);border-radius:19px;padding:22px;box-shadow:var(--shadow)}.card h2{font-size:20px;margin:0 0 10px}.card h3{font-size:16px;margin:0 0 10px}.card p{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.kgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{background:white;border:1px solid var(--border);padding:18px;border-radius:17px}.stat .label{color:var(--muted);font-size:13px;font-weight:750}.stat .number{font-size:28px;font-weight:850;letter-spacing:-.05em;margin:4px 0}.stat .difference{font-size:12px;font-weight:700}.negative{color:var(--red)}.positive{color:#187b59}.hero-card{padding:25px;background:linear-gradient(105deg,#e4f4ed,#f2f8eb);border:1px solid #d4e8d9;border-radius:20px;margin-bottom:16px}.hero-card h2{font-size:24px;margin:0 0 7px}.button{border:1px solid #cadbd7;padding:11px 17px;min-height:45px;font-weight:750;border-radius:12px;background:#fff;color:var(--ink)}.button.primary{color:white;background:var(--teal);border-color:var(--teal)}.button.primary:hover{background:#106765}.button.light{background:#e8f5f0;border-color:#d4e8e1;color:#146d63}.button.ghost{background:white}.button:focus-visible,.nav:focus-visible{outline:3px solid #e0a94e;outline-offset:2px}.button.big{padding:16px 19px;font-size:17px}.button.full{width:100%}.button.smallbtn{font-size:12px;min-height:36px;padding:7px 10px}.button[disabled]{background:#d4dddc;border-color:#d4dddc;color:#526267}.flex{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap16{height:16px}.gap24{height:24px}.subject-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#edf4f2;font-size:22px;flex-shrink:0}.subject-card{display:flex;flex-direction:column;gap:13px}.subject-card .button{margin-top:auto}.subject-card h3{margin:0;font-size:19px}.subject-card p{font-size:13px;color:var(--muted)}.tag{display:inline-block;border-radius:90px;background:#edf4f1;color:#366c64;padding:4px 9px;font-size:11px;font-weight:800;white-space:nowrap}.tag.red{background:var(--redlight);color:var(--red)}.tag.amber{background:var(--amberlight);color:var(--amber)}.bar-row{display:grid;grid-template-columns:48px 1fr 92px;gap:10px;align-items:center;margin:13px 0}.bar{height:12px;background:#e8efed;border-radius:30px;position:relative;overflow:hidden}.bar .avg{position:absolute;left:0;top:0;bottom:0;background:#a5b7b9;border-radius:30px}.bar .actual{position:absolute;left:0;top:0;bottom:0;background:#268c7d;border-radius:30px;opacity:.96}.bar-label{font-size:12px;color:var(--muted);text-align:right}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:28px 0 12px}.section-heading h2{margin:0;font-size:21px}.tablist{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.pilltab{border:1px solid #d7e4e0;background:white;border-radius:30px;padding:9px 15px;font-size:14px;font-weight:750}.pilltab.active{background:var(--dark);border-color:var(--dark);color:white}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:600px;text-align:left}.data-table th{font-size:12px;color:var(--muted);border-bottom:1px solid var(--border);padding:11px 12px}.data-table td{padding:12px;font-size:14px;border-bottom:1px solid #eff3f0}.data-table tr:last-child td{border-bottom:none}.subline{font-size:11px;color:var(--muted)}.note{background:#eff5f2;padding:14px;border-radius:13px;font-size:13px;color:#42616a}.note.warn{background:#fff7e9;color:#795b23}.quiz-shell{width:min(740px,100%);margin:0 auto}.quiz-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted);margin-bottom:14px}.progress{height:10px;background:#e2eae6;border-radius:50px;overflow:hidden;margin-bottom:20px}.progress>div{height:100%;background:var(--teal);transition:width .2s}.quiz-card{padding:28px}.quiz-card h2{font-size:clamp(22px,4vw,27px);line-height:1.55;margin:14px 0 24px;white-space:pre-wrap}.option{display:flex;gap:12px;align-items:flex-start;text-align:left;width:100%;background:#fff;border:2px solid #dfe8e5;border-radius:13px;padding:15px;margin:10px 0;line-height:1.55;min-height:55px}.option:hover:not(:disabled){border-color:var(--teal)}.option .letter{display:grid;place-items:center;border-radius:9px;background:#edf2f1;min-width:31px;height:31px;font-weight:850}.option.chosen{border-color:#187b70;background:#ecf9f3}.option.wrong{border-color:#c86256;background:#fff2ef}.option:disabled{cursor:default;opacity:1}.answer-box{background:#eff7f3;padding:17px;border-radius:13px;margin-top:15px}.answer-box.wrong{background:#fff2ef}.answer-box h3{font-size:17px;margin:0 0 7px}.answer-box p{font-size:14px;line-height:1.85}.paper-box{background:#f8f7f0;border:1px dashed #d0c9a8;border-radius:14px;padding:18px;color:#655d44;margin-bottom:13px}.paper-answer{font-size:25px;font-weight:850;line-height:1.5;margin:9px 0}.help-steps{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.help-steps span{background:#f0f4f2;border-radius:9px;padding:7px 11px;font-size:12px}.review-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.review-buttons .button{font-size:14px;padding:12px 6px}.result-list{list-style:none;padding:0;margin:0}.result-list li{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid var(--border)}.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.topic{border:1px solid var(--border);padding:14px;border-radius:13px}.topic b{display:block}.topic .mini{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.topicbar{height:7px;border-radius:8px;background:#ebf0ef;margin:8px 0;overflow:hidden}.topicbar span{display:block;height:100%;background:#338e7d}.tools{display:flex;flex-wrap:wrap;gap:10px}.empty{padding:26px;text-align:center;color:var(--muted);background:#f4f8f6;border-radius:12px}.session-card{display:flex;justify-content:space-between;align-items:center;gap:12px}.session-card h3{margin:0 0 4px;font-size:18px}.session-card .session-badge{white-space:nowrap;font-size:12px;padding:7px 9px;border-radius:50px;background:#eef4f1;color:#3d746a}.session-card.done .session-badge{background:#dff4ea;color:#226c55}.callout{background:#fff6e6;border-left:4px solid #d4a251;padding:13px 17px;border-radius:8px;font-size:13px;color:#815e22}.upload-input{display:none}.fullw{width:100%}.stack{display:grid;gap:14px}.section-note{margin:0;color:var(--muted);font-size:13px}.mode-switch{display:flex;gap:10px;flex-wrap:wrap}.home-section{margin-top:20px}
@media(max-width:750px){.shell{padding:0 14px}.topbar{padding:16px 0}.date-pill{display:none}.brand strong{font-size:18px}.brand .logo{width:41px;height:41px}.save-pill{font-size:10px}.hero-stamp{width:74px;height:74px;border-radius:17px;font-size:34px}.card{padding:17px}.quiz-card{padding:21px}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.kgrid{grid-template-columns:1fr}.review-buttons{grid-template-columns:1fr}.hero h1{font-size:27px}.topright{gap:5px}.topic-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* v2: profiles, photo intake, parent gate, mobile polish */
:root{--bg:#f6f8f6;--dark:#103c4d;--teal:#147d78}
.profile-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.profile{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid var(--border);border-radius:16px;text-align:left;padding:16px;min-height:76px}.profile.selected{border-color:#167b79;background:#eef8f3;box-shadow:0 4px 16px rgba(20,125,120,.08)}.profile .avatar{font-size:28px;background:#ecf2ed;border-radius:13px;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.profile small{display:block;color:var(--muted);font-size:12px}.profile .profile-check{margin-left:auto;font-weight:800;color:var(--teal)}
.highlight-card{background:#ecf6ef;border-color:#cce5da}.session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.session{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #d8e8df;padding:18px;border-radius:15px;align-items:flex-start}.session-icon{font-size:28px}.session .button{margin-top:6px;width:100%}.statgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.form-card{max-width:850px;margin:auto}.form-card h2{margin-bottom:18px}.form-card label,.center-card label{display:block;font-size:13px;color:#526a72;font-weight:800;margin:13px 0}.form-card input,.form-card select,.form-card textarea,.center-card input,.center-card select{width:100%;font:inherit;border-radius:11px;background:white;border:1px solid #cbdcd6;padding:13px 12px;margin-top:7px;color:var(--ink)}.form-card textarea{min-height:75px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.upload-box{border:2px dashed #b7d8cd;border-radius:17px;background:#f8fcfa;padding:24px;text-align:center;margin:18px 0;display:flex;flex-direction:column;align-items:center;gap:8px}.upload-box p{margin:0}.thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;justify-content:center}.pending-thumb{position:relative}.pending-thumb img{width:85px;height:110px;object-fit:cover;border-radius:8px;border:1px solid #cee0d8}.pending-thumb button{position:absolute;right:-6px;top:-8px;color:#fff;background:#a94439;border-radius:50%;border:0;width:27px;height:27px;font-weight:900}
.entry-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-row .button{flex-shrink:0}.entry-row.separated{padding:13px 0;border-top:1px solid var(--border)}.photo-review{display:flex;flex-wrap:wrap;gap:12px;margin:17px 0}.attachment{width:100%;max-width:350px;border:1px solid var(--border);border-radius:12px;cursor:zoom-in;object-fit:contain;max-height:500px;background:#fff}.image-overlay{position:fixed;inset:0;z-index:1000;background:rgba(2,16,22,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px}.image-overlay img{max-width:96vw;max-height:82vh;object-fit:contain}.image-overlay button{align-self:flex-end}.center-card{width:min(490px,100%);margin:40px auto}.center-card h1{font-size:25px}.center-card .button{margin-top:10px}.center-card p{margin:12px 0}
.options{margin:16px 0}.pilltab:focus-visible,.profile:focus-visible{outline:3px solid #e6ad50;outline-offset:2px}.data-table.compact{min-width:400px}.data-table.compact td,.data-table.compact th{padding:9px 7px;font-size:12px}.section-heading h3{font-size:15px;margin:0}.paper-answer{white-space:pre-wrap}.danger{color:#af493d;border-color:#eecac5}.statgrid .number{line-height:1.3} .tools .button{flex-grow:1}.result-list{margin:15px 0 20px}.result-list li{gap:12px}
@media(max-width:650px){.profile-switch{grid-template-columns:1fr}.profile{min-height:64px;padding:10px}.session-grid{grid-template-columns:1fr}.session{flex-direction:row;align-items:center;flex-wrap:wrap}.session .button{width:auto;margin-left:auto}.form-grid{grid-template-columns:1fr}.main-nav{gap:3px}.nav{padding:12px 3px;font-size:13px}.topbar .brand small{font-size:10px}.statgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.statgrid.three .stat{padding:10px}.statgrid.three .number{font-size:23px}.attachment{max-width:100%}}
@media(min-width:651px) and (max-width:900px){.shell{width:96%}.statgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Keep comparison columns readable even in two-column tablet cards. */
.data-table.compact{min-width:0;table-layout:auto}
.data-table.compact th,.data-table.compact td{padding:8px 3px;font-size:11px;white-space:nowrap}
.data-table.compact th:first-child,.data-table.compact td:first-child{white-space:normal;min-width:78px}
@media(max-width:750px){.data-table.compact th,.data-table.compact td{font-size:10px}}
/* v3: a calm study room, with a dedicated math practice flow. */
:root{--bg:#f3f6f5;--ink:#153543;--muted:#546b75;--teal:#16766b;--border:#dce6e2}
body{font-size:16px;background:radial-gradient(ellipse at 95% 0,#e7f2ed 0,transparent 40%),var(--bg)}
.shell{width:min(1180px,100%);padding:0 28px}.brand small{font-size:14px}.logo{background:#173e49}.main-nav{margin:0 0 30px;background:#e7eeeb}.nav{font-size:16px}.eyebrow{font-size:13px;letter-spacing:.075em;color:#376e67}.hero{margin:38px 0 30px}.hero h1{font-size:clamp(28px,4vw,40px);font-weight:800;line-height:1.5;letter-spacing:-.04em}.hero p{font-size:16px}.hero-stamp{background:#d9ebe1;color:#236755;font-size:60px;border-radius:34% 46% 33% 47%;height:124px;width:124px}.small,.label{font-size:14px!important}.tiny{font-size:12px}.muted{color:#566d76}.save-pill,.date-pill{font-size:13px}.save-pill.warning{background:#fff0e9;color:#9f3b28}.button{font-size:16px;min-height:48px;border-radius:12px}.button.smallbtn{font-size:14px;min-height:42px}.button.big{font-size:17px}.button.primary{background:#166b61;border-color:#166b61}.button.primary:hover{background:#0e584f}.card{box-shadow:0 4px 18px #24463b06;border-radius:20px;padding:25px}.profile-switch{margin:24px 0}.profile{padding:15px 20px;background:#ffffffb8}.profile .avatar{font-family:Georgia,serif;background:#e4eee6;color:#265a4d;font-weight:bold;font-size:24px}.profile small{font-size:14px}.profile-check{font-size:13px}.profile.selected{background:#f9fffb}.home-lead{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.highlight-card{background:#e2f0e7}.session-grid{margin-top:20px}.session{padding:20px;background:#ffffffd9}.session b{font-size:19px}.session .small{font-size:14px}.variant-teaser{background:#fff1e6;border-color:#eed8c5;display:flex;flex-direction:column;gap:15px}.variant-teaser h2{font-size:25px;line-height:1.5}.variant-teaser p{font-size:15px;line-height:1.8}.variant-teaser .button{margin-top:auto;background:#244953;border-color:#244953}.variant-teaser .eyebrow{color:#94613f}.resume{margin-top:16px}.section-heading{margin:32px 0 15px}.section-heading h2{font-size:22px}.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.subject-button{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;background:#fff;border:1px solid var(--border);border-radius:17px;padding:20px;transition:transform .15s}.subject-button:hover{transform:translateY(-2px);border-color:#92b6a8}.subject-button b{font-size:20px}.subject-icon{font-size:21px;font-weight:800;line-height:1;flex:none}.subject-icon.math{background:#fff0e2;color:#975d33}.subject-icon.social{background:#e8eeff;color:#4d6294}.subject-icon.science{background:#e6f4eb;color:#397957}.subject-icon.japanese{background:#fff0f3;color:#996271}.capture-card{display:flex;align-items:center;justify-content:space-between;gap:22px}.capture-card p{font-size:15px;color:var(--muted)}.capture-card .button{flex-shrink:0}.home-stats{margin:24px 0}.stat{background:#ffffff9c}.stat .number{font-size:29px}.stat small{font-size:14px;font-weight:500;margin-left:6px}.stat .label{line-height:1.5}.tag{font-size:13px;padding:5px 11px}.variant-tag{background:#fff0de;color:#8a542d}.source-strip{display:flex;gap:16px;flex-wrap:wrap;padding:17px 22px;background:#fff5e9;border:1px solid #ebd5bd;border-radius:14px;margin:16px 0 24px}.source-strip span{color:#8e6944}.lab-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:start}.lab-grid .form-card{width:100%}.skill-description{min-height:54px;color:#566b74;font-size:15px;line-height:1.8;margin:14px 0!important}.form-card label,.center-card label{font-size:15px}.form-card select,.center-card select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='16' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%2360747a' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}.form-card input,.form-card select,.form-card textarea,.center-card input,.center-card select{font-size:16px;min-height:48px}.level-field{border:0;padding:0;margin:22px 0}.level-field legend{font-size:15px;font-weight:800;margin-bottom:12px}.level-options{display:grid;gap:9px}.level-option{display:flex!important;align-items:center;gap:11px;border:1px solid #d9e4df;border-radius:13px;padding:13px 15px;margin:0!important;background:#fff}.level-option input{width:19px!important;min-height:19px!important;height:19px!important;margin:0!important;accent-color:var(--teal);flex:none}.level-option small{display:block;color:#60727a;font-size:14px;font-weight:400;margin-top:2px}.level-option.selected{border:2px solid #338879;background:#eef8f1;padding:12px 14px}.level-option b{font-size:16px}.candidate-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.lab-explain{background:#eaf1ed}.lab-explain h2{font-size:28px;line-height:1.5}.study-steps{padding-left:22px;margin:24px 0}.study-steps li{padding:0 0 22px 8px}.study-steps b{font-size:17px}.study-steps p{font-size:15px;color:#526b72;margin-top:4px}.note{font-size:14px;line-height:1.85}.math-stamp{background:#f5dfcb;color:#98613c;font-family:Georgia,serif}.quiz-shell{width:min(800px,100%)}.quiz-card{padding:32px}.quiz-card h2{font-size:25px;line-height:1.85;font-weight:750}.quiz-meta{margin:24px 0 16px;font-size:16px}.progress{height:7px}.progress>span{display:block;height:100%;background:#368c74}.quiz-card .button.full{margin-top:14px}.hint-btn{background:#fff9eb;border-color:#e6d4aa;margin-bottom:10px}.hint-note{background:#fff9eb;white-space:pre-wrap;margin:6px 0 16px}.paper-box{font-size:15px;margin:16px 0}.paper-answer{font-size:25px;line-height:1.75}.explanation{white-space:pre-wrap;font-size:16px!important;line-height:1.95!important;margin-top:14px!important}.answer-box{padding:22px}.review-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.review-buttons .button{font-size:16px}.quiz-caption{text-align:center;margin:18px}.option{padding:18px;align-items:center;font-size:18px}.letter{font-size:14px}.option:disabled{opacity:1}.entry-header{display:flex;justify-content:space-between;gap:16px;margin:26px 0 18px}.entry-title{font-size:28px;line-height:1.6}.entry-tools{margin:24px 0}.variant-button{background:#fff2e6;border-color:#d8b898;color:#784a2a}.photo-details{margin:20px 0}.photo-details summary,.optional-fields summary{cursor:pointer;font-size:16px;font-weight:700;padding:14px 0}.photo-review{align-items:flex-start;gap:18px}.photo-figure{margin:0;max-width:100%;flex:1 1 280px}.photo-figure .attachment{max-width:100%;width:100%;height:auto;max-height:600px}.photo-figure figcaption{font-size:14px;color:#66777e;padding:7px 0}.entry-bottom{border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.upload-box p{font-size:15px;line-height:1.8}.thumbs{align-items:flex-start;gap:16px}.pending-thumb{width:160px}.pending-thumb img{width:160px;height:150px}.pending-thumb label{font-size:14px;margin:5px 0!important}.pending-thumb select{min-height:42px;font-size:14px;padding:8px 30px 8px 9px}.pending-thumb .remove-photo{width:30px;height:30px;font-size:21px;right:-8px;top:-8px}.optional-fields{margin:18px 0}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);max-width:min(90vw,600px);background:#163b40;color:white;padding:14px 22px;border-radius:13px;box-shadow:0 10px 35px #0002;z-index:100;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#8e3f31}dialog{border:0;border-radius:16px;padding:18px;max-width:95vw;background:#f6f8f7}dialog::backdrop{background:#10242ae0}dialog img{display:block;max-height:78vh;max-width:89vw;margin-top:15px;object-fit:contain}dialog button{display:block;margin-left:auto}.finish-hero{text-align:center;padding:28px 0}.finish-hero h1{font-size:34px;margin:10px}.finish-symbol{display:inline-flex;align-items:center;justify-content:center;width:90px;height:90px;background:#e1f0e4;border-radius:40%;font-size:46px;color:#357451;margin:10px}.result-list{font-size:15px}.section-title{margin:26px 0 12px!important}.info-note{margin-top:20px}.data-table{font-size:15px}.data-table td,.data-table th{font-size:14px;line-height:1.7}.data-table .subline{font-size:13px}.data-table.compact{min-width:0;table-layout:auto}.data-table.compact th,.data-table.compact td{font-size:14px;padding:10px 7px;white-space:normal}.data-table.compact th:first-child,.data-table.compact td:first-child{min-width:86px}.center-card p{font-size:15px;line-height:1.8}.form-card .full.big{margin:20px 0}.tools{gap:12px}.tools .button{flex-grow:0}footer{font-size:13px;line-height:1.7;color:#677d83;padding:40px 0}
@media(max-width:1000px){.shell{padding:0 20px}.home-lead{grid-template-columns:1.2fr 1fr}.hero-stamp{height:100px;width:100px}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-grid{gap:10px}.subject-button{padding:16px}.subject-button .small{font-size:13px!important}.lab-grid{grid-template-columns:1.15fr 1fr}.card{padding:21px}.lab-explain h2{font-size:26px}.session-grid{grid-template-columns:1fr}.session{display:grid;grid-template-columns:1fr auto;gap:4px}.session .small{grid-row:2}.session .button,.session .tag{grid-column:2;grid-row:1 / 3;margin:0}}
@media(max-width:720px){.shell{padding:0 16px}.hero{margin:25px 0 18px}.hero-stamp{display:none}.hero h1{font-size:28px}.hero p{font-size:15px}.brand strong{font-size:18px}.brand small{font-size:12px!important}.logo{height:40px;width:40px}.topbar{gap:8px}.save-pill{font-size:11px;max-width:100px;text-align:center}.main-nav{margin-bottom:15px}.nav{font-size:14px;padding:12px 5px}.home-lead,.lab-grid{grid-template-columns:1fr}.profile-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile{padding:12px;gap:9px;align-items:center}.profile .avatar{width:32px;height:36px;border-radius:10px;font-size:22px}.profile-check{display:none}.profile small{font-size:12px!important}.profile b{font-size:15px}.session-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.session{display:flex;flex-direction:column;align-items:stretch;padding:15px;gap:8px}.session b{font-size:17px}.session .button{margin-top:6px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-button{display:grid;grid-template-columns:42px 1fr;gap:6px 10px;align-items:center}.subject-button .subject-icon{grid-row:1 / 3;width:40px;height:40px}.subject-button b{font-size:18px}.subject-button .small{grid-column:2;font-size:12px!important}.capture-card{flex-direction:column;align-items:flex-start}.capture-card .button{width:100%}.statgrid.three .label{font-size:12px!important}.statgrid.three .stat{padding:14px 10px}.home-stats .number{font-size:24px}.card{padding:20px}.quiz-card{padding:23px 20px}.quiz-card h2{font-size:22px;line-height:1.85}.quiz-caption{margin:15px 0}.review-buttons .button{font-size:14px}.table-scroll{overflow-x:auto}.data-table.compact{min-width:340px}.kgrid{grid-template-columns:1fr}.level-field{margin:20px 0}.form-grid{grid-template-columns:1fr}.entry-tools .button{width:100%}.entry-title{font-size:24px}.photo-figure{flex:1 1 100%}.tools{width:100%}.tools .button{flex-grow:1}.data-table td,.data-table th{font-size:14px}.center-card{margin:24px auto}.form-card{max-width:100%}.toast{font-size:14px}.upload-box{padding:20px 12px}.lab-explain{display:block}.info-note{font-size:14px}}
.onboarding-card label{display:block;font-size:16px;font-weight:750;margin:22px 0 12px}.onboarding-card input{display:block;width:100%;font:inherit;font-size:16px;font-weight:400;border:1px solid #b8cfc5;border-radius:10px;padding:13px;margin-top:9px}.onboarding-card p{line-height:1.85;margin-bottom:12px}.onboarding-card details{margin-top:22px}.onboarding-card summary{font-size:15px;cursor:pointer;padding:12px 0}.onboarding-card+.capture-card{margin-top:20px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Source-grounded study, v4 */
.big-metric{font-size:42px;line-height:1.5;color:#155a51;margin:10px 0 20px;font-weight:800}.big-metric small{font-size:15px;display:block;color:#486b62;font-weight:500}.highlight-card p{font-size:16px;color:#49665f;line-height:1.8}.onboarding-card{margin-bottom:22px;background:#edf4f0}.onboarding-card p{line-height:1.9}.onboarding-card .button{margin:18px 0}.source-row{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}.source-row h3{font-size:21px;margin:8px 0}.source-preview{font-size:15px;line-height:1.8;color:#526b73;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:10px 0 15px}.result-wrong{background:#fff0e8;color:#96552c}.result-partial{background:#fff5dc;color:#85632d}.result-correct{background:#e5f2e6;color:#3c7344}.result-unknown{background:#edf0f2;color:#65717c}.source-problem{white-space:pre-wrap;font-size:21px;line-height:1.95;padding:28px 0}.filter-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.filter-bar label{font-size:14px;font-weight:700;display:block}.filter-bar select,#parent-sub{display:block;font-size:16px;min-height:46px;padding:10px;border:1px solid #d4dfda;border-radius:10px;background:#fff;width:100%;margin-top:6px}#parent-sub{width:auto;margin:0}.trial-banner{display:flex;gap:16px;flex-wrap:wrap;padding:16px 20px;margin:18px 0;background:#fff4d9;border:1px solid #e2cb87;border-radius:13px;font-size:15px;color:#6b5522}.trial-active{background:#fff3d2!important;border-color:#d2b56b!important;color:#6d5620}.pending-note{background:#fff8e8;border:1px solid #e7d5aa;margin:20px 0}.answer-details dt{color:#60737b;font-size:14px;margin-top:18px}.answer-details dd{white-space:pre-wrap;font-size:18px;line-height:1.85;margin:4px 0}.prewrap{white-space:pre-wrap}.source-notes{margin-top:24px}.source-notes summary{font-size:16px;font-weight:700;cursor:pointer}.source-notes ul{padding-left:22px;font-size:15px;line-height:1.9}.source-notes li{margin-top:10px}.legacy-link{display:inline-block;font-size:14px;color:#4e7069;margin-top:16px}.capture-help{background:#edf4ef;padding:18px;border-radius:12px;margin:20px 0}.capture-help p{font-size:15px;line-height:1.8;margin-top:6px}.draft-items{margin-top:20px}.draft-item label{display:block;font-size:15px;font-weight:700;margin:14px 0}.draft-item input,.draft-item textarea,.draft-item select{display:block;width:100%;padding:12px;border:1px solid #d5e1da;border-radius:10px;font:inherit;font-weight:400;font-size:16px;margin-top:6px;min-height:46px}.draft-item .form-row{display:flex;gap:16px}.draft-item .form-row label{flex:1;min-width:0}.draft-item .confirm-record{display:flex;align-items:flex-start;gap:10px;background:#eef6ee;border-radius:10px;padding:16px;font-size:15px;line-height:1.8}.draft-item .confirm-record input{width:20px;min-height:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#176b60}.quiz-card h2{white-space:pre-wrap}.topright{flex-wrap:wrap}.topright .button{font-size:13px;min-height:38px;padding:7px 13px}
@media(max-width:700px){.filter-bar{grid-template-columns:1fr;gap:10px}.source-row{grid-template-columns:1fr;gap:16px}.source-row>.button{width:100%}.source-problem{font-size:19px}.draft-item .form-row{flex-direction:column;gap:0}.draft-item .form-row label{margin:8px 0}.topbar{gap:12px}.topright{justify-content:flex-end;gap:8px}.topright .date-pill{display:none}.section-heading{align-items:flex-start;gap:12px}.trial-banner{gap:6px}#parent-sub{max-width:140px}.big-metric{font-size:36px}}
.draft-source,.draft-scores{margin-top:20px}.draft-source summary{cursor:pointer;font-size:16px;font-weight:700}.draft-photo-strip{display:flex;gap:14px;overflow-x:auto;padding:18px 0 4px}.draft-photo-button{background:#f3f7f4;border:1px solid #d5e1da;border-radius:12px;padding:8px;flex:0 0 150px;font-size:13px;color:#3d6359}.draft-photo-button img{display:block;width:134px;height:170px;object-fit:contain}.draft-photo-button span{display:block;margin-top:7px}.draft-scores .form-row{align-items:center;gap:12px}.draft-scores input{font-size:16px;width:100%;padding:10px;border-radius:8px;border:1px solid #d3dfd8}.draft-scores label{font-size:14px;flex:1;min-width:60px}
/* Readings appear above kanji only in revealed answers and explanations. */
.furigana-content{line-height:2.4;overflow-wrap:anywhere}.furigana-content ruby{ruby-align:space-around;ruby-position:over}.furigana-content rt{font-size:.67em;font-weight:500;color:#426169;line-height:1;letter-spacing:.02em}.quiz-card .paper-answer.furigana-content{font-size:28px;line-height:2.15;margin:12px 0 18px}.quiz-card .explanation.furigana-content{font-size:18px!important;line-height:2.6!important}.quiz-card .small.furigana-content{font-size:15px;line-height:2.5;margin-top:16px}.answer-details .furigana-content{font-size:17px;line-height:2.6}.furigana-content rp{font-size:.75em}@media(max-width:600px){.quiz-card .paper-answer.furigana-content{font-size:26px}.quiz-card .explanation.furigana-content{font-size:18px!important}}
/* v6: stable standard text fields support iPad Scribble and desktop input. */
.answer-workspace{margin-top:24px;border-top:1px solid var(--border);padding-top:24px}.answer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.answer-heading h3{font-size:21px;margin:0}.answer-instruction{font-size:15px;line-height:1.8;color:#49656d;margin:12px 0 18px!important}.answer-fields{display:grid;gap:20px;margin:20px 0}.answer-field{min-width:0}.answer-field-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.answer-field-label label{font-size:17px;font-weight:750}.answer-clear{color:#46646d;min-height:40px!important;font-size:14px!important}.answer-format{font-size:14px;line-height:1.8;margin:0 0 10px!important;color:#526a74}.answer-entry{display:flex;align-items:center;gap:14px}.handwriting-input{display:block;width:100%;min-width:0;min-height:152px;resize:vertical;border:2px solid #9cbfb8;border-radius:14px;padding:24px 22px;background:#fff;color:#173341;font:500 30px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;letter-spacing:.04em;box-shadow:inset 0 2px 9px #163b4005;scroll-margin:100px}.handwriting-input::placeholder{font-size:19px;color:#82999d;letter-spacing:0}.handwriting-input:focus{outline:3px solid #c5ebe2;outline-offset:2px;border-color:#167b79}.multiple-fields .handwriting-input{min-height:124px}.answer-unit{font-size:23px;font-weight:700;white-space:nowrap;min-width:1.3em}.answer-recognition-note{font-size:15px;color:#42616a;margin-bottom:15px!important}.handwriting-help{margin:18px 0 0;border-top:1px solid #e3eae7;padding-top:8px;font-size:14px;color:#506970;line-height:1.9}.handwriting-help summary{padding:10px 0;cursor:pointer;font-size:15px;font-weight:700}.handwriting-help p{margin:8px 0!important}.handwriting-help a{display:inline-block;margin:8px 0}.answer-workspace .pending-note{margin:14px 0}.skip-answer{margin-top:22px!important;color:#5a6e75;font-size:15px}.answer-confirm{background:#f2f8f5;border:1px solid #c8e1d7;border-radius:15px;padding:24px;margin:20px 0}.answer-confirm h3{font-size:20px;line-height:1.65}.answer-confirm p{color:#506b70;font-size:15px;line-height:1.8}.recognized-answers{display:grid;gap:12px;margin:20px 0}.recognized-answers>div{border-radius:12px;background:#fff;border:1px solid #d9e5df;padding:16px 20px}.recognized-answers dt{font-size:14px;color:#5b747a;font-weight:700}.recognized-answers dd{font-size:29px;line-height:1.6;font-weight:750;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.recognized-answers dd span{font-size:19px;margin-left:12px;font-weight:500}.answer-confirm-actions{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.answer-confirm-actions .primary{flex:1}.assessment-result{display:flex;gap:16px;align-items:flex-start;padding:22px;border-radius:14px;margin-top:24px;background:#e9f6ed;color:#245d4c}.assessment-result h3{font-size:21px;margin:0 0 6px}.assessment-result p{font-size:15px;line-height:1.8}.assessment-result.is-wrong{background:#fff3e5;color:#855a2e}.assessment-result.is-ungraded{background:#eef2f6;color:#506676}.assessment-symbol{font-size:37px;font-weight:850;line-height:1.3;flex-shrink:0}.study-next{margin-top:24px}.quiz-meta{flex-wrap:wrap;font-size:14px;line-height:1.8}.quiz-card .hint-btn{margin:0 0 8px}.quiz-card .answer-box{padding:22px}.history-response{white-space:pre-wrap;overflow-wrap:anywhere;max-width:260px}.history-method{font-size:13px;color:var(--muted)}#answer-input-error[hidden]{display:none!important}
@media(max-width:600px){.handwriting-input{font-size:27px;min-height:150px;padding:20px 16px}.handwriting-input::placeholder{font-size:17px}.answer-confirm{padding:18px}.answer-confirm-actions{flex-direction:column}.answer-confirm-actions .button{width:100%}.recognized-answers dd{font-size:25px}.assessment-result{padding:17px;gap:12px}.answer-heading h3{font-size:20px}.quiz-card .answer-box{padding:18px}.answer-unit{font-size:20px}}
/* v5: a daily original-and-variant pair for each subject. */
.daily-intro{display:flex;align-items:center;gap:16px;margin:24px 0 18px}.daily-intro p{font-size:15px;line-height:1.8;color:var(--muted)}.daily-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.daily-subject{padding:24px;background:#fff}.daily-subject-heading{display:flex;align-items:center;gap:12px}.daily-subject-heading h2{margin:0;font-size:25px}.daily-subject-heading .tag{margin-left:auto;background:#edf3f0}.daily-subject-heading .subject-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center}.daily-method{font-size:15px;line-height:1.8;color:#526b73;margin:16px 0 20px}.daily-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.daily-actions section{display:flex;flex-direction:column;border:1px solid #dce7e1;background:#f2f8f4;border-radius:14px;padding:18px 15px}.daily-actions section+section{background:#fff7ef;border-color:#efdfce}.daily-actions .eyebrow{font-size:12px;letter-spacing:0;color:#4d6c64;line-height:1.7}.daily-actions section+section .eyebrow{color:#926743}.daily-actions h3{font-size:17px;margin:10px 0}.daily-actions h3 b{font-size:31px;margin-left:7px}.daily-actions p{font-size:14px;line-height:1.8;color:#5d7177;min-height:76px}.daily-actions .button{margin-top:12px;padding:10px 8px;font-size:14px}.daily-status{font-size:12px;line-height:1.6;color:#526e65;min-height:38px}.mini-progress{height:5px;background:#dcebe1;border-radius:5px;margin:14px 0 8px;overflow:hidden}.mini-progress span{height:100%;background:#2d816c;display:block}.mini-progress.near{background:#f0e0cf}.mini-progress.near span{background:#b57b48}.daily-shortage{font-size:13px;color:#886631;background:#fff8e8;padding:12px;border-radius:10px;line-height:1.8;margin:16px 0 0}.daily-resume{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#e5f1e9;margin:20px 0}.daily-resume p{font-size:14px;margin:7px 0 0;color:#527266}#parent-exam{font-size:15px;padding:10px;min-height:46px;background:#fff;border:1px solid #d4dfda;border-radius:10px}
@media(max-width:900px){.daily-subject-grid{grid-template-columns:1fr}.daily-actions p{min-height:0}.daily-actions .button{font-size:16px}.daily-status{min-height:0;font-size:14px}.daily-actions .eyebrow{font-size:13px}}
@media(max-width:500px){.daily-intro{align-items:flex-start;flex-direction:column;gap:8px}.daily-subject{padding:18px}.daily-subject-heading h2{font-size:22px}.daily-subject-heading .tag{font-size:12px}.daily-actions{gap:10px}.daily-actions section{padding:14px 10px}.daily-actions h3{font-size:15px}.daily-actions p{font-size:14px;min-height:75px}.daily-actions .button{font-size:14px}.daily-actions .eyebrow{font-size:11px}.daily-status{font-size:12px;min-height:38px}.daily-resume{align-items:stretch;flex-direction:column}}

/* Japanese daily review keeps five questions and identifies supplemental practice. */
.daily-japanese .daily-subject-heading h2{font-size:clamp(19px,2.1vw,23px);line-height:1.45}.daily-japanese .daily-subject-heading{flex-wrap:wrap;gap:10px}.daily-mix{font-size:14px!important;font-weight:750;color:#245f58!important;margin:0 0 8px!important;line-height:1.6}.daily-extra{font-size:14px;line-height:1.7;color:#46636a;background:#edf5f1;border-radius:10px;padding:12px;margin:14px 0 0}.practice-strip{display:flex;gap:10px;flex-wrap:wrap;background:#eff5f1}.practice-strip span{font-size:14px;color:#426169}
/* The weekly check is separate from the normal ten questions per subject. */
/* A child's daily route has one study action; detailed choices live with parents. */
.guided-hero{margin:24px 0}.guided-start-card{background:#eaf5ef;border-color:#b3d5c7;padding:30px;margin:24px 0 30px}.guided-start-heading{display:flex;gap:20px;align-items:center}.guided-mark{display:grid;place-items:center;flex-shrink:0;width:70px;height:70px;border-radius:22px;background:#d3eade;color:#206b58;font-size:36px;font-weight:800}.guided-start-heading h2{font-size:25px;line-height:1.55;margin:5px 0 8px}.guided-start-heading p{font-size:16px;line-height:1.8;color:#496c63}.guided-start{display:flex;justify-content:center;gap:24px;align-items:center;min-height:66px;font-size:20px!important;margin:26px 0 0;letter-spacing:.025em}.guided-start>span{font-size:25px}.guided-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;color:#4f7165;margin:26px 0 10px}.guided-progress-label>b{font-size:23px;color:#245d4c}.guided-progress-label>b>span{font-size:15px;font-weight:500}.guided-progress{height:8px;margin:0;background:#d3e5db}.guided-progress>span{display:block;height:100%;background:#237e67;border-radius:8px}.guided-complete{background:#f0f7ef;border-color:#c3d8bc}.guided-complete .guided-mark{background:#dcebd5}.guided-route-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.guided-route-row{display:flex;align-items:center;gap:17px;padding:20px 22px;border:1px solid #dfe8e3;border-radius:15px;background:#fff}.guided-route-row.is-current{border-color:#9ec6b8;background:#f5faf7}.guided-route-row.is-done{background:#f2f7f3}.guided-route-number{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#eef3f0;color:#668076;font-size:17px;font-weight:750}.is-current .guided-route-number{background:#dceee4;color:#246a57}.is-done .guided-route-number{background:#deeee1;color:#276744}.guided-route-row h3{font-size:19px;margin:0;line-height:1.6}.guided-route-row p{font-size:14px;color:#60766e;margin:3px 0 0}.guided-route-count{margin-left:auto;white-space:nowrap;color:#557168;font-size:15px}.guided-route-weekend{background:#f0f6f8;border-style:dashed}.guided-route-note{font-size:14px;line-height:1.8;color:#667b72;text-align:center;margin:20px 0}.guided-finish-card .note{margin:20px 0}.guided-next-preview{padding:20px 0 18px}.guided-next-preview h2{font-size:22px;line-height:1.7}.guided-next-preview p{font-size:15px;color:#5c746b;line-height:1.8}.guided-pause{margin-top:12px;color:#56736a;font-size:15px}.guided-finish-total{margin:26px 0!important;text-align:center;font-size:17px;color:#446b5d}.guided-finish-total b{font-size:25px;margin-left:12px}
@media(max-width:700px){.guided-start-card{padding:22px}.guided-start-heading{gap:14px;align-items:flex-start}.guided-mark{width:48px;height:48px;border-radius:16px;font-size:28px}.guided-start-heading h2{font-size:22px}.guided-start-heading p{font-size:15px}.guided-start{font-size:18px!important;gap:16px}.guided-route-row{padding:17px 16px;gap:12px}.guided-route-row h3{font-size:17px}.guided-route-row p{font-size:12px}.guided-route-count{font-size:13px}.guided-route-number{width:30px;height:30px;font-size:15px}.guided-progress-label{font-size:13px}.guided-route .section-heading>.small{font-size:12px}}
.weekend-card{margin:26px 0;background:#f3f7fa;border-color:#ccdae3}.weekend-card.is-weekend{background:#edf6f3;border-color:#a8cbc0}.weekend-heading,.mistake-row-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.weekend-heading h2{font-size:26px;line-height:1.5;margin:7px 0}.weekend-heading .eyebrow{font-size:14px;color:#42656c}.weekend-heading>.tag{font-size:14px;flex-shrink:0}.weekend-lead{font-size:16px;line-height:1.9;color:#41646b;margin:12px 0 20px}.weekend-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:580px;gap:20px;margin:22px 0}.weekend-metrics>div{border-left:3px solid #bcd4ce;padding-left:16px}.weekend-metrics span{display:block;font-size:14px;color:#4e686e}.weekend-metrics b{display:block;font-size:32px;color:#204d51;line-height:1.5}.weekend-metrics small{font-size:16px;font-weight:500;margin-left:7px}.weekend-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.weekend-actions .button{min-height:48px;font-size:16px}.weekend-footnote{font-size:14px;line-height:1.8;color:#526e75;margin:18px 0 0}.mistake-plan{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eef6f2;margin:22px 0}.mistake-plan h2{font-size:23px;margin:0 0 10px}.mistake-plan p{font-size:16px;line-height:1.9;margin:8px 0}.mistake-plan>.button{flex-shrink:0}.mistake-filters{grid-template-columns:1fr 1fr}.mistake-row h3{font-size:21px;line-height:1.65;margin:7px 0 14px}.mistake-row .eyebrow{font-size:14px;line-height:1.8}.mistake-row .small{font-size:14px;line-height:1.8}.mistake-row .source-preview{font-size:16px;line-height:1.9;margin:17px 0}.mistake-row .tag{font-size:14px;line-height:1.7;white-space:normal}.mistake-row-top>.tag{flex-shrink:0;max-width:46%}.mistake-pending{background:#fff1df;color:#865c2d}.mistake-counts{font-size:14px;color:#536b73;line-height:1.9;margin:10px 0}.mistake-response{display:flex;flex-wrap:wrap;gap:10px;background:#f5f7f8;padding:12px 16px;border-radius:10px;margin:14px 0;font-size:16px;line-height:1.8}.mistake-response b{font-size:14px;color:#546c74}.mistake-response span{overflow-wrap:anywhere;white-space:pre-wrap}.mistake-row-actions{margin-top:16px}.mistake-row-actions>.button{min-height:48px;font-size:16px}.mistake-details{margin-top:18px;border-top:1px solid #dce5e8;padding-top:10px}.mistake-details summary{padding:12px 0;cursor:pointer;font-size:15px;font-weight:700}.mistake-details .prewrap{font-size:18px;line-height:1.9;margin:16px 0}.mistake-details .answer-box .explanation{font-size:17px;line-height:2.5}.weekend-quiz-label{margin:20px 0 0;padding:10px 15px;border-radius:9px;background:#e1f0ea;color:#285c50;font-size:15px;font-weight:750;line-height:1.8}
@media(max-width:700px){.weekend-heading,.mistake-row-top{flex-wrap:wrap;gap:10px}.weekend-heading h2{font-size:24px}.weekend-metrics{gap:10px}.weekend-metrics>div{padding-left:10px}.weekend-metrics b{font-size:28px}.weekend-actions .button{width:100%}.mistake-plan{flex-direction:column;align-items:stretch;gap:12px}.mistake-filters{grid-template-columns:1fr}.mistake-row-top>.tag{max-width:100%}.mistake-row-actions>.button{width:100%}}
