/* ===========================================================================
   PassVault design system
   ---------------------------------------------------------------------------
   Everything below is driven by tokens, so the same decision is never made
   twice (C.R.A.P. "repetition" / system thinking). Colour pairs are checked
   against WCAG AA by an automated test before they land here.
   =========================================================================== */

:root {
  /* ---- spacing: a strict 4px grid ------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* ---- type scale ----------------------------------------------------- */
  --text-xs: 0.75rem;     /* 12px - badges, meta */
  --text-sm: 0.8125rem;   /* 13px - helper text */
  --text-base: 0.9375rem; /* 15px - body */
  --text-md: 1rem;        /* 16px - emphasised body */
  --text-lg: 1.125rem;    /* 18px - section titles */
  --text-xl: 1.375rem;    /* 22px - view titles */
  --text-2xl: 1.75rem;    /* 28px - page title */

  --leading-tight: 1.25;
  --leading-normal: 1.55;

  --weight-normal: 400;
  --weight-medium: 550;
  --weight-bold: 700;

  /* ---- shape and depth ------------------------------------------------ */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-2: 0 8px 24px rgba(16, 24, 40, 0.14);

  /* ---- minimum comfortable hit area (Fitts's law, WCAG 2.5.8) --------- */
  --target: 44px;
  --target-compact: 32px;

  --duration: 140ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);

  --content-max: 1160px;

  /* ---- colour roles: light -------------------------------------------- */
  color-scheme: light dark;

  --page: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-3: #e3e9f2;

  --border: #d5dde9;         /* decorative separators */
  --border-strong: #7d8899;  /* control boundaries - meets 3:1 */

  --text: #121a24;
  --text-muted: #55627a;
  --text-subtle: #647085;

  --accent: #1f5fa8;
  --accent-hover: #184c88;
  --accent-fg: #ffffff;
  --accent-surface: #e8f0fb;

  --success: #1c6b34;
  --success-surface: #eaf5ec;
  --warning: #8a5300;
  --warning-surface: #fff5e3;
  --danger: #a32724;
  --danger-hover: #8a1f1d;
  --danger-surface: #fdeeed;
  --danger-fg: #ffffff;

  --backdrop: rgba(18, 26, 36, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0e1319;
    --surface: #151b23;
    --surface-2: #1d252f;
    --surface-3: #27313d;

    --border: #2f3a49;
    --border-strong: #687687;

    --text: #e9eef5;
    --text-muted: #a8b5c7;
    --text-subtle: #8e9db1;

    --accent: #7fb2f0;
    --accent-hover: #9cc4f5;
    --accent-fg: #06121f;
    --accent-surface: #17293f;

    --success: #7fc98a;
    --success-surface: #16241a;
    --warning: #e8b563;
    --warning-surface: #2a2114;
    --danger: #f28d8a;
    --danger-hover: #f7a5a2;
    --danger-surface: #2b1a1a;
    --danger-fg: #1a0d0d;

    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 10px 28px rgba(0, 0, 0, 0.55);
    --backdrop: rgba(0, 0, 0, 0.66);
  }
}

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

/* our own layout rules use flex/grid, which would otherwise beat the
   browser's default rule for the [hidden] attribute */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

h1, h2, h3 { margin: 0; line-height: var(--leading-tight); font-weight: var(--weight-bold); }
h1 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
h2 { font-size: var(--text-xl); letter-spacing: -0.005em; }
h3 { font-size: var(--text-lg); }
p { margin: 0; }

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

/* one visible, high-contrast focus indicator everywhere (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Windows High Contrast / forced colours: keep meaning, drop decoration */
@media (forced-colors: active) {
  .badge, .card, .field-control, .btn { border: 1px solid CanvasText; }
  .meter-fill { background: Highlight; }
}

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

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: var(--space-3); }

.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.spacer { flex: 1 1 auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* spacing utilities - the CSP forbids inline style attributes, so nudges
   live here rather than in the markup */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }

.fieldset-plain { border: 0; padding: 0; margin: 0; }
.range {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--accent);
}

/* layout primitives */
.stack > * + * { margin-top: var(--space-4); }
.stack-sm > * + * { margin-top: var(--space-2); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.cluster-end { justify-content: flex-end; }

/* ===========================================================================
   app shell
   =========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: var(--text-xs);
}
.who {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

main { max-width: var(--content-max); margin: 0 auto; padding: var(--space-5) var(--space-4) var(--space-12); }

.view-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.app-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.footer-version {
  font-variant-numeric: tabular-nums;
  padding: 0 var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text);
  font-weight: var(--weight-medium);
}

/* ===========================================================================
   card / surface
   =========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-1);
}
.card-tight { padding: var(--space-4); }

.section-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

hr.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0;
}

/* ===========================================================================
   buttons - one system, four intents
   =========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--target);
  padding: 0 var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn:hover:not(:disabled) { background: var(--surface-2); }
.btn:active:not(:disabled) { background: var(--surface-3); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.btn-danger:hover:not(:disabled) { background: var(--danger-surface); }

.btn-quiet { border-color: transparent; background: transparent; }
.btn-quiet:hover:not(:disabled) { background: var(--surface-2); }

.btn-sm { min-height: var(--target-compact); padding: 0 var(--space-3); font-size: var(--text-sm); }

/* inline SVG icons inherit the button's colour, so they stay correct in dark
   mode and in forced-colours mode without a second rule */
.icon { flex: none; color: currentColor; }
.btn-block { width: 100%; }

.kbd-hint {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-1);
  margin-left: var(--space-1);
}
.btn-primary .kbd-hint { color: inherit; border-color: currentColor; opacity: 0.8; }

kbd {
  font-family: inherit;
  font-size: var(--text-xs);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  padding: 1px var(--space-2);
  white-space: nowrap;
}

/* ===========================================================================
   form fields - label, control, hint and error are one unit (proximity)
   =========================================================================== */
.field { display: block; }
.field + .field { margin-top: var(--space-4); }

.field-label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
}
.field-optional { font-weight: var(--weight-normal); color: var(--text-subtle); }

.field-control {
  display: block;
  width: 100%;
  min-height: var(--target);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
textarea.field-control { min-height: 88px; resize: vertical; line-height: var(--leading-normal); }
.field-control::placeholder { color: var(--text-subtle); }
.field-control:disabled { background: var(--surface-2); cursor: not-allowed; }

.field-hint { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--text-muted); }

.field-error {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--danger);
  font-weight: var(--weight-medium);
}
.field-error::before { content: "!"; font-weight: var(--weight-bold); }
.field-invalid .field-control { border-color: var(--danger); border-width: 2px; }

.field-row { display: flex; gap: var(--space-2); align-items: flex-start; }
.field-row .field-control { flex: 1 1 auto; }

.check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target);
  cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }

/* ===========================================================================
   status feedback
   =========================================================================== */
.alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: var(--text-base);
}
.alert-error { background: var(--danger-surface); border-color: var(--danger); color: var(--danger); }
.alert-warn { background: var(--warning-surface); border-color: var(--warning); color: var(--warning); }
.alert-info { background: var(--accent-surface); border-color: var(--accent); color: var(--accent); }
.alert-icon { font-weight: var(--weight-bold); flex: none; }

/* a form-level message sits between a control and the submit button, so it
   needs the same gap as a field - otherwise the focus ring of the control
   above overlaps it */
.form-alert { margin-top: var(--space-4); }

/* status is never colour alone: every badge carries a glyph and a word */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}
.badge-ok { color: var(--success); border-color: var(--success); background: var(--success-surface); }
.badge-due-soon { color: var(--warning); border-color: var(--warning); background: var(--warning-surface); }
.badge-overdue { color: var(--danger); border-color: var(--danger); background: var(--danger-surface); }
.badge-glyph { line-height: 1; }

.meter {
  display: block;
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--success);
  transition: width var(--duration) var(--ease);
}
.meter-fill.due-soon { background: var(--warning); }
.meter-fill.overdue { background: var(--danger); }
.meter-fill.strength-weak { background: var(--danger); }
.meter-fill.strength-fair { background: var(--warning); }
.meter-fill.strength-good, .meter-fill.strength-strong { background: var(--success); }

/* ===========================================================================
   renewal reminders (Von Restorff: the urgent thing looks different)
   =========================================================================== */
.renewals {
  border: 1px solid var(--warning);
  background: var(--warning-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}
.renewals.has-overdue { border-color: var(--danger); background: var(--danger-surface); }
.renewals-head { display: flex; align-items: center; gap: var(--space-3); }
.renewals-head h2 { font-size: var(--text-lg); }

.renewals-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-2);
}
.renewal-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  width: 100%;
  min-height: var(--target);
  padding: var(--space-3);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.renewal-button:hover { background: var(--surface-2); }
.renewal-top { display: flex; align-items: center; gap: var(--space-2); }
.renewal-title { font-weight: var(--weight-bold); flex: 1 1 auto; overflow-wrap: anywhere; }
.renewal-meta { font-size: var(--text-sm); color: var(--text-muted); }

/* ===========================================================================
   vault: toolbar, list, detail
   =========================================================================== */
.toolbar { display: flex; gap: var(--space-3); align-items: flex-end; }
.toolbar .field { flex: 1 1 320px; }

.result-count { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }

.split {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  margin-top: var(--space-3);
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.entry-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }

.entry-button {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
  min-height: var(--target);
  padding: var(--space-3);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.entry-button:hover { background: var(--surface-2); }
.entry-button[aria-current="true"] {
  border-color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-surface);
}
.entry-title-row { display: flex; align-items: center; gap: var(--space-2); }
.entry-title { font-weight: var(--weight-medium); flex: 1 1 auto; overflow-wrap: anywhere; }
.entry-sub { font-size: var(--text-sm); color: var(--text-muted); overflow-wrap: anywhere; }

.empty-state {
  padding: var(--space-8) var(--space-4);
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.detail-head { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); }
.detail-head h2 { overflow-wrap: anywhere; }

.detail-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 560px) {
  .detail-row { grid-template-columns: 1fr; gap: var(--space-2); }
}
.detail-label { font-size: var(--text-sm); color: var(--text-muted); }
.detail-value { overflow-wrap: anywhere; min-width: 0; }
.detail-actions { display: flex; gap: var(--space-2); }
.detail-notes { white-space: pre-wrap; }

/* ===========================================================================
   dialogs (figure/ground separation)
   =========================================================================== */
dialog {
  width: min(520px, calc(100vw - var(--space-8)));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-2);
}
dialog::backdrop { background: var(--backdrop); }
.dialog-body { padding: var(--space-5); overflow-y: auto; max-height: 70vh; }
.dialog-head { margin-bottom: var(--space-4); }
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.generated {
  margin: var(--space-2) 0;
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  overflow-wrap: anywhere;
}

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 var(--space-4); }

/* disclosure: rarely-needed controls stay out of the way (Hick's law) */
details.disclosure { border-top: 1px solid var(--border); margin-top: var(--space-4); padding-top: var(--space-3); }
details.disclosure > summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target-compact);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--accent);
  list-style: none;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::before { content: "\25B8"; transition: transform var(--duration) var(--ease); }
details.disclosure[open] > summary::before { transform: rotate(90deg); }
details.disclosure > .disclosure-body { padding-top: var(--space-3); }

/* ===========================================================================
   auth
   =========================================================================== */
.auth-shell { display: grid; place-items: center; min-height: 78vh; padding: var(--space-4); }
.auth-card { width: min(440px, 100%); }
.auth-lede { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }

.tabs {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}
.tab {
  flex: 1 1 0;
  min-height: var(--target-compact);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: var(--weight-medium);
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

.or-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  color: var(--text-subtle);
  font-size: var(--text-sm);
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid var(--border);
}

/* ===========================================================================
   toast / live status
   =========================================================================== */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: min(460px, calc(100vw - var(--space-8)));
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.toast-text { flex: 1 1 auto; }
.toast-danger { border-color: var(--danger); }

.loading-row {
  height: 62px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ===========================================================================
   settings + help
   =========================================================================== */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.settings-grid .field + .field { margin-top: 0; }

.shortcut-list { list-style: none; margin: 0; padding: 0; }
.shortcut-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border);
}
.shortcut-list li:first-child { border-top: 0; }
.shortcut-keys { flex: none; min-width: 110px; }

.fact-list { margin: var(--space-2) 0 0; padding-left: var(--space-5); color: var(--text-muted); font-size: var(--text-sm); }
.fact-list li + li { margin-top: var(--space-1); }

/* ===========================================================================
   installer (install.php shares these tokens)
   =========================================================================== */
.install { max-width: 560px; margin: var(--space-10) auto; }
.install ol { padding-left: var(--space-5); }
.install li + li { margin-top: var(--space-2); }
.ok { color: var(--success); }
.warn { color: var(--danger); }
.error { color: var(--danger); }
.link { color: var(--accent); }
