/* The phone flow's box and form. Loaded on widget-v68's pages too, so every rule is scoped to a
   booth- class and every colour is a literal of DESIGN.md's tokens: no variable of theirs is
   read or set. */
.booth-listen {
  display: flex; align-items: center; gap: 16px; box-sizing: border-box;
  margin: 0 0 24px; padding: 7px 16px 7px 7px;
  background: #0c0c0e; border: 1px solid #27272a; border-radius: 12px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  font-family: Geist, ui-sans-serif, system-ui, sans-serif; color: #a1a1aa;
  font-size: 13px; line-height: 18px; text-align: left;
}
.booth-listen-qr { flex: none; width: 72px; height: 72px; }
.booth-listen-code { display: block; width: 100%; height: 100%; border-radius: 6px; }
.booth-listen-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.booth-listen-row { display: flex; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
.booth-listen p { margin: 0; }
.booth-listen-title { color: #fafafa; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.01em; }
.booth-listen-url { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: #3ecf8e; }
.booth-listen-here { display: none; }
.booth-listen-more { color: #fafafa; text-decoration: underline; text-underline-offset: 2px; }
.booth-listen-more:hover { color: #3ecf8e; }
/* widget-v68's call pages put the box between their sticky header and the panels, and budget
   88px for it from 1024px up and 36px below: the gap above counts. */
.booth-listen-call {
  max-width: 1920px; margin: 10px auto 0; width: calc(100% - 24px);
  height: 78px; padding: 6px 16px 6px 6px; overflow: hidden;
}
.booth-listen-call .booth-listen-qr { width: 64px; height: 64px; }
@media (min-width: 640px) { .booth-listen-call { width: calc(100% - 32px); } }
/* Under 1024px the visitor is most likely on the phone already: no code, one line. */
@media (max-width: 1023px) {
  .booth-listen { padding: 8px 12px; }
  .booth-listen-qr, .booth-listen-title, .booth-listen-line, .booth-listen-url { display: none; }
  .booth-listen-here { display: block; }
  .booth-listen-call { margin-top: 8px; height: 28px; padding: 0 12px; }
  .booth-listen-call .booth-listen-row { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  /* One line has room for the headphones hint or the form's link, not both; the launcher has the link. */
  .booth-listen-call .booth-listen-more { display: none; }
}

.booth-form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.booth-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #a1a1aa; }
.booth-field input {
  box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 6px;
  border: 1px solid #3f3f46; background: #0c0c0e; color: #fafafa;
  font: inherit; font-size: 16px; line-height: 22px;
}
.booth-field input:focus { outline: 2px solid #3ecf8e; outline-offset: 1px; }
.booth-form-note { margin: -8px 0 0; font-size: 13px; color: #71717a; }
.booth-tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: #a1a1aa; }
.booth-tick input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: #3ecf8e; }
.booth-tick a { color: #fafafa; text-decoration: underline; text-underline-offset: 2px; }
.booth-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booth-form-errors { margin: 0; padding: 0 0 0 18px; color: #fca5a5; font-size: 14px; }
.booth-form-errors:empty { display: none; }
.booth-send {
  align-self: flex-start; padding: 10px 18px; border-radius: 6px; border: 0;
  background: #3ecf8e; color: #09090b; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.booth-send:disabled { opacity: 0.6; cursor: default; }
/* Give the consultation-page phone cue more visual weight. */
.booth-listen-call .booth-listen-title {
  font-size: 22.5px; line-height: 30px; font-weight: 700;
}
.booth-listen-call .booth-listen-line { font-size: 14px; line-height: 20px; }
@media (min-width: 1024px) {
  .booth-listen-call { height: auto; }
}

/* QR candidate only: snap the projected code to whole screen pixels per module. */
@supports (width: round(nearest, 1px, 1px)) {
@supports (width: calc(1px * 1px / 1px)) {
@media (min-width:1024px) {
  .booth-listen-call .booth-listen-qr {
    --booth-qr-side:round(nearest,max(74px,calc(64px * 100vh / var(--vh,100vh))),37px);
    width:calc(var(--booth-qr-side) * var(--vh,100vh) / 100vh);
    height:calc(var(--booth-qr-side) * var(--vh,100vh) / 100vh);
  }
  .booth-listen-call .booth-listen-code { shape-rendering:crispEdges; }
}
}
}

/* Phone QR cue is opt-in; the kiosk flag is set in the existing head script. */
.booth-listen-call{display:none}
html.booth-kiosk .booth-listen-call,html.booth-qr-enabled .booth-listen-call{display:flex}
