:root{--paper:#f6f5f0;--white:#fff;--ink:#183043;--muted:#7d898d;--teal:#197c73;--teal-light:#e9f3ee;--line:#e4e7e2;--navy:#142d40;--red:#b65049;--red-light:#fbefec;--gold:#aa8750;--sidebar:224px;--radius:16px;--shadow:0 8px 30px #142d4007;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.4;cursor:default}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2c918d88;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0;background:none}p,h1,h2,h3,h4{margin:0}svg{display:block;flex:none}button svg{width:19px;height:19px}small{font-size:12px}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:34px 20px 22px;background:#fbfbf7;border-right:1px solid var(--line);z-index:20}.brand{display:flex;align-items:center;gap:12px;margin:0 9px 52px}.brand-mark{width:42px;height:46px;display:grid;place-items:center;color:#fff;background:var(--navy);font:25px "STKaiti","KaiTi",serif;border-radius:10px 10px 14px 4px}.brand strong{display:block;letter-spacing:2px;font-size:20px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:6px}.nav-caption{padding:0 16px;font-size:10px;color:#9aa19c;letter-spacing:2px;margin-bottom:17px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 16px;width:100%;border-radius:9px;font-size:14px;color:#68777a;text-align:left;transition:background .18s,color .18s}.nav-item svg{width:19px;height:19px;opacity:.8}.nav-item:hover{background:#eef1eb;color:var(--ink)}.nav-item.active{color:var(--teal);background:#e7f0e9;font-weight:600}.nav-count{margin-left:auto;min-width:23px;border-radius:5px;background:#ffffff9c;padding:2px 5px;text-align:center;font-size:10px;font-weight:500}.sidebar-note{margin:auto 14px 38px;padding-top:50px}.small-spark{font-size:28px;color:#b4bba7}.sidebar-note p{font-family:"STSong","SimSun",serif;font-size:20px;line-height:1.8;margin:10px 0 17px;color:#67766e}.sidebar-note small{font-size:10px;letter-spacing:1px;color:#a0a69d}.sidebar-bottom{border-top:1px solid var(--line);padding-top:18px}.save-indicator{display:flex;align-items:center;gap:6px;width:100%;padding:0;font-size:10px;text-align:left;line-height:1.6}.save-indicator span:nth-child(2){flex:1}.status-dot{width:6px;height:6px;background:#679e82;border-radius:50%;flex:none}.save-indicator[data-state=error] .status-dot,.save-indicator[data-state=conflict] .status-dot,.save-indicator[data-state=offline] .status-dot{background:#cf9952}.sidebar-bottom>small{display:block;font-size:9px;letter-spacing:1px;color:#a0a8a2;margin:7px 12px 0}.workspace{width:calc(100% - var(--sidebar));margin-left:var(--sidebar);min-width:0}.topbar{height:85px;margin:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.topbar>div{display:flex;align-items:center;gap:15px}.workspace-label{font-size:9px;letter-spacing:2px;color:#8c9591}.topbar-divider{height:12px;width:1px;background:#d3d9d1}.topbar-actions{gap:22px!important}.text-button{font-size:12px;color:#6a797b;padding:8px 0}.text-button span{margin-right:5px}.profile-badge{display:grid;place-items:center;background:#ebece3;border:1px solid #dedfd3;border-radius:50%;width:31px;height:31px;color:#71816c;font-size:11px}main{max-width:1420px;margin:auto;padding:38px 48px 54px;min-height:calc(100vh - 140px);outline:none}.page-footer{display:flex;align-items:center;justify-content:space-between;margin:0 48px;padding:21px 0;border-top:1px solid var(--line);color:#9ba29a;font-size:10px;letter-spacing:.5px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:29px}.eyebrow{font:10px Georgia,serif;letter-spacing:2.5px;color:var(--teal);text-transform:uppercase;margin-bottom:10px}.page-heading h1{font-size:27px;letter-spacing:1px;font-weight:600}.page-heading p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:10px}.heading-aside{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;white-space:nowrap}.heading-aside .tiny-dot{width:5px;height:5px;background:var(--teal);border-radius:50%}.hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:20px;margin-bottom:26px}.hero-main{position:relative;isolation:isolate;overflow:hidden;min-height:270px;padding:34px 36px;background:var(--navy);border-radius:var(--radius);color:#fff}.hero-main:before{content:"";position:absolute;right:-140px;top:-240px;width:530px;height:530px;border:1px solid #ffffff12;border-radius:50%;z-index:-1;box-shadow:0 0 0 60px #ffffff04,0 0 0 120px #ffffff03}.hero-top{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:2px;color:#afc8c3}.hero-top span{width:19px;height:1px;background:#91b5a8}.hero-main h2{font-family:"STSong","SimSun",serif;font-size:32px;font-weight:400;letter-spacing:2px;line-height:1.65;margin:17px 0 12px}.hero-main p{font-size:11px;color:#afbdc6;line-height:1.8;margin-bottom:25px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;min-height:43px;border-radius:7px;font-size:12px;font-weight:500;border:1px solid transparent;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button.primary{color:#fff;background:var(--teal);border-color:var(--teal)}.button.primary:hover{background:#126b64}.button.light{background:#e9f0df;color:#263d36}.button.secondary{background:#fff;border-color:#dce3dc;color:#3b595c}.button.ghost{color:var(--muted);border-color:var(--line)}.button.danger{background:var(--red-light);color:var(--red)}.button.small{min-height:34px;padding:8px 12px;font-size:11px}.button .arrow{margin-left:12px;font-size:17px;font-weight:400}.hero-side{background:#e9eee3;border:1px solid #e0e7da;border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;justify-content:space-between}.hero-side .eyebrow{font-size:9px;color:#7c8a6e;letter-spacing:2px}.hero-side h3{font-size:19px;font-weight:500;margin-bottom:11px}.hero-side p{font-size:11px;line-height:1.9;color:#7b8a78}.bank-count{display:flex;gap:28px;margin:22px 0}.bank-count strong{display:block;font:30px Georgia,serif;color:#3c5947}.bank-count span{font-size:10px;color:#87917f;margin-top:6px;display:block}.hero-side a,.hero-side button{align-self:flex-start;font-size:11px;color:#466d55;padding:0}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:0 0 34px}.stat-card{background:#fff;border:1px solid var(--line);padding:22px 23px;border-radius:12px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;font-size:11px;color:#81918f}.stat-top svg{width:16px;height:16px;color:#9baa9f}.stat-value{font:34px Georgia,"Times New Roman",serif;margin-top:15px;letter-spacing:-1px;color:#223c49}.stat-value small{font:11px "Microsoft YaHei",sans-serif;color:#9aa39c;margin-left:6px;letter-spacing:0}.stat-foot{font-size:10px;color:#9ba39b;margin-top:10px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;gap:15px}.section-title h2{font-size:17px;font-weight:600;letter-spacing:.5px}.section-title h2 small{font-size:10px;color:#99a39a;font-weight:400;letter-spacing:1px;margin-left:10px}.section-title button{font-size:11px;color:#7d8d84}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.module-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 22px;text-align:left;transition:border-color .18s,transform .18s;display:block;width:100%}.module-card:hover{border-color:#b0c9b9;transform:translateY(-2px)}.module-card-top{display:flex;align-items:center;gap:11px}.module-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:var(--module-bg,#edf2ec);color:var(--module-color,#6c8a71);font-family:Georgia,serif;font-size:15px}.module-card h3{font-size:13px;font-weight:500}.module-card .module-arrow{font-size:16px;color:#b0b9af;margin-left:auto}.module-card-sub{margin:17px 0 10px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#93a095}.module-card-sub strong{font-size:11px;color:#637f6d;font-weight:500}.progress-track{height:4px;background:#eef1ec;border-radius:4px;overflow:hidden}.progress-track span{display:block;height:100%;background:#5d9680;border-radius:4px;min-width:0}.module-card-foot{display:flex;justify-content:space-between;font-size:9px;color:#a5ada3;margin-top:10px}.dashboard-bottom{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-top:28px}.surface{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.surface h3{font-size:14px;font-weight:500}.activity-list{margin-top:18px}.activity-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #eff1eb}.activity-row:last-child{border:0;padding-bottom:0}.activity-date{font-size:10px;color:#9ca49c;width:40px}.activity-row h4{font-size:11px;font-weight:400;flex:1;line-height:1.7}.activity-row strong{font-size:11px;color:var(--teal);font-weight:400}.quiet-empty{padding:25px 8px;color:#9aa59c;font-size:11px;line-height:1.9}.start-links{margin-top:10px}.start-link{display:flex;width:100%;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #eff1eb;text-align:left}.start-link:last-child{border-bottom:0;padding-bottom:0}.start-link span{font-size:12px}.start-link small{display:block;font-size:10px;color:#9aa69e;margin-top:6px}.start-link b{font-weight:400;color:#9aa899}.filter-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:25px}.filter-bar label{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}select,input[type=number],input[type=search]{border:1px solid #dce3dc;background:#fcfdfa;color:var(--ink);border-radius:6px;padding:9px 30px 9px 12px;font-size:12px;max-width:100%}select{cursor:pointer}input[type=number]{width:90px;padding-right:8px}.filter-spacer{flex:1}.filter-count{color:#99a498;font-size:10px}.paper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.paper-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.paper-card-main{padding:25px 24px 19px;flex:1}.paper-meta{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.5px;color:#a1aa9e}.pill{display:inline-block;padding:4px 7px;border-radius:4px;background:#edf3eb;color:#62866e;font-size:9px;letter-spacing:0;white-space:nowrap}.pill.muted{background:#f3f3ee;color:#9aa092}.paper-year{font:43px Georgia,serif;color:#254250;margin-top:16px;line-height:1}.paper-card h3{font-size:16px;font-weight:500;margin:14px 0 9px}.paper-note{font-size:10px;color:#9aa596;min-height:17px;line-height:1.7}.paper-progress{margin-top:23px;display:flex;justify-content:space-between;font-size:10px;color:#92a08f;margin-bottom:9px}.paper-progress b{font-weight:400;color:#607f69}.paper-card-actions{display:flex;background:#fcfdf9;border-top:1px solid #edf0e9}.paper-card-actions button{width:50%;padding:15px 10px;font-size:11px;color:#517266}.paper-card-actions button:hover{background:#edf3eb}.paper-card-actions button+button{border-left:1px solid #edf0e9;color:#879183}.page-notice{font-size:11px;color:#96a08e;line-height:1.9;margin-top:23px}.drill-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px;align-items:start}.drill-modules{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.drill-module{padding:21px;display:flex;align-items:center;gap:13px;border:1px solid var(--line);background:#fff;border-radius:10px;text-align:left}.drill-module.active{border-color:#5e9b7c;background:#f0f7ef;box-shadow:0 0 0 1px #5e9b7c}.drill-module strong{display:block;font-size:13px;font-weight:500}.drill-module small{display:block;font-size:10px;color:#9aa592;margin-top:7px}.drill-settings{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}.drill-settings h3{font-size:16px;margin-bottom:25px;font-weight:500}.field{margin:0 0 22px}.field>label,.field-label{display:block;font-size:11px;color:#82907f;margin-bottom:10px}.field select{width:100%;min-width:0}.segmented{display:flex;gap:7px}.segmented button{flex:1;padding:10px 8px;border:1px solid var(--line);border-radius:6px;font-size:11px;color:#8a9787}.segmented button.active{border-color:#91b3a0;background:#eff5ec;color:#407259}.drill-settings .button{width:100%;margin-top:5px}.setting-hint{font-size:10px;line-height:1.9;color:#a0a99a;margin-top:16px}.module-summary{padding:25px;margin-top:20px;border-radius:12px;border:1px solid var(--line);background:#eeefe7;display:flex;gap:30px}.module-summary>div{flex:1}.module-summary span{font-size:10px;color:#8d9984}.module-summary strong{font:25px Georgia,serif;display:block;margin-top:10px;color:#5c7b61}.collection-top{display:flex;gap:14px;margin-bottom:22px;align-items:center}.collection-description{flex:1;font-size:12px;color:#8e9b89;line-height:1.8}.question-list{display:flex;flex-direction:column;gap:11px}.question-row{display:flex;align-items:center;gap:18px;padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:10px}.question-row-main{flex:1;min-width:0}.question-row-meta{display:flex;gap:10px;font-size:9px;color:#96a18f;margin-bottom:10px}.question-row-text{font-size:13px;line-height:1.9;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.question-row-text img{max-height:40px;max-width:100px;vertical-align:middle}.row-actions{display:flex;gap:8px;flex:none}.icon-button{display:inline-grid;place-items:center;width:33px;height:33px;border:1px solid #e0e6dc;border-radius:6px;color:#8d9c83;font-size:17px}.icon-button:hover{background:#f1f5ed}.empty-state{text-align:center;padding:70px 25px;border:1px dashed #d4ddcf;border-radius:14px;background:#fafbf6}.empty-symbol{font-size:36px;font-family:Georgia,serif;color:#a1b59c;margin-bottom:17px}.empty-state h2{font-size:18px;font-weight:500;margin-bottom:11px}.empty-state p{font-size:12px;color:#9ba491;line-height:1.9;margin-bottom:25px}.history-list{display:flex;flex-direction:column;gap:12px}.history-card{display:flex;align-items:center;gap:22px;background:#fff;padding:22px 25px;border:1px solid var(--line);border-radius:11px}.history-score{font:29px Georgia,serif;color:var(--teal);min-width:66px;text-align:center}.history-score small{font:10px "Microsoft YaHei",sans-serif;color:#9aa792;display:block;margin-top:6px}.history-content{flex:1}.history-content h3{font-size:14px;font-weight:500;margin-bottom:9px}.history-content p{font-size:10px;color:#98a38d;line-height:1.8}.practice-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:23px}.practice-breadcrumb{font-size:11px;color:#99a38f;line-height:1.8}.practice-breadcrumb strong{font-weight:500;color:#5e7962}.practice-actions{display:flex;gap:8px;align-items:center}.practice-top h1{font-size:18px;font-weight:500;margin-top:7px;line-height:1.6}.focus-button{font-size:11px;color:#71896d;border:1px solid #dbe2d6;border-radius:6px;padding:9px 11px;background:#fafcf7}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:21px;align-items:start}.question-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:29px 32px;min-width:0}.question-kicker{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#9aa68f;padding-bottom:22px;border-bottom:1px solid #e9eee3;margin-bottom:24px}.question-kind{display:flex;gap:8px;align-items:center}.question-kicker .pill{font-size:10px}.question-number{color:#436c4d}.question-number strong{font:24px Georgia,serif;margin-right:4px}.question-material{border:1px solid #e2e8dc;border-left:3px solid #91a880;border-radius:7px;background:#f8faf4;padding:20px 22px;margin-bottom:25px}.material-heading{display:flex;justify-content:space-between;font-size:11px;color:#6b8768;margin-bottom:16px;letter-spacing:1px}.material-heading small{font-size:9px;color:#a0ad94;letter-spacing:0}.rich-content{line-height:1.95;overflow-wrap:anywhere}.rich-content p{margin:0 0 .75em}.rich-content p:last-child{margin-bottom:0}.rich-content table{border-collapse:collapse;max-width:100%;display:block;overflow:auto;font-size:.9em}.rich-content td,.rich-content th{padding:8px;border:1px solid #dce3d4}.rich-content img{cursor:zoom-in;max-width:100%;height:auto;object-fit:contain;vertical-align:middle}.rich-content img.formula{min-height:1em;width:auto;max-height:3.3em;display:inline-block;margin:0 3px;vertical-align:middle;max-width:100%}.rich-content img.content-image{display:block;margin:15px auto;max-height:560px}.material-content{font-size:16px;color:#4c6050}.question-stem{font-size:20px;line-height:1.95;margin-bottom:26px;color:#273d43;letter-spacing:.1px}.options{display:flex;flex-direction:column;gap:12px}.option{display:flex;gap:15px;width:100%;padding:16px 18px;align-items:flex-start;border:1px solid #e4e8df;border-radius:8px;text-align:left;background:#fff;transition:background .12s,border-color .12s}.option:hover{background:#f8faf5;border-color:#b5c6a9}.option-key{display:grid;place-items:center;width:27px;height:27px;border-radius:6px;border:1px solid #dfe6d9;color:#8f9f83;font:15px Georgia,serif;flex:none;margin-top:2px}.option-content{font-size:18px;line-height:1.85;flex:1;min-width:0}.option-content img.content-image{margin:3px 0;max-height:260px}.option.selected{background:#f0f7ef;border-color:#639c7c}.option.selected .option-key{background:#65977a;color:#fff;border-color:#65977a}.option.is-correct{background:#edf7ef;border-color:#7fac81}.option.is-correct .option-key{background:#529766;border-color:#529766;color:#fff}.option.is-wrong{background:#fbf1ee;border-color:#ce9d94}.option.is-wrong .option-key{background:#be756b;border-color:#be756b;color:#fff}.option-result{font-size:15px;color:#5e936c;padding-top:7px}.option.is-wrong .option-result{color:#b26961}.question-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:11px;padding:22px 0 0;color:#9aa38e}.question-tools button{display:flex;gap:5px;align-items:center;font-size:11px;color:#8d9b80;padding:0}.question-tools button.marked{color:#ad8a43}.source-reference{margin-left:auto;font-size:9px;color:#afb4a6}.source-reference a{text-decoration:underline;text-underline-offset:3px}.question-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:24px;gap:10px}.question-controls .right-controls{display:flex;gap:10px}.explanation{margin-top:27px;padding:23px;background:#f4f7f0;border:1px solid #e1e9da;border-radius:8px}.answer-outcome{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #dfe8d7;padding-bottom:17px;margin-bottom:17px;font-size:12px;color:#73866b}.answer-outcome strong{color:#4f8d61;font-size:15px;font-weight:500}.answer-outcome.wrong strong{color:var(--red)}.answer-outcome .user-answer{margin-left:auto;font-size:11px;color:#95a08c}.explanation h3{font-size:11px;color:#829574;font-weight:500;letter-spacing:1px;margin-bottom:13px}.explanation .rich-content{font-size:16px;line-height:1.95;color:#586c51}.keyboard-tip{font-size:9px;color:#a2ac97;text-align:center;margin-top:18px;line-height:1.9}.keyboard-tip kbd{font:9px inherit;border:1px solid #dce3d4;border-radius:3px;padding:1px 4px;background:#fafcf6;margin:0 2px}.answer-sidebar{position:sticky;top:24px;display:flex;flex-direction:column;gap:15px}.answer-card{padding:22px 18px;background:#fff;border:1px solid var(--line);border-radius:11px}.answer-card-heading{display:flex;justify-content:space-between;font-size:12px;margin-bottom:21px}.answer-card-heading small{font-size:10px;color:#a0a993}.answer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:390px;overflow:auto;padding:2px}.answer-cell{min-width:0;padding:0;height:30px;display:grid;place-items:center;border:1px solid #e1e6d9;border-radius:5px;background:#fafcf6;color:#9aa88f;font:11px Georgia,serif}.answer-cell.current{box-shadow:0 0 0 2px #356c56;outline-offset:1px;border-color:transparent}.answer-cell.done{background:#e6f1e5;border-color:#d0e2c7;color:#5c8458}.answer-cell.correct{background:#e3f0e5;color:#4f8056;border-color:#c3dbc5}.answer-cell.wrong{background:#faece7;border-color:#e9cec3;color:#ad7664}.answer-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:9px;color:#9aa58f;border-top:1px solid #edf1e6;padding-top:16px;margin-top:21px}.answer-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;background:#f5f8ef;border:1px solid #dbe4d2;border-radius:2px}.legend-dot.done{background:#d1e4c8}.legend-dot.wrong{background:#efd0c4}.practice-overview{background:#eeefe5;border:1px solid #e4e7d9;border-radius:10px;padding:20px}.practice-overview h3{font-size:11px;color:#7d906e;font-weight:500;margin-bottom:15px}.practice-overview p{font-size:10px;line-height:1.9;color:#96a085}.practice-overview .button{width:100%;margin-top:15px}.timer-block{text-align:center;padding:22px 10px;border-bottom:1px solid var(--line);margin-bottom:20px}.timer-caption{font-size:10px;color:#96a38a}.timer-value{font:32px Georgia,serif;color:#456a4a;letter-spacing:2px;margin-top:10px}.timer-value.urgent{color:var(--red)}.exam-unanswered{font-size:10px;color:#9ba78e;margin-top:10px}.focus-mode .sidebar{display:none}.focus-mode .workspace{width:100%;margin:0}.focus-mode main{max-width:1480px}.focus-mode .topbar{height:60px}.focus-mode .page-footer{display:none}.save-warning{margin:20px 48px 0;padding:13px 17px;background:#fff7e9;border:1px solid #e8d9b9;border-radius:7px;color:#987a41;font-size:11px;line-height:1.9}.result-hero{display:flex;align-items:center;justify-content:space-between;gap:40px;background:var(--navy);color:#fff;padding:35px 38px;border-radius:14px;margin-bottom:24px}.result-hero .eyebrow{color:#a4c5b6}.result-hero h2{font-family:"STSong","SimSun",serif;font-size:27px;font-weight:400;margin-bottom:12px}.result-hero p{font-size:11px;color:#a3b6b3;line-height:1.9}.result-score{text-align:center;min-width:160px}.result-score strong{font:64px Georgia,serif;color:#d6e8ce}.result-score span{display:block;font-size:10px;margin-top:6px;color:#a7c0ae}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:25px}.result-stats>div{text-align:center;padding:24px 10px;border-right:1px solid var(--line)}.result-stats>div:last-child{border:0}.result-stats strong{display:block;font:27px Georgia,serif;color:#48694e;margin-bottom:10px}.result-stats span{font-size:10px;color:#97a38b}.result-module{display:flex;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid #edf1e7;font-size:12px}.result-module:last-child{border:0}.result-module span:first-child{min-width:120px}.result-module .progress-track{flex:1}.result-module small{min-width:60px;text-align:right;color:#8f9f81}.result-actions{display:flex;gap:11px;margin-top:24px;flex-wrap:wrap}.modal-backdrop{position:fixed;inset:0;z-index:70;background:#10273766;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:#fbfcf7;border-radius:16px;max-width:630px;width:100%;padding:33px;box-shadow:0 20px 100px #10273740;max-height:90vh;overflow:auto;outline:none}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal h2{font-size:21px;font-weight:500}.modal-close{font-size:23px;color:#9aa78c;padding:0 5px}.modal p{font-size:12px;line-height:1.9;color:#91a082}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:27px;flex-wrap:wrap}.storage-box{padding:19px;background:#edf3e8;border:1px solid #dce6d4;border-radius:9px;margin-bottom:22px}.storage-box h3{font-size:13px;font-weight:500;color:#50734b;margin-bottom:10px}.storage-box p{font-size:11px;line-height:1.9}.data-action{display:flex;width:100%;text-align:left;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);gap:15px}.data-action-icon{width:36px;height:36px;border-radius:9px;background:#edf1e6;color:#799363;display:grid;place-items:center;font-size:20px}.data-action strong{font-size:12px;display:block;font-weight:500;margin-bottom:7px}.data-action small{font-size:10px;color:#9ba78c;line-height:1.7}.data-action>span:last-child{margin-left:auto;color:#98aa89}.data-path{margin-top:20px!important;font-size:10px!important;color:#a2ad96!important}.modal-hint{font-size:11px!important;background:#f3f4e9;border-radius:7px;padding:14px;margin-top:19px}.image-backdrop{position:fixed;inset:0;z-index:100;background:#102735ed;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 35px 25px;overflow:auto}.image-backdrop img{max-width:100%;max-height:calc(100vh - 120px);object-fit:contain;background:#fff;border-radius:3px;box-shadow:0 10px 50px #0004}.image-backdrop p{font-size:11px;color:#afc3c5;margin-top:18px}.image-close{position:fixed;right:26px;top:17px;color:#fff;font-size:34px;width:42px;height:42px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(650px,90vw);padding:14px 22px;border-radius:8px;background:#173b39ef;color:#fff;font-size:12px;line-height:1.8;box-shadow:0 5px 30px #10273730;z-index:120}.loading-screen{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--paper);z-index:60}.loading-screen .brand-mark{width:55px;height:61px;font-size:32px}.loading-screen h1{font-size:20px;font-weight:500;margin-top:25px}.loading-screen p{font-size:12px;color:#97a28d;margin-top:15px}.loading-line{width:130px;height:3px;background:#dce7d5;overflow:hidden;margin-top:27px;border-radius:3px}.loading-line:after{content:"";display:block;width:45%;height:100%;background:#599478;animation:loading 1.4s infinite ease-in-out}@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(330%)}}.load-more{display:block;margin:23px auto 0}.session-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf3e7;border:1px solid #cfe0c7;padding:17px 22px;border-radius:9px;margin-bottom:25px}.session-banner p{font-size:11px;line-height:1.8;color:#718b65}.session-banner strong{display:block;color:#4e7452;font-weight:500;margin-bottom:3px}.review-strip{background:#f1f5e9;border:1px solid #e0e7d2;padding:13px 18px;border-radius:7px;font-size:11px;color:#82976c;margin-bottom:20px}.completion-card{text-align:center;padding:45px 30px}.completion-card h2{font-size:25px;font-weight:500;margin:15px 0}.completion-card p{font-size:12px;color:#8c9b7e;line-height:1.9}.completion-card .result-actions{justify-content:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1600px){main{padding-top:45px}.hero-main{min-height:294px;padding:38px 42px}.hero-main h2{font-size:36px}.hero-side{padding:31px}.module-card{padding:25px}.stat-card{padding:25px}.sidebar{padding-top:36px}}@media(max-width:1250px){:root{--sidebar:198px}.sidebar{padding-right:14px;padding-left:14px}.brand{gap:9px;margin-left:6px}.brand strong{font-size:18px}.brand small{font-size:9px}.brand-mark{width:37px;height:43px}.topbar{margin:0 30px}main{padding:30px 30px 45px}.page-footer{margin:0 30px}.save-warning{margin-left:30px;margin-right:30px}.hero{grid-template-columns:1.45fr 1fr;gap:16px}.hero-main{padding:28px}.hero-main h2{font-size:28px}.hero-side{padding:24px}.stat-card{padding:20px 17px}.module-card{padding:19px 17px}.paper-card-main{padding:22px 20px}.drill-layout{grid-template-columns:1fr 270px;gap:18px}.practice-layout{grid-template-columns:minmax(0,1fr) 190px;gap:15px}.question-panel{padding:25px}.answer-card{padding:19px 13px}.answer-grid{gap:6px}.answer-cell{height:27px}.question-stem{font-size:20px}.option{padding:14px}.answer-legend{font-size:8px;gap:6px}.material-content{font-size:16px}}@media(max-width:1000px){:root{--sidebar:170px}.sidebar{padding:27px 10px 18px}.brand{gap:8px;margin-bottom:35px}.brand strong{font-size:16px;letter-spacing:1px}.brand small{font-size:8px;letter-spacing:0}.brand-mark{width:32px;height:37px;font-size:22px}.nav-caption{font-size:9px;padding-left:13px}.nav-item{padding:13px 12px;font-size:12px;gap:9px}.nav-item svg{width:16px;height:16px}.sidebar-note{margin-left:12px;margin-right:12px}.sidebar-note p{font-size:18px}.sidebar-note small{font-size:8px}.hero{grid-template-columns:1fr}.hero-main{min-height:250px}.hero-side{display:none}.stats-row{gap:10px}.stat-card{padding:18px 12px}.stat-top{font-size:10px}.stat-top svg{display:none}.stat-value{font-size:29px}.stat-foot{font-size:9px}.module-grid{grid-template-columns:repeat(2,1fr)}.dashboard-bottom{grid-template-columns:1fr}.paper-grid{grid-template-columns:repeat(2,1fr)}.drill-layout{grid-template-columns:1fr}.drill-settings{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px}.drill-settings h3{grid-column:1/-1}.drill-settings .button{align-self:center}.setting-hint{margin-top:0}.question-panel{padding:23px 20px}.practice-layout{grid-template-columns:minmax(0,1fr) 160px;gap:12px}.answer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.answer-card{padding:18px 11px}.answer-card-heading{font-size:11px}.practice-overview{padding:16px}.question-kind{gap:5px}.question-kicker{font-size:9px}.option{gap:10px;padding:13px}.option-content{font-size:18px}.question-material{padding:16px}.question-controls .button{padding:10px 12px;font-size:11px}.keyboard-tip{font-size:8px}.topbar{height:72px}.workspace-label{font-size:8px;letter-spacing:1px}.topbar>div{gap:10px}.source-reference{display:none}}@media(max-width:780px){:root{--sidebar:0px}.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;padding:12px 20px 0;border-right:0;border-bottom:1px solid var(--line);background:#fbfbf7f5;backdrop-filter:blur(10px);display:block}.brand{margin:0;display:inline-flex;gap:9px}.brand-mark{width:30px;height:32px;font-size:20px;border-radius:6px}.brand strong{font-size:15px}.brand small{display:none}.nav-caption,.sidebar-note,.sidebar-bottom{display:none}.main-nav{flex-direction:row;gap:0;margin-top:10px;overflow:auto;padding-bottom:1px;scrollbar-width:none}.nav-item{white-space:nowrap;width:auto;padding:11px 11px;border-radius:6px 6px 0 0;font-size:11px;gap:6px}.nav-item svg{display:none}.nav-count{font-size:8px;min-width:17px;padding:1px 3px}.workspace{width:100%;margin:0}.topbar{height:55px;margin:0 22px}.workspace-label{display:none}.topbar-divider{display:none}main{padding:28px 22px 35px;min-height:70vh}.page-heading h1{font-size:25px}.page-heading{margin-bottom:24px}.heading-aside{font-size:9px}.page-heading p{font-size:11px}.hero-main{padding:28px 30px}.hero-main h2{font-size:29px}.stats-row{gap:9px;margin-bottom:28px}.stat-card{padding:18px 12px;border-radius:8px}.stat-top{font-size:9px}.stat-value{font-size:29px}.stat-value small{font-size:9px;margin-left:3px}.stat-foot{display:none}.module-card{padding:20px 16px}.module-card h3{font-size:12px}.module-card .module-icon{width:28px;height:28px}.module-card-top{gap:9px}.module-card-sub{font-size:9px}.module-card-foot{font-size:8px}.section-title h2{font-size:16px}.section-title h2 small{font-size:8px}.page-footer{margin:0 22px;font-size:8px}.save-warning{margin-left:22px;margin-right:22px}.practice-layout{display:flex;flex-direction:column}.question-column{width:100%}.answer-sidebar{position:static;width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:start}.answer-grid{grid-template-columns:repeat(10,minmax(0,1fr));max-height:180px}.answer-card{padding:20px}.answer-sidebar .practice-overview{padding:20px}.answer-legend{font-size:9px}.answer-card-heading{font-size:12px}.practice-top h1{font-size:16px}.focus-mode .topbar{height:45px}.focus-mode .sidebar{display:none}.question-panel{padding:25px}.practice-actions .button{display:none}.result-hero{padding:28px;gap:20px}.result-hero h2{font-size:23px}.result-score{min-width:100px}.result-score strong{font-size:51px}.history-card{padding:20px;gap:16px}.history-content h3{font-size:12px}.history-content p{font-size:9px}.history-score{font-size:25px;min-width:53px}.history-card .button{padding:9px 11px;font-size:10px}.modal{padding:27px}.filter-bar{padding:15px;gap:10px}.filter-bar label{font-size:10px}.filter-bar select{font-size:11px}.paper-card-main{padding:22px}.source-reference{display:block}}@media(max-width:520px){main{padding:24px 16px 30px}.sidebar{padding-left:12px;padding-right:12px}.nav-item{padding:11px 9px;font-size:10px}.topbar{margin:0 17px;font-size:10px}.topbar-actions{gap:15px!important}.text-button{font-size:10px}.profile-badge{width:26px;height:26px;font-size:9px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px;line-height:1.9}.heading-aside{display:none}.hero-main{padding:25px;min-height:250px}.hero-main h2{font-size:27px;letter-spacing:1px}.hero-main p{font-size:10px}.hero-top{font-size:9px}.stats-row{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:18px}.stat-top{font-size:10px}.stat-top svg{display:block}.stat-value{font-size:31px;margin-top:12px}.module-grid{gap:10px}.module-card{padding:17px 13px}.module-card .module-arrow{display:none}.module-icon{width:25px!important;height:27px!important;font-size:13px}.module-card h3{font-size:11px}.module-card-sub{display:block;line-height:1.9;margin-top:14px}.module-card-sub strong{display:block;font-size:10px}.module-card-foot span:last-child{display:none}.module-card-foot{font-size:9px}.section-title h2 small{display:none}.section-title button{font-size:10px}.surface{padding:21px}.paper-grid{grid-template-columns:1fr}.paper-card{display:block}.paper-year{font-size:38px;margin-top:13px}.paper-card h3{font-size:15px}.paper-meta{font-size:8px}.paper-card-main{padding:22px 24px}.paper-progress{margin-top:18px}.filter-bar{gap:11px 8px}.filter-bar label{width:calc(50% - 4px);display:block}.filter-bar select{width:100%;margin-top:6px}.filter-spacer{display:none}.filter-count{font-size:9px;margin-top:2px}.drill-modules{gap:10px}.drill-module{padding:18px 13px;gap:9px}.drill-module strong{font-size:11px}.drill-module small{font-size:9px}.drill-settings{padding:23px;display:block}.drill-settings h3{font-size:15px}.setting-hint{margin-top:15px}.module-summary{padding:20px;gap:15px}.module-summary span{font-size:9px}.module-summary strong{font-size:23px}.collection-top{align-items:flex-start}.collection-description{font-size:10px}.question-row{padding:17px;gap:12px}.question-row-meta{flex-wrap:wrap;font-size:8px;gap:6px;margin-bottom:7px}.question-row-text{font-size:12px}.row-actions{flex-direction:column;gap:5px}.row-actions .button{font-size:9px;padding:7px 10px;min-height:29px}.row-actions .icon-button{width:29px;height:29px;align-self:flex-end;font-size:14px}.practice-top{gap:10px}.practice-breadcrumb{font-size:9px}.practice-top h1{font-size:14px}.focus-button{font-size:9px;padding:9px}.question-panel{padding:22px 18px}.question-kicker{padding-bottom:17px;margin-bottom:21px;align-items:flex-start}.question-kind{max-width:80%;flex-wrap:wrap}.question-kicker .pill{font-size:9px}.question-number strong{font-size:21px}.question-number{white-space:nowrap}.question-material{padding:16px 14px}.material-content{font-size:16px}.question-stem{font-size:20px;line-height:1.95}.option-content{font-size:18px;line-height:1.85}.option{padding:14px 12px;gap:11px}.option-key{width:25px;height:25px;font-size:14px}.question-controls{flex-wrap:wrap;gap:13px}.question-controls .right-controls{margin-left:auto;gap:7px}.question-controls .button{font-size:10px;min-height:38px;padding:9px 12px}.question-tools{font-size:10px;gap:12px}.question-tools button{font-size:10px}.source-reference{display:none}.explanation{padding:18px 15px}.explanation .rich-content{font-size:16px}.answer-outcome{font-size:11px;gap:9px}.answer-outcome strong{font-size:13px}.answer-outcome .user-answer{font-size:10px}.keyboard-tip{display:none}.answer-sidebar{display:flex}.answer-card,.practice-overview{width:100%}.answer-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.answer-cell{font-size:10px}.answer-sidebar .practice-overview{display:none}.result-hero{padding:26px 23px;gap:10px}.result-hero h2{font-size:21px;line-height:1.8}.result-hero p{font-size:9px}.result-score strong{font-size:45px}.result-score{min-width:85px}.result-score span{font-size:9px}.result-stats>div{padding:20px 6px}.result-stats strong{font-size:24px}.result-stats span{font-size:9px}.result-module{gap:12px;font-size:10px}.result-module span:first-child{min-width:95px}.result-module small{font-size:9px;min-width:43px}.history-card{gap:13px;padding:18px 16px;flex-wrap:wrap}.history-card .button{margin-left:auto}.history-score{min-width:50px;font-size:24px}.history-content{min-width:170px}.history-score small{font-size:9px}.session-banner{padding:16px;gap:12px}.session-banner p{font-size:10px}.session-banner .button{font-size:10px;padding:9px 11px}.modal-backdrop{padding:16px}.modal{padding:24px}.modal h2{font-size:19px}.modal p{font-size:11px}.modal-actions .button{font-size:11px;padding:11px 14px}.data-action small{font-size:9px}.save-warning{margin-left:16px;margin-right:16px;font-size:10px}.page-footer{margin:0 16px;gap:15px;font-size:7px}.image-backdrop{padding:60px 12px 30px}.empty-state{padding:50px 20px}.empty-state p{font-size:11px}.toast{font-size:11px;padding:12px 16px}.filter-bar .filter-count{width:auto}}
/* Cloud additions keep the original paper, ink and green study workspace. */
:root{--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:100px}body{min-height:100vh;min-height:100dvh}input,select,textarea{font-size:16px}.profile-badge{min-width:44px;min-height:44px}.text-button,.cloud-refresh{min-height:44px}.cloud-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 48px;border-bottom:1px solid var(--line);min-height:48px;color:#6a7c73;font-size:11px}.cloud-status{display:flex;align-items:center;gap:8px;text-align:left;min-height:44px;padding:0}.cloud-refresh{padding:5px 8px;color:var(--teal);font-size:14px}.cloud-refresh span{font-size:11px;margin-left:3px}.cloud-status[data-state=saving] .status-dot{background:#5f8fa4;animation:sync-pulse 1.4s infinite}.cloud-status[data-state=offline] .status-dot,.cloud-status[data-state=conflict] .status-dot,.cloud-status[data-state=error] .status-dot,.cloud-status[data-state=auth] .status-dot{background:#bf8c44}@keyframes sync-pulse{50%{opacity:.35}}.mobile-nav{display:none}.auth-screen{position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;overflow:auto;padding:calc(36px + var(--safe-top)) 24px calc(36px + var(--safe-bottom));background:radial-gradient(ellipse at 18% 12%,#e1eadb88,transparent 55%),var(--paper)}.auth-card{width:100%;max-width:450px;background:#fbfcf8;border:1px solid #e0e6db;padding:40px;border-radius:20px;box-shadow:0 18px 65px #142d400a}.auth-brand{margin:0 0 48px}.auth-brand small{display:block}.auth-card h1{font-size:25px;font-weight:500;line-height:1.5;margin-bottom:14px}.auth-card p{color:#76877c;font-size:13px;line-height:1.9}.auth-card form{margin-top:26px}.auth-card label{display:block;font-size:13px;color:#4c675c;margin:18px 0 9px}.auth-card input{width:100%;height:50px;padding:11px 14px;border:1px solid #d8e1d5;border-radius:8px;background:#fff;color:var(--ink)}.auth-card .auth-hint{font-size:11px;margin-top:7px}.auth-card .auth-error{color:#a34d43;min-height:22px;margin:12px 0;overflow-wrap:anywhere}.auth-submit{width:100%;min-height:48px;margin-top:12px;font-size:14px}.auth-footnote{font-size:11px!important;margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.loading-screen{padding:calc(25px + var(--safe-top)) 20px calc(25px + var(--safe-bottom));text-align:center}.rich-content{overflow-wrap:anywhere}.rich-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.rich-content img{max-width:100%;height:auto;cursor:zoom-in}.image-backdrop{touch-action:pan-x pan-y pinch-zoom;padding-top:calc(65px + var(--safe-top));padding-bottom:calc(30px + var(--safe-bottom))}.image-backdrop img{max-height:calc(100dvh - 140px - var(--safe-top) - var(--safe-bottom));touch-action:pan-x pan-y pinch-zoom}.image-close{top:calc(12px + var(--safe-top));width:48px;height:48px}.modal{max-height:calc(100dvh - 48px - var(--safe-top) - var(--safe-bottom));overscroll-behavior:contain}.modal-close{min-width:44px;min-height:44px}.data-action{min-height:72px}.data-action small{overflow-wrap:anywhere}.modal-actions .button{min-height:44px}.toast{bottom:calc(24px + var(--safe-bottom));overflow-wrap:anywhere}
@media(max-width:1250px){.cloud-toolbar{margin-left:30px;margin-right:30px}}
@media(max-width:780px){
  .sidebar{position:static;min-height:62px;padding:calc(14px + var(--safe-top)) 20px 14px;border:0;backdrop-filter:none;background:var(--paper)}.sidebar .brand{display:flex}.sidebar .brand strong{font-size:17px}.sidebar .brand-mark{width:33px;height:36px}.main-nav{display:none}.topbar{position:absolute;right:17px;top:calc(8px + var(--safe-top));height:50px;margin:0;border:0}.topbar>div:first-child{display:none}.topbar-actions{gap:12px!important}.text-button{font-size:12px}.profile-badge{font-size:12px;width:38px;height:38px;min-height:44px;min-width:44px}.workspace{padding-bottom:calc(78px + var(--safe-bottom))}.cloud-toolbar{margin:0 20px;min-height:44px;font-size:11px}.cloud-refresh{font-size:17px}.cloud-refresh span{font-size:11px}.cloud-status{font-size:11px;line-height:1.5}.save-warning{font-size:12px;line-height:1.75;margin:14px 16px 0}.mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;min-height:calc(68px + var(--safe-bottom));padding:6px max(8px,env(safe-area-inset-right)) calc(6px + var(--safe-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #dce3d9;background:#fbfcf8f7;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:54px;color:#7c8b7d;font-size:10px;border-radius:9px;line-height:1.5}.mobile-nav svg{width:21px;height:21px}.mobile-nav button.active{background:#e7efe5;color:var(--teal)}.more-icon{height:21px;font-size:23px;letter-spacing:2px;line-height:13px}.page-footer{font-size:9px;line-height:1.8}.page-heading p,.page-notice,.setting-hint,.collection-description{font-size:12px}.button,.session-banner .button,.row-actions .button,.row-actions .icon-button,.paper-card-actions button,.segmented button,.section-title button,.start-link,.hero-side button,.question-tools button,.focus-button{min-height:44px}.button{font-size:12px}.filter-bar select,.field select,.field input{font-size:16px;min-height:46px}.practice-top{align-items:flex-start}.practice-breadcrumb{font-size:11px}.practice-top h1{font-size:16px;line-height:1.7}.practice-actions{display:flex;flex-direction:column;gap:4px}.practice-actions .button{display:flex;padding:8px 10px;font-size:11px;white-space:nowrap}.focus-button{display:none}.question-column{min-width:0}.question-panel{padding:21px 16px}.question-stem{font-size:19px;line-height:1.9}.material-content,.explanation .rich-content{font-size:16px;line-height:1.9}.option{min-height:58px;padding:15px 12px}.option-content{font-size:17px;line-height:1.8}.option-key{min-width:28px;min-height:28px;font-size:15px}.question-tools{gap:5px 14px;padding-top:12px}.question-tools button{font-size:12px}.question-controls{position:sticky;bottom:calc(76px + var(--safe-bottom));z-index:5;padding:12px 0 2px;margin-top:18px;background:#fff;box-shadow:0 -9px 12px #ffffffed;flex-wrap:wrap}.question-controls .button{font-size:12px;min-height:44px;padding:10px 12px}.question-controls .right-controls{flex-wrap:wrap;justify-content:flex-end;gap:6px}.answer-sidebar{scroll-margin-bottom:calc(78px + var(--safe-bottom))}.answer-card{padding:18px}.answer-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;max-height:350px}.answer-cell{min-width:44px;min-height:44px;font-size:13px}.timer-value{font-size:36px}.answer-card-heading{font-size:14px}.answer-legend{font-size:11px}.answer-card-heading small{font-size:12px}.timer-caption,.exam-unanswered{font-size:12px}.toast{bottom:calc(88px + var(--safe-bottom));font-size:12px;max-width:calc(100vw - 28px);width:max-content}.modal-backdrop{align-items:center;padding:calc(16px + var(--safe-top)) 14px calc(16px + var(--safe-bottom));z-index:80}.modal{padding:22px 20px;border-radius:16px;max-height:calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom))}.modal p{font-size:13px}.modal h2{font-size:20px}.modal-hint{font-size:12px!important}.data-action strong{font-size:13px;line-height:1.65}.data-action small{font-size:11px}.data-path{font-size:11px!important}.data-action-icon{flex-shrink:0}.modal-actions{gap:8px}.modal-actions .button{font-size:12px;flex-grow:1}.focus-mode .sidebar{display:none}.focus-mode .topbar{position:static;margin:0 16px;justify-content:flex-end;height:54px}.focus-mode .workspace{padding-top:var(--safe-top)}.session-banner p{font-size:12px}.history-content p{font-size:11px}.auth-screen{align-items:flex-start}.auth-card{margin:auto;max-width:450px;padding:30px 25px}.auth-brand{margin-bottom:36px}.auth-brand .brand-mark{width:40px;height:44px}.auth-brand strong{font-size:20px}.auth-card .brand small{font-size:10px}.auth-card h1{font-size:24px}
}
@media(max-width:380px){.sidebar{padding-left:16px}.sidebar .brand strong{font-size:15px;letter-spacing:1px}.topbar{right:10px}.topbar-actions{gap:5px!important}.text-button{font-size:11px}.question-panel{padding:18px 12px}.question-controls .button{font-size:11px;padding:10px}.auth-card{padding:26px 22px}.result-hero{padding:22px 18px;flex-wrap:wrap}.result-score{margin-left:auto}.module-grid{grid-template-columns:1fr}.answer-grid{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:780px){.auth-screen{height:var(--visual-height,100dvh);bottom:auto}.modal{max-height:calc(var(--visual-height,100dvh) - 32px - var(--safe-top) - var(--safe-bottom))}.keyboard-open .mobile-nav{visibility:hidden;pointer-events:none}.keyboard-open .question-controls{bottom:8px}}
