/* The owner shell uses the same spread on both booking sites. */
.workspace.owner-book{display:block}
.workspace.owner-book>.calendar{display:none}
.workspace.owner-book>.content{padding:0;border:0;background:transparent}
body:has(.workspace.owner-book){background:#eaece6}
body:has(.workspace.owner-book) :is(main,.mast){max-width:68rem;padding-inline:clamp(.75rem,4vw,3rem)}
body:has(.workspace.owner-book) .mast{min-height:2.7rem}
body:has(.workspace.owner-book) main{padding-block:1rem 2rem}
body:has(.workspace.owner-book) .heading{margin-bottom:.65rem}
body:has(.workspace.owner-book) .heading h1{font:normal clamp(2rem,4.1vw,3.4rem)/1.1 Georgia,serif;letter-spacing:-.045em;color:#232f2a}
.workspace.owner-book .session{margin-bottom:0}
.workspace.owner-book .tabs{margin-bottom:.5rem}
body:has(.workspace.owner-book) #mode-switch{margin-bottom:.4rem}
body:has(.workspace.owner-book) #contacts{display:none}
#owner-planner{--ink:#232f2a;--muted:#536158;--cover:#344c42;--paper:#fffef8;--rule:#d8dcd1;--warm:#a64332;--blue:#345779;--op-line:1.53rem;font:1rem/1.45 Manrope,system-ui,sans-serif;color:var(--ink)}
#owner-planner button{border:0;background:none;color:inherit;cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent}
#owner-planner button:disabled{cursor:default}
#owner-planner button:focus-visible{outline:3px solid #537da7;outline-offset:2px}
#owner-planner .toolbar{display:flex;align-items:center;gap:.5rem;margin:1.05rem 0 .8rem}
#owner-planner .toolbar button,#owner-planner .turner button,#owner-planner .picker-nav button{min-height:2.6rem}
#owner-planner .toolbar button{padding:.4rem .9rem;border-radius:.55rem;font-size:.875rem;font-weight:600}
#owner-planner .toolbar button:hover,#owner-planner .picker-nav button:hover,#owner-planner .dates button:hover{background:#dbe0d8}
#owner-planner .toolbar .month-control{display:flex;gap:.6rem;align-items:center;padding-inline:.3rem .5rem;font-size:1.01rem}
#owner-planner .month-label::first-letter,#owner-planner .picker-month::first-letter{ text-transform:uppercase }
#owner-planner .calendar-icon{position:relative;display:block;width:1.075rem;height:1.05rem;border:1.5px solid currentColor;border-radius:3px}
#owner-planner .calendar-icon::before{position:absolute;content:"";top:.23rem;left:0;right:0;border-top:1px solid}
#owner-planner .caret,#owner-planner .chevron{display:inline-block;width:.45rem;height:.45rem;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg)}
#owner-planner .caret{margin-top:-.2rem}
#owner-planner .chevron{width:.58rem;height:.58rem;transform:rotate(-45deg)}
#owner-planner .chevron.prev{transform:rotate(135deg)}
#owner-planner .modes{display:inline-flex;background:#dce1d9;border-radius:.65rem;padding:3px;margin-left:auto}
#owner-planner .modes button{min-height:2.1rem;padding:.25rem .7rem;color:var(--muted)}
#owner-planner .modes button[aria-pressed=true]{background:#fffef9;color:var(--ink);box-shadow:0 1px 4px #28352823}
#owner-planner .book-cover{position:relative;padding:0 clamp(6px,1.1vw,14px) clamp(10px,1vw,14px);border-radius:.8rem;background:linear-gradient(105deg,#486154 0%,#344c42 53%,#3e574a);box-shadow:inset 0 0 0 1px #263e31,0 .6rem 1.3rem -.9rem #26392f99}
#owner-planner .turner{min-height:2.65rem;display:flex;align-items:center;justify-content:space-between;color:#fcfcf3}
#owner-planner .turner h2{font-size:.9rem;font-weight:550;font-variant-numeric:tabular-nums}
#owner-planner .turner button{width:2.9rem;color:#fff;border-radius:.45rem}
#owner-planner .turner button:hover{background:#ffffff15}
#owner-planner .spread{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.35rem .6rem;touch-action:pan-y pinch-zoom;--base:clamp(4.05rem,7.5vh,5.4rem)}
.owner-book [aria-busy=true] #owner-planner .spread{opacity:.72;cursor:progress}
#owner-planner .spread.week{grid-template-rows:repeat(6,minmax(var(--base),auto))}
#owner-planner .spread.week .day:nth-child(1){grid-area:1 / 1 / 3 / 2}
#owner-planner .spread.week .day:nth-child(2){grid-area:3 / 1 / 5 / 2}
#owner-planner .spread.week .day:nth-child(3){grid-area:5 / 1 / 7 / 2}
#owner-planner .spread.week .day:nth-child(4){grid-area:1 / 2 / 3 / 3}
#owner-planner .spread.week .day:nth-child(5){grid-area:3 / 2 / 5 / 3}
#owner-planner .spread.week .day:nth-child(6){grid-area:5 / 2 / 6 / 3}
#owner-planner .spread.week .day:nth-child(7){grid-area:6 / 2 / 7 / 3}
#owner-planner .spread.four{grid-template-rows:repeat(2,minmax(calc(var(--base)*3),auto));grid-auto-flow:column}
#owner-planner .spread.two .day,#owner-planner .spread.one .day{min-height:calc(var(--base)*6)}
#owner-planner .spread.one{grid-template-columns:minmax(0,1fr)}
#owner-planner .day{position:relative;display:flex;min-width:0;align-items:stretch;overflow:hidden;border:1px solid #374a3925;border-radius:.38rem;background:var(--paper);box-shadow:0 1px 1px #1b2e2544}
#owner-planner .day.right{flex-direction:row-reverse}
#owner-planner .day-label{min-width:0;display:flex;flex-direction:column;align-items:center;align-self:flex-start;justify-content:center;width:clamp(2.65rem,5vw,4.1rem);flex-shrink:0;margin:.6rem .15rem .45rem;padding:.4rem .1rem;color:#45564c;border-radius:.25rem;font-size:.76rem;line-height:1.15}
#owner-planner .day-label b{font:normal clamp(1.55rem,3.2vw,2.4rem)/1.1 Georgia,serif;font-variant-numeric:lining-nums tabular-nums}
#owner-planner .day-label:hover{background:#e6ece1}
#owner-planner .day.weekend .day-label{color:#944f40}
#owner-planner .day.current .day-label{background:var(--warm);color:white}
#owner-planner .writing{display:flex;flex-direction:column;flex:1;min-width:0;margin:.58rem .95rem .55rem 0;background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--op-line) - 1px),var(--rule) calc(var(--op-line) - 1px) var(--op-line))}
#owner-planner .right .writing{margin-right:0;margin-left:.95rem}
#owner-planner .entry{display:block;text-align:left;align-self:stretch;padding:0 .2rem;min-height:var(--op-line);font-size:.92rem;line-height:var(--op-line);overflow-wrap:anywhere}
#owner-planner button.entry:hover,#owner-planner .blank:hover{background:#dce7dc70}
#owner-planner .entry-time{font-variant-numeric:tabular-nums;color:var(--blue);font-size:.82em;font-weight:750;white-space:nowrap;margin-right:.45em}
#owner-planner .entry.personal .entry-time{color:#835332}
#owner-planner .blank{flex:1;min-height:var(--op-line);border-radius:.2rem}
#owner-planner .binding{position:absolute;pointer-events:none;z-index:1;top:.65rem;bottom:.65rem;left:50%;width:1.4rem;transform:translateX(-50%);display:flex;flex-direction:column;justify-content:space-around;align-items:center}
#owner-planner .binding i{position:relative;width:100%;height:6px;border:1px solid #4f5b53;border-radius:55% 48% 43% 50%;background:linear-gradient(#d0d4c9,#839081 48%,#59655b 65%);box-shadow:0 2px 2px #19251c49;transform:rotate(-9deg)}
#owner-planner .binding i::before,#owner-planner .binding i::after{position:absolute;z-index:-1;content:"";width:5px;height:5px;border-radius:100%;background:#354738;top:1px}
#owner-planner .binding i::before{left:-2px}
#owner-planner .binding i::after{right:-2px}
#owner-planner dialog{max-width:min(28rem,calc(100% - 1.2rem));width:100%;max-height:90vh;max-height:90dvh;margin:auto;padding:1.2rem 1.35rem;border:1px solid #abb4a7;border-radius:.9rem;background:#fffef8;box-shadow:0 1rem 4rem #17221a44}
#owner-planner dialog::backdrop{background:#22372b66}
#owner-planner dialog h2{font:normal 1.65rem/1.2 Georgia,serif}
#owner-planner .picker-top,#owner-planner .picker-nav{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
#owner-planner .close,#owner-planner .picker-nav button{width:2.5rem;min-height:2.5rem;border-radius:.5rem}
#owner-planner .close{font-size:1.6rem;line-height:1}
#owner-planner .picker-nav{margin:1rem 0 .4rem}
#owner-planner .picker-nav h3{font-size:1rem}
#owner-planner .weekdays,#owner-planner .dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
#owner-planner .weekdays{font-size:.75rem;color:var(--muted)}
#owner-planner .dates button{height:2.65rem;border-radius:.42rem;position:relative}
#owner-planner .dates button[aria-current=date]{box-shadow:inset 0 0 0 1px var(--warm)}
#owner-planner .dates button[aria-pressed=true]{background:var(--cover);color:white}
#owner-planner .dates button.has-entries::after{content:"";height:3px;width:3px;position:absolute;bottom:4px;left:calc(50% - 1.5px);border-radius:50%;background:currentColor}
#owner-planner .entry .pending{display:inline-block;margin:0 .2rem;padding:0 .3rem;border-radius:.25rem;color:#704b1d;background:#f1e5c8;font:600 .68rem/1.35 system-ui,sans-serif;vertical-align:middle}
#owner-planner .open-hours{padding:.65rem .25rem;text-decoration:underline;text-underline-offset:3px}
#owner-planner .planner-error{padding:.6rem;color:#8c382d}
@media(max-width:650px){
  body:has(.workspace.owner-book) :is(main,.mast){padding-inline:.45rem}
  body:has(.workspace.owner-book) main{padding-top:.65rem}
  body:has(.workspace.owner-book) .heading{display:flex;align-items:baseline;gap:.3rem;flex-wrap:wrap}
  body:has(.workspace.owner-book) .heading :is(.zone,.heading-links){margin:0}
  .workspace.owner-book .content{padding:0}
  .workspace.owner-book .session .quiet{min-height:1.75rem}
  .workspace.owner-book .tabs button{padding-block:.35rem}
  #owner-planner{--op-line:1.35rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
  #owner-planner .toolbar{display:grid;grid-template-columns:auto 1fr;gap:.2rem .35rem;margin:.5rem .3rem}
  #owner-planner .toolbar button{min-height:2.4rem;padding:.3rem .55rem}
  #owner-planner .toolbar .month-control{font-size:.93rem}
  #owner-planner #op-today{justify-self:start}
  #owner-planner .modes{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);margin:0}
  #owner-planner .modes button{min-height:2rem}
  #owner-planner .spread{--base:clamp(3.25rem,7.55svh,4.15rem);gap:4px 5px}
  #owner-planner .day-label{width:2.15rem;margin:.38rem 0 .25rem;font-size:.69rem;padding:.25rem .06rem}
  #owner-planner .day-label b{font-size:1.48rem}
  #owner-planner .entry{font-size:.82rem;padding:0 .06rem}
  #owner-planner .entry-time{font-size:.9em}
  #owner-planner .writing{margin:.42rem .55rem .4rem 0}
  #owner-planner .right .writing{margin-left:.55rem}
  #owner-planner .binding{width:.9rem}
  #owner-planner .binding i{height:4px}
  #owner-planner .turner,#owner-planner .turner button{min-height:2.35rem}
  #owner-planner .turner h2{font-size:.82rem}
  #owner-planner .spread.one .entry{font-size:.95rem}
}

#owner-planner button.day{padding:0;color:inherit;font:inherit;text-align:left}
#owner-planner button.day:focus-visible{outline-offset:-3px}
#owner-planner .blank{display:flex;align-items:flex-start;text-align:left;padding:0 .2rem}
#owner-planner .add-caption{font-size:.83rem;line-height:var(--op-line);color:var(--muted)}

.return-book{margin:0 0 .55rem;pointer-events:none}
.return-book button{pointer-events:auto;background:var(--paper);gap:.45rem}
@media(max-width:760px),(display-mode:standalone){
  .return-book{position:sticky;top:env(safe-area-inset-top,0px);z-index:3;width:fit-content;max-width:100%}
  .return-book button{box-shadow:0 2px 8px #17231d26}
}
main[data-editing]>.return-book{display:none}
