/* admin.echorust.vip. the look is shadcnuikit.com's e-commerce dashboard, slimmed: DM Sans, the neutral
   palette, the inset sidebar, flat cards with one hairline round them */

@font-face {
  font-family: "DM Sans";
  src: url(fonts/dmsans-latin.woff2) format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --background: #fff;
  --foreground: #0a0a0a;
  --card: #fff;
  --popover: #fff;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #a1a1a1;
  --chart-1: #d4d4d4;
  --chart-2: #737373;
  --chart-3: #525252;
  --chart-4: #404040;
  --chart-5: #262626;
  --radius: .5rem;
  --sidebar: #f7f6f6;
  --sidebar-foreground: #18181b;
  --sidebar-accent: #e7e6e6;
  --sidebar-active: linear-gradient(180deg, #fff, #f9f9fa);
  --sidebar-accent-foreground: #000;
  --sidebar-border: #e5e5e5;
  --brand: #7130c3;
  --ok: #00c950;
  --ok-bg: #f0fdf4;
  --ok-border: #05df72;
  --ok-text: #016630;
  --bad: #fb2c36;
  --bad-bg: #fef2f2;
  --bad-border: #ff6467;
  --bad-text: #9f0712;
  --warn: #fe9a00;
  --warn-bg: #fffbeb;
  --warn-border: #ffb900;
  --warn-text: #973c00;
  --info: #2b7fff;
  --info-bg: #eff6ff;
  --info-border: #51a2ff;
  --info-text: #193cb8;
  --secret: #d4d4d4;
  --secret-stripe: #cacaca;
  --shadow: 0 1px 2px rgb(0 0 0 / .05);
  --ring-10: rgb(10 10 10 / .1);
  --ring-5: rgb(10 10 10 / .05);
  /* opaque, since a header row stays put over rows scrolling under it */
  --th: #fafafa;
  --row: rgb(245 245 245 / .7);
  color-scheme: light;
}

:root.dark {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #141414;
  --popover: #171717;
  --primary: #e5e5e5;
  --primary-foreground: #171717;
  --muted: #262626;
  --muted-foreground: #a1a1a1;
  --accent: #262626;
  --border: rgb(255 255 255 / .1);
  --input: rgb(255 255 255 / .15);
  --ring: #737373;
  --sidebar: #171717;
  --sidebar-foreground: #eeeef0;
  --sidebar-accent: #2c2c2c;
  --sidebar-active: linear-gradient(180deg, #2b292d, #232225);
  --sidebar-accent-foreground: #fff;
  --sidebar-border: rgb(255 255 255 / .1);
  --brand: #a77cf0;
  --ok-bg: rgb(13 84 43 / .7);
  --ok-border: #05df72;
  --ok-text: rgb(255 255 255 / .8);
  --bad-bg: rgb(130 24 26 / .7);
  --bad-border: #ff6467;
  --bad-text: rgb(255 255 255 / .8);
  --warn-bg: rgb(123 51 6 / .7);
  --warn-border: #ffb900;
  --warn-text: rgb(255 255 255 / .8);
  --info-bg: rgb(28 57 142 / .7);
  --info-border: #51a2ff;
  --info-text: rgb(255 255 255 / .8);
  --secret: #404040;
  --secret-stripe: #4a4a4a;
  --shadow: 0 1px 2px rgb(0 0 0 / .4);
  --ring-10: rgb(255 255 255 / .1);
  --ring-5: rgb(255 255 255 / .06);
  --th: #1a1a1a;
  --row: rgb(255 255 255 / .03);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sidebar);
  color: var(--foreground);
  font: 400 14px/1.5 "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
table { border-collapse: collapse; }
.i { width: 16px; height: 16px; flex: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.muted { color: var(--muted-foreground); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ok-text { color: var(--ok); }
.bad-text { color: var(--bad); }
.warn-text { color: var(--warn); }
a.link:hover, .card-desc a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- shell */

.app { display: flex; min-height: 100vh; font-size: 13.5px; }
.sidebar {
  position: sticky; top: 0; height: 100vh; width: 14rem; flex: none;
  display: flex; flex-direction: column; padding: 8px 8px 10px; color: var(--sidebar-foreground);
  transition: width .2s ease;
}
.sb-head { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px; color: var(--foreground); }
.sb-logo { width: 24px; height: 24px; border-radius: 7px; flex: none; }
.sb-name { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sb-sub { font-size: 11px; font-weight: 500; color: var(--muted-foreground); white-space: nowrap; }
/* 2px top and bottom: room for active ring, overflow clip it otherwise */
.sb-scroll { flex: 1; overflow-y: auto; margin: 0 -8px; padding: 2px 8px; scrollbar-width: thin; }
.sb-label { display: flex; align-items: center; height: 26px; padding: 0 8px; margin-top: 10px; font-size: 11.5px;
  font-weight: 500; color: var(--muted-foreground); white-space: nowrap; }
.sb-item {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border: 1px solid transparent; border-radius: .3rem;
  font-size: 14px; line-height: 20px; color: var(--sidebar-foreground); white-space: nowrap; overflow: hidden;
}
.sb-item + .sb-item { margin-top: 2px; }
.sb-item .i { width: 14px; height: 14px; }
.sb-item:hover { background: var(--sidebar-accent); color: var(--sidebar-accent-foreground); }
/* border-box, or gradient tile repeat into transparent border: dark line along top */
.sb-item.active { background: var(--sidebar-active) border-box; color: var(--sidebar-accent-foreground);
  box-shadow: 0 0 0 2px rgb(0 0 0 / .05); }
.sb-item .count { margin-left: auto; font-size: 11.5px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.sb-subs { margin: 1px 0 3px 15px; padding-left: 9px; border-left: 1px solid var(--sidebar-border); }
.sb-subs .sb-item { height: 26px; font-size: 12.5px; gap: 8px; }
.sb-subs .dot { width: 6px; height: 6px; box-shadow: none; }
.sb-pill {
  margin-left: auto; height: 18px; padding: 0 6px; display: inline-flex; align-items: center; border-radius: 999px;
  font-size: 11px; font-weight: 500; border: 1px solid var(--ok-border); color: var(--ok-text); background: var(--ok-bg);
}
.sb-pill.bad { border-color: var(--bad-border); color: var(--bad-text); background: var(--bad-bg); }
.sb-pill.warn { border-color: var(--warn-border); color: var(--warn-text); background: var(--warn-bg); }
.sb-status { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-top: 6px; border-radius: 8px;
  font-size: 12px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; }
.sb-status:hover { background: var(--sidebar-accent); color: var(--sidebar-accent-foreground); }
.sb-status .dot { margin: 0 3px; }

.inset {
  flex: 1; min-width: 0; margin: 8px 8px 8px 0; background: var(--background); border-radius: 12px;
  box-shadow: 0 0 0 1px var(--ring-5), 0 1px 3px rgb(0 0 0 / .06); display: flex; flex-direction: column;
}
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 10px;
  border-bottom: 1px solid var(--border); background: var(--background); border-radius: 12px 12px 0 0;
}
.topbar .sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; flex: none; }
/* an in-place update on its way, shown only past 150 ms so a quick one never flashes */
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--foreground);
  opacity: 0; transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.loading .topbar::after { opacity: .45; animation: inplace 1.2s cubic-bezier(.3, .6, .4, 1) infinite; }
@keyframes inplace { to { transform: scaleX(1); opacity: 0; } }
.loading [data-refresh] .i { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .loading .topbar::after { animation: none; transform: none; opacity: .25; }
  .loading [data-refresh] .i { animation: none; }
}
.loading body { cursor: progress; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; margin-left: 4px; font-size: 13.5px;
  color: var(--muted-foreground); white-space: nowrap; }
.crumbs a:hover { color: var(--foreground); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs .here { color: var(--foreground); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.top-search {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; width: 230px; padding: 0 5px 0 10px; margin-right: 6px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); color: var(--muted-foreground);
  font-size: 13px; cursor: pointer; flex: none;
}
.top-search span { flex: 1; text-align: left; }
.top-search .i { width: 14px; height: 14px; }
.top-search:hover { background: var(--muted); color: var(--foreground); }
:root.dark .top-search { background: rgb(255 255 255 / .045); border-color: var(--input); }
.kbd {
  display: inline-flex; align-items: center; height: 20px; padding: 0 5px; border-radius: 5px; font-family: inherit;
  background: var(--muted); color: var(--muted-foreground); font-size: 11px; font-weight: 500; white-space: nowrap;
}
.live { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; border: 0; border-radius: var(--radius);
  background: none; font-size: 12.5px; font-weight: 500; color: var(--muted-foreground); cursor: pointer; flex: none; }
.live:hover { background: var(--muted); color: var(--foreground); }
.live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-foreground); }
.live[aria-pressed="true"] { color: var(--foreground); }
.live[aria-pressed="true"] .pulse { background: var(--ok); box-shadow: 0 0 0 3px rgb(0 201 80 / .18); }
.avatar-btn { border: 0; background: none; padding: 0; margin-left: 2px; cursor: pointer; border-radius: 50%; flex: none; }
.avatar-btn img, .avatar-btn .avatar { width: 28px; height: 28px; border-radius: 50%; display: block; font-size: 11px; }
.dotbell { position: relative; }
.dotbell::after {
  content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bad); box-shadow: 0 0 0 2px var(--background);
}
/* a creator asked to be paid: on every page until it is answered */
.btn.top-ask, :root.dark .btn.top-ask { margin-right: 2px; border-color: var(--warn-border); background: var(--warn-bg);
  color: var(--warn-text); }
.btn.top-ask:hover { filter: brightness(.97); }
.top-ask[hidden] { display: none; }
@media (max-width: 860px) { .top-ask span { display: none; } }

.page { padding: 18px 24px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.page-head .ph-text { flex: 1 1 320px; min-width: 0; }
.page-head h1 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.page-head .sub { margin-top: 2px; color: var(--muted-foreground); font-size: 12.5px; max-width: 760px; }
.page-head .actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* the sections of a long page, held under the top bar */
.jump {
  position: sticky; top: 48px; z-index: 15; display: flex; align-items: stretch; gap: 2px; height: 38px;
  margin: -6px -24px 0; padding: 0 18px; background: var(--background); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.jump::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; padding: 0 10px; margin-bottom: -1px; font-size: 13px; font-weight: 500;
  color: var(--muted-foreground); white-space: nowrap; border-bottom: 2px solid transparent; }
.jump a:hover { color: var(--foreground); }
.jump a.on { color: var(--foreground); border-bottom-color: var(--foreground); }
.page [id] { scroll-margin-top: 100px; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; }
.c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c9 { grid-column: span 9; } .c12 { grid-column: span 12; }
.grid.top { align-items: start; }

/* one strip, a cell per number, hairlines between. the lines are each cell's own shadow, so a short last row
   leaves plain card rather than a block of line colour */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); overflow: hidden; }
.kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpis.k6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 11px 16px 12px;
  box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border); }
a.kpi { transition: background .15s; }
a.kpi:hover { background: var(--row); }
.kpi-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted-foreground);
  white-space: nowrap; }
.kpi-label span { overflow: hidden; text-overflow: ellipsis; }
.kpi-label .go { width: 13px; height: 13px; margin-left: auto; opacity: 0; transition: opacity .15s, transform .15s; }
a.kpi:hover .go, a.kpi:focus-visible .go { opacity: 1; transform: translateX(2px); }
.kpi-row { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; min-width: 0; }
.kpi-value { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; font-variant-numeric: tabular-nums;
  white-space: nowrap; }
.kpi-value .unit { font-size: 13px; font-weight: 500; color: var(--muted-foreground); margin-left: 3px; letter-spacing: 0; }
.kpi-note { font-size: 12px; color: var(--muted-foreground); line-height: 1.4; }

.legend-top { display: flex; align-items: baseline; gap: 4px 14px; flex-wrap: wrap; justify-content: flex-end; }
.legend-top .lk { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-foreground); margin-right: 5px; }
.legend-top .lv { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 10px; font-size: 11px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted-foreground); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ---------------------------------------------------------------- cards */

.card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; }
.card-title { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.card-title .i { width: 15px; height: 15px; color: var(--muted-foreground); }
.card-title .count { font-weight: 500; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.card-desc { font-size: 12px; color: var(--muted-foreground); margin-top: 1px; }
.card-action { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.card-body { flex: 1; min-width: 0; padding: 2px 14px 14px; }
.card-body.flush { padding: 0; border-top: 1px solid var(--border); }
/* chart grow to height of card beside it */
.card-body.fill { display: flex; flex-direction: column; }
.card-body.fill .chart { flex: 1 1 auto; height: auto; min-height: 240px; }
.card-body.fill .chart.sm { min-height: 180px; } .card-body.fill .chart.xs { min-height: 150px; }

/* ---------------------------------------------------------------- controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 10px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--background); font-size: 13px;
  font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; flex: none;
}
.btn:hover { background: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.btn.primary:hover { opacity: .9; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--muted); }
.btn.icon { width: 30px; padding: 0; }
.btn.sm { height: 26px; padding: 0 8px; font-size: 12.5px; border-radius: 7px; }
.btn.sm.icon { width: 26px; padding: 0; }
.btn[disabled], .btn.off { opacity: .5; pointer-events: none; }
.btn .i { width: 15px; height: 15px; }
.btn.sm .i { width: 14px; height: 14px; }
:root.dark .btn { background: rgb(255 255 255 / .045); border-color: var(--input); }
:root.dark .btn:hover { background: rgb(255 255 255 / .09); }
:root.dark .btn.primary { background: var(--primary); }
:root.dark .btn.ghost { background: transparent; border-color: transparent; }
:root.dark .btn.ghost:hover { background: rgb(255 255 255 / .09); }

.seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: var(--radius); background: var(--muted);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; flex: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button {
  height: 24px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; font-size: 12.5px;
  font-weight: 500; color: var(--muted-foreground); border: 0; background: none; cursor: pointer; white-space: nowrap;
}
.seg .i { width: 13px; height: 13px; }
.seg a:hover, .seg button:hover { color: var(--foreground); }
.seg .on { background: var(--background); color: var(--foreground); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--ring-5); }
:root.dark .seg .on { background: var(--input); }
.seg .n { font-size: 11px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

.input, .select {
  height: 30px; padding: 0 10px; border-radius: var(--radius); border: 1px solid var(--input); background: var(--background);
  font: inherit; font-size: 13px; color: var(--foreground); min-width: 0; outline: none;
}
.input.sm, .select.sm { height: 26px; font-size: 12.5px; padding: 0 8px; border-radius: 7px; }
.input::placeholder { color: var(--muted-foreground); }
.input:focus, .select:focus { border-color: var(--ring); box-shadow: 0 0 0 3px rgb(161 161 161 / .25); }
:root.dark .input, :root.dark .select { background: rgb(255 255 255 / .045); }
.select { padding-right: 26px; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }
.select.sm { padding-right: 22px; background-position: calc(100% - 12px) 50%, calc(100% - 8px) 50%; }
.searchbox { position: relative; display: flex; align-items: center; }
.searchbox .i { position: absolute; left: 9px; width: 14px; height: 14px; color: var(--muted-foreground); pointer-events: none; }
.searchbox .input { padding-left: 29px; width: 240px; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; }
.toolbar form { display: contents; }
.toolbar + .tablewrap .t th, .toolbar + .t th { border-top: 1px solid var(--border); }
.toolbar .grow { flex: 1; }

/* ---------------------------------------------------------------- badges, dots, bars */

.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; white-space: nowrap; border: 1px solid var(--border); background: var(--muted);
  color: var(--muted-foreground); font-variant-numeric: tabular-nums; vertical-align: middle;
}
.badge .i { width: 12px; height: 12px; }
.badge.ok { border-color: var(--ok-border); background: var(--ok-bg); color: var(--ok-text); }
.badge.bad { border-color: var(--bad-border); background: var(--bad-bg); color: var(--bad-text); }
.badge.warn { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-text); }
.badge.info { border-color: var(--info-border); background: var(--info-bg); color: var(--info-text); }
.badge.solid { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.badge.brand { border-color: var(--brand); color: var(--brand); background: transparent; }
.badge.outline { background: transparent; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--muted-foreground); }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgb(0 201 80 / .15); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgb(251 44 54 / .15); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgb(254 154 0 / .15); }
.dot.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgb(0 201 80 / .05); } }
@media (prefers-reduced-motion: reduce) { .dot.pulse { animation: none; } }

.bar { height: 4px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--foreground); }
.bar.thick { height: 6px; }
.bar.ok > i { background: var(--ok); } .bar.bad > i { background: var(--bad); } .bar.warn > i { background: var(--warn); }
.bar.lime > i { background: #7ccf00; } .bar.info > i { background: var(--info); }
.plist { display: flex; flex-direction: column; gap: 12px; }
.plist .top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; min-width: 0; }
.plist .top .v { margin-left: auto; font-variant-numeric: tabular-nums; flex: none; }
.plist a.top:hover .trunc { text-decoration: underline; text-underline-offset: 3px; }
.rating { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 14px; }
.rating .k { font-size: 13px; color: var(--foreground); white-space: nowrap; }
.rating .v { font-size: 13px; color: var(--muted-foreground); text-align: right; font-variant-numeric: tabular-nums; }

/* the nodes list on the overview: one row a node */
.nrow { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.nrow:last-child { border-bottom: 0; }
a.nrow:hover { background: var(--row); }
.nrow .top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nrow .top b { font-weight: 600; }
.nrow .top .v { margin-left: auto; font-variant-numeric: tabular-nums; }
.nrow .meta { margin-top: 6px; font-size: 12px; color: var(--muted-foreground); }

.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff; flex: none; letter-spacing: .02em; position: relative; overflow: hidden;
}
/* over the initials, so they show while it loads or if it never does */
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .n { font-weight: 500; color: var(--foreground); }
.who a.n:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the grey bar a sensitive value hides behind */
.secret {
  display: inline-block; vertical-align: middle; height: 1.3em; line-height: 1.3em; padding: 0 2px; border-radius: 5px;
  color: transparent; cursor: pointer; user-select: none; overflow: hidden; white-space: nowrap; max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: -.12em;
  background: repeating-linear-gradient(-45deg, var(--secret) 0 6px, var(--secret-stripe) 6px 12px);
  transition: background .15s;
}
.secret:not(.shown) { max-width: 6.5em; }
.secret:hover { filter: brightness(.95); }
:root.dark .secret:hover { filter: brightness(1.2); }
.secret:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.secret.shown {
  color: inherit; background: transparent; user-select: text; letter-spacing: 0; cursor: pointer; overflow: visible;
  box-shadow: inset 0 -1px 0 var(--border); border-radius: 0;
}
.secret.wide { display: inline-block; }
[data-reveal-all] .eye-off, [data-reveal-all][aria-pressed="true"] .eye-on { display: none; }
[data-reveal-all][aria-pressed="true"] .eye-off { display: inline; }
[data-reveal-all][aria-pressed="true"] { background: var(--muted); }

/* ---------------------------------------------------------------- tables */

.tablewrap { overflow-x: auto; }
.tablewrap.scroll { max-height: 352px; overflow-y: auto; }
.tablewrap.scroll thead th { position: sticky; top: 0; z-index: 1; }
table.t { width: 100%; font-size: 13px; }
.t th {
  height: 32px; padding: 0 14px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted-foreground);
  white-space: nowrap; background: var(--th); border-bottom: 1px solid var(--border);
}
.t th a { display: inline-flex; align-items: center; gap: 4px; }
.t th a:hover, .t th a.on { color: var(--foreground); }
.t th .i { width: 12px; height: 12px; }
.t td { padding: 8px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: var(--row); }
.t tr[data-href] { cursor: pointer; }
.t td.num, .t th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t .msg { max-width: 560px; }
.t td.clip { width: 100%; max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t details summary { cursor: pointer; list-style: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t details summary::-webkit-details-marker { display: none; }
.t details[open] summary { white-space: normal; }
.t details pre {
  margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--muted); font-size: 12px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto;
}
.t.compact td { padding: 6px 14px; }
.t.dense td, .t.dense th { padding-left: 10px; padding-right: 10px; }
.t .avatar { width: 24px; height: 24px; font-size: 10px; }
.t .who { gap: 8px; }
.tfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding: 8px 14px;
  border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 12.5px; }
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pager .pp { margin-right: 8px; }
.pager .input { width: 44px; text-align: center; padding: 0 4px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13px; }
.kv dt { color: var(--muted-foreground); white-space: nowrap; }
.kv dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kv.left dd { text-align: left; }

.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 24px 16px; color: var(--muted-foreground); }
.empty .i { width: 24px; height: 24px; color: var(--chart-1); }
.empty b { color: var(--foreground); font-weight: 600; }
.empty p { max-width: 420px; font-size: 12.5px; }

/* ---------------------------------------------------------------- charts */

.chart { position: relative; width: 100%; height: 240px; }
.chart.sm { height: 180px; } .chart.xs { height: 150px; }
.chart.donut { height: auto; min-height: 200px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .axis { fill: var(--muted-foreground); font-size: 11px; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .cross { stroke: var(--ring); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .nodata { fill: var(--muted-foreground); font-size: 13px; }
.spark { height: 40px; width: 100%; }
.spark svg { display: block; width: 100%; height: 100%; }
/* square cells, capped at 28px so the full-width card does not blow them up */
.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 28px)); justify-content: center; gap: 3px; font-size: 11px;
  color: var(--muted-foreground); }
.heat .c { aspect-ratio: 1; border-radius: 3px; background: var(--muted); }
.heat .h { text-align: center; }
.tip {
  position: fixed; z-index: 100; pointer-events: none; min-width: 140px; padding: 8px 10px; border-radius: 10px;
  background: var(--popover); color: var(--foreground); font-size: 12px; box-shadow: 0 0 0 1px var(--ring-10), 0 8px 24px rgb(0 0 0 / .12);
}
.tip .t1 { font-weight: 600; margin-bottom: 4px; }
.tip .r { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .r span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-foreground); }
.tip .r b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

/* ---------------------------------------------------------------- nodes */

.nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.node-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; margin-top: 12px; }
.node-stats .k { font-size: 11px; color: var(--muted-foreground); letter-spacing: .04em; text-transform: uppercase; }
.node-stats .v { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.svc { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: 0; }
.svc .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; }
.svc .ic .i { width: 16px; height: 16px; }
.svc .t1 { font-weight: 500; }

/* ---------------------------------------------------------------- menus and the palette */

.menu-wrap { position: relative; }
.menu {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 4px; border-radius: 12px;
  background: var(--popover); box-shadow: 0 0 0 1px var(--ring-10), 0 12px 32px rgb(0 0 0 / .14);
}
.menu.end { left: auto; right: 0; }
.menu[hidden] { display: none; }
.menu .lbl { padding: 6px 8px; font-size: 12px; color: var(--muted-foreground); font-weight: 500; }
.menu > a, .menu > form > button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border-radius: 8px; font-size: 13px;
  border: 0; background: none; cursor: pointer; text-align: left;
}
.menu > a:hover, .menu > form > button:hover { background: var(--muted); }
.menu .hr { height: 1px; background: var(--border); margin: 4px -4px; }
.menu .meta { margin-left: auto; font-size: 12px; color: var(--muted-foreground); }
.menu .line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 4px 8px; font-size: 13px; }

.palette { position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .35); display: flex; align-items: flex-start;
  justify-content: center; padding-top: 12vh; }
.palette[hidden] { display: none; }
.palette .box { width: min(560px, 92vw); border-radius: 14px; background: var(--popover); overflow: hidden;
  box-shadow: 0 0 0 1px var(--ring-10), 0 24px 64px rgb(0 0 0 / .3); }
.palette .field { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-bottom: 1px solid var(--border); }
.palette .field input { flex: 1; border: 0; outline: none; background: none; font: inherit; font-size: 15px; color: var(--foreground); }
.palette .list { max-height: 380px; overflow-y: auto; padding: 6px; }
.palette .grp { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 500; color: var(--muted-foreground); }
.palette .list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; }
.palette .list a .i { width: 15px; height: 15px; color: var(--muted-foreground); }
.palette .list a.sel, .palette .list a:hover { background: var(--muted); }
.palette .list .k { margin-left: auto; font-size: 12px; color: var(--muted-foreground); }
.palette .hint { padding: 9px 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground); }

/* ---------------------------------------------------------------- sign-in */

.alert { border-radius: 10px; padding: 10px 12px; font-size: 13px; border: 1px solid var(--bad-border); background: var(--bad-bg); color: var(--bad-text); }
.alert.neutral { border-color: var(--border); background: var(--muted); color: var(--muted-foreground); }
.alert.ok { border-color: var(--ok-border); background: var(--ok-bg); color: var(--ok-text); }

/* ---------------------------------------------------------------- timed premium and lite */

.tt-flash { padding: 12px 14px 0; }
.tt-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border);
  font-size: 13px; }
.tt-row > .badge { flex: none; min-width: 78px; justify-content: center; }
.tt-give { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.tt-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tt-line .input { width: 110px; }
.tt-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.tt-quick .on { background: var(--muted); box-shadow: 0 0 0 1px var(--ring); }
.tt-preview:empty { display: none; }
.tt-log { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; }
.tt-logrow { display: flex; align-items: baseline; gap: 10px; }
.seg label { position: relative; }
.seg label input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label span { height: 24px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--muted-foreground); cursor: pointer; white-space: nowrap; }
.seg label input:checked + span { background: var(--background); color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--ring-5); }
:root.dark .seg label input:checked + span { background: var(--input); }
.seg label input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 1px; }
/* thumb sized, and 16px type so ios does not zoom in on the box */
@media (max-width: 560px) {
  .tt .seg { display: flex; width: 100%; }
  .tt .seg label { flex: 1; }
  .tt .seg label span { width: 100%; height: 34px; justify-content: center; }
  .tt-quick { width: 100%; }
  .tt-quick .btn { flex: 1; height: 36px; }
  .tt-line .input, .tt-line .select { flex: 1; width: auto; height: 40px; font-size: 16px; }
  .tt-go { width: 100%; height: 42px; }
}

/* ---------------------------------------------------------------- collapsed sidebar and phones */

:root.sb-folded .sidebar { width: 52px; }
:root.sb-folded .sb-name, :root.sb-folded .sb-sub, :root.sb-folded .sb-label, :root.sb-folded .sb-item span,
:root.sb-folded .sb-item .count, :root.sb-folded .sb-pill, :root.sb-folded .sb-subs, :root.sb-folded .sb-status span { display: none; }
:root.sb-folded .sb-item, :root.sb-folded .sb-status, :root.sb-folded .sb-head { justify-content: center; padding: 0; }
:root.sb-folded .sb-label { display: block; height: 0; padding: 0; margin: 8px 6px; overflow: hidden; border-top: 1px solid var(--sidebar-border); }
.scrim { display: none; }

@media (max-width: 1280px) {
  .kpis.k6, .kpis.k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .c3, .c4, .c5, .c6, .c7, .c8, .c9 { grid-column: span 12; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; background: var(--sidebar); transform: translateX(-105%);
    transition: transform .2s ease; box-shadow: 0 0 0 1px var(--ring-10); }
  .app.open .sidebar { transform: none; }
  .app.open .scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgb(0 0 0 / .3); }
  :root.sb-folded .sidebar { width: 14rem; }
  :root.sb-folded .sb-name, :root.sb-folded .sb-sub, :root.sb-folded .sb-item span, :root.sb-folded .sb-item .count,
  :root.sb-folded .sb-pill, :root.sb-folded .sb-status span { display: revert; }
  :root.sb-folded .sb-subs { display: block; }
  :root.sb-folded .sb-label { display: flex; height: 26px; padding: 0 8px; margin: 10px 0 0; overflow: visible; border: 0; }
  :root.sb-folded .sb-item, :root.sb-folded .sb-status, :root.sb-folded .sb-head { justify-content: flex-start; padding: 0 8px; }
  .inset { margin: 0; border-radius: 0; }
  .topbar { border-radius: 0; }
  .page { padding: 14px 14px 24px; gap: 12px; }
  .jump { margin: -2px -14px 0; padding: 0 8px; }
  .grid, .nodes { gap: 12px; }
  .kpis.k6, .kpis.k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hide-sm { display: none !important; }
  .top-search { width: 30px; padding: 0; justify-content: center; margin-right: 0; border-color: transparent; background: none; }
  :root.dark .top-search { background: none; border-color: transparent; }
  .top-search span, .top-search .kbd { display: none; }
  .searchbox .input { width: 100%; }
  .searchbox { flex: 1 1 200px; }
}
@media (max-width: 640px) {
  .kpis, .kpis.k3, .kpis.k4, .kpis.k5, .kpis.k6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 10px 12px 11px; }
  .kpi-value { font-size: 20px; }
}
@media (max-width: 560px) {
  .live .lbl, .topbar .sep, .crumbs .up { display: none; }
  .page-head h1 { font-size: 18px; }
  .page-head .actions { width: 100%; }
  .jump { position: static; }
  .legend-top { justify-content: flex-start; }
  .card-head { flex-wrap: wrap; }
  .card-head > .grow { flex: 1 1 150px; }
  .tfoot { justify-content: center; }
}

/* ---------------------------------------------------------------- sign-in, two steps */

.auth-body { background: var(--background); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-side { display: flex; flex-direction: column; padding: 28px 32px; min-width: 0; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.auth-box { width: min(400px, 100%); margin: auto; display: flex; flex-direction: column; gap: 18px; padding: 40px 0; }
.auth-box h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.auth-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--muted-foreground); }
.auth-steps li { display: flex; align-items: center; gap: 8px; }
.auth-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--border); }
.auth-steps span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 1px var(--border); }
.auth-steps .i { width: 12px; height: 12px; }
.auth-steps .on { color: var(--foreground); font-weight: 500; }
.auth-steps .on span { background: var(--primary); color: var(--primary-foreground); box-shadow: none; }
.auth-steps .done span { background: var(--ok-bg); color: var(--ok-text); box-shadow: 0 0 0 1px var(--ok-border); }
.auth-btn { height: 42px; width: 100%; font-size: 14.5px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-who { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  box-shadow: 0 0 0 1px var(--border); }
.auth-who img, .auth-who .avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.auth-who .n { font-weight: 600; }
.auth-who .i { width: 13px; height: 13px; vertical-align: -2px; }
.auth-who a:hover { color: var(--foreground); }
.auth-foot { display: flex; align-items: center; gap: 8px; }
.auth-foot .i { width: 14px; height: 14px; }
.auth-art { position: relative; overflow: hidden; margin: 8px; border-radius: 18px; background: #0a0a0a; color: #fafafa;
  display: flex; align-items: flex-end; padding: 40px; }
.auth-dots { position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .16) 1px, transparent 1.2px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000 20%, transparent 72%); }
.auth-mark { position: absolute; left: 50%; top: 42%; width: 168px; height: 168px; transform: translate(-50%, -50%); }
.auth-caption { position: relative; }
.auth-caption .t { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; }
.auth-caption ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px;
  color: rgb(255 255 255 / .72); font-size: 14px; }
.auth-caption li { display: flex; align-items: center; gap: 10px; }

.otp { position: relative; cursor: text; }
/* see-through, not opacity 0: a phone offers no paste and no code fill on a field it takes for hidden */
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: 0;
  border-radius: 0; box-shadow: none; background: transparent; color: transparent; -webkit-text-fill-color: transparent;
  caret-color: transparent; font-size: 16px; -webkit-appearance: none; appearance: none; }
.otp input::selection { background: transparent; }
.auth-paste { align-self: center; }
.auth-paste[hidden] { display: none; }
.otp-slots { display: flex; align-items: center; gap: 8px; pointer-events: none; }
.otp-slots span { flex: 1; height: 54px; border-radius: 10px; box-shadow: 0 0 0 1px var(--input); background: var(--background);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600;
  font-variant-numeric: tabular-nums; transition: box-shadow .12s; }
.otp-slots i { width: 10px; height: 2px; border-radius: 2px; background: var(--border); flex: none; }
.otp.focus .otp-slots span.cur { box-shadow: 0 0 0 2px var(--foreground); }
.otp.focus .otp-slots span.cur:empty::after { content: ""; width: 1.5px; height: 24px; background: var(--foreground);
  animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .otp.focus .otp-slots span.cur:empty::after { animation: none; } }

.auth-setup { display: flex; gap: 18px; align-items: flex-start; }
.qr-box { flex: none; width: 156px; height: 156px; padding: 8px; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px var(--border); }
.qr { width: 100%; height: 100%; display: block; }
.qr path { fill: #0a0a0a; }
.auth-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px;
  color: var(--muted-foreground); }
.auth-list li::marker { color: var(--foreground); font-weight: 600; }
.keyline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; color: var(--foreground); }
.keyline .mono { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; letter-spacing: .04em; }
.envline { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--muted); }
.envline code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; word-break: break-all; }
[data-copy].done { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }

@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-art { display: none; }
  .auth-side { padding: 20px 16px; }
}
@media (max-width: 480px) { .auth-setup { flex-direction: column; align-items: center; } }
