/* ==========================================================================
   座位查询系统 · 管理后台样式
   ========================================================================== */

:root {
  --a-bg: #f4f6fb;
  --a-card: #ffffff;
  --a-line: #e5e9f2;
  --a-line-2: #eef1f7;
  --a-text: #1f2937;
  --a-muted: #6b7280;
  --a-soft: #9aa3b2;
  --a-primary: #2f4a9e;
  --a-primary-d: #263d85;
  --a-primary-tint: #f0f3fa;
  --a-navy: #1b2757;
  --a-navy-2: #24336e;
  /* 统一圆角：表单 4px / 卡片 6px。混用多套圆角是「AI 味」的主要来源 */
  --r-ctl: 4px;
  --r-card: 6px;
  --a-danger: #dc2626;
  --a-ok: #059669;
  --a-warn: #d97706;
  --a-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  --side-w: 224px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--a-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--a-text);
  background: var(--a-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--a-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.sq-icon { vertical-align: -3px; }

/* ---------------------------- 布局 ---------------------------- */
.adm { display: flex; min-height: 100vh; }

.adm-side {
  width: var(--side-w);
  flex: none;
  background: var(--a-navy);
  color: #cbd5e1;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.adm-side__brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.adm-side__brand img { width: 34px; height: 34px; flex: none; }
.adm-side__brand b { color: #fff; font-size: 14px; font-weight: 600; display: block; line-height: 1.3; }
.adm-side__brand span { font-size: 11.5px; color: #8f9cc4; }

.adm-nav { padding: 12px 10px 24px; }
.adm-nav__group { font-size: 11px; color: #6d7ba6; padding: 14px 12px 6px; letter-spacing: .08em; }
.adm-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-ctl);
  color: #c3cbe4; font-size: 13.5px; text-decoration: none;
  margin-bottom: 2px; transition: .15s;
}
.adm-nav a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.adm-nav a.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 500;
                box-shadow: inset 2px 0 0 #fff; }
.adm-nav a .sq-icon { flex: none; }

.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.adm-top {
  height: 58px; flex: none;
  background: #fff; border-bottom: 1px solid var(--a-line);
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px; position: sticky; top: 0; z-index: 20;
}
.adm-top h1 { font-size: 16px; font-weight: 600; }
.adm-top__menu { display: none; background: none; border: 0; cursor: pointer; color: var(--a-text); }
.adm-top__right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--a-muted); }
.adm-top__right a { color: var(--a-text); display: inline-flex; align-items: center; gap: 5px; }

.adm-body { padding: 20px 22px 60px; flex: 1; }

/* ---------------------------- 卡片 / 区块 ---------------------------- */
.card {
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: var(--r-card);
  margin-bottom: 18px;
}
.card__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--a-line-2);
}
.card__head h2 { font-size: 15px; font-weight: 600; }
.card__head .sub { font-size: 12.5px; color: var(--a-muted); font-weight: 400; }
.card__head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card__body { padding: 18px; }
.card__foot { padding: 14px 18px; border-top: 1px solid var(--a-line-2); display: flex; gap: 10px; align-items: center; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* 主次分栏：左列表更宽、右表单更窄。等宽 1:1 会把列表里的长文本挤成两三行断句。 */
.grid-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 16px; align-items: start; }

/* 统计卡 */
.stat { background: #fff; border: 1px solid var(--a-line); border-radius: var(--r-card); padding: 16px 18px; }
.stat__label { font-size: 12.5px; color: var(--a-muted); display: flex; align-items: center; gap: 6px; }
.stat__num { font-size: 24px; font-weight: 600; margin-top: 6px; color: var(--a-text);
              font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat__num small { font-size: 13px; font-weight: 500; color: var(--a-muted); margin-left: 3px; }

/* ---------------------------- 表格（朴素样式） ---------------------------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { border: 1px solid var(--a-line); padding: 9px 12px; text-align: left; vertical-align: middle; }
.tbl th { background: #fafbfd; font-weight: 600; color: #374151; white-space: nowrap; }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.center, .tbl th.center { text-align: center; }
.tbl tbody tr:hover td { background: #f7f9fc; }
.tbl .nowrap { white-space: nowrap; }
.tbl-empty { text-align: center; color: var(--a-soft); padding: 40px 0; }

.tbl-wrap { overflow-x: auto; }

/* ---------------------------- 表单 ---------------------------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; color: #4b5563; font-weight: 500; margin-bottom: 6px; }
.form-row .req { color: var(--a-danger); }
.form-row .help { font-size: 12px; color: var(--a-soft); margin-top: 5px; line-height: 1.6; }

.inp, .sel, .txt {
  width: 100%; padding: 8px 11px; border: 1px solid #ccd3e0; border-radius: var(--r-ctl);
  font-size: 14px; font-family: inherit; color: var(--a-text); background: #fff;
  outline: none; transition: .15s;
}
.inp:focus, .sel:focus, .txt:focus { border-color: var(--a-primary); box-shadow: 0 0 0 2px rgba(47,74,158,.13); }
.txt { min-height: 84px; resize: vertical; line-height: 1.6; }
.sel { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.inp-sm { padding: 5px 8px; font-size: 13px; }

.chk { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: #374151; cursor: pointer; }
.chk input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--a-primary); flex: none; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-group label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 6px 11px; border: 1px solid #ccd3e0; border-radius: var(--r-ctl);
  background: #fff; font-size: 13px; font-weight: 400; color: #374151; cursor: pointer;
}
.radio-group input { accent-color: var(--a-primary); }
.radio-group label:has(input:checked) { border-color: var(--a-primary); background: var(--a-primary-tint); color: var(--a-primary-d); }

/* ---------------------------- 按钮 ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 15px; border: 1px solid transparent; border-radius: var(--r-ctl);
  font-size: 13.5px; font-family: inherit; font-weight: 500;
  cursor: pointer; transition: .15s; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--a-primary); color: #fff; }
.btn-primary:hover { background: var(--a-primary-d); }
.btn-primary:disabled { background: #b9c6e4; cursor: not-allowed; }
.btn-ghost { background: #fff; border-color: #d8dee9; color: #374151; }
.btn-ghost:hover { background: #f7f9fc; }
.btn-navy { background: var(--a-navy-2); color: #fff; }
.btn-navy:hover { background: var(--a-navy); }
.btn-danger { background: #fff; border-color: #f3c4c4; color: var(--a-danger); }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 4px 10px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--a-primary); padding: 4px 6px; font-size: 13px; }

/* 行内图标按钮：表格里一屏几十个描边按钮框会形成视觉噪音，
   改成无边框方块，hover 时才显形。 */
.row-ops { white-space: nowrap; }
.ico-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: var(--r-ctl);
  color: var(--a-muted); background: transparent;
  border: 1px solid transparent; cursor: pointer; transition: .13s;
  text-decoration: none;
}
.ico-btn:hover { background: #eef2f9; border-color: var(--a-line); color: var(--a-primary); text-decoration: none; }
.ico-btn--danger:hover { background: #fef2f2; border-color: #fecaca; color: var(--a-danger); }

/* ---------------------------- 提示 ---------------------------- */
.alert { padding: 11px 15px; border-radius: var(--r-ctl); font-size: 13.5px; margin-bottom: 16px; border: 1px solid; line-height: 1.7; }
.alert ul { margin: 4px 0 0 18px; }
.alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-err { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.badge {
  display: inline-block; padding: 1px 7px; border-radius: 3px;
  font-size: 11.5px; line-height: 1.7; border: 1px solid; font-weight: 400;
}
.badge-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.badge-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.badge-err { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.badge-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.badge-gray { background: #f5f7fb; border-color: #e5e9f2; color: #4b5563; }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: #334155; }

/* 键值对列表：字段名固定一列、值跟在其后。
   比「label 上、div 下」的堆叠写法更紧凑，也不会出现标签和值错位。 */
.kv { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 9px 14px; align-items: start; }
.kv dt { font-size: 12.5px; color: var(--a-muted); line-height: 1.7; }
.kv dd { font-size: 13.5px; line-height: 1.7; margin: 0; word-break: break-word; }
@media (max-width: 520px) {
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 10px; }
}

/* 说明性条款列表：不用 <br> 硬换行，靠列表缩进对齐 */.rules { padding-left: 20px; font-size: 13px; line-height: 1.75; color: #4b5563; }
.rules li { margin-bottom: 7px; padding-left: 2px; }
.rules li:last-child { margin-bottom: 0; }
.rules li::marker { color: var(--a-soft); font-size: 12px; }
.rules b { color: var(--a-text); font-weight: 600; }
.muted { color: var(--a-muted); }
.small { font-size: 12.5px; }
.right { text-align: right; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mb0 { margin-bottom: 0; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.flex { display: flex; gap: 10px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 0; }

/* ---------------------------- 分页 ---------------------------- */
.pager { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 14px 0 0; }
.pager a, .pager span {
  min-width: 32px; height: 32px; padding: 0 10px; border-radius: var(--r-ctl);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #d8dee9; background: #fff; color: #374151; font-size: 13px;
}
.pager a:hover { background: #f7f9fc; text-decoration: none; }
.pager span.cur { background: var(--a-primary); border-color: var(--a-primary); color: #fff; }
.pager span.dis { color: #c3cbd9; }

/* ---------------------------- 导入 ---------------------------- */
/* 注意：.drop 挂在 <label> 上。label 默认 display:inline，
   宽度不会撑满父容器，虚线边框会被行内布局截断、文字溢出框外，
   所以这里必须显式转成块级。 */
.drop {
  display: block; width: 100%;
  border: 1px dashed #b9c4da; border-radius: var(--r-card);
  background: #fafbfe;
  padding: 30px 20px 28px;
  text-align: center; cursor: pointer; transition: border-color .18s, background .18s;
}
.drop:hover, .drop.on, .drop.dragging { border-color: var(--a-primary); background: var(--a-primary-tint); }
.drop__icon { color: #93a3c4; display: block; margin: 0 auto; }
.drop__t { font-size: 14.5px; font-weight: 600; margin: 12px 0 5px; color: var(--a-text); }
.drop__s { font-size: 12.5px; color: var(--a-muted); }
.drop.has-file { border-style: solid; border-color: var(--a-primary); background: var(--a-primary-tint); }
.drop.has-file .drop__icon { color: var(--a-primary); }
.drop input[type=file] { display: none; }
.drop__picked {
  display: none; margin-top: 12px; font-size: 13px; color: var(--a-ok);
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--r-ctl);
  padding: 7px 12px; display: none;
}
.drop.has-file .drop__picked { display: block; }

.map-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.map-tbl th, .map-tbl td { border: 1px solid var(--a-line); padding: 8px 10px; vertical-align: top; }
.map-tbl th { background: #fafbfd; font-weight: 600; }
.map-tbl td { color: var(--a-muted); font-size: 12.5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 导入向导的横向步骤芯片（1 上传 → 2 匹配 → 3 确认）
   注意必须写成 > div 直接子选择器：如果用后代选择器 .steps-bar div，
   会误命中说明页 .step 内部的 <div>，给它加上 display:flex，
   导致步骤标题和正文变成并排显示。 */
.steps-bar { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.steps-bar > div {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1px solid var(--a-line); border-radius: var(--r-ctl); background: #fff;
  font-size: 13px; color: var(--a-soft);
}
.steps-bar > div.on { border-color: #b6c4e8; background: var(--a-primary-tint); color: var(--a-primary-d); font-weight: 500; }
.steps-bar > div.ok { border-color: #bbf7d0; background: #f0fdf6; color: var(--a-ok); }

/* 说明页的纵向步骤卡：序号在左、标题与正文在右，整块成一条。 */
.steps-bar.vertical { flex-direction: column; gap: 10px; margin-bottom: 0; }
.steps-bar.vertical > .step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--a-line); border-radius: var(--r-ctl);
  background: #fbfcfe;
}
.steps-bar.vertical > .step > b {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--a-primary-tint); color: var(--a-primary-d);
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.steps-bar.vertical > .step > div { flex: 1; min-width: 0; }
.steps-bar.vertical > .step strong {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--a-text); margin-bottom: 3px;
}
.steps-bar.vertical > .step p { display: block; line-height: 1.7; }

/* ---------------------------- 登录 ---------------------------- */
/* 版式：左右双栏（40% / 60%）。
   左侧深蓝实底承载品牌与活动信息，右侧纯白承载表单。
   刻意不使用渐变背景与大圆角卡片 —— 那是生成式模板的典型特征，
   人工产品的登录页一般是「色块 + 分栏」这种朴素结构。 */
.login-body { background: #eef1f7; }

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 40%) minmax(0, 1fr);
}

/* 左：品牌区 */
.login-brand {
  background: var(--a-navy);
  color: #fff;
  padding: 56px 52px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
/* 极轻的斜向纹理，只为避免大面积纯色的沉闷，不构成渐变 */
.login-brand::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, rgba(255,255,255,.022) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.login-brand__logo {
  width: 74px; height: 74px; display: block;
  background: #fff; border-radius: 50%; padding: 4px;
}
.login-brand h2 {
  margin-top: 26px; font-size: 25px; font-weight: 600;
  letter-spacing: .02em; line-height: 1.35;
}
.login-brand__sub { margin-top: 9px; font-size: 14px; color: #a8b4d4; letter-spacing: .04em; }
.login-brand__rule { width: 42px; height: 3px; background: #C9A227; margin: 30px 0; }
.login-brand__meta { font-size: 13.5px; color: #b9c3de; line-height: 1.9; }
.login-brand__meta > div { display: flex; gap: 12px; margin-bottom: 11px; }
.login-brand__meta dt { flex: none; width: 34px; color: #7f8cb4; }
.login-brand__meta dd { flex: 1; min-width: 0; color: #e4e9f7; }
.login-brand__foot {
  margin-top: auto; padding-top: 30px;
  font-size: 12.5px; color: #6f7ca6; letter-spacing: .06em;
}

/* 右：表单区 */
.login-main { display: grid; place-items: center; padding: 40px 32px; background: #fff; }
.login-form { width: 100%; max-width: 372px; }
.login-form__head { margin-bottom: 30px; }
.login-form__head h1 { font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.login-form__head p { margin-top: 8px; font-size: 13.5px; color: var(--a-muted); }
.login-form .form-row { margin-bottom: 19px; }
.login-form .form-row--tight { margin-top: -4px; margin-bottom: 22px; }
.login-form .inp { height: 42px; padding: 0 12px; }
.login-form__submit { height: 42px; font-size: 15px; font-weight: 500; }
.login-form__foot {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--a-line-2);
  display: flex; align-items: center; gap: 14px; font-size: 13px;
}
.login-form__foot a { color: var(--a-muted); display: inline-flex; align-items: center; gap: 4px; }
.login-form__foot a:hover { color: var(--a-primary); text-decoration: none; }
.login-form__foot .sep { width: 1px; height: 12px; background: var(--a-line); }

/* 旧版登录样式保留兼容（若有历史页面引用） */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--a-navy); }
.login-card {
  width: 100%; max-width: 400px; background: #fff; border-radius: var(--r-card);
  padding: 34px 32px 28px; border: 1px solid var(--a-line);
}
.login-card__logo { width: 58px; height: 58px; margin: 0 auto 14px; display: block; }
.login-card h1 { font-size: 18px; text-align: center; font-weight: 600; }
.login-card p.sub { text-align: center; font-size: 12.5px; color: var(--a-muted); margin: 4px 0 22px; }
.login-foot { text-align: center; font-size: 12px; color: var(--a-soft); margin-top: 18px; }

/* 窄屏：品牌区收起，只留表单 */
@media (max-width: 900px) {
  .login-page { grid-template-columns: minmax(0, 1fr); }
  .login-brand { display: none; }
  .login-main { background: var(--a-navy); }
  .login-form {
    background: #fff; padding: 32px 26px 26px;
    border-radius: var(--r-card); border: 1px solid var(--a-line);
    max-width: 400px;
  }
}

/* ---------------------------- Toast / Modal ---------------------------- */
.toast {
  position: fixed; left: 50%; top: 24px; transform: translate(-50%, -14px);
  background: #1f2937; color: #fff; padding: 9px 18px; border-radius: var(--r-ctl);
  font-size: 13.5px; opacity: 0; transition: .22s; pointer-events: none; z-index: 2000;
  max-width: 80vw; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b91c1c; }
.toast.ok { background: #047857; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 28, 50, .5);
  display: none; place-items: center; z-index: 1500; padding: 20px;
}
.modal-mask.on { display: grid; }
.modal {
  background: #fff; border-radius: var(--r-card); width: 100%; max-width: 560px;
  max-height: 86vh; overflow: auto; box-shadow: 0 8px 28px rgba(20,30,70,.16);
}
.modal__head { padding: 16px 20px; border-bottom: 1px solid var(--a-line-2); font-weight: 600; display: flex; align-items: center; }
.modal__head button { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--a-soft); }
.modal__body { padding: 20px; }
.modal__foot { padding: 14px 20px; border-top: 1px solid var(--a-line-2); display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------------------- 座位图预览 / 二维码 ---------------------------- */
.qr-box { text-align: center; }
.qr-box canvas, .qr-box img { max-width: 100%; height: auto; image-rendering: pixelated; }
.qr-box .url { font-size: 12.5px; color: var(--a-muted); word-break: break-all; margin-top: 10px; }

.preview-frame {
  background: var(--a-bg); border: 1px solid var(--a-line); border-radius: var(--r-card);
  padding: 16px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.phone {
  width: 268px; height: 520px; background: #fff; border-radius: 14px;
  border: 6px solid #1b2757; overflow: hidden; position: relative; flex: none;
  box-shadow: 0 4px 16px rgba(20, 30, 70, .14);
}
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }

.empty-state { text-align: center; padding: 46px 20px; color: var(--a-soft); }
.empty-state h3 { font-size: 15px; color: var(--a-muted); margin: 10px 0 6px; font-weight: 600; }

/* 座位图配置预览 */
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--a-line); background: #fbfcfe; border-radius: var(--r-ctl);
  padding: 5px 9px; font-size: 13px;
}
.chip b { font-weight: 600; }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --side-w: 250px; }
  .adm-side {
    position: fixed; left: 0; top: 0; z-index: 100; transform: translateX(-100%);
    transition: transform .22s ease; box-shadow: 6px 0 30px rgba(10,20,50,.25);
  }
  .adm-side.on { transform: translateX(0); }
  .adm-top__menu { display: inline-flex; }
  .adm-body { padding: 16px 14px 60px; }
  .adm-top { padding: 0 14px; }
  .adm-top h1 { font-size: 15px; }
  .grid2, .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); }
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .side-mask { position: fixed; inset: 0; background: rgba(15,22,45,.42); z-index: 99; display: none; }
  .side-mask.on { display: block; }
}
@media (max-width: 520px) {
  .card__body { padding: 14px; }
  .card__head { padding: 12px 14px; flex-wrap: wrap; }
  .stat__num { font-size: 22px; }
  .phone { width: 240px; height: 470px; }
}

/* ---------------------------- 版权信息 ---------------------------- */
.adm-nav { padding-bottom: 8px; }
.adm-side { justify-content: flex-start; }
/* 侧栏底部版权：用 margin-top:auto 顶到最下方 */
.adm-side__foot {
  margin-top: auto;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px; color: #7c89b0;
  display: flex; align-items: center; justify-content: space-between;
  letter-spacing: .04em;
}
.adm-side__ver { font-variant-numeric: tabular-nums; color: #5f6b93; }

/* 内容区底部版权 */
.adm-foot {
  flex: none;
  padding: 0 22px 22px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 12.5px; color: var(--a-soft); letter-spacing: .04em;
}
.adm-foot__ver {
  font-variant-numeric: tabular-nums;
  padding-left: 12px; border-left: 1px solid var(--a-line);
}
@media (max-width: 860px) {
  .adm-foot { padding: 0 14px 18px; }
}
