/* Sherwood Exclusive Kemer — guest app styles (mobile first) */
:root {
  --green: #11403E;
  --green-dark: #0D2F2D;
  --accent: #008567;
  --mint: #D5E9E1;
  --mint-2: #9EDDBA;
  --bg: #F6F5F3;
  --line: #DED9D3;
  --card: #FFFFFF;
  --text: #111111;
  --muted: #666666;
  --live: #008567;
  --next: #C77D1E;
  --cancel: #B3261E;
  --past: #9A9A9A;
  --radius: 14px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Cabin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  padding-bottom: calc(var(--nav-h) + var(--safe-b));
  line-height: 1.4;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin: 1.4rem 0 .5rem; }

/* header */
.top {
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; position: sticky; top: 0; z-index: 20;
}
.brand img { height: 40px; width: auto; }
.lang select {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 6px 28px 6px 12px; font-size: .85rem; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 14px;
}
.lang select option { color: #111; }

/* layout */
.main { max-width: 720px; margin: 0 auto; }
.section { padding: 16px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin: 0 0 10px; }
.page-title { font-size: 1.5rem; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-title .muted { font-size: 1rem; font-weight: 400; }

/* buttons */
.btn {
  display: inline-block; background: var(--green); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600;
  border: 1px solid var(--green); cursor: pointer; text-align: center;
}
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-small { padding: 8px 14px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }

/* hero */
.hero { background: var(--green); color: #fff; padding: 28px 20px 32px; text-align: center; }
.hero-logo { margin: 0 auto 18px; height: 86px; width: auto; }
.hero h1 { font-size: 1.5rem; margin: 0 0 8px; }
.hero .lead { margin: 0 auto 20px; max-width: 34rem; opacity: .9; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* dots and badges */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-live { background: var(--live); box-shadow: 0 0 0 0 rgba(0,133,103,.5); animation: pulse 1.8s infinite; }
.dot-next { background: var(--next); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,133,103,.5); } 70% { box-shadow: 0 0 0 8px rgba(0,133,103,0); } 100% { box-shadow: 0 0 0 0 rgba(0,133,103,0); } }
.pin-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; vertical-align: middle;
}
.pin-badge.big { min-width: 30px; height: 30px; font-size: .95rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.tag { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--green); font-weight: 600; }
.tag-open { background: #DDF3EA; color: var(--live); }
.tag-closed { background: #EEE; color: var(--muted); }
.tag-paid { background: #FBEBD3; color: #8A5A0B; }
.tag-res { background: #E9E4F5; color: #4B2E83; }
.tag-live { background: #DDF3EA; color: var(--live); }
.tag-upcoming { background: #FBEBD3; color: var(--next); }
.tag-past { background: #EEE; color: var(--muted); }
.tag-cancelled { background: #F8DEDC; color: var(--cancel); text-decoration: line-through; }

/* cards (home) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card a { display: block; padding: 12px 14px; color: inherit; border-left: 5px solid var(--live); }
.card-next a { border-left-color: var(--next); }
.card-time { font-size: .8rem; font-weight: 700; color: var(--live); text-transform: uppercase; letter-spacing: .06em; }
.card-next .card-time { color: var(--next); }
.card-name { font-size: 1.05rem; font-weight: 600; margin: 2px 0; }
.card-place { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.more-link { margin: 10px 0 0; text-align: right; }
.hotel-time { text-align: center; color: var(--muted); font-size: .8rem; margin: 8px 0 20px; }

/* map */
.map-wrap { position: relative; background: #e8efe9; isolation: isolate; }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; gap: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; color: var(--green); font-weight: 600; font-size: .85rem; cursor: pointer; }
.seg button.active { background: var(--green); color: #fff; }
.legend { display: flex; gap: 12px; font-size: .78rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.map { height: min(62vh, 560px); width: 100%; background: #dfe8e2; }
.leaflet-container { font-family: var(--font); background: #dfe8e2; }
.pin-marker { background: none; border: 0; }
.pin-marker .pm {
  width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35);
  transform: translate(-50%, -50%); position: relative; transition: transform .15s;
}
/* Live pins: bigger, breathing halo, two ripple rings and a "Now" tag */
.pin-marker.is-live .pm {
  background: var(--live); width: 34px; height: 34px; font-size: .9rem;
  animation: liveglow 1.6s ease-in-out infinite;
}
.pin-marker.is-live .pm::before,
.pin-marker.is-live .pm::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 3px solid rgba(0, 214, 143, .9); pointer-events: none;
  animation: ripple 2.2s ease-out infinite;
}
.pin-marker.is-live .pm::after { animation-delay: 1.1s; }
.pin-marker .live-tag { display: none; }
.pin-marker.is-live .live-tag {
  display: block; position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%);
  background: #E53935; color: #fff; font-size: .6rem; font-weight: 800; line-height: 1; padding: 3px 6px;
  border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
@keyframes liveglow {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 10px 3px rgba(0, 214, 143, .65); }
  50%      { box-shadow: 0 0 0 2px #fff, 0 0 24px 10px rgba(0, 214, 143, .95); }
}
@keyframes ripple {
  0%   { transform: scale(1);   opacity: .95; }
  100% { transform: scale(2.7); opacity: 0; }
}
.pin-item.has-live { border-color: var(--live); box-shadow: 0 0 0 2px rgba(0, 133, 103, .22), 0 0 14px rgba(0, 214, 143, .25); }
.pin-item.has-live .pin-badge { background: var(--live); box-shadow: 0 0 0 3px rgba(0, 214, 143, .3); }
.pin-marker.is-next .pm { background: var(--next); }
.pin-marker.is-closed .pm { background: #7d8a86; }
.pin-marker.is-selected .pm { transform: translate(-50%, -50%) scale(1.3); z-index: 5; border-color: #FFD54F; }
.pin-card {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1000; background: #fff; border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 12px 14px 12px; max-width: 460px; margin: 0 auto;
}
.pin-card[hidden] { display: none; }
.pin-card-close { position: absolute; right: 8px; top: 6px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.pin-card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; padding-right: 28px; }
.pin-card-name { font-weight: 700; font-size: 1.05rem; }
.pin-card-state { font-size: .8rem; color: var(--muted); }
.pin-card-lines { display: grid; gap: 6px; }
.pin-card-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* pin list */
.pin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pin-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pin-item.is-selected { border-color: var(--green); box-shadow: 0 0 0 2px var(--mint); }
.pin-head {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; background: transparent; border: 0; padding: 12px 14px; cursor: pointer; color: inherit;
}
.pin-head .pin-badge { margin-top: 2px; flex: 0 0 auto; }
.pin-text { flex: 1; display: grid; gap: 6px; min-width: 0; }
.pin-name { font-weight: 600; font-size: 1rem; }
.open-state { font-size: .75rem; font-weight: 600; margin-left: 6px; color: var(--muted); }
.open-state.is-open { color: var(--live); }
.open-state.is-closed { color: var(--muted); }
/* Now / Next lines: coloured pill + activity, in a softly tinted box */
.line { font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.line-live, .line-next { padding: 6px 10px 6px 6px; border-radius: 12px; }
.line-live { background: #E3F5EE; color: #0B5C47; }
.line-next { background: #FDF0DE; color: #7A4A0E; }
.line .lbl {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1;
}
.line-live .lbl { background: var(--live); box-shadow: 0 0 0 3px rgba(0, 214, 143, .22); }
.line-next .lbl { background: var(--next); }
.line .blink { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.line-body { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
.line-body .nm { font-weight: 700; }
.line-body .tm { font-size: .8rem; opacity: .85; }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 8px 4px 0 0; transition: transform .2s; flex: 0 0 auto; }
.pin-head[aria-expanded="true"] .chev { transform: rotate(225deg); margin-top: 12px; }
.pin-more { padding: 0 14px 12px 48px; }
.pin-more-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mini-schedule { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.mini-schedule li { display: flex; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); align-items: baseline; }
.mini-schedule li:first-child { border-top: 0; }
.mini-schedule .ms-time { flex: 0 0 auto; font-variant-numeric: tabular-nums; color: var(--muted); width: 6.4em; }
.mini-schedule .ms-name { flex: 1; color: inherit; }
.mini-schedule .ms-status { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.mini-schedule .status-live .ms-status, .mini-schedule .status-live .ms-name { color: var(--live); }
.mini-schedule .status-upcoming .ms-status { color: var(--next); }
.mini-schedule .status-past { opacity: .55; }
.mini-schedule .status-cancelled .ms-name { text-decoration: line-through; }
.mini-schedule .status-cancelled .ms-status { color: var(--cancel); }
.mini-schedule .empty { color: var(--muted); }

/* today */
.day-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 10px 0 12px; }
.day { text-align: center; padding: 8px 0; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.day-name { display: block; font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.day-num { display: block; font-weight: 700; font-size: 1.05rem; }
.day.is-today .day-num { color: var(--accent); }
.day.active { background: var(--green); border-color: var(--green); color: #fff; }
.day.active .day-name, .day.active .day-num { color: #fff; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .82rem; cursor: pointer; color: var(--text); --chip: var(--green); }
.chip.active { background: var(--chip); border-color: var(--chip); color: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tl-item { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tl-item.is-hidden { display: none; }
.tl-time { flex: 0 0 64px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--mint); color: var(--green); font-variant-numeric: tabular-nums; padding: 8px 4px; }
.tl-start { font-weight: 700; }
.tl-end { font-size: .78rem; opacity: .8; }
.tl-body { flex: 1; padding: 10px 12px 10px 0; color: inherit; display: grid; gap: 3px; border-left: 4px solid var(--cat); padding-left: 10px; min-width: 0; }
.tl-name { font-weight: 600; }
.tl-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cat-tag { font-size: .72rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.tl-note { font-size: .82rem; color: var(--muted); font-style: italic; }
.tl-status { justify-self: start; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #EEE; color: var(--muted); line-height: 1.2; }
.tl-item.status-live .tl-time { background: var(--live); color: #fff; }
.tl-item.status-live .tl-status { background: var(--live); color: #fff; box-shadow: 0 0 0 3px rgba(0, 214, 143, .22); }
.tl-item.status-upcoming .tl-status { background: #FDF0DE; color: #7A4A0E; }
.tl-item.status-past { opacity: .6; }
.tl-item.status-cancelled .tl-name { text-decoration: line-through; }
.tl-item.status-cancelled .tl-status { background: #F8DEDC; color: var(--cancel); }

/* detail pages */
.detail-photo { width: 100%; height: 220px; object-fit: cover; }
.detail-body { padding: 14px 16px 24px; }
.crumbs { margin: 0 0 6px; font-size: .85rem; }
.detail-text { font-size: 1rem; }
.detail-note { background: #FFF7E6; border: 1px solid #F3DDB0; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.hours, .weekly { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.hours dt, .weekly dt { color: var(--muted); }
.weekly dt.is-today { color: var(--accent); font-weight: 700; }
.hours dd, .weekly dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hours-range small { color: var(--muted); margin-left: 4px; }
.where { display: flex; align-items: center; gap: 8px; }
.menu-text { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; white-space: normal; }
.map-filter { padding: 8px 12px 6px; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }

/* my location */
.map-box { position: relative; }
.locate-btn {
  position: absolute; right: 10px; top: 10px; z-index: 1000; width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center; color: var(--green); cursor: pointer; padding: 0;
}
.locate-btn[hidden] { display: none; }
.locate-btn svg { width: 24px; height: 24px; fill: currentColor; }
.locate-btn.is-active { color: #1a73e8; }
.locate-btn.is-denied { color: #9A9A9A; }
.loc-ask {
  position: absolute; left: 52px; right: 62px; top: 10px; z-index: 1000; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.22); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 600;
}
.loc-ask[hidden] { display: none; }
.loc-ask-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map-msg {
  position: absolute; left: 10px; right: 10px; top: 62px; z-index: 1001; background: rgba(17,64,62,.95); color: #fff;
  border-radius: 12px; padding: 10px 12px; font-size: .86rem; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.map-msg[hidden] { display: none; }
.me-marker { background: none; border: 0; }
.me-dot {
  width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff;
  transform: translate(-50%, -50%); animation: mepulse 2s infinite;
}
@keyframes mepulse {
  0% { box-shadow: 0 0 0 0 rgba(26,115,232,.55), 0 2px 6px rgba(0,0,0,.3); }
  70% { box-shadow: 0 0 0 14px rgba(26,115,232,0), 0 2px 6px rgba(0,0,0,.3); }
  100% { box-shadow: 0 0 0 0 rgba(26,115,232,0), 0 2px 6px rgba(0,0,0,.3); }
}
.line-hours { font-size: .9rem; font-weight: 700; }
.line-hours.is-open { color: var(--live); }
.line-hours.is-closed { color: var(--muted); }
.line-dist { font-size: .82rem; color: #1a73e8; font-weight: 600; }
.mini-schedule.static { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; }

/* bottom nav */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 30;
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.bottom-nav svg { width: 24px; height: 24px; fill: currentColor; }
.bottom-nav a.active { color: var(--green); }

@media (min-width: 720px) {
  .map { height: 560px; }
  .hero h1 { font-size: 1.9rem; }
}

/* footer note (editable in admin → Settings) */
.site-foot { max-width: 720px; margin: 0 auto; text-align: center; font-size: .82rem; color: var(--muted); padding: 22px 16px 26px; border-top: 1px solid var(--line); }
.site-foot a { color: var(--accent); font-weight: 600; }

.menu-links { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-menu { background: #fff; color: var(--green); border-color: var(--green); }
.btn-menu[hidden] { display: none; }
.more-now { font-size: .72rem; font-weight: 800; background: var(--live); color: #fff; border-radius: 999px; padding: 2px 7px; }

/* menu viewer */
.menu-view { background: #EFEDEA; min-height: 60vh; }
.menu-head {
  position: sticky; top: 56px; z-index: 15; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.menu-head h1 { flex: 1; font-size: 1.02rem; margin: 0; line-height: 1.25; min-width: 0; }
.menu-head h1 .muted { font-weight: 500; }
.menu-back { font-size: 1.3rem; line-height: 1; padding: 6px 8px; color: var(--green); }
.menu-note { margin: 0; padding: 8px 14px; background: #FFF7E6; border-bottom: 1px solid #F3DDB0; font-size: .85rem; }
.menu-pages { display: grid; gap: 10px; padding: 10px; max-width: 720px; margin: 0 auto; }
.menu-page img { width: 100%; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }

/* ---- desktop ------------------------------------------------------------------ */
@media (min-width: 900px) {
  :root { --head-h: 60px; --side-w: 210px; }
  body { padding: var(--head-h) 0 0 var(--side-w); }
  .top { position: fixed; top: 0; left: 0; right: 0; height: var(--head-h); padding: 0 24px; z-index: 40; }
  .bottom-nav {
    top: var(--head-h); right: auto; width: var(--side-w); height: auto; padding: 18px 12px;
    flex-direction: column; gap: 4px; border-top: 0; border-right: 1px solid var(--line);
  }
  .bottom-nav a { flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; }
  .bottom-nav a:hover { background: var(--bg); }
  .bottom-nav a.active { background: var(--mint); }
  .main { max-width: 1040px; padding: 0 12px; }
  .menu-head { top: var(--head-h); }
  .site-foot { max-width: 1040px; }
}
@media (min-width: 1100px) {
  /* Map page: the map stays in place on the left, the list of places scrolls beside it. */
  .page-map .main { max-width: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
  .page-map .map-wrap { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); display: flex; flex-direction: column; }
  .page-map .map-box { flex: 1; min-height: 0; }
  .page-map .map { height: 100%; }
  .page-map .main > .section { border-left: 1px solid var(--line); min-height: calc(100vh - var(--head-h)); }
  .page-map .site-foot { margin-left: 0; }
}

/* menu buttons (map popup + list rows) */
.card-menus { display: contents; }
.btn-menu { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--green); border-color: var(--green); }
.btn-menu .ico { width: 15px; height: 15px; flex: 0 0 auto; }

/* "Tomorrow" once a place is finished for today */
.line-tomorrow { padding: 6px 10px 6px 6px; border-radius: 12px; background: #EAF0F7; color: #34466B; }
.line-tomorrow .lbl { background: #5B6E96; }
.mini-schedule .ms-note { color: var(--muted); font-style: italic; border-top: 0; }
.mini-schedule .ms-head {
  display: block; margin-top: 4px; padding: 6px 0 4px; border-top: 0; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: #34466B;
}
.mini-schedule .status-tomorrow .ms-name { color: var(--text); }

/* place page: the next 7 days, each day expandable */
.days { display: grid; gap: 8px; }
.day-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.day-block > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 600; }
.day-block > summary::-webkit-details-marker { display: none; }
.day-block > summary::after {
  content: ''; margin-left: 4px; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.day-block[open] > summary::after { transform: rotate(225deg); }
.day-block[open] > summary { border-bottom: 1px solid var(--line); }
.day-block .day-title { flex: 1; }
.day-block.is-today .day-title { color: var(--accent); }
.day-block .mini-schedule { padding: 4px 14px 8px; }
.day-count { font-size: .75rem; font-weight: 700; background: var(--mint); color: var(--green); border-radius: 999px; padding: 2px 9px; }
.day-empty { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; font-weight: 600; }

/* shutdown switch (admin → Settings): blurred, unclickable page under a notice */
body.is-offline .top, body.is-offline .main, body.is-offline .bottom-nav, body.is-offline .site-foot {
  filter: blur(7px); pointer-events: none; user-select: none;
}
.offline-overlay {
  position: fixed; inset: 0; z-index: 10000; background: rgba(17, 64, 62, .35);
  display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px;
}
.offline-box {
  background: #fff; color: var(--text); border-radius: 14px; padding: 18px 20px; max-width: 560px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 1.05rem; line-height: 1.5; text-align: center;
}
.offline-box a { color: var(--accent); font-weight: 700; word-break: break-all; }
