/* HIDISPA - pantalla de acceso. Ciruela = ambiente de marca; verde MSOFT = accion. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,500;1,600&family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --plum-0: #0c060a;
  --plum-1: #150a12;
  --plum-2: #22101c;
  --plum-3: #34162a;
  --rose: #e8508f;
  --rose-2: #f07aa9;
  --rose-soft: rgba(232, 80, 143, .16);
  --green: #8DC63F;
  --green-2: #9ed654;
  --green-dark: #72a832;
  --green-soft: rgba(141, 198, 63, .16);

  --accent: var(--green);
  --accent-2: var(--green-2);
  --accent-dark: var(--green-dark);
  --accent-soft: var(--green-soft);
  --accent-ink: #0f1a05;

  /* panel del formulario — oscuro por defecto */
  --surface: #120910;
  --field: rgba(255, 255, 255, .035);
  --field-solid: #1a1118; /* --field sobre --surface, para el autocompletado */
  --field-hover: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f7eff4;
  --muted: #b6a4b0;
  --faint: #7f6c79;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);

  /* escenario de marca (panel izquierdo) */
  --st-bg: radial-gradient(900px 600px at 78% 22%, rgba(232, 80, 143, .22), transparent 60%),
           radial-gradient(700px 500px at 10% 95%, rgba(141, 198, 63, .10), transparent 60%),
           linear-gradient(160deg, var(--plum-2) 0%, var(--plum-1) 45%, var(--plum-0) 100%);
  --st-text: #f7eff4;
  --st-muted: #c9b6c2;
  --st-faint: #bfa9b7;
  --st-grid: rgba(255, 255, 255, .035);
  --st-chip: rgba(255, 255, 255, .04);
  --st-chip-line: rgba(255, 255, 255, .1);
  --st-glass: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  --st-glass-line: rgba(255, 255, 255, .12);
  --st-glass-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  --st-slot: rgba(255, 255, 255, .05);
  --st-arc: rgba(240, 122, 169, .22);
}
:root[data-accent="rose"] {
  --accent: var(--rose);
  --accent-2: var(--rose-2);
  --accent-dark: #c93a74;
  --accent-soft: var(--rose-soft);
  --accent-ink: #ffffff;
}
:root[data-theme="light"] {
  --st-bg: radial-gradient(900px 600px at 78% 22%, rgba(232, 80, 143, .14), transparent 60%),
           radial-gradient(700px 500px at 10% 95%, rgba(141, 198, 63, .12), transparent 60%),
           linear-gradient(160deg, #fdf3f7 0%, #faf6f8 50%, #f4f7ef 100%);
  --st-text: #1f1219;
  --st-muted: #5f5560;
  --st-faint: #8a7a85;
  --st-grid: rgba(60, 20, 45, .05);
  --st-chip: rgba(255, 255, 255, .75);
  --st-chip-line: rgba(60, 20, 45, .1);
  --st-glass: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72));
  --st-glass-line: rgba(60, 20, 45, .08);
  --st-glass-shadow: 0 24px 60px rgba(90, 30, 60, .12);
  --st-slot: rgba(60, 20, 45, .05);
  --st-arc: rgba(232, 80, 143, .28);
  --surface: #ffffff;
  --field: #f7f7f8;
  --field-solid: #f7f7f8;
  --field-hover: #f1f1f3;
  --line: #e6e3e6;
  --line-strong: #d6d1d5;
  --text: #1a1a1a;
  --muted: #5f6470;
  --faint: #9a98a0;
  --shadow: 0 30px 80px rgba(40, 10, 30, .12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex; flex-direction: column; min-height: 100vh;
  font-family: 'Inter', 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; }

.shell {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 560px);
}

/* ---------- Escenario de marca (siempre ciruela) ---------- */
.stage {
  position: relative;
  overflow: hidden;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  color: var(--st-text);
  background: var(--st-bg);
  transition: color .25s ease;
}
.stage::before { /* rejilla fina */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--st-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--st-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.stage::after { /* arco de luz, guiño al salón */
  content: "";
  position: absolute;
  right: -120px; top: -60px;
  width: 520px; height: 760px;
  border-radius: 260px 260px 0 0;
  border: 1px solid var(--st-arc);
  border-bottom: 0;
  box-shadow: 0 0 80px rgba(232, 80, 143, .18), inset 0 0 80px rgba(232, 80, 143, .08);
  pointer-events: none;
}
.stage > * { position: relative; z-index: 1; }

.brand { display: flex; align-items: center; gap: 4px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(232,80,143,.25), rgba(232,80,143,.05));
  border: 1px solid rgba(240,122,169,.35);
}
.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; letter-spacing: .06em; font-size: 20px;
}
.brand-name span { color: var(--green); }
.brand-sub { font-size: 10.5px; letter-spacing: .28em; color: var(--st-faint); text-transform: uppercase; margin-top: 2px; }

.stage-copy { margin-top: auto; max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--st-muted);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--st-chip-line);
  background: var(--st-chip);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 22px 0 16px;
  font-weight: 700;
}
h1 em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 600;
  font-size: 1.12em;
  background: linear-gradient(90deg, var(--rose-2), var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--st-muted); font-size: 15.5px; line-height: 1.65; margin: 0; max-width: 480px; }

.verticals { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 26px; }
.verticals span {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--st-text);
  padding: 8px 12px; border-radius: 10px;
  background: var(--st-chip);
  border: 1px solid var(--st-chip-line);
}
.verticals svg { color: var(--rose-2); }

/* Vista previa flotante del producto */
.preview {
  position: absolute;
  right: 56px; top: 110px;
  width: 330px;
  display: grid; gap: 4px;
  z-index: 1;
}
.glass {
  background: var(--st-glass);
  border: 1px solid var(--st-glass-line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--st-glass-shadow);
  padding: 16px 18px;
}
.glass-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--st-faint); }
.appt { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(145deg, var(--rose), #8e2a5a);
  box-shadow: 0 0 0 3px rgba(232,80,143,.25);
}
.appt b { display: block; font-size: 14px; }
.appt small { color: var(--st-faint); font-size: 12px; }
.appt time { margin-left: auto; font-weight: 700; color: var(--green); font-size: 15px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.kpi strong { display: block; font-size: 20px; margin-top: 6px; letter-spacing: -.01em; }
.kpi .delta { font-size: 11.5px; color: var(--green); font-weight: 600; }
.spark { margin-top: 8px; width: 100%; height: 34px; }
.slots { display: flex; gap: 6px; margin-top: 12px; }
.slots i {
  flex: 1; height: 26px; border-radius: 7px;
  background: var(--st-slot);
  border: 1px solid var(--st-chip-line);
}
.slots i.on { background: rgba(232,80,143,.28); border-color: rgba(240,122,169,.45); }
.slots i.ok { background: rgba(141,198,63,.22); border-color: rgba(141,198,63,.45); }


/* ---------- Panel del formulario ---------- */
.panel {
  background: #f5ebef;
  display: flex; flex-direction: column;
  padding: 28px 56px;
  border-left: 1px solid var(--line);
}
.panel-top { display: flex; justify-content: flex-end; gap: 4px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--muted);
  font-size: 13px; cursor: pointer;
}
.chip-btn:hover { background: var(--field-hover); color: var(--text); }

.form-wrap { margin: auto 0; width: 100%; max-width: 400px; align-self: center; }
.mobile-brand { display: none; }
.form-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 700;
}
.form-head p { margin: 0 0 28px; color: var(--muted); font-size: 14.5px; }

.field { margin-bottom: 18px; }
.field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.field label a { font-weight: 600; font-size: 12.5px; color: var(--accent); text-decoration: none; }
.field label a:hover { text-decoration: underline; }
.control {
  position: relative;
  display: flex; align-items: center;
  height: 48px;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.control:hover { background: var(--field-hover); }
.control:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.control > svg { margin: 0 10px 0 14px; color: var(--faint); flex: none; }
.control:focus-within > svg { color: var(--accent); }
.control input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font-size: 14.5px;
}
.control input::placeholder { color: var(--faint); }
.suffix { padding: 0 14px; color: var(--faint); font-size: 13px; white-space: nowrap; }
.icon-btn {
  border: 0; background: transparent; color: var(--faint);
  height: 100%; padding: 0 14px; cursor: pointer; display: grid; place-items: center;
}
.icon-btn:hover { color: var(--text); }
.hint { font-size: 12px; margin-top: 7px; color: var(--warning); display: none; align-items: center; gap: 6px; }
.hint.show { display: flex; }

.row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; }
.check { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--field); display: grid; place-items: center; margin: 0; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  width: 100%; height: 50px;
  border: 0; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 55%, var(--accent-2));
  box-shadow: 0 10px 28px var(--accent-soft), 0 1px 0 rgba(255,255,255,.25) inset;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 34px var(--accent-soft); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.btn-primary .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn-primary.loading .spin { display: block; }
.btn-primary.loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.divider { display: flex; align-items: center; gap: 4px; margin: 22px 0; color: var(--faint); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.btn-secondary {
  width: 100%; height: 48px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid var(--line-strong); background: transparent;
  font-weight: 600; font-size: 14px; color: var(--text);
}
.btn-secondary:hover { background: var(--field-hover); }
.btn-secondary small { color: var(--faint); font-weight: 500; }

.panel-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 4px; flex-wrap: wrap;
  font-size: 12px; color: var(--faint);
}
.status { display: inline-flex; align-items: center; gap: 4px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.panel-foot nav { display: flex; gap: 4px; }
.panel-foot a { text-decoration: none; }
.panel-foot a:hover { color: var(--text); }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, -20px);
  opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px;
  background: #1c1119; color: #f7eff4; border: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px; box-shadow: var(--shadow);
  transition: all .25s ease; z-index: 30;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .preview { display: none; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .stage { display: none; }
  .panel {
    padding: 20px 16px 90px;
    min-height: 100vh;
    border-left: 0;
    background:
      radial-gradient(500px 300px at 90% -10%, rgba(232,80,143,.22), transparent 60%),
      #f5ebef;
  }
  .mobile-brand { display: flex; align-items: center; gap: 4px; margin-bottom: 28px; }
  .mobile-brand .brand-name { font-size: 18px; }
  .panel-foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
/* ---------- Errores de campo ---------- */
.field-error { font-size: 12px; color: var(--danger); margin-top: 7px; min-height: 0; }
.field-error:empty { display: none; }
.control.invalid { border-color: var(--danger); }
.control.invalid:focus-within { box-shadow: 0 0 0 4px rgba(239, 68, 68, .18); }
.btn-primary:disabled { cursor: progress; opacity: .85; }
/* ---------- Autocompletado del navegador ----------
   Chrome/Edge pintan su propio fondo azul en los campos que rellenan;
   se tapa con una sombra interior del color del campo. */
.control input:-webkit-autofill,
.control input:-webkit-autofill:hover,
.control input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--field-solid) inset;
  box-shadow: 0 0 0 1000px var(--field-solid) inset;
  transition: background-color 9999s ease-out 0s;
}

/* ---------- Cuenta de demostración ---------- */
.demo-box {
  display: flex; align-items: center; gap: 4px;
  margin: -8px 0 22px; padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: var(--accent-soft);
}
.demo-box[hidden] { display: none; }
.demo-info { flex: 1; min-width: 0; }
.demo-info b { display: block; font-size: 12.5px; margin-bottom: 6px; }
.demo-info dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 4px; margin: 0; font-size: 12.5px; }
.demo-info dt { color: var(--muted); }
.demo-info dd { margin: 0; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-use {
  flex: none; height: 34px; padding: 0 14px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--accent); background: transparent; color: var(--text);
  font-weight: 600; font-size: 13px;
}
.demo-use:hover { background: var(--accent); color: var(--accent-ink); }
.demo-use:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.status.down i { background: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, .18); }

/* ---------- Pie de marca (como en el sistema): pilares + HIDISPA + MSOFT, sigue el tema ---------- */
.brand-foot { padding: 6px 14px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(26, 10, 22, .05); transition: background .25s ease; }
:root[data-theme="dark"] .brand-foot { background: linear-gradient(180deg, #120a10, #0a0a0a); border-top-color: rgba(255, 255, 255, .06); box-shadow: 0 -6px 24px rgba(0, 0, 0, .35); }
.bf-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 4px 12px; align-items: center; max-width: 1500px; margin: 0 auto; }
.bf-item { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.bf-item > div { min-width: 0; }
.bf-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--green-dark); background: var(--green-soft); border: 1px solid rgba(141, 198, 63, .28); }
:root[data-theme="dark"] .bf-ic { color: var(--green); }
.bf-item strong { display: block; margin-bottom: 1px; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.bf-item p { margin: 0; font-size: 10.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-marcas { display: flex; align-items: center; gap: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.bf-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.bf-logo > div { display: grid; line-height: 1.2; }
.bf-logo small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.bf-lotus { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--rose); background: var(--rose-soft); border: 1px solid rgba(240, 122, 169, .35); }
.bf-hidi { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--text); }
.bf-hidi span { color: var(--green); }
.bf-div { width: 1px; align-self: stretch; min-height: 32px; background: var(--line); }
.bf-msoft img { width: 34px; height: auto; flex: none; }
.bf-msoft b { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--text); white-space: nowrap; }
.bf-msoft:hover b { color: var(--green-dark); }
.bf-contacto { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; max-width: 1500px; margin: 4px auto 0; padding-top: 4px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.bf-contacto[hidden] { display: none; }
.bf-contacto span, .bf-contacto a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.bf-contacto svg { flex: none; color: var(--green-dark); }
.bf-contacto a:hover { color: var(--green-dark); }
:root[data-theme="dark"] .bf-contacto svg { color: var(--green); }
@media (max-width: 1280px) { .bf-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bf-item:nth-child(n+4) { display: none; } .bf-marcas { grid-column: 1 / -1; justify-content: center; border-left: 0; padding: 4px 0 0; border-top: 1px solid var(--line); } }
@media (max-width: 900px) { .bf-in { grid-template-columns: 1fr; } .bf-item { display: none; } .bf-marcas { border-top: 0; padding: 0; } .panel { padding-bottom: 24px; } }
@media (max-width: 420px) { .bf-logo small { display: none; } .bf-marcas { gap: 8px; } }
/* Invitación al registro de negocios */
.rg-invita { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.rg-invita a { color: var(--accent); font-weight: 700; text-decoration: none; }
.rg-invita a:hover { text-decoration: underline; }

/* Tema oscuro: el panel del formulario lleva el mismo fondo ciruela que el escenario (una sola pieza) */
:root:not([data-theme="light"]) .panel {
  background:
    radial-gradient(700px 500px at 100% 100%, rgba(232, 80, 143, .10), transparent 60%),
    linear-gradient(142deg, #391627 0%, var(--plum-1) 45%, var(--plum-0) 100%);
  border-left-color: rgba(255, 255, 255, .06);
}

/* Teléfonos y tabletas: el pie de marca (HIDISPA + MSOFT) queda siempre abajo, fijo,
   por encima de la barra de gestos del iPhone; el contenido deja su hueco para no taparse. */
@media (max-width: 1180px) {
  .brand-foot {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }
  .bf-in { grid-template-columns: 1fr; }
  .bf-item { display: none; }
  .bf-marcas { grid-column: auto; justify-content: center; border: 0; padding: 0; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .panel { padding-bottom: 24px; }
}
@media (max-width: 900px) {
  .panel { min-height: calc(100vh - 58px - env(safe-area-inset-bottom)); }
}

/* Negocio ya conocido: una línea en lugar del campo «Empresa» */
.tenant-fijo { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 10px 12px 10px 14px; border-radius: 12px;
  background: var(--field); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tenant-fijo > svg { color: var(--accent); flex: none; }
.tenant-fijo b { color: var(--text); font-weight: 700; }
.tenant-fijo button { margin-left: auto; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; padding: 2px 4px; }
.tenant-fijo button:hover { text-decoration: underline; }
.tenant-fijo[hidden], #tenantCampo[hidden] { display: none; }
/* Un correo en varios negocios: a cuál entrar */
.tenant-elegir { display: grid; gap: 4px; margin-bottom: 18px; }
.tenant-elegir p { margin: 0 0 4px; font-size: 13.5px; color: var(--text); font-weight: 600; }
.tenant-elegir button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: var(--field); border: 1px solid var(--line); font: inherit; color: var(--text); text-align: left; }
.tenant-elegir button:hover, .tenant-elegir button:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none; }
.tenant-elegir small { color: var(--faint); font-size: 12px; }
.tenant-elegir[hidden] { display: none; }
.btn-secondary[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-demo { width: 100%; height: 44px; margin-top: 4px; border-radius: 12px; cursor: pointer; border: 1px dashed var(--accent); background: var(--accent-soft);
  color: var(--text); font: inherit; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.btn-demo small { color: var(--muted); font-weight: 500; }
.btn-demo:hover { background: var(--field-hover); }
