/* The screens both sides share.

   Admin and the customer portal render the same macros - the brand card,
   the subscriber list, the blog editor's post type, the email summaries,
   the "send me a copy" row - but they are different shells with different
   stylesheets. These rules lived in admin's main.css alone, which the
   customer portal does not load, so a customer saw the same markup with
   none of the layout: an unstyled grey box for the email address, logos
   with their text on top of each other, and a colour band that was not
   the colour it promised.

   So they live here, in a file all three shells load, and nowhere else.
   A rule that only one side can possibly use does NOT belong in this
   file - that is what each shell's own stylesheet is for. */

/* Charlie, 23 November 2026: rounded squares and rounded rectangles, never
   pills or circles, and the same corner everywhere. Every corner in every
   shell reads this one value; the 25% keeps a small dot a rounded square. */
:root { --shape-radius: min(10px, 25%); }


/* The brand card: colour, then the two logos, then the email band. */
.brand-block { padding: 1.25rem 0; border-top: 1px solid var(--sm-border, var(--border, rgba(255,255,255,.1))); }
.brand-block:first-of-type { border-top: 0; padding-top: 0.5rem; }
.brand-subheading { font-size: 1.0625rem; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.brand-subheading .badge { font-size: 0.7rem; }
.brand-block p.brand-block__lead { margin: 0 0 1.25rem; max-width: 60ch; }

/* Ten swatches and the hex box, with a dot showing the typed colour. */
.brand-picker .brand-swatches { max-width: 18rem; margin-bottom: 0.6rem; }
.brand-hex { display: flex; align-items: center; gap: 0.5rem; }
.brand-hex__dot {
  width: 1.5rem; height: 1.5rem; border-radius: var(--shape-radius, min(10px, 25%)); flex: 0 0 auto;
  background: var(--accent); border: 1px solid var(--sm-border, var(--border, rgba(255,255,255,.15)));
}
.brand-hex__input {
  font: inherit; font-family: ui-monospace, Menlo, monospace; color: var(--fg);
  background: var(--field); border: 1.5px solid var(--border); border-radius: var(--shape-radius, min(10px, 25%));
  padding: .5rem .75rem; min-height: 2.5rem; width: 7.5rem; margin: 0; text-transform: lowercase;
}
.brand-hex__input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.brand-hex__input::placeholder { color: var(--muted-fg); opacity: .8; }

/* The two logos on shared rows (subgrid), each previewed on the
   background it was drawn for, so a white-lettered logo is never a white
   blob on white. */
.brand-logos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  grid-template-rows: auto auto auto auto auto; gap: 0.5rem; margin: 0; align-items: start;
}
.brand-logo { display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); grid-row: span 5; gap: 0.5rem; background: var(--muted, #2c2c2c); padding: 1rem; border-radius: var(--shape-radius, min(10px, 25%)); }
.brand-logo--colour .brand-logo__picker { grid-row: 3 / 6; }
.brand-logo, .brand-logo-preview, .brand-email-band { min-width: 0; }
.brand-logo__title { margin: 0; font-weight: 600; }
.brand-logo__hint { margin: 0; }
.brand-logo__used { margin: 0; min-height: 1.5rem; }
.brand-logo-preview {
  margin: 0; padding: 0.9rem 1rem; border-radius: var(--shape-radius, min(10px, 25%)); height: 6.5rem; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--sm-border, var(--border, rgba(255,255,255,.12)));
}
.brand-logo-preview--light { background: #ffffff; }
.brand-logo-preview--dark { background: #111827; }
/* The example is the size the words underneath promise: 600 by 300, shown
   at half so it fits the column, and never wider than the box. A preview
   stretched past that was telling somebody their logo may be any size
   (Charlie, 12 September 2026). */
.brand-logo-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; }
.brand-logo-preview__empty { font-size: 0.875rem; color: #8a8f98; }
.brand-logo__actions { display: flex; align-items: center; gap: 0.75rem; margin: 0.25rem 0 0; min-height: 2.5rem; }
.brand-logo__form { display: flex; align-items: center; gap: 0.75rem; flex: 1 1 auto; min-width: 0; margin: 0; }
.brand-logo__form input[type="file"] { flex: 1 1 10rem; min-width: 0; font-size: 0.875rem; }
.brand-logo__remove { flex: 0 0 2.5rem; min-height: 2.5rem; }
.brand-logo__remove form { margin: 0; }
@supports not (grid-template-rows: subgrid) {
  .brand-logo { display: block; }
  .brand-logo > * { margin-bottom: 0.5rem; }
}
/* The email's own header, shown as it will arrive: the logo on the same
   dark the message itself uses, not a band of the brand colour. */
.brand-email-band {
  display: flex; align-items: center; justify-content: center; height: 6.5rem; padding: 0.9rem 1rem; box-sizing: border-box;
  border-radius: var(--shape-radius, min(10px, 25%)); max-width: 100%; overflow: hidden; font-size: 1.25rem; font-weight: 700;
  background: #1b1d29; color: #ffffff; border: 1px solid #2a2d3d;
}
.brand-email-band img { display: block; min-width: 0; max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }

/* Adding a subscriber: the box and a small icon button, level, in the
   house field look. */
.subscribers-add { display: flex; align-items: center; gap: 0.5rem; max-width: 26rem; margin-bottom: 1.25rem; }
.subscribers-add input[type="email"] {
  flex: 1 1 auto; min-width: 0; margin: 0; font: inherit; color: var(--fg); background: var(--field);
  border: 1.5px solid var(--border); border-radius: var(--shape-radius, min(10px, 25%)); padding: .625rem .875rem; min-height: 2.75rem;
}
.subscribers-add input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.subscribers-add input[type="email"]::placeholder { color: var(--muted-fg); opacity: .8; }
.subscribers-add__go { flex: 0 0 auto; }

/* The post type: three radios in a row, not a drop-down. */
.post-type { border: 0; padding: 0; margin: 0 0 1.125rem; }
.post-type legend { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; padding: 0; }
.post-type .field-check { display: inline-flex; margin-right: 1.5rem; min-height: 2.5rem; }

/* Email summaries: how often on the left, who gets it on the right
   (Charlie, 12 September 2026). One column on a narrow screen, where side
   by side would leave two cramped halves. */
.digest-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.25rem 2.5rem; align-items: start; }
@media (max-width: 720px) { .digest-split { grid-template-columns: 1fr; } }
.digest-who textarea { min-height: 5.5rem; font-size: .875rem; }
.digest-who .field { margin-bottom: .75rem; }

/* "Send me a copy", under the example of the email it belongs to. */
.email-example__send { margin-top: .75rem; }

/* --- the page heading row, and the "i" that explains the page ---------- */
/* .page-header lived in admin's main.css, which the customer portal does
   not load, so their headings had no layout at all. Here, like the rest of
   what both sides render. */
.page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.page-header h1 { margin: 0; }
/* Anything else in the row goes to the right-hand end. */
.page-header > .button-row, .page-header > .button, .page-header > a.button { margin-left: auto; }

/* The mark itself: a letter i in a circle, at the end of the heading's own
   words. It is a <summary>, so the triangle a browser draws by default has
   to be taken off in both spellings. */
.explain { display: inline; }
.explain-mark {
  list-style: none;
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; margin-left: .5rem;
  width: 1.5rem; height: 1.5rem; border-radius: var(--shape-radius, min(10px, 25%));
  border: 1.5px solid var(--border, #27272a);
  background: var(--panel, #1b1d29); color: var(--muted-fg, #a1a1aa);
  font-size: .8125rem; font-weight: 700; font-style: italic; line-height: 1;
  cursor: pointer; user-select: none;
}
.explain-mark::-webkit-details-marker { display: none; }
.explain-mark::marker { content: ""; }
.explain-mark:hover { color: var(--fg, #fafafa); border-color: var(--accent, #fbc711); }
.explain-mark:focus-visible { outline: 2px solid var(--accent, #fbc711); outline-offset: 2px; }
.explain[open] > .explain-mark {
  background: var(--accent, #fbc711); border-color: var(--accent, #fbc711); color: var(--on-accent, #645007);
}

/* The explanation: a panel of its own under the heading, pushing the page
   down rather than covering it. It sits inside a heading, so every
   inherited heading style has to be put back to body text. */
.explain-body {
  margin: .5rem 0 0;
  padding: 1rem 1.125rem;
  border: 1px solid var(--panel-border, rgba(255,255,255,.09));
  border-radius: var(--shape-radius, min(10px, 25%));
  background: var(--muted, #1c1c1f);
  font-size: .9375rem; font-weight: 400; line-height: 1.6; letter-spacing: normal;
  color: var(--fg, #fafafa);
  max-width: 70ch;
}
.explain-body > :first-child { margin-top: 0; }
.explain-body > :last-child { margin-bottom: 0; }

/* An open explanation takes the whole row, so its text is not squeezed
   into the width of the heading's own words. */
.page-header > :is(h1, h2, h3):has(.explain[open]),
.heading-row > :is(h1, h2, h3):has(.explain[open]) { flex: 1 1 100%; }
.heading-row > .explain { display: contents; }
.heading-row > .explain:not([open]) .explain-body { display: none; }
.heading-row > .explain[open] .explain-body { flex: 1 1 100%; order: 3; max-width: none; }
.heading-row > .explain[open] .explain-body > * { max-width: 70ch; }
.heading-row > .explain[open]::details-content { flex: 1 1 100%; order: 3; }

/* A heading with its "i" beside it, where the heading is not already a
   page-header row. Same rules: the mark sits on the line, the explanation
   opens underneath it. */
.heading-row { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; margin-bottom: .75rem; }
.heading-row:has(.explain[open]) { flex-wrap: wrap; }
.heading-row > h1, .heading-row > h2, .heading-row > h3 { min-width: 0; }
.heading-row > h1, .heading-row > h2, .heading-row > h3 { margin: 0; }

/* --- nothing shifts sideways ------------------------------------------- */
/* Charlie, 12 September 2026: "there should not even be a shimmer when you
   click between the menu items."

   The shimmer is a scrollbar. A short page has none and a long one does, so
   moving between two pages of the same section slides everything a few
   pixels left and back. Same inside the two scrolling columns. Holding the
   gutter open costs those pixels once and nothing ever moves again.

   (The second column's own room is NOT held: where a page has no second
   column the main panel takes that space, which is what he asked for.) */
html { scrollbar-gutter: stable; }
.sidebar, .subnav, .content { scrollbar-gutter: stable; }

/* --- a filed conversation looks filed ---------------------------------- */
/* Three layers to read-only: the routes refuse (that is the rule), the
   buttons that do not apply carry `disabled` (that is the control), and the
   thread is dimmed (this, and this only SAYS so).

   It carried `pointer-events: none` as well, and that was wrong twice over.
   A filed item "can be viewed but not edited or altered" - and no presses
   at all stops the viewing: an attachment cannot be opened, a link in a
   message cannot be followed, and in some browsers the words cannot even be
   selected to copy. And a stylesheet cannot PREVENT anything in any case;
   it can only say so, and a rule kept in one is a rule a person can switch
   off in their own browser. Helpmorphic found the same line in its own
   sheet within the hour (12 September 2026). */
.inbox-thread.is-filed .thread { opacity: .55; }

/* --- a screen's own second column collapses on ITS space, not the window's */
/* The Emails screen carries its own index column beside the email. In the
   customer portal that is the THIRD column on the page - sidebar, More,
   then this - and it was collapsing on the window width (900px), by which
   point the panel it sits beside had nothing left: 386px of email editor
   at 1400, 186 at 1200, 86 at 1100, and ZERO below about 1000, with no
   scrollbar to find it by. Found by the responsive sweep, 12 September
   2026.
   
   So it asks its own container instead of the window. The panel is the
   container; when the panel is under 700px wide the index goes above the
   work rather than beside it, whatever the window is doing. */
.content { container-type: inline-size; }

@container (max-width: 620px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); }
  .review-column { position: static; }
}

/* --- a finger is wider than a pointer ---------------------------------- */
/* Below 1024px every control is at least 44px in both directions. The
   sweep found the sidebar links at 38px tall, the icon buttons at 36 and
   the circled "i" at 24 - each of them fine under a mouse and each of them
   a miss under a thumb (12 September 2026). Nothing here changes the
   desktop sizes. */
@media (max-width: 1024px) {
  /* The one number every control's height is drawn from, so a button, a
     text box and a select all grow together rather than one of them being
     missed. */
  :root { --sm-control-height: 2.75rem; }
  .nav-link { min-height: 2.75rem; }
  /* Doubled class names: icons.css loads AFTER this file - it has to, it
     is the last word on icon buttons - so at equal specificity it wins.
     `.icon-btn.icon-btn` is the same element, one weight heavier. */
  .icon-btn.icon-btn { width: 2.75rem; height: 2.75rem; }
  .explain-mark.explain-mark { width: 2.75rem; height: 2.75rem; font-size: .9375rem; }
  .subnav a { min-height: 2.75rem; display: flex; align-items: center; }
  /* Written at the same specificity as the rule that sets the desktop
     height (`a.button, button.button, ...`), or that one wins by being
     more specific and every button stays 40px. */
  a.button, button.button, input[type="submit"].button,
  .btn, button[type="submit"], input[type="submit"] { min-height: 2.75rem; }
  .brand { min-height: 2.75rem; }
}

/* --- the admin sweep, 13 September 2026 -------------------------------- */
/* Two more controls the 12 September pass did not reach, because the admin
   shell was swept a day later than the customer portal: the hamburger
   itself (34x40, on a phone the one control everything else is behind) and
   the highlight-colour button (36x36, deliberately pinned at 36 so the
   menu under it would not jump - that reason holds on a desktop and not
   under a thumb). Both written one weight heavier than house.css, which
   loads after this file. */
/* The burger is sized inside its OWN 900px query, not the 1024px one: at
   901-1024 it is display:none, and a rule that set `display` there would
   put a hamburger on a desktop beside the menu it replaces. */
@media (max-width: 900px) {
  .nav-burger.nav-burger {
    min-width: 2.75rem; min-height: 2.75rem;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .aw-theme-toggle.aw-theme-toggle {
    width: 2.75rem; height: 2.75rem;
    min-height: 2.75rem; max-height: 2.75rem;
  }
}

/* A long word in code type has no break in it, so it does not wrap: on the
   System screen SITE_MANAGER_EXCLUDED_TRACKING_IPS is 278px wide inside a
   153px paragraph and pushed clean off the right of the page from about
   1260px down - clipped, with no scrollbar to bring it back, so the name
   of the setting could not be read at all (13 September 2026 sweep).
   `anywhere` rather than `break-word`: break-word will not break a word
   that is the only thing on its line, which is exactly this case. */
code, kbd, samp { overflow-wrap: anywhere; }
.dns-target { white-space: nowrap; overflow-wrap: normal; }

/* An <input type="submit"> gets `white-space: pre` from the browser
   itself, so its label can never wrap however narrow the page gets. On a
   320px screen "Turn off two-factor authentication" held the button at
   273px inside a 196px form and pushed the whole Settings page sideways
   (13 September 2026). A <button> wraps already; this gives the input the
   same manners. */
input[type="submit"], input[type="button"], input[type="reset"] {
  white-space: normal;
  max-width: 100%;
}

/* My site: twelve columns, dense flow. Written here, not in the page: the
   Content-Security-Policy refuses <style> blocks and style attributes, which
   left this page on the three-column default with every card squeezed. */
.bento.dash-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(120px, auto);
  grid-auto-flow: row dense; gap: 1.25rem; align-items: stretch;
}
.dash-bento > .card { margin-bottom: 0; min-height: 120px; }
.dash-bento .stat-value { font-variant-numeric: tabular-nums; }
.dash-bento > .dash-span-3 { grid-column: span 3; }
.dash-bento > .dash-span-6 { grid-column: span 6; }
.dash-bento > .dash-span-9 { grid-column: span 9; }
.dash-bento > .dash-span-12 { grid-column: span 12; }
@media (max-width: 1024px) {
  .bento.dash-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dash-bento > .card { grid-column: span 6; }
  .dash-bento > .card.bento--kpi { grid-column: span 3; }
}
@media (max-width: 768px) {
  .bento.dash-bento { grid-template-columns: minmax(0, 1fr); }
  .dash-bento > .card, .dash-bento > .card.bento--kpi { grid-column: span 1; }
}

.dash-headline { margin: -0.5rem 0 1.25rem; color: var(--muted-fg); font-size: 1.0625rem; }

/* A key or address to copy: wraps instead of scrolling, selects whole on a click. */
.code-box {
  margin: 0; padding: 1rem; border-radius: var(--shape-radius, min(10px, 25%));
  background: var(--muted, var(--sm-muted)); color: var(--fg, var(--sm-foreground));
  font: 0.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere; white-space: pre-wrap; user-select: all;
}

.cover-preview { max-width: 320px; border-radius: var(--shape-radius, min(10px, 25%)); display: block; }
.brand-logo-preview { max-width: 220px; max-height: 110px; }

/* Session access card: the copy button takes the row with the "i" beside
   it, and the two key actions sit below a line, side by side. */
.card .session-key__copy { flex-wrap: nowrap; }
.card .session-key__copy > .button { flex: 1 1 0; min-width: 0; justify-content: center; }
.card .session-key__manage { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--sm-border, var(--border, rgba(255,255,255,.1))); }
.card .session-key__manage > form { flex: 1 1 0; }
.card .session-key__manage .button { width: 100%; justify-content: center; }

/* Site files list: a path breaks only after a slash, a size stays on one
   line, and the two icon buttons stay together. */
.file-table-scroll td.file-path { overflow-wrap: break-word; }
.file-table-scroll td.file-size, .file-table-scroll td.file-actions { white-space: nowrap; }

/* Customer page tabs: columns whose cards keep
   their own height. Each card has a fixed home, so nothing jumps between
   columns when one grows. */
.tab-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.tab-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.tab-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tab-col--wide { grid-column: span 2; }
/* Chat tab: the settings form is one autosave form holding two cards, so it
   steps aside (display: contents) and its cards take grid cells of their own. */
.chat-grid__form { display: contents; }
/* Brand tab: the colour and the three logo panels on one row. */
#tab-brand .brand-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chat-grid > .chat-grid__side { grid-column: 1; grid-row: 1 / span 2; }
.chat-grid .chat-grid__ai { grid-column: 3; grid-row: 1 / span 2; }
.files-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem 2rem; align-items: start; }
.files-list, .files-upload { min-width: 0; }
/* A short form on one line: its fields side by side, wrapping when narrow. */
.field-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.field-row > .field { flex: 1 1 10rem; margin: 0; min-width: 0; }
.field-row > .field-check { padding-bottom: .6rem; }
.files-upload > h3 { margin-top: 0; }
.files-upload > h3:not(:first-child) { margin-top: 1.75rem; }
@container (max-width: 50rem) {
  .tab-cols--3, #tab-brand .brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-grid > .chat-grid__side, .chat-grid .chat-grid__ai { grid-column: auto; grid-row: auto; }
}
@container (max-width: 40rem) {
  .tab-cols, .files-split { grid-template-columns: minmax(0, 1fr); }
  .tab-col--wide { grid-column: auto; }
}

/* No underlined links anywhere (Charlie's rule); they are told apart by colour. */
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* A bar beside the number, so visits read as a chart and not a bare figure. */
.visits-cell { white-space: nowrap; }
.visits-cell meter { width: 6rem; height: 0.6rem; vertical-align: middle; margin-right: 0.5rem; }
.visits-n { font-variant-numeric: tabular-nums; }

/* The Inbox screens (Account, Team, Invites) now sit inside the admin
   shell, which has no .aw-shell wrapper, so their cards, fields and tables
   had no styling at all. They take the same panel, field and table look as
   every other admin card. */
.app .aw-card {
  background: var(--aw-panel, var(--sm-panel));
  border: 1px solid var(--aw-panel-border, var(--sm-panel-border));
  border-radius: var(--shape-radius, min(10px, 25%));
  box-shadow: var(--aw-shadow-panel, var(--sm-shadow-panel));
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; min-width: 0;
}
.app .aw-card > *, .app .aw-card form > p { margin-top: 0; margin-bottom: 0; }
.app .aw-card form { display: flex; flex-direction: column; gap: 0.875rem; }
.app .aw-card h1 { font-size: 1.5rem; }
.app .aw-card h2 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.app .aw-card label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .375rem; }
.app .aw-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .app .aw-card select, .app .aw-card textarea {
  display: block; width: 100%; max-width: 32rem; box-sizing: border-box;
  font: inherit; color: var(--fg); background: var(--field);
  border: 1.5px solid var(--border); border-radius: var(--shape-radius, min(10px, 25%));
  padding: .625rem .875rem; min-height: 2.75rem;
}
.app .aw-card input:focus, .app .aw-card select:focus, .app .aw-card textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.app .aw-card br { display: none; }
.app .aw-account-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; column-count: auto; }
.app .aw-account-bento > .aw-card { margin: 0; }
@media (max-width: 1000px) { .app .aw-account-bento { grid-template-columns: minmax(0, 1fr); } }
.app .aw-table { width: 100%; border-collapse: collapse; }
.app .aw-table th, .app .aw-table td { text-align: left; padding: 0.75rem 0.625rem; border-bottom: 1px solid var(--sm-border, var(--border)); vertical-align: middle; }
.app .aw-table th { color: var(--muted-fg); font-weight: 500; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.app .aw-flag-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Nothing to review: no empty column beside the page. */
.review-layout.review-layout--solo { grid-template-columns: minmax(0, 1fr); }
.visits-cell meter { appearance: none; background: var(--sm-border, var(--border)); border: 0; border-radius: var(--shape-radius, min(10px, 25%)); }
.visits-cell meter::-webkit-meter-bar { background: var(--sm-border, var(--border)); border: 0; border-radius: var(--shape-radius, min(10px, 25%)); }
.visits-cell meter::-webkit-meter-optimum-value, .visits-cell meter::-webkit-meter-suboptimum-value,
.visits-cell meter::-webkit-meter-even-less-good-value { background: var(--accent); border-radius: var(--shape-radius, min(10px, 25%)); }
.visits-cell meter::-moz-meter-bar { background: var(--accent); border-radius: var(--shape-radius, min(10px, 25%)); }
.key-test { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.key-test-result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 1.75rem; }
.key-test-status { font-weight: 600; }
.key-test-bad { color: var(--danger, #cc372d); }
.key-test-figure { display: inline-flex; align-items: center; gap: 8px; }
.key-test-count { min-width: 1.75rem; padding: 2px 8px; text-align: center; font-weight: 600;
  border: 1px solid var(--border, var(--sm-border)); border-radius: var(--shape-radius, min(10px, 25%)); }
.key-test-status:not(.key-test-bad)::before { content: ""; display: inline-block; width: .5rem; height: .5rem;
  margin-right: 8px; vertical-align: middle; background: var(--accent, currentColor);
  border-radius: var(--shape-radius, min(10px, 25%)); }
