/* Public pages (booking, details, confirmation, manage, upload): the clean scheduling look.
   Loaded after base.css on client pages only. Same Nova colours and the same behaviour;
   what changes is the material: white, hairline borders, see-through blue tints for choices,
   frosted bars, and on wide screens one scheduling card with you on the left and the
   calendar on the right. */

body.public {
  font-family: "Inter", "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hair: rgba(31, 58, 95, .14);         /* hairline borders */
  --hair-strong: rgba(31, 58, 95, .26);
  --tint: rgba(31, 58, 95, .07);         /* see-through blue for choices */
  --tint-hover: rgba(31, 58, 95, .13);
  --slot-line: rgba(31, 58, 95, .5);
  --frost: rgba(255, 255, 255, .78);
  --ground: #f4f7fb;
  --radius: 12px;
  --radius-card: 16px;
  --shadow-card: 0 1px 2px rgba(23, 44, 71, .04), 0 8px 30px rgba(23, 44, 71, .07);
  background: var(--white);
  background-image: none;
}
body.public ::selection { background: var(--selection, rgba(31, 58, 95, .22)); }

/* ---- Top bar: frosted white instead of solid navy ---- */
body.public .topbar {
  position: sticky; top: 0; z-index: 8; padding: 8px 0; background: var(--frost); color: var(--navy);
  border-bottom: 1px solid var(--hair); box-shadow: none;
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
body.public .topbar a { color: var(--navy); }
body.public .call-btn { background: transparent; border: 1.5px solid var(--hair-strong); box-shadow: none; color: var(--navy) !important; }
body.public .call-btn:hover { background: var(--tint); border-color: var(--navy); }
body.public .lang-btn.lang-to-bn { background: var(--gold); box-shadow: var(--shadow-gold); color: var(--on-gold); }
body.public .lang-btn.lang-to-bn:hover { background: var(--gold-hover); }
body.public .lang-btn.lang-to-en { border: 1.5px solid var(--hair-strong); color: var(--navy); }
body.public .lang-btn.lang-to-en:hover { background: var(--tint); border-color: var(--navy); }

/* ---- Type ---- */
body.public h1 { color: var(--ink); font-size: 1.7rem; letter-spacing: -0.02em; }
body.public h2 { color: var(--ink); font-size: 1.15rem; }

/* ---- Identity: plain, no box ---- */
body.public .identity { padding: 4px 0 16px; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--hair); }
body.public .hero-photo { width: 64px; height: 64px; border: 0; box-shadow: 0 0 0 1px var(--hair); }
body.public .hero-name { color: var(--ink); }

/* ---- Days: rows on a see-through blue tint; chosen = solid navy ---- */
body.public .days { gap: 8px; }
body.public .day {
  min-height: 58px; border: 1px solid transparent; border-radius: var(--radius); background: var(--tint);
  box-shadow: none; transition: background-color .15s ease-out, border-color .15s ease-out;
}
body.public .day:hover { background: var(--tint-hover); border-color: var(--hair-strong); box-shadow: none; }
body.public .day strong { color: var(--navy); }
body.public .day[aria-current] { border: 1px solid var(--navy); background: var(--navy); box-shadow: 0 6px 18px var(--glow, rgba(31, 58, 95, .22)); }
body.public .day[aria-current] strong, body.public .day[aria-current] .day-date { color: var(--white); }
body.public .day[aria-current]::after {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230e5a5c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.public .more-days summary { color: var(--link); text-decoration: none; }
body.public .more-days summary:hover { text-decoration: underline; }

/* ---- Times: outlined, airy, a grid; chosen = solid navy ---- */
body.public .slot-group legend { color: var(--slate); font-weight: 600; font-size: .95rem; letter-spacing: .01em; }
body.public .slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: 8px; }
body.public .slot > span {
  width: 100%; min-height: 52px; border: 1px solid var(--slot-line); border-radius: var(--radius);
  background: transparent; color: var(--link); font-weight: 700; box-shadow: none;
  transition: background-color .15s ease-out, border-color .15s ease-out;
}
body.public .slot input:hover + span { background: var(--tint); border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
body.public .slot input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 6px 18px var(--glow, rgba(31, 58, 95, .22)); }

/* ---- Buttons ---- */
body.public .btn-primary { border-radius: 999px; background: var(--navy); box-shadow: 0 4px 14px var(--glow, rgba(31, 58, 95, .22)); }
body.public .btn-primary:hover { background: var(--deep-navy); }
body.public .btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: var(--shadow-gold); }
body.public .btn-gold:hover { background: var(--gold-hover); }
body.public .btn-primary:disabled { background: var(--navy-wash, rgba(31, 58, 95, .08)); color: var(--muted); box-shadow: none; }
body.public .btn-outline { border: 1.5px solid var(--hair-strong); border-radius: 999px; background: transparent; box-shadow: none; }
body.public .btn-outline:hover { background: var(--tint); border-color: var(--navy); }

/* ---- Booking bar: frosted on phones ---- */
body.public .book-bar { background: transparent; }
@media (max-width: 47.99rem) {
  body.public .book-bar {
    background: var(--frost); border-top: 1px solid var(--hair); box-shadow: none;
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  }
}

/* ---- Panels, notices, cards: hairline, no heavy shadow ---- */
body.public .panel { border: 1px solid var(--hair); background: var(--white); box-shadow: none; }
body.public .notice { border-radius: var(--radius); }
body.public .booked-card { border: 1px solid var(--hair); background: var(--white); box-shadow: var(--shadow-card); }
body.public .booked-bring { border: 1px solid var(--hair); background: var(--tint); }
/* The privacy note is a quiet line of help text, not an alert box */
body.public .privacy {
  align-items: baseline; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; border-radius: 0; background: none;
  color: var(--slate); font-size: .95rem; font-weight: 400; line-height: 1.5;
}
body.public .privacy .icon { flex: none; width: 15px; height: 15px; color: var(--navy); transform: translateY(2px); }
body.public .check { border: 1px solid var(--hair); background: var(--tint); }
body.public .doc-slot { border: 1px solid var(--hair); box-shadow: none; }
body.public .doc-slot.is-sent { background: rgba(22, 112, 62, .06); border-color: rgba(22, 112, 62, .25); }

/* ---- Forms (details sheet, upload) ---- */
body.public .details input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.public .details select, body.public .details textarea {
  border: 1px solid var(--hair-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
body.public .details input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
body.public .details select:focus, body.public .details textarea:focus {
  outline: none; border-color: var(--bright-blue); box-shadow: 0 0 0 4px var(--focus-glow, rgba(31, 58, 95, .18));
}
body.public .pick > span { border: 1px solid var(--hair-strong); background: var(--white); box-shadow: none; }
body.public .pick input:hover + span { background: var(--tint); box-shadow: none; }
body.public .pick input:checked + span { border: 2px solid var(--navy); background: var(--tint-hover); box-shadow: none; }
body.public .sheet { background: var(--white); box-shadow: 0 -10px 40px rgba(23, 44, 71, .18); }
body.public .sheet::backdrop { background: rgba(23, 44, 71, .32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* ---- Who to meet (T-35): photo cards + "Anyone available" ---- */
.team-choice h2 { margin: 18px 0 12px; }
.team-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 10px; margin: 0; padding: 0; }
.team-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 18px 12px 16px;
  border: 1px solid var(--hair); border-radius: var(--radius-card); background: var(--tint);
  color: var(--navy) !important; text-align: center; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out;
}
.team-card:hover { background: var(--tint-hover); border-color: var(--hair-strong); }
.team-card img, .team-initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--navy); font-size: 1.3rem; font-weight: 700; box-shadow: 0 0 0 1px var(--hair); }
.team-initials .icon { width: 28px; height: 28px; }
.team-card strong { font-size: 1.1rem; line-height: 1.3; }
.team-card span:not(.team-initials) { color: var(--slate); font-size: .95rem; line-height: 1.35; }
.team-any { border-style: dashed; }
.firm-identity { flex-direction: column; align-items: flex-start; gap: 8px; }
.firm-logo { display: block; width: min(220px, 70vw); height: auto; }
.hero-initials { color: var(--navy); font-size: 1.4rem; font-weight: 700; }
.team-chosen { margin: 0 0 4px; color: var(--slate); font-weight: 600; }
.team-chosen a { color: var(--link); }

/* ---- Wide screens: one scheduling card on a soft ground ---- */
@media (min-width: 60rem) {
  body.public { background: var(--ground); }
  body.public main {
    max-width: 44rem; margin: 36px auto 48px; padding: 32px 36px 36px;
    border: 1px solid var(--hair); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card);
  }
  /* The booking page: you on the left, the calendar on the right */
  body.page-booking main {
    max-width: 66rem; display: grid; grid-template-columns: 19rem minmax(0, 1fr); padding: 0; align-items: stretch;
  }
  body.page-booking main > * { grid-column: 1 / -1; }
  body.page-booking main > .hero, body.page-booking main > .reschedule-head {
    grid-column: 1; margin: 0; padding: 32px 28px; border-right: 1px solid var(--hair);
  }
  body.page-booking main > #book-form { grid-column: 2; padding: 32px 32px 28px; }
  body.page-booking main > .empty-state { grid-column: 2; margin: 32px; }
  body.page-booking main > .team-choice { grid-column: 2; padding: 16px 32px 32px; }
  body.page-booking .team-cards { grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 14px; }
  body.page-booking .team-card { padding: 24px 14px 20px; }
  body.page-booking .team-card img, body.page-booking .team-initials { width: 84px; height: 84px; }
  body.page-booking .identity { flex-direction: column; border-bottom: 0; }
  body.page-booking .firm-logo { width: 200px; }
  body.page-booking .hero-photo { width: 84px; height: 84px; }
  body.page-booking #book-form { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; column-gap: 28px; align-content: start; }
  body.page-booking #book-form > * { grid-column: 1 / -1; grid-row: 1; }
  body.page-booking #book-form > section[aria-labelledby="days-title"] { grid-column: 1; grid-row: 2; }
  body.page-booking #book-form > #times { grid-column: 2; grid-row: 2; }
  body.page-booking #book-form > .book-bar { grid-row: 3; }
  body.page-booking #book-form > #times:not([hidden]) { padding-left: 28px; border-left: 1px solid var(--hair); }
  body.page-booking .slots { grid-template-columns: 1fr; }
  body.page-booking .book-bar { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); }
}

/* Upload page: two buttons per document must fit a 360px phone */
body.public .doc-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.public .doc-actions label { padding: 0 10px; }
body.public .doc-actions label span { white-space: normal; line-height: 1.2; text-align: center; }

@media (min-width: 60rem) {
  /* the top bar lines up with the card */
  body.public .bar-inner { max-width: 44rem; padding: 0; }
  body.page-booking .bar-inner { max-width: 66rem; }
  /* before a day is picked the days take the whole width */
  body.page-booking #book-form:has(> #times[hidden]) { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Professional finish (frontend-design pass): brand in the bar, calmer type ---- */
body.public .bar-inner { gap: 10px; }
body.public .topbar a.bar-brand { flex: none; justify-content: flex-start; min-width: 0; padding: 0; border-radius: 6px; }
.bar-brand img { display: block; height: 42px; width: auto; max-width: min(220px, 46vw); object-fit: contain; object-position: left center; margin: -4px 0 -4px -4px; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
body.public .lang-btn.lang-to-bn { font-size: 1.05rem; font-weight: 600; padding: 0 16px 0 12px; }
@media (max-width: 26rem) {
  body.public .call-btn { min-width: var(--tap); padding: 0; }
  body.public .call-btn .call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Type: one family, restrained weights, a clear scale */
body.public { font-weight: 400; }
body.public h1 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
body.public h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
body.public .hero-name, body.public .team-card strong { font-weight: 600; }
body.public .day strong { font-weight: 600; }
body.public .day[aria-current] { font-weight: 500; }
body.public .slot > span { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
body.public .btn-primary, body.public .btn-outline { font-weight: 600; }
body.public .slot-group legend { font-weight: 500; }
body.public .firm-sub { margin: 0 0 14px; color: var(--slate); }
body.public .firm-sub > span { display: block; }
@media (min-width: 60rem) {
  body.public h1 { font-size: 2rem; }
  .bar-brand img { height: 50px; }
}

body.public .team-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
body.public .team-chosen a.chip-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--hair-strong);
  border-radius: 999px; color: var(--navy); font-size: .95rem; font-weight: 600; text-decoration: none;
}
body.public .team-chosen a.chip-link:hover { background: var(--tint); border-color: var(--navy); }

/* ---- Details form: a summary, two plain sections, grouped choices ---- */
body.public .booking-summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 0 0 6px;
  padding: 14px 16px; border-radius: var(--radius-card); background: var(--tint); border: 1px solid var(--hair);
}
.summary-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px var(--hair); }
.summary-icon .icon { width: 22px; height: 22px; }
body.public .booking-summary h2 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
body.public .booking-summary .sheet-summary { margin: 2px 0 0; color: var(--navy); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.summary-with { display: block; color: var(--slate); font-weight: 400; font-size: .95rem; }
body.public a.sheet-change.chip-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--hair-strong);
  border-radius: 999px; background: var(--white); color: var(--navy); font-size: .95rem; font-weight: 600; text-decoration: none;
}
body.public .form-section { margin: 26px 0 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
body.public .details legend { font-weight: 500; }
body.public .optional { margin-left: 6px; color: var(--muted); font-size: .85rem; font-weight: 400; }

/* WhatsApp: a plain checkbox row, not a tinted box */
body.public .check.check-plain { padding: 4px 0; border: 0; background: none; color: var(--slate); }
body.public .check.check-plain input { width: 22px; height: 22px; }

/* Services: one grouped list; name and price on one line; the chosen row tinted with a check */
body.public .option-list { display: block; border: 1px solid var(--hair-strong); border-radius: 14px; overflow: hidden; background: var(--white); }
body.public .option-list .pick { display: block; }
body.public .option-list .pick + .pick { border-top: 1px solid var(--hair); }
body.public .option-list .pick > span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 44px 10px 14px; border: 0 !important;
  border-radius: 0; background: transparent; box-shadow: none; font-weight: 500; position: relative;
}
body.public .option-list .option-name { flex: 1; min-width: 0; }
body.public .option-list .option-price { flex: none; flex-basis: auto !important; color: var(--slate); font-size: .9rem; font-weight: 400; white-space: nowrap; }
body.public .option-list .svc-icon { color: var(--navy); }
body.public .option-list .pick input:hover + span { background: var(--tint); }
body.public .option-list .pick input:checked + span { padding: 10px 44px 10px 14px; background: var(--tint-hover); color: var(--navy); font-weight: 600; }
body.public .option-list .pick input:checked + span::before { display: none; }
body.public .option-list .pick input:checked + span::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
body.public .option-list .pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }

/* Meeting: three tiles in a row with icons */
body.public .option-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 8px; }
body.public .option-tiles .pick > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 88px; padding: 10px 8px;
  border: 1px solid var(--hair-strong); border-radius: 14px; background: var(--white); text-align: center; font-size: .95rem; font-weight: 500; line-height: 1.25;
}
.tile-icon { display: inline-flex; color: var(--navy); }
.tile-icon .icon { width: 24px; height: 24px; }
body.public .option-tiles .pick input:checked + span { padding: 9px 7px; border: 2px solid var(--navy); background: var(--tint-hover); color: var(--navy); font-weight: 600; }
body.public .option-tiles .pick input:checked + span::before { display: none; }

body.public .more-info { margin-top: 22px; }
body.public .more-info summary { font-weight: 600; }

/* The confirm button stays pinned only on phones */
@media (min-width: 48rem) {
  body.public .sheet-submit { position: static; margin-top: 8px; padding: 12px 0 0; border-top: 0; box-shadow: none; background: none; }
}

/* One label style for every question; groups separated by space, not headings */
body.public .details label:not(.pick):not(.check), body.public .details legend { font-size: 1rem; font-weight: 600; color: var(--ink); }
body.public .field-group-start { margin-top: 28px; }
.svc-icon-blank { display: inline-block; width: 1.25em; height: 1.25em; }

/* Footer and plain text pages (privacy, errors) */
.site-footer { max-width: 36rem; margin: 0 auto; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: .95rem; }
.site-footer a { color: var(--slate); }
@media (max-width: 47.99rem) { body.page-booking .site-footer { padding-bottom: 140px; } }
.privacy-page h2 { margin: 22px 0 6px; font-size: 1.1rem; }
.privacy-page p { color: var(--slate); line-height: 1.65; max-width: 65ch; }
.error-page { text-align: center; padding-top: 24px; }
.error-page .btn-primary { display: inline-flex; width: auto; padding: 0 28px; margin-top: 12px; }

/* ---- Accessibility floor (T-21, SPEC §8) ----
   Reading text is 18px; small interface tags never go below 16px; every tap target is 48px. */
body.public .hero-sub, body.public .help-line, body.public .book-hint, body.public .hint,
body.public .field-error, body.public .privacy, body.public .booked-meta, body.public .booked-bring ul,
body.public .booked-wa, body.public .upload-help, body.public .doc-status, body.public .summary-with,
body.public .team-card span:not(.team-initials), body.public .booking-summary h2,
body.public .booking-summary .sheet-summary, body.public .form-section,
body.public .details label:not(.pick):not(.check), body.public .details legend,
body.public .booked-owner span, body.public .site-footer, body.public .hero-name { font-size: 1.125rem; }
body.public .chip-link, body.public .optional, body.public .option-list .option-price,
body.public .slot-group legend, body.public .pick small, body.public .option-tiles .pick > span,
body.public .tray-num, body.public .image-preview.empty { font-size: 1rem; }
body.public .team-chosen a.chip-link, body.public a.sheet-change.chip-link { min-height: var(--tap); }
/* the phone number inside a sentence is still a full-size target */
body.public .help-line a, body.public .privacy-page a[href^="tel:"] {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
/* with very large text the bar wraps instead of pushing the page sideways */
body.public .bar-inner { flex-wrap: wrap; row-gap: 8px; }
body.public .team-chosen a.chip-link, body.public a.sheet-change.chip-link { font-size: 1rem; }
body.public a[href^="tel:"].ltr:not(.btn-primary):not(.call-btn), body.public .site-footer a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
body.public .booked-when, body.public .booked-card strong, body.public .team-card strong,
body.public .lang-btn.lang-to-bn, body.public .doc-actions label { font-size: 1.125rem; }
/* a chosen meeting tile shows a check mark, not only a darker border */
body.public .option-tiles .pick > span { position: relative; }
body.public .option-tiles .pick input:checked + span::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* A firm without a logo: its name in the top bar */
.bar-name { display: block; max-width: 14rem; overflow: hidden; color: var(--navy); font-size: 1.15rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
/* a name (not a logo) shares the bar with the buttons: it shrinks and may take two lines */
body.public .topbar a.bar-brand:has(.bar-name) { flex: 1 1 0; min-width: 0; }
body.public .bar-name { max-width: none; font-size: 1.125rem; white-space: normal;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
/* On a phone the summary card gives its width to the words, not the decorative icon */
@media (max-width: 26rem) {
  body.public .booking-summary .summary-icon { display: none; }
}

/* =============================================================================================
   Guided (2026-11 redesign, TurboTax as the inspiration; same family as the admin): plain white
   pages, one question at a time in big plain type, a step tracker at the top (Day and time,
   Your details, Confirmed), white choice tiles with firm outlines that turn navy-outlined with a
   tick when chosen, square-cornered flat buttons, and green ticks for what is finished. Colours
   are the brand's (navy, gold for the one main action, green for done) and still follow the
   business's own colour from Settings.
   ============================================================================================= */
body.public {
  --g-line: #d2d8df; --g-field: #a5b0bf; --g-done: #16703e; --g-done-bg: #e5f4eb;
  --g-chosen-bg: var(--mist); --r-ctl: 8px; --r-box: 10px;
  background: var(--white);
}

/* ---- top bar: solid white, one hairline ---- */
body.public .topbar { background: var(--white); border-bottom: 1px solid var(--g-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.public .lang-btn, body.public .call-btn { border-radius: var(--r-ctl); }
body.public .lang-btn.lang-to-bn { box-shadow: none; }
body.public .call-btn, body.public .lang-btn.lang-to-en { border: 1.5px solid var(--g-field); }

/* ---- the step tracker ---- */
.steps { display: flex; gap: 0; margin: 4px 0 22px; padding: 0; list-style: none; counter-reset: none; }
.steps li { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; color: var(--slate); }
.steps li:last-child { flex: 0 0 auto; }
.step-label { white-space: nowrap; }
.steps li:not(:last-child)::after { content: ""; flex: 1 1 auto; min-width: 10px; height: 2px; margin: 0 8px; border-radius: 1px; background: var(--g-line); }
.steps li.is-done:not(:last-child)::after { background: var(--g-done); }
.step-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--g-field); background: var(--white); color: var(--slate); font-size: .95rem; font-weight: 600;
}
.step-mark .icon { width: 16px; height: 16px; stroke-width: 3; }
.steps .is-done .step-mark { border-color: var(--g-done); background: var(--g-done); color: var(--white); }
.steps .is-current .step-mark { border-color: var(--navy); background: var(--navy); color: var(--white); }
.step-label { font-size: 1rem; font-weight: 500; line-height: 1.25; }
.steps .is-current .step-label { color: var(--ink); font-weight: 600; }
@media (max-width: 30rem) {
  /* on a phone only the current step keeps its name; the others show their mark */
  .steps li:not(.is-current) .step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .steps:not(:has(.is-current)) li:last-child .step-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; color: var(--g-done); font-weight: 600; }
}
body.public .booked-check { box-shadow: none; }
.sheet .steps { margin-bottom: 16px; }

/* ---- type: the question is the heading ---- */
body.public h1 { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.025em; }
body.public h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
body.public .doc-label, body.public .booking-summary h2 { font-size: 1.15rem; }

/* ---- choices: white tiles with firm outlines; chosen = navy outline, light wash and a tick ---- */
body.public .team-card, body.public .day, body.public .slot > span, body.public .pick > span,
body.public .option-tiles .pick > span, body.public .option-list {
  border: 1.5px solid var(--g-field); border-radius: var(--r-box); background: var(--white); box-shadow: none;
}
body.public .team-any { border-style: solid; }
body.public .team-card:hover, body.public .day:hover, body.public .slot input:hover + span, body.public .pick input:hover + span {
  border-color: var(--navy); background: var(--white); box-shadow: none;
}
body.public .team-initials { background: var(--surface); box-shadow: none; }
body.public .day[aria-current], body.public .slot input:checked + span,
body.public .option-tiles .pick input:checked + span, body.public .pick input:checked + span {
  border: 2px solid var(--navy); background: var(--g-chosen-bg); color: var(--navy); box-shadow: none;
}
body.public .day[aria-current] strong, body.public .day[aria-current] .day-date { color: var(--navy); }
body.public .day[aria-current]::after {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.public .slot > span { color: var(--navy); }
body.public .slot input:checked + span { position: relative; }
body.public .option-list .pick > span { border: 0 !important; }
body.public .option-list .pick input:checked + span { border: 0; }

/* ---- buttons: square-cornered and flat ---- */
body.public .btn-primary, body.public .btn-gold, body.public .btn-outline, body.public .chip-link,
body.public .team-chosen a.chip-link, body.public a.sheet-change.chip-link { border-radius: var(--r-ctl); box-shadow: none; }
body.public .btn-primary { background: var(--navy); }
body.public .btn-primary:hover { background: var(--deep-navy); }
body.public .btn-gold { background: var(--gold); color: var(--on-gold); }
body.public .btn-gold:hover { background: var(--gold-hover); }
body.public .btn-primary:disabled { background: var(--surface); color: var(--muted); }
body.public .btn-outline, body.public .chip-link, body.public .team-chosen a.chip-link, body.public a.sheet-change.chip-link {
  border: 1.5px solid var(--navy); background: var(--white); color: var(--navy);
}
body.public .btn-outline:hover, body.public .chip-link:hover { background: var(--g-chosen-bg); border-color: var(--navy); }

/* ---- boxes and fields ---- */
body.public .panel, body.public .booked-card, body.public .booked-bring, body.public .booking-summary {
  border: 1px solid var(--g-line); border-radius: var(--r-box); background: var(--white); box-shadow: none;
}
body.public .booking-summary { background: var(--surface); }
body.public .summary-icon { border-radius: var(--r-ctl); }
body.public .booked-bring { background: var(--surface); }
body.public .notice { border-radius: var(--r-box); }
body.public .details input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.public .details select, body.public .details textarea { border: 1.5px solid var(--g-field); border-radius: var(--r-ctl); }
body.public .check { border: 1px solid var(--g-line); border-radius: var(--r-ctl); background: var(--surface); }
body.public .sheet { border-radius: 16px 16px 0 0; }
@media (min-width: 48rem) { body.public .sheet { border-radius: 14px; } }
body.public .booked-check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(var(--g-done), var(--g-done)); }

/* ---- document upload: a checklist; each document gets a ring that turns into a green tick ---- */
.upload-meter { margin: 0 0 18px; }
.upload-count { margin: 0 0 8px; color: var(--ink); font-weight: 600; }
.meter-bar { display: block; height: 8px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--g-line); overflow: hidden; }
.meter-bar span { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--g-done); transition: width .4s cubic-bezier(.16, 1, .3, 1); }
body.public .doc-slots { gap: 0; border: 1px solid var(--g-line); border-radius: var(--r-box); overflow: hidden; }
body.public .doc-slot { padding: 16px; border: 0; border-radius: 0; background: var(--white); box-shadow: none; }
body.public .doc-slot + .doc-slot { border-top: 1px solid var(--g-line); }
body.public .doc-slot.is-sent { border-color: var(--g-line); background: var(--white); }
body.public .doc-slot + .doc-slot.is-sent { border-top: 1px solid var(--g-line); }
body.public .doc-head { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: center; }
body.public .doc-head > :not(.doc-ring) { grid-column: 2; }
.doc-ring {
  display: inline-flex; align-items: center; justify-content: center; grid-row: 1 / span 2; align-self: start;
  width: 30px; height: 30px; border: 2px solid var(--g-field); border-radius: 50%; color: transparent;
}
.doc-ring .icon { width: 16px; height: 16px; stroke-width: 3; }
.doc-slot.is-sent .doc-ring { border-color: var(--g-done); background: var(--g-done); color: var(--white); }
body.public .doc-head .doc-label { margin: 2px 0 0; }
body.public .doc-sent { color: var(--g-done); }
body.public .doc-actions, body.public .doc-tray, body.public .doc-progress { margin-left: 42px; }
@media (max-width: 26rem) { body.public .doc-actions, body.public .doc-tray, body.public .doc-progress { margin-left: 0; } }
body.public .progress-bar { height: 8px; border-radius: 4px; }
body.public .progress-bar span { background: var(--navy); }
body.public .tray-page img, body.public .tray-page { border-radius: var(--r-ctl); }

/* ---- wide screens: no floating card; a white page with the content in a calm column ---- */
@media (min-width: 60rem) {
  body.public { background: var(--white); }
  body.public main { margin: 32px auto 48px; padding: 0 0 8px; border: 0; border-radius: 0; box-shadow: none; background: none; }
  body.page-booking main { border: 1px solid var(--g-line); border-radius: 14px; }
  body.page-booking main > .steps { margin: 0; padding: 18px 32px; border-bottom: 1px solid var(--g-line); }
  body.page-booking main > .hero, body.page-booking main > .reschedule-head { border-right-color: var(--g-line); }
  body.public h1 { font-size: 2.2rem; }
  body.public .doc-slot { padding: 18px 20px; }
}

/* ---- The client's invoice (§6C): one calm sheet; prints on one page ---- */
.invoice-sheet { max-width: 40rem; margin: 0 auto; }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; margin-bottom: 16px; }
.invoice-head h1 { margin: 0; }
.invoice-number { margin: 2px 0 0; color: var(--slate); font-weight: 600; }
.invoice-status { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; font-weight: 700;
  background: var(--warning-bg); color: var(--warning); }
.invoice-status.status-paid { background: var(--success-bg); color: var(--success); }
.invoice-status.status-processing { background: var(--info-bg); color: var(--info); }
.invoice-status.status-void, .invoice-status.status-refunded { background: var(--surface); color: var(--slate); }
.invoice-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0 0 20px; }
.invoice-facts dt { color: var(--slate); font-size: .95rem; }
.invoice-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.invoice-sheet .invoice-lines { margin-bottom: 16px; }
.invoice-sheet .invoice-lines .due th, .invoice-sheet .invoice-lines .due td { color: var(--navy); font-size: 1.25rem; }
.invoice-note { padding: 12px 14px; border-left: 3px solid var(--navy); background: var(--mist); }
.invoice-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.invoice-actions form { margin: 0; }
.btn-block { width: 100%; justify-content: center; }
.print-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; }
.invoice-actions .btn-gold { display: inline-flex; align-items: center; gap: 8px; }
.invoice-print-logo { display: none; }
.invoice-print-logo img { display: block; height: 48px; width: auto; }
.invoice-footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--slate); font-size: .95rem; line-height: 1.5; }
.invoice-footer p { margin: 0; }
.invoice-footer .invoice-firm { color: var(--ink); font-weight: 700; }
.invoice-footer a { color: inherit; }
@media print {
  body.public .topbar, body.public .site-footer, body.public .skip-link, .invoice-actions, .invoice-sheet .notice { display: none !important; }
  .invoice-print-logo { display: block; margin: 0 0 20px; }
  .invoice-footer a, .invoice-facts a { text-decoration: none; color: inherit; }
  body.public, body.public main { background: #fff !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  .invoice-status { border: 1px solid currentColor; }
  /* the whole page width inside the print margins, not the phone-width column on the left */
  body.page-invoice main, body.page-invoice .invoice-sheet { width: 100% !important; max-width: none !important; }
}
@page { margin: 0.6in; }

/* Onboarding pack (SPEC §6D): one document per step, then one signature */
.onboarding h1 { margin-bottom: 12px; }
.ob-step { margin-top: 20px; }
.ob-step h2 { margin: 4px 0 12px; font-size: 1.35rem; }
.ob-step h2:focus { outline: none; }
.ob-progress { margin: 0; font-size: .95rem; }
.ob-text h3 { margin: 18px 0 6px; font-size: 1.1rem; }
.ob-text p { margin: 0 0 10px; line-height: 1.55; }
.ob-li { position: relative; padding-left: 18px; }
.ob-li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.ob-binding { margin: -4px 0 12px; font-size: .95rem; }
.ob-english { margin: 12px 0; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.ob-english summary { cursor: pointer; font-weight: 600; min-height: var(--tap); display: flex; align-items: center; }
.ob-link { font-weight: 600; }
.ob-fees { margin: 6px 0 14px; }
.ob-tick { margin-top: 14px; }
.ob-error { margin: 10px 0 0; }
.ob-nav { display: flex; gap: 10px; margin-top: 18px; }
.ob-nav button { flex: 1; min-height: 52px; }
.ob-intake { margin-top: 8px; }
.ob-section h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.ob-q { margin: 0 0 16px; padding: 0; border: 0; }
.ob-q[hidden] { display: none; }
.ob-q legend { margin-bottom: 8px; font-weight: 600; line-height: 1.45; }
.ob-sign-list { margin: 0 0 16px; padding-left: 20px; }
.ob-pad { border: 2px dashed var(--border-strong); border-radius: var(--radius-card); background: var(--white); margin-bottom: 8px; }
.ob-pad canvas { display: block; width: 100%; height: 170px; touch-action: none; }
.field.is-off .ob-pad { opacity: .4; pointer-events: none; }
.ob-agree { margin: 14px 0 0; font-weight: 600; }
.ob-status { margin: 10px 0 0; }
.ob-status:empty { display: none; }
.ob-downloads li { margin: 0 0 8px; }
.ob-downloads a { display: flex; width: 100%; justify-content: center; }
.ob-label { margin: 0 0 6px; font-weight: 600; }

/* Intake, TurboTax style: one screen at a time; the document's intro only on the first */
.ob-intake-later .ob-text, .ob-intake-later .ob-binding, .ob-intake-later .ob-english { display: none; }
.ob-qprogress { margin: 4px 0 0; font-size: .95rem; }
.ob-qsection { margin: 6px 0 14px; font-size: 1.2rem; }
.ob-qsection:focus { outline: none; }
.ob-q .hint { margin: -2px 0 10px; }
.ob-q .field input, .ob-q input[type="text"], .ob-q textarea { width: 100%; box-sizing: border-box; }
.ob-people-title { margin: 0 0 10px; font-weight: 600; }
.ob-person { margin: 0 0 14px; padding: 14px 16px 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-card); }
.ob-person legend { padding: 0 6px; font-weight: 700; }
.ob-person-remove { margin: 0 0 12px; }
.ob-person-add { width: 100%; min-height: var(--tap); }
.ob-review { margin: 0 0 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.ob-review-row { padding: 6px 0; border-bottom: 1px solid var(--border); }
.ob-review-row:last-of-type { border-bottom: 0; }
.ob-review-q { margin: 0; color: var(--slate); font-size: .95rem; white-space: pre-wrap; }
.ob-review-a { margin: 2px 0 0; font-weight: 600; }
.ob-review .btn-outline { margin-top: 8px; }

/* The spouse signs right after, on the same phone */
.ob-handoff { margin-top: 20px; }
.ob-handoff h2 { margin: 4px 0 12px; font-size: 1.35rem; }
.ob-handoff h2:focus { outline: none; }
.ob-doc { margin: 0 0 8px; }
.ob-nav-stack { flex-direction: column; }
/* a long answer wraps beside its tick, not under it */
.ob-choices .pick > span { flex-wrap: nowrap; align-items: flex-start; line-height: 1.45; }
.ob-choices .pick input:checked + span::before { margin-top: 3px; }

/* A client's page for their tax year: what's next, then every step as a vertical tracker */
.year-page h1 { margin-bottom: 14px; }
.year-now { margin: 18px 0 24px; padding: 18px 18px 20px; border: 2px solid var(--navy); border-radius: var(--r-box); background: var(--g-chosen-bg); }
.year-now h2 { margin: 0 0 6px; font-size: 1rem; color: var(--slate); font-weight: 600; }
.year-now-step { margin: 0 0 6px; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.year-now p { margin: 0 0 8px; }
.year-missing { margin: 4px 0 12px; padding-left: 20px; }
.year-missing li { margin: 2px 0; }
.year-go { display: flex; width: 100%; justify-content: center; margin-top: 8px; }
.year-steps-title { margin: 0 0 10px; font-size: 1.1rem; }
.year-steps { margin: 0 0 24px; padding: 0; list-style: none; }
.year-steps li { position: relative; display: flex; gap: 14px; padding: 0 0 20px; }
.year-steps li:not(:last-child)::before { /* the line down to the next step */
  content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; border-radius: 1px; background: var(--g-line);
}
.year-steps li.is-done:not(:last-child)::before { background: var(--g-done); }
.year-steps .is-done .step-mark { border-color: var(--g-done); background: var(--g-done); color: var(--white); }
.year-steps .is-current .step-mark { border-color: var(--navy); background: var(--navy); color: var(--white); }
.year-steps .is-alert .step-mark { border-color: var(--warning); background: var(--warning); color: var(--white); }
.year-step-text { min-width: 0; padding-top: 3px; }
.year-step-title { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.35; }
.year-steps .is-todo .year-step-title { color: var(--slate); font-weight: 500; }
.year-step-detail { margin: 2px 0 6px; color: var(--slate); }
.year-steps .is-alert .year-step-detail { color: var(--warning); font-weight: 600; }
.year-call { flex-direction: column; align-items: stretch; }
.year-call p { margin: 0 0 6px; }


/* =============================================================================================
   The office kiosk: big type and targets, both languages at once on the welcome screen, nothing
   to select or long-press, a warning before it starts over, the sample PDF inside the page.
   ============================================================================================= */
body.is-kiosk { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
body.is-kiosk input, body.is-kiosk textarea { -webkit-user-select: text; user-select: text; }
body.is-kiosk .bar-brand { pointer-events: none; }
.kiosk { max-width: 34rem; margin: 0 auto; padding: 8px 0 32px; text-align: center; }
.kiosk h1 { font-size: 1.8rem; line-height: 1.3; }
.kiosk-en { display: block; margin-top: 4px; color: var(--slate); font-size: .8em; font-weight: 500; }
.kiosk-wait p, .kiosk-ready p { font-size: 1.25rem; line-height: 1.5; }
.kiosk-ready { margin: 16px 0 24px; padding: 22px 18px; border: 2px solid var(--navy); border-radius: var(--r-box); background: var(--g-chosen-bg); }
.kiosk-ready-name { margin: 0 0 6px; font-size: 1.7rem !important; font-weight: 700; color: var(--ink); }
.kiosk-big { display: flex; width: 100%; justify-content: center; min-height: 64px; font-size: 1.3rem; }
.kiosk-phone { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--g-line); }
.kiosk-phone h2 { font-size: 1.15rem; }
.kiosk-phone-input { width: 100%; min-height: 64px; font-size: 1.8rem !important; text-align: center; letter-spacing: .04em; }
.kiosk-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 16px; }
.kiosk-key { min-height: 68px; border: 1.5px solid var(--g-field); border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font: inherit; font-size: 1.6rem; font-weight: 600; cursor: pointer; }
.kiosk-key:active { background: var(--g-chosen-bg); }
.kiosk-key[data-key="clear"] { font-size: 1rem; }
.kiosk-msg, .kiosk-locked { margin: 16px 0; text-align: left; font-size: 1.1rem; }
.kiosk-people { display: grid; gap: 12px; margin: 18px 0 24px; }
.kiosk-person { display: grid; width: 100%; gap: 4px; padding: 18px; border: 2px solid var(--g-field); border-radius: var(--r-box); background: var(--white); color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.kiosk-person strong { font-size: 1.5rem; }
.kiosk-person span { color: var(--slate); }
.kiosk-person:active { border-color: var(--navy); background: var(--g-chosen-bg); }
.kiosk-setup { text-align: left; }
.kiosk-code { font-size: 2rem !important; letter-spacing: .3em; text-align: center; }
.kiosk-idle, .kiosk-sample { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10, 30, 31, .55); }
.kiosk-idle-box { width: min(26rem, 100%); padding: 24px; border-radius: var(--r-box); background: var(--white); text-align: center; }
.kiosk-idle-title { margin: 0 0 6px; font-size: 1.5rem; font-weight: 700; }
.kiosk-sample-box { display: grid; gap: 12px; width: min(48rem, 100%); height: min(90vh, 60rem); padding: 12px; border-radius: var(--r-box); background: var(--white); grid-template-rows: 1fr auto; }
.kiosk-sample-box iframe { width: 100%; height: 100%; border: 1px solid var(--g-line); border-radius: var(--r-ctl); }
.kiosk-people { padding: 0; list-style: none; }
.kiosk-dot { margin: 0 10px; }

/* The attract screen: the business, full screen, in its own colour, drifting slowly so a screen
   left on all day doesn't burn in. Bangla above, English below. */
.kiosk-attract[hidden] { display: none; } /* its display: grid would otherwise beat [hidden] and cover the kiosk */
.kiosk-attract { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 32px; background: var(--navy); color: #ffffff; text-align: center; cursor: pointer; }
.kiosk-attract-inner { display: grid; justify-items: center; gap: 10px; max-width: 40rem; animation: kiosk-drift 60s ease-in-out infinite alternate; }
.kiosk-attract-logo { max-width: 260px; max-height: 90px; object-fit: contain; }
.kiosk-attract-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, .85); }
.kiosk-attract span[lang] { display: block; }
.kiosk-attract-name { margin: 4px 0 0; font-size: 2.2rem; font-weight: 700; line-height: 1.25; }
.kiosk-attract-name span[lang="en"] { font-size: .7em; font-weight: 500; opacity: .9; }
.kiosk-attract-tag { margin: 0; font-size: 1.2rem; opacity: .92; }
.kiosk-attract-welcome { margin: 0; font-size: 1.05rem; line-height: 1.5; opacity: .88; }
.kiosk-attract-book { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 14px 18px; border-radius: var(--r-box); background: rgba(255, 255, 255, .1); text-align: left; }
.kiosk-attract-book img { flex: none; border-radius: 6px; background: #ffffff; padding: 6px; }
.kiosk-attract-book p { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.kiosk-attract-phone { display: block; margin-top: 6px; font-size: 1.4rem; font-weight: 700; }
.kiosk-attract-tap { margin: 14px 0 0; padding: 10px 28px; border-radius: 16px; line-height: 1.4; background: var(--gold); color: var(--on-gold); font-size: 1.15rem; font-weight: 700; animation: kiosk-pulse 2.4s ease-in-out infinite; }
@keyframes kiosk-drift { from { transform: translate(-18px, -12px); } to { transform: translate(18px, 12px); } }
@keyframes kiosk-pulse { 50% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .kiosk-attract-inner, .kiosk-attract-tap { animation: none; } }
body.is-attract .topbar { visibility: hidden; }
.kiosk-attract-tap span[lang="en"] { font-size: .85em; font-weight: 600; }
@media (max-height: 820px) {
  .kiosk-attract { padding: 20px; }
  .kiosk-attract-photo { width: 112px; height: 112px; }
  .kiosk-attract-logo { max-height: 64px; }
  .kiosk-attract-name { font-size: 1.8rem; }
  .kiosk-attract-book { margin-top: 6px; padding: 10px 14px; }
  .kiosk-attract-book img { width: 108px; height: 108px; }
}

/* The team on the attract screen: one person at a time, fading to the next */
.kiosk-team { display: grid; justify-items: center; }
.kiosk-person-slide { grid-area: 1 / 1; display: grid; justify-items: center; gap: 10px; margin: 0; opacity: 0; transition: opacity .9s ease-in-out; }
.kiosk-person-slide.is-on { opacity: 1; }
.kiosk-initials { display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #ffffff; font-size: 3rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .kiosk-person-slide { transition: none; } }

/* Saving the signed documents: one bar for all of them, under the "Saving 2 of 6" line */
.ob-meter { height: 12px; margin: 8px 0 0; border-radius: 999px; background: var(--g-line); overflow: hidden; }
.ob-meter-fill { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--g-done); transition: width .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .ob-meter-fill { transition: none; } }
