/* Composition adapted from dodostats/assets/listing_bootstrap.html and site_bs.css.
   This layer keeps the white cards, country chips and compact table with Drinkit colors. */
:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #122238;
  --muted: #505e70;
  --paper: #fff;
  --line: #d9e3ec;
  --soft: #f1f7fb;
  --accent: #1555ac;
  --accent-soft: #e8f2ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(850px 460px at 3% 0%, #dceeff, transparent 65%),
    radial-gradient(700px 390px at 100% 7%, #e3f5f2, transparent 68%),
    #f5f7fa;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, input[type="search"], select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}
button, select { padding: .35rem .75rem; }
button:not(:disabled):hover { background: var(--soft); }

/* The shared popup injects its base styles after this stylesheet. Scope
   these colors to Drinkit so the site's pale button hover does not wash
   out the popup and the DodoStats widget retains its own palette. */
#drinkitstats-announcement-popup-root {
  --popup-accent: #bd3800;
  --popup-accent-strong: #a92e00;
}
#drinkitstats-announcement-popup-root .ds-announcement-popup__eyebrow {
  color: var(--popup-accent-strong);
}
#drinkitstats-announcement-popup-root .ds-announcement-popup__domain {
  color: var(--muted);
}
#drinkitstats-announcement-popup-root .ds-announcement-popup__button {
  background-color: var(--popup-accent);
}
#drinkitstats-announcement-popup-root .ds-announcement-popup__button:is(:hover, :focus-visible) {
  background-color: var(--popup-accent-strong);
}
#drinkitstats-announcement-popup-root .ds-announcement-popup__close:is(:hover, :focus-visible) {
  background-color: #fff0e8;
  color: var(--popup-accent-strong);
}
#drinkitstats-announcement-popup-root
  :is(.ds-announcement-popup__close, .ds-announcement-popup__link, .ds-announcement-popup__button):focus-visible {
  outline-color: var(--popup-accent);
}

.shell { width: min(calc(100% - 2rem), 1140px); margin-inline: auto; }
/* The header is shared across routes and locales. A native disclosure
   holds navigation on small screens without duplicating currency state. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: clamp(.75rem, 2.4vw, 2rem);
}
.wordmark {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.065em;
}
.wordmark span { color: var(--accent); }
.desktop-nav nav, .page-preferences {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.page-preferences { margin-inline-start: auto; gap: .5rem; }
.desktop-nav a, .header-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .35rem .65rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 650;
  white-space: nowrap;
}
.header-control {
  gap: .45rem;
  min-width: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.desktop-nav a:hover, .header-control:hover, .header-menu[open] > .header-control {
  color: var(--accent);
  background: var(--accent-soft);
}
.language-control { font-size: .78rem; letter-spacing: .04em; }
.header-chevron {
  flex: none;
  width: .41rem;
  height: .41rem;
  margin-top: -.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.header-menu, .currency-setting { position: relative; }
.header-menu > summary { list-style: none; }
.header-menu > summary::-webkit-details-marker { display: none; }
.currency-setting:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.currency-setting select {
  /* The native picker keeps its exact options and runs on mobile. Only the
     compact visual caption is replaced, so the controls share one height. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.header-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + .45rem);
  right: 0;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100dvh - 5rem);
  overflow-y: auto;
  min-width: 11rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgb(18 34 56 / .12);
}
.header-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .7rem;
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: .875rem;
}
.header-panel a:hover { color: var(--accent); background: var(--accent-soft); }
.mobile-menu { display: none; }
.menu-icon {
  position: relative;
  width: 1rem;
  height: .68rem;
  border-block: 1.6px solid currentColor;
}
.menu-icon::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  border-top: 1.6px solid currentColor;
  transform: translateY(-50%);
}
.header-panel-bots { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .4rem; }
.header-panel-bots p { padding: .25rem .7rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.hero-links, .site-footer, .site-footer-links, .pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1rem;
}
.site-footer { justify-content: space-between; }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 850px) {
  .desktop-nav, .desktop-notifications { display: none; }
  .mobile-menu { display: block; }
  .nav-inner { min-height: 58px; gap: .65rem; }
  .wordmark { font-size: 1.25rem; }
  .header-control { padding-inline: .5rem; }
}
@media (max-width: 360px) {
  .nav-inner { gap: .35rem; }
  .page-preferences { gap: .35rem; }
  .wordmark { font-size: 1.18rem; }
}
main.shell { padding-block: 1rem 1.5rem; }
.dodo-card {
  scroll-margin-top: 7rem;
  margin-block: 0 1rem;
  padding: clamp(1rem, 2.1vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgb(18 34 56 / .06);
}
.dodo-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: .8rem;
}
.dodo-hero > div:first-child { flex: 1 1 32rem; min-width: 0; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.045em; }
h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -.025em; }
.hero-lead { margin-top: .5rem; color: var(--muted); }
.hero-links { margin-top: .3rem; }
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; max-width: 100%; }
.summary div { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.summary dt, .secondary, .site-footer, .pagination { font-size: .875rem; color: var(--muted); }
.summary dd { margin: 0; font-size: 1.15rem; font-weight: 750; font-variant-numeric: tabular-nums; }

.country-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.country-chip { border-radius: 999px; display: inline-flex; align-items: center; gap: .55rem; }
.country-chip[aria-pressed="true"], .segmented button[aria-pressed="true"] {
  border-color: #80a8d7;
  background: var(--accent-soft);
  color: #123f7c;
  font-weight: 650;
}
.country-chip-count { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.section-head { display: flex; gap: .65rem 1rem; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.secondary { margin-top: .25rem; }
.segmented { display: flex; gap: .35rem; flex-wrap: wrap; }
.segmented button { font-size: .86rem; }
.chart-canvas { width: 100%; height: clamp(184px, 26vw, 265px); display: block; margin-top: .75rem; }
.chart-controls { display: flex; gap: .35rem 1rem; align-items: center; flex-wrap: wrap; font-size: .875rem; }
.chart-controls label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.chart-controls input { accent-color: var(--accent); width: clamp(95px, 22vw, 190px); }
.chart-controls output { font-variant-numeric: tabular-nums; font-weight: 650; }
.chart-values { margin-top: .3rem; color: var(--muted); font-size: .875rem; }
.chart-values summary { cursor: pointer; min-height: 44px; align-content: center; width: fit-content; }
.chart-values table { border-collapse: collapse; }
.chart-values td, .chart-values th { padding: .3rem .65rem; text-align: left; border-bottom: 1px solid var(--line); }

.list-controls { margin-block: .9rem .65rem; display: flex; flex-wrap: wrap; align-items: end; gap: .5rem 1rem; }
.search-field { display: grid; gap: .25rem; flex: 1 1 21rem; max-width: 32rem; }
input[type="search"] { width: 100%; min-width: 0; padding: .5rem .7rem; }
.check-field, .page-size { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; }
.check-field input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.table-responsive { overflow-x: auto; }
.dodo-table { width: 100%; border-collapse: collapse; font-size: .91rem; }
.dodo-table th, .dodo-table td { text-align: left; padding: .52rem .55rem; vertical-align: middle; border-bottom: 1px solid var(--line); }
.dodo-table th { background: var(--soft); font-weight: 650; }
.dodo-table th button { border: 0; background: transparent; padding: 0; text-align: left; font-weight: inherit; }
.dodo-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.dodo-table tbody tr:hover { background: #f5faff; }
.store-name { font-weight: 720; overflow-wrap: anywhere; display: inline-block; padding-block: .2rem; }
.row-note { display: block; color: var(--muted); font-size: .78rem; }
.notice { padding: .65rem .8rem; border-inline-start: 3px solid #8c5d14; background: #fff7e7; color: #60400c; }
.pagination { margin-top: .8rem; }
.pagination #page-info { margin-right: auto; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { padding-block: .25rem; }

@media (max-width: 600px) {
  .shell { width: calc(100% - 1rem); }
  .dodo-card { padding: .85rem; }
  .summary { width: 100%; }
  .dodo-table { min-width: 510px; }
  .pagination #page-info { flex-basis: 100%; }
}

/* Cards use the same spacing and borders as the listing. Numbers remain
   aligned when currency codes or large amounts wrap on a narrow screen. */
.detail-grid { display: grid; gap: .75rem; }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid .dodo-card { margin: 0; min-width: 0; }
.detail-grid .detail-wide { grid-column: 1 / -1; }
.description-list { margin: .55rem 0 0; font-size: .9rem; }
.description-list > div { display: grid; grid-template-columns: minmax(5rem, 1fr) minmax(0, 1.1fr); gap: .65rem; padding: .4rem 0; }
.description-list > div + div { border-top: 1px solid var(--line); }
.description-list dt { color: var(--muted); }
.description-list dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.embedded-map { margin-top: .4rem; }
.embedded-map summary { cursor: pointer; min-height: 44px; align-content: center; width: fit-content; }
.embedded-map iframe { width: 100%; height: 240px; border: 1px solid var(--line); border-radius: 8px; }
.schedule { border-collapse: collapse; table-layout: fixed; width: min(100%, 38rem); margin: .5rem 0 0; font-size: .91rem; }
.schedule th, .schedule td { padding: .36rem .55rem; text-align: left; border-bottom: 1px solid var(--line); }
.schedule thead { background: var(--soft); }
.schedule th, .schedule td { overflow-wrap: anywhere; }
.schedule td { font-variant-numeric: tabular-nums; }
body[data-page="detail"] .site-footer { margin-top: .75rem; }

@media (max-width: 710px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared DodoStats card and chip class names are retained in static pages.
   Drinkit supplies its own accent and the few components unique to this site. */
body { font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
.navbar.dodo-nav { background: rgb(255 255 255 / .92) !important; }
.country-chip { min-height: 44px; color: var(--ink); }
.country-chip[aria-current="page"] { border-color: #80a8d7; background: var(--accent-soft); font-weight: 650; }
#listing-map { margin-top: .7rem; min-height: 320px; height: min(48vw, 440px); border-radius: 10px; background: #eef4f8; }
#map .section-head { align-items: center; }
.leaflet-control a { text-decoration: none; }
.country-revenue-source { margin-top: .55rem; }

.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.map-controls select { min-width: 9rem; }
.map-open, .map-row-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
}
.map-open {
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
}
.map-open:hover { background: var(--accent-soft); }
.map-row-button {
  min-height: 30px;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.dodo-table .map-selected { background: var(--accent-soft); }
.store-map-panel { min-width: 0; scroll-margin-top: 7rem; }
.store-schedule-panel { min-width: 0; }
.map-and-schedule { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.1rem; }
#map-frame-wrap {
  overflow: hidden;
  margin-top: .7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--soft);
}
#map-frame { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 710px) {
  .map-and-schedule { grid-template-columns: minmax(0, 1fr); }
}

.finance-summary {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  margin: .8rem 0;
}
.scope-links { margin-top: .6rem; }
.scope-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .2rem .7rem;
  max-height: 16rem;
  overflow: auto;
}
/* One card per date keeps metric labels attached to their values.
   On narrow screens those cards become rows without horizontal scrolling. */
.ops-heading { align-items: baseline; gap: .35rem 1rem; }
.ops-clock { font-size: .8rem; color: var(--muted); }
#ops-status:empty { display: none; }
.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.15rem;
  margin-top: 1rem;
}
.ops-period { min-width: 0; scroll-margin-top: 5rem; }
.ops-period h3 {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
}
.ops-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
#daily .ops-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ops-entry {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}
.ops-entry--today { border-color: #bed4ef; background: #eef5ff; }
.ops-entry-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .15rem .35rem;
}
.ops-entry-header h4 { margin: 0; font-size: .88rem; line-height: 1.3; }
.ops-entry--today h4 { color: var(--accent); }
.ops-date { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.ops-entry dl { margin: 0; }
.ops-entry dl > div { min-width: 0; }
.ops-entry dt { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.ops-entry dd {
  margin: .15rem 0 0;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ops-entry .ops-primary { margin-top: .55rem; }
.ops-entry .ops-amount { font-size: clamp(1.12rem, 1.75vw, 1.45rem); font-weight: 800; letter-spacing: -.035em; }
.ops-unit { font-size: .64em; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.ops-entry .ops-secondary {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: .45rem;
  margin-top: .65rem;
}
.ops-entry .ops-extras {
  display: grid;
  gap: .35rem;
  margin-top: .65rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
}
.ops-extras dd { font-size: .76rem; }
.ops-delta { display: block; margin-top: .23rem; font-size: .72rem; font-weight: 700; letter-spacing: 0; }
.ops-delta[data-trend="up"] { color: #216247; }
.ops-delta[data-trend="down"] { color: #9b3b35; }
.ops-before-opening { margin-top: .22rem; color: var(--muted); font-size: .74rem; }

@media (max-width: 990px) {
  .ops-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 570px) {
  .ops-entries, #daily .ops-entries { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .ops-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr);
    gap: .38rem .65rem;
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: .62rem .52rem;
    background: transparent;
  }
  .ops-entry--today { border: 1px solid #bed4ef; border-radius: 8px; background: #eef5ff; }
  .ops-entry-header, .ops-before-opening, .ops-entry .ops-extras { grid-column: 1 / -1; }
  .ops-entry .ops-primary, .ops-entry .ops-secondary { margin-top: 0; }
  .ops-entry .ops-extras { margin-top: .12rem; padding-top: .4rem; }
  .ops-entry .ops-extras > div { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem; }
  .ops-entry .ops-extras dd { text-align: end; }
}
