/* Retained prototype styling; admin-only stylesheet. */
:root{--ink:#202321;--muted:#626760;--line:#dedfd8;--paper:#faf9f5;--green:#285940;--accent:#dbeb9c;--bg:#eaece6}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #507b13;outline-offset:4px}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h2{font-size:18px}h3{font-size:16px}button{border:0;border-radius:8px;min-height:46px}.preview-bar{min-height:72px;border-bottom:1px solid #d0d3c9;display:flex;align-items:center;gap:28px;padding:12px 36px;background:#f5f6f0;position:relative;z-index:2}.brand{text-decoration:none;font-weight:650;display:flex;align-items:center;gap:10px}.brand-mark{background:var(--ink);color:white;padding:2px 7px;border-radius:4px}.prototype-label,.demo-tag{font-size:12px;color:var(--muted);border:1px solid #c9cdc2;padding:2px 7px;border-radius:4px}.preview-bar nav{display:flex;gap:6px;margin:auto}.preview-bar nav a{padding:8px 22px;text-decoration:none;border-radius:6px}.preview-bar nav a[aria-current]{background:var(--ink);color:white}.tools{font-size:13px}.tools summary{cursor:pointer;padding:10px}.tools-panel{position:absolute;right:20px;top:64px;background:white;box-shadow:0 10px 40px #20232120;width:280px;padding:20px;border:1px solid var(--line);border-radius:8px}.tools-panel label{display:block;margin:18px 0}.secondary{background:#eceee8;color:var(--ink);padding:10px 18px}.student-layout{max-width:1050px;margin:48px auto 90px;display:grid;grid-template-columns:1fr 440px;gap:70px;align-items:start;padding:0 32px}.preview-note{position:sticky;top:64px;padding-top:55px}.eyebrow{font-size:12px;letter-spacing:.12em;color:var(--muted)}.preview-note h2{font-size:32px;line-height:1.7;margin:28px 0 22px;font-weight:550;letter-spacing:.03em}.preview-note>p:not(.eyebrow){color:var(--muted)}.milestones{margin:40px 0;border-top:1px solid #c6cabf}.milestones p{display:flex;gap:20px;align-items:center;border-bottom:1px solid #c6cabf;padding:18px 0}.milestones strong{font-size:18px;width:85px}.milestones span{font-size:13px}.note-small{font-size:12px}.phone{background:var(--paper);border:1px solid #d4d6cd;border-radius:20px;overflow:hidden;box-shadow:0 18px 60px #343b2914}.app-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;font-weight:600;font-size:14px}.capsule{border:1px solid #d4d6cd;border-radius:20px;padding:0 10px;display:flex;align-items:center;gap:12px;font-size:17px}.capsule i{height:16px;border-left:1px solid #d4d6cd}.app-body{padding:8px 26px 0}.edition{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;letter-spacing:.05em;border-top:1px solid var(--ink);padding-top:20px}h1{font-size:54px;letter-spacing:.06em;line-height:1.2;margin-top:15px;font-family:"Songti SC","STSong",serif}h1 span{font-family:-apple-system,"PingFang SC",sans-serif;display:block;font-size:15px;font-weight:400;line-height:1.8;letter-spacing:.03em;margin-top:14px}.paper-art{height:260px;position:relative;margin:18px 0 4px}.paper-art .paper{position:absolute;width:54%;height:230px;padding:14px 16px;box-shadow:0 8px 15px #292f2320;border:1px solid #d1d1c8}.white-paper{background:#fffefa;left:10px;top:10px;transform:rotate(-9deg)}.black-paper{background:#252925;color:#f8f8ef;right:7px;top:23px;transform:rotate(8deg);border-color:#252925}.paper-top{font-size:8px;border-bottom:1px solid;padding-bottom:8px;display:flex;justify-content:space-between}.paper strong{font:700 40px/1.5 "Songti SC",serif;display:block;margin-top:12px;letter-spacing:.1em}.paper p{font-size:10px;line-height:1.7;letter-spacing:.1em}.paper-bottom{border-top:1px solid;margin-top:20px;padding-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:8px}.paper-bottom b{font-size:20px;font-weight:400}.release-strip{display:flex;align-items:center;gap:12px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:15px 0;font-size:12px}.release-strip strong{font-size:19px;font-weight:550}.free-tag{margin-left:auto;color:var(--green)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-title>span{color:var(--muted);font-size:12px}.contents{margin-top:28px}.content-row{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.row-no{flex-shrink:0;font-size:11px;border:1px solid var(--ink);align-self:start;padding:3px 5px;min-width:48px;text-align:center}.row-no.dark{background:var(--ink);color:white}.content-row p{font-size:13px;color:var(--muted);margin-top:5px}.how{padding:26px 0}.how h2{font-size:15px}.how p{font-size:14px;margin:14px 0}.how p span{padding:0 6px;color:var(--muted)}small{font-size:12px;color:var(--muted)}.questions{border-top:1px solid var(--line);padding-top:25px}.questions h2{font-size:15px;margin-bottom:12px}.questions details{border-bottom:1px solid var(--line);font-size:13px}.questions summary{padding:14px 0;cursor:pointer}.questions details p{color:var(--muted);padding:0 0 15px}.app-footer{text-align:center;font-size:11px;color:var(--muted);padding:30px 0}.bottom-action{padding:16px 24px;background:#faf9f5f5;border-top:1px solid var(--line);position:sticky;bottom:0}.bottom-action>p:last-child{font-size:11px;text-align:center;color:var(--muted);margin-top:8px}.primary{background:var(--green);color:white;padding:13px 20px;font-weight:550}.bottom-action .primary{width:100%;display:flex;justify-content:center;gap:25px}.primary:hover{background:#204a35}.reservation-state{background:#edf2e4;text-align:center;margin-top:24px;padding:25px 18px;border-radius:8px}.success-icon{display:inline-grid;place-items:center;border:1px solid var(--green);color:var(--green);height:34px;width:34px;border-radius:50%;margin-bottom:10px}.reservation-state h2{font-size:23px}.reservation-state>p{font-size:13px;margin:8px 0 18px}.reservation-state button{width:100%}.reservation-state .muted{font-size:11px;margin:10px 0 0}.muted{color:var(--muted);font-size:12px}#booking-error{color:#a02c25;font-size:13px;margin-bottom:10px}.admin-layout{display:grid;grid-template-columns:230px 1fr;min-height:calc(100vh - 72px);background:#f6f7f3}.admin-sidebar{background:#f0f2eb;border-right:1px solid var(--line);padding:32px 22px;position:relative}.admin-sidebar h2{font-size:17px}.admin-sidebar>p{font-size:12px;color:var(--muted);margin-top:7px}.active-menu{margin-top:36px;background:#dde6d7;padding:12px 18px;border-radius:6px;color:var(--green);font-weight:600}.sidebar-foot{margin-top:60px;color:var(--muted);font-size:12px}.admin-main{max-width:1300px;width:100%;padding:30px 48px}.admin-top{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.admin-heading{display:flex;justify-content:space-between;align-items:center;margin:40px 0 32px;gap:20px}.admin-heading h1{font-family:inherit;font-size:32px;letter-spacing:0;margin:10px 0}.admin-heading p:last-child{color:var(--muted);font-size:13px}.status-badge{color:var(--green);font-size:12px;background:#e6eddf;padding:8px 12px;border-radius:20px;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:white;border-radius:8px;padding:25px 0;margin-bottom:30px}.metrics section{padding:0 28px;border-right:1px solid var(--line)}.metrics section:last-child{border:0}.metrics p{color:var(--muted);font-size:13px}.metrics strong{display:block;font-size:42px;font-weight:500;line-height:1.6}.admin-data{background:white;border:1px solid var(--line);border-radius:8px;padding:25px 28px;margin-bottom:24px}.admin-data h2{font-size:16px}.chart{display:flex;gap:16px;margin:25px 0 10px;align-items:end;height:160px}.chart-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;font-size:11px;color:var(--muted)}.bar{background:#729369;width:60%;min-height:2px;max-width:70px;margin:5px 0 10px;border-radius:3px 3px 0 0}.data-note{font-size:12px;color:var(--muted)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;margin-top:20px;text-align:left}th{font-weight:500;color:var(--muted);background:#f5f6f1}th,td{padding:14px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.empty{text-align:center;padding:40px 10px}.empty p{color:var(--muted);font-size:13px;margin:8px 0 16px}.empty a{color:var(--green);display:inline-block;padding:8px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;z-index:10;font-size:13px;max-width:90vw;width:max-content}dialog{border:1px solid var(--line);border-radius:15px;width:min(440px,calc(100% - 32px));padding:0;color:var(--ink)}dialog::backdrop{background:#151c195c}.dialog-body{padding:26px}.dialog-body h2{font-size:23px;margin:12px 0}.dialog-body>p:not(.eyebrow){font-size:13px}.message-preview{background:#f2f4ed;padding:18px;margin:20px 0}.message-preview p{font-size:12px;color:var(--muted);margin-top:10px}.message-preview b{display:block;color:var(--ink);font-weight:500}.dialog-actions{display:flex;gap:10px;margin-top:22px}.dialog-actions button{flex:1;font-size:13px;padding:12px 8px}
@media(max-width:900px){.preview-note{display:none}.student-layout{display:block;max-width:490px;padding:0 16px;margin:24px auto}.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:none}.admin-main{padding:24px}.admin-heading{align-items:start;flex-direction:column}.preview-bar{padding:10px 18px;gap:12px}.prototype-label{display:none}.preview-bar nav a{padding:8px 12px}}@media(max-width:480px){.preview-bar{flex-wrap:wrap;gap:5px;padding:8px 12px}.brand{font-size:12px}.brand-mark{padding:0 5px}.preview-bar nav{margin-left:auto;margin-right:0}.preview-bar nav a{font-size:12px;padding:8px}.tools{font-size:11px}.tools summary{padding:8px 4px}.student-layout{padding:0;margin:0}.phone{border:0;border-radius:0;box-shadow:none}.app-body{padding-left:22px;padding-right:22px}.admin-main{padding:22px 16px}.metrics{padding:15px 0}.metrics section{padding:0 10px}.metrics strong{font-size:30px}.metrics small{font-size:10px}.admin-data{padding:20px 16px}.metrics p{font-size:12px}.chart{gap:6px}.app-header{padding:16px 22px}}
.admin-main,.admin-data,.metrics section{min-width:0}.status-badge{white-space:normal}
@media(min-width:901px){.phone{max-height:calc(100vh - 125px);overflow-y:auto}.bottom-action{z-index:1}}
@media(max-width:900px){.bottom-action{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(456px,100%);z-index:1}.phone:has(.bottom-action:not([hidden])){padding-bottom:115px}}
@media(max-width:480px){.bottom-action{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
.quiz-shell{width:min(680px,100%);margin:32px auto 80px;background:var(--paper);padding:28px 36px 36px;border:1px solid var(--line);border-radius:12px;min-height:650px}.quiz-heading,.answer-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}.quiz-heading a,.answer-top a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.quiz-heading>span{color:var(--muted);font-size:12px}.sample-banner{font-size:12px;color:#69531e;background:#f1ecd9;padding:10px 12px;border-radius:5px;margin:10px 0 28px}.quiz-intro{margin:25px 0}.quiz-intro h1{font-family:inherit;font-size:30px;line-height:1.6;letter-spacing:0;font-weight:550;margin:12px 0}.quiz-intro>p:last-child{color:var(--muted);font-size:14px}.sample-paper{display:flex;gap:25px;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:25px 0}.sample-cover{border:1px solid var(--ink);width:125px;flex-shrink:0;padding:20px 15px;font:30px/1.4 "Songti SC",serif;display:flex;flex-direction:column;justify-content:space-between;min-height:195px;box-shadow:4px 4px 0 #dfe2d8}.sample-cover span{font:12px/2 sans-serif}.sample-cover b{font-size:23px;font-weight:400}.sample-paper h2{margin:15px 0 8px}.sample-paper p{font-size:13px;color:var(--muted);margin-bottom:20px}.attempt-history{margin-top:40px}.attempt-history h2{margin-bottom:15px}.history-row{width:100%;display:flex;justify-content:space-between;gap:12px;background:transparent;border-radius:0;border-bottom:1px solid var(--line);padding:17px 0;font-size:13px;text-align:left}.paper-facts{margin:20px 0}.paper-facts div{display:flex;gap:15px;border-bottom:1px solid var(--line);padding:16px 0;font-size:14px}.paper-facts dt{color:var(--muted);min-width:65px}.paper-facts dd{margin:0}.rules{font-size:13px;margin:30px 0}.rules h2{font-size:15px;margin-bottom:10px}.rules p{color:var(--muted)}.wide{width:100%;margin-top:18px}.answer-top{margin:20px 0}.answer-top strong{font-weight:500}progress{width:100%;height:4px;accent-color:var(--green)}.question-title{font-family:inherit;font-size:21px;font-weight:550;letter-spacing:0;line-height:1.8;margin:28px 0}.options{display:grid;gap:12px;margin:30px 0}.option{background:transparent;border:1px solid #c4c8be;display:flex;gap:14px;align-items:center;text-align:left;width:100%;padding:15px;font-size:15px;font-weight:400}.option>span{border:1px solid #747d6d;min-width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:13px}.option.selected{background:#e5eddd;border-color:var(--green)}.option.selected>span{background:var(--green);color:white}.question-nav{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:30px 0 10px}.question-nav button{font-size:13px;padding:12px 15px}.question-material{font-size:15px;line-height:1.9;color:var(--muted)}.paper-prompt{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px 0;margin:30px 0}.paper-prompt p{font-size:14px;color:var(--muted);margin-top:10px}.answer-card{margin-top:30px;border-top:1px solid var(--line);padding-top:24px}.answer-card p{font-size:13px;color:var(--muted);margin:8px 0}.question-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.question-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 4px;gap:5px}.question-grid b{font-size:18px;font-weight:500}.question-grid span{font-size:11px}.result-head{text-align:center;padding:15px 0 28px}.result-head h1{font-family:inherit;letter-spacing:0;margin:25px 0 10px}.result-head h1 strong{font-size:78px;font-weight:400}.result-head h1 span{display:inline;font-size:20px}.result-head>p:last-child{font-size:13px;color:var(--muted)}.result-counts{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;font-size:13px}.result-counts b{display:block;font-size:26px;font-weight:500}.result-questions{margin-top:32px}.result-chip{background:#eceee8}.result-chip.correct{background:#e2eddf;color:#285940}.result-chip.wrong{background:#f5e6e0;color:#8b3d2e}.review-actions{display:flex;gap:12px;margin:28px 0 12px}.review-actions button{flex:1;font-size:14px}.answer-comparison{background:#ecefe6;padding:18px 20px;display:flex;justify-content:space-between;gap:16px;font-size:13px;margin:24px 0}.answer-comparison b{display:block;margin-top:4px;font-size:18px}.review-options p{padding:10px 0;color:var(--muted);font-size:14px}.analysis-section{margin:28px 0}.analysis-section h2{font-size:17px;border-left:3px solid var(--green);padding-left:12px;margin-bottom:15px}.analysis-section p{font-size:15px;line-height:1.9}.question-title:focus,.quiz-intro h1:focus,.result-head h1:focus{outline:none}
@media(max-width:600px){.quiz-shell{margin:0;border:0;border-radius:0;padding:18px 22px 40px;min-height:calc(100vh - 65px)}.sample-paper{gap:18px}.sample-cover{width:95px;font-size:26px;padding:15px 10px}.quiz-intro h1{font-size:26px}.sample-paper .primary{font-size:13px;padding:10px}.quiz-heading{font-size:12px}.question-title{font-size:19px}.question-nav{gap:8px}.question-nav button{padding:12px}.question-grid{gap:7px}.review-actions button{padding:12px 8px}.preview-bar nav a{padding:8px 7px}}
.admin-tabs{display:flex;gap:6px;margin:24px 0 0;border-bottom:1px solid var(--line)}.admin-tabs button{background:transparent;border-radius:0;padding:12px 18px;color:var(--muted);font-size:14px}.admin-tabs button[aria-current]{color:var(--green);border-bottom:3px solid var(--green);font-weight:600}.content-note{margin:15px 0}.admin-paper-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.paper-preview-dialog{width:min(760px,calc(100% - 30px));max-height:85vh}.admin-question{padding:28px 0;border-bottom:1px solid var(--line)}.admin-question h3{margin:12px 0}.admin-question>p{font-size:14px}.admin-question li{margin:8px 0;font-size:14px}.answer-proof{background:#f0f3eb;padding:18px;font-size:13px}.answer-proof p{margin:8px 0 15px}.review-checks{margin-top:24px}.review-checks ul{list-style:none;padding:0;margin:18px 0;font-size:14px;line-height:2}.review-checks button{margin-top:16px}.checks{display:grid;gap:12px;margin:18px 0 28px}.checks label{display:flex;gap:12px;padding:10px 0;font-size:14px;align-items:center}.checks input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.release-label{display:block;font-size:14px;margin-bottom:10px}#release-time{font:inherit;padding:10px 12px;border:1px solid #a6ad9e;border-radius:5px;max-width:100%;min-height:44px;background:white;color:var(--ink)}#review-error{color:#a02c25;margin:12px 0;font-size:14px}@media(max-width:480px){.admin-tabs button{font-size:13px;padding:12px}.admin-paper-actions button{width:100%}}
.source-text{white-space:pre-wrap;overflow-wrap:anywhere}.question-meta{margin-top:18px;font-size:13px!important;color:var(--muted)}.option{overflow-wrap:anywhere}.option>span{flex-shrink:0}
.admin-tabs{flex-wrap:wrap}.library-filters{display:flex;gap:22px;flex-wrap:wrap;margin:24px 0}.library-filters label{font-size:13px;display:grid;gap:7px}select,input[type=search],#node-name{font:inherit;background:white;border:1px solid #a6ad9e;border-radius:5px;min-height:44px;padding:8px 12px;max-width:100%}.library-title{white-space:normal;min-width:210px;max-width:480px}.library-title strong{font-weight:500;display:block}.library-title small{display:block;margin-top:8px}.form-error{color:#9b3025;margin-top:12px}.import-item{border-bottom:1px solid var(--line)}.import-item summary{padding:16px 0;cursor:pointer;font-size:14px}.knowledge-tree ul{list-style:none;padding-left:22px}.knowledge-tree>ul{padding-left:0}.tree-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line)}.tree-actions{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}.tree-actions button{background:#edf0e7;padding:6px 10px;font-size:12px}.tree-row small{font-size:11px}#node-form{margin-top:20px}#node-form .release-label{margin-top:18px}#node-form input,#node-form select{width:100%}@media(max-width:600px){.tree-actions{margin-left:0;width:100%}.knowledge-tree ul{padding-left:14px}.admin-tabs button{padding:10px;font-size:12px}}
#new-paper-name{font:inherit;min-height:44px;padding:10px;width:100%;border:1px solid #a6ad9e;border-radius:5px}.paper-points{width:100px;padding:8px;min-height:44px;font:inherit;border:1px solid #a6ad9e;border-radius:5px}.pick-row{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px;align-items:start}.pick-row input{margin-top:6px;flex-shrink:0}.pick-row small{display:block;margin-top:7px}#pick-list{max-height:45vh;overflow:auto}#pick-count{font-size:13px;color:var(--muted);margin:10px 0}
.question-browser{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;margin-top:24px}.question-tree{border-right:1px solid var(--line);padding-right:15px}.question-tree h3{margin-bottom:14px}.question-tree button{display:block;width:100%;text-align:left;background:transparent;font-size:13px;padding:10px;overflow-wrap:anywhere}.question-tree button[aria-pressed=true]{background:#e3ecd9;color:var(--green)}.question-tree small{display:block;margin-top:20px}.question-results{min-width:0}.question-results .library-filters{margin-top:0;gap:12px}.question-results .library-filters label{min-width:130px;max-width:100%;flex:1}.browser-actions{display:flex;gap:8px;flex-wrap:wrap}.browser-actions button{font-size:12px;padding:8px 12px}.question-result{display:flex;gap:14px;border-bottom:1px solid var(--line);padding:18px 0;align-items:center}.question-result label{display:flex;gap:14px;flex:1;min-width:0}.question-result input{align-self:start;margin-top:6px;flex-shrink:0}.result-content{min-width:0;display:grid;gap:7px}.result-content small{font-size:11px;overflow-wrap:anywhere}.question-snippet{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.question-result button{font-size:12px;flex-shrink:0}.question-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:8px;font-size:12px}.wide-dialog{width:min(1100px,calc(100% - 24px))}@media(max-width:700px){.question-browser{grid-template-columns:1fr;gap:16px}.question-tree{max-height:180px;overflow:auto;border-right:0;border-bottom:1px solid var(--line);padding-bottom:12px}.question-result{flex-wrap:wrap}.question-result button{margin-left:28px}.question-pagination button{font-size:12px;padding:8px}.question-pagination span{text-align:center}}
.question-results .library-filters select,.question-results .library-filters input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.question-results .library-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.question-results .library-filters label{min-width:0}#pick-confirm{position:sticky;bottom:0;z-index:1;margin-top:20px;box-shadow:0 -8px 20px #fff}@media(max-width:700px){.question-results .library-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.workspace-nav{display:grid;gap:6px;margin-top:32px}.workspace-nav small{margin:18px 12px 8px;color:var(--muted);font-size:11px}.workspace-nav button{padding:13px 16px;text-align:left;background:transparent;color:inherit;border-radius:6px;font-size:14px}.workspace-nav button[aria-current=page]{background:#e3ecd9;color:#264f3d;font-weight:650}.product-form{display:grid;gap:14px}.product-form input,.product-form textarea,#user-product,#stats-product{width:100%;max-width:520px;box-sizing:border-box;padding:12px;border:1px solid #acb5a5;border-radius:4px;background:white;color:inherit;font:inherit}.product-form button{justify-self:start}.product-stat-row{display:flex;gap:20px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line)}.product-stat-row strong{min-width:140px}.product-stat-row span{font-size:13px}.admin-main{min-width:0}.workspace-nav button:focus-visible{outline:2px solid #29533e;outline-offset:2px}@media(max-width:800px){.admin-sidebar{display:block}.admin-sidebar .sidebar-foot,.admin-sidebar>p{display:none}.workspace-nav{display:flex;flex-wrap:wrap;margin-top:12px;gap:4px}.workspace-nav small{display:none}.workspace-nav button{padding:9px;font-size:12px}.admin-layout{display:block}.admin-sidebar{padding:16px;border-bottom:1px solid var(--line)}.admin-sidebar h2{font-size:15px}}
.catalog-group{padding:20px 0;border-bottom:1px solid var(--line)}.product-form select,.product-form textarea{width:100%;max-width:100%;box-sizing:border-box;padding:12px;font:inherit;border:1px solid #acb5a5;border-radius:4px;background:white}.product-form fieldset{min-width:0;border:1px solid var(--line);padding:14px}.product-form legend{padding:0 6px}.question-tree [hidden]{display:none}.catalog-group .section-title{flex-wrap:wrap;gap:12px}.catalog-group .section-title>div{display:flex;gap:8px}.knowledge-tree h3{margin-top:28px}
.subjective-shell{max-width:1160px}.subjective-shell>h1{font-size:30px;margin:28px 0}.subjective-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}.subjective-material,.subjective-part{padding:26px;background:white;border:1px solid var(--line);border-radius:8px}.subjective-material{position:sticky;top:90px}.subjective-material p,.subjective-tasks p{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.material-number{display:inline-block;margin-right:12px;color:#6a7565;font-size:12px}.subjective-tasks{display:grid;gap:20px;min-width:0}.subjective-tasks h2,.subjective-material h2{font-size:19px;line-height:1.7}.subjective-reference{margin-top:22px;border-top:1px solid var(--line)}.subjective-reference summary{cursor:pointer;color:#28573f;font-weight:600;padding:18px 0;min-height:24px}.subjective-reference>div{padding:16px;background:#f1f5ed;border-radius:6px}.subjective-reference h3{font-size:15px;margin:12px 0}.sample-reference{margin-top:30px;border-top:1px solid var(--line);padding-top:18px;font-size:12px}.sample-reference summary{cursor:pointer}.sample-reference p{font-size:12px}.sample-reference a{text-decoration:underline}.subjective-start{display:inline-block;text-decoration:none;margin-top:12px}.subjective-shell .question-nav a{text-decoration:none;text-align:center}.subjective-shell small{line-height:1.7;color:#65705e}@media(max-width:800px){.subjective-layout{grid-template-columns:1fr}.subjective-material{position:static}.subjective-material,.subjective-part{padding:20px}.subjective-shell>h1{font-size:25px}.subjective-shell .question-nav{display:flex;flex-wrap:wrap}}
.quiz-shell.subjective-shell{width:min(1100px,100%)}
/* Shared miniature-program viewport; backend remains outside this shell. */
#mini-preview{width:390px;height:min(844px,calc(100dvh - 108px));min-height:480px;margin:18px auto;background:var(--paper);border:7px solid #242923;border-radius:36px;box-shadow:0 16px 45px #27352325;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.mini-status{display:flex;justify-content:space-between;padding:9px 23px 2px;font-size:11px;flex-shrink:0}.mini-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--paper);font-size:15px;flex-shrink:0}.mini-header .capsule{font-size:16px}.mini-tabs{display:flex;flex-shrink:0;border-top:1px solid var(--line);background:var(--paper)}.mini-tabs a{flex:1;text-align:center;text-decoration:none;padding:12px 4px;font-size:13px;color:var(--muted)}.mini-tabs a[aria-current]{font-weight:650;color:var(--green);background:#eff3e8}.mini-home{height:14px;flex-shrink:0;display:flex;justify-content:center;align-items:center}.mini-home span{height:4px;width:110px;border-radius:4px;background:#242923}#mini-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#mini-preview .student-layout{display:block;margin:0;padding:0;width:100%;max-width:none}#mini-preview .preview-note,#mini-preview .phone>.app-header{display:none}#mini-preview .phone{border:0;border-radius:0;box-shadow:none;overflow:visible}#mini-preview .app-body{padding:8px 20px 0}#mini-preview .quiz-shell{width:100%;max-width:none;min-height:0;margin:0;padding:18px 18px 26px;border:0;border-radius:0}#mini-preview .subjective-layout{display:block}#mini-preview .subjective-material{position:static;margin-bottom:18px}#mini-preview .subjective-material,#mini-preview .subjective-part{padding:18px}#mini-preview .subjective-shell>h1{font-size:25px}#mini-preview .question-nav{display:flex;flex-wrap:wrap;gap:8px}#mini-preview .question-nav>*{flex:1}#mini-preview .question-nav button,#mini-preview .question-nav a{font-size:13px;padding:10px 8px}#mini-preview .quiz-heading{font-size:11px;gap:8px}#mini-preview .quiz-intro h1{font-size:29px}#mini-preview .question-title{font-size:20px;line-height:1.7}#mini-preview .sample-paper{gap:16px;padding:18px;flex-wrap:wrap}#mini-preview .sample-cover{width:80px;min-width:80px;height:120px}#mini-preview .paper-facts{grid-template-columns:1fr}#mini-preview .review-actions{flex-wrap:wrap}#mini-preview .bottom-action{position:sticky;bottom:0;padding:14px 20px;background:var(--paper);z-index:1}#mini-preview .sample-banner{font-size:11px}#mini-preview .subjective-tasks{gap:16px}#mini-preview .question-material{white-space:pre-wrap}body.mini-mode dialog{max-width:min(356px,calc(100vw - 24px));max-height:calc(100dvh - 150px)}body.mini-mode .toast{max-width:340px;font-size:12px}
@media(max-width:600px){body.mini-mode{background:var(--paper);height:100dvh;overflow:hidden}body.mini-mode .preview-bar{height:48px;min-height:48px;padding:4px 8px;gap:4px}body.mini-mode .preview-bar .brand{display:none}body.mini-mode .preview-bar nav{margin:0 auto 0 0}body.mini-mode .preview-bar nav a{padding:6px 10px;font-size:12px}body.mini-mode .tools summary{font-size:11px;padding:6px}#mini-preview{width:100%;height:calc(100dvh - 48px);min-height:0;margin:0;border:0;border-radius:0;box-shadow:none}.mini-status{display:none}.mini-home{height:max(10px,env(safe-area-inset-bottom))}.mini-home span{display:none}#mini-preview .quiz-shell{padding:18px 18px 26px}body.mini-mode .tools-panel{top:48px;right:8px}}
/* Blackwhite student practice: reading-first, restrained paper/ink hierarchy. */
.bw-screen{padding:20px 20px 0;background:var(--paper);min-height:100%}.bw-screen h1{font-family:inherit;font-size:27px;letter-spacing:0;line-height:1.4}.bw-screen h2{font-size:17px}.bw-screen p{line-height:1.8}.bw-hero{padding:10px 0 24px;border-bottom:1px solid var(--ink)}.bw-hero>p{font-size:11px;letter-spacing:.08em;color:var(--muted)}.bw-hero h1{font-family:"Songti SC",serif;font-size:40px;margin:12px 0 24px}.bw-hero h1 span{font-size:13px;margin-top:8px;letter-spacing:0}.bw-summary{display:flex;align-items:center;gap:20px;font-size:12px}.bw-summary b{font-size:22px;font-weight:500}.bw-summary a{margin-left:auto;text-decoration:none;font-size:12px}.bw-section-title{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.bw-section-title span{font-size:11px;color:var(--muted)}.bw-paper-list{border-top:1px solid var(--line)}.bw-paper{display:flex;width:100%;align-items:center;gap:15px;padding:20px 0;text-align:left;background:transparent;border-bottom:1px solid var(--line);border-radius:0}.bw-paper-no{font:26px/1.2 Georgia,serif;color:#798374;width:32px}.bw-paper div{flex:1}.bw-paper h3{font-size:16px}.bw-paper p{font-size:11px;color:var(--muted);margin:4px 0}.bw-paper small{font-size:11px;color:var(--green)}.bw-paper.locked small{color:var(--muted)}.bw-paper.locked{opacity:.75}.bw-black{background:#252b26;color:#f7f7ed;padding:24px;border-radius:8px;margin-bottom:26px}.bw-black>span{font-size:9px;letter-spacing:.16em;color:#b1bea5}.bw-black h3{font-size:28px;font-family:"Songti SC",serif;margin:12px 0}.bw-black p{font-size:12px}.bw-black small{display:block;margin-top:22px;color:#c6ceb9;font-size:11px}.bw-resume{display:flex;align-items:center;justify-content:space-between;width:100%;background:#eaf0df;padding:16px;text-align:left;margin-top:20px;font-size:11px;color:#285940}.bw-resume strong{display:block;font-size:12px;margin-top:4px}.bw-page-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 20px;border-bottom:1px solid var(--line);font-size:12px}.bw-page-head a{text-decoration:none}.bw-page-head>span{color:var(--muted);font-size:11px}.bw-intro{padding-top:26px}.bw-kicker{font-size:10px;letter-spacing:.12em;color:var(--muted)}.bw-intro>p{color:var(--muted);font-size:13px}.bw-intro h1{margin-bottom:8px}.bw-intro dl{margin:28px 0}.bw-intro dl>div{display:flex;justify-content:space-between;font-size:13px;padding:12px 0;border-bottom:1px solid var(--line)}.bw-intro dd{margin:0;color:var(--muted)}.bw-note{background:#eff1e9;padding:18px;border-radius:7px;margin:20px 0}.bw-note p{font-size:13px;color:#4e5948;margin-top:10px}.bw-note p:first-child{margin-top:0}.bw-actions{position:sticky;bottom:0;display:flex;gap:10px;padding:14px 0;background:var(--paper);border-top:1px solid var(--line);margin-top:24px;z-index:1}.bw-actions button{flex:1;font-size:14px;min-height:48px}.bw-actions button:disabled{cursor:default}.bw-question-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 0;color:var(--muted);font-size:12px}.bw-text-button{background:transparent;color:var(--green);font-size:12px;padding:0;min-height:36px}.bw-screen progress{width:100%;height:3px;accent-color:var(--green);margin:0 0 20px}.bw-screen .bw-question{font-size:18px;line-height:1.85;font-weight:550;margin:0 0 22px;overflow-wrap:anywhere}.bw-options{display:grid;gap:12px}.bw-option{display:flex;align-items:start;gap:13px;width:100%;border:1px solid var(--line);padding:15px;background:white;font-size:15px;line-height:1.7;text-align:left;border-radius:7px}.bw-option>b{border:1px solid #a9b29f;border-radius:50%;width:26px;height:26px;text-align:center;font-size:13px;font-weight:500;flex-shrink:0}.bw-option.selected,.bw-option.right{background:#eaf1e0;border-color:#4e7441}.bw-option.selected>b,.bw-option.right>b{background:#285940;color:white;border-color:#285940}.bw-save{font-size:11px;color:var(--muted);margin:20px 0}.bw-material{border-left:3px solid #acb99b;padding:0 0 0 15px}.bw-material h2{font-size:13px;color:var(--muted);margin-bottom:12px}.bw-material p{font-size:16px;margin-bottom:14px}.bw-paper-hint{font-size:12px!important;color:var(--muted);padding:16px;background:#eff1e9;border-radius:5px;margin:20px 0}.bw-subquestion{padding:24px 0;border-top:1px solid var(--line)}.bw-subquestion h2{font-size:13px;color:var(--muted);margin-bottom:12px}.bw-subquestion>p{font-size:16px}.bw-title{margin:24px 0 12px!important;font-size:23px!important}.bw-muted{font-size:13px;color:var(--muted)}.bw-card{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:24px 0}.bw-card button{display:grid;gap:4px;padding:10px 0;border:1px solid var(--line);background:white;font-size:15px}.bw-card small{font-size:10px;font-weight:400}.bw-card .done,.bw-card .correct{background:#e8efdf;color:#285940;border-color:#a8bc96}.bw-card .wrong{background:#f7e9e3;color:#8c4937;border-color:#dcb9a9}.bw-card .bw-paper-state,.bw-card .subjective{background:#eeece3;color:#69644d}.bw-result{text-align:center;padding:30px 0 20px}.bw-result>p{font-size:12px;color:var(--muted)}.bw-result h1{font-size:60px;margin:12px 0 4px;color:#285940;font-weight:500}.bw-result h1 small{font-size:20px;color:var(--muted)}.bw-counts{display:flex;justify-content:space-around;margin-top:25px}.bw-counts span{display:grid;font-size:12px;color:var(--muted)}.bw-counts b{font-size:25px;color:var(--ink);font-weight:500}.bw-again{display:block;background:transparent;width:100%;font-size:13px;color:var(--muted);margin-bottom:16px}.bw-comparison{display:flex;justify-content:space-between;gap:12px;font-size:12px;background:#eef1e8;padding:16px;margin:20px 0}.bw-comparison b{display:block;font-size:16px;margin-top:5px}.bw-analysis{padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.bw-analysis p{font-size:15px;white-space:pre-wrap;margin:12px 0}.bw-analysis h3{font-size:14px;color:#285940}.bw-analysis small{font-size:12px;color:var(--muted)}.bw-history{display:flex;justify-content:space-between;align-items:center;gap:12px;text-decoration:none;padding:22px 0;border-bottom:1px solid var(--line);font-size:13px}.bw-history small{display:block;margin-top:7px;color:var(--muted);font-size:11px}
.bw-top-actions{display:flex;gap:12px;align-items:center}.bw-top-actions #submit-now{font-weight:650}.bw-video{border-top:1px solid var(--line);padding:22px 0;margin-top:20px}.bw-video p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:12px 0}.bw-video small{color:var(--muted);font-size:11px}
/* Reservation product story, scoped independently from the practice interface. */
.lp-page{background:#f7faf7;color:#162a25}.lp-page h1,.lp-page h2,.lp-page h3{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:-.035em}.lp-hero{padding:22px 22px 0;background:radial-gradient(ellipse at 80% 18%,#edffd1 0,transparent 58%),linear-gradient(150deg,#b9f5df,#dff8e8 58%,#f7faf7);overflow:hidden}.lp-label{display:flex;justify-content:space-between;align-items:center;font-size:10px}.lp-label>b{font-weight:500;border:1px solid #738d7f;border-radius:20px;padding:3px 9px}.lp-brand{display:flex;align-items:center;gap:5px;font-weight:700;font-size:12px}.lp-brand img{width:30px;height:30px;object-fit:contain}.lp-overline{font-size:10px;letter-spacing:.06em;margin-top:24px}.lp-hero h1{font-size:79px;line-height:1.12;font-weight:900;display:flex;gap:4px;margin:10px 0 18px;transform:rotate(-3deg)}.lp-hero h1 span:nth-child(2){color:white;-webkit-text-stroke:1.5px #16372b;text-shadow:3px 4px #16372b}.lp-hero h1 em{font-style:normal;font-weight:400}.lp-slogan{font-size:21px;line-height:1.5;font-weight:650;letter-spacing:.02em}.lp-byline{display:flex;gap:12px;align-items:center;font-size:11px;margin:16px 0}.lp-byline b{font-size:15px;margin-left:4px}.lp-byline i{height:16px;border-left:1px solid #799789}.lp-cover-pair{position:relative;height:235px;margin:25px 0 0}.lp-cover{width:55%;height:195px;position:absolute;padding:16px 12px;border:1px solid #bcc7bc;box-shadow:0 12px 18px #23423526}.lp-cover small{font-size:7px;white-space:nowrap}.lp-cover strong{display:block;font-size:43px;letter-spacing:.06em;margin:16px 0 5px;font-family:"Songti SC",serif}.lp-cover p{font-size:9px}.lp-cover>span{display:flex;align-items:center;justify-content:space-between;border-top:1px solid;margin-top:16px;font-size:7px;padding-top:6px}.lp-cover>span b{font-size:24px}.lp-white-cover{left:4px;top:0;transform:rotate(-8deg);background:#fffef8;z-index:1}.lp-black-cover{right:1px;top:20px;transform:rotate(9deg);background:#19372e;color:#e8f4db;border-color:#19372e}.lp-sticker{position:absolute;z-index:2;right:1px;top:-15px;border-radius:50%;background:#ecff80;width:64px;height:64px;display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:22px;font-weight:750;transform:rotate(9deg);line-height:1.15}.lp-sticker small{font-size:10px}.lp-launch{display:flex;justify-content:space-between;align-items:center;padding:18px 0 22px;border-top:1px solid #7c968c}.lp-launch>strong{font-size:31px;font-weight:750;letter-spacing:-.03em}.lp-launch strong small{font-size:13px}.lp-launch>span{font-size:10px;line-height:1.7}.lp-guide{display:flex;border-top:1px solid #d5e4d9;border-bottom:1px solid #d5e4d9;background:#fff}.lp-guide button{flex:1;background:none;font-size:12px;border-radius:0;color:#315746}.lp-section{padding:34px 22px}.lp-kicker{font-size:10px;letter-spacing:.045em;color:#47735b;margin-bottom:14px}.lp-section h2{font-size:29px;font-weight:800;line-height:1.35;margin-bottom:16px}.lp-description{font-size:13px;line-height:1.85;color:#53665e;margin-bottom:20px}.lp-switch{display:flex;gap:4px;background:#e2eae0;padding:4px;border-radius:10px;margin:24px 0 14px}.lp-switch button{flex:1;background:transparent;color:#4d6659;font-size:13px;min-height:42px}.lp-switch button[aria-pressed=true]{background:#fff;box-shadow:0 2px 5px #173c1912;color:#162a25;font-weight:700}.lp-paper-info{padding:24px 20px;background:white;border:1px solid #c3d3c2;border-radius:9px;min-height:230px}.lp-paper-info>span{font-size:9px;color:#67836e;letter-spacing:.08em}.lp-paper-info h3{font-size:21px;margin:16px 0 10px}.lp-paper-info p{font-size:13px;line-height:1.8}.lp-paper-info>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.lp-paper-info b{font-size:10px;font-weight:500;padding:4px 7px;background:#eef5e7}.lp-paper-info.is-black{background:#18392f;color:#f5f8e8;border-color:#18392f}.lp-paper-info.is-black>span{color:#c6d9aa}.lp-paper-info.is-black b{background:#375747}.lp-name{background:#1b332c;color:#f5f7e9}.lp-name .lp-kicker{color:#cbe597}.lp-name p:not(.lp-kicker){font-size:13px;line-height:1.9;margin-bottom:20px;color:#dce7de}.lp-name b{color:#f5f7e9;font-size:16px}.lp-name small{display:block;font-size:10px;line-height:1.9;border-top:1px solid #527065;padding-top:18px;color:#bfcdc4}.lp-teachers{background:#e2f6eb}.lp-teacher-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lp-teacher-grid figure{margin:0;overflow:hidden;border-radius:9px;background:white}.lp-portrait{height:204px;background:#eee;overflow:hidden}.lp-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 13%;display:block}.lp-teacher-grid figure:first-child img{object-position:center top}.lp-teacher-grid figcaption{padding:14px 12px}.lp-teacher-grid figcaption span{font-size:10px;color:#456b54}.lp-teacher-grid h3{font-size:25px;margin:2px 0 6px}.lp-teacher-grid figcaption p{font-size:9px;white-space:nowrap}.lp-flow{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:22px 0}.lp-flow b{display:block;font-size:20px;color:#7e9e78}.lp-flow i{font-style:normal;color:#83957e}.lp-demo{background:white;border:1px solid #cedaca;border-radius:10px;padding:18px}.lp-demo-top{display:flex;justify-content:space-between;font-size:9px;color:#5d735e;border-bottom:1px solid #e2e8df;padding-bottom:12px;margin-bottom:14px}.lp-demo h3{font-size:15px;line-height:1.8;letter-spacing:0}.lp-demo-options{display:grid;gap:8px;margin:16px 0}.lp-demo-options button{text-align:left;font-size:12px;background:#f6f9f2;padding:10px;border:1px solid #dce3d6}.lp-demo-options b{margin-right:12px}.lp-demo-options button[aria-pressed=true]{border-color:#275b45;background:#e5f4db}.lp-demo>p{font-size:11px;color:#58705c}.lp-demo-analysis,#lp-demo-analysis{margin-top:14px;border-top:1px solid #cddcc5;padding-top:14px;font-size:12px;line-height:1.8}.lp-caption{font-size:10px;line-height:1.8;color:#5b7060;margin-top:12px}.lp-text-link{display:flex;justify-content:space-between;font-size:13px;text-decoration:none;padding:18px 0 0;font-weight:650;color:#285940}.lp-video{background:#e7eee7}.lp-course-art{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 6px 15px #29463912;margin:24px 0}.lp-course-top{display:flex;justify-content:space-between;background:#1b342c;color:white;font-size:10px;padding:10px 12px}.lp-course-top b{font-size:8px;font-weight:400;border:1px solid #8b9f88;padding:1px 5px;border-radius:3px}.lp-board{padding:24px 18px;background:linear-gradient(130deg,#f6ffeb,#e3f3e9)}.lp-board>small{font-size:9px;color:#476747}.lp-board h3{font-size:21px;line-height:1.5;margin:10px 0 20px}.lp-board>div:not(.lp-board-line){display:flex;align-items:center;gap:9px;font-size:11px}.lp-board span{padding:5px 10px;background:white;border:1px solid #bacbb1}.lp-board i{font-style:normal}.lp-board-line{width:85%;border-bottom:3px solid #bad2ba;margin-top:18px}.lp-board-line.short{width:60%;margin-top:9px}.lp-course-art>p{padding:9px 12px;color:#65715e;font-size:9px}.lp-account{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c8d6c5;padding:15px 0;gap:10px}.lp-account small{display:block;font-size:10px;color:#586d59}.lp-account strong{font-size:17px;display:block;margin-top:3px}.lp-account button{font-size:11px;border:1px solid #a8bda0;background:transparent;padding:7px 10px;min-height:36px}.lp-dates{background:#eff8d4}.lp-dates>div{border-top:1px solid #bac7a5;padding:20px 0}.lp-dates strong{font-size:38px;letter-spacing:-.04em}.lp-dates strong small{font-size:14px}.lp-dates>div p{font-size:12px;margin-top:4px}.lp-faq h2{font-size:25px}.lp-faq details{border-bottom:1px solid #d6dfd0;padding:16px 0}.lp-faq summary{font-size:13px;cursor:pointer}.lp-faq details p{font-size:12px;line-height:1.9;color:#5a6b5d;margin-top:12px}.lp-footer{text-align:center;padding:12px 0 35px;font-weight:650;font-size:14px;color:#234b37}.lp-footer img{width:48px;height:48px;display:block;margin:0 auto 8px}.lp-footer span{font-size:10px;font-weight:400;display:inline-block;margin-top:4px}.lp-success{margin:20px;padding:22px!important;background:#eef8dc;border:1px solid #c3d8ad;border-radius:10px}.lp-success h2{font-size:22px}.lp-success>p{font-size:12px}.lp-success .muted{font-size:10px}.lp-success .success-icon{width:32px;height:32px;font-size:20px}.lp-cta{display:flex;align-items:center;justify-content:space-between;gap:12px}.lp-cta strong{font-size:12px;display:block}.lp-cta small{font-size:10px;display:block;color:#5f725d;margin-top:3px}.lp-cta #reserve{width:auto;min-width:130px;padding:12px 18px;background:#193e2f;color:#f4ffe9;font-size:14px}.lp-booked-button{width:100%;background:#e7f2db;color:#285940;border-radius:0;font-size:13px}#reservation-dock{flex-shrink:0;background:#fff;border-top:1px solid #d7e0d0}#reservation-dock #bottom-action{padding:12px 18px;position:static;margin:0;background:#fff}#reservation-dock #booking-error{font-size:11px;color:#9c3827;margin-bottom:6px}#student-view .lp-page{width:100%;overflow:hidden}@media(max-width:350px){.lp-hero h1{font-size:67px}.lp-teacher-grid{gap:8px}.lp-teacher-grid figcaption{padding:12px 8px}.lp-portrait{height:180px}.lp-teacher-grid figcaption p{font-size:8px}.lp-section{padding:30px 18px}.lp-cta #reserve{min-width:110px}}
.lp-hero h1 span{display:inline;font:inherit;letter-spacing:inherit;margin:0;line-height:inherit}
.lp-teacher-grid figure:nth-child(2) .lp-portrait img{transform:scale(1.25);transform-origin:50% 18%}.lp-cover strong{font-size:39px;margin-top:12px}.lp-cover>span{margin-top:13px}

.lp-exam-title{display:flex;align-items:center;gap:10px;margin-top:24px;font-size:22px;font-weight:800;line-height:1.3}.lp-exam-title strong{background:#193e2f;color:#f2ffd9;padding:5px 8px;border-radius:4px;font-size:23px;letter-spacing:-.03em}.lp-exam-title+.lp-overline{margin-top:12px}.lp-teacher-grid figure:first-child .lp-portrait{padding-top:10px;background:white}.lp-teacher-grid figure:first-child .lp-portrait img{object-position:center top;transform:none}@media(max-width:350px){.lp-exam-title{font-size:19px;gap:8px}.lp-exam-title strong{font-size:21px}}
/* Revised opening: clear typographic hierarchy and paired paper editions. */
.preview-logo{width:30px;height:30px;object-fit:contain}.preview-wordmark{width:80px;height:auto}.mini-wordmark{width:79px;height:auto;display:block}.lp-brand .lp-wordmark{width:79px;height:auto;object-fit:contain}.lp-footer .lp-footer-wordmark{width:98px;height:auto;margin-top:8px}.lp-hero{background:#f8faf4;padding:20px 22px 0}.lp-label{padding-bottom:18px;border-bottom:1px solid #d1dcd0}.lp-label>b{background:#e8f6d4;border:0;color:#3b5336;padding:4px 10px;font-size:10px}.lp-exam-title{margin-top:23px;gap:11px;font-size:22px;letter-spacing:-.02em}.lp-exam-title strong{background:none;color:#285940;padding:0;border-radius:0;font-size:27px;font-weight:800;letter-spacing:-.06em}.lp-overline{color:#576b57;letter-spacing:.06em;font-size:10px}.lp-exam-title+.lp-overline{margin-top:7px}.lp-hero h1{font-size:76px;letter-spacing:-.08em;gap:4px;transform:none;margin:21px 0 20px;align-items:center;line-height:1.06}.lp-hero h1 span:nth-child(2){background:#17372b;color:#f8faf4;-webkit-text-stroke:0;text-shadow:none;border-radius:4px;padding:2px 5px 7px;margin:0 2px}.lp-hero h1 em{font-weight:850}.lp-slogan{font-size:17px;line-height:1.65;letter-spacing:0;font-weight:600;color:#3d5041}.lp-byline{border-top:1px solid #d1dcd0;margin:21px 0 0;padding:17px 0 0;gap:28px;align-items:center}.lp-byline span{display:grid;gap:3px}.lp-byline small{font-size:9px;color:#61705f}.lp-byline b{margin:0;font-size:19px;letter-spacing:.08em}.lp-byline>strong{margin-left:auto;font-size:12px;color:#345c3c;line-height:1.8;text-align:right;font-weight:600}.lp-byline>strong small{font-size:10px;font-weight:400}.lp-cover-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;height:auto;margin:24px 0 20px;align-items:start}.lp-cover{position:relative;inset:auto;width:100%;height:177px;transform:none;padding:15px 13px;box-shadow:0 5px 0 #cdd8c7;border-radius:2px;overflow:hidden}.lp-white-cover{background:#fffef8;border:1px solid #b7c5af}.lp-black-cover{background:#19372e;border:1px solid #19372e;box-shadow:0 5px 0 #7d9485;margin-top:15px}.lp-cover small{font-size:7px;letter-spacing:.02em;color:inherit;opacity:.8}.lp-cover strong{font-family:inherit;font-weight:750;font-size:32px;letter-spacing:.04em;margin:16px 0 5px}.lp-cover p{font-size:9px;line-height:1.5}.lp-cover>span{margin-top:17px;padding-top:9px;font-size:6px}.lp-cover>span b{font-size:24px;line-height:1}.lp-launch{padding:17px 0 20px;border-color:#b7cbb1;gap:12px}.lp-launch>strong{font-size:28px}.lp-launch>span{font-size:10px;line-height:1.8}@media(max-width:350px){.lp-hero h1{font-size:66px}.lp-exam-title{font-size:19px}.lp-exam-title strong{font-size:24px}.lp-byline{gap:20px}.lp-cover{padding:13px 10px}.lp-cover small{font-size:6px}}
/* Restore the preferred mint backdrop; preserve the official logo and wordmark. */
.lp-hero{background:radial-gradient(ellipse at 80% 18%,#edffd1 0,transparent 58%),linear-gradient(150deg,#b9f5df,#dff8e8 58%,#f7faf7)}.lp-label{padding-bottom:12px;border-bottom:0}.lp-label>b{background:transparent;border:1px solid #789882}.lp-brand{gap:9px}.lp-brand>img:first-child{width:43px;height:43px;object-fit:contain}.lp-brand .lp-wordmark{width:89px;height:auto}.lp-exam-title{margin-top:17px}.lp-exam-title strong{background:#193e2f;color:#f2ffd9;padding:5px 8px;border-radius:4px}.lp-hero h1{transform:rotate(-3deg)}.lp-hero h1 span:nth-child(2){background:transparent;color:#fff;-webkit-text-stroke:1.5px #193e2f;text-shadow:3px 4px #193e2f;padding:0;border-radius:0}.lp-byline{border-top:0;padding-top:0}.lp-cover-pair{position:relative;display:block;height:220px;margin:24px 0 10px}.lp-cover{position:absolute;width:55%;height:185px;padding:15px 12px;box-shadow:0 10px 18px #23423526;overflow:hidden}.lp-white-cover{left:3px;top:0;transform:rotate(-8deg);z-index:1}.lp-black-cover{right:2px;top:15px;left:auto;margin-top:0;transform:rotate(8deg)}
/* Product-local paper classification form */
#product-link-form legend label{display:flex;align-items:center;gap:8px}
#product-link-form input[type=checkbox]{width:auto;min-height:0;margin:0;flex:none}
#product-link-form [data-volume-fields]{display:grid;gap:8px}
#product-link-form [data-volume-fields][hidden]{display:none}
#product-link-form [data-volume-fields] label:not(:first-child){margin-top:8px}
#product-link-form [data-volume-sequence]{width:100%;min-width:0}
/* Question editor: content first, metadata alongside, persistent actions. */
.question-edit-dialog{width:min(1120px,calc(100% - 32px));max-height:92dvh;overflow:hidden;background:#fff}
.question-edit-dialog>.dialog-body{padding:0;display:flex;flex-direction:column;max-height:92dvh}
.question-edit-dialog>.dialog-body>.section-title{padding:16px 24px;margin:0;border-bottom:1px solid var(--line);flex:none}
.question-edit-dialog .dialog-body h2{font-size:22px;margin:0}
#question-edit{display:flex;flex-direction:column;gap:0;min-height:0;overflow:hidden}
.qe-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 24px;background:#f5f7f2;color:#53604e;font-size:12px;flex:none}
.qe-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;overflow:auto;min-height:0;overscroll-behavior:contain}
.qe-main{min-width:0;padding:24px 28px}.qe-sidebar{min-width:0;padding:24px;background:#f8f9f5;border-left:1px solid var(--line)}
.qe-section+.qe-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.qe-section h3{font-size:17px;margin:0 0 18px}.qe-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.qe-section-heading h3{margin:0}
.qe-type{display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:13px}.qe-field{display:grid;gap:8px;margin-bottom:20px}.qe-field>label{font-size:13px;font-weight:600}
#question-edit input:not([type=checkbox]):not([type=radio]),#question-edit textarea,#question-edit select{width:100%;max-width:none;min-width:0;border-radius:6px;font-size:14px;line-height:1.7;padding:10px 12px}
#question-edit textarea{resize:vertical;min-height:72px}#question-edit .qe-type select{width:100px;padding:6px 10px}
.qe-options{display:grid;gap:12px;margin:20px 0}.qe-option{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}.qe-option>label{padding-top:10px;font-weight:650;color:var(--green)}
#question-edit .qe-answer{border:0;padding:0;margin:0}#question-edit .qe-answer legend{padding:0;font-size:13px;font-weight:600}
#question-edit .qe-answer .checks{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 0}#question-edit .qe-answer label{padding:10px 16px;border:1px solid #ccd4c7;border-radius:6px;min-width:68px;background:#fff;cursor:pointer}#question-edit .qe-answer label:has(:checked){background:#e6efdf;border-color:var(--green);color:var(--green)}
#question-edit input[type=checkbox],#question-edit input[type=radio]{width:18px;height:18px;max-width:18px;min-width:18px;padding:0;margin:0;accent-color:var(--green)}
#edit-node-list{gap:4px;margin:12px 0 0}#edit-node-list label{align-items:flex-start;padding:10px 0;line-height:1.6;overflow-wrap:anywhere}#edit-node-list input{margin-top:3px!important}#edit-node-list p{font-size:13px;color:var(--muted);padding:12px 0}
.qe-footer{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-top:1px solid var(--line);background:#fff}.qe-actions{display:flex;gap:12px;margin-left:auto}.qe-footer #library-error{width:100%;color:#a02c25;font-size:13px;margin:0}.qe-footer #library-error:empty{display:none}.qe-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.qe-layout{grid-template-columns:minmax(0,1fr)}.qe-main,.qe-sidebar{padding:20px}.qe-sidebar{border-left:0;border-top:1px solid var(--line)}.question-edit-dialog>.dialog-body>.section-title,.qe-meta,.qe-footer{padding:12px 16px}.qe-footer>.data-note{display:none}.qe-actions{width:100%;margin:0}.qe-actions button{flex:1}.question-edit-dialog{width:calc(100% - 16px)}.qe-meta{font-size:11px}.qe-section-heading{gap:8px}}
.bw-offline{padding:24px 0;border-top:1px solid var(--line);display:grid;gap:12px}.bw-offline h2{font-size:18px}.bw-offline p{font-size:13px;color:#53624e;line-height:1.8}.bw-offline small{font-size:11px;line-height:1.7}.bw-offline .bw-text-button{text-align:center;font-size:13px;padding:12px 4px}#bw-download-dialog .bw-muted{margin:16px 0;line-height:1.8}#paper-download-status{margin:16px 0;font-size:12px}#bw-download-dialog .wide{width:100%}
.bw-sheet-intro{padding:22px 0}.bw-sheet-intro h1{font-size:26px!important;margin:0 0 12px}.bw-sheet-intro p{font-size:12px;line-height:1.8;color:#58634f}.bw-sheet-section{font-size:16px;margin:20px 0 4px;padding-bottom:12px;border-bottom:1px solid var(--line)}.bw-sheet-row{padding:18px 0;border-bottom:1px solid #e3e6dc}.bw-sheet-row>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.bw-sheet-row h3{font-size:14px;font-weight:550}.bw-sheet-row span{font-size:11px;color:#65715f}.bw-sheet-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bw-sheet-options button{border:1px solid #bec9b4;background:#fff;color:#344732;border-radius:8px;min-height:44px;font-size:15px}.bw-sheet-options button[aria-pressed=true]{background:#285940;color:#fff;border-color:#285940}.bw-sheet-footer{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:12px 0 4px;margin-top:24px;z-index:1}.bw-sheet-footer p{font-size:11px;color:#50614b;margin-bottom:8px;text-align:center}.bw-sheet-footer button{width:100%}
/* Paired white/black series covers; the white series retains its six paper entries. */
.bw-white{background:#fffef9;color:#252b26;padding:24px;border:1px solid #d3d8cc;border-radius:8px;margin-bottom:26px}
.bw-series-en{font-size:9px;letter-spacing:.16em;color:#52664d}
.bw-white .bw-series-name{font-size:28px;font-family:"Songti SC",serif;margin:12px 0}
.bw-series-desc{font-size:12px;line-height:1.8}
.bw-white .bw-paper-list{margin-top:22px;border-top:1px solid #d3d8cc}
.bw-white .bw-paper{gap:10px;padding:18px 0;min-width:0}
.bw-white .bw-paper:last-child{border-bottom:0;padding-bottom:0}
.bw-white .bw-paper-no{font-size:22px;width:26px;flex-shrink:0}
.bw-white .bw-paper div{min-width:0}.bw-white .bw-paper h3{font-size:15px}
.bw-white .bw-paper p{line-height:1.7;overflow-wrap:anywhere}
.bw-white .bw-paper.locked{opacity:1}
