:root {
    color-scheme: light;
    --canvas: #faf8f4;
    --paper: #fffcf8;
    --white: #fff;
    --text: #282520;
    --muted: #685f55;
    --line: #e8dfd3;
    --accent: #9c3e24;
    --accent-dark: #79301c;
    --peach: #f7e7dc;
    --green: #355b42;
    --shadow: 0 2px 6px #30201009;
    font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--canvas);
    color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .53; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
strong, b { font-weight: 670; }
small { font-size: .82rem; }
svg { flex-shrink: 0; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 14px; background: var(--white); }
.muted, .help { color: var(--muted); }
.help { font-size: .87rem; }
.button, .text-button, .icon-button, .text-link {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
}
.button { min-height: 42px; padding: .5rem .95rem; border: 1px solid transparent; border-radius: 9px; font-size: .88rem; font-weight: 680; text-align: center; }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover:not(:disabled) { background: var(--accent-dark); }
.button-outline { background: var(--paper); border-color: var(--line); }
.button-outline:hover:not(:disabled) { background: var(--peach); border-color: #e0bfae; }
.full { width: 100%; }
.text-link, .text-button { color: var(--accent-dark); font-size: .86rem; font-weight: 640; }
.text-link:hover, .text-button:hover, .subtle-link:hover { text-decoration: underline; }
.text-button { padding: .35rem; background: none; border: 0; }
.icon-button { padding: 0; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--canvas); color: var(--accent); }

.app-shell { --sidebar-width: 234px; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; z-index: 4; padding: 27px 19px 18px; border-right: 1px solid var(--line); background: var(--paper); }
.sidebar-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.brand { display: inline-flex; align-items: center; gap: 7px; width: max-content; max-width: 100%; min-height: 44px; font: 700 1.55rem/1 Georgia, serif; letter-spacing: -.025em; }
.brand img { display: block; flex: none; width: 34px; height: 34px; }
.workspace, .profile { display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; color: var(--text); }
.workspace { background: #f6f0e9; border-radius: 10px; min-height: 63px; padding: 10px; }
.workspace b, .profile b, .workspace small, .profile small, .top-group { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace b, .profile b { font-size: .88rem; }
.workspace small, .profile small { color: var(--muted); font-size: .72rem; }
.workspace-icon, .avatar { display: grid; align-items: center; justify-items: center; width: 34px; height: 34px; border-radius: 9px; background: #ece0d1; color: #693e28; }
.avatar { background: #efdace; border-radius: 50%; font-size: .75rem; font-weight: 750; }
.workspace-switch summary { cursor: pointer; list-style: none; }
.workspace-switch summary::-webkit-details-marker { display: none; }
.account-menu { display: grid; padding: 5px 0 0; }
.account-menu a { display: flex; align-items: center; gap: 5px; padding: 5px 8px; color: var(--accent-dark); font-size: .83rem; overflow-wrap: anywhere; }
.account-menu a:hover { text-decoration: underline; }
.site-nav { display: grid; gap: 5px; }
.site-nav a { display: flex; align-items: center; gap: 11px; min-height: 45px; padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: .89rem; font-weight: 640; }
.site-nav a:hover { background: #f7f0e8; }
.site-nav a[aria-current] { color: var(--accent-dark); background: var(--peach); }
.sidebar-bottom { border-top: 1px solid var(--line); padding-top: 13px; }
.profile { min-height: 46px; }
.profile-demo:hover { color: var(--accent-dark); }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-inner, .main { max-width: 1380px; margin-inline: auto; padding-inline: clamp(24px, 3.2vw, 48px); }
.top-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.desktop-title { font-size: .92rem; }
.top-actions { display: flex; gap: 15px; align-items: center; min-width: 0; font-size: .85rem; }
.subtle-link, .top-group { color: var(--muted); font-weight: 635; }
.mobile-brand, .mobile-account, .mobile-teams { display: none; }
.mobile-brand { min-width: 0; }
.mobile-teams { min-width: 0; }
.mobile-teams .team-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { padding-block: 27px 54px; }
.notice { display: flex; align-items: center; gap: 8px; padding: 10px 13px; margin-bottom: 16px; border-radius: 9px; background: #eaf1e9; color: var(--green); font-size: .88rem; }
.notice-error { background: #fae9e3; color: #823722; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 49%; min-height: 239px; overflow: hidden; margin-bottom: 29px; isolation: isolate; border: 1px solid #ecded0; border-radius: 15px; background: #f2e6d7; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 25px 32px 28px; }
.hero-copy h1, .page-heading h1, .standalone h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.053em; line-height: .96; }
.hero-copy h1 { font-size: clamp(2.85rem, 5vw, 5.2rem); margin: 8px 0 11px; }
.hero-copy > p:last-child { color: #544338; font-size: .91rem; max-width: 33ch; }
.hero-date { display: flex; align-items: center; gap: 6px; color: #743d29; font-size: .80rem; font-weight: 725; }
.hero-date span { font-weight: 500; }
.hero-photo { height: 100%; background: url("/assets/hero.jpg") center 52% / cover; }
.hero-caption { position: absolute; bottom: 8px; right: 10px; border-radius: 4px; background: #332015ce; color: white; font-size: .64rem; padding: 2px 5px; }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 31%); gap: clamp(15px, 2.2vw, 28px); align-items: start; }
.menu-column { min-width: 0; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 55px; margin-bottom: 13px; }
.section-top h2 { font-size: 1.65rem; }
.provider-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 620; margin-top: 5px; flex-wrap: wrap; }
.provider-mark { display: inline-grid; place-items: center; height: 19px; width: 19px; border-radius: 5px; color: #8d3523; background: #f4e3db; font-size: .72rem; font-weight: 800; }
.provider-line .text-link { margin-left: 4px; font-size: .78rem; }
.week-control {
    position: relative;
    max-width: 100%;
    font-size: .88rem;
    line-height: 1.3;
}
.page-heading .week-control { margin-inline-start: auto; }
.week-control summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 6px 10px 6px 6px;
    list-style: none;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.week-control summary::-webkit-details-marker { display: none; }
.week-control summary:hover, .week-control[open] summary { border-color: var(--green); }
.week-calendar, .week-order-mark { display: grid; flex: none; place-items: center; }
.week-calendar { width: 38px; height: 38px; border-radius: 9px; background: var(--canvas); color: var(--muted); }
.week-trigger-date, .week-option-date { display: grid; gap: 2px; min-width: 0; }
.week-trigger-date strong { font-size: .98rem; }
.week-trigger-date small, .week-option-date small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.week-chevron { display: flex; align-items: center; align-self: stretch; padding-inline-start: 7px; border-inline-start: 1px solid var(--line); color: var(--muted); }
.week-control[open] .week-chevron svg { transform: rotate(180deg); }
.week-panel {
    position: absolute;
    z-index: 4;
    inset-inline-end: 0;
    top: calc(100% + 7px);
    width: min(21rem, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 10px 30px #222d202b, 0 2px 5px #222d2014;
}
.week-panel-head { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.week-options { position: relative; display: grid; gap: 3px; max-height: min(19rem, 50dvh); overflow: auto; overscroll-behavior: contain; margin: 0; padding: 5px; list-style: none; }
.week-options a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 43px; padding: 6px; border: 1px solid transparent; border-radius: 9px; }
.week-options a:hover { background: var(--canvas); border-color: var(--line); }
.week-options a:focus-visible { outline-offset: -2px; }
.week-options a[aria-current] { background: var(--gold, var(--peach)); border-color: var(--line); }
.week-number { padding: 5px 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--muted); text-align: center; font-size: .75rem; font-weight: 650; }
.week-order-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--light-green, #eaf1e9); color: var(--green); }
.day-picker { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: thin; }
.day-tab { position: relative; display: grid; place-content: center; flex: 1 0 65px; min-height: 64px; padding: 6px 6px 9px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); text-align: center; font-weight: 690; font-size: .82rem; }
.day-tab small { color: var(--muted); font-size: .73rem; font-weight: 550; }
.day-tab:hover { border-color: #d7ae9b; }
.day-tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.day-tab[aria-pressed="true"] small { color: #fff2eb; }
.day-tab i { position: absolute; bottom: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.day-tab[aria-pressed="true"] i { background: white; }
.day-tab i:empty:not(.has-order) { display: none; }
.menu-tools { display: flex; align-items: center; gap: 6px; margin-block: 15px 12px; }
.filters { min-width: 0; display: flex; flex: 1 1 auto; gap: 5px; overflow-x: auto; scrollbar-width: thin; padding: 3px; margin: -3px; }
.filter { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: .3rem .66rem; min-height: 34px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--muted); font-size: .77rem; font-weight: 665; }
.filter:hover { border-color: #d5afa0; }
.filter[aria-pressed="true"] { background: #332c25; color: white; border-color: #332c25; }
.search { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 8px; flex: 0 0 clamp(104px, 20%, 150px); min-height: 36px; padding: 5px 7px; background: var(--paper); color: var(--muted); }
.search input { border: 0; padding: 0; background: transparent; width: 100%; min-width: 0; font-size: .8rem; }
.search input:focus { outline: 0; }
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.dish { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.dish.chosen { border-color: #deb5a2; }
.dish-visual { position: relative; display: block; height: 118px; overflow: hidden; background: #e8d9cb; }
.dish-with-photo { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.dish-with-photo > div { min-width: 0; }
.order-photo { position: relative; display: block; flex: 0 0 44px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--line); }
:is(.dish-visual, .order-photo) img { display: block; height: 100%; width: 100%; object-fit: cover; }
.drink-photo { background: var(--white); }
.drink-photo img { object-fit: contain; }
img.dish-photo-placeholder { object-fit: contain; background: #02595d; }
.sprite::after { position: absolute; inset: 50% 0 auto; content: ""; aspect-ratio: 1; transform: translateY(-50%); background: url("/assets/demo-dishes.jpg") 0 0 / 200% 200%; }
.sprite-csirke::after { background-position: 100% 0; }
.sprite-penne::after { background-position: 0 100%; }
.sprite-leves::after { background-position: 100% 100%; }
.dish-info { display: flex; flex-direction: column; padding: 12px; flex: 1; min-width: 0; }
.dish-tag { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: #74503c; font-size: .72rem; font-weight: 690; }
.dish-tag small { font-size: .72rem; color: var(--muted); }
.dish h3 { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.dish-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; }
.dish-label { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 6px; border-radius: 5px; color: var(--text); background: var(--peach); font-size: .7rem; font-weight: 680; }
.dish-label-vegetarian, .dish-label-vegan { color: #30583a; background: #e6f0e2; }
.dish-label-spicy { position: relative; padding-inline: 3px; background: #fae7e1; }
.dish-label-tooltip {
    position: absolute; z-index: 1; bottom: calc(100% + 4px); inset-inline-start: 0;
    padding: 3px 7px; border-radius: 5px; background: var(--text); color: var(--paper);
    white-space: nowrap; pointer-events: none; visibility: hidden;
}
.dish-label-spicy:is(:hover, :focus-visible) .dish-label-tooltip { visibility: visible; }
.dish :is(p, .dish-courses) { margin-top: 5px; color: var(--muted); font-size: .79rem; }
.dish-courses { margin-bottom: 0; padding-inline-start: 1.4em; overflow-wrap: anywhere; }
.dish-courses li + li { margin-top: 3px; }
.dish-footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 12px; }
.dish-price { font-size: .91rem; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 5px; }
.stepper output { min-width: 1ch; text-align: center; font-size: .87rem; font-weight: 700; }
.stepper button { width: 34px; height: 34px; border: 1px solid #ead1c1; border-radius: 8px; color: var(--accent-dark); background: #faeee6; display: grid; place-items: center; padding: 0; }
.stepper button[data-step="1"]:hover:not(:disabled), .stepper button[data-step="-1"]:hover:not(:disabled) { background: #f2d5c4; }
.empty-state { grid-column: 1 / -1; min-height: 155px; display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; padding: 18px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }
.empty-state h3 { color: var(--text); font-size: 1rem; }
.empty-state p { font-size: .88rem; }
.compact { min-height: 85px; margin-block: 10px 15px; }
.order-column { position: sticky; top: 12px; min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.selection { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); padding: 12px; }
.selection > :not(.order-lines) { flex-shrink: 0; }
.selection-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, max-content); align-items: center; gap: 7px; }
.selection-head h2 { font-size: 1.06rem; }
.selection-head p { color: var(--muted); font-size: .77rem; margin-top: 1px; }
.selection-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--peach); color: var(--accent-dark); }
.selection-meta { display: grid; justify-items: end; gap: 2px; max-width: 8rem; text-align: right; }
.count-pill { background: #f3ebe1; color: #5e493a; font-size: .71rem; border-radius: 100px; padding: 1px 6px; font-weight: 700; white-space: nowrap; }
.order-state { padding: 1px 4px; border-radius: 5px; line-height: 1.2; color: var(--muted); font-size: .71rem; font-weight: 660; }
.order-lines { display: grid; align-content: start; min-height: 0; margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; }
.order-empty { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding: 13px 0; }
.order-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; align-items: center; padding: 4px 0; border-top: 1px solid var(--line); font-size: .8rem; }
.order-line .dish-with-photo { gap: 6px; }
.order-line .order-photo { flex-basis: 30px; height: 30px; border-radius: 5px; }
.order-line small { display: block; line-height: 1.2; font-size: .69rem; color: var(--muted); }
.order-line .icon-button { height: 30px; width: 30px; }
.order-item-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 3.75em;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.25;
}
.order-line .line-price { white-space: nowrap; }
.selection-total { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding-block: 7px; font-size: .82rem; }
.selection-total strong { font-size: 1.05rem; }
.inline-feedback { margin-top: 8px; color: var(--green); font-size: .83rem; }
.inline-feedback[data-error="true"] { color: var(--accent-dark); }
.mobile-cart { display: none; }

.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 3px 0 20px; }
.page-heading h1, .standalone h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 8px; overflow-wrap: anywhere; }
.page-heading p, .auth-box p { color: var(--muted); }
.detail-panel { min-width: 0; padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.panel-head p { color: var(--muted); font-size: .85rem; margin-top: 3px; }
.detail-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.detail-line small, .member-row small { display: block; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.detail-line strong, .member-row strong { overflow-wrap: anywhere; }
.detail-total { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-bottom: 14px; padding-top: 9px; }
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 7px; white-space: nowrap; background: #f1e9dd; color: #604d3b; font-size: .72rem; font-weight: 675; }
.status span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-submitted { background: #e9f1e8; color: #345b3e; }
.status-pending { background: #fae9d8; color: #773a18; }
.team-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 13px; }
.team-settings { display: grid; gap: 13px; }
.member-row { display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; border-top: 1px solid var(--line); padding: 8px 0; font-size: .87rem; }
.member-row .member-role { font-weight: 650; }
.member-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.member-role-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.member-role-form select { min-height: 40px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.member-role-form .button { min-height: 40px; padding-inline: 9px; font-size: .77rem; }
.member-remove { min-height: 40px; padding-inline: 5px; font-size: .77rem; }
.team-archive, .team-invitations { margin-top: 12px; border-top: 1px solid var(--line); }
.team-archive summary { padding: 10px 0; color: var(--muted); font-size: .86rem; font-weight: 650; cursor: pointer; }
.team-invitations { padding-top: 12px; }
.team-invitations h3 { margin-bottom: 8px; font-size: 1rem; }
.team-invitations p { color: var(--muted); font-size: .85rem; }
.invitation-row { grid-template-columns: minmax(0, 1fr) auto; }
.invitation-row .button { padding-inline: 9px; font-size: .77rem; }
.order-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.order-participation { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 12px; }
.member-order-items { margin: 0 0 8px 42px; }
.member-order-items summary { padding: 5px 0 8px; color: var(--accent-dark); font-size: .86rem; font-weight: 650; cursor: pointer; }
.member-order-items .detail-line { padding-block: 6px; }
.group-line { grid-template-columns: minmax(0, 1fr) auto; }
.checkout-actions { display: grid; align-items: start; justify-items: start; gap: 7px; margin-top: 12px; }
.checkout-actions .notice { margin-bottom: 0; }
.invite-form label, .copy-label, .fields label { display: grid; gap: 4px; font-size: .86rem; font-weight: 650; }
.copy-label { margin-top: 10px; }
.inline-form { display: flex; margin-top: 4px; flex-wrap: wrap; align-items: center; gap: 6px; }
.inline-form input { flex: 1 1 170px; }
.inline-form button { flex-shrink: 0; }
.fields { display: grid; gap: 13px; margin-block: 13px; }
.fields small { font-weight: 480; color: var(--muted); }
.fields input:not([type="checkbox"]), .inline-form input, .fields textarea { background: var(--white); border: 1px solid #ded5c9; border-radius: 8px; min-width: 0; width: 100%; padding: 8px 9px; min-height: 42px; }
.fields input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; }
.fields .check-label { display: flex; align-items: center; }
.fields textarea { resize: vertical; }
.settings-form { max-width: 640px; }
.auth-page {
    --auth-gutter: clamp(20px, 4vw, 60px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46%;
    grid-template-rows: auto 1fr;
    min-height: 100dvh;
    background: radial-gradient(ellipse at 32% 0, var(--gold, #f8edda), transparent 64%), var(--canvas);
}
.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: clamp(14px, 3vw, 36px) var(--auth-gutter) 0;
}
.auth-header .brand { color: var(--green); }
.auth-menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    color: var(--green);
    font-weight: 675;
    font-size: .88rem;
}
.auth-menu-link svg { transform: rotate(180deg); }
.auth-menu-link:hover { text-decoration: underline; }
.auth-box {
    place-self: center;
    width: min(410px, calc(100% - 2 * var(--auth-gutter)));
    padding-block: clamp(24px, 4vw, 44px);
}
.auth-intro { margin-bottom: 20px; }
.auth-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--light-green, #eaf1e9);
    color: var(--green);
}
.auth-box h1 {
    margin-bottom: 7px;
    color: var(--green);
    font: 790 clamp(2rem, 4vw, 3.2rem)/1.07 system-ui, sans-serif;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.auth-box .notice { align-items: start; }
.auth-box p + :is(.button, form) { margin-top: 14px; }
.auth-box .fields { gap: 13px; margin-block: 0; }
.auth-box .fields label, .auth-password-field { display: grid; gap: 5px; }
.auth-box .fields input:not([type="checkbox"]) {
    min-height: 46px;
    padding: 9px 12px;
    border-color: #9a8b79;
    border-radius: 10px;
    font-size: max(1rem, 16px);
    font-weight: 400;
}
.auth-box .fields .button { min-height: 48px; margin-top: 3px; border-radius: 10px; font-size: 1rem; }
.auth-photo {
    grid-column: 2;
    grid-row: 1 / -1;
    border-inline-start: 9px solid var(--green);
    background: #e6c6a9 url("/assets/hero.jpg") 60% center / cover no-repeat;
}
.auth-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.auth-foot a { color: var(--accent-dark); font-weight: 680; text-decoration: underline; text-underline-offset: .2em; }
.auth-foot a:hover { color: var(--accent); }
.standalone { max-width: 750px; padding: 45px 20px; margin-inline: auto; }
.standalone h1 { margin-block: 26px; }
.menu-admin-login {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 24px 16px;
    background: radial-gradient(ellipse at 50% 25%, var(--light-green, #edf0e3), transparent 65%), var(--canvas);
}
.menu-admin-login-card {
    width: min(100%, 410px);
    padding: clamp(22px, 5vw, 40px);
    border-radius: 20px;
    box-shadow: 0 16px 48px #30201014;
}
.menu-admin-login-card .brand {
    display: flex;
    margin: 0 auto 24px;
    color: var(--green);
}
.menu-admin-login-card h1 {
    margin-bottom: 24px;
    text-align: center;
    font: 790 clamp(1.7rem, 5vw, 2.2rem)/1.12 system-ui, sans-serif;
    letter-spacing: -.04em;
}
.menu-admin-login-card .fields { gap: 16px; margin: 0; }
.menu-admin-login-card .fields label { gap: 6px; }
.menu-admin-login-card .fields input[type="password"],
.menu-admin-login-card .button { min-height: 48px; font-size: 1rem; }
.menu-admin-bar, .menu-admin-import {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.menu-admin .page-heading { margin-top: 26px; }
.menu-admin .page-heading h1 { margin: 0; }
.menu-admin-restaurant + .menu-admin-restaurant { margin-top: 16px; }
.menu-admin-import { justify-content: flex-start; align-items: end; }
.menu-admin-weeks { list-style: none; padding: 0; margin: 0; }

@media (max-width: 1080px) {
    .app-shell { --sidebar-width: 189px; }
    .sidebar { padding-inline: 12px; }
    .menu-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 33%); }
    .hero-copy { padding-left: 24px; }
}
@media (max-width: 850px) {
    .app-shell { display: block; }
    .sidebar { height: auto; position: fixed; inset: auto 0 0; padding: 3px 10px max(3px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); }
    .sidebar-main { display: block; }
    .sidebar-main > .brand, .sidebar-main .workspace, .sidebar-main .workspace-switch, .sidebar-bottom, .desktop-title, .top-group { display: none; }
    .site-nav { display: flex; justify-content: space-around; gap: 2px; }
    .site-nav a { flex: 1; flex-direction: column; gap: 3px; padding: 5px 3px; min-height: 48px; font-size: .69rem; text-align: center; }
    .team-layout { grid-template-columns: minmax(0, 1fr); }
    .mobile-brand, .mobile-account, .mobile-teams { display: inline-block; }
    .mobile-teams { position: relative; }
    .mobile-teams .account-menu { position: absolute; z-index: 5; top: 100%; right: 0; padding: 6px; min-width: 175px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
    .mobile-teams summary { display: flex; align-items: center; gap: 4px; cursor: pointer; color: var(--muted); font-weight: 650; }
    .top-inner { min-height: 61px; }
    .main { padding-bottom: 98px; }
}
@media (max-width: 630px) {
    .top-inner, .main { padding-inline: 13px; }
    .top-actions { gap: 8px; }
    .top-register { min-height: 36px; padding-inline: 7px; font-size: .77rem; }
    .top-register svg { display: none; }
    .top-inner .brand { font-size: clamp(1.25rem, 5vw, 1.55rem); }
    .main { padding-top: 13px; }
    .hero { min-height: 164px; grid-template-columns: minmax(0, 1fr) 42%; margin-bottom: 18px; }
    .hero-copy { padding: 12px 8px 12px 13px; }
    .hero-copy h1 { font-size: clamp(2.02rem, 7.3vw, 2.9rem); }
    .hero-copy > p:last-child { font-size: .74rem; line-height: 1.25; }
    .hero-date { font-size: .66rem; gap: 3px; }
    .hero-date svg { width: 13px; }
    .hero-photo { background-position: 57% center; }
    .hero-caption { right: 4px; bottom: 4px; font-size: .59rem; }
    .menu-layout { grid-template-columns: minmax(0, 1fr); }
    .section-top { margin-bottom: 8px; }
    .section-top h2 { font-size: 1.28rem; }
    .provider-line { font-size: .75rem; }
    .day-tab { min-height: 53px; flex-basis: 61px; font-size: .73rem; }
    .day-picker { gap: 3px; }
    .day-tab small { font-size: .66rem; }
    .menu-tools { margin-top: 11px; }
    .dish-grid { gap: 7px; }
    .dish-visual { height: 95px; }
    .dish-info { padding: 8px; }
    .dish h3 { font-size: .87rem; }
    .dish :is(p, .dish-courses) { font-size: .73rem; }
    .dish-tag, .dish-tag small { font-size: .68rem; }
    .stepper button { min-width: 30px; height: 34px; }
    .order-column { position: static; scroll-margin-bottom: 125px; }
    .mobile-cart { position: fixed; display: flex; align-items: center; gap: 8px; bottom: calc(58px + env(safe-area-inset-bottom)); right: 13px; z-index: 3; min-height: 42px; border: 1px solid #fff9; border-radius: 100px; box-shadow: 0 2px 12px #29171235; padding: .45rem .8rem; color: var(--white); background: var(--accent-dark); font-size: .81rem; font-weight: 700; }
    .page-heading { flex-wrap: wrap; }
    .detail-panel { padding: 12px; }
}
@media (max-width: 720px) {
    .auth-page { grid-template-columns: minmax(0, 1fr); }
    .auth-header .brand { font-size: clamp(1.25rem, 5vw, 1.55rem); }
    .auth-box { align-self: start; }
    .auth-photo { display: none; }
}
@media (max-width: 365px) {
    .main, .top-inner { padding-inline: 8px; }
    .dish-grid { grid-template-columns: minmax(0, 1fr); }
    .dish-visual { height: 112px; }
}
