/* 见南雅集 · 观影卡 Demo —— 主题色集中在 :root，对照定稿 UI 示意图微调此处即可 */
:root {
  --brand: #163A63;        /* 主色：国货航深蓝（对齐 fig1/fig2） */
  --brand-2: #1F5B99;
  --gold: #C8A063;         /* 点缀：雅集金 */
  --gold-soft: #FEF3C7;
  --price: #D93829;        /* 价格红（对齐 fig1） */
  --ok: #16A34A;           /* 出票成功绿（对齐 fig2） */
  --warn: #D9822B;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #94A3B8;
  --line: #E2E8F0;
  --seat-free: #FFFFFF;
  --seat-sold: #F87171;    /* 已售红座（对齐 fig2 红/白/绿对比） */
  --seat-pick: #16A34A;
  --seat-love: #F06C9B;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(22, 58, 99, .08);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
a { color: var(--brand-2); }
code { background: rgba(18,48,94,.08); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ---------- 舞台：桌面居中手机视口 / 手机全屏 ---------- */
#stage { min-height: 100%; }
#phone { position: relative; min-height: 100vh; background: var(--bg); overflow-x: hidden; }
#desk-note { display: none; }
@media (min-width: 720px) {
  body { background: radial-gradient(1200px 600px at 20% 10%, #23477f 0%, #0d2142 60%, #08162d 100%); }
  #stage { display: flex; align-items: center; justify-content: center; gap: 48px; min-height: 100vh; padding: 24px; }
  #phone {
    width: 390px; height: min(844px, calc(100vh - 48px)); min-height: 0;
    border-radius: 44px; overflow: hidden; overflow-y: auto;
    box-shadow: 0 0 0 10px #0a0f1a, 0 0 0 12px #2a3346, 0 30px 80px rgba(0,0,0,.5);
    scrollbar-width: none;
  }
  #phone::-webkit-scrollbar { display: none; }
  #desk-note { display: block; color: #E8EDF6; max-width: 300px; }
  #desk-note h2 { font-size: 22px; margin: 0 0 6px; color: #fff; }
  #desk-note ul { padding-left: 18px; line-height: 2; }
  #desk-note code { background: rgba(255,255,255,.14); color: #fff; }
  #desk-note a { color: var(--gold); }
  #desk-note .muted { color: #9fb0cc; font-size: 13px; }
}
@media (min-width: 720px) and (max-width: 900px) { #desk-note { display: none; } }

#app { min-height: 100%; padding-bottom: calc(72px + var(--safe-b)); }
#app.no-tab { padding-bottom: calc(24px + var(--safe-b)); }

/* ---------- 通用 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 12px;
  background: var(--brand); color: #fff;
}
.topbar h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .back, .topbar .right { width: 56px; height: 40px; display: flex; align-items: center; font-size: 14px; color: #fff; }
.topbar .back::before { content: ""; width: 10px; height: 10px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-left: 6px; }
.topbar .right { justify-content: flex-end; }
.section { margin: 12px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.section-title small { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); font-size: 12px; }
.price { color: var(--price); font-weight: 700; }
.price small { font-size: .75em; margin-right: 1px; }
.row { display: flex; align-items: center; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr { height: 1px; background: var(--line); margin: 12px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
}
.btn.block { display: flex; width: 100%; }
.btn.gold { background: linear-gradient(135deg, #D9B67A, #B98C45); color: #2b1d05; }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.btn.light { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.danger { background: #fff; color: var(--price); box-shadow: inset 0 0 0 1px #f1b5b0; }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11px; line-height: 1; white-space: nowrap; background: #EEF2F9; color: var(--brand-2); }
.tag.gold { background: var(--gold-soft); color: #8A6421; }
.tag.green { background: #E3F5EC; color: var(--ok); }
.tag.red { background: #FDECEA; color: var(--price); }
.tag.gray { background: #F0F1F4; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }

.notice { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #FFF7E8; color: #8a5a12; font-size: 13px; }
.notice.blue { background: #EEF3FB; color: var(--brand-2); }
.notice.green { background: #E9F7F0; color: #17724b; }
.notice.red { background: #FDECEA; color: #b3261e; }
.notice b { font-weight: 600; }

.mode-banner { font-size: 11px; text-align: center; padding: 4px 8px; background: #FFF2D6; color: #8a5a12; }
.mode-banner.live { background: #E3F5EC; color: #17724b; }

.empty { text-align: center; color: var(--ink-3); padding: 32px 12px; }
.spinner { width: 26px; height: 26px; margin: 40px auto; border-radius: 50%; border: 3px solid #dfe4ee; border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 底部 Tab ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; height: calc(58px + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #fff; border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .tabbar { position: sticky; } }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--ink-3); font-size: 11px; }
.tabbar a .ico { font-size: 20px; line-height: 1; }
.tabbar a.on { color: var(--brand); font-weight: 600; }

/* ---------- 登录 ---------- */
.login-hero { padding: 56px 24px 28px; color: #fff; background: linear-gradient(160deg, var(--brand) 0%, #1c4380 70%, #2a5aa0 100%); border-radius: 0 0 28px 28px; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark .logo { width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--brand); font-family: "Songti SC", "STSong", serif; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.brand-mark .name { font-family: "Songti SC", "STSong", serif; font-size: 24px; letter-spacing: 4px; font-weight: 700; }
.login-hero p { margin: 18px 0 0; opacity: .85; font-size: 13px; }
.login-card { margin: -16px 16px 0; padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); position: relative; }
.seg { display: flex; padding: 3px; background: #EEF1F6; border-radius: 10px; margin-bottom: 16px; }
.seg button { flex: 1; height: 34px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.seg button.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.field { display: flex; align-items: center; height: 48px; padding: 0 14px; border-radius: 12px; background: #F4F6FA; margin-bottom: 12px; }
.field input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button { height: 28px; padding: 0 10px; border-radius: 14px; background: #F0F3F8; color: var(--brand-2); font-size: 12px; }

/* ---------- 首页观影卡 ---------- */
.home-head { padding: 14px 16px 64px; color: #fff; background: linear-gradient(160deg, var(--brand) 0%, #1c4380 100%); }
.home-head .hello { display: flex; align-items: center; justify-content: space-between; font-size: 13px; opacity: .9; }
.vcard {
  position: relative; margin: -52px 12px 0; padding: 18px 18px 16px; border-radius: 18px; color: #2b1d05; overflow: hidden;
  background: linear-gradient(135deg, #F3DDAE 0%, #DDB878 45%, #C2924B 100%);
  box-shadow: 0 14px 30px rgba(150, 105, 35, .28);
}
.vcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.18); }
.vcard .vc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.vcard .vc-org { font-size: 12px; opacity: .8; }
.vcard .vc-title { font-size: 17px; font-weight: 700; margin-top: 2px; font-family: "Songti SC", "STSong", serif; letter-spacing: 1px; }
.vcard .vc-bal-label { margin-top: 16px; font-size: 12px; opacity: .8; position: relative; z-index: 1; }
.vcard .vc-bal { font-size: 36px; font-weight: 800; letter-spacing: .5px; line-height: 1.15; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.vcard .vc-bal small { font-size: 18px; margin-right: 2px; }
.vcard .vc-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; position: relative; z-index: 1; }
.vcard .vc-scope { margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(43,29,5,.85); color: #F3DDAE; font-size: 12px; font-weight: 600; position: relative; z-index: 1; }
.vc-face { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,.45); }

.quick-entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-entry button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: #F6F8FB; font-size: 12px; color: var(--ink); }
.quick-entry .ico { font-size: 22px; }

.kv { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.kv span:first-child { color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 12px 18px; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .t { color: var(--ink-3); font-size: 11px; }

/* ---------- 影院列表 ---------- */
.loc-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 48px; z-index: 15; }
.loc-btn { display: flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); white-space: nowrap; max-width: 46%; }
.loc-btn::after { content: ""; border: 4px solid transparent; border-top-color: var(--ink-2); margin-top: 4px; }
.search { flex: 1; display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 17px; background: #F1F3F7; min-width: 0; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; min-width: 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; background: #fff; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 28px; padding: 0 12px; border-radius: 14px; background: #F1F3F7; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.chip.on { background: var(--brand); color: #fff; }
.chip .n { opacity: .7; margin-left: 2px; font-size: 11px; }

.movie-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.movie-strip::-webkit-scrollbar { display: none; }
.mv { flex: none; width: 84px; text-align: left; }
.mv.on .poster { box-shadow: 0 0 0 2px var(--gold); }
.poster { width: 84px; height: 116px; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #2a5aa0, #12305E); display: flex; align-items: flex-end; color: #fff; font-size: 12px; padding: 6px; position: relative; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster.big { width: 72px; height: 100px; flex: none; }
.mv .t { margin-top: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cinema-item { display: block; width: 100%; text-align: left; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.cinema-item .nm { font-size: 15px; font-weight: 600; }
.cinema-item .addr { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.cinema-item .tags { margin-top: 6px; }
.cinema-item.pinned { margin: 12px; width: calc(100% - 24px); border-radius: var(--radius); border: 1px solid #ecd9b4; background: linear-gradient(180deg, #FFFBF3, #fff); box-shadow: var(--shadow); }
.list-head { padding: 10px 14px 6px; font-size: 12px; color: var(--ink-3); }

/* ---------- 影院详情 / 排片 ---------- */
.cinema-hero { padding: 14px 16px; background: #fff; }
.cinema-hero .nm { font-size: 18px; font-weight: 700; }
.date-tabs { display: flex; gap: 18px; overflow-x: auto; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.date-tabs::-webkit-scrollbar { display: none; }
.date-tabs button { flex: none; height: 42px; font-size: 14px; color: var(--ink-2); position: relative; }
.date-tabs button.on { color: var(--brand); font-weight: 600; }
.date-tabs button.on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 2px; background: var(--brand); }
.film-head { display: flex; gap: 12px; padding: 14px 16px; background: #fff; }
.film-head .nm { font-size: 17px; font-weight: 700; }
.show { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.show .time { width: 58px; }
.show .time b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.show .time span { font-size: 11px; color: var(--ink-3); }
.show .info { flex: 1; min-width: 0; }
.show .info .hall { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.show .buy { text-align: right; }
.show .buy .price { font-size: 17px; display: block; }

/* ---------- 选座 ---------- */
.seat-head { padding: 12px 16px; background: #fff; }
.seat-head .nm { font-size: 16px; font-weight: 700; }
.seat-stage { position: relative; background: #F0F2F6; height: 380px; overflow: hidden; touch-action: none; user-select: none; }
.screen { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 60%; height: 22px; z-index: 3; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(#cfd6e3, #e9edf4); text-align: center; font-size: 11px; color: var(--ink-2); line-height: 20px; }
.seat-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.seat { position: absolute; width: 26px; height: 24px; border-radius: 6px 6px 4px 4px; border: 1.5px solid #9fb0c8; background: var(--seat-free); padding: 0; font-size: 9px; color: transparent; }
.seat.sold { background: var(--seat-sold); border-color: var(--seat-sold); cursor: not-allowed; }
.seat.love { border-color: var(--seat-love); }
.seat.area2 { border-color: var(--gold); }
.seat.pick { background: var(--seat-pick); border-color: var(--seat-pick); color: #fff; }
.seat.pick::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.row-labels { position: absolute; left: 4px; top: 0; z-index: 2; width: 18px; background: rgba(0,0,0,.18); border-radius: 9px; }
.row-labels span { position: absolute; left: 0; width: 18px; text-align: center; font-size: 10px; color: #fff; }
.zoom-ctl { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: flex; flex-direction: column; gap: 6px; }
.zoom-ctl button { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 18px; color: var(--brand); }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 10px; background: #fff; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 13px; border-radius: 3px; border: 1.5px solid #9fb0c8; vertical-align: -2px; margin-right: 4px; }
.legend i.sold { background: var(--seat-sold); border-color: var(--seat-sold); }
.legend i.pick { background: var(--seat-pick); border-color: var(--seat-pick); }
.legend i.love { border-color: var(--seat-love); }
.legend i.area2 { border-color: var(--gold); }
.picked { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.picked .p { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: #F1F4F9; font-size: 12px; }
.picked .p b { color: var(--price); font-weight: 600; }
.picked .p button { color: var(--ink-3); font-size: 14px; }
.paybar { position: sticky; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); }
.paybar .sum { flex: 1; }
.paybar .sum .price { font-size: 22px; }

/* ---------- 订单 ---------- */
.order-status { padding: 22px 18px; color: #fff; background: linear-gradient(160deg, var(--brand), #2a5aa0); }
.order-status.ok { background: linear-gradient(160deg, #157a52, #23a46c); }
.order-status.refund { background: linear-gradient(160deg, #7b8394, #a0a7b4); }
.order-status h2 { margin: 0; font-size: 20px; }
.order-status p { margin: 6px 0 0; font-size: 13px; opacity: .9; }
.steps { display: flex; margin-top: 16px; }
.steps .s { flex: 1; text-align: center; font-size: 11px; position: relative; opacity: .55; }
.steps .s.on { opacity: 1; }
.steps .s i { display: block; width: 14px; height: 14px; margin: 0 auto 4px; border-radius: 50%; background: #fff; }
.steps .s:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: 60%; right: -40%; height: 2px; background: rgba(255,255,255,.6); }
.ticket { position: relative; margin: -14px 12px 12px; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.ticket .code { text-align: center; }
.ticket .code .lbl { font-size: 12px; color: var(--ink-3); }
.ticket .code .val { font-size: 26px; font-weight: 800; letter-spacing: 3px; font-variant-numeric: tabular-nums; color: var(--brand); }
.qr { display: flex; justify-content: center; margin: 12px auto 4px; }
.qr canvas, .qr img, .qr svg { width: 168px; height: 168px; image-rendering: pixelated; }
.issuing-anim { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0; color: var(--ink-2); }
.dots span { display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: var(--brand-2); animation: blink 1.2s infinite both; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.service { display: flex; align-items: center; gap: 12px; }
.service .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: #8A6421; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.order-item { display: block; width: 100%; text-align: left; padding: 14px; margin: 10px 12px; width: calc(100% - 24px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- 弹层 ---------- */
.mask { position: absolute; inset: 0; z-index: 50; background: rgba(10, 18, 35, .5); display: flex; align-items: flex-end; animation: fade .15s; }
@media (max-width: 719px) { .mask { position: fixed; } }
.sheet { width: 100%; max-height: 82%; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + var(--safe-b)); animation: up .2s ease-out; }
.sheet h3 { margin: 0 0 12px; font-size: 16px; text-align: center; }
.mask.center { align-items: center; justify-content: center; padding: 24px; }
.dialog { width: 100%; background: #fff; border-radius: 16px; padding: 20px; animation: fade .15s; }
.dialog h3 { margin: 0 0 10px; text-align: center; font-size: 17px; }
.dialog .btns { display: flex; gap: 10px; margin-top: 16px; }
.dialog .btns .btn { flex: 1; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.city-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.city-list button { height: 34px; border-radius: 8px; background: #F3F5F9; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.city-list button.on { background: var(--brand); color: #fff; }

#toast { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%); z-index: 99; max-width: 80%; padding: 10px 16px; border-radius: 10px; background: rgba(20, 26, 40, .88); color: #fff; font-size: 14px; text-align: center; pointer-events: none; opacity: 0; transition: opacity .2s; }
@media (max-width: 719px) { #toast { position: fixed; } }
#toast.show { opacity: 1; }

/* ---------- 管理员 ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { padding: 12px; border-radius: 12px; background: #F6F8FB; }
.stat .k { font-size: 12px; color: var(--ink-2); }
.stat .v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.stat.hl { background: var(--brand); color: #fff; }
.stat.hl .k { color: rgba(255,255,255,.8); }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th, .tbl td { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { color: var(--ink-3); font-weight: 500; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }
.bar { height: 8px; border-radius: 4px; background: #E8ECF3; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }
.steps-log { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.steps-log li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
