#mn:not(.hide){display:flex!important;flex-direction:column}
.cx-h{display:none!important}
body.cxedit .cx-h{display:block!important;opacity:.4;outline:2px dashed #c33}
header img.bn{width:calc(min(88vw,340px)*var(--lgs,1))!important}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) header img.bn{width:calc(210px*var(--lgs,1))!important}}
html.cxl-r header img.bn{margin:0 0 0 auto!important}
html.cxl-l header img.bn{margin:0 auto 0 0!important}
html.cxl-n header img.bn{display:none!important}
#cxfoot{display:none;padding:18px 14px 30px}
html.cxl-b #cxfoot{display:block}
#cxfoot img.bn{display:block;margin:0 auto;width:calc(min(60vw,260px)*var(--lgs,1))!important;height:auto}
html.cxl-n #cxfoot{display:none!important}
body.cxedit [data-cxk].cxsort{outline:1px dashed rgba(232,96,42,.7);outline-offset:2px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
body.cxedit [data-cxk].cxdrag{will-change:transform;transition:none!important;cursor:grabbing;z-index:50;box-shadow:0 10px 26px rgba(0,0,0,.3)!important;opacity:.92}
#cxbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;align-items:center;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#e8602a;color:#fff;font-size:14px;line-height:1.5}
body.cxedit #cxbar{display:flex}
#cxbar span{flex:1}#cxbar button{font:inherit;font-weight:700;border:0;border-radius:10px;padding:8px 16px;background:#fff;color:#e8602a;cursor:pointer}
#cxm{position:fixed;inset:0;z-index:70;background:rgba(10,14,24,.6);display:none;align-items:center;justify-content:center;padding:16px}
#cxm.on{display:flex}
#cxm .bx{background:#fff;color:#14213f;width:100%;max-width:420px;border-radius:16px;padding:16px;line-height:1.9;text-align:right}
#cxm h3{margin:0 0 8px;font-size:17px}#cxm input[type=text]{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #c9d2e3;border-radius:10px;background:#fff;color:#14213f;margin:4px 0 8px}
#cxm .rw{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}#cxm .rw button,#cxm .ft button{font:inherit;font-weight:700;padding:10px 12px;border-radius:10px;border:1px solid #c9d2e3;background:#fff;color:#14213f;cursor:pointer;flex:1}
#cxm .ft{display:flex;gap:8px;margin-top:12px}#cxm .ft .pr{background:#e8602a;color:#fff;border-color:#e8602a}
#cxm label.sw2{display:block}
.cxs select,.cxs input[type=range]{width:100%;font:inherit;margin:4px 0 8px}
.cxs .btn{margin-top:8px}
#cxm label,#cxm label.sw2{color:#14213f!important;display:block;margin:6px 0 0;font-size:15px}
#cxm input[type=checkbox]{width:22px!important;height:22px!important;min-height:0!important;padding:0;margin:0 0 0 8px;vertical-align:middle;display:inline-block;accent-color:#e8602a}
#cxm .ft button,#cxm .rw button{display:flex;align-items:center;justify-content:center;min-height:46px;width:auto;text-align:center;line-height:1.3}
#cxm input[type=text]{display:block;min-height:46px}
html.dark.lgw #cxfoot img.bn{background:none;padding:0;border-radius:0;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px rgba(255,255,255,.95)) drop-shadow(0 0 24px rgba(255,255,255,.75)) drop-shadow(0 0 40px rgba(255,255,255,.45))}
html.dark:not(.lgw) #cxfoot img.bn{background:rgba(255,255,255,.95);border-radius:16px;padding:6px 10px;box-sizing:border-box}
#cxbar button.sm{background:rgba(255,255,255,.25);color:#fff}
body:has(#app:not(.hide)) #blist{display:block!important;max-width:760px;margin-inline:auto}
body:has(#app:not(.hide)) #blist .row{margin:0 0 12px}
body.cxedit{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.cxedit [data-cxk]:not(.cxsort){outline:none;cursor:default;touch-action:auto}

#p6{padding-bottom:140px}
#cxact{position:sticky;bottom:56px;z-index:5;background:color-mix(in srgb,Canvas 88%,transparent);backdrop-filter:blur(8px);padding:8px 0;margin-top:6px;border-top:1px solid rgba(128,140,170,.3)}
#cxact .btn{margin-top:6px}
[hidden]{display:none!important}
/* smooth scrolling: GPU layers for fixed layers, momentum + contained overscroll in panels */
#bg{transform:translateZ(0);will-change:transform}
#mn{transform:translateZ(0)}
#rp,#dv .bx,#ib .bx,#mbk .bx,#cxvm .bx,.dd ul{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
html,body{-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto;scroll-padding-top:12px}
body{-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:auto}}
#cxact{backdrop-filter:none;-webkit-backdrop-filter:none;background:color-mix(in srgb,Canvas 96%,transparent)}
/* motion: light, GPU-friendly, off for reduced-motion */
html{scrollbar-gutter:stable}
@keyframes cxfade{from{opacity:0}to{opacity:1}}
@keyframes cxpop{from{opacity:0;transform:translate3d(0,14px,0) scale(.97)}to{opacity:1;transform:none}}
#dv.on,#ib.on,#mbk.on,#cxm.on{animation:cxfade .2s ease both}
#dv.on .bx,#ib.on .bx,#mbk.on .bx,#cxm.on .bx{animation:cxpop .26s cubic-bezier(.22,.8,.3,1) both}
#cxvm .bx{animation:cxpop .26s cubic-bezier(.22,.8,.3,1) both}
#toast{transform:translate3d(0,14px,0);transition:opacity .28s ease,transform .28s cubic-bezier(.22,.8,.3,1)!important;will-change:opacity,transform}
#toast[style*="opacity: 1"]{transform:none}
button,.btn,.row,.bs{transition:transform .14s ease,opacity .2s ease,background-color .25s ease,color .25s ease,box-shadow .25s ease,border-color .25s ease}
button:not(:disabled):active,.btn:not(:disabled):active{transform:scale(.97)}
.row.bk:active{transform:scale(.995)}
@media (prefers-reduced-motion:reduce){
#dv.on,#ib.on,#mbk.on,#cxm.on,#dv.on .bx,#ib.on .bx,#mbk.on .bx,#cxm.on .bx,#cxvm .bx{animation:none}
#toast{transform:none;transition:opacity .01s!important}
button,.btn,.row,.bs{transition:none}
button:not(:disabled):active,.btn:not(:disabled):active{transform:none}
}
/* 3D logo: layered depth shadows, gentle float, pointer tilt (CSS + tiny JS) */
@keyframes cxfloat{0%,100%{translate:0 0}50%{translate:0 -4px}}
header img.bn,#cxfoot img.bn{
 filter:drop-shadow(0 -1px 0 rgba(255,255,255,.55)) drop-shadow(0 2px 1px rgba(0,0,0,.45)) drop-shadow(0 7px 8px rgba(0,0,0,.38)) drop-shadow(0 16px 20px rgba(0,0,0,.28))!important;
 transform:perspective(650px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-origin:50% 60%;
 transition:transform .22s cubic-bezier(.22,.8,.3,1);will-change:transform;
 animation:cxfloat 6s ease-in-out infinite}
html.dark.lgw header img.bn,html.dark.lgw #cxfoot img.bn{
 filter:drop-shadow(0 -1px 0 rgba(255,255,255,.9)) drop-shadow(0 0 7px rgba(255,255,255,.55)) drop-shadow(0 6px 6px rgba(0,0,0,.55)) drop-shadow(0 14px 18px rgba(0,0,0,.45))!important}
header img.bn.cxtp{transition:transform .08s linear}
@media (prefers-reduced-motion:reduce){header img.bn,#cxfoot img.bn{animation:none;transform:none;transition:none}}
/* watermark: exactly centered on the content area, no drift */
@keyframes wf{from{transform:scale(.97)}to{transform:scale(1.03)}}
#bg .w{margin:auto;transform-origin:50% 50%}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #bg{left:28px;right:292px}}
/* desktop sidebar header: logo, refresh button and last-update line on one centered axis */
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) header{align-items:center!important;text-align:center!important}
body:has(#app:not(.hide)) header img.bn{margin:0 auto!important;display:block!important;width:min(calc(210px*var(--lgs,1)),238px)!important;max-width:100%!important;align-self:center}
body:has(#app:not(.hide)) header .hb{flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%;margin:0!important;text-align:center!important}
body:has(#app:not(.hide)) header .hb #upd{display:block;width:100%;text-align:center!important;margin:0!important}
}
/* logo: light clean shadow only (no halo); float and tilt unchanged */
header img.bn,#cxfoot img.bn,html.dark.lgw header img.bn,html.dark.lgw #cxfoot img.bn{
 filter:drop-shadow(0 1px 1px rgba(0,0,0,.42)) drop-shadow(0 3px 3px rgba(0,0,0,.28))!important}
/* dark look: black logo text needs a thin tight light edge (not a halo) to stay readable */
html.dark header img.bn,html.dark #cxfoot img.bn,html.dark.lgw header img.bn,html.dark.lgw #cxfoot img.bn{
 filter:drop-shadow(0 0 .5px rgba(255,255,255,.95)) drop-shadow(0 0 .5px rgba(255,255,255,.95)) drop-shadow(0 1px 1px rgba(0,0,0,.45)) drop-shadow(0 3px 3px rgba(0,0,0,.3))!important}
html:not(.dark) header img.bn{filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)) drop-shadow(0 3px 3px rgba(0,0,0,.22))!important}
/* bookings top block centered in the content area on laptops */
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) #p4 #bq,body:has(#app:not(.hide)) #p2 #q,body:has(#app:not(.hide)) #p3 #aq,
body:has(#app:not(.hide)) #p4 .flt,body:has(#app:not(.hide)) #p2 .flt,body:has(#app:not(.hide)) #p4 #mbo{margin-left:auto!important;margin-right:auto!important;display:flex}
body:has(#app:not(.hide)) #p4 #bq,body:has(#app:not(.hide)) #p2 #q,body:has(#app:not(.hide)) #p3 #aq{display:block}
body:has(#app:not(.hide)) #p4 #mbo{align-items:center;justify-content:center}
body:has(#app:not(.hide)) #p4 .flt,body:has(#app:not(.hide)) #p2 .flt{justify-content:center}
}
/* 3D / embossed feel: layered shadows, soft top highlight, bevel; light CSS only */
h2,#cur,#mn button,#mn a,.bd{text-shadow:0 1px 0 rgba(255,255,255,.55),0 2px 2px rgba(20,33,63,.12)}
html.dark h2,html.dark #cur,html.dark #mn button,html.dark #mn a,html.dark .bd{text-shadow:0 1px 0 rgba(0,0,0,.7),0 2px 3px rgba(0,0,0,.4)}
.card,.row{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(20,33,63,.06),0 1px 2px rgba(20,33,63,.1),0 6px 14px rgba(20,33,63,.1)!important}
html.dark .card,html.dark .row{box-shadow:inset 0 1px 0 rgba(255,255,255,.07),inset 0 -1px 0 rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.5),0 8px 18px rgba(0,0,0,.35)!important}
.btn:not(.sec){text-shadow:0 1px 1px rgba(0,0,0,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.18),0 1px 2px rgba(0,0,0,.25),0 7px 14px rgba(238,106,60,.3)!important}
html.dark .btn:not(.sec){box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.5),0 8px 16px rgba(0,0,0,.4)!important}
button.sec,.flt button,.btn.sec{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.12),0 1px 2px rgba(20,33,63,.15),0 4px 8px rgba(20,33,63,.1)}
html.dark button.sec,html.dark .flt button,html.dark .btn.sec{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -1px 0 rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.5),0 4px 10px rgba(0,0,0,.3)}
input,textarea,select{box-shadow:inset 0 2px 4px rgba(20,33,63,.12),inset 0 -1px 0 rgba(255,255,255,.6)}
html.dark input,html.dark textarea,html.dark select{box-shadow:inset 0 2px 5px rgba(0,0,0,.5),inset 0 -1px 0 rgba(255,255,255,.05)}
.btn:not(:disabled):active,button.sec:not(:disabled):active,.flt button:active{box-shadow:inset 0 3px 6px rgba(0,0,0,.35)!important;transform:translateY(1px) scale(.985)}
.row.bk:active,.card:active{transform:none}
@media (prefers-reduced-motion:reduce){.btn:not(:disabled):active,button.sec:not(:disabled):active,.flt button:active{transform:none}}
/* nudge top blocks a bit right of center (laptop only) */
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) #p4 #mbo,body:has(#app:not(.hide)) #p4 .flt,body:has(#app:not(.hide)) #p4 #bq,body:has(#app:not(.hide)) #p4 #bcnt,body:has(#app:not(.hide)) #p4 #blist>p,
body:has(#app:not(.hide)) #p2 #q,body:has(#app:not(.hide)) #p2 .flt,body:has(#app:not(.hide)) #p3 #aq{position:relative;left:min(24px,2vw)}
}
/* heartbeat pulse on the logo (scale only, no glow) */
@keyframes cxbeat{0%,100%{scale:1}12%{scale:1.045}24%{scale:1}36%{scale:1.03}50%{scale:1}}
header img.bn,#cxfoot img.bn{animation:cxfloat 6s ease-in-out infinite,cxbeat 3.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){header img.bn,#cxfoot img.bn{animation:none}}
/* deeper 3D */
h2,#cur,#mn button,#mn a,.bd{text-shadow:0 1px 0 rgba(255,255,255,.7),0 2px 0 rgba(20,33,63,.12),0 4px 5px rgba(20,33,63,.2)}
html.dark h2,html.dark #cur,html.dark #mn button,html.dark #mn a,html.dark .bd{text-shadow:0 1px 0 rgba(0,0,0,.8),0 2px 0 rgba(0,0,0,.5),0 4px 6px rgba(0,0,0,.55)}
.card,.row{box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -2px 0 rgba(20,33,63,.08),0 1px 0 rgba(20,33,63,.1),0 3px 6px rgba(20,33,63,.12),0 12px 24px rgba(20,33,63,.14)!important}
html.dark .card,html.dark .row{box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 -2px 0 rgba(0,0,0,.45),0 1px 0 rgba(0,0,0,.6),0 4px 8px rgba(0,0,0,.5),0 14px 28px rgba(0,0,0,.45)!important}
.btn:not(.sec){box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -3px 0 rgba(0,0,0,.25),0 2px 0 rgba(120,40,10,.45),0 10px 18px rgba(238,106,60,.38)!important}
/* top blocks aligned to the right (start) edge of the content area, next to the sidebar */
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) #p4 #mbo,body:has(#app:not(.hide)) #p4 .flt,body:has(#app:not(.hide)) #p4 #bq,body:has(#app:not(.hide)) #p4 #bcnt,body:has(#app:not(.hide)) #p4 #blist>p,
body:has(#app:not(.hide)) #p2 #q,body:has(#app:not(.hide)) #p2 .flt,body:has(#app:not(.hide)) #p3 #aq{left:0;margin-right:0!important;margin-left:auto!important}
}
/* bookings header block: same width, right edge, clear vertical spacing, never clipped */
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) #p4 .flt{max-width:min(520px,100%)!important;width:100%;flex-wrap:wrap;justify-content:flex-start!important;margin-top:26px!important;margin-bottom:0!important;box-sizing:border-box}
body:has(#app:not(.hide)) #p4 #bq{max-width:min(520px,100%)!important;width:100%;margin-top:18px!important;box-sizing:border-box}
body:has(#app:not(.hide)) #p4 #bcnt,body:has(#app:not(.hide)) #p4 #blist>p{max-width:min(520px,100%);width:100%;margin:14px 0 0 auto!important;text-align:right;box-sizing:border-box;padding:0 4px}
}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #blist>p{text-align:right!important;justify-self:end;margin:0!important;padding:0 4px}}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #blist>p{justify-self:start!important;width:100%;max-width:min(520px,100%);margin:14px 0 0 auto!important;direction:rtl}}
/* every panel is a column so any child can be reordered in arrange mode */
#p1:not(.hide),#p2:not(.hide),#p3:not(.hide),#p4:not(.hide),#p5:not(.hide),#p6:not(.hide){display:flex;flex-direction:column}
#p4:not(.hide)>#blist,#p4:not(.hide)>#bf{flex:none}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #blist{max-width:none!important;margin:0!important}
body:has(#app:not(.hide)) #p4 #blist>p{justify-self:stretch!important;width:min(520px,100%)!important;max-width:520px!important;margin:14px 0 0 auto!important;text-align:right!important}}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #cxtd{max-width:240px;width:100%;margin-left:auto!important;margin-right:0!important}}
/* add-booking + notification button share one row; both stay draggable */
#cxrow{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
#cxrow>#mbo,#cxrow>#cxtd{flex:1 1 220px;margin:0!important;position:static!important;width:auto!important;max-width:none!important;min-height:52px}
@media screen and (min-width:1000px){
body:has(#app:not(.hide)) #p4 #cxrow{width:100%;max-width:none;justify-content:space-between;flex-wrap:nowrap;margin-top:0!important}
body:has(#app:not(.hide)) #cxrow>#mbo,body:has(#app:not(.hide)) #cxrow>#cxtd{flex:0 0 240px;width:240px!important;max-width:240px!important;margin:0!important;position:static!important;left:auto!important}
}
/* phone layout: tighter header, clear spacing between button rows */
@media screen and (max-width:999px){
body:has(#app:not(.hide)) header{padding-top:6px;padding-bottom:4px}
body:has(#app:not(.hide)) header img.bn{max-width:210px;height:auto;margin:0 auto}
body:has(#app:not(.hide)) header .hb{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;margin:2px 0 0}
body:has(#app:not(.hide)) header .hb #upd{display:inline;width:auto;font-size:13px}
body:has(#app:not(.hide)) header .hb .rf{min-height:36px;padding:4px 16px}
#cxrow{flex-direction:column;gap:10px;margin:6px 0 18px}
#cxrow>#mbo,#cxrow>#cxtd{flex:none;width:100%!important;min-height:48px}
#cxrow>#cxtd{min-height:44px}
#p4 .flt{margin-top:0}
#p4 #bq{margin-top:12px}
#p4 #bcnt{margin:12px 0 8px}
#p4 #blist>p{text-align:right;margin:8px 0}
}

/* notification button: its own row under the search box, left edge, draggable like any item */
#p4 #cxtd{width:240px;max-width:100%;margin:14px auto 0 0!important;min-height:46px;align-self:flex-start;position:static!important}
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #cxtd{margin:14px auto 0 0!important;width:240px!important;max-width:240px!important;align-self:flex-start;position:static!important;display:block}}
@media screen and (max-width:999px){#p4 #cxtd{width:100%!important;align-self:stretch;margin:12px 0 0!important}#p4 #blist>p{text-align:right!important}}
/* laptop: notification button fixed at the bottom-left corner of the screen */
@media screen and (min-width:1000px){body:has(#app:not(.hide)) #p4 #cxtd{position:fixed!important;left:28px;right:auto;bottom:calc(env(safe-area-inset-bottom) + 24px);top:auto;margin:0!important;z-index:40;width:240px!important}}

#cxtd.cxfix{position:fixed!important;left:28px;right:auto;bottom:calc(env(safe-area-inset-bottom) + 24px);top:auto;margin:0!important;z-index:40;width:240px!important;max-width:240px}
