/* ==========================================================================
   易对接 · 管理后台 / 站点 通用样式
   ========================================================================== */

:root {
  --bg: #f4f6fa;
  --panel: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e9f0;
  --line-2: #eef1f6;
  --brand: #2f6bff;
  --brand-600: #1f55e0;
  --brand-50: #eef4ff;
  --ok: #0ea472;
  --ok-50: #e7f8f1;
  --warn: #d97706;
  --warn-50: #fef6e7;
  --danger: #dc2626;
  --danger-50: #fdecec;
  --sidebar: #0e1729;
  --sidebar-2: #16213a;
  --sidebar-ink: #94a3b8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 26px -16px rgba(16, 24, 40, .18);
  --shadow-lg: 0 20px 50px -20px rgba(16, 24, 40, .3);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }

::selection { background: #c7dbff; }

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

.sidebar {
  width: 236px;
  flex: 0 0 236px;
  background: var(--sidebar);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 20px 18px;
}

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8bff, #7d5bff);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 16px -6px rgba(79, 139, 255, .9);
}

.brand-text { font-size: 15px; font-weight: 650; color: #fff; letter-spacing: .01em; }
.brand-sub { font-size: 11px; color: var(--sidebar-ink); letter-spacing: .06em; text-transform: uppercase; }

.nav { padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-label {
  font-size: 11px; color: #5b6a85; text-transform: uppercase;
  letter-spacing: .1em; padding: 16px 10px 6px;
}
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px;
  color: var(--sidebar-ink); font-size: 13.5px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a.active { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px rgba(47, 107, 255, .9); }
.nav a svg { width: 17px; height: 17px; flex: 0 0 17px; opacity: .9; }

.sidebar-foot {
  margin-top: auto; padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px; color: #64748b;
  display: flex; flex-direction: column; gap: 8px;
}
.sidebar-foot .who { color: #cbd5e1; font-size: 13px; font-weight: 600; }

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

.topbar {
  height: 64px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 17px; }
.topbar .sub { color: var(--muted); font-size: 12.5px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

.content { padding: 24px 28px 48px; max-width: 1320px; width: 100%; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
}
.card-head h2 { font-size: 14.5px; }
.card-head .hint { color: var(--muted); font-size: 12.5px; }
.card-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 18px 20px; }
.card-body.tight { padding: 0; }

/* ---------- 统计卡 ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat .k { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat.hero { background: linear-gradient(135deg, #1f2a44, #111a2e); color: #fff; border-color: transparent; }
.stat.hero .k, .stat.hero .d { color: #9fb0cc; }

/* ---------- 表格 ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  text-align: left; font-weight: 600; color: var(--muted);
  font-size: 12px; letter-spacing: .03em; text-transform: uppercase;
  padding: 11px 16px; background: #fafbfd; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.tbl tbody tr:hover { background: #fafbff; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
table.tbl .nowrap { white-space: nowrap; }
table.tbl .actions { display: flex; gap: 6px; justify-content: flex-end; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #dbe7ff, #eef2ff);
  color: #3457b2; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex: 0 0 30px;
  text-transform: uppercase;
}
.cell-user .n { font-weight: 600; }
.cell-user .s { color: var(--muted); font-size: 12px; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 550; line-height: 18px;
  background: #f1f5f9; color: #475569; white-space: nowrap;
}
.badge.ok { background: var(--ok-50); color: #047857; }
.badge.warn { background: var(--warn-50); color: #b45309; }
.badge.danger { background: var(--danger-50); color: #b91c1c; }
.badge.info { background: var(--brand-50); color: #1d4ed8; }
.badge.dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 550; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.btn:hover { background: #f8fafc; border-color: #d7dce6; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px -10px rgba(47,107,255,.9); }
.btn.primary:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: #f1f5f9; color: var(--ink); }
.btn.danger { color: var(--danger); border-color: #f4c7c7; background: #fff; }
.btn.danger:hover { background: var(--danger-50); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn.xs { height: 25px; padding: 0 8px; font-size: 12px; border-radius: 6px; }
.btn.block { width: 100%; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 550; color: var(--ink-2); }
.field .help { font-size: 12px; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 13.5px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 9px 11px; line-height: 1.7; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}
.input::placeholder, .textarea::placeholder { color: #a3adbd; }

.form-grid { display: grid; gap: 16px; }
.form-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }

.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 38px; height: 22px; border-radius: 999px;
  background: #d5dbe5; position: relative; transition: background .18s;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .18s;
}
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(16px); }

/* ---------- 工具条 / 筛选 ---------- */
.toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.toolbar .search { position: relative; }
.toolbar .search .input { padding-left: 32px; width: 240px; }
.toolbar .search svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #94a3b8;
}
.toolbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.pager { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.pager .info { color: var(--muted); font-size: 12.5px; margin-right: auto; }
.pager a, .pager span.cur {
  min-width: 30px; height: 30px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2); background: #fff;
}
.pager a:hover { border-color: #c8d2e4; background: #f8fafc; }
.pager span.cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .disabled { opacity: .45; pointer-events: none; }

/* ---------- 空状态 ---------- */
.empty { padding: 56px 20px; text-align: center; color: var(--muted); }
.empty .icon { font-size: 30px; opacity: .35; margin-bottom: 8px; }
.empty h3 { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.empty p { font-size: 13px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 32px; overflow-y: auto;
}
.modal {
  width: 100%; max-width: 520px;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: pop .16s ease-out;
}
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; padding: 18px 20px 12px; }
.modal-head h3 { font-size: 15.5px; }
.modal-head .x { margin-left: auto; cursor: pointer; color: #94a3b8; font-size: 20px; line-height: 1; }
.modal-body { padding: 4px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 20px 20px; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.99); } }

/* ---------- 提示 ---------- */
#toasts { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  padding: 9px 16px; border-radius: 10px;
  background: #111827; color: #fff; font-size: 13px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.4);
  animation: drop .2s ease-out;
}
.toast.ok { background: #05785a; }
.toast.err { background: #b91c1c; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 图表 ---------- */
.chart { width: 100%; height: 190px; display: block; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }

/* ---------- 登录页 ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-side {
  background: radial-gradient(1200px 600px at 10% 0%, #1e3a8a 0%, transparent 55%), linear-gradient(160deg, #0b1220, #131f38 60%, #0b1220);
  color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -160px;
  background: radial-gradient(circle, rgba(79,139,255,.35), transparent 65%);
}
.auth-side h2 { font-size: 30px; line-height: 1.35; max-width: 420px; }
.auth-side p { color: #a9b8d4; margin-top: 14px; max-width: 400px; font-size: 14px; }
.auth-points { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.auth-points div { display: flex; gap: 10px; color: #cbd5e1; font-size: 13.5px; align-items: center; }
.auth-points b { color: #fff; }
.auth-points .ico {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #93c5fd; font-size: 13px;
}
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-box { width: 100%; max-width: 370px; }
.auth-box h1 { font-size: 22px; }
.auth-box .lead { color: var(--muted); font-size: 13.5px; margin: 6px 0 26px; }
.auth-box .field { margin-bottom: 14px; }
.auth-foot { margin-top: 20px; font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 50;
    transform: translateX(-100%); transition: transform .2s;
    width: 250px;
  }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(15,23,42,.4); }
  .nav-toggle { display: inline-flex; }
  .content { padding: 16px; }
  .topbar { padding: 0 14px; height: 56px; }
  .topbar h1 { font-size: 15.5px; }
  .grid-3, .grid-2, .form-grid.c2 { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .hide-sm { display: none !important; }
  .card-body { padding: 14px 14px; }
  .card-head { padding: 13px 14px; }
  /* 表格：小屏收紧内边距，横向可滑 */
  table.tbl th, table.tbl td { padding: 10px 12px; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  /* 筛选工具条：搜索框占满一行 */
  .toolbar { padding: 12px 14px; }
  .toolbar .search { flex: 1 1 100%; }
  .toolbar .search .input { width: 100%; }
  /* 弹窗：贴边显示 */
  .modal-mask { padding: 24px 12px 20px; }
  .modal-head { padding: 15px 16px 10px; }
  .modal-body { padding: 4px 16px 14px; }
  .modal-foot { padding: 0 16px 16px; }
  .stat .v { font-size: 22px; }
  .pager { flex-wrap: wrap; }
  /* 输入控件放大字号，避免安卓/iOS 聚焦时页面自动缩放 */
  .input, .select, .textarea { font-size: 16px; height: 40px; }
  .textarea { height: auto; }
  .btn { -webkit-user-select: none; user-select: none; }
}

/* ---------- 前台站点响应式 ---------- */
@media (max-width: 760px) {
  .site-nav { padding: 0 16px; gap: 14px; height: 58px; }
  .site-nav .links {
    overflow-x: auto; white-space: nowrap; margin-left: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; flex: 1;
  }
  .site-nav .links::-webkit-scrollbar { display: none; }
  .site-nav .right .btn { height: 32px; padding: 0 12px; font-size: 12.5px; }
  .site-wrap { padding: 0 16px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero .lead { font-size: 14.5px; }
  .hero .cta .btn { flex: 1 1 auto; min-width: 140px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: 22px; }
  .doc-body { padding: 28px 0 60px; }
  .site-foot { padding: 22px 0; margin-top: 28px; }
  .site-foot .row { gap: 10px; }
  .site-foot .right { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   前台站点
   ========================================================================== */
.site-nav {
  height: 68px; display: flex; align-items: center; gap: 26px;
  padding: 0 40px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 30;
}
.site-nav .links { display: flex; gap: 22px; margin-left: 10px; }
.site-nav .links a { color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.site-nav .links a:hover { color: var(--brand); }
.site-nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 560px;
  background: radial-gradient(50% 60% at 50% 40%, rgba(47,107,255,.13), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: 46px; line-height: 1.18; letter-spacing: -.02em; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 16px; color: var(--muted); max-width: 600px; margin-top: 18px; }
.hero .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .cta .btn { height: 44px; padding: 0 22px; font-size: 14.5px; border-radius: 11px; }
.hero-stats { display: flex; gap: 42px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats .l { font-size: 12.5px; color: var(--muted); }

.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600);
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.feature:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -24px rgba(16,24,40,.35); }
.feature .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 14px;
}
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; }

.site-foot {
  border-top: 1px solid var(--line); padding: 28px 0; margin-top: 40px;
  color: var(--muted); font-size: 12.5px;
}
.site-foot .row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-foot .right { margin-left: auto; }

/* 文档 */
.doc-body { max-width: 860px; margin: 0 auto; padding: 40px 0 80px; }
.doc-body h2 { font-size: 20px; margin: 36px 0 12px; }
.doc-body h3 { font-size: 15.5px; margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink-2); font-size: 14px; }
.doc-body ul { padding-left: 20px; }
.doc-body code {
  background: #f1f5fb; border: 1px solid #e3e9f3; border-radius: 5px;
  padding: 1px 5px; font-size: 12.5px; color: #1e3a8a;
}
.code-block {
  background: #0f172a; color: #dbeafe; border-radius: 12px;
  padding: 16px 18px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.75; overflow-x: auto; margin: 12px 0;
}

/* ==========================================================================
   用户中心 H5
   ========================================================================== */
.h5 { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding-bottom: 40px; }
.h5-head {
  background: linear-gradient(150deg, #2f6bff, #1b45c9 60%, #16308f);
  color: #fff; padding: 28px 22px 64px; border-radius: 0 0 26px 26px;
  position: relative; overflow: hidden;
}
.h5-head::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
}
.h5-head .site { font-size: 12.5px; opacity: .8; }
.h5-head .who { font-size: 22px; font-weight: 700; margin-top: 6px; display: flex; align-items: center; gap: 12px; }
.h5-head .acc { font-size: 12.5px; opacity: .75; margin-top: 4px; }
.h5-body { padding: 0 16px; margin-top: -44px; }
.h5-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 28px -18px rgba(16,24,40,.4); padding: 18px; margin-bottom: 14px; }
.h5-card h4 { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 12px; letter-spacing: .02em; }
.h5-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.h5-row:last-child { border-bottom: 0; }
.h5-row .k { color: var(--muted); }
.h5-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.h5-tabs button {
  flex: 1; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
}
.h5-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 12.5px; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.right { margin-left: auto; }
.w-full { width: 100%; }
