/* ==========================================================================
   净用 · 管理后台专属布局（admin.css）
   - 颜色、按钮、标签、表格、表单等基础组件全部来自 style.css；
   - 本文件只放后台外壳与后台专属版式，全部规则以 .adm 作用域限定，
     不改 :root、不覆盖全局选择器；
   - 仅内联 SVG，无外部字体/图片。
   ========================================================================== */

/* ---------------- 外壳 ---------------- */
.adm { display: flex; align-items: flex-start; min-height: 100vh; width: 100%; }
.adm-side {
  width: 216px; flex: 0 0 216px; height: 100vh; position: sticky; top: 0; z-index: 40;
  display: flex; flex-direction: column; padding: 18px 12px 14px;
  background: var(--card); border-right: 1px solid var(--line);
}
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 19px; }
.adm-brand .brand-mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--olive); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none;
  box-shadow: 0 4px 10px rgba(61, 74, 34, .16);
}
.adm-brand-txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.adm-brand-txt b { font-size: 15.5px; letter-spacing: .02em; }
.adm-brand-txt small { font-size: 9px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.adm-sb-label { font-size: 10px; letter-spacing: .18em; color: #9AA089; padding: 6px 10px 7px; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px;
  border-radius: 10px; font-size: 13.5px; color: #3A4031; text-align: left; transition: .16s;
}
.adm-nav-item svg { width: 17px; height: 17px; flex: none; opacity: .88; }
.adm-nav-item:hover { background: var(--olive-soft); color: var(--olive-dark); }
.adm-nav-item.on {
  background: var(--olive); color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px rgba(61, 74, 34, .18);
}
.adm-nav-item.on svg { opacity: 1; }
.adm-nav-count {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #F2E5D6; color: #8A4B34; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.adm-nav-item.on .adm-nav-count { background: rgba(255, 255, 255, .22); color: #fff; }
.adm-nav-count[hidden] { display: none; }
.adm-sb-foot { margin-top: auto; padding: 12px 4px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.adm-engine { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 11.5px; color: var(--muted); }
.adm-engine .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--olive);
  box-shadow: 0 0 0 3px rgba(92, 110, 54, .14); flex: none;
}
.adm-sb-note {
  background: #FAFAF1; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px;
  font-size: 10.5px; color: var(--muted); line-height: 1.55;
}
.adm-sb-note b { display: block; font-size: 11px; color: #3A4031; font-weight: 600; margin-bottom: 2px; }

.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.adm-top {
  height: 56px; flex: none; position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px; padding: 0 24px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.adm-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.adm-crumb .sep { color: #C4C7B4; font-size: 11px; }
.adm-crumb b { color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }
.adm-env {
  font-size: 9px; letter-spacing: .14em; color: var(--olive-dark);
  background: var(--olive-soft); border-radius: 5px; padding: 2px 6px; font-weight: 600;
}
.adm-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.adm-top .btn-ghost { height: 32px; padding: 0 13px; font-size: 12.5px; }
.adm-top .btn-ghost svg { width: 13px; height: 13px; }
.adm-tb-line { width: 1px; height: 20px; background: var(--line); }
.adm-admin { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #3A4031; white-space: nowrap; }
.adm-top .avatar { width: 28px; height: 28px; font-size: 11px; }
.adm-content { flex: 1; min-width: 0; padding: 20px 24px 64px; }

/* ---------------- 页头（沿用 style.css .page-head，仅做后台版式收口） ---------------- */
.adm .page-head { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; }
.adm .page-head h1 { font-size: 21px; font-weight: 650; letter-spacing: .005em; line-height: 1.2; }
.adm .page-head em {
  font-style: normal; font-size: 10px; letter-spacing: .16em; color: var(--muted);
  font-weight: 400; padding-bottom: 3px;
}
.adm .page-head .sub,
.adm .page-head .desc { font-size: 12px; color: var(--muted); padding-bottom: 3px; }
.adm-head-right {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  padding-bottom: 2px; font-size: 11.5px; color: #9AA089; white-space: nowrap;
}
.adm .pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; font-size: 11.5px; font-weight: 600; }
.adm-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------------- 面板头/脚 ---------------- */
.adm .panel-head {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; min-height: 50px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.adm .panel-head h2 { font-size: 13.5px; font-weight: 650; letter-spacing: .01em; }
.adm .panel-head em {
  font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 400;
}
.adm .panel-head .meta { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.adm-panel-link {
  margin-left: auto; font-size: 11.5px; color: var(--olive); font-weight: 600;
  white-space: nowrap; padding: 4px 6px; border-radius: 7px;
}
.adm-panel-link:hover { background: var(--olive-soft); color: var(--olive-dark); }
.adm-count {
  display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 999px;
  background: #F5E9D8; color: #8A6132; font-size: 10.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.adm-tbl-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 14px;
  border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted);
}
.adm-tbl-foot .pager { margin: 0 0 0 auto; }
.adm-tbl-foot .pager button { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 8px; font-size: 12px; }
.adm-foot-note { font-size: 10.5px; color: #9AA089; white-space: nowrap; }
.adm-foot-note.right { margin-left: auto; }

/* ---------------- 通用小件 ---------------- */
.adm-panel-clip { overflow: hidden; }
.adm-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); }
.adm-strong { font-weight: 600; }
.adm-sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.adm-wrap { white-space: normal !important; word-break: break-word; }
.adm-nowrap { white-space: nowrap; }
.adm .table td { white-space: nowrap; }
.adm .table td.adm-wrap { white-space: normal; }
.adm .table .r { text-align: right; }
.adm .table th { padding: 10px 12px; }
.adm .table td { padding: 10px 12px; font-size: 12.8px; }
.adm .table tbody tr.is-active { background: rgba(232, 235, 217, .55); }
.adm .table tbody tr.is-active td:first-child { box-shadow: inset 2px 0 0 var(--olive); }
.adm .table tbody tr[data-adm-rep-row] { cursor: pointer; }
.adm-empty-row td { padding: 30px 16px !important; text-align: center; color: #9AA089; font-size: 12.5px; }
.adm-empty-row:hover { background: none !important; }
.adm-link { font-size: 11px; color: var(--olive); font-weight: 600; white-space: nowrap; padding: 3px 5px; border-radius: 6px; }
.adm-link:hover { background: var(--olive-soft); color: var(--olive-dark); }
.adm .is-loading { opacity: .5; transition: opacity .15s; }
.adm-loading-tip { margin-top: 10px; font-size: 12.5px; }
.adm-op { display: flex; align-items: center; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.adm .btn-sm { font-weight: 500; }

/* ---------------- 数据看板 ---------------- */
.adm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.adm-kpi {
  position: relative; display: block; width: 100%; text-align: left; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 17px 14px; transition: .18s;
}
.adm-kpi:hover { border-color: var(--olive-line); box-shadow: 0 10px 24px rgba(61, 74, 34, .06); transform: translateY(-1px); }
.adm-kpi.is-link { cursor: pointer; }
.adm-k-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.adm-k-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--olive-soft); display: grid; place-items: center; flex: none; }
.adm-k-ico svg { width: 13px; height: 13px; stroke: var(--olive); }
.adm-kpi .v {
  display: block; margin-top: 7px; font-size: 28px; font-weight: 700;
  letter-spacing: -.015em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.adm-kpi .v small { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.adm-k-foot { display: flex; align-items: center; gap: 6px; margin-top: 7px; min-height: 19px; font-size: 11.5px; color: var(--muted); padding-right: 26px; }
.adm-k-arrow {
  position: absolute; right: 15px; bottom: 13px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); transition: .15s;
}
.adm-k-arrow svg { width: 11px; height: 11px; }
.adm-kpi.is-link:hover .adm-k-arrow { background: var(--olive); border-color: var(--olive); color: #fff; }
.adm-delta {
  display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px;
  background: var(--olive-soft); color: var(--olive-dark);
  font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.adm-delta.warn { background: #F5E9D8; color: #8A6132; }
.adm-delta.down { background: #F6E9E4; color: var(--brick); }

.adm-dash { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 12px; align-items: start; }
.adm-chart-wrap { padding: 16px 18px 1px; }
.adm-chart {
  display: flex; align-items: stretch; gap: 7px; height: 236px;
  border-bottom: 1px solid var(--line); padding: 0 2px;
}
.adm-c-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; height: 100%; }
.adm-c-val {
  flex: none; height: 15px; line-height: 15px; font-size: 10.5px; font-weight: 600;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.adm-c-track { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.adm-c-bar {
  display: block; width: 56%; max-width: 58px; min-height: 2px;
  background: var(--olive); border-radius: 5px 5px 2px 2px; transition: .18s;
}
.adm-c-x {
  flex: none; height: 17px; line-height: 17px; font-size: 10.5px; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.adm-c-col:hover .adm-c-bar { background: var(--olive-dark); }
.adm-c-col:hover .adm-c-val { color: var(--ink); }
.adm-c-col.today .adm-c-bar { background: var(--brass); }
.adm-c-col.today:hover .adm-c-bar { background: #8E6229; }
.adm-c-col.today .adm-c-x { color: var(--brass); font-weight: 600; }
.adm-c-col.today .adm-c-val { color: var(--ink); font-weight: 700; }
.adm-chart-foot { display: flex; align-items: center; gap: 10px; padding: 10px 2px 13px; font-size: 10.5px; color: #9AA089; }
.adm-legend { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.adm-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--brass); display: inline-block; }
.adm-legend i.b { background: var(--olive); margin-left: 8px; }

.adm-pending { list-style: none; padding: 3px 8px 5px; }
.adm-p-item {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px 8px; border-bottom: 1px dashed var(--line); border-radius: 8px;
}
.adm-p-item:last-child { border-bottom: 0; }
.adm-p-item:hover { background: #FAFAF1; }
.adm-p-ico {
  width: 32px; height: 32px; border-radius: 9px; background: var(--olive-soft);
  color: var(--olive-dark); display: grid; place-items: center; font-size: 12.5px; font-weight: 600;
}
.adm-p-ico.b { background: #EDE7D6; color: #8A6A33; }
.adm-p-ico.c { background: #E4EADF; color: #47603A; }
.adm-p-ico.d { background: #EFE6E1; color: #8A5A44; }
.adm-p-info { min-width: 0; }
.adm-p-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.adm-p-top b { font-size: 12.5px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-p-top .tag { flex: none; }
.adm-p-meta { font-size: 10.5px; color: #9AA089; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-p-go { flex: none; }

/* ---------------- 举报审核 ---------------- */
.adm-rep-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 12px; align-items: start; }
.adm-filters {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.adm-filters .f-label { font-size: 11.5px; color: var(--muted); margin-right: -1px; }
.adm-filters .select {
  width: auto; height: 32px; padding: 0 28px 0 10px; font-size: 12px; border-radius: 9px;
  background-position: calc(100% - 17px) 13px, calc(100% - 12px) 13px;
}
.adm-f-count { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.adm-rep-table .table td { padding-top: 11px; padding-bottom: 11px; }
.adm-rep-detail { position: sticky; top: 72px; padding: 15px 16px 16px; min-width: 0; }
.adm-d-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-d-head h2 { font-size: 13.5px; font-weight: 650; }
.adm-d-head em { font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 400; }
.adm-d-head .tag { margin-left: auto; }
.adm-d-app {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px;
  background: #FAFAF1; border: 1px solid var(--line); border-radius: 12px;
}
.adm-d-app .ico-app { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
.adm-d-app-txt { min-width: 0; }
.adm-d-app-txt b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.adm-d-app-txt small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.adm-d-link { margin-left: auto; }
.adm-d-info { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin-top: 12px; }
.adm-d-info div { min-width: 0; }
.adm-d-info dt { font-size: 10px; color: #9AA089; letter-spacing: .02em; }
.adm-d-info dd { font-size: 12.5px; color: #2E3527; margin-top: 3px; word-break: break-word; }
.adm-d-info dd .tag { height: 20px; font-size: 10px; }
.adm-d-desc { margin-top: 12px; padding: 10px 12px; background: #FBFBF4; border: 1px dashed var(--olive-line); border-radius: 10px; }
.adm-d-desc-label { font-size: 9.5px; letter-spacing: .14em; color: #9AA089; margin-bottom: 5px; }
.adm-d-desc p { font-size: 12.5px; line-height: 1.68; color: #3A4031; word-break: break-word; }
.adm-d-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line);
}
.adm-d-actions .btn { height: 34px; width: 100%; padding: 0 8px; font-size: 12px; border-radius: 10px; }
.adm-d-hint { margin-top: 9px; font-size: 10px; line-height: 1.55; color: #9AA089; }

/* ---------------- 应用 / 用户 ---------------- */
.adm-search { position: relative; width: 250px; flex: none; }
.adm-search svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; stroke: var(--muted); pointer-events: none;
}
.adm-search input {
  width: 100%; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  background: #FCFCF6; padding: 0 13px 0 32px; font-size: 12.5px; outline: none; color: inherit;
}
.adm-search input::placeholder { color: #A6AC98; }
.adm-search input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(92, 110, 54, .12); }
.adm-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
.adm-chips .pill {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px;
  font-size: 12px; color: #5A604D; white-space: nowrap;
}
.adm-chips .pill:hover { border-color: var(--olive-line); background: #FAFAF1; color: var(--olive-dark); }
.adm-chips .pill.on { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 600; }
.adm-chips .pill b { font-size: 10.5px; font-weight: 600; color: #9AA089; font-variant-numeric: tabular-nums; }
.adm-chips .pill.on b { color: #DCE2C8; }
.adm-app-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.adm .ico-app { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.adm-app-txt { min-width: 0; }
.adm-app-txt b { display: block; font-size: 13px; font-weight: 550; line-height: 1.3; }
.adm-app-txt small { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.adm-creator { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.adm-av {
  width: 24px; height: 24px; border-radius: 50%; background: var(--olive-soft);
  color: var(--olive-dark); display: grid; place-items: center; font-size: 10px; flex: none;
}
.adm-av.dark { background: var(--olive-dark); color: #fff; }
.adm-av.brick { background: #F3E3DC; color: #8A4B34; }
.adm-user-cell { display: flex; align-items: center; gap: 9px; }
.adm-user-cell .adm-av { width: 30px; height: 30px; font-size: 11px; }
.adm-user-txt { min-width: 0; }
.adm-user-txt b { display: block; font-size: 13px; font-weight: 550; line-height: 1.3; }
.adm-user-txt small { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.adm-coin { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-variant-numeric: tabular-nums; }
.adm-coin i { width: 11px; height: 11px; border-radius: 50%; background: var(--brass); opacity: .92; flex: none; }
.adm-tag-row { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }

/* ---------------- 调账 ---------------- */
.adm-ledger-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 12px; align-items: start; }
.adm-ledger-form { overflow: visible; }
.adm-form-body { display: flex; flex-direction: column; gap: 13px; padding: 15px 16px 17px; }
.adm-form-body .field { margin-bottom: 0; min-width: 0; }
.adm-f-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.adm-f-head label { font-size: 11.5px; font-weight: 650; color: #4C533E; }
.adm-f-head label em { font-style: normal; font-size: 9px; letter-spacing: .08em; color: #A9785F; font-weight: 500; margin-left: 2px; }
.adm-f-head span { margin-left: auto; font-size: 10px; color: #9AA089; white-space: nowrap; }
.adm-pick { position: relative; }
.adm-pick > svg { position: absolute; left: 12px; top: 12px; width: 14px; height: 14px; stroke: var(--muted); pointer-events: none; }
.adm-pick input {
  width: 100%; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #FCFCF6;
  padding: 0 12px 0 34px; font-size: 12.5px; outline: none; color: inherit;
}
.adm-pick input::placeholder { color: #A6AC98; }
.adm-pick input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(92, 110, 54, .12); }
.adm-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 25;
  padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  box-shadow: 0 14px 30px rgba(40, 48, 25, .12); max-height: 286px; overflow: auto;
}
.adm-suggest[hidden] { display: none; }
.adm-suggest-head { font-size: 9px; letter-spacing: .14em; color: #9AA089; padding: 5px 7px 4px; }
.adm-sg { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 7px; border-radius: 8px; text-align: left; }
.adm-sg:hover, .adm-sg:focus-visible { background: #FAFAF1; }
.adm-sg-av { width: 26px; height: 26px; border-radius: 50%; background: #F1F1E7; color: #5A604D; display: grid; place-items: center; font-size: 11px; flex: none; }
.adm-sg-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.adm-sg-txt b { font-size: 12.5px; font-weight: 600; }
.adm-sg-txt small { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.adm-sg-coins { margin-left: auto; font-size: 12px; font-weight: 650; color: var(--olive-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-sg-coins small { font-size: 9px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.adm-sg-empty { padding: 12px 8px; font-size: 11.5px; color: var(--muted); text-align: center; }
.adm-bal {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px;
  background: #FAFAF1; border: 1px solid var(--line); border-radius: 12px;
}
.adm-bal .lbl { display: block; font-size: 9.5px; color: #9AA089; letter-spacing: .03em; }
.adm-bal b { display: block; margin-top: 2px; font-size: 22px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.adm-bal b small { font-size: 10.5px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.adm-bal .who { margin-left: auto; text-align: right; font-size: 10.5px; color: var(--muted); line-height: 1.5; }
.adm-bal .who b { font-size: 11px; color: #3A4031; font-weight: 600; margin: 0; }
.adm-amount {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px;
  background: #FCFCF6; overflow: hidden; transition: .15s;
}
.adm-amount:focus-within { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(92, 110, 54, .12); }
.adm-signs { display: flex; gap: 2px; padding: 3px; background: #F4F4E8; border-right: 1px solid var(--line); }
.adm-signs button {
  width: 33px; height: 30px; border-radius: 7px; font-size: 15px; line-height: 1; color: #5A604D;
  display: grid; place-items: center; transition: .14s;
}
.adm-signs button:hover { background: #ECEDDC; color: var(--olive-dark); }
.adm-signs button.on { background: var(--olive); color: #fff; font-weight: 700; }
.adm-amount input {
  flex: 1; min-width: 0; height: 40px; border: 0; background: none; outline: none;
  padding: 0 12px; font-size: 17px; font-weight: 650; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; color: inherit;
}
.adm-amount .unit { font-size: 11px; color: var(--muted); padding-right: 12px; white-space: nowrap; }
.adm-amount.neg input { color: var(--brick); }
.adm-preview {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: var(--olive-soft);
  color: var(--olive-dark); font-size: 11.5px;
}
.adm-preview b { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.adm-preview b.bad { color: var(--brick); }
.adm-confirm { height: 42px; border-radius: 11px; font-size: 13.5px; }
.adm-form-tip { display: flex; align-items: flex-start; gap: 5px; font-size: 10px; line-height: 1.55; color: #9AA089; }
.adm-form-tip svg { width: 12px; height: 12px; margin-top: 1px; flex: none; stroke: #A9785F; }
.adm-ledger-table .table td { padding-top: 10px; padding-bottom: 10px; }

/* ---------------- 错误 / 空态 ---------------- */
.adm-state {
  max-width: 520px; margin: 56px auto; padding: 28px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.adm-state-ico {
  width: 42px; height: 42px; border-radius: 50%; background: #F6E9E4; color: var(--brick);
  display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 4px;
}
.adm-state b { font-size: 15px; }
.adm-state p { color: var(--muted); font-size: 12.5px; }
.adm-state-acts { display: flex; gap: 8px; margin-top: 6px; }
.adm-empty-acts { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }

/* ---------------- 响应式：1440 / 1200 / 900 ---------------- */
@media (max-width: 1440px) {
  .adm-content { padding: 18px 20px 56px; }
  .adm-dash { grid-template-columns: minmax(0, 1fr) 340px; }
  .adm-kpi .v { font-size: 26px; }
}

@media (max-width: 1200px) {
  .adm-dash { grid-template-columns: minmax(0, 1fr); }
  .adm-rep-grid { grid-template-columns: minmax(0, 1fr); }
  .adm-rep-detail { position: static; }
  .adm-ledger-grid { grid-template-columns: 360px minmax(0, 1fr); }
  .adm-search { width: 214px; }
  .adm-hide-lg { display: none !important; }
}

@media (max-width: 900px) {
  .adm { display: block; }
  .adm-side {
    width: 100%; height: auto; position: sticky; top: 0; z-index: 45;
    flex-direction: row; align-items: center; gap: 6px; padding: 9px 14px;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .adm-brand { padding: 0; flex: none; margin-right: 4px; gap: 8px; }
  .adm-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
  .adm-brand-txt b { font-size: 14px; }
  .adm-brand-txt small { font-size: 7.5px; margin-top: 2px; letter-spacing: .08em; }
  .adm-sb-label, .adm-sb-foot { display: none; }
  .adm-nav { flex-direction: row; flex: 1; gap: 3px; overflow-x: auto; scrollbar-width: none; padding: 1px; min-width: 0; }
  .adm-nav::-webkit-scrollbar { display: none; }
  .adm-nav-item { width: auto; height: 34px; padding: 0 11px; border-radius: 8px; font-size: 12.5px; flex: none; white-space: nowrap; gap: 7px; }
  .adm-nav-item svg { width: 15px; height: 15px; }
  .adm-nav-count { height: 16px; min-width: 16px; font-size: 9.5px; padding: 0 4px; }
  .adm-main { min-height: 0; }
  .adm-top { position: static; height: 50px; padding: 0 16px; gap: 10px; }
  .adm-content { padding: 16px 16px 48px; }
  .adm .page-head h1 { font-size: 19px; }
  .adm .page-head { margin-bottom: 14px; }
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .adm-ledger-form { max-width: 560px; }
  .adm-search { width: 100%; order: -1; }
  .adm .panel-head { gap: 10px; }
  .adm-hide-md { display: none !important; }
  .adm-rep-detail { padding: 15px 16px 16px; }
}

@media (max-width: 680px) {
  .adm-top { padding: 0 12px; }
  .adm-env { display: none; }
  .adm-admin-name { display: none; }
  .adm-content { padding: 14px 12px 44px; }
  .adm-kpis { grid-template-columns: minmax(0, 1fr); }
  .adm .page-head .sub { width: 100%; padding-bottom: 0; }
  .adm-head-right { width: 100%; margin-left: 0; }
  .adm-chart { gap: 4px; }
  .adm-c-bar { max-width: 36px; }
  .adm-chart-wrap { padding: 14px 12px 0; }
  .adm .table th, .adm .table td { padding-left: 9px; padding-right: 9px; }
  .adm-hide-sm { display: none !important; }
  .adm-d-info { grid-template-columns: 1fr; }
  .adm-d-actions { grid-template-columns: 1fr 1fr; }
  .adm-f-count { margin-left: 0; width: 100%; }
}
