/* Website growth: WhatsApp button, book-a-demo, newsletter, operator statistics. Uses wati.css tokens. */

/* ---- Floating WhatsApp button (public pages only, rendered only when a number is configured) ---- */
.wa-float { position: fixed; z-index: 45; inset-inline-end: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--wa-lift, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: #127a3e; color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-2); }
.wa-float:hover, .wa-float:focus-visible { background: #0e6332; color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; }
/* A cookie note / bottom bar (if any) lifts the button so it never covers it. */
body:has(.cookie-note:not([hidden]), [data-cookie-note]:not([hidden])) { --wa-lift: 96px; }
@media (max-width: 640px) {
  .wa-float { padding: 12px; min-width: 48px; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Room under the last footer row and bottom CTAs so the button never sits on top of them. */
  .site:has(.wa-float) .site-foot { padding-bottom: 88px; }
}
@media print { .wa-float { display: none; } }

/* ---- Pricing page strip ---- */
.book-demo-strip { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s5); margin-block: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.book-demo-strip p { margin: 0; color: var(--text-2); }

/* ---- Book a demo ---- */
.growth-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (max-width: 900px) { .growth-grid { grid-template-columns: 1fr; } }
.slot-day { border: 0; padding: 0; margin: 0 0 var(--s4); }
.slot-day legend { font-weight: 700; margin-bottom: var(--s2); color: var(--text); }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); }
.slot { position: relative; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--r);
  background: var(--surface); cursor: pointer; min-height: 48px; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.slot-mode { font-size: .8rem; color: var(--muted); }
.slot:has(input:checked) { border-color: var(--deep); background: var(--brand-50); box-shadow: 0 0 0 2px var(--deep) inset; }
.slot:has(input:focus-visible) { outline: 3px solid var(--brand-600); outline-offset: 2px; }
.growth-card { max-width: 560px; }

/* ---- Operator console ---- */
.hbar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--border); font-size: .9rem; }
.hbar-row:last-child { border-bottom: 0; }
.hbar-key { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.hbar > span { display: block; height: 100%; background: var(--deep); border-radius: 999px; }
