/*! qrcore landing pages: system fonts, no JavaScript, no third-party requests. */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --bg-subtle: #fafafa; --bg-muted: #f4f4f5; --border: #e4e4e7; --border-strong: #d1d1d6;
  --fg: #111113; --fg-muted: #55555e; --fg-subtle: #6b6b75;
  --accent: #0f766e; --accent-hover: #0c5f59; --accent-soft: #e8f4f2; --accent-text: #0f766e; --ring: #14b8a6;
  --warning: #a35200; --warning-soft: #fdf4e6; --danger: #c81e1e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e; --bg-subtle: #111114; --bg-muted: #18181c; --border: #26262c; --border-strong: #36363e;
    --fg: #ededf0; --fg-muted: #a6a6b0; --fg-subtle: #8e8e99;
    --accent-hover: #138a80; --accent-soft: rgba(45,212,191,.10); --accent-text: #5eead4; --ring: #2dd4bf;
    --warning: #fbbf24; --warning-soft: rgba(251,191,36,.10); --danger: #f87171;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-subtle); color: var(--fg);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
a { color: var(--accent-text); text-underline-offset: 3px; }
.l-main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 32px 16px 24px; display: flex; flex-direction: column; gap: 20px; }
.l-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.l-center { text-align: center; align-items: center; }
.l-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--bg-muted); border: 1px solid var(--border); }
.l-cover { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; display: block; }
h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; text-wrap: balance; }
h2 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.l-muted { color: var(--fg-muted); } .l-small { font-size: 14px; } .l-xs { font-size: 12px; color: var(--fg-subtle); }
.l-pre { white-space: pre-wrap; word-break: break-word; font-size: 17px; line-height: 1.6; }
.l-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; text-align: center; border: 0;
}
.l-btn:hover { background: var(--accent-hover); color: #fff; }
.l-btn--secondary { background: var(--bg); color: var(--fg); border: 1px solid var(--border-strong); }
.l-btn--secondary:hover { background: var(--bg-muted); color: var(--fg); }
.l-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.l-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.l-dl dt { color: var(--fg-muted); font-size: 14px; } .l-dl dd { margin: 0; word-break: break-word; }
.l-code { font: 600 28px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; padding: 16px; border: 2px dashed var(--accent); border-radius: 12px; text-align: center; user-select: all; background: var(--accent-soft); }
.l-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.l-gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.l-gallery a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-muted); }
.l-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-menu-section { display: flex; flex-direction: column; gap: 10px; }
.l-menu-section + .l-menu-section { border-top: 1px solid var(--border); padding-top: 16px; }
.l-dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.l-dish strong { font-weight: 600; } .l-dish span { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.l-dish p { grid-column: 1 / -1; color: var(--fg-muted); font-size: 14px; }
.l-notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--warning); background: var(--warning-soft); }
.l-footer { width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 16px 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 13px; color: var(--fg-subtle); }
.l-footer a { color: var(--fg-muted); }
.l-field { display: flex; flex-direction: column; gap: 6px; }
.l-field label, .l-label { font-size: 14px; font-weight: 600; }
.l-input, .l-select, .l-textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 8px; }
.l-textarea { min-height: 140px; resize: vertical; }
.l-input[aria-invalid="true"], .l-select[aria-invalid="true"], .l-textarea[aria-invalid="true"] { border-color: var(--danger); }
.l-error { color: var(--danger); font-size: 14px; }
.l-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.l-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.l-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.l-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- trust-domains ---- */
/* Trust badges ("Published by …", "Verified by …") and the preview page ("<short link>+"). */
.l-trust { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.l-trust--lead { font-size: 15px; color: var(--fg); }
.l-org { color: var(--fg); font-weight: 600; }
.l-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent-text); }
.l-stack-xs { display: flex; flex-direction: column; gap: 4px; }
.l-break { overflow-wrap: anywhere; }
.l-host { overflow-wrap: anywhere; color: var(--fg-muted); }
.l-host strong { color: var(--fg); font-weight: 700; background: var(--accent-soft); border-radius: 4px; padding: 0 3px; }
.l-dl--sep { border-top: 1px solid var(--border); padding-top: 16px; }

/* ---- brand ---- */
/* Brand kits (qrcore.brand): a workspace's brand stylesheet, linked after this one, sets
   the colour tokens above, --on-accent (text on buttons) and --brand-font. Without one these
   fall back to the defaults. */
body { font-family: var(--brand-font, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); }
.l-btn:not(.l-btn--secondary), .l-btn:not(.l-btn--secondary):hover { color: var(--on-accent, #fff); }
.l-brand { width: 100%; max-width: 560px; margin: 0 auto; padding: 28px 16px 0; display: flex; justify-content: center; }
.l-brand + .l-main { padding-top: 20px; }
.l-brand__logo { display: block; width: auto; height: auto; max-width: min(240px, 70%); max-height: 56px; object-fit: contain; }

/* ---- pages-content ---- */
/* Language links, menus with allergens and serving times, password-protected pages, print. */
.l-langs { width: 100%; max-width: 560px; margin: 0 auto; padding: 16px 16px 0; }
.l-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.l-langs a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--fg); font-size: 14px; text-decoration: none; }
.l-langs a:hover { background: var(--bg-muted); }
.l-langs a[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); font-weight: 650; }
.l-menu-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.l-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-muted); }
.l-now { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 650; }
.l-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.l-menu-section--now { border-inline-start: 3px solid var(--accent); padding-inline-start: 12px; }
.l-nowrap { white-space: nowrap; }
.l-dish .l-variants, .l-dish .l-marks { grid-column: 1 / -1; }
.l-variants { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.l-variants li { display: flex; justify-content: space-between; gap: 12px; }
.l-dish .l-variant { font-weight: 400; white-space: normal; color: var(--fg-muted); }
.l-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.l-dish .l-tag { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--fg-muted); font-size: 12px; font-weight: 500; }
.l-al { width: 22px; height: 22px; flex: none; color: var(--fg); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.l-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.l-legend ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.l-legend li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.l-lock { width: 40px; height: 40px; fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.l-form { display: flex; flex-direction: column; gap: 16px; }
@media print {
  :root { color-scheme: light; --bg: #fff; --bg-subtle: #fff; --bg-muted: #fff; --border: #b5b5bb; --border-strong: #8c8c94; --fg: #000; --fg-muted: #333; --fg-subtle: #444; --accent: #000; --accent-soft: #fff; --accent-text: #000; }
  @page { margin: 14mm; }
  body { display: block; min-height: 0; background: #fff; color: #000; font-size: 11pt; }
  .l-langs, .l-footer, .l-btn, .l-cover, .l-now, .l-form { display: none !important; }
  .l-main { max-width: none; padding: 0; gap: 10pt; }
  .l-card { padding: 0; border: 0; border-radius: 0; gap: 8pt; }
  .l-menu-section--now { border-inline-start: 0; padding-inline-start: 0; }
  .l-menu-section + .l-menu-section { padding-top: 8pt; border-top: 0.5pt solid #8c8c94; }
  .l-menu-head, h2 { break-after: avoid; }
  .l-dish, .l-legend li { break-inside: avoid; }
  .l-legend { break-inside: avoid; border-top: 0.5pt solid #8c8c94; padding-top: 8pt; }
  a { color: #000; text-decoration: none; }
}

/* ---- new-types ---- */
/* Events, opening hours, pages and reviews. Status words carry the meaning; dots repeat it. */
:root { --open: #15803d; }
@media (prefers-color-scheme: dark) { :root { --open: #4ade80; } }
.l-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 17px; }
.l-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--fg-subtle); }
.l-status--open::before { background: var(--open); }
.l-status--closed::before { background: var(--danger); }
.l-status strong { font-weight: 650; }
.l-hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.l-hours th, .l-hours td { padding: 10px 8px; border-top: 1px solid var(--border); vertical-align: top; }
.l-hours tr:first-child th, .l-hours tr:first-child td { border-top: 0; }
.l-hours th { text-align: left; font-weight: 500; }
.l-hours td { text-align: right; }
.l-hours .l-today th, .l-hours .l-today td { background: var(--accent-soft); font-weight: 650; }
.l-today__label { font-weight: 500; color: var(--fg-muted); }
.l-prose { overflow-wrap: anywhere; }
.l-prose h2 { font-size: 21px; }
.l-prose h3 { margin: 0; font-size: 18px; font-weight: 600; }
.l-prose h4, .l-prose h5, .l-prose h6 { margin: 0; font-size: 16px; font-weight: 600; }
.l-prose p, .l-prose li { line-height: 1.6; }
.l-prose ul, .l-prose ol { margin: 0; padding-left: 1.4em; }
.l-prose li + li, .l-prose li > ul, .l-prose li > ol { margin-top: 6px; }
.l-prose blockquote { margin: 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--border-strong); color: var(--fg-muted); }
.l-prose blockquote p + p { margin-top: 10px; }
.l-prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--bg-muted); }
.l-prose pre { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-muted); white-space: pre-wrap; font-size: 14px; }
.l-prose pre code { padding: 0; background: none; }
.l-prose hr { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--border); }
.l-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.l-prose th, .l-prose td { padding: 6px 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.l-prose th { background: var(--bg-subtle); font-weight: 600; }
.l-prose .align-right { text-align: right; } .l-prose .align-center { text-align: center; }
