:root{font-family:system-ui,Yu Gothic UI,Microsoft YaHei,sans-serif;color:#152d3e;background:#f3f7fa;line-height:1.55;--paper: #fff;--ink: #152d3e;--primary: #126257;--primary-dark: #0c4741;--muted: #4a6270;--line: #c2d1d9;--accent: #e1f1eb}*{box-sizing:border-box}body{margin:0}a{color:#0c5a51;text-underline-offset:.15em}button,select{font:inherit;color:inherit}:focus-visible{outline:3px solid #146bb5;outline-offset:3px}main:focus{outline:none}h1,h2,h3,h4{line-height:1.25;overflow-wrap:anywhere}h1{font-size:clamp(1.6rem,4vw,2.55rem);margin:0 0 1rem;letter-spacing:-.02em}h2{font-size:1.2rem;margin:0 0 .9rem}h3{margin:1rem 0 .5rem}h4{margin:1rem 0 .25rem}p{margin:.55rem 0 1rem;overflow-wrap:anywhere}li{overflow-wrap:anywhere}rt{font-size:.6em}.demo-banner{position:fixed;z-index:5;top:0;width:100%;height:2rem;display:grid;place-items:center;color:#502c00;background:#ffe5a0;font-weight:700;font-size:.9rem}.demo{padding-top:2rem}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.site-inner,main{max-width:76rem;margin-inline:auto;padding-inline:clamp(.75rem,3vw,2rem)}.site-inner,.header-controls,.languages{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .65rem}.site-inner{justify-content:space-between;padding-block:.55rem}.brand{display:grid;min-height:44px;text-decoration:none;align-content:center;line-height:1.2}.brand span{font-size:.8rem;font-weight:800}.brand strong{color:var(--ink);font-size:1.12rem}.history-link{min-height:44px;display:inline-flex;align-items:center;padding-inline:.25rem}.languages{gap:.2rem}.languages button{padding-inline:.55rem;font-size:.9rem;border-color:transparent;background:transparent}.languages button[aria-pressed=true]{border-color:#74a79a;background:var(--accent);font-weight:700}main{padding-block:clamp(1.1rem,3.7vw,2.5rem) 3rem}button,.button,.stages a,select{min-height:44px;border:1px solid var(--line);border-radius:.55rem;padding:.45rem .8rem;background:var(--paper);color:var(--ink);font-weight:650;text-decoration:none}button,.button,.stages a{display:inline-flex;justify-content:center;align-items:center;text-align:center;cursor:pointer}button:hover:not(:disabled),.button:hover,.stages a:hover{border-color:var(--primary);background:var(--accent)}button:disabled{color:var(--muted);background:#edf1f3;cursor:default}.primary,.stages [aria-current]{color:#fff;background:var(--primary);border-color:var(--primary)}.primary:hover:not(:disabled),.stages [aria-current]:hover{color:#fff;background:var(--primary-dark)}.actions,.stages{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.actions p{margin:0}.actions>a:not(.button){display:inline-flex;align-items:center;min-height:44px;padding-inline:.2rem}.stages{margin-bottom:1rem}.stages a{min-width:6rem}.availability,.muted,.keyboard-hint{color:var(--muted)}.availability{font-weight:650}.keyboard-hint{font-size:.875rem}.panel{min-width:0;margin:0 0 .85rem;padding:clamp(.9rem,2.2vw,1.5rem);border:1px solid var(--line);border-radius:.85rem;background:var(--paper)}.panel>:last-child{margin-bottom:0}.home-grid{display:grid;gap:.8rem}.home-grid .panel{margin:0}.home .panel>h2:has(+.panel-description){margin-bottom:.4rem}.home .availability{margin-bottom:.35rem}.home .availability+p{margin-top:0}.chapter-cards,.history-list,.weaknesses{list-style:none;padding:0;margin:0}.chapter-panel{grid-column:1 / -1}.chapter-panel>.actions{margin-top:.65rem}.chapter-progress-notice{margin-bottom:.85rem}.chapter-progress-notice p{margin-bottom:.55rem}.chapter-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem}.chapter-card{display:flex;flex-direction:column;min-width:0;padding:.85rem;border:1px solid var(--line);border-radius:.65rem;background:#f7fafb}.chapter-card h3{font-size:1.05rem;margin:0 0 .2rem}.chapter-card h3 a{display:inline-flex;min-height:44px;align-items:center}.chapter-card p{margin:.45rem 0}.chapter-progress-count{font-variant-numeric:tabular-nums;font-weight:650}.chapter-card progress{display:block;width:100%;height:.6rem;border:0;border-radius:1rem;accent-color:var(--primary);background:#dce7ec}.chapter-card progress::-webkit-progress-bar{background:#dce7ec;border-radius:1rem}.chapter-card progress::-webkit-progress-value{background:var(--primary);border-radius:1rem}.chapter-card progress::-moz-progress-bar{background:var(--primary);border-radius:1rem}.chapter-accuracy{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .55rem}.chapter-weak{display:inline-block;border-radius:.35rem;background:#ffefcd;color:#754317;padding:.1rem .45rem;font-weight:650}.chapter-card-actions{margin-top:auto;padding-top:.3rem}.chapter-clear-dialog{width:min(28rem,calc(100% - 1.5rem));max-height:calc(100% - 1.5rem);padding:1.1rem;border:1px solid var(--line);border-radius:.85rem;color:var(--ink);background:var(--paper)}.chapter-clear-dialog::backdrop{background:#152d3e7a}.resume-row{display:flex;gap:.45rem 1rem;align-items:center;flex-wrap:wrap}.resume-row+.resume-row{margin-top:.85rem;padding-top:.85rem;border-top:1px solid var(--line)}.notice,.confirmation{padding:.75rem .9rem;border-radius:.55rem;border:1px solid #d2a754;background:#fff5d8}.confirmation{margin-bottom:1rem}.confirmation p,.notice p{margin-top:0}fieldset{margin:.8rem 0;padding:0;border:0;min-width:0}legend{padding:0;max-width:100%;overflow-wrap:anywhere}.prompt{font-size:1.13rem;font-weight:620}.statement-number{display:block;font-weight:740;color:var(--muted);margin:0 0 .15rem}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.6rem}.choice{display:flex;align-items:center;min-height:44px;padding:.5rem .6rem;gap:.5rem;border:1px solid var(--line);border-radius:.55rem;cursor:pointer}.choice:has(:checked){border-color:var(--primary);background:var(--accent);font-weight:740}.choice input{accent-color:var(--primary);flex:0 0 auto;width:1.15rem;height:1.15rem;margin:0}.question-image{margin:.9rem 0}.question-image img{display:block;max-width:100%;max-height:24rem;height:auto;object-fit:contain;border-radius:.55rem}.explanation{border-block:1px solid var(--line);padding-block:.3rem .9rem;margin-block:.9rem}.judgments>li+li{border-top:1px solid var(--line);margin-top:.5rem;padding-top:.5rem}.judgments p{margin-block:.25rem}.judgment{font-weight:750}.correct{color:#0f6455}.wrong{color:#982f26}.unanswered,.partial{color:#495d6b}.exam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.3rem;background:var(--paper);border:1px solid var(--line);border-radius:.65rem;margin-bottom:.8rem;padding:.4rem .55rem}.timer{margin:0;font-size:.92rem}.timer strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:1.12rem}.exam-toolbar button{flex-shrink:0}.exam-layout{display:grid;gap:.75rem}.exam-layout .panel{margin:0}.answer-card{padding:.625rem}.answer-numbers{display:none;grid-template-columns:repeat(5,minmax(44px,1fr));list-style:none;padding:4px;margin:.3rem 0 0;gap:5px}.answer-card.expanded .answer-numbers{display:grid}.card-toggle{width:100%}.card-desktop-title{display:none}.card-summary,.card-legend{margin:.35rem 0 0;font-size:.75rem}.card-summary{font-weight:650}.card-legend{display:none;flex-wrap:wrap;gap:.1rem .4rem;color:var(--muted)}.card-legend span{white-space:nowrap}.answer-card.expanded .card-legend{display:flex}.card-number{position:relative;display:grid;grid-template-rows:1fr .75rem;justify-items:center;width:100%;height:44px;padding:.25rem 0 .15rem;border-color:#8096a4;border-radius:.35rem;font-size:.875rem;line-height:1}.card-number.answered{color:#fff;background:var(--primary);border-color:var(--primary)}.card-number.answered:hover{background:var(--primary-dark)}.card-number.partial{background:#fff5d8}.card-number[aria-current]{box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 3px var(--paper)}.card-number:focus-visible{outline-offset:0}.card-symbols{font-size:.75rem;white-space:nowrap}.card-mark{position:absolute;inset-block-start:1px;inset-inline-end:2px;font-size:.65rem;color:#70470c}.card-number.answered .card-mark{color:#ffe5a0}.marked{color:#70470c}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr));gap:.75rem}.facts>div{padding:.65rem;background:#f1f6f7;border-radius:.4rem}.facts dt{color:var(--muted)}.facts dd{margin:0;font-weight:700;overflow-wrap:anywhere}.verdict{font-weight:800;font-size:1.45rem}.review-detail{margin-top:.8rem}select{max-width:100%}.history-list time{display:block;color:var(--muted)}.history-list a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}.weaknesses li{display:flex;flex-wrap:wrap;gap:.2rem .8rem;padding:.45rem 0}.weaknesses li+li{border-top:1px solid var(--line)}@media(min-width:650px){.home-grid,.chapter-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1080px){.chapter-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:649px){.home>h1,.home>.stages,.home>.panel{margin-bottom:.65rem}.home .resume-row+.resume-row{margin-top:.55rem;padding-top:.55rem}}@media(min-width:900px){.exam-page{--exam-toolbar-top: 0px;--exam-toolbar-height: calc(max(44px, 2.45rem + 2px) + .8rem + 2px) ;--answer-card-top: calc(var(--exam-toolbar-top) + var(--exam-toolbar-height) + .8rem)}.demo .exam-page{--exam-toolbar-top: 2rem}.exam-page>h1{font-size:1.8rem;margin-bottom:.65rem}.exam-toolbar{position:sticky;top:var(--exam-toolbar-top);z-index:2}.exam-layout{grid-template-columns:minmax(0,1fr) minmax(18rem,31.5%);align-items:start;min-height:max(0px,var(--exam-layout-min-height, 0px))}.answer-card{position:sticky;top:var(--answer-card-top);container-type:inline-size;display:flex;flex-direction:column;max-height:max(8rem,calc(100dvh - max(var(--answer-card-top),var(--answer-card-origin, 0px)) - .75rem))}.card-toggle{display:none}.card-desktop-title{display:block;margin:0;font-size:1.05rem}.answer-card .card-legend{display:flex;column-gap:.2rem}.answer-card .answer-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}.card-number{min-height:0;height:31px}}@container (min-width: 21rem){.answer-card .answer-numbers{grid-template-columns:repeat(10,minmax(0,1fr))}.card-number:has(.card-mark) strong{transform:translate(-.25rem)}}
