:root{font-family:Segoe UI,Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;color:#293a35;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f7f8f5;--surface: #fff;--text: #293a35;--muted: #849087;--line: #e7ebe5;--green: #1c624c;--pale: #edf3ed;--sidebar: #fcfdfb;--soft: #f6f8f4;--shadow: 0 2px 3px #293a3502;line-height:1.65;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:var(--green);text-decoration:none}a:hover{text-decoration:none}a,button,input,select,textarea{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b99b49}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.5;font-weight:700;letter-spacing:.015em}h2{font-size:16px;font-weight:700;line-height:1.5}h3{font-size:14px;font-weight:650}small,.small{font-size:12px}.muted{color:var(--muted)}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.wide{width:100%}.space-top{margin-top:27px}.caption{font-size:10px;color:var(--muted);margin-top:12px}.text-link{border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--green);font-weight:600;cursor:pointer}.text-link:hover{color:#3e8b6f}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid transparent;border-radius:7px;padding:11px 19px;background:var(--green);color:#fff;font-weight:600;font-size:13px;line-height:1.5;transition:background .15s,transform .15s}.button:hover:not(:disabled){background:#26745a;transform:translateY(-1px)}.button.secondary{background:var(--surface);color:var(--text);border-color:var(--line)}.button.secondary:hover:not(:disabled){background:var(--pale)}.button.ghost{background:transparent;color:var(--muted);padding-inline:12px}.button.ghost:hover{background:var(--pale);color:var(--green)}.button.disabled{opacity:.6}.button.review-selected{background:var(--pale);border-color:#b8d3ba;color:var(--green)}.selected.button{border-color:var(--green);background:var(--pale);color:var(--green)}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;background:transparent;color:var(--muted);min-width:30px;min-height:30px;padding:5px}.icon-button:hover{background:var(--pale);color:var(--text)}.card{background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}.padded{padding:25px;margin-bottom:22px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.16em;color:var(--muted);margin-bottom:10px}.pill{display:inline-flex;align-items:center;padding:3px 8px;font-size:9px;font-weight:650;letter-spacing:.07em;background:var(--soft);color:var(--muted);border-radius:4px;white-space:nowrap}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-top h2{display:flex;align-items:center;gap:8px}.section-top h2>svg{color:var(--green)}.app-layout{min-height:100vh}.sidebar{width:235px;background:var(--sidebar);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:34px 20px 0;z-index:30;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 4px;color:var(--text);font-size:16px;font-weight:700;letter-spacing:.015em;white-space:nowrap}.brand-icon{width:35px;height:39px;border-radius:9px;display:grid;place-items:center;background:var(--green);color:#fff}.brand small{display:block;color:var(--muted);font-size:7px;letter-spacing:.19em;font-weight:500;margin-top:2px}.workspace-label{font-size:9px;letter-spacing:.14em;font-weight:650;color:#9ba49b;margin:47px 12px 14px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:6px;color:#758077;font-size:12px;margin:4px 0;min-height:44px}.nav-item:hover{background:var(--soft);color:var(--green)}.nav-item.active{color:var(--green);background:#e9f0e8;font-weight:700}.nav-badge{margin-left:auto;padding:0 6px;background:#d7e4d6;border-radius:4px;font-size:10px}.manage-label{margin-top:32px}.sidebar-bottom{margin-top:auto;padding-top:40px}.private-label{border:1px solid var(--line);border-radius:7px;padding:13px 11px;display:flex;gap:9px;color:#718574;align-items:center;font-size:10px;line-height:1.6}.private-label>svg{flex-shrink:0}.private-label small{display:block;font-size:8px;color:#9ca69c}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:22px;padding:23px 0}.avatar{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e9eee4;color:#7b8d6e}.profile strong{font-size:10px}.profile small{display:block;font-size:8px;color:var(--muted)}.profile .icon-button{margin-left:auto;min-width:22px}.app-body{margin-left:235px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 39px;background:var(--surface);gap:15px}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:10px;color:var(--muted)}.breadcrumb strong{color:var(--text);font-weight:500}.sync-status{display:flex;align-items:center;gap:7px;font-size:10px;color:#6e8773;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#7f9a77}.sync-status.idle .status-dot{background:#b3b9af}.sync-status.failed{color:#b47547}.sync-status.failed .status-dot{background:#bc8754}.sync-status.offline{color:#9a8b64}.sync-status.syncing .status-dot{animation:pulse 1s infinite}.sync-status .icon-button{margin-left:3px}.pending{font-size:9px;color:var(--muted)}.main-content{padding:34px 39px 28px;max-width:1450px;margin:0 auto;min-height:calc(100vh - 130px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading h1{margin-bottom:8px}.page-heading p{color:var(--muted);font-size:12px}.date-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);white-space:nowrap;margin-top:17px}.setup-banner{display:flex;align-items:center;gap:12px;border:1px solid #dce6d6;background:#f0f5eb;padding:12px 16px;border-radius:8px;margin-bottom:22px}.setup-banner strong{font-size:11px}.setup-banner p{font-size:10px;color:#85927c;margin-top:2px}.setup-icon{color:#6b8964;display:flex}.setup-banner>a{display:flex;gap:6px;align-items:center;font-size:10px;font-weight:600;margin-left:auto;white-space:nowrap}.home-top{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:22px}.quick-card{background:#195c48;border:1px solid #195c48;border-radius:11px;padding:27px 31px 20px;color:#fff;position:relative;overflow:hidden;box-shadow:0 4px 12px #163e3510}.quick-eyebrow{font-size:9px;letter-spacing:.14em;display:flex;align-items:center;gap:7px;color:#c2d6bd;font-weight:500;position:relative}.quick-card h2{font-size:30px;font-weight:650;letter-spacing:.03em;line-height:1.8;margin-top:12px;position:relative}.quick-card h2>span{font-size:48px;letter-spacing:-.04em;margin:0 7px 0 8px;font-weight:600}.quick-description{font-size:11px;color:#c5d6ca;position:relative;margin-top:0;margin-bottom:22px}.quick-form{max-width:430px;position:relative}.quick-form label,.mode-field legend{color:#c4d9ca;font-size:10px;font-weight:500;margin-bottom:6px}.quick-form select{height:41px;background:#24664f;border:1px solid #51826a;color:#f1f5ed;padding:0 12px;font-size:11px;border-radius:5px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.quick-form option{background:#fff;color:#293a35}.quick-form .mode-field{margin:14px 0 18px}.mode-field legend{padding:0;margin-bottom:7px}.mode-switch{display:flex;border:1px solid #51826a;border-radius:5px;overflow:hidden;background:#24664f;gap:3px;padding:3px}.mode-switch button{background:transparent;color:#c2d4c5;border:0;border-radius:3px;min-height:36px;display:flex;justify-content:center;align-items:center;gap:8px;flex:1;font-size:11px;padding:4px 6px}.mode-switch button.selected{background:#f6f8ed;color:#255942;font-weight:700;box-shadow:0 1px 3px #103d3c20}.ox-icon{letter-spacing:1px;font-size:17px;font-weight:500;line-height:1}.start-button{background:#e2e9ae;color:#284a36;width:100%;border:0;min-height:44px;border-radius:5px;font-size:12px;font-weight:700}.start-button:hover:not(:disabled){background:#edf3c0;color:#23432f}.start-button>svg{margin-left:auto}.quick-notes{display:flex;gap:16px;flex-wrap:wrap;margin-top:17px;font-size:9px;color:#a9c7b1}.quick-notes>span{display:flex;gap:3px;align-items:center}.quick-decoration{position:absolute;right:-8px;top:22px;width:180px;height:170px;transform:rotate(-10deg);opacity:.38;pointer-events:none}.quick-decoration>span{position:absolute;font-size:66px;color:#a7bd83;font-family:Georgia,serif;line-height:1}.quick-decoration>span:first-child{left:20px;top:10px}.quick-decoration>span:nth-child(2){left:102px;top:56px;font-size:72px;color:#6d9c7d}.quick-decoration>i{position:absolute;left:68px;top:114px;height:1px;width:45px;background:#85ad87;transform:rotate(-30deg)}.quick-decoration>i:last-child{left:0;top:90px;width:16px;transform:rotate(50deg)}.daily-card{padding:26px 23px 20px;text-align:center;display:flex;flex-direction:column;align-items:center}.daily-card .section-top{width:100%;margin-bottom:20px}.daily-card h2{font-size:13px}.daily-card h3{font-size:12px;margin-top:20px}.daily-card>.small{margin-top:6px;font-size:10px}.goal-circle{width:145px;height:145px;border-radius:50%;padding:9px;background:conic-gradient(#47765a var(--progress),#edf1e8 0);position:relative;margin-top:2px}.goal-circle>div{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--surface);border-radius:50%}.goal-circle strong{font-weight:500;font-size:43px;line-height:1.3;letter-spacing:-1px}.goal-circle strong>span{font-size:17px;color:#a8b1a3;letter-spacing:0}.goal-circle small{font-size:9px;color:var(--muted);margin-top:6px}.daily-tip{width:100%;margin-top:auto;padding:17px 8px 0;border-top:1px solid var(--line);display:flex;gap:9px;align-items:center;justify-content:center;color:#7e927b}.daily-tip p{font-size:9px;line-height:1.9;text-align:left}.daily-card>.small{margin-bottom:19px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:23px 0}.stat-card{padding:18px 20px 16px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7b877d}.stat-icon{height:29px;width:29px;display:grid;place-items:center;border-radius:6px}.green{background:#eef4e9;color:#7c9b60}.blue{background:#eaf1f5;color:#78a0b5}.orange{background:#faf0df;color:#bd9b5b}.purple{background:#f1edf7;color:#a08aba}.stat-value{font-size:30px;line-height:1.5;font-weight:600;letter-spacing:-.02em;margin-top:3px}.stat-value small{font-size:11px;font-weight:400;margin-left:8px;color:var(--muted)}.stat-card>p{font-size:9px;color:var(--muted);margin-top:4px}.home-lower{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.subjects-card{padding:23px 23px 16px}.subjects-card .section-top{margin-bottom:11px}.subjects-card h2,.activity-card h2{font-size:13px}.subjects-card .text-link,.activity-card .text-link{font-size:10px}.subject-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--text)}.subject-row:last-child{border-bottom:0}.subject-row:hover{background:var(--soft)}.subject-number{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;font-size:10px;font-weight:600;background:#eff3e8;color:#90a16f;flex-shrink:0}.subject-1{background:#edf2f5;color:#7e9bac}.subject-2{background:#f6f0e5;color:#b19c6a}.subject-3{background:#edf3ef;color:#7d9b8d}.subject-4{background:#f1edf5;color:#9c8aad}.subject-5{background:#eaf2f1;color:#7eaaa0}.subject-6{background:#f7eeea;color:#b99685}.subject-name{flex:1;min-width:0}.subject-name strong{font-size:11px;font-weight:500}.subject-progress{height:3px;background:#f0f2ec;border-radius:3px;margin-top:7px;width:85%;overflow:hidden}.subject-progress>span{display:block;height:100%;background:#97b18a;border-radius:3px}.subject-count{font-size:12px;color:#7b8779}.subject-count>small{font-size:9px}.subject-row>svg{color:#b2bbb0}.lower-side{display:flex;flex-direction:column;gap:18px}.activity-card{padding:23px;min-height:245px;flex:1}.activity-empty{text-align:center;padding:17px 0 20px}.activity-empty>span{display:inline-grid;place-items:center;width:51px;height:51px;border-radius:50%;background:var(--soft);color:#a8b8a0;margin-bottom:13px}.activity-empty h3{font-size:11px;font-weight:500;color:#87927e}.activity-empty p{font-size:10px;color:#a2aaa0;line-height:1.9;margin-top:6px}.import-teaser{display:flex;align-items:center;gap:12px;padding:20px;border:1px solid #e2e9dc;background:#f0f4e9;border-radius:9px;color:#536c49}.import-teaser-icon{height:39px;width:39px;border-radius:8px;background:#e6eecf;color:#8aa45c;display:inline-grid;place-items:center;flex-shrink:0}.import-teaser strong{font-size:11px;font-weight:650}.import-teaser p{font-size:9px;color:#8f9d80;margin-top:3px}.import-teaser>svg{margin-left:auto;flex-shrink:0}.offline-hint{display:flex;align-items:flex-start;justify-content:center;gap:7px;color:#899a7f;padding:8px 12px}.offline-hint p{font-size:10px;line-height:1.85}.offline-hint p>span{color:#a0ab98;font-size:9px}.offline-hint>svg{margin-top:2px}.activity-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0}.activity-row:last-child{border-bottom:0}.activity-row strong{display:block;font-size:10px;font-weight:600}.activity-row small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.activity-row>span:last-child{margin-left:auto;font-size:9px;white-space:nowrap}.result-icon{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:50%;flex-shrink:0}.result-icon.correct{background:#edf4e9;color:#6e9663}.result-icon.incorrect{background:#f7ece6;color:#bd8b75}.footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin:0 39px;padding:19px 0 21px;color:#a3ada1;font-size:9px;gap:15px}.footer>span:first-child{font-weight:600}label{display:block;font-size:12px;font-weight:600;margin-bottom:16px}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;margin-top:7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:11px 12px;font-size:13px;line-height:1.6}textarea{resize:vertical;min-height:82px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin:0}input::placeholder{color:#a6afa4}fieldset{margin:0 0 20px;padding:0;border:0;min-width:0}legend{font-size:12px;font-weight:600;margin-bottom:10px;padding:0}.check-label{display:flex;gap:9px;align-items:center;font-weight:400;font-size:12px;margin:15px 0;min-height:30px}.notice{display:flex;gap:10px;align-items:flex-start;background:var(--pale);border:1px solid var(--line);border-radius:7px;padding:13px 15px;margin:18px 0;color:var(--green);font-size:12px}.notice>svg{flex-shrink:0;margin-top:2px}.notice.warning{background:#fbf5e8;color:#9a7540;border-color:#ede0c3}.notice.success{background:#edf5e9;color:#507742}.notice a{text-decoration:underline}.error-text,.danger-text{color:#b46a55!important}.warning-text{color:#a38950}.danger{background:#b26c58}.toast{position:fixed;top:15px;left:50%;transform:translate(-50%);z-index:100;background:var(--surface);color:#a05443;border:1px solid #d9a99b;padding:13px 14px 13px 20px;border-radius:8px;display:flex;align-items:center;gap:15px;box-shadow:0 5px 20px #0002;max-width:min(90vw,650px);overflow-wrap:anywhere;font-size:13px}.sync-error{background:#fbf1e2;color:#96794b;font-size:11px;padding:10px 39px}.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty>svg{color:#a4b29a;margin-bottom:14px}.empty h3{font-size:15px;color:var(--text);margin-bottom:10px}.empty p{font-size:12px;line-height:1.9;margin-bottom:17px}.busy{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40vh;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.3}}.mobile-only,.mobile-menu,.sidebar-backdrop{display:none}.login-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 25% 15%,#e8f0de,transparent 60%);gap:24px;padding:25px}.login-brand{display:flex;align-items:center;gap:13px;font-size:21px;font-weight:700;color:var(--green)}.login-card{max-width:420px;width:100%;padding:35px}.login-card h1{font-size:25px;margin-bottom:9px}.login-card form{margin-top:26px}.login-card>.small{display:flex;gap:7px;align-items:flex-start;margin-top:20px;font-size:10px}.login-card .button{margin-top:5px}.error-boundary{max-width:650px;padding:40px;margin:50px auto}.error-boundary p{margin:20px 0}.practice-card{max-width:730px;padding:28px;margin-bottom:20px}.practice-card>label{margin-bottom:22px}.practice-modes{display:flex;flex-direction:column;gap:10px}.practice-mode{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid var(--line);border-radius:7px;background:var(--surface);text-align:left;min-height:80px}.practice-mode>span{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:var(--soft);color:var(--muted);font-size:19px}.practice-mode strong{font-size:13px}.practice-mode p{font-size:11px;color:var(--muted);margin-top:4px}.practice-mode>svg{margin-left:auto;color:var(--green);flex-shrink:0}.practice-mode.selected{background:var(--pale);border-color:#8eae8f}.practice-mode.selected>span{background:#dce9d9;color:var(--green)}.pool-count{border-top:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.pool-count strong{font-size:22px;margin-right:6px}.resume-notice{align-items:center;max-width:730px;margin-top:0;margin-bottom:24px}.resume-notice>div{flex:1}.resume-notice p{font-size:11px;color:var(--muted);margin-top:4px}.study-page{max-width:800px;margin:0 auto}.study-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}.study-toolbar>.small{display:flex;align-items:center;gap:6px;font-size:10px}.study-progress{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.study-progress>span{font-size:11px;letter-spacing:.07em;color:var(--muted)}.study-progress strong{font-size:22px;color:var(--green);margin:0 3px}.study-progress>div{display:flex;gap:5px;max-width:60%;flex:1;justify-content:flex-end}.study-progress>div>span{height:5px;max-width:37px;flex:1;background:var(--line);border-radius:3px}.study-progress .done{background:#629372}.study-progress .current{background:#b3c591}.study-progress .skipped{background:#dfc69c}.question-card{padding:29px}.question-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:18px}.subject-tag{display:inline-block;background:var(--pale);padding:3px 8px;border-radius:4px;font-size:10px;color:var(--green);font-weight:500}.question-text{font-size:17px;line-height:1.95;font-weight:550;margin-bottom:24px;letter-spacing:.02em}.statement{padding:20px 0;border-top:1px solid var(--line)}.statement-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:17px}.statement-id{height:24px;min-width:24px;background:var(--soft);color:var(--muted);border-radius:5px;display:grid;place-items:center;font-size:11px}.statement-heading p{font-size:14px;line-height:1.9}.judgment-choices{display:flex;gap:9px;margin-left:36px}.judgment-choices button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);min-height:48px;font-size:11px}.judgment-choices strong{font-size:25px;line-height:1;font-weight:500}.judgment-choices button:last-child strong{font-size:22px}.judgment-choices button.selected{color:var(--green);border-color:#759b77;background:var(--pale)}.judgment-choices button:disabled,.normal-option:disabled{opacity:.85}.statement-result{padding:13px 15px;margin:17px 0 0 36px;border-radius:6px;background:var(--pale);font-size:12px}.statement-result.incorrect{background:#faf1e8}.statement-result>strong{display:flex;align-items:center;gap:6px;color:var(--green);font-size:12px;flex-wrap:wrap}.statement-result.incorrect>strong{color:#a97f55}.statement-result strong>span{margin-left:auto;font-weight:500}.statement-result>p{margin-top:7px;color:var(--text);line-height:1.9}.normal-options{display:flex;flex-direction:column;gap:11px}.normal-option{display:flex;align-items:center;gap:15px;padding:15px;border:1px solid var(--line);border-radius:6px;background:var(--surface);text-align:left;font-size:14px;min-height:58px}.normal-option>span{width:28px;height:28px;display:grid;place-items:center;border-radius:5px;background:var(--soft);color:var(--muted);flex-shrink:0}.normal-option>p{flex:1}.normal-option.selected{border-color:#739579;background:var(--pale);color:var(--green)}.normal-option.answer-correct{border-color:#5a9269}.normal-option.answer-correct>svg{color:#5a9269;flex-shrink:0}.unknown-button{align-self:flex-start;margin-top:4px}.explanation{background:var(--pale);border:1px solid #d6e4d0;border-radius:8px;padding:22px;margin-top:25px}.explanation.incorrect{background:#fbf6ed;border-color:#eee4d1}.explanation h2{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--green);margin-bottom:15px}.explanation.incorrect h2{color:#9b7d4f}.explanation>p{font-size:13px;line-height:1.9;margin-top:10px}.question-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:23px 0;margin-top:20px;border-top:1px solid var(--line)}.question-footer>small{font-size:10px;text-align:right}.grade-actions{display:grid;grid-template-columns:1fr 2fr;gap:12px}.results-page{max-width:620px;margin:10px auto 30px;text-align:center}.results-symbol{display:inline-grid;place-items:center;background:#e9efde;color:#7c995f;border-radius:50%;height:73px;width:73px;margin-bottom:23px}.results-page>.muted{font-size:12px;margin-top:10px}.result-card{margin-top:26px;padding:30px}.result-score strong{font-size:60px;color:var(--green);line-height:1.4}.result-score strong>span{font-size:28px;color:var(--muted);font-weight:400}.result-score p{font-size:11px;color:var(--muted)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin:22px 0}.result-grid strong{font-size:22px;font-weight:550;display:block}.result-grid small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.result-actions{display:flex;flex-direction:column;gap:12px}.review-control>.notice{display:block}.review-control .conflict-row{border-bottom:1px solid var(--line);padding:10px 0;font-size:11px}.review-control .notice>p{margin-top:8px}.review-row{display:flex;gap:13px;padding:20px 0;border-top:1px solid var(--line);align-items:center}.review-row>svg{color:#9aab76;flex-shrink:0}.review-row>div{flex:1}.review-row p{font-size:13px;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-stats .stat-card>span{font-size:11px;color:var(--muted)}.history-list details{border-bottom:1px solid var(--line)}.history-list summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:18px 0}.history-list summary>div{flex:1}.history-list summary strong{font-size:13px}.history-list summary small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.result-label{font-size:11px;color:var(--muted)}.history-detail{padding:15px 20px 22px;background:var(--soft);border-radius:7px;margin-bottom:18px}.history-detail p{font-size:12px;margin-bottom:13px}.import-card{padding:24px;margin-bottom:22px}.import-intro{display:flex;align-items:center;gap:14px;margin-bottom:20px}.import-intro p{font-size:11px;color:var(--muted);margin-top:5px}.import-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:17px 0}.import-actions+.small{font-size:10px}.preview-rows{max-height:370px;overflow:auto;border:1px solid var(--line);border-radius:6px;margin:17px 0}.preview-row{padding:13px;border-bottom:1px solid var(--line)}.preview-row:last-child{border-bottom:0}.preview-row>div{display:flex;align-items:flex-start;gap:12px}.preview-row strong{font-size:12px;font-weight:500}.preview-row p{margin-top:8px}.error-pill{background:#f7e7df;color:#b46a55}.search-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:15px;align-items:center;margin-bottom:20px}.search-toolbar>select{margin:0;font-size:12px}.search-box{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:0 13px;margin:0;font-weight:400;color:var(--muted)}.search-box>input{margin:0;border:0;padding-left:0;background:transparent;font-size:12px;min-height:43px}.question-list .manager-row{padding:20px 0;border-top:1px solid var(--line)}.manager-row>div:first-child{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.manager-row h3{margin:14px 0 9px;line-height:1.9;font-size:14px;font-weight:500}.manager-row-actions{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:16px}.manager-row-actions .button{font-size:11px;min-height:38px;padding:8px 12px}.editor-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 20px 80px #182b3433}.editor-dialog::backdrop{background:#182b3466;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.editor-heading,.editor-footer{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-heading{border-bottom:1px solid var(--line)}.editor-heading .eyebrow{margin-bottom:4px}.editor-body{padding:22px 25px;overflow:auto;max-height:calc(90dvh - 170px)}.editor-body>.small{margin-bottom:20px;font-size:10px}.editor-body h3{margin:23px 0 13px}.editor-body .section-top{margin-bottom:10px}.editor-body .section-top h3{margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.option-editor{display:flex;gap:12px;align-items:center;margin-bottom:10px}.option-editor>label{margin:0;min-width:45px}.option-editor>input{margin:0;font-size:12px}.statement-editor{border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:17px;margin-bottom:15px}.editor-footer{border-top:1px solid var(--line);background:var(--surface)}.delete-zone{margin-top:24px;color:#b27a61;font-size:11px}.delete-zone summary{cursor:pointer}.delete-zone p{margin-top:15px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.settings-grid>.card{margin-bottom:0}.settings-details{margin:25px 0}.settings-details>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.settings-details dt{color:var(--muted)}.settings-details dd{margin:0;text-align:right}.theme-options{display:flex;gap:12px;margin-top:23px}.theme-options>.button{flex:1}.backup-section{grid-column:1/-1}.backup-section>p{margin-top:12px}.restore-preview{border:1px solid #cad9bd;background:var(--soft);border-radius:8px;padding:20px;margin-top:25px}.restore-preview p{margin:12px 0}.restore-counts{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px}.restore-counts strong{font-size:18px;margin-left:5px}.setup-steps{padding-left:28px;margin:24px 0}.setup-steps li{padding-left:8px;margin-bottom:25px}.setup-steps li::marker{color:#87a178;font-size:16px;font-weight:600}.setup-steps strong{font-size:13px}.setup-steps p{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.95}code{font-family:Consolas,monospace;font-size:11px;background:var(--pale);border-radius:4px;padding:2px 5px;color:var(--green);overflow-wrap:anywhere}[data-theme=dark]{color-scheme:dark;--bg: #19231f;--surface: #212e28;--text: #e2e8df;--muted: #9da99b;--line: #354338;--green: #8fbd93;--pale: #2f4434;--sidebar: #1d2922;--soft: #26362b;background:var(--bg);color:var(--text)}[data-theme=dark] .button:not(.secondary):not(.ghost):not(.review-selected):not(.start-button){background:#477c59;color:#f6fff2}[data-theme=dark] .nav-item.active,[data-theme=dark] .nav-item:hover{background:#314532;color:#c0d5b2}[data-theme=dark] .setup-banner,[data-theme=dark] .import-teaser{background:#2d3f2c;border-color:#41553c;color:#b9cfa1}[data-theme=dark] .setup-banner p,[data-theme=dark] .import-teaser p{color:#acb899}[data-theme=dark] .subject-progress,[data-theme=dark] .goal-circle{background:#354438}[data-theme=dark] .subject-number,[data-theme=dark] .avatar,[data-theme=dark] .import-teaser-icon{background:#36452f;color:#b8c99a}[data-theme=dark] .stat-icon{background:#304235;color:#a8bea1}[data-theme=dark] .explanation,[data-theme=dark] .statement-result{background:#2c4231;border-color:#426244}[data-theme=dark] .explanation.incorrect,[data-theme=dark] .statement-result.incorrect,[data-theme=dark] .notice.warning{background:#433e2d;border-color:#68603d;color:#d8c9a6}[data-theme=dark] .login-layout{background:var(--bg)}[data-theme=dark] .result-icon{background:#344b35;color:#b5caa3}[data-theme=dark] .result-icon.incorrect{background:#4a3b30;color:#d0aa8b}@media(min-width:1500px){.sidebar{width:255px}.app-body{margin-left:255px}.main-content{padding:42px 50px}.topbar{padding-inline:50px}.quick-card{padding:32px 36px 24px}.quick-form{max-width:480px}.daily-card{padding:30px}.goal-circle{width:165px;height:165px}.home-top{grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr)}.quick-notes{margin-top:22px}.stats-grid{margin:26px 0}.stat-card{padding:21px 24px}.subject-row{padding:14px 0}}@media(max-width:1190px){.sidebar{width:205px;padding-inline:14px}.app-body{margin-left:205px}.brand{font-size:14px;gap:8px}.brand-icon{width:32px;height:35px}.brand small{font-size:6px}.main-content{padding:28px 25px}.topbar{padding-inline:25px}.page-heading h1{font-size:24px}.date-badge{display:none}.quick-card{padding:25px}.home-top{gap:17px;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr)}.quick-form{max-width:100%}.quick-decoration{right:-45px;top:28px;opacity:.25}.quick-notes{gap:9px;font-size:8px}.daily-card{padding:23px 17px}.daily-card .section-top{gap:7px}.daily-card .pill{font-size:8px}.goal-circle{width:135px;height:135px}.daily-card h3{font-size:11px}.daily-card>.small{font-size:9px}.stat-card{padding:16px}.stats-grid{gap:12px}.home-lower{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:17px}.subject-row{gap:9px}.subject-name strong,.subject-count{font-size:10px}.subjects-card,.activity-card{padding:20px 18px}.subjects-card .section-top .text-link{font-size:9px}.stat-card>p{font-size:8px}.stat-top{font-size:9px}.import-teaser{padding:17px 14px;gap:9px}.import-teaser p{font-size:8px}.footer{margin-inline:25px}}@media(max-width:960px){.home-top{grid-template-columns:minmax(0,1fr)}.daily-card{display:none}.quick-form{max-width:100%}.quick-decoration{right:6px;top:18px;opacity:.3}.home-lower{grid-template-columns:1fr}.lower-side{display:grid;grid-template-columns:1fr}.activity-card{min-height:220px}.activity-empty{padding:12px 0}.stats-grid{grid-template-columns:1fr 1fr;gap:14px}.stat-card{padding:17px 20px}.stat-top{font-size:11px}.stat-card>p{font-size:10px}.subject-name strong{font-size:12px}.subject-row{padding:14px 0}.subject-count{font-size:12px}.subjects-card .section-top .text-link{font-size:11px}.import-teaser p{font-size:10px}.import-teaser strong{font-size:13px}.settings-grid{grid-template-columns:1fr}.backup-section{grid-column:auto}.search-toolbar{grid-template-columns:1fr}.manager-row-actions{align-items:flex-start}.resume-notice{flex-wrap:wrap}.resume-notice>.button{margin-left:30px}.question-footer,.pool-count{flex-wrap:wrap}.page-heading{margin-bottom:23px}}@media(max-width:700px){:root{font-size:14px}.sidebar{transform:translate(-100%);transition:transform .2s;width:247px;padding:25px 20px 0;box-shadow:none}.sidebar.open{transform:translate(0);box-shadow:10px 0 35px #1234}.sidebar-backdrop.visible{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#132e3766;border:0;border-radius:0;z-index:29}.sidebar .brand{font-size:16px}.sidebar .brand small{font-size:7px}.nav-item{font-size:13px;min-height:47px}.sidebar-bottom{padding-top:25px}.app-body{margin-left:0}.mobile-menu{display:inline-flex;min-height:40px;min-width:36px;margin-left:-8px}.desktop-only{display:none!important}.topbar{height:62px;padding:0 21px;gap:7px}.breadcrumb{gap:8px;font-size:12px}.sync-status{font-size:10px;gap:5px}.sync-status .icon-button{min-width:34px;min-height:38px}.pending{font-size:8px}.main-content{padding:26px 20px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:23px;line-height:1.7}.page-heading p{font-size:11px;line-height:1.9}.page-heading .eyebrow{font-size:9px;margin-bottom:7px}.setup-banner{padding:12px;gap:10px;flex-wrap:wrap;margin-bottom:19px}.setup-banner>div{flex:1}.setup-banner strong{font-size:11px}.setup-banner p{font-size:10px}.setup-banner>a{margin-left:31px;font-size:10px;min-height:25px}.quick-card{padding:24px 23px 21px;border-radius:10px}.quick-eyebrow{font-size:8px;letter-spacing:.13em}.quick-card h2{font-size:28px;margin-top:13px}.quick-card h2>span{font-size:46px}.quick-description{font-size:11px;line-height:1.9;margin:3px 0 20px}.quick-description .mobile-only{display:none}.quick-form label,.mode-field legend{font-size:11px}.quick-form select{height:45px;font-size:12px}.mode-switch button{font-size:11px;min-height:40px;gap:7px}.quick-form .mode-field{margin:15px 0 19px}.start-button{min-height:49px;font-size:13px}.quick-notes{gap:9px;justify-content:space-between;font-size:8px;margin-top:19px}.quick-notes svg{width:11px}.quick-decoration{right:-35px;top:25px;opacity:.26}.stats-grid{margin:19px 0;gap:12px}.stat-card{padding:16px}.stat-top{font-size:10px}.stat-icon{height:26px;width:26px}.stat-icon>svg{width:16px}.stat-value{font-size:29px;margin-top:7px}.stat-card>p{font-size:8px;margin-top:3px}.home-lower{gap:19px}.subjects-card,.activity-card{padding:21px 18px 17px}.subjects-card h2,.activity-card h2{font-size:13px}.subject-name strong{font-size:11px}.subject-row{gap:10px;padding:13px 0}.subject-progress{width:90%}.subject-number{width:29px;height:29px;font-size:10px}.subject-count{font-size:11px}.subject-count>small{font-size:9px}.subject-row>svg{width:14px}.subjects-card .text-link,.activity-card .text-link{font-size:10px}.lower-side{gap:16px}.activity-card{min-height:240px}.activity-empty h3{font-size:12px}.activity-empty p{font-size:11px}.import-teaser{padding:19px;gap:12px}.import-teaser strong{font-size:12px}.import-teaser p{font-size:9px}.offline-hint p{font-size:11px}.footer{margin:0 20px;padding:19px 0;flex-direction:column;align-items:flex-start;gap:6px;font-size:9px}.padded,.import-card{padding:20px}.import-intro{gap:12px}.import-intro h2{font-size:14px}.import-intro p{font-size:10px}.import-actions{gap:8px}.import-actions .button{font-size:11px;padding-inline:12px;min-height:44px}.import-actions .button:first-child{flex:1 0 100%}.practice-card{padding:21px}.practice-card .section-top h2{font-size:14px}.practice-card .section-top .pill{font-size:8px}.practice-mode{padding:13px;gap:11px}.practice-mode p{font-size:10px}.practice-mode strong{font-size:12px}.practice-mode>span{width:33px;height:37px;font-size:17px}.pool-count{font-size:11px}.pool-count .small{font-size:10px}.study-toolbar{margin-bottom:22px;align-items:flex-start}.study-toolbar .text-link{font-size:11px;min-height:35px}.study-toolbar>.small{font-size:8px;min-height:35px;gap:3px}.study-toolbar>.small>svg{width:12px}.study-progress>span{font-size:9px}.study-progress strong{font-size:20px}.study-progress>div{gap:4px;max-width:55%}.question-card{padding:21px 18px}.question-meta{font-size:9px;gap:8px}.question-text{font-size:16px;line-height:1.95}.statement-heading{gap:9px}.statement-heading p{font-size:14px}.statement-id{width:21px;min-width:21px;height:23px}.judgment-choices{margin-left:0;gap:7px}.judgment-choices button{flex-direction:column;gap:5px;min-height:66px;font-size:10px}.judgment-choices strong{font-size:26px}.statement-result{margin-left:0;padding:13px}.statement-result strong>span{font-size:10px}.statement-result>p{font-size:12px}.normal-option{padding:13px;gap:10px;font-size:13px}.normal-option>span{width:25px;height:25px;font-size:12px}.question-footer{gap:8px}.question-footer>.small{font-size:9px}.question-footer .button{font-size:11px;padding-inline:12px;min-height:44px}.grade-actions>.button{font-size:12px;padding-inline:10px;min-height:48px}.explanation{padding:17px}.explanation h2{font-size:14px}.explanation h2>svg{width:20px}.explanation>p{font-size:12px}.result-card{padding:23px}.results-page h1{font-size:24px}.result-grid{gap:20px 12px}.result-grid small{font-size:9px}.result-grid strong{font-size:21px}.history-list summary{gap:9px}.history-list summary strong{font-size:11px}.history-list summary small{font-size:9px}.result-label{font-size:10px}.history-detail{padding:15px}.history-stats .stat-card>span{font-size:10px}.history-stats .stat-card>p{font-size:9px}.manager-row h3{font-size:13px}.manager-row-actions .button{font-size:10px;padding-inline:10px;min-height:44px}.manager-row>.small{font-size:10px}.search-toolbar>select,.search-box>input{font-size:12px}.form-grid{grid-template-columns:1fr}.editor-dialog{width:calc(100vw - 20px);max-height:95dvh}.editor-heading,.editor-footer{padding:18px}.editor-body{padding:18px;max-height:calc(95dvh - 168px)}.editor-body>.small{font-size:9px}.option-editor>label{font-size:11px}.settings-details>div{font-size:10px}.setup-steps{padding-left:21px}.setup-steps li{padding-left:5px}.setup-steps strong{font-size:12px}.setup-steps p{font-size:11px}.setup-guide .pill{font-size:8px}.settings-grid{gap:18px;margin-bottom:18px}.settings-grid h2,.setup-guide h2{font-size:15px}.settings-grid>.card>p{font-size:11px}.restore-preview{padding:15px}.restore-counts{font-size:10px}.restore-counts strong{font-size:15px}.login-card{padding:27px}.login-brand{font-size:20px}.login-card h1{font-size:24px}.login-card>.muted{font-size:12px}.login-card .button{min-height:47px}.sync-error{padding:10px 20px;font-size:10px}.toast{font-size:12px;top:10px;max-width:calc(100vw - 24px);width:100%}.review-row p{font-size:12px}.notice{font-size:11px}.review-control .notice{padding:12px}.review-control .notice>strong{font-size:12px}.empty{padding:40px 10px}.empty h3{font-size:14px}.empty p{font-size:11px}label{font-size:12px}input:not([type=checkbox]),select,textarea{font-size:16px}.quick-form select{font-size:16px}.search-box>input{font-size:16px}.search-toolbar>select{font-size:16px}.option-editor>input{font-size:16px}.editor-body textarea,.editor-body select,.editor-body input,.restore-preview textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:700px){.topbar{height:calc(62px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);padding-left:max(21px,env(safe-area-inset-left,0px));padding-right:max(21px,env(safe-area-inset-right,0px))}.sidebar{padding-top:calc(25px + env(safe-area-inset-top,0px))}.footer{padding-bottom:calc(19px + env(safe-area-inset-bottom,0px))}.login-layout{padding-top:calc(25px + env(safe-area-inset-top,0px));padding-bottom:calc(25px + env(safe-area-inset-bottom,0px))}}
