@import url("css/certificates.css");
@import url("css/notifications.css");
@import url("css/backups.css");
@import url("css/charts.css");
@import url("css/uptime.css");
@import url("css/project-detail.css");
@import url("css/project-form.css");
@import url("css/dashboard.css");
@import url("css/quicklinks.css");
@import url("css/auth.css");
@import url("css/shortcuts.css");
@import url("css/notes.css");
@import url("css/summary.css");
@import url("css/logs.css");
@import url("css/metrics.css");
@import url("css/forge.css");
@import url("css/metric-widgets.css");
/* projectbox design system — plain CSS, no build step.
 *
 * Conventions
 *   - Tokens are CSS custom properties on :root (colours, spacing, radius, type).
 *   - Components use BEM-ish classes: .block, .block__element, .block--modifier.
 *   - State classes: .is-active, .is-leaving. Status modifiers: --ok --warn --down --unknown.
 *   - Theme: <html data-theme="system|light|dark">; "system" follows prefers-color-scheme.
 */

/* ---------- Tokens ---------- */

:root {
  /* light palette */
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --border: #dde1e7;
  --border-strong: #c5cbd4;
  --text: #171a1f;
  --muted: #5a6270;
  --accent: #2f5bd3;
  --accent-hover: #2549ad;
  --accent-contrast: #ffffff;
  --focus: #2f5bd3;

  /* status colours (≥3:1 on surface for dots/borders; badges use darker text) */
  --ok: #1a8a4f;
  --warn: #b86e00;
  --down: #d1332c;
  --unknown: #858c98;
  --ok-text: #136b3d;
  --warn-text: #8a5200;
  --down-text: #b0241e;
  --unknown-text: #555c68;

  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06);
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 4px 12px rgb(16 24 40 / .06);
  --shadow-lg: 0 8px 28px rgb(16 24 40 / .16);

  /* spacing scale (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --space: var(--s-4);

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --text-xs: 11px;
  --text-sm: 12.5px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 20px;

  --topbar-h: 52px;
  --content-max: 1680px;
  --control-h: 32px;
  --control-h-sm: 26px;

  color-scheme: light;
}

/* dark palette — applied for data-theme=dark, or data-theme=system + OS dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f13;
    --surface: #15181e;
    --surface-2: #1c2028;
    --border: #272c36;
    --border-strong: #363c48;
    --text: #e4e7ec;
    --muted: #98a1b0;
    --accent: #7b9dff;
    --accent-hover: #9bb5ff;
    --accent-contrast: #0d0f13;
    --focus: #7b9dff;
    --ok: #3fb872;
    --warn: #e0a133;
    --down: #f0605a;
    --unknown: #7c8492;
    --ok-text: #5fd08f;
    --warn-text: #efb756;
    --down-text: #ff8a84;
    --unknown-text: #a4acb9;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 4px 12px rgb(0 0 0 / .25);
    --shadow-lg: 0 8px 28px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d0f13;
  --surface: #15181e;
  --surface-2: #1c2028;
  --border: #272c36;
  --border-strong: #363c48;
  --text: #e4e7ec;
  --muted: #98a1b0;
  --accent: #7b9dff;
  --accent-hover: #9bb5ff;
  --accent-contrast: #0d0f13;
  --focus: #7b9dff;
  --ok: #3fb872;
  --warn: #e0a133;
  --down: #f0605a;
  --unknown: #7c8492;
  --ok-text: #5fd08f;
  --warn-text: #efb756;
  --down-text: #ff8a84;
  --unknown-text: #a4acb9;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 4px 12px rgb(0 0 0 / .25);
  --shadow-lg: 0 8px 28px rgb(0 0 0 / .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: var(--text-md)/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }

code, kbd, .mono { font-family: var(--font-mono); font-size: .92em; font-variant-numeric: tabular-nums; }
code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 .3em; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--s-4); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.stack { display: flex; flex-direction: column; gap: var(--s-3); }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 100;
  background: var(--surface); color: var(--text);
  padding: var(--s-2) var(--s-3); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: var(--s-2); }

/* ---------- Icons ---------- */

.icon { width: 16px; height: 16px; flex: none; vertical-align: -3px; }

/* ---------- Layout ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: var(--topbar-h);
  padding-block: var(--s-2);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--text); font-weight: 650; font-size: 15px; letter-spacing: -.02em;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand .icon { width: 20px; height: 20px; color: var(--accent); }

.topnav { display: flex; gap: var(--s-1); }
.topnav__link {
  padding: 5px var(--s-2); border-radius: var(--radius);
  color: var(--muted); font-weight: 500;
}
.topnav__link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.topnav__link.is-active { color: var(--text); background: var(--surface-2); }

.topbar__search { flex: 1 1 280px; max-width: 480px; }
.topbar__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }

.main { flex: 1; padding-block: var(--s-5) var(--s-6); }
.main:focus { outline: none; }

.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: var(--text-sm); }
.footer__inner { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); }

.page-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s-3); margin-bottom: var(--s-4);
}
.page-header__title { font-size: var(--text-xl); }
.page-header__subtitle { color: var(--muted); margin: 2px 0 0; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.page-header__actions:empty { display: none; }

/* global htmx loading indicator (body has hx-indicator="#loading-bar") */
.loading-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--accent) 60%, transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .15s ease;
}
.loading-bar.htmx-request {
  opacity: 1;
  transition-delay: .12s; /* don't flash on fast requests */
  animation: loading-slide 1s linear infinite;
}
@keyframes loading-slide {
  from { background-position: -50% 0; }
  to { background-position: 150% 0; }
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-border: var(--border-strong);
  --btn-bg-hover: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--control-h); padding: 0 var(--s-3);
  font: 500 var(--text-md)/1 var(--font);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-border); border-radius: var(--radius);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(.5px); }
.btn--primary {
  --btn-bg: var(--accent); --btn-fg: var(--accent-contrast);
  --btn-border: var(--accent); --btn-bg-hover: var(--accent-hover);
}
.btn--secondary { box-shadow: var(--shadow-sm); }
.btn--ghost { --btn-bg: transparent; --btn-border: transparent; --btn-fg: var(--muted); }
.btn--ghost:hover { --btn-fg: var(--text); }
.btn--danger {
  --btn-bg: var(--surface); --btn-fg: var(--down-text);
  --btn-border: color-mix(in srgb, var(--down) 45%, var(--border));
  --btn-bg-hover: color-mix(in srgb, var(--down) 10%, var(--surface));
}
.btn--sm { height: var(--control-h-sm); padding: 0 var(--s-2); font-size: var(--text-sm); gap: 4px; }
.btn--sm .icon { width: 14px; height: 14px; }
.btn--icon { width: var(--control-h); padding: 0; }
.btn--icon.btn--sm { width: var(--control-h-sm); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.htmx-request { opacity: .7; cursor: progress; }

/* legacy bare <button> without .btn keeps a sane look */
button:not([class]) { font: inherit; }

/* ---------- Icon links ---------- */

.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--radius);
  color: var(--muted);
}
.icon-link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }

/* ---------- Status ---------- */

.status-dot {
  --dot: var(--unknown);
  display: inline-block; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 18%, transparent);
}
.status-dot--ok { --dot: var(--ok); }
.status-dot--warn { --dot: var(--warn); }
.status-dot--down { --dot: var(--down); animation: pulse 2s ease-in-out infinite; }
.status-dot--unknown { --dot: var(--unknown); }
@keyframes pulse {
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--dot) 8%, transparent); }
}

.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: var(--text-sm); }
.status--ok { color: var(--ok-text); }
.status--warn { color: var(--warn-text); }
.status--down { color: var(--down-text); }
.status--unknown { color: var(--unknown-text); }

/* ---------- Badges ---------- */

.badge {
  --badge: var(--muted);
  --badge-text: var(--muted);
  display: inline-flex; align-items: center; gap: 4px;
  height: 20px; padding: 0 7px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .02em; line-height: 1;
  color: var(--badge-text);
  background: color-mix(in srgb, var(--badge) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge) 28%, transparent);
  border-radius: 999px; white-space: nowrap;
}
.badge--neutral { --badge: var(--muted); --badge-text: var(--muted); }
.badge--accent { --badge: var(--accent); --badge-text: var(--accent); }
.badge--ok { --badge: var(--ok); --badge-text: var(--ok-text); }
.badge--warn { --badge: var(--warn); --badge-text: var(--warn-text); }
.badge--down { --badge: var(--down); --badge-text: var(--down-text); }
.badge--unknown { --badge: var(--unknown); --badge-text: var(--unknown-text); }

/* ---------- Cards ---------- */

.card {
  --card-edge: transparent;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.card::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--card-edge);
}
.card--ok { --card-edge: var(--ok); }
.card--warn { --card-edge: var(--warn); }
.card--down { --card-edge: var(--down); border-color: color-mix(in srgb, var(--down) 35%, var(--border)); }
.card--unknown { --card-edge: var(--unknown); }
.card__header {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-3) 0 var(--s-4);
  min-height: 40px;
}
.card__title { font-size: var(--text-md); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__meta { color: var(--muted); font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__actions { display: flex; gap: 2px; margin-left: auto; flex: none; }
.card__body { padding: var(--s-3) var(--s-4); flex: 1; }
.card__footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm); color: var(--muted);
}

/* key/value list, handy inside cards */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--s-4); margin: 0; font-size: var(--text-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; }

/* ---------- Empty state ---------- */

.empty-state {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--s-6) var(--s-4);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.empty-state__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: var(--s-3);
  border-radius: 50%; background: var(--surface-2); color: var(--muted);
}
.empty-state__icon .icon { width: 22px; height: 22px; }
.empty-state__title { font-size: var(--text-lg); }
.empty-state__text { color: var(--muted); max-width: 46ch; margin: var(--s-1) 0 0; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-4); }
.empty-state__actions:empty { display: none; }
.empty-state__actions > p { flex-basis: 100%; margin: 0; }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: var(--s-4); max-width: 560px; }
.form__actions { display: flex; gap: var(--s-2); padding-top: var(--s-1); }

.field { display: flex; flex-direction: column; gap: 5px; }
.field__label { font-weight: 500; font-size: var(--text-sm); }
.field__required { color: var(--down-text); margin-left: 2px; }
.field__help { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.field__error {
  display: flex; align-items: center; gap: 5px;
  color: var(--down-text); font-size: var(--text-sm); font-weight: 500; margin: 0;
}
.field__error .icon { width: 14px; height: 14px; }

.input {
  width: 100%; min-height: var(--control-h);
  padding: 5px 10px;
  font: var(--text-md)/1.4 var(--font); color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .12s, box-shadow .12s;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.input:hover { border-color: color-mix(in srgb, var(--text) 30%, var(--border-strong)); }
.input:focus-visible {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent);
}
.input[aria-invalid="true"] { border-color: var(--down); }
.input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--down) 25%, transparent); }
textarea.input { resize: vertical; min-height: 64px; }
select.input { appearance: auto; padding-right: 6px; }

/* search box (layout search slot) */
.search { position: relative; display: flex; align-items: center; width: 100%; }
.search > .icon { position: absolute; left: 9px; color: var(--muted); pointer-events: none; }
.search__input { padding-left: 30px; padding-right: 30px; background: var(--surface-2); border-color: var(--border); }
.search__input:focus-visible { background: var(--surface); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__kbd {
  position: absolute; right: 7px;
  padding: 0 5px; font-size: var(--text-xs); line-height: 16px;
  color: var(--muted); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  pointer-events: none;
}
.search__input:focus ~ .search__kbd { display: none; }

/* segmented control (view toggle, filters) */
.segmented {
  display: inline-flex; padding: 2px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.segmented__item {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 26px; height: 26px; padding: 0 var(--s-2);
  border-radius: var(--radius-sm);
  color: var(--muted); font-size: var(--text-sm); font-weight: 500;
}
.segmented__item:has(.icon) { padding: 0 5px; }
.segmented__item:hover { color: var(--text); text-decoration: none; }
.segmented__item.is-active { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }

/* theme toggle: show the icon for the current theme */
.theme-toggle { display: contents; }
.theme-toggle__icon { display: none; }
:root[data-theme="system"] .theme-toggle__icon--system,
:root:not([data-theme]) .theme-toggle__icon--system,
:root[data-theme="light"] .theme-toggle__icon--light,
:root[data-theme="dark"] .theme-toggle__icon--dark { display: inline-flex; }

/* ---------- Toasts ---------- */

.toasts {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 60;
  display: flex; flex-direction: column; gap: var(--s-2);
  width: min(380px, calc(100vw - 2 * var(--s-4)));
  pointer-events: none;
}
.toast {
  --toast: var(--muted);
  display: flex; align-items: flex-start; gap: var(--s-2);
  padding: 10px var(--s-2) 10px var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--toast);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in .18s ease-out;
}
.toast > .icon { color: var(--toast); margin-top: 1px; }
.toast__msg { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast__close {
  display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; margin: -2px 0;
  padding: 0; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted); cursor: pointer;
}
.toast__close:hover { color: var(--text); background: var(--surface-2); }
.toast__close .icon { width: 14px; height: 14px; }
.toast--accent { --toast: var(--accent); }
.toast--ok { --toast: var(--ok); }
.toast--warn { --toast: var(--warn); }
.toast--down { --toast: var(--down); }
.toast--unknown { --toast: var(--unknown); }
.toast.is-leaving { opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Component preview (/_components) ---------- */

.preview-toc { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin-bottom: var(--s-4); font-size: var(--text-sm); }
.preview { display: flex; flex-direction: column; gap: var(--s-4); }
.preview__section {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-4); scroll-margin-top: calc(var(--topbar-h) + var(--s-3));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.preview__title { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.preview-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.preview .empty-state { background: var(--bg); }
.toast-preview { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.toast-preview .toast { animation: none; box-shadow: var(--shadow-sm); }
.swatches { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.swatch { display: flex; align-items: center; gap: var(--s-2); }
.swatch__chip { width: 28px; height: 28px; border-radius: var(--radius); border: 1px solid var(--border-strong); flex: none; }
.swatch code { background: none; border: 0; padding: 0; }
.icon-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); list-style: none; margin: 0; padding: 0; }
.icon-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: var(--s-3) var(--s-2); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: var(--text-xs);
}
.icon-grid .icon { width: 20px; height: 20px; }
.icon-grid code { background: none; border: 0; padding: 0; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .topbar__inner { flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
  .topbar__search { order: 10; flex-basis: 100%; max-width: none; }
  .btn--collapse { width: var(--control-h); padding: 0; }
  .btn--collapse .btn__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .main { padding-block: var(--s-4); }
  .container { padding-inline: var(--s-3); }
}

@media (max-width: 420px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (min-width: 2200px) {
  :root { --content-max: 2080px; }
}

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

@media (forced-colors: active) {
  .status-dot { forced-color-adjust: none; }
  .card::before { display: none; }
}
