/* Owner dashboard layout (v59 restructure, Developer). Structure only; visual polish lives in owner-polish.css (Website Design).
   Classes:
   .side nav .navg      group label (Today / Customers / Bring them back / My card / Shop), sub-tab links follow it
   .seg / .seg a.a      sub-tabs of the current group (phone only; desktop uses the sidebar)
   .botnav a[data-g]    phone bottom bar, 5 groups; body.has-botnav hides the old sideways strip
   section[data-s=card][data-part=design|rewards|info]  + [data-p~=…] on each field group: My card sub-tabs
   .savebar             wraps the card Save (fixed above .botnav on phone; --botnav-h / --vv-bottom, see owner-polish.css)
   .pmg                 two-column grid for Birthdays / Not back / News / booking boxes
   .bdx-wrap            Birthday customers card (moved from Notifications)
   .cut.stack td.cu-x   customers columns hidden on phone (Name, Stamps, Last visit stay; tap row = details)
   #logmore             stamp log "Load more"
   .side .help          WhatsApp support link */
.seg[hidden],.botnav [hidden]{display:none!important}
@media(min-width:861px){.seg{display:none!important}}
section[data-s=card][data-part=design] [data-p]:not([data-p~=design]),
section[data-s=card][data-part=rewards] [data-p]:not([data-p~=rewards]),
section[data-s=card][data-part=info] [data-p]:not([data-p~=info]){display:none!important}
section[data-s=card][data-part=info] .cols{grid-template-columns:1fr;max-width:560px}
section[data-s=card][data-part=info] .savebar,section[data-s=card][data-part=info] #cm{max-width:560px}
.pmg{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;align-items:start}
.pmg select{width:100%}
section[data-s=winback] .pmg,section[data-s=booking] .pmg{margin-top:16px}
section[data-s=booking] .pmg{grid-template-columns:1fr;max-width:560px}
@media(max-width:900px){.pmg{grid-template-columns:1fr}}
.bdx-wrap:empty{display:none}
#logmore{margin-top:14px}
@media(max-width:860px){
 .cut.stack td.cu-x{display:none}
 .cut.stack tr[data-cu]{cursor:pointer}
}
/* desktop sidebar: full window height (sticky), scrolls on its own when the grouped menu is taller than a small laptop screen */
@media(min-width:861px){.side{overflow-y:auto;overscroll-behavior:contain}}
.bdx-wrap>:first-child,.bdx-wrap>:first-child>:first-child{margin-top:0}

/* iOS card-preview jitter fix (2026-11-21): no scroll anchoring while the sticky preview shrinks */
html,body{overflow-anchor:none}
/* v-notif: "Shop notifications to customers" tab is the 6th bottom tab; it gets a wider column so the full name fits on 2 lines */
.botnav:has(a.bn-long:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.6fr);grid-auto-flow:row;padding-left:2px;padding-right:2px}
@media (max-width:374px){.botnav:has(a.bn-long:not([hidden])) a span{font-size:10px;letter-spacing:-.015em}.botnav:has(a.bn-long:not([hidden])) a{padding-left:1px;padding-right:1px}}
.botnav a.bn-long span{font-size:10px;line-height:1.12;letter-spacing:-.01em}
