/* /studio-hire — page styles (owner: studio-hire builder). Uses site.css tokens only. */

/* header */
.hire-hd-in{display:grid;gap:24px}
@media (min-width:1024px){.hire-hd-in{grid-template-columns:1.5fr 1fr;align-items:end}}
.hire-cta{margin-top:20px;gap:14px 18px}
.hire-cta .btn{flex:1 1 auto}
@media (min-width:520px){.hire-cta .btn{flex:0 0 auto}}
.hire-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line2)}
.hire-facts li{background:var(--paper);padding:14px 14px 12px;display:grid;gap:4px;align-content:start}
.hire-facts b{font-size:30px;color:var(--ink)}
.hire-facts b.sm{font-size:22px;line-height:1.35}
.hire-facts span{font-size:13px;color:var(--mute);line-height:1.35}
.hire-facts li:first-child b{color:var(--stage)}
.hire-sub{margin-bottom:24px}

/* uses */
.hire-uses .card{display:grid;gap:6px;align-content:start}
.hire-uses h3{margin:0;display:flex;align-items:center;gap:10px}
.hire-uses p{margin:0;color:var(--ink3);font-size:15px}

/* rooms */
.hire-rooms{display:grid;gap:22px}
@media (min-width:640px){.hire-rooms{grid-template-columns:1fr 1fr}.hire-room-big{grid-column:1/-1}}
@media (min-width:1024px){.hire-rooms{grid-template-columns:repeat(4,1fr)}.hire-room-big{grid-column:1/-1;display:grid;grid-template-columns:1.6fr 1fr;gap:28px;align-items:center}}
.hire-room .ph{aspect-ratio:4/3}
.hire-room .ph.tall{aspect-ratio:4/3}
.hire-room .ph.tall img{object-position:50% 60%}
.hire-room-big .ph{aspect-ratio:16/10}
.hire-room-txt{padding-top:12px}
.hire-room-big .hire-room-txt{padding-top:0}
.hire-room h3{display:flex;align-items:center;gap:10px;margin-bottom:4px;font-family:var(--font-en);font-style:italic}
.hire-room h3 .tag{font-family:var(--font);font-style:normal}
.hire-room p{margin:0 0 4px;color:var(--ink3);font-size:15px}
.hire-size{font-size:14px!important;color:var(--mute)!important}
.hire-equip{margin-top:28px}

/* prices */
.hire-price{min-width:0;max-width:900px}
.hire-price th[scope=row]{font-weight:700;color:var(--ink);font-size:15px;white-space:nowrap}
.hire-price td b{font-size:20px;font-family:var(--font-en);font-style:italic}
.hire-price td small{color:var(--mute);white-space:nowrap}
.hire-price td small.inc{display:block;margin-top:2px}
.nw{white-space:nowrap}
.hire-price thead th:nth-child(3){color:var(--ink)}
@media (max-width:639px){.hire-price th,.hire-price td{padding:10px 8px}.hire-price th[scope=row]{white-space:normal;font-size:14px}}
.hire-ticks{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:8px}
.hire-ticks li{position:relative;padding-left:20px;font-size:15px;color:var(--ink3)}
.hire-ticks li::before{content:"";position:absolute;left:2px;top:.5em;width:5px;height:12px;background:var(--ink);transform:skewX(var(--skew))}
.hire-calc{margin-top:28px;max-width:720px}
.hire-calc h3{margin-bottom:12px}
.hire-calc-row{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.hire-calc-row .field:first-child{grid-column:1/-1}
@media (min-width:640px){.hire-calc-row{grid-template-columns:1.4fr 1fr 1fr}.hire-calc-row .field:first-child{grid-column:auto}}
.hire-calc-out{font-size:17px;margin:4px 0 6px}
.hire-calc-out b{font-size:22px;font-family:var(--font-en);font-style:italic;color:var(--stage)}

/* time input (site.css styles the other input types) */
input[type=time]{width:100%;min-height:46px;padding:10px 12px;font:inherit;font-size:16px;color:var(--ink);background:var(--white);border:1.5px solid var(--line);border-radius:var(--r);-webkit-appearance:none;appearance:none}
input[type=date]{-webkit-appearance:none;appearance:none}
input[type=time]:focus{border-color:var(--ink);outline:none}

/* steps */
.hire-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:hs}
@media (min-width:768px){.hire-steps{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.hire-steps{grid-template-columns:repeat(4,1fr)}}
.hire-steps li{counter-increment:hs;align-content:start;background:var(--paper);padding:18px 18px 18px 64px;position:relative;display:grid;gap:4px;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)}
.hire-steps li::before{content:counter(hs);position:absolute;left:18px;top:14px;font-family:var(--font-en);font-style:italic;font-weight:700;font-size:32px;line-height:1;color:var(--stage)}
.hire-steps b{font-size:17px}
.hire-steps span{font-size:14.5px;color:var(--ink3)}
.hire-policy{margin-top:24px}

/* enquiry */
.hire-enq{display:grid;gap:28px}
@media (min-width:1024px){.hire-enq{grid-template-columns:1fr 1.5fr;align-items:start}.hire-enq-hd{position:sticky;top:calc(var(--hdr-h) + 24px)}}
.hire-enq-hd p{color:var(--ink3)}
.hire-contact{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:2px}
.hire-contact li{display:flex;gap:12px;align-items:center;background:var(--white);padding:12px 14px;min-height:48px;flex-wrap:wrap}
.hire-contact span{font-size:13px;color:var(--mute);min-width:52px}
.hire-contact a,.hire-contact b{font-weight:800;text-decoration:none;word-break:break-all}
.hire-form{padding:22px 18px}
@media (min-width:768px){.hire-form{padding:28px 28px}}
.hire-form fieldset{border:0;padding:0;margin:0 0 10px;min-width:0}
.hire-form legend{float:left;width:100%;font-family:var(--font-en);font-style:italic;font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);padding:0;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.hire-form legend::before{content:"";width:5px;height:12px;background:var(--ink);transform:skewX(var(--skew))}
:root[data-lang=zh] .hire-form legend{float:left;width:100%;font-family:var(--font);font-style:normal;letter-spacing:.08em}
.hire-form fieldset+fieldset{border-top:1px solid var(--line2);padding-top:20px;margin-top:6px}
.hire-form legend+*{clear:both}
.hire-2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.hire-2>.field{min-width:0}
@media (max-width:359px){.hire-2{grid-template-columns:1fr}}
.req{color:var(--stage);font-style:normal}
.hire-wd{font-weight:700;color:var(--ink)!important;min-height:1.2em}
.hire-wd.bad{color:var(--stage)!important}
.hire-seg .chip{min-height:46px;padding:8px 16px;cursor:pointer}
.hire-seg .chip input{position:absolute;opacity:0;width:1px;height:1px}
.hire-seg .chip:has(input:checked){background:var(--ink);border-color:var(--ink);color:#fff}
.hire-seg .chip:has(input:focus-visible){outline:2px solid var(--stage);outline-offset:2px}
.hire-form [aria-invalid=true]{border-color:var(--stage)}
.hire-form .form-err{margin:4px 0 14px}
.hire-priv{margin:12px 0 0;font-size:13px}

/* output */
.hire-out{padding:24px 18px;outline:none}
@media (min-width:768px){.hire-out{padding:28px}}
@media (min-width:1024px){.hire-out{grid-column:2}}
.hire-out .kicker{color:#ff6b57}
.hire-est{font-size:17px;color:#fff;margin-bottom:12px}
.hire-est b{font-family:var(--font-en);font-style:italic;font-size:22px;color:#ff6b57}
.hire-msg{white-space:pre-wrap;word-break:break-word;background:#1c1a18;color:#ece7de;border-left:4px solid var(--stage);padding:14px 16px;font:14px/1.6 var(--font);margin:0 0 18px;max-height:420px;overflow:auto}
.hire-acts{display:grid;gap:14px}
@media (min-width:640px){.hire-acts{grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 18px}}
.hire-acts .btn{white-space:normal;text-align:center}
.hire-copied{margin:12px 0 0;font-weight:700;color:#8fd3a8}
.hire-wechat{color:#d9d4cb!important;margin:12px 0 14px}

/* visit */
.hire-visit{display:grid;gap:28px}
@media (min-width:768px){.hire-visit{grid-template-columns:1fr 1fr;align-items:center}}
.hire-addr{font-style:normal;font-size:18px;font-weight:700;line-height:1.6;margin:0 0 14px}
.hire-dl{margin:20px 0 0;display:grid;gap:4px 16px}
@media (min-width:520px){.hire-dl{grid-template-columns:auto 1fr}}
.hire-dl dt{font-weight:800;font-size:14px;padding-top:10px}
.hire-dl dd{margin:0;color:var(--ink3);padding-top:10px;border-top:1px solid var(--line2)}
@media (max-width:519px){.hire-dl dd{border-top:0;padding-top:0}.hire-dl dt{border-top:1px solid var(--line2)}}

/* closing band */
.hire-end-in{justify-content:space-between;gap:20px}
.hire-end-in h2{margin-bottom:6px}
.hire-end-in .lead{margin:0}
.hire-end .row .btn{flex:1 1 auto}
@media (min-width:520px){.hire-end .row .btn{flex:0 0 auto}}
.hire-sent{color:var(--ink);margin-bottom:14px}

/* ---------- online booking widget #book (hire-book.js) ---------- */
.hb{display:grid;gap:18px}
.hb-mode,.hb-hold{margin:0}
.hb-hold p{margin:0 0 8px}
.hb-hold-acts{gap:12px 16px}
.hb-steps{list-style:none;margin:0;padding:0;display:grid;gap:26px;min-width:0}
.hb-step{min-width:0}
.hb-h{display:flex;align-items:center;gap:10px;font-size:19px;margin:0 0 12px}
.hb-n{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;color:#fff;font-family:var(--font-en);font-style:italic;font-weight:700;font-size:15px;position:relative;z-index:0}
.hb-n::before{content:"";position:absolute;inset:0;background:var(--ink);transform:skewX(var(--skew));z-index:-1}
@media (min-width:1024px){
  .hb-steps{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:"day day" "slot len" "slot price" "slot form";column-gap:40px;align-items:start}
  .hb-step[data-step=day]{grid-area:day}.hb-step[data-step=slot]{grid-area:slot}.hb-step[data-step=len]{grid-area:len}
  .hb-step[data-step=price]{grid-area:price}.hb-step[data-step=form]{grid-area:form}
}

/* day strip */
.hb-days{position:relative;display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding:2px 2px 10px;margin:0 -2px}
.hb-day{flex:0 0 auto;scroll-snap-align:start;min-width:72px;min-height:56px;display:grid;gap:0;align-content:center;justify-items:center;padding:6px 10px;
  background:var(--white);border:1.5px solid var(--line);border-radius:var(--r);font:inherit;color:var(--ink);cursor:pointer}
.hb-day b{font-size:14px;line-height:1.25}
.hb-day span{font-size:12.5px;color:var(--mute);line-height:1.3}
.hb-day.full{background:var(--paper);border-style:dashed}
.hb-day.full b{color:var(--mute)}
.hb-day[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.hb-day[aria-pressed=true] span{color:#d9d4cb}
.hb-other{display:flex;align-items:center;gap:10px;margin-top:4px;max-width:340px}
.hb-other label{font-size:14px;font-weight:700;white-space:nowrap}
.hb-other input{min-height:42px;padding:8px 10px}

/* legend + grid */
.hb-day-title{font-weight:800;font-size:17px;margin:0 0 8px;min-height:1.4em}
.hb-legend{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--ink3)}
.hb-legend li{display:flex;align-items:center;gap:6px}
.hb-legend i{display:inline-block;width:18px;height:14px;border:1.5px solid var(--line)}
.lg-free{background:var(--white);border-color:var(--ink)!important}
.lg-busy{background:repeating-linear-gradient(135deg,var(--line) 0 2px,var(--line2) 2px 6px)}
.lg-off{background:var(--paper);border-style:dashed!important}
.lg-sel{background:var(--stage);border-color:var(--stage)!important}
.hb-msg{margin:0 0 10px;font-weight:700;color:var(--stage)}
.hb-grid{display:grid;gap:3px;background:var(--white);user-select:none;-webkit-user-select:none}
.hb-row{display:grid;grid-template-columns:52px repeat(5,minmax(0,1fr));gap:3px}
.hb-head{position:sticky;top:var(--hdr-h);z-index:2;background:var(--white);padding:4px 0 2px;border-bottom:1px solid var(--line2)}
html[data-preview] .hb-head{top:var(--hdr-h)}
.hb-rh{display:grid;justify-items:center;line-height:1.1}
.hb-rh b{font-family:var(--font-en);font-style:italic;font-size:20px}
.hb-rh small{font-size:10.5px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hb-tc{font-size:12px;font-weight:700;color:var(--ink3);display:flex;align-items:center;justify-content:flex-end;padding-right:6px;white-space:nowrap}
.hb-c{min-height:34px;border:1.5px solid var(--ink);background:var(--white);border-radius:2px;padding:0;font:inherit;cursor:pointer;position:relative}
.hb-c:hover{background:var(--blush)}
.hb-c.busy{border-color:var(--line);background:repeating-linear-gradient(135deg,var(--line) 0 2px,var(--line2) 2px 6px);cursor:not-allowed}
.hb-c.off{border:1.5px dashed var(--line);background:var(--paper);cursor:not-allowed}
.hb-c.short{border:1.5px dashed var(--line);background:var(--paper);cursor:not-allowed}   /* free, but too short to start an online booking */
.hb-c.short[disabled]:hover{background:var(--paper)}
.hb-c.busy[disabled]:hover{background:repeating-linear-gradient(135deg,var(--line) 0 2px,var(--line2) 2px 6px)}
.hb-c.off[disabled]:hover{background:var(--paper)}
.hb-c.sel{background:var(--stage);border-color:var(--stage)}
.hb-c.sel0 span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
.hb-c:focus-visible{outline:2px solid var(--stage);outline-offset:1px;z-index:1}
.hb-more{margin-top:12px}
@media (min-width:640px){.hb-row{grid-template-columns:64px repeat(5,minmax(0,1fr))}.hb-c{min-height:32px}.hb-rh small{font-size:11.5px}}

/* durations */
.hb-hint{margin:0 0 10px;font-size:14px}
.hb-durs .chip{flex-direction:column;gap:0;min-height:52px;padding:6px 14px;line-height:1.2;border-radius:var(--r)}
.hb-durs .chip small{font-size:11.5px;font-weight:600;color:var(--mute)}
.hb-durs .chip[aria-pressed=true] small{color:#d9d4cb}

/* price */
.hb-price{background:var(--paper);padding:16px;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)}
.hb-price>p{margin:0}
.hb-sum{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:15px;margin-bottom:10px}
.hb-sum b{width:100%;font-size:18px}
.hb-lines{list-style:none;margin:0 0 10px;padding:0;font-size:14px;color:var(--ink3)}
.hb-lines li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid var(--line2)}
.hb-tot{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:0 0 8px;font-size:15px}
.hb-tot dt{color:var(--ink3)}.hb-tot dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.hb-tot .pay{font-weight:800;font-size:19px;color:var(--ink);padding-top:6px;border-top:2px solid var(--ink)}
.hb-tot dd.pay{color:var(--stage);font-family:var(--font-en);font-style:italic;font-size:24px}
.hb-price .hint{margin:0;font-size:13px}

/* form */
.hb-form{display:block}
.hb-more-f{margin:0 0 14px;background:var(--paper);padding:0 14px}
.hb-more-f summary{cursor:pointer;font-weight:700;padding:12px 0;min-height:44px}
.hb-more-f[open]{padding-bottom:4px}
.hb-terms{margin:4px 0 6px;min-height:44px;align-items:center}
.hb-confirm-note{margin:0 0 12px;font-size:13px}
.hb-pay{margin-top:4px;white-space:normal;text-align:center}
.hb-pay[disabled]{cursor:not-allowed;opacity:.55}
.hb-methods{font-size:13px;margin:10px 0 0}
.hb-req{margin-top:14px}
.hb-req-note{margin:0 0 10px;font-size:14px}
.hb-lenmsg{margin:0 0 10px;font-size:14px}
.hb-ts{margin:6px 0 10px;min-height:65px}
.hb-ai{margin:0;font-size:14px}

/* payment sheet */
.hb-sheet .sheet-in{max-width:720px;max-height:100vh;height:100%;padding-top:18px}
@media (min-width:768px){.hb-sheet .sheet-in{height:auto;max-height:94vh}}
.hb-sheet-h{margin:0 50px 6px 0;font-size:22px;outline:none}
.hb-sheet-sum{margin:0 0 4px;font-weight:700}
.hb-count{margin:0 0 14px;color:var(--stage);font-weight:800;font-variant-numeric:tabular-nums}
.hb-checkout{min-height:320px;background:var(--white)}

/* ---------- /studio-hire/booked ---------- */
.bk{display:grid;gap:28px}
@media (min-width:1024px){.bk{grid-template-columns:1.4fr 1fr;align-items:start}}
.bk-card{padding:24px 18px}
@media (min-width:768px){.bk-card{padding:28px}}
.bk-tick{display:inline-grid;place-items:center;width:56px;height:56px;background:var(--ok);color:#fff;font-size:30px;font-weight:800;margin-bottom:12px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.bk-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:16px 0}
.bk-dl dt{font-weight:800;font-size:14px}.bk-dl dd{margin:0}
.bk-acts{gap:12px 16px;margin-top:8px}
.bk-side h2{font-size:20px}
[data-bk-h]:focus{outline:none}
