/* ── Reset & tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* iOS safe area support */
@supports (padding: max(0px)) {
  .status-main { padding-bottom: max(48px, env(safe-area-inset-bottom)); }
  .modal { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}

:root {
  --blue:     #2563eb;
  --blue-dk:  #1d4ed8;
  --green:    #10b981;
  --red:      #dc2626;
  --amber:    #f59e0b;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --white:    #ffffff;
  --radius:   12px;
  --shadow:   0 2px 8px rgba(0,0,0,.1);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  min-height: 100vh;
}

.hidden { display: none !important; }
.app    { min-height: 100vh; }

/* ── Splash ── */
.splash {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--white); z-index: 999;
  gap: 24px;
}
.splash-logo { font-size: 1.5rem; font-weight: 800; color: #0a0a0a; }
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Wizard ── */
.screen {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 48px;
}
@media (min-width: 480px) { .screen { align-items: center; } }

.wizard-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  width: 100%;
  max-width: 440px;
}
.wizard-card.center { text-align: center; }

.step-badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.step-icon.big { font-size: 4rem; margin-bottom: 20px; }

h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }

.step-desc {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hint {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 12px;
  line-height: 1.5;
}
.hint.center { text-align: center; }

/* ── Inputs ── */
.input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.input.error { border-color: var(--red); }

.field-error {
  font-size: .8rem;
  color: var(--red);
  margin-top: 4px;
  min-height: 18px;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, opacity .15s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-block  { display: flex; width: 100%; }
.btn-primary  { background: #0a0a0a; color: var(--white); }
.btn-primary:not(:disabled):hover  { background: #222222; }
.btn-ghost    { background: transparent; color: var(--gray-600); border: 1px solid var(--gray-200); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-danger   { background: var(--red);  color: var(--white); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }

/* Official Google Sign-In button — follows Google's brand guidelines */
.google-btn-official {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: #ffffff;
  color: #3c4043;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #dadce0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(60,64,67,.15), 0 1px 3px 1px rgba(60,64,67,.1);
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  letter-spacing: .01em;
  margin-bottom: 0;
}
.google-btn-official:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60,64,67,.2), 0 2px 6px 2px rgba(60,64,67,.12);
}
.google-btn-official:active {
  background: #f1f3f4;
  box-shadow: 0 1px 2px rgba(60,64,67,.3);
}
.google-logo-svg { flex-shrink: 0; }

/* Keep old classes non-breaking for any remnant HTML */
.google-btn { background: var(--white); color: var(--gray-800); border: 1px solid var(--gray-200); }
.google-btn:hover { background: var(--gray-50); }
.google-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}

/* ── Wizard specific ── */
.wizard-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.how-it-works {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.how-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  margin-top: 1px;
}

.hint-sub {
  color: var(--gray-400);
  font-size: .78rem;
}

/* ── Client list (wizard + status) ── */
.client-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.client-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 14px;
}
.client-item-info strong { display: block; font-size: .95rem; }
.client-item-info span   { font-size: .82rem; color: var(--gray-400); }
.remove-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.remove-btn:hover { color: var(--red); background: #fee2e2; }

/* ── Step 3 confirm list ── */
.confirm-list {
  list-style: none;
  text-align: left;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-list li { font-size: .95rem; color: var(--gray-800); }

/* ── Status dashboard ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: -.01em;
}
.header-logo svg { flex-shrink: 0; display: block; }
.header-logo:hover { color: #0a0a0a; }
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.running-pill {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green);
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 99px;
}

/* ── Auto-send toggle ── */
.auto-send-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.auto-send-toggle input { display: none; }
.toggle-track {
  width: 36px; height: 20px;
  background: var(--gray-200);
  border-radius: 99px;
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s;
}
.auto-send-toggle input:checked ~ .toggle-track { background: var(--blue); }
.auto-send-toggle input:checked ~ .toggle-track .toggle-thumb { transform: translateX(16px); }
.toggle-label { font-size: .78rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }

.status-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
}
.stat-num   { font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--gray-600); margin-top: 4px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title { font-size: 1rem; font-weight: 700; }

/* ── Alerts ── */
.alerts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-item {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.alert-msg  { font-size: .9rem; color: var(--gray-800); line-height: 1.5; flex: 1; }
.alert-time { font-size: .75rem; color: var(--gray-400); margin-top: 3px; }
.resolve-btn {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .78rem;
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.resolve-btn:hover { background: var(--gray-100); }

/* ── Cancellation alerts ── */
.cancellation-alert {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(220,38,38,.15);
  overflow: hidden;
}
.cancellation-alert-header {
  background: var(--red);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cancellation-alert-header .icon { font-size: 1.2rem; }
.cancellation-alert-header strong {
  color: var(--white);
  font-size: .9rem;
  flex: 1;
  line-height: 1.4;
}
.cancellation-alert-body { padding: 14px 16px; }
.cancellation-alert-msg {
  font-size: .92rem;
  color: var(--gray-800);
  line-height: 1.55;
  margin-bottom: 12px;
}
.notes-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 5px;
  display: block;
}
.notes-textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .88rem;
  font-family: inherit;
  color: var(--gray-800);
  resize: none;
  min-height: 60px;
  line-height: 1.5;
  transition: border-color .15s;
  field-sizing: content;
}
.notes-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.notes-textarea::placeholder { color: var(--gray-400); }
.cancellation-alert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.notes-saved-indicator {
  font-size: .75rem;
  color: var(--green);
  min-width: 60px;
  transition: opacity .3s;
}

/* Client status badge */
.client-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.badge-needs-follow-up { background: #fee2e2; color: #991b1b; }
.badge-active          { display: none; } /* hide active — it's the default state */

/* Heartbeat queue chip */
.chip-heartbeat { background: #ede9fe; color: #5b21b6; }

/* Client item with needs-follow-up status */
.client-needs-followup {
  border-color: #fca5a5;
  background: #fff8f8;
}

/* ── Section sub-heading ── */
.section-sub {
  font-size: .82rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ── Upcoming events list ── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.event-date-block {
  flex-shrink: 0;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 52px;
}
.event-date-day   { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.event-date-month { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.event-info { flex: 1; min-width: 0; }
.event-client {
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-summary {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-time {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 3px;
}

/* ── Flagged events ── */
.flagged-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flagged-card {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.flagged-card.unmatched {
  background: #fffbeb;
  border-color: #fde68a;
}
.flagged-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 99px;
  margin-bottom: 4px;
}
.flagged-badge.deleted   { background: #fee2e2; color: #991b1b; }
.flagged-badge.unmatched { background: #fef3c7; color: #92400e; }
.flagged-title  { font-size: .9rem; font-weight: 600; color: var(--gray-800); }
.flagged-detail { font-size: .8rem; color: var(--gray-600); margin-top: 2px; line-height: 1.4; }

/* ── Failed message indicator (history modal) ── */
.failed-notice {
  font-size: .78rem;
  color: var(--red);
  font-weight: 600;
  padding: 0 16px 8px;
}

/* ── Message history modal ── */
.history-modal {
  max-height: 80vh;
  overflow-y: auto;
  max-width: 500px;
}
.history-sub {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.history-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
}
.history-item.failed { border-color: #fca5a5; background: #fff5f5; }

.history-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.history-status-badge {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 99px;
}
.badge-sent   { background: #d1fae5; color: #065f46; }
.badge-failed { background: #fee2e2; color: #991b1b; }
.history-time { font-size: .75rem; color: var(--gray-400); }

.history-content {
  font-size: .88rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.history-error {
  font-size: .78rem;
  color: var(--red);
  margin-top: 6px;
  line-height: 1.4;
}
.retry-btn {
  margin-top: 8px;
  padding: 5px 14px;
  font-size: .8rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.retry-btn:hover { background: var(--red-dk); }
.retry-btn:disabled { opacity: .5; cursor: not-allowed; }

.history-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--gray-400);
  font-size: .9rem;
}

/* History button on client cards */
.history-link-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.history-link-btn:hover { background: var(--gray-100); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
}
@media (min-width: 480px) {
  .modal-overlay { align-items: center; padding: 16px; }
}
.modal {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 440px;
  padding: 24px 20px 32px;
}
@media (min-width: 480px) { .modal { border-radius: var(--radius); } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h2 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none; border: none;
  font-size: 1.5rem; color: var(--gray-400);
  cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--gray-800); }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.form-actions .btn { flex: 1; }

/* ── Message type chips ── */
.msg-type-chip {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.chip-new_job      { background: #dbeafe; color: #1e40af; }
.chip-reschedule   { background: #fef3c7; color: #92400e; }
.chip-reminder_7day{ background: #ede9fe; color: #5b21b6; }
.chip-reminder_1day{ background: #fce7f3; color: #9d174d; }
.chip-retry        { background: var(--gray-100); color: var(--gray-600); }

/* ── Recent activity feed ── */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activity-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
}
.activity-item.activity-failed {
  border-left: 3px solid var(--red);
}
.activity-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.activity-client { font-weight: 700; font-size: .9rem; }
.activity-content {
  font-size: .88rem;
  color: var(--gray-800);
  line-height: 1.45;
  margin-bottom: 6px;
}
.activity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
}
.activity-status-sent   { color: var(--green); font-weight: 600; }
.activity-status-failed { color: var(--red);   font-weight: 600; }
.activity-time          { color: var(--gray-400); }

/* ── Icon button (settings gear) ── */
.icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-600);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  line-height: 1;
  transition: background .15s, color .15s;
  min-width: 36px; min-height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--gray-100); color: var(--gray-800); }

/* ── Settings modal ── */
.settings-modal {
  max-height: 90vh;
  overflow-y: auto;
  max-width: 480px;
}
.settings-section {
  border-top: 1px solid var(--gray-200);
  padding: 18px 0 4px;
  margin-top: 4px;
}
.settings-section:first-of-type { border-top: none; padding-top: 0; }
.settings-section-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.settings-desc {
  font-size: .82rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

/* ── Tone options ── */
.tone-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tone-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.tone-option:has(input:checked) {
  border-color: var(--blue);
  background: #eff6ff;
}
.tone-option input[type="radio"] { margin-top: 2px; flex-shrink: 0; }
.tone-option-title { font-weight: 700; font-size: .92rem; }
.tone-option-desc  { font-size: .8rem; color: var(--gray-600); margin-top: 2px; line-height: 1.4; }

/* ── Settings auto-send row ── */
.settings-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.settings-toggle-label { font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.settings-toggle-desc  { font-size: .8rem; color: var(--gray-600); line-height: 1.4; max-width: 260px; }

/* ── Integration rows ── */
.integration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.integration-row:last-child { border-bottom: none; }
.integration-info { display: flex; flex-direction: column; gap: 2px; }
.integration-name { font-weight: 600; font-size: .9rem; }
.integration-status { font-size: .8rem; color: var(--gray-400); }
.integration-status.status-ok    { color: var(--green); }
.integration-status.status-error { color: var(--red); }

/* Settings saved / error */
.saved-note {
  font-size: .82rem;
  color: var(--green);
  margin-top: 6px;
}

/* ── Client item layout improvements ── */
.client-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.client-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

/* ── Touch targets — all interactive elements ≥ 44px ── */
.btn          { min-height: 44px; }
.btn.btn-sm   { min-height: 36px; }
.remove-btn   { min-width: 44px; min-height: 44px; }
.resolve-btn  { min-height: 36px; }
.icon-btn     { min-width: 44px; min-height: 44px; }
.back-btn     { min-height: 44px; }
.history-link-btn { min-height: 36px; }

/* ── Prevent iOS font-size zoom on inputs ── */
input, textarea, select {
  font-size: max(16px, 1rem);
}


/* ══════════════════════════════════════════════════════════════════════════
   NEW: Sign-in, Billing, Tabs, Drip Editor, Avatar Menu, Trial Banner
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Sign-in / Billing screens ── */
.signin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #ffffff;
}
.signin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #e5e5e5;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}
.signin-logo {
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.signin-headline {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #0a0a0a;
}
.auth-links a {
  color: #0a0a0a;
  text-decoration: none;
}
.auth-links a:hover {
  text-decoration: underline;
}
.signin-sub {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* ── Pricing card in billing screen ── */
.pricing-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1;
  margin-bottom: 16px;
}
.pricing-period { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray-600);
}
.pricing-features .check { color: var(--green); font-size: .95rem; }

/* ── Trial banner ── */
.trial-banner {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .88rem;
  color: #92400e;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Tab bar ── */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0 20px;
  position: sticky;
  top: 52px;      /* below header */
  z-index: 40;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: 12px 16px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  min-height: unset;  /* override touch target rule for tabs */
}
.tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tab-btn:hover:not(.active) { color: var(--gray-800); }

/* ── Avatar / account menu ── */
.contractor-avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.contractor-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-menu-btn {
  background: none;
  border: none;
  font-size: .75rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 2px 4px;
  min-height: unset;
  line-height: 1;
}
.avatar-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 200px;
  z-index: 200;
  overflow: hidden;
}
.avatar-menu-name  { font-weight: 600; font-size: .88rem; padding: 12px 14px 2px; }
.avatar-menu-email { font-size: .78rem; color: var(--gray-400); padding: 0 14px 12px; }
.avatar-menu-divider { border: none; border-top: 1px solid var(--gray-100); margin: 0; }
.avatar-menu-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: .88rem;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--gray-800);
  transition: background .1s;
  min-height: unset;
}
.avatar-menu-item:hover { background: var(--gray-50); }
.avatar-menu-signout { color: var(--red); }

/* ── Drip editor layout ── */
.drip-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 110px);
}

/* Stage selector panel */
.drip-stages {
  border-right: 1px solid var(--gray-200);
  padding: 20px 12px;
  background: var(--gray-50);
}
.drip-stages-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 8px;
  margin-bottom: 8px;
}
.stage-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 10px 8px;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
  min-height: unset;
  margin-bottom: 2px;
}
.stage-btn:hover   { background: var(--gray-100); }
.stage-btn.active  { background: #eff6ff; }
.stage-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.stage-name { font-size: .88rem; font-weight: 600; color: var(--gray-800); }
.stage-btn.active .stage-name { color: var(--blue); }
.stage-desc { font-size: .75rem; color: var(--gray-400); margin-top: 1px; line-height: 1.3; }

/* Drip flow panel */
.drip-flow {
  padding: 20px 24px;
}
.drip-flow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.drip-flow-title { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); }
.drip-flow-desc  { font-size: .82rem; color: var(--gray-400); margin-top: 3px; }

/* Drip cards */
.drip-cards { display: flex; flex-direction: column; }
.drip-connector {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-400);
  margin: 4px 0;
  line-height: 1;
}
.drip-card-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.drip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.drip-timing-wrap { flex: 1; }
.drip-timing-select {
  width: 100%;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
}
.drip-message-textarea {
  width: 100%;
  font-size: .9rem;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 9px 12px;
  resize: none;
  line-height: 1.5;
  color: var(--gray-800);
  min-height: 72px;
  transition: border-color .15s, box-shadow .15s;
  field-sizing: content;
}
.drip-message-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.drip-char-count {
  text-align: right;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 4px;
}
.drip-char-count.over { color: var(--red); font-weight: 700; }
.drip-saved-note {
  font-size: .75rem;
  color: var(--green);
  margin-top: 4px;
  text-align: right;
}
.drip-delete-btn {
  flex-shrink: 0;
  color: var(--gray-400);
  font-size: .8rem;
  padding: 4px 8px;
  min-height: unset;
}
.drip-delete-btn:hover { color: var(--red); }

.drip-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400);
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-200);
}

/* Variables hint */
.drip-variables-note {
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: .78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.drip-variables-note strong { color: var(--gray-600); }
.drip-variables-note code {
  background: var(--gray-100);
  color: var(--blue);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .75rem;
}

/* ── Activity feed (existing styles updated) ── */
.activity-list { display: flex; flex-direction: column; gap: 10px; }
.activity-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; }
.activity-item.activity-failed { border-left: 3px solid var(--red); }
.activity-item-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.activity-client { font-weight: 700; font-size: .9rem; }
.activity-content { font-size: .88rem; color: var(--gray-800); line-height: 1.45; margin-bottom: 6px; }
.activity-meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; }
.activity-status-sent   { color: var(--green); font-weight: 600; }
.activity-status-failed { color: var(--red);   font-weight: 600; }
.activity-time          { color: var(--gray-400); }

/* ── Message type chips ── */
.msg-type-chip {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.chip-new_job      { background: #dbeafe; color: #1e40af; }
.chip-reschedule   { background: #fef3c7; color: #92400e; }
.chip-scheduled    { background: #dbeafe; color: #1e40af; }
.chip-coming_up    { background: #ede9fe; color: #5b21b6; }
.chip-in_progress  { background: #fef3c7; color: #92400e; }
.chip-complete     { background: #d1fae5; color: #065f46; }
.chip-retry        { background: var(--gray-100); color: var(--gray-600); }

/* ── Mobile drip layout ── */
@media (max-width: 700px) {
  .drip-layout { grid-template-columns: 1fr; }
  .drip-stages {
    display: flex;
    gap: 6px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
    padding: 10px 12px;
  }
  .drip-stages-title { display: none; }
  .stage-btn { flex-direction: column; align-items: center; padding: 8px 10px; min-width: 80px; }
  .stage-desc { display: none; }
  .stage-name { font-size: .72rem; text-align: center; }
}

/* ── Connect Calendar banner ──────────────────────────────────────────────── */
.connect-calendar-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--blue-50, #eff6ff);
  border: 1px solid var(--blue-200, #bfdbfe);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.connect-calendar-banner strong { display: block; font-size: .95rem; color: #1e40af; margin-bottom: 4px; }
.connect-calendar-banner p { margin: 0; font-size: .85rem; color: #3b82f6; }
.connect-calendar-banner .btn { flex-shrink: 0; }

/* ── Auth form helpers ────────────────────────────────────────────────────── */
.hint-inline { font-size: .8rem; color: var(--gray-400); font-weight: 400; }
.auth-links  { text-align: center; font-size: .85rem; color: var(--gray-400); margin-top: 16px; }
.auth-links a { color: var(--blue); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--gray-400); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ══════════════════════════════════════════════════════════════════════════
   DRIP SEQUENCE EDITOR  (ds-*)
   ══════════════════════════════════════════════════════════════════════════ */

/* Brand palette — matches marketing site (monochrome black/white/gray).
   Kept historical --purple names so existing refs resolve; values are now brand-black/gray. */
:root {
  --purple:      #0a0a0a;   /* brand black — primary accent */
  --purple-light:#f5f5f5;   /* subtle background for active/selected states */
  --purple-mid:  #6b7280;   /* mid gray — secondary text on active items */
}

/* Layout */
.ds-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

/* ── Left panel ── */
.ds-stages-panel {
  border-right: 1px solid var(--border);
  background: #fafafa;
}

.ds-panel-label {
  padding: 14px 16px 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.ds-stage-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .12s, border-color .12s;
  user-select: none;
}
.ds-stage-item:hover { background: #f3f4f6; }
.ds-stage-item.active {
  border-left-color: var(--purple);
  background: var(--purple-light);
}

.ds-stage-body { flex: 1; min-width: 0; }
.ds-stage-name {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #1f2937;
}
.ds-stage-item.active .ds-stage-name { color: var(--purple); }
.ds-stage-count {
  display: block;
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.ds-stage-item.active .ds-stage-count { color: var(--purple-mid); }

.ds-stage-chevron {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1;
}
.ds-stage-item.active .ds-stage-chevron { color: var(--purple); }

/* ── Right panel ── */
.ds-flow-panel {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  overflow-y: auto;
}

.ds-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ds-flow-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.ds-add-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--purple);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background .15s;
}
.ds-add-top-btn:hover { background: #262626; }

/* Trigger chip */
.ds-trigger-row {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.ds-trigger-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  color: #374151;
}
.ds-trigger-label {
  font-weight: 700;
  color: var(--purple);
}

/* Drip cards container */
.ds-drip-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Each step = dot + line + card */
.ds-step {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 560px;
  gap: 0;
}

.ds-step-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
  padding-top: 20px;
}
.ds-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--purple-light);
}
.ds-step-line {
  width: 2px;
  flex: 1;
  background: #e5e7eb;
  margin-top: 4px;
  min-height: 20px;
}

/* Connector between last card and + button */
.ds-trigger-connector {
  width: 2px;
  height: 20px;
  background: #e5e7eb;
  margin: 0 auto;
}

/* Card */
.ds-drip-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 12px 0 12px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  overflow: hidden;
}

/* Card header: summary row (top) + controls row (bottom) */
.ds-card-summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 7px;
  background: #fafafa;
}
.ds-card-summary {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
}
.ds-summary-timing {
  color: #0a0a0a;
  font-weight: 700;
}
.ds-card-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 10px;
  background: #fafafa;
  border-bottom: 1px solid #f3f4f6;
}

/* Channel icon toggle buttons */
.ds-ch-btns { display: flex; gap: 4px; flex-shrink: 0; }
.ds-ch-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: #9ca3af;
  cursor: pointer;
  outline: none;
  transition: background .12s, border-color .12s, color .12s;
  flex-shrink: 0;
  padding: 0;
}
.ds-ch-btn:hover:not(.active) { border-color: #9ca3af; }
.ds-ch-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Kebab (⋯) button */
.ds-kebab-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.1rem;
  letter-spacing: .05em;
  cursor: pointer;
  outline: none;
  transition: background .12s, color .12s;
  flex-shrink: 0;
  padding: 0;
}
.ds-kebab-btn:hover { background: #f3f4f6; color: #374151; }

/* Kebab dropdown menu (appended to body, position:absolute) */
.ds-kebab-menu {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  min-width: 148px;
  font-size: .85rem;
  z-index: 1000;
  overflow: hidden;
}
.ds-kebab-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
}
.ds-kebab-delete { color: #ef4444; }
.ds-kebab-delete:hover { background: #fef2f2; }

.ds-timing-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 280px;
  padding: 6px 10px;
  font-size: .82rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  outline: none;
  transition: border-color .12s;
}
.ds-timing-select:focus { border-color: var(--purple); }


.ds-message-ta {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: .88rem;
  line-height: 1.55;
  border: none;
  outline: none;
  resize: vertical;
  background: #fff;
  color: #1f2937;
  font-family: inherit;
}

.ds-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.ds-char-count {
  font-size: .75rem;
  color: var(--gray-400);
}
.ds-char-count.over { color: #ef4444; font-weight: 600; }

.ds-saved-badge {
  font-size: .75rem;
  color: #10b981;
  font-weight: 600;
}

/* Empty state */
.ds-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400);
}
.ds-empty-icon { font-size: 2rem; margin-bottom: 10px; }
.ds-empty p { margin: 4px 0; }

/* Variables note */
.ds-variables-note {
  margin-top: 20px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .8rem;
  color: var(--gray-400);
  align-self: flex-start;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.ds-variables-note strong { color: #374151; margin-right: 8px; }
.ds-variables-note code {
  display: inline-block;
  padding: 2px 6px;
  background: #e5e7eb;
  border-radius: 4px;
  font-size: .78rem;
  color: var(--purple);
  margin: 2px 4px 2px 0;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .ds-layout {
    grid-template-columns: 1fr;
  }
  .ds-stages-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
  }
  .ds-panel-label { display: none; }
  .ds-stage-item {
    flex: 1 0 calc(50% - 1px);
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 12px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 2px;
  }
  .ds-stage-item.active { border-bottom-color: var(--purple); border-left-color: transparent; }
  .ds-stage-chevron { display: none; }
  .ds-stage-body { flex: none; }
  .ds-stage-count { display: none; }
  .ds-flow-panel { padding: 16px; }
  .ds-step-line-wrap { display: none; }
  .ds-drip-card { margin: 8px 0; }
  .ds-card-controls { flex-wrap: wrap; }
  .ds-timing-select { max-width: none; }
}

/* ── SMS opt-out badge ────────────────────────────────────────────────────── */
.badge-opted-out {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.client-opted-out .client-contact-line {
  color: #9ca3af;
  text-decoration-line: line-through;
  text-decoration-color: #d1d5db;
}

/* ── Global app footer ─────────────────────────────────────────────────────── */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-top: 1px solid #eaeaea;
  background: #fff;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.app-footer-copy { margin: 0; }
.app-footer-links { display: flex; gap: 22px; }
.app-footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.15s ease;
}
.app-footer-links a:hover { color: #0a0a0a; }

@media (max-width: 560px) {
  .app-footer {
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    text-align: center;
  }
  .app-footer-links { gap: 18px; }
}
