/* 智阅 SmartMark · 阅卷工作台样式 */
.wb-root { position: fixed; inset: 0; z-index: 900; display: none; flex-direction: column; background: #f2f2f7; }
.wb-root.is-open { display: flex; }
body.wb-locked { overflow: hidden; }
.wb-top { display: flex; align-items: center; gap: 18px; padding: 11px 28px; color: #fff; background: linear-gradient(120deg, #26265f, #1b1b41); }
.wb-brand { display: flex; align-items: center; gap: 10px; }
.wb-brand span { display: grid; place-items: center; width: 34px; height: 34px; color: #26265f; background: #fff; border-radius: 10px; font-family: serif; font-size: 20px; font-weight: 800; }
.wb-brand b { display: block; font-size: 15px; }
.wb-brand small { color: #b9b9d6; font-size: 11px; }
.wb-nav { display: flex; gap: 4px; margin-left: 10px; }
.wb-nav button { display: flex; align-items: center; gap: 6px; padding: 9px 14px; color: #cfcfe6; background: transparent; border: 0; border-radius: 10px; font-size: 13px; cursor: pointer; }
.wb-nav button i { display: grid; place-items: center; width: 20px; height: 20px; background: rgba(255,255,255,.14); border-radius: 6px; font-size: 11px; font-style: normal; }
.wb-nav button.is-active { color: #1b1b41; background: #fff; }
.wb-nav button.is-active i { background: #e6e5ff; color: #4f46c8; }
.wb-top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wb-pill { padding: 5px 10px; background: rgba(255,255,255,.14); border-radius: 999px; font-size: 11px; }
.wb-main { flex: 1; overflow: auto; padding: 18px; }
.wb-icon { width: 30px; height: 30px; color: #fff; background: rgba(255,255,255,.16); border: 0; border-radius: 8px; font-size: 17px; cursor: pointer; }
.wb-ghost { padding: 8px 13px; color: #3b3b63; background: #fff; border: 1px solid #dcdce8; border-radius: 9px; font-size: 12px; cursor: pointer; }
.wb-ghost:hover { border-color: #4f46c8; color: #4f46c8; }
.wb-primary { padding: 8px 15px; color: #fff; background: #4f46c8; border: 0; border-radius: 9px; font-size: 12px; cursor: pointer; }
.wb-primary:hover { background: #3f37ab; }
.wb-primary[disabled], .wb-ghost[disabled] { opacity: .45; cursor: not-allowed; }
.wb-primary.wb-small, .wb-ghost.wb-small { padding: 5px 10px; font-size: 11px; }
.wb-link { padding: 4px 6px; color: #4f46c8; background: transparent; border: 0; font-size: 11px; cursor: pointer; }
.wb-danger { color: #d33f49 !important; }
.wb-spacer { flex: 1; }
.wb-strong { font-weight: 700; }

.wb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.wb-input { padding: 8px 10px; color: #202136; background: #fff; border: 1px solid #dcdce8; border-radius: 9px; font-size: 12px; }
.wb-input.wb-small { max-width: 200px; }
.wb-input.wb-tiny { width: 62px; }
.wb-field { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #5b5d73; }
.wb-check { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; color: #3b3b63; }
.wb-radio { display: inline-flex; align-items: center; gap: 6px; margin: 8px 14px 8px 0; font-size: 12px; }
.wb-hint { color: #74768a; font-size: 11px; line-height: 1.7; }
.wb-sub { margin: 22px 0 10px; font-size: 14px; }
.wb-empty { padding: 26px; color: #9b9daf; text-align: center; font-size: 12px; }
.wb-stat-line { margin-top: 12px; color: #74768a; font-size: 11px; }

.wb-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.wb-stats span { padding: 7px 13px; color: #74768a; background: #fff; border: 1px solid #e7e7ef; border-radius: 999px; font-size: 11px; }
.wb-stats b { color: #202136; font-size: 14px; }
.wb-table-wrap { overflow: auto; max-height: calc(100vh - 260px); background: #fff; border: 1px solid #e7e7ef; border-radius: 14px; }
.wb-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.wb-table th { position: sticky; top: 0; padding: 10px 12px; color: #707286; background: #fafafd; border-bottom: 1px solid #e7e7ef; font-size: 11px; text-align: left; }
.wb-table td { padding: 9px 12px; border-bottom: 1px solid #f0f0f6; font-size: 12px; }
.wb-table tr.is-done td { background: #f7fdf9; }
.wb-table input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; accent-color: #4f46c8; }
.wb-tag { display: inline-block; margin-left: 5px; padding: 2px 7px; color: #707286; background: #f0f0f5; border-radius: 999px; font-size: 10px; }
.wb-tag.ok { color: #168f68; background: #e6f8f1; }
.wb-tag.warn { color: #d97706; background: #fff3df; }

.wb-placeholder { display: grid; place-items: center; gap: 8px; padding: 46px 24px; color: #74768a; background: #fff; border: 1px dashed #d7d8e4; border-radius: 16px; text-align: center; }
.wb-placeholder b { color: #202136; font-size: 14px; }
.wb-placeholder p { max-width: 560px; margin: 0; font-size: 12px; line-height: 1.8; }

.wb-card-config { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; padding: 14px; background: #fff; border: 1px solid #e7e7ef; border-radius: 14px; }
.wb-card-config .wb-input { width: 110px; }
.wb-calib-stage { padding: 14px; background: #e9e9f0; border-radius: 16px; max-height: 72vh; overflow: auto; }
/* 注意：这里不能用 object-fit:contain —— 那会让图片在元素框里居中缩放，
   鼠标坐标就会和画布坐标错位。用 width:100% + height:auto 按比例缩放，
   元素框和画面完全重合，框选位置才准。 */
.wb-calib-stage canvas { display: block; width: 100%; height: auto; background: #fff; border-radius: 10px; cursor: crosshair; }
.wb-steps { display: grid; gap: 6px; margin-bottom: 14px; padding: 12px 16px; background: #fff; border: 1px solid #e7e7ef; border-radius: 12px; }
.wb-steps span { position: relative; color: #9b9daf; font-size: 12px; line-height: 1.6; }
.wb-steps span.is-active { color: #4f46c8; font-weight: 700; }
.wb-steps span.is-done { color: #168f68; }

.wb-live { position: relative; overflow: hidden; background: #10112a; border-radius: 16px; }
.wb-live video { display: block; width: 100%; max-height: 60vh; object-fit: contain; }
.wb-live-bar { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 9px 13px; color: #fff; background: rgba(16,17,42,.75); border-radius: 10px; font-size: 12px; }

.wb-modal-backdrop { position: fixed; inset: 0; z-index: 960; display: none; place-items: center; padding: 22px; background: rgba(20,20,45,.5); }
.wb-modal-backdrop.is-open { display: grid; }
.wb-modal { display: flex; flex-direction: column; width: min(820px, 100%); max-height: 88vh; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(20,20,45,.3); }
.wb-modal header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e7e7ef; }
.wb-modal header h3 { flex: 1; margin: 0; font-size: 15px; }
.wb-modal header .wb-icon { color: #74768a; background: #f2f2f7; }
.wb-modal-body { overflow: auto; padding: 18px 20px; }
.wb-modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #e7e7ef; }

.wb-student-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 46vh; overflow: auto; margin-top: 12px; }
.wb-student { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: #fafafd; border: 1px solid #e7e7ef; border-radius: 11px; text-align: left; cursor: pointer; }
.wb-student:hover { border-color: #4f46c8; background: #f4f3ff; }
.wb-student.is-done { background: #f5fbf7; }
.wb-student .wb-room { color: #9b9daf; font-size: 10px; }
.wb-student b { font-size: 13px; }
.wb-student small { color: #74768a; font-size: 10px; }
.wb-student .wb-tag { align-self: flex-start; }

.wb-grade-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wb-grade-tabs button { display: flex; flex-direction: column; gap: 3px; padding: 10px 16px; background: #fff; border: 1px solid #e7e7ef; border-radius: 12px; font-size: 13px; cursor: pointer; }
.wb-grade-tabs button small { color: #9b9daf; font-size: 10px; }
.wb-grade-tabs button.is-active { color: #fff; background: #4f46c8; border-color: #4f46c8; }
.wb-grade-tabs button.is-active small { color: #d9d7ff; }
.wb-grade-panel { background: #fff; border: 1px solid #e7e7ef; border-radius: 16px; padding: 16px; }
.wb-grade-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.wb-grade-row { display: grid; grid-template-columns: 74px minmax(0,1fr) 130px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f6; }
.wb-grade-thumb { width: 74px; height: 100px; object-fit: cover; background: #f2f2f7; border: 1px solid #e7e7ef; border-radius: 8px; }
.wb-grade-info { display: flex; flex-direction: column; gap: 3px; }
.wb-grade-info b { font-size: 13px; }
.wb-grade-info small { color: #74768a; font-size: 11px; }
.wb-grade-input { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #74768a; }
.wb-grade-input input { width: 70px; }
.wb-grade-quick { display: flex; align-items: center; gap: 4px; }

.wb-map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 14px 0; }
.wb-range-list { display: grid; gap: 8px; margin: 8px 0; }
.wb-range-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #74768a; }
.wb-grid-inline { display: inline-flex; align-items: center; gap: 6px; color: #74768a; font-size: 11px; }
.wb-zoom { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; background: #f4f4f9; border: 1px solid #e7e7ef; border-radius: 10px; }
.wb-zoom b { min-width: 42px; color: #3b3b63; font-size: 12px; text-align: center; }
.wb-zoom .wb-zoom-btn { padding: 4px 10px; font-size: 14px; line-height: 1; }

.wb-toast { position: fixed; right: 22px; bottom: 22px; z-index: 980; padding: 11px 18px; color: #fff; background: #202136; border-radius: 11px; font-size: 12px; opacity: 0; transform: translateY(10px); transition: all .2s ease; pointer-events: none; }
.wb-toast.is-visible { opacity: 1; transform: translateY(0); }
.wb-toast.success { background: #168f68; }
.wb-toast.error { background: #d33f49; }

.wb-login { display: grid; place-items: center; min-height: 100%; }
.wb-login-card { width: min(420px, 100%); padding: 26px; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(32,33,84,.16); }
.wb-login-card .wb-brand { margin-bottom: 18px; }
.wb-login-card .wb-brand b { color: #202136; }
.wb-login-card .wb-brand small { color: #9b9daf; }
.wb-login-card .wb-brand span { color: #fff; background: #4f46c8; }
.wb-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.wb-tabs button { flex: 1; padding: 9px; color: #74768a; background: #f4f4f9; border: 0; border-radius: 10px; font-size: 13px; cursor: pointer; }
.wb-tabs button.is-active { color: #fff; background: #4f46c8; }
.wb-login-card .wb-field { margin-bottom: 12px; }
.wb-login-card .wb-input { width: 100%; }
.wb-block { display: block; width: 100%; padding: 11px; font-size: 13px; margin-top: 6px; }

@media (max-width: 900px) {
  .wb-top { flex-wrap: wrap; padding: 10px 16px; }
  .wb-nav { order: 3; width: 100%; overflow: auto; }
  .wb-grade-row { grid-template-columns: 64px minmax(0,1fr); }
  .wb-grade-input, .wb-grade-quick { grid-column: 1 / -1; }
}

/* ---------- 精简名单、答题卡编辑、扫描入站、阅卷窗口 ---------- */
.wb-roster-bar { display: flex; align-items: center; gap: 8px; padding: 12px; background: #fff; border: 1px solid #e9e9f2; border-radius: 14px; margin-bottom: 12px; }
.wb-roster-bar .wb-input { min-width: 190px; }
.wb-class-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.wb-class-chips button { padding: 8px 13px; color: #55576f; background: #fff; border: 1px solid #dedfeb; border-radius: 999px; cursor: pointer; }
.wb-class-chips button.is-active { color: #fff; border-color: #4f46c8; background: #4f46c8; }
.wb-class-block { margin-bottom: 16px; padding: 14px; background: #fff; border: 1px solid #e9e9f2; border-radius: 14px; }
.wb-flow-steps { grid-template-columns: repeat(6, 1fr) !important; }
.wb-flow-note { margin: 12px 0; padding: 11px 14px; color: #4c4e68; background: #f0efff; border: 1px solid #ddd9ff; border-radius: 11px; font-size: 12px; }
.wb-flow-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; color: #fff; background: linear-gradient(135deg,#4038a8,#7367e8); border-radius: 18px; }
.wb-flow-hero b { font-size: 20px; }
.wb-flow-hero p { margin: 6px 0 0; color: rgba(255,255,255,.84); }
.wb-flow-card { padding: 16px; margin-top: 14px; background: #fff; border: 1px solid #e9e9f2; border-radius: 16px; }
.wb-flow-card h3 { margin: 4px 0; font-size: 18px; }
.wb-flow-card p { margin: 4px 0 12px; color: #74768a; }
.wb-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.wb-panel-title b { font-size: 14px; color: #27283e; }
.wb-panel-title span { color: #85879b; font-size: 11px; }

.wb-card-editor { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(300px, .8fr); gap: 14px; margin-top: 14px; }
.wb-card-settings, .wb-card-preview, .wb-card-sections { padding: 16px; background: #fff; border: 1px solid #e9e9f2; border-radius: 16px; }
.wb-card-preview canvas { display: block; width: 100%; max-height: 700px; object-fit: contain; border: 1px solid #d7d8e5; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(40,42,75,.08); transition: width .22s ease, box-shadow .22s ease; }
.wb-card-checks { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; border-top: 1px solid #eeeef5; }
.wb-card-checks label { color: #55576f; font-size: 12px; }
.wb-card-section { display: grid; grid-template-columns: minmax(160px,1fr) 90px 72px 72px 84px 72px auto; gap: 7px; align-items: center; margin-bottom: 8px; }
.wb-card-section label { display: flex; align-items: center; gap: 4px; color: #85879b; font-size: 10px; }

.wb-scan-guide { display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 12px; color: #3f4160; background: #eff9f6; border: 1px solid #cdeee3; border-radius: 13px; }
.wb-scan-guide b { white-space: nowrap; color: #147a5d; }
.wb-scan-guide span { color: #557066; font-size: 12px; }

/* 手机扫码上传入口 */
.wb-lan-card { padding: 15px 17px; margin-bottom: 12px; background: linear-gradient(135deg, #f6f4ff, #eef7ff); border: 1px solid #ddd8ff; border-radius: 15px; }
.wb-lan-card .wb-panel-title b { color: #3a3ba8; }
.wb-lan-qr { flex: 0 0 auto; padding: 9px; background: #fff; border: 1px solid #e2defc; border-radius: 12px; line-height: 0; }
.wb-lan-qr canvas { display: block; width: 236px; height: 236px; image-rendering: pixelated; }
.wb-lan-card { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.wb-lan-card .wb-panel-title { flex: 1 0 100%; margin-bottom: 0; }
.wb-lan-info { flex: 1 1 260px; min-width: 240px; }
.wb-lan-info > b { display: block; margin-bottom: 6px; color: #26274a; font-size: 14px; }
.wb-lan-info > p { margin: 0 0 10px; color: #5e6076; font-size: 12px; line-height: 1.85; }
.wb-lan-info > p b { color: #3a3ba8; }
.wb-lan-url { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.wb-lan-url code { flex: 1 1 200px; padding: 8px 11px; color: #2a2b52; background: #fff; border: 1px solid #e2defc; border-radius: 9px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.wb-lan-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.wb-lan-tip { color: #7b7d92; font-size: 11px; line-height: 1.7; }
.wb-lan-hint { flex: 1 1 100%; color: #5e6076; font-size: 12px; line-height: 1.9; }
.wb-lan-hint.is-warn { color: #c0452f; }

/* 电脑摄像头扫描 */
.wb-cam-card { padding: 15px 17px; margin-bottom: 12px; background: #fff; border: 1px solid #e6e6f0; border-radius: 15px; }
.wb-cam-setup { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.wb-cam-setup select { flex: 1 1 220px; max-width: 320px; }
.wb-cam-note { flex: 1 0 100%; color: #85879b; font-size: 11px; }
.wb-cam-live { position: relative; overflow: hidden; margin-bottom: 11px; background: #16172b; border-radius: 13px; }
.wb-cam-live video { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #16172b; }
.wb-cam-badge { position: absolute; top: 10px; left: 10px; padding: 5px 11px; color: #fff; background: rgba(58,59,168,.86); border-radius: 999px; font-size: 11px; }
.wb-cam-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* 手机扫码进入的提示条 */
.wb-mobile-tip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 15px; margin-bottom: 12px; color: #2c2e5e; background: #fff7e6; border: 1px solid #ffe0a8; border-radius: 13px; }
.wb-mobile-tip b { color: #a2650a; white-space: nowrap; }
.wb-mobile-tip span { color: #7a6338; font-size: 12px; line-height: 1.7; }

.wb-scan-stats, .wb-grade-summary, .wb-analysis-stats { display: grid; grid-template-columns: repeat(5, minmax(110px,1fr)); gap: 10px; margin-bottom: 12px; }
.wb-scan-stats span, .wb-grade-summary span, .wb-analysis-stats span { padding: 12px 14px; color: #66687c; background: #fff; border: 1px solid #e9e9f2; border-radius: 12px; font-size: 11px; }
.wb-scan-stats b, .wb-grade-summary b, .wb-analysis-stats b { display: block; margin-top: 3px; color: #292a44; font-size: 20px; }
.wb-scan-stats .is-warn b, .wb-grade-summary .is-warn b { color: #d34c34; }
.wb-scan-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; overflow: hidden; margin-bottom: 12px; color: #5c5e78; background: #fff; border: 2px dashed #c9c7e2; border-radius: 16px; }
.wb-scan-dropzone.is-over { border-color: #4f46c8; background: #f4f3ff; }
.wb-scan-dropzone b { font-size: 17px; }
.wb-scan-dropzone span { margin-top: 6px; color: #8a8c9e; font-size: 12px; }
.wb-scan-dropzone i { position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: #4f46c8; transition: width .2s; }
.wb-rescan-box { padding: 14px; margin-bottom: 12px; background: #fff8f7; border: 1px solid #f5cec6; border-radius: 14px; }
.wb-rescan-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #f3ddd8; }
.wb-rescan-item div { display: flex; flex-direction: column; gap: 3px; }
.wb-rescan-item small { color: #c94a34; }
.wb-rescan-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.wb-rescan-check { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; font-size: 13px; }
.wb-table tr.is-bad { background: #fff8f7; }

.wb-process-panel { padding: 14px; margin-bottom: 12px; background: #fff; border: 1px solid #e9e9f2; border-radius: 14px; }
.wb-process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.wb-process-steps span { padding: 9px; color: #77798e; background: #f7f7fb; border-radius: 8px; text-align: center; font-size: 11px; }
.wb-process-steps .is-active { color: #fff; background: #4f46c8; }
.wb-process-steps .is-done { color: #147a5d; background: #eaf8f3; }

.wb-grade-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.wb-grade-tabs button { min-width: 150px; padding: 10px 12px; color: #55576f; background: #fff; border: 1px solid #e1e1ec; border-radius: 11px; text-align: left; cursor: pointer; }
.wb-grade-tabs button.is-active { color: #fff; background: #4f46c8; border-color: #4f46c8; }
.wb-grade-tabs small { display: block; margin-top: 3px; color: #8b8da0; font-size: 10px; }
.wb-grade-tabs button.is-active small, .wb-grade-tabs small.is-warn { color: #ffd7cf; }
.wb-review-window, .wb-grading-window { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); gap: 16px; align-items: start; }
.wb-review-image, .wb-grading-image { position: relative; display: block; padding: 10px; height: min(82vh, 900px); min-height: 460px; overflow-x: hidden; overflow-y: auto; background: #ececf3; border: 1px solid #e2e2ec; border-radius: 16px; cursor: default; }
.wb-click-wrap { position: relative; display: inline-block; }
.wb-click-layer { position: absolute; inset: 0; cursor: crosshair; }
/* v2.16.0 卷面批改痕迹：解答题“点哪儿给几分”的红字标记。
   血泪教训（2026-10-16 老师反馈“点完一条大黑竖线”）：
   下面那条 .wb-grading-image span 的通用规则会给所有 span 加 left:12px/bottom:12px + 深色底，
   而旧的 .wb-click-pop 只写了 left/top —— 于是上下被同时钉住，元素被拉成一根黑色竖条。
   所以这里必须把 left/right/top/bottom 中没用到的那两个显式还成 auto，并且用更高优先级的选择器压住通用规则。 */
.wb-grading-image .wb-pt-mark, .wb-review-image .wb-pt-mark {
  position: absolute; top: auto; bottom: auto; right: auto; background: none; border-radius: 0;
  transform: translate(-50%, -50%);
  padding: .26em .42em; margin: 0;
  color: #e8342a; font-size: var(--pt-fs, 26px); font-weight: 800; line-height: 1;
  letter-spacing: 0; white-space: nowrap; pointer-events: auto; cursor: grab;
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 14px #fff, 0 0 2px #fff;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif; z-index: 3;
}
.wb-grading-image .wb-pt-mark.is-drag { cursor: grabbing; }
.wb-grading-image .wb-pt-mark.is-full { animation: wbPtShake .3s ease; }
@keyframes wbPtShake {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(-58%, -50%); }
  75% { transform: translate(-42%, -50%); }
}
.wb-pt-sum { margin: 2px 0 8px; color: #66687c; font-size: 12px; line-height: 1.5; }
.wb-pt-sum b { color: #e8342a; font-size: 13px; }
.wb-pt-sum em { color: #c98a11; font-style: normal; }
.wb-grading-image.is-panning { cursor: grabbing; }
.wb-zoom-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin: 0 0 6px; color: #66687c; font-size: 12px; }
/* v2.12.53：不再把小切图"放大铺满"——那会让一条填空题细图变成又大又空的画面。
   这里只做"大到装不下就缩小"，绝不放大。 */
.wb-review-image img, .wb-grading-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 2px 10px rgba(40,42,75,.08); -webkit-user-drag: none; user-select: none; }
.wb-grade-inline { color: #66687c; font-size: 12px; white-space: nowrap; }
.wb-fill-wrap { position: relative; display: inline-flex; max-width: 100%; max-height: 100%; }
.wb-fill-wrap img { display: block; max-width: 100%; max-height: 100%; border-radius: 10px; }
.wb-fill-layer { position: absolute; inset: 0; cursor: crosshair; border-radius: 10px; }
.wb-grading-image .wb-fill-mark, .wb-review-image .wb-fill-mark {
  position: absolute; right: 6%; left: auto; bottom: auto; transform: translateY(-50%);
  padding: 0; background: none; border-radius: 0;
  color: #d63a2f; font-size: 42px; font-weight: 700; line-height: 1; pointer-events: none;
  text-shadow: 0 0 8px rgba(255,255,255,.95);
}
.wb-grade-inline b { color: #292a44; font-size: 14px; }
.wb-grade-inline b.is-warn { color: #d34c34; }
.wb-review-image span, .wb-grading-image span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(25,25,48,.78); border-radius: 8px; font-size: 11px; }
.wb-review-panel, .wb-grading-panel { padding: 18px; background: #fff; border: 1px solid #e9e9f2; border-radius: 16px; }
.wb-review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wb-review-head b { font-size: 17px; }
.wb-review-head span { color: #85879b; font-size: 11px; }
.wb-answer-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.wb-answer-options button { width: 54px; height: 54px; color: #44465e; background: #f8f8fc; border: 1px solid #d9d9e8; border-radius: 14px; font-size: 18px; font-weight: 700; cursor: pointer; }
.wb-answer-options button.is-selected { color: #fff; background: #4f46c8; border-color: #4f46c8; }
.wb-review-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }
.wb-grade-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; color: #77798e; font-size: 11px; }
.wb-score-input { display: flex; align-items: center; gap: 8px; }
.wb-score-input input { width: 120px; font-size: 20px; font-weight: 700; }
.wb-score-input b { color: #85879b; }
/* 评分板：好分数式按分给分按钮 */
.wb-score-board { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.wb-score-btn { min-width: 64px; padding: 10px 12px; border: 1.5px solid #c9cade; border-radius: 10px; background: #fff; color: #26215c; font-size: 16px; font-weight: 700; cursor: pointer; }
.wb-score-btn:hover { border-color: #4138a8; background: #eeedfe; }
.wb-demo-banner { display: flex; align-items: center; gap: 12px; padding: 12px 15px; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg,#ef8a38,#d75844); border-radius: 13px; }
.wb-demo-banner span { color: rgba(255,255,255,.86); font-size: 12px; }
.wb-analysis-warning, .wb-analysis-ok { padding: 11px 14px; margin-bottom: 12px; border-radius: 11px; font-size: 12px; }
.wb-analysis-warning { color: #a34e16; background: #fff5e9; border: 1px solid #f6d5ac; }
.wb-analysis-ok { color: #147a5d; background: #ebf9f4; border: 1px solid #c9edde; }
.wb-analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(280px,1fr)); gap: 14px; margin-bottom: 14px; align-items: start; }
.wb-analysis-card { padding: 15px; background: #fff; border: 1px solid #e9e9f2; border-radius: 14px; }
.wb-bar { flex: 1; height: 10px; overflow: hidden; background: #eeeeF5; border-radius: 999px; }
.wb-bar i { display: block; height: 100%; background: linear-gradient(90deg,#5a51d4,#8579ec); border-radius: 999px; }
/* v2.20.0 成绩分析图表：直方图 / 班级对比 / 成绩构成，纯 SVG + flex，不引第三方库 */
.wb-chart { display: block; width: 100%; height: auto; margin-top: 8px; }
.wb-band-card { margin-bottom: 14px; }
.wb-band-bar { display: flex; height: 18px; margin: 10px 0 9px; overflow: hidden; background: #f2f2f8; border-radius: 9px; }
.wb-band-bar i { display: block; height: 100%; box-sizing: border-box; }
.wb-band-bar i + i { border-left: 2px solid #fff; }
.wb-band-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #74768a; font-size: 11px; }
.wb-band-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wb-band-legend b { color: #2f3050; font-size: 12px; }
.wb-band-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.wb-band-bar .is-b0, .wb-band-legend .is-b0 { background: #4f46c8; }
.wb-band-bar .is-b1, .wb-band-legend .is-b1 { background: #7a6fe0; }
.wb-band-bar .is-b2, .wb-band-legend .is-b2 { background: #aca3f0; }
.wb-band-bar .is-b3, .wb-band-legend .is-b3 { background: #d7d4e6; }

@media (max-width: 980px) {
  .wb-card-editor, .wb-review-window, .wb-grading-window, .wb-analysis-grid { grid-template-columns: 1fr; }
  .wb-card-section { grid-template-columns: 1fr 90px 70px 70px; }
  .wb-scan-stats, .wb-grade-summary, .wb-analysis-stats { grid-template-columns: repeat(2,1fr); }
  .wb-flow-steps { grid-template-columns: repeat(3,1fr) !important; }
  .wb-lan-card { flex-direction: column; align-items: stretch; }
  .wb-lan-qr { align-self: center; }
  .wb-cam-setup select { max-width: none; }
}

@media (max-width: 560px) {
  .wb-lan-qr canvas { width: 100%; max-width: 236px; height: auto; }
  .wb-lan-url code { font-size: 11px; }
  .wb-cam-live video { max-height: 320px; }
}


/* 答题卡编辑器新版布局：设置和题目分区放左侧，预览固定在右侧 */
.wb-card-editor { align-items: start; grid-template-columns: minmax(520px, 1.35fr) minmax(280px, .65fr); }
.wb-card-preview { position: sticky; top: 86px; }
.wb-card-sections { margin-top: 18px; padding: 16px 0 0; background: transparent; border: 0; border-top: 1px solid #ececf4; border-radius: 0; }
.wb-card-section-block { padding: 12px; margin-bottom: 10px; background: #fafaff; border: 1px solid #e7e7f2; border-radius: 12px; }
/* 题号重复预警 */
.wb-dup-warning { margin: 10px 0; padding: 10px 14px; background: #fdecec; border: 1.5px solid #e24b4a; border-radius: 10px; color: #a33; font-size: 12px; line-height: 1.8; }
.wb-card-section-head { display: grid; grid-template-columns: minmax(180px, 1fr) 90px 48px; gap: 8px; align-items: center; margin-bottom: 9px; }
.wb-card-section-grid { display: grid; grid-template-columns: repeat(5, minmax(70px, 1fr)); gap: 8px; align-items: end; }
/* 题目分区：按用途分组的小卡片，治输入框堆在一起的视觉混乱 */
.wb-card-section-groups { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-sec-group { flex: 1 1 150px; border: 1px dashed #c9cade; border-radius: 10px; padding: 8px 10px 10px; background: #fff; }
.wb-sec-group i { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #4138a8; margin-bottom: 6px; }
.wb-sec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.wb-sec-fields label { display: flex; flex-direction: column; gap: 3px; color: #77798e; font-size: 10px; }
.wb-card-section-grid label, .wb-card-section-extra label { display: flex; flex-direction: column; gap: 4px; color: #77798e; font-size: 10px; }
/* 自适应栅格：字段多就自动换行，不再挤在固定 5 列里被裁切 */
.wb-card-section-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px 10px; align-items: end; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #dedfeb; }
.wb-card-section-extra small { grid-column: 1 / -1; color: #8a8c9e; }
/* 小问单独一行：开关靠左，展开项跟在后面自适应排布 */
.wb-subq-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.wb-subq-row > label:first-child { max-width: 260px; }
.wb-subq-hint { align-self: center; line-height: 1.6; }
.wb-subjective-layout { grid-template-columns: repeat(5, minmax(90px, 1fr)); }
.wb-card-section input:disabled { background: #f0f0f5; color: #aaa; }

.wb-layout-controls { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ececf4; }
.wb-layout-grid { display: grid; grid-template-columns: repeat(5, minmax(86px, 1fr)); gap: 8px; }
.wb-layout-grid label { display: flex; flex-direction: column; gap: 4px; color: #77798e; font-size: 10px; }
.wb-layout-grid .wb-input { width: 100%; }
@media (max-width: 980px) { .wb-layout-grid { grid-template-columns: repeat(2, minmax(90px, 1fr)); } }

.wb-version-button { padding: 7px 10px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 9px; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.wb-version-button:hover { background: rgba(255,255,255,.24); }

.wb-class-block .wb-panel-title span { display: inline-flex; align-items: center; gap: 10px; }
.wb-class-block .wb-panel-title .wb-link { font-size: 11px; }

.wb-preview-pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0 12px; }
.wb-preview-pager b { min-width: 88px; color: #44465e; text-align: center; font-size: 12px; }

.wb-danger-button { padding: 8px 12px; color: #c23b4a; background: #fff2f3; border: 1px solid #f1bdc4; border-radius: 9px; cursor: pointer; }
.wb-danger-button:hover { color: #fff; background: #c23b4a; border-color: #c23b4a; }

.wb-card-editor { grid-template-columns: minmax(360px, .72fr) minmax(520px, 1.55fr) !important; }
.wb-card-preview { min-width: 0; }
.wb-card-preview canvas { max-width: 100%; }

.wb-warning-button { padding: 8px 12px; color: #9a5c00; background: #fff8e8; border: 1px solid #f0cf8d; border-radius: 9px; font-weight: 700; cursor: pointer; }
.wb-warning-button:hover { color: #fff; background: #d58a18; border-color: #d58a18; }
.wb-unassigned-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }

.wb-preview-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.wb-preview-paper { position: relative; min-width: 0; padding: 6px 6px 24px; background: #fff; border: 1px solid #d7d8e5; border-radius: 10px; box-shadow: 0 8px 24px rgba(40,42,75,.08); }
.wb-preview-paper canvas { display: block; width: 100% !important; height: auto; max-height: none; border: 0; border-radius: 4px; box-shadow: none; }
.wb-preview-paper > span { position: absolute; left: 0; right: 0; bottom: 5px; color: #77798e; text-align: center; font-size: 10px; }

.wb-preview-spread { grid-template-columns: 1fr !important; }
.wb-preview-wide { width: 100%; }

/* 左右独立滚动，避免整个页面一起滚动 */
.wb-card-editor { height: calc(100vh - 245px); min-height: 620px; overflow: hidden; align-items: stretch; }
.wb-card-settings, .wb-card-preview { height: 100%; max-height: calc(100vh - 245px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; }
.wb-card-preview { position: relative; top: auto; }
.wb-card-preview { overflow: auto; }
.wb-preview-paper { margin-bottom: 16px; }

/* ---------------- 学校总入口 ---------------- */
.wb-school-lead { display: flex; flex-direction: column; gap: 2px; }
.wb-school-lead b { font-size: 15px; color: #26215c; }
.wb-school-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.wb-school-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid #d7d8e5; border-radius: 14px; box-shadow: 0 4px 14px rgba(40,42,75,.06); }
.wb-school-card.is-current { border-color: #4138a8; box-shadow: 0 0 0 2px #cecbf6; }
.wb-school-card b { font-size: 16px; color: #26215c; }
.wb-school-card > span { font-size: 12px; color: #77798e; line-height: 1.7; }
.wb-school-actions { display: flex; gap: 8px; margin-top: 10px; }
.wb-school-default { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 11px; font-weight: 700; color: #0f6e56; background: #e2f4ee; border: 1px solid #9ed9c5; border-radius: 999px; padding: 2px 10px; }

/* ---------------- 拖拽式排考场 ---------------- */
/* 关键：shell 是弹层 flex 列的实际容器，必须占满弹层高度，否则内容撑出视口、两边都滚不动 */
.wb-rooms-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.wb-rooms-overlay { display: none; }
.wb-rooms-overlay.is-open { position: fixed; inset: 0; z-index: 950; background: #f2f2f7; display: flex; flex-direction: column; outline: none; }
.wb-rooms-topbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #26215c; color: #fff; flex: 0 0 auto; }
.wb-rooms-topbar b { font-size: 15px; }
.wb-rooms-topbar .wb-rooms-msg { color: #ffd98a; font-size: 12px; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-rooms-topbar .wb-rooms-mode { color: #dfe0f2; font-size: 12px; display: flex; align-items: center; gap: 4px; }
.wb-rooms-topbar select { padding: 3px 6px; }
.wb-rooms-body { flex: 1; display: flex; min-height: 0; }
.wb-rooms-list { width: 300px; flex: 0 0 300px; background: #fff; border-right: 1px solid #d7d8e5; display: flex; flex-direction: column; min-height: 0; }
.wb-rooms-tabs { display: flex; align-items: center; gap: 6px; padding: 10px 12px 6px; }
.wb-rooms-tabs button { padding: 5px 14px; border: 1px solid #c9cade; border-radius: 16px; background: #fff; cursor: pointer; font-size: 13px; }
.wb-rooms-tabs button.is-active { background: #4138a8; border-color: #4138a8; color: #fff; }
.wb-rooms-count { margin-left: auto; color: #77798e; font-size: 12px; }
.wb-rooms-classes { padding: 4px 12px 8px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #ececf3; }
.wb-rooms-hint { color: #8a8b9d; font-size: 11px; }
.wb-class-chip { padding: 3px 10px; border-radius: 12px; border: 1px solid #c9cade; background: #f6f6fa; cursor: pointer; font-size: 12px; }
.wb-class-chip.is-liberal { background: #fbeaf0; border-color: #d4537e; color: #993556; }
.wb-class-chip.is-science { background: #e6f1fb; border-color: #378add; color: #185fa5; }
.wb-rooms-cards { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.wb-stu-card { position: relative; width: 118px; border: 1.5px solid #c9cade; border-radius: 8px; background: #fff; padding: 8px 10px; cursor: grab; user-select: none; }
.wb-stu-card:active { cursor: grabbing; }
.wb-stu-card b { display: block; font-size: 14px; color: #26215c; }
.wb-stu-card span { display: block; font-size: 11px; color: #77798e; margin-top: 2px; }
.wb-stu-card.is-selected { border-color: #4138a8; background: #eeedfe; box-shadow: 0 0 0 2px #cecbf6; }
.wb-stu-card.is-seated { opacity: 0.5; background: #ececf2; border-color: #c3c4d2; }
.wb-stu-card.is-seated b { color: #8a8b9d; }
.wb-stu-badge { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 11px; font-weight: 700; color: #0f6e56; }
.wb-stu-card.is-dragging { opacity: 0.5; }
.wb-rooms-listhint { padding: 8px 12px; border-top: 1px solid #ececf3; color: #8a8b9d; font-size: 11px; }
.wb-rooms-area { flex: 1 1 0; min-width: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 12px 16px 40px; }
.wb-rooms-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.wb-room { background: #fff; border: 1px solid #d7d8e5; border-radius: 10px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(40,42,75,.06); }
.wb-room-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #ececf3; flex-wrap: wrap; }
.wb-room-no { font-weight: 700; color: #26215c; font-size: 14px; }
.wb-room-head .wb-tiny { width: 52px; padding: 3px 4px; }
.wb-room-body { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.wb-room-side { writing-mode: vertical-lr; text-align: center; color: #8a8b9d; font-size: 12px; letter-spacing: 6px; border-left: 2px solid #ececf3; border-right: 2px solid #ececf3; padding: 6px 2px; }
.wb-room-body .wb-room-side:first-child { border-right: 2px solid #ececf3; border-left: none; }
.wb-desks { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.wb-desk-row { display: flex; gap: 8px; justify-content: flex-start; }
.wb-desk { position: relative; width: 96px; height: 58px; border: 1.5px dashed #b4b2c5; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fafafc; }
.wb-desk span { color: #b4b2c5; font-size: 11px; }
.wb-desk.is-over { border-color: #4138a8; background: #eeedfe; }
.wb-desk.is-occupied { border-style: solid; border-color: #4138a8; background: #fff; cursor: grab; }
.wb-desk.is-occupied:active { cursor: grabbing; }
.wb-desk-code { font-style: normal; font-size: 10px; color: #8a8b9d; letter-spacing: 1px; }
.wb-desk.is-occupied b { font-size: 14px; color: #26215c; }
.wb-desk-kick { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; border: none; background: #e24b4a; color: #fff; font-size: 12px; line-height: 18px; cursor: pointer; display: none; }
.wb-desk.is-occupied:hover .wb-desk-kick { display: block; }
.wb-rooms-empty { color: #9a9bad; font-size: 13px; text-align: center; padding: 20px; line-height: 1.8; }

.wb-class-chip.is-active { background: #4138a8; border-color: #4138a8; color: #fff; }
/* 内嵌模式：编排考场长在流程页里 */
.wb-rooms-inline-slot { min-height: 560px; }
.wb-rooms-loading { padding: 60px 20px; text-align: center; color: #8a8b9d; }
.wb-rooms-overlay.is-inline { position: static; height: calc(100vh - 330px); min-height: 560px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(40,42,75,.1); }
.wb-rooms-overlay.is-inline .wb-rooms-topbar [data-rooms-action="close"] { display: none; }

.wb-rooms-source { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; border-bottom: 1px solid #ececf3; }
.wb-rooms-source select { max-width: 150px; }
.wb-rooms-toast { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(12px); z-index: 990; background: #26215c; color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 13px; opacity: 0; pointer-events: none; transition: all .2s ease; }
.wb-rooms-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
/* v2.12.66：右侧打分板（好分数式极简） */
.wb-gp { display: flex; flex-direction: column; gap: 10px; }
.wb-gp-top { display: flex; align-items: baseline; justify-content: space-between; }
.wb-gp-top b { font-size: 22px; }
.wb-gp-top span { color: #85879b; font-size: 12px; }
.wb-gp-meta { color: #6b6d82; font-size: 12px; }
.wb-gp-meta .wb-gp-mine { color: #1f9d6b; }
.wb-gp-score { display: flex; align-items: center; gap: 10px; }
.wb-gp-input { width: 120px; height: 56px; padding: 0 12px; color: #292a44; background: #fff; border: 2px solid #4f46c8; border-radius: 12px; font-size: 28px; font-weight: 700; text-align: center; }
.wb-gp-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(79,70,200,.16); }
.wb-gp-score em { color: #85879b; font-size: 15px; font-style: normal; }
.wb-gp-score .wb-primary { margin-left: auto; padding: 12px 18px; font-size: 14px; }
.wb-gp-quick .wb-score-board { margin: 0; }
.wb-grade-board .wb-gp-quick .wb-score-btn { min-width: 46px; padding: 8px 0; font-size: 14px; font-weight: 700; }
.wb-gp-quick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wb-gp-step { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #6b6d82; font-size: 12px; }
.wb-gp-step select { width: 76px; }
.wb-gp-tip { color: #8b8da0; font-size: 12px; line-height: 1.6; }
.wb-gp-actions { display: flex; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid #eeeef5; }
.wb-gp-more summary { color: #7b7e93; font-size: 12px; cursor: pointer; }

/* v2.12.73：首页「我的考试」——一场考试一张卡，卡上直接带 6 格进度 */
.wb-exam-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg,#4038a8,#7367e8); border-radius: 18px; }
.wb-exam-head b { font-size: 21px; }
.wb-exam-head p { margin: 6px 0 0; color: rgba(255,255,255,.85); font-size: 12.5px; }
.wb-primary.wb-big { padding: 12px 22px; font-size: 14px; font-weight: 700; background: #fff; color: #4138a8; box-shadow: 0 6px 16px rgba(20,16,60,.25); }
.wb-primary.wb-big:hover { background: #f3f2ff; }
.wb-exam-grid { display: grid; gap: 14px; }
.wb-exam-card { padding: 16px 18px 14px; background: #fff; border: 1px solid #e6e6f0; border-radius: 16px; box-shadow: 0 4px 16px rgba(38,40,70,.05); }
.wb-exam-card.is-current { border-color: #4f46c8; box-shadow: 0 0 0 2px #ded9fb; }
/* v2.13.60：考试卡片标题行收起/展开 */
.wb-exam-card[data-fold-key] > header { cursor: pointer; user-select: none; }
.wb-exam-card .wb-fold { display: inline-block; margin-right: 7px; color: #8a8ca8; font-size: 13px; font-style: normal; line-height: 1; transition: transform .15s ease; }
.wb-exam-card.is-collapsed .wb-fold { transform: rotate(-90deg); }
.wb-exam-card.is-collapsed .wb-tree-body, .wb-exam-card.is-collapsed .wb-gate-row { display: none; }
.wb-exam-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.wb-exam-title b { display: block; color: #1f2138; font-size: 17px; }
.wb-exam-title span { display: block; margin-top: 4px; color: #7b7e93; font-size: 12px; }
.wb-exam-now { color: #4f46c8; font-style: normal; font-weight: 700; }
.wb-exam-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wb-exam-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.wb-exam-steps li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 9px 10px 9px 12px; background: #f7f7fb; border: 1px solid #eaeaF3; border-radius: 10px; cursor: pointer; }
.wb-exam-steps li:hover { border-color: #c9c5f2; }
.wb-exam-steps li i { position: absolute; top: 8px; right: 9px; display: block; width: 14px; height: 14px; color: #fff; background: #19a97c; border-radius: 50%; font-size: 10px; font-style: normal; line-height: 14px; text-align: center; }
.wb-exam-steps li.is-todo i, .wb-exam-steps li.is-idle i, .wb-exam-steps li.is-doing i { display: none; }
.wb-exam-steps li b { color: #4a4c63; font-size: 12px; font-weight: 600; }
.wb-exam-steps li span { color: #8b8da0; font-size: 11px; }
.wb-exam-steps li.is-done { background: #effaf6; border-color: #cdeee2; }
.wb-exam-steps li.is-done b { color: #12805c; }
.wb-exam-steps li.is-done span { color: #4f9c81; }
.wb-exam-steps li.is-doing { background: #f2f0ff; border-color: #cec9f6; }
.wb-exam-steps li.is-doing b { color: #4f46c8; }
.wb-exam-steps li.is-doing span { color: #6b62d8; }
.wb-exam-steps li.is-idle { opacity: .72; }
@media (max-width: 900px) { .wb-exam-steps { grid-template-columns: repeat(3, 1fr); } }
.wb-flow-page { max-width: 1240px; margin: 0 auto; }
/* v2.12.89：答题卡编辑用满整屏；左边设置栏加宽，右边预览也跟着变大，不再留大白边 */
.wb-flow-page.is-wide { max-width: none; }
.wb-flow-page.is-wide .wb-card-editor { grid-template-columns: minmax(560px, .92fr) minmax(520px, 1.08fr) !important; }
.wb-flow-page.is-wide .wb-card-settings { padding: 18px 20px; }
.wb-flow-page.is-wide .wb-map-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.wb-flow-page.is-wide .wb-card-settings .wb-input.wb-tiny { width: 84px; }
.wb-flow-page.is-wide .wb-card-preview canvas { max-height: calc(100vh - 330px); }
.wb-flow-crumb { display: flex; align-items: center; gap: 10px; padding: 2px 0 12px; }
.wb-flow-crumb b { color: #1f2138; font-size: 15px; }
.wb-flow-crumb span { color: #7b7e93; font-size: 12px; }
/* v2.12.74：九步流程条（双箭头 » 表示方向），必做步骤完成才让往下走 */
.wb-flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wb-flow-steps span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; color: #7b7e93; background: #f5f5fa; border: 1px solid #ececf4; border-radius: 999px; font-size: 11.5px; cursor: pointer; }
.wb-flow-steps span i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; color: #7b7e93; background: #e6e6f0; border-radius: 50%; font-size: 10px; font-style: normal; }
.wb-flow-steps span.is-active { color: #fff; background: #4f46c8; border-color: #4f46c8; font-weight: 700; }
.wb-flow-steps span.is-active i { color: #fff; background: rgba(255,255,255,.28); }
.wb-flow-steps span.is-done { color: #147a5d; background: #effaf6; border-color: #cdeee2; }
.wb-flow-steps span.is-done i { color: #fff; background: #19a97c; }
.wb-step-arrow { color: #c5c5d6; font-size: 13px; font-weight: 700; }
.wb-flow-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ececf4; }
.wb-flow-block { color: #d97706; font-size: 12px; }
.wb-print-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.wb-flow-guard { border-color: #f2d9a6; background: #fffdf7; }
.wb-flow-guard b { display: block; margin-bottom: 6px; color: #b45309; font-size: 15px; }
.wb-flow-guard p { margin: 0 0 12px; color: #7b7e93; font-size: 12.5px; }
/* v2.12.78：成绩分析图表（环形图 / 柱状图 / 折线图）与右上角身份标签 */
.wb-who { color: #26215c; background: #fff; border: 1px solid #d9d9e8; font-weight: 700; }
.wb-donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wb-donut-list { display: flex; flex-direction: column; gap: 7px; }
.wb-donut-legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4a4c63; }
.wb-donut-legend i { width: 11px; height: 11px; border-radius: 3px; }
.wb-donut-legend b { color: #26215c; }
.wb-donut-legend small { color: #8b8da0; }
.wb-line-chart { width: 100%; }
.wb-line-legends { display: flex; gap: 16px; margin-top: 2px; }
.wb-line-legend { display: inline-flex; align-items: center; gap: 6px; color: #5b5d72; font-size: 11.5px; }
.wb-line-legend i { width: 10px; height: 10px; border-radius: 999px; }
/* v2.12.79：扫码 / 摄像头 挪到扫描页最下面并缩小；流程页顶部吸顶 */
.wb-scan-extra { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #dcdce8; }
.wb-scan-extra .wb-lan-card { padding: 10px 12px; margin-bottom: 10px; }
.wb-scan-extra .wb-lan-card .wb-panel-title b { font-size: 13px; }
.wb-scan-extra .wb-lan-qr { padding: 6px; border-radius: 10px; }
.wb-scan-extra .wb-lan-qr canvas { width: 150px; height: 150px; }
.wb-scan-extra .wb-lan-info > b { font-size: 13px; }
.wb-scan-extra .wb-lan-info > p { display: none; }
.wb-scan-extra .wb-cam-card { padding: 10px 12px; }
.wb-scan-extra .wb-cam-note { display: none; }
.wb-flow-top { position: sticky; top: -18px; z-index: 6; padding: 16px 0 8px; margin: -16px 0 10px; background: #f2f2f7; }
.wb-exam-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.wb-grade-badge { display: inline-block; padding: 2px 11px; color: #fff !important; background: linear-gradient(135deg,#4038a8,#7367e8); border-radius: 999px; font-size: 12.5px; font-weight: 700; font-style: normal; letter-spacing: .5px; }
.wb-print-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 6px 0 2px; }
.wb-switch { display: inline-flex; align-items: center; gap: 8px; color: #4a4c63; font-size: 13px; cursor: pointer; }
.wb-switch input { width: 18px; height: 18px; accent-color: #4f46c8; }
.wb-more-list { display: flex; flex-direction: column; gap: 8px; }
.wb-more-list button { justify-content: flex-start; text-align: left; }
/* v2.12.81：阅卷批改 —— 卷面铺满整屏、从最顶上开始；给分板悬浮在右上角 */
.wb-grade-stage { position: relative; }
.wb-grade-stage .wb-grading-image { height: calc(100vh - 250px); min-height: 460px; margin: 0; }
.wb-grade-stage .wb-grading-image .wb-gi-label { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(25,25,48,.78); border-radius: 8px; font-size: 11px; }
.wb-gi-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; background: rgba(255,255,255,.94); border: 1px solid #e2e2ec; border-radius: 10px; box-shadow: 0 6px 18px rgba(30,32,60,.16); font-size: 12px; }
.wb-grade-board { position: absolute; top: 10px; right: 10px; z-index: 30; width: 364px; max-height: calc(100% - 20px); overflow: auto; padding: 12px 14px; background: rgba(255,255,255,.97); border: 1px solid #e2e2ec; border-radius: 14px; box-shadow: 0 16px 40px rgba(28,30,58,.22); }
.wb-grade-board.is-collapsed { width: 230px; padding: 8px 12px; }
.wb-grade-board .wb-grading-panel { padding: 0; background: transparent; border: 0; }
.wb-board-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.wb-board-head b { font-size: 18px; }
.wb-board-head span { color: #85879b; font-size: 12px; }
.wb-board-head button { margin-left: auto; }
/* v2.20.4：批改页顶栏重做。原来这行没有 display:flex，
   crumb（块级）把整行占满，右边那颗「成绩分析 →」被挤到第二行，两颗按钮又都是同色的 ghost 小胶囊，
   看着就是"贴在左上角的两行小字"。现在做成一条白色工具条：返回在左、考试名居中、目的地在右。 */
.wb-flow-top.is-compact {
  display: flex; align-items: center; gap: 12px;
  top: 6px;
  padding: 7px 9px 7px 8px; margin: 0 0 12px;
  background: #fff;
  border: 1px solid #e8e8f2;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,40,70,.05);
}
.wb-flow-top.is-compact .wb-flow-crumb { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; padding: 0; gap: 9px; overflow: hidden; }
.wb-flow-top.is-compact .wb-flow-crumb b { font-size: 14.5px; }
.wb-flow-top.is-compact .wb-flow-crumb > span { white-space: nowrap; }
/* 考试名和「高三 · 数学」之间加一个淡点，别让两段字糊成一句 */
.wb-flow-top.is-compact .wb-flow-crumb > span::before { content: '·'; margin-right: 9px; color: #cfcedd; }
/* 「成绩分析 →」是这一步唯一的去处，给它淡紫实心，和左边"返回"的灰区分开 */
.wb-flow-top.is-compact > .wb-ghost { flex: 0 0 auto; }
.wb-flow-top.is-compact > .wb-ghost[data-step="5"] {
  color: #4f46c8; background: #f2f0ff; border-color: #ddd7ff; font-weight: 600;
}
.wb-flow-top.is-compact > .wb-ghost[data-step="5"]:hover { color: #fff; background: #4f46c8; border-color: #4f46c8; }
.wb-flow-page.is-immersive .wb-flow-crumb .wb-tag { display: none; }
.wb-flow-page.is-immersive .wb-flow-crumb b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-flow-top.is-compact + * { margin-top: 0; }
.wb-grade-stage .wb-grading-image { height: calc(100vh - 172px); }
/* 沉浸式阅卷：整个页面撑满，卷面吃掉剩下的全部高度，页面本身不滚动 */
.wb-flow-page.is-immersive { display: flex; flex-direction: column; height: calc(100vh - 36px); }
.wb-flow-page.is-immersive .wb-flow-top { flex: 0 0 auto; }
.wb-flow-page.is-immersive .wb-grade-stage { flex: 1 1 auto; min-height: 0; }
.wb-flow-page.is-immersive .wb-grade-stage .wb-grading-image { height: 100%; }
.wb-flow-page.is-immersive .wb-grade-tabs { flex: 0 0 auto; margin-bottom: 8px; }
.wb-grade-tabs button { padding: 7px 12px; }
/* v2.12.86：我的阅卷任务 + 极简批改界面 */
.wb-task-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 14px; background: #fff; border: 1px solid #e6e6f0; border-radius: 14px; }
.wb-task-head > div b { display: block; color: #26215c; font-size: 16px; }
.wb-task-head > div span { color: #7b7e93; font-size: 12px; }
.wb-task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.wb-task-card { padding: 14px 16px; background: #fff; border: 1px solid #e6e6f0; border-radius: 14px; box-shadow: 0 4px 14px rgba(38,40,70,.05); }
.wb-task-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wb-task-card header b { color: #26215c; font-size: 17px; }
.wb-task-card header span { color: #7b7e93; font-size: 12px; }
.wb-task-bar { height: 8px; margin: 10px 0; background: #eeeef5; border-radius: 999px; overflow: hidden; }
.wb-task-bar i { display: block; height: 100%; background: #4f46c8; }
.wb-task-card.is-done .wb-task-bar i { background: #19a97c; }
.wb-task-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wb-task-foot span { color: #5b5d72; font-size: 12px; }
.wb-task-card.is-warn { border-color: #f2d9a6; background: #fffdf7; }
.wb-grade-bare { display: flex; flex-direction: column; height: 100%; }
.wb-bare-bar { display: flex; align-items: center; gap: 10px; padding: 2px 0 8px; }
.wb-bare-label { color: #4a4c63; font-size: 13px; font-weight: 700; }
.wb-bare-bar button:last-child { margin-left: auto; }
.wb-grade-bare .wb-grade-stage { flex: 1 1 auto; min-height: 0; }

/* ================= v2.13.3 界面瘦身与视觉统一 ================= */
/* ① 按钮整体加大加壮：细长条小按钮看着费劲，点着更费劲 */
.wb-primary { padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 10px; }
.wb-ghost { padding: 10px 16px; font-size: 13px; border-radius: 10px; }
.wb-primary.wb-small, .wb-ghost.wb-small { padding: 7px 13px; font-size: 12px; }
button.wb-link { font-size: 13px; }

/* ② 编排考场行列 ＋/－ 大按钮 */
.wb-stepper.wb-rooms-hint { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.wb-step-btn { width: 34px; height: 34px; padding: 0; color: #4f46c8; background: #fff; border: 1px solid #d8d6ee; border-radius: 9px; font-size: 19px; font-weight: 700; line-height: 1; cursor: pointer; }
.wb-step-btn:hover { background: #f1efff; border-color: #4f46c8; }
.wb-stepper.wb-rooms-hint b { min-width: 22px; text-align: center; font-size: 15px; }

/* ③ 点选组件：选择题答案 / 联考学科 / 考试模式 */
.wb-ans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; margin: 10px 0; }
.wb-ans-row { display: flex; align-items: center; gap: 6px; }
.wb-ans-row > b { min-width: 26px; color: #4a4c63; font-size: 13px; text-align: right; }
.wb-ans-opt { min-width: 34px; height: 34px; padding: 0 12px; color: #4a4c63; background: #fff; border: 1.5px solid #dcdce8; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.wb-ans-opt:hover { border-color: #4f46c8; color: #4f46c8; }
.wb-ans-opt.is-active { color: #fff; background: #4f46c8; border-color: #4f46c8; }
.wb-subj-chip { min-width: 58px; }
.wb-mode-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; color: #4a4c63; font-size: 13px; }
.wb-mode-row .wb-ans-opt { min-width: 0; padding: 0 16px; }

/* ④ 首页卡片：五关进度行 + 联考组 */
.wb-gate-row { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.wb-gate-row li { flex: 1; display: flex; align-items: center; gap: 7px; padding: 9px 11px; background: #f7f7fb; border: 1px solid #eceaf5; border-radius: 10px; cursor: pointer; }
.wb-gate-row li:hover { border-color: #c9c5f2; }
.wb-gate-row li i { display: block; width: 20px; height: 20px; color: #9a9cb0; background: #e7e7f2; border-radius: 50%; font-size: 11px; font-style: normal; line-height: 20px; text-align: center; flex: none; }
.wb-gate-row li b { color: #4a4c63; font-size: 12px; }
.wb-gate-row li span { color: #8b8da0; font-size: 11px; }
.wb-gate-row li.is-done { background: #effaf6; border-color: #cdeee2; }
.wb-gate-row li.is-done i { color: #fff; background: #19a97c; }
.wb-gate-row li.is-done b { color: #12805c; }
.wb-exam-card.is-group { border-color: #d8d4f5; background: linear-gradient(180deg, #fbfaff 0%, #fff 46px); }
.wb-group-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.wb-group-subjects li { padding: 8px 10px; background: #f7f7fb; border: 1px solid #eceaf5; border-radius: 10px; cursor: pointer; }
.wb-group-subjects li:hover { border-color: #c9c5f2; }
.wb-group-subjects li b { display: block; color: #4a4c63; font-size: 13px; }
.wb-group-subjects li span { color: #8b8da0; font-size: 11px; }
.wb-group-subjects li.is-done { background: #effaf6; border-color: #cdeee2; }
.wb-group-subjects li.is-done b { color: #12805c; }
.wb-group-subjects li.is-doing { border-color: #d8d4f5; }

/* ⑤ 考前准备一页三块 */
.wb-prepare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.wb-prepare-item { padding: 14px 16px; background: #f9f9fd; border: 1px solid #eceaf5; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.wb-prepare-item b { font-size: 14px; color: #3b3b63; }
.wb-prepare-item p { margin: 0; color: #8b8da0; font-size: 12px; }

/* ⑥ 客观题批改结果弹窗 */
.wb-obj-stat { margin-top: 8px; max-height: 300px; overflow-y: auto; }
.wb-obj-stat-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.wb-obj-stat-row b { min-width: 62px; color: #4a4c63; font-size: 13px; }
.wb-obj-stat-row .wb-task-bar { flex: 1; }
.wb-obj-stat-row span { min-width: 150px; color: #8b8da0; font-size: 12px; text-align: right; }
.wb-obj-stat-row.is-warn b, .wb-obj-stat-row.is-warn span { color: #c0392b; }
.wb-obj-stat-row.is-warn .wb-task-bar i { background: #c0392b; }
/* v2.13.3 多科联考：每科满分小输入框 */
.wb-full-item { display: flex; flex-direction: column; gap: 4px; }
.wb-full-item b { color: #4a4c63; font-size: 13px; }
.wb-full-item .wb-input { width: 100%; }

/* ================= v2.13.5 扫描监控大屏 + 直扫 ================= */
#wb-scan-monitor { position: fixed; inset: 0; z-index: 900; background: linear-gradient(135deg, #0f8a5f 0%, #0b6f4c 100%); overflow-y: auto; }
#wb-scan-monitor:fullscreen { border-radius: 0; }
.wb-monitor-shell { display: flex; flex-direction: column; min-height: 100%; padding: 22px 30px; color: #fff; }
.wb-monitor-shell header { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.wb-monitor-shell header b { font-size: 22px; }
.wb-monitor-shell header .wb-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.wb-monitor-body { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.wb-rings { display: flex; justify-content: center; gap: 60px; padding: 18px 0 6px; flex-wrap: wrap; }
.wb-ring { position: relative; width: 200px; height: 200px; }
.wb-ring-bar { transition: stroke-dashoffset .6s ease; }
.wb-ring-num { position: absolute; top: 62px; left: 0; right: 0; text-align: center; font-size: 52px; font-weight: 800; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wb-ring-label { position: absolute; top: 122px; left: 0; right: 0; text-align: center; font-size: 15px; opacity: .92; }
.wb-monitor-live { text-align: center; font-size: 14px; opacity: .95; }
.wb-monitor-table { background: #fff; color: #3b3b63; border-radius: 12px; }
/* v2.13.15 扫描桥状态条 */
.wb-bridge-chip { padding: 6px 10px; background: #f3f2ff; color: #4138a8; border: 1px solid #ded9fb; border-radius: 9px; font-size: 12px; white-space: nowrap; }

/* ================= v2.14.0 「扫描答题卡」进度页（照 HTML 原型 1:1） ================= */
.wb-sp { display: flex; justify-content: center; padding: 6px 0 16px; }
.wb-sp .num { font-variant-numeric: tabular-nums; }
.wb-sp .card { width: 640px; max-width: 100%; background: #fff; border-radius: 20px; padding: 44px 48px 40px;
  box-shadow: 0 12px 40px rgba(17,24,39,.06), 0 2px 8px rgba(17,24,39,.04); border: 1px solid #f0f2f5; }
.wb-sp .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 34px; gap: 12px; }
.wb-sp .head h1 { font-size: 19px; font-weight: 600; letter-spacing: .5px; color: #111827; }
.wb-sp .head .meta { font-size: 12.5px; color: #9ca3af; text-align: right; }
.wb-sp .head .meta b { color: #111827; font-weight: 500; }
.wb-sp .rings { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-bottom: 36px; }
.wb-sp .unit { display: flex; flex-direction: column; align-items: center; width: 150px; }
.wb-sp .ring { position: relative; width: 118px; height: 118px; }
.wb-sp .ring .track { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #f1f3f6; }
.wb-sp .ring .arc, .wb-sp .ring .arc2 { position: absolute; inset: 0; border-radius: 50%; border: 5px solid transparent; opacity: 0; transition: opacity .3s; }
.wb-sp .ring .arc { border-top-color: #10b981; border-right-color: #10b981; }
.wb-sp .ring .arc2 { inset: 9px; border-width: 3px; border-bottom-color: #6ee7b7; }
.wb-sp.scanning .ring .arc { opacity: 1; animation: wb-sp-spin .22s linear infinite; }
.wb-sp.scanning .ring .arc2 { opacity: 1; animation: wb-sp-spin .34s linear infinite reverse; }
@keyframes wb-sp-spin { to { transform: rotate(360deg); } }
.wb-sp .ring .inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wb-sp .ring .n { font-size: 33px; font-weight: 650; line-height: 1; color: #111827; letter-spacing: -1px; }
.wb-sp .ring .t { font-size: 12px; color: #9ca3af; margin-top: 8px; letter-spacing: 2px; }
.wb-sp .ring .sub { font-size: 11px; color: #c3c8d0; margin-top: 3px; font-variant-numeric: tabular-nums; }
.wb-sp .ring.err .n { color: #ef4444; }
.wb-sp .sep { align-self: center; color: #d1d5db; font-size: 20px; letter-spacing: 4px; margin-top: -14px; }
.wb-sp .progress { margin: 0 0 30px; }
.wb-sp .progress .lbl { display: flex; justify-content: space-between; font-size: 12px; color: #9ca3af; margin-bottom: 9px; }
.wb-sp .progress .lbl b { color: #111827; font-weight: 600; font-variant-numeric: tabular-nums; }
.wb-sp .progress .bar { height: 7px; background: #f1f3f6; border-radius: 99px; overflow: hidden; }
.wb-sp .progress .bar i { display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg,#10b981,#34d399); transition: width .5s cubic-bezier(.4,0,.2,1); }
.wb-sp .action { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* v2.14.0：两个主按钮并排（直连扫描 + 文件夹监控），副按钮白底描边 */
.wb-sp .action .btn-ghost { background: #fff; color: #374151; border: 1px solid #e5e7eb; box-shadow: none; }
.wb-sp .action .btn-ghost:hover { box-shadow: 0 6px 16px rgba(17,24,39,.08); color: #111827; }
.wb-sp .action { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.wb-sp .btn { min-width: 200px; height: 50px; border: none; border-radius: 25px; font-size: 16px; font-weight: 600;
  letter-spacing: 1px; cursor: pointer; transition: .22s; color: #fff;
  background: linear-gradient(135deg,#10b981,#059669); box-shadow: 0 6px 18px rgba(16,185,129,.28); }
.wb-sp .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16,185,129,.36); }
.wb-sp .btn:active { transform: translateY(0); }
.wb-sp .btn.stop { background: linear-gradient(135deg,#f87171,#ef4444); box-shadow: 0 6px 18px rgba(239,68,68,.26); }
.wb-sp .hint { font-size: 12.5px; color: #9ca3af; letter-spacing: .3px; height: 18px; }
.wb-sp .hint b { color: #10b981; font-weight: 500; }
.wb-sp .caret { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #10b981; margin-right: 6px; animation: wb-sp-pulse 1.2s infinite; vertical-align: middle; }
@keyframes wb-sp-pulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
.wb-sp-tools { justify-content: center; padding-top: 4px; }
/* v2.13.33：阅卷任务列表 —— 一行一条的长卡片（题名 + 派工徽章 + 进度条 + 开始批改） */
.wb-task-list { display: flex; flex-direction: column; gap: 10px; }
.wb-task-row { display: grid; grid-template-columns: minmax(190px, 1.05fr) 168px minmax(210px, 1.35fr) auto; align-items: center; gap: 14px; padding: 13px 18px; background: #fff; border: 1px solid #e6e6f0; border-radius: 14px; box-shadow: 0 4px 14px rgba(38,40,70,.05); }
.wb-task-row.is-done { border-color: #bfe8d8; }
.wb-task-row.is-warn { border-color: #f2d9a6; background: #fffdf7; }
.wb-tr-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wb-tr-title b { color: #26215c; font-size: 17px; }
.wb-tr-title span { color: #7b7e93; font-size: 12px; }
.wb-owner { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #efeaff; border: 1px solid #ddd4ff; color: #4a3fc0; font-size: 12px; white-space: nowrap; }
.wb-owner i { font-style: normal; color: #8b86b8; }
.wb-owner b { font-size: 15px; color: #322a9c; }
.wb-owner.is-none { background: #f3f3f8; border-color: #e6e6f0; color: #8b8da0; }
/* v2.20.4：系统自己判的那两行（客观题 / 待复核）不该显示"未派工"—— 没人可派 */
.wb-owner.is-auto { background: #eef4ff; border-color: #d8e3fb; color: #4664a8; }
.wb-owner.is-auto b { color: #2d4a86; }
.wb-tr-progress { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wb-tr-progress .wb-task-bar { margin: 0; }
.wb-tr-progress span { color: #5b5d72; font-size: 12px; }
.wb-tr-hint { color: #8a6d1f; font-size: 12px; }
.wb-tr-hint .is-warn { color: #c0392b; font-style: normal; }
.wb-tr-action { text-align: right; }
/* v2.20.4：禁用的主按钮原来是半透明紫，看着像一颗能点的标签。
   "没有可识别的卷子"这种本来就点不了，灰底才说得清。 */
.wb-tr-action .wb-primary[disabled] { background: #eef0f4; color: #9aa0ad; box-shadow: none; }
@media (max-width: 980px) {
  .wb-task-row { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .wb-tr-action { text-align: left; }
}

/* v2.13.34：客观题复核的「未涂」选项（和 A/B/C/D 同一排、互斥；确认后按 0 分记） */
.wb-answer-options .wb-blank-option { width: auto; min-width: 96px; height: 54px; padding: 0 14px; font-size: 15px; font-weight: 600; color: #6b6f86; background: #fbfbfe; border-style: dashed; }
.wb-answer-options .wb-blank-option.is-selected { color: #fff; background: #c0392b; border-style: solid; border-color: #c0392b; }

/* v2.13.46：选科选择器（3+1+2）—— 首选(物理/历史) 二选一 + 再选(化/生/政/地) 四选二 */
.wb-elective-picker { margin: 4px 0 2px; }
.wb-elective-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.wb-elective-row > span { color: #7b7e93; font-size: 12px; min-width: 96px; }
.wb-elective-chip { padding: 5px 14px; border: 1px solid #d9d9e8; border-radius: 999px; background: #f8f8fc; color: #44465e; font-size: 13px; cursor: pointer; }
.wb-elective-chip:hover { border-color: #b9b6e6; }
.wb-elective-chip.is-on { background: #4f46c8; border-color: #4f46c8; color: #fff; font-weight: 700; }
.wb-elective-hint { margin: 2px 0 0; }

/* v2.13.48：监考表（可交互，照纸质表做） */
/* v2.19.1：监考表现在是从「排考场」浮层（z-index 950）里点开的，必须压在它上面才看得见。
   以前它是独立入口，z-index 60 够用；叠进去之后就被 950 的浮层整个盖住了。 */
.wb-invig-mask { position: fixed; inset: 0; z-index: 980; background: rgba(20,20,40,.45); display: flex; align-items: center; justify-content: center; padding: 18px; }
.wb-invig { width: 100%; max-width: 1500px; max-height: 94vh; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.wb-invig-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #e6e6f0; flex-wrap: wrap; }
.wb-invig-title { flex: 1; min-width: 260px; font-size: 16px; font-weight: 700; }
.wb-invig-body { display: flex; gap: 12px; padding: 12px 14px; overflow: auto; }
.wb-invig-main { flex: 1; min-width: 0; }
.wb-invig-wrap { overflow: auto; max-height: 62vh; border: 1px solid #e6e6f0; border-radius: 10px; }
.wb-invig-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wb-invig-table th, .wb-invig-table td { border: 1px solid #d9d9e8; padding: 3px 4px; text-align: center; vertical-align: middle; }
.wb-invig-table th { background: #f3f3fa; color: #26215c; position: sticky; top: 0; z-index: 2; }
.wb-invig-table input { text-align: center; }
.wb-invig-table tr.is-note td { background: #fff8f0; }
.wb-invig-cell { cursor: pointer; min-width: 104px; }
.wb-invig-cell:hover { background: #f6f5ff; }
.wb-invig-cell.is-thin { background: #fffbe8; }
.wb-invig-cell.is-conflict { background: #fdecea; color: #b3261e; }
.wb-invig-notes { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.wb-invig-note-line input { width: 100%; text-align: left; }
.wb-invig-side { width: 230px; flex: none; background: #f8f8fc; border: 1px solid #e6e6f0; border-radius: 10px; padding: 10px 12px; max-height: 62vh; overflow: auto; }
.wb-invig-side b { display: block; color: #26215c; margin-bottom: 2px; }
.wb-invig-stat { display: flex; align-items: center; gap: 6px; padding: 3px 0; border-bottom: 1px dashed #e6e6f0; }
.wb-invig-stat span { flex: 1; color: #44465e; }
.wb-invig-stat b { color: #4f46c8; }
.wb-invig-stat b.is-warn, .wb-invig-head .is-warn { color: #c0392b; }
.wb-invig-stat i { font-style: normal; color: #8b8da0; font-size: 11px; }
.wb-invig-pick-mask { position: absolute; inset: 0; background: rgba(20,20,40,.35); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wb-invig-pick { width: 100%; max-width: 720px; max-height: 80vh; background: #fff; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.wb-invig-pick header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #e6e6f0; }
.wb-invig-pick header b { flex: 1; }
.wb-invig-pick > .wb-hint { padding: 8px 14px 0; }
.wb-invig-pick-list { padding: 8px 14px; overflow: auto; flex: 1; }
.wb-invig-pick-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eee; }
.wb-invig-pick-row b { min-width: 84px; }
.wb-invig-pick-row .wb-hint { flex: 1; }
.wb-invig-pick-btn { padding: 4px 10px; border: 1px solid #d9d9e8; background: #f8f8fc; border-radius: 999px; font-size: 12px; cursor: pointer; }
.wb-invig-pick-btn.is-on { background: #4f46c8; border-color: #4f46c8; color: #fff; font-weight: 700; }
.wb-invig-pick footer { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #e6e6f0; }

/* v2.13.50：考试组的"横向树状图"（组 → 编排考场 → 各科支线） */
.wb-tree-body { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.wb-tree-trunk { position: relative; margin-left: 10px; padding-left: 22px; }
.wb-tree-trunk::before { content: ''; position: absolute; left: 0; top: -12px; bottom: -8px; width: 2px; background: #d9d9e8; }
.wb-tree-root-node { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #f6f5ff; border: 1px dashed #b9b6e6; border-radius: 12px; padding: 8px 12px; }
.wb-tree-branches { display: flex; flex-direction: column; gap: 6px; margin-left: 32px; }
.wb-tree-branch { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid #e6e6f0; border-radius: 12px; padding: 6px 10px; }
.wb-tree-branch::before { content: ''; position: absolute; left: -22px; top: 50%; width: 20px; height: 2px; background: #d9d9e8; }
.wb-tree-branch.is-done { border-color: #bfe8d8; background: #fbfffd; }
.wb-tree-branch.is-doing { border-color: #d8d3f5; }
.wb-tree-subject { min-width: 68px; }
.wb-tree-subject b { color: #26215c; font-size: 14px; }
.wb-tree-steps { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; flex: 1; }
.wb-tree-step { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border: 1px solid #e6e6f0; border-radius: 999px; background: #fafaff; color: #6b6f86; font-size: 11px; cursor: pointer; }
.wb-tree-step i { font-style: normal; }
.wb-tree-step em { font-style: normal; color: #8b8da0; }
.wb-tree-step.is-done { border-color: #bfe8d8; background: #eefbf5; color: #0f7a55; }
.wb-tree-step.is-done i { color: #19a97c; }
.wb-tree-step:hover { border-color: #b9b6e6; }
.wb-tree-arrow { color: #c9c9dd; font-size: 10px; }
@media (max-width: 720px) { .wb-tree-branches { margin-left: 12px; } .wb-tree-branch::before { width: 10px; left: -12px; } }

/* ===== v2.13.52 组级成绩分析（多科汇总弹窗） ===== */
.wb-ga-sums { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wb-ga-sum { background: #f5f5fb; border: 1px solid #e5e4f2; border-radius: 8px; padding: 4px 10px; font-size: 12px; color: #4a4a68; }
.wb-ga-sum b { color: #2f2b63; }
.wb-ga-block { margin-top: 12px; border: 1px solid #ecebf6; border-radius: 12px; padding: 10px 12px; }
.wb-ga-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.wb-ga-head > b { font-size: 13px; color: #2f2b63; }
.wb-ga-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wb-ga-chip { cursor: pointer; border: 1px solid #dcdbea; background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; display: inline-flex; gap: 5px; align-items: center; color: #3b3b56; }
.wb-ga-chip em { font-style: normal; color: #8b8ba7; font-size: 11px; }
.wb-ga-chip:hover { border-color: #b9b6e6; }
.wb-ga-chip.is-active { background: #4F46C8; border-color: #4F46C8; color: #fff; }
.wb-ga-chip.is-active em { color: rgba(255,255,255,.85); }
.wb-ga-table { font-size: 13px; }
.wb-ga-table th, .wb-ga-table td { white-space: nowrap; }
.wb-ga-table tbody tr:hover { background: #f8f8fd; }
/* ===== v2.13.53 班级×科目对比图 / 个人雷达图 / 手机批卷触屏 ===== */
.wb-legend-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 6px; }
.wb-radar-legend { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #4a4a68; }
.wb-radar-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.wb-radar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.wb-radar-side { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.wb-radar-cells { display: flex; flex-wrap: wrap; gap: 6px; }
.wb-radar-cell { display: inline-flex; flex-direction: column; gap: 1px; border: 1px solid #ecebf6; border-radius: 8px; padding: 5px 9px; font-size: 12px; color: #2f2b63; min-width: 78px; }
.wb-radar-cell b { font-size: 11px; color: #8b8da7; font-weight: 600; }
.wb-radar-cell em { font-style: normal; color: #4f46c8; font-weight: 700; }
.wb-ga-heat { background: #fff; }
.wb-ga-heat.is-empty { color: #b9bacb; }
.wb-grade-board, .wb-grade-board * { -webkit-touch-callout: none; }
.wb-grade-board button, .wb-score-btn, .wb-gp-input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wb-score-btn, .wb-grade-board button { user-select: none; -webkit-user-select: none; }
.wb-gp-rotate { display: flex; gap: 6px; margin-top: 8px; }
.wb-gp-rotate button { flex: 1; padding: 7px 0; font-size: 12px; border-radius: 8px; white-space: nowrap; }
@media (max-width: 760px) {
  .wb-grade-board { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 56vh; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 30px rgba(28,30,58,.22); }
  .wb-grade-board.is-collapsed { width: auto; max-height: none; }
  .wb-gp-quick .wb-score-btn { min-width: 52px; padding: 11px 0; font-size: 15px; }
  .wb-gp-score { flex-wrap: wrap; }
  .wb-radar svg { max-width: 100%; }
  .wb-gp-rotate { flex-wrap: wrap; }
  .wb-gp-rotate button { flex: 1 1 40%; }
}
/* ================= v2.14.2 ================= */
/* ① 点图给分开关（默认关） */
.wb-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: #44465e; background: #f6f6fb; border: 1px solid #d9d9e8; border-radius: 999px; font-size: 12px; cursor: pointer; }
.wb-toggle i { position: relative; width: 30px; height: 16px; border-radius: 999px; background: #cfd0dd; transition: background .15s; }
.wb-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
.wb-toggle.is-on { color: #1f5fa8; background: #eef5ff; border-color: #b9d4f2; }
.wb-toggle.is-on i { background: #2f7de1; }
.wb-toggle.is-on i::after { left: 16px; }
.wb-toggle b { color: inherit; font-weight: 700; }
/* ============================================================
   智阅 SmartMark · 方案 F 主题覆盖层（至简白 + 品牌紫）
   依据：Ardot 提案画布 D/E/F 方案 + docs/design-tokens.css
   引入方式：在 index.html 中置于 styles.css / workbench.css 之后
   <link rel="stylesheet" href="theme-f.css">
   原则：只做覆盖，不改原文件；一个页面只许一个实心主按钮；
        彩色只出现在主按钮 / 进度 / 大数字光晕；分隔一律发丝线。
   ============================================================ */

:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4ed1;
  --primary-soft: #eeebfc;
  --canvas: #ffffff;
  --ink-1: #1d1d1f;           /* 主文字（wb-* 覆盖段使用） */
  --accent: #6c5ce7;          /* 品牌紫（wb-* 覆盖段使用，勿删） */
  --accent-soft: rgba(108, 92, 231, .12);
  --line: #efeff2;            /* 发丝线 */
  --line-strong: #e3e0ef;
  --shadow-sm: none;
  --shadow-md: 0 6px 16px -2px rgba(108, 92, 231, .3);
  --f-ink-2: #a6a6ad;
  --f-ink-3: #c7c7cc;
}

body { background: var(--canvas); }

/* ---------- 顶栏 ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.global-search { background: #fff; border: 1px solid var(--line); border-radius: 99px; }
.icon-button { border-radius: 99px; border-color: var(--line); }
.page-heading h1 { font-weight: 600; }
.version-chip { border-radius: 99px; }

/* ---------- 侧边栏：深蓝渐变 → 素雅白 ---------- */
.sidebar {
  color: var(--ink);
  background: #fff;
  border-right: 1px solid var(--line);
}
.brand strong { color: var(--ink); letter-spacing: .06em; }
.brand span { color: var(--f-ink-3); }
.brand-mark {
  color: #fff; background: var(--primary);
  box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .4);
}
.school-switcher { border: 1px solid var(--line); background: #fff; }
.school-switcher b { color: var(--ink); }
.school-switcher small { color: var(--f-ink-2); }
.school-avatar { color: #fff; background: var(--primary); }
.chevron { color: var(--f-ink-3); }
.nav-item { color: #74768a; border-radius: 99px; }
.nav-item span { color: #a6a6ad; }
.nav-item:hover { color: var(--ink); background: #f7f7fa; }
.nav-item.is-active { color: var(--primary); background: var(--primary-soft); }
.nav-item.is-active::before { display: none; }
.nav-item.is-active span { color: var(--primary); }
.nav-item em { background: var(--primary); }
.sidebar-user { border-top: 1px solid var(--line); }
.sidebar-user b { color: var(--ink); }
.sidebar-user small { color: var(--f-ink-2); }
.user-avatar { color: #fff; background: var(--primary-soft); color: var(--primary); }
.upgrade-card { border: 1px solid var(--line); background: #fff; }
.upgrade-card strong { color: var(--ink); }
.upgrade-card p { color: var(--f-ink-2); }
.upgrade-card button, .upgrade-card .spark { color: var(--primary); }

/* ---------- 按钮：黑紫胶囊体系 ---------- */
.primary-button, .secondary-button, .ghost-button, .danger-button, .text-button { border-radius: 99px; transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.primary-button {
  background: var(--primary); border: 0;
  box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35);
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 9px 22px -2px rgba(108, 92, 231, .45); filter: brightness(1.05); }
.primary-button:active { transform: none; filter: brightness(.96); }
.secondary-button, .ghost-button { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.secondary-button:hover, .ghost-button:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.text-button { color: var(--primary); font-weight: 500; }

/* ---------- 工作台主视觉：紫渐变横幅 → 素雅白焦点区 ---------- */
.dashboard-hero {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 8px 30px;
}
.dashboard-hero::after { display: none; }
.eyebrow {
  color: var(--primary); background: var(--primary-soft); border: 0;
  font-weight: 500;
}
.hero-copy h2 { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.hero-copy p { color: var(--f-ink-2); }
.hero-actions .primary-button { color: #fff; background: var(--primary); box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35); }
.hero-actions .secondary-button { color: var(--ink); background: #fff; border-color: var(--line); }
.hero-actions .secondary-button:hover { color: var(--primary); border-color: var(--primary); }

/* 进度环：白色粗环 → 细紫环 + 数字光晕 */
.progress-ring { background: conic-gradient(var(--primary) var(--progress, 0%), #efeff2 0); }
.progress-ring::after { inset: 13px; background: #fff; }
.progress-ring-content strong {
  color: var(--ink); font-weight: 600;
  text-shadow: 0 0 34px rgba(108, 92, 231, .35);
}
.progress-ring-content span { color: var(--f-ink-2); }

/* ---------- 统计行：四张彩色卡片 → 发丝线分隔的素净数字 ---------- */
.stats-grid { gap: 0; }
.stat-card {
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; padding: 18px 22px;
}
.stat-card + .stat-card { border-left: 1px solid var(--line); }
.stat-card::after { display: none; }
.stat-top { color: var(--f-ink-2); }
.stat-icon {
  color: var(--f-ink-2); background: #f5f5f8;
  border-radius: 99px;
}
.stat-value strong { font-weight: 300; font-size: 28px; letter-spacing: -.02em; }
.stat-foot { color: var(--f-ink-3); }

/* ---------- 卡片：描边盒子 → 发丝线分区 ---------- */
.dashboard-grid .card, .stack > .card {
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; border-top: 1px solid var(--line);
  padding-top: 6px;
}
.dashboard-grid .card-header, .stack > .card .card-header { padding: 16px 4px 0; }
.dashboard-grid .card-body, .stack > .card .card-body { padding: 14px 4px 20px; }
.card-header h2, .card-header h3 { font-weight: 600; }
.dashboard-grid .badge, .stack > .card .badge { color: #74768a; background: #f5f5f8; border: 0; border-radius: 99px; }

/* 考试速览：紫色渐变封面 → 浅紫素净块 */
.exam-cover { background: var(--primary-soft); color: var(--primary); }
.exam-cover::before { border-color: rgba(108, 92, 231, .12); }
.exam-cover small { color: var(--f-ink-2); }
.exam-info h3 { font-weight: 600; }
.meta-pill { color: #74768a; background: #f5f5f8; border-radius: 99px; }

/* 进度线：渐变 → 纯紫细线 */
.progress-track { height: 5px; background: #efeff2; }
.progress-fill { background: var(--primary); }

/* 阅卷流程列表：描边盒子 → 发丝线行 */
.workflow-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 14px 6px; }
.workflow-item:last-child { border-bottom: 0; }
.workflow-item:hover { border-color: var(--line); background: #fafafc; transform: none; }
.workflow-index { color: var(--primary); background: var(--primary-soft); border-radius: 99px; font-weight: 600; }
.workflow-item .arrow { color: var(--f-ink-3); }

/* ---------- 动效兜底：所有可点元素丝滑过渡 ---------- */
.card, .stat-card, .workflow-item, .task-item, .nav-item, .exam-card { transition: all .2s cubic-bezier(.22, .61, .36, 1); }

/* 深色演示主题开关（方案 E，公开课投屏用；后续接 data-theme="dark"） */
[data-theme="dark"] body, body[data-theme="dark"] { background: #0e0e12; }

/* ============================================================
   v2.13.66 追加：阅卷工作台（wb-* 类）覆盖 —— 至简白 + 品牌紫
   让工作台与外壳同一设计语言：白顶栏、紫主按钮、胶囊化、发丝线
   ============================================================ */

/* 顶栏：深蓝渐变 → 素雅白 */
.wb-root { background: #ffffff; }
.wb-top {
  color: var(--ink-1);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.wb-brand span { color: #fff; background: var(--accent); box-shadow: 0 5px 14px -2px rgba(108, 92, 231, .4); }
.wb-brand b { color: var(--ink-1); }
/* v2.20.11：#c7c7cc 在白底顶栏上几乎看不见（"小王老师 · 老师"那行） —— 压深到能读 */
.wb-brand small { color: #8e8e93; }
.wb-nav button { color: #74768a; border-radius: 99px; }
.wb-nav button i { background: #f0f0f5; color: #74768a; }
.wb-nav button:hover { color: var(--ink-1); background: #f7f7fa; }
.wb-nav button.is-active { color: var(--accent); background: var(--accent-soft); }
.wb-nav button.is-active i { color: var(--accent); background: #fff; }
.wb-pill { background: #f0f0f5; color: #74768a; }
.wb-icon { color: #74768a; background: #fff; border: 1px solid var(--line); }

/* 按钮：胶囊 + 品牌紫 */
.wb-ghost, .wb-primary, .wb-input { border-radius: 99px; }
.wb-primary { background: var(--accent); box-shadow: 0 5px 14px -2px rgba(108, 92, 231, .35); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 18px -2px rgba(108, 92, 231, .45); }
.wb-ghost { border-color: var(--line); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.wb-link { color: var(--accent); }

/* 面板与表格：发丝线 */
.wb-analysis-card { border-color: var(--line); box-shadow: none; }
.wb-panel-title b { color: var(--ink-1); }
.wb-panel-title span { color: var(--f-ink-2); }
.wb-grade-tabs button { border-color: var(--line); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-grade-tabs button:hover { border-color: var(--accent); }
.wb-grade-tabs button.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.wb-grade-tabs button.is-active small { color: rgba(255, 255, 255, .8); }
.wb-lan-card .wb-panel-title b { color: var(--accent); }
.wb-placeholder { border-color: var(--line-strong); }
.wb-modal { border-radius: 16px; }
.wb-input:focus { border-color: var(--accent); outline: none; }
img[style*="cursor:zoom-in"] { transition: transform .18s cubic-bezier(.22, .61, .36, 1); }
img[style*="cursor:zoom-in"]:hover { transform: scale(1.02); }

/* ============================================================
   v2.13.73 追加：考试流程首页（我的考试）F 布局 —— 去紫色大横幅
   白底大标题 + 发丝线考试列表，卡片去盒子化
   ============================================================ */
.wb-exam-head {
  color: var(--ink-1);
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 6px 22px;
}
.wb-exam-head b { font-size: 33px; font-weight: 600; letter-spacing: -.01em; }
.wb-exam-head p { color: var(--f-ink-2); margin-top: 8px; font-size: 13px; }
.wb-primary.wb-big { color: #fff; background: var(--accent); border-radius: 99px; box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35); }
.wb-primary.wb-big:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 8px 20px -2px rgba(108, 92, 231, .45); }
.wb-exam-grid { gap: 0; }
.wb-exam-card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--line); padding: 18px 4px 14px;
}
.wb-exam-card.is-current { border-top: 2px solid var(--accent); box-shadow: none; }
.wb-flow-card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--line); padding: 16px 4px; margin-top: 12px;
}
/* ============================================================
   智阅 SmartMark · 方案 F 主题覆盖层（至简白 + 品牌紫）
   依据：Ardot 提案画布 D/E/F 方案 + docs/design-tokens.css
   引入方式：在 index.html 中置于 styles.css / workbench.css 之后
   <link rel="stylesheet" href="theme-f.css">
   原则：只做覆盖，不改原文件；一个页面只许一个实心主按钮；
        彩色只出现在主按钮 / 进度 / 大数字光晕；分隔一律发丝线。
   ============================================================ */

:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4ed1;
  --primary-soft: #eeebfc;
  --canvas: #ffffff;
  --ink-1: #1d1d1f;           /* 主文字（wb-* 覆盖段使用） */
  --accent: #6c5ce7;          /* 品牌紫（wb-* 覆盖段使用，勿删） */
  --accent-soft: rgba(108, 92, 231, .12);
  --line: #efeff2;            /* 发丝线 */
  --line-strong: #e3e0ef;
  --shadow-sm: none;
  --shadow-md: 0 6px 16px -2px rgba(108, 92, 231, .3);
  --f-ink-2: #a6a6ad;
  --f-ink-3: #c7c7cc;
}

body { background: var(--canvas); }

/* ---------- 顶栏 ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.global-search { background: #fff; border: 1px solid var(--line); border-radius: 99px; }
.icon-button { border-radius: 99px; border-color: var(--line); }
.page-heading h1 { font-weight: 600; }
.version-chip { border-radius: 99px; }

/* ---------- 侧边栏：深蓝渐变 → 素雅白 ---------- */
.sidebar {
  color: var(--ink);
  background: #fff;
  border-right: 1px solid var(--line);
}
.brand strong { color: var(--ink); letter-spacing: .06em; }
.brand span { color: var(--f-ink-3); }
.brand-mark {
  color: #fff; background: var(--primary);
  box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .4);
}
.school-switcher { border: 1px solid var(--line); background: #fff; }
.school-switcher b { color: var(--ink); }
.school-switcher small { color: var(--f-ink-2); }
.school-avatar { color: #fff; background: var(--primary); }
.chevron { color: var(--f-ink-3); }
.nav-item { color: #74768a; border-radius: 99px; }
.nav-item span { color: #a6a6ad; }
.nav-item:hover { color: var(--ink); background: #f7f7fa; }
.nav-item.is-active { color: var(--primary); background: var(--primary-soft); }
.nav-item.is-active::before { display: none; }
.nav-item.is-active span { color: var(--primary); }
.nav-item em { background: var(--primary); }
.sidebar-user { border-top: 1px solid var(--line); }
.sidebar-user b { color: var(--ink); }
.sidebar-user small { color: var(--f-ink-2); }
.user-avatar { color: #fff; background: var(--primary-soft); color: var(--primary); }
.upgrade-card { border: 1px solid var(--line); background: #fff; }
.upgrade-card strong { color: var(--ink); }
.upgrade-card p { color: var(--f-ink-2); }
.upgrade-card button, .upgrade-card .spark { color: var(--primary); }

/* ---------- 按钮：黑紫胶囊体系 ---------- */
.primary-button, .secondary-button, .ghost-button, .danger-button, .text-button { border-radius: 99px; transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.primary-button {
  background: var(--primary); border: 0;
  box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35);
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 9px 22px -2px rgba(108, 92, 231, .45); filter: brightness(1.05); }
.primary-button:active { transform: none; filter: brightness(.96); }
.secondary-button, .ghost-button { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.secondary-button:hover, .ghost-button:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.text-button { color: var(--primary); font-weight: 500; }

/* ---------- 工作台主视觉：紫渐变横幅 → 素雅白焦点区 ---------- */
.dashboard-hero {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 8px 30px;
}
.dashboard-hero::after { display: none; }
.eyebrow {
  color: var(--primary); background: var(--primary-soft); border: 0;
  font-weight: 500;
}
.hero-copy h2 { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.hero-copy p { color: var(--f-ink-2); }
.hero-actions .primary-button { color: #fff; background: var(--primary); box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35); }
.hero-actions .secondary-button { color: var(--ink); background: #fff; border-color: var(--line); }
.hero-actions .secondary-button:hover { color: var(--primary); border-color: var(--primary); }

/* 进度环：白色粗环 → 细紫环 + 数字光晕 */
.progress-ring { background: conic-gradient(var(--primary) var(--progress, 0%), #efeff2 0); }
.progress-ring::after { inset: 13px; background: #fff; }
.progress-ring-content strong {
  color: var(--ink); font-weight: 600;
  text-shadow: 0 0 34px rgba(108, 92, 231, .35);
}
.progress-ring-content span { color: var(--f-ink-2); }

/* ---------- 统计行：四张彩色卡片 → 发丝线分隔的素净数字 ---------- */
.stats-grid { gap: 0; }
.stat-card {
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; padding: 18px 22px;
}
.stat-card + .stat-card { border-left: 1px solid var(--line); }
.stat-card::after { display: none; }
.stat-top { color: var(--f-ink-2); }
.stat-icon {
  color: var(--f-ink-2); background: #f5f5f8;
  border-radius: 99px;
}
.stat-value strong { font-weight: 300; font-size: 28px; letter-spacing: -.02em; }
.stat-foot { color: var(--f-ink-3); }

/* ---------- 卡片：描边盒子 → 发丝线分区 ---------- */
.dashboard-grid .card, .stack > .card {
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; border-top: 1px solid var(--line);
  padding-top: 6px;
}
.dashboard-grid .card-header, .stack > .card .card-header { padding: 16px 4px 0; }
.dashboard-grid .card-body, .stack > .card .card-body { padding: 14px 4px 20px; }
.card-header h2, .card-header h3 { font-weight: 600; }
.dashboard-grid .badge, .stack > .card .badge { color: #74768a; background: #f5f5f8; border: 0; border-radius: 99px; }

/* 考试速览：紫色渐变封面 → 浅紫素净块 */
.exam-cover { background: var(--primary-soft); color: var(--primary); }
.exam-cover::before { border-color: rgba(108, 92, 231, .12); }
.exam-cover small { color: var(--f-ink-2); }
.exam-info h3 { font-weight: 600; }
.meta-pill { color: #74768a; background: #f5f5f8; border-radius: 99px; }

/* 进度线：渐变 → 纯紫细线 */
.progress-track { height: 5px; background: #efeff2; }
.progress-fill { background: var(--primary); }

/* 阅卷流程列表：描边盒子 → 发丝线行 */
.workflow-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 14px 6px; }
.workflow-item:last-child { border-bottom: 0; }
.workflow-item:hover { border-color: var(--line); background: #fafafc; transform: none; }
.workflow-index { color: var(--primary); background: var(--primary-soft); border-radius: 99px; font-weight: 600; }
.workflow-item .arrow { color: var(--f-ink-3); }

/* ---------- 动效兜底：所有可点元素丝滑过渡 ---------- */
.card, .stat-card, .workflow-item, .task-item, .nav-item, .exam-card { transition: all .2s cubic-bezier(.22, .61, .36, 1); }

/* 深色演示主题开关（方案 E，公开课投屏用；后续接 data-theme="dark"） */
[data-theme="dark"] body, body[data-theme="dark"] { background: #0e0e12; }

/* ============================================================
   v2.13.66 追加：阅卷工作台（wb-* 类）覆盖 —— 至简白 + 品牌紫
   让工作台与外壳同一设计语言：白顶栏、紫主按钮、胶囊化、发丝线
   ============================================================ */

/* 顶栏：深蓝渐变 → 素雅白 */
.wb-root { background: #ffffff; }
.wb-top {
  color: var(--ink-1);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.wb-brand span { color: #fff; background: var(--accent); box-shadow: 0 5px 14px -2px rgba(108, 92, 231, .4); }
.wb-brand b { color: var(--ink-1); }
/* v2.20.11：#c7c7cc 在白底顶栏上几乎看不见（"小王老师 · 老师"那行） —— 压深到能读 */
.wb-brand small { color: #8e8e93; }
.wb-nav button { color: #74768a; border-radius: 99px; }
.wb-nav button i { background: #f0f0f5; color: #74768a; }
.wb-nav button:hover { color: var(--ink-1); background: #f7f7fa; }
.wb-nav button.is-active { color: var(--accent); background: var(--accent-soft); }
.wb-nav button.is-active i { color: var(--accent); background: #fff; }
.wb-pill { background: #f0f0f5; color: #74768a; }
.wb-icon { color: #74768a; background: #fff; border: 1px solid var(--line); }

/* 按钮：胶囊 + 品牌紫 */
.wb-ghost, .wb-primary, .wb-input { border-radius: 99px; }
.wb-primary { background: var(--accent); box-shadow: 0 5px 14px -2px rgba(108, 92, 231, .35); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 18px -2px rgba(108, 92, 231, .45); }
.wb-ghost { border-color: var(--line); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.wb-link { color: var(--accent); }

/* 面板与表格：发丝线 */
.wb-analysis-card { border-color: var(--line); box-shadow: none; }
.wb-panel-title b { color: var(--ink-1); }
.wb-panel-title span { color: var(--f-ink-2); }
.wb-grade-tabs button { border-color: var(--line); transition: all .18s cubic-bezier(.22, .61, .36, 1); }
.wb-grade-tabs button:hover { border-color: var(--accent); }
.wb-grade-tabs button.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.wb-grade-tabs button.is-active small { color: rgba(255, 255, 255, .8); }
.wb-lan-card .wb-panel-title b { color: var(--accent); }
.wb-placeholder { border-color: var(--line-strong); }
.wb-modal { border-radius: 16px; }
.wb-input:focus { border-color: var(--accent); outline: none; }
img[style*="cursor:zoom-in"] { transition: transform .18s cubic-bezier(.22, .61, .36, 1); }
img[style*="cursor:zoom-in"]:hover { transform: scale(1.02); }

/* ============================================================
   v2.13.73 追加：考试流程首页（我的考试）F 布局 —— 去紫色大横幅
   白底大标题 + 发丝线考试列表，卡片去盒子化
   ============================================================ */
.wb-exam-head {
  color: var(--ink-1);
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 6px 22px;
}
.wb-exam-head b { font-size: 33px; font-weight: 600; letter-spacing: -.01em; }
.wb-exam-head p { color: var(--f-ink-2); margin-top: 8px; font-size: 13px; }
.wb-primary.wb-big { color: #fff; background: var(--accent); border-radius: 99px; box-shadow: 0 6px 16px -2px rgba(108, 92, 231, .35); }
.wb-primary.wb-big:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 8px 20px -2px rgba(108, 92, 231, .45); }
.wb-exam-grid { gap: 0; }
.wb-exam-card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--line); padding: 18px 4px 14px;
}
.wb-exam-card.is-current { border-top: 2px solid var(--accent); box-shadow: none; }
.wb-flow-card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--line); padding: 16px 4px; margin-top: 12px;
}

/* v2.13.76：主内容区限宽居中 —— 两侧留白，列表不顶屏幕边（"左右太秃"修复） */
.wb-main { max-width: 1400px; margin: 0 auto; padding: 30px 44px 64px; }
.wb-exam-card { transition: background .18s cubic-bezier(.22, .61, .36, 1); }
.wb-exam-card:hover { background: #fafafc; }

/* ================= v2.14.1 / v2.14.3 各学科答题卡模板库 ================= */
/* 每份卡一张"上面大图（真卡画出来的）+ 下面名字信息"的卡，老师一眼看到卡长什么样 */
/* 宽屏一行两张（每张的预览都有 600 多像素宽，字看得清），窄屏自动变一列 */
.wb-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; margin: 12px 0; }
.wb-tpl-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #fff; border: 1px solid #e9e9f2; border-radius: 14px; }
.wb-tpl-thumb { position: relative; display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 8px; background: #f4f4fa; border: 1px solid #ececf6; border-radius: 10px; cursor: zoom-in; overflow: hidden; }
.wb-tpl-thumb canvas { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 2px 10px rgba(60, 60, 110, .12); }
.wb-tpl-thumb-tip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9a9cb0; font-size: 12px; pointer-events: none; }
.wb-tpl-thumb.is-ready .wb-tpl-thumb-tip { display: none; }
.wb-tpl-thumb.is-failed { cursor: default; }
.wb-tpl-thumb.is-failed .wb-tpl-thumb-tip { color: #c0392b; }
.wb-tpl-info { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 18px; }
.wb-tpl-meta { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wb-tpl-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wb-tpl-card-head b { color: #3b3b63; font-size: 16px; }
.wb-tpl-card-head .wb-tag { margin-left: 0; }
.wb-tpl-card-line { margin: 0; color: #74768a; font-size: 12px; }
.wb-tpl-card-time { margin: 0; color: #a0a2b4; font-size: 11px; }
.wb-tpl-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* 看大图弹窗：比普通弹窗宽得多，卡上的小字才看得清 */
.wb-modal:has(.wb-tpl-zoom) { width: min(1400px, 100%); }
.wb-tpl-zoom { max-height: 70vh; overflow: auto; padding: 10px; background: #f4f4fa; border-radius: 12px; }
.wb-tpl-zoom img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; }
/* 向导第①步里"每科答题卡模板"那几行（窄一点，别把弹窗撑太高） */
.wb-tpl-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.wb-tpl-picks .wb-field b { color: #4a4c63; font-size: 13px; }
.wb-tpl-picks .wb-field .wb-input { width: 100%; }

/* v2.14.2 模板库：一个学科一张卡片，学科之间不混在一起 */
.wb-tpl-group { margin: 14px 0; background: #fff; border: 1px solid #e9e9f2; border-radius: 16px; overflow: hidden; }
.wb-tpl-group-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f7f7fc; border-bottom: 1px solid #eeeef6; cursor: pointer; user-select: none; }
.wb-tpl-group-head:hover { background: #f1f0fb; }
.wb-tpl-group-head b { font-size: 16px; color: #3b3b63; }
.wb-tpl-group-head .wb-tag { margin-left: 0; }
.wb-tpl-group > .wb-tpl-grid { padding: 14px 16px; margin: 0; }
.wb-tpl-group > .wb-placeholder { padding: 18px 16px; }

/* ================= v2.14.4 顶栏「刷新更新」按钮在白底上隐形 =================
   顶栏改成素雅白之后（.wb-top background:#ffffff），这个按钮还是老的
   "白字 + 半透明白底 + 半透明白边"（给深蓝渐变配的），在白底上等于看不见，
   老师反馈"这地方没了"。这里补一套浅色样式，做成紫色小胶囊，一眼就能点到。 */
.wb-version-button {
  color: var(--accent, #6c5ce7);
  background: var(--accent-soft, rgba(108, 92, 231, .12));
  border: 1px solid var(--line-strong, #e3e0ef);
}
.wb-version-button:hover {
  color: #fff;
  background: var(--accent, #6c5ce7);
  border-color: var(--accent, #6c5ce7);
}

/* ================= v2.14.5 内容区铺满整屏 =================
   老师反馈：宽屏上左右各空一大条（.wb-main 限宽 1400px 居中），
   而且答题卡编辑器左栏被挤到 412px，比「全局间距与大小」那排小格子需要的 462px 还窄，
   第 5 列（条码框高之类）被横向切掉、还冒出一根滚动条。
   现在：主内容区/流程页都不再限宽，铺满屏幕；小格子容器窄时自动换行，宁可换行也不切掉。 */
.wb-main { max-width: none; margin: 0; padding: 24px 28px 64px; }
.wb-flow-page { max-width: none; }
/* 5 列小格子（全局间距与大小 / 题目分区）改成"装得下几列就几列"，窄屏换行而不是切掉 */
.wb-layout-grid { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); }
.wb-card-section-grid { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
.wb-subjective-layout { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }

/* ============================================================
   v2.13.82 苹果风格精修 · Apple Polish（2026-10-16）
   毛玻璃顶栏 / 环境光 / 弹簧动效 / 圆钮搜索 / 发丝描边白卡
   纯覆盖层：不改任何结构与 class 名，一切原功能照旧
   ============================================================ */
:root {
  --primary: #7C6CFF; --primary-dark: #6654E8; --primary-soft: rgba(124, 108, 255, .12);
  --accent: #7C6CFF; --accent-soft: rgba(124, 108, 255, .12);
  --canvas: #F5F5F7;
  --line: rgba(0, 0, 0, .07); --line-strong: rgba(0, 0, 0, .12);
  --shadow-sm: 0 .5px 2px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .05);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, .14);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --smooth: cubic-bezier(.2, .9, .22, 1);
}
html { background: var(--canvas); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(640px 420px at 88% -8%, rgba(124, 108, 255, .10), transparent 62%),
    radial-gradient(760px 520px at -8% 108%, rgba(90, 180, 255, .08), transparent 62%) fixed,
    var(--canvas);
}
::selection { background: rgba(124, 108, 255, .22); }
button { transition: transform .2s var(--spring); }

/* ---------- 顶栏：毛玻璃 + 可收起 ---------- */
.topbar {
  background: rgba(250, 250, 252, .78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: .5px solid var(--line);
  transition: height .45s var(--smooth), padding .45s var(--smooth), background .3s;
}
.topbar.compact { height: 54px; }
.topbar.compact .page-heading p { display: none; }
.page-heading h1 { font-weight: 600; letter-spacing: -.02em; }
.version-chip { background: var(--accent-soft); border-color: transparent; color: var(--accent); border-radius: 10px; }
.version-chip:hover { background: rgba(124, 108, 255, .2); }

/* ---------- 搜索：圆钮 ⇄ 输入框 形变 ---------- */
.global-search {
  width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; cursor: pointer;
  transition: width .45s var(--smooth), border-radius .45s var(--smooth), box-shadow .3s;
}
.global-search span { font-size: 16px; line-height: 1; display: flex; flex: 0 0 17px; align-items: center; justify-content: center; transition: margin .4s var(--smooth); }
.global-search input { width: 0; opacity: 0; transition: width .45s var(--smooth), opacity .25s .08s; }
.global-search.open {
  width: min(300px, 44vw); border-radius: 13px; cursor: text;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 10px 30px rgba(0, 0, 0, .08);
}
.global-search.open span { margin: 0 4px 0 12px; }
.global-search.open input { width: 100%; opacity: 1; }

/* ---------- 新建按钮：圆形悬浮主钮 ---------- */
#quick-create {
  width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 20px; font-size: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #8B7DFF, #6654E8);
  box-shadow: 0 4px 14px rgba(124, 108, 255, .4);
}
#quick-create::before { content: "＋"; font-size: 17px; line-height: 1; color: #fff; }
#quick-create:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(124, 108, 255, .5); }
#quick-create:active { transform: scale(.92); }

/* ---------- 头像菜单钮：三横 ⇄ X ---------- */
.shell-menu-btn { position: relative; }
.shell-menu-btn .burger { position: relative; width: 15px; height: 11px; }
.shell-menu-btn .burger b {
  position: absolute; left: 0; width: 15px; height: 1.7px; border-radius: 1px; background: #6E6E78;
  transition: transform .38s var(--smooth), opacity .25s, top .38s var(--smooth);
}
.shell-menu-btn .burger b:nth-child(1) { top: 0; }
.shell-menu-btn .burger b:nth-child(2) { top: 4.6px; }
.shell-menu-btn .burger b:nth-child(3) { top: 9.2px; }
.shell-menu-btn.open .burger b:nth-child(1) { top: 4.6px; transform: rotate(45deg); }
.shell-menu-btn.open .burger b:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.shell-menu-btn.open .burger b:nth-child(3) { top: 4.6px; transform: rotate(-45deg); }

/* ---------- 全屏菜单：圆形铺开 ---------- */
.shell-menu {
  position: fixed; inset: 0; z-index: 120; background: rgba(251, 251, 253, .98);
  display: flex; flex-direction: column;
  clip-path: circle(0px at var(--smx, 100%) var(--smy, 0)); pointer-events: none;
  transition: clip-path .55s cubic-bezier(.3, .9, .3, 1);
}
.shell-menu.show { clip-path: circle(150% at var(--smx, 100%) var(--smy, 0)); pointer-events: auto; }
.shell-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: .5px solid var(--line);
}
.shell-menu-head b { font-size: 17px; font-weight: 600; }
.shell-menu-close {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #F1F1F5; color: #6E6E78; font-size: 14px; cursor: pointer;
}
.shell-menu-close:active { transform: scale(.85) rotate(90deg); }
.shell-menu-list { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; width: 100%; margin: 0 auto; }
.shell-menu-item {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px;
  font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--smooth), transform .5s var(--spring), background .25s;
}
.shell-menu.show .shell-menu-item { opacity: 1; transform: none; }
.shell-menu-item:hover { background: rgba(120, 120, 128, .09); }
.shell-menu-item:active { transform: scale(.98); }
.shell-menu-item .ic {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none;
  font-size: 16px; font-weight: 700;
}
.shell-menu-item:nth-child(1) .ic { background: rgba(124,108,255,.12); color: #7C6CFF; }
.shell-menu-item:nth-child(2) .ic { background: rgba(255,159,10,.14); color: #E08600; }
.shell-menu-item:nth-child(3) .ic { background: rgba(52,199,89,.14); color: #28A745; }
.shell-menu-item:nth-child(4) .ic { background: rgba(10,132,255,.12); color: #0A84FF; }
.shell-menu-item:nth-child(5) .ic { background: rgba(255,100,130,.14); color: #E0456B; }

/* ---------- 快捷面板：毛玻璃底部弹层 ---------- */
.shell-sheet-backdrop {
  position: fixed; inset: 0; z-index: 110; background: rgba(30, 30, 40, .25);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .4s;
}
.shell-sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.shell-sheet {
  position: fixed; left: 50%; bottom: 22px; z-index: 111; width: min(440px, 92vw);
  padding: 10px; border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .06);
  transform: translate(-50%, 140%); transition: transform .55s var(--spring);
}
.shell-sheet.show { transform: translate(-50%, 0); }
.shell-sheet-title { text-align: center; padding: 8px 0 10px; color: #AEAEB2; font-size: 12px; font-weight: 500; }
.shell-sheet-item {
  display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 14px; border-radius: 16px;
  font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--smooth), transform .45s var(--smooth), background .25s;
}
.shell-sheet.show .shell-sheet-item { opacity: 1; transform: none; }
.shell-sheet.show .shell-sheet-item:nth-child(2) { transition-delay: .06s; }
.shell-sheet.show .shell-sheet-item:nth-child(3) { transition-delay: .12s; }
.shell-sheet.show .shell-sheet-item:nth-child(4) { transition-delay: .18s; }
.shell-sheet.show .shell-sheet-item:nth-child(5) { transition-delay: .24s; }
.shell-sheet-item:hover { background: rgba(120, 120, 128, .09); }
.shell-sheet-item:active { transform: scale(.98); }
.shell-sheet-item .ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none;
  font-size: 15px; font-weight: 700;
}
.shell-sheet-item:nth-child(2) .ic { background: rgba(124,108,255,.12); color: #7C6CFF; }
.shell-sheet-item:nth-child(3) .ic { background: rgba(255,159,10,.14); color: #E08600; }
.shell-sheet-item:nth-child(4) .ic { background: rgba(52,199,89,.14); color: #28A745; }
.shell-sheet-item:nth-child(5) .ic { background: rgba(10,132,255,.12); color: #0A84FF; }

/* ---------- 按钮与卡片：弹簧按压 ---------- */
.primary-button {
  background: linear-gradient(135deg, #8B7DFF, #6654E8);
  box-shadow: 0 4px 14px rgba(124, 108, 255, .32);
  border-radius: 12px;
  transition: transform .2s var(--spring), box-shadow .25s, filter .2s;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(124, 108, 255, .4); filter: brightness(1.04); }
.primary-button:active { transform: scale(.96); }
.secondary-button { background: var(--primary-soft); color: var(--primary); border-color: transparent; border-radius: 12px; }
.ghost-button, .icon-button { border-radius: 12px; transition: transform .2s var(--spring), background .2s, border-color .2s; }
.ghost-button:active, .icon-button:active { transform: scale(.92); }

.card, .stat-card, .exam-card, .review-queue, .review-workspace, .summary-strip, .settings-menu {
  border: .5px solid var(--line); border-radius: 16px;
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .05);
}
.exam-card, .stat-card, .workflow-item, .report-item {
  transition: transform .25s var(--spring), box-shadow .3s, border-color .25s, background .2s;
}
.exam-card:hover, .stat-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 44px rgba(0,0,0,.09); }
.dashboard-hero {
  border-radius: 20px;
  background: radial-gradient(circle at 83% 6%, rgba(255, 255, 255, .5), transparent 24%),
    linear-gradient(125deg, #8B7DFF, #6654E8 62%, #5A48E0);
  box-shadow: 0 18px 44px rgba(102, 84, 232, .30);
}
.nav-item { transition: all .28s var(--spring); }
.nav-item:active { transform: scale(.97); }
.nav-item.is-active { font-weight: 600; }
.brand-mark { border-radius: 11px; }
.tabs { border-radius: 12px; }

/* ---------- 弹层浮层 ---------- */
.modal { box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.modal-backdrop { background: rgba(20, 20, 40, .4); backdrop-filter: blur(6px); }
.toast { background: rgba(29, 29, 31, .92); backdrop-filter: blur(12px); border-radius: 999px; }
.mobile-bottom-nav { background: rgba(250, 250, 252, .85); backdrop-filter: blur(24px) saturate(180%); border-top: .5px solid var(--line); }

/* ---------- 阅卷工作台 wb-*：毛玻璃顶栏 + 弹簧 ---------- */
/* v2.13.83 急修：背景必须实心。透明会让外壳页面的横幅/卡片从缝隙透上来，
   工作台内容叠在首页上，整个界面看起来"全乱了"。 */
.wb-root { background: #F5F5F7; }
.wb-top {
  background: rgba(250, 250, 252, .85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: .5px solid var(--line);
}
.wb-nav button { transition: all .28s var(--spring); }
.wb-nav button:active { transform: scale(.95); }
.wb-primary {
  background: linear-gradient(135deg, #8B7DFF, #6654E8);
  box-shadow: 0 4px 14px rgba(124, 108, 255, .32);
  border-radius: 12px;
  transition: transform .2s var(--spring), box-shadow .25s;
}
.wb-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124, 108, 255, .42); }
.wb-primary:active { transform: scale(.96); }
.wb-ghost, .wb-input { border-radius: 12px; }
.wb-icon { border-radius: 10px; transition: transform .2s var(--spring); }
.wb-icon:active { transform: scale(.9); }
.wb-toast { background: rgba(29, 29, 31, .92); backdrop-filter: blur(12px); border-radius: 999px; }
.wb-modal { box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.wb-modal-backdrop { background: rgba(20, 20, 40, .4); backdrop-filter: blur(6px); }
.wb-analysis-card { border: .5px solid var(--line); border-radius: 16px; box-shadow: 0 .5px 2px rgba(0,0,0,.05), 0 10px 28px rgba(0,0,0,.05); }
.wb-grade-tabs button { border-radius: 12px; transition: all .25s var(--spring); }
.wb-student { border-radius: 12px; transition: all .25s var(--spring); }
.wb-student:active { transform: scale(.98); }

@media (max-width: 900px) {
  .shell-menu-btn { display: none; }
}

/* ============================================================
   v2.13.87 批改页动效补丁（2026-10-16）
   修 v2.13.85/86 里"保存下一页"动效不对劲的三个根因：
   ① width/height !important 盖掉 JS 起始宽度 → 收缩跳变（删掉，尺寸全归 JS）
   ② margin: 0 !important 干掉 margin-left:auto → 按钮收缩瞬间往左跳（删掉）
   ③ 尺寸/对勾圆心跟最终圆形对齐；给分板点选高亮；Toast 图标点
   ============================================================ */

/* ---------- 1. 提交链按钮：液态收缩（尺寸由 JS 内联控制） ---------- */
.wb-gp-score .wb-primary {
  transition: width .42s cubic-bezier(.2,.9,.22,1), height .42s cubic-bezier(.2,.9,.22,1),
    border-radius .42s cubic-bezier(.2,.9,.22,1),
    background .3s, box-shadow .3s, transform .2s cubic-bezier(.34,1.36,.5,1);
  overflow: hidden; white-space: nowrap;
}
/* 注意：这里绝不能再写 width/height/margin/padding 的 !important ——
   会盖掉 JS 设的起始宽度（收缩动画直接跳变）和 margin-left:auto（按钮往左跳）。 */
.wb-primary.sm-chaining {
  color: transparent !important; pointer-events: none; position: relative;
  border-radius: 23px !important;
  background: linear-gradient(135deg, #8B7DFF, #6654E8);
  box-shadow: 0 6px 18px rgba(124,108,255,.4);
}
.wb-primary.sm-chaining::before {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 19px; height: 19px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: sm-spin .8s linear infinite;
}
@keyframes sm-spin { to { transform: rotate(360deg); } }

/* 对勾浮出 + 扩散光环 */
.sm-chain-check {
  position: fixed; z-index: 990; width: 46px; height: 46px; border-radius: 50%;
  background: #34C759; display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 8px 24px rgba(52, 199, 89, .45);
}
.sm-chain-ring {
  position: fixed; z-index: 989; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(52, 199, 89, .55); pointer-events: none;
}

/* ---------- 2. 题目/学生切换：左右滑动入 ---------- */
.wb-grade-stage {
  transition: transform .36s cubic-bezier(.32,.72,.27,1), opacity .36s;
  will-change: transform, opacity;
}
.wb-grade-stage.sm-slide-l {
  animation: sm-slide-l .36s cubic-bezier(.32,.72,.27,1) both;
}
.wb-grade-stage.sm-slide-r {
  animation: sm-slide-r .36s cubic-bezier(.32,.72,.27,1) both;
}
@keyframes sm-slide-l {
  0% { transform: translateX(20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes sm-slide-r {
  0% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-grade-stage.sm-slide-l, .wb-grade-stage.sm-slide-r { animation: none; }
}

/* ---------- 3. 步进器 -/+ 触感打磨 ---------- */
.wb-gp-stepbtn {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #6E6E78;
  font-size: 18px; line-height: 1; font-weight: 400; cursor: pointer; padding: 0;
  user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.34,1.36,.5,1),
    background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.wb-gp-stepbtn:hover {
  background: var(--primary-soft); color: var(--accent); border-color: transparent;
  box-shadow: 0 2px 6px rgba(124,108,255,.18);
}
.wb-gp-stepbtn:active { transform: scale(.82); }
/* v2.13.86：减号稍偏上居中（视觉重心对齐数字） */
.wb-gp-stepbtn[data-delta="-0.5"] { font-size: 22px; padding-bottom: 4px; }
.wb-gp-stepbtn[data-delta="0.5"] { font-size: 18px; padding-bottom: 2px; }
.wb-gp-input.sm-pop { animation: sm-pop .36s cubic-bezier(.34,1.36,.5,1); }
@keyframes sm-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ---------- 4. Toast 苹果触感（覆盖原 wb-toast） ----------
   注意：原 toast() 写的是 className = 'wb-toast is-visible ' + type，
   type 是 success/error/info（不是 is-success）。而且元素常驻只切 class，
   所以只能用 transition（animation 只在元素创建时播一次）。 */
.wb-toast {
  background: rgba(20,20,28,.92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.95) !important;
  border: .5px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.18) !important;
  transition: opacity .32s cubic-bezier(.34,1.36,.5,1), transform .32s cubic-bezier(.34,1.36,.5,1) !important;
  display: flex; align-items: center; gap: 9px;
  letter-spacing: -.2px;
  max-width: min(420px, 78vw);
}
.wb-toast.success { background: rgba(20,20,28,.94) !important; }
.wb-toast.error { background: rgba(176,28,46,.94) !important; }
.wb-toast.success::before,
.wb-toast.error::before,
.wb-toast.info::before {
  content: ''; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%;
}
.wb-toast.success::before { background: #34C759; box-shadow: 0 0 8px rgba(52,199,89,.65); }
.wb-toast.error::before { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.5); }
.wb-toast.info::before { background: #7C6CFF; box-shadow: 0 0 8px rgba(124,108,255,.65); }

/* ---------- 5. 整卷查看 macOS sheet（覆盖原弹窗） ---------- */
.wb-modal-backdrop {
  background: rgba(20,20,40,.32) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: sm-fade-in .25s ease both;
}
.wb-modal {
  border-radius: 16px !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.28) !important;
  border: .5px solid rgba(0,0,0,.07);
  animation: sm-sheet-in .42s cubic-bezier(.32,1.04,.32,1) both;
  overflow: hidden;
}
@keyframes sm-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sm-sheet-in {
  0% { transform: translateY(20px) scale(.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ---------- 6. wb-grade-tabs 弹性指示条（接续上次） ---------- */
.wb-grade-tabs { position: relative; }
.wb-grade-tabs button { position: relative; z-index: 1; transition: color .25s; }
.wb-grade-tabs button.is-active,
.wb-grade-tabs button.is-active:hover {
  background: transparent !important; border-color: transparent !important;
  color: var(--accent) !important; box-shadow: none !important;
}
.wb-grade-tabs button.is-active small { color: var(--accent) !important; opacity: .75; }
.wb-tab-ind {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 11px; background: var(--accent-soft); pointer-events: none;
  transition: left .25s cubic-bezier(.32,.72,.27,1), width .25s cubic-bezier(.32,.72,.27,1);
}

/* ============================================================
   v2.13.86 内部页面大改（2026-10-16）
   - 扫描页 dropzone 苹果化（大圆角 + 渐进高亮 + 拖入微动）
   - 流程步骤条（wb-steps）状态色和切换手感
   - 统计数字（wb-stats/wb-scan-stats/wb-analysis-stats）数字进场动效
   - 列表行点击的 tactile 反馈
   - 学生切换器、模板切换器 → 苹果 segmented
   ============================================================ */

/* ---------- 1. dropzone 苹果大圆角拖入区 ---------- */
.wb-scan-dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 160px; padding: 28px 18px; overflow: hidden; margin-bottom: 14px;
  color: #5c5e78; background: linear-gradient(180deg, #FCFBFF, #F5F4FB);
  border: 1.5px dashed #C9C7E2; border-radius: 18px;
  transition: border-color .25s var(--spring), background .25s, transform .25s var(--spring), box-shadow .25s;
}
.wb-scan-dropzone:hover {
  border-color: #B8B4F0;
  box-shadow: 0 6px 18px rgba(124,108,255,.08);
}
.wb-scan-dropzone.is-over {
  border-color: #7C6CFF; border-style: solid;
  background: linear-gradient(180deg, #F1EFFE, #E9E5FD);
  transform: scale(1.005);
  box-shadow: 0 10px 32px rgba(124,108,255,.18);
}
.wb-scan-dropzone b { font-size: 17px; font-weight: 600; }
.wb-scan-dropzone span { margin-top: 6px; color: #8a8c9e; font-size: 12px; }
.wb-scan-dropzone i {
  position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, #7C6CFF, #B5A8FF);
  transition: width .35s cubic-bezier(.3,.9,.3,1);
  border-radius: 0 3px 3px 0;
}

/* ---------- 2. wb-steps 步骤气泡 ---------- */
.wb-steps { display: grid; gap: 4px; margin-bottom: 14px; padding: 14px 16px; background: #fff; border: .5px solid var(--line); border-radius: 14px; box-shadow: 0 .5px 2px rgba(0,0,0,.04); }
.wb-steps span {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 6px 4px; color: #9b9daf; font-size: 13px; line-height: 1.6;
  transition: color .25s, transform .25s var(--spring);
}
.wb-steps span::before {
  content: ''; flex: 0 0 8px; width: 8px; height: 8px;
  border-radius: 50%; background: #DDD9F0;
  transition: background .25s, box-shadow .25s, transform .25s var(--spring);
}
.wb-steps span.is-active { color: #27283e; font-weight: 600; transform: translateX(2px); }
.wb-steps span.is-active::before { background: #7C6CFF; box-shadow: 0 0 0 4px rgba(124,108,255,.15); transform: scale(1.15); }
.wb-steps span.is-done { color: #168f68; }
.wb-steps span.is-done::before { background: #168f68; }

/* ---------- 3. 统计数字：进场上跳 + subtle glow ---------- */
.wb-scan-stats span, .wb-grade-summary span, .wb-analysis-stats span, .wb-stats span {
  padding: 14px 16px; color: #66687c; background: #fff;
  border: .5px solid var(--line); border-radius: 14px; font-size: 11px;
  transition: transform .28s var(--spring), box-shadow .28s;
  box-shadow: 0 .5px 2px rgba(0,0,0,.04);
}
.wb-scan-stats span:hover, .wb-grade-summary span:hover, .wb-analysis-stats span:hover, .wb-stats span:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.wb-scan-stats b, .wb-grade-summary b, .wb-analysis-stats b, .wb-stats b {
  display: block; margin-top: 3px; color: #292a44; font-size: 22px; font-weight: 600;
  letter-spacing: -.4px;
  animation: sm-stats-in .55s cubic-bezier(.3,.9,.3,1) both;
}
@keyframes sm-stats-in {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- 4. 列表行点击动效（学生列表/分数分布） ---------- */
.wb-class-block, .wb-grade-empty, .wb-grade-list > *, .wb-grade-item, .wb-student-list > *, .wb-analysis-table tbody tr {
  transition: background-color .2s, transform .15s var(--spring), box-shadow .2s;
}
.wb-analysis-table tbody tr:hover { background: #FAFAFD; }

/* ---------- 5. 按钮/胶囊统一苹果触感 ---------- */
button { transition: transform .18s cubic-bezier(.34,1.36,.5,1), box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
button:active { transform: scale(.97); }
.wb-primary:active { transform: scale(.97) translateY(0); }
.wb-link:active { transform: scale(.95); }

/* ---------- 6. wb-grade-tabs padding 收紧 ---------- */
.wb-grade-tabs { padding: 4px; gap: 2px; }
.wb-grade-tabs button { padding: 8px 14px; border-radius: 10px; }

/* ---------- 7. 整卷查看 sheet 风格（额外：右侧抽屉效果） ---------- */
.wb-modal { max-width: min(880px, 86vw); }
.wb-modal-head {
  padding: 14px 18px !important; border-bottom: .5px solid var(--line) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,250,253,.85));
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
}
.wb-modal-head h3 { font-size: 16px !important; font-weight: 600 !important; letter-spacing: -.2px; }

/* ---------- 8. 顶部答题卡下拉、班级 chip 等选择器 ---------- */
.wb-input, .wb-primary.wb-input { transition: border-color .2s, box-shadow .2s; }
.wb-input:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(124,108,255,.18) !important;
}

/* ---------- 9. 进度环（如果上传/处理中有进度环） ---------- */
.wb-scan-dropzone i { position: relative; }
.wb-scan-dropzone i::after {
  content: ''; position: absolute; right: -1px; top: -2px; width: 8px; height: 8px;
  background: radial-gradient(circle, rgba(124,108,255,.4), transparent 70%);
  border-radius: 50%; pointer-events: none;
}

/* ---------- 10. 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .wb-primary:active, button:active, .wb-gp-stepbtn:active { transform: none; }
  .wb-grade-stage.sm-slide-l, .wb-grade-stage.sm-slide-r { animation: none; }
  .wb-scan-stats b, .wb-grade-summary b { animation: none; }
}

/* ============================================================
   v2.13.87 增补（2026-10-16）
   - 给分板数字按钮苹果化 + 点选高亮（is-picked）
   - 缩放比例 / 分数框 pop 动画
   - 键盘提示条
   - 评语折叠展开
   ============================================================ */

/* ---------- 1. 给分板数字按钮 ---------- */
.wb-score-btn {
  min-width: 46px; padding: 9px 2px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: #26215c;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.36,.5,1),
    background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.wb-score-btn:hover {
  border-color: var(--accent); background: var(--primary-soft); color: var(--accent);
  box-shadow: 0 3px 10px rgba(124,108,255,.16);
}
.wb-score-btn:active { transform: scale(.9); }
.wb-score-btn.is-picked {
  background: var(--accent); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(124,108,255,.35);
}
.wb-score-btn.is-picked:hover { background: var(--primary-dark); color: #fff; }
.wb-score-btn.sm-pop { animation: sm-pop .36s cubic-bezier(.34,1.36,.5,1); }

/* ---------- 2. pop 通用（缩放比例数字） ---------- */
.wb-gi-zoom b { display: inline-block; }
.wb-gi-zoom b.sm-pop,
#wb-zoom-badge.sm-pop { animation: sm-pop .36s cubic-bezier(.34,1.36,.5,1); }
@keyframes sm-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ---------- 3. 键盘提示条 ---------- */
.wb-gp-kbd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 8px 0 2px; padding: 8px 12px;
  color: #8A8C9E; background: #FAFAFD;
  border: .5px solid var(--line); border-radius: 10px;
  font-size: 11px; line-height: 1.6;
}
.wb-gp-kbd kbd {
  display: inline-block; padding: 1px 6px;
  color: #5C5E78; background: #fff;
  border: .5px solid var(--line-strong, #E3E0EF);
  border-bottom-width: 1.5px; border-radius: 5px;
  font-family: inherit; font-size: 10px; font-weight: 600;
}

/* ---------- 4. 评语折叠展开 ---------- */
.wb-gp-more summary {
  cursor: pointer; color: #6E6E78; font-size: 12px;
  transition: color .2s;
}
.wb-gp-more summary:hover { color: var(--accent); }
.wb-gp-more[open] summary { color: var(--accent); margin-bottom: 6px; }
.wb-gp-more[open] .wb-input {
  animation: sm-fade-up .3s cubic-bezier(.32,.72,.27,1) both;
}
@keyframes sm-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 5. 空状态/占位卡入场 ---------- */
.wb-placeholder {
  animation: sm-fade-up .42s cubic-bezier(.32,.72,.27,1) both;
}

/* ---------- 6. 给分板整行在 chain 收缩时保持右对齐稳定（保险） ---------- */
.wb-gp-score { min-height: 46px; }

/* ============================================================
   v2.13.88 考试流程步骤条 —— 恢复一排（2026-10-16）
   根因：v2.13.86 给扫描页引导（.wb-steps）重做竖排圆点样式时，
   选择器漏进了考试流程条（.wb-steps.wb-flow-steps 共用 .wb-steps 类）——
   后写的 display:grid 盖掉了流程条自己的 display:flex（第 534 行），
   再叠上第 149 行 / 980px 媒体查询的 grid-template-columns，
   流程条变成了 3/6 列表格。
   这里用双类选择器（优先级更高）把流程条钉死成一排。
   ============================================================ */

.wb-steps.wb-flow-steps {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.wb-steps.wb-flow-steps::-webkit-scrollbar { display: none; }
.wb-steps.wb-flow-steps span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  white-space: nowrap;
  transform: none;
}
/* v2.13.86 的竖排圆点只属于扫描页引导，流程条徽章用自带的 <i> */
.wb-steps.wb-flow-steps span::before { content: none !important; }
.wb-steps.wb-flow-steps span.is-active {
  color: #fff !important;
  font-weight: 700;
  background: #4f46c8;
  border-color: #4f46c8;
}
.wb-steps.wb-flow-steps span.is-active i { color: #fff; background: rgba(255,255,255,.28); }
.wb-steps.wb-flow-steps span.is-done { color: #147a5d; font-weight: 400; }
.wb-steps.wb-flow-steps .wb-step-arrow { flex: 0 0 auto; }
@media (max-width: 980px) {
  .wb-steps.wb-flow-steps { justify-content: flex-start; }
}

/* ============================================================
   v2.13.89 成绩分析页 + 全局表格精修（2026-10-16）
   - 排行榜前三名金银铜圆徽章
   - 全校/文理榜、总分/客观/主观 切换改苹果 segmented 分段控件
   - 统计卡 6 张放得下一行（auto-fit），标签数字层级
   - 表格斑马纹 + 悬停高亮 + 表头毛玻璃
   - 图表卡入场错峰
   ============================================================ */

/* ---------- 1. 排行榜名次徽章（前三名金银铜） ---------- */
.wb-rank-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 4px;
  border-radius: 999px; background: #F0EFFA; color: #6654E8;
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.wb-rank-table tbody tr:nth-child(1) .wb-rank-n {
  background: linear-gradient(135deg, #FFD666, #E6A700); color: #fff;
  box-shadow: 0 2px 8px rgba(230, 167, 0, .35);
}
.wb-rank-table tbody tr:nth-child(2) .wb-rank-n {
  background: linear-gradient(135deg, #D3D9E3, #9AA3B5); color: #fff;
  box-shadow: 0 2px 8px rgba(154, 163, 181, .35);
}
.wb-rank-table tbody tr:nth-child(3) .wb-rank-n {
  background: linear-gradient(135deg, #F0B083, #C77B42); color: #fff;
  box-shadow: 0 2px 8px rgba(199, 123, 66, .35);
}

/* ---------- 2. 苹果 segmented 分段控件 ---------- */
.wb-segmented {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; background: #ECECF1; border-radius: 10px;
}
.wb-segmented button {
  padding: 6px 16px; border: 0; border-radius: 8px;
  background: transparent; color: #5C5E78; font-size: 12.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .18s cubic-bezier(.34,1.36,.5,1);
}
.wb-segmented button:hover { color: #27283e; }
.wb-segmented button:active { transform: scale(.96); }
.wb-segmented button.is-on {
  background: #fff; color: #27283e; font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04);
}
/* v2.20.6：学生成绩页的"班级"切换器 —— 和左边分段控件同一套观感，
   别让它像个裸下拉框（原来班级选择器塞在页面最下面那张卡里，100 多人的全校榜根本滚不到） */
.wb-rank-toolbar { align-items: center; flex-wrap: wrap; }
.wb-rank-picker { display: inline-flex; align-items: center; gap: 7px; color: #85879b; font-size: 12px; }
.wb-rank-picker > span { white-space: nowrap; }
.wb-rank-picker select.wb-input {
  min-width: 176px; padding: 6px 11px; font-size: 12.5px;
  background: #fff; border: 1px solid #e2e2ec; border-radius: 10px;
}
.wb-rank-picker select.wb-input:focus { outline: none; border-color: #4f46c8; box-shadow: 0 0 0 3px rgba(79,70,200,.12); }

/* ---------- 3. 统计卡：6 张一行放下 + 标签层级 ---------- */
.wb-scan-stats, .wb-grade-summary, .wb-analysis-stats {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
}
.wb-scan-stats small, .wb-grade-summary small, .wb-analysis-stats small {
  display: block; color: #8A8C9E; font-size: 11px; letter-spacing: .2px;
}
.wb-scan-stats b, .wb-grade-summary b, .wb-analysis-stats b {
  margin-top: 5px; font-variant-numeric: tabular-nums;
}

/* ---------- 4. 全局表格：斑马纹 + 悬停 + 表头 ---------- */
.wb-table tbody tr { transition: background-color .15s; }
.wb-table tbody tr:nth-child(even) { background: #FCFCFE; }
.wb-table tbody tr:hover { background: #F5F4FB; }
.wb-table tbody tr:hover td { background: transparent; }
.wb-table th {
  font-weight: 600; letter-spacing: .3px;
  box-shadow: inset 0 -.5px 0 var(--line);
}
.wb-table td { font-variant-numeric: tabular-nums; }
.wb-table tr.is-done td { background: #F2FBF6; }
.wb-table tr.is-done:hover td { background: #EBF7F0; }
.wb-table tbody tr.is-bad { background: #FFF8F7; }
.wb-table tbody tr.is-bad:hover { background: #FFF1EE; }
.wb-table-wrap {
  border: .5px solid var(--line); border-radius: 14px;
  box-shadow: 0 .5px 2px rgba(0,0,0,.04);
}

/* ---------- 5. 分析卡入场错峰 ---------- */
.wb-analysis-grid .wb-analysis-card { animation: sm-fade-up .45s cubic-bezier(.32,.72,.27,1) both; }
.wb-analysis-grid .wb-analysis-card:nth-child(2) { animation-delay: .06s; }
.wb-analysis-grid .wb-analysis-card:nth-child(3) { animation-delay: .12s; }
.wb-analysis-stats span { animation: sm-fade-up .4s cubic-bezier(.32,.72,.27,1) both; }
.wb-analysis-stats span:nth-child(2) { animation-delay: .04s; }
.wb-analysis-stats span:nth-child(3) { animation-delay: .08s; }
.wb-analysis-stats span:nth-child(4) { animation-delay: .12s; }
.wb-analysis-stats span:nth-child(5) { animation-delay: .16s; }
.wb-analysis-stats span:nth-child(6) { animation-delay: .2s; }

/* ---------- 6. 工具条（导出按钮那排） ---------- */
.wb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- 7. 减少动画偏好兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
  .wb-analysis-grid .wb-analysis-card, .wb-analysis-stats span { animation: none; }
}

/* ---------- 8. 答题卡编辑页（只做静态精修，不加入场动画 —— 这页会频繁局部重画） ---------- */
.wb-card-settings, .wb-card-preview, .wb-card-sections {
  border: .5px solid var(--line);
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .04);
}
.wb-map-grid > * { transition: transform .2s cubic-bezier(.34,1.36,.5,1), box-shadow .2s; }
.wb-map-grid > *:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* ---------- 9. 考场编排卡片 ---------- */
.wb-room { border-radius: 14px; border: .5px solid var(--line); transition: box-shadow .2s; }
.wb-room:hover { box-shadow: 0 8px 22px rgba(40, 42, 75, .1); }

/* ---------- 10. 扫描页 手机上传 / 摄像头卡片 ---------- */
.wb-lan-card, .wb-cam-card { border-radius: 16px; }
.wb-cam-card { border: .5px solid var(--line); box-shadow: 0 .5px 2px rgba(0, 0, 0, .04); }

/* ============================================================
   v2.13.91 全局细节收尾（2026-10-16）
   - 全站细滚动条（苹果风）
   - 阅卷任务卡：悬停浮起 + 进度条渐变 + 入场错峰
   - 重扫提醒、流程 hero 轻精修
   - 键盘焦点环（focus-visible）
   ============================================================ */

/* ---------- 1. 全站细滚动条 ---------- */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: rgba(60, 60, 80, .16); border-radius: 99px;
  border: 3px solid transparent; background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: rgba(60, 60, 80, .3); }
*::-webkit-scrollbar-track { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(60,60,80,.2) transparent; }

/* ---------- 2. 阅卷任务卡 ---------- */
.wb-task-card {
  border: .5px solid var(--line);
  transition: transform .22s cubic-bezier(.34,1.36,.5,1), box-shadow .22s;
  animation: sm-fade-up .45s cubic-bezier(.32,.72,.27,1) both;
}
.wb-task-card:nth-child(2) { animation-delay: .05s; }
.wb-task-card:nth-child(3) { animation-delay: .1s; }
.wb-task-card:nth-child(4) { animation-delay: .15s; }
.wb-task-card:nth-child(n+5) { animation-delay: .2s; }
.wb-task-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(38, 40, 70, .1); }
.wb-task-bar { height: 7px; }
.wb-task-bar i {
  background: linear-gradient(90deg, #8B7DFF, #6654E8);
  border-radius: 99px;
  transition: width .6s cubic-bezier(.3,.9,.3,1);
}
.wb-task-card.is-done .wb-task-bar i { background: linear-gradient(90deg, #34d399, #10b981); }

/* ---------- 3. 重扫提醒 ---------- */
.wb-rescan-box { border: .5px solid #F5CEC6; border-radius: 16px; }
.wb-rescan-item { transition: background-color .15s; border-radius: 8px; }
.wb-rescan-item:hover { background: rgba(255, 255, 255, .6); }

/* ---------- 4. 考试流程 hero / 面包屑 ---------- */
.wb-flow-hero { border-radius: 20px; box-shadow: 0 12px 32px rgba(64, 56, 168, .25); }
.wb-flow-hero b { letter-spacing: -.2px; }

/* ---------- 5. 键盘焦点环（Tab 导航可见，鼠标点击不出现） ---------- */
.wb-root :focus-visible, .wb-root button:focus-visible, .wb-root input:focus-visible {
  outline: 2px solid rgba(124, 108, 255, .55);
  outline-offset: 2px;
  border-radius: 8px;
}
.wb-root input:focus-visible { outline-offset: 0; }

/* ---------- 6. 空状态 ---------- */
.wb-empty { color: #9B9DAF; letter-spacing: .2px; }

/* ---------- 7. 减少动画兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
  .wb-task-card { animation: none; }
}

/* ============================================================
   v2.13.92 考场编排浮层 · 苹果风精修（2026-10-16）
   - 顶栏深紫 → 浅色毛玻璃（和全站一个气质）
   - 列表页签 → segmented 分段控件
   - 学生卡 / 课桌：悬停浮起、拖拽倾斜、拖入放大
   - 候选区拖入高亮（原来只有课桌有）
   - 编排提示 toast → 毛玻璃胶囊
   ============================================================ */

/* ---------- 1. 浮层入场 ---------- */
.wb-rooms-overlay.is-open { animation: sm-fade-up .38s cubic-bezier(.32,.72,.27,1) both; }

/* ---------- 2. 顶栏浅色毛玻璃 ---------- */
.wb-rooms-topbar {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: .5px solid var(--line);
  color: #27283e;
}
.wb-rooms-topbar b { color: #27283e; letter-spacing: -.2px; }
.wb-rooms-topbar .wb-rooms-msg { color: #B45309; background: #FFF7E8; border: .5px solid #F2D9A6; border-radius: 999px; padding: 3px 10px; }
.wb-rooms-topbar .wb-rooms-mode { color: #6E6E78; }
.wb-rooms-topbar select { border-radius: 8px; }

/* ---------- 3. 左侧页签 segmented ---------- */
.wb-rooms-tabs {
  background: #ECECF1; border-radius: 10px;
  margin: 10px 12px 8px; padding: 3px; gap: 2px;
}
.wb-rooms-tabs button {
  flex: 1; padding: 6px 10px; border: 0; border-radius: 8px;
  background: transparent; color: #5C5E78; font-size: 12.5px; font-weight: 500;
  transition: background .2s, color .2s, box-shadow .2s;
}
.wb-rooms-tabs button.is-active {
  background: #fff; color: #27283e; font-weight: 600;
  border-color: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04);
}

/* ---------- 4. 班级 chip ---------- */
.wb-class-chip {
  border-radius: 999px; padding: 4px 12px;
  border: .5px solid var(--line-strong, #E3E0EF);
  transition: background .2s, color .2s, border-color .2s, transform .18s cubic-bezier(.34,1.36,.5,1);
}
.wb-class-chip:hover { transform: translateY(-1px); }
.wb-class-chip:active { transform: scale(.94); }
.wb-class-chip.is-active { background: var(--accent); border-color: var(--accent); box-shadow: 0 3px 10px rgba(124, 108, 255, .3); }

/* ---------- 5. 候选学生卡 ---------- */
.wb-stu-card {
  border-radius: 12px; border: .5px solid var(--line-strong, #E3E0EF);
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .04);
  transition: transform .18s cubic-bezier(.34,1.36,.5,1), box-shadow .2s,
    border-color .2s, background .2s, opacity .2s;
}
.wb-stu-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .09); border-color: #B8B4F0; }
.wb-stu-card.is-selected {
  border-color: var(--accent); background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(124, 108, 255, .18);
}
.wb-stu-card.is-dragging { opacity: .45; transform: scale(.96) rotate(-1.5deg); }
.wb-stu-card.is-seated:hover { transform: none; box-shadow: none; }

/* ---------- 6. 课桌（座位） ---------- */
.wb-desk { border-radius: 12px; transition: border-color .18s, background .18s, transform .18s cubic-bezier(.34,1.36,.5,1), box-shadow .18s; }
.wb-desk.is-over {
  border-color: var(--accent); border-style: solid;
  background: var(--primary-soft);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(124, 108, 255, .22);
}
.wb-desk.is-occupied {
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 2px 8px rgba(40, 42, 75, .1), 0 0 0 .5px rgba(0, 0, 0, .05);
}
.wb-desk.is-occupied:hover { box-shadow: 0 4px 14px rgba(40, 42, 75, .16); }
.wb-desk-kick { transition: transform .15s cubic-bezier(.34,1.36,.5,1), background .15s; }
.wb-desk-kick:hover { transform: scale(1.2); background: #d33f49; }
.wb-desk-kick:active { transform: scale(.9); }

/* ---------- 7. 候选区拖入高亮（v2.13.92 新增能力） ---------- */
.wb-rooms-cards.is-over { background: #F1EFFE; box-shadow: inset 0 0 0 2px rgba(124, 108, 255, .35); border-radius: 10px; }

/* ---------- 8. 编排提示 toast ---------- */
.wb-rooms-toast {
  background: rgba(20, 20, 28, .92);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-radius: 999px;
  border: .5px solid rgba(255, 255, 255, .08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  font-weight: 500;
  transition: opacity .32s cubic-bezier(.34,1.36,.5,1), transform .32s cubic-bezier(.34,1.36,.5,1);
}

/* ---------- 9. 考场卡片本身 ---------- */
.wb-rooms-area { background: transparent; }
.wb-room { border: .5px solid var(--line); border-radius: 16px; }
.wb-rooms-overlay .wb-room-side { color: #A0A2B5; border-color: #F0F0F5; }
.wb-desk span { color: #C0C2D2; }

/* ---------- 10. 减少动画兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
  .wb-rooms-overlay.is-open { animation: none; }
  .wb-stu-card.is-dragging { transform: none; }
  .wb-desk.is-over { transform: none; }
}

/* ============================================================
   v2.13.93 保存链收尾 + 点图给分图层修复（2026-10-16）
   - 保存完成后给"下一份"的新按钮一个绿色确认环（替代砸在新按钮上的对钩）
   - .wb-click-layer/.wb-fill-layer 尺寸由 JS 同步成图片实际大小（缩放后右侧可点）
   ============================================================ */

/* 新按钮"刚保存过"绿色确认环 */
.wb-primary.sm-just-saved {
  animation: sm-just-saved .9s cubic-bezier(.3, .9, .3, 1) both;
}
@keyframes sm-just-saved {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .65), 0 4px 14px rgba(124, 108, 255, .32); }
  70% { box-shadow: 0 0 0 12px rgba(52, 199, 89, 0), 0 4px 14px rgba(124, 108, 255, .32); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0), 0 4px 14px rgba(124, 108, 255, .32); }
}

/* v2.13.96：对钩长在按钮自己身上（转绿 + 白勾），不再浮在页面上 */
.wb-primary.sm-checked {
  background: #34C759 !important;
  box-shadow: 0 6px 18px rgba(52, 199, 89, .42) !important;
}
.wb-primary.sm-checked::before { display: none !important; }
.sm-check-svg {
  position: absolute; inset: 0; margin: auto;
  animation: sm-check-in .28s cubic-bezier(.34,1.36,.5,1) both;
}
@keyframes sm-check-in {
  0% { transform: scale(.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 图层尺寸由 JS 内联控制（width/height 像素值），这里只保证不溢出裁切 */
.wb-click-wrap, .wb-fill-wrap { /* wrap 保持 inline-block，不动 */ }

/* ============================================================
   v2.13.94 「我的考试」列表重设计（2026-10-16）
   依据 Ardot 设计稿：
   - 扁平行恢复成独立卡片（18px 圆角 + 发丝边 + 悬浮影）
   - 学科徽章（渐变方块首字，分科配色）替代小圆点
   - 进度关改分段药丸（完成绿 / 进行紫 / 未开始灰）
   - 多科联考组：删掉树状连接线（trunk 竖线 / branch 横线），
     编排考场改全组共用浅紫条，科目行改浅底圆角行 + 科目 chip
   ============================================================ */

/* ---------- 1. 卡片盒子恢复 ---------- */
.wb-exam-grid { gap: 14px !important; }
.wb-exam-card {
  background: #fff !important;
  border: 1px solid #E8E8ED !important;
  border-top: 1px solid #E8E8ED !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
  padding: 18px 20px 16px !important;
  transition: box-shadow .22s, transform .22s cubic-bezier(.34,1.36,.5,1);
}
.wb-exam-card:hover { box-shadow: 0 8px 24px rgba(29, 29, 31, .08) !important; transform: translateY(-1px); }
.wb-exam-card.is-current {
  border-color: #C9C2F8 !important;
  border-top-color: #C9C2F8 !important;
  box-shadow: 0 0 0 3px rgba(124,108,255,.12), 0 1px 2px rgba(0,0,0,.04) !important;
}
.wb-exam-card[data-fold-key] > header { cursor: pointer; user-select: none; }
.wb-exam-card > header { align-items: center !important; gap: 14px; }
.wb-exam-title { flex: 1; min-width: 0; }
.wb-exam-title b { font-size: 16px !important; letter-spacing: -.2px; }
.wb-exam-title span { margin-top: 5px !important; font-size: 12.5px !important; }

/* ---------- 2. 学科徽章 ---------- */
.wb-exam-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 700; font-style: normal;
  background: linear-gradient(135deg, #8B7DFF, #6654E8);
  box-shadow: 0 4px 12px rgba(102, 84, 232, .28);
  user-select: none;
}
.wb-exam-ico[data-subject="语文"] { background: linear-gradient(135deg, #FFB25C, #F07C1B); box-shadow: 0 4px 12px rgba(240, 124, 27, .28); }
.wb-exam-ico[data-subject="英语"] { background: linear-gradient(135deg, #6FA9FF, #2F6BD8); box-shadow: 0 4px 12px rgba(47, 107, 216, .28); }
.wb-exam-ico[data-subject="物理"] { background: linear-gradient(135deg, #43D596, #0E9A60); box-shadow: 0 4px 12px rgba(14, 154, 96, .28); }
.wb-exam-ico[data-subject="化学"] { background: linear-gradient(135deg, #3BD4B4, #0E8A70); box-shadow: 0 4px 12px rgba(14, 138, 112, .28); }
.wb-exam-ico[data-subject="生物"] { background: linear-gradient(135deg, #B4D95E, #6E9E1F); box-shadow: 0 4px 12px rgba(110, 158, 31, .28); }
.wb-exam-ico[data-subject="政治"], .wb-exam-ico[data-subject="历史"], .wb-exam-ico[data-subject="地理"] {
  background: linear-gradient(135deg, #A08BFF, #6E51D9); box-shadow: 0 4px 12px rgba(110, 81, 217, .28);
}
.wb-exam-ico.is-group { background: linear-gradient(135deg, #FFB25C, #F0632F); box-shadow: 0 4px 12px rgba(240, 99, 47, .28); }

/* 年级徽章降调：紫底白字 → 浅紫底紫字 */
.wb-grade-badge {
  color: #6654E8 !important;
  background: #EFEDFF !important;
  font-size: 11.5px !important; font-weight: 600 !important; letter-spacing: 0 !important;
  padding: 2px 9px !important;
}
.wb-exam-now {
  color: #6654E8 !important;
  background: #EFEDFF; border-radius: 999px; padding: 2px 9px; font-weight: 600 !important; font-size: 11.5px !important;
}

/* ---------- 3. 进度关：分段药丸 ---------- */
.wb-gate-row { gap: 8px !important; }
.wb-gate-row li {
  justify-content: center !important;
  padding: 11px 10px !important;
  background: #F5F5F7 !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  transition: background .2s, transform .18s cubic-bezier(.34,1.36,.5,1);
}
.wb-gate-row li:hover { background: #EDEDF2 !important; transform: translateY(-1px); }
.wb-gate-row li i {
  width: 16px !important; height: 16px !important; line-height: 16px !important; font-size: 10px !important;
  background: transparent !important; color: #A9A9B2 !important;
}
.wb-gate-row li b { font-size: 12.5px !important; color: #6E6E73 !important; }
.wb-gate-row li.is-done { background: #E9F9F1 !important; border-color: transparent !important; }
.wb-gate-row li.is-done i { color: #1D9E63 !important; font-weight: 700; }
.wb-gate-row li.is-done b { color: #0F7A4D !important; }
.wb-gate-row li.is-done:hover { background: #DFF3E8 !important; }

/* ---------- 4. 多科联考组：砍掉树状连接线 ---------- */
.wb-tree-trunk { margin-left: 0 !important; padding-left: 0 !important; }
.wb-tree-trunk::before { display: none !important; content: none !important; }
.wb-tree-branches { margin-left: 0 !important; gap: 8px !important; }
.wb-tree-branch::before { display: none !important; content: none !important; }
.wb-tree-branch {
  background: #FAFAFC !important;
  border: 1px solid #EFEFF3 !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.wb-tree-branch:hover { background: #fff; box-shadow: 0 4px 14px rgba(29, 29, 31, .07); border-color: #E4E0FA; }
.wb-tree-branch.is-done { background: #F2FBF6 !important; border-color: #D9F0E4 !important; }
.wb-tree-branch.is-doing { border-color: #E4E0FA !important; }

/* 编排考场共享条：虚线框 → 浅紫实底条 */
.wb-tree-root-node {
  background: #F1EFFE !important;
  border: 1px solid #E4E0FA !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
}
.wb-shared-pill {
  flex: none; display: inline-flex; align-items: center;
  padding: 3px 10px; background: #fff; color: #6654E8;
  border-radius: 999px; font-size: 11px; font-weight: 600; font-style: normal;
}

/* 科目 chip（分科配色） */
.wb-tree-subject {
  flex: none; min-width: 52px; text-align: center;
  padding: 4px 0; border-radius: 8px;
  background: #EFEDFF; color: #6654E8;
}
.wb-tree-subject b { font-size: 12.5px !important; color: inherit !important; }
.wb-tree-subject[data-subject="语文"] { background: #FFF3E8; color: #C77414; }
.wb-tree-subject[data-subject="英语"] { background: #E7F0FF; color: #2F6BD8; }
.wb-tree-subject[data-subject="物理"] { background: #E5F7EE; color: #149A64; }
.wb-tree-subject[data-subject="化学"] { background: #E0F5F0; color: #0E8A70; }
.wb-tree-subject[data-subject="生物"] { background: #ECF7E0; color: #5C8F1E; }
.wb-tree-subject[data-subject="政治"], .wb-tree-subject[data-subject="历史"], .wb-tree-subject[data-subject="地理"] { background: #F0EAFE; color: #6E51D9; }

/* 科目步骤箭头淡出（替代原连接线的方向感） */
.wb-tree-arrow { color: #D5D5DC !important; font-size: 10px !important; }

/* ---------- 5. 减少动画兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
  .wb-exam-card, .wb-gate-row li { transition: none; }
}

/* ============================================================
   v2.13.95 批改按钮防截断 + 名单页统计 chip（2026-10-16）
   - 给分板太窄时「保存并下一份」按钮换行独占一行，文字不再被裁
   - 第 1 步学生名单：统计改单行 chip，点击展开各班人数
   ============================================================ */

/* ---------- 1. 保存按钮：不许被压缩截断，放不下就换行 ---------- */
.wb-gp-score { flex-wrap: wrap; }
.wb-gp-score .wb-primary { flex: none; }
.wb-gp-score .wb-gp-stepbtn { flex: none; }
.wb-gp-score .wb-gp-input { flex: 1 1 64px; min-width: 56px; }

/* ---------- 2. 名单页统计 chip（单行、可点展开） ---------- */
.wb-stat-inline-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-stat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 18px; background: #fff;
  border: .5px solid var(--line); border-radius: 14px;
  color: #6E6E78; font-size: 13px; cursor: pointer;
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .04);
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.34,1.36,.5,1), box-shadow .2s, border-color .2s;
}
.wb-stat-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .07); border-color: #D8D4F5; }
.wb-stat-chip:active { transform: scale(.97); }
.wb-stat-chip b { color: #1D1D1F; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wb-stat-caret { font-style: normal; font-size: 10px; color: #A9A9B2; transition: transform .2s; }
.wb-class-breakdown { margin-top: 10px; }
.wb-class-breakdown[hidden] { display: none !important; }
.wb-class-breakdown .wb-hint {
  padding: 10px 14px; background: #FAFAFD;
  border: .5px solid var(--line); border-radius: 10px;
  animation: sm-fade-up .3s cubic-bezier(.32,.72,.27,1) both;
}

/* ============ v2.14.0 门厅：问候 + 最该做的事 + 考试简表 ============ */
.wb-lobby-greet{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:26px 4px 18px}
.wb-lobby-greet b{font-size:26px;font-weight:700;letter-spacing:.5px}
.wb-lobby-greet p{color:#9ca3af;font-size:13.5px;margin-top:4px}
.wb-lobby-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#6c5ce7,#8e7cf3);color:#fff;border-radius:18px;padding:22px 26px;box-shadow:0 12px 28px rgba(108,92,231,.22);animation:wbLobbyRise .45s ease both}
.wb-lobby-hero.is-idle{background:#fff;color:#111827;border:1px solid #e5e7eb;box-shadow:none}
.wb-lobby-kicker{font-size:12px;letter-spacing:2px;opacity:.8}
.wb-lobby-hero-txt b{display:block;font-size:19px;margin-top:4px}
.wb-lobby-hero-txt p{font-size:13px;opacity:.85;margin-top:5px}
.wb-lobby-hero .wb-primary{background:#fff;color:#6c5ce7;flex:none}
.wb-lobby-head{display:flex;justify-content:space-between;align-items:center;margin:26px 4px 10px;color:#9ca3af;font-size:12.5px}
.wb-lobby-head b{font-size:15px;color:#111827}
.wb-lobby-list{display:flex;flex-direction:column;gap:10px}
.wb-lobby-row{border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;transition:box-shadow .2s}
.wb-lobby-row:hover{box-shadow:0 6px 18px rgba(17,24,39,.06)}
.wb-lobby-row.is-current{border-color:#c7d2fe}
.wb-lobby-row>header{display:flex;align-items:center;gap:14px;padding:14px 18px;cursor:pointer;user-select:none}
.wb-lobby-ico{flex:none;width:36px;height:36px;border-radius:10px;background:#eef2ff;color:#6c5ce7;font-style:normal;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:15px}
.wb-lobby-name{min-width:0;flex:1}
.wb-lobby-name b{font-size:15px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-lobby-name span{font-size:12.5px;color:#9ca3af}
.wb-lobby-mini{flex:none;display:flex;gap:4px}
.wb-lobby-mini i{width:16px;height:5px;border-radius:99px;background:#e5e7eb;transition:background .3s}
.wb-lobby-mini i.is-done{background:#6c5ce7}
.wb-lobby-caret{flex:none;color:#c7cbd4;transition:transform .25s ease;font-style:normal;font-size:16px}
.wb-lobby-row:not(.is-collapsed) .wb-lobby-caret{transform:rotate(90deg)}
.wb-lobby-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.wb-lobby-row:not(.is-collapsed) .wb-lobby-body{grid-template-rows:1fr}
.wb-lobby-inner{overflow:hidden;min-height:0}
.wb-lobby-rooms{display:flex;align-items:center;gap:10px;background:#f8f9fc;border:1px dashed #e0e3ec;border-radius:10px;padding:9px 14px;margin:10px 18px 10px 68px;font-size:13px}
.wb-lobby-rooms b{color:#374151;flex:none}
.wb-lobby-rooms span{color:#9ca3af;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-lobby-branch{display:flex;align-items:center;gap:10px;padding:8px 18px 8px 68px;border-top:1px solid #f3f4f6}
.wb-lobby-subject{flex:none;width:42px;font-size:12.5px;font-weight:700;color:#4b5563}
.wb-lobby-chips{flex:1;display:flex;gap:6px;flex-wrap:wrap;min-width:0;margin:8px 18px 0 68px}
.wb-lobby-branch .wb-lobby-chips{margin:0;flex:1}
.wb-lobby-chip{display:inline-flex;align-items:center;gap:5px;border:none;background:#f3f4f6;color:#6b7280;border-radius:999px;padding:4px 11px;font-size:12px;cursor:pointer;transition:background .2s}
.wb-lobby-chip:hover{background:#eceef3}
.wb-lobby-chip i{font-style:normal;font-weight:700;color:#fff;background:#d1d5db;border-radius:50%;width:14px;height:14px;font-size:9px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.wb-lobby-chip.is-done{background:#eef2ff;color:#4f46e5}
.wb-lobby-chip.is-done i{background:#6c5ce7}
.wb-lobby-chip em{font-style:normal;color:#9ca3af;font-size:11px}
.wb-lobby-chip.is-warn{background:#fffbeb;color:#b45309}
.wb-lobby-chip.is-warn i{background:#f59e0b}
.wb-lobby-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px;margin:10px 18px 14px 68px;border-top:1px solid #f3f4f6}
.wb-card-bind .wb-hint{margin-top:6px}
@keyframes wbLobbyRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ============ v2.14.0 编排考场：打印▾菜单 + 榜单设置折叠 ============ */
.wb-rooms-printbar{position:relative;display:flex;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid #eceef3;background:#fbfbfd}
.wb-rooms-printmenu{position:absolute;top:calc(100% - 2px);right:12px;z-index:20;min-width:250px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 14px 34px rgba(17,24,39,.14);padding:8px;animation:wbMenuPop .22s cubic-bezier(.2,.9,.3,1.2) both}
.wb-rooms-menu-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12.5px;color:#6b7280;padding:6px 8px 10px;border-bottom:1px solid #f3f4f6;margin-bottom:6px}
.wb-rooms-menu-item{display:block;width:100%;text-align:left;border:none;background:none;font-size:13.5px;color:#374151;padding:9px 10px;border-radius:8px;cursor:pointer}
.wb-rooms-menu-item:hover{background:#eef2ff;color:#4f46e5}
@keyframes wbMenuPop{from{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:none}}
.wb-rooms-source-toggle i{font-style:normal;color:#9ca3af;margin-left:4px}
.wb-rooms-source-body{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0 4px;animation:wbMenuPop .2s ease both}

/* ============ v2.14.0 给分板：方正分数网格 + 设置折叠区 ============ */
.wb-gp-quick .wb-score-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wb-gp-quick .wb-score-btn { min-width: 0; width: 100%; aspect-ratio: 1 / 1; padding: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 17px; font-variant-numeric: tabular-nums; transition: transform .12s, background .15s, border-color .15s; }
.wb-gp-quick .wb-score-btn:active { transform: scale(.92); }
.wb-gp-settings { margin-top: 10px; border-top: 1px solid #eceef3; padding-top: 8px; }
.wb-gp-settings-toggle i { font-style: normal; color: #9ca3af; margin-left: 4px; }
.wb-gp-settings-body { display: flex; flex-direction: column; gap: 9px; padding: 8px 0 4px; animation: wbMenuPop .2s ease both; }
.wb-gp-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4b5563; cursor: pointer; }
.wb-gp-check input { width: 16px; height: 16px; accent-color: #6c5ce7; cursor: pointer; }
.wb-gp-check-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ============ v2.14.0 成绩分析：视图切换 pill + 班级行 + 导出底部面板 ============ */
.wb-analysis-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.wb-pill{position:relative;display:inline-flex;background:#eef0f4;border-radius:999px;padding:4px}
.wb-pill-thumb{position:absolute;top:4px;bottom:4px;border-radius:999px;background:#fff;box-shadow:0 2px 8px rgba(17,24,39,.12);transition:left .28s cubic-bezier(.4,0,.2,1)}
.wb-pill button{position:relative;z-index:1;border:none;background:none;padding:8px 22px;border-radius:999px;font-size:14px;font-weight:600;color:#6b7280;cursor:pointer;transition:color .2s}
.wb-pill button.is-on{color:#111827}
.wb-analysis-stats-slim{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.wb-analysis-stats-slim span{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:8px 16px;font-size:12.5px;color:#6b7280}
.wb-analysis-stats-slim small{display:block;font-size:11px;color:#9ca3af}
.wb-analysis-stats-slim b{font-size:17px;color:#111827}
/* v2.21.0：顶上那格「缺考」只是个数（缺考一律不参与成绩分析，没有登记入口了）——
   压成红字提示，别再给 hover / pointer，否则老师会以为能点。 */
.wb-analysis-stats-slim .wb-stat-missing{background:#fff7f6;border-color:#f6cfc8}
.wb-analysis-stats-slim .wb-stat-missing b{color:#c9452f}
.wb-analysis-stats-slim .wb-stat-missing em{display:block;margin-top:2px;font-style:normal;font-size:10.5px;color:#d4735f}
/* v2.21.0：组级总分汇总里的缺考行 —— 列在表尾、名次总分留空 */
.wb-ga-absent td{opacity:.62}
.wb-ga-absent-tag{display:inline-block;font-size:11.5px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:99px;padding:1px 8px;white-space:nowrap}
.wb-class-row>header{gap:18px}
.wb-class-bar{flex:1;max-width:320px;display:flex;align-items:center;gap:10px}
.wb-class-bar .wb-bar{flex:1;height:7px;background:#eef0f4;border-radius:99px;overflow:hidden}
.wb-class-bar .wb-bar i{display:block;height:100%;background:linear-gradient(90deg,#6c5ce7,#8e7cf3);border-radius:99px}
.wb-class-bar em{font-style:normal;font-size:13px;font-weight:700;color:#4b5563;min-width:38px;text-align:right}
.wb-class-stat-row{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:#6b7280;padding:10px 0 2px}
.wb-class-stat-row b{color:#111827;font-size:15px}
.wb-class-missing{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;margin:8px 0 0}
.wb-exp-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.4);z-index:1200;animation:wbFadeIn .2s ease both}
.wb-exp-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1201;background:#fff;border-radius:20px 20px 0 0;padding:14px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(17,24,39,.18);animation:wbSheetUp .3s cubic-bezier(.2,.9,.3,1.05) both;max-width:640px;margin:0 auto}
.wb-exp-title{text-align:center;font-size:13px;color:#9ca3af;padding-bottom:10px;border-bottom:1px solid #f3f4f6}
.wb-exp-item{display:flex;align-items:center;gap:14px;width:100%;border:none;background:none;text-align:left;padding:14px 6px;border-bottom:1px solid #f3f4f6;cursor:pointer}
.wb-exp-item:hover{background:#fafbff}
.wb-exp-item .ic{flex:none;width:38px;height:38px;border-radius:12px;background:#eef2ff;color:#6c5ce7;font-weight:700;display:flex;align-items:center;justify-content:center}
.wb-exp-item b{display:block;font-size:15px;color:#111827}
.wb-exp-item span{font-size:12px;color:#9ca3af;display:block;margin-top:2px}
.wb-exp-cancel{width:100%;border:none;background:#f3f4f6;border-radius:12px;padding:12px;font-size:14px;font-weight:600;color:#4b5563;cursor:pointer;margin-top:12px}
@keyframes wbSheetUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes wbFadeIn{from{opacity:0}to{opacity:1}}

/* ============ v2.14.1 门厅入场动效：问候→大卡→列表逐行浮起 ============ */
.wb-lobby-greet{animation:wbLobbyRise .4s ease both}
.wb-lobby-head{animation:wbLobbyRise .4s ease .12s both}
.wb-lobby-list .wb-lobby-row{animation:wbLobbyRise .4s ease both}
.wb-lobby-list .wb-lobby-row:nth-child(1){animation-delay:.16s}
.wb-lobby-list .wb-lobby-row:nth-child(2){animation-delay:.2s}
.wb-lobby-list .wb-lobby-row:nth-child(3){animation-delay:.24s}
.wb-lobby-list .wb-lobby-row:nth-child(4){animation-delay:.28s}
.wb-lobby-list .wb-lobby-row:nth-child(5){animation-delay:.32s}
.wb-lobby-list .wb-lobby-row:nth-child(6){animation-delay:.36s}
.wb-lobby-list .wb-lobby-row:nth-child(7){animation-delay:.4s}
.wb-lobby-list .wb-lobby-row:nth-child(n+8){animation-delay:.44s}
.wb-lobby-row>header{transition:background .15s}
.wb-lobby-row>header:hover{background:#fafbff}

/* ============ v2.14.6 门厅终稿：霞鹜文楷 + 左右分栏 + 考试组折叠 + 行悬浮 ============ */
/* 自托管字体：霞鹜文楷（LXGW WenKai Light 气质，已裁剪 GB2312 常用字 1.5MB），不依赖外网 */
@font-face{font-family:'SmartGreetKai';src:url('fonts/greet-lxgw.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'SmartSerif';src:url('fonts/serif-sc.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
.wb-hall{background:#fff;min-height:calc(100vh - 120px);font-family:'SmartSerif','Songti SC',serif;font-weight:300}
.wb-hall-cols{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 120px)}
.wb-hall-col-l{padding:104px 44px 60px 56px;position:relative}
.wb-hall-g1{font-size:20px;color:#86868b;font-weight:300;letter-spacing:.12em}
.wb-hall-name{margin-top:10px;font-family:'SmartGreetKai','Songti SC',serif;font-weight:300;font-size:clamp(56px,7.2vw,112px);line-height:1.1;letter-spacing:.02em;color:#1d1d1f;white-space:nowrap}
.wb-hall-date{margin-top:22px;font-size:12px;color:#86868b;letter-spacing:.16em}
.wb-hall-actions{margin-top:52px;display:flex;align-items:center;gap:22px}
/* ===== v2.17.0 门厅按钮动效重做：左栏黑胶囊 / 蓝链接 ===== */
.wb-hall-btn{background:#1d1d1f;color:#fff;border:none;border-radius:980px;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;font-weight:500;padding:14px 30px;cursor:pointer;
  box-shadow:0 1px 2px rgba(13,13,18,.14);
  transition:transform .3s cubic-bezier(.34,1.4,.64,1),box-shadow .34s cubic-bezier(.22,1,.36,1),background .2s ease}
.wb-hall-btn:hover{background:#000;transform:translateY(-2px);box-shadow:0 12px 26px -10px rgba(13,13,18,.55)}
.wb-hall-btn:active{transform:translateY(0) scale(.97);box-shadow:0 1px 2px rgba(13,13,18,.2);transition-duration:.08s}
.wb-hall-btn:focus-visible{outline:2px solid #1d1d1f;outline-offset:3px}
/* 链接：下划线从左边"长"出来，比凭空出现一段下划线更像人做的 */
.wb-hall-link{position:relative;background:none;border:none;color:#0071e3;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14.5px;cursor:pointer;padding:6px 2px;transition:color .2s ease}
.wb-hall-link::after{content:'';position:absolute;left:2px;right:2px;bottom:3px;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:left center;transition:transform .32s cubic-bezier(.22,1,.36,1)}
.wb-hall-link:hover::after{transform:scaleX(1)}
.wb-hall-link:focus-visible{outline:2px solid #0071e3;outline-offset:3px;border-radius:6px}
.wb-hall-foot{position:absolute;bottom:32px;left:56px;font-size:11.5px;color:#86868b}
.wb-hall-col-r{border-left:1px solid #d2d2d7;padding:92px 44px 60px 46px}
.wb-hall-rlabel{font-size:11.5px;color:#86868b;letter-spacing:.2em;margin-bottom:12px}

/* ===== v2.20.1 门厅分区：进行中 / 历史考试（原来是两行 11.5px 灰字，太不显眼）===== */
.wb-hall-sec{display:flex;align-items:center;gap:9px;margin:0 0 13px}
.wb-hall-sec b{font-size:16px;font-weight:700;color:#1d1d1f;letter-spacing:.01em}
.wb-hall-sec span{font-size:12px;color:#86868b}
.wb-sec-dot{flex:none;display:inline-block;width:9px;height:9px;border-radius:50%}
.wb-sec-dot.is-live{background:#19a97c;box-shadow:0 0 0 4px rgba(25,169,124,.13)}
.wb-sec-dot.is-history{background:#b4b4c0;box-shadow:0 0 0 4px rgba(180,180,192,.16)}
/* 历史考试：词条形态，不套白卡，标题直接铺在右栏上 */
.wb-hall-grp.wb-hall-hist{margin-top:30px;background:none;border:none;border-radius:0;box-shadow:none}
.wb-hall-grp.wb-hall-hist:hover{background:none;border:none;box-shadow:none;transform:none}
.wb-hall-grp.wb-hall-hist.is-open{border:none;box-shadow:none}
.wb-hall-hist-head{width:100%;display:flex;align-items:center;gap:9px;padding:7px 2px;background:none;border:none;
  font-family:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wb-hall-hist-head:hover b{color:#000}
.wb-hall-hist-head b{font-size:16px;font-weight:700;color:#1d1d1f}
.wb-hall-hist-count{font-size:12px;color:#86868b}
.wb-hall-hist-head.is-empty{cursor:default}
.wb-hall-hist-cue{margin-left:auto;font-style:normal;font-size:11.5px;color:#9a9aa2}
.wb-hall-hist-cue::after{content:'展开'}
.wb-hall-grp.wb-hall-hist.is-open .wb-hall-hist-cue::after{content:'收起'}
.wb-hall-hist .wb-hall-caret{width:25px;height:25px}
.wb-hall-hist .wb-hall-grp-inner{padding:2px 0 0}
.wb-hall-hist .wb-hall-grp-body{background:none;border-radius:0}
.wb-hall-grp.wb-hall-hist.is-open .wb-hall-grp-body{max-height:2600px}
/* 时间轴：一条竖线串下每个考试节点 */
.wb-hall-timeline{position:relative;padding:4px 0 6px 30px}
.wb-hall-timeline::before{content:'';position:absolute;left:14px;top:12px;bottom:14px;width:2px;border-radius:2px;
  background:linear-gradient(180deg,#e2e2ec 0%,#f1f1f6 100%)}
.wb-tl-item{position:relative;display:flex;align-items:center;gap:12px;padding:11px 4px 11px 0;border-radius:12px;transition:background .16s ease}
.wb-tl-item:hover{background:#f7f7fb}
.wb-tl-item::before{content:'';position:absolute;left:-20px;top:50%;transform:translateY(-50%);width:11px;height:11px;border-radius:50%;
  background:#fff;border:2.5px solid #b4b4c0;box-sizing:border-box;transition:border-color .16s ease}
.wb-tl-item:hover::before{border-color:#4f46c8}
.wb-tl-main{flex:1;min-width:0}
.wb-tl-main b{display:block;font-size:13.5px;font-weight:600;color:#232338;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-tl-main span{display:block;margin-top:3px;font-size:11.5px;color:#8b8b99}
.wb-tl-go{flex:none;padding:6px 12px;font-size:12px;color:#9a9aa5;background:none;border:1px solid transparent;border-radius:9px;
  font-family:inherit;cursor:pointer;transition:all .16s ease}
.wb-tl-item:hover .wb-tl-go{color:#4f46c8;background:#f4f3ff;border-color:#e4e1fb}
.wb-hall-hist-empty{padding:8px 2px 4px;font-size:12px;color:#a0a0ab}

/* ===== v2.13.121 门厅右栏：考试组 = 下拉卡（王老师拍板版：弹跳序列 + 快捷菜单）=====
   展开靠 JS 给 body 写精确像素高度；科目行从组名里横向弹出（像桌面图标蹦出来）。
   v2.21.1：王老师说"点开动效稍快一点，现在太慢了" —— 原来那套 0.9s / 1s 是按"慢动作版"定的，
   现在主过渡 0.32s、箭头 0.36s、科目行 0.5s（错峰 0.03s 起），行内按钮 0.22s。 */
/* 右栏整体入场：卡片错峰浮起 */
@keyframes wbHallCardIn{
  from{opacity:0;transform:translateY(22px) scale(.985);filter:blur(3px)}
  60%{filter:blur(0)}
  to{opacity:1;transform:none;filter:none}
}
.wb-hall-col-r>*{animation:wbHallCardIn .55s cubic-bezier(.22,1,.36,1) both}
.wb-hall-col-r>*:nth-child(1){animation-delay:.05s}
.wb-hall-col-r>*:nth-child(2){animation-delay:.11s}
.wb-hall-col-r>*:nth-child(3){animation-delay:.17s}
.wb-hall-col-r>*:nth-child(4){animation-delay:.23s}
.wb-hall-col-r>*:nth-child(5){animation-delay:.29s}
.wb-hall-col-r>*:nth-child(6){animation-delay:.35s}
.wb-hall-col-r>*:nth-child(n+7){animation-delay:.41s}
/* 考试组卡片：呼吸式悬停（v2.13.121 起 overflow 改 visible，让行内菜单能探出卡片） */
.wb-hall-grp{position:relative;border:1px solid #e6e6ec;border-radius:18px;margin-bottom:14px;background:#fff;overflow:visible;
  box-shadow:0 1px 2px rgba(13,13,18,.04);
  transition:border-color .22s ease,box-shadow .3s cubic-bezier(.22,1,.36,1),transform .22s cubic-bezier(.22,1,.36,1)}
.wb-hall-grp:hover{border-color:#cfcfd9;transform:translateY(-2px);
  box-shadow:0 2px 4px rgba(13,13,18,.05),0 20px 44px -12px rgba(13,13,18,.14)}
.wb-hall-grp.is-open{border-color:#dcdbe6;transform:none;
  box-shadow:0 2px 8px rgba(13,13,18,.05),0 24px 52px -12px rgba(13,13,18,.16)}
/* 组头：悬停/展开时一层柔光从顶部铺开，按下换成更实的底色（不位移，卡不抖） */
.wb-hall-grp-head{position:relative;width:100%;display:flex;align-items:center;gap:12px;background:none;border:none;padding:17px 18px;
  font-family:inherit;font-size:15px;font-weight:500;color:#1d1d1f;cursor:pointer;text-align:left;border-radius:17px;
  -webkit-tap-highlight-color:transparent;transition:transform .12s ease}
.wb-hall-grp-head::before{content:'';position:absolute;inset:0;border-radius:17px;
  background:radial-gradient(120% 140% at 18% 0%,#f7f7fb 0%,#fdfdff 70%);
  opacity:0;transition:opacity .35s cubic-bezier(.22,1,.36,1);pointer-events:none}
.wb-hall-grp-head:hover::before{opacity:1}
.wb-hall-grp.is-open .wb-hall-grp-head::before{opacity:1}
.wb-hall-grp-head:active{transform:scale(.995)}
.wb-hall-grp-head:active::before{background:#efeff5;opacity:1}
.wb-hall-grp-head:focus-visible{outline:none}
.wb-hall-grp-head:focus-visible::after{content:'';position:absolute;inset:4px;border:2px solid #1d1d1f;border-radius:13px;pointer-events:none}
.wb-hall-grp-head>*{position:relative;z-index:1}
.wb-hall-grp-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-hall-grp-sub{flex:none;font-size:12px;color:#86868b;font-weight:400;transition:color .25s ease}
.wb-hall-grp-head:hover .wb-hall-grp-sub,.wb-hall-grp.is-open .wb-hall-grp-sub{color:#55555e}
/* 箭头：空心圆 → 悬停描边加深放大 → 展开翻黑转 180° */
.wb-hall-caret{margin-left:auto;flex:none;width:27px;height:27px;border-radius:50%;
  border:1px solid #e3e3ea;background:#fff;
  display:flex;align-items:center;justify-content:center;color:#9a9aa2;
  transition:transform .36s cubic-bezier(.34,1.45,.5,1),background .2s ease,color .2s ease,border-color .2s ease}
.wb-hall-caret::before{content:'';width:6px;height:6px;margin-top:-3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.wb-hall-grp-head:hover .wb-hall-caret{border-color:#c9c9d4;color:#55555e;transform:scale(1.08)}
.wb-hall-grp.is-open .wb-hall-caret{transform:rotate(180deg);background:#1d1d1f;border-color:#1d1d1f;color:#fff}
.wb-hall-grp.is-open .wb-hall-grp-head:hover .wb-hall-caret{background:#000;transform:rotate(180deg) scale(1.08)}
/* 抽屉本体：高度由 JS 写成精确 px，CSS 只兜底（首屏就是展开态时也能正常渲染）
   v2.13.143：这里原来是个无圆角矩形，浅灰底把卡片底部的圆角盖成了直角；
   补上底部圆角（18px 外圆角 − 1px 边框 = 17px），内外就对上了。 */
.wb-hall-grp-body{max-height:0;overflow:hidden;border-radius:0 0 17px 17px;
  background:linear-gradient(180deg,#fafafc 0%,#fff 46%);
  transition:max-height .34s cubic-bezier(.22,.61,.36,1)}
.wb-hall-grp.is-open .wb-hall-grp-body{max-height:1200px}
.wb-hall-grp-inner{padding:2px 12px 14px;display:flex;flex-direction:column}
/* 科目行：弹跳序列 —— 每行从组名里横向弹出，像桌面图标蹦出来（冲过头再荡回来） */
@keyframes wbHallRowIn{
  0%{opacity:0;transform:translateX(-30px) scale(.5)}
  45%{opacity:1;transform:translateX(8px) scale(1.07)}
  68%{transform:translateX(-3px) scale(.985)}
  85%{transform:translateX(1.5px) scale(1.005)}
  100%{opacity:1;transform:none}
}
.wb-hall-line{position:relative;display:flex;align-items:center;gap:11px;padding:11px 10px;border-top:1px solid #f1f1f5;
  border-radius:12px;font-size:13.5px;color:#1d1d1f;
  transform-origin:left center;will-change:transform;
  background:transparent;animation:wbHallRowIn .5s cubic-bezier(.22,1,.36,1) both;
  transition:background .25s ease}
.wb-hall-grp.is-open .wb-hall-line:nth-child(1){animation-delay:0.03s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(2){animation-delay:0.06s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(3){animation-delay:0.09s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(4){animation-delay:0.12s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(5){animation-delay:0.15s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(6){animation-delay:0.18s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(7){animation-delay:0.21s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(8){animation-delay:0.24s}
.wb-hall-grp.is-open .wb-hall-line:nth-child(n+9){animation-delay:0.27s}
.wb-hall-line:hover{background:linear-gradient(90deg,#f4f4f9 0%,#fafafd 60%,#fff 100%)}
.wb-hall-line::before{content:'';flex:none;width:5px;height:5px;border-radius:50%;background:#c9c9d2;
  transition:background .25s ease,transform .35s cubic-bezier(.34,1.4,.64,1),box-shadow .3s ease}
.wb-hall-line:hover::before{background:#1d1d1f;transform:scale(1.6);box-shadow:0 0 0 4px rgba(29,29,31,.07)}
.wb-hall-line-name{flex:none}
.wb-hall-line-meta{flex:1 1 auto;min-width:0;color:#86868b;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-hall-line.is-rooms .wb-hall-line-name{color:#5e5e66}
/* v2.19.0：逾期未交 —— 老师还能交，教务要催；用"红点 + 红字"标出来，不靠猜 */
.wb-hall-line.is-late::before{background:#e4572e;box-shadow:0 0 0 3px rgba(228,87,46,.14)}
.wb-hall-line.is-late .wb-hall-line-name{color:#b4391a}
.wb-hall-late{flex:none;font-size:11px;line-height:1;padding:3px 7px;border-radius:999px;
  background:#ffece7;color:#c2410c;border:1px solid #ffd9d0}
/* 五段迷你进度：点亮的一段带呼吸微光 */
.wb-hall-mini{display:inline-flex;align-items:center;gap:3px;flex:none}
.wb-hall-mini i{width:13px;height:3px;border-radius:2px;background:#e8e8ef;transition:background .3s ease}
.wb-hall-mini i.is-done{background:#1d1d1f;animation:wbHallSegGlow 2.4s ease-in-out infinite}
.wb-hall-mini i.is-done:last-child{animation:none}
@keyframes wbHallSegGlow{0%,100%{box-shadow:0 0 0 0 rgba(29,29,31,0)}50%{box-shadow:0 0 6px 0 rgba(29,29,31,.28)}}
/* 行内按钮：白瓷胶囊，悬停一道光泽扫过 + 浮起；点击 = 弹出快捷菜单（不再直接跳走） */
.wb-hall-go{position:relative;margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;padding:8px 15px;
  border:1px solid #e7e7ee;border-radius:999px;background:#fbfbfc;color:#1d1d1f;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:12px;font-weight:500;line-height:1;letter-spacing:.02em;white-space:nowrap;cursor:pointer;
  overflow:hidden;isolation:isolate;
  transition:transform .22s cubic-bezier(.34,1.4,.64,1),box-shadow .26s cubic-bezier(.22,1,.36,1),
             border-color .2s ease,background .2s ease}
.wb-hall-go::before{content:'';position:absolute;inset:0;z-index:-1;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.95) 48%,rgba(255,255,255,.4) 55%,transparent 70%);
  transform:translateX(-110%);transition:transform .6s cubic-bezier(.22,1,.36,1)}
.wb-hall-go i{font-style:normal;display:inline-block;font-size:13px;line-height:1;margin-right:-3px;
  transition:transform .22s cubic-bezier(.34,1.4,.64,1)}
.wb-hall-go i::before{content:'▾'} /* 下拉提示：不再是 › */
.wb-hall-line:hover .wb-hall-go,.wb-hall-go:hover{background:#1d1d1f;border-color:#1d1d1f;color:#fff;transform:translateY(-2px);
  box-shadow:0 10px 22px -8px rgba(13,13,18,.5)}
.wb-hall-line:hover .wb-hall-go::before,.wb-hall-go:hover::before{transform:translateX(110%)}
.wb-hall-line:hover .wb-hall-go i,.wb-hall-go:hover i{transform:translateY(1.5px)}
.wb-hall-go:active{transform:translateY(0) scale(.93);box-shadow:0 3px 8px -3px rgba(13,13,18,.4);transition-duration:.08s}
.wb-hall-go:focus-visible{outline:2px solid #1d1d1f;outline-offset:2px}
.wb-hall-go.is-menu-open{background:#1d1d1f;border-color:#1d1d1f;color:#fff;transform:none;
  box-shadow:0 6px 16px -6px rgba(13,13,18,.45)}
.wb-hall-go.is-menu-open i{transform:rotate(180deg)}
/* 直跳按钮（如"去导名单"）：不弹菜单，保持 › 箭头 */
.wb-hall-go.is-direct i::before{content:'›'}
.wb-hall-line:hover .wb-hall-go.is-direct i{transform:translateX(2px)}
/* v2.18.0 等待态：不是我的活，按钮灰着点不动，文字直接写"等谁在干什么"。
   这一条是"门厅只有一个亮按钮"的视觉保证 —— 一场考试任何时刻只有一个人有彩色按钮。 */
.wb-hall-go.is-wait,.wb-hall-go.is-wait:hover{background:#f6f6f8;border-color:#ececf1;color:#a3a3ab;
  transform:none;box-shadow:none;cursor:default}
.wb-hall-go.is-wait::before{display:none}
/* 等待态旁边那个小入口（教务"看答题卡"）：不抢主角，灰蓝小字 */
.wb-hall-go-wrap{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:9px}
.wb-hall-go-wrap .wb-hall-go{margin-left:0}
.wb-hall-sub{border:0;background:none;padding:2px 0;font:inherit;font-size:11.5px;color:#9a9aa2;
  cursor:pointer;border-bottom:1px dashed #d8d8e0;line-height:1.5}
.wb-hall-sub:hover{color:#1d1d1f;border-bottom-color:#1d1d1f}
/* ----- 快捷菜单（v2.13.121 新组件）----- */
@keyframes wbHallMenuIn{
  from{opacity:0;transform:translateY(-6px) scale(.88);transform-origin:top right}
  to{opacity:1;transform:none}
}
@keyframes wbHallMenuOut{
  from{opacity:1;transform:none}
  to{opacity:0;transform:translateY(-4px) scale(.94);transform-origin:top right}
}
@keyframes wbHallMenuItemIn{
  from{opacity:0;transform:translateX(10px)}
  to{opacity:1;transform:none}
}
.wb-hall-menu{position:fixed;top:0;left:0;z-index:960;min-width:216px;
  background:rgba(255,255,255,.92);backdrop-filter:saturate(1.8) blur(20px);-webkit-backdrop-filter:saturate(1.8) blur(20px);
  border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:6px;
  box-shadow:0 4px 10px rgba(13,13,18,.05),0 24px 54px -12px rgba(13,13,18,.24);
  transform-origin:top right}
.wb-hall-menu.is-in{animation:wbHallMenuIn .18s cubic-bezier(.23,1,.32,1) both}
.wb-hall-menu.is-out{animation:wbHallMenuOut .14s ease-in both;pointer-events:none}
.wb-hall-menu.is-up{top:auto;bottom:calc(100% + 8px);transform-origin:bottom right}
.wb-hall-menu-head{display:flex;align-items:baseline;gap:8px;padding:9px 12px 8px;border-bottom:1px solid #f1f1f5;
  margin-bottom:5px;font-size:11px;color:#86868b;letter-spacing:.04em}
.wb-hall-menu-head b{font-size:12.5px;color:#1d1d1f;font-weight:600;letter-spacing:0}
.wb-hall-menu-item{position:relative;display:flex;align-items:center;gap:10px;width:100%;
  border:none;background:none;text-align:left;padding:10px 12px;border-radius:11px;
  font-family:inherit;font-size:13.5px;color:#1d1d1f;cursor:pointer;overflow:hidden;isolation:isolate;
  animation:wbHallMenuItemIn .18s cubic-bezier(.23,1,.32,1) both;
  transition:color .2s ease}
.wb-hall-menu-item::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:11px;background:#f2f2f7;
  transform:scaleX(0);transform-origin:left center;transition:transform .18s cubic-bezier(.23,1,.32,1)}
.wb-hall-menu-item:hover::before{transform:scaleX(1)}
.wb-hall-menu-item:active{transform:scale(.97)}
.wb-hall-menu-item .ic{flex:none;width:26px;height:26px;border-radius:8px;background:#eef0f4;color:#55555e;
  display:flex;align-items:center;justify-content:center;font-size:13px;
  transition:background .18s ease,color .18s ease,transform .18s cubic-bezier(.23,1,.32,1)}
.wb-hall-menu-item:hover .ic{background:#1d1d1f;color:#fff;transform:scale(1.08) rotate(-4deg)}
.wb-hall-menu-item em{font-style:normal;margin-left:auto;font-size:11px;color:#b0b0b8;
  transition:transform .18s cubic-bezier(.23,1,.32,1),color .18s ease}
.wb-hall-menu-item:hover em{transform:translateX(2px);color:#86868b}
.wb-hall-menu-item.is-primary{color:#fff}
/* v2.13.123：主推项（黑底白字）的黑底原本只在 hover 时才 scaleX(1)，
   平时是"白字配白底"—— 等于整条主推项看不见。这里让它常驻。 */
.wb-hall-menu-item.is-primary::before{background:#1d1d1f;transform:scaleX(1)}
.wb-hall-menu-item.is-primary:hover::before{background:#000}
.wb-hall-menu-item.is-primary:active{transform:scale(.98)}
.wb-hall-menu-item.is-primary .ic{background:rgba(255,255,255,.16);color:#fff}
.wb-hall-menu-item.is-primary em{color:rgba(255,255,255,.6)}
.wb-hall-menu-item.is-primary:hover em{color:rgba(255,255,255,.85)}
.wb-hall-menu-sep{height:1px;background:#f1f1f5;margin:5px 10px}
.wb-hall-menu.is-in .wb-hall-menu-item:nth-of-type(2){animation-delay:0.06s}
.wb-hall-menu.is-in .wb-hall-menu-item:nth-of-type(3){animation-delay:0.11s}
.wb-hall-menu.is-in .wb-hall-menu-item:nth-of-type(4){animation-delay:0.15s}
.wb-hall-menu.is-in .wb-hall-menu-item:nth-of-type(5){animation-delay:0.2s}
.wb-hall-menu.is-in .wb-hall-menu-item:nth-of-type(6){animation-delay:0.25s}
/* 点空白处关闭的轻压暗遮罩（层级在卡片之上、菜单之下） */
.wb-hall-scrim{position:fixed;inset:0;z-index:950;background:rgba(29,29,31,.06);
  animation:wbHallFade .25s ease both}
@keyframes wbHallFade{from{opacity:0}to{opacity:1}}
/* 窄屏：左右分栏在手机上会挤成两条窄缝，改成上下堆叠 */
@media (max-width:900px){
  .wb-hall,.wb-hall-cols{min-height:0}
  /* minmax(0,1fr) 不能写成 1fr：1fr 的下限是内容的 min-content，卡片会被撑出屏幕 */
  .wb-hall-cols{grid-template-columns:minmax(0,1fr)}
  .wb-hall-col-l,.wb-hall-col-r{min-width:0}
  .wb-hall-col-l{padding:48px 24px 30px}
  .wb-hall-name{font-size:clamp(44px,12vw,74px)}
  .wb-hall-actions{margin-top:34px}
  .wb-hall-foot{position:static;margin-top:30px}
  .wb-hall-col-r{border-left:0;border-top:1px solid #e8e8ee;padding:32px 20px 48px}
}
/* 手机窄屏：一行塞不下五个元素，先舍掉迷你进度条，按钮收窄 */
@media (max-width:560px){
  .wb-hall-mini{display:none}
  .wb-hall-go{padding:7px 12px;font-size:11.5px}
  .wb-hall-grp-sub{display:none}
  .wb-hall-line{padding:10px 6px}
  .wb-hall-menu{right:-2px;min-width:196px}
}
@media (prefers-reduced-motion:reduce){
  .wb-hall-line,.wb-hall-grp,.wb-hall-grp-body,.wb-hall-caret,.wb-hall-go,.wb-hall-btn,.wb-hall-link::after,
  .wb-hall-menu,.wb-hall-menu-item,.wb-hall-col-r>*{animation:none!important;transition-duration:.01ms!important}
}

/* ============ v2.14.6 顶栏：王字按钮 + 全屏菜单（clip-path 从按钮位置扩散） ============ */
.wb-top-right{position:relative;display:flex;align-items:center}
.wb-user-btn{display:flex;align-items:center;gap:9px;background:#f5f5f7;border:none;border-radius:999px;padding:4px 12px 4px 4px;cursor:pointer;font-size:13px;color:#1d1d1f;transition:background .2s}
.wb-user-btn:hover{background:#ececf0}
.wb-user-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#2b2a72,#5b5bd6);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'SmartGreetKai',serif;font-size:13px}
.wb-user-name{font-weight:500}
.wb-user-caret{font-style:normal;color:#86868b;font-size:10px;transition:transform .25s}
.wb-fsmenu{position:fixed;inset:0;z-index:400;background:rgba(251,251,253,.99);display:flex;flex-direction:column;justify-content:center;padding:0 96px;
  clip-path:circle(0px at var(--smx,100%) var(--smy,0));pointer-events:none;
  transition:clip-path .55s cubic-bezier(.3,.9,.3,1)}
.wb-fsmenu.is-open{clip-path:circle(150% at var(--smx,100%) var(--smy,0));pointer-events:auto}
.wb-fsm-close{position:absolute;top:16px;right:34px;width:36px;height:36px;border-radius:50%;border:1px solid #d2d2d7;background:#fff;color:#86868b;font-size:14px;cursor:pointer;transition:color .2s,transform .2s}
.wb-fsm-close:hover{color:#1d1d1f;transform:rotate(90deg)}
.wb-fsm-label{font-size:11px;color:#86868b;letter-spacing:.3em;margin-bottom:24px}
.wb-fsm-item{display:flex;align-items:baseline;gap:18px;background:none;border:none;text-align:left;font-family:'SmartGreetKai',serif;font-size:clamp(34px,4.4vw,50px);color:#1d1d1f;padding:10px 0;cursor:pointer;opacity:0;transform:translateY(18px);transition:color .2s}
.wb-fsm-item:hover{color:#0071e3}
.wb-fsm-item small{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:12.5px;color:#86868b;letter-spacing:.05em}
.wb-fsmenu.is-open .wb-fsm-item{animation:wbFsmIn .5s cubic-bezier(.2,.8,.25,1) both}
.wb-fsmenu.is-open .wb-fsm-item:nth-of-type(1){animation-delay:.08s}
.wb-fsmenu.is-open .wb-fsm-item:nth-of-type(2){animation-delay:.14s}
.wb-fsmenu.is-open .wb-fsm-item:nth-of-type(3){animation-delay:.2s}
.wb-fsmenu.is-open .wb-fsm-item:nth-of-type(4){animation-delay:.26s}
.wb-fsmenu.is-open .wb-fsm-item:nth-of-type(5){animation-delay:.32s}
/* v2.17.0：全屏菜单里的「当前」标记 —— 导航仍然只在这个全屏菜单里（保留整屏画面），
   但打开时要能一眼看出自己现在在哪一页，免得点错回不去。 */
.wb-fsm-item.is-active{color:#0071e3}
.wb-fsm-now{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:11px;font-style:normal;letter-spacing:.06em;color:#0071e3;border:1px solid currentColor;border-radius:999px;padding:2px 9px;align-self:center;white-space:nowrap}
@keyframes wbFsmIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.wb-fsm-foot{margin-top:40px;padding-top:22px;border-top:1px solid #d2d2d7;display:flex;gap:26px}
.wb-fsm-foot button{background:none;border:none;font-size:12.5px;color:#86868b;cursor:pointer;padding:4px 2px}
.wb-fsm-foot button:hover{color:#1d1d1f}
.wb-fsm-foot button.is-danger{color:#dc2626}
@media (max-width:1023px){
  .wb-fsmenu{padding:0 32px}
  .wb-fsm-close{top:10px;right:16px}
}

@keyframes wbSheetUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes wbFadeIn{from{opacity:0}to{opacity:1}}

/* v2.16.1：多选年级用的「药丸」按钮（注册页 + 账号管理）
   为什么不用 <select multiple>：原生多选要按住 Ctrl 点，老师根本选不明白；
   药丸按钮点一下选中、再点取消，手机上也好点。 */
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wb-chip { border: 1px solid #dcdce8; background: #fff; color: #3a3b52; border-radius: 999px; padding: 7px 14px; font-size: 13px; line-height: 1.1; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.wb-chip:hover { border-color: #8b86e8; }
.wb-chip.is-active { background: var(--primary, #6c5ce7); border-color: var(--primary, #6c5ce7); color: #fff; font-weight: 700; }
.wb-chip.is-muted { border-style: dashed; color: #8a8ca0; cursor: default; font-weight: 400; }
.wb-chip.is-mini { padding: 4px 10px; font-size: 12px; }
.wb-grades-cell { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: 330px; }

/* v2.14.9：首页页脚版本号（点一下 = 强制刷新到最新版） */
.wb-hall-ver{background:none;border:none;font:inherit;color:#86868b;padding:2px 6px;border-radius:8px;cursor:pointer;font-variant-numeric:tabular-nums}
.wb-hall-ver:hover{color:#1d1d1f;background:#f2f2f4}

/* ============================================================
   v2.13.124 批改进度表（教务/老师共用的进度面板）
   原来：数字左对齐 + 只有 emoji ✅ + 一行挤在一起的统计
   现在：数字右对齐等宽、每题一条自己的进度条 + 完成率、统计拆成四格
   ============================================================ */
.wb-pb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#efeff2;
  border-radius:14px;overflow:hidden;margin:0 0 14px;border:1px solid #efeff2}
.wb-pb-stat{background:#fff;padding:14px 16px}
.wb-pb-stat b{display:block;font-size:24px;font-weight:300;letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;line-height:1.2;color:#1d1d1f}
.wb-pb-stat span{display:block;font-size:11.5px;color:#a6a6ad;margin-top:2px}
.wb-pb-stat.is-warn b{color:#c47400}
.wb-pb-stat.is-acc b{color:#6c5ce7}

.wb-pb-table th:nth-child(1){width:150px}
.wb-pb-table th:nth-child(2){width:230px}
.wb-pb-table th:nth-child(3){width:120px;text-align:right}
.wb-pb-table th:nth-child(4){width:96px;text-align:right}
.wb-pb-item{font-weight:500}
.wb-pb-track{height:6px;border-radius:9px;background:#f1f1f5;overflow:hidden}
.wb-pb-track i{display:block;height:100%;border-radius:9px;background:#6c5ce7;
  transition:width 400ms cubic-bezier(.23,1,.32,1)}
.wb-pb-table tr.is-done .wb-pb-track i{background:#34a853}
.wb-pb-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.wb-pb-num b{font-weight:600;font-size:13px}
.wb-pb-num em{font-style:normal;color:#a6a6ad;font-size:12px;margin-left:1px}
.wb-pb-pct{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;
  color:#6b6b73;font-size:12.5px}
.wb-pb-pct .wb-pb-ok{color:#34a853;font-weight:700;margin-left:6px}
.wb-pb-owner{white-space:nowrap}
.wb-pb-act{text-align:right;white-space:nowrap}
.wb-pb-table tr.is-done .wb-pb-item{color:#55555e}
@media (max-width:820px){
  .wb-pb-stats{grid-template-columns:repeat(2,1fr)}
  .wb-pb-table th:nth-child(2){width:120px}
}

/* ============================================================
   v2.13.125
   ① 步骤条加「总览」入口，并把吸顶层级抬上去（原来 z-index:6 会被图片盖住）
   ② 老师首页「我的任务」
   ============================================================ */
.wb-flow-top { z-index: 30; }
.wb-flow-home {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-size: 12px; color: #6b6b73; background: #fff;
  border: 1px solid #e6e6eb;
  transition: color 160ms cubic-bezier(.23,1,.32,1),
             border-color 160ms cubic-bezier(.23,1,.32,1),
             background 160ms cubic-bezier(.23,1,.32,1);
}
@media (hover: hover) and (pointer: fine) {
  .wb-flow-home:hover { color: #6c5ce7; border-color: #6c5ce7; background: rgba(108,92,231,.07); }
}
.wb-flow-home:active { transform: scale(.97); }

/* 我的任务 */
/* v2.20.11：原来死宽 860px，老师 2K 屏（CSS 宽约 1700）上只占中间一小条，
   左右各空 400 多，字也显小 —— 反馈"这些页面咋都这么小"。
   现在跟主内容区一样铺满（与顶栏 logo 同一条左边界），宽屏 2~3 块并排，窄屏单列；字号也抬一档。 */
.wb-tasks { padding: 20px 0 60px; }
.wb-tasks-hero { padding: 6px 0 22px; }
.wb-tasks-hero h1 { margin: 0 0 8px; font-size: 32px; font-weight: 600; letter-spacing: -.015em; }
.wb-tasks-hero p { margin: 0; color: #6b6b73; font-size: 14px; }
.wb-tasks-hero b { color: #1d1d1f; font-weight: 600; }
.wb-tasks > .wb-hint { font-size: 13px; }

.wb-task-block { border: 1px solid #efeff2; border-radius: 16px; padding: 18px 22px; margin-bottom: 14px; }
/* v2.20.4 血泪教训：这一组是「我的任务」页（外层 .wb-tasks）的样式，
   但类名 .wb-task-head / .wb-task-row 和阅卷任务列表（外层 .wb-task-list）**撞名**了。
   原来没加作用域，后面的 .wb-task-row{padding:11px 0} 把阅卷那行的 padding 冲成 0，
   于是"客观题 · 系统自动批改"整行文字贴到卡片边缘、四列也挤成一排。
   全部加上 .wb-tasks 前缀，只在自己的页面里生效。 */
.wb-tasks .wb-task-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.wb-task-ico {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  background: rgba(108,92,231,.10); color: #6c5ce7;
}
.wb-tasks .wb-task-head b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.wb-tasks .wb-task-head span { display: block; font-size: 12.5px; color: #a6a6ad; margin-top: 2px; }
.wb-task-empty { margin: 0; font-size: 13.5px; color: #a6a6ad; line-height: 1.7; }

.wb-tasks .wb-task-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #f4f4f7; }
.wb-task-row-main { flex: 1; min-width: 0; }
/* 考试名很长（"盘锦光正实验学校2026-2027学年上学期第一次月考"），
   宽屏并排后一列只有 460 上下，单行省略会只剩前半截 —— 允许折两行。 */
.wb-task-row-main b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; font-weight: 500; overflow: hidden; line-height: 1.45; }
.wb-task-row-main span { display: block; font-size: 12.5px; color: #86868b; margin-top: 3px; }
.wb-task-row-act { flex: 0 0 auto; }
.wb-task-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 4px; }
.wb-task-links .wb-link { font-size: 13.5px; }

/* v2.20.11 宽屏：任务块并排，别再一根 860 的长条。
   用 flex 而不是 grid —— 只有一块（比如「成绩」页）时它能自动占满整行，
   grid 会因为跨列的说明文字把列数钉死，单块只剩三分之一宽。 */
@media (min-width: 1180px) {
  .wb-tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
  }
  .wb-tasks-hero, .wb-tasks > .wb-hint { flex: 1 0 100%; }
  .wb-tasks-hero { padding-bottom: 12px; }
  .wb-tasks > .wb-hint { margin: 4px 0 0; }
  .wb-tasks .wb-task-block { flex: 1 1 380px; max-width: 720px; margin-bottom: 0; }
}

@media (max-width: 820px) {
  .wb-tasks { padding: 4px 0 40px; }
  .wb-tasks-hero h1 { font-size: 24px; }
  .wb-tasks .wb-task-row { flex-wrap: wrap; }
}

/* 手机上考试名一长，标题和按钮挤在一行谁也不舒服 —— 标题独占一行，按钮落到下面右对齐 */
@media (max-width: 560px) {
  .wb-tasks .wb-task-row-main { flex: 1 1 100%; }
  .wb-tasks .wb-task-row-act { margin-left: auto; }
}

/* ============================================================
   v2.13.126 出卷工作台
   一屏三件事：答题卡 / 试卷文件 / 答案文件，三样齐了教务就能印
   ============================================================ */
.wb-prep { max-width: 780px; margin: 0 auto; padding: 6px 0 70px; }
.wb-prep-head { padding: 0 0 20px; }
.wb-prep-head h1 { margin: 12px 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -.015em; }
.wb-prep-head p { margin: 0; font-size: 13px; color: #6b6b73; }

.wb-prep-block { border: 1px solid #efeff2; border-radius: 16px; padding: 16px 20px 18px; margin-bottom: 14px; }
.wb-prep-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.wb-prep-title b { font-size: 14px; font-weight: 600; }
.wb-prep-title span { font-size: 12px; color: #a6a6ad; }

.wb-prep-card-row,
.wb-prep-file { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #f4f4f7; }
.wb-prep-card-row { border-top: 0; padding-top: 2px; }
.wb-prep-file-main { flex: 1; min-width: 0; }
.wb-prep-file-main b { display: block; font-size: 13.5px; font-weight: 500; }
.wb-prep-file-main span { display: block; font-size: 12px; color: #86868b; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-prep-file-main span.is-empty { color: #b0b0b8; }
.wb-prep-file-act { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }

.wb-prep-check { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #a6a6ad; }
.wb-prep-check .is-ok { color: #168f68; font-weight: 500; }
.wb-prep-check .is-warn { color: #c0342c; font-weight: 500; }

/* v2.18.0 出卷向导：步骤条 + 上一页/下一页 + 三行事实
   一屏只干一件事，所以正文高度固定不下来，靠留白撑住，别让下面的按钮跳来跳去 */
.wb-prep-steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.wb-prep-steps button {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 9px;
  border: 1px solid #ececf1; border-radius: 999px; background: #fbfbfc; color: #8a8a92;
  font: inherit; font-size: 12.5px; line-height: 1; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.wb-prep-steps button i {
  display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: #f0f0f4; color: #8a8a92; font-style: normal; font-size: 11px; font-weight: 600;
}
.wb-prep-steps button:hover { border-color: #d8d8e0; color: #1d1d1f; }
.wb-prep-steps button.is-done { background: #f4faf7; border-color: #d6ece1; color: #23803f; }
.wb-prep-steps button.is-done i { background: #e2f3ea; color: #168f68; }
.wb-prep-steps button.is-now { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.wb-prep-steps button.is-now i { background: rgba(255,255,255,.18); color: #fff; }

.wb-prep-focus { min-height: 208px; display: flex; flex-direction: column; }
.wb-prep-facts { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.wb-prep-facts > div { display: flex; align-items: baseline; gap: 14px; }
.wb-prep-facts span { flex: 0 0 84px; font-size: 12.5px; color: #a6a6ad; }
.wb-prep-facts b { font-size: 15px; font-weight: 500; color: #1d1d1f; line-height: 1.6; }
.wb-prep-facts b.is-warn { color: #c0342c; }

.wb-prep-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.wb-prep-nav .wb-hint { font-size: 12.5px; color: #a6a6ad; }

/* v2.20.5：出卷页不再死卡 780px。原来的问题是 1440 屏上两侧各空 330，
   中间一条窄带；老师备课要上传试卷、点客观题答案、改答题卡，本来就是宽活。
   分两档：
     ≥920  正文放宽到 1040（普通笔记本 1080 视口基本占满），右侧那两块信息卡横排到正文下面；
     ≥1340 才真正分栏：正文 880 + 常驻右栏 316，右栏 sticky 跟着滚。 */
.wb-prep-main { min-width: 0; }
.wb-prep-side { margin-top: 12px; }
.wb-prep-side-card { padding: 16px 18px; margin-bottom: 14px; background: #fff; border: 1px solid #e6e6f0; border-radius: 14px; }
.wb-prep-side-card h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; color: #26215c; font-size: 14px; font-weight: 700; }
.wb-prep-side-card h3 em { margin-left: auto; color: #8b8da0; font-size: 12px; font-style: normal; font-weight: 500; }
.wb-prep-checklist { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wb-prep-checklist li { display: flex; align-items: center; gap: 9px; color: #4a4c63; font-size: 13px; }
.wb-prep-checklist li > i {
  width: 18px; height: 18px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  color: #a4a5b6; background: #f0f0f6; border-radius: 50%; font-size: 10px; font-style: normal;
}
.wb-prep-checklist li.is-ok > i { color: #fff; background: #19a97c; }
.wb-prep-checklist li.is-ok > span { color: #1f2138; }
.wb-prep-checklist li span em { margin-left: 7px; color: #a4a5b6; font-size: 11.5px; font-style: normal; }
.wb-prep-checklist li.is-ok span em { color: #7ec9b1; }
.wb-prep-side-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #f2f2f7; color: #8b8da0; font-size: 12px; line-height: 1.8; }
.wb-prep-side-note b { color: #4a4c63; font-weight: 600; }
.wb-prep-side-steps { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.wb-prep-side-steps button {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 7px 8px;
  color: #4a4c63; background: transparent; border: 0; border-radius: 9px; font-size: 12.5px; text-align: left; cursor: pointer;
}
.wb-prep-side-steps button:hover { background: #f7f7fc; }
.wb-prep-side-steps i {
  width: 19px; height: 19px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  color: #8b8da0; background: #f2f2f7; border-radius: 50%; font-size: 10.5px; font-style: normal;
}
.wb-prep-side-steps li.is-done i { color: #fff; background: #19a97c; }
.wb-prep-side-steps li.is-now button { color: #4f46c8; background: #f2f0ff; font-weight: 700; }
.wb-prep-side-steps li.is-now i { color: #fff; background: #4f46c8; }
.wb-prep-side-steps em { margin-left: auto; color: #8b8da0; font-size: 11px; font-style: normal; font-weight: 500; }

@media (min-width: 920px) {
  .wb-prep { max-width: 1040px; }
  .wb-prep-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
  .wb-prep-side-card { margin-bottom: 0; }
}
@media (min-width: 1340px) {
  .wb-prep { max-width: 1220px; }
  .wb-prep-body { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 24px; align-items: start; }
  .wb-prep-side { display: block; position: sticky; top: 14px; margin-top: 0; }
  .wb-prep-side-card { margin-bottom: 14px; }
}

@media (max-width: 820px) {
  .wb-prep { padding: 4px 0 40px; }
  .wb-prep-head h1 { font-size: 22px; }
  .wb-prep-file { flex-wrap: wrap; }
}

/* ============================================================
   v2.13.127 答题卡状态机：状态条 / 提交 / 九科总览的截止时间
   ============================================================ */
.wb-prep-state {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 11px 15px; border-radius: 12px; margin: 0 0 10px;
  background: #fafafc; border: 1px solid #efeff2; font-size: 13px; color: #6b6b73;
}
.wb-prep-state b { font-size: 13.5px; font-weight: 600; color: #1d1d1f; }
.wb-prep-state.is-submitted { background: rgba(15,157,143,.08); border-color: rgba(15,157,143,.25); }
.wb-prep-state.is-submitted b { color: #0f9d8f; }
.wb-prep-state.is-locked { background: rgba(108,92,231,.08); border-color: rgba(108,92,231,.25); }
.wb-prep-state.is-locked b { color: #6c5ce7; }
.wb-prep-state.is-released { background: rgba(255,149,0,.10); border-color: rgba(255,149,0,.28); }
.wb-prep-state.is-released b { color: #b45309; }
.wb-prep-state.is-late { background: rgba(232,69,60,.09); border-color: rgba(232,69,60,.26); }
.wb-prep-state.is-late b { color: #c0342c; }
.wb-prep-state.is-sent { background: rgba(52,168,83,.09); border-color: rgba(52,168,83,.26); }
.wb-prep-state.is-sent b { color: #23803f; }

.wb-prep-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid #f4f4f7; }

.wb-cards-deadline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.wb-cards-deadline label { font-size: 12.5px; color: #6b6b73; }
.wb-cards-deadline input {
  border: 1px solid #e6e6eb; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px;
  color: #1d1d1f; outline: none;
  transition: border-color 160ms cubic-bezier(.23,1,.32,1), box-shadow 160ms cubic-bezier(.23,1,.32,1);
}
.wb-cards-deadline input:focus { border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108,92,231,.12); }

.wb-tag.info { color: #6c5ce7; background: rgba(108,92,231,.12); }
.wb-tag.danger { color: #c0342c; background: rgba(232,69,60,.12); }
.wb-tag.mute { color: #86868b; background: #f2f2f6; }

/* v2.13.129 排考场：保存后引导打印 */
.wb-rooms-next {
  font-size: 12px; color: #23803f; background: rgba(52,168,83,.12);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  animation: wbRoomsNextIn 240ms cubic-bezier(.23,1,.32,1) both;
}
@keyframes wbRoomsNextIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.wb-rooms-printbar .wb-primary.is-cta { animation: wbRoomsCta 1.6s cubic-bezier(.23,1,.32,1) 2; }
@keyframes wbRoomsCta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108,92,231,.45); }
  50% { box-shadow: 0 0 0 7px rgba(108,92,231,0); }
}
.wb-rooms-menu-note {
  padding: 8px 10px 4px; font-size: 11.5px; color: #a6a6ad; line-height: 1.6;
  border-top: 1px solid #f1f1f5; margin-top: 4px;
}

/* v2.13.130 已结束的考试：步骤条精简 + 底部收口 */
.wb-flow-finished {
  margin-left: 10px; font-size: 11.5px; color: #23803f;
  background: rgba(52,168,83,.10); padding: 3px 10px; border-radius: 999px;
}
.wb-flow-done { font-size: 12.5px; color: #a6a6ad; margin-right: 12px; }

/* v2.13.132 老师成绩页：行内展开 */
.wb-score-row { align-items: center; }
.wb-score-detail {
  padding: 4px 0 18px;
  animation: wbScoreIn 220ms cubic-bezier(.23,1,.32,1) both;
}
@keyframes wbScoreIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.wb-score-block { margin-bottom: 14px; }
.wb-score-block .wb-panel-title { margin-bottom: 8px; }
.wb-score-block .wb-panel-title b { font-size: 13px; }
.wb-score-block .wb-panel-title span { font-size: 11.5px; }
.wb-score-more { display: flex; justify-content: flex-end; }

/* v2.13.133 门厅总览条 + 考前准备底注 */
.wb-hall-summary {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 0 0 14px; margin-bottom: 6px; border-bottom: 1px solid #f1f1f5;
  font-size: 12.5px; color: #86868b;
}
.wb-hall-summary span { display: inline-flex; align-items: baseline; gap: 4px; }
.wb-hall-summary b { font-size: 15px; font-weight: 600; color: #1d1d1f; font-variant-numeric: tabular-nums; }
.wb-hall-summary .is-warn b { color: #c47400; }
.wb-hall-summary .is-warn { color: #b45309; }
.wb-hall-summary .is-ok { color: #23803f; }

.wb-prepare-foot {
  margin: 10px 0 0; font-size: 12px; color: #a6a6ad; line-height: 1.7;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.wb-prepare-foot.is-warn { color: #b45309; }

/* v2.19.0：送印页最上面那句"现在到底能不能印"。分界线是截止时间。 */
.wb-prepare-gate {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 14px 0 4px; padding: 11px 14px; border-radius: 10px;
  background: #f7f7fb; border: 1px solid #ececf3;
}
.wb-prepare-gate b { font-size: 13.5px; color: #3f3f4a; }
.wb-prepare-gate span { font-size: 12.5px; color: #7a7a85; line-height: 1.6; }
.wb-prepare-gate.is-ok { background: #f2fbf7; border-color: #d8f0e5; }
.wb-prepare-gate.is-ok b { color: #14795c; }
.wb-prepare-gate.is-warn { background: #fffaf1; border-color: #ffe7c2; }
.wb-prepare-gate.is-warn b { color: #a16207; }
.wb-seal-hold {
  font-style: normal; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  background: #eef0ff; color: #4c3fd6; font-size: 11.5px;
}

/* v2.18.0 版本封印：送印页顶上那块"第几版 / 指纹" */
.wb-seal {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 13px 16px; margin: 0 0 16px; border-radius: 12px;
  background: #f4f2ff; border: 1px solid #e3ddff;
}
.wb-seal-ver { display: flex; align-items: baseline; gap: 10px; }
.wb-seal-ver b { font-size: 19px; letter-spacing: .3px; color: #4c3fd6; }
.wb-seal-ver span { font-size: 12.5px; color: #6b6b73; }
.wb-seal-fp { font-size: 12px; color: #8c8c96; margin-left: auto; font-variant-numeric: tabular-nums; }
.wb-seal.is-draft { background: #fafafa; border-color: #ececf1; }
.wb-seal.is-draft .wb-seal-ver b { color: #7a7a83; }
.wb-seal.is-bad { background: #fff4f2; border-color: #ffd9d2; }
.wb-seal.is-bad .wb-seal-ver b { color: #c2410c; }

/* 扫描页顶上的对账条 */
.wb-seal-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 14px; margin: 0 0 12px; border-radius: 10px;
  background: #f5f6fa; border: 1px solid #e8e9f0; font-size: 12.5px; color: #6b6b73;
}
.wb-seal-bar b { color: #35353c; font-weight: 600; }
.wb-seal-bar.is-bad { background: #fff4f2; border-color: #ffd9d2; color: #b4451c; }
.wb-seal-bar.is-bad b { color: #b4451c; }
.wb-seal-bar.is-draft { background: #fffaf0; border-color: #ffe7c2; color: #a16207; }

/* v2.19.0 筹备向导：三选一的卡片（考场怎么分 / 印哪张表） */
.wb-setup-opts { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.wb-setup-opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; border: 1px solid #e8e8f0; background: #fff;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.wb-setup-opt:hover { border-color: #c9c2f5; box-shadow: 0 6px 18px rgba(76, 63, 214, .07); transform: translateY(-1px); }
.wb-setup-opt b { display: block; font-size: 14px; color: #2f2f36; margin-bottom: 3px; }
.wb-setup-opt span { display: block; font-size: 12.5px; color: #8a8a93; line-height: 1.6; }
.wb-setup-opt i { display: inline-block; margin-top: 7px; font-style: normal; font-size: 12px; color: #5b4bdd; }
.wb-subj-chip.is-locked { opacity: .55; cursor: default; }
/* 七格的筹备步骤条：字小一点，尽量挤在一行里 */
.wb-prep-steps.is-long button { font-size: 11.5px; padding: 5px 8px; gap: 4px; }

/* v2.13.134 账号页：学科组长勾选 */
.wb-leader-cell { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6b6b73; }
.wb-leader-cell input { width: 15px; height: 15px; accent-color: #6c5ce7; }

/* v2.13.138 门厅总览条上可点的「去处理」 */
.wb-sum-btn {
  border: 0; background: none; padding: 2px 8px; margin: -2px -8px; border-radius: 999px;
  font: inherit; color: #b45309; cursor: pointer;
  transition: background-color 160ms cubic-bezier(.23,1,.32,1);
}
@media (hover: hover) and (pointer: fine) { .wb-sum-btn:hover { background: rgba(255,149,0,.12); } }
.wb-sum-btn:active { transform: scale(.98); }
.wb-ai-panel { margin: 12px 0; padding: 12px 0; border-top: 1px solid #e3e6ec; border-bottom: 1px solid #e3e6ec; }
.wb-ai-buttons { display: flex; gap: 6px; align-items: center; }
.wb-ai-buttons button { flex: 1; padding: 8px 5px; white-space: nowrap; }
.wb-ai-status { margin-top: 8px; color: #546177; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.wb-ai-result { display: grid; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 1.55; }
.wb-ai-result > div { display: grid; gap: 2px; padding: 7px 9px; background: #f1f5fa; border-radius: 8px; }
.wb-ai-result > b { color: #174c70; font-size: 16px; }
.wb-ai-result span { color: #556174; }
.wb-ai-result .wb-ai-review { color: #9a5610; }
.wb-grading-image .wb-ai-paper-score { position: absolute; z-index: 24; left: 52%; top: 26px; display: flex; flex-direction: column; align-items: center; min-width: 150px; padding: 4px 12px; color: #d41520; pointer-events: none; transform: rotate(-7deg); text-shadow: 0 2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff, 0 -2px 0 #fff; }
.wb-ai-paper-score strong { display: block; font: 800 112px/1.05 "Segoe Print", "KaiTi", "STKaiti", serif; letter-spacing: -5px; }
.wb-ai-paper-score small { display: block; padding: 3px 7px; border-radius: 4px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; line-height: 1.4; }
@media (max-width: 620px) { .wb-grading-image .wb-ai-paper-score { min-width: 96px; padding: 2px 5px; } .wb-ai-paper-score strong { font-size: 72px; letter-spacing: -3px; } .wb-ai-paper-score small { font-size: 11px; } }
.wb-ai-backdrop { position: fixed; inset: 0; z-index: 1800; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(25,35,50,.45); }
.wb-ai-dialog { box-sizing: border-box; width: 660px; max-width: 100%; max-height: 92vh; overflow-y: auto; background: #fff; padding: 24px; border-radius: 18px; box-shadow: 0 20px 65px #14233640; color: #233146; }
.wb-ai-dialog header, .wb-ai-dialog footer, .wb-ai-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wb-ai-dialog h2 { font-size: 20px; margin: 0; }
.wb-ai-dialog label { display: grid; gap: 6px; margin: 14px 0; font-size: 13px; font-weight: 600; }
.wb-ai-dialog .wb-input { box-sizing: border-box; width: 100%; min-width: 0; font-weight: 400; }
.wb-ai-dialog textarea { min-height: 160px; resize: vertical; line-height: 1.65; }
.wb-ai-model-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wb-ai-model-row label { margin-top: 0; }
.wb-ai-section-head { margin: 12px 0 8px; font-size: 14px; }
.wb-ai-part { display: flex; align-items: center; gap: 7px; margin: 6px 0; }
.wb-ai-part [data-ai-score] { width: 85px; flex: none; }
.wb-ai-part [data-ai-label] { flex: 1; }
.wb-ai-part span { font-size: 12px; }
.wb-ai-dialog .wb-ai-file { display: inline-flex; align-items: center; border: 1px solid #cdd6e2; border-radius: 8px; padding: 8px 12px; cursor: pointer; margin-top: 0; }
.wb-ai-file input { max-width: 210px; font-size: 12px; }
.wb-ai-attachments { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-ai-attachments > div { position: relative; }
.wb-ai-attachments img { width: 90px; height: 100px; object-fit: contain; border: 1px solid #d8dfe9; background: #f7f9fc; border-radius: 6px; }
.wb-ai-attachments button { position: absolute; right: -5px; top: -5px; width: 23px; height: 23px; background: #fff; border: 1px solid #ccd6e3; border-radius: 50%; cursor: pointer; }
.wb-ai-note { color: #66758a; font-size: 12px; line-height: 1.6; margin: 14px 0; }
.wb-ai-modal-status { font-size: 13px; color: #805417; line-height: 1.5; overflow-wrap: anywhere; }
.wb-ai-dialog footer { justify-content: flex-end; margin-top: 16px; }
.wb-ai-panel button:disabled, .wb-ai-dialog button:disabled { opacity: .5; cursor: default; }
@media (max-width: 620px) { .wb-ai-backdrop { padding: 10px; } .wb-ai-dialog { padding: 18px; } .wb-ai-model-row { grid-template-columns: 1fr; gap: 0; } .wb-ai-section-head { align-items: flex-start; } }
