/* status.clvrbenefits.com. One file. Every colour is a copy of one in the parent repo
   (../clvrbenefits/apps/public/app/design.css) and follows the same theme model: tokens in
   light-dark(), `color-scheme` on :root, and `data-theme` on <html> locking one side (set
   pre-paint by the inline bootstrap in <head>, kept in sync by theme.js). See CLAUDE.md. */

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/WorkSans-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: "Work Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/WorkSans-Italic-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;
}

/* ===== Theme model (apps/public/app/tokens.css) ========================= */
:root {
  color-scheme: light dark;
}
[data-theme="light"] {
  color-scheme: light;
}
[data-theme="dark"] {
  color-scheme: dark;
}

/* ===== Tokens (apps/public/app/design.css, :root block, verbatim) ======= */
:root {
  /* Brand colours, identical in both modes. */
  --purple-50: #f8f5ff;
  --purple-100: #d7c3ff;
  --purple-600: #7e46f5;
  --purple-700: #6528e8;

  --orange-100: #ffd7cf;
  --orange-200: #ffbfb0;
  --orange-600: #ff7455;
  --orange-700: #f46141;

  --navy: #21274b;
  --navy-deep: #141937;

  --tw-accent: #ff7455;
  --tw-accent-hover: #f46141;

  /* Greyscale, inverted in dark via light-dark(). */
  --gray-50: light-dark(#fbfbfb, #0f1117);
  --gray-100: light-dark(#f4f4f4, #1a1d26);
  --gray-200: light-dark(#e1e5f0, #252936);
  --gray-300: light-dark(#777eaa, #353c66);
  --gray-400: light-dark(#535b89, #535b89);
  --gray-500: light-dark(#424a76, #777eaa);
  --gray-600: light-dark(#353c66, #9ca3c4);
  --gray-700: light-dark(#313862, #c4c9e0);
  --gray-800: light-dark(#1e2343, #e1e5f0);
  --gray-900: light-dark(#141937, #f4f4f6);

  /* Page background + raised card surface. */
  --tw-bg: light-dark(#fbf7f1, #0f1117);
  --cream: light-dark(#fbf7f1, #0f1117);
  /* This page sits on white, not the marketing cream (Kevin, 2026-09-13). */
  --page-bg: light-dark(#ffffff, #0f1117);
  --c-surface: light-dark(#ffffff, #1a1d26);
  --accent-soft: light-dark(#ffede3, color-mix(in srgb, var(--tw-accent) 16%, transparent));

  /* ---- Aliases for this page. Text roles as the trust center uses them:
     ink (text-c-ink) for names and titles, gray-500 (text-c-g500) for secondary,
     gray-400 (text-c-g400) for tertiary, line (border-c-line) for every border. */
  --ink: var(--gray-900);
  --muted: var(--gray-500);
  --faint: var(--gray-400);
  --line: var(--gray-200);
  --line-hover: color-mix(in srgb, var(--navy-deep) 18%, transparent);

  /* ---- NoticeBox palette (apps/public/components/overlays/NoticeBox/NoticeBox.tsx).
     Tailwind v3 defaults: bg *-50, border *-200, title *-800, icon *-600 in light;
     bg *-950, border *-800, title *-200, icon *-300 in dark. */
  --success-bg: light-dark(#f0fdf4, #052e16); /* green-50 / green-950 */
  --success-border: light-dark(#bbf7d0, #166534); /* green-200 / green-800 */
  --success-title: light-dark(#166534, #bbf7d0); /* green-800 / green-200 */
  --success-icon: light-dark(#16a34a, #86efac); /* green-600 / green-300 */
  --warning-bg: light-dark(#fffbeb, #451a03); /* amber-50 / amber-950 */
  --warning-border: light-dark(#fde68a, #92400e); /* amber-200 / amber-800 */
  --warning-title: light-dark(#92400e, #fde68a); /* amber-800 / amber-200 */
  --warning-icon: light-dark(#d97706, #fcd34d); /* amber-600 / amber-300 */
  --info-bg: light-dark(#eff6ff, #172554); /* blue-50 / blue-950 */
  --info-border: light-dark(#bfdbfe, #1e40af); /* blue-200 / blue-800 */
  --info-title: light-dark(#1e40af, #bfdbfe); /* blue-800 / blue-200 */
  --info-icon: light-dark(#2563eb, #93c5fd); /* blue-600 / blue-300 */
  --danger-bg: light-dark(#fef2f2, #450a0a); /* red-50 / red-950 */
  --danger-border: light-dark(#fecaca, #991b1b); /* red-200 / red-800 */
  --danger-title: light-dark(#991b1b, #fecaca); /* red-800 / red-200 */
  --danger-icon: light-dark(#dc2626, #fca5a5); /* red-600 / red-300 */

  /* Uptime bars share the notice hues. */
  --bar-ok: light-dark(#16a34a, #22c55e); /* green-600 / green-500 */
  --bar-down: light-dark(#dc2626, #ef4444); /* red-600 / red-500 */
  --bar-maint: light-dark(#2563eb, #3b82f6); /* blue-600 / blue-500 */
  --bar-none: var(--gray-200);

  --tip-bg: light-dark(#141937, #f4f4f6);
  --tip-fg: light-dark(#ffffff, #141937);

  /* Tailwind shadow-lg, the settings panel's. */
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Radii: rounded-2xl for cards (the trust center's), rounded-xl for items inside them,
     rounded-lg for notice boxes and the panel, rounded for controls. */
  --radius-card: 16px;
  --radius-item: 12px;
  --radius-notice: 8px;
  --radius-control: 4px;
  --motion: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base ============================================================= */
* {
  box-sizing: border-box;
}
html {
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
::selection {
  background: var(--tw-accent);
  color: #fff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--muted);
  text-decoration: none;
}
a:hover {
  color: var(--ink);
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}

/* Theme-swapped assets (apps/public/app/design-dark.css). Both variants are in the
   markup; the attribute decides which one shows. Without the attribute (JavaScript
   off) the OS preference decides. */
.c-dark-only {
  display: none;
}
[data-theme="dark"] .c-light-only {
  display: none;
}
[data-theme="dark"] .c-dark-only {
  display: revert;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .c-light-only {
    display: none;
  }
  :root:not([data-theme]) .c-dark-only {
    display: revert;
  }
}

/* ===== Header: the bar, with the marketing site's settings pill on the right ===== */
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 60px;
  padding: 10px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--c-surface);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand:hover {
  color: inherit;
}
.brand-mark {
  height: 24px;
  width: auto;
}
.brand-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-host {
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
}
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--tw-accent-hover);
  white-space: nowrap;
}
.home-link:hover {
  color: var(--tw-accent);
}

/* Settings pill + panel (PublicSettingsPopover + PublicSettingsPanel). */
.settings {
  position: relative;
  display: inline-block;
}
.settings-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 6px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--c-surface);
  transition: background var(--motion);
}
.settings-trigger:hover {
  background: var(--gray-50);
}
.settings-flag {
  font-size: 16px;
  line-height: 1;
}
.settings-theme-icon {
  display: inline-flex;
  opacity: 0.7;
}
.settings-theme-icon svg {
  display: none;
}
:root:not([data-theme-preference]) .settings-theme-icon svg:nth-child(1),
[data-theme-preference="auto"] .settings-theme-icon svg:nth-child(1),
[data-theme-preference="light"] .settings-theme-icon svg:nth-child(2),
[data-theme-preference="dark"] .settings-theme-icon svg:nth-child(3) {
  display: block;
}
.settings-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  width: 192px;
  overflow: hidden;
  border-radius: var(--radius-notice);
  border: 1px solid var(--line);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}
.settings-section {
  padding: 8px 12px;
}
.settings-section--border {
  border-bottom: 1px solid var(--line);
}
.settings-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}
.settings-theme-row {
  display: flex;
  gap: 4px;
}
.settings-theme {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  color: var(--muted);
  transition:
    background var(--motion),
    color var(--motion);
}
.settings-theme:hover,
.settings-theme.is-active {
  background: var(--gray-50);
  color: var(--ink);
}
.settings-lang-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.settings-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition:
    background var(--motion),
    color var(--motion);
}
.settings-lang:hover,
.settings-lang.is-active {
  background: var(--gray-50);
  color: var(--ink);
}

/* ===== Layout =========================================================== */
.main {
  width: 100%;
  max-width: 908px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 32px 48px;
}
/* Card: the trust center's `rounded-2xl border border-c-line bg-white`. */
.card {
  background: var(--c-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.card--rows {
  padding: 8px 24px;
}
.card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex: 1;
  min-width: 220px;
}
.card-title--section {
  font-size: 16px;
  margin-bottom: 4px;
}
.card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.eyebrow--warn {
  color: var(--warning-title);
}
.eyebrow--info {
  color: var(--info-title);
}
.chip {
  display: inline-block;
  background: var(--gray-200);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.chips .chip {
  padding: 3px 10px;
  font-size: 11.5px;
  white-space: normal;
}

/* ===== Notice box (NoticeBox.tsx: rounded-lg p-4 border, title text-heading
   font-semibold, body text-base) ========================================= */
.notice {
  position: relative;
  overflow: hidden;
  border: 1px solid;
  border-radius: var(--radius-notice);
  padding: 16px;
}
.notice--success {
  background: var(--success-bg);
  border-color: var(--success-border);
}
.notice--warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
}
.notice--info {
  background: var(--info-bg);
  border-color: var(--info-border);
}
.notice--danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
}
.notice-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.notice-head:not(:last-child) {
  margin-bottom: 8px;
}
.notice-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.notice-icon svg {
  width: 20px;
  height: 20px;
}
.notice-title {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}
.notice-checked {
  font-size: 12.5px;
  color: var(--faint);
  white-space: nowrap;
}
.notice--success .notice-title {
  color: var(--success-title);
}
.notice--success .notice-icon {
  color: var(--success-icon);
}
.notice--warning .notice-title {
  color: var(--warning-title);
}
.notice--warning .notice-icon {
  color: var(--warning-icon);
}
.notice--info .notice-title {
  color: var(--info-title);
}
.notice--info .notice-icon {
  color: var(--info-icon);
}
.notice--danger .notice-title {
  color: var(--danger-title);
}
.notice--danger .notice-icon {
  color: var(--danger-icon);
}
.notice-body {
  font-size: 14px;
  color: var(--ink);
}

/* ===== Timeline ========================================================= */
.timeline {
  display: flex;
  flex-direction: column;
}
.tl {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
}
.tl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-dot {
  display: block;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--faint);
  border: 2px solid var(--c-surface);
  box-shadow: 0 0 0 1px var(--faint);
}
.tl--identified .tl-dot {
  background: var(--warning-icon);
  box-shadow: 0 0 0 1px var(--warning-icon);
}
.tl--resolved .tl-dot {
  background: var(--success-icon);
  box-shadow: 0 0 0 1px var(--success-icon);
}
.tl-line {
  width: 1px;
  flex: 1;
  margin-top: 4px;
  background: var(--line);
}
.tl:last-child .tl-line {
  display: none;
}
.tl-body {
  padding-bottom: 18px;
}
.tl:last-child .tl-body {
  padding-bottom: 6px;
}
.tl-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tl-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.tl-time {
  font-size: 12px;
  color: var(--faint);
}
.tl-text {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.timeline--small .tl-label,
.timeline--small .tl-text {
  font-size: 13px;
}

/* ===== Maintenance card ================================================= */
.mnt-window {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 10px;
}
.mnt-window svg {
  color: var(--faint);
}
.mnt-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ===== Component rows =================================================== */
.row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.row:first-child {
  border-top-color: transparent;
}
.row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.row-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.row-host {
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
  text-decoration: none;
}
.row-host:hover {
  text-decoration: underline;
}
.row-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
}
.row-state--ok {
  color: var(--success-icon);
}
.row-state--warn {
  color: var(--warning-icon);
}
.row-state--maint {
  color: var(--info-icon);
}
.row-state--unknown {
  color: var(--faint);
}
.row-pct {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.strip {
  position: relative;
}
.bars {
  display: flex;
  gap: 2px;
  height: 32px;
}
.bar {
  position: relative;
  flex: 1;
  min-width: 2px;
  border-radius: 2px;
  background: var(--bar-ok);
  transition: opacity var(--motion);
}
.bar--down {
  background: var(--bar-down);
}
.bar--maint {
  background: var(--bar-maint);
}
.bar--nodata {
  background: var(--bar-none);
}
.bar--ongoing {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.bar:hover,
.bar:focus-visible {
  opacity: 0.65;
}
.bar::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--tip-bg);
  color: var(--tip-fg);
  border-radius: var(--radius-notice);
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 4px 12px -2px rgba(20, 25, 55, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion);
}
.bar::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--tip-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion);
}
.bar:hover::after,
.bar:hover::before,
.bar:focus-visible::after,
.bar:focus-visible::before {
  opacity: 1;
}
/* The first and last bars anchor their tooltip to the edge so it never leaves the card. */
.bar:nth-child(-n + 8)::after {
  left: 0;
  transform: none;
}
.bar:nth-last-child(-n + 8)::after {
  left: auto;
  right: 0;
  transform: none;
}
.strip-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--faint);
}
.only-narrow {
  display: none;
}

/* ===== Availability ===================================================== */
.avail {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.avail-big {
  min-width: 180px;
}
.avail-big-num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.avail-big-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.avail-months {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}
.avail-month {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.avail-month:first-child {
  border-top-color: transparent;
}
.avail-month-name {
  flex: 1;
  font-size: 13.5px;
}
.avail-month-pct {
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.avail-goal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--success-icon);
}
.avail-goal--missed {
  color: var(--danger-icon);
}
.avail-goal--none {
  color: var(--faint);
}
.fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--faint);
}

/* ===== History ========================================================== */
.history {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.history .card-title--section {
  margin-bottom: -6px;
}
.hist-month-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.hist-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-item);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--faint);
}
.hist-item {
  background: var(--c-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
  overflow: hidden;
  transition: border-color var(--motion);
}
.hist-item:hover {
  border-color: var(--line-hover);
}
.hist-item + .hist-item {
  margin-top: 10px;
}
.hist-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  transition: background var(--motion);
}
.hist-summary::-webkit-details-marker {
  display: none;
}
.hist-summary:hover {
  background: var(--gray-50);
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--incident {
  color: var(--success-title);
  background: var(--success-bg);
}
.badge--open {
  color: var(--warning-title);
  background: var(--warning-bg);
}
.badge--maintenance {
  color: var(--info-title);
  background: var(--info-bg);
}
.hist-title {
  flex: 1;
  min-width: 180px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hist-meta {
  font-size: 12.5px;
  color: var(--faint);
  white-space: nowrap;
}
.hist-chevron {
  display: inline-flex;
  color: var(--faint);
  transition: transform var(--motion);
}
.hist-item[open] .hist-chevron {
  transform: rotate(180deg);
}
.hist-body {
  border-top: 1px solid var(--line);
  padding: 16px 18px 8px;
}
.hist-note {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
}

/* ===== Footer =========================================================== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 24px 26px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--ink);
}
.rss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.support {
  color: var(--faint);
  font-size: 12.5px;
}

/* ===== Responsive ======================================================= */
/* Below the parent's lg breakpoint: smaller logo, the text link goes (hidden lg:inline). */
@media (max-width: 1023px) {
  .home-link {
    display: none;
  }
}
/* Narrow screens: 30 bars, tighter padding. */
@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }
  .brand-host {
    display: none;
  }
  .main {
    padding: 24px 16px 40px;
    gap: 20px;
  }
  .card {
    padding: 18px 16px;
  }
  .card--rows {
    padding: 4px 16px;
  }
  .bar:nth-child(-n + 60) {
    display: none;
  }
  .only-wide {
    display: none;
  }
  .only-narrow {
    display: inline;
  }
  .avail-big-num {
    font-size: 36px;
  }
  .hist-meta {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
