@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f3f6f3;
  --paper: #fff;
  --ink: #171e1a;
  --muted: #59665f;
  --line: #dce5df;
  --accent: #287460;
  --deep: #122f27;
  --tint: #e7f2eb;
  --good: #225c43;
  --danger: #a03236;
  --shadow: 0 16px 50px #1d392012;
  --radius: 20px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131a17;
  --paper: #1c2520;
  --ink: #edf3ef;
  --muted: #adbbb1;
  --line: #35453b;
  --tint: #263c31;
  --good: #a5dbc0;
  --danger: #ffc1c1;
  --shadow: 0 16px 50px #0003;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 1rem/1.65 system-ui, "Segoe UI", Tahoma, sans-serif; }
body.font-modern { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
body.font-serif { font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bc7f48; outline-offset: 3px; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.24; font-weight: 750; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h3 { font-size: 1.12rem; }
p { margin-block-end: 1rem; }
p:last-child { margin-block-end: 0; }
hr { border: 0; border-block-start: 1px solid var(--line); opacity: 1; margin: .25rem 0; }
small, .muted { color: var(--muted); }
small { font-size: .875rem; }
.container-wide, .menu-width { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.menu-width { max-width: 1120px; }
.top, .foot, .section-top, .workspace-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.top { min-height: 76px; padding-block: .7rem; }
.foot { border-block-start: 1px solid var(--line); color: var(--muted); margin-block: 3rem 1rem; padding-block: 1.1rem; font-size: .88rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; line-height: 1.2; min-width: 0; }
.wordmark span:last-child { overflow-wrap: anywhere; }
.wordmark img, .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; object-fit: contain; }
.wordmark img { background: #fff; }
.brand-mark { display: grid; place-items: center; background: #17392f; color: #dcf7e7; font-size: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 42px; border: 1px solid transparent; border-radius: 11px; padding: .45rem .84rem; color: #fff; background: #276852; background: color-mix(in srgb, var(--accent), #0b2118 50%); text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.35; text-align: center; }
.button:hover { filter: brightness(1.09); color: #fff; text-decoration: none; }
.button:disabled { opacity: .65; cursor: wait; }
.button.quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button.quiet:hover { background: var(--tint); color: var(--ink); filter: none; }
.button.danger { color: var(--danger); background: transparent; border-color: var(--line); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.inline { display: inline; margin: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 3vw, 1.6rem); min-width: 0; overflow-wrap: anywhere; }
.panel + .panel { margin-block-start: 1rem; }
.center { display: grid; place-items: center; padding: 1rem 1rem 3rem; min-height: 72vh; }
.compact { width: min(100%, 680px); }
.compact h1 { margin-block-end: 1rem; }
.compact form.stack { margin-block-start: 1.2rem; }
.auth-page { background: radial-gradient(ellipse at 70% 8%, var(--tint), transparent 60%), var(--bg); }
.stack { display: grid; gap: 1rem; }
.stack > .button { justify-self: start; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field span, .check { font-size: .9rem; font-weight: 650; }
.form-control, .form-select { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background-color: var(--paper); }
.form-control:focus, .form-select:focus { background-color: var(--paper); color: var(--ink); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent),transparent 78%); }
.form-control::placeholder { color: var(--muted); }
.form-select { appearance: auto; background-image: none; }
.form-control[type="color"] { max-width: 100px; padding: .35rem; }
.form-control[type="file"] { padding: .4rem; font-size: .85rem; }
.check { display: flex; align-items: center; gap: .4rem; min-height: 40px; padding-inline-end: .65rem; }
.check input { min-width: 1.1rem; min-height: 1.1rem; accent-color: var(--accent); margin: 0; }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 1rem; }
.notice { margin-block-end: 1rem; padding: .72rem 1rem; background: var(--tint); color: var(--good); border: 1px solid var(--line); border-radius: 12px; }
.notice.error { color: var(--danger); background: color-mix(in srgb,var(--paper),var(--danger) 8%); }
.empty { text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); padding: 1.7rem 1rem; margin-block: 1rem; }
.app-shell { display: grid; min-height: 100vh; }
.sidebar { background: #142e26; color: #f3fcf7; padding: 1rem; display: grid; gap: 1rem; align-content: start; }
.sidebar nav { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin; }
.side-link { display: flex; align-items: center; gap: .55rem; white-space: nowrap; min-height: 44px; color: #d1e2d8; border-radius: 10px; padding: .55rem .7rem; font-size: .92rem; font-weight: 650; }
.side-link:hover, .side-link.current { text-decoration: none; color: #fff; background: #ffffff19; }
.side-link span { color: #a8d8bd; font-size: 1.1rem; }
.sidebar .button.quiet { color: #e8f7ee; background: #ffffff10; border-color: #ffffff37; }
.workspace { min-width: 0; width: 100%; padding: clamp(1rem,3vw,2.65rem); max-width: 1520px; }
.workspace-top { margin-block-end: 1.2rem; flex-wrap: wrap; }
.workspace-top h1 { margin: .2rem 0 0; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 145px; padding: clamp(1rem,4vw,2.3rem); margin-block-end: 1rem; border-radius: var(--radius); background: radial-gradient(ellipse at top left,#305d4a,transparent 70%),#18372d; color: #fcfff9; overflow-wrap: anywhere; }
.callout p { color: #d2e0d8; }
.callout .button { background: #d9f0e0; color: #16342a; }
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,155px),1fr)); gap: .8rem; margin-block-end: 1rem; }
.stats .panel { margin: 0; }
.stat { display: grid; gap: .3rem; }
.stat strong { font-size: clamp(1.55rem,3vw,2.3rem); line-height: 1.15; }
.stat > span:last-child { color: var(--muted); font-size: .88rem; }
.stat-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--good); background: var(--tint); font-weight: 700; margin-block-end: .35rem; }
.section-top { flex-wrap: wrap; margin-block-end: 1rem; }
.section-top h2 { margin: 0; }
.filter { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; margin-block-end: 1.2rem; }
.filter .field:first-of-type { flex: 1 1 235px; }
.table-wrap { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; text-align: start; font-size: .92rem; }
.data-table th, .data-table td { border-block-end: 1px solid var(--line); text-align: start; vertical-align: middle; padding: .68rem .55rem; }
.data-table th { color: var(--muted); background: var(--bg); white-space: nowrap; font-weight: 650; }
.data-table td:last-child .actions { min-width: max-content; }
.data-table td a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.pagination-controls { justify-content: center; margin-block-start: 1rem; }
.pill { display: inline-flex; align-items: center; width: fit-content; border-radius: 100px; padding: .14rem .55rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pill.positive { background: var(--tint); color: var(--good); }
.pill.featured { background: #ffeed7; color: #79390f; border-color: #f3deb8; }
.thumb { display: block; width: 90px; height: 62px; object-fit: cover; border-radius: 10px; margin-block-end: .35rem; }
.thumb.small { width: 44px; height: 44px; margin: 0; }
.product-cell { display: flex; align-items: center; gap: .55rem; min-width: 125px; }
.hours-line { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: .5rem; padding-block: .55rem; border-block-end: 1px solid var(--line); }
.hours-line strong { grid-column: 1/-1; }
.share-layout { display: grid; gap: 1rem; }
.share-layout .panel { margin: 0; align-content: start; }
.qr-panel { display: grid; justify-items: center; gap: .65rem; text-align: center; }
.qr-panel img { display: block; width: min(100%,240px); height: auto; aspect-ratio: 1; border: 1px solid #e0e7e0; border-radius: 10px; }
.landing-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 420px; border-radius: 32px; color: #f5fbf6; background: #142e26; border: 1px solid #3b574a; }
.landing-copy { padding: clamp(1.5rem,7vw,5.5rem); max-width: 670px; }
.landing-copy h1 { font-size: clamp(2rem,5.7vw,4.2rem); }
.landing-copy p { color: #d1e5d6; max-width: 38ch; }
.landing-copy .quiet { background: transparent; border-color: #aabfb2; color: #f5faf6; }
.landing-copy .quiet:hover { background: #304b3d; color: #fff; }
.landing-copy .button:not(.quiet) { background: #d8f1e0; color: #142e26; }
.landing-art { position: absolute; inset: 0; z-index: -1; opacity: .38; overflow: hidden; pointer-events: none; }
.art-plate { position: absolute; inset-inline-end: -10%; top: -17%; width: min(70vw,540px); aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle,#3b6c54 0 2px,#1d4031 4px 15px); }
.art-ring { position: absolute; inset-inline-end: 12%; bottom: -58px; width: 280px; aspect-ratio: 1; border-radius: 50%; border: 26px solid #7a9f75; }
.art-card { position: absolute; inset-inline-end: 10%; top: 24%; width: 160px; padding: 1.4rem; aspect-ratio: .8; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; transform: rotate(-12deg); background: #d7e8c9; border-radius: 20px; }
.art-card i { background: #315b44; border-radius: 6px; }
.art-card i:last-child { background: repeating-linear-gradient(45deg,#243e32 0 6px,#d7e8c9 6px 11px); }
.menu-page { --bg: #f8f6f1; --line: #e7e1d6; --shadow: 0 12px 34px #3a292611; }
html[data-theme="dark"] .menu-page { --bg: #181b17; --line: #35453b; --shadow: 0 16px 50px #0003; }
.menu-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: clamp(265px,39vw,460px); border-radius: clamp(18px,4vw,31px); background: radial-gradient(ellipse at top left,var(--accent),transparent 64%), var(--deep); color: #fff; }
.menu-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#07100ce8 0%,#10151066 60%,#10151039 100%); }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.hero-content { padding: clamp(1rem,5vw,3rem); }
.hero-content h1 { font-size: clamp(2.1rem,7.4vw,4.3rem); margin-block-end: .55rem; }
.hero-content p { color: #f2f0e6; margin-block-end: .7rem; max-width: 60ch; }
.hero-content .actions { margin-block-start: .85rem; }
.hero-button { background: #14251edc; border-color: #ffffff5b; }
.menu-address { font-size: .9rem; }
.menu-info { display: grid; gap: .6rem; margin-block-start: .8rem; align-items: start; }
.hours-public { padding: .65rem .85rem; }
.hours-public summary { cursor: pointer; font-weight: 700; }
.hours-public dl { margin: .6rem 0 0; }
.hours-public dl div { display: flex; justify-content: space-between; gap: .65rem; padding-block: .15rem; }
.hours-public dd { margin: 0; }
.menu-tools { display: grid; gap: .75rem; padding: .95rem 0 .7rem; background: var(--bg); }
.category-nav { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: thin; padding-block: .15rem .35rem; }
.category-nav a { display: inline-flex; align-items: center; min-height: 42px; flex: 0 0 auto; border: 1px solid var(--line); background: var(--paper); border-radius: 100px; padding: .4rem .85rem; font-weight: 700; font-size: .88rem; color: var(--ink); }
.category-nav a:hover, .category-nav a[aria-current="location"] { text-decoration: none; background: var(--tint); color: var(--good); }
.category-section { margin-block-start: 1.2rem; scroll-margin-top: 8rem; }
.category-section h2 { margin-block-end: .65rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: .8rem; }
.dish { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.dish-image { width: 100%; height: clamp(155px,22vw,220px); object-fit: cover; }
.dish-body { display: flex; flex: 1; flex-direction: column; gap: .55rem; padding: 1rem; }
.dish-body h3, .dish-body p { margin: 0; overflow-wrap: anywhere; }
.dish-tags, .dish-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.dish-bottom { justify-content: space-between; margin-block-start: auto; padding-block-start: .2rem; }
.dish-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .91rem; color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .45rem; font-weight: 800; }
del { color: var(--muted); font-size: .85rem; font-weight: 500; }
dialog { max-width: min(100% - 1.4rem,560px); width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: #101c17b8; }
.dialog-body { padding: 1rem; }
.dialog-close { display: flex; margin-inline-start: auto; margin-block-end: .6rem; font-size: 1.3rem; }
.qr-panel form { width: 100%; }
.detail-image { width: 100%; max-height: 270px; object-fit: cover; border-radius: 12px; margin-block-end: .75rem; }
@media (min-width: 650px) {
  .share-layout { grid-template-columns: 1.4fr 1fr; }
  .hours-line { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .hours-line strong { grid-column: auto; align-self: center; }
  .menu-info { grid-template-columns: 1fr auto; }
  .menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 900px) {
  .app-shell { grid-template-columns: 235px minmax(0,1fr); align-items: start; }
  .sidebar { position: sticky; inset-block-start: 0; min-height: 100vh; grid-template-rows: auto 1fr auto; padding: 1.3rem; }
  .sidebar nav { display: grid; align-content: start; margin-block-start: .9rem; overflow: visible; }
  .menu-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .menu-tools { position: sticky; top: 0; z-index: 2; }
}
@media (max-width: 460px) {
  .top .actions { justify-content: end; }
  .top .button { padding-inline: .55rem; }
  .top .theme-toggle { font-size: .78rem; }
  .data-table td:last-child .actions { min-width: 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .side-link, .category-nav a { transition: background-color .17s ease, filter .17s ease; }
  dialog[open] { animation: appear .18s ease-out; }
  @keyframes appear { from { transform: translateY(8px); opacity: .5; } to { transform: none; opacity: 1; } }
}
@media print {
  .sidebar,.workspace-top,.share-layout > section:first-child,.qr-panel .button { display: none; }
  .app-shell,.share-layout { display: block; }
  .qr-panel { box-shadow: none; border: 0; }
}
