/* ==========================================================================
   Healthcare Admin Companion — styles.css
   Theming via data-theme / data-contrast / data-motion on <html>
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --c-bg:          #f0f4f8;
  --c-surface:     #ffffff;
  --c-surface-2:   #f7f9fc;
  --c-border:      #d1d9e0;
  --c-text:        #1a2233;
  --c-text-muted:  #4a5568;
  --c-primary:     #1a4f8a;
  --c-primary-h:   #153e6e;
  --c-primary-fg:  #ffffff;
  --c-accent:      #0e7c5a;
  --c-danger:      #9b1c1c;
  --c-danger-bg:   #fef2f2;
  --c-warn:        #7c5e00;
  --c-warn-bg:     #fffbea;
  --c-success:     #1a5c2a;
  --c-success-bg:  #d4edda;
  --c-focus:       #2563eb;
  --c-overlay:     rgba(0,0,0,.45);

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --shadow: 0 1px 4px rgba(0,0,0,.10), 0 0 1px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.14);
  --transition: 0.18s ease;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dark theme */
[data-theme="dark"] {
  --c-bg:         #0f1723;
  --c-surface:    #1c2a3a;
  --c-surface-2:  #243347;
  --c-border:     #2e4060;
  --c-text:       #e8f0fb;
  --c-text-muted: #8ba4c0;
  --c-primary:    #4d8fcc;
  --c-primary-h:  #6aaee0;
  --c-primary-fg: #ffffff;
  --c-accent:     #3db884;
  --c-danger:     #f87171;
  --c-danger-bg:  #2d1616;
  --c-warn:       #fbbf24;
  --c-warn-bg:    #2d2208;
  --c-success:    #6ee7a0;
  --c-success-bg: #0f2d1a;
  --c-focus:      #60a5fa;
  --shadow: 0 1px 4px rgba(0,0,0,.40), 0 0 1px rgba(0,0,0,.20);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.50);
}

/* High contrast */
[data-contrast="high"] {
  --c-border:     #000;
  --c-text:       #000;
  --c-text-muted: #222;
  --c-primary:    #00008b;
  --c-focus:      #000;
}
[data-contrast="high"][data-theme="dark"] {
  --c-border:     #fff;
  --c-text:       #fff;
  --c-text-muted: #ddd;
  --c-primary:    #7ec8e3;
  --c-focus:      #fff;
}

/* Reduced motion */
[data-motion="reduced"] *,
[data-motion="reduced"] *::before,
[data-motion="reduced"] *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}

/* ---------- Fonts ---------- */
[data-font="atkinson"] { font-family: 'Atkinson Hyperlegible', var(--font-body); }
[data-font="lexend"]   { font-family: 'Lexend', var(--font-body); }

/* Font size via zoom on body (not html font-size) */
[data-fontsize="small"]  body { zoom: 0.875; }
[data-fontsize="large"]  body { zoom: 1.15; }
[data-fontsize="xlarge"] body { zoom: 1.30; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--c-primary); color: var(--c-primary-fg);
  padding: .5rem 1rem; font-weight: 700; text-decoration: none;
  z-index: 9999; border-radius: 0 0 var(--r-sm) 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- Screen reader only ---------- */
.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;
}

/* ---------- Top bar ---------- */
#top-bar {
  background: var(--c-primary);
  color: var(--c-primary-fg);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1rem;
  min-height: 52px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
}
#top-bar .app-title {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#top-bar .top-actions {
  display: flex; gap: .4rem; align-items: center; flex-shrink: 0;
}
.top-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--r-sm);
  color: #fff;
  padding: .3rem .6rem;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.top-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }
.top-btn[aria-pressed="true"] { background: rgba(255,255,255,.22); border-color: #fff; }

/* ---------- Layout ---------- */
#app-shell {
  display: flex;
  flex: 1;
  position: relative;
}

/* Side nav (desktop) */
#side-nav {
  width: 220px;
  flex-shrink: 0;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  padding: 1rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  position: sticky;
  top: 52px;
  height: calc(100dvh - 52px);
  overflow-y: auto;
}
.nav-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .85rem;
  border-radius: var(--r-md);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
  min-height: 44px;
  transition: background var(--transition), color var(--transition);
}
.nav-item:hover { background: var(--c-bg); }
.nav-item[aria-current="page"], .nav-item.active {
  background: #dbeafe;
  color: var(--c-primary);
  font-weight: 700;
}
[data-theme="dark"] .nav-item[aria-current="page"],
[data-theme="dark"] .nav-item.active {
  background: rgba(77,143,204,.18);
}
.nav-item .nav-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Main content */
#main-content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.25rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Bottom tab bar (mobile) */
#bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}
#bottom-nav .tab-list {
  display: flex;
  list-style: none;
}
#bottom-nav .tab-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem;
  padding: .45rem .25rem;
  min-height: 60px;
  border: none;
  background: transparent;
  color: var(--c-text-muted);
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition);
}
#bottom-nav .tab-btn .tab-icon { font-size: 1.3rem; }
#bottom-nav .tab-btn.active { color: var(--c-primary); }

@media (max-width: 640px) {
  #side-nav    { display: none; }
  #bottom-nav  { display: block; }
  #main-content { padding-bottom: 80px; padding-left: .75rem; padding-right: .75rem; }
}

/* ---------- Page headers ---------- */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.page-header h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--c-primary); color: var(--c-primary-fg); border-color: var(--c-primary); }
.btn-primary:hover:not(:disabled) { background: var(--c-primary-h); border-color: var(--c-primary-h); }
.btn-secondary { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border); }
.btn-secondary:hover:not(:disabled) { background: var(--c-bg); }
.btn-danger { background: var(--c-danger); color: #fff; border-color: var(--c-danger); }
.btn-danger:hover:not(:disabled) { opacity: .85; }
.btn-ghost { background: transparent; color: var(--c-text-muted); border-color: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--c-bg); }
.btn-sm { padding: .3rem .75rem; font-size: .875rem; min-height: 36px; }
.btn-full { width: 100%; justify-content: center; }

/* Touch-safe locking */
.interaction-locked { pointer-events: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: .75rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; flex-wrap: wrap; }
.card-title { font-size: 1rem; font-weight: 700; }

/* ---------- Lists ---------- */
.item-list { display: flex; flex-direction: column; gap: .5rem; }
.item-row {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .875rem 1rem;
  display: flex; align-items: flex-start; gap: .75rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  text-align: left; width: 100%; border: 1px solid var(--c-border);
}
.item-row:hover { background: var(--c-surface-2); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.item-row-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.item-row-body { flex: 1; min-width: 0; }
.item-row-title { font-weight: 700; font-size: .9375rem; }
.item-row-sub   { font-size: .8125rem; color: var(--c-text-muted); margin-top: .15rem; }
.item-row-meta  { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .3rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .15rem .55rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
}
.badge-blue    { background: #dbeafe; color: #1e40af; }
.badge-green   { background: var(--c-success-bg); color: var(--c-success); }
.badge-red     { background: var(--c-danger-bg); color: var(--c-danger); }
.badge-amber   { background: var(--c-warn-bg); color: var(--c-warn); }
.badge-gray    { background: var(--c-bg); color: var(--c-text-muted); }
[data-theme="dark"] .badge-blue  { background: rgba(77,143,204,.2); color: #93c5fd; }
[data-theme="dark"] .badge-green { background: rgba(61,184,132,.15); color: #6ee7a0; }

/* ---------- Forms ---------- */
.form-section { display: flex; flex-direction: column; gap: 1rem; }
.form-group   { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-weight: 600; font-size: .9375rem; }
.form-group .hint { font-size: .8125rem; color: var(--c-text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="date"], input[type="tel"],
input[type="url"], input[type="email"], input[type="password"],
input[type="number"], select, textarea {
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 1rem;
  transition: border-color var(--transition);
  min-height: 44px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-focus);
}
.field-error { color: var(--c-danger); font-size: .875rem; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--c-danger); }
.required { color: var(--c-danger); }
.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
textarea { resize: vertical; min-height: 80px; }

/* ---------- Alerts ---------- */
.alert {
  padding: .875rem 1.1rem;
  border-left: 4px solid;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
  font-size: .9375rem;
}
.alert-info    { background: #eff6ff; border-color: var(--c-primary); color: #1e3a5f; }
.alert-warn    { background: var(--c-warn-bg); border-color: #d97706; color: var(--c-warn); }
.alert-success { background: var(--c-success-bg); border-color: var(--c-accent); color: var(--c-success); }
.alert-danger  { background: var(--c-danger-bg); border-color: var(--c-danger); color: var(--c-danger); }
[data-theme="dark"] .alert-info { background: rgba(26,79,138,.2); color: #93c5fd; }

/* ---------- Toast ---------- */
#toast-host {
  position: fixed;
  bottom: 80px; right: 1rem;
  z-index: 9000;
  display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
}
@media (min-width: 641px) { #toast-host { bottom: 1.5rem; } }
.toast {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  max-width: 320px;
  pointer-events: auto;
  animation: toast-in .2s ease;
}
.toast-success { border-left-color: var(--c-accent); }
.toast-error   { border-left-color: var(--c-danger); }
@keyframes toast-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: var(--c-overlay);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: fade-in .15s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 540px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 1.75rem;
  animation: modal-in .18s ease;
}
@keyframes modal-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.modal-title  { font-size: 1.2rem; font-weight: 700; }
.modal-close  {
  background: transparent; border: none; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--c-text-muted);
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--c-bg); }
.modal-footer { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.5rem; flex-wrap: wrap; }

/* ---------- Settings panel ---------- */
.settings-section { margin-bottom: 1.5rem; }
.settings-section h2 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--c-border); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.settings-row label { font-size: .9375rem; font-weight: 500; }
.settings-control select { width: auto; min-width: 140px; }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; border-radius: 26px;
  background: var(--c-border); transition: background .2s;
  cursor: pointer;
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; border-radius: 50%;
  top: 3px; left: 3px;
  background: #fff; transition: transform .2s;
}
.toggle input:checked + .toggle-slider { background: var(--c-primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle input:focus-visible + .toggle-slider { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ---------- Refill alert ---------- */
.refill-alert { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; background: var(--c-warn-bg); border: 1px solid #d97706; border-radius: var(--r-md); font-size: .875rem; color: var(--c-warn); }
.refill-alert-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ---------- Anxiety mode — hidden amounts ---------- */
.anxiety-value { display: inline; }
.anxiety-hidden {
  display: none;
  background: var(--c-border);
  color: transparent;
  border-radius: var(--r-sm);
  padding: 0 .4rem;
  cursor: pointer;
  user-select: none;
}
body.anxiety-mode .anxiety-value  { display: none; }
body.anxiety-mode .anxiety-hidden { display: inline; }

/* ---------- Detail view ---------- */
.detail-header { margin-bottom: 1.25rem; }
.detail-title  { font-size: 1.3rem; font-weight: 700; }
.detail-sub    { font-size: .9rem; color: var(--c-text-muted); margin-top: .25rem; }
.detail-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin-bottom: 1rem; }
@media (max-width: 480px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-field  { display: flex; flex-direction: column; gap: .1rem; }
.detail-label  { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted); font-weight: 700; }
.detail-value  { font-size: .9375rem; word-break: break-word; }

/* ---------- Brief / print preview ---------- */
#brief-preview {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}
#brief-preview h2 { font-size: 1rem; border-bottom: 1px solid var(--c-border); padding-bottom: .4rem; margin: 1rem 0 .5rem; }

/* ---------- Document upload ---------- */
.drop-zone {
  border: 2px dashed var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--c-text-muted);
  background: var(--c-surface-2);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--c-primary); background: #eff6ff; }
[data-theme="dark"] .drop-zone:hover,
[data-theme="dark"] .drop-zone.drag-over { background: rgba(26,79,138,.15); }
.drop-zone input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* ---------- Share passphrase ---------- */
.passphrase-strength { height: 4px; border-radius: 2px; background: var(--c-border); margin-top: .4rem; overflow: hidden; }
.passphrase-strength-bar { height: 100%; border-radius: 2px; transition: width .3s, background .3s; }

/* ---------- Read-only shared view banner ---------- */
.shared-banner {
  background: var(--c-warn-bg);
  border-bottom: 2px solid #d97706;
  padding: .6rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-warn);
  text-align: center;
  position: sticky; top: 52px; z-index: 190;
}

/* ---------- Welcome dialog ---------- */
.welcome-paths { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.welcome-path-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color var(--transition), background var(--transition);
}
.welcome-path-btn:hover { border-color: var(--c-primary); background: #eff6ff; }
[data-theme="dark"] .welcome-path-btn:hover { background: rgba(26,79,138,.15); }
.welcome-path-icon { font-size: 2rem; flex-shrink: 0; }
.welcome-path-title { font-weight: 700; font-size: .9375rem; }
.welcome-path-sub   { font-size: .8125rem; color: var(--c-text-muted); }
.privacy-promise {
  margin-top: 1.25rem; padding: .75rem 1rem;
  background: var(--c-success-bg); border-radius: var(--r-md);
  font-size: .8125rem; color: var(--c-success); font-weight: 600;
  border: 1px solid #86efac;
}

/* ---------- Voice input indicator ---------- */
.voice-btn {
  background: transparent; border: 1px solid var(--c-border);
  border-radius: var(--r-sm); padding: .3rem .5rem;
  color: var(--c-text-muted); cursor: pointer; min-width: 36px; min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
}
.voice-btn.listening { color: var(--c-danger); border-color: var(--c-danger); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--c-text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: .75rem; }
.empty-state h2 { font-size: 1.1rem; color: var(--c-text); margin-bottom: .5rem; }
.empty-state p  { margin-bottom: 1.25rem; font-size: .9375rem; }

/* ---------- Demo data banner ---------- */
.demo-banner {
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: var(--r-md); padding: .75rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem; font-size: .875rem; color: #1e40af;
  flex-wrap: wrap;
}
[data-theme="dark"] .demo-banner { background: rgba(26,79,138,.2); border-color: rgba(77,143,204,.3); color: #93c5fd; }

/* ---------- Step indicator (share flow) ---------- */
.step-indicator { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); }
.step-dot.active { background: var(--c-primary); transform: scale(1.3); }
.step-dot.done   { background: var(--c-accent); }

/* ---------- Separator ---------- */
.sep { border: none; border-top: 1px solid var(--c-border); margin: 1.25rem 0; }

/* ---------- Utilities ---------- */
.text-muted  { color: var(--c-text-muted); }
.text-danger { color: var(--c-danger); }
.text-success { color: var(--c-success); }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .75rem; }
.font-bold   { font-weight: 700; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.flex { display: flex; }
.gap-2 { gap: .5rem; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
