/* ============ 管理后台 · L2 仪表盘（晨白配色）============
   墨绿侧栏 + 指标卡顶部色条 + 紧凑高密度表格 */
:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --line: #e7ece8;
  --line-strong: #dfe6e1;
  --ink: #17211b;
  --muted: #55635b;
  --muted-light: #7a857e;
  --green: #0f7a4f;
  --green-dark: #0b5f3d;
  --green-soft: #e2f4ea;
  --sidebar: #14352a;
  --sidebar-ink: #9fb8ab;
  --amber: #96690f;
  --amber-bg: #fdf3dd;
  --red: #b3402f;
  --red-bg: #fdeceb;
  --blue: #1a4fa0;
  --blue-bg: #e6f0ff;
  --teal: #0f6e56;
  --teal-bg: #d9f2ea;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(23, 33, 27, .05);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---- 登录页 ---- */
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, #eaf2ec 0%, #f4f7f5 55%); }
.login-panel { width: min(400px, 100%); background: var(--surface); padding: 36px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 48px rgba(23, 33, 27, .1); }
.login-panel h1 { margin: 18px 0 4px; font-size: 23px; }
.login-panel p { margin: 0 0 24px; }
.login-panel label, .field { display: grid; gap: 7px; margin: 16px 0; color: #3c4a41; font-size: 13px; font-weight: 600; }
input, select, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; color: var(--ink); background: #fff; outline: none; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 122, 79, .12); }
textarea { min-height: 92px; resize: vertical; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--sidebar); color: #fff; font-size: 20px; font-weight: 800; }
.brand-mark.small { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
.qr-box { display: grid; place-items: center; padding: 18px; background: #f6f8f6; border: 1px solid var(--line); border-radius: 10px; margin: 4px 0 14px; }
.qr-box img { width: 240px; max-width: 100%; height: auto; display: block; }
#dialogBody code { background: #eef2ef; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 12px; }
#dialogBody p { margin: 8px 0; font-size: 13px; line-height: 1.6; }

/* ---- 布局骨架 ---- */
/* 桌面（≥1200px）侧栏常驻展开；窄屏与触屏一律抽屉式。
   原来靠 :hover 展开的做法在手机上永远不触发，菜单会锁死成 86px 图标条（看不到文字）。 */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; box-sizing: border-box; background: var(--sidebar); color: #fff; padding: 14px 12px; display: flex; flex-direction: column; overflow: hidden; }
/* 遮罩：抽屉打开时点击空白处关闭 */
.sidebar-mask { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(12, 22, 17, .42); z-index: 25; }
.sidebar-mask.show { display: block; }
.sidebar nav button, .nav-group, .sidebar-foot, .brand-text { transition: opacity .15s ease; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 10px; font-weight: 700; font-size: 15px; flex: none; }
.nav-group { padding: 9px 10px 4px; font-size: 11px; letter-spacing: 1px; color: rgba(159, 184, 171, .65); flex: none; }
/* 菜单区单独滚动：手机屏幕矮时 17 个菜单项靠滚动全部可达，不再被整块裁掉 */
.sidebar nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 2px 2px 8px; }
/* 滚动条：细圆角主题色。新版 Chrome/Win11 的悬浮滚动条平时隐藏、出现时是大粗灰条，
   自定义后常显且贴合深绿侧栏；桌面压缩了菜单间距，常见屏幕高度根本不出滚动条 */
.sidebar nav { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .28) transparent; }
.sidebar nav::-webkit-scrollbar { width: 5px; }
.sidebar nav::-webkit-scrollbar-track { background: transparent; }
.sidebar nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .24); border-radius: 4px; }
.sidebar nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .45); }
nav { display: block; }
nav button { display: block; width: 100%; border: 0; border-radius: 8px; margin-bottom: 1px; padding: 8px 12px; text-align: left; background: transparent; color: var(--sidebar-ink); font-size: 13px; transition: background .15s; }
nav button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
nav button.active { background: rgba(15, 122, 79, .38); color: #fff; font-weight: 650; box-shadow: inset 2px 0 0 var(--green); }
/* 菜单图标：CSS/SVG 描边图标（currentColor 随 hover/active 变色），固定宽度保证文字左对齐一致 */
.nav-ic { display: inline-flex; width: 22px; height: 17px; align-items: center; justify-content: center; vertical-align: -3px; }
.nav-ic svg { width: 16px; height: 16px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-text { display: inline; }
.sidebar-foot { flex: none; padding: 10px 10px 2px; font-size: 11px; line-height: 1.7; color: rgba(159, 184, 171, .55); }

.main { min-width: 0; }
.topbar { min-height: 72px; display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar h1 { margin: 0; font-size: 19px; }
.topbar p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.admin-name { color: var(--muted); font-size: 13px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 22px; padding: 4px 8px; }
.content { padding: 24px 28px 56px; }

/* ---- 指标卡：顶部色条（L2 标志性元素）---- */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.metric { min-height: 108px; padding: 16px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 4px 4px var(--radius) var(--radius); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; will-change: transform; }
.metric.tone-green { border-top-color: var(--green); }
.metric.tone-amber { border-top-color: #d99a26; }
.metric.tone-red { border-top-color: var(--red); }
.metric.tone-blue { border-top-color: var(--blue); }
.metric.tone-teal { border-top-color: var(--teal); }
.metric.tone-ink { border-top-color: var(--ink); }
.metric .label { color: var(--muted); font-size: 12.5px; }
.metric .value-line { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.metric strong { font-size: 30px; line-height: 1; font-weight: 800; }
.metric em { color: var(--muted); font-style: normal; font-size: 12px; }
.metric .metric-jump { margin-top: 12px; display: block; width: 100%; }
/* 悬停微放大：指标卡轻轻浮起（内部按钮不叠加缩放，避免观感夸张） */
.metric:hover { transform: scale(1.02); box-shadow: 0 8px 22px rgba(23, 33, 27, .1); }
.metric .metric-jump:hover { transform: none; }

.section { margin-top: 22px; }
.section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.section-header h2 { margin: 0; font-size: 15.5px; padding-left: 10px; border-left: 4px solid var(--green); line-height: 1.2; }
.section-actions { margin-left: auto; display: flex; gap: 8px; }
.content > p.muted { margin: 0 0 14px; font-size: 12.5px; line-height: 1.7; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; }

/* ---- 筛选 Tab ---- */
.tabs { display: flex; gap: 8px; margin: 14px 0 12px; flex-wrap: wrap; }
.tab { min-height: 34px; padding: 5px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; transition: border-color .15s, color .15s, transform .15s ease; }
.tab:hover { border-color: #b9c9bf; color: var(--ink); transform: scale(1.06); }
.tab.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.tab-count { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(23, 33, 27, .06); font-size: 12px; line-height: 1.4; }
.tab.active .tab-count { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---- 紧凑表格 ---- */
.table-wrap { overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: 9px 14px; border-bottom: 1px solid #f0f4f1; text-align: left; font-size: 13px; vertical-align: middle; }
th { background: #f2f6f3; color: var(--muted); font-size: 12px; font-weight: 700; position: sticky; top: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #f8faf9; }
tr:last-child td { border-bottom: 0; }
td.wrap { min-width: 220px; white-space: normal; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted-light); }

/* 订单行左侧状态色条：扫一眼就能看出进度 */
tbody tr.order-row td:first-child { border-left: 3px solid transparent; }
tbody tr.order-row.status-pending td:first-child { border-left-color: #d99a26; }
tbody tr.order-row.status-picked td:first-child { border-left-color: var(--blue); }
tbody tr.order-row.status-stored td:first-child { border-left-color: var(--green); }
tbody tr.order-row.status-signed td:first-child { border-left-color: var(--teal); }
tbody tr.order-row.status-cancelled td:first-child { border-left-color: var(--red); }

/* ---- 徽章与标签 ---- */
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2ef; color: var(--muted); }
.badge.success, .badge.online, .badge.approved, .badge.active, .badge.resolved, .badge.locked { background: var(--green-soft); color: var(--green-dark); }
.badge.warning, .badge.pending, .badge.processing, .badge.busy, .badge.unknown, .badge.unlocked, .badge.paused { background: var(--amber-bg); color: var(--amber); }
.badge.danger, .badge.failed, .badge.offline, .badge.fault, .badge.rejected, .badge.revoked, .badge.open { background: var(--red-bg); color: var(--red); }
.badge.picked { background: var(--blue-bg); color: var(--blue); }
.badge.signed { background: var(--teal-bg); color: var(--teal); }
.badge.registered { background: #eef2ef; color: var(--muted); }
.badge.flashed { background: var(--blue-bg); color: var(--blue); }
.badge.networked { background: var(--teal-bg); color: var(--teal); }
.badge.bound { background: var(--green-soft); color: var(--green-dark); }

.tag { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 7px; border-radius: 5px; font-size: 12px; background: #eef2ef; color: var(--muted); border: 1px solid var(--line); }
.tag.new { background: var(--blue-bg); color: var(--blue); border-color: #c9dcff; }
.tag.todo { background: var(--amber-bg); color: var(--amber); border-color: #f0dfb8; }
.tag.vip { background: #fdf1d6; color: #8a5a0b; border-color: #ecd39a; font-weight: 600; }

/* 无线信号分级：4 格信号条 + 颜色渐进 绿(强)→青(良好)→橙(偏弱)→红加粗(很差)，越弱越显眼 */
.sig { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.sig .dim { opacity: .3; font-weight: 400; }
.sig-strong { color: var(--green-dark); }
.sig-good { color: var(--blue); }
.sig-weak { color: var(--amber); }
.sig-poor { color: var(--red); font-weight: 700; }

.photo-link { display: inline-block; margin: 0 6px 6px 0; }
.photo-link img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #f6f8f6; transition: transform .15s ease, box-shadow .15s ease; }
.photo-link img:hover { transform: scale(1.12); box-shadow: 0 4px 12px rgba(23, 33, 27, .16); }

/* ---- 按钮 ---- */
button.primary, button.ghost, button.danger, .button-link { min-height: 36px; border-radius: 8px; padding: 7px 14px; border: 1px solid transparent; font-size: 13px; transition: background .15s, border-color .15s, color .15s, transform .15s ease, box-shadow .15s ease; }
/* 悬停微放大：所有可点按钮轻轻上浮；按下时回缩，形成点击反馈 */
button:not(:disabled):hover { transform: scale(1.04); }
/* ---- 登录：双方式切换 + 短信验证码 ---- */
.login-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #f4f7f5; }
.login-tab { flex: 1; min-height: 34px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.login-tab.active { background: var(--surface); color: var(--green); box-shadow: var(--shadow); }
.login-panel form { margin: 0; }
.code-box { margin: 14px 0; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: #f8faf9; }
.code-hint { align-self: center; font-size: 12px; font-weight: 400; }
.login-notice { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; line-height: 1.6; }
button:not(:disabled):active { transform: scale(.96); }
button.primary { background: var(--green); color: #fff; }
button.primary:hover { background: var(--green-dark); }
button.ghost { background: #fff; border-color: var(--line-strong); color: #314139; }
button.ghost:hover { border-color: #b9c9bf; background: #f8faf9; }
button.danger { background: #fff; border-color: #eecac5; color: var(--red); }
button.danger:hover { background: var(--red-bg); }
button.small { min-height: 30px; padding: 4px 10px; font-size: 12px; border-radius: 7px; }
button.full { width: 100%; }
button:disabled { opacity: .5; cursor: not-allowed; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.form-error { min-height: 18px; margin-top: 12px !important; color: var(--red); font-size: 13px; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 400; }
.check-row input { width: 16px; height: 16px; }

/* ---- 告警条 ---- */
.alert-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border: 1px solid #f0cfcb; border-left: 4px solid var(--red); border-radius: 10px; background: var(--red-bg); color: #8a302b; font-size: 13px; }
.alert-bar strong { white-space: nowrap; }
.alert-bar span { color: #96514c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-bar button { margin-left: auto; }

/* ---- 面板（工作台）---- */
.status-board { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.panel:hover { transform: scale(1.008); box-shadow: 0 6px 18px rgba(23, 33, 27, .08); }
.panel h2 { margin: 0 0 14px; font-size: 15px; }
.panel h2.section { margin-top: 26px; }
.status-list { display: grid; gap: 11px; }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.status-row span:first-child { color: #43504a; }
.bar { height: 7px; margin-top: 5px; border-radius: 4px; background: #e9eeeb; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; }

/* ---- 弹窗 ---- */
dialog { width: min(520px, calc(100vw - 32px)); border: 0; padding: 0; border-radius: 14px; box-shadow: 0 24px 70px rgba(23, 33, 27, .26); }
dialog::backdrop { background: rgba(20, 53, 42, .45); }
dialog header, dialog footer { display: flex; align-items: center; padding: 16px 20px; }
dialog header { border-bottom: 1px solid var(--line); }
dialog header h2 { margin: 0; font-size: 16px; }
dialog header button { margin-left: auto; border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .15s ease, color .15s; }
dialog header button:hover { transform: scale(1.2) rotate(90deg); color: var(--ink); }
dialog footer { justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }
#dialogBody { padding: 4px 20px 16px; }

.toast { position: fixed; right: 24px; bottom: 24px; max-width: 360px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; box-shadow: 0 12px 32px rgba(23, 33, 27, .25); }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .status-board { grid-template-columns: 1fr; }
  /* 兜底：任何漏包 .table-wrap 的宽内容都允许横向滚动，不再把整页撑出屏幕 */
  .content { overflow-x: auto; }
}

/* 平板 / 手机：侧栏改为抽屉。触屏没有 hover，常驻折叠会让菜单只剩图标、看不全 */
/* ---- 桌面端侧栏：平时收成 60px 图标条，鼠标移入才展开 ----
   展开时用 fixed 悬浮覆盖，主内容区不会被挤动（避免左右跳动）。
   只在「有 hover 能力 + 精确指针」的桌面生效；触屏与窄屏一律走下方 1199px 的抽屉，
   否则手机上永远触发不了 hover，菜单会锁死成图标条。 */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .app-shell { grid-template-columns: 60px minmax(0, 1fr); }
  .sidebar { width: 60px; padding: 14px 8px; overflow: hidden; transition: width .18s ease, padding .18s ease, box-shadow .18s ease; }
  .sidebar .brand { justify-content: center; padding-left: 0; padding-right: 0; }
  .sidebar .brand-text,
  .sidebar .nav-text,
  .sidebar .sidebar-foot,
  .sidebar .nav-group-text { display: none; }
  .sidebar .nav-group { text-align: center; padding: 12px 0 8px; }
  .sidebar .nav-group::after { content: ""; display: block; height: 1px; margin: 5px 12px 0; background: rgba(255, 255, 255, .16); }
  .sidebar nav button { text-align: center; padding: 9px 0; }
  .sidebar .nav-ic { display: flex; width: auto; height: auto; }
  .sidebar .nav-ic svg { width: 18px; height: 18px; }

  .sidebar:hover {
    position: fixed; left: 0; top: 0; z-index: 30;
    width: 232px; height: 100vh; padding: 14px 12px;
    box-shadow: 14px 0 34px rgba(0, 0, 0, .3);
  }
  .sidebar:hover .brand { justify-content: flex-start; }
  .sidebar:hover .brand-text { display: inline; }
  .sidebar:hover .nav-text { display: inline; }
  .sidebar:hover .sidebar-foot { display: block; }
  .sidebar:hover .nav-group-text { display: inline; }
  .sidebar:hover .nav-group { text-align: left; padding: 9px 10px 4px; }
  .sidebar:hover .nav-group::after { display: none; }
  .sidebar:hover nav button { text-align: left; padding: 8px 12px; }
  .sidebar:hover .nav-ic { display: inline-block; width: 22px; font-size: 14px; }
}

@media (max-width: 1199px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 30; left: 0; top: 0; width: 268px; max-width: 82vw; height: 100%; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 28px rgba(0, 0, 0, .22); }
  .sidebar.open { transform: translateX(0); }
  .menu-button { display: block; }
  .topbar { padding: 12px 14px; min-height: 58px; gap: 10px; }
  .topbar h1 { font-size: 17px; }
  .content { padding: 14px 12px 40px; }
  .admin-name { display: none; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar input, .toolbar select { width: 100%; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* 手机：进一步压缩间距，并放大输入控件（iOS 下字号 <16px 会触发自动缩放，页面会跳） */
@media (max-width: 720px) {
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { min-height: 92px; padding: 12px 12px 10px; }
  .metric strong { font-size: 24px; }
  input, select, textarea { font-size: 16px; }
  .toolbar input, .toolbar select { min-width: 0; }
  .tabs { gap: 6px; }
  .tab { padding: 5px 11px; font-size: 12.5px; }
  .panel { padding: 12px; }
  dialog { width: 94vw !important; max-width: 94vw !important; max-height: 88vh; border-radius: 14px; }
  dialog footer { flex-direction: column-reverse; }
  dialog footer button { width: 100%; }
}

/* 触屏：取消悬停放大（点不出来也没意义），并把菜单点击区加大到 44px 以上 */
@media (hover: none) {
  .metric:hover, .panel:hover, .photo-link img:hover, .tab:hover, .number-chip:hover,
  button:not(:disabled):hover, button:not(:disabled):active { transform: none; }
  nav button { padding: 13px 12px; font-size: 14px; }
}

/* 无障碍：系统开启「减弱动态效果」时，关闭悬停放大与旋转 */
@media (prefers-reduced-motion: reduce) {
  .metric:hover, .panel:hover, .photo-link img:hover, nav button:hover, .tab:hover,
  button:not(:disabled):hover, button:not(:disabled):active, dialog header button:hover { transform: none; }
}

/* ---- 可交互数字：悬停轻微放大，点击跳转对应页面并筛选 ---- */
.stat-num { display: inline-block; cursor: pointer; font-weight: 700; color: var(--ink); padding: 0 3px; border-radius: 5px; transition: transform .15s ease, background .15s ease; }
.stat-num:hover { transform: scale(1.25); background: #e8f3ed; color: var(--green, #0f7a4f); }

/* ---- 编号管理：行内迷你编号牌预览（与打印页同款：上小字「会员编号」，下大字编号），点击打开打印页 ---- */
.number-chip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 86px; padding: 6px 10px; background: #fff;
  border: 1px dashed #9fbfae; border-radius: 8px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.number-chip:hover { transform: scale(1.06); box-shadow: 0 2px 8px rgba(15, 122, 79, .18); border-style: solid; }
.number-chip-cap { font-size: 11px; color: #6b7a73; letter-spacing: 2px; }
.number-chip strong { font-size: 17px; font-weight: 700; color: #0f7a4f; letter-spacing: 1px; line-height: 1.15; }

/* 支付管理：单号等宽显示，交易单号点击可复制 */
.mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace; font-size: 12.5px; letter-spacing: .2px; }
.copyable { cursor: pointer; color: #0f7a4f; border-bottom: 1px dashed #9dc9b2; }
.copyable:hover { background: #f0f8f4; }

/* 轮播管理：图片预览与选图区 */
.banner-group { margin: 18px 0 26px; }
.banner-group h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #25352d; }
.banner-group h3 .muted { margin-left: 6px; font-size: 12.5px; font-weight: 400; }
.banner-thumb { width: 150px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid #d9e5de; background: #f4f8f6; display: block; }
.banner-thumb.big { width: 260px; height: 118px; }
.banner-picker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 4px; }
.banner-picker .muted { font-size: 12.5px; }

/* 口袋管理：一袋多件时取件码竖排，每件一行 */
.pickup-codes { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.pickup-codes .mono { background: #f1f6f3; border: 1px solid #dbe7e0; border-radius: 4px; padding: 1px 6px; font-size: 12px; white-space: nowrap; }
