:root{color:#262626;font-synthesis:none;--brand:#b51f2e;--brand-dark:#941724;--text:#262626;--muted:#737373;--line:#dedede;--soft:#f7f7f7;background:#f5f5f5;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Arial,sans-serif}*{box-sizing:border-box}html,body,#app{min-width:100%;min-height:100%;margin:0}body{background:#f5f5f5}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh}.topbar{color:#555;background:#fff;border-bottom:1px solid #d8d8d8;justify-content:space-between;align-items:center;height:64px;padding:0 30px;display:flex}.brand,.top-status{align-items:center;gap:14px;display:flex}.brand{align-self:stretch}.brand-logo{object-fit:contain;width:205px;height:50px;display:block;transform:translateY(-1px)}.top-status{font-size:13px}.status-dot{border-radius:50%;width:7px;height:7px}.status-dot.ok{background:#348153}.status-dot.bad{background:#c53a3a}.text-button,.back-button{color:inherit;background:0 0;border:0}.text-button{color:#555;border-left:1px solid #ddd;margin-left:2px;padding-left:15px}.back-button{color:#555;padding:8px 0}.back-button:hover,.text-button:hover{color:var(--brand)}.primary,.secondary,.submit-button{border-radius:4px;padding:10px 20px;font-weight:600}.primary{color:#fff;border:1px solid var(--brand);background:var(--brand)}.primary:hover{border-color:var(--brand-dark);background:var(--brand-dark)}.primary.large{width:100%;padding:12px}.secondary{color:#555;background:#fff;border:1px solid #c9c9c9}.secondary:hover{color:var(--brand);border-color:var(--brand)}.danger{background:#a9232e;border-color:#a9232e}.login-page{background:#f3f4f5;grid-template-columns:minmax(420px,560px) 420px;justify-content:center;align-items:center;gap:84px;min-height:calc(100vh - 64px);padding:60px 8vw;display:grid}.hero-panel{border-left:3px solid var(--brand);max-width:560px;padding:8px 0 8px 30px}.hero-kicker{color:var(--brand);letter-spacing:.18em;margin-bottom:14px;font-size:14px;font-weight:600}.hero-panel h1{color:#252525;letter-spacing:.03em;margin:0 0 18px;font-size:32px;font-weight:600}.hero-panel p{color:#666;max-width:510px;margin:0;font-size:16px;line-height:1.8}.hero-panel ul{margin:26px 0 0;padding-left:20px}.hero-panel li{color:#555;margin:11px 0;line-height:1.6}.hero-panel li::marker{color:var(--brand)}.login-card{background:#fff;border:1px solid #d7d7d7;border-radius:5px;padding:34px 36px 30px}.login-card h2{color:#222;margin:0;font-size:25px;font-weight:600}.login-card>p{color:#888;margin:8px 0 26px;font-size:14px}.login-card label{color:#4a4a4a;margin:17px 0;font-size:14px;display:block}.login-card input{color:#222;background:#fff;border:1px solid #cfcfcf;border-radius:4px;outline:none;width:100%;height:42px;margin-top:8px;padding:0 12px;display:block}.login-card input:focus{border-color:var(--brand);box-shadow:0 0 0 2px #b51f2e17}.login-card>small{text-align:center;color:#999;margin-top:20px;display:block}.captcha-row{grid-template-columns:1fr 120px;align-items:end;gap:10px;display:grid}.captcha-row img{cursor:pointer;border:1px solid #d4d4d4;border-radius:3px;width:120px;height:42px}.page-wrap{max-width:1200px;margin:auto;padding:34px 30px 70px}.page-wrap.narrow{max-width:1040px}.page-heading{justify-content:space-between;align-items:center;margin:10px 0 26px;display:flex}.page-heading h1{color:#222;margin:0 0 6px;font-size:26px;font-weight:600}.page-heading p{color:#7c7c7c;margin:0;font-size:14px}.switch{color:#666;font-size:14px}.switch input{accent-color:var(--brand)}.exam-grid{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:18px;display:grid}.exam-card,.panel,.loading-card,.empty-card{border:1px solid var(--line);background:#fff;border-radius:5px}.exam-card{border-top:3px solid var(--brand);padding:22px 24px 24px}.exam-card h2{margin:22px 0 7px;font-size:20px;font-weight:600}.exam-card>p{color:#777;min-height:22px}.exam-card dl{grid-template-columns:78px 1fr;gap:10px;margin:22px 0;font-size:14px;display:grid}.exam-card dt{color:#888}.exam-card dd{color:#333;margin:0}.exam-card-head{color:#7b7b7b;justify-content:space-between;font-size:13px;display:flex}.badge{color:var(--brand);background:#f8e9eb;border-radius:3px;padding:3px 9px}.badge.prominent{padding:6px 12px}.exam-card>button{width:100%}.loading-card,.empty-card{text-align:center;color:#777;padding:70px}.empty-card button{margin:20px auto 0;display:block}.prepare-layout{gap:16px;display:grid}.panel{padding:22px 24px}.panel h2{margin:0 0 17px;font-size:18px;font-weight:600}.panel-heading{justify-content:space-between;align-items:center;display:flex}.notice-content{background:#fafafa;border:1px solid #e5e5e5;max-height:280px;padding:16px;line-height:1.75;overflow:auto}.commitment{color:#444;margin-top:17px;display:block}.commitment input{accent-color:var(--brand)}.check-list{grid-template-columns:1fr 1fr;gap:0 28px;display:grid}.check-row{border-bottom:1px solid #ececec;align-items:center;gap:12px;min-height:58px;padding:8px 4px;display:flex}.check-row small,.candidate small{color:#888;margin-top:4px;display:block}.check-icon{color:#fff;border-radius:50%;flex:0 0 23px;place-items:center;width:23px;height:23px;font-size:13px;font-weight:700;display:grid}.check-icon.pass{background:#348153}.check-icon.fail{background:#bd3434}.check-icon.warn{background:#b67a22}.qr-box img{width:220px;height:220px}.qr-box p{color:#666}.success-box{color:#256640;background:#edf5f0;border:1px solid #cfe2d6;padding:16px}.readiness{grid-template-columns:1fr auto;gap:12px;margin-bottom:20px;display:grid}.readiness span{color:#777}.readiness b{color:#333}.hint{text-align:center;color:#8d682a}.error-box{color:#962b2b;background:#fff3f3;border:1px solid #edcccc;border-radius:3px;margin-top:15px;padding:10px 13px}.page-error{max-width:700px}.toast{z-index:100;color:#fff;background:#232323e6;border-radius:4px;padding:11px 20px;position:fixed;bottom:38px;left:50%;transform:translate(-50%)}.exam-page{height:calc(100vh - 64px);display:flex;overflow:hidden}.exam-sidebar{background:#fff;border-right:1px solid #d8d8d8;flex-direction:column;flex:0 0 232px;padding:20px 17px;display:flex}.candidate{border-bottom:1px solid #e5e5e5;padding-bottom:17px}.timer{text-align:center;padding:18px 0}.timer small,.timer strong{display:block}.timer strong{color:#333;font-variant-numeric:tabular-nums;margin-top:6px;font-size:28px}.timer.urgent strong{color:var(--brand)}.answer-stats{text-align:center;padding:17px 0}.answer-stats b{font-size:20px}.answer-stats small{color:#888;margin-left:5px}.progress{background:#e7e7e7;height:4px;margin-top:10px}.progress i{background:var(--brand);height:100%;display:block}.answer-nav{grid-template-columns:repeat(5,1fr);gap:7px;display:grid;overflow:auto}.answer-nav button{color:#555;white-space:nowrap;background:#fff;border:1px solid #d3d3d3;border-radius:3px;min-width:32px;height:34px;padding:0 2px;line-height:32px;overflow:hidden}.answer-nav button.active{color:var(--brand);border-color:var(--brand);box-shadow:0 0 0 2px #b51f2e1a}.answer-nav button.answered{color:#fff;border-color:var(--brand);background:var(--brand)}.answer-nav button.answered.active{box-shadow:0 0 0 2px #b51f2e3d}.answer-nav button.marked{box-shadow:inset 0 -3px #d49a2f}.submit-button{color:#fff;border:1px solid var(--brand);background:var(--brand);margin-top:auto}.submit-button:hover{background:var(--brand-dark)}.paper-area{background:#f5f5f5;flex:1;position:relative;overflow:auto}.paper-header{z-index:5;background:#fff;border-bottom:1px solid #dcdcdc;align-items:center;gap:18px;min-height:72px;padding:13px 26px;display:flex;position:sticky;top:0}.paper-header h1{margin:0;font-size:19px;font-weight:600}.paper-header p{color:#888;margin:5px 0 0;font-size:13px}.save-state{margin-left:auto;font-size:13px}.save-state.saved{color:#2c774b}.save-state.saving{color:#8a6727}.save-state.failed{color:#b43232}.chat-toggle{color:#555;background:#fff;border:1px solid #c9c9c9;border-radius:3px;padding:8px 13px;position:relative}.chat-toggle i{color:#fff;background:var(--brand);border-radius:10px;min-width:18px;padding:2px 5px;font-size:11px;position:absolute;top:-8px;right:-8px}.sections{max-width:900px;margin:auto;padding:25px 28px 90px}.single-question-pages{flex-direction:column;min-height:calc(100vh - 136px);display:flex}.question-page{flex:1}.question-page>.question{min-height:340px}.question-pagination{grid-template-columns:110px 1fr 110px;align-items:center;gap:18px;padding-top:12px;display:grid}.question-pagination span{color:#777;text-align:center;font-size:14px}.question-pagination button{width:100%}.section-title{color:#333;border-left:3px solid var(--brand);background:#eee;padding:11px 14px;font-size:17px;font-weight:600}.question{background:#fff;border:1px solid #dedede;border-radius:4px;margin:16px 0;padding:22px;scroll-margin-top:92px}.question .question{box-shadow:none;background:#fafafa}.question-head{align-items:center;gap:10px;display:flex}.question-head strong{font-size:17px}.score{color:#888;font-size:13px}.mark{color:#666;background:0 0;border:0;margin-left:auto}.mark.marked{color:#a8751d}.rich-content{padding:14px 0;line-height:1.8}.question-image img,.option img{max-width:100%;max-height:360px}.material{background:#f5f5f5;border-left:3px solid #ccc;margin-top:14px;padding:12px}.option-list{gap:9px;display:grid}.option{cursor:pointer;border:1px solid #d8d8d8;border-radius:3px;align-items:flex-start;gap:12px;padding:12px;display:flex}.option:hover{border-color:#aaa}.option.selected{border-color:var(--brand);background:#fff5f6}.option input{accent-color:var(--brand);margin-top:3px}.text-answer{resize:vertical;border:1px solid #cfcfcf;border-radius:3px;outline:none;width:100%;min-height:140px;padding:12px;line-height:1.7}.text-answer:focus{border-color:var(--brand)}.drag-answer{padding:8px 0}.drag-item{background:#fafafa;border:1px solid #d0d0d0;border-radius:3px;align-items:center;gap:12px;margin:8px 0;padding:11px;display:flex}.drag-handle{cursor:grab;color:#888}.move-actions{margin-left:auto}.move-actions button,.drag-chip button{background:0 0;border:0}.drag-pool,.drag-target{border:1px dashed #aaa;border-radius:3px;min-height:58px;padding:12px}.drag-pool{margin-bottom:12px}.drag-chip{cursor:grab;background:#eee;border-radius:3px;margin:5px;padding:8px 10px;display:inline-flex}.drag-chip.placed{justify-content:space-between;display:flex}.target-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.drag-target strong{margin-bottom:8px;display:block}.paused-mask{z-index:20;text-align:center;color:#fff;background:#191919f0;place-items:center;display:grid;position:fixed;inset:64px 0 0 232px}.paused-mask h2{font-size:30px}.chat-panel{background:#fff;border-left:1px solid #d8d8d8;flex-direction:column;flex:0 0 340px;display:flex}.chat-panel header{border-bottom:1px solid #e2e2e2;justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex}.chat-panel header button{background:0 0;border:0;font-size:24px}.messages{flex:1;padding:14px;overflow:auto}.message{max-width:86%;margin:12px 0}.message.mine{margin-left:auto}.message small{color:#888}.message p{background:#efefef;border-radius:4px;margin:4px 0;padding:9px 11px;line-height:1.5}.message.mine p{color:#6d1620;background:#f8e9eb}.message time{color:#aaa;font-size:10px}.chat-empty{text-align:center;color:#999;margin-top:80px}.chat-panel form{border-top:1px solid #e2e2e2;padding:12px}.chat-panel textarea{resize:none;border:1px solid #ccc;border-radius:3px;width:100%;height:72px;padding:9px}.chat-panel form button{float:right;margin-top:8px}.result-page{place-items:center;min-height:calc(100vh - 64px);padding:40px;display:grid}.result-card{text-align:center;background:#fff;border:1px solid #d7d7d7;border-radius:5px;width:560px;padding:38px 42px}.result-icon{color:#fff;background:#348153;border-radius:50%;place-items:center;width:62px;height:62px;margin:auto;font-size:34px;display:grid}.result-card h1{margin-bottom:8px}.result-card>p{color:#777}.result-card dl{text-align:left;background:#f7f7f7;border:1px solid #e5e5e5;grid-template-columns:1fr 1fr;gap:13px;margin:26px 0;padding:20px;display:grid}.result-card dt{color:#777}.result-card dd{text-align:right;margin:0}.modal-backdrop{z-index:200;background:#14141499;place-items:center;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #ccc;border-radius:5px;width:440px;padding:27px}.modal h2{margin-top:0}.modal>div{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.danger-text{color:#a92d38}@media (width<=1000px){.login-page{grid-template-columns:1fr}.hero-panel{display:none}.login-card{width:min(100%,440px);margin:auto}.chat-panel{z-index:30;border-left:1px solid #ccc;position:fixed;top:64px;bottom:0;right:0}}
