:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#202c3f;background:#f5f7fa;font-synthesis:none;font-size:16px;line-height:1.6;--blue: #2463d4;--muted: #637085;--border: #e4e9f0;--green: #17744c;--red: #b8323d}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #669bec;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:1.9rem;line-height:1.4;letter-spacing:-.035em;font-weight:700}h2{font-size:1.16rem;line-height:1.5;font-weight:650}h3{font-size:1rem;line-height:1.55;font-weight:650}p{margin:.55rem 0}svg{width:24px;height:24px;flex-shrink:0}strong{font-weight:650}fieldset{border:0;padding:0;margin:18px 0}legend{font-weight:600;margin-bottom:8px}label{display:block;font-size:.875rem;color:#465369}select,input[type=number]{display:block;width:100%;min-height:46px;padding:10px 38px 10px 12px;margin-top:7px;border:1px solid #ced7e3;background-color:#fff;border-radius:8px;color:#202c3f;min-width:0}select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23637085' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}input[type=number]{padding-right:12px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--blue);margin:0;flex-shrink:0}progress{display:block;width:100%;height:7px;border:0;border-radius:5px;overflow:hidden;background:#e9edf3;margin:16px 0;-webkit-appearance:none;appearance:none}progress::-webkit-progress-bar{background:#e9edf3;border-radius:5px}progress::-webkit-progress-value{background:var(--blue);border-radius:5px}progress::-moz-progress-bar{background:var(--blue)}.app-header{background:#fff;border-bottom:1px solid var(--border);padding-top:env(safe-area-inset-top)}.header-inner{max-width:880px;padding:18px 24px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;font-size:1.15rem;font-weight:700;line-height:1.35}.brand-mark{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--blue);color:#fff}.brand-sub{display:block;font-size:.75rem;font-weight:400;color:var(--muted);letter-spacing:.12em}.header-label{font-size:.875rem;color:var(--muted)}.main-shell{max-width:880px;margin:auto;padding:30px 24px calc(108px + env(safe-area-inset-bottom));min-height:calc(100vh - 78px)}.main-shell>*{min-width:0}.page-heading{margin-bottom:24px}.page-heading .eyebrow{margin-top:0}.eyebrow{font-size:.875rem;color:var(--muted);margin:12px 0 8px}.muted{color:var(--muted)}.small{font-size:.875rem}.normal{font-weight:400}.blue{color:var(--blue)}.green{color:var(--green)}.red{color:var(--red)}.code{font-size:.875rem;margin-left:10px}.grow{flex:1;min-width:0}.inline{display:flex;align-items:center;gap:12px;min-width:0}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.wrap{flex-wrap:wrap}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.panel{padding:22px;background:#fff;border:1px solid var(--border);border-radius:12px;margin-bottom:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 20px;border:1px solid var(--blue);border-radius:8px;background:var(--blue);color:#fff;font-size:.9375rem;font-weight:600;text-align:center;line-height:1.5}.button:hover:not(:disabled){filter:brightness(.96)}.button.secondary{background:#fff;color:var(--blue);border-color:#cddaf0}.button.compact{min-height:42px;padding:8px 14px;font-size:.875rem}.button.full{display:flex;width:100%;margin:16px 0}.button.danger{background:var(--red);border-color:var(--red)}.danger-outline{background:#fff;color:var(--red);border-color:#ebc8cc}.text-button{border:0;background:transparent;color:var(--blue);padding:10px 4px;min-height:44px;font-size:.875rem}.text-link{color:var(--blue);font-size:.875rem;padding:10px 0}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 28px}.welcome .eyebrow{margin-top:0}.exam-date{flex-shrink:0;border-left:1px solid #d9e2ef;min-width:105px;padding:5px 0 5px 22px;text-align:center;color:var(--blue)}.exam-date strong{display:block;font-size:2.5rem;line-height:1.2}.exam-date span,.exam-date small{display:block;font-size:.875rem}.exam-date small{color:var(--muted);font-size:.75rem;margin-top:3px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px 8px;margin-bottom:20px}.stats-grid>div{text-align:center;border-right:1px solid var(--border)}.stats-grid>div:last-child{border:0}.stats-grid strong{display:block;font-size:1.8rem;line-height:1.4;font-variant-numeric:tabular-nums}.stats-grid strong small{font-size:1rem;margin-left:2px}.stats-grid span{font-size:.875rem;color:var(--muted)}.continue-card .between>strong{font-size:1.4rem}.continue-card .between.wrap{gap:12px}.chapter-list{display:flex;flex-direction:column;gap:12px}.chapter-card{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:19px 20px}.chapter-card p{margin:4px 0 0}.chapter-card:hover{border-color:#b6cae9}.chapter-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:8px;background:#edf3fc;color:var(--blue);font-size:1.1rem;font-weight:650;font-variant-numeric:tabular-nums}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-card{background:#fff;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;gap:15px;padding:20px}.tool-card>svg{color:var(--blue)}.tool-card p{margin:4px 0 0}.count{font-size:.75rem;background:#edf3fc;color:var(--blue);border-radius:5px;padding:2px 7px;margin-left:8px}.device-note{color:#68758a;font-size:.875rem;line-height:1.8;margin:30px 4px 10px}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.chapter-detail{margin:0}.type-counts{display:flex;gap:24px;flex-wrap:wrap;margin:18px 0 12px;color:var(--muted);font-size:.875rem}.type-counts strong{color:#26354a;margin-left:5px}.chapter-detail .inline h2{font-size:1.05rem}.tag{display:inline-block;padding:3px 9px;border-radius:5px;background:#edf3fc;color:#275eae;font-size:.8125rem;line-height:1.65}.question-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.question-meta>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.question-card .eyebrow{margin:12px 0}.question-stem{font-size:1.18rem;line-height:1.85;margin-bottom:12px;font-weight:600;overflow-wrap:anywhere;white-space:pre-wrap}.options{display:flex;flex-direction:column;gap:12px;margin:24px 0 6px}.option{display:flex;align-items:flex-start;gap:14px;width:100%;border:1px solid #dce2eb;background:#fff;padding:15px 16px;border-radius:9px;color:#26354a;text-align:left;font-size:1rem;line-height:1.75;overflow-wrap:anywhere}.option:disabled{opacity:1}.option-letter{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border:1px solid #dce2eb;border-radius:50%;font-size:.875rem;line-height:1}.option.selected{border-color:var(--blue);background:#f0f5ff}.selected .option-letter{background:var(--blue);color:#fff;border-color:var(--blue)}.option.answer-correct{border-color:#5eaa87;background:#f0f8f3}.option.answer-correct .option-letter{background:var(--green);color:#fff;border-color:var(--green)}.option.answer-wrong{border-color:#cf7e86;background:#fff4f4}.option.answer-wrong .option-letter{background:var(--red);color:#fff;border-color:var(--red)}.feedback{padding:16px;margin-top:24px;border-radius:8px;font-size:.9375rem}.feedback.success{background:#edf7f1;color:#156441}.feedback.error{background:#fff1f2;color:#a32a35}.feedback p{margin-bottom:0}.answer-space{display:inline-block;margin-left:16px}.explanation{border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.explanation h3{margin-bottom:8px}.original{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.practice-actions{display:flex;gap:12px;margin:18px 0 10px}.practice-actions .button{padding-left:16px;padding-right:16px}.nav-toggle{display:block;margin:0 auto 16px}.compact-heading{margin-bottom:18px}.compact-heading h1{font-size:1.5rem}.answer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:10px;margin-top:16px}.answer-grid button{border:1px solid var(--border);background:#f4f6f9;color:#536176;min-height:44px;border-radius:7px;font-size:.9375rem}.answer-grid button.correct{background:#e9f6ee;border-color:#c6e4d1;color:var(--green)}.answer-grid button.wrong{background:#fff0f1;border-color:#edc5c9;color:var(--red)}.answer-grid button.answered{background:#eaf1ff;border-color:#bad0f4;color:var(--blue)}.answer-grid button.current{outline:2px solid var(--blue);outline-offset:1px}.empty{text-align:center;padding:38px 20px}.empty p{margin:10px 0 20px}.empty .button{margin-top:8px}.completion{margin-top:18px}.resume-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #cdddf6;background:#eff5ff;border-radius:10px;padding:20px;margin-bottom:20px}.resume-banner p{margin:5px 0 0}.resume-banner .button{flex-shrink:0}.collection-list{display:flex;flex-direction:column;gap:0}.list-question{font-size:1.05rem;font-weight:600;line-height:1.8;margin-bottom:16px;overflow-wrap:anywhere}details{border-top:1px solid var(--border);margin-top:12px}summary{padding:14px 0;cursor:pointer;color:var(--blue);font-size:.875rem;min-height:44px}.detail-body{padding:5px 0 14px}.collection-actions{border-top:1px solid var(--border);padding-top:16px}.case-card{scroll-margin-top:18px}.case-card>h2{font-size:1.25rem;margin:18px 0}.case-card h3{margin-bottom:8px}.case-material{background:#f6f8fb;border-radius:8px;padding:16px;margin-bottom:24px}.case-subquestion{margin:24px 0}.case-hint{border-top:1px solid var(--border);padding-top:16px;color:#52647c}.analysis-template{color:var(--blue);font-weight:600;font-size:1rem;margin:15px 0}.template-panel label{margin-top:18px}.flashcard{padding:28px;min-height:300px;display:flex;flex-direction:column;align-items:stretch}.flashcard-text{font-size:1.3rem;line-height:2.1;padding:26px 0;flex:1}.flashcard .button{align-self:center;min-width:180px}.timer{text-align:right;color:var(--blue);font-size:1.65rem;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.25}.timer small{display:block;color:var(--muted);font-size:.75rem;font-weight:400;margin-top:6px}.checkbox-row{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 0;color:#26354a;font-size:.9375rem}.score-panel{text-align:center}.score{font-size:3.5rem;color:var(--blue);line-height:1.3;display:block}.score small{font-size:1rem;margin-left:6px}.report-stats{border:0;margin:20px 0 8px;padding:10px 0}.report-stats strong{font-size:1.4rem}.history-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.history-item p{margin:5px 0 0}.history-item>strong{white-space:nowrap}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.metric-link{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-link strong{color:var(--blue);font-size:1.5rem}.metric-link span{font-size:.875rem}.module-progress{margin-top:22px}.progress-row{margin:18px 0}.progress-row .between{gap:10px;align-items:flex-start;flex-wrap:wrap}.progress-row .between>span:first-child{font-size:.9375rem}.progress-row progress{margin:9px 0 0}.data-actions{display:flex;flex-direction:column;gap:12px;margin:20px 0}.data-actions .button{width:100%}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}.bottom-nav>div{max-width:880px;display:flex;justify-content:space-around;margin:auto}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;color:#637085;font-size:.75rem;flex:1;min-height:70px;padding:8px 0}.bottom-nav a.active{color:var(--blue);font-weight:600}.toast{position:fixed;bottom:calc(86px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:60;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);width:max-content;padding:12px 16px;border-radius:9px;background:#24344d;color:#fff;font-size:.875rem;box-shadow:0 3px 12px #15233c20}.toast span{overflow-wrap:anywhere}.toast button{background:transparent;color:#fff;border:0;min-width:32px;min-height:32px;font-size:1.3rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#18243870;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:100%;max-width:430px;max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border-radius:14px;padding:26px}.modal p{margin:14px 0 24px;color:var(--muted)}.modal .button-row{justify-content:flex-end}.storage-alert{padding:18px;background:#fff6e9;border:1px solid #ecd4a9;border-radius:10px;font-size:.875rem;margin-bottom:20px;overflow-wrap:anywhere}.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}.skip-link{position:fixed;top:0;left:15px;transform:translateY(-120%);padding:10px;background:#fff;color:var(--blue);z-index:100}.skip-link:focus{transform:translateY(0)}@media(max-width:600px){.header-inner{padding:14px 16px}.header-label{font-size:.75rem}.brand{font-size:1.05rem}.brand-mark{width:36px;height:36px}.main-shell{padding:24px 16px calc(100px + env(safe-area-inset-bottom))}h1{font-size:1.55rem}h2{font-size:1.08rem}.welcome{gap:12px;margin-bottom:22px}.welcome h1{font-size:1.4rem}.welcome p.muted{font-size:.875rem}.exam-date{min-width:76px;padding-left:12px}.exam-date strong{font-size:2rem}.exam-date span{font-size:.75rem}.stats-grid{padding:18px 4px}.stats-grid strong{font-size:1.6rem}.stats-grid span{font-size:.8125rem}.panel{padding:18px}.chapter-card{gap:12px;padding:16px}.chapter-number{width:36px;height:36px;font-size:1rem}.chapter-card h3{font-size:.9375rem}.tool-grid{gap:10px}.tool-card{gap:10px;padding:16px 12px;align-items:flex-start}.tool-card>svg{width:21px;height:21px;margin-top:2px}.tool-card h3{font-size:.9375rem}.tool-card p{font-size:.8125rem}.filter-grid{gap:12px}.chapter-detail .between{align-items:flex-start}.chapter-detail .inline{gap:10px}.chapter-detail .inline h2{font-size:1rem}.chapter-detail .tag{flex-shrink:0}.type-counts{gap:16px}.question-card{padding:18px}.question-stem{font-size:1.08rem}.option{padding:14px 12px;gap:12px}.practice-actions{gap:8px}.practice-actions .button{padding:10px 12px;font-size:.875rem}.feedback{padding:14px}.answer-space{display:block;margin-left:0;margin-top:4px}.resume-banner{align-items:flex-start;flex-direction:column;padding:18px}.resume-banner .button{width:100%}.question-meta .code{margin-left:4px}.case-material{padding:14px}.analysis-template{font-size:.9375rem}.flashcard{padding:22px;min-height:310px}.flashcard-text{font-size:1.18rem}.two-column{gap:12px}.metric-link{padding:16px}.metric-link strong{font-size:1.3rem}.history-item{padding:18px}.page-heading{margin-bottom:20px}.bottom-nav a{min-height:64px}.answer-grid{gap:9px}.modal{padding:22px}.device-note{font-size:.8125rem}.checkbox-row{font-size:.875rem}}@media(max-width:360px){.header-label{display:none}.tool-grid,.filter-grid{grid-template-columns:1fr}.welcome h1{font-size:1.25rem}.question-meta{align-items:flex-start}.question-meta>div{max-width:70%}.type-counts{gap:12px}.chapter-card{padding:14px 12px;gap:10px}.analysis-template{font-size:.875rem}.practice-actions .button{padding:10px}.metric-link{padding:12px;gap:5px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{animation:none!important;transition:none!important}}
