/* The CRM's two public pages: a hosted form (/f/) and a booking page (/b/).
   Same navy and gray as the client side of the portal. */
:root { --pb-ink: #171b21; --pb-muted: #5c6672; --pb-faint: #8d97a2; --pb-line: #dfe3e8; --pb-bg: #f4f5f7; --pb-card: #fff; --pb-navy: #1d2733; --pb-neg: #b42318; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--pb-bg); color: var(--pb-ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.pb-root { max-width: 640px; margin: 0 auto; padding: 28px 16px 56px; }
.pb-root.wide { max-width: 860px; }
.pb-card { background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: 16px; padding: 26px 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); overflow-wrap: anywhere; }
.pb-host { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pb-faint); margin: 0 0 6px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.pb-intro { color: var(--pb-muted); margin: 0 0 20px; white-space: pre-line; }
.pb-muted { color: var(--pb-muted); }
.pb-center { text-align: center; }
.pb-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--pb-muted); font-size: 14px; margin: 0 0 18px; }
.pb-field { margin: 0 0 16px; }
.pb-field > label, .pb-field > .pb-q { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.pb-req { color: var(--pb-neg); }
.pb-input, .pb-field select, .pb-field textarea { width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid var(--pb-line); border-radius: 10px; padding: 12px 13px; min-height: 48px; }
.pb-field textarea { min-height: 96px; resize: vertical; }
.pb-input:focus, .pb-field select:focus, .pb-field textarea:focus { outline: 2px solid var(--pb-navy); outline-offset: 1px; border-color: var(--pb-navy); }
.pb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pb-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-opt { position: relative; }
.pb-opt input { position: absolute; opacity: 0; inset: 0; }
.pb-opt span { display: block; border: 1px solid var(--pb-line); border-radius: 999px; padding: 10px 16px; font-size: 15px; cursor: pointer; background: #fff; }
.pb-opt input:checked + span { background: var(--pb-navy); border-color: var(--pb-navy); color: #fff; }
.pb-opt input:focus-visible + span { outline: 2px solid var(--pb-navy); outline-offset: 2px; }
.pb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pb-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; border: 1px solid var(--pb-navy); background: var(--pb-navy); color: #fff; border-radius: 10px; padding: 13px 22px; min-height: 48px; cursor: pointer; text-decoration: none; }
.pb-btn.full { width: 100%; }
.pb-btn.ghost { background: #fff; color: var(--pb-navy); border-color: var(--pb-line); }
.pb-btn.danger { background: #fff; color: var(--pb-neg); border-color: var(--pb-line); }
.pb-btn[disabled] { opacity: .55; cursor: default; }
.pb-err { color: var(--pb-neg); font-size: 14px; margin: 0 0 14px; }
.pb-done { text-align: center; padding: 28px 8px; }
.pb-done .pb-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--pb-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.pb-foot { text-align: center; color: var(--pb-faint); font-size: 12px; margin-top: 18px; }

/* Booking: days on the left, that day's times on the right. */
.pb-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.pb-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pb-dow { font-size: 11px; font-weight: 600; color: var(--pb-faint); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.pb-day { font: inherit; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 9px 0; text-align: center; color: var(--pb-faint); }
.pb-day.open { background: #eef1f5; color: var(--pb-ink); font-weight: 600; cursor: pointer; }
.pb-day.on { background: var(--pb-navy); color: #fff; }
.pb-day small { display: block; font-size: 10px; font-weight: 500; opacity: .7; }
.pb-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-weight: 600; }
.pb-nav button { font: inherit; border: 1px solid var(--pb-line); background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.pb-nav button[disabled] { opacity: .4; cursor: default; }
.pb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; align-content: start; max-height: 340px; overflow: auto; }
.pb-time { font: inherit; font-weight: 600; border: 1px solid var(--pb-line); background: #fff; color: var(--pb-navy); border-radius: 10px; padding: 12px 6px; cursor: pointer; }
.pb-time:hover { border-color: var(--pb-navy); }
.pb-h2 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.pb-picked { background: #eef1f5; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; }
.pb-picked button { font: inherit; font-size: 14px; background: none; border: 0; color: var(--pb-navy); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .pb-card { padding: 22px 18px; }
  .pb-two, .pb-pick { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 23px; }
}
