:root{color-scheme:light;font-family:LXGW WenKai Screen,LXGW Screen,Inter,SF Pro Display,SF Pro Text,PingFang SC,Microsoft YaHei,Arial,sans-serif;background:#f4f6f7;color:#172126;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--surface: #ffffff;--surface-strong: #f9fbfb;--line: #d9e1e4;--muted: #64747c;--ink: #172126;--teal: #087f7a;--teal-strong: #05615d;--amber: #a86800;--red: #b23b3b;--blue: #2868a8;--shadow: 0 14px 32px rgba(23, 33, 38, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px}button,input,select{font:inherit}button{border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(8,127,122,.42);outline-offset:2px}.app-shell{min-height:100vh;display:flex;flex-direction:column;padding:18px;gap:14px}.app-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:8px;background:#172126;color:#fff;font-weight:800;letter-spacing:0}.brand h1,.brand p,.answer-toolbar h2,.doc-title h2,.answer-section h3{margin:0}.brand-copy{min-width:0}.brand-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.brand h1{font-size:22px;line-height:1.1}.brand p{margin-top:4px;color:var(--muted);font-size:13px}.module-tabs{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fff}.module-tabs button{height:28px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#526269;font-size:13px;white-space:nowrap}.module-tabs button.is-active{background:var(--ink);color:#fff}.header-metrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.header-metrics span,.source-pills span,.status-pill,.doc-kicker,.nav-count span{border:1px solid var(--line);border-radius:999px;background:#ffffffbd;color:var(--muted);font-size:12px;line-height:1;padding:6px 9px}.workspace{display:grid;grid-template-columns:minmax(540px,52%) minmax(0,1fr);gap:14px;height:calc(100vh - 112px);min-height:560px}.pane{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}.pane-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 150px 142px;gap:9px;padding:12px;border-bottom:1px solid var(--line);background:var(--surface-strong)}.search-field,.select-field{height:38px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);padding:0 10px;min-width:0}.search-field input,.select-field select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink)}.pane-scroll{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#aab7bd transparent}.left-scroll{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:0;height:100%}.case-nav{border-right:1px solid var(--line);background:#fbfcfc;min-height:0;overflow-y:auto}.nav-count{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:8px;padding:10px;background:#fbfcfc;border-bottom:1px solid var(--line)}.nav-spacer{pointer-events:none}.case-row{width:100%;min-height:72px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:0;border-bottom:1px solid #e9eef0;border-radius:0;text-align:left;background:transparent}.case-row:hover,.case-row.is-active{background:#eef8f6}.case-row.is-active{box-shadow:inset 3px 0 0 var(--teal)}.case-row-main{min-width:0}.case-row strong,.case-row small{display:block}.case-row strong{color:var(--ink);font-size:13px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.case-row small{margin-top:5px;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.answer-chip{min-width:24px;height:24px;display:inline-grid;place-items:center;border:1px solid #b7dfd9;border-radius:6px;background:#eaf7f5;color:var(--teal-strong);font-size:12px;font-weight:800}.status-dot{width:8px;height:42px;border-radius:999px;background:#cbd6da}.status-none{background:#eef2f3;color:#6d7a80}.status-again{background:#fff2dc;color:var(--amber)}.status-hard{background:#ffe9e9;color:var(--red)}.status-mastered{background:#e6f6f0;color:var(--teal-strong)}.question-doc{padding:22px;min-width:0}.doc-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.doc-title h2{margin-top:8px;font-size:24px;line-height:1.25}.doc-kicker{display:inline-flex;border-radius:6px;color:var(--teal-strong);background:#eaf7f5;border-color:#c9e9e5}.source-pills{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 18px}.status-pill{white-space:nowrap}.content-html{color:#213039;font-size:15px;line-height:1.72;overflow-wrap:anywhere}.content-html p{margin:0 0 12px}.content-html .section-label-inline,.content-html .qa-label-inline{display:block;width:fit-content;margin:16px 0 8px;padding:3px 9px 3px 10px;border-left:3px solid var(--teal);background:#eef8f6;color:var(--teal-strong);font-size:14px;font-weight:700;line-height:1.5}.content-html .section-label-inline:first-child,.content-html .qa-label-inline:first-child{margin-top:0}.content-html .answer-prefix-inline{display:inline-block;margin:0 6px 4px 0;color:#56656c;font-weight:700}.content-html img{max-width:100%;height:auto;display:block;margin:12px 0;border:1px solid var(--line);border-radius:6px;background:#fff}.content-html .media-paragraph{margin:14px 0 16px}.option-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}.option-item{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dfe7e9;border-radius:8px;background:#fff}.option-item.is-correct{border-color:#a9dcd4;background:#eff9f6}.option-key{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:8px;background:#eef2f3;color:#4c5b62;font-size:14px;font-weight:800}.option-item.is-correct .option-key{background:var(--teal);color:#fff}.option-item .content-html{font-size:15px;line-height:1.58}.option-item .content-html p{margin-bottom:0}.classic-doc .content-html{font-size:16px;line-height:1.82}.classic-stem{max-width:860px}.classic-options{max-width:880px;gap:12px}.classic-options .option-item{grid-template-columns:34px minmax(0,1fr) 20px;padding:14px}.classic-options .option-key{width:34px;height:34px;border-radius:8px}.option-check{margin-top:6px;color:var(--teal)}.content-html table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.content-html td,.content-html th{border:1px solid var(--line);padding:6px 8px}.prompt-list{margin-top:20px;display:grid;gap:12px}.prompt-item{border-top:1px solid var(--line);padding-top:14px}.prompt-item h3{margin:0 0 8px;color:var(--teal-strong);font-size:16px}.right-pane{background:#fff}.answer-toolbar{padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface-strong);display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px}.answer-title{display:flex;align-items:baseline;gap:7px;min-width:82px;white-space:nowrap}.answer-title span{color:var(--teal-strong);font-size:15px;font-weight:700}.answer-title small{color:var(--muted);font-size:11px;font-weight:500}.icon-actions{display:flex;gap:6px;flex:0 0 auto}.answer-action-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.icon-actions button,.status-actions button{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px}.icon-actions .primary{background:var(--teal);border-color:var(--teal);color:#fff}.icon-actions button.is-active{background:var(--ink);border-color:var(--ink);color:#fff}.status-actions{display:flex;flex-wrap:nowrap;gap:6px;padding:0;min-width:0}.status-actions button{padding:0 9px;white-space:nowrap;font-size:13px}.status-actions button.is-active{color:#fff}.status-actions button.favorite{background:var(--blue);border-color:var(--blue)}.status-actions button.again{background:var(--amber);border-color:var(--amber)}.status-actions button.hard{background:var(--red);border-color:var(--red)}.status-actions button.mastered{background:var(--teal);border-color:var(--teal)}.answer-scroll{flex:1;padding:18px;background:linear-gradient(#fff,#fff),linear-gradient(90deg,rgba(8,127,122,.06),transparent)}.answer-hidden{width:100%;min-height:100%;display:grid;place-items:center;border:0;border-radius:8px;background:linear-gradient(135deg,#087f7a0f,#2868a80a),#fbfdfd;color:#b8c5ca;transform-style:preserve-3d;transition:transform .16s ease,background-color .16s ease,color .16s ease}.answer-hidden:hover{color:var(--teal);transform:rotateY(5deg) scale(.996)}.answer-doc{display:grid;gap:16px}.answer-section{border:1px solid var(--line);border-radius:8px;overflow:hidden}.answer-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#f7faf9;border-bottom:1px solid var(--line)}.answer-section h3{color:var(--teal-strong);font-size:17px}.answer-section-head span{color:var(--muted);font-size:12px}.answer-block{padding:14px;border-bottom:1px solid #edf1f2}.answer-block:last-child{border-bottom:0}.answer-block h4{margin:0 0 9px;color:#3a4a51;font-size:14px}.answer-points{list-style:none;margin:0;padding:0;display:grid;gap:10px}.answer-points li{padding-left:12px;border-left:3px solid #cfd9dd}.answer-points li.is-correct{border-left-color:var(--teal)}.memory-block{background:#fbfdfd}.memory-html{font-size:18px;line-height:1.85}.memory-html p{margin-bottom:0}.memory-answer{display:inline;padding:2px 5px;border-radius:6px;background:linear-gradient(transparent 54%,#d9f3ed 54%);color:#074f4c;font-weight:800}.memory-answer-separator{margin:0 6px;color:#6d7a80;font-weight:500}.mobile-tabs{display:none}.empty-app,.empty-state{min-height:240px;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted)}.shortcut-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:22px;background:#17212652}.shortcut-dialog{width:min(760px,100%);max-height:min(720px,calc(100vh - 44px));overflow-y:auto;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 24px 70px #1721263d}.shortcut-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid var(--line);background:#fbfcfc}.shortcut-head h2{margin:8px 0 0;font-size:22px;line-height:1.2}.shortcut-head button{min-width:48px;height:34px;border-radius:8px;color:var(--muted)}.shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.shortcut-grid section{border:1px solid #e1e8eb;border-radius:8px;padding:14px;background:#fff}.shortcut-grid h3{margin:0 0 10px;color:var(--teal-strong);font-size:15px}.shortcut-grid p{display:flex;align-items:center;gap:8px;margin:8px 0;color:#2f3f47;font-size:14px}kbd{min-width:30px;height:26px;display:inline-grid;place-items:center;padding:0 8px;border:1px solid #ccd7db;border-bottom-width:2px;border-radius:6px;background:#f7faf9;color:var(--ink);font-size:12px;font-weight:800;line-height:1}@media(max-width:1100px){.workspace{grid-template-columns:minmax(500px,52%) minmax(0,1fr)}.left-scroll{grid-template-columns:180px minmax(0,1fr)}}@media(max-width:820px){.app-shell{padding:10px;gap:10px}.app-header{align-items:flex-start;min-height:auto}.header-metrics{display:none}.mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-tabs button{height:40px;border-radius:8px}.mobile-tabs button.is-active{background:var(--ink);border-color:var(--ink);color:#fff}.workspace{display:block;height:calc(100vh - 132px);min-height:500px}.workspace[data-pane=question] .right-pane,.workspace[data-pane=answer] .left-pane{display:none}.pane{height:100%}.pane-toolbar{grid-template-columns:1fr}.left-scroll{grid-template-columns:1fr;grid-template-rows:240px minmax(0,max-content)}.case-nav{height:240px;max-height:none;border-right:0;border-bottom:1px solid var(--line)}.question-doc{padding:16px}.doc-title{display:grid}.doc-title h2{font-size:20px}}@media(max-width:440px){.brand h1{font-size:19px}.brand p{font-size:12px}.brand-mark{width:40px;height:40px}.status-actions{overflow-x:auto;scrollbar-width:none}.status-actions button{flex:0 0 auto}.answer-toolbar{align-items:flex-start;flex-direction:column}.answer-action-row{width:100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}.shortcut-backdrop{padding:10px}.shortcut-grid{grid-template-columns:1fr}}.app-shell[data-answer-expanded=true]{align-items:center;justify-content:center;padding:18px 0;gap:0}.app-shell[data-answer-expanded=true] .app-header,.app-shell[data-answer-expanded=true] .mobile-tabs,.app-shell[data-answer-expanded=true] .left-pane{display:none}.app-shell[data-answer-expanded=true] .workspace{width:80vw;max-width:1320px;height:calc(100vh - 36px);min-height:0;display:block}.app-shell[data-answer-expanded=true] .right-pane{display:flex;width:100%;height:100%}.app-shell[data-answer-expanded=true] .answer-scroll{padding:22px}
