:root {
  --color-primary:      #77293D;
  --color-primary-dark: #5C1F2E;
  --color-accent:       #2B3E5E;
  --color-bg:           #FAF8F3;
  --color-surface:      #FFFFFF;
  --color-border:       #DDD8D0;
  --color-border-light: #EDE9E2;
  --color-text:         #1C1414;
  --color-text-muted:   #6B5C5F;
  --color-text-subtle:  #9A8E90;
  --color-success:      #2D6A4F;
  --color-success-bg:   #EDF7F2;
  --color-error:        #A63232;
  --color-error-dark:   #8C2929;
  --color-error-bg:     #FDF0F0;
  --color-info-bg:      #EEF2F8;
  --color-surface-alt:  #F5F2EC;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
}

/* Base */
body {
  font-family: var(--font-body);
  max-width: 480px; margin: 12px auto 24px; padding: 0 20px;
  color: var(--color-text); line-height: 1.6;
  background: var(--color-bg);
}
h1 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; line-height: 1.15;
  color: var(--color-primary); letter-spacing: -0.01em;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--color-primary); margin-top: 24px;
}
p { color: var(--color-text-muted); margin-bottom: 12px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.875rem; color: var(--color-text); }

input[type=text], select {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--color-border); border-radius: 6px;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--color-text); background: var(--color-surface);
  box-sizing: border-box; margin-bottom: 12px;
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
}
input[type=text]:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(119,41,61,0.12);
}
input::placeholder { color: var(--color-text-subtle); }

/* OTP boxes */
.otp-boxes { display: flex; gap: 8px; margin-bottom: 12px; }
.otp-boxes input {
  flex: 1; min-width: 0;
  height: 52px; padding: 14px 0;
  text-align: center;
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; line-height: 1;
  border: 1px solid var(--color-border); border-radius: 6px; margin-bottom: 0;
  color: var(--color-primary); background: var(--color-surface);
}
.otp-boxes input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(119,41,61,0.12);
  outline: none;
}

/* Buttons */
button, .btn {
  background: var(--color-primary); color: white; border: none;
  padding: 13px 24px; border-radius: 0;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; width: 100%; margin-bottom: 8px;
  text-decoration: none; display: inline-block;
  text-align: center; box-sizing: border-box;
  transition: background 150ms;
}
button:hover, .btn:hover { background: var(--color-primary-dark); }
button:disabled { background: var(--color-text-subtle); cursor: not-allowed; }
.btn-danger { background: var(--color-error); }
.btn-danger:hover { background: var(--color-error-dark); }
.btn-secondary { background: var(--color-surface); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.btn-secondary:hover { background: var(--color-surface-alt); }

/* Groups section helpers */
.groups-schedule { font-size: 0.875rem; color: var(--color-text-muted); margin: -4px 0 16px 0; }
.groups-help-details { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 8px; margin-bottom: 20px; }
.groups-help-details summary { cursor: pointer; color: var(--color-text-muted); }
.groups-help-details p { margin: 4px 0 0 0; }

/* Group list */
.group-list { list-style: none; padding: 0; margin: 0 0 16px 0; }
.group-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--color-border-light);
}
.group-list li:last-child { border-bottom: none; }
.badge-sub   { background: var(--color-primary); color: white; font-size: 0.75rem; padding: 2px 10px; border-radius: 9999px; font-weight: 600; }
.badge-unsub { background: var(--color-border); color: var(--color-text-muted); font-size: 0.75rem; padding: 2px 10px; border-radius: 9999px; }

/* Messages */
.msg-ok   { color: var(--color-success); background: var(--color-success-bg); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; border-left: 3px solid var(--color-success); }
.msg-err  { color: var(--color-error); background: var(--color-error-bg); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; border-left: 3px solid var(--color-error); }
.msg-info { color: var(--color-accent); background: var(--color-info-bg); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; border-left: 3px solid var(--color-accent); }
.hint { color: var(--color-text-subtle); font-size: 0.85rem; margin-top: -8px; margin-bottom: 12px; }

/* OTP section */
#otp-section { display: none; }

/* Utility */
.hidden { display: none; }
.msg-err--spaced { margin-bottom: 20px; }

/* Phone field: integrated prefix + input */
.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  margin-bottom: 12px;
  transition: border-color 150ms, box-shadow 150ms;
}
.phone-field:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(119,41,61,0.12);
}
.prefix-area {
  display: flex;
  align-items: center;
  background: var(--color-surface-alt);
  border-right: 1px solid var(--color-border);
  border-radius: 6px 0 0 6px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.prefix-display {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 12px;
  pointer-events: none;
}
.prefix-display .fi { font-size: 1.15em; border-radius: 2px; }
.prefix-display .dial-code { font-weight: 600; font-size: 1rem; color: var(--color-text); }
.prefix-arrow {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--color-text-subtle);
  margin-left: 2px;
}
.prefix-area select {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font-size: 1rem;
}
.phone-field input[type=tel] {
  flex: 1; border: none; outline: none;
  padding: 11px 12px;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--color-text); background: transparent;
  min-width: 0; border-radius: 0 6px 6px 0;
}
.phone-field input::placeholder { color: var(--color-text-subtle); }

/* Turnstile — use visibility:hidden not display:none so the iframe can initialise */
.turnstile-wrapper { margin-top: 0; margin-bottom: 12px; width: 100%; }
.turnstile-wrapper.hidden { display: block; visibility: hidden; height: 0; margin: 0; overflow: hidden; }

/* Screen-reader only (a11y) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
}

/* Dynamic states */
.otp-delivered { text-align: center; }
.verify-status { text-align: center; color: var(--color-text-subtle); font-size: 0.9rem; }
.save-toast { background: var(--color-success-bg); color: var(--color-success); padding: 8px 12px; border-radius: 6px; font-size: 0.875rem; text-align: center; margin-bottom: 8px; }

/* Utility spacing */
.mt-top { margin-top: 16px; }
.btn--top { margin-top: 8px; }

/* Admin tables */
.admin-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem; margin-bottom: 24px;
}
.admin-table__header { text-align: left; border-bottom: 2px solid var(--color-border); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-subtle); }
.admin-table__row { border-bottom: 1px solid var(--color-border-light); }
.admin-table__cell { padding: 8px 0; }
.admin-table__cell--pad { padding: 8px 4px; }
.admin-table__cell--sm { padding: 8px 4px; font-size: 0.85rem; color: var(--color-text-subtle); font-variant-numeric: tabular-nums; }

/* Admin misc */
.admin-subtitle { color: var(--color-text-subtle); font-size: 0.85rem; }
.badge-group { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.text-muted { color: var(--color-text-muted); }
.form-inline { display: inline; }
.btn--compact { width: auto; padding: 4px 10px; font-size: 0.8rem; }

/* Responsive table wrapper */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Admin: wider layout for data-dense pages ── */
body:has(.tabs) { max-width: 720px; }

/* Tab navigation */
.tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 24px;
}
.tab {
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 150ms, border-color 150ms;
  position: relative;
}
.tab:hover { color: var(--color-text); }
.tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.tab--alert::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  position: absolute;
  top: 8px; right: 6px;
}

/* Traffic light */
.traffic-light {
  display: flex; gap: 12px;
  margin-bottom: 24px;
}
.tl-card {
  flex: 1;
  padding: 16px 12px;
  border-radius: 6px;
  text-align: center;
}
.tl-card--green { background: var(--color-success-bg); border: 1px solid var(--color-success); }
.tl-card--amber { background: #fff8e1; border: 1px solid #7B5E00; }
.tl-card--red { background: var(--color-error-bg); border: 1px solid var(--color-error); }
.tl-count {
  display: block;
  font-size: 1.75rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tl-card--green .tl-count { color: var(--color-success); }
.tl-card--amber .tl-count { color: #7B5E00; }
.tl-card--red .tl-count { color: var(--color-error); }
.tl-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 4px; display: block;
}

/* System status */
.sys-status {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem; color: var(--color-text-muted);
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.status-dot--ok { background: var(--color-success); }
.status-dot--err { background: var(--color-error); }
.sys-status__text--err { color: var(--color-error); }
.sys-status__meta { color: var(--color-text-subtle); font-size: 0.85rem; }

/* Bar chart */
.bar-chart {
  display: flex; gap: 8px; align-items: flex-end;
  height: 140px;
  margin-bottom: 24px;
}
.bar-col {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  height: 100%;
}
.bar {
  width: 100%;
  background: var(--color-accent);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  position: relative;
}
.bar-label {
  position: absolute; top: -18px;
  left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 600;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.bar-day {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* Filter pills */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.pill {
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none;
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: background 150ms, color 150ms;
  min-height: 44px;
  display: flex; align-items: center;
}
.pill:hover { background: var(--color-border-light); }
.pill--active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Severity badges */
.sev-badge {
  font-size: 0.7rem; font-weight: 600;
  padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.sev-badge--info { background: #e3edf7; color: #2B3E5E; }
.sev-badge--warn { background: #fff8e1; color: #7B5E00; }
.sev-badge--error { background: #fce4e4; color: #A63232; }
.sev-badge--critical { background: #fce4e4; color: #A63232; font-weight: 700; }

/* ── Site header: h1 left, logo right ── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.site-header h1 { margin-bottom: 0; line-height: 1; }
.site-logo {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-primary);
  border-radius: 0;
  margin-top: 19px;
}

/* ── Section divider ── */
.section-divider {
  width: 100%; height: 1px;
  background: var(--color-border-light);
  margin: 24px 0;
}

/* ── iPhone WhatsApp mockup ── */
.wa-phone-frame {
  max-width: 320px;
  margin: 0 auto 16px;
  background: transparent;
  border: 8px solid #1A1A1A;
  border-radius: 36px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateZ(0);
}
.wa-phone-screen {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}
.wa-phone-island {
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}
.wa-phone-statusbar {
  background: #FFFFFF;
  padding: 6px 16px 2px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  font-size: 0.6rem; font-weight: 600;
  color: #000;
}
.wa-phone-statusbar-time { margin-left: 4px; }
.wa-phone-statusbar-icons { display: flex; gap: 2px; align-items: center; margin-right: 4px; }
.wa-phone-statusbar-icons svg { display: block; }
.wa-phone-navbar {
  background: #FFFFFF;
  padding: 4px 10px 6px;
  display: flex; align-items: center; gap: 6px;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  border-bottom: 0.5px solid #C6C6C8;
}
.wa-phone-navbar-back {
  color: #007AFF;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 2px;
}
.wa-phone-navbar-back svg { width: 10px; height: 16px; }
.wa-phone-navbar-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #FAF8F3;
  border: 1px solid #E0DCD5;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.5rem; font-weight: 700; color: #77293D;
  flex-shrink: 0;
}
.wa-phone-navbar-info { flex: 1; }
.wa-phone-navbar-name {
  font-weight: 600; font-size: 0.85rem;
  color: #000; display: block; line-height: 1.2;
}
.wa-phone-navbar-status {
  font-size: 0.6rem; color: #3C3C43; display: block;
}
.wa-phone-navbar-icons { display: flex; gap: 14px; align-items: center; }
.wa-phone-navbar-icons svg { display: block; }
.wa-phone-chat {
  background: #EFEAE2;
  padding: 8px 60px 8px 6px;
}
.wa-bubble {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 6px 10px 4px;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.06);
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  position: relative;
}
.wa-bubble-text {
  font-size: 0.7rem;
  color: #111B21;
  line-height: 1.35;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.wa-bubble-text p { color: #111B21; margin-bottom: 2px; }
.wa-bubble-text p:last-child { margin-bottom: 0; }
.wa-bubble-text .wa-spacer { height: 6px; margin: 0; }
.wa-bubble-meta {
  text-align: right;
  font-size: 0.55rem;
  color: #667781;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: flex-end; gap: 3px;
}
.wa-unsub {
  color: #667781 !important;
  font-size: 0.65rem;
}
.wa-link {
  color: #128C7E;
  text-decoration: none;
}
.wa-link-date {
  text-decoration: underline;
  color: #111B21;
}
.wa-phone-inputbar {
  background: #FFFFFF;
  padding: 4px 8px;
  display: flex; align-items: center; gap: 5px;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  border-top: 0.5px solid #C6C6C8;
}
.wa-phone-inputbar-icon { flex-shrink: 0; display: block; }
.wa-phone-inputbar-field {
  flex: 1;
  background: white;
  border: 0.5px solid #C6C6C8;
  border-radius: 18px;
  padding: 6px 10px;
  font-size: 0.65rem;
  color: #8696A0;
  display: flex; align-items: center; gap: 4px;
}
.wa-phone-home {
  background: #FFFFFF;
  height: 14px;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 2px;
}
.wa-phone-home-bar {
  width: 80px; height: 3px;
  background: #000;
  border-radius: 2px;
  opacity: 0.2;
}
/* FAQ accordion */
.faq { margin-top: 12px; padding-bottom: 8px; }
.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  padding: 0;
  margin-bottom: 8px;
  background: var(--color-surface);
}
.faq-item summary {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--color-text-subtle); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item > p, .faq-item > div {
  padding: 0 16px 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.faq-item > p { margin-top: 0; margin-bottom: 0; }
.faq-item > div > p:first-child { margin-top: 0; }
.faq-item > p + p { padding-top: 8px; }
.faq-steps {
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.faq-steps li { margin-bottom: 6px; }
.faq-steps li:last-child { margin-bottom: 0; }

.wa-section-heading { margin-top: 32px; margin-bottom: 16px; }
.wa-phone-navbar-count { color: #3C3C43; font-size: 0.75rem; }
.wa-phone-navbar-chevron { margin-left: -6px; }
.wa-phone-inputbar-placeholder { color: #8696A0; flex: 1; }
.cta-return {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  text-align: center;
  margin-top: 8px;
}

/* ── Step indicator ── */
.step-bar {
  display: flex; align-items: center;
  margin: 24px 0 8px;
}
.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto;
}
.step-circle {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-primary); border: 2px solid var(--color-primary);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 600;
}
.step-circle--active { background: var(--color-primary); border-color: var(--color-primary); }
.step-circle--done { background: var(--color-primary); border-color: var(--color-primary); }
.step-circle--upcoming { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text-subtle); }
.step-label { font-size: 0.6rem; font-weight: 600; color: var(--color-primary); white-space: nowrap; }
.step-label--active { color: var(--color-primary); font-weight: 600; }
.step-label--done { color: var(--color-primary); font-weight: 600; }
.step-label--upcoming { color: var(--color-text-subtle); font-weight: 400; }
.step-divider { flex: 1; height: 1px; background: var(--color-border-light); margin: 0 4px 14px; }

/* ── Group cards ── */
.group-list li.group-card { display: block; padding: 0; border-bottom: none; }
.group-list li.group-card:last-child { border-bottom: none; }
.group-card {
  border-bottom: 1px solid var(--color-border-light);
}
.group-card:last-child { border-bottom: none; }
.group-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 12px;
}
.group-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.group-list-empty { padding: 12px 0; color: var(--color-text-muted); font-size: 0.875rem; }

/* ── Toggle switch ── */
.toggle {
  position: relative; display: inline-block;
  width: 40px; height: 22px; flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background: var(--color-border); border-radius: 11px; cursor: pointer;
  transition: background 150ms ease;
}
.toggle-track::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; background: white; border-radius: 50%;
  transition: transform 150ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.toggle input:checked + .toggle-track { background: var(--color-primary); }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); }

/* ── Notification prefs ── */
.step-desc { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 16px; margin-top: -4px; }
.pref-list { margin-bottom: 18px; }
.pref-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--color-border-light); gap: 12px;
}
.pref-row:last-child { border-bottom: none; }
.pref-info { flex: 1; }
.pref-title { font-weight: 600; font-size: 0.88rem; display: block; margin-bottom: 2px; }
.pref-timing { font-size: 0.75rem; color: var(--color-text-muted); display: block; margin-top: 2px; }

/* ── Beta badge ── */
.badge { font-size: 0.63rem; font-weight: 700; padding: 1px 6px; border-radius: 9999px; margin-left: 4px; vertical-align: middle; }
.badge-beta { background: #FEF9EC; color: var(--color-warning, #7B5E00); }
:root { --color-warning: #7B5E00; }

/* ── Confirmation screen ── */
#confirmation-section {
  display: flex; flex-direction: column;
  justify-content: center; min-height: 55vh;
}
#confirmation-section.hidden { display: none; }
#confirmation-section h2 { text-align: center; margin-top: 0; }
.confirm-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.confirm-next-send { text-align: center; color: var(--color-text-muted); margin-bottom: 24px; }
.link-subtle {
  display: block; text-align: center; margin-top: 4px;
  color: var(--color-text-subtle); font-size: 0.875rem;
  text-decoration: none; cursor: pointer;
}
.link-subtle:hover { color: var(--color-text-muted); }

/* Responsive: admin */
@media (max-width: 480px) {
  .traffic-light { flex-direction: column; }
  .tl-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; text-align: left;
  }
  .tl-count { font-size: 1.25rem; order: 2; }
  .tl-label { margin-top: 0; order: 1; }
  .sys-status { flex-wrap: wrap; }
  .sys-status__meta { width: 100%; margin-left: 18px; }
}
