:root {
  --bg: #eef3f9;
  --panel: rgba(255, 255, 255, .9);
  --text: #0b1c34;
  --muted: #60718b;
  --line: #d9e3ef;
  --primary: #9f6a1e;
  --primary-2: #d8ad55;
  --primary-soft: #fff3d7;
  --tech: #00b8d9;
  --tech-soft: #e4faff;
  --signal: #14c99b;
  --warn: #b7791f;
  --warn-soft: #fff4d6;
  --danger: #b42318;
  --danger-soft: #fde4df;
  --ink: #243042;
  --brand-dark: #07090f;
  --brand-dark-2: #121723;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(12, 30, 56, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 30, 56, .04) 1px, transparent 1px),
    linear-gradient(135deg, #f7faff 0%, #eef3f9 45%, #f7f1e4 100%);
  background-size: 28px 28px, 28px 28px, auto;
  display: flex;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.nav-toggle, .mobile-topbar, .sidebar-backdrop { display: none; }

.sidebar {
  width: 236px;
  background:
    linear-gradient(90deg, rgba(0, 184, 217, .08) 1px, transparent 1px),
    linear-gradient(rgba(216, 173, 85, .08) 1px, transparent 1px),
    linear-gradient(180deg, var(--brand-dark-2), var(--brand-dark));
  background-size: 26px 26px, 26px 26px, auto;
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
  border-right: 1px solid rgba(216, 173, 85, .18);
}
.brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a1d0a, #090b10);
  border: 1px solid rgba(216, 173, 85, .42);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(216, 173, 85, .12);
}
.brand-mark.image { overflow: hidden; }
.brand-mark.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-mark.large {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}
.brand-title { font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { color: #c9b98f; font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { margin-top: 28px; display: grid; gap: 8px; }
nav a, .sidebar-foot a {
  color: #d8deea;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: block;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
nav a span { display: block; font-weight: 800; }
nav a small { display: block; margin-top: 2px; color: #93a0b8; font-size: 11px; }
nav a.active, nav a:hover {
  background:
    linear-gradient(90deg, rgba(216, 173, 85, .18), rgba(0, 184, 217, .08));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--primary-2), 0 0 18px rgba(0, 184, 217, .08);
}
nav a.active small, nav a:hover small { color: #d9c796; }
.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 8px;
  color: #93a0b8;
  font-size: 12px;
}
.sidebar-foot a { background: rgba(255, 255, 255, .06); color: #fff; text-align: center; }
.sidebar-foot a:hover { background: rgba(216, 173, 85, .16); }

.main {
  flex: 1;
  padding: 28px;
  min-width: 0;
  position: relative;
}
.main::before {
  content: "";
  position: fixed;
  left: 236px;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 184, 217, .32), rgba(216, 173, 85, .28), transparent);
  z-index: 1;
  pointer-events: none;
}
.system-strip {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
}
.system-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(0, 184, 217, .18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(228,250,255,.46));
  color: var(--muted);
  padding: 0 12px;
  font-size: 12px;
  box-shadow: 0 10px 22px rgba(12, 38, 70, .05);
  backdrop-filter: blur(12px);
}
.system-chip strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.system-chip.online {
  color: #04738a;
  border-color: rgba(20, 201, 155, .22);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(20, 201, 155, .12), 0 0 16px rgba(20, 201, 155, .42);
  animation: pulseStatus 1.8s ease-in-out infinite;
}
.system-line {
  height: 1px;
  flex: 1;
  min-width: 80px;
  background: linear-gradient(90deg, rgba(0, 184, 217, .34), rgba(216, 173, 85, .24), transparent);
  position: relative;
  overflow: hidden;
}
.system-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80px;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: scanLine 3.2s linear infinite;
}
@keyframes pulseStatus {
  0%, 100% { opacity: .72; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes scanLine {
  from { transform: translateX(0); }
  to { transform: translateX(1200px); }
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 2px;
}
.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: min(260px, 46vw);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--tech), transparent);
  opacity: .72;
}
.page-head h1 {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(11, 28, 52, .12);
}
.eyebrow { margin: 0; color: var(--muted); font-size: 13px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metric, .panel, .team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(20, 37, 63, .07);
  backdrop-filter: blur(14px);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative;
  overflow: hidden;
}
.metric::before, .panel::before, .team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--tech), transparent);
  opacity: .72;
}
.metric::after, .team-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0, 184, 217, .12);
  transform: rotate(45deg);
}
.metric > *, .panel > *, .team-card > * {
  position: relative;
  z-index: 1;
}
.metric:hover, .team-card:hover {
  border-color: rgba(0, 184, 217, .34);
  box-shadow: 0 18px 46px rgba(0, 93, 132, .12), 0 0 0 1px rgba(216, 173, 85, .14);
  transform: translateY(-1px);
}
.metric { padding: 16px; }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 27px;
  letter-spacing: 0;
  color: #07182d;
}
.metric em { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-style: normal; }

.grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px;
  margin-bottom: 18px;
}
.panel { padding: 18px; margin-bottom: 18px; }
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.panel-title h2 { margin: 0; font-size: 18px; }
.panel-title a, .ghost-btn {
  color: #7c4e0c;
  background:
    linear-gradient(135deg, rgba(255, 243, 215, .92), rgba(228, 250, 255, .72));
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid rgba(216, 173, 85, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.panel-title a:hover, .ghost-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 184, 217, .13); }

.team-list { display: grid; gap: 10px; }
.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(247,250,255,.68));
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.team-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-2), var(--tech));
  border-radius: 999px;
}
.team-row:hover {
  border-color: rgba(0, 184, 217, .32);
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(228,250,255,.54));
  box-shadow: 0 12px 28px rgba(12, 38, 70, .08);
  transform: translateY(-1px);
}
.team-row strong, .team-row span { display: block; }
.team-row span, .amounts span, .sub, .muted { color: var(--muted); font-size: 12px; }
.amounts { text-align: right; }
.amounts b {
  display: block;
  font-size: 21px;
  color: #07182d;
  font-variant-numeric: tabular-nums;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.team-card { padding: 18px; }
.team-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.team-card h2 { margin: 0; font-size: 20px; }
.team-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.team-card-grid span { display: block; color: var(--muted); font-size: 12px; }
.team-card-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
}
.filters label { color: var(--muted); font-size: 13px; }
input, select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .82);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus {
  border-color: var(--tech);
  box-shadow: 0 0 0 3px rgba(0, 184, 217, .14);
}
button {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #8c5a15, var(--primary-2), var(--tech));
  color: #fff;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 184, 217, .18); filter: brightness(1.03); }
button:active { transform: translateY(0); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}
th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  background: rgba(247, 250, 255, .72);
}
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: rgba(228, 250, 255, .42); }
.mono { font-family: Consolas, "Courier New", monospace; }
.small { font-size: 12px; color: var(--muted); }
.wrap { word-break: break-all; }
.empty { color: var(--muted); text-align: center; padding: 24px; }

.badge, .status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
}
.badge.normal, .bar i.normal { background: var(--tech-soft); color: #04738a; }
.badge.warn, .bar i.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger, .bar i.danger { background: var(--danger-soft); color: var(--danger); }
.badge.empty, .bar i.empty { background: #eef2f7; color: var(--muted); }

.usage { min-width: 160px; }
.usage div:first-child { display: flex; gap: 4px; align-items: baseline; }
.usage span { color: var(--muted); font-size: 12px; }
.bar {
  height: 7px;
  background: rgba(222, 232, 244, .8);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 7px;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background-image: linear-gradient(90deg, currentColor, var(--tech));
}

.bill-block {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bill-block h3, .bill-total h3 { margin: 0 0 8px; font-size: 16px; }
.bill-block p, .bill-total p { margin: 5px 0; }
.bill-total {
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-soft), var(--tech-soft));
  border-radius: 8px;
}
.details {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.alert-inline {
  background: var(--danger-soft);
  color: var(--danger);
}

.audit-panel { padding: 20px; }
.audit-list {
  display: grid;
  gap: 12px;
}
.audit-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 251, 242, .72));
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.audit-card:hover {
  border-color: rgba(216, 173, 85, .42);
  box-shadow: 0 12px 28px rgba(31, 41, 55, .08);
  transform: translateY(-1px);
}
.audit-badge {
  height: 36px;
  min-width: 58px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
}
.audit-badge.warn { background: var(--warn-soft); color: var(--warn); }
.audit-badge.danger { background: var(--danger-soft); color: var(--danger); }
.audit-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.audit-target {
  margin-top: 4px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.audit-detail {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  word-break: break-word;
}
.audit-meta {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}
.audit-meta strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 6px;
}
.audit-meta span { display: block; }

.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background:
    linear-gradient(rgba(216, 173, 85, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 217, .08) 1px, transparent 1px),
    linear-gradient(135deg, #05070c, #141927 54%, #090b10);
  background-size: 34px 34px, 34px 34px, auto;
}
.login-box {
  width: min(460px, calc(100vw - 32px));
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,250,255,.9));
  border-radius: 8px;
  padding: 28px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 184, 217, .08);
  border: 1px solid rgba(216, 173, 85, .24);
  position: relative;
  overflow: hidden;
}
.login-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-2), var(--tech), var(--primary));
}
.login-brand { color: var(--text); margin-bottom: 12px; }
.login-brand.compact { align-items: center; }
.login-brand .brand-title { font-size: 24px; }
.login-brand .brand-sub { color: var(--primary); font-size: 13px; }
.login-box label { color: var(--muted); font-size: 13px; }
.login-box input, .login-box button { width: 100%; }
.captcha-modal[hidden] { display: none; }
.captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(0, 184, 217, .18), transparent 32%),
    rgba(5, 7, 12, .68);
  backdrop-filter: blur(10px);
}
.captcha-card {
  width: min(520px, 100%);
  border-radius: 8px;
  border: 1px solid rgba(216, 173, 85, .36);
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(240,249,252,.94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36), 0 0 0 1px rgba(0, 184, 217, .12);
  padding: 22px;
}
.captcha-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.captcha-head h2 { margin: 2px 0 0; font-size: 22px; }
.captcha-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  color: var(--text);
  background: rgba(232, 238, 247, .92);
}
.captcha-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.captcha-targets span {
  min-width: 58px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #7c4e0c;
  background: linear-gradient(135deg, rgba(255, 243, 215, .96), rgba(228, 250, 255, .72));
  border: 1px solid rgba(216, 173, 85, .32);
  font-weight: 900;
}
.captcha-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.captcha-tile {
  height: 54px;
  padding: 0;
  border-radius: 8px;
  color: #0b1c34;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(228,250,255,.76));
  border: 1px solid rgba(0, 184, 217, .26);
  box-shadow: none;
  font-size: 19px;
  font-weight: 900;
  position: relative;
}
.captcha-tile:hover {
  box-shadow: 0 10px 22px rgba(0, 184, 217, .16);
}
.captcha-tile.selected {
  color: #fff;
  background: linear-gradient(135deg, #8c5a15, var(--primary-2), var(--tech));
  border-color: rgba(216, 173, 85, .62);
}
.captcha-tile.selected::after {
  content: attr(data-order);
  position: absolute;
  right: 6px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 24, 45, .82);
  color: #fff;
  font-size: 11px;
}
.captcha-hint {
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
}
.alert {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.alert.danger { background: var(--danger-soft); color: var(--danger); }
.alert.warn { background: var(--warn-soft); color: var(--warn); }
.login-note { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }

@media (max-width: 980px) {
  body {
    display: block;
    padding-top: 68px;
  }
  .main::before { left: 0; }
  .mobile-topbar {
    position: fixed;
    inset: 0 0 auto;
    height: 68px;
    background: rgba(7, 9, 15, .94);
    backdrop-filter: blur(14px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    z-index: 30;
    border-bottom: 1px solid rgba(216, 173, 85, .22);
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .mobile-brand strong, .mobile-brand small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-brand strong { font-size: 15px; }
  .mobile-brand small { color: #c9b98f; font-size: 11px; margin-top: 2px; }
  .brand-mark.mini {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex: 0 0 auto;
  }
  .mobile-menu {
    height: 38px;
    min-width: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(216, 173, 85, .18);
    border: 1px solid rgba(216, 173, 85, .34);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(82vw, 286px);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 16px 0 40px rgba(0, 0, 0, .22);
  }
  .nav-toggle:checked ~ .sidebar { transform: translateX(0); }
  .nav-toggle:checked ~ .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 9, 15, .46);
    z-index: 18;
  }
  nav { grid-template-columns: 1fr; }
  .main { padding: 18px; }
  .system-strip {
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .system-line {
    flex-basis: 100%;
    min-width: 100%;
  }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: 1fr; }
  .audit-card {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: flex-start;
  }
  .audit-meta {
    grid-column: 2;
    text-align: left;
  }
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters label, .filters input, .filters select, .filters button { width: 100%; }
}

@media (max-width: 560px) {
  .metrics { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head h1 { font-size: 24px; }
  .system-chip {
    width: 100%;
    justify-content: space-between;
  }
  .filters { grid-template-columns: 1fr; }
  .team-card-grid { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; gap: 4px; }
  .audit-panel { padding: 14px; }
  .audit-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .audit-badge {
    width: max-content;
  }
  .audit-meta { grid-column: auto; }
  .captcha-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .login-box { padding: 22px; }
  .login-brand .brand-title { font-size: 21px; }
}
