/* 养老补贴核对 · 独立主题（赭金 #B45309 + 朱红 #B91C1C · 证书/印章视觉） */
:root {
  --chs-a: #b45309;
  --chs-a2: #b91c1c;
  --chs-a3: #92400e;
  --chs-a4: #dc2626;
  --chs-soft: #fef3e2;
  --chs-soft2: #fee2e2;
  --chs-bg: #faf6ef;
  --chs-card: #fffdf9;
  --chs-card2: #f9f3e9;
  --chs-txt: #2d2418;
  --chs-txt2: #5c4f3d;
  --chs-txt3: #97876f;
  --chs-line: #e5d9c4;
  --chs-line2: #f0e8d8;
  --chs-ok: #15803d;
  --chs-ok-soft: #e7f6ec;
  --chs-warn: #b45309;
  --chs-warn-soft: #fdf3e2;
  --chs-bad: #b91c1c;
  --chs-bad-soft: #fdecec;
  --chs-shadow: 0 1px 2px rgba(148, 83, 9, .08), 0 14px 30px -20px rgba(148, 83, 9, .4);
  --chs-r: 12px;
  --chs-r2: 8px;
}
[data-theme='dark'] .chs {
  --chs-a: #e8a24d;
  --chs-a2: #f0655f;
  --chs-a3: #f3c07f;
  --chs-a4: #fca5a5;
  --chs-soft: #3a2a12;
  --chs-soft2: #3d1a19;
  --chs-bg: #171208;
  --chs-card: #221a0e;
  --chs-card2: #2a2013;
  --chs-txt: #f5ecdd;
  --chs-txt2: #d3c4a9;
  --chs-txt3: #a3947b;
  --chs-line: #4a3c22;
  --chs-line2: #3a2f1b;
  --chs-ok: #4ade80;
  --chs-ok-soft: #10301d;
  --chs-warn: #fbbf24;
  --chs-warn-soft: #392a10;
  --chs-bad: #f87171;
  --chs-bad-soft: #3d1a19;
  --chs-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 14px 30px -20px rgba(0, 0, 0, .8);
}

.chs { background: var(--chs-bg); color: var(--chs-txt); padding: 28px 0 46px; }
.chs-inner { width: min(1140px, calc(100% - 44px)); max-width: none; margin: 0 auto; }
.chs-frame { max-width: 960px; margin: 0 auto; }

/* ---------- Hero ---------- */
.chs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: 26px; align-items: center;
  padding: 30px 30px 28px;
  border: 1px solid var(--chs-line);
  border-radius: 16px;
  background:
    radial-gradient(600px 250px at 94% 4%, rgba(185, 28, 28, .12), transparent 64%),
    radial-gradient(520px 240px at 2% 98%, rgba(180, 83, 9, .16), transparent 70%),
    linear-gradient(150deg, var(--chs-card), var(--chs-card2));
  box-shadow: var(--chs-shadow);
  position: relative; overflow: hidden;
}
.chs-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--chs-a) 0 26px, var(--chs-a2) 26px 52px);
  opacity: .5;
}
.chs-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--chs-a3); background: var(--chs-soft);
  border: 1px solid color-mix(in srgb, var(--chs-a) 30%, transparent);
  padding: 5px 11px; border-radius: 4px;
}
.chs-hero h1 {
  margin: 14px 0 0; font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25; letter-spacing: -.7px; font-weight: 800;
}
.chs-hero h1 em {
  font-style: normal; display: inline-block; margin-top: 3px; color: var(--chs-a);
  background: linear-gradient(180deg, transparent 62%, rgba(180, 83, 9, .26) 62%);
  padding: 0 2px;
}
.chs-sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--chs-txt2); max-width: 64ch; }
.chs-sub b { color: var(--chs-txt); font-weight: 700; }
.chs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.chs-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--chs-txt2);
  background: var(--chs-card2); border: 1px solid var(--chs-line);
  padding: 5px 10px; border-radius: 6px;
}
.chs-tag i { color: var(--chs-a); font-style: normal; font-weight: 800; }
.chs-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chs-cta .chs-btn { padding: 12px 22px; font-size: 14px; }
.chs-hero-art { position: relative; min-height: 250px; }

/* 纯 CSS 证书 + 印章 */
.chs-cert { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 200px; height: 180px; }
.chs-cert-in {
  position: absolute; inset: 0;
  background: var(--chs-card); border: 1.5px solid var(--chs-a);
  border-radius: 8px; box-shadow: var(--chs-shadow);
  padding: 16px 16px;
}
.chs-cert-in::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px dashed color-mix(in srgb, var(--chs-a) 45%, transparent);
  border-radius: 5px; pointer-events: none;
}
.chs-cert-t {
  display: block; text-align: center; font-size: 14px; font-weight: 800;
  letter-spacing: 4px; color: var(--chs-a3); margin-top: 6px;
}
.chs-cert-line { display: block; height: 7px; border-radius: 4px; background: var(--chs-line2); margin: 10px 6px 0; position: relative; overflow: hidden; }
.chs-cert-line::after { content: ''; position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--chs-soft), var(--chs-line)); border-radius: 4px; }
.chs-cert-line.w1::after { width: 88%; }
.chs-cert-line.w2::after { width: 70%; }
.chs-cert-line.w3::after { width: 46%; background: var(--chs-soft2); }
.chs-stamp {
  position: absolute; right: 8px; bottom: 4px;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; letter-spacing: 1px;
  color: var(--chs-a2); border: 3px solid var(--chs-a2);
  transform: rotate(-14deg) scale(.4); opacity: 0;
  transition: transform .5s cubic-bezier(.2, 1.6, .4, 1), opacity .35s;
  background: color-mix(in srgb, var(--chs-a2) 6%, transparent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--chs-a2) 25%, transparent);
}
.chs-stamp.on { transform: rotate(-14deg) scale(1); opacity: .92; }
.chs-ribbon {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 22px solid var(--chs-a);
}
.chs-chip {
  position: absolute; font-size: 11.5px; white-space: nowrap;
  padding: 5px 10px; border-radius: 6px;
  background: var(--chs-card); border: 1px solid var(--chs-line);
  color: var(--chs-txt2); box-shadow: var(--chs-shadow);
}
.chs-chip b { color: var(--chs-a2); }
.chs-chip.c1 { right: 0; top: 20px; animation: chsFloat 4.5s ease-in-out infinite; }
.chs-chip.c2 { right: 4px; bottom: 38px; animation: chsFloat 4.5s ease-in-out .8s infinite; }
@keyframes chsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- 免责条 ---------- */
.chs-alert {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 12px 16px;
  background: var(--chs-bad-soft);
  border: 1px solid color-mix(in srgb, var(--chs-bad) 30%, transparent);
  border-left: 4px solid var(--chs-bad);
  border-radius: 8px;
  font-size: 13px; line-height: 1.7; color: var(--chs-txt);
}
.chs-alert-i { color: var(--chs-bad); font-size: 16px; flex: none; }
.chs-alert strong { font-weight: 700; }

/* ---------- 卡片（证书双框） ---------- */
.chs-card {
  margin-top: 16px; padding: 20px 22px 22px;
  background: var(--chs-card); border: 1px solid var(--chs-line);
  border-radius: var(--chs-r); box-shadow: var(--chs-shadow);
  position: relative;
}
.chs-card::before {
  content: ''; position: absolute; inset: 6px; pointer-events: none;
  border: 1px dashed color-mix(in srgb, var(--chs-a) 20%, transparent);
  border-radius: 8px;
}
.chs-card-h {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap; position: relative;
}
.chs-card-h h2 {
  margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px;
  display: flex; align-items: center; gap: 9px;
}
.chs-no {
  font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: var(--chs-a);
  padding: 4px 9px; border-radius: 3px 10px 3px 10px;
}
[data-theme='dark'] .chs .chs-no { color: #2a1602; }
.chs-card-h small { font-size: 12px; color: var(--chs-txt3); }
.chs-btn.mini { padding: 5px 10px; font-size: 12px; }
.chs-badge {
  font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px;
  background: var(--chs-line2); color: var(--chs-txt3); white-space: nowrap;
}
.chs-badge.ok { background: var(--chs-ok-soft); color: var(--chs-ok); }
.chs-badge.part { background: var(--chs-warn-soft); color: var(--chs-warn); }

.chs-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.chs-span2 { grid-column: span 2; }
.chs-field { min-width: 0; }
.chs-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.chs-label label { font-size: 13.5px; font-weight: 600; }
.chs-label label b { color: var(--chs-bad); }
.chs-hint { font-size: 11.5px; color: var(--chs-txt3); text-align: right; }
.chs-err { display: none; margin-top: 8px; font-size: 12px; color: var(--chs-bad); line-height: 1.5; }
.chs-err.on { display: block; }
.chs-field.bad .chs-numbox,
.chs-field.bad .chs-control { border-color: var(--chs-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chs-bad) 14%, transparent); }

.chs-numbox {
  display: flex; align-items: center; overflow: hidden;
  border: 1px solid var(--chs-line); border-radius: var(--chs-r2);
  background: var(--chs-card2);
}
.chs-numbox input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--chs-txt);
  font-size: 14px; font-weight: 600; padding: 9px 10px; outline: none;
}
.chs-numbox input::placeholder { font-weight: 400; font-size: 12.5px; color: var(--chs-txt3); }
.chs-numbox span {
  padding: 0 9px; align-self: stretch; display: flex; align-items: center;
  font-size: 11.5px; color: var(--chs-txt3); background: var(--chs-line2); white-space: nowrap;
}
.chs-numbox.wide { width: 100%; }
.chs-control { border: 1px solid var(--chs-line); border-radius: var(--chs-r2); background: var(--chs-card2); }
.chs-control select {
  width: 100%; border: 0; background: transparent; color: var(--chs-txt);
  font-size: 13.5px; padding: 10px 32px 10px 11px; outline: none; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--chs-txt3) 50%),
    linear-gradient(135deg, var(--chs-txt3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.chs-radios { display: flex; gap: 9px; flex-wrap: wrap; }
.chs-radio { cursor: pointer; }
.chs-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chs-radio span {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  padding: 9px 13px; border-radius: 8px; color: var(--chs-txt3);
  background: var(--chs-card2); border: 1px solid var(--chs-line);
  transition: background .16s, color .16s, border-color .16s;
}
.chs-radio:hover span { color: var(--chs-a); }
.chs-radio input:checked + span {
  background: var(--chs-a); color: #fff; border-color: var(--chs-a);
  box-shadow: 0 3px 10px -4px color-mix(in srgb, var(--chs-a) 70%, transparent);
}
[data-theme='dark'] .chs .chs-radio input:checked + span { color: #2a1602; }
.chs-radio input:focus-visible + span { outline: 2px solid var(--chs-a); outline-offset: 2px; }

/* ---------- ADL 自评 ---------- */
.chs-adl { display: flex; flex-direction: column; }
.chs-q {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px; align-items: center;
  padding: 10px 8px; border-bottom: 1px dashed var(--chs-line2);
}
.chs-q:last-child { border-bottom: 0; }
.chs-q:hover { background: color-mix(in srgb, var(--chs-card2) 70%, transparent); border-radius: 8px; }
.chs-q-txt { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.chs-q-txt i {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal;
  font-size: 11.5px; font-weight: 800; color: var(--chs-a);
  background: var(--chs-soft); margin-top: 1px;
}
.chs-q-txt p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--chs-txt); }
.chs-opts { display: grid; grid-template-columns: repeat(3, minmax(64px, auto)); gap: 5px; }
.chs-opt { cursor: pointer; }
.chs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chs-opt span {
  display: block; text-align: center; font-size: 12px; font-weight: 600;
  padding: 7px 10px; border-radius: 999px; color: var(--chs-txt3);
  background: var(--chs-line2); border: 1px solid transparent;
  transition: background .16s, color .16s, border-color .16s;
  white-space: nowrap;
}
.chs-opt:hover span { color: var(--chs-a); }
.chs-opt input:checked + span {
  background: var(--chs-card); color: var(--chs-a2); border-color: var(--chs-a2);
  box-shadow: 0 0 0 1px var(--chs-a2) inset;
}
.chs-opt input:focus-visible + span { outline: 2px solid var(--chs-a); outline-offset: 2px; }
.chs-tip {
  margin: 12px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--chs-txt3);
  background: var(--chs-soft); border-left: 3px solid var(--chs-a);
  padding: 9px 12px; border-radius: 0 8px 8px 0;
}
.chs-tip b { color: var(--chs-txt2); }

/* ---------- 按钮 ---------- */
.chs-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.chs-actions.tight { margin-top: 12px; }
.chs-btn {
  border: 1px solid var(--chs-line); background: var(--chs-card); color: var(--chs-txt);
  font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 8px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s, box-shadow .18s, background .18s;
}
.chs-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(140, 60, 10, .75); }
.chs-btn.primary {
  background: linear-gradient(135deg, var(--chs-a), var(--chs-a2));
  border-color: transparent; color: #fff;
}
.chs-btn.ghost { background: transparent; color: var(--chs-txt2); }
.chs-msg { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--chs-txt3); }
.chs-empty { margin: 0; font-size: 12.5px; color: var(--chs-txt3); }

/* ---------- 票据卡结果 ---------- */
#chsResCard { scroll-margin-top: 78px; }
.chs-tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chs-ticket {
  position: relative; padding: 14px 16px 13px;
  background: var(--chs-card2); border: 1px solid var(--chs-line);
  border-radius: 10px; overflow: hidden;
}
.chs-ticket::before, .chs-ticket::after {
  content: ''; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--chs-card); border: 1px solid var(--chs-line);
}
.chs-ticket::before { left: -8px; }
.chs-ticket::after { right: -8px; }
.chs-ticket.hit { border-left: 4px solid var(--chs-ok); }
.chs-ticket.part { border-left: 4px solid var(--chs-warn); }
.chs-ticket-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.chs-ticket-h b { font-size: 14.5px; color: var(--chs-txt); }
.chs-tag-hit { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chs-tag-hit.yes { background: var(--chs-ok-soft); color: var(--chs-ok); }
.chs-tag-hit.may { background: var(--chs-warn-soft); color: var(--chs-warn); }
.chs-amt { font-size: 12.5px; color: var(--chs-a); font-weight: 700; margin-bottom: 6px; }
.chs-why { font-size: 12px; line-height: 1.7; color: var(--chs-txt2); margin-bottom: 8px; }
.chs-ticket ul { margin: 0 0 8px; padding-left: 16px; }
.chs-ticket li { font-size: 11.5px; line-height: 1.65; color: var(--chs-txt3); margin-bottom: 2px; }
.chs-ticket .chs-chan { font-size: 11.5px; line-height: 1.65; color: var(--chs-txt3); border-top: 1px dashed var(--chs-line); padding-top: 7px; }
.chs-prog { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--chs-line); font-size: 12px; color: var(--chs-txt2); cursor: pointer; }
.chs-prog input {
  appearance: none; width: 17px; height: 17px; flex: none;
  border: 1.5px solid var(--chs-line); border-radius: 5px;
  position: relative; cursor: pointer; background: var(--chs-card);
}
.chs-prog input:checked { background: var(--chs-ok); border-color: var(--chs-ok); }
.chs-prog input:checked::after {
  content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 900;
}
[data-theme='dark'] .chs .chs-prog input:checked::after { color: #10301d; }
.chs-prog input:checked ~ span { color: var(--chs-ok); font-weight: 700; }

.chs-miss { margin-top: 16px; }
.chs-miss h3 { margin: 0 0 9px; font-size: 13px; font-weight: 800; color: var(--chs-txt2); }
.chs-miss-item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 12px; border-radius: 8px; background: var(--chs-card2);
  border: 1px dashed var(--chs-line); margin-bottom: 6px;
  font-size: 12.5px; color: var(--chs-txt2);
}
.chs-miss-item b { color: var(--chs-txt3); flex: none; }
.chs-miss-item span { color: var(--chs-txt3); font-size: 12px; }

/* ---------- 材料 / 顺序 ---------- */
.chs-mats h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--chs-txt2); }
.chs-mat-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chs-mat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--chs-a3);
  background: var(--chs-soft); border: 1px solid color-mix(in srgb, var(--chs-a) 26%, transparent);
  padding: 6px 12px; border-radius: 999px;
}
.chs-chip-empty { font-size: 12.5px; color: var(--chs-txt3); }
.chs-order {
  margin: 16px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 9px; counter-reset: chsOrd;
}
.chs-order li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start;
  font-size: 13px; line-height: 1.75; color: var(--chs-txt2);
  counter-increment: chsOrd;
}
.chs-order li::before {
  content: counter(chsOrd);
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800; color: var(--chs-a); background: var(--chs-soft);
}
.chs-order li b { color: var(--chs-txt); }

/* ---------- 批量 ---------- */
.chs-batch-rows { display: flex; flex-direction: column; gap: 9px; }
.chs-brow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 34px;
  gap: 8px; align-items: center;
}
.chs-brow .chs-numbox input { padding: 8px; font-size: 13px; }
.chs-brow .chs-numbox span { padding: 0 6px; font-size: 10.5px; }
.chs-bdel {
  border: 1px solid var(--chs-line); background: var(--chs-card2); color: var(--chs-bad);
  width: 34px; height: 36px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.chs-bdel:hover { background: var(--chs-bad-soft); border-color: var(--chs-bad); }

.chs-table-wrap { overflow-x: auto; border: 1px solid var(--chs-line); border-radius: 10px; margin-top: 12px; }
.chs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 640px; }
.chs-table th, .chs-table td { padding: 9px 11px; text-align: left; border-bottom: 1px solid var(--chs-line2); }
.chs-table th { background: var(--chs-line2); font-size: 11.5px; font-weight: 700; color: var(--chs-txt2); }
.chs-table td { color: var(--chs-txt2); }
.chs-table td b { color: var(--chs-a); }
.chs-table tr:last-child td { border-bottom: 0; }

/* ---------- 历史 ---------- */
.chs-history { display: flex; flex-direction: column; gap: 8px; }
.chs-hist-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--chs-line); border-radius: 8px;
  padding: 10px 12px; background: var(--chs-card2); font-size: 12.5px;
  color: var(--chs-txt2); flex-wrap: wrap;
}
.chs-hist-item b { color: var(--chs-a); }
.chs-hist-item .chs-hact { display: flex; gap: 6px; }
.chs-hist-item button {
  border: 0; border-radius: 6px; padding: 5px 10px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--chs-a); background: var(--chs-soft);
}
.chs-hist-item button.hdel { color: var(--chs-bad); background: var(--chs-bad-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .chs-hero { grid-template-columns: 1fr; }
  .chs-hero-art { display: none; }
}
@media (max-width: 860px) {
  .chs-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chs-tickets { grid-template-columns: 1fr; }
  .chs-brow { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) 34px; }
}
@media (max-width: 700px) {
  .chs-inner { width: calc(100% - 28px); }
  .chs-hero { padding: 22px 18px 20px; }
  .chs-card { padding: 16px 16px 18px; }
  .chs-grid4 { grid-template-columns: 1fr; }
  .chs-span2 { grid-column: auto; }
  .chs-q { grid-template-columns: 1fr; gap: 8px; }
  .chs-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chs-opts .chs-opt span { padding: 7px 4px; }
  .chs-actions .chs-btn { flex: 1 1 44%; }
}

/* ---------- 打印 ---------- */
@media print {
  header, footer, nav, .bk-wrap, .tbk-zone { display: none !important; }
  .chs { padding: 0; background: #fff; }
  .chs-actions, .chs-msg, .chs-history, .chs-hero-art, .chs-cta, .tsk-crumb-bar,
  .chs-batch-rows, .chs-bdel, .chs-btn { display: none !important; }
  .chs-hero, .chs-card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
  .chs-card { margin-top: 10px; }
  .chs-alert { break-inside: avoid; }
  .chs-stamp { opacity: .92; transform: rotate(-14deg); }
}

/* ---------- 面包屑对齐 ---------- */
.tsk-crumb-bar-in{width:min(1140px,calc(100% - 44px))!important;max-width:none!important;margin:0 auto!important;padding:11px 0!important}
@media (max-width:700px){.tsk-crumb-bar-in{width:calc(100% - 28px)!important;padding:9px 0!important}}
