:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    --ink: #153c32;
    --muted: #50675f;
    --paper: #f7f5ed;
    --white: #fffdf7;
    --line: #d8ded1;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
a, button, input, summary, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a77729; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; }
summary { cursor: pointer; }
.guest {
    --guest-header-height: 79px;
    --guest-tabs-height: 62px;
    background: var(--paper);
    color: var(--ink);
}
.guest-shell { width: min(100% - 36px, 760px); margin-inline: auto; }
.guest-header {
    position: sticky; top: 0; z-index: 2; background: #153c32;
    border-bottom: 1px solid #a78a55;
}
.guest-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: calc(var(--guest-header-height) - 1px); }
.brand { display: block; flex: 0 1 194px; }
.brand img { display: block; width: 100%; height: auto; }
.language-picker { position: relative; flex: none; }
.language-picker summary {
    display: flex; align-items: center; list-style: none; gap: 8px; min-height: 42px;
    padding: 0 11px; border: 1px solid #acbaac; border-radius: 8px;
    background: var(--white); font-size: 0.88rem; font-weight: 700;
}
.language-picker summary::-webkit-details-marker { display: none; }
.globe {
    width: 16px; height: 16px; display: inline-grid; place-items: center;
    position: relative; border: 1.5px solid currentColor; border-radius: 50%;
}
.globe::before { content: ""; width: 7px; height: 100%; border: 1px solid currentColor; border-block: 0; border-radius: 50%; }
.globe::after { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 1px solid currentColor; }
.chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.language-picker > ul {
    position: absolute; top: calc(100% + 8px); right: 0; width: 168px;
    margin: 0; padding: 5px; max-height: min(60vh, 420px); overflow: auto;
    list-style: none; background: var(--white); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: 0 12px 28px #143d331f;
}
.language-picker a { display: block; min-height: 42px; padding: 10px; border-radius: 5px; text-decoration: none; }
.language-picker a:hover, .language-picker a[aria-current] { background: #e5ece0; }
.guest-main { padding-block: 25px 32px; }
.guest h1 {
    font: 500 clamp(2.05rem, 7vw, 3.65rem)/1.05 Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em; margin: 0 0 17px;
}
.guest-tabs {
    position: sticky;
    inset-block-start: var(--guest-header-height);
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 62px;
    padding-block: 10px;
    border-block-end: 1px solid var(--line);
    background: var(--paper);
}
.guest-tabs a, .guest-categories a {
    display: inline-flex; align-items: center; min-height: 40px; text-decoration: none;
    font-weight: 650; font-size: 0.87rem; border-radius: 7px; padding: 7px 10px;
}
.guest-tabs a { max-width: 100%; overflow-wrap: anywhere; background: #e9eee2; border-block-end: 3px solid var(--tab-color, transparent); }
.guest-tabs a:focus-visible { outline-offset: -3px; }
.guest-tabs a[aria-current], .guest-tabs a:hover { color: white; background: var(--ink); }
.guest-macro-description { margin-block: 0 17px; color: var(--muted); white-space: pre-line; }
.macro-centered :is(.guest-macro-heading, .menu-section > h2, .dish-intro, .dish-description) { text-align: center; }
.macro-centered :is(.guest-categories, .dish .tags, .dish-heading) { justify-content: center; }
.macro-centered .dish-heading { flex-wrap: wrap; }
.guest-categories { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 17px 24px; }
.guest-categories a { border: 1px solid #b5c0af; background: var(--white); }
.guest-categories a:hover { background: #e5ece0; }
.menu-section { scroll-margin-top: calc(var(--guest-header-height) + 12px); margin-block-end: 26px; }
.guest-tabs ~ .menu-section { scroll-margin-top: calc(var(--guest-header-height) + var(--guest-tabs-height) + 12px); }
.menu-section > h2 {
    font: 500 clamp(1.55rem, 5vw, 2.25rem)/1.1 Georgia, "Times New Roman", serif;
    padding-block: 3px 10px; border-bottom: 2px solid var(--macro-color, #9d7744);
}
.dish { padding-block: 14px; border-bottom: 1px solid var(--line); }
.dish.has-photo { display: flow-root; }
.dish-photo {
    float: inline-end;
    width: min(32vw, 220px, 39%);
    height: auto;
    max-height: 190px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 0 8px 12px;
    margin-inline: 12px 0;
    border-radius: 8px;
}
.dish-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish-heading h3 { font-size: 1rem; font-weight: 760; line-height: 1.25; overflow-wrap: anywhere; }
.dish-price { white-space: nowrap; font-weight: 720; font-size: .9rem; }
.dish-description, .dish-intro { color: #344e44; font-size: .95rem; line-height: 1.52; white-space: pre-line; overflow-wrap: anywhere; }
.dish-description { margin-block: 5px 0; }
.dish-intro { padding-block: 13px; border-bottom: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 5px 6px; margin: 9px 0 0; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; gap: 4px; font-size: .73rem; line-height: 1.2; padding: 3px 7px; border-radius: 5px; }
.allergens li { background: #e5ecdf; color: #214636; }
.notes li { border: 1px solid #d9c8a4; color: #57442b; }
.additives li { border: 1px solid #cbd6cc; color: #36524a; }
.tags .trm-icon { width: 1em; height: 1em; flex: none; }
.menu-empty { padding-block: 24px; }
.guest-footer { border-top: 1px solid var(--line); padding-block: 14px 0; color: var(--muted); font-size: .85rem; }
.guest-footer summary { font-weight: 700; color: var(--ink); }
.guest-footer p { line-height: 1.5; margin-block: 9px 0; }
.guest-back-top {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
}
.guest-back-top:hover { background: #285849; }
.guest-back-top.is-floating {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 3;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
}
.guest-back-top[hidden] { display: none; }
@media (max-width: 620px) {
    .guest { --guest-tabs-height: 107px; }
    .guest-tabs { padding-block: 7px; }
}

.staff {
    color: #f3f5ed; background: #14251f; color-scheme: dark;
    --staff-ink: #f3f5ed; --staff-muted: #b8c8be; --staff-line: #3e574d; --staff-panel: #1c3229;
}
.staff-shell { width: min(100% - 32px, 940px); margin-inline: auto; }
.staff-header { background: #102720; border-bottom: 1px solid var(--staff-line); }
.staff-top, .staff-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.staff-top { min-height: 64px; }
.staff-brand { text-decoration: none; font: 500 1.5rem Georgia, serif; }
.staff-brand span { color: var(--staff-muted); font: 600 .82rem system-ui, sans-serif; }
.staff-main { padding-block: 20px 35px; }
.staff-title { margin-block: 0 16px; }
.staff h1 { font-size: clamp(1.6rem, 5vw, 2.25rem); line-height: 1.1; letter-spacing: -.035em; }
.staff .button {
    display: inline-flex; gap: 5px; align-items: center; justify-content: center; min-height: 42px;
    border-radius: 7px; border: 1px solid transparent; padding: 8px 11px;
    font-size: .88rem; line-height: 1.3; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
}
.staff .primary { background: #e0edbf; color: #193226; }
.staff .primary:hover { background: #f1f8d9; }
.staff .secondary { border-color: var(--staff-line); background: #223c31; color: var(--staff-ink); }
.staff .secondary:hover, .staff-tabs [aria-current=page] { border-color: #a1c4a6; background: #385746; }
.staff .danger { background: #793c3c; color: #fff1eb; }
.staff button:disabled { opacity: .55; cursor: default; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: .83rem; color: var(--staff-muted); }
.notice { border: 1px solid #5b815f; background: #25442f; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.notice.error { border-color: #bf7771; background: #502e2c; }
.menu-cards { display: grid; gap: 9px; margin-block-end: 17px; }
.menu-card, .staff-box, .editor {
    border: 1px solid var(--staff-line); border-radius: 10px; background: var(--staff-panel);
}
.menu-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; }
.menu-card h2 { font-size: 1.08rem; }
.menu-card p { font-size: .82rem; color: var(--staff-muted); margin-top: 3px; }
.staff-box { margin: 0 0 8px; }
.staff-box > summary { padding: 13px; font-weight: 700; }
.staff-box > summary span { margin-inline-start: 7px; font-size: .76rem; font-weight: 600; color: var(--staff-muted); }
.staff-box[open] > summary { border-bottom: 1px solid var(--staff-line); }
.tools-panel, .category-body { display: grid; gap: 9px; padding: 11px; }
.tools-panel p, .tools-panel label { font-size: .86rem; color: var(--staff-muted); line-height: 1.5; }
.tools-panel form { display: grid; justify-items: start; gap: 6px; }
.tools-panel input[type=checkbox] { margin-inline-start: 0; }
.qr-panel { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.qr-panel img { width: min(24vw, 128px); height: auto; border-radius: 5px; }
.qr-panel p { overflow-wrap: anywhere; margin-bottom: 5px; }
.staff-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 0 14px; }
.staff .add-row { border: 1px dashed #739181; color: #e0edbf; }
.staff .add-row:hover { background: #254432; }
.staff-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #162a22; padding: 9px 10px; min-height: 44px;
    border: 1px solid transparent; border-radius: 6px; text-decoration: none;
}
a.staff-row:hover { border-color: #739181; }
.staff-row strong, .staff-row small { display: block; overflow-wrap: anywhere; }
.staff-row strong { font-size: .86rem; }
.staff-row small, .staff-row-price { color: var(--staff-muted); font-size: .77rem; }
.staff-row-price { white-space: nowrap; }
.staff-row-price > span { margin-inline-start: 2px; }
.editor { display: grid; gap: 13px; padding: 13px; margin-bottom: 12px; }
.editor :is(label, legend) { font-size: .86rem; font-weight: 650; }
.editor :is(input:not([type=checkbox]), select, textarea) {
    width: 100%; min-height: 43px; color: var(--staff-ink); padding: 8px;
    margin-block-start: 3px; border: 1px solid #536e61; border-radius: 5px; background: #122921;
    font-size: 1rem; font-weight: 450;
}
.editor textarea { resize: vertical; }
.editor fieldset { margin: 0; min-width: 0; padding: 7px; border: 1px solid var(--staff-line); border-radius: 7px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 140px), 1fr)); gap: 4px; }
.check-grid label, .editor .toggle { display: flex; align-items: center; gap: 4px; min-height: 38px; }
.check-grid label { background: #203b2e; border-radius: 5px; padding: 3px; }
.editor input[type=checkbox], .tools-panel input[type=checkbox] { accent-color: #e0edbf; inline-size: 17px; block-size: 17px; flex: none; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.editor-notes > summary { padding-block: 5px; font-size: .85rem; font-weight: 700; }
.remove-box > summary { color: #ffd4ce; }
@media (min-width: 700px) {
    .guest { --guest-header-height: 91px; }
    .guest-shell { width: min(100% - 64px, 760px); }
    .guest-main { padding-block-start: 34px; }
    .brand { flex-basis: 222px; }
    .guest-tabs a, .guest-categories a { padding-inline: 14px; }
    .dish { padding-block: 17px; }
    .dish-heading h3 { font-size: 1.08rem; }
    .menu-cards { grid-template-columns: 1fr 1fr; }
    .staff-main { padding-block-start: 26px; }
    .editor { padding: 19px; }
    .check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
