/* /book/<handle> — the booking page a stranger opens — in /download's night-sky look.
   [stated, 2026-11-08] "THE DOWNLOAD PAGE IS SO BEAUTIFULLY DESIGNED WE MAY WANT TO TAKE THAT
   ENERGY TO MORE PAGES / LIKE THE BOOKING LINK?"
   download.css brings the tokens, the glass nav, the buttons and the footer; this sheet is
   the page itself. Two columns on a laptop — who and why on the left, the decision in a
   glass panel on the right, the glass calendar (made for this page) glowing behind it. On a
   phone: who, then the decision, then the rest — somebody who opened this link already knows
   who sent it, so the times come before the reasons. */

.booknight{background:
  radial-gradient(1000px 680px at 84% -8%, rgba(98,48,255,.2), transparent 62%),
  radial-gradient(860px 600px at 0% 0%, rgba(9,117,255,.14), transparent 60%),
  radial-gradient(700px 520px at 50% 108%, rgba(35,208,255,.08), transparent 65%),
  var(--ink)}

/* Embedded in another website (/embed.js): no header, footer or "what happens" — the page
   alone, a little tighter, and our glow kept off their page's edges. */
.embedded .top,.embedded .foot,.embedded .bk-next,.embedded .bk-art,.embedded .agentbook{display:none !important}
.embedded body::before{display:none}
.embedded .bk{padding-top:22px;padding-bottom:22px}
/* The page is as tall as what it shows, so the frame around it can be too (and shrink). */
.embedded .booknight{min-height:0}

.bk{
  position:relative; max-width:1200px; margin:0 auto; padding:clamp(34px,5vw,74px) 28px 0;
  display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-areas:"head panel" "more panel"; gap:30px clamp(28px,4.6vw,68px); align-items:start;
}
.bk > section{position:relative;z-index:1;min-width:0}
.bk-head{grid-area:head}
.bk-more{grid-area:more}
.bk-panel{grid-area:panel}

/* The glass calendar: behind the panel, its light showing through the glass. */
.bk-art{
  position:absolute; z-index:0; right:-150px; top:-96px; width:min(540px,44vw); height:auto; pointer-events:none;
  mix-blend-mode:screen; opacity:.95;
  -webkit-mask-image:radial-gradient(closest-side,#000 70%,transparent 100%); mask-image:radial-gradient(closest-side,#000 70%,transparent 100%);
  animation:bkfloat 9s ease-in-out infinite;
}
@keyframes bkfloat{50%{transform:translateY(-12px) rotate(-1.5deg)}}

/* ── who ─────────────────────────────────────────────────────────────────── */
.bk-host{display:flex;align-items:center;gap:14px}
.bk-face{
  position:relative; width:60px; height:60px; flex:none; border-radius:50%; padding:2px;
  background:conic-gradient(from 210deg,#23d0ff,#6f7bff,#a77bff,#23d0ff);
  box-shadow:0 0 34px rgba(35,208,255,.32), 0 10px 30px rgba(0,0,0,.4);
}
.bk-face img,.bk-initial{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid var(--ink);display:block}
.bk-initial{display:grid;place-items:center;background:linear-gradient(135deg,#1256E8,#6a3cff);color:#fff;font:700 23px/1 var(--display)}
.bk-initial[hidden],.bk-face img[hidden]{display:none}
/* a team link: its people, one over the next */
.bk-faces{display:flex;flex:none}
.bk-faces .bk-face{width:50px;height:50px}
.bk-faces .bk-face+.bk-face{margin-left:-14px}
.bk-faces .bk-initial{font-size:19px}
.bk-hostline{display:flex;flex-direction:column;gap:3px;line-height:1.25}
.bk-name{font-size:17px;font-weight:650;color:#fff;letter-spacing:-.01em}
.bk-on{font-size:12.5px;color:var(--muted2);font-weight:550}
.bk-head h1{
  font-family:var(--display); font-weight:700; font-size:clamp(38px,4.4vw,64px); line-height:1.02;
  letter-spacing:-.042em; margin:22px 0 22px; text-wrap:balance; overflow-wrap:anywhere;
  background:linear-gradient(180deg,#fff 30%,#b9c6ff); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.bk-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:9px}
.bk-chips li{
  display:inline-flex; align-items:center; gap:8px; padding:8px 13px 8px 11px; border-radius:999px;
  border:1px solid var(--line2); background:rgba(255,255,255,.04); color:#d5dcf2; font-size:13px; font-weight:550; max-width:100%;
}
.bk-chips li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk-chips svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--cyan);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ── why ─────────────────────────────────────────────────────────────────── */
.bk-blurb{font-size:clamp(16.5px,1.3vw,18.5px);line-height:1.62;color:#b8c2dd;margin:0 0 26px;max-width:52ch;white-space:pre-line}
.bk-blurb[hidden]{display:none}
.bk-facts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.bk-facts li{
  display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; align-items:start; padding:16px 18px;
  border:1px solid var(--line); border-radius:18px; background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.bk-facts .ic,.bk-chosencard .ic{
  width:44px; height:44px; display:grid; place-items:center; border-radius:13px;
  border:1px solid rgba(122,160,255,.26); background:linear-gradient(135deg,rgba(22,140,255,.24),rgba(112,70,255,.24));
}
.bk-facts .ic svg,.bk-chosencard .ic svg{width:21px;height:21px;fill:none;stroke:#cfe8ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bk-facts b{display:block;font-size:15px;color:#fff;margin:2px 0 4px}
.bk-facts span{display:block;font-size:14px;line-height:1.55;color:var(--muted)}

/* ── the decision ─────────────────────────────────────────────────────────── */
.bk-panel{
  border-radius:28px; padding:26px; isolation:isolate;
  border:1px solid rgba(122,160,255,.2);
  background:linear-gradient(180deg,rgba(18,25,58,.58),rgba(7,10,26,.82));
  box-shadow:0 44px 120px rgba(0,0,0,.5), 0 20px 80px rgba(22,140,255,.1), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(22px) saturate(140%); -webkit-backdrop-filter:blur(22px) saturate(140%);
}
.bk-panelhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.bk-panel h2{font-family:var(--display);font-size:23px;font-weight:700;letter-spacing:-.025em;margin:0;color:#fff}
.bk-month{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.01em}
.bk-panelhead .bk-month{margin-left:auto}
.bk-view{display:inline-flex;padding:3px;border-radius:11px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.bk-view button{appearance:none;border:0;background:none;color:var(--muted);font:600 12.5px/1 Inter,system-ui,sans-serif;padding:7px 11px;border-radius:8px;cursor:pointer}
.bk-view button.on{background:rgba(255,255,255,.1);color:#fff}
.bk-week[hidden]{display:none}
.bk-weekhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:13.5px;font-weight:600;color:#cfd6ee}
.bk-weekgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-height:min(56vh,420px);overflow-y:auto;scrollbar-width:thin}
.bk-wcol{display:flex;flex-direction:column;gap:5px;min-width:0}
.bk-whead{position:sticky;top:0;z-index:1;text-align:center;padding:6px 0 7px;margin-bottom:2px;border-radius:10px;background:rgba(12,17,42,.96);border:1px solid var(--line)}
.bk-whead b{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted2)}
.bk-whead span{display:block;font:700 17px/1.1 var(--display);color:#e8ecff;margin-top:3px}
.bk-wslot{appearance:none;height:32px;border-radius:9px;border:1px solid var(--line2);background:rgba(255,255,255,.035);color:#eef1ff;
  font:600 11.5px/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.bk-wslot:hover{border-color:rgba(35,208,255,.62);background:rgba(35,208,255,.09)}
.bk-wslot.picked{background:linear-gradient(150deg,#1256E8,#6a3cff);border-color:rgba(255,255,255,.22);color:#fff}
.bk-wnone{text-align:center;color:var(--muted2);font-style:normal;padding-top:4px}
/* Seven columns need a laptop's width; a phone keeps the day view. */
@media (max-width:640px){ .bk-view{display:none} }

.bk-dayrow{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center}
.bk-arrow{
  appearance:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  border:1px solid var(--line2); background:rgba(255,255,255,.04); color:#dfe5ff; padding:0;
}
.bk-arrow:hover{border-color:rgba(35,208,255,.55);background:rgba(35,208,255,.08)}
.bk-arrow:disabled{opacity:.3;cursor:default;background:none;border-color:var(--line)}
.bk-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-days{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:4px 2px 8px;margin:-4px 0 -8px}
.bk-days::-webkit-scrollbar{display:none}
.bk-day{
  appearance:none; flex:none; width:60px; padding:10px 0 11px; border-radius:15px; cursor:pointer; scroll-snap-align:start;
  border:1px solid var(--line); background:rgba(255,255,255,.03); color:#e8ecff; text-align:center; font:inherit;
  transition:border-color .16s, background .16s, transform .16s, box-shadow .16s;
}
.bk-day b{display:block;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted2)}
.bk-day span{display:block;font:700 21px/1.1 var(--display);letter-spacing:-.02em;margin-top:5px}
.bk-day:hover{border-color:rgba(35,208,255,.5);transform:translateY(-1px)}
.bk-day.on{
  border-color:rgba(255,255,255,.22); background:linear-gradient(150deg,#1256E8,#6a3cff);
  box-shadow:0 12px 30px rgba(18,86,232,.42), inset 0 1px 0 rgba(255,255,255,.25);
}
.bk-day.on b{color:rgba(255,255,255,.82)}
.bk-day:focus-visible,.bk-slot:focus-visible,.bk-arrow:focus-visible,.bk-back:focus-visible{outline:2px solid #7cc8ff;outline-offset:2px}
.bk-daylabel{margin:18px 0 12px;font-size:13.5px;font-weight:600;color:#cfd6ee}
.bk-daylabel:empty{display:none}

.bk-slots{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); gap:10px;
  max-height:min(52vh,380px); overflow-y:auto; padding:2px 4px 4px 2px; margin:0 -4px -4px -2px;
  scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.18) transparent;
}
.bk-slot{
  appearance:none; height:48px; border-radius:13px; cursor:pointer; font:600 14.5px/1 Inter,system-ui,sans-serif; letter-spacing:-.005em;
  border:1px solid var(--line2); background:rgba(255,255,255,.035); color:#eef1ff;
  transition:border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.bk-slot:hover{border-color:rgba(35,208,255,.62);background:rgba(35,208,255,.09);box-shadow:0 0 0 3px rgba(35,208,255,.08);transform:translateY(-1px)}
.bk-none{margin:0;padding:34px 8px;text-align:center;color:var(--muted);font-size:14.5px}
/* A group page: how many places a time has left, under the time. */
.bk-slot .bk-left{display:block;margin-top:5px;font:500 11px/1 Inter,system-ui,sans-serif;font-style:normal;color:var(--muted2)}
.bk-slot:has(.bk-left){height:56px}
/* Several lengths: one segmented row over the days. */
.bk-durs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.bk-durs[hidden]{display:none}
.bk-dur{appearance:none;padding:9px 14px;border-radius:999px;cursor:pointer;font:600 13.5px/1 Inter,system-ui,sans-serif;
  border:1px solid var(--line2);background:rgba(255,255,255,.035);color:#dfe5fb;transition:border-color .15s,background .15s}
.bk-dur:hover{border-color:rgba(35,208,255,.62)}
.bk-dur.on{border-color:rgba(255,255,255,.22);background:linear-gradient(150deg,#1256E8,#6a3cff);color:#fff}
.bk-dur:focus-visible{outline:2px solid #7cc8ff;outline-offset:2px}

/* step two */
.bk-back{
  appearance:none; display:inline-flex; align-items:center; gap:6px; padding:6px 10px 6px 6px; margin:-4px 0 16px -6px;
  border:0; border-radius:10px; background:none; color:var(--muted); font:600 13.5px/1 Inter,system-ui,sans-serif; cursor:pointer;
}
.bk-back:hover{color:#fff;background:rgba(255,255,255,.05)}
.bk-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-chosencard{
  display:grid; grid-template-columns:44px minmax(0,1fr); gap:14px; align-items:center; padding:14px 16px; margin-bottom:22px;
  border:1px solid rgba(35,208,255,.3); border-radius:16px; background:linear-gradient(135deg,rgba(18,86,232,.18),rgba(106,60,255,.14));
}
.bk-chosen{margin:0;font-size:15.5px;font-weight:650;line-height:1.45;color:#fff}
#bkForm{display:flex;flex-direction:column;gap:16px}
#bkForm label{display:flex;flex-direction:column;gap:7px;font-size:13.5px;font-weight:600;color:#d5dcf2}
#bkForm label i{font-style:normal;font-weight:500;font-size:12.5px;color:var(--muted2);line-height:1.5}
#bkForm input,#bkForm textarea{
  width:100%; padding:13px 14px; border-radius:13px; font:500 15px/1.45 Inter,system-ui,sans-serif; color:#fff;
  border:1px solid var(--line2); background:rgba(3,6,17,.55); outline:none; transition:border-color .15s, box-shadow .15s;
}
#bkForm input::placeholder,#bkForm textarea::placeholder{color:#66708f}
#bkForm input:focus,#bkForm textarea:focus{border-color:rgba(35,208,255,.7);box-shadow:0 0 0 4px rgba(35,208,255,.12)}
#bkForm textarea{resize:vertical;min-height:104px}
#bkQs{display:flex;flex-direction:column;gap:16px}
#bkForm .bk-repeat select{width:100%;padding:12px 14px;border-radius:13px;font:500 15px/1.4 Inter,system-ui,sans-serif;color:#fff;border:1px solid var(--line2);background:rgba(3,6,17,.55)}
#bkForm .bk-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:500;color:#cfd6ee}
#bkForm .bk-check input{width:auto;margin-top:3px;accent-color:#3b82f6}
.bk-slot.picked{border-color:rgba(255,255,255,.22);background:linear-gradient(150deg,#1256E8,#6a3cff);color:#fff}
.bk-pickbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.bk-pickbar span{font-size:13.5px;color:#cfd6ee}
.bk-pickbar .btn:disabled{opacity:.45;cursor:default}
.bk-offer{margin:6px 0 14px;padding:14px 16px;border-radius:14px;border:1px solid rgba(35,208,255,.45);background:rgba(35,208,255,.08)}
.bk-offer p{margin:0 0 10px;font-size:14px;color:#dfe5fb}
.bk-series{margin:4px 0 14px;font-size:13.5px;color:#cfd6ee}
.bk-series ul{margin:6px 0 10px;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.bk-series li.gone{text-decoration:line-through;color:var(--muted2)}
.bk-series li.here{color:#fff;font-weight:600}
.bk-series a{color:#7cc8ff;text-decoration:underline}
.bk-series a[hidden]{display:none}
.bk-alltimes{margin:4px 0 14px;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:14px;color:#dfe5fb}
.bk-alltimes li::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#23d0ff;margin:0 10px 2px 0}
#bkQs:empty{display:none}
#bkForm #bkQs textarea{min-height:64px}
.bk-go{width:100%;margin-top:4px}
.bk-go:disabled{opacity:.6;cursor:default;transform:none}
.bk-err{margin:0;min-height:1em;color:#ff8a8a;font-size:13px}

/* Add guests: one quiet button under the email until pressed, then a field of chips that
   looks like the other fields (its own input borderless inside it). Names are bk-guest*:
   .bk-chips is already the facts list on the left. */
.bk-guests{margin-top:-6px}
.bk-addguests{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 8px;margin-left:-8px;
  border-radius:10px;font:600 13.5px/1.3 Inter,system-ui,sans-serif;color:#7cc8ff}
.bk-addguests:hover{color:#fff;background:rgba(255,255,255,.05)}
.bk-addguests:focus-visible{outline:2px solid rgba(35,208,255,.7);outline-offset:2px}
.bk-addguests svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bk-addguests[hidden]{display:none}
.bk-guestbox{display:flex;flex-direction:column;gap:7px}
.bk-guestbox[hidden]{display:none}
.bk-guestfield{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 9px;border-radius:13px;cursor:text;
  border:1px solid var(--line2);background:rgba(3,6,17,.55);transition:border-color .15s, box-shadow .15s}
.bk-guestfield:focus-within{border-color:rgba(35,208,255,.7);box-shadow:0 0 0 4px rgba(35,208,255,.12)}
.bk-guestlist{display:contents;list-style:none;margin:0;padding:0}
.bk-guestlist li{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-width:0;padding:5px 4px 5px 11px;border-radius:999px;
  background:rgba(35,208,255,.1);border:1px solid rgba(35,208,255,.3);font:500 13.5px/1.2 Inter,system-ui,sans-serif;color:#e6ecff}
.bk-guestlist li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.bk-guestx{all:unset;cursor:pointer;flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;
  font-size:16px;line-height:1;color:#a3adc8}
.bk-guestx:hover{color:#fff;background:rgba(255,255,255,.1)}
.bk-guestx:focus-visible{outline:2px solid rgba(35,208,255,.7)}
#bkForm .bk-guestfield input{flex:1 1 180px;min-width:0;width:auto;padding:5px 4px;border:0;border-radius:0;background:transparent;box-shadow:none}
#bkForm .bk-guestfield input:focus{box-shadow:none}
#bkForm .bk-guestfield input:disabled{cursor:default}
.bk-guesterr{margin:0;color:#ff8a8a;font-size:13px}
.bk-guesterr:empty{display:none}

/* step three */
.bk-done{text-align:center;padding:14px 4px 6px}
.bk-tick{
  width:68px; height:68px; margin:4px auto 18px; border-radius:50%; display:grid; place-items:center;
  background:linear-gradient(140deg,#37e9bd,#23d0ff); box-shadow:0 0 0 8px rgba(55,233,189,.1), 0 16px 50px rgba(35,208,255,.35);
  animation:bkpop .5s cubic-bezier(.2,1.4,.4,1) both;
}
.bk-tick svg{width:32px;height:32px;fill:none;stroke:#03211c;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@keyframes bkpop{from{transform:scale(.6);opacity:0}}
.bk-done h2{font-size:30px;margin:0 0 8px}
.bk-when{margin:0 0 24px;font-size:16px;color:#d5dcf2}
.bk-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:20px}
.bk-calsent{margin:-6px auto 10px;max-width:44ch;font-size:13.5px;line-height:1.5;color:#b8c2dd}
.bk-calmore{margin:0 0 18px;font-size:13px;color:var(--muted)}
.bk-calmore a{color:#7cc8ff;font-weight:600}
.bk-calmore a:hover{color:#fff}
.bk-manage,.bk-note{margin:0 auto;max-width:44ch;font-size:13.5px;line-height:1.6;color:var(--muted)}
.bk-manage a{color:#7cc8ff;font-weight:600}
.bk-manage a:hover{color:#fff}
.bk-note{margin-top:12px;color:#b8c2dd}
.bk-note:empty{display:none}

/* ── what happens next ───────────────────────────────────────────────────── */
.bk-next{max-width:1200px;margin:clamp(56px,7vw,96px) auto 0;padding:0 28px}
.bk-next h2{font-family:var(--display);font-size:clamp(24px,2.2vw,32px);font-weight:700;letter-spacing:-.03em;margin:0 0 20px}
.bk-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:bk}
.bk-flow li{
  position:relative; padding:22px 22px 24px 76px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.025);
}
.bk-flow li::before{
  counter-increment:bk; content:counter(bk); position:absolute; left:20px; top:20px; width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center; font:700 17px/1 var(--display); color:#fff;
  background:linear-gradient(135deg,#1256E8,#6a3cff); box-shadow:0 10px 30px rgba(18,86,232,.35);
}
.bk-flow b{display:block;font-size:16px;color:#fff;margin:1px 0 6px}
.bk-flow span{display:block;font-size:14.5px;line-height:1.58;color:var(--muted)}

/* ── smaller screens ─────────────────────────────────────────────────────── */
@media (max-width:1040px){
  .bk{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "panel" "more";gap:26px}
  .bk-art{right:-80px;top:-10px;width:300px;opacity:.6}
  .bk-flow{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .bk{padding:26px 16px 0;gap:22px}
  .bk-art{right:-104px;top:4px;width:240px;opacity:.42}
  .bk-head h1{font-size:clamp(32px,9vw,40px);margin:18px 0 16px}
  .bk-face{width:52px;height:52px}
  .bk-panel{padding:18px 16px 20px;border-radius:24px}
  .bk-dayrow{grid-template-columns:minmax(0,1fr)}
  .bk-arrow{display:none}
  .bk-day{width:56px}
  .bk-slots{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));max-height:none;overflow:visible;margin:0;padding:0}
  .bk-next{padding:0 16px}
  .bk-flow li{padding:18px 18px 20px 70px}
  .bk-links .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.bk-art,.bk-tick{animation:none}.bk-day,.bk-slot{transition:none}}

/* ── /booking/<id>: one booking, moved or cancelled from its own link ──────── */
.bk.single{grid-template-columns:minmax(0,1fr);grid-template-areas:"panel";max-width:640px}
.bk.single .bk-art{right:50%;transform:translateX(50%);top:-70px;width:min(460px,90vw);opacity:.75;animation:none}
.bk.single .bk-panel{margin-top:110px}
.bk-tick.gone{background:rgba(255,255,255,.12);box-shadow:none}
.bk-tick.gone svg{display:none}
.bk-manage a[hidden]{display:none}
@media (max-width:640px){.bk.single .bk-panel{margin-top:90px}.bk.single .bk-art{width:300px;top:-30px}}
.booknight{min-height:100vh;min-height:100dvh}
.bk.single .bk-note{margin:0 auto 18px}
.bk-panel{scroll-margin-top:92px}
.bk.single .bk-days{margin-bottom:10px}

/* The field only scripts fill (book.html). Off-screen rather than display:none — some
   form-fillers skip what is not displayed, and those are the ones it is for. */
.bk-hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* A page with a price (book.js): a word on what happens after the button. */
.bk-paynote{margin:8px 0 0;font-size:12.5px;color:var(--mid,#9aa3c0);line-height:1.5}
.bk-paynote[hidden]{display:none}

/* ── the owner's look (server.js draws it into the page: their colour, their logo, or no
   Meetful at all) ─────────────────────────────────────────────────────────── */
.booknight.tinted .bk-day.on,.booknight.tinted .bk-dur.on,.booknight.tinted .btn-primary{background:var(--bk-accent);color:var(--bk-accent-ink);box-shadow:none}
.booknight.tinted .bk-day.on b,.booknight.tinted .bk-day.on span{color:var(--bk-accent-ink)}
.booknight.tinted .bk-day:hover,.booknight.tinted .bk-slot:hover{border-color:var(--bk-accent)}
.booknight.tinted .bk-slot:hover{background:color-mix(in srgb,var(--bk-accent) 12%,transparent);box-shadow:none}
.booknight.tinted .bk-tick{background:var(--bk-accent);color:var(--bk-accent-ink);box-shadow:0 0 0 8px color-mix(in srgb,var(--bk-accent) 16%,transparent)}
.ownbrand{display:flex;align-items:center;min-height:40px}
.ownlogo{display:block;max-height:40px;max-width:220px;object-fit:contain}
.booknight.bare .top .links,.booknight.bare .top .btn,.booknight.bare .bk-next,.booknight.bare .foot,.booknight.bare .bk-on,
.booknight.bare .top .brand:not(.ownbrand){display:none}
.booknight.tinted .btn-primary::before{display:none}
.booknight.tinted .btn-primary:hover{background:var(--bk-accent);filter:brightness(1.08)}
.booknight.tinted .bk-face{background:var(--bk-accent);box-shadow:none}
.booknight.tinted .bk-initial{background:var(--bk-accent);color:var(--bk-accent-ink)}
.booknight.bare .bk-art{display:none}

/* a page of whole days: one wide button a day */
.bk-slot.bk-wholeday{grid-column:1 / -1;padding:16px 14px}
/* ── a filled-in link ─────────────────────────────────────────────────────
   Somebody's assistant filled this in: say so, above the one button left to press. */
.bk-prefill{margin:0 0 14px;padding:10px 14px;border-radius:12px;font-size:13.5px;line-height:1.5;
  color:#d9ecff;background:rgba(124,200,255,.09);border:1px solid rgba(124,200,255,.26)}
.bk-prefill[hidden]{display:none}

/* ── for AI assistants ─────────────────────────────────────────────────────
   The open times as text and the ways to book, in the page itself, for an assistant that reads
   it without running a script. A person passes over it at the bottom; nothing in it is a link
   that books. */
.agentbook{max-width:1200px;margin:clamp(48px,6vw,80px) auto 0;padding:0 28px}
.agentbook h2{font-family:var(--display);font-size:clamp(22px,2vw,28px);font-weight:700;letter-spacing:-.03em;margin:0 0 10px}
.agentbook .ab-lead{margin:0 0 20px;max-width:72ch;color:var(--muted);font-size:15px;line-height:1.6}
.ab-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}
.ab-grid>div{min-width:0;padding:20px 22px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025)}
.ab-grid h3{margin:0 0 6px;font-size:15px;color:#fff}
.ab-tz,.ab-fine{margin:0 0 12px;font-size:13px;line-height:1.55;color:var(--muted)}
.ab-fine{margin:12px 0 0}
.ab-fine code{white-space:nowrap}
.ab-times ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ab-times li{font-size:13.5px;line-height:1.75;color:#d5dcf2}
.ab-times li b{margin-right:4px;color:#fff;font-weight:600}
.ab-times li i{margin-right:6px;font-style:normal;font-size:12px;color:var(--muted)}
.ab-times li span{display:inline-block;margin:2px 3px 0 0;padding:0 6px;border-radius:6px;background:rgba(255,255,255,.06);
  font:500 12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.ab-how ol{margin:0;padding-left:20px;display:grid;gap:10px;font-size:13.5px;line-height:1.6;color:#d5dcf2}
.ab-how b{color:#fff}
.agentbook code{padding:1px 5px;border-radius:6px;background:rgba(255,255,255,.06);color:#cfe3ff;
  font:500 12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;word-break:break-word}
.agentbook a{color:#7cc8ff;font-weight:600;overflow-wrap:anywhere}
.agentbook a:hover{color:#fff}
@media (max-width:1040px){.ab-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.agentbook{padding:0 16px}.ab-grid>div{padding:16px}}

/* What the one-request link answers: the same "booked" panel, with every link written out —
   an assistant quotes them to its person. */
.bk-agentfacts{list-style:none;margin:0 auto 16px;padding:0;max-width:56ch;text-align:left;font-size:13.5px;line-height:1.75;color:#d5dcf2}
.bk-agentfacts a{color:#7cc8ff;overflow-wrap:anywhere}
.bk-agentfacts code{white-space:nowrap;font:500 12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:#cfe3ff}

/* The opt-in booking embed uses a light palette from first paint. */
html[data-book-embed-theme="light"] {
  --ink:#f7f5ff;
  --text:#19162c;
  --muted:#55516b;
  --muted2:#68627d;
  --line:#e4dff0;
  --line2:#d6cfe6;
  --bk-surface:#fff;
  --bk-soft:#efebff;
  --bk-primary:#5439d8;
  --bk-hover:#4129b5;
  color-scheme:light;
}
[data-book-embed-theme="light"] .booknight {
  background:radial-gradient(90% 330px at 80% 0%,#ebe5ff,transparent),var(--ink);
}
[data-book-embed-theme="light"] .bk { gap:20px clamp(22px,4vw,48px) }
[data-book-embed-theme="light"] .bk-head h1 {
  background:none; color:var(--text); font-size:clamp(30px,5vw,48px); margin:16px 0;
}
[data-book-embed-theme="light"] .bk-face { box-shadow:0 7px 18px #43328d24 }
[data-book-embed-theme="light"] :is(.bk-name,.bk-facts b,.bk-panel h2,.bk-chosen,.bk-series li.here) {
  color:var(--text);
}
[data-book-embed-theme="light"] :is(.bk-blurb,.bk-weekhead,.bk-daylabel,.bk-pickbar span,.bk-offer p,
  .bk-series,.bk-alltimes,.bk-when,.bk-calsent,.bk-note,.bk-paynote,.bk-agentfacts) {
  color:var(--muted);
}
[data-book-embed-theme="light"] .bk-panel {
  background:var(--bk-surface); border-color:var(--line);
  box-shadow:0 18px 44px #30216614; backdrop-filter:none; -webkit-backdrop-filter:none;
}
[data-book-embed-theme="light"] :is(.bk-chips li,.bk-facts li,.bk-arrow,.bk-day,.bk-slot,.bk-wslot,.bk-dur,.btn-ghost) {
  background:var(--bk-surface); border-color:var(--line2); color:var(--text);
}
[data-book-embed-theme="light"] :is(.bk-view,.bk-whead,.bk-chosencard,.bk-offer,.bk-prefill,
  .bk-guestlist li,.bk-facts .ic,.bk-chosencard .ic) {
  background:var(--bk-soft); border-color:var(--line2); color:var(--text);
}
[data-book-embed-theme="light"] :is(.bk-chips svg,.bk-facts .ic svg,.bk-chosencard .ic svg) {
  stroke:var(--bk-primary);
}
[data-book-embed-theme="light"] .bk-whead span { color:var(--text) }
[data-book-embed-theme="light"] .bk-view button.on { background:var(--bk-surface); color:var(--bk-hover) }
[data-book-embed-theme="light"] :is(.bk-arrow,.bk-day,.bk-slot,.bk-wslot,.bk-dur,.btn-ghost):hover:not(:disabled) {
  background:var(--bk-soft); border-color:var(--bk-primary); box-shadow:none;
}
[data-book-embed-theme="light"] .booknight :is(.bk-day.on,.bk-slot.picked,.bk-wslot.picked,.bk-dur.on,.btn-primary) {
  background:var(--bk-accent,var(--bk-primary)); border-color:transparent;
  color:var(--bk-accent-ink,#fff); box-shadow:none;
}
[data-book-embed-theme="light"] .booknight :is(.bk-slot.picked,.bk-wslot.picked) .bk-left,
[data-book-embed-theme="light"] .booknight .bk-day.on b { color:var(--bk-accent-ink,#fff) }
[data-book-embed-theme="light"] .booknight .btn-primary::before { display:none }
[data-book-embed-theme="light"] .booknight .btn-primary:hover:not(:disabled) {
  background:var(--bk-accent,var(--bk-hover));
}
[data-book-embed-theme="light"] :is(.bk-back,.bk-addguests,.bk-guestx,.bk-calmore a,.bk-manage a,
  .bk-series a,.bk-agentfacts a,.bk-agentfacts code) { color:var(--bk-hover) }
[data-book-embed-theme="light"] :is(.bk-back,.bk-addguests,.bk-guestx):hover { background:var(--bk-soft) }
[data-book-embed-theme="light"] :is(button,a):focus-visible { outline:2px solid var(--bk-primary); outline-offset:2px }
[data-book-embed-theme="light"] .bk-alltimes li::before { background:var(--bk-primary) }
[data-book-embed-theme="light"] .bk-slots { scrollbar-color:var(--line2) transparent }

[data-book-embed-theme="light"] #bkForm label { color:var(--text) }
[data-book-embed-theme="light"] #bkForm :is(input,textarea,.bk-repeat select,.bk-guestfield) {
  color:var(--text); border-color:var(--line2); background:var(--bk-surface);
}
[data-book-embed-theme="light"] #bkForm :is(input,textarea)::placeholder { color:var(--muted2) }
[data-book-embed-theme="light"] #bkForm :is(input:focus,textarea:focus,.bk-guestfield:focus-within) {
  border-color:var(--bk-primary); box-shadow:0 0 0 3px var(--bk-soft);
}
[data-book-embed-theme="light"] #bkForm .bk-guestfield input { background:transparent; box-shadow:none }
[data-book-embed-theme="light"] #bkForm .bk-check input { accent-color:var(--bk-primary) }
[data-book-embed-theme="light"] :is(.bk-err,.bk-guesterr) { color:#a32342 }
[data-book-embed-theme="light"] .booknight:not(.tinted) .bk-tick {
  background:#d6f7e8; box-shadow:0 0 0 8px #eefaf4;
}

.bk-loop {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--line2, rgba(255,255,255,.14));
  background: var(--bk-soft, rgba(255,255,255,.04));
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  text-align: left;
}
.bk-loop b { display: block; font-size: 14.5px; color: var(--text, #fff); margin-bottom: 3px; }
.bk-loop span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted, #a7b4d3); max-width: 44ch; }
.bk-loop code { font-size: 12.5px; }
.bk-loop a { flex: none; text-decoration: none; }
.embedded .bk-loop { display: none; }
