/* i+E /E P10: kartta ensin. Yksi hakurivi + yksi pikarivi; enintään yksi avoin paneeli (lista, suodattimet tai kortti). */
:root { --border: 220 13% 85%; --bg: 0 0% 100%; --muted: 220 9% 40%; --ring: 215 80% 50%; --brand: #0b3d91; --tap: 44px; --topbar-h: 108px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; overflow: hidden; }
#map { position: absolute; inset: 0; z-index: 0; }
button, select, input { font: inherit; }
.top-bar { position: absolute; z-index: 30; top: max(.4rem, env(safe-area-inset-top)); left: .4rem; right: .4rem; padding: .3rem; border-radius: .9rem;
  background: hsl(var(--bg)); box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.search-row { display: flex; gap: .3rem; align-items: center; margin: 0; }
#q { flex: 1 1 auto; min-width: 0; min-height: var(--tap); padding: .4rem .65rem; border: 1px solid hsl(var(--border)); border-radius: .7rem; font-size: 1rem; background: #fff; }
.tb-btn { flex: none; min-height: var(--tap); min-width: var(--tap); padding: .35rem .6rem; border: 1px solid hsl(var(--border)); border-radius: .7rem; background: #fff; color: inherit; font-size: .9rem; cursor: pointer; position: relative; }
.tb-btn[aria-expanded="true"]#btn-filters { background: var(--brand); color: #fff; border-color: var(--brand); }
.tb-icon { padding: 0; font-size: 1rem; }
.badge-n { display: inline-block; margin-left: .3rem; min-width: 1.3rem; padding: 0 .3rem; border-radius: 1rem; background: #d32f2f; color: #fff; font-size: .75rem; line-height: 1.3rem; text-align: center; }
.badge-n[hidden] { display: none; }
.quick-row { display: flex; gap: .3rem; margin-top: .3rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick-row::-webkit-scrollbar { display: none; }
.active-row { display: flex; gap: .3rem; margin-top: .25rem; overflow-x: auto; scrollbar-width: none; }
.active-row::-webkit-scrollbar { display: none; }
.active-row .chip.cond { font-size: .78rem; background: #eef2ff; border-color: #c7d2fe; white-space: nowrap; }
.chip { flex: none; min-height: var(--tap); min-width: var(--tap); padding: .3rem .7rem; border: 1px solid hsl(var(--border)); border-radius: 999px; background: #fff; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip.sep { margin-left: .4rem; }
.chip .n { opacity: .75; font-size: .8em; margin-left: .2rem; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; padding: .15rem .3rem 0; font-size: .78rem; color: hsl(var(--muted)); min-height: 1.1rem; }
.link-btn { min-height: var(--tap); padding: 0 .2rem; border: 0; background: transparent; color: var(--brand); text-decoration: underline; font-size: .85rem; cursor: pointer; }
.status-row .link-btn { min-height: 2rem; }
body.search-collapsed .quick-row, body.search-collapsed .active-row, body.search-collapsed .status-row, body.search-collapsed .place-suggest { display: none; }
.place-suggest { margin-top: .3rem; border-top: 1px solid hsl(var(--border)); max-height: 40vh; overflow: auto; }
.place-suggest[hidden] { display: none; }
.place-suggest button { display: block; width: 100%; min-height: var(--tap); text-align: left; border: 0; border-bottom: 1px solid #f0f2f5; background: #fff; padding: .4rem .5rem; cursor: pointer; }
.place-suggest .ps-meta { display: block; font-size: .78rem; color: hsl(var(--muted)); }
/* Kelluvat painikkeet kartan päällä: pienet, eivät peitä karttaa */
.fab { position: absolute; z-index: 26; min-height: var(--tap); padding: .4rem .9rem; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: pointer; }
.fab[hidden] { display: none; }
.fab-list { left: .5rem; bottom: max(.6rem, env(safe-area-inset-bottom)); }
.fab-geo { left: .75rem; bottom: max(5.6rem, calc(env(safe-area-inset-bottom) + 5.4rem)); background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.fab-geo[disabled] { cursor: wait; opacity: .75; }
.user-location-dot { filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.user-location-tooltip { font-weight: 700; color: var(--brand); }
.fab-area { left: 50%; transform: translateX(-50%); top: calc(var(--topbar-h) + .5rem); background: #fff; color: var(--brand); border: 1px solid var(--brand); }
body[data-sheet] .fab { display: none; }
/* Paneelit: mobiilissa alapaneeli, leveällä näytöllä sivupaneeli */
.sheet { position: absolute; z-index: 32; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 72dvh; background: hsl(var(--bg));
  border-radius: 1rem 1rem 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.22); padding-bottom: env(safe-area-inset-bottom); }
.sheet[hidden] { display: none; }
.sheet-head { display: flex; flex: none; align-items: center; gap: .35rem; min-height: 3.2rem; padding: .3rem .5rem; border-bottom: 1px solid hsl(var(--border)); }
.sheet-head strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: .5rem .7rem .8rem; overscroll-behavior: contain; }
.sheet-body[hidden] { display: none; }
.fgroup { border: 0; margin: 0 0 .7rem; padding: 0; }
.fgroup legend { font-weight: 700; font-size: .9rem; margin-bottom: .3rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.fgroup select { min-height: var(--tap); width: 100%; padding: .3rem .5rem; border: 1px solid hsl(var(--border)); border-radius: .7rem; background: #fff; font-size: .95rem; }
.check { display: flex; align-items: center; gap: .5rem; min-height: var(--tap); font-size: .95rem; }
.check input { width: 1.4rem; height: 1.4rem; }
.custom-dates { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.custom-dates[hidden] { display: none; }
.custom-dates input { min-height: var(--tap); padding: .3rem .4rem; border: 1px solid hsl(var(--border)); border-radius: .7rem; }
.hint, .note, .map-note { margin: .35rem 0 0; font-size: .8rem; color: hsl(var(--muted)); line-height: 1.35; }
.legend { display: flex; gap: .7rem; font-size: .8rem; margin-top: .5rem; }
.leg.phase-green { color: #1f9d3a; font-weight: 600; } .leg.phase-yellowgreen { color: #6b8e23; font-weight: 600; } .leg.phase-red { color: #d32f2f; font-weight: 600; }
/* Lista */
.event-list .day-head { position: sticky; top: -.5rem; margin: .2rem 0 0; padding: .35rem .3rem; background: hsl(var(--bg)); font-size: .82rem; font-weight: 700; color: var(--brand); border-bottom: 1px solid hsl(var(--border)); }
.event-list .li { display: flex; flex-direction: column; gap: .15rem; width: 100%; min-height: 3rem; text-align: left; border: 0; border-bottom: 1px solid #f0f2f5; background: transparent; padding: .5rem .35rem; font-size: .95rem; line-height: 1.3; cursor: pointer; }
.event-list .li:hover, .event-list .li.is-selected { background: #eef3fb; }
.li-title { font-weight: 600; overflow-wrap: anywhere; } .li-meta { font-size: .82rem; color: hsl(var(--muted)); overflow-wrap: anywhere; }
.list-more { padding: .5rem 0; } .list-more[hidden] { display: none; }
.list-more button { width: 100%; min-height: var(--tap); border: 1px solid var(--brand); border-radius: .7rem; background: #fff; color: var(--brand); font-weight: 600; cursor: pointer; }
/* Kortti: tiivis tila = vain otsikkorivi */
.restaurant-panel.restaurant-panel-minimized { max-height: none; }
.restaurant-panel-controls strong { font-size: .9rem; }
.restaurant-panel-body { font-size: 1rem; line-height: 1.45; }
.geo-banner { position: absolute; z-index: 35; left: .5rem; right: .5rem; top: calc(var(--topbar-h) + .6rem); padding: .65rem .75rem; border-radius: .9rem; background: #fff8e6; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.geo-banner[hidden] { display: none; }
.geo-banner button { min-height: var(--tap); padding: .4rem .7rem; border: 1px solid hsl(var(--border)); border-radius: .7rem; background: #fff; cursor: pointer; }
.consumer-pin { background: transparent; border: 0; }
.consumer-pin span { display: block; width: 20px; height: 26px; margin: 9px 12px; border: 2px solid #fff; border-radius: 60% 60% 60% 0; background: var(--pin, #888); box-shadow: 0 0 0 3px var(--ie-marker-ring, #c2185b), 0 3px 8px 1px rgba(40,20,20,.35); transform: rotate(-45deg); } /* Grok 2026-11-03: valkoinen rako + #c2185b-rengas + pehmeä varjo; tilavärit ennallaan */
.consumer-pin-selected span { transform: rotate(-45deg) scale(1.25); }
.phase-green { --pin: #1f9d3a; } .phase-yellowgreen { --pin: #9acd32; } .phase-red { --pin: #d32f2f; }
.cluster-pin { background: transparent; border: 0; }
.cluster-pin span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: rgba(11,61,145,.85); color: #fff; font-weight: 700; font-size: .8rem; border: 2px solid #fff; box-shadow: 0 0 0 3px var(--ie-marker-ring, #c2185b), 0 3px 8px 1px rgba(40,20,20,.35); }
.leaflet-bar a, .leaflet-touch .leaflet-bar a { width: var(--tap); height: var(--tap); line-height: var(--tap); }
.leaflet-bottom.leaflet-right { bottom: max(.3rem, env(safe-area-inset-bottom)); }
.leaflet-control-attribution { font-size: 10px; }
.phase-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .55rem; border-radius: 1rem; color: #fff; font-size: .8rem; font-weight: 600; }
.phase-badge .sym { font-size: 1rem; line-height: 1; }
.phase-badge.phase-green { background: #1f9d3a; } .phase-badge.phase-yellowgreen { background: #9acd32; color: #1b2a00; } .phase-badge.phase-red { background: #d32f2f; }
.card dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem .75rem; margin: .6rem 0 0; }
.card dt { color: hsl(var(--muted)); } .card dd { margin: 0; word-break: break-word; }
.card h2 { font-size: 1.15rem; line-height: 1.25; margin: .4rem 0 0; }
.card a { overflow-wrap: anywhere; }
.source-note { margin-top: .75rem; font-size: .78rem; color: hsl(var(--muted)); }
.video-slot { margin-top: .75rem; }
.video-slot button { min-height: var(--tap); width: 100%; border: 1px dashed hsl(var(--border)); border-radius: .7rem; background: #f8fafc; cursor: pointer; }
.video-slot iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: .5rem; }
.video-link { display: block; padding: .7rem .75rem; margin-bottom: .4rem; border-radius: .7rem; background: #c4302b; color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
.next-box { margin: .6rem 0; padding: .5rem .6rem; border-left: 4px solid #1f9d3a; background: #f1faf3; border-radius: 6px; }
.next-box h3 { margin: 0 0 .25rem; font-size: .95rem; }
.next-link { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #1f9d3a; border-radius: 6px; padding: .45rem .5rem; color: #135d24; cursor: pointer; min-height: var(--tap); }
.next-note { margin: .3rem 0 0; font-size: .8rem; color: #444; }
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid hsl(var(--ring)); outline-offset: 1px; }
@media (max-width: 390px) { .card dl { grid-template-columns: 1fr; gap: .1rem; } .card dt { margin-top: .45rem; font-size: .8rem; } }
@media (max-width: 340px) { .tb-btn { padding: .3rem .45rem; font-size: .85rem; } .chip { padding: .3rem .55rem; font-size: .85rem; } }
@media (min-width: 760px) {
  .top-bar { left: .6rem; right: auto; width: 25rem; }
  .sheet { left: .6rem; right: auto; bottom: .6rem; top: calc(var(--topbar-h) + .9rem); width: 25rem; max-height: none; border-radius: 1rem; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
  .restaurant-panel { left: auto; right: .75rem; top: .6rem; width: 26rem; }
  .restaurant-panel.restaurant-panel-minimized { bottom: auto; }
  .fab-list { left: 26.2rem; top: .7rem; bottom: auto; }
  .fab-area { left: calc(50% + 13rem); top: .7rem; }
  body[data-sheet] .fab-list { display: none; }
}
/* P10-FI: kapea näyttö (≤ 400 px): ehdot tiiviisti — tilarivi yhdellä rivillä (määrä · alue · aika), ehtorivi vain kun on poistettavaa */
@media (max-width: 400px) {
  .active-row:not(.has-removable) { display: none; }
  .active-row span.cond, .active-row [data-default] { display: none; }
  .status-row { flex-wrap: nowrap; }
  .status-row .status { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Public feedback is an addition below the existing card actions. */
.event-feedback { margin-block: .6rem; padding-block-start: .55rem; border-block-start: 1px solid #CAAA86; }
.event-feedback-votes { display: flex; flex-wrap: wrap; gap: .5rem; }
.event-feedback button, .event-feedback select, .event-feedback summary { min-height: 44px; }
.event-feedback button, .event-feedback select { color: #171717; background: #FBF1E4; border: 1px solid #A1643E; border-radius: .5rem; font: inherit; }
.event-feedback button { padding: .45rem .7rem; cursor: pointer; }
.event-feedback-vote { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 64px; }
.event-feedback-vote[aria-pressed="true"] { color: #FFFFFF; background: #7A2E0A; border-color: #7A2E0A; }
.event-feedback button:disabled, .event-feedback select:disabled { cursor: default; opacity: .65; }
.event-feedback :is(button,select,summary):focus-visible { outline: 3px solid #7A2E0A; outline-offset: 2px; }
.event-feedback-report { margin-block-start: .25rem; }
.event-feedback summary { cursor: pointer; padding-block: .55rem; box-sizing: border-box; }
.event-feedback-form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; padding-block: .25rem; }
.event-feedback-form label { display: flex; flex: 1 1 12rem; min-width: 0; flex-direction: column; gap: .25rem; }
.event-feedback select { width: 100%; max-width: 100%; padding: .4rem; }
.event-feedback-note, .event-feedback-status { margin: .3rem 0; color: #3F3F3F; font-size: .85rem; overflow-wrap: anywhere; }
.event-feedback-status:empty { display: none; }

/* P21: karttapohjan vikailmoitus (lista/kortti toimivat silloinkin) */
.map-note {
  position: fixed; top: 3.4rem; left: 50%; transform: translateX(-50%); z-index: 700;
  background: #fff7e6; color: #5c4400; border: 1px solid #e6c464; border-radius: 10px;
  padding: 7px 12px; font-size: 12.5px; box-shadow: 0 2px 8px rgba(20,40,60,.18); max-width: 92vw;
}
/* P21: MapLibre-pohjakerros Leafletin alla (silta piirtää oman canvas-elementtinsä) */
.leaflet-maplibre-gl-canvas { position: absolute; }
/* P24: käyttöliittymän kielivalitsin hakurivillä + maavalitsin suodatinpohjassa */
.lang-select { appearance: auto; -webkit-appearance: menulist; padding-right: 1.2rem; max-width: 8rem; }
@media (max-width: 340px) { .lang-select { max-width: 6.5rem; } }

/* Public peach header: product identity, service navigation, Celebrations and search. */
:root {
  --header-bg: #FFE2C6;
  --header-hover: #FFD5AC;
  --header-text: #2C231C;
  --header-muted: #6F523D;
  --header-accent: #A64112;
  --header-border: #A1643E;
  --header-divider: #D8B08B;
  --header-focus: #7A2E0A;
}
.top-bar {
  color: var(--header-text);
  background: var(--header-bg);
  border: 1px solid var(--header-divider);
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(44,35,28,.16);
  padding: .45rem .6rem;
}
.site-topline { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; }
.brand { flex: none; color: var(--header-text); font-size: 1.65rem; font-weight: 800; line-height: 1; text-decoration: none; letter-spacing: -.05em; }
.brand span { color: var(--header-accent); }
.service-nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.service-nav a, .celebrations-link {
  min-height: var(--tap); display: inline-flex; align-items: center; justify-content: center;
  color: var(--header-text); text-decoration: none; border-radius: .55rem;
}
.service-nav a { padding: .35rem .6rem; font-size: .92rem; border-bottom: 3px solid transparent; }
.service-nav a[aria-current="page"] { border-bottom-color: var(--header-accent); font-weight: 700; }
.service-nav a:hover, .service-nav a:focus-visible, .celebrations-link:hover, .celebrations-link:focus-visible { background: var(--header-hover); }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .45rem; margin-left: auto; }
.celebrations-link { gap: .3rem; color: var(--header-accent); padding: 0 .2rem; white-space: nowrap; }
.celebrations-link span { font-size: 1.9rem; font-weight: 650; line-height: 1.05; letter-spacing: -.025em; }
.celebrations-link small { font-size: .8rem; font-weight: 450; }
.header-menu { display: none; font-size: 1.15rem; }
.top-bar .search-row {
  max-width: 840px; margin: .45rem auto 0; padding: .25rem; gap: .3rem;
  border: 1px solid var(--header-divider); border-radius: 999px; background: var(--header-bg);
  box-shadow: 0 3px 10px rgba(44,35,28,.10);
}
.top-bar #q, .top-bar .tb-btn, .top-bar .chip, .top-bar .place-suggest button {
  color: var(--header-text); background: var(--header-bg); border-color: var(--header-divider);
}
.top-bar #q { border-radius: 999px; }
.top-bar .tb-btn { border-radius: 999px; }
.top-bar .tb-btn:hover, .top-bar .chip:hover { background: var(--header-hover); }
.top-bar .tb-btn[aria-expanded="true"]#btn-filters, .top-bar .chip.is-active, .top-bar .chip[aria-pressed="true"] { background: var(--header-accent); border-color: var(--header-accent); color: #fff; }
.top-bar .chip[aria-pressed="true"] .n { opacity: 1; }
.top-bar .lang-select { max-width: 8rem; }
.top-bar .status-row, .top-bar .cele-chip, .top-bar .hint { color: var(--header-muted); }
.top-bar a:focus-visible, .top-bar button:focus-visible, .top-bar select:focus-visible, .top-bar input:focus-visible { outline-color: var(--header-focus); }
@media (min-width: 760px) {
  .top-bar { left: 50%; right: auto; width: min(1120px, calc(100vw - 32px)); transform: translateX(-50%); }
}
@media (max-width: 759px) {
  .service-nav { display: none; flex-basis: 100%; order: 4; flex-wrap: wrap; }
  .service-nav.is-open { display: flex; }
  .header-menu { display: inline-flex; }
  .celebrations-link { flex-basis: 100%; order: 3; justify-content: flex-start; margin: .1rem 0; }
  .celebrations-link span { font-size: 2rem; }
  .celebrations-link small { font-size: .85rem; }
  .header-actions { margin-left: auto; }
  .top-bar .search-row { border-radius: 1rem; flex-wrap: wrap; }
  .top-bar #q { flex: 1 1 100%; }
}
@media (max-width: 340px) {
  .site-topline { gap: .25rem .4rem; }
  .celebrations-link span { font-size: 1.85rem; }
  .top-bar .lang-select { max-width: 6.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .service-nav a, .celebrations-link, .top-bar .tb-btn, .top-bar .chip { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}

/* Keep header controls clickable above cards; List stays above the header. */
.top-bar { z-index: 34; }
.fab { z-index: 36; }
.sheet { z-index: 32; }
.restaurant-panel-controls { position: relative; z-index: 35; }
@media (max-width: 759px) {
  .top-bar { padding: .3rem .45rem; }
  .site-topline { gap: .2rem .45rem; }
  .top-bar .search-row { margin-top: .25rem; }
  .top-bar .quick-row, .top-bar .active-row, .top-bar .status-row { margin-top: .12rem; }
  .top-bar .cele-chip { margin: .12rem 0 0; font-size: .72rem; line-height: 1.2; max-height: 2.5em; overflow-y: auto; }
}

/* Mobile UI V2: one light panel, one search and one horizontal filter strip. */
.skip-link { position: fixed; z-index: 1000; top: -6rem; left: .5rem; min-height: var(--tap); display: inline-flex; align-items: center; padding: .5rem .8rem; background: #fff; color: var(--brand); border: 2px solid var(--brand); border-radius: .5rem; }
.skip-link:focus { top: .5rem; }
.brand { min-width: var(--tap); min-height: var(--tap); display: inline-flex; align-items: center; justify-content: center; }
.brand-logo { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: .3rem; }
.top-bar { z-index: 34; }
.top-bar .search-row { padding: 0; border: 0; border-radius: .75rem; background: transparent; box-shadow: none; gap: .4rem; }
.top-bar #q { min-height: 48px; border: 1px solid var(--header-divider); border-radius: .75rem; background: #fffaf6; box-shadow: 0 1px 3px rgba(44,35,28,.08); }
#btn-collapse { display: none; }
.filter-strip { display: flex; align-items: center; gap: .35rem; margin-top: .4rem; min-width: 0; }
.filter-strip > #btn-filters { flex: none; }
.quick-scroll { position: relative; flex: 1 1 auto; min-width: 0; padding-inline: .55rem; }
.filter-strip .quick-row { min-width: 0; margin: 0; padding: 4px 0; overflow-y: hidden; scroll-padding-inline: 4px; }
/* The hint occupies its own gutter: it neither obscures a chip nor takes clicks. */
.quick-scroll::before, .quick-scroll::after { content: ""; position: absolute; top: 4px; bottom: 4px; width: .5rem; opacity: 0; pointer-events: none; }
.quick-scroll::before { left: 0; background: linear-gradient(to right, var(--header-bg), rgba(166,65,18,.2)); }
.quick-scroll::after { right: 0; background: linear-gradient(to left, var(--header-bg), rgba(166,65,18,.2)); }
.quick-scroll[data-overflow-left="true"]::before, .quick-scroll[data-overflow-right="true"]::after { opacity: 1; }
.filter-strip .chip { background: #fff7f0; }
.top-bar .active-row { display: none; }
.sheet .active-row { display: flex !important; flex-wrap: wrap; overflow: visible; margin: 0 0 .7rem; padding-bottom: .6rem; border-bottom: 1px solid hsl(var(--border)); }
.sheet .active-row span.cond, .sheet .active-row [data-default] { display: inline-flex !important; align-items: center; }
.status-row { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body[data-api-error="1"] .status-row, body[data-empty="true"] .status-row, body[data-card-error] .status-row {
  display: flex; position: absolute; top: calc(100% + .4rem); left: 0; right: 0; width: auto; height: auto; margin: 0; padding: .45rem .6rem;
  overflow: visible; clip: auto; white-space: normal; border: 1px solid var(--header-divider); border-radius: .65rem; background: #fffaf6; color: var(--header-text); box-shadow: 0 3px 12px rgba(0,0,0,.14);
}
.map-summary { margin: .35rem 0 0; font-size: .8rem; color: hsl(var(--muted)); line-height: 1.35; }
#cele-credit:empty { display: none; }
#cele-credit { overflow-wrap: anywhere; }
#cele-credit a { display: inline-flex; align-items: center; min-height: var(--tap); }
.leg.phase-yellowgreen { color: #6b8e23; }
.sheet { z-index: 32; top: calc(var(--topbar-h) + .4rem); bottom: 0; max-height: calc(100dvh - var(--topbar-h) - .6rem); }
.restaurant-panel { top: calc(var(--topbar-h) + .4rem); }
.restaurant-panel-controls { z-index: auto; }
.restaurant-panel:focus { outline: none; }
.restaurant-panel.restaurant-panel-minimized { top: auto; bottom: 3.4rem; right: 4.4rem; max-height: none; }
.fab { z-index: 36; }
.fab-list { bottom: max(2.2rem, calc(env(safe-area-inset-bottom) + 2rem)); }
.fab-area { top: calc(var(--topbar-h) + .6rem); }
.leaflet-control-attribution { background: rgba(255,255,255,.88); }
.cele-chip { min-width: 0; }
.cele-chip a { color: var(--header-muted); text-decoration: none; }
@media (min-width: 760px) {
  .celebrations-block { margin-left: auto; }
  .celebrations-link { min-height: var(--tap); }
  .cele-chip { margin: -.2rem 0 0; text-align: center; font-size: .75rem; }
  .fab-list { left: .75rem; top: calc(var(--topbar-h) + .75rem); bottom: auto; }
  .fab-area { left: 50%; top: calc(var(--topbar-h) + .75rem); }
  .sheet { left: .6rem; right: auto; top: calc(var(--topbar-h) + .75rem); bottom: .6rem; width: 25rem; max-height: none; }
  .restaurant-panel { left: auto; right: .75rem; top: calc(var(--topbar-h) + .75rem); bottom: .75rem; width: 26rem; }
  .restaurant-panel.restaurant-panel-minimized { top: auto; right: 4.6rem; bottom: .75rem; }
}
@media (max-width: 759px) {
  .top-bar { top: max(.35rem, env(safe-area-inset-top)); left: .35rem; right: .35rem; padding: .45rem .5rem; border-radius: .85rem; transform: none; }
  .site-topline { display: grid; grid-template-columns: auto minmax(6.5rem,1fr) minmax(6.8rem,auto); align-items: start; gap: .2rem .35rem; }
  .brand { grid-column: 1; grid-row: 1; font-size: 1.5rem; }
  .header-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; flex-wrap: nowrap; gap: .2rem; margin: 0; }
  .header-actions .lang-select { width: 4.4rem; min-width: var(--tap); max-width: 4.4rem; padding: .2rem; font-size: .82rem; }
  .celebrations-block { grid-column: 3; grid-row: 1; min-width: 0; max-width: 9.4rem; margin: 0; text-align: right; }
  .celebrations-link { min-height: var(--tap); flex-direction: column; align-items: flex-end; gap: 0; padding: .1rem 0; line-height: 1.05; }
  .celebrations-link span { font-size: 17px; font-weight: 650; letter-spacing: 0; }
  .celebrations-link small { font-size: 10px; line-height: 1.15; }
  .cele-chip { margin: .05rem 0 0; max-height: none; overflow: hidden; font-size: 11px; line-height: 1.35; }
  .cele-chip a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .service-nav { grid-column: 1 / -1; grid-row: 2; order: initial; margin: 0; }
  .service-nav.is-open { display: flex; }
  .top-bar .search-row { margin-top: .45rem; flex-wrap: nowrap; }
  .top-bar #q { flex: 1 1 auto; width: 100%; }
  .filter-strip { margin-top: .4rem; }
  .filter-strip .tb-btn, .filter-strip .chip { min-height: var(--tap); }
  .filter-strip .chip.sep { margin-left: .15rem; }
  .header-compact .cele-chip, .header-compact .filter-strip { display: none; }
  .header-compact .search-row { margin-top: .3rem; }
  .sheet { left: .35rem; right: .35rem; border-radius: .85rem; }
  .restaurant-panel.restaurant-panel-minimized { left: .35rem; right: 4.4rem; }
  .geo-banner { top: calc(var(--topbar-h) + .5rem); }
}
@media (max-width: 340px) {
  .site-topline { grid-template-columns: auto minmax(6.5rem,1fr) minmax(6.4rem,auto); gap: .2rem; }
  .celebrations-link small { display: none; }
  .celebrations-block { max-width: 7.2rem; }
  .top-bar { padding-inline: .4rem; }
  .filter-strip { gap: .25rem; }
  .filter-strip .tb-btn, .filter-strip .chip { padding-inline: .55rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .top-bar, .sheet { transition: top .16s ease, bottom .16s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Public sharing controls: no SDKs, trackers or third-party embeds. */
.share-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; margin:.45rem 0 .7rem; color:var(--header-muted); }
.page-share-slot.share-toolbar { margin:.3rem 0 .15rem; }
.card-share-slot.share-toolbar { margin:.35rem 0 .75rem; }
.share-label { font-size:.82rem; font-weight:700; margin-inline-end:.1rem; }
.share-button { display:inline-flex; align-items:center; justify-content:center; gap:.3rem; min-height:var(--tap); padding:.3rem .65rem; border:1px solid var(--header-border); border-radius:999px; background:#fff2e5; color:var(--header-accent); font:inherit; font-size:.82rem; font-weight:700; line-height:1.1; text-decoration:none; cursor:pointer; }
.share-button:hover { background:var(--header-hover); }
.share-button:focus-visible { outline:3px solid var(--header-focus); outline-offset:2px; }
.share-facebook .share-icon { display:inline-flex; align-items:center; justify-content:center; width:1.15rem; height:1.15rem; border-radius:50%; background:#1877f2; color:#fff; font-size:.9rem; font-family:Arial,sans-serif; }
.share-instagram .share-icon { display:inline-flex; align-items:center; justify-content:center; width:1.15rem; height:1.15rem; border-radius:.32rem; background:linear-gradient(135deg,#feda75,#d62976 52%,#4f5bd5); color:#fff; font-size:.95rem; line-height:1; }
.share-status { flex:1 1 100%; color:var(--header-muted); font-size:.78rem; }
.share-status[hidden] { display:none; }
.share-logo { width:2.35rem; height:2.35rem; min-height:var(--tap); padding:.35rem; border-radius:50%; }
.share-svg { display:block; width:1.35rem; height:1.35rem; }
.share-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.card-share-slot.share-toolbar { gap:.35rem; border-top:1px solid var(--header-divider); padding-top:.55rem; }
.card-primary-actions { display:flex; align-items:flex-start; flex-wrap:wrap; gap:.65rem; margin:.8rem 0; }
.directions-link { display:inline-flex; align-items:center; justify-content:center; min-height:var(--tap); padding:.55rem .9rem; border-radius:999px; background:var(--header-accent); color:#fff; font-size:.86rem; font-weight:750; text-decoration:none; }
.directions-link:hover { background:var(--header-focus); }
.card-primary-actions .card-share-slot.share-toolbar { border-top:0; padding-top:0; margin:0; }
.card-description { margin:1rem 0; }
.card-description h3 { margin:0 0 .4rem; font-size:1rem; }
.card-description p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
@media (max-width:759px) { .share-toolbar { margin-block:.3rem .65rem; } .share-button { padding-inline:.55rem; } }

/* UI locale: source titles keep their own bidi direction; map controls stay LTR. */
.card [dir="auto"], .event-list [dir="auto"], .cele-chip [dir="auto"] { unicode-bidi: plaintext; }
.leaflet-container, .leaflet-control { direction: ltr; }
html[dir="rtl"] .card, html[dir="rtl"] .sheet-body, html[dir="rtl"] .cele { text-align: right; }
html[dir="rtl"] .top-bar .lang-select { text-align: center; }
:lang(hi), :lang(bn) { font-family: system-ui, "Nirmala UI", sans-serif; }
:lang(ja), :lang(zh-Hans), :lang(ko) { font-family: system-ui, "Yu Gothic UI", "Microsoft YaHei UI", "Malgun Gothic", sans-serif; }
/* Local flag picker: closed control stays in the header; full names live in the overlay. */
.locale-picker { position: relative; display: inline-flex; min-width: 0; }
.locale-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.locale-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: var(--tap); padding: .25rem .45rem; }
.locale-flag { flex: none; width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(44,35,28,.2); }
.locale-code { font-size: .78rem; font-weight: 700; }
.locale-current-name { font-size: .86rem; }
.locale-chevron { font-size: .8rem; }
.locale-menu { position: absolute; z-index: 1000; top: calc(100% + .3rem); inset-inline-end: 0; width: max-content; min-width: 15rem; max-width: calc(100vw - 1rem); max-height: 62dvh; overflow-y: auto; overscroll-behavior: contain; padding: .25rem; border: 1px solid var(--header-divider); border-radius: .7rem; background: #fffaf6; color: var(--header-text); box-shadow: 0 8px 26px rgba(44,35,28,.24); }
.locale-menu[hidden] { display: none; }
.locale-option { display: grid; grid-template-columns: 24px 2.2rem minmax(0,1fr); align-items: center; gap: .5rem; width: 100%; min-height: var(--tap); padding: .35rem .5rem; border: 0; border-radius: .45rem; background: transparent; color: inherit; text-align: start; cursor: pointer; }
.locale-option:hover, .locale-option:focus-visible, .locale-option[aria-selected="true"] { background: var(--header-hover); }
.locale-option[aria-selected="true"] { font-weight: 700; }
.locale-name { overflow-wrap: anywhere; }
@media (max-width: 759px) {
  .locale-toggle { width: 4.4rem; min-width: var(--tap); max-width: 4.4rem; padding-inline: .25rem; }
  .locale-current-name { display: none; }
  .locale-menu { min-width: 14rem; }
}

/* Unified list/event panel: one frame, sticky controls, no second floating card. */
.unified-head { flex-wrap: wrap; }
.unified-head .list-count { display: flex; align-items: baseline; gap: .3rem; }
.card-detail { min-height: 0; }
@media (max-width: 759px) {
  .unified-panel, .unified-panel.restaurant-panel-minimized { left: 0; right: 0; width: 100%; }
  body[data-sheet="card"] .unified-panel { height: min(72dvh, calc(100dvh - var(--topbar-h) - 3.5rem)); max-height: min(72dvh, calc(100dvh - var(--topbar-h) - 3.5rem)); }
  body[data-card-minimized="true"] .unified-panel { height: auto; max-height: none; }
  .unified-head #btn-back-list { font-size: .78rem; }
}
@media (min-width: 760px) {
  .unified-panel, .unified-panel.restaurant-panel-minimized { left: .6rem; right: auto; width: 25rem; }
}
/* C01: the existing official PNG, with only empty canvas cropped by presentation.
   Non-white source bbox is [67,25,188,231] in 256px; all artwork/tagline remains. */
.brand-logo-frame { position: relative; display: block; width: 48px; height: 78px; overflow: hidden; flex: none; }
.brand-logo-frame .brand-logo { position: absolute; width: 88px; height: 88px; max-width: none; inset: -5px auto auto -20px; border-radius: 0; object-fit: contain; }
.celebrations-block { display: grid; grid-template-columns: minmax(0,1fr) minmax(44px,.65fr); align-items: stretch; gap: .2rem .3rem; }
.top-bar .public-nav-button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); padding: .35rem .55rem; margin: 0; border: 1px solid var(--header-border); border-radius: .7rem; background: #fff2e5; color: var(--header-accent); font-size: .88rem; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.public-nav-button.celebrations-link { grid-column: 1; grid-row: 1; flex-direction: row; }
.public-nav-button.info-link { grid-column: 2; grid-row: 1; }
.public-nav-button span { font: inherit; letter-spacing: normal; }
.top-bar .public-nav-button:hover { background: var(--header-hover); }
.top-bar .public-nav-button[aria-current="page"] { background: var(--header-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2rem; }
.top-bar .public-nav-button:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 2px; }
.celebrations-block .cele-chip { grid-column: 1; grid-row: 2; margin: 0; text-align: start; }
@media (min-width: 760px) { .celebrations-block { min-width: 12rem; } }
@media (max-width: 759px) {
  .site-topline { grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; }
  .celebrations-block { grid-column: 2; grid-row: 1; max-width: none; width: 100%; text-align: start; }
  .header-actions { grid-column: 3; grid-row: 1; }
  .top-bar .public-nav-button { padding-inline: .35rem; font-size: .82rem; }
  .public-nav-button.celebrations-link span { font: inherit; }
}

/* Grok UI More + logo 2026-11-03: front page header only (scoped by .front-header; cele/info headers unchanged).
   Logo tile sits outside the peach box; one More popover holds Keeper, Celebrations and Info. */
.front-header {
  --header-accent: #8F360C; --header-focus: #6E2808; --header-surface: #FFF9F4;
  --logo-s: 98px; --logo-gap: 8px; --hdr-pad: .45rem;
  --logo-tw: calc(var(--logo-s) * .5234 + 2px);
}
.front-header .site-topline { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .35rem; grid-template-columns: none; }
.front-header .front-brand { position: absolute; top: -1px; inset-inline-start: calc(-1px - var(--logo-tw) - var(--logo-gap)); min-width: 0; min-height: 0; padding: 0; margin: 0; border-radius: .8rem; }
.front-header .front-brand-frame {
  position: relative; display: block; box-sizing: content-box; overflow: hidden;
  width: calc(var(--logo-s) * .5234); height: calc(var(--logo-s) * .8516);
  border: 1px solid var(--header-divider); border-radius: .8rem; background: #FEFEFE; box-shadow: 0 4px 18px rgba(44,35,28,.16);
}
.front-header .front-brand-frame .brand-logo { position: absolute; left: calc(var(--logo-s) * -.2383); top: calc(var(--logo-s) * -.0742); width: var(--logo-s); height: var(--logo-s); max-width: none; object-fit: contain; border-radius: 0; }
.front-header .front-brand:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 2px; }
.front-header .front-row { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.front-header .front-row-nav { flex: 1 1 100%; }
.front-header .front-row-info { flex: 1 1 100%; }
.front-header .service-nav { display: flex; flex: 0 1 auto; flex-wrap: wrap; order: 0; min-width: 0; margin: 0; gap: .1rem; grid-column: auto; grid-row: auto; }
.front-header .service-nav a { min-height: var(--tap); padding: .3rem .55rem; font-size: .92rem; white-space: nowrap; border-radius: .6rem .6rem .35rem .35rem; }
.front-header .service-nav a[aria-current="page"] { border-bottom-color: var(--header-accent); }
.front-header .more-wrap { position: relative; display: inline-flex; flex: none; margin-inline-start: auto; }
.front-header .more-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: var(--tap); min-width: var(--tap); padding: .3rem .8rem;
  border: 1px solid var(--header-border); border-radius: 999px; background: var(--header-surface); color: var(--header-accent);
  font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.1; cursor: pointer; white-space: nowrap;
}
.front-header .more-toggle:hover { background: var(--header-hover); }
.front-header .more-toggle[aria-expanded="true"] { background: var(--header-accent); border-color: var(--header-accent); color: #fff; }
.front-header .more-toggle:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 2px; }
.front-header .more-chevron { flex: none; width: .42rem; height: .42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.12rem) rotate(45deg); }
.front-header .more-toggle[aria-expanded="true"] .more-chevron { transform: translateY(.12rem) rotate(225deg); }
.front-header .more-menu {
  position: absolute; z-index: 1001; top: calc(100% + .35rem); inset-inline-end: 0;
  display: grid; gap: .15rem; width: max-content; min-width: 14rem; max-width: min(20rem, calc(100vw - 1rem)); padding: .3rem;
  background: var(--header-surface); border: 1px solid var(--header-divider); border-radius: .85rem; box-shadow: 0 8px 24px rgba(44,35,28,.2);
}
.front-header .more-menu[hidden] { display: none; }
.front-header .more-menu a, .front-header .more-menu .public-nav-button {
  display: flex; align-items: center; justify-content: flex-start; min-height: var(--tap); min-width: 0; margin: 0; padding: .45rem .8rem;
  border: 0; border-radius: .6rem; background: transparent; color: var(--header-text);
  font-size: .95rem; font-weight: 600; line-height: 1.2; text-align: start; text-decoration: none; white-space: normal; overflow-wrap: anywhere;
}
.front-header .more-menu .public-nav-button { grid-column: auto; grid-row: auto; order: 0; flex-basis: auto; flex-direction: row; }
.front-header .more-menu .public-nav-button span { font-size: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; }
.front-header .more-menu .public-nav-button small { margin-inline-start: .3rem; color: var(--header-muted); font-size: .75rem; font-weight: 450; line-height: 1.15; }
.front-header .more-menu a:hover { background: var(--header-hover); }
.front-header .more-menu a:focus-visible { background: var(--header-hover); outline: 3px solid var(--header-focus); outline-offset: -3px; }
.front-header .cele-chip { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; max-width: 24rem; max-height: none; margin: 0; margin-inline-start: auto; overflow: visible; font-size: .8rem; line-height: 1.25; text-align: start; color: var(--header-muted); }
.front-header .cele-chip[hidden] { display: none; }
.front-header .cele-chip a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: .15rem .1rem;
  white-space: normal; text-overflow: clip; overflow-wrap: anywhere; color: var(--header-muted); text-decoration: none;
}
.front-header .cele-chip a:hover { text-decoration: underline; }
.front-header .cele-chip a:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 1px; border-radius: .3rem; }
.front-header .header-actions { flex: none; margin: 0; grid-column: auto; grid-row: auto; }
@media (prefers-reduced-motion: no-preference) {
  .front-header .more-menu:not([hidden]) { animation: front-more-in .16s ease-out; }
  .front-header .more-chevron { transition: transform .16s ease; }
  .front-header .more-toggle { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@keyframes front-more-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) {
  .front-header { --logo-s: 108px; --logo-gap: 10px; --hdr-side: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
    --hdr-w: min(1120px, calc(100vw - 2 * var(--hdr-side) - var(--logo-tw) - var(--logo-gap))); }
  .front-header.top-bar { right: auto; width: var(--hdr-w); left: calc(50% - (var(--hdr-w) - var(--logo-tw) - var(--logo-gap)) / 2); transform: none; }
  [dir="rtl"] .front-header.top-bar { left: calc(50% - (var(--hdr-w) + var(--logo-tw) + var(--logo-gap)) / 2); }
  .front-header .site-topline { flex-wrap: nowrap; gap: .5rem; }
  .front-header .front-row-nav { flex: 0 1 auto; }
  .front-header .front-row-info { flex: 1 1 auto; justify-content: flex-end; }
  .front-header .cele-chip { margin-inline-start: auto; }
  .front-header .more-wrap { margin-inline-start: .25rem; }
  .front-header .more-menu { inset-inline-end: auto; inset-inline-start: 0; }
}
@media (max-width: 759px) {
  .front-header.top-bar {
    left: calc(max(.35rem, env(safe-area-inset-left)) + var(--logo-tw) + var(--logo-gap)); right: max(.35rem, env(safe-area-inset-right));
    padding: .35rem var(--hdr-pad); transform: none;
  }
  [dir="rtl"] .front-header.top-bar { left: max(.35rem, env(safe-area-inset-left)); right: calc(max(.35rem, env(safe-area-inset-right)) + var(--logo-tw) + var(--logo-gap)); }
  .front-header .site-topline { gap: .15rem .3rem; }
  .front-header .search-row { margin-top: .3rem; }
  .front-header #q { min-height: 44px; }
  .front-header .filter-strip { margin-top: .3rem; }
  .front-header .front-row-nav .service-nav { flex: 0 1 auto; flex-wrap: nowrap; }
  .front-header .service-nav a { flex: 0 1 auto; min-width: 0; padding: .2rem .5rem; font-size: .9rem; line-height: 1.1; text-align: center; white-space: normal; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
  /* Full box width under the More button (button always ends its row). */
  .front-header .more-wrap { position: static; }
  .front-header .more-menu { top: var(--more-top, 3.4rem); inset-inline: var(--hdr-pad); width: auto; min-width: 0; max-width: none; grid-template-columns: minmax(0, 1fr); }
  .front-header .cele-chip { flex: 1 1 auto; max-width: none; margin-inline-start: 0; font-size: 12px; }
  .front-header .cele-chip a { padding-block: .1rem; }
  .front-header .header-actions { margin-inline-start: auto; }
  .header-compact .front-header .cele-chip { display: none; }
}
/* Languages with long nav words: tighter type first, then hyphenated two-line labels (44px target kept). */
@media (max-width: 420px) {
  .front-header:is(:lang(de), :lang(nb), :lang(da), :lang(sv), :lang(fr)) .service-nav a { padding-inline: .3rem; font-size: .8rem; letter-spacing: -.01em; }
  .front-header:is(:lang(de), :lang(nb), :lang(da), :lang(sv), :lang(fr)) .more-toggle { padding-inline: .55rem; gap: .25rem; }
}
@media (max-width: 759px) and (max-height: 520px) {
  .front-header .more-menu { display: flex; flex-wrap: wrap; }
  .front-header .more-menu[hidden] { display: none; }
  .front-header .more-menu a, .front-header .more-menu .public-nav-button { flex: 1 1 auto; justify-content: center; text-align: center; padding-inline: .6rem; overflow-wrap: normal; }
}
@media (max-width: 340px) {
  .front-header { --logo-s: 94px; --logo-gap: 7px; --hdr-pad: .32rem; }
  .front-header .site-topline { gap: .25rem .2rem; }
  .front-header .service-nav { gap: 0; }
  .front-header .service-nav a { padding-inline: .32rem; font-size: .85rem; }
  .front-header .more-toggle { padding-inline: .55rem; font-size: .86rem; gap: .28rem; }
  .front-header .cele-chip { font-size: 11.5px; }
}

/* 2026-11-07: locked orange-sand palette and compact mobile hierarchy. */
.front-header {
  --header-bg: #F3DDC4;
  --header-hover: #FBF1E4;
  --header-text: #171717;
  --header-muted: #3F3F3F;
  --header-accent: #C96A1B;
  --header-border: #B98E61;
  --header-divider: #B98E61;
  --header-focus: #A85313;
  --header-surface: #FBF1E4;
  --control-bg: #FBF1E4;
  --event-card-bg: #E8C99E;
  --card-border: #CAAA86;
  --search-bg: #D9B58A;
  background: var(--header-bg);
  color: var(--header-text);
}
.front-header .front-row-nav, .front-header .front-row-info, .front-header .search-row { flex: 1 1 100%; }
.front-header .header-actions { flex: none; }
.front-header .cele-chip { flex: 1 1 auto; }
.front-header #q { background: var(--search-bg); color: var(--header-text); border-color: var(--header-border); }
.front-header #q::placeholder { color: var(--header-text); opacity: .78; }
.front-header .tb-btn, .front-header .chip, .front-header .more-toggle, .front-header .more-menu,
.front-header .place-suggest button, .front-header .public-nav-button { background: var(--control-bg); color: var(--header-text); border-color: var(--header-border); }
.front-header .tb-btn[aria-expanded="true"], .front-header .chip.is-active, .front-header .chip[aria-pressed="true"],
.front-header .more-toggle[aria-expanded="true"] { background: var(--header-focus); border-color: var(--header-focus); color: #FFFFFF; }
.front-header .service-nav a, .front-header .cele-chip a, .front-header .cele-chip,
.front-header .hint, .front-header .source-note { color: var(--header-text); }
.front-header .front-brand-frame { background: var(--event-card-bg); }
.front-header .front-brand-frame .brand-logo { object-fit: contain; }
.front-header a:focus-visible, .front-header button:focus-visible, .front-header select:focus-visible,
.front-header input:focus-visible { outline-color: var(--header-focus); }
.unified-panel { background: var(--control-bg, #FBF1E4); color: #171717; border-color: #CAAA86; }
.unified-panel .card { background: #E8C99E; color: #171717; border: 1px solid #CAAA86; border-radius: .75rem; padding: .65rem; }
.unified-panel .card h2 { font-size: 1.06rem; line-height: 1.3; overflow-wrap: anywhere; }
.unified-panel .card dl { gap: .25rem .55rem; }
.unified-panel .card dt, .unified-panel .card .source-note { color: #3F3F3F; }
body[data-api-error="1"] .status-row, body[data-empty="true"] .status-row, body[data-card-error] .status-row {
  flex-wrap: wrap; gap: .2rem .5rem; background: #FBF1E4; color: #171717;
}
body[data-api-error="1"] .status-row .status, body[data-empty="true"] .status-row .status, body[data-card-error] .status-row .status {
  flex: 1 1 12rem; min-width: 0; white-space: normal;
}
body[data-api-error="1"] .status-row .link-btn, body[data-empty="true"] .status-row .link-btn, body[data-card-error] .status-row .link-btn {
  flex: 0 0 auto; min-height: var(--tap); margin-inline-start: auto; white-space: nowrap; color: #A85313;
}
@media (max-width: 759px) {
  .front-header .front-row-info { flex-wrap: wrap; gap: .15rem .3rem; }
}
@media (max-width: 400px) {
  body[data-api-error="1"] .status-row .link-btn, body[data-empty="true"] .status-row .link-btn, body[data-card-error] .status-row .link-btn {
    flex: 1 1 100%; margin-inline-start: 0; text-align: start;
  }
}
