/* 桂补余额 */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #17191e; --ink-2: #404751; --ink-3: #555e6b;
  --paper: #f4f7fa; --surface: rgba(255,255,255,.83); --surface-alt: rgba(243,245,250,.76);
  --line: rgba(66,76,101,.19); --line-strong: #8792a3;
  --glass-fill: linear-gradient(142deg, rgba(255,255,255,.88), rgba(255,255,255,.44) 57%, rgba(246,251,255,.68));
  --glass-rim: rgba(255,255,255,.75);
  --glass-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255,255,255,.55), 0 12px 28px -16px rgba(36,52,80,.30);
  --primary: #0064cc; --primary-hover: #004f9f; --primary-tint: #e4efff;
  --r-lg: 26px; --r-md: 16px; --r-sm: 12px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --live: #08774f; --warn: #9c620d; --off: #768691; --danger: #aa3232;
  --focus: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
  accent-color: var(--primary);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; font-family: var(--font); color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5;
  overflow-x: hidden; isolation: isolate;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 3% 4%, #bad2f6 0%, transparent 43%),
    radial-gradient(ellipse at 99% 43%, #b7e9ed 0%, transparent 36%),
    radial-gradient(ellipse at 22% 100%, #ded0f4 0%, transparent 41%),
    var(--paper);
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }

/* ---------- layout ---------- */
.glass {
  position: relative; background: #edf4fb; border: 1px solid var(--glass-rim); border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--glass-fill);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }
}
.glass.soft { --glass-fill: linear-gradient(145deg, rgba(255,255,255,.77), rgba(248,252,255,.5)); }
.shell { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 16px 0 36px; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1; min-width: 0; padding-top: 26px; }
.nav {
  --glass-fill: linear-gradient(112deg, rgba(255,255,255,.86), rgba(250,253,255,.63));
  position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; margin-right: auto; min-width: 0; border-radius: 999px; }
.brand small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.brand-mark { display: block; width: 32px; height: 32px; flex: none; filter: drop-shadow(0 2px 3px rgba(0,88,192,.2)); }
.nav-links { display: flex; gap: 6px; align-items: center; }

/* ---------- buttons ---------- */
.btn { --bg: var(--surface); appearance: none; border: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap;
  background: var(--bg); color: var(--primary); box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: background-color .18s var(--ease), transform .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { --bg: var(--primary-tint); }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn:focus-visible, .field-input:focus-visible, .switch input:focus-visible + span, a:focus-visible, .seg button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); }
.btn.primary { --bg: var(--primary); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.btn.primary:hover { --bg: var(--primary-hover); }
.btn.ghost { --bg: transparent; border-color: transparent; box-shadow: none; }
.btn.ghost:hover { --bg: var(--primary-tint); }
.btn.sm { min-height: 35px; padding: 0 14px; font-size: 13.5px; }
.btn.danger { color: var(--danger); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.wide { width: 100%; min-height: 50px; font-size: 16px; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, .48fr); align-items: stretch; }
.hero-reading { min-width: 0; padding: clamp(24px, 4vw, 45px); }
.eyebrow { margin: 0; font-weight: 700; font-size: clamp(15px, 2vw, 19px); color: var(--ink-2); }
.amount-wrap { position: relative; min-height: clamp(110px, 17vw, 184px); display: flex; align-items: center; container-type: inline-size; }
.amount { display: flex; align-items: baseline; gap: .16em; font-variant-numeric: tabular-nums; transition: opacity .2s var(--ease); }
.amount .num { color: var(--ink); font-weight: 700; line-height: 1; letter-spacing: -.05em;
  font-size: clamp(62px, 12vw, 144px);
  /* Leave room for the currency unit and the brief scale-up when the amount changes. */
  font-size: min(clamp(62px, 12vw, 144px), calc((100cqi - 3rem) / (var(--amount-length, 1) * .68))); }
.amount .unit { font-size: clamp(22px, 3.4vw, 34px); font-weight: 650; color: var(--ink-2); }
.amount.pulse { animation: pop .42s var(--ease); transform-origin: left center; }
@keyframes pop { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.027); } }
.amount.dim { opacity: 0; pointer-events: none; }
.interrupt { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.interrupt.show { opacity: 1; }
.interrupt strong { font-size: clamp(26px, 5vw, 44px); font-weight: 700; }
.interrupt span { color: var(--ink-2); font-size: 14px; }
.hero-caption { color: var(--ink-2); font-size: 15px; margin: 0; }
.hero-side { display: grid; align-content: center; gap: 20px; min-width: 0; padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(236,247,255,.26), rgba(255,255,255,.53));
  border-left: 1px solid rgba(255,255,255,.68); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero .meta-row { display: grid; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); background: var(--surface); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--off); flex: none; }
.dot.live { background: var(--live); } .dot.warn { background: var(--warn); } .dot.off { background: var(--off); }
.cta { display: flex; gap: 8px; flex-wrap: wrap; }
.home-reminders { display: grid; justify-items: start; }
#wechat-clawbot { scroll-margin-top: 76px; }
.home-data { margin-top: 20px; }
.home-data-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.home-data-head h2 { margin: 0; font-size: 19px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tile { padding: 18px 20px; }
.tile h3 { margin: 0 0 5px; font-size: 13px; color: var(--ink-2); font-weight: 650; }
.tile p { margin: 0; font-size: 15px; color: var(--ink); }
.tile p.big { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }

@media (max-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-reading { padding: 20px 18px; }
  .hero-side { gap: 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.68); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero .meta-row { display: flex; }
}

/* ---------- forms ---------- */
.auth { width: min(440px, 100%); margin: 4vh auto 0; padding: 34px clamp(22px, 5vw, 36px) 30px; }
.auth h1, .page-title { margin: 0 0 4px; font-size: clamp(29px, 4vw, 34px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.sub { margin: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.form { display: grid; gap: 14px; }
.label { display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.field-input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: 16px;
  color: var(--ink); background: var(--surface-alt); font-family: inherit;
  transition: box-shadow .25s var(--ease), background-color .25s; }
.field-input::placeholder { color: var(--ink-3); }
.field-input:hover { background: var(--surface); }
.field-input[type="search"] { border-radius: 999px; }
.field-input[aria-invalid="true"] { border-color: var(--danger); }
textarea.field-input { padding-block: 12px; resize: vertical; font: inherit; line-height: 1.5; }
.announcement-dropzone { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 64px; padding: 10px 12px; border: 1px dashed var(--ink-3); border-radius: var(--r-sm); }
.announcement-dropzone:focus-visible, .announcement-dropzone.is-dragging { outline: none; box-shadow: var(--focus); }
.announcement-preview-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.announcement-preview-list[hidden] { display: none; }
.announcement-preview-list li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; }
.announcement-preview { display: block; width: 100%; height: 136px; object-fit: contain; background: var(--surface-alt); border-radius: var(--r-sm); }
.announcement-preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.announcement-preview-caption span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-preview-caption button { flex: none; }
.admin-stack { display: grid; gap: 18px; }
#announcement-status { margin: 0; }
#announcement-status:empty { display: none; }
.hint { font-size: 12.5px; color: var(--ink-3); }
.err { font-size: 13.5px; color: var(--danger); }
.form > .err:empty { margin-block: -7px; }
.alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-2); }
.alt a { color: var(--primary); font-weight: 650; text-underline-offset: 3px; }

/* switch */
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { width: 51px; height: 31px; border-radius: 999px; background: #8a919c; transition: background-color .2s var(--ease); position: relative; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f9fbff); box-shadow: 0 2px 5px rgba(24,31,44,.28); transition: transform .22s var(--ease); }
.switch input:checked + span { background: #238c4a; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .55; }

/* ---------- user center / admin ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.profile-sections .list > li > div { min-width: 0; overflow-wrap: anywhere; }
.profile-sections .list li .t { white-space: normal; }
.profile-sections .list .badge { flex: none; }
.card { padding: 26px 26px 24px; }
.card h2 { margin: 0 0 4px; font-size: 19px; font-weight: 600; line-height: 1.28; }
.row { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.row + .row { margin-top: 14px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 4px 18px; flex-wrap: wrap; }
.mini-amount { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 22px; }
.list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; border-radius: var(--r-md); background: var(--surface); }
.list:empty { display: none; }
.list > li { position: relative; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 14px; }
.list > li + li::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; border-top: 1px solid var(--line); pointer-events: none; }
.list > li.empty { justify-content: center; }
.list li .t { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sender-editor { margin-bottom: 14px; }
.discovered-stats { margin-bottom: 18px; }
.discovered-time { color: var(--ink-3); font-size: 13px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sender-editor summary { width: fit-content; padding: 8px 0; cursor: pointer; font-weight: 600; }
.sender-form { margin-top: 10px; max-width: 420px; }
.sender-form .hint:empty { display: none; }
.sender-address { min-width: 0; overflow-wrap: anywhere; }
.sender-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.list li .sender-address .t { white-space: normal; }
.history-actions { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.history-grid > .card { min-width: 0; }
.history-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.history-tools .field-input { width: auto; min-height: 40px; padding: 0 10px; font-size: 14px; }
.invite-tools { margin: 10px 0; }
#invite-count { width: 70px; }
#lookup-invite-code { width: min(100%, 280px); }
.invite-code-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.invite-code-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.invite-code-list .field-input { min-width: 0; font-family: ui-monospace, monospace; }
#invite-history { margin-top: 12px; }
#invite-history summary { cursor: pointer; width: fit-content; font-weight: 600; }
.list .invite-record .t { white-space: normal; overflow-wrap: anywhere; }
.invite-record .badge { flex: none; }
.user-tools { margin: 10px 0 12px; }
.user-tools input[type="search"] { flex: 1 1 180px; min-width: 0; max-width: 320px; }
.priority-settings { margin: 10px 0; }
.priority-settings input.field-input { width: 72px; }
.priority-settings .err:empty { display: none; }
.priority-check { display: inline-flex; align-items: center; gap: 5px; width: fit-content; min-height: 24px; white-space: nowrap; font-size: 13px; cursor: pointer; }
.priority-check input { margin: 0; }
.alert-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; }
.table .user-email { overflow-wrap: anywhere; }
.user-name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.badge.user-note-tag { max-width: 100%; border: 1px solid currentColor; cursor: pointer; white-space: normal; overflow-wrap: anywhere; text-align: left; font-family: inherit; }
.user-note-tag:not(.warn) { color: inherit; }
.user-action-dialog { width: min(410px, calc(100% - 32px)); margin: auto; color: var(--ink); background: #f7f9fc;
  border: 1px solid rgba(255,255,255,.84); border-radius: var(--r-lg); box-shadow: 0 24px 70px rgba(23,34,54,.24); }
.user-action-dialog::backdrop { background: rgba(23,34,54,.30); backdrop-filter: blur(3px); }
.user-action-dialog .form > p { margin: 0; }
.delete-target { display: grid; gap: 4px; overflow-wrap: anywhere; }
.user-row-actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.user-select { display: inline-flex; align-items: center; min-width: 0; gap: 6px; min-height: 24px; cursor: pointer; }
.user-select input { flex: none; margin: 0; }
.user-bulk-tools { margin-bottom: 10px; }
.user-action-targets { list-style: none; padding: 0; margin: 0; max-height: 35vh; overflow-y: auto; }
.user-action-targets li + li { margin-top: 8px; }
.collector-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.collector-controls .field-input { width: 140px; }
.history-range { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.history-pager { display: flex; gap: 6px; margin-left: auto; }
.history-pager[hidden] { display: none; }
.history-pager .btn, .history-actions .btn { min-height: 40px; }
.history-list li > div { min-width: 0; overflow-wrap: anywhere; }
.history-list li > div .t { white-space: normal; }
.history-list .badge { flex: none; }
@media (min-width: 861px) {
  .history-grid > .card { display: flex; flex-direction: column; }
  .history-grid .history-tools { min-height: 40px; }
  .history-grid .history-list { flex: 1; }
}
.sender-updated { margin: 6px 0 16px; }
.empty { padding: 22px 8px; text-align: center; color: var(--ink-3); font-size: 14px; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: #e8ebf0; white-space: nowrap; }
.badge.ok { background: #def2e8; color: #176345; } .badge.warn { background: #faecd6; color: #794709; } .badge.bad { background: #f9e2e0; color: #8d2929; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--glass-rim); border-radius: 999px; gap: 2px;
  background: var(--surface-alt); box-shadow: inset 0 1px 3px rgba(36,52,80,.10); overflow-x: auto; max-width: 100%; }
.seg button { border: 0; background: transparent; cursor: pointer; min-height: 36px; padding: 7px 15px; border-radius: 999px;
  font-weight: 650; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-selected="true"] { background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(36,52,80,.18), inset 0 1px 0 #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 18px 20px; }
.stat b { display: block; font-size: 29px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: -.025em; }
.stat span { color: var(--ink-3); font-size: 13px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12.5px; letter-spacing: .06em; padding: 0 12px 2px; }
.table td { padding: 12px; background: var(--surface); vertical-align: middle; }
.table tr + tr > td { border-top: 1px solid var(--line); }
.table tbody tr:first-child td:first-child { border-top-left-radius: var(--r-md); }
.table tbody tr:first-child td:last-child { border-top-right-radius: var(--r-md); }
.table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--r-md); }
.table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--r-md); }
.table td:last-child { text-align: right; }
.table .muted { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.alert-cell { display: inline-flex; align-items: center; gap: 8px; }
.alert-cell .btn.sm { min-height: 28px; padding: 0 10px; font-size: 12.5px; }
.user-alert-channels { display: grid; gap: 8px; }
.clawbot-row .alert-cell { flex-wrap: wrap; }
.scroll-x { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; margin: 14px 0 0; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-variant-numeric: tabular-nums; word-break: break-all; }

.footer { margin-top: 30px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: var(--ink-3); line-height: 1.75; padding: 16px 10px 0; }
.footer b { color: var(--ink-2); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 10px); opacity: 0; padding: 12px 16px; max-width: calc(100% - 26px);
  background: #fff; color: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 50; transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.view { animation: enter .5s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .grid2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .shell { width: calc(100% - 24px); padding-top: 10px; }
  .nav { top: 8px; gap: 6px; padding: 8px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-links { gap: 3px; }
  .nav-links a.btn.sm { padding-inline: 10px; }
  .brand small { display: none; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { padding: 16px 18px; }
  .card { padding: 22px 18px 20px; }
  main { padding-top: 18px; }
  .hide-sm { display: none !important; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: 8px; border-radius: 14px; overflow: hidden; }
  .table td, .table tr + tr > td { border: 0; border-radius: 0 !important; padding: 8px 14px; text-align: left !important; }
  .table td:first-child { padding-top: 14px; } .table td:last-child { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.grid2 + .card, .stats + .card, .view > .card + .card { margin-top: 18px; }
.card .meta-row { justify-content: flex-start; margin-top: 6px; }
.card .sub { margin-bottom: 16px; }
.head .sub { margin: 4px 0 0; }
.card .row .field-input { min-height: 40px; width: min(280px, 52vw); }
.card > .row:first-child { margin-bottom: 8px; }
.hero-caption, .tile p, .footer div, .sub, .interrupt span { text-wrap: balance; }
.head > .btn { margin-left: auto; }
@media (max-width: 640px) { .meta-row { gap: 8px; } .hero-caption { font-size: 14px; } }
.interrupt, .interrupt * { font-family: var(--font); }

.clawbot-qr { display: block; width: min(220px, 100%); height: auto; margin: 14px 0; border-radius: 12px; }
.report-head { flex-wrap: wrap; gap: 12px; }
.report-head input { width: auto; min-width: 150px; }
.report-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-bin { display: grid; grid-template-columns: 7em minmax(45px, 1fr) minmax(6em, auto); align-items: center; gap: 10px; padding: 8px 0; font-size: .87rem; }
.report-bin meter { width: 100%; accent-color: var(--primary); }
.report-bin span:last-child { text-align: right; }
.report-round { padding: 10px 0; border-bottom: 1px solid var(--line); }
.report-round summary { cursor: pointer; padding: 6px 0; }
.report-round summary .sub { display: block; margin: 4px 0 0 17px; }
.report-round[open] .list { margin-top: 10px; }
@media (max-width: 700px) { .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
