:root{--ink:#20312d;--muted:#72807a;--green:#245c50;--soft:#eaf1ed;--line:#dde5df;--paper:#fff;--bg:#f6f7f3;--gold:#bd9651;--red:#a54a43;--shadow:0 10px 35px #1836290a;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:10px 14px;transition:background .15s,color .15s}button:hover{background:var(--soft)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #91b8a7;outline-offset:3px}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.35;font-weight:650;letter-spacing:-.7px}h2{font-size:19px;line-height:1.5}h3{font-size:16px;line-height:1.5}p{line-height:1.8}small,.muted{color:var(--muted)}[hidden]{display:none!important}.topbar{height:82px;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1540px)/2));background:#ffffffef;backdrop-filter:blur(14px);gap:25px}.brand{display:flex;gap:11px;align-items:center;color:var(--ink);font-size:18px;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;width:39px;height:39px;border-radius:12px;font-family:Georgia,serif;font-size:25px}.brand small{display:block;font-size:10px;letter-spacing:1.1px;margin-top:4px}.brand b{font-weight:600}.topbar nav{display:flex;gap:5px}.topbar nav button{border:0;background:transparent;font-size:14px;color:var(--muted);padding:11px 17px}.topbar nav button.active{color:var(--green);background:var(--soft);font-weight:600}.icon-button{border:0;background:transparent;padding:6px 10px;font-size:24px}.layout{display:grid;grid-template-columns:246px minmax(0,1fr);max-width:1540px;margin:auto;min-height:calc(100vh - 82px)}aside{border-right:1px solid var(--line);padding:29px 22px;background:#fbfcf9;position:sticky;top:82px;height:calc(100vh - 82px);overflow:auto}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:2px;margin-bottom:22px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#64736b;margin:0 0 17px;min-width:0}.field input,.field select{width:100%;min-width:0;padding:10px 9px;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:13px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sidebar-foot{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.sidebar-foot p{font-size:12px;margin:10px 0 20px;color:var(--muted)}.tiny-label,.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--green)}.eyebrow{margin-bottom:12px}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-bottom:8px}progress{width:100%;height:5px;appearance:none;border:0;background:var(--line);border-radius:9px;margin:0 0 15px}progress::-webkit-progress-bar{background:var(--line);border-radius:9px}progress::-webkit-progress-value{background:var(--green);border-radius:9px}progress::-moz-progress-bar{background:var(--green);border-radius:9px}main{min-width:0;padding:38px 36px 22px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.page-head p{font-size:13px;color:var(--muted);margin-top:10px}.primary{background:var(--green);color:white;border-color:var(--green);font-weight:500}.primary:hover{background:#194539}.primary span{margin-left:18px}.subtle{background:transparent;font-size:12px}.full{width:100%}.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.active-filters:empty{margin:0}.chip{font-size:11px;background:var(--soft);color:var(--green);border:0;padding:6px 10px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.metric{padding:21px 22px;background:white;border:1px solid var(--line);border-radius:12px}.metric-label{font-size:11px;color:var(--muted)}.metric-value{font-size:29px;font-weight:650;line-height:1.2;letter-spacing:-1px;margin:12px 0 8px}.metric-value small{font-size:12px;letter-spacing:0;margin-left:6px}.metric-foot{font-size:11px;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-head p{font-size:12px;color:var(--muted);margin-top:5px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.two-column{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}.two-column .panel{height:100%}.chapter-grid,.year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.chapter-card,.year-card{text-align:left;padding:21px;border-radius:11px;display:flex;flex-direction:column;gap:14px;min-height:139px}.chapter-card .card-index{font-size:11px;color:var(--muted);letter-spacing:1px}.card-title{font-size:17px;font-weight:550}.card-foot{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.chapter-card:hover,.year-card:hover{border-color:#9ab7a7;background:#fbfcfa}.year-card{min-height:120px}.year-card strong{font-family:Georgia,serif;font-size:27px;font-weight:500}.topic-table{width:100%;border-collapse:collapse;font-size:12px}.topic-table th{text-align:left;color:var(--muted);font-size:11px;font-weight:500;padding:10px;border-bottom:1px solid var(--line);white-space:nowrap}.topic-table td{padding:13px 10px;border-bottom:1px solid #eef1ed}.topic-table tr:last-child td{border:0}.topic-table td button{border:0;padding:0;background:transparent;text-align:left;color:var(--green)}.table-scroll{overflow-x:auto}.bar-rows{display:flex;flex-direction:column;gap:15px}.bar-row{width:100%;display:grid;grid-template-columns:minmax(100px,1fr) 1.3fr 28px;gap:12px;align-items:center;background:transparent;border:0;padding:0;text-align:left;font-size:12px}.bar-track{height:8px;background:#f0f3ee;border-radius:9px;overflow:hidden}.bar-fill{height:100%;background:var(--green);border-radius:9px;min-width:2px}.bar-row:hover{background:transparent;color:var(--green)}.bar-row b{font-size:12px;text-align:right;font-weight:500}.year-chart{display:flex;gap:7px;align-items:stretch;height:172px;overflow-x:auto;padding:8px 0 0}.year-bar{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;flex:1;min-width:24px;border:0;background:none;padding:0;border-radius:0}.year-bar:hover{background:none;color:var(--green)}.year-bar i{background:#5f917f;border-radius:4px 4px 0 0;width:100%;max-width:23px;min-height:2px}.year-bar .year-count{font-size:10px;color:var(--green)}.year-bar small{font-size:9px;color:var(--muted);white-space:nowrap}.chart-caption{font-size:11px;color:var(--muted);margin-top:15px;line-height:1.7}.list-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:16px 0}.list-toolbar p{font-size:12px;color:var(--muted)}.question-list{display:flex;flex-direction:column;gap:10px}.question-row{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.question-row summary{list-style:none;padding:17px 19px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}.question-row summary::-webkit-details-marker{display:none}.question-row summary strong{display:block;font-size:14px;margin-bottom:6px}.question-row summary small{display:block;font-size:11px;line-height:1.7}.question-row summary:after{content:'+';font-size:22px;color:var(--muted);margin-left:auto}.question-row[open] summary:after{content:'−'}.question-row[open] summary{border-bottom:1px solid var(--line)}.question-row .question-body{padding:18px}.status-badge{font-size:10px;background:var(--soft);color:var(--green);padding:4px 8px;border-radius:5px;white-space:nowrap}.status-badge.review{background:#f8eeeb;color:var(--red)}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 17px}.tag{font-size:10px;padding:5px 8px;background:#f3f5f1;border:0;border-radius:4px;color:var(--muted)}.tag.main{background:var(--soft);color:var(--green)}.question-images{background:white}.question-image{display:block;width:100%;height:auto;cursor:zoom-in;margin:15px 0;object-fit:contain}.source-note{font-size:11px;color:var(--muted);margin:9px 0}.question-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.question-actions button{font-size:12px;padding:8px 12px}.question-actions button.selected{background:var(--soft);border-color:#aac5b7;color:var(--green)}.note-area{margin-top:17px}.note-area textarea{width:100%;border:1px solid var(--line);border-radius:8px;min-height:90px;padding:13px;resize:vertical;color:var(--ink);font-size:13px;background:#fbfcf9;line-height:1.8}.note-status{font-size:10px;color:var(--muted);margin-top:5px}.pagination{display:flex;justify-content:center;gap:12px;align-items:center;margin:25px 0;font-size:12px}.empty{padding:50px 20px;text-align:center;color:var(--muted);background:white;border:1px dashed var(--line);border-radius:12px}.empty h3{color:var(--ink);margin-bottom:10px}.empty button{margin-top:20px}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px}.practice-card{padding:24px;border-radius:13px;background:white;border:1px solid var(--line);min-width:0}.practice-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.practice-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.practice-side{align-self:start;position:sticky;top:107px}.timer{font-family:Consolas,monospace;font-size:31px;color:var(--green);letter-spacing:1px;margin:18px 0 10px}.session-panel{padding:18px;background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:14px}.session-panel h3{font-size:13px}.number-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:15px;max-height:320px;overflow:auto}.number-grid button{font-size:11px;padding:8px 0;border-radius:6px}.number-grid .current{background:var(--green);color:white}.number-grid .done{background:var(--soft);color:var(--green)}.number-grid .review{border-color:#d6a69d;color:var(--red)}.practice-caption{font-size:11px;color:var(--muted);margin-top:12px}.segmented{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.segmented button{background:transparent;border:0;font-size:12px}.segmented .active{background:white;color:var(--green);box-shadow:0 2px 8px #1731220a}.heatmap{display:grid;grid-template-columns:150px repeat(32,26px);gap:4px;width:max-content;min-width:100%;font-size:10px}.heat-cell{display:grid;place-items:center;border:0;padding:0;border-radius:4px;width:26px;height:31px;font-size:10px}.heat-label{font-size:11px;display:flex;align-items:center;padding-right:12px}.heat-year{font-size:9px;text-align:center;color:var(--muted)}.heat-scroll{overflow-x:auto}.legend{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);margin-top:16px}.legend i{height:11px;width:11px;display:inline-block;border-radius:2px}.activity-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:15px}.activity-cell{background:var(--soft);border-radius:6px;padding:9px 0;text-align:center;font-size:10px}.activity-cell b{display:block;margin-top:5px;font-size:13px}.data-controls{display:flex;gap:10px;flex-wrap:wrap}.help-box{border-left:3px solid #a9c2b2;padding:4px 0 4px 14px;font-size:12px;color:var(--muted);line-height:1.8;margin:15px 0}.scratch{margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.scratch summary{cursor:pointer;color:var(--green);font-size:12px}.scratch-tools{margin:15px 0;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.scratch-tools button{padding:7px 10px;font-size:11px}.scratch canvas{display:block;width:100%;height:300px;border:1px solid var(--line);border-radius:8px;touch-action:none;background:white;background-image:radial-gradient(#dce5df 1px,transparent 1px);background-size:20px 20px}.dialog-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head .eyebrow{display:block;margin-bottom:7px}dialog{padding:0;border:1px solid var(--line);border-radius:14px;background:white;color:var(--ink);width:min(550px,calc(100vw - 28px));max-height:90vh;box-shadow:0 20px 70px #09211b30}dialog::backdrop{background:#17302980;backdrop-filter:blur(3px)}.dialog-body{padding:22px 24px}.dialog-body>p{font-size:12px;margin-bottom:18px}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:220px;overflow:auto;padding:14px 0}.checklist label{font-size:11px;display:flex;gap:6px;align-items:flex-start}.dialog-body details{margin-bottom:18px}.dialog-body summary{font-size:12px;color:var(--green);cursor:pointer}#imageDialog{width:min(1300px,calc(100vw - 20px));height:90vh}.image-stage{overflow:auto;height:calc(90vh - 80px);background:#f1f3ef;padding:18px}.image-stage img{display:block;max-width:none;width:100%;background:white}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;font-size:13px;padding:12px 20px;border-radius:10px;z-index:80;max-width:90vw;box-shadow:var(--shadow)}footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#8a968e;font-size:10px;border-top:1px solid var(--line);margin-top:38px;padding-top:20px;line-height:1.8}#mobileMenu,#closeSidebar{display:none}.shade{position:fixed;inset:0;background:#172e2470;z-index:29}.practice-focus .topbar,.practice-focus aside,.practice-focus .page-head,.practice-focus footer,.practice-focus #activeFilters{display:none}.practice-focus .layout{display:block;max-width:1350px}.practice-focus main{padding:20px}.practice-focus .practice-side{top:20px}.print-title{display:none}.timed-out{color:var(--red)}
@media(min-width:1450px){main{padding:44px 48px}}@media(max-width:1150px){.layout{grid-template-columns:218px minmax(0,1fr)}main{padding:30px 25px}.topbar nav button{padding:10px 11px}.metrics{gap:10px}.metric{padding:18px 15px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column{grid-template-columns:1fr}.practice-layout{grid-template-columns:minmax(0,1fr) 165px}.panel{padding:20px}}@media(max-width:800px){.topbar{height:auto;min-height:72px;padding:13px 18px;gap:10px;flex-wrap:wrap}.brand{font-size:16px}.brand-mark{height:34px;width:34px}.brand small{font-size:9px}.topbar nav{order:3;width:100%;justify-content:space-between;overflow:auto;gap:2px}.topbar nav button{font-size:12px;padding:9px 9px;white-space:nowrap}.layout{display:block}.layout>aside{position:fixed;left:0;top:0;height:100dvh;width:min(315px,86vw);z-index:30;transform:translateX(-100%);transition:transform .2s;padding:24px}.layout>aside.open{transform:translateX(0)}#mobileMenu,#closeSidebar{display:block}.page-head{align-items:flex-start;margin-bottom:23px}h1{font-size:25px}main{padding:26px 18px}.page-head>.primary{padding:10px 12px;font-size:12px;white-space:nowrap}.page-head>.primary span{display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.metric{padding:17px}.metric-value{font-size:26px;margin:9px 0}.chapter-grid,.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chapter-card{padding:17px;min-height:130px}.card-title{font-size:15px}.panel{padding:18px;margin-bottom:17px}.panel-head{align-items:flex-start}.panel-head h2{font-size:17px}.panel-head button{font-size:11px;padding:8px;white-space:nowrap}.practice-layout{display:flex;flex-direction:column}.practice-side{position:static;order:-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.session-panel{margin:0;padding:13px}.session-panel:last-child{grid-column:1/-1}.number-grid{display:flex;flex-wrap:wrap;max-height:85px;margin-top:10px}.number-grid button{width:31px;flex-shrink:0}.timer{font-size:25px;margin:8px 0}.practice-card{padding:17px}.practice-heading{align-items:flex-start}.practice-heading h2{font-size:18px}.practice-nav button{padding:10px;font-size:12px}.question-actions{gap:6px}.question-actions button{font-size:11px;padding:9px 10px}.question-row summary{padding:15px}.question-row summary small{max-width:240px}.question-row .question-body{padding:14px}.question-images{margin-left:-5px;margin-right:-5px}.year-chart{gap:6px}.year-bar{min-width:25px}.heatmap{grid-template-columns:145px repeat(32,26px)}footer{margin-top:28px}.checklist{grid-template-columns:1fr}.practice-focus .practice-side{display:none}.practice-focus main{padding:10px}.scratch canvas{height:240px}}@media(max-width:380px){main{padding:22px 12px}.topbar{padding:12px}.topbar nav button{font-size:11px;padding:8px 7px}.metric{padding:14px}.page-head{gap:7px}h1{font-size:23px}.card-title{font-size:14px}}
@media print{.topbar,aside,.page-head,.active-filters,.question-actions,.practice-side,.practice-nav,.note-area,.scratch,footer,.pagination,.list-toolbar,dialog,.segmented{display:none!important}.layout{display:block}main{padding:0}.question-row{border:0}.question-row:not([open]){display:none}.question-body,.practice-card{border:0;padding:0}.question-image{max-height:85vh;object-fit:contain;break-inside:avoid}.practice-layout{display:block}.panel{box-shadow:none;border:0}.practice-card{break-after:page}body{background:white}.tags{font-size:10px}}

.check-group{padding:8px 0}.check-group b{display:block;font-size:12px;color:var(--green);margin-bottom:10px}.check-group label{margin:7px 0}.practice-side{border:0;background:transparent;padding:0;height:auto;overflow:visible}#printSheet{display:none}@media print{body.printing>.topbar,body.printing>.layout,body.printing>.toast{display:none!important}body.printing>#printSheet{display:block;padding:18px}#printSheet>h1{font-size:22px;margin-bottom:15px}#printSheet>p{margin-bottom:20px}.print-question{break-before:page}.print-question h2{font-size:17px}.print-question p{font-size:12px;margin:10px 0}.print-question img{max-height:80vh;object-fit:contain;break-inside:avoid}}

/* Four selected layouts share catalogue, progress and theme tokens. */
:root{font-family:"Microsoft YaHei","PingFang SC","Segoe UI",sans-serif;font-size:14px}
body[data-theme][data-design]{--ink:#111827;--muted:#303b49;--green:#003b7a;--line:#aab7c8;--paper:#fff;--soft:#e7edf5;--bg:#f3f5f8;color:var(--ink);background:var(--bg)}
body[data-theme][data-design] h1{font-size:27px;font-weight:800;letter-spacing:0;color:var(--ink)}body[data-theme][data-design] h2{font-size:20px;font-weight:800;color:var(--ink)}body[data-theme][data-design] h3{font-size:16px;font-weight:750}
body[data-theme][data-design] button{font-weight:650;color:var(--ink);background:var(--paper);border-color:var(--line)}
body[data-theme][data-design] .primary{background:var(--green);color:#fff;border-color:var(--green);font-weight:750}
body[data-theme][data-design] .topbar{height:84px;gap:16px;background:var(--paper);border-bottom:2px solid var(--line);padding:0 24px;backdrop-filter:none}
body[data-theme][data-design] .brand{font-size:17px;font-weight:750;color:var(--ink)}body[data-theme][data-design] .brand small{color:var(--muted);font-size:11px;font-weight:600}
body[data-theme][data-design] .brand-mark{width:146px;height:46px;background:#003f88;padding:5px;border-radius:6px}body[data-theme][data-design] .brand-mark img{width:136px;height:36px}
body[data-theme][data-design] .topbar nav button{color:var(--muted);background:transparent;font-weight:700;font-size:14px;padding:12px 14px}
body[data-theme][data-design] .topbar nav button.active{background:var(--green);color:#fff}
.candidate-label{font-size:12px;white-space:nowrap;font-weight:700;color:var(--muted);border:1px solid var(--line);padding:9px 12px;border-radius:5px}
body[data-theme][data-design] .layout{grid-template-columns:238px minmax(0,1fr);max-width:1600px}
body[data-theme][data-design] #sidebar{background:var(--paper);top:84px;height:calc(100vh - 84px);padding:24px 20px}
body[data-theme][data-design] main{padding:28px 32px}
body[data-theme][data-design] .page-head{border:0;padding:0;margin-bottom:24px}
body[data-theme][data-design] .page-head p{font-size:14px;color:var(--muted);font-weight:500;margin-top:8px}
body[data-theme][data-design] .eyebrow{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1px;margin-bottom:8px}
body[data-theme][data-design] .field{font-size:13px;color:var(--muted);font-weight:700;margin-bottom:16px}
body[data-theme][data-design] .field input,body[data-theme][data-design] .field select{font-size:13px;color:var(--ink);font-weight:550;border-color:var(--line);background:var(--paper)}
body[data-theme][data-design] input::placeholder,body[data-theme][data-design] textarea::placeholder{color:var(--muted);opacity:1}
body[data-theme][data-design] .muted,body[data-theme][data-design] small,body[data-theme][data-design] .panel-head p,body[data-theme][data-design] .card-foot,body[data-theme][data-design] .metric-label,body[data-theme][data-design] .metric-foot,body[data-theme][data-design] .card-index,body[data-theme][data-design] .source-note,body[data-theme][data-design] .practice-caption,body[data-theme][data-design] .note-status,body[data-theme][data-design] .chart-caption,body[data-theme][data-design] .question-row summary small,body[data-theme][data-design] .sidebar-foot p,body[data-theme][data-design] .progress-label,body[data-theme][data-design] .list-toolbar p,body[data-theme][data-design] .legend,body[data-theme][data-design] footer,body[data-theme][data-design] .heat-label{color:var(--muted)}
body[data-theme][data-design] .metric-label{font-size:13px;font-weight:700}
body[data-theme][data-design] .metrics{gap:14px;margin-bottom:24px}
body[data-theme][data-design] .metric{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:18px 20px}
body[data-theme][data-design] .metric-value{font-size:30px;font-weight:850;color:var(--ink);margin:10px 0;line-height:1.2}body[data-theme][data-design] .metric-value small{font-size:12px;font-weight:650}
body[data-theme][data-design] .panel{border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:none;padding:22px;margin-bottom:22px}
body[data-theme][data-design] .panel-head{margin-bottom:20px}body[data-theme][data-design] .panel-head h2:before{display:none}body[data-theme][data-design] .panel-head p{font-size:13px;font-weight:500}
body[data-theme][data-design] .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-theme][data-design] .chapter-card{background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:18px;min-height:112px;gap:12px}
body[data-theme][data-design] .card-title{font-size:17px;font-weight:800;letter-spacing:0;color:var(--ink)}
body[data-theme][data-design] .card-index{font-size:11px;font-weight:700;letter-spacing:.7px}
body[data-theme][data-design] .card-foot{font-size:12px;font-weight:550;line-height:1.7}
body[data-theme][data-design] .bar-row{font-weight:700;font-size:13px;line-height:1.6;color:var(--ink)}
body[data-theme][data-design] .bar-row b{font-size:16px;font-weight:800}body[data-theme][data-design] .bar-fill,body[data-theme][data-design] .year-bar i{background:var(--green)}
body[data-theme][data-design] .year-bar small{color:var(--muted);font-weight:600}body[data-theme][data-design] .year-count{color:var(--ink);font-weight:800}body[data-theme][data-design] .year-chart{height:184px}
body[data-theme][data-design] .topic-table th{color:var(--muted);font-weight:750}body[data-theme][data-design] .topic-table td{font-weight:600}
body[data-theme][data-design] .year-card,body[data-theme][data-design] .question-row,body[data-theme][data-design] .practice-card,body[data-theme][data-design] .session-panel{background:var(--paper);border-color:var(--line);border-radius:8px}
body[data-theme][data-design] .question-row summary strong{font-weight:800;font-size:16px}
body[data-theme][data-design] .status-badge{color:var(--muted);background:var(--soft);font-weight:700}
body[data-theme][data-design] .tag{background:var(--soft);color:var(--ink);font-weight:700;border:0}body[data-theme][data-design] .tags .main{background:var(--soft);color:var(--green);font-weight:800}
body[data-theme][data-design] .practice-layout{grid-template-columns:minmax(0,1fr) 200px;gap:18px}
body[data-theme][data-design] .practice-side{grid-column:auto;grid-row:auto;top:106px}
body[data-theme][data-design] .practice-card{grid-column:auto;padding:24px;box-shadow:none}
body[data-theme][data-design] .practice-heading h2{font-size:24px;font-weight:850}body[data-theme][data-design] .session-panel{padding:17px}
body[data-theme][data-design] .timer{font-size:30px;font-weight:800;color:var(--ink)}
body[data-theme][data-design] .question-actions button{font-size:13px;font-weight:700;padding:9px 12px}
body[data-theme][data-design] .note-area textarea{background:var(--paper);border-color:var(--line);color:var(--ink)}
body[data-theme][data-design] .question-images,body[data-theme][data-design] .question-image{background:#fff}
body[data-theme][data-design] .segmented button{font-weight:750;color:var(--ink)}body[data-theme][data-design] .segmented button.active{background:var(--green);color:#fff}
body[data-theme][data-design] .help-box{background:var(--soft);color:var(--muted);font-weight:550}body[data-theme][data-design] .number-grid button.current{background:var(--green);color:#fff}
body[data-theme][data-design] .heat-label,body[data-theme][data-design] .heat-year{font-weight:700;font-size:12px}body[data-theme][data-design] .heat-cell{font-weight:750}

/* 01 Campus */
body[data-theme][data-design="01"]{--green:#003f88;--soft:#e8f0fb;--bg:#edf2f8;--muted:#27384b}
body[data-theme][data-design="01"] .topbar{border-bottom:4px solid #003f88}
body[data-theme][data-design="01"] .page-head{padding:20px 24px;background:#003f88;border-radius:8px;color:#fff}
body[data-theme][data-design="01"] .page-head h1,body[data-theme][data-design="01"] .page-head p,body[data-theme][data-design="01"] .page-head .eyebrow{color:#fff}
body[data-theme][data-design="01"] .page-head .primary{background:#fff;color:#003f88}
body[data-theme][data-design="01"] .metrics{gap:0;background:#fff;border:1px solid var(--line);border-radius:8px}
body[data-theme][data-design="01"] .metric{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}
body[data-theme][data-design="01"] .chapter-card{border-left:4px solid #003f88}
body[data-theme][data-design="01"] .card-title,body[data-theme][data-design="01"] .metric-value{color:#003064}

/* 03 Vertical navigation */
body[data-theme][data-design="03"] .topbar{position:fixed;left:0;top:0;bottom:0;height:100vh;width:228px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:26px 17px;background:#102a46;border:0;color:#fff}
body[data-theme][data-design="03"] .brand{flex-direction:column;align-items:flex-start;color:#fff;white-space:normal;gap:17px}body[data-theme][data-design="03"] .brand small{color:#e5edf8}
body[data-theme][data-design="03"] .topbar nav{flex-direction:column;gap:10px;margin-top:40px}
body[data-theme][data-design="03"] .topbar nav button{color:#f2f6fc;text-align:left;padding:15px}body[data-theme][data-design="03"] .topbar nav button.active{background:#fff;color:#102a46}
body[data-theme][data-design="03"] .candidate-label{color:#fff;border-color:#7f9bb9;margin-top:auto;white-space:normal;line-height:1.8}
body[data-theme][data-design="03"] .layout{display:block;margin-left:228px;max-width:none}
body[data-theme][data-design="03"] #sidebar{position:static;display:flex;flex-wrap:wrap;gap:12px;height:auto;padding:20px 26px 6px;border-bottom:1px solid var(--line);border-right:0}
body[data-theme][data-design="03"] .sidebar-heading{width:100%;margin-bottom:0}
body[data-theme][data-design="03"] #sidebar .field{width:150px;margin-bottom:10px}body[data-theme][data-design="03"] #sidebar .field:first-of-type{width:225px}
body[data-theme][data-design="03"] #sidebar .field-pair{width:195px}body[data-theme][data-design="03"] #sidebar .field-pair .field{width:auto}
body[data-theme][data-design="03"] .sidebar-foot{display:none}body[data-theme][data-design="03"] #clearFilters{width:auto;align-self:center;margin:10px 0 22px}
body[data-theme][data-design="03"] main{padding:24px 26px}body[data-theme][data-design="03"] .chapter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-theme][data-design="03"] .chapter-card{border-top:4px solid var(--green);padding:16px}

/* 04 Paper */
body[data-theme][data-design="04"]{--green:#453a27;--ink:#211b14;--muted:#42392d;--line:#b3a68d;--soft:#efe7d8;--bg:#f5f0e5;--paper:#fffdf7}
body[data-theme][data-design="04"] .topbar{background:#f5f0e5;border-bottom:2px solid #67553a}
body[data-theme][data-design="04"] h1,body[data-theme][data-design="04"] h2,body[data-theme][data-design="04"] .card-title{font-family:"SimSun","Songti SC",Georgia,serif;font-weight:800}
body[data-theme][data-design="04"] #sidebar{background:transparent}body[data-theme][data-design="04"] .page-head{border-bottom:2px solid #453a27;padding-bottom:18px}
body[data-theme][data-design="04"] .metrics{gap:0;border-top:1px solid #67553a;border-bottom:1px solid #67553a}
body[data-theme][data-design="04"] .metric{border:0;border-right:1px solid #b3a68d;border-radius:0;background:transparent}body[data-theme][data-design="04"] .metric-value{font-family:Georgia,serif}
body[data-theme][data-design="04"] .panel{border:0;border-radius:0;border-top:1px solid #67553a;padding:22px}
body[data-theme][data-design="04"] .chapter-grid{grid-template-columns:1fr 1fr;gap:0}
body[data-theme][data-design="04"] .chapter-card{background:transparent;border:0;border-bottom:1px solid #b3a68d;border-radius:0;padding:22px;display:grid;grid-template-columns:60px 1fr}
body[data-theme][data-design="04"] .card-index{grid-row:1/3;align-self:center}body[data-theme][data-design="04"] .card-foot{grid-column:2}
body[data-theme][data-design="04"] .two-column{grid-template-columns:1fr}body[data-theme][data-design="04"] .practice-card{border-radius:0;padding:30px}body[data-theme][data-design="04"] .practice-heading{border-bottom:1px solid #67553a;padding-bottom:18px}

/* 05 Soft cards */
body[data-theme][data-design="05"]{--green:#a63715;--ink:#202026;--muted:#3e3b43;--line:#bab9c1;--soft:#fbeae3;--bg:#efedf4}
body[data-theme][data-design="05"] .topbar{margin:14px 24px 0;border:1px solid #bab9c1;border-radius:20px;height:76px;top:14px}
body[data-theme][data-design="05"] .topbar nav button{border-radius:20px;padding:11px 14px}
body[data-theme][data-design="05"] .layout{grid-template-columns:230px minmax(0,1fr);padding:20px 24px;gap:20px}
body[data-theme][data-design="05"] #sidebar{border:1px solid var(--line);border-radius:16px;top:110px;height:calc(100vh - 130px)}
body[data-theme][data-design="05"] main{padding:6px 0}body[data-theme][data-design="05"] .page-head{padding:16px 5px}body[data-theme][data-design="05"] .metric{border-radius:14px}
body[data-theme][data-design="05"] .metric:first-child{background:#25212e;color:white;border-color:#25212e}
body[data-theme][data-design="05"] .metric:first-child .metric-label,body[data-theme][data-design="05"] .metric:first-child .metric-foot,body[data-theme][data-design="05"] .metric:first-child .metric-value,body[data-theme][data-design="05"] .metric:first-child small{color:white}
body[data-theme][data-design="05"] .panel{border-radius:18px;padding:24px}body[data-theme][data-design="05"] .chapter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body[data-theme][data-design="05"] .chapter-card{border-radius:12px;min-height:132px;background:#faf8fc}body[data-theme][data-design="05"] .chapter-card:nth-child(3n+1){background:#fff1eb}
body[data-theme][data-design="05"] .practice-card,body[data-theme][data-design="05"] .session-panel{border-radius:16px}body[data-theme][data-design="05"] .primary{border-radius:20px}

@media(max-width:1100px) and (min-width:801px){body[data-theme][data-design] .topbar nav button{font-size:12px;padding:10px 8px}body[data-theme][data-design] .candidate-label{display:none}body[data-theme][data-design] .brand-mark{width:108px}body[data-theme][data-design] .brand-mark img{width:98px}body[data-theme][data-design] .brand{font-size:14px}body[data-theme][data-design="05"] .chapter-grid,body[data-theme][data-design="03"] .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){
body[data-theme][data-design] .topbar{position:sticky;left:auto;top:0;bottom:auto;width:auto;height:auto;min-height:112px;display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 12px;margin:0;border-radius:0;gap:8px;align-items:center;justify-content:space-between}
body[data-theme][data-design] .brand{font-size:13px;gap:8px;flex-direction:row;align-items:center;white-space:nowrap}body[data-theme][data-design] .brand small{font-size:10px}
body[data-theme][data-design] .brand-mark{width:90px;height:38px;padding:4px}body[data-theme][data-design] .brand-mark img{width:82px;height:29px}
body[data-theme][data-design] .topbar nav{order:4;width:100%;display:flex;flex-direction:row;justify-content:space-between;height:auto;gap:0;margin:0;padding:0;min-width:0;grid-column:auto;border:0}
body[data-theme][data-design] .topbar nav button{font-size:11px;padding:10px 6px;min-width:0;white-space:nowrap}
body[data-theme][data-design] .candidate-label{display:none}body[data-theme][data-design] #mobileMenu{color:var(--ink);display:block;font-size:23px;padding:3px 6px;background:transparent}
body[data-theme][data-design="03"] #mobileMenu{color:#fff}
body[data-theme][data-design] .layout{display:block;max-width:none;margin:0;padding:0}
body[data-theme][data-design] #sidebar{display:block;position:fixed;left:0;top:0;height:100dvh;width:min(330px,90vw);z-index:30;background:var(--paper);padding:24px;border-radius:0;margin:0}
body[data-theme][data-design] #sidebar .field,body[data-theme][data-design] #sidebar .field:first-of-type,body[data-theme][data-design] #sidebar .field-pair{width:100%}body[data-theme][data-design] #sidebar .field-pair .field{width:auto}
body[data-theme][data-design] #clearFilters{width:100%}body[data-theme][data-design] .sidebar-foot{display:block}
body[data-theme][data-design] main{padding:20px 14px;margin:0}body[data-theme][data-design] h1{font-size:23px}body[data-theme][data-design] h2{font-size:19px}
body[data-theme][data-design] .page-head{gap:10px;align-items:flex-start}body[data-theme][data-design] .page-head p{font-size:13px;line-height:1.8}body[data-theme][data-design] .page-head .primary{font-size:12px;padding:11px}
body[data-theme][data-design="01"] .page-head{padding:17px}
body[data-theme][data-design] .metrics{grid-template-columns:1fr 1fr;gap:10px;border:0;background:transparent}body[data-theme][data-design] .metric{border:1px solid var(--line);border-radius:6px;background:var(--paper);padding:15px}body[data-theme][data-design] .metric-value{font-size:27px}
body[data-theme][data-design] .panel{padding:18px;margin-bottom:18px}body[data-theme][data-design] .chapter-grid{grid-template-columns:1fr 1fr;gap:10px}
body[data-theme][data-design] .chapter-card{padding:15px;display:flex;min-height:126px;gap:12px}body[data-theme][data-design] .card-title{font-size:16px}body[data-theme][data-design] .card-foot{font-size:12px}body[data-theme][data-design="04"] .chapter-grid{grid-template-columns:1fr;gap:0}body[data-theme][data-design="04"] .chapter-card{display:grid;grid-template-columns:65px 1fr;min-height:91px}
body[data-theme][data-design] #content:has(>.two-column){display:block}body[data-theme][data-design] #content>.two-column{display:block}body[data-theme][data-design] #content>.panel,body[data-theme][data-design] #content>.two-column>.panel{margin-bottom:18px}body[data-theme][data-design] .two-column{grid-template-columns:1fr}
body[data-theme][data-design] .practice-layout{display:flex;flex-direction:column}body[data-theme][data-design] .practice-side{order:-1;position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px}
body[data-theme][data-design] .session-panel{padding:13px;margin:0}body[data-theme][data-design] .session-panel:last-child{grid-column:1/-1}
body[data-theme][data-design] .practice-card{padding:17px}body[data-theme][data-design] .practice-heading h2{font-size:22px}
body[data-theme][data-design] .question-actions button{font-size:12px;padding:9px 10px}body[data-theme][data-design] .question-row summary small{max-width:215px}body[data-theme][data-design] .practice-focus .practice-side{display:none}
}
@media print{:root{background:white!important}body[data-theme][data-design]{background:white;color:black}.candidate-label{display:none}}

/* Coordinated colour tokens and identity, applied to every view. */
body[data-theme][data-design="01"]{--green:#003f88;--green-rgb:0,63,136;--ink:#122a45;--muted:#27384b;--line:#aabbd0;--soft:#e8f0fb;--hover:#dbe7f7;--bg:#edf2f8;--paper:#fff;--brand-color:var(--green)}
body[data-theme][data-design="03"]{--green:#103f70;--green-rgb:16,63,112;--ink:#142b42;--muted:#30465b;--line:#a9bdcf;--soft:#e7eff7;--hover:#d8e6f2;--bg:#f1f5f9;--paper:#fff;--brand-color:#fff}
body[data-theme][data-design="04"]{--green:#453a27;--green-rgb:69,58,39;--ink:#211b14;--muted:#42392d;--line:#b3a68d;--soft:#efe7d8;--hover:#e9dfcc;--bg:#f5f0e5;--paper:#fffdf7;--brand-color:var(--green)}
body[data-theme][data-design="05"]{--green:#a63715;--green-rgb:166,55,21;--ink:#2c1d18;--muted:#48342a;--line:#c6afa5;--soft:#f7e1d5;--hover:#f4d9c9;--bg:#fbf1ec;--paper:#fffdfb;--brand-color:var(--green)}
body[data-theme][data-design] .brand-mark{position:relative;flex-shrink:0;background:transparent;color:var(--brand-color);border:0}
body[data-theme][data-design] .brand-mark img{opacity:0;max-width:100%;height:100%;object-fit:contain}
body[data-theme][data-design] .brand-mark:after{content:"";position:absolute;inset:5px;background:currentColor;-webkit-mask:url("assets/identity/zju-official-mark.svg") center/contain no-repeat;mask:url("assets/identity/zju-official-mark.svg") center/contain no-repeat}
body[data-theme][data-design] .theme-picker{display:flex;gap:5px;flex-direction:column;font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap}
body[data-theme][data-design] .theme-picker select{min-height:35px;max-width:166px;font-size:12px;padding:7px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--paper)}
body[data-theme][data-design="03"] .theme-picker{margin-top:auto;color:#fff}
body[data-theme][data-design="03"] .brand small{color:#e5edf8}
body[data-theme][data-design="05"] .topbar{border-color:var(--line)}
body[data-theme][data-design="05"] .metric:first-child{background:#5b2c1b;border-color:#5b2c1b}
body[data-theme][data-design="05"] .chapter-card{background:var(--paper)}
body[data-theme][data-design="05"] .chapter-card:nth-child(3n+1){background:var(--soft)}
body[data-theme][data-design] .card-foot{flex-wrap:wrap}
body[data-theme][data-design] .tiny-label{color:var(--muted);font-weight:700}
body[data-theme][data-design] .topbar nav button:not(.active):hover,
body[data-theme][data-design] button:not(.primary):not(.active):not(.current):not(.heat-cell):hover{background:var(--hover);color:var(--ink)}
body[data-theme][data-design] .primary:hover{background:var(--green);filter:brightness(.88);color:#fff}
body[data-theme][data-design="01"] .page-head .primary:hover{background:#fff;color:var(--green)}
body[data-theme][data-design="03"] .topbar nav button:not(.active):hover{background:#264562;color:#fff}
body[data-theme][data-design] .question-actions button.selected,
body[data-theme][data-design] .chip,
body[data-theme][data-design] .number-grid button.done{background:var(--soft);color:var(--green);border-color:var(--line)}
body[data-theme][data-design] .number-grid button.current,
body[data-theme][data-design] .segmented button.active{background:var(--green);color:#fff}
body[data-theme][data-design] .bar-track,
body[data-theme][data-design] .progress-bar{background:var(--soft)}
body[data-theme][data-design] .progress-bar i{background:var(--green)}
body[data-theme][data-design] .topic-table th,
body[data-theme][data-design] .topic-table td{border-color:var(--line)}
body[data-theme][data-design] .topic-table tr:hover{background:var(--soft)}
body[data-theme][data-design] .help-box{border-color:var(--green);color:var(--muted)}
body[data-theme][data-design] .empty,
body[data-theme][data-design] dialog{background:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-theme][data-design] dialog::backdrop{background:rgba(var(--green-rgb),.45)}
body[data-theme][data-design] .image-stage{background:var(--soft)}
body[data-theme][data-design] .activity-cell{color:var(--ink)}
body[data-theme][data-design] .check-group label{font-size:12px;line-height:1.65}
body[data-theme][data-design] .check-group b{font-size:13px}
body[data-theme][data-design] :focus-visible{outline:3px solid var(--green);outline-offset:3px}
.focus-exit{position:fixed;right:18px;top:14px;z-index:40;display:none}
body[data-theme][data-design].practice-focus .focus-exit{display:block!important;color:var(--green);background:var(--paper);border-color:var(--green)}
body[data-theme][data-design].practice-focus .layout{display:block;margin:0 auto;max-width:1350px;padding:0}
body[data-theme][data-design].practice-focus main{padding-top:60px}
body[data-theme][data-design].practice-focus .practice-side{display:none!important}
body[data-theme][data-design].practice-focus .topbar,
body[data-theme][data-design].practice-focus #sidebar,
body[data-theme][data-design].practice-focus .page-head,
body[data-theme][data-design].practice-focus footer,
body[data-theme][data-design].practice-focus #activeFilters{display:none!important}
@media(min-width:801px) and (max-width:1250px){
 body[data-theme][data-design] .brand{font-size:14px;gap:8px}
 body[data-theme][data-design] .brand-mark{width:105px}
 body[data-theme][data-design] .topbar{gap:8px;padding-left:15px;padding-right:15px}
 body[data-theme][data-design] .topbar nav button{font-size:12px;padding:10px 8px}
 body[data-theme][data-design] .theme-picker select{max-width:145px;font-size:11px}
 body[data-theme][data-design="03"] .topbar{padding:26px 17px}
}
@media(max-width:800px){
 body[data-theme][data-design] .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;min-height:104px;column-gap:5px;row-gap:8px;padding:10px}
 body[data-theme][data-design] .brand{min-width:0;font-size:12px;gap:5px}
 body[data-theme][data-design] .brand small{font-size:9px}
 body[data-theme][data-design] .brand-mark{width:72px;height:35px;padding:0}
 body[data-theme][data-design] .brand-mark:after{inset:1px}
 body[data-theme][data-design] .topbar nav{grid-column:1/-1;grid-row:2;margin:0;min-height:36px}
 body[data-theme][data-design] .topbar nav button{font-size:11px;padding:10px 5px}
 body[data-theme][data-design] .theme-picker{margin:0;font-size:10px;gap:3px;align-items:flex-start}
 body[data-theme][data-design] .theme-picker select{max-width:116px;min-height:33px;padding:6px 3px;font-size:10px}
 body[data-theme][data-design="03"] .topbar nav{margin:0}
 body[data-theme][data-design] #mobileMenu{padding:3px;min-width:25px;font-size:22px}
 body[data-theme][data-design="03"] .layout{margin:0}
 body[data-theme][data-design].practice-focus main{padding-top:54px}
}
@media(max-width:380px){
 body[data-theme][data-design] .brand-mark{width:63px}
 body[data-theme][data-design] .brand>span:last-child{font-size:11px}
 body[data-theme][data-design] .brand small{font-size:8px}
 body[data-theme][data-design] .theme-picker select{max-width:109px}
}
@media print{
 :root{background:white!important}
 body[data-theme][data-design]{background:white;color:#111}
 body[data-theme][data-design] .layout{display:block;margin:0;padding:0}
 .theme-picker,.focus-exit{display:none!important}
}

/* Reading controls and primary text use black/charcoal across every theme. */
body[data-theme][data-design]{--ink:#181b20;--muted:#3f4247}
body[data-theme][data-design] .metric-value,
body[data-theme][data-design] .card-title,
body[data-theme][data-design] .eyebrow,
body[data-theme][data-design] .tag,
body[data-theme][data-design] .tags .main,
body[data-theme][data-design] .topic-table button,
body[data-theme][data-design] .chip,
body[data-theme][data-design] .number-grid button.done,
body[data-theme][data-design] .scratch summary,
body[data-theme][data-design] .dialog-body summary,
body[data-theme][data-design] .check-group b,
body[data-theme][data-design] .note-status,
body[data-theme][data-design] .source-note{color:var(--ink)}
body[data-theme][data-design="01"] .page-head .eyebrow{color:#fff}
body[data-theme][data-design="05"] .metric:first-child .metric-value{color:#fff}
body[data-theme][data-design] .pure-link{font-size:12px;font-weight:750;padding:8px 10px;border:1px solid var(--line);border-radius:6px;white-space:nowrap;color:var(--ink);background:var(--paper)}
body[data-theme][data-design="03"] .pure-link{order:4;background:transparent;color:#fff;border-color:#92aabe}
.reading-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.reading-tools button,.reading-tools label{font-size:12px;color:var(--muted);font-weight:700}
.reading-tools label{display:flex;align-items:center;gap:7px;margin-left:auto}
.reading-tools select{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:7px;font-size:12px}
.stats-hidden .collapsible-stats{display:none!important}
.reading-wide .layout{max-width:none!important}
.reading-wide main{padding-left:24px!important;padding-right:24px!important}
.year-shortcuts{display:flex;gap:5px;margin:-3px 0 16px}
.year-shortcuts button{font-size:11px;padding:7px 9px}
.page-size{display:flex;gap:6px;align-items:center;margin-left:auto;font-size:12px;white-space:nowrap}
.page-size select{font-size:12px;padding:6px;color:var(--ink);border:1px solid var(--line);background:var(--paper);border-radius:4px}
.session-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:7px;margin:15px 0;font-size:12px}
.directory-group{margin-bottom:17px;border-top:1px solid var(--line);padding-top:12px}
.directory-group h3 button{border:0;background:transparent!important;font-size:15px;font-weight:800;padding:5px 0;color:var(--ink)!important}
.directory-group>button{display:flex;width:100%;gap:10px;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:12px;padding:11px 6px}
.directory-group>button b{white-space:nowrap;color:var(--muted)}
.answer-summary{display:grid;gap:5px;margin:12px 0;font-size:12px}
.answer-summary span{display:flex;justify-content:space-between;color:var(--muted)}
body[data-theme][data-design] .number-grid button.done{border-bottom:3px solid var(--green)}
body[data-theme][data-design] .number-grid button.review{border-bottom:3px solid var(--red)}
body[data-theme][data-design] .scratch-tools button[aria-pressed="true"]{outline:2px solid var(--green);outline-offset:1px;background:var(--soft)}
.mobile-practice-bar{display:none}
#imageDialog .dialog-head{flex-wrap:wrap;padding:12px 18px}
#imageDialog .dialog-head>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#imageDialog .dialog-head button{padding:8px 10px;font-size:12px}
#imagePosition{font-size:12px}
.image-retry{display:block;margin:8px auto;font-size:12px;color:var(--red)}
.filters-open{overflow:hidden}
@media(min-width:801px){
 body[data-theme][data-design="03"] .year-shortcuts{align-self:flex-end;margin-bottom:18px}
 body[data-theme][data-design="03"] .theme-picker{order:3}
 body[data-theme][data-design="03"] .pure-link{margin-top:8px}
}
@media(min-width:801px) and (max-width:1150px){
 body[data-theme][data-design]:not([data-design="03"]) .topbar{flex-wrap:wrap;height:auto;min-height:110px;padding-top:10px;padding-bottom:10px}
 body[data-theme][data-design]:not([data-design="03"]) .topbar nav{order:4;justify-content:center;flex-basis:100%}
 body[data-theme][data-design]:not([data-design="03"]) #sidebar{top:110px;height:calc(100vh - 110px)}
}
@media(max-width:800px){
 body[data-theme][data-design] .pure-link{grid-column:1;grid-row:3;justify-self:start;font-size:11px;padding:5px 8px;margin:0}
 body[data-theme][data-design] .topbar{min-height:132px}
 body[data-theme][data-design] .reading-tools{gap:6px}
 .reading-tools button{padding:8px 9px;font-size:11px}
 .reading-tools label{margin-left:0;font-size:11px}
 .reading-tools select{padding:5px}
 body[data-theme][data-design] .practice-side{display:block}
 body[data-theme][data-design] .practice-side .session-panel{display:block}
 body[data-theme][data-design] .practice-side .session-panel:first-child{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}
 body[data-theme][data-design] .practice-side .timer{margin:0;font-size:24px}
 body[data-theme][data-design] .practice-side .practice-caption{grid-column:1/-1}
 .mobile-practice-bar{display:flex;position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:15;background:var(--paper);border:1px solid var(--line);box-shadow:0 3px 12px #0002;padding:8px;border-radius:8px;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}
 .mobile-practice-bar button{font-size:12px}
 body[data-theme][data-design].practice-focus .mobile-practice-bar{display:flex}
 .list-toolbar{flex-wrap:wrap;gap:9px}
 .page-size{margin-left:0}
 #imageDialog .image-stage{height:calc(90vh - 124px)}
 #imageDialog .dialog-head{gap:8px;padding:10px}
 #imageDialog .dialog-head button{padding:7px 8px}
}
@media print{.reading-tools,.pure-link,.year-shortcuts,.mobile-practice-bar,.image-retry{display:none!important}}

body[data-theme][data-design] .question-actions button.selected,
body[data-theme][data-design] .focus-exit,
body[data-theme][data-design] .brand,
body[data-theme][data-design] .page-head .primary{color:var(--ink)}
body[data-theme][data-design="03"] .brand{color:white}
.pause-status{font-size:13px;font-weight:750;color:#222;margin:0 0 16px;padding:10px 13px;border-left:3px solid var(--green);background:var(--soft)}
.pause-status.paused{border-left-color:#525252}
.knowledge-tree{border:1px solid var(--line);border-radius:7px;overflow:hidden}
.knowledge-tree summary{display:flex;gap:10px;align-items:center;list-style:none;cursor:pointer;color:var(--ink);padding:15px 13px;background:var(--paper)}
.knowledge-tree summary::-webkit-details-marker{display:none}
.knowledge-tree summary:before{content:'▸';width:13px;flex:none;color:var(--ink)}
.knowledge-tree details[open]>summary:before{content:'▾'}
.tree-chapter+details{border-top:1px solid var(--line)}
.knowledge-tree summary strong,.knowledge-tree summary span:first-of-type{font-size:14px;font-weight:750}
.knowledge-tree summary>span:last-child:not(:first-of-type),.knowledge-tree summary>b{margin-left:auto;white-space:nowrap;font-size:12px;font-weight:600;color:#424242}
.tree-children{padding:0 13px 10px 26px;background:var(--soft)}
.tree-topic{border-top:1px solid var(--line)}
.tree-topic summary{background:transparent;padding:12px 8px}
.tree-topic summary span{font-size:13px!important}
.tree-topic-tools{padding:4px 0 8px 23px}
.tree-topic-tools button{font-size:12px}
.tree-questions{padding:0 0 10px 23px}
.tree-questions button{display:flex;text-align:left;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:0;border-bottom:1px solid var(--line);padding:11px 8px;font-size:12px;color:var(--ink);background:var(--paper)}
.tree-questions button span{color:#414141}
.answer-panel>summary{cursor:pointer;font-size:14px;font-weight:750;margin-bottom:10px}
.answer-panel>summary h3{display:inline}
.mobile-practice-bar small{display:block;color:#414141;font-size:11px}
body[data-theme][data-design].practice-focus .reading-tools{display:none}
body[data-theme][data-design].practice-focus .mobile-practice-bar{display:flex;position:fixed;bottom:10px;left:20px;right:20px;max-width:650px;margin:auto}
@media(max-width:800px){
 body[data-theme][data-design][data-view="practice"]{padding-bottom:90px}
 body[data-theme][data-design] .practice-nav{display:none}
 body[data-theme][data-design] .controls-panel .row{display:grid;grid-template-columns:1fr 1fr}
 body[data-theme][data-design] .controls-panel button{font-size:12px}
 .mobile-practice-bar button{padding:9px 7px}
 .mobile-practice-bar>div{font-size:11px;text-align:center}
 .tree-children{padding-left:12px;padding-right:7px}
 .knowledge-tree summary{padding:13px 9px}
 .tree-questions{padding-left:10px}
 .knowledge-tree summary strong{font-size:13px}
}

/* Reference-inspired surface hierarchy and short, interruptible interactions. */
body[data-theme][data-design]{--ink:#171b22;--muted:#505c6b;--line:#cbd3de;--ui-ease:cubic-bezier(.2,.7,.2,1);--ui-shadow:0 3px 12px #172b4510;--ui-hover:0 7px 20px #172b4519;--done-bg:#e6f4eb;--done-line:#5c9874;--review-bg:#fff1dd;--review-line:#bb8533;--selected-bg:#e5edf9;--selected-line:#bacce5}
body[data-theme][data-design] .page-head .primary{color:#fff;background:var(--green);border-color:var(--green)}
body[data-theme][data-design] :is(.card-index,.eyebrow,.topic-table button,.directory-group h3 button){color:var(--green)}
body[data-theme][data-design] :is(.metric-label,.metric-foot,.practice-caption,.source-note,.note-status){color:var(--muted)}
body[data-theme][data-design] button{transition:background-color 150ms ease,border-color 150ms ease,box-shadow 180ms ease,transform 150ms var(--ui-ease)}
body[data-theme][data-design] button:active:not(:disabled){transform:translateY(1px)}
body[data-theme][data-design] :is(button,input,select,textarea,summary,a):focus-visible{outline:3px solid var(--green);outline-offset:3px}
body[data-theme][data-design] :is(.panel,.practice-card,.session-panel,.question-row){box-shadow:var(--ui-shadow)}
body[data-theme][data-design] :is(.panel,.practice-card,.session-panel){border-radius:12px}
body[data-theme][data-design] .chapter-card,body[data-theme][data-design] .year-card{border-radius:10px;transition:box-shadow 180ms ease,transform 180ms var(--ui-ease),border-color 150ms ease,background-color 150ms ease}
body[data-theme][data-design] .card-index{display:flex;align-items:center;gap:7px}
body[data-theme][data-design] .card-index:before{content:'';width:6px;height:6px;background:var(--green);border-radius:50%;flex:none}
body[data-theme][data-design] .card-title{font-size:16px;font-weight:750}
body[data-theme][data-design] .card-foot{color:#414955}
body[data-theme][data-design] .metrics{overflow:hidden}
body[data-theme][data-design] .metric-value{font-variant-numeric:tabular-nums;font-size:28px}
body[data-theme][data-design] :is(.segmented,.topbar nav){gap:5px}
body[data-theme][data-design] .segmented{padding:5px;border-radius:11px;background:var(--soft);border:1px solid var(--line);width:fit-content;max-width:100%;flex-wrap:wrap}
body[data-theme][data-design] .segmented button{border:0;border-radius:8px;background:transparent;font-size:13px;padding:9px 13px}
body[data-theme][data-design] .segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #172b4520;outline:1px solid var(--line)}
body[data-theme][data-design]:not([data-design="03"]) .topbar nav button{border-radius:20px;padding:10px 14px}
body[data-theme][data-design]:not([data-design="03"]) .topbar nav button.active{color:var(--green);background:var(--selected-bg);box-shadow:inset 0 0 0 1px var(--selected-line)}
body[data-theme][data-design] .question-row{border-radius:10px;transition:border-color 150ms ease,box-shadow 180ms ease}
body[data-theme][data-design] .question-row[open]{border-color:#8dabc9;box-shadow:0 4px 16px #172b4512}
body[data-theme][data-design] .question-row[open]>summary{background:var(--soft);border-radius:10px 10px 0 0}
body[data-theme][data-design] .question-row summary strong{font-size:15px}
body[data-theme][data-design] .status-badge{border:1px solid #cbd3de;background:#f1f3f6;color:#303946;font-size:11px;border-radius:20px;padding:4px 9px;white-space:nowrap}
body[data-theme][data-design] .status-badge.done{background:var(--done-bg);border-color:var(--done-line);color:#234731}
body[data-theme][data-design] .status-badge.review{background:var(--review-bg);border-color:var(--review-line);color:#62431b}
body[data-theme][data-design] .question-actions [data-status="done"].selected,body[data-theme][data-design] .question-actions [data-mastery="easy"].selected{background:var(--done-bg);border-color:var(--done-line);color:#234731}
body[data-theme][data-design] .question-actions [data-status="review"].selected,body[data-theme][data-design] .question-actions [data-mastery="careless"].selected,body[data-theme][data-design] .question-actions [data-mastery="unknown"].selected{background:var(--review-bg);border-color:var(--review-line);color:#62431b}
body[data-theme][data-design] .question-actions [data-action="star"].selected{background:#fff4ce;border-color:#b99738;color:#55400c}
body[data-theme][data-design] .tag{border-radius:6px;border:1px solid #d6dce5;background:#f3f5f8;font-size:11px;color:var(--ink)}
body[data-theme][data-design] .tag.main{border-color:#b6c9e0;background:var(--selected-bg);font-weight:800;color:var(--ink)}
body[data-theme][data-design] .knowledge-tree{border-radius:10px}
body[data-theme][data-design] .knowledge-tree summary{transition:background-color 150ms ease}
body[data-theme][data-design] .knowledge-tree summary:before{content:'›';font-size:21px;line-height:1;transform:rotate(0deg);transition:transform 180ms var(--ui-ease)}
body[data-theme][data-design] .knowledge-tree details[open]>summary:before{content:'›';transform:rotate(90deg)}
body[data-theme][data-design] .tree-chapter[open]>summary{background:var(--soft)}
body[data-theme][data-design] .tree-questions button{border-radius:5px;margin-bottom:3px}
body[data-theme][data-design] .year-bar i{border-radius:5px 5px 2px 2px;transition:filter 150ms ease,transform 180ms var(--ui-ease);transform-origin:bottom}
body[data-theme][data-design] .year-bar{border-radius:6px}
body[data-theme][data-design] .bar-track{height:9px;background:#eef1f5}
body[data-theme][data-design] .heat-cell{border-radius:5px;transition:box-shadow 150ms ease,transform 150ms var(--ui-ease);font-variant-numeric:tabular-nums}
body[data-theme][data-design] .heat-year{color:#414955}
body[data-theme][data-design] .heat-label{color:var(--ink)}
body[data-theme][data-design] .number-grid button{border-radius:6px;font-variant-numeric:tabular-nums}
body[data-theme][data-design] .number-grid button.done{background:var(--done-bg);border-color:var(--done-line)}
body[data-theme][data-design] .number-grid button.review{background:var(--review-bg);border-color:var(--review-line);color:#62431b}
body[data-theme][data-design] .number-grid button.current{background:var(--selected-bg);color:var(--ink);border:2px solid var(--green)}
body[data-theme][data-design] .pause-status{border-radius:0 7px 7px 0;font-size:12px}
body[data-theme][data-design] .pause-status.paused{background:#f0f2f5;color:#333c48}
body[data-theme][data-design] .toast{border-radius:10px;box-shadow:0 8px 25px #172b4530}
body[data-theme][data-design] dialog{border-radius:14px;box-shadow:0 18px 65px #172b4538}
body[data-theme][data-design="01"]{--bg:#f6f8fc;--soft:#f0f4fa}
body[data-theme][data-design="01"] .page-head{background:linear-gradient(115deg,#fff 70%,#e8f0fc);color:var(--ink);border:1px solid var(--line);border-left:4px solid #003f88;border-radius:12px;padding:21px 24px}
body[data-theme][data-design="01"] .page-head :is(h1,p,.eyebrow){color:var(--ink)}
body[data-theme][data-design="01"] .page-head .primary{background:#003f88;color:white;border-color:#003f88}
body[data-theme][data-design="01"] .chapter-card{border-left-width:1px}
body[data-theme][data-design="03"] .topbar nav button{border-radius:9px}
body[data-theme][data-design="03"] .topbar nav button.active{box-shadow:0 3px 10px #0002}
body[data-theme][data-design="04"]{--ui-shadow:0 2px 8px #55472c09;--ui-hover:0 5px 16px #55472c16;--selected-bg:#efede5;--selected-line:#b5a98f;--done-bg:#edf1e7}
body[data-theme][data-design="05"]{--selected-bg:#fbeae3;--selected-line:#d1a694}
body[data-theme][data-design="04"] :is(.panel,.practice-card,.session-panel,.chapter-card,.year-card){border-radius:5px}
body[data-theme][data-design="05"] .metric:first-child{background:var(--paper);border-top:3px solid var(--green)}
body[data-theme][data-design="05"] .metric:first-child :is(.metric-value,.metric-label,.metric-foot){color:var(--ink)}
@media(hover:hover) and (pointer:fine){
 body[data-theme][data-design] :is(.chapter-card,.year-card):hover{transform:translateY(-2px);border-color:#98b4d2;box-shadow:var(--ui-hover);background:var(--paper)}
 body[data-theme][data-design] :is(.tree-questions button,.knowledge-tree summary):hover{background:var(--selected-bg)}
 body[data-theme][data-design] .year-bar:hover{background:var(--soft)}
 body[data-theme][data-design] .year-bar:hover i{filter:brightness(1.1);transform:scaleY(1.025)}
 body[data-theme][data-design] .heat-cell:hover{transform:translateY(-1px);box-shadow:0 0 0 2px var(--ink);z-index:1}
}
@keyframes ui-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes ui-pop{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){
 body[data-theme][data-design] dialog[open]{animation:ui-pop 180ms var(--ui-ease)}
 body[data-theme][data-design] .toast:not([hidden]){animation:ui-enter 180ms var(--ui-ease)}
 body[data-theme][data-design] details[open]>.question-body,body[data-theme][data-design] details[open]>.tree-children,body[data-theme][data-design] details[open]>.tree-questions{animation:ui-enter 170ms var(--ui-ease)}
}
@media(prefers-reduced-motion:reduce){
 body[data-theme][data-design] *,body[data-theme][data-design] *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 body[data-theme][data-design] button:active:not(:disabled),body[data-theme][data-design] :is(.chapter-card,.year-card,.heat-cell):hover{transform:none}
}
@media(max-width:800px){
 body[data-theme][data-design="01"] .page-head{padding:17px 16px}
 body[data-theme][data-design] .segmented{width:100%;gap:3px}
 body[data-theme][data-design] .segmented button{font-size:12px;padding:8px 10px}
 body[data-theme][data-design] .status-badge{font-size:10px;padding:4px 7px}
}
@media print{body[data-theme][data-design] :is(.panel,.practice-card,.session-panel,.question-row){box-shadow:none}body[data-theme][data-design] *{animation:none!important;transition:none!important}}

.solution-entry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:8px}
.solution-entry button{font-weight:750;color:var(--green);background:var(--paper)}
.solution-entry span{font-size:12px;color:var(--muted)}
#solutionDialog{width:min(1020px,calc(100vw - 32px));max-width:none;height:min(92dvh,1000px);max-height:92dvh;padding:0;overflow:hidden}
#solutionDialog[open]{display:flex;flex-direction:column}
#solutionDialog .dialog-head{flex:none;padding:16px 20px}
#solutionDialog h2{font-size:18px;margin:0 0 5px}
#solutionVersion{color:var(--muted);font-size:11px}
.solution-controls{padding:12px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);flex:none}
.solution-links{display:flex;gap:15px;font-size:12px}.solution-links a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
#solutionStatus{padding:9px 20px;color:var(--muted);font-size:12px;flex:none;background:var(--soft)}
#solutionContent{padding:20px 30px 40px;overflow:auto;overscroll-behavior:contain;min-height:0;line-height:1.9;font-size:16px;color:var(--ink);background:var(--paper)}
#solutionContent h1{font-size:20px;line-height:1.5;margin:0 0 20px;color:var(--ink)}#solutionContent h2{font-size:18px;margin:22px 0 12px}#solutionContent h3{font-size:17px;margin:22px 0 10px}
#solutionContent .answer-addendum{font-style:italic;border-top:1px solid var(--line);margin-top:20px;padding-top:4px;color:var(--ink)}
#solutionContent p{margin:12px 0}#solutionContent img{display:block;max-width:100%;max-height:55dvh;width:auto;height:auto;object-fit:contain;margin:14px auto}
.solution-reading-hint{margin:0;padding:7px 20px;font-size:11px;color:var(--muted);background:var(--paper);flex:none;border-bottom:1px solid var(--line)}
#solutionContent mjx-container[display="true"]{display:block;overflow-x:auto;overflow-y:hidden;padding:8px 2px;max-width:100%;font-size:110%!important}
#solutionContent figure{margin:16px 0}#solutionContent figcaption{color:var(--muted);font-size:13px;text-align:center}
#solutionContent table{border-collapse:collapse;display:block;overflow-x:auto;margin:16px 0}#solutionContent td,#solutionContent th{border:1px solid var(--line);padding:8px 12px}
#solutionContent a{color:var(--green)}
@media(max-width:800px){#solutionDialog{width:calc(100vw - 16px);height:94dvh;max-height:94dvh}#solutionDialog .dialog-head{padding:12px}#solutionDialog h2{font-size:16px}.solution-controls{padding:10px 12px}.solution-controls .segmented{width:auto!important}#solutionContent{padding:14px 16px 32px;font-size:15px}#solutionStatus{padding:8px 12px}.solution-entry{gap:8px}}

.cloud-toggle,.cloud-feedback{font:inherit;font-size:12px;color:var(--text,#202927);background:var(--surface,#fff);border:1px solid var(--line,#c7d0cc);border-radius:8px;padding:7px 10px;white-space:nowrap;cursor:pointer}.cloud-toggle{max-width:230px;overflow:hidden;text-overflow:ellipsis}.cloud-feedback{background:transparent}.zju-cloud-dialog{color:var(--text,#202927);background:var(--surface,#fff);border:1px solid var(--line,#c7d0cc);border-radius:16px;padding:22px;width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow-y:auto;box-sizing:border-box;box-shadow:0 15px 60px #0003}.zju-cloud-dialog::backdrop{background:#14211e80;backdrop-filter:blur(3px)}.zju-cloud-dialog h2{font-size:20px;margin:0}.zju-cloud-dialog h3{font-size:16px}.cloud-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.cloud-heading button{font-size:24px;border:0;background:transparent;color:inherit;cursor:pointer}.zju-cloud-dialog p{font-size:14px;line-height:1.65}.zju-cloud-dialog .cloud-note{font-size:12px;color:var(--muted,#535e58)}.zju-cloud-dialog label{display:block;font-weight:600;font-size:13px;margin:16px 0 6px}.zju-cloud-dialog label span{display:block;font-size:12px;font-weight:400;line-height:1.5}.zju-cloud-dialog input,.zju-cloud-dialog select,.zju-cloud-dialog textarea{font:inherit;color:inherit;background:var(--surface,#fff);border:1px solid var(--line,#aebbb4);border-radius:7px;box-sizing:border-box;padding:10px;width:100%}.zju-cloud-dialog input:focus,.zju-cloud-dialog select:focus,.zju-cloud-dialog textarea:focus{outline:2px solid var(--accent,#337a69);outline-offset:2px}.cloud-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.cloud-actions button,.cloud-primary{font:inherit;font-size:13px;border:1px solid var(--line,#b7c3ba);border-radius:7px;padding:9px 12px;background:var(--surface,#fff);color:inherit;cursor:pointer}.cloud-actions button:disabled{opacity:.5;cursor:default}.cloud-primary{font-weight:700;background:var(--accent-soft,#e5efeb);color:var(--text,#202927)}#cloudStatus{padding:8px 12px;background:var(--accent-soft,#e5efeb);border-radius:7px;font-weight:600}.cloud-conflict-row{border:1px solid var(--line,#ccd6ce);padding:12px;margin-bottom:10px;border-radius:9px;overflow-wrap:anywhere}.cloud-conflict-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cloud-conflict-values pre{font:inherit;font-size:12px;white-space:pre-wrap;word-break:break-word;max-height:130px;overflow:auto;margin:6px 0}#cloudFeedbackList{overflow-wrap:anywhere}@media(max-width:600px){.zju-cloud-dialog{padding:16px}.cloud-toggle{max-width:125px}.cloud-conflict-values{grid-template-columns:1fr}.cloud-actions button{flex:1;min-width:110px}.cloud-feedback{font-size:11px;padding:6px 8px}}

.cloud-version{overflow-wrap:anywhere;word-break:break-word;font-size:11px}


.tools-collapsed .mobile-practice-bar>:not([data-collapse-tools]){display:none!important}
.tools-collapsed .mobile-practice-bar{left:auto!important;right:12px!important;width:auto;max-width:none!important}
.mobile-practice-bar{flex-wrap:wrap}.mobile-practice-bar [data-collapse-tools]{font-size:11px;padding:7px}
#pauseStatus{font-weight:650;color:var(--ink);border-left:3px solid var(--green);padding-left:9px}
#pauseStatus.paused{background:var(--selected-bg);padding:9px;border-radius:5px;border-color:var(--ink)}
.image-stage{overscroll-behavior:contain}
@media(max-height:550px) and (orientation:landscape){.topbar{position:static}.page-head{padding:10px!important}.practice-card{padding:14px!important}.practice-layout{grid-template-columns:1fr!important}.practice-side{position:static!important}.question-image{max-height:none!important}.mobile-practice-bar{bottom:4px}}
@media(max-width:800px){#zjuCloudButton{font-size:11px;padding:7px 9px;max-width:100%;white-space:normal}.mobile-practice-bar{gap:5px}.solution-links{flex-wrap:wrap}}
