:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#203143;background:#f3f6fa;font-synthesis:none;--blue:#255cd5;--border:#e2e8f0;--muted:#64748b;--red:#bd3743;--green:#17744e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--border);background:white;color:inherit;border-radius:9px;padding:10px 16px;font-size:14px;line-height:1.5}button:hover:not(:disabled){border-color:#91adeb;background:#f2f6ff}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8caef8;outline-offset:3px}a{color:var(--blue);text-decoration:none}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1240px)/2))}.brand{display:flex;align-items:center;gap:12px;color:#213046;font-size:20px;font-weight:700}.brand b{font-weight:400;color:#748296;margin-left:9px}.brand-icon{display:grid;place-items:center;background:#245bcc;color:white;border-radius:11px;width:38px;height:38px;font-size:21px}.local-label{font-size:13px;color:var(--muted)}main{max-width:1240px;margin:auto;padding:36px 0 22px}.heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.eyebrow{font-size:13px;color:var(--blue);margin:0 0 10px;letter-spacing:2px}h1{font-size:30px;letter-spacing:-.8px;margin:0 0 12px;font-weight:650}.muted{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.stats{display:flex;gap:0}.stat{padding:0 30px;border-left:1px solid #dae2ed}.stat:first-child{border:0}.stat strong{display:block;font-size:30px;line-height:1.3;letter-spacing:-1px;font-weight:600}.stat span{font-size:13px;color:var(--muted)}.stat.red strong{color:var(--red)}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.modes{display:flex;background:#e6ebf2;padding:4px;border-radius:11px;gap:3px}.modes button{border:0;background:transparent;padding:9px 18px;color:#546579}.modes button.active{background:#fff;color:var(--blue);box-shadow:0 2px 5px #2336510b;font-weight:600}.modes span:not(:empty){font-size:12px;background:#ffe4e6;color:#ab3543;border-radius:5px;padding:1px 5px;margin-left:3px}.topic-label{font-size:14px;color:var(--muted);display:flex;gap:10px;align-items:center}select{background:white;border:1px solid var(--border);border-radius:8px;padding:10px 30px 10px 12px;max-width:230px;color:#34465c;font-size:14px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.question-card{background:#fff;border:1px solid var(--border);border-radius:16px;min-height:550px;overflow:hidden;box-shadow:0 4px 18px #253a5b03}.q-body{padding:30px 34px}.q-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.badges{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.badge{background:#eef3ff;color:var(--blue);font-size:12px;padding:4px 8px;border-radius:5px}.badge.wrong{color:var(--red);background:#fff0f1}.badge.pending{background:#fff7e7;color:#956514}.q-title{font-size:21px;font-weight:600;line-height:1.8;margin:23px 0 22px;overflow-wrap:anywhere}.options{border:0;padding:0;margin:0;display:grid;gap:12px;min-width:0}.option{position:relative;display:flex;align-items:center;gap:14px;padding:15px 18px;border:1px solid var(--border);border-radius:10px;cursor:pointer;line-height:1.65;font-size:16px;transition:background .15s,border .15s}.option:hover{background:#f7f9ff;border-color:#b5c8ec}.option input{position:absolute;opacity:0;width:1px;height:1px}.option:focus-within{outline:3px solid #aac1f5;outline-offset:2px}.option-key{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #dce3ed;border-radius:7px;font-size:14px;color:#607087}.option.selected{background:#f0f5ff;border-color:#668fe4}.option.selected .option-key{background:var(--blue);border-color:var(--blue);color:#fff}.option.correct{background:#eef9f3;border-color:#92ccad}.option.correct .option-key{background:var(--green);color:white;border-color:var(--green)}.option.incorrect{background:#fff1f2;border-color:#e3a5ab}.option.incorrect .option-key{background:var(--red);color:#fff;border-color:var(--red)}.option-text{flex:1;overflow-wrap:anywhere}.option-status{font-size:13px;white-space:nowrap;color:var(--muted)}.q-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px}.primary{background:var(--blue);border-color:var(--blue);color:white;padding:11px 25px;font-weight:600}.primary:hover:not(:disabled){background:#1c4ebd;color:white}.step-actions{display:flex;gap:8px}.q-foot{padding:14px 34px;background:#fafbfd;border-top:1px solid #edf0f5;font-size:12px;color:var(--muted);display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.explanation{margin-top:26px;border-top:1px solid var(--border);padding-top:24px;line-height:1.85;font-size:15px}.result-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.result-title strong{color:var(--green);font-size:19px}.result-title.wrong strong{color:var(--red)}.result-title.pending strong{color:#956514}.answer-summary{font-size:14px;color:#526277}.explanation h3{font-size:14px;margin:18px 0 5px}.explanation p{margin:4px 0;color:#45566b}.knowledge-box{background:#f4f7fc;border-left:3px solid #a0b9e9;padding:13px 16px;margin:15px 0;border-radius:0 7px 7px 0}.knowledge-box p{font-size:14px}.source-link{font-size:13px}.master-button{margin-top:16px;color:var(--blue)}.navigator,.memory-note{border:1px solid var(--border);border-radius:13px;background:white;padding:21px}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title h2,.memory-note h2{font-size:15px;margin:0}.section-title span{font-size:12px;color:var(--muted)}.legend{display:flex;gap:12px;font-size:12px;color:var(--muted);margin:16px 0}.legend>span{display:flex;align-items:center;gap:5px}.dot{width:7px;height:7px;border-radius:2px;background:#e1e9f8}.dot.wrong{background:#e99a9f}.dot.pending{background:#dfc183}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-height:410px;overflow-y:auto;padding:3px}.question-grid button{padding:7px 0;font-size:13px;border-radius:6px;position:relative}.question-grid button.done{background:#eaf0fc;color:#466398;border-color:#dce6f8}.question-grid button.wrong{background:#fff0f1;color:var(--red);border-color:#f1c8cc}.question-grid button.pending:after{content:'';position:absolute;width:5px;height:5px;right:3px;top:3px;background:#be8c32;border-radius:50%}.question-grid button.current{outline:2px solid var(--blue);outline-offset:0;font-weight:700}.text-button{border:0;background:transparent;color:var(--blue);padding-bottom:0}.full{width:100%;margin-top:15px}.memory-note{margin-top:18px;background:#eaf0fb;border-color:#dfe8f8}.memory-note p{font-size:13px;line-height:1.85;color:#5d7090;margin:9px 0 0}.note-icon{display:inline-block;font-size:24px;color:var(--blue);margin-bottom:10px}.empty{text-align:center;padding:100px 28px}.empty h2{font-size:23px}.empty p{font-size:15px;color:var(--muted);line-height:1.8}footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:28px;color:#7b889a;font-size:12px}.data-actions{display:flex;gap:15px}.data-actions button{border:0;background:none;padding:4px 0;font-size:12px;color:#6c7b91}.notice{padding:14px 18px;margin-bottom:20px;border:1px solid #eccb88;background:#fff8e9;border-radius:9px;color:#815820;font-size:14px;line-height:1.7}dialog{max-width:440px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:15px;padding:26px;color:#26364d;box-shadow:0 25px 80px #14243c33}dialog::backdrop{background:#17243e55}dialog h2{font-size:20px;margin:0 0 12px}dialog p{font-size:15px;line-height:1.8;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:1300px){main{margin:0 32px}}@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.q-body{padding:25px}.navigator,.memory-note{padding:16px}.stat{padding:0 18px}.topic-label{font-size:0}.heading{align-items:flex-start}.stat strong{font-size:26px}}@media(max-width:700px){.topbar{height:66px;padding:0 18px}.brand{font-size:17px}.brand-icon{width:33px;height:33px;font-size:18px}.local-label{font-size:11px}main{margin:0;padding:24px 16px}.heading{display:block;margin-bottom:20px}h1{font-size:25px}.eyebrow{font-size:12px}.stats{margin-top:22px;padding:15px 0;background:white;border:1px solid var(--border);border-radius:11px}.stat{flex:1;text-align:center;padding:0 10px}.stat strong{font-size:24px}.stat span{font-size:12px}.toolbar{flex-wrap:wrap;gap:12px}.modes{width:100%}.modes button{flex:1;padding:9px 6px;font-size:14px}.topic-label{font-size:13px;width:100%;justify-content:space-between}select{max-width:75%;flex:1}.workspace{display:flex;flex-direction:column}.question-card,.sidebar{width:100%}.question-card{min-height:0;border-radius:12px}.q-body{padding:22px 18px}.q-title{font-size:19px;margin-top:20px}.option{padding:13px 12px;gap:10px;font-size:16px}.option-status{font-size:12px}.q-actions{flex-wrap:wrap}.primary{padding:11px 18px}.step-actions button{padding:10px 12px}.q-foot{padding:13px 18px}.question-grid{grid-template-columns:repeat(8,1fr);max-height:220px}.memory-note{display:none}.navigator{margin-top:3px}.legend{gap:18px}footer{flex-direction:column;gap:12px}.data-actions{gap:26px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.scope-note {background:#fff8e8;border-left:3px solid #c69535;padding:12px 16px;line-height:1.8;font-size:14px;color:#695123;margin:0 0 20px;overflow-wrap:anywhere}
.legal-sources {border-top:1px solid #dce5ed;margin-top:18px;padding-top:4px;overflow-wrap:anywhere}

[hidden]{display:none!important}.subject-switch{display:flex;gap:8px;margin-bottom:26px;border-bottom:1px solid var(--border)}.subject-switch a{padding:12px 22px;color:var(--muted);border-bottom:3px solid transparent}.subject-switch a[aria-current]{color:var(--blue);border-color:var(--blue);font-weight:700}.view-switch{display:flex;gap:10px;margin-bottom:22px}.view-switch .active{background:var(--blue);color:white;border-color:var(--blue)}.filters{display:flex;gap:12px;flex-wrap:wrap}.toolbar{flex-wrap:wrap}.explanation-text{white-space:pre-line}.knowledge-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.chapter-list{display:flex;flex-direction:column;gap:8px;position:sticky;top:20px}.chapter-list button{text-align:left}.chapter-list button[aria-current]{color:var(--blue);background:#eaf0fc;border-color:#9eb8ed}.chapter-content{background:white;border:1px solid var(--border);border-radius:16px;padding:30px 34px;min-width:0}.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.chapter-heading h2{font-size:23px;margin:0}.knowledge-section{padding:22px 0;border-bottom:1px solid var(--border);line-height:1.9}.knowledge-section:last-of-type{margin-bottom:22px}.knowledge-section h3{color:#294c85;font-size:17px;margin:0 0 10px}.knowledge-section p{white-space:pre-line;overflow-wrap:anywhere;font-size:15px;margin:8px 0}.question-grid button{font-size:12px}.brand{white-space:nowrap}@media(max-width:700px){.local-label{display:none}.subject-switch{margin-bottom:20px}.subject-switch a{flex:1;text-align:center;padding:10px}.filters{width:100%;gap:10px}.knowledge-layout{display:block}.chapter-list{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.chapter-list button{font-size:12px;padding:9px}.chapter-content{padding:22px 18px}.chapter-heading h2{font-size:21px}.question-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.topic-label{width:100%}}

.case-context{background:#f4f7fc;border-radius:10px;padding:17px 20px;margin-top:22px;font-size:15px;line-height:1.9}.case-context strong{color:var(--blue);font-size:13px}.case-context p{margin:6px 0 0;overflow-wrap:anywhere}.external-sources{border-top:1px solid var(--border);padding-top:6px;margin-top:16px}
