.memory-aid{display:grid;gap:14px;border:1px solid #dbe4ec;border-radius:14px;background:#f8fafc;padding:16px;color:#17212b}.memory-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-radius:10px;padding:11px 12px;font-size:15px}.memory-result span{color:#617080;font-size:12px}.memory-result-correct{background:#eaf7ef;color:#17653b}.memory-result-wrong{background:#fff0ef;color:#a52e2a}.memory-result-pending{background:#eef4f8;color:#31566e}.memory-block{display:grid;gap:8px}.memory-label{color:#617080;font-size:12px;font-weight:700;letter-spacing:.02em}.keyword-row{display:flex;flex-wrap:wrap;gap:8px}.keyword{border:1px solid #b8d4e8;border-radius:999px;background:#eaf5fc;color:#15557c;padding:5px 10px;font-size:14px}.memory-phrase p{margin:0;font-size:17px;line-height:1.55;font-weight:700}.memory-relation{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;border:1px dashed #b7cbd8;border-radius:10px;background:#fff;padding:12px 8px;font-size:14px;text-align:center}.memory-relation b{color:#146b46}.memory-contrast{display:grid;gap:8px;border-left:3px solid #e2a83a;padding-left:11px}.memory-contrast>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.memory-contrast>div>div{display:grid;gap:4px;border-radius:8px;background:#fff;padding:9px;font-size:13px;line-height:1.45}.memory-contrast b{color:#6c7883;font-size:11px}.memory-answer{display:flex;align-items:center;gap:10px;min-height:42px;border-top:1px solid #dbe4ec;padding-top:12px}.memory-answer strong{color:#125f42;font-size:21px}.memory-reveal,.memory-primary,.memory-secondary{min-height:40px;border:0;border-radius:9px;padding:0 14px;font:inherit;font-weight:700;cursor:pointer}.memory-reveal,.memory-primary{background:#176b4b;color:#fff}.memory-secondary{display:inline-flex;align-items:center;gap:6px;background:#e8eef2;color:#244052}.memory-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:420px){.memory-aid{padding:13px}.memory-contrast>div{grid-template-columns:1fr}.memory-relation{justify-content:flex-start}}:root{font-family:Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;color:#102a43;background:#f5f7fa;font-synthesis:none;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7fa}button,input{font:inherit}button{cursor:pointer;border:0}.app-shell{min-height:100vh;padding-bottom:84px}.topbar{height:72px;background:#102a43;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1080px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;border-radius:10px;background:#f2c14e;color:#102a43;display:grid;place-items:center;font-size:22px;font-weight:900}.brand strong{display:block;font-size:16px}.brand span{display:block;color:#b9c8d6;font-size:11px;margin-top:2px}.top-stat{display:flex;align-items:center;gap:6px;color:#f2c14e;font-size:13px}.main-content{max-width:1080px;margin:0 auto;padding:30px 20px}.hero{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff;border:1px solid #e3e9ef;border-radius:18px;padding:35px 40px;box-shadow:0 10px 28px #102a430b}.eyebrow{color:#5d7185;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hero h1,.page-heading h1{font-size:clamp(30px,5vw,52px);line-height:1.15;margin:12px 0;color:#102a43}.hero h1 em{font-style:normal;color:#d98935}.hero p{max-width:520px;color:#5d7185;margin:0 0 24px;font-size:15px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.primary,.secondary,.text-button,.submit-selection{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:12px 17px;font-weight:800}.primary{background:#d98935;color:#fff}.primary:hover{background:#bf7023}.secondary{background:#e8eef3;color:#163b59}.compact{padding:10px 14px}.full{width:100%}.text-button{background:none;color:#306b8a;padding:4px}.progress-ring{width:156px;height:156px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d98935 var(--progress),#e8eef3 0);position:relative;flex:none}.progress-ring:after{content:"";position:absolute;inset:12px;background:#fff;border-radius:50%}.progress-ring div{position:relative;z-index:1;text-align:center}.progress-ring strong{display:block;font-size:30px}.progress-ring span{font-size:12px;color:#6b7e8f}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 35px}.metric{background:#fff;border:1px solid #e3e9ef;border-radius:12px;padding:17px 18px}.metric span{display:block;color:#6b7e8f;font-size:13px}.metric strong{display:block;font-size:30px;margin-top:6px}.metric small{font-size:13px;font-weight:500;color:#6b7e8f;margin-left:3px}.metric.amber strong{color:#b47714}.metric.red strong{color:#c2544e}.metric.green strong{color:#2f7d61}.metric.blue strong{color:#306b8a}.section-head{display:flex;align-items:end;justify-content:space-between;margin:24px 0 12px}.section-head h2{margin:5px 0 0;font-size:24px}.entry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.entry-card{display:flex;align-items:center;text-align:left;gap:13px;padding:21px;border-radius:13px;color:#fff}.entry-card svg:last-child{margin-left:auto}.entry-card div span{display:block;font-size:13px;margin-top:4px;opacity:.85}.entry-card.memory{background:#276678}.entry-card.exam{background:#b85c38}.history-title{margin-top:35px}.attempt-list{background:#fff;border:1px solid #e3e9ef;border-radius:12px;overflow:hidden}.attempt-row{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #edf1f4}.attempt-row:last-child{border:0}.attempt-row strong,.attempt-row span{display:block}.attempt-row span{color:#718294;font-size:13px}.attempt-row b{font-size:17px}.pass{color:#2f7d61}.fail{color:#c2544e}.empty-state{background:#fff;border:1px dashed #ccd7df;color:#718294;padding:24px;text-align:center;border-radius:12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:70px;background:#fff;border-top:1px solid #dce4ea;display:flex;justify-content:center;gap:clamp(18px,8vw,90px);z-index:10;padding-bottom:env(safe-area-inset-bottom)}.nav-button{background:none;color:#718294;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:54px;font-size:11px}.nav-button.active{color:#d98935}.page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.page-heading h1{font-size:34px;margin-bottom:0}.page-heading h1 small{font-size:16px;color:#718294;font-weight:500}.toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:18px}.segmented{display:flex;background:#e8eef3;border-radius:9px;padding:3px}.segmented button{background:none;color:#5d7185;padding:8px 13px;border-radius:7px}.segmented button.selected{background:#fff;color:#102a43;font-weight:800;box-shadow:0 2px 5px #102a4312}.search{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #d8e1e8;border-radius:9px;padding:0 11px;color:#718294;min-width:210px}.search input{border:0;outline:0;width:100%;padding:9px 0}.question-list{background:#fff;border:1px solid #e1e8ee;border-radius:12px;overflow:hidden}.list-item{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:16px 18px;border-bottom:1px solid #edf1f4}.list-item:last-child{border:0}.list-number{font-weight:900;color:#d98935;font-size:18px}.list-item p{margin:6px 0 0;color:#263f55}.list-meta{display:flex;gap:10px;color:#718294;font-size:12px}.run-page{max-width:850px;margin:0 auto}.run-top{display:flex;align-items:center;gap:12px;margin-bottom:15px}.run-top div{flex:1}.run-top strong,.run-top span{display:block}.run-top span{font-size:12px;color:#718294}.run-type{background:#e8eef3;border-radius:99px;padding:5px 10px!important;color:#306b8a!important}.icon-button{width:38px;height:38px;border-radius:9px;background:#fff;color:#306b8a;display:grid;place-items:center}.answer-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;background:#fff;border:1px solid #e1e8ee;border-radius:10px;padding:10px;margin-bottom:15px}.answer-grid button{height:28px;border-radius:6px;background:#f0f3f5;color:#718294;font-size:12px}.answer-grid button.current{outline:2px solid #d98935;color:#102a43}.answer-grid button.correct{background:#d9eee6;color:#2f7d61}.answer-grid button.wrong{background:#f8dfdc;color:#c2544e}.question-card{background:#fff;border:1px solid #e1e8ee;border-radius:15px;padding:28px 30px;box-shadow:0 8px 20px #102a4307}.question-label{color:#d98935;font-size:13px;font-weight:800}.question-card h1{font-size:23px;line-height:1.65;margin:13px 0 25px;white-space:pre-wrap}.options{display:grid;gap:10px}.answer-option{width:100%;text-align:left;background:#f6f8fa;color:#213b50;border:1px solid #e1e8ee;border-radius:10px;padding:15px 16px;display:flex;gap:10px;align-items:flex-start}.answer-option:hover:not(:disabled),.answer-option.selected{border-color:#d98935;background:#fff8ed}.answer-option.selected{color:#9b5d13;font-weight:800}.option-dot{width:22px;height:22px;border:1px solid #b9c6d0;border-radius:50%;display:grid;place-items:center;flex:none;font-size:13px}.selected .option-dot{background:#d98935;border-color:#d98935;color:#fff}.judge-options{grid-template-columns:repeat(2,1fr)}.submit-selection{margin-top:14px;background:#306b8a;color:#fff;width:100%}.feedback{margin-top:20px;padding:15px 17px;border-radius:10px}.feedback>div{display:flex;align-items:center;gap:8px}.feedback svg{width:19px}.feedback p{margin:7px 0 0;font-size:14px}.feedback.correct{background:#e4f2ec;color:#27694f}.feedback.wrong{background:#fcebe8;color:#a14842}.run-footer{padding:15px 0}.run-footer>.muted{display:block;text-align:center}.muted{color:#718294;font-size:13px}.center{text-align:center}@media(max-width:700px){.topbar{height:64px;padding:0 15px}.top-stat{font-size:11px}.main-content{padding:18px 14px}.hero{padding:24px 20px;align-items:flex-start}.hero h1{font-size:34px}.progress-ring{width:104px;height:104px}.progress-ring:after{inset:8px}.progress-ring strong{font-size:22px}.progress-ring span{font-size:10px}.metric-grid{grid-template-columns:repeat(2,1fr);margin-bottom:25px}.entry-grid{grid-template-columns:1fr}.toolbar{display:block}.segmented{margin-bottom:10px;overflow:auto}.segmented button{white-space:nowrap}.search{min-width:0}.page-heading h1{font-size:29px}.question-card{padding:22px 18px}.question-card h1{font-size:19px;line-height:1.6}.judge-options{grid-template-columns:1fr}.answer-grid{grid-template-columns:repeat(10,1fr)}.answer-grid button{font-size:10px}.brand span{display:none}.brand strong{font-size:14px}}
