/* Booking sheet (contact.js), 2026-11-16: the Clos des Sullys booking popup (index-v2.html, its "booking popup" styles) mapped to a call, in
   Claudia's charte (ps-tokens.css: the plums, the greys, Big Shoulders Display + Inter). Same structure, layout and motion as the hotel's:
   the sheet runs from just under the top bar to just above the bottom of the window and is uncovered from the right edge, its content
   sliding in after it (from below on a phone); three fields, the date line with quick picks, two months whose days take the spare height,
   the legend + trust line + one button; then the request form and the confirmation. Switching Book a call / Send a message, or a step,
   slides the content out to the left and the new content in from the right while the sheet stays. Light and dark (html[data-theme]).
   Reduced motion: no movement at all. */
.psc-gone { display: none !important; }
.psc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button.lnk { border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0 0 2px; text-align: left; background: none; }
[data-contact-host] { width: 100%; min-width: 0; }

/* ---------- the veil and the sheet ---------- */
.bk-ov { --bk-sheet: #FBFCFC; --bk-ink: #353536; --bk-mute: #5E5F61; --bk-accent: #5B3563; --bk-accent-ink: #FBFCFC; --bk-deep: #3A2340; --bk-soft: #846389;
  --bk-cell: #FFFFFF; --bk-cell-line: #ECECEE; --bk-off: #EEEEF0; --bk-off-ink: #B4B5B8; --bk-hover: #E9E1EA; --bk-in: rgba(91,53,99,.10); --bk-line: #DADADD;
  --bk-field: #FFFFFF; --bk-field-line: #9C9DA0; --bk-err: #7A1F3D; --bk-veil: rgba(26,15,30,.42); --bk-shadow: 0 30px 80px -30px rgba(26,15,30,.55);
  --bk-ease: cubic-bezier(.32,.72,0,1); --bk-close: cubic-bezier(.4,0,.6,1);
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--bk-top, 0px); z-index: 6; display: flex; align-items: flex-start; justify-content: center;
  padding: .5rem 1.5rem; box-sizing: border-box; visibility: hidden; pointer-events: none; background: rgba(26,15,30,0);
  transition: background .3s ease .08s, visibility 0s linear .52s; font-family: "Inter", system-ui, sans-serif; }
.bk-ov.is-open { visibility: visible; pointer-events: auto; background: var(--bk-veil); transition: background .45s ease; }
html[data-theme="dark"] .bk-ov { --bk-sheet: #49494B; --bk-ink: #F3F4F5; --bk-mute: #DADBDD; --bk-accent: #E9E1EA; --bk-accent-ink: #3A2340; --bk-deep: #FBFCFC; --bk-soft: #C9B6CC;
  --bk-cell: #5A5A5D; --bk-cell-line: #6A6A6E; --bk-off: #3C3C3E; --bk-off-ink: #7A7B7E; --bk-hover: #5B3563; --bk-in: rgba(233,225,234,.14); --bk-line: #5E5F61;
  --bk-field: #3F3F41; --bk-field-line: #9C9DA0; --bk-err: #FFB3C7; --bk-veil: rgba(10,6,12,.6); --bk-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
/* dark --bk-mute #DADBDD (was #CCCDCF, contrast pass 2026-11-17): the unselected tab on its tinted track read 4.0:1 and the day-cell times 4.3:1; now 4.6 and 5.0 */
/* the top bar stays above the sheet and clickable (the hotel keeps its header and side rail on top) */
html.bk-open nav.chrome { z-index: 7 !important; }
.bk { position: relative; box-sizing: border-box; display: flex; flex-direction: column; width: min(66rem, 100%); height: calc(100vh - var(--bk-top, 0px) - 1rem);
  height: calc(100dvh - var(--bk-top, 0px) - 1rem); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  padding: clamp(1.1rem, 3vh, 2.2rem) clamp(1.25rem, 4vw, 4rem) clamp(1rem, 2.4vh, 2rem); border-radius: 22px;
  background: var(--bk-sheet); color: var(--bk-ink); box-shadow: var(--bk-shadow); outline: none; text-align: left;
  clip-path: inset(0 0 0 100% round 22px); transform: translateX(28px); transition: clip-path .42s var(--bk-close) .08s, transform .42s var(--bk-close) .08s; }
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk [hidden] { display: none !important; }
.bk-ov.is-open .bk { clip-path: inset(0 0 0 0 round 22px); transform: none; transition: clip-path .62s var(--bk-ease), transform .62s var(--bk-ease); }
/* the close (open/close parity, dossier 2026-11-18-open-close-motion, R1-R4): the close timing lives on the closed state, the open timing on
   .is-open. Closing, the content slides back out to the right first (140 ms), the sheet follows 80 ms later and is covered again from the
   right edge in 420 ms on Apple's menu curve, the dim fading behind it. The open's drawer curve (.32,.72,0,1) is kept for the open only:
   on a clip-path its long tail left a thin sliver of sheet hanging for ~half a second at the end of a close (filmed 2026-11-18). */
/* the content follows the sheet in */
.bk-ov .bk-hd, .bk-ov .bk-body { opacity: 0; transform: translateX(18px); transition: opacity .14s cubic-bezier(.4,0,1,1), transform .14s cubic-bezier(.4,0,1,1); }
.bk-ov.is-open .bk-hd, .bk-ov.is-open .bk-body { opacity: 1; transform: none; transition: opacity .44s var(--bk-ease) .1s, transform .58s var(--bk-ease) .08s; }
/* a step or the other way in: out to the left, in from the right; the sheet stays */
.bk-ov.is-open .bk.is-out .bk-body, .bk-ov.is-open .bk.is-out .bk-t { opacity: 0; transform: translateX(-18px); transition: opacity .26s var(--bk-ease), transform .3s var(--bk-ease); }
.bk-ov.is-open .bk.is-in .bk-body, .bk-ov.is-open .bk.is-in .bk-t { opacity: 0; transform: translateX(18px); transition: none; }
.bk-ov .bk-t { transition: opacity .44s var(--bk-ease), transform .58s var(--bk-ease); }
/* a quick close when the visitor opens the menu or a Book a call elsewhere (the sheet then moves): the same close, shorter, never a cut */
.bk-ov.fast { transition: background .25s ease, visibility 0s linear .33s !important; }
.bk-ov.fast .bk { transition: clip-path .3s var(--bk-close), transform .3s var(--bk-close) !important; }
.bk-ov.fast .bk-hd, .bk-ov.fast .bk-body { transition: opacity .1s cubic-bezier(.4,0,1,1), transform .1s cubic-bezier(.4,0,1,1) !important; }

/* ---------- the head: the two ways in, the title between rules, the close button ---------- */
.bk-hd { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; margin-bottom: clamp(.8rem, 2.4vh, 2rem); }
.psc-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bk-in); }
.psc-tab { border: 0; background: transparent; color: var(--bk-mute); font: 600 13px/1 "Inter", sans-serif; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  min-height: 34px; white-space: nowrap; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.psc-tab[aria-selected="true"] { background: var(--bk-sheet); color: var(--bk-ink); box-shadow: 0 1px 2px rgba(26,15,30,.12), 0 4px 12px -6px rgba(26,15,30,.25); }
.psc-tab:hover { color: var(--bk-ink); }
.bk-t { display: flex; align-items: center; gap: 1.2rem; margin: 0; min-width: 0; color: var(--bk-accent); text-align: center; justify-content: center;
  font: 800 clamp(1.6rem, 3.4vh, 2.4rem)/1 "Big Shoulders Display", Impact, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.bk-t::before, .bk-t::after { content: ""; flex: 1 1 0; min-width: 1rem; height: 1px; background: var(--bk-line); }
.psc-x { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--bk-accent); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--bk-accent); background: transparent;
  transition: background .3s ease, color .3s ease, rotate .45s cubic-bezier(.16,1,.3,1); }
.psc-x svg { width: 15px; height: 15px; }
.psc-x:hover { background: var(--bk-accent); color: var(--bk-accent-ink); rotate: 90deg; }
.bk :focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 3px; }

.bk-body { flex: 1 0 auto; display: flex; flex-direction: column; }
.bk-call, .bk-msg { flex: 1 0 auto; display: flex; flex-direction: column; }
.bk-step { flex: 1 0 auto; display: flex; flex-direction: column; }
.bk[data-step="pick"] .bk-s2, .bk[data-step="pick"] .bk-s3, .bk[data-step="req"] .bk-s1, .bk[data-step="req"] .bk-s3,
.bk[data-step="done"] .bk-s1, .bk[data-step="done"] .bk-s2 { display: none; }

/* ---------- step 1: three fields, the date line, two months, the foot ---------- */
.bk-f { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 2.2rem; }
.bk-fl { display: flex; flex-direction: column; gap: .4rem; width: 13rem; font-size: .95rem; font-weight: 500; color: var(--bk-ink); }
.bk-time, .bk-ro { width: 100%; min-height: 2.6rem; padding: .5rem .6rem; border: 1px solid var(--bk-field-line); border-radius: 8px; background: var(--bk-field); color: var(--bk-ink);
  font: 400 .95rem/1.3 "Inter", sans-serif; }
.bk-time:disabled { color: var(--bk-mute); opacity: .8; }
.bk-ro { display: flex; align-items: center; border-style: dashed; border-color: var(--bk-line); background: transparent; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bk-d { display: flex; flex-wrap: nowrap; align-items: center; gap: .4rem 1.8rem; margin: clamp(.6rem, 1.8vh, 1.6rem) 0 clamp(.5rem, 1.4vh, 1.2rem); font-size: 1rem; white-space: nowrap; }
.bk-dp { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bk-dk { font-weight: 500; }
.bk-dv { margin-left: .6rem; font-weight: 400; }
.bk-dp.is-wait .bk-dk, .bk-dp.is-wait .bk-dv { color: var(--bk-soft); }
.bk-d.is-flash .bk-dp .bk-dk, .bk-d.is-flash .bk-dp .bk-dv { color: var(--bk-err); }
.bk-qp { display: flex; gap: .45rem; margin-left: auto; }
.bk-qp button { padding: .38rem .8rem; border: 1px solid var(--bk-soft); border-radius: 999px; background: none; color: var(--bk-ink); font: 500 .8rem/1.2 "Inter", sans-serif; cursor: pointer; min-height: 32px;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bk-qp button:hover { background: var(--bk-hover); }
.bk-qp button.on { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-accent-ink); }

.bk-cal { position: relative; flex: 1 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.bk-nav { position: absolute; top: -.35rem; z-index: 1; width: 2.6rem; height: 2.6rem; border: 0; background: none; color: var(--bk-accent); font-size: 2.2rem; font-weight: 200; line-height: 1; cursor: pointer; border-radius: 50%; }
.bk-nav:hover:not(:disabled) { background: var(--bk-hover); }
.bk-nav:disabled { opacity: .25; cursor: default; }
.bk-nav.p { left: 0; } .bk-nav.n { right: 0; }
.bk-m { display: flex; flex-direction: column; }
.bk-m h3 { margin: 0; padding: .45rem 0 clamp(.4rem, 1vh, .9rem); text-align: center; border-bottom: 1px solid var(--bk-line); color: var(--bk-accent);
  font: 600 1rem/1.2 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.bk-g { flex: 1 1 auto; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(2.4rem, 1fr); }
.bk-g .dw { display: grid; place-items: center; padding: clamp(.3rem, .9vh, .8rem) 0; font-size: .85rem; font-weight: 600; text-transform: capitalize; }
.bk-g button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 0; padding: 0;
  border: 1px solid var(--bk-cell-line); background: var(--bk-cell); color: var(--bk-ink); font: 500 1rem/1.1 "Inter", sans-serif; cursor: pointer; transition: background .2s ease; }
.bk-g button b { display: block; font-size: 1rem; font-weight: 600; }
.bk-g button small { display: block; font-size: .74rem; font-weight: 400; color: var(--bk-mute); white-space: nowrap; }
.bk-g button:hover:not(:disabled) { background: var(--bk-hover); }
.bk-g button:disabled { border-color: var(--bk-sheet); background: var(--bk-off); color: var(--bk-off-ink); cursor: default; }
.bk-g button:disabled b { font-weight: 400; }
.bk-g button:disabled small { color: var(--bk-off-ink); }
.bk-g button.td { box-shadow: inset 0 0 0 2px var(--bk-soft); }
.bk-g button.td small { max-width: calc(100% - 6px); overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .02em; font-size: .62rem; font-weight: 600; }   /* FR "AUJOURD'HUI" stays inside its cell */
.bk-g button.a { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-accent-ink); }
.bk-g button.a small { color: var(--bk-accent-ink); }
.bk-g button:focus-visible { outline: 2px solid var(--bk-deep); outline-offset: -4px; z-index: 1; }
.bk-g .ld { position: absolute; top: .45rem; left: .45rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--bk-err); }
.bk-g .bpx { position: absolute; top: 0; right: 0; width: 0; height: 0; border-top: .75rem solid var(--bk-soft); border-left: .75rem solid transparent; }
.bk-e { background: transparent; }
.bk-nocal { margin: auto; padding: 2rem; text-align: center; color: var(--bk-mute); grid-column: 1 / -1; }
.bk-nocal a { color: var(--bk-ink); text-decoration: underline; text-underline-offset: 3px; }

.bk-foot { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .8rem 1.6rem; margin-top: clamp(.8rem, 2vh, 2rem); }
.bk-leg { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.2rem; margin: 0; font-size: .9rem; color: var(--bk-ink); }
.bk-leg span { display: inline-flex; align-items: center; gap: .55rem; }
.bk-leg .lz { flex-basis: 100%; font-size: .8rem; color: var(--bk-mute); }
.bk-leg .lg-bp { width: 0; height: 0; border-top: .65rem solid var(--bk-soft); border-right: .65rem solid transparent; }
.bk-leg .lg-ld { width: .5rem; height: .5rem; border-radius: 50%; background: var(--bk-err); }
.bk-rt { flex: 0 1 auto; display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.bk-tr { margin: 0; min-width: 15rem; text-align: right; font-size: .85rem; line-height: 1.35; }
.bk-tr strong { display: block; font-weight: 600; }
.bk-tr em { display: block; color: var(--bk-mute); font-size: .8rem; }

/* the button: the hotel's, with its two rules that pull in on hover, in the site plum */
.bk-go { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 48px; padding: clamp(.7rem, 1.6vh, 1.05rem) 2.2rem; border: 0; border-radius: 999px;
  background: var(--bk-accent); color: var(--bk-accent-ink); font: 600 .9rem/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .3s ease, color .3s ease; white-space: nowrap; }
.bk-go:hover { background: var(--bk-deep); color: var(--bk-sheet); }
.bk-go .cta-rule { display: inline-block; width: 1.3rem; height: 1px; background: currentColor; opacity: .8; transition: transform .45s cubic-bezier(.32,.72,0,1), opacity .35s ease; }
.bk-go > .cta-rule:first-child { transform-origin: right center; } .bk-go > .cta-rule:last-child { transform-origin: left center; }
@media (hover: hover) { .bk-go:hover > .cta-rule { transform: scaleX(0); opacity: 0; } }
.bk-go:disabled { opacity: .6; cursor: progress; }

/* ---------- step 2: the request ("Votre demande"), the hotel's form ---------- */
.bk-s2 { width: 100%; max-width: 48rem; margin: 0 auto; justify-content: center; padding-bottom: clamp(0rem, 4vh, 3rem); }
.bk-eye { display: flex; align-items: center; gap: 1rem; margin: 0 0 .5rem; color: var(--bk-soft); font: 600 .75rem/1 "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.bk-eye::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.bk-eye::after { content: ""; flex: 1; height: 1px; background: var(--bk-line); }
.bk-h3 { margin: 0 0 clamp(.8rem, 2.4vh, 1.8rem); font: 800 clamp(2rem, 4.4vh, 3rem)/1 "Big Shoulders Display", Impact, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: var(--bk-ink); }
.bk-rq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.7rem, 1.8vh, 1.3rem) 1.8rem; }
.bk-q { position: relative; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.bk-q > span { font: 500 .72rem/1.2 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bk-mute); }
.bk-in { width: 100%; padding: .55rem 0; border: 0; border-bottom: 1px solid var(--bk-field-line); border-radius: 0; background: transparent; color: var(--bk-ink); font: 400 16px/1.4 "Inter", sans-serif; }
.bk-in:focus { outline: none; border-bottom-color: var(--bk-accent); box-shadow: 0 1px 0 var(--bk-accent); }
.bk-in[aria-invalid="true"] { border-bottom-color: var(--bk-err); }
.bk-in[readonly] { padding-right: 5.5rem; text-overflow: ellipsis; }
select.bk-in { background: var(--bk-sheet); }
textarea.bk-in { resize: vertical; min-height: 3.2rem; }
.bk-q-note { grid-column: 1 / -1; }
.bk-change { position: absolute; right: 0; bottom: .55rem; font-size: .85rem; color: var(--bk-accent); text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.bk-err { margin: .8rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--bk-err); }
.bk-err:empty { display: none; }
.bk-act { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: clamp(1rem, 2.4vh, 1.6rem); }
.bk-act .lnk { min-height: 24px; font-size: .9rem; color: var(--bk-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bk-act .lnk:hover { text-decoration-thickness: 2px; }
.bk-act .bk-back { color: var(--bk-mute); }
.bk-calnote { margin: .9rem 0 0; max-width: 62ch; font-size: .8rem; line-height: 1.5; color: var(--bk-mute); }
.bk-calnote a { color: var(--bk-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- step 3 and the message sent: the confirmation ---------- */
.bk-s3, .psc-done { align-items: center; justify-content: center; text-align: center; padding: 1rem; outline: none; }
.bk-chk { width: 3.4rem; height: 3.4rem; margin-bottom: 1rem; fill: none; stroke: var(--bk-accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 16; stroke-dashoffset: 0; }
.bk[data-step="done"] .bk-chk { animation: bk-draw .6s var(--bk-ease) .25s both; }
@keyframes bk-draw { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }
.bk-dh, .psc-done-h { display: block; max-width: 22ch; margin: 0 auto; text-wrap: balance; font: 800 clamp(1.9rem, 4vh, 2.8rem)/1 "Big Shoulders Display", Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--bk-ink); }
.bk-dt, .psc-done-p { max-width: 48ch; margin: 1rem auto 0; font-size: 1rem; line-height: 1.55; color: var(--bk-mute); overflow-wrap: anywhere; }
.bk-dt strong, .psc-done-p strong { color: var(--bk-ink); font-weight: 600; }
.bk-s3 .bk-act { justify-content: center; }
.psc-done:not(.psc-gone) { flex: 1 1 auto; display: flex; flex-direction: column; }

/* ---------- Send a message: the same form as before, laid out on the sheet ---------- */
.bk-msg { justify-content: center; }
.psc-fields { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.2rem 2.4rem; width: 100%; max-width: 58rem; margin: 0 auto; align-items: stretch; }
.psc-col { display: flex; flex-direction: column; min-width: 0; }
.psc-lab { display: block; margin: 0 0 .5rem; font: 500 .72rem/1.2 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bk-mute); }
.psc-ta { flex: 1 1 auto; width: 100%; min-height: 12rem; padding: 12px 14px; border: 1px solid var(--bk-field-line); border-radius: 8px; background: var(--bk-field); color: var(--bk-ink); resize: vertical;
  font: 400 16px/1.5 "Inter", sans-serif; }
.psc-in { width: 100%; padding: .6rem 0; border: 0; border-bottom: 1px solid var(--bk-field-line); background: transparent; color: var(--bk-ink); font: 400 16px/1.4 "Inter", sans-serif; }
.psc-ta::placeholder, .psc-in::placeholder, .bk-in::placeholder { color: var(--bk-mute); opacity: .8; }
.psc-ta:focus { outline: 2px solid var(--bk-accent); outline-offset: 1px; border-color: transparent; }
.psc-in:focus { outline: none; border-bottom-color: var(--bk-accent); box-shadow: 0 1px 0 var(--bk-accent); }
.psc-ta[aria-invalid="true"] { border-color: var(--bk-err); } .psc-in[aria-invalid="true"] { border-bottom-color: var(--bk-err); }
.psc-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.psc-ts:empty { display: none; } .psc-ts { margin-top: 12px; }
.psc-err { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--bk-err); }
.psc-err:empty, .psc-note:empty { display: none; }
.psc-note { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--bk-mute); }
.psc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 1.4rem; }
.psc-alt { margin: 0; font-size: .85rem; line-height: 1.4; color: var(--bk-mute); }
.psc-alt .lnk { color: var(--bk-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.psc-addr { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--bk-line); font-size: .85rem; color: var(--bk-mute); }
.psc-mail { font-weight: 600; color: var(--bk-ink); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; border-radius: 4px; }
.psc-copy { border: 0; background: var(--bk-in); color: var(--bk-ink); font: 600 12px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  min-height: 32px; transition: background .25s ease; }
.psc-copy:hover { background: var(--bk-hover); }
.psc-alert .psc-addr { border-top-color: var(--bk-err); }
.bk-addr { margin-top: .8rem; }

/* ---------- laptop: the sheet fills the window under the bar; the calendar takes the spare height ---------- */
@media (min-width: 761px) and (max-height: 760px) {
  .bk { padding: .9rem clamp(1.5rem, 4vw, 3.5rem) .8rem; }
  .bk-hd { margin-bottom: .5rem; } .bk-t { font-size: 1.5rem; } .psc-x { width: 38px; height: 38px; }
  .bk-f { gap: .5rem 1.6rem; }
  .bk-fl { flex-direction: row; align-items: center; gap: .6rem; width: auto; font-size: .85rem; white-space: nowrap; }
  .bk-time, .bk-ro { min-height: 2.1rem; padding: .25rem .5rem; font-size: .85rem; width: auto; max-width: 15rem; }
  .bk-d { margin: .45rem 0 .35rem; font-size: .88rem; }
  .bk-m h3 { padding: .3rem 0; font-size: .82rem; }
  .bk-nav { top: -.6rem; font-size: 1.7rem; }
  .bk-g { grid-auto-rows: minmax(1.9rem, 1fr); }
  .bk-g .dw { padding: .15rem 0; font-size: .75rem; }
  .bk-g button b { font-size: .85rem; } .bk-g button small { font-size: .64rem; } .bk-g .ld { top: .25rem; left: .25rem; width: .38rem; height: .38rem; }
  .bk-foot { margin-top: .5rem; } .bk-leg { font-size: .8rem; gap: .3rem 1.4rem; }
  .bk-go { min-height: 40px; padding: .5rem 1.8rem; font-size: .82rem; }
  .bk-h3 { font-size: 1.9rem; margin-bottom: .6rem; }
}
/* a phone on its side (812x375): two months stay, the sheet scrolls, and the button bar sticks to its bottom edge */
@media (min-width: 761px) and (max-height: 520px) {
  .bk { scroll-padding: .5rem 0 5rem; }                               /* a day or field scrolled to (focus, a tap) never parks under the button bar */
  .bk-fl:not(:first-child) { display: none; }                          /* the zone and the length: said by the legend and the button bar */
  .bk-hd { margin-bottom: .3rem; } .bk-d { margin: .3rem 0 .2rem; }
  .bk-g { grid-auto-rows: 2.3rem; }
  .bk-foot { display: contents; }
  .bk-leg { margin-top: .5rem; }
  .bk-rt { position: sticky; bottom: -.8rem; z-index: 2; margin: .4rem calc(-1 * clamp(1.5rem, 4vw, 3.5rem)) -.8rem; padding: .5rem clamp(1.5rem, 4vw, 3.5rem) .7rem; background: var(--bk-sheet);
    box-shadow: 0 -10px 18px -14px rgba(26,15,30,.45); justify-content: flex-end; }
  .psc-ta { min-height: 7rem; }
  .bk-s3 .bk-chk, .psc-done .bk-chk { width: 2.4rem; height: 2.4rem; margin-bottom: .4rem; }
}
/* ---------- phone: a sheet the width of the screen, uncovered from below; one month; the button bar sticks to the bottom ---------- */
@media (max-width: 760px) {
  .bk-ov { padding: .5rem .5rem 0; align-items: stretch; }
  .bk { width: 100%; height: calc(100dvh - var(--bk-top, 0px) - .5rem); max-height: none; padding: .9rem 1rem 0; border-radius: 18px 18px 0 0; scroll-padding: .5rem 0 8.5rem;
    clip-path: inset(100% 0 0 0 round 18px 18px 0 0); transform: translateY(28px); }
  .bk-ov.is-open .bk { clip-path: inset(0 0 0 0 round 18px 18px 0 0); }
  .bk-ov .bk-hd, .bk-ov .bk-body { transform: translateY(18px); }
  .bk-hd { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tabs x" "t t"; gap: .7rem .6rem; margin-bottom: .8rem; }
  .psc-tabs { grid-area: tabs; justify-self: start; max-width: 100%; }
  .psc-tab { padding: 9px 12px; white-space: normal; line-height: 1.15; text-align: center; }
  .psc-x { grid-area: x; }
  .bk-t { grid-area: t; font-size: 1.7rem; gap: .8rem; }
  .bk-t::before, .bk-t::after { flex: 0 0 .6rem; min-width: .6rem; }
  /* a phone keeps the one field it needs (Time) on one line; the zone and the length are said by the legend and the button bar */
  .bk-f { display: block; }
  .bk-fl { flex-direction: row; align-items: center; gap: .8rem; width: 100%; font-size: .9rem; }
  .bk-fl .bk-time { flex: 1 1 auto; width: auto; }
  .bk-fl:not(:first-child) { display: none; }
  .bk-d { flex-wrap: wrap; white-space: normal; gap: .5rem; margin: .8rem 0 .6rem; }
  .bk-qp { margin-left: 0; flex-wrap: wrap; }
  .bk-cal { grid-template-columns: 1fr; flex: none; }
  .bk-cal .bk-m + .bk-m { display: none; }
  .bk-g { grid-auto-rows: 3.1rem; }
  .bk-g button small { font-size: .68rem; }
  .bk-foot { display: contents; }
  .bk-leg { margin: .9rem 0 .4rem; gap: .4rem 1.2rem; font-size: .82rem; }
  .bk-rt { position: sticky; bottom: 0; z-index: 2; margin: auto -1rem 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); background: var(--bk-sheet);
    box-shadow: 0 -10px 18px -14px rgba(26,15,30,.45); flex-direction: column; align-items: stretch; gap: .5rem; }
  .bk-tr { text-align: center; } .bk-tr em { display: inline; } .bk-tr strong { display: inline; } .bk-tr strong::after { content: " · "; font-weight: 400; }
  .bk-go { width: 100%; }
  .bk-rq { grid-template-columns: 1fr; }
  .bk-s2 { justify-content: flex-start; padding-bottom: 1.2rem; }
  .bk-act { flex-direction: column; align-items: stretch; } .bk-act .lnk { align-self: flex-start; }
  .psc-fields { grid-template-columns: 1fr; gap: .4rem; }
  .psc-ta { min-height: 9rem; }
  .bk-msg { justify-content: flex-start; padding-bottom: 1.2rem; }
  .bk-s3, .psc-done { padding-bottom: 2rem; }
}
@media (max-width: 380px) { .bk-qp button { padding: .34rem .6rem; font-size: .76rem; } .bk-g button small { font-size: .62rem; } }

/* ========== round 2 (after the preview review): inside the "Your folder is next" card, or a floating window ========== */
.bk-grip, .bk-centre { display: none; }

/* ---- the card: the sheet is the card's content, in the page's flow; the card's own words step aside while it is open ---- */
.bk-card-open > :not(.tab):not(.meta):not(.iri):not(.bk-ov) { display: none !important; }
.file.bk-card-open { top: calc(var(--bk-top, 78px) + 12px); }        /* the stacked folder sticks just under the bar while the sheet is open */
.bk-card-open > .bk-ov { grid-column: 1 / -1; }
.bk-ov.bk-in-card { position: relative; inset: auto; top: auto; z-index: auto; display: block; padding: 0; margin-top: .4rem; background: none !important; pointer-events: none; }
.bk-ov.bk-in-card.is-open { pointer-events: auto; }
.bk-ov.bk-in-card .bk { width: 100%; height: auto; max-height: none; overflow: visible; box-shadow: 0 18px 40px -28px rgba(26,15,30,.45); }
.bk-in-card .bk-g { grid-auto-rows: 3rem; }
.bk-in-card .bk-cal { flex: none; }
.bk-in-card .bk-s2, .bk-in-card .bk-s3, .bk-in-card .bk-msg { min-height: 26rem; }
.bk-in-card .bk, .bk-in-card .bk * { scroll-margin-top: calc(var(--bk-top, 78px) + 12px); scroll-margin-bottom: 7rem; }   /* scrolled to (focus, a tap): never under the fixed bar or the button bar */

/* ---- the window: framed, sized to its content (at most 760 x 620), placed by contact.js, moved by its title bar ---- */
.bk-ov.bk-win { display: block; padding: 0; }
.bk-ov.bk-win.is-open { background: rgba(26,15,30,.14); }
html[data-theme="dark"] .bk-ov.bk-win.is-open { background: rgba(10,6,12,.32); }
.bk-ov.bk-win .bk { position: absolute; left: 50%; top: 1rem; width: min(760px, calc(100vw - 1rem)); height: auto; max-height: min(620px, calc(100vh - var(--bk-top, 0px) - 1rem));
  max-height: min(620px, calc(100dvh - var(--bk-top, 0px) - 1rem)); padding: 0 1.4rem 1rem; border-radius: 18px;
  box-shadow: 0 0 0 1px var(--bk-line), 0 28px 70px -24px rgba(26,15,30,.55), 0 8px 20px -12px rgba(26,15,30,.35); clip-path: inset(0 0 0 100% round 18px); }
.bk-ov.bk-win.is-open .bk { clip-path: inset(0 0 0 0 round 18px); }
.bk-ov.bk-win .bk.is-drag { transition: none; user-select: none; -webkit-user-select: none; }
/* the title bar: the hotel's head, now a bar with the grip, the re-centre and close buttons; it stays at the top while the window scrolls */
.bk-win .bk-hd { position: sticky; top: 0; z-index: 4; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: .6rem; margin: 0 -1.4rem .7rem; padding: .55rem 1.4rem;
  background: var(--bk-sheet); border-bottom: 1px solid var(--bk-line); cursor: grab; touch-action: none; border-radius: 18px 18px 0 0; }
.bk-win .bk.is-drag .bk-hd { cursor: grabbing; }
.bk-win .bk-t { font-size: 1.45rem; gap: .8rem; }
.bk-win .bk-grip, .bk-win .bk-centre { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--bk-mute); cursor: grab; }
.bk-win .bk-centre { cursor: pointer; }
.bk-win .bk-grip:hover, .bk-win .bk-centre:hover { background: var(--bk-in); color: var(--bk-ink); }
.bk-win .bk-grip svg, .bk-win .bk-centre svg { width: 16px; height: 16px; }
.bk-win .psc-x { width: 38px; height: 38px; }
.bk-win .bk-f { gap: .5rem 1.4rem; }
.bk-win .bk-fl { flex-direction: row; align-items: center; gap: .6rem; width: auto; font-size: .85rem; white-space: nowrap; }
.bk-win .bk-fl:last-child { display: none; }                        /* the length: the button bar says "15-minute intro call" */
.bk-win .bk-time, .bk-win .bk-ro { width: auto; min-height: 2.2rem; padding: .3rem .5rem; font-size: .85rem; max-width: 16rem; }
.bk-win .bk-d { margin: .6rem 0 .4rem; font-size: .9rem; }
.bk-win .bk-m h3 { font-size: .85rem; padding: .3rem 0 .5rem; }
.bk-win .bk-nav { top: -.55rem; font-size: 1.8rem; }
.bk-win .bk-g { grid-auto-rows: 2.55rem; }
.bk-win .bk-g .dw { padding: .3rem 0; font-size: .75rem; }
.bk-win .bk-g button b { font-size: .88rem; } .bk-win .bk-g button small { font-size: .64rem; }
.bk-win .bk-foot { margin-top: .8rem; } .bk-win .bk-leg { font-size: .8rem; gap: .3rem 1.4rem; } .bk-win .bk-tr { min-width: 12rem; font-size: .8rem; }
.bk-win .bk-go { min-height: 44px; padding: .55rem 1.6rem; font-size: .82rem; }
.bk-win .bk-cal { flex: none; }
.bk-win .bk-s2 { justify-content: flex-start; padding-bottom: 0; } .bk-win .bk-h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.bk-win .bk-s3, .bk-win .psc-done { min-height: 20rem; }
.bk-win .psc-ta { min-height: 10rem; }
.bk-win .bk-msg { justify-content: flex-start; }
/* a short window (a phone on its side): the button bar sticks to the window's bottom edge */
@media (min-width: 761px) and (max-height: 520px) {
  .bk-ov.bk-win .bk { top: .5rem; scroll-padding: 4rem 0 5rem; }
  .bk-win .bk-rt { bottom: -1rem; margin: .4rem -1.4rem -1rem; padding: .5rem 1.4rem .7rem; }
  .bk-in-card .bk-rt { bottom: 0; margin: .4rem calc(-1 * clamp(1.5rem, 4vw, 3.5rem)) 0; border-radius: 0 0 22px 22px; }
  .bk-win .bk-hd { padding: .35rem 1.4rem; margin-bottom: .4rem; } .bk-win .bk-t { font-size: 1.2rem; }
}
/* a phone: the window does not move; the width less a margin, under the bar, sized to its content */
@media (max-width: 760px) {
  .bk-ov.bk-win .bk { left: .5rem !important; right: .5rem; top: .5rem !important; width: auto; height: auto; max-height: calc(100dvh - var(--bk-top, 0px) - 1rem); padding: 0 1rem 0;
    border-radius: 18px; clip-path: inset(100% 0 0 0 round 18px); scroll-padding: 7rem 0 8.5rem; }
  .bk-ov.bk-win.is-open .bk { clip-path: inset(0 0 0 0 round 18px); }
  .bk-win .bk-hd { margin: 0 -1rem .7rem; padding: .7rem 1rem .6rem; cursor: auto; touch-action: auto; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tabs x" "t t"; }
  .bk-win .bk-grip, .bk-win .bk-centre { display: none; }
  .bk-win .bk-t { font-size: 1.5rem; }
  .bk-win .bk-fl { width: 100%; } .bk-win .bk-time { flex: 1 1 auto; max-width: none; }
  .bk-win .bk-g { grid-auto-rows: 3rem; }
  .bk-win .bk-rt { border-radius: 0 0 18px 18px; }
  .bk-ov.bk-in-card .bk { height: auto; padding-bottom: .9rem; border-radius: 18px; clip-path: inset(100% 0 0 0 round 18px); }
  .bk-ov.bk-in-card.is-open .bk { clip-path: inset(0 0 0 0 round 18px); }
  .bk-in-card .bk-rt { margin: 1rem -1rem -.9rem; border-radius: 0 0 18px 18px; }
  .bk-in-card .bk-g { grid-auto-rows: 3.1rem; }
}
/* a short phone held upright (landscape QA 2026-11-17, 360x640: COPY ADDRESS ended 15 px under the window's edge): a shorter message box gives the
   address back its room; a language with longer words (FR) still scrolls inside the window, with the address at its end */
@media (max-width: 760px) and (max-height: 700px) {
  .bk-win .psc-ta { min-height: 6.5rem; }
  .bk-win .psc-row { margin-top: 1rem; } .bk-win .psc-addr { margin-top: 1rem; padding-top: .75rem; }
}
/* a phone on its side, 600 px wide and up (667x375 and 740x360 get the phone window, 812x375 the movable one; both are about 280 px tall) */
@media (max-height: 520px) and (orientation: landscape) and (min-width: 600px) {
  .bk-win .bk-hd { grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: none; margin-bottom: .25rem; }
  .bk-win .psc-tabs, .bk-win .bk-t, .bk-win .psc-x { grid-area: auto; }
  .bk-win .psc-tab { white-space: nowrap; }
  .bk-win .psc-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .bk-win .bk-t { font-size: 1.2rem; }
  /* landscape QA 2026-11-17 (812x375: the window showed only the calendar's weekday row above the sticky button bar, and the message page's
     COPY ADDRESS sat 36-82 px under the bottom edge). The window is about 280 px tall here, so the call page lies in two columns, like the Hours
     card on its side: ONE month on the left whose rows take the room left under the title bar, and on the right the time, the chosen day with the
     quick picks, the legend and the button. Nothing sticks or scrolls; all of it is on screen. */
  .bk-ov.bk-win .bk { padding-bottom: .5rem; }
  .bk-win .bk-hd { padding-block: .25rem; } .bk-win .psc-x { width: 34px; height: 34px; } .bk-win .psc-tab { min-height: 30px; padding-block: 6px; }
  .bk-win .bk-s1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "cal f" "cal d" "cal rt" "leg rt"; column-gap: 1.4rem; align-items: start; }
  .bk-win .bk-f { grid-area: f; display: block; } .bk-win .bk-fl:first-child { width: 100%; } .bk-win .bk-fl .bk-time { flex: 1 1 auto; width: 100%; min-width: 0; max-width: none; text-overflow: ellipsis; }
  .bk-win .bk-d { grid-area: d; flex-wrap: wrap; white-space: normal; gap: .35rem; margin: .45rem 0 0; font-size: .82rem; }
  .bk-win .bk-dp { white-space: normal; } .bk-win .bk-dv { margin-left: .3rem; }
  .bk-win .bk-qp { margin-left: 0; flex-wrap: wrap; gap: .3rem; } .bk-win .bk-qp button { min-height: 28px; padding: .25rem .5rem; font-size: .74rem; }
  .bk-win .bk-cal { grid-area: cal; grid-template-columns: 1fr; align-self: stretch; } .bk-win .bk-cal .bk-m + .bk-m { display: none; }
  .bk-win .bk-m h3 { padding: 0 0 .2rem; font-size: .74rem; } .bk-win .bk-nav { top: -.75rem; }
  .bk-win .bk-g { grid-auto-rows: minmax(24px, 1fr); } .bk-win .bk-g .dw { padding: 0; font-size: .7rem; line-height: 1.5; }   /* 24 px: the smallest tap target (WCAG 2.5.8) */
  .bk-win .bk-g button { flex-direction: row; gap: .3rem; } .bk-win .bk-g .ld { top: .2rem; left: .2rem; width: .32rem; height: .32rem; } .bk-win .bk-g .bpx { border-top-width: .55rem; border-left-width: .55rem; }
  .bk-win .bk-leg { grid-area: leg; margin: .25rem 0 0; font-size: .7rem; line-height: 1.3; gap: 0 1.2rem; } .bk-win .bk-leg .lz { font-size: .68rem; }
  .bk-win .bk-rt { grid-area: rt; align-self: end; position: static; margin: .5rem 0 0; padding: 0; box-shadow: none; background: none; flex-direction: column; align-items: stretch; gap: .35rem; }
  .bk-win .bk-tr { min-width: 0; text-align: left; font-size: .74rem; } .bk-win .bk-tr strong, .bk-win .bk-tr em { display: inline; } .bk-win .bk-tr strong::after { content: " · "; font-weight: 400; }
  .bk-win .bk-s1 .bk-go { width: 100%; min-height: 40px; padding: .45rem 1rem; }
  /* the message page: the same two columns, shorter, so the address and its COPY ADDRESS button end above the window's edge */
  .bk-win .psc-fields { gap: .6rem 1.6rem; } .bk-win .psc-lab { margin-bottom: .3rem; }
  .bk-win .psc-ta { flex: 1 1 0; min-height: 5rem; }
  .bk-win .psc-in { padding: .35rem 0; }
  .bk-win .psc-row { margin-top: .5rem; gap: 4px 14px; } .bk-win .psc-send { min-height: 38px; padding: .4rem 1.4rem; }
  .bk-win .psc-alt { font-size: .76rem; }
  .bk-win .psc-addr { margin-top: .5rem; padding-top: .4rem; gap: 4px 8px; font-size: .78rem; } .bk-win .psc-copy { min-height: 28px; padding: 7px 12px; }
  .bk-win .bk-msg, .bk-win .bk-call { flex: 1 1 auto; } .bk-win .bk-s3, .bk-win .psc-done { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-ov, .bk-ov .bk, .bk-ov .bk-hd, .bk-ov .bk-body, .bk-ov .bk-t, .bk *, .bk-go .cta-rule,
  .bk-ov.fast, .bk-ov.fast .bk, .bk-ov.fast .bk-hd, .bk-ov.fast .bk-body { transition: none !important; animation: none !important; }
  .bk-ov .bk, .bk-ov .bk-hd, .bk-ov .bk-body { transform: none !important; }
  .psc-x:hover { rotate: none; }
}
