* { box-sizing: border-box; }
:root { --brand: #75442c; --ink: #252b27; --muted: #58605a; --line: #dce1db; --paper: #fff; --warm: #f7f6f2; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--brand); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #185abd; outline-offset: 4px; }
[hidden] { display: none !important; }
.menu-page { margin: 0 auto; padding: 24px; max-width: 1060px; }
.menu-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.eyebrow { color: var(--muted); font-size: .82rem; font-weight: 650; margin: 0 0 8px; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.3rem); line-height: 1.15; font-weight: 740; letter-spacing: -.035em; }
.heading-sub { display: block; color: var(--muted); font-size: 1.05rem; font-weight: 450; margin-top: 10px; letter-spacing: 0; }
.print-button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 14px; min-height: 44px; border-radius: 4px; font: inherit; font-size: .86rem; cursor: pointer; white-space: nowrap; }
.view-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.view-tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; text-decoration: none; font-weight: 650; color: var(--muted); border-bottom: 3px solid transparent; }
.view-tabs a[aria-current] { color: var(--brand); border-color: var(--brand); }
.date-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0; }
.date-arrow { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; width: 46px; height: 46px; font-size: 1.3rem; text-decoration: none; }
.date-arrow:hover, .print-button:hover { background: var(--warm); }
.date-label { text-align: center; }
.date-label strong { display: block; font-size: 1.05rem; }
.date-label span { color: var(--muted); font-size: .88rem; }
.return-today { display: block; text-align: center; margin: -7px 0 20px; font-size: .9rem; }
.week-visibility { display: block; width: fit-content; margin: -7px auto 16px; padding: 10px 8px; min-height: 44px; font-size: .9rem; }
.menu-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.menu-day { border: 1px solid var(--line); border-radius: 5px; padding: 20px; min-width: 0; background: #fff; }
.menu-day.is-today { border-top: 4px solid var(--brand); padding-top: 17px; }
.day-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 11px; margin-bottom: 12px; }
h2 { font-size: 1.13rem; margin: 0; font-weight: 720; }
.day-header h2 span { color: var(--muted); font-weight: 450; font-size: .98rem; margin-left: 4px; }
.today-label { font-size: .8rem; font-weight: 700; color: var(--brand); }
.day-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .85rem; margin-bottom: 19px; }
.day-meta strong { color: var(--ink); font-size: .98rem; }
.dish-group + .dish-group { margin-top: 19px; }
.dish-group h3 { color: var(--muted); font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 9px; font-weight: 700; }
.vegetarian-tools { margin: 0 0 16px; }
.vegetarian-tools label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: .9rem; }
.vegetarian-tools input { width: 20px; height: 20px; margin: 0; accent-color: #38623d; }
.highlight-vegetarian [data-vegetarian-main] { background: #f0f5ef; border-left: 4px solid #38623d; padding: 12px; }
.highlight-vegetarian [data-vegetarian-main] h3 { color: #23482b; font-weight: 800; }
.dishes { list-style: none; padding: 0; margin: 0; }
.dishes li + li { margin-top: 13px; }
.dish-main { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-name { font-size: 1rem; font-weight: 520; overflow-wrap: anywhere; }
.dish-price { font-size: .92rem; font-weight: 650; white-space: nowrap; }
.diet-label { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; overflow-wrap: anywhere; }
.day-note { color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); margin: 18px 0 0; padding-top: 12px; white-space: pre-line; }
.closed-label { font-weight: 650; margin: 8px 0; }
.is-closed { background: var(--warm); }
.unpublished { color: var(--muted); font-size: .92rem; margin: 10px 0; }
.empty-state { background: var(--warm); border: 1px solid var(--line); padding: 28px; border-radius: 5px; }
.empty-state p { color: var(--muted); margin-bottom: 0; }
.sync-warning { color: #673a0b; background: #fff5df; border-left: 3px solid #a15b0b; padding: 14px 16px; font-size: .9rem; }
.preview-notice { background: var(--warm); border-left: 3px solid var(--brand); padding: 12px 14px; color: var(--muted); font-size: .85rem; margin: 0 0 16px; }
.single-day { grid-template-columns: 1fr; }
.single-day .menu-day { padding: 24px; }
.single-day .dish-name { font-size: 1.1rem; }
.menu-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .76rem; color: var(--muted); margin-top: 24px; }
.menu-footer p { flex-basis: 100%; margin: 0 0 4px; }
@media (max-width: 580px) {
  .menu-page { padding: 16px; }
  .menu-header { gap: 10px; margin-bottom: 18px; }
  .menu-header { flex-wrap: wrap; }
  .menu-days { grid-template-columns: 1fr; gap: 12px; }
  .menu-day, .single-day .menu-day { padding: 18px; }
  .menu-day.is-today { padding-top: 15px; }
  .view-tabs a { flex: 1; justify-content: center; padding-left: 8px; padding-right: 8px; }
  .empty-state { padding: 22px; }
}


.publication-summary { padding: 12px 14px; background: #f1f4ef; font-size: .9rem; border: 1px solid var(--line); }
.planning-help { color: var(--muted); font-size: .82rem; }
.publication-state { display: inline-block; font-size: .72rem; font-weight: 700; margin-bottom: 3px; padding: 2px 6px; border: 1px solid #b8c0b4; border-radius: 3px; }
.publication-state.is-draft { background: #fff5df; color: #673a0b; border-color: #d8bc8c; }
.publication-state.is-ready { background: #ecf4ed; color: #245743; }
.date-arrow.is-disabled { color: #adb3ac; background: #f7f7f4; }

.day-prices { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 10px; }
.day-prices summary { cursor: pointer; min-height: 44px; display: list-item; padding: 10px 0; font-size: .9rem; font-weight: 650; }
.day-prices dl { margin: 8px 0; }
.day-prices dl > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.day-prices dt small { display: block; color: var(--muted); font-size: .78rem; }
.day-prices dd { margin: 0; font-weight: 650; text-align: right; max-width: 145px; overflow-wrap: anywhere; }

.day-prices h3 { color: var(--muted); font-size: .78rem; font-weight: 650; margin: 10px 0 4px; }

.print-button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height:44px; }
.print-view .view-tabs, .print-view .date-arrow, .print-view .return-today, .print-view .week-visibility, .print-view .vegetarian-tools { display:none; }
.newsletter-tools { border-top:1px solid var(--line); margin-top:24px; padding-top:20px; }
.newsletter-tools h2 { font-size:1.15rem; }
.newsletter-tools p, .privacy-note { color:var(--muted); font-size:.88rem; line-height:1.6; }
.trap { position:absolute; left:-10000px; }
form[data-newsletter-form] { max-width:650px; }
form[data-newsletter-form] input[type=email] { display:block; width:100%; border:1px solid var(--line); padding:12px; font:inherit; margin:8px 0 18px; }
.consent { display:flex; align-items:flex-start; gap:10px; line-height:1.5; margin:16px 0; }
form[data-newsletter-form] button { padding:12px 18px; font:inherit; font-weight:650; background:var(--brand); color:white; border:0; border-radius:4px; min-height:44px; cursor:pointer; }
form[data-newsletter-form] button:disabled { opacity:.65; }

.purchase-filters { display:flex; flex-wrap:wrap; gap:16px; align-items:end; margin:24px 0; }
.purchase-filters label { display:grid; gap:6px; }
.purchase-filters select, .purchase-filters input, .purchase-product input[type=text] { font:inherit; max-width:100%; padding:10px; border:1px solid var(--line); }
.purchase-product { border-top:1px solid var(--line); padding:18px 0; }
.purchase-product p, .purchase-product li { font-size:.9rem; line-height:1.5; }
.purchase-product input[type=text] { display:block; margin-top:8px; }
.purchase-filters button, .purchase-product ~ button { font:inherit; min-height:44px; padding:10px 18px; color:#fff; background:var(--brand); border:0; cursor:pointer; }

.print-view .day-prices { display:none; }
.print-prices { margin-top:18px; border-top:1px solid var(--line); padding-top:12px; }
.print-prices dl { margin:8px 0; }
.print-prices dl > div { display:flex; justify-content:space-between; gap:16px; padding:3px 0; }
.print-prices dd { margin:0; white-space:nowrap; }
.print-prices small { font-size:inherit; color:var(--muted); }





/* Printing uses a complete selected week and a separate consolidated tariff. */
@media print {
  @page { margin:12mm; }
  body { font-size:9pt; line-height:1.3; }
  .menu-page { max-width:none; padding:0; }
  .view-tabs, .date-arrow, .print-button, .return-today, .week-visibility,
  .vegetarian-tools, .print-help, .newsletter-tools, .today-label, .day-prices { display:none!important; }
  h1 { font-size:19pt; }
  .heading-sub { font-size:10pt; }
  .eyebrow { font-size:8pt; margin:0 0 3px; }
  .menu-header { margin-bottom:5px; }
  .date-navigation { margin:4px 0 10px; justify-content:flex-start; }
  .date-label { text-align:left; font-size:9pt; }
  .menu-days { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:start; }
  .menu-day, .menu-day.is-today { break-inside:avoid; padding:7px; margin:0; border:1px solid #bbb; }
  .day-header { margin:0 0 5px; padding:0 0 4px; }
  .day-header h2, .day-header h2 span { font-size:10pt; }
  .day-meta { margin-bottom:5px; gap:4px; font-size:8pt; }
  .day-meta strong { font-size:9pt; }
  .dish-group + .dish-group { margin-top:5px; }
  .dish-group h3 { font-size:7.5pt; margin:0 0 3px; letter-spacing:.02em; }
  .dishes li { line-height:1.3; }
  .dishes li + li { margin-top:3px; }
  .dish-main { display:inline; }
  .dish-name { font-size:9pt; font-weight:520; }
  .dish-price { font-size:9pt; margin-left:5px; }
  .diet-label { display:inline; font-size:8pt; margin-top:0; margin-left:4px; }
  .day-note { margin-top:7px; padding-top:5px; font-size:8pt; }
  .print-prices { break-inside:avoid; margin-top:10px; padding-top:6px; font-size:8pt; }
  .print-prices h2 { font-size:10pt; }
  .print-prices dl { columns:2; column-gap:20px; }
  .print-prices dl > div { break-inside:avoid; }
  .menu-footer { display:block; margin-top:6px; font-size:8pt; }
  .menu-footer > span { display:none; }
  .highlight-vegetarian [data-vegetarian-main] { background:transparent; padding:0 0 0 4px; }
}
