#bk{position:fixed;inset:0;height:100dvh;z-index:100;display:none;background:rgba(0,0,0,.78);font-family:'Sofia',system-ui,sans-serif;color:#fff}
#bk.open{display:block}
#bk .sheet{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:480px;max-height:92%;overflow-y:auto;background:#0A0A0A;border-radius:24px 24px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));box-sizing:border-box;display:flex;flex-direction:column;gap:14px}
#bk header{display:flex;align-items:center;justify-content:space-between;min-height:44px}
#bk h2{margin:0;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:34px;text-transform:uppercase;line-height:1}
#bk .x,#bk .back{min-width:44px;min-height:44px;background:none;border:none;color:#fff;font:inherit;cursor:pointer;font-size:15px}
#bk .muted{color:#B8B8B8;font-size:15px;margin:0}
#bk .cat{font-size:13px;letter-spacing:2px;text-transform:uppercase;color:#B8B8B8;margin:8px 0 0}
#bk .opts,#bk .days,#bk .slots{display:flex;flex-wrap:wrap;gap:8px}
#bk .opt{min-height:44px;padding:0 16px;border-radius:22px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);color:#fff;font:600 15px inherit;font-family:inherit;cursor:pointer}
#bk .opt[aria-pressed=true]{background:#2F5A4B;border-color:#2F5A4B}
#bk .opt:disabled{opacity:.35;cursor:default}
#bk .days{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
#bk .days .opt{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 14px;gap:0;line-height:1.2}
#bk .slots .opt{font-variant-numeric:tabular-nums;min-width:76px}
#bk label{display:flex;flex-direction:column;gap:6px;font-size:15px;color:#B8B8B8}
#bk input[type=text],#bk input[type=tel]{min-height:52px;border-radius:14px;border:1px solid #5A5A5A;background:#161616;color:#fff;font:inherit;font-size:17px;padding:0 14px}
#bk input:focus-visible,#bk .opt:focus-visible,#bk .cta:focus-visible{outline:2px solid #F4E8DA;outline-offset:2px}
#bk .photos{display:flex;gap:8px;flex-wrap:wrap}
#bk .photos img{width:64px;height:64px;object-fit:cover;border-radius:12px}
#bk .cta{width:100%;min-height:60px;border:none;border-radius:30px;background:#2F5A4B;color:#fff;font:700 18px inherit;font-family:inherit;cursor:pointer;margin-top:4px}
#bk .cta:disabled{opacity:.4;cursor:default}
#bk .err{color:#FFD39A;font-size:15px;margin:0}
#bk .done{text-align:center;padding:24px 0;display:flex;flex-direction:column;gap:10px}
#bk .done .big{font-family:'SofiaXC',sans-serif;font-weight:800;font-size:44px;text-transform:uppercase;line-height:.95}
body.bk-lock{overflow:hidden}
#bk .days{scrollbar-width:none}
#bk .days::-webkit-scrollbar{display:none}
#bk input[type=file]{color:#B8B8B8;font:inherit;font-size:15px}
#bk input[type=file]::file-selector-button{min-height:44px;padding:0 16px;margin-right:12px;border-radius:22px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);color:#fff;font:600 15px inherit;font-family:inherit;cursor:pointer}

#bk .eyebrow{font-size:13px;letter-spacing:2px;text-transform:uppercase;color:#B8B8B8}
#bk .prog{display:flex;gap:6px}
#bk .prog i{flex:1;height:3px;border-radius:2px;background:#2A2A2A}
#bk .prog i.on{background:#2F5A4B}
#bk .acc{display:flex;flex-direction:column;gap:8px}
#bk .grp{border:1px solid #2A2A2A;border-radius:18px;background:#121212;overflow:hidden}
#bk .grp.open{border-color:#2F5A4B}
#bk .gh{width:100%;min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:none;border:none;color:#fff;cursor:pointer;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:28px;text-transform:uppercase;text-align:left}
#bk .gh svg{transition:transform .2s;flex-shrink:0}
#bk .grp.open .gh svg{transform:rotate(180deg)}
#bk .gb{display:flex;flex-direction:column;padding:0 8px 8px}
#bk .row{min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:none;border:none;border-top:1px solid #222;color:#fff;font:600 17px inherit;font-family:inherit;cursor:pointer;text-align:left}
#bk .row svg{color:#B8B8B8}
#bk .row:active{background:rgba(47,90,75,.3)}
#bk .gh:focus-visible,#bk .row:focus-visible{outline:2px solid #F4E8DA;outline-offset:-2px}
#bk .sum{margin:0;padding:12px 16px;border-radius:16px;background:#161616;border:1px solid #2A2A2A;font-size:17px;font-weight:600;display:flex;flex-direction:column;gap:2px}
#bk .sum b{font-weight:500;color:#B8B8B8;font-size:15px;font-variant-numeric:tabular-nums}
#bk .cat{margin:4px 0 -4px}

#bk .cta:disabled{opacity:1;background:#1B2622;color:#6E7A75}

#bk .big-list{display:flex;flex-direction:column}
#bk .big{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px;background:none;border:none;border-bottom:1px solid #2A2A2A;color:#fff;cursor:pointer;text-align:left;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:34px;line-height:.95;text-transform:uppercase}
#bk .big svg{flex-shrink:0;color:#B8B8B8}
#bk .big:active{color:#CFE3DA}
#bk .big:focus-visible{outline:2px solid #F4E8DA;outline-offset:-2px}
#bk .master{display:flex;align-items:center;gap:12px;margin:8px 0 0;color:#B8B8B8;font-size:14px}
#bk .master span:last-child{display:flex;flex-direction:column;line-height:1.25}
#bk .master b{color:#fff;font-size:17px;font-weight:600}
#bk .av{width:44px;height:44px;border-radius:50%;background:#2F5A4B;color:#fff;display:flex;align-items:center;justify-content:center;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:24px}
#bk .sum .who{font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:#B8B8B8;font-weight:500}
#bk .near{width:100%;min-height:76px;display:flex;align-items:center;gap:12px;padding:10px 18px;border-radius:20px;border:none;background:#2F5A4B;color:#fff;cursor:pointer;text-align:left;font-family:inherit}
#bk .near .k{display:block;font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:#CFE3DA}
#bk .near .v{display:block;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:28px;text-transform:uppercase;line-height:1.05;font-variant-numeric:tabular-nums}
#bk .near>span{flex:1;display:block}
#bk .near svg{flex-shrink:0}
#bk .days{gap:8px}
#bk .day{flex-shrink:0;width:64px;min-height:84px;border-radius:16px;border:1px solid #2A2A2A;background:#121212;color:#fff;font-family:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;gap:1px}
#bk .day .w{font-size:12px;color:#B8B8B8;text-transform:uppercase;letter-spacing:1px}
#bk .day .n{font-family:'SofiaXC',sans-serif;font-weight:800;font-size:30px;line-height:1}
#bk .day .m{font-size:12px;color:#B8B8B8}
#bk .day[aria-pressed=true]{background:#2F5A4B;border-color:#2F5A4B}
#bk .day[aria-pressed=true] .w,#bk .day[aria-pressed=true] .m{color:#CFE3DA}
#bk .day:disabled{opacity:.3;cursor:default}
#bk .day:focus-visible{outline:2px solid #F4E8DA;outline-offset:2px}
#bk .slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#bk .slots .opt{min-width:0;padding:0;font-size:16px}
#bk .day{width:76px}
#bk .day .w{font-size:11px;letter-spacing:.5px}
#bk .day:disabled{opacity:.45}
#bk .day:disabled .n{color:#6E6E6E}

#bk .ticket{position:relative;overflow:hidden;border-radius:24px;background:#2F5A4B;color:#F4E8DA;padding:28px 20px 12px;display:flex;flex-direction:column;gap:2px}
#bk .tt+.tr{position:relative}
#bk .tt+.tr::before,#bk .tt+.tr::after{content:'';position:absolute;top:-11px;width:22px;height:22px;border-radius:50%;background:#0A0A0A}
#bk .tt+.tr::before{left:-31px}#bk .tt+.tr::after{right:-31px}
#bk .ok{margin-bottom:6px}
#bk .ok path{stroke-dasharray:1;stroke-dashoffset:1;animation:bk-draw .6s .15s ease-out forwards}
@keyframes bk-draw{to{stroke-dashoffset:0}}
#bk .tk{margin:0;font-size:13px;letter-spacing:2px;text-transform:uppercase;color:#CFE3DA}
#bk .td{margin:0;font-family:'SofiaXC',sans-serif;font-weight:800;font-size:64px;line-height:.9;text-transform:uppercase}
#bk .tt{margin:0 0 22px;font-family:'SofiaXC',sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;font-variant-numeric:tabular-nums;color:#E8D3BA}
#bk .tr{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px dashed rgba(244,232,218,.35);font-size:15px}
#bk .tr span{color:#CFE3DA;flex-shrink:0}
#bk .tr b{font-weight:600;text-align:right}
#bk .acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#bk .acts .opt{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:#fff;padding:8px 10px;line-height:1.2}
#bk .center{text-align:center}
@media (prefers-reduced-motion:reduce){#bk .ok path{animation:none;stroke-dashoffset:0}}

#bk .sheet{overscroll-behavior:contain}
#bk .cta{scroll-margin-bottom:16px}

#bk{-webkit-tap-highlight-color:transparent;overscroll-behavior:contain}
#bk button,#bk a,#bk label{touch-action:manipulation}
#bk .sheet:focus{outline:none}
body.bk-lock{position:fixed;left:0;right:0;width:100%}
#bk .cta{position:sticky;bottom:0;box-shadow:0 -14px 14px 6px #0A0A0A}
#bk .opt,#bk .day,#bk .big,#bk .near,#bk .cta,#bk .grp{transition:background-color .15s,transform .1s,border-color .15s}
#bk .opt:active,#bk .day:active,#bk .near:active,#bk .cta:active{transform:scale(.97)}
@media (prefers-reduced-motion:no-preference){
  #bk.enter{animation:bk-fade .2s ease-out}
  #bk.enter .sheet{animation:bk-up .28s cubic-bezier(.2,.8,.2,1)}
  #bk .sheet.fresh>*:not(header){animation:bk-step .22s ease-out both}
  @keyframes bk-fade{from{background-color:rgba(0,0,0,0)}}
  @keyframes bk-up{from{transform:translate(-50%,40px)}}
  @keyframes bk-step{from{opacity:0;transform:translateY(8px)}}
}

[data-category]{cursor:pointer;-webkit-tap-highlight-color:transparent}
[data-category]:focus-visible{outline:2px solid #F4E8DA;outline-offset:3px}

/* invalid shorthand fixes: font:700 18px inherit is not valid CSS */
#bk .cta{font-family:inherit;font-weight:700;font-size:18px}
#bk .opt{font-family:inherit;font-weight:600;font-size:16px}
#bk .row{font-family:inherit;font-weight:600;font-size:17px}
#bk input[type=file]::file-selector-button{font-family:inherit;font-weight:600;font-size:15px}
#bk .back,#bk .x{font-family:inherit;font-size:16px}
body.bk-lock [data-sticky]{visibility:hidden}
/* master bar */
#bk .master{margin:0;gap:10px;font-size:13px}
#bk .master b{font-size:16px}
#bk .av{width:36px;height:36px;font-size:20px}
/* plain summary line */
#bk .line{margin:-4px 0 0;font-size:18px;font-weight:600;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
#bk .line span{font-weight:500;color:#B8B8B8;font-size:16px;font-variant-numeric:tabular-nums}
/* sub screen */
#bk .cat{margin:0;font-size:13px;letter-spacing:2px;text-transform:uppercase;color:#B8B8B8}
#bk .big.sub{font-size:28px;min-height:68px;color:#F4E8DA}
/* near card compact */
#bk .near{min-height:68px}
#bk .near .v{font-size:24px}
/* field errors */
#bk .fe{color:#FFD39A;font-size:15px}
#bk input.bad{border-color:#FFD39A}
#bk .opt-photo{font-size:14px}
#bk .sheet{gap:16px}

#bk.kb{background:#0A0A0A}
#bk{transition:background-color .15s}

#bk .addphoto{flex-direction:row;align-items:center;gap:12px;position:relative}
#bk .addphoto input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font-size:16px}
#bk .addphoto .opt{display:inline-flex;align-items:center;pointer-events:none}
#bk .addphoto small{color:#B8B8B8;font-size:14px}
#bk .addphoto:focus-within .opt{outline:2px solid #F4E8DA;outline-offset:2px}

#bk .consult{flex-direction:row;align-items:center;gap:14px;min-height:64px;padding:12px 14px;border-radius:16px;border:1px solid #2A2A2A;background:#121212;color:#fff;cursor:pointer;position:relative}
#bk .consult input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
#bk .consult .sw{flex-shrink:0;width:48px;height:28px;border-radius:14px;background:#2A2A2A;position:relative;transition:background-color .2s}
#bk .consult .sw::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#B8B8B8;transition:transform .2s,background-color .2s}
#bk .consult input:checked~.sw{background:#2F5A4B}
#bk .consult input:checked~.sw::after{transform:translateX(20px);background:#fff}
#bk .consult input:focus-visible~.sw{outline:2px solid #F4E8DA;outline-offset:2px}
#bk .consult .ct{display:flex;flex-direction:column;gap:2px;min-width:0}
#bk .consult b{font-size:16px;font-weight:600}
#bk .consult small{font-size:14px;line-height:1.35;color:#B8B8B8}
#bk .consult:has(input:checked){border-color:#2F5A4B}
@media (prefers-reduced-motion:reduce){#bk .consult .sw,#bk .consult .sw::after{transition:none}}

#bk .srow{display:flex;align-items:stretch;border-bottom:1px solid #2A2A2A}
#bk .srow .big{flex:1;border-bottom:none;min-width:0}
#bk .info{flex-shrink:0;width:48px;background:none;border:none;color:#B8B8B8;cursor:pointer;display:flex;align-items:center;justify-content:center}
#bk .info[aria-expanded=true]{color:#F4E8DA}
#bk .info:focus-visible{outline:2px solid #F4E8DA;outline-offset:-2px}
#bk .desc{margin:0;padding:12px 14px;border-radius:14px;background:#161616;color:#D8D8D8;font-size:15px;line-height:1.5}

#bk{background:none !important;transition:none}
#bk-back{position:fixed;left:0;top:0;width:100%;height:100dvh;z-index:99;display:none;background:rgba(0,0,0,.78);transition:background-color .15s}
body.bk-lock #bk-back{display:block}
#bk-back.kb{background:#0A0A0A}
#bk .sheet{max-height:92%}

#bk .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#bk .ts{min-height:0}

/* desktop: the sheet becomes a centred dialog */
@media (min-width:960px){
  #bk .sheet{top:50%;bottom:auto;transform:translate(-50%,-50%);max-width:600px;min-height:0;max-height:88vh;border-radius:28px;padding:28px 32px 28px}
  #bk.enter .sheet{animation:bk-pop .25s cubic-bezier(.2,.8,.2,1)}
  @keyframes bk-pop{from{opacity:0;transform:translate(-50%,-47%)}}
  #bk .opt,#bk .big,#bk .cta,#bk .info,#bk .x,#bk .back{cursor:pointer}
  #bk .opt:hover:not(:disabled):not([aria-pressed=true]){background:rgba(255,255,255,.16)}
  #bk .big:hover{background:rgba(255,255,255,.04)}
  #bk .cta:hover:not(:disabled){background:#38695A}
  #bk .days{flex-wrap:wrap;overflow:visible}
}
