/* Ring Console: a workspace layout (side navigation, page header, at-a-glance strip, cards). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2");
  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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #f6f6f7; --card: #fff; --soft: #f3f3f5; --text: #18181b; --muted: #8a8a93; --faint: #b4b4bb;
  --line: #e7e7ea; --accent: #6d4aff; --accent-soft: #efeaff; --ok: #0f9d58; --ok-soft: #e7f6ee;
  --warn: #b45309; --warn-soft: #fff3e0; --danger: #d93025; --danger-soft: #fdecea; --ink: #18181b; --on-ink: #fff;
  --series-1: #6d4aff; --series-2: #0e9f9a;
  --radius: 16px; --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e; --card: #161618; --soft: #1f1f22; --text: #f4f4f5; --muted: #9a9aa3; --faint: #5c5c64;
    --line: #2a2a2e; --accent: #9b85ff; --accent-soft: #241d3d; --ok: #34c779; --ok-soft: #12271c;
    --warn: #f0a640; --warn-soft: #2c2110; --danger: #ff6b5e; --danger-soft: #2e1513; --ink: #f4f4f5; --on-ink: #111;
    --series-1: #7f66f0; --series-2: #1a9d97;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg); color: var(--text); }
a { color: inherit; }
code, pre, .mono { font-family: var(--mono); }
code { font-size: 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 22px 16px 16px; background: var(--card); border-right: 1px solid var(--line); overflow-y: auto; }
.brand { display: block; padding: 0 12px 18px; text-decoration: none; }
.brand b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand small { font: 500 10.5px var(--mono); letter-spacing: .16em; color: var(--muted); }
.side .label { margin: 18px 12px 6px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 400; }
.side nav a:hover { background: var(--soft); }
.side nav a.on { background: var(--soft); font-weight: 500; }
.side nav a .count { margin-left: auto; font: 12px var(--mono); color: var(--muted); }
.side .me { position: relative; margin-top: auto; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 500; flex: none; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
/* the avatar opens a small menu: Settings, Download apps */
.me-menu { flex: 1; min-width: 0; }
.me-menu > summary { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: pointer; list-style: none; color: var(--text); margin: 0; }
.me-menu > summary::-webkit-details-marker { display: none; }
.me-menu > summary:hover, .me-menu[open] > summary { background: var(--soft); }
.me-menu .who { min-width: 0; display: flex; flex-direction: column; }
.me-menu .who b { font-size: 14px; font-weight: 500; }
.me-menu .who span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-menu .menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 6; display: flex; flex-direction: column; gap: 2px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .10); }
.me-menu .menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.me-menu .menu a:hover, .me-menu .menu a.on { background: var(--soft); }
.signout { margin: 0; flex: none; }
button.icon-btn { width: 34px; height: 34px; padding: 0; border-radius: 10px; color: var(--muted); }
button.icon-btn:hover { color: var(--text); }
button.icon-btn svg.i { width: 17px; height: 17px; }
.topbar { display: none; }
#nav-toggle { display: none; }

main { padding: 28px 32px 56px; width: 100%; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head .title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -.022em; margin: 0; }
h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
h3 { font-size: 14px; font-weight: 500; margin: 0; }
strong, b { font-weight: 600; }
.eyebrow { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.meta { display: flex; flex-direction: column; font-family: var(--mono); }
.meta small { font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* ---------- at-a-glance strip (admin pages) ---------- */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.glance > div { padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.glance > div:first-child { border-left: 0; }
.glance .k { font-size: 13px; color: var(--muted); }
.glance .v { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; min-width: 0; }
.glance .v b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.glance .v span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glance .v b.warn { color: var(--warn); }
.glance .v b.ok { color: var(--ok); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; min-width: 0; }
/* wide screens: a main column and a side column, so the cards fill the width */
.split { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 26%, 460px); gap: 16px; align-items: start; }
.split > .col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.split > .col > .card { margin-bottom: 0; }
.split .aside .cols { grid-template-columns: 1fr; }
.split .aside .cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
form.inline:has(input[name=key]) { display: flex; flex-wrap: nowrap; width: 100%; margin-right: 0; }
form.inline:has(input[name=key]) input[name=key] { flex: 1; width: auto; min-width: 0; }
@media (max-width: 1180px) { .split { grid-template-columns: 1fr; } }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-head svg.i { color: var(--muted); }
.card-head .count { font: 12px var(--mono); color: var(--muted); }
.card-head .more { margin-left: auto; color: var(--muted); font-size: 14px; text-decoration: none; }
.muted { color: var(--muted); font-size: 13px; }
.mt { margin-top: 14px; }
.row.flat { padding-top: 0; border-top: 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.cols > div { min-width: 0; }
.cols > div + div { border-left: 1px solid var(--line); padding-left: 28px; }

/* rows: a name, small tags, a status on the right */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.row:first-child { border-top: 0; padding-top: 2px; }
.row .name { font-weight: 500; letter-spacing: -.005em; }
.row .sub { font-size: 12px; color: var(--muted); }
.row .end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: 1px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; background: var(--soft); color: var(--muted); white-space: nowrap; }
.badge.ok, .badge.active { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.suspended, .badge.bad { background: var(--danger-soft); color: var(--danger); }
.total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--muted); }
.total b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }

/* ---------- forms ---------- */
label { display: block; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
label.inline, label.check { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px 8px 0; }
input, select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
input:focus, select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
label.inline input, label.inline select { width: auto; display: inline-block; margin-top: 0; }
label.inline input[type=number] { width: 110px; }
input[type=checkbox] { width: auto; display: inline; margin: 0; accent-color: var(--accent); }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 12px; padding: 8px 12px 0; }
legend { font-size: 13px; color: var(--muted); padding: 0 4px; }
button, a.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 500; font-size: 14px; line-height: 1.2; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); cursor: pointer; text-decoration: none; }
button.secondary, a.button.secondary { background: var(--card); color: var(--text); border-color: var(--line); }
button.secondary:hover, a.button.secondary:hover { background: var(--soft); }
button.danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
button.small { padding: 6px 11px; font-size: 13px; }
button.link { background: none; border: 0; color: var(--muted); padding: 0; font-weight: 400; }
button:disabled { opacity: .5; cursor: default; }
form.inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 8px 4px 0; vertical-align: middle; }
form.inline input[name=key] { width: 240px; margin-top: 0; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.actions form.inline { margin: 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td .who { display: flex; align-items: center; gap: 10px; }
td a { text-decoration: none; font-weight: 500; }
td.mono { font-family: inherit; font-variant-numeric: tabular-nums; }
td a:hover { text-decoration: underline; }

/* ---------- misc ---------- */
pre { white-space: pre-wrap; word-break: break-all; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12.5px; }
.reveal { margin-top: 14px; }
.qr svg { width: 260px; max-width: 100%; height: auto; background: #fff; border-radius: 12px; padding: 8px; }
.notice { padding: 10px 14px; border-radius: 10px; margin: 0 0 16px; }
.notice.error { background: var(--danger-soft); color: var(--danger); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
details summary { cursor: pointer; color: var(--accent); margin: 10px 0; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth .card { width: 100%; max-width: 420px; margin: 0; }
.auth .brand { padding: 0 0 18px; }
.auth h1 { margin: 6px 0 18px; }


/* ---------- overview dashboard ---------- */
.lede { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
a.button.small, button.small { padding: 6px 11px; font-size: 13px; }
.progress { display: block; height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.w-0 { width: 0%; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }
.setup .card-head .progress { margin-left: auto; width: min(220px, 30%); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.step .num { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 500; background: var(--accent-soft); color: var(--accent); }
.step.done .num { background: var(--ok-soft); color: var(--ok); }
.step b { font-weight: 500; }
.step p { margin: 2px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 0; transition: border-color .15s; }
.stat:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.stat .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }
.stat .ico.ok { background: var(--ok-soft); color: var(--ok); }
.stat .ico.warn { background: var(--warn-soft); color: var(--warn); }
.stat .k { font-size: 13px; color: var(--muted); }
.stat b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b.warn { color: var(--warn); }
.stat .sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat .progress { margin-top: 10px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.pair > .card { margin-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.connect pre { margin: 6px 0 10px; }
@media (max-width: 1180px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .setup .card-head { flex-wrap: wrap; } .setup .card-head h2 { white-space: nowrap; } .setup .card-head .progress { width: 100%; margin-left: 0; } .pair { grid-template-columns: 1fr; } .stats { gap: 10px; } .stat { padding: 14px; } .head-actions { width: 100%; } .head-actions .button { flex: 1; } }


/* ---------- usage chart (series colours validated for colour vision, light and dark) ---------- */
.usage-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.usage-sum > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--soft); border-radius: 12px; min-width: 0; }
.usage-sum .k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.usage-sum b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.usage-sum .sub { font-size: 12.5px; color: var(--muted); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw.s-calls, .sw.s-credits { background: var(--series-1); }
.sw.s-voice { background: var(--series-2); }
.usage-charts { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
.usage-charts figure { margin: 0; min-width: 0; }
.usage-charts figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.legend { display: inline-flex; gap: 12px; font-weight: 400; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
svg.chart { display: block; width: 100%; height: auto; }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart .ax { fill: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
svg.chart .hit { fill: transparent; }
svg.chart .day:hover .hit { fill: var(--soft); }
svg.chart .s-calls, svg.chart .s-credits { fill: var(--series-1); }
svg.chart .s-voice { fill: var(--series-2); }
.empty-chart { display: grid; place-items: center; min-height: 120px; margin: 0; padding: 16px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
@media (max-width: 1180px) { .usage-charts { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .usage-sum { grid-template-columns: 1fr; } }


/* ---------- settings: their own side menu ---------- */
.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.subnav { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; }
.subnav .label { margin: 10px 12px 6px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.subnav .label:first-child { margin-top: 0; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.subnav a:hover { background: var(--card); }
.subnav a.on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.settings-body { min-width: 0; }
.settings-body > .page-head { margin-top: 0; }
@media (max-width: 900px) {
  .settings { grid-template-columns: 1fr; gap: 14px; }
  .subnav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .subnav .label { display: none; }
  .subnav a { flex: none; background: var(--card); border: 1px solid var(--line); }
}


/* ---------- settings sections: a heading, then rows of label + control ---------- */
.settings-body.narrow { max-width: 760px; }
.set-group { margin-bottom: 28px; }
.set-head { margin: 0 4px 10px; }
.set-head h2 { font-size: 15px; }
.set-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.set-card { padding: 0; overflow: hidden; }
.set-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); }
.set-row:first-child { border-top: 0; }
.set-row.sub { border-top: 0; padding-top: 0; padding-left: 70px; }
.set-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.set-text b { font-weight: 500; }
.set-text span { font-size: 13px; color: var(--muted); }
.set-end { display: flex; align-items: center; gap: 10px; flex: none; }
.set-end form.inline { margin: 0; flex-wrap: nowrap; }
.set-end select { width: auto; min-width: 160px; margin: 0; }
.logo { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: -.02em; background: var(--ink); color: var(--on-ink); }
.logo.elevenlabs { background: var(--soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.key-form { width: 100%; }
button.link.danger { color: var(--danger); font-size: 13px; }
button.link.danger:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .set-row { flex-wrap: wrap; }
  .set-end { width: 100%; justify-content: space-between; }
  .set-row.sub { padding-left: 20px; }
  .set-end select { flex: 1; min-width: 0; }
}

/* ---------- small screens: the side navigation becomes a drawer ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 5; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
  .topbar .brand { padding: 0; }
  .topbar .brand b { font-size: 18px; }
  .topbar label { margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer; display: grid; }
  .side { display: none; position: fixed; inset: 61px 0 0 0; z-index: 4; height: auto; border-right: 0; }
  #nav-toggle:checked ~ .shell .side { display: flex; }
  .side > .brand { display: none; }
  main { padding: 18px 16px 48px; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div:nth-child(3) { border-left: 0; }
  .glance > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .glance > div { padding: 14px 16px; }
  .glance .v { flex-direction: column; align-items: flex-start; gap: 0; }
  .glance .v span { white-space: normal; }
  .cols { grid-template-columns: 1fr; }
  .cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
  form.inline input[name=key] { width: 100%; }
}
