/* ─────────────────────────────────────────────────────────────
   Ciro Turnos · sistema de diseño
   Paleta y tipografías tomadas de cirogestion.com.ar
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #f3f5f2;
  --surface: #ffffff;
  --surface-2: #f8faf8;
  --ink: #0d1b2a;
  --text: #5b6b79;
  --muted: #8a97a3;
  --line: #d9dfd9;
  --line-soft: #e7ebe7;

  --green: #0e7a5f;
  --green-700: #0b624c;
  --green-50: #e4f1ec;
  --green-100: #cfe7de;
  --green-light: #1dbb8c;

  --amber: #e8b75b;
  --amber-50: #fbf1dc;
  --amber-ink: #7a5200;

  --navy: #0d1b2a;
  --navy-2: #1e293b;
  --navy-3: #27405c;

  --red: #b42318;
  --red-50: #fcebea;

  --wa: #22b573;

  --st-pending-bg: #fbf1dc;
  --st-pending-bd: #e8b75b;
  --st-pending-ink: #7a5200;
  --st-confirmed-bg: #e1f1ea;
  --st-confirmed-bd: #0e7a5f;
  --st-confirmed-ink: #0b5e49;
  --st-done-bg: #e8edf2;
  --st-done-bd: #7d8b98;
  --st-done-ink: #33414d;
  --st-noshow-bg: #fcebea;
  --st-noshow-bd: #d0574c;
  --st-noshow-ink: #912018;
  --st-cancelled-bg: #f0f2f0;
  --st-cancelled-bd: #b5bdc4;
  --st-cancelled-ink: #6b7780;

  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06);
  --shadow: 0 1px 2px rgba(13, 27, 42, 0.05), 0 10px 30px -12px rgba(13, 27, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(13, 27, 42, 0.35);
  --ring: 0 0 0 3px rgba(14, 122, 95, 0.22);

  --gutter: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
::selection {
  background: var(--green-100);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 800;
}
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
.accent {
  color: var(--green);
}
.text {
  color: var(--text);
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--font-mono);
}
.small {
  font-size: 14px;
}
.tiny {
  font-size: 12.5px;
}
.nowrap {
  white-space: nowrap;
}
.strike {
  text-decoration: line-through;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Botones ───────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--h);
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s, color 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.btn svg {
  flex: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(14, 122, 95, 0.65);
}
.btn-primary:hover {
  background: var(--green-700);
}
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: #b9c3bb;
  background: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(13, 27, 42, 0.05);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover {
  background: var(--navy-2);
}
.btn-danger {
  background: var(--surface);
  color: var(--red);
  border-color: #efc9c5;
}
.btn-danger:hover {
  background: var(--red-50);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover {
  background: #1c9c62;
}
.btn-sm {
  --h: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 8px;
}
.btn-lg {
  --h: 54px;
  padding: 0 26px;
  font-size: 16.5px;
}
.btn-block {
  width: 100%;
}
.btn-icon {
  width: var(--h);
  padding: 0;
}

/* ── Formularios ───────────────────────────────────────────── */
.field {
  display: grid;
  gap: 6px;
}
.field > label,
.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field .hint {
  font-size: 13px;
  color: var(--muted);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}
.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6B79' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.input::placeholder,
.textarea::placeholder {
  color: #9aa6b0;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--ring);
}
.input.is-invalid {
  border-color: var(--red);
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
  flex: none;
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch .track {
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: #c8d0ca;
  position: relative;
  transition: background 0.15s;
  flex: none;
}
.switch .track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}
.switch input:checked + .track {
  background: var(--green);
}
.switch input:checked + .track::after {
  transform: translateX(18px);
}
.switch input:focus-visible + .track {
  box-shadow: var(--ring);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Tarjetas, chips ───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card-pad {
  padding: 24px;
}
@media (max-width: 560px) {
  .card-pad {
    padding: 18px;
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}
.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.st-pending {
  background: var(--st-pending-bg);
  border-color: var(--st-pending-bd);
  color: var(--st-pending-ink);
}
.st-confirmed {
  background: var(--st-confirmed-bg);
  border-color: var(--st-confirmed-bd);
  color: var(--st-confirmed-ink);
}
.st-done {
  background: var(--st-done-bg);
  border-color: var(--st-done-bd);
  color: var(--st-done-ink);
}
.st-noshow {
  background: var(--st-noshow-bg);
  border-color: var(--st-noshow-bd);
  color: var(--st-noshow-ink);
}
.st-cancelled {
  background: var(--st-cancelled-bg);
  border-color: var(--st-cancelled-bd);
  color: var(--st-cancelled-ink);
}
.sub-trial {
  background: #e7effd;
  border-color: #9bb8ef;
  color: #22488f;
}
.sub-active {
  background: var(--st-confirmed-bg);
  border-color: var(--st-confirmed-bd);
  color: var(--st-confirmed-ink);
}
.sub-grace {
  background: var(--st-pending-bg);
  border-color: var(--st-pending-bd);
  color: var(--st-pending-ink);
}
.sub-suspended {
  background: var(--st-noshow-bg);
  border-color: var(--st-noshow-bd);
  color: var(--st-noshow-ink);
}

.brand-bar {
  display: flex;
  height: 6px;
}
.brand-bar::before {
  content: '';
  flex: 7;
  background: var(--green);
}
.brand-bar::after {
  content: '';
  flex: 3;
  background: var(--navy);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--navy-2);
  overflow: hidden;
  flex: none;
}
.logo-mark img {
  width: 82%;
  height: auto;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex: none;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  color: var(--text);
}
.notice strong {
  color: var(--ink);
}
.notice svg {
  flex: none;
  margin-top: 2px;
}
.notice-amber {
  background: var(--amber-50);
  border-color: #efd39b;
  color: #6b4a07;
}
.notice-red {
  background: var(--red-50);
  border-color: #f0c2bd;
  color: #7a1a12;
}
.notice-green {
  background: var(--green-50);
  border-color: var(--green-100);
  color: #0b5e49;
}
.notice-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #c9d4de;
}
.notice-navy strong {
  color: #fff;
}

.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text);
}
.empty svg {
  margin: 0 auto 12px;
  color: var(--muted);
}

/* ── Modal (dialog) ────────────────────────────────────────── */
dialog.modal {
  border: 0;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
dialog.modal.modal-lg {
  width: min(760px, calc(100vw - 32px));
}
dialog.modal::backdrop {
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(2px);
}
dialog.modal[open] {
  display: flex;
  flex-direction: column;
  animation: modal-in 0.18s ease-out;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-head h3 {
  font-size: 20px;
}
.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (max-width: 640px) {
  dialog.modal,
  dialog.modal.modal-lg {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
  }
  dialog.modal[open] {
    animation: sheet-in 0.22s ease-out;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-head {
    padding: 16px 14px 12px 18px;
  }
  .modal-foot {
    padding: 12px 18px calc(14px + var(--safe-bottom));
  }
  .modal-foot .btn {
    flex: 1;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(40px);
    opacity: 0.4;
  }
}

/* ── Toast ─────────────────────────────────────────────────── */
.toasts {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 1000;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 14.5px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 0.2s ease-out;
}
.toast.is-error {
  background: #7a1a12;
}
.toast.is-success svg {
  color: var(--green-light);
}
.toast .toast-title {
  font-weight: 700;
}
.toast button {
  margin-left: auto;
  background: none;
  border: 0;
  color: #9fb3c8;
  padding: 0;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ── Botones flotantes: instalar app / WhatsApp ────────────── */
.fab-install {
  position: fixed;
  left: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px 0 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 12px 28px -10px rgba(13, 27, 42, 0.6);
  transition: transform 0.15s, background 0.15s;
}
.fab-install:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}
.fab-install .fab-ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
}
.fab-wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 900;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(34, 181, 115, 0.8);
  transition: transform 0.15s;
}
.fab-wa:hover {
  transform: scale(1.05);
}
body.has-bottom-nav .fab-install {
  bottom: calc(76px + var(--safe-bottom));
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 0;
  list-style: none;
  counter-reset: st;
}
.install-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}
.install-steps li::before {
  counter-increment: st;
  content: counter(st);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.kbd-ic {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  vertical-align: middle;
}

/* ── Utilidades ────────────────────────────────────────────── */
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row-wrap {
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 16px;
}
.stack-sm {
  display: grid;
  gap: 8px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.mt-0 {
  margin-top: 0;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.center {
  text-align: center;
}
.divider {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 16px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.demo-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 7px 16px;
  background: var(--navy);
  color: #c9d4de;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}
.demo-ribbon a {
  color: var(--green-light);
}
.demo-ribbon button {
  background: none;
  border: 1px solid #3a526b;
  color: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font: inherit;
}

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

/* ── Selector de día y horario (compartido) ────────────────── */
.picker {
  display: grid;
  gap: 14px;
}
.next-free {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: 1px dashed var(--green);
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 14.5px;
  text-align: left;
}
.next-free:hover {
  background: var(--green-100);
}
.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.picker-month {
  font-family: var(--font-display);
  font-size: 17px;
}
.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}
.days::-webkit-scrollbar {
  display: none;
}
.day {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 1px;
  width: 58px;
  padding: 9px 0 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  scroll-snap-align: start;
  transition: border-color 0.15s, background 0.15s;
}
.day small {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}
.day b {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
}
.day i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}
.day i.has {
  background: var(--green);
}
.day:hover:not([disabled]) {
  border-color: var(--green);
}
.day[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
}
.day.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.day.is-on small {
  color: #d5eee5;
}
.day.is-on i.has {
  background: #fff;
}
.picker-day-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.picker-day-label::first-letter {
  text-transform: uppercase;
}
.slot-group + .slot-group {
  margin-top: 14px;
}
.slot-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
}
.slot {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.12s, background 0.12s;
}
.slot:hover {
  border-color: var(--green);
  color: var(--green);
}
.slot.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.slots-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  color: var(--text);
}

/* ── Vista previa de mails (demo) ──────────────────────────── */
.mail {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #eef1ee;
}
.mail-meta {
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  display: grid;
  gap: 2px;
}
.mail-meta span {
  color: var(--muted);
}
.mail-body {
  margin: 16px;
  padding: 26px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  color: #33414d;
}
.mail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.mail-detail {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface-2);
  border-radius: 10px;
  overflow: hidden;
}
.mail-detail th,
.mail-detail td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  vertical-align: top;
}
.mail-detail th {
  width: 90px;
  color: var(--muted);
  font-weight: 500;
}
.mail-cta {
  justify-self: start;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none !important;
}
.mail-secondary {
  font-size: 14px;
}
.mail-foot {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.biz-logo {
  border-radius: 16px;
  object-fit: cover;
  flex: none;
  background: var(--surface);
}
.biz-logo-initials {
  display: inline-grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

/* Evita que la tira de días estire las grillas en pantallas chicas */
.stack,
.stack-sm,
.picker {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
