/* /book and /book-embed: the 15-minute call booking page. Uses the site tokens of newco.css (--ink, --body, --muted, --accent, ...).
   Weights: 600 for headings, the confirmed date and buttons; 500 for pills, slots and labels; 400 for text. */
.bk-main{padding:24px 0 64px}
.bk-layout{width:100%;max-width:1240px;margin:0 auto;padding-inline:var(--gutter);display:grid;gap:24px}
.bk-left{display:contents}
.bk-intro{order:1}
.bk-card{order:2}
.bk-points{order:3}
.bk-intro h1{font-size:clamp(2rem,1.2rem + 3vw,3.5rem);margin:0 0 1rem;max-width:14ch}
.bk-intro .nb{white-space:nowrap}
.bk-intro .page-lede{max-width:34ch}
.bk-points{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.bk-points li{display:flex;gap:.6rem;align-items:flex-start;color:var(--body)}
.bk-points .ic{flex:none;width:1.25rem;height:1.25rem;margin-top:.2rem;fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bk-card{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:20px;min-width:0}
.bk-h1{font-size:1.25rem;font-weight:600;color:var(--ink);margin:0 0 1rem;letter-spacing:-.01em}
.bk-h1:focus,.bk-h2:focus{outline:none}
.bk-h2{font-size:1rem;font-weight:600;color:var(--ink);margin:1.25rem 0 .6rem}
.bk-h2:first-child{margin-top:0}
.bk-steps{display:flex;gap:.5rem;list-style:none;margin:0 0 1.25rem;padding:0;font-size:.875rem;font-weight:400;color:var(--muted)}
.bk-steps li{display:flex;align-items:center;gap:.4rem;flex:1;min-width:0;padding-bottom:.6rem;border-bottom:3px solid var(--line)}
.bk-steps li[aria-current="step"]{color:var(--ink);font-weight:600;border-bottom-color:var(--accent)}
.bk-n{display:grid;place-items:center;flex:none;width:1.5rem;height:1.5rem;border-radius:999px;background:var(--panel);color:var(--ink);font-size:.8125rem;font-weight:600}
.bk-steps li[aria-current="step"] .bk-n{background:var(--ink);color:#fff}
/* days: one row that scrolls on phones (the right edge fades to show there is more), wraps on wide screens */
.bk-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;margin-bottom:.25rem}
.bk-day{display:grid;justify-items:center;align-content:center;min-width:0;min-height:56px;padding:.45rem .15rem;border:1.5px solid #8a8f97;border-radius:11px;background:#fff;color:var(--ink);font:500 .9375rem/1.25 var(--font-sans);cursor:pointer}
.bk-day small{font-size:.75rem;white-space:nowrap;font-weight:400;color:var(--muted)}
.bk-day:hover:not(:disabled):not([aria-pressed="true"]){border-color:var(--ink)}
.bk-day[aria-pressed="true"]{background:#23262b;border-color:#23262b;color:#fff}
.bk-day[aria-pressed="true"] small{color:#e9e6e2}
.bk-day:disabled{border-style:dashed;border-color:var(--line-strong);background:var(--tint);color:var(--muted);cursor:not-allowed}
.bk-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.bk-time{min-height:46px;padding:.5rem .25rem;border:1.5px solid #8a8f97;border-radius:11px;background:#fff;color:var(--ink);font:500 1rem/1.2 var(--font-sans);font-variant-numeric:tabular-nums;cursor:pointer}
.bk-time:hover:not(:disabled){border-color:var(--ink);background:var(--accent-soft)}
.bk-time:disabled{border-style:dashed;border-color:var(--line-strong);background:var(--tint);color:var(--muted);font-weight:400;cursor:not-allowed;text-decoration:line-through}
.bk-time{display:grid;align-content:center;justify-items:center;gap:.1rem}
.bk-time small{font-size:.75rem;font-weight:400;line-height:1.2;color:var(--muted);white-space:nowrap}
.bk-tzbar{display:flex;flex-wrap:wrap;gap:0;margin:0 0 .25rem;border:1.5px solid #8a8f97;border-radius:11px;overflow:hidden;width:max-content;max-width:100%}
.bk-tzb{min-height:44px;padding:.5rem .9rem;border:0;background:#fff;color:var(--ink);font:500 .9375rem/1.2 var(--font-sans);cursor:pointer}
.bk-tzb+.bk-tzb{border-left:1.5px solid #8a8f97}
.bk-tzb:hover:not([aria-pressed="true"]){background:var(--accent-soft)}
.bk-tzb[aria-pressed="true"]{background:#23262b;color:#fff}
.bk-tzb:focus-visible{outline:3px solid var(--steel);outline-offset:-3px}
.bk-tzbar{flex-wrap:nowrap;width:100%}.bk-tzb{flex:1 1 0;min-width:0;padding:.5rem .5rem;font-size:.875rem}
@media (min-width:900px){.bk-tzbar{width:max-content}.bk-tzb{flex:0 0 auto;padding:.5rem .9rem;font-size:.9375rem}}
.bk-hint,.bk-tz{margin:0 0 .75rem;font-size:.875rem;color:var(--muted)}
.bk-tz{margin:1rem 0 0}
.bk-sum{margin:0 0 1rem;padding:.75rem .9rem;border-radius:var(--radius);background:var(--panel);color:var(--ink);font-size:.9375rem}
.bk-sum b{display:block;font-weight:600}
.bk-sum span{display:block;color:var(--body);font-size:.875rem}
.bk-form{display:grid;gap:1rem}
.bk-field{display:grid;gap:.35rem}
.bk-field label{font-size:.9375rem;font-weight:500;color:var(--ink)}
.bk-opt{font-weight:400;color:var(--muted)}
.bk-field input[type="text"],.bk-field input[type="email"],.bk-field textarea{display:block;width:100%;padding:.6rem .9rem;border:1.5px solid #8a8f97;border-radius:11px;background:#fff;color:var(--ink);font:400 1rem/1.4 var(--font-sans)}
.bk-field input[type="text"],.bk-field input[type="email"]{min-height:50px}
.bk-field textarea{min-height:6rem;padding:.7rem .9rem;resize:vertical}
.bk-field input:hover,.bk-field textarea:hover{border-color:var(--ink)}
.bk-field input:focus-visible,.bk-field textarea:focus-visible{outline:3px solid var(--steel);outline-offset:2px;border-color:var(--ink)}
.bk-field input[aria-invalid="true"],.bk-field textarea[aria-invalid="true"]{border-color:#a3271b}
.bk-field label.bk-check{display:flex;gap:.7rem;align-items:flex-start;min-height:44px;font-weight:400;font-size:.9375rem;color:var(--body)}
.bk-check input{flex:none;width:1.5rem;height:1.5rem;margin:0;accent-color:var(--accent)}
.bk-field input[aria-invalid="true"]:focus-visible,.bk-field textarea[aria-invalid="true"]:focus-visible{outline-color:#a3271b;border-color:#a3271b}
.bk-check input[aria-invalid="true"]{outline:2px solid #a3271b;outline-offset:2px}
.bk-msg{margin:.75rem 0 0;padding:.7rem .9rem;border-radius:var(--radius);border:1px solid #a3271b;background:#fff;color:#7d1d14;font-size:.9375rem;font-weight:500}
.bk-msg[hidden]{display:none}
.bk-msg.bk-info{border-color:var(--line-strong);color:var(--ink);background:var(--tint)}
.bk-actions{display:flex;gap:.75rem;align-items:stretch}
.bk-actions .btn{flex:1 1 auto;margin-left:0}
.bk-actions .btn[disabled]{opacity:1;background:var(--muted);cursor:progress}
.bk-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:48px;padding:.6rem 1.3rem;border:1.5px solid var(--ink);border-radius:11px;background:#fff;color:var(--ink);font:600 1rem/1.2 var(--font-sans);text-decoration:none;cursor:pointer}
.bk-back:hover{background:var(--panel)}
.bk-done-h{display:flex;align-items:center;gap:.6rem;font-size:1.5rem;letter-spacing:-.02em}
.bk-done-h .ic{flex:none;width:2rem;height:2rem;padding:.35rem;border-radius:999px;background:var(--accent);fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bk-when{margin:.25rem 0 0;font-size:1.125rem;font-weight:600;color:var(--ink);text-wrap:balance}
.bk-when-time{margin:0 0 .1rem;font-size:1.125rem;font-weight:400;color:var(--ink);text-wrap:balance}
.bk-when-local{margin:0 0 .75rem;color:var(--body)}
.bk-step p{text-wrap:pretty}
.bk-next{margin:1.25rem 0 0;font-weight:600}
.bk-next a{color:var(--accent);text-underline-offset:3px}
.bk-step[hidden]{display:none}
.bk-card .sr,.bk-embed .sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.bk-card .linkbtn{display:inline;min-height:44px;padding:0 .25rem;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bk-embed{background:#fff}
.bk-embed .bk-main{padding:12px 0 16px}
.bk-embed .bk-layout{padding-inline:12px}
.bk-embed .bk-card{border:0;box-shadow:none;padding:8px}
@media (min-width:480px){.bk-times{grid-template-columns:repeat(4,minmax(0,1fr))}.bk-card{padding:28px}.bk-embed .bk-card{padding:8px}}
@media (min-width:900px){
  .bk-main{padding:56px 0 96px}
  .bk-layout{grid-template-columns:minmax(0,1fr) minmax(0,31rem);justify-content:space-between;gap:64px;align-items:start}
  .bk-left{display:block;position:sticky;top:calc(var(--header-h) + 32px)}
  .bk-points{margin-top:1.5rem}
  .bk-card{min-height:42rem}
  .bk-embed .bk-layout{grid-template-columns:minmax(0,1fr);padding-inline:12px}
  .bk-embed .bk-card{min-height:0}
}

.bk-late{margin:.75rem 0 0}
.bk-late a{color:inherit;text-decoration:underline;text-underline-offset:2px;font-weight:500}
.bk-late a:focus-visible{outline:3px solid var(--steel);outline-offset:2px}

.bk-actions{padding-bottom:16px}
.bk-embed .bk-main{padding-bottom:28px}

/* load error (tester round 2026-11-23): one sentence, then "Try again" and "Send us a message instead" */
.bk-errtext{display:block}
.bk-erracts{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.bk-erracts .btn-ghost{background:#fff;background-image:none;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line-strong)}

/* polish-1 header rule for phones, also on the booking pages (they load newco.css + book.css, not home.css): the header button fits at 360 and 390 */
@media (max-width:759px){.top-in{padding-inline:16px;gap:.375rem}.top .btn-sm{padding:.5rem .6rem;font-size:.8125rem}.top .wordmark{font-size:1.125rem;gap:.35rem}}
@media (max-width:379px){.top .wordmark{font-size:1.0625rem}}
