/* ============================================================
   桐乡人事人才网 · 招考报名平台 — 设计系统 v3
   姿态：成熟人事服务产品。真实品牌色（logo 实测 #5060b0 系）。
   基准：移动 390 / 桌面 1440 / 内容 1200。移动优先。
   实现映射：token → Tailwind theme；组件 → Radix/shadcn 可复现。
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --fg: #222a38;
  --fg-2: #5a6478;
  --fg-3: #8a93a6;
  --border: #e4e8f0;
  --border-strong: #ccd3e0;

  /* 品牌主色：logo 圆底实测 #5060b0，文字档加深至 AA */
  --primary: #4d5dad;
  --primary-strong: #3e4d98;
  --primary-tint: #eef0f9;
  --primary-line: #c9d1ec;

  /* 驳回/截止/不可逆（915hr logo 红的文字安全档） */
  --danger: #c23a2c;
  --danger-tint: #fdefec;
  --danger-line: #f0c8c1;

  --success: #1a7f4e;
  --success-tint: #e9f6ee;
  --success-line: #bfe3cd;

  --warn: #b25f00;
  --warn-tint: #fdf3e3;
  --warn-line: #f0d9ae;

  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-doc: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif; /* 仅公告正文/准考证 */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-s: 4px;
  --r: 6px;
  --r-l: 10px;
  --maxw: 1200px;
  --hit: 44px;
  --shadow-pop: 0 8px 28px rgba(30, 40, 70, .16);
  --shadow-bar: 0 -2px 10px rgba(30, 40, 70, .06);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: var(--primary-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
small { font-size: .86em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--primary-line); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { display: inline-block; vertical-align: middle; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: fixed; top: -52px; left: 12px; z-index: 999; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; font-size: 13.5px; transition: top .2s; }
.skip:focus { top: 0; text-decoration: none; }


/* 双 logo：平台标识 + 915hr 官网入口（移动端同样保留） */
.brand-ext { display: flex; align-items: center; gap: 10px; flex: none; margin-left: -6px; }
.brand-ext::before { content: ""; width: 1px; height: 22px; background: var(--border-strong); }
.brand__logo, .brand-ext img { height: 36px; width: auto; display: block; }
.brand-ext:hover { opacity: .82; text-decoration: none; }
@media (min-width: 768px) {
  .brand-ext { gap: 14px; }
}

/* ---------- 3. 布局骨架 ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
.main { padding: 16px 0 96px; }

.svcbar { display: none; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--fg-3); }
.svcbar__in { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.svcbar a { color: inherit; }
.svcbar a:hover { color: var(--primary-strong); }
.svcbar .sep { display: inline-block; width: 1px; height: 10px; background: var(--border-strong); margin: 0 10px; vertical-align: -1px; }

.hdr { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); }
.hdr__in { height: 54px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand__logo { height: 36px; width: auto; }
.brand__txt b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.brand__txt i { display: block; font-style: normal; font-size: 10.5px; color: var(--fg-3); letter-spacing: .13em; line-height: 1.3; }
.nav { display: none; }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bell { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--fg-2); border-radius: var(--r); }
.bell:hover { background: var(--surface-2); text-decoration: none; }
.bell__n { position: absolute; top: 4px; right: 4px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; font-style: normal; display: grid; place-items: center; line-height: 1; }
.uchip { display: flex; align-items: center; gap: 7px; padding: 3px 10px 3px 3px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg); font-size: 13.5px; }
.uchip:hover { text-decoration: none; border-color: var(--border-strong); background: var(--surface-2); }
.uchip__av { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; font-style: normal; }
.menu-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r); color: var(--fg-2); cursor: pointer; }
.menu-btn:hover { background: var(--surface-2); }

.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer__mask { position: absolute; inset: 0; background: rgba(24, 30, 46, .4); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 84vw); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-pop); }
.drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.drawer__t { font-weight: 600; font-size: 15px; }
.drawer__t small { display: block; color: var(--fg-3); font-weight: 400; }
.drawer__x { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r); color: var(--fg-2); cursor: pointer; }
.drawer__nav { padding: 8px; }
.drawer__nav a { display: flex; align-items: center; height: 46px; padding: 0 12px; border-radius: var(--r); color: var(--fg); font-size: 15px; }
.drawer__nav a:hover { background: var(--surface-2); text-decoration: none; }
.drawer__ft { margin-top: auto; padding: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-3); }

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-3); margin-bottom: 12px; }
.crumb a { color: var(--fg-3); }
.crumb a:hover { color: var(--primary-strong); }
.crumb .i { color: var(--border-strong); width: 12px; height: 12px; }

.phd { margin: 2px 0 16px; }
.phd h1 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.phd__m { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--fg-3); }

.ftr { background: var(--surface); border-top: 1px solid var(--border); margin-top: 52px; font-size: 13px; color: var(--fg-2); }
.ftr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 26px 0 20px; }
.ftr__brand { grid-column: 1 / -1; }
.ftr__brand img { margin-bottom: 8px; opacity: .92; }
.ftr__brand b { display: block; color: var(--fg); margin-bottom: 2px; }
.ftr__col h3 { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.ftr__col a { display: block; color: var(--fg-2); padding: 3.5px 0; }
.ftr__col a:hover { color: var(--primary-strong); text-decoration: none; }
.ftr__tel { font-size: 19px; font-weight: 700; color: var(--fg); margin-bottom: 4px; }
.ftr__legal { border-top: 1px solid var(--border); padding: 13px 0 15px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; color: var(--fg-3); }
.ftr__legal a { color: var(--fg-3); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: var(--surface); border-top: 1px solid var(--border); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.tabbar__a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; font-size: 10.5px; color: var(--fg-3); }
.tabbar__a:hover { text-decoration: none; }
.tabbar__a[aria-current] { color: var(--primary-strong); font-weight: 600; }

.stickybar { position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 110; background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-bar); padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.has-stickybar .main { padding-bottom: 170px; }

/* ---------- 4. 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r); background: var(--surface); color: var(--fg); font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
.btn--pri { background: var(--primary); color: #fff; }
.btn--pri:hover { background: var(--primary-strong); }
.btn--sec { border-color: var(--border-strong); }
.btn--sec:hover { border-color: var(--primary); color: var(--primary-strong); }
.btn--ghost { background: transparent; color: var(--primary-strong); }
.btn--ghost:hover { background: var(--primary-tint); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a92f22; }
.btn--danger-o { border-color: var(--danger-line); color: var(--danger); }
.btn--danger-o:hover { background: var(--danger-tint); }
.btn--sm { height: 30px; padding: 0 12px; font-size: 13px; border-radius: var(--r-s); }
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn--blk { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--surface); }
.btn--pri[disabled]:hover { background: var(--primary); }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn[aria-busy="true"] { cursor: wait; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ibtn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r-s); color: var(--fg-2); cursor: pointer; }
.ibtn:hover { background: var(--surface-2); color: var(--primary-strong); }
.ibtn--danger:hover { background: var(--danger-tint); color: var(--danger); }
.ibtn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- 5. 状态章（三通道：点+文字+色） ---------- */
.st { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border: 1px solid; border-radius: var(--r-s); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ing, .st--ok { color: var(--success); background: var(--success-tint); border-color: var(--success-line); }
.st--rev, .st--todo { color: var(--warn); background: var(--warn-tint); border-color: var(--warn-line); }
.st--no { color: var(--danger); background: var(--danger-tint); border-color: var(--danger-line); }
.st--end, .st--quit { color: var(--fg-3); background: var(--surface-2); border-color: var(--border); }
.st--soon { color: var(--fg-2); background: var(--surface-2); border-color: var(--border-strong); }
.st--pub, .st--done { color: var(--primary-strong); background: var(--primary-tint); border-color: var(--primary-line); }
.st--todo::before { animation: stPulse 1.6s ease-in-out infinite; }
@keyframes stPulse { 50% { opacity: .35; } }

.typetag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid var(--primary-line); border-radius: var(--r-s); color: var(--primary-strong); background: var(--surface); font-size: 11.5px; font-weight: 600; line-height: 1; white-space: nowrap; }

/* ---------- 6. 卡片与分区 ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: 16px; }
.card__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.card__hd h2, .card__hd h3 { font-size: 15px; font-weight: 600; }
.card__hd .x { font: inherit; font-size: 13px; color: var(--fg-2); display: inline-flex; align-items: center; gap: 2px; border: 0; background: transparent; padding: 6px 0; cursor: pointer; }
.card__hd .x:hover { color: var(--primary-strong); text-decoration: underline; }
.card__hd .x:hover { color: var(--primary-strong); text-decoration: none; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .card__hd { padding: 13px 16px 11px; margin: 0; border-bottom: 1px solid var(--border); }

.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.sec-hd h2 { font-size: 17px; font-weight: 600; }
.sec-hd .x { font-size: 13.5px; color: var(--fg-2); display: inline-flex; align-items: center; gap: 2px; }
.sec-hd .x:hover { color: var(--primary-strong); text-decoration: none; }

/* ---------- 7. KV 栅格 ---------- */
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
.kv dt { font-size: 12px; color: var(--fg-3); margin-bottom: 2px; }
.kv dd { font-size: 14px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.kv .full { grid-column: 1 / -1; }

/* ---------- 8. 表格 ---------- */
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--fg-2); background: var(--surface-2); padding: 10px 14px; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { font-variant-numeric: tabular-nums; }
.tbl__act { white-space: nowrap; }

/* ---------- 9. 表单 ---------- */
.fld { margin-bottom: 16px; }
.fld__lb { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.fld__lb.req::after { content: "*"; color: var(--danger); margin-left: 3px; }
.inp, .sel, .txa { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r); height: 44px; padding: 0 12px; transition: border-color .15s, box-shadow .15s; }
.inp:focus-visible, .sel:focus-visible, .txa:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-line); }
.inp::placeholder, .txa::placeholder { color: var(--fg-3); }
.txa { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.6; resize: vertical; }
.sel { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.fld__help { font-size: 12.5px; color: var(--fg-3); margin-top: 5px; line-height: 1.55; }
.fld__err { display: none; align-items: flex-start; gap: 5px; font-size: 12.5px; color: var(--danger); margin-top: 5px; line-height: 1.5; }
.fld.is-err .fld__err { display: flex; }
.fld.is-err .inp, .fld.is-err .sel, .fld.is-err .txa { border-color: var(--danger); }
.fld.is-err .inp:focus-visible, .fld.is-err .sel:focus-visible, .fld.is-err .txa:focus-visible { box-shadow: 0 0 0 3px var(--danger-line); }
.frow { display: grid; gap: 0 16px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.ck { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; padding: 7px 0; cursor: pointer; line-height: 1.6; }
.inpwrap { position: relative; }
.inpwrap .ibtn { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); }
.inpwrap .inp { padding-right: 44px; }

.form-summary { display: flex; gap: 10px; border: 1px solid var(--danger-line); background: var(--danger-tint); border-radius: var(--r); padding: 13px 15px; margin-bottom: 18px; font-size: 13.5px; }
.form-summary > .i { color: var(--danger); margin-top: 2px; }
.form-summary b { display: block; color: var(--danger); margin-bottom: 4px; font-size: 14px; }
.form-summary ul { margin: 0; padding-left: 16px; }
.form-summary li { margin: 2px 0; }
.form-summary a { color: var(--danger); text-decoration: underline; }

/* ---------- 10. 提示条 ---------- */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); font-size: 13.5px; line-height: 1.65; }
.alert > .i { margin-top: 2.5px; }
.alert__t { display: block; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.alert--info { border-color: var(--primary-line); background: var(--primary-tint); }
.alert--info > .i { color: var(--primary-strong); }
.alert--warn { border-color: var(--warn-line); background: var(--warn-tint); }
.alert--warn > .i { color: var(--warn); }
.alert--danger { border-color: var(--danger-line); background: var(--danger-tint); }
.alert--danger > .i { color: var(--danger); }
.alert[hidden] { display: none; }
.alert--success { border-color: var(--success-line); background: var(--success-tint); }
.alert--success > .i { color: var(--success); }

/* ---------- 11. 流程凭证轨道 ---------- */
.track { list-style: none; }
.track__it { position: relative; padding: 0 0 26px 44px; }
.track__it::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--border-strong); }
.track__it:last-child { padding-bottom: 2px; }
.track__it:last-child::before { display: none; }
.track__it.is-done::before { background: var(--success-line); }
.track__dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border-strong); color: var(--fg-3); }
.track__dot .i { width: 14px; height: 14px; }
.is-done .track__dot { background: var(--success); border-color: var(--success); color: #fff; }
.is-now .track__dot { border-color: var(--primary); color: var(--primary-strong); box-shadow: 0 0 0 4px var(--primary-line); }
.is-block .track__dot { background: var(--danger); border-color: var(--danger); color: #fff; }
.track__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 28px; }
.track__hd b { font-size: 15px; font-weight: 600; }
.track__hd .when { font-size: 12.5px; color: var(--fg-3); }
.is-todo .track__hd b { color: var(--fg-2); font-weight: 500; }
.track__bd { margin-top: 4px; font-size: 13.5px; color: var(--fg-2); }
.track__bd p { margin: 3px 0 0; }
.track__box { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); padding: 13px 15px; }
.is-now .track__box { border-color: var(--primary-line); background: var(--primary-tint); }
.is-block .track__box { border-color: var(--danger-line); background: var(--danger-tint); }
.track__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- 12. 步骤条 ---------- */
.steps { display: flex; list-style: none; counter-reset: s; }
.steps__it { counter-increment: s; flex: 1; position: relative; text-align: center; padding-top: 30px; font-size: 12.5px; color: var(--fg-3); line-height: 1.4; }
.steps__it::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--border-strong); font-size: 12px; font-weight: 600; }
.steps__it::after { content: ""; position: absolute; top: 12px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--border); }
.steps__it:last-child::after { display: none; }
.steps__it.is-done { color: var(--fg-2); }
.steps__it.is-done::before { content: "✓"; background: var(--success); border-color: var(--success); color: #fff; }
.steps__it.is-done::after { background: var(--success-line); }
.steps__it.is-now { color: var(--fg); font-weight: 600; }
.steps__it.is-now::before { border-color: var(--primary); color: var(--primary-strong); box-shadow: 0 0 0 3px var(--primary-line); }

/* ---------- 13. 文件行 / 进度 ---------- */
.file { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.file:last-child { border-bottom: 0; }
.file__ico { width: 38px; height: 38px; flex: none; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--surface-2); display: grid; place-items: center; color: var(--fg-2); }
.file__bd { flex: 1; min-width: 0; }
.file__n { font-size: 14px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.file__m { font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.file__act { display: flex; gap: 2px; }
.file__act { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.file-preview-btn { min-height: 36px; }
.file-preview { display: grid; justify-items: center; gap: 10px; text-align: center; }
.file-preview__canvas { width: min(100%, 420px); min-height: 220px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--surface-2); display: grid; place-items: center; color: var(--fg-3); }
.file-preview__canvas .i { width: 48px; height: 48px; }
.file-preview__type { font: 700 18px/1 var(--font-mono); letter-spacing: .08em; color: var(--primary-strong); }
.file-preview__name { max-width: 100%; overflow-wrap: anywhere; color: var(--fg); }
.file-preview__meta { font: 12.5px/1.4 var(--font-mono); color: var(--fg-3); }
.file-preview p { max-width: 42ch; color: var(--fg-3); font-size: 12.5px; }
.snapfiles__preview { margin-left: auto; }
@media (max-width: 560px) {
  .file { align-items: flex-start; flex-wrap: wrap; }
  .file__act { width: 100%; padding-left: 50px; justify-content: flex-start; }
  .file-preview-btn { min-height: 44px; }
}

.prog { height: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.prog > i { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .3s; }

/* ---------- 14. 搜索 / 筛选 / 列表行 / 分页 ---------- */
.searchbar { display: flex; gap: 10px; }
.searchbar .inp { flex: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--primary); color: var(--primary-strong); }
.chip.is-on { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-strong); font-weight: 600; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab { position: relative; background: none; border: 0; padding: 10px 2px 11px; font-size: 14.5px; color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--fg); }
.tab.is-on { color: var(--primary-strong); font-weight: 600; }
.tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--primary); }

.acc__it { border-bottom: 1px solid var(--border); }
.acc__it:last-child { border-bottom: 0; }
.acc__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 13px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.acc__hd:hover { background: var(--surface-2); }
.acc__hd .chev { transition: transform .15s; color: var(--fg-3); }
.acc__hd.is-open .chev { transform: rotate(180deg); }
.acc__bd { padding: 0 16px 14px; font-size: 13.5px; color: var(--fg-2); line-height: 1.75; }

.upzone { display: block; width: 100%; border: 1.5px dashed var(--border-strong); border-radius: var(--r); background: var(--surface-2); padding: 20px 16px; text-align: center; color: var(--fg-2); font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.upzone:hover, .upzone.is-drag { border-color: var(--primary); background: var(--primary-tint); }
.upzone .i { display: block; margin: 0 auto 6px; width: 26px; height: 26px; stroke-width: 1.5; color: var(--fg-3); }
.upzone b { display: block; font-size: 14px; color: var(--fg); margin-bottom: 2px; }

.rowli { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.55; }
.rowli:last-child { border-bottom: 0; }
.rowli__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); margin-top: 8px; }
.rowli__dot.is-read { background: var(--border-strong); }
.rowli time { flex: none; margin-left: auto; color: var(--fg-3); font-size: 12.5px; padding-top: 1px; }

.pagi { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 20px; }
.pagi button { min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--r-s); font-size: 13px; color: var(--fg-2); cursor: pointer; }
.pagi button:hover { border-color: var(--primary); color: var(--primary-strong); }
.pagi button.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagi button[disabled] { opacity: .4; cursor: not-allowed; }
.pagi .pagi__info { font-size: 12.5px; color: var(--fg-3); margin-left: 8px; }

/* ---------- 15. 空态 / 骨架 ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--fg-3); }
.empty .i { width: 40px; height: 40px; stroke-width: 1.2; margin-bottom: 8px; }
.empty p { font-size: 14px; margin-bottom: 14px; }
.skl { background: var(--surface-2); border-radius: var(--r-s); animation: sklPulse 1.2s ease-in-out infinite; }
.skl--ln { height: 14px; margin: 10px 0; }
@keyframes sklPulse { 50% { opacity: .5; } }

/* 业务状态面板：空态、持久错误和列表骨架共用结构 */
.state-panel { display: grid; justify-items: center; gap: 8px; padding: 40px 24px; text-align: center; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--surface); }
.state-panel[hidden] { display: none; }
.state-panel__icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--fg-3); }
.state-panel__icon .i { width: 36px; height: 36px; stroke-width: 1.35; }
.state-panel__title { color: var(--fg); font-size: 17px; font-weight: 600; }
.state-panel__desc { max-width: 46ch; color: var(--fg-2); font-size: 13.5px; line-height: 1.7; }
.state-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.state-panel--error { border-color: var(--danger-line); background: var(--danger-tint); }
.state-panel--error .state-panel__icon { color: var(--danger); }
.state-skeleton { display: grid; gap: 14px; }
.state-skeleton[hidden] { display: none; }
.state-skeleton__card { padding: 20px; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--surface); }
.state-skeleton__head { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 24px; align-items: start; }
.state-skeleton__meta { display: flex; gap: 10px; margin-top: 16px; }
.state-skeleton__meta .skl { height: 12px; }
.state-skeleton__progress { height: 6px; margin-top: 18px; }
.state-skeleton__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.state-skeleton__actions .skl { width: 92px; height: 36px; }
@media (max-width: 599px) {
  .state-panel { padding: 32px 18px; }
  .state-panel__actions { width: 100%; }
  .state-panel__actions .btn { flex: 1; }
  .state-skeleton__head { grid-template-columns: 1fr 68px; gap: 12px; }
}

/* ---------- 16. 弹窗 / Toast ---------- */
.dlgm { position: fixed; inset: 0; z-index: 200; background: rgba(24, 30, 46, .45); display: grid; place-items: center; padding: 20px; }
.dlgm[hidden] { display: none; }
.dlg { width: 100%; max-width: 420px; max-height: 84vh; overflow: auto; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-pop); padding: 20px 22px; animation: dlgIn .18s ease-out; }
.dlg--wide { max-width: 680px; }
.inline-editor { display: grid; gap: 14px; }
.inline-editor__grid { display: grid; gap: 12px; }
.inline-editor__note { font-size: 12.5px; color: var(--fg-3); }
.inline-editor__error { color: var(--danger); font-size: 13px; }
@media (min-width: 600px) { .inline-editor__grid { grid-template-columns: 1fr 1fr; } }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dlg__t { font-size: 16px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dlg--danger .dlg__t > .i { color: var(--danger); }
.dlg__b { font-size: 14px; color: var(--fg-2); line-height: 1.7; }
.dlg__b ul { padding-left: 18px; margin: 6px 0; }
.dlg__b li { margin: 3px 0; }
.dlg__acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

.toast-viewport { position: fixed; z-index: 2000; top: 16px; right: 16px; width: min(380px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) 28px; align-items: start; gap: 10px; width: 100%; padding: 14px 12px 14px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-l); background: var(--surface); color: var(--fg); box-shadow: var(--shadow-pop); opacity: 0; transform: translateX(18px); pointer-events: auto; }
.toast.is-in { opacity: 1; transform: translateX(0); }
.toast.is-out { opacity: 0; transform: translateX(18px); }
.toast__icon { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; color: var(--primary-strong); }
.toast__body { min-width: 0; }
.toast__title { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.toast__desc { margin-top: 2px; color: var(--fg-2); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.toast__close { width: 28px; height: 28px; margin: -4px -2px 0 0; display: grid; place-items: center; border: 0; border-radius: var(--r); background: transparent; color: var(--fg-3); cursor: pointer; }
.toast__close:hover { background: var(--surface-2); color: var(--fg); }
.toast--success .toast__icon { color: var(--success); }
.toast--warning .toast__icon { color: var(--warn); }
.toast--error { border-color: var(--danger-line); }
.toast--error .toast__icon { color: var(--danger); }
@media (prefers-reduced-motion: no-preference) { .toast { transition: opacity .18s ease, transform .18s ease; } }
@media (max-width: 599px) {
  .toast-viewport { top: auto; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .toast { transform: translateY(14px); }
  .toast.is-in { transform: translateY(0); }
  .toast.is-out { transform: translateY(14px); }
}

/* ---------- 17. 倒计时 ---------- */
.cd { font-variant-numeric: tabular-nums; color: var(--warn); font-weight: 600; }
.cd b { white-space: nowrap; }
.cd .cd__lb { font-weight: 400; color: var(--fg-2); }
.cd.is-urgent { color: var(--danger); }
.cd.is-over { color: var(--fg-3); font-weight: 500; }

/* ---------- 18. 拼图验证 ---------- */
.pv { position: relative; }
.pv__trigger { width: 100%; min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); color: var(--fg-2); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.pv__trigger:hover { border-color: var(--primary); color: var(--primary-strong); }
.pv__trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pv__trigger-icon { display: grid; place-items: center; color: var(--primary-strong); }
.pv__trigger-arrow { color: var(--fg-3); }
.pv.is-ok .pv__trigger { border-color: var(--success-line); background: var(--success-tint); color: var(--success); font-weight: 600; }
.pv.is-ok .pv__trigger-icon, .pv.is-ok .pv__trigger-arrow { color: var(--success); }
.pv__popover { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 16px; }
.pv__popover[hidden] { display: none; }
.pv__backdrop { position: absolute; inset: 0; background: rgba(12, 24, 45, .42); }
.pv__panel { position: relative; width: min(354px, 100%); padding: 16px; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--surface); box-shadow: 0 18px 50px rgba(12, 31, 61, .22); }
.pv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pv__head strong { font-size: 14px; font-weight: 600; }
.pv__close, .pv__refresh { display: grid; place-items: center; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; padding: 0; }
.pv__close { width: 36px; height: 36px; margin: -8px -8px -8px 0; border-radius: var(--r); }
.pv__close:hover { background: var(--surface-2); color: var(--fg); }
.pv__stage { position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface-2); }
.pv__bg { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pv__piece { position: absolute; z-index: 2; left: 0; top: 0; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(20, 38, 72, .24)); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.pv__loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-3); font-size: 13px; }
.pv__loading[hidden] { display: none; }
.pv__refresh { position: absolute; z-index: 3; top: 8px; right: 8px; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .72); border-radius: var(--r); background: rgba(255, 255, 255, .9); }
.pv__refresh:hover { color: var(--primary-strong); background: #fff; }
.pv__track { position: relative; margin-top: 12px; height: 44px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface-2); user-select: none; }
.pv__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--primary-tint); }
.pv__hint { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 46px; font-size: 13px; color: var(--fg-3); pointer-events: none; }
.pv__thumb { position: absolute; z-index: 2; left: 0; top: 0; width: 52px; height: 100%; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); color: var(--fg-2); cursor: grab; touch-action: none; padding: 0; }
.pv__thumb::before { content: "»"; font-size: 18px; line-height: 1; }
.pv__status { min-height: 18px; margin-top: 7px; color: var(--fg-3); font-size: 12.5px; line-height: 1.45; }
.pv.is-dragging .pv__thumb { cursor: grabbing; }
.pv.is-ok .pv__stage, .pv.is-ok .pv__track { border-color: var(--success-line); }
.pv.is-ok .pv__fill { width: 100% !important; background: var(--success-tint); }
.pv.is-ok .pv__hint, .pv.is-ok .pv__status { color: var(--success); font-weight: 600; }
.pv.is-ok .pv__thumb { color: var(--success); border-color: var(--success-line); cursor: default; }
.pv.is-ok .pv__thumb::before { content: "✓"; font-size: 15px; }
.pv.is-fail .pv__track { border-color: var(--danger-line); }
.pv.is-fail .pv__status { color: var(--danger); }
@media (prefers-reduced-motion: no-preference) {
  .pv__panel { animation: pv-in .16s ease-out; }
  .pv__piece, .pv__thumb, .pv__fill { transition: left .12s ease, width .12s ease; }
  .pv.is-dragging .pv__piece, .pv.is-dragging .pv__thumb, .pv.is-dragging .pv__fill { transition: none; }
}
@keyframes pv-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 19. 侧栏布局 ---------- */
.side-layout { display: grid; gap: 16px; align-items: start; }
.side-layout > * { min-width: 0; }
.snav { display: flex; gap: 4px; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: 6px; }
.snav a { flex: none; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 13px; border-radius: var(--r); font-size: 14px; color: var(--fg-2); white-space: nowrap; }
.snav a:hover { background: var(--surface-2); text-decoration: none; }
.snav a.is-on { background: var(--primary-tint); color: var(--primary-strong); font-weight: 600; }

/* ---------- 20. 准考证（还原线上真实版式，文书体） ---------- */
.ticket { background: #fff; border: 2px solid #333; padding: 22px; font-family: var(--font-doc); color: #111; max-width: 720px; margin: 0 auto; }
.ticket__t { text-align: center; font-size: 25px; font-weight: 700; letter-spacing: .4em; text-indent: .4em; }
.ticket__no { text-align: center; font-family: var(--font-mono); font-size: 12.5px; margin-top: 2px; }
.ticket__warn { text-align: center; font-size: 12.5px; border-bottom: 1px solid #333; padding: 6px 0 10px; margin-bottom: 14px; }
.ticket__grid { display: grid; grid-template-columns: 1fr 108px; gap: 14px; }
.ticket table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ticket th, .ticket td { border: 1px solid #333; padding: 7px 9px; text-align: left; font-weight: 400; line-height: 1.5; }
.ticket th { width: 84px; background: #f5f3ee; white-space: nowrap; }
.ticket__photo { border: 1px solid #333; height: 150px; display: grid; place-items: center; font-size: 12px; color: #666; text-align: center; line-height: 1.6; }
.ticket__rules { margin-top: 13px; font-size: 12.5px; line-height: 1.85; }
.ticket__rules b { display: block; margin-bottom: 2px; }
.ticket__rules ol { padding-left: 18px; }
.ticket__sign { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #999; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; position: relative; }
.sealbox { position: relative; }
.seal { position: absolute; right: 6px; bottom: -6px; width: 104px; height: 104px; transform: rotate(-10deg); opacity: .88; pointer-events: none; }

/* ---------- 21. 工具类 ---------- */
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }
.grid-2 { display: grid; gap: 14px; }
.cols-a { display: grid; gap: 16px; align-items: start; }
.d-only { display: none; }
.doc { font-family: var(--font-doc); font-size: 15.5px; line-height: 2; }
.doc h3 { font-size: 16.5px; margin: 18px 0 6px; }
.doc p { margin: 8px 0; text-indent: 2em; }
.doc .noindent { text-indent: 0; }
.doc .close { text-align: right; margin-top: 26px; text-indent: 0; }

/* ---------- 22. 响应式 ---------- */
@media (min-width: 768px) {
  .svcbar { display: block; }
  .hdr__in { height: 60px; gap: 24px; }
  .brand__logo { height: 36px; }
  .brand__txt b { font-size: 16px; }
  .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; }
  .ftr__brand { grid-column: auto; }
  .frow { grid-template-columns: 1fr 1fr; }
  .kv--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kv--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { padding: 20px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wrap { padding-inline: 20px; }
}
@media (min-width: 1024px) {
  body { font-size: 14px; }
  .inp, .sel, .txa { font-size: 14px; }
  .inp, .sel { height: 40px; }
  .nav { display: flex; gap: 4px; }
  .nav__a { position: relative; display: block; padding: 0 14px; line-height: 60px; font-size: 14.5px; font-weight: 500; color: var(--fg-2); }
  .nav__a:hover { color: var(--fg); text-decoration: none; }
  .nav__a[aria-current] { color: var(--primary-strong); }
  .nav__a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--primary); }
  .menu-btn, .tabbar { display: none; }
  .main { padding: 26px 0 60px; }
  .has-stickybar .main { padding-bottom: 60px; }
  .stickybar { display: none; }
  .phd h1 { font-size: 22px; }
  .wrap { padding-inline: 24px; }
  .side-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 20px; }
  .snav { display: block; overflow: visible; padding: 8px; position: sticky; top: 76px; }
  .snav a { display: flex; height: 42px; margin-bottom: 2px; }
  .cols-a { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .d-only { display: revert; }
  .m-only { display: none; }
}
@media (max-width: 767.98px) {
  .brand__txt i { display: none; }
  /* 双 Logo 优先于重复的用户快捷入口；通知与账户仍可从菜单/底栏进入。 */
  .hdr__r .bell, .hdr__r .uchip { display: none; }
  .menu-btn { width: 44px; height: 44px; }
  .btn { min-height: 44px; }
  .card__hd .x { min-height: 44px; }
  .brand-ext { margin-left: -4px; gap: 8px; }
  .brand-ext::before { height: 20px; }
  /* 移动端头部去拥挤：收紧间距，用户胶囊只留头像（姓名对读屏保留） */
  .hdr__in { gap: 12px; }
  .hdr__r { gap: 4px; }
  .uchip { padding: 3px; }
  .uchip__n { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 480px) {
  /* 窄屏头部只保留「登录」入口，「注册」由登录页与首页登录卡承接 */
  .hdr__r > .btn--pri { display: none; }
}

/* ---------- 23. 登录态退出入口 ---------- */
.logout-head { display: none; color: var(--fg-2); }
.drawer__ft { display: grid; gap: 12px; }
.drawer__logout {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--danger);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.drawer__logout:hover { border-color: var(--danger-line); background: var(--danger-tint); }
.drawer__logout:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (min-width: 1024px) {
  .logout-head { display: inline-flex; }
}

/* ---------- 24. 全站克制动效 ---------- */
/*
 * 页面入场只增强桌面端首次感知：移动端直接呈现内容，避免滚动与触控环境中的无效位移。
 * 交互组件继续使用各自已有的颜色、边框、折叠和状态反馈，不对长列表逐项错峰。
 */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  body:not(.pg-home) .main > .wrap {
    animation: page-enter 260ms cubic-bezier(.2, 0, 0, 1) both;
  }
}

/* ---------- 25. 打印 ---------- */
@media print {
  .svcbar, .hdr, .drawer, .ftr, .tabbar, .stickybar, .toast, .dlgm, .no-print, .skip { display: none !important; }
  body { background: #fff; }
  .main { padding: 0; }
  .card { border: 0; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 27. 任务导向导航与减负组件 ---------- */
.taskbar { display: none; }
.task-next { border: 1px solid var(--primary-line); border-radius: var(--r-l); background: var(--primary-tint); padding: 18px; }
.task-next__label { display: block; margin-bottom: 5px; color: var(--primary-strong); font-size: 12px; font-weight: 600; }
.task-next__title { font-size: 19px; line-height: 1.4; }
.task-next p { max-width: 48ch; margin-top: 7px; color: var(--fg-2); font-size: 13.5px; }
.task-next__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.task-checklist { list-style: none; margin-top: 4px; }
.task-checklist__item { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.task-checklist__item:last-child { border-bottom: 0; }
.task-checklist__mark { width: 22px; height: 22px; border: 1px solid var(--border-strong); border-radius: 50%; display: grid; place-items: center; color: var(--fg-3); font-size: 12px; font-weight: 700; }
.task-checklist__item.is-done .task-checklist__mark { border-color: var(--success); color: var(--success); }
.task-checklist__item.is-risk .task-checklist__mark { border-color: var(--warn); color: var(--warn); }
.task-checklist__state { color: var(--fg-3); font-size: 12px; }
.task-progress { margin-bottom: 16px; }
.task-progress__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.task-progress__meta > div { display: grid; gap: 2px; }
.task-progress__meta strong { font-size: 17px; }
.task-progress__meta span { color: var(--fg-3); font-size: 12.5px; }
.task-progress__bar { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: var(--border); }
.task-progress__bar > i { display: block; height: 100%; width: var(--task-progress,25%); background: var(--primary); border-radius: inherit; }
.task-save-state { color: var(--success); font-size: 12.5px; }
.task-summary { display: grid; gap: 0; }
.task-summary > div { display: grid; grid-template-columns: minmax(96px,.7fr) minmax(0,2fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.task-summary > div:last-child { border-bottom: 0; }
.task-summary dt { color: var(--fg-3); font-size: 12.5px; }
.task-summary dd { min-width: 0; font-weight: 500; }
details.disclosure { border-top: 1px solid var(--border); }
details.disclosure:last-child { border-bottom: 1px solid var(--border); }
details.disclosure > summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; list-style: none; }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after { content: "+"; color: var(--primary-strong); font-size: 19px; font-weight: 400; }
details.disclosure[open] > summary::after { content: "−"; }
details.disclosure > .disclosure__body { padding: 0 0 16px; color: var(--fg-2); }

@media (max-width: 1023.98px) {
  .task-page .svcbar, .task-page > .hdr { display: none; }
  .taskbar { position: sticky; top: 0; z-index: 105; display: grid; grid-template-columns: 52px minmax(0,1fr) 52px; align-items: center; min-height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 4px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
  .taskbar__back, .taskbar .menu-btn { width: 44px; height: 44px; display: grid; place-items: center; justify-self: center; color: var(--fg); border-radius: var(--r); }
  .taskbar__back { font-size: 28px; line-height: 1; }
  .taskbar__back:hover { text-decoration: none; background: var(--surface-2); }
  .taskbar__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 16px; font-weight: 600; }
  .task-page .crumb { display: none; }
  .task-page .tabbar { display: none; }
  .task-page .stickybar { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .task-page.has-stickybar .main { padding-bottom: 116px; }
  .task-page .ftr { margin-bottom: 0; }
  .task-page .stickybar .btn--pri { min-width: 148px; }
}
@media (max-width: 599px) {
  .task-next { padding: 16px; }
  .task-next__actions .btn { width: 100%; }
  .task-summary > div { grid-template-columns: 1fr; gap: 3px; }
  .task-checklist__state { display: none; }
}

@media (max-width: 599px) {
  /* 场次卡首屏只保留报名窗口与招聘规模；考试和主办信息进入详情。 */
  .pg-sessions .sess__meta > div:nth-child(n+3) { display: none; }
  .task-page .stickybar .btn { min-height: 44px; }
}
