@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #101d33;
  --muted: #637187;
  --paper: #f3f7fc;
  --white: #fff;
  --green: #002664;
  --green-2: color-mix(in srgb, var(--green) 82%, white);
  --lime: #7fc4ff;
  --orange: #f1a24a;
  --line: #d9e3f0;
  --shadow: 0 24px 70px rgba(0, 38, 100, .13);
  --radius: 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(100% * var(--site-scale, 1)); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body-font, 'DM Sans', sans-serif); font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.hero { min-height: 680px; color: white; position: relative; overflow: hidden; background: radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--lime) 20%, transparent) 0 1px, transparent 2px 100%), radial-gradient(circle at 82% 34%, color-mix(in srgb, var(--lime) 15%, transparent) 0 18%, transparent 18.2%), linear-gradient(128deg, color-mix(in srgb, var(--green) 68%, black), var(--green) 58%, color-mix(in srgb, var(--green) 78%, white)); background-size: 22px 22px, auto, auto; }
.hero::before { content: ''; position: absolute; z-index: 0; width: min(46vw, 620px); aspect-ratio: 112 / 79; right: 4vw; top: 50%; background: url('logo.png') center / contain no-repeat; opacity: .1; filter: brightness(0) invert(1); transform: translateY(-44%) rotate(-3deg); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 34rem; height: 34rem; right: -11rem; bottom: -18rem; border: 1px solid color-mix(in srgb, var(--lime) 38%, transparent); border-radius: 50%; box-shadow: 0 0 0 6rem color-mix(in srgb, var(--lime) 6%, transparent), 0 0 0 12rem color-mix(in srgb, var(--lime) 4%, transparent); }
.nav { height: 96px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--display-font, 'Manrope', sans-serif); font-weight: 500; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 42px; padding: 7px; border-radius: .7rem; background: rgba(255,255,255,.94); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .95rem; }
.nav-links a { opacity: .82; }
.nav-links a:hover { opacity: 1; }
.nav-links .admin-link { border: 1px solid rgba(255,255,255,.45); border-radius: 99px; padding: .6rem 1rem; }
.hero-content { min-height: 584px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 1; padding: 4rem 0 6rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .85rem; border-radius: 99px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: .9rem; font-weight: 600; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(127,196,255,.16); }
.status-dot.closed { background: #ff977e; box-shadow: 0 0 0 5px rgba(255,151,126,.13); }
.hero h1 { max-width: 830px; margin: 1.5rem 0 1rem; font-family: var(--display-font, 'Manrope', sans-serif); font-size: clamp(3.5rem, 8.5vw, 7.2rem); font-weight: 800; line-height: .9; letter-spacing: -.07em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-content > p { max-width: 510px; margin: .6rem 0 2rem; color: rgba(255,255,255,.78); font-size: 1.16rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 50px; padding: .75rem 1.2rem; border: 0; border-radius: 99px; cursor: pointer; background: var(--lime); color: #002664; font-weight: 700; box-shadow: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(127,196,255,.22); }
.button:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.button.small { min-height: 42px; padding: .55rem 1rem; }

.menu-section { padding: 7rem 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2, .info-intro h2 { margin: .2rem 0 0; font-family: var(--display-font, 'Manrope', sans-serif); font-size: clamp(2.8rem, 6vw, 5.1rem); font-weight: 800; line-height: .98; letter-spacing: -.06em; }
.section-heading p { margin: 0 0 .5rem; color: var(--muted); }
.kicker { display: block; color: var(--green-2); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; }
.kicker.light { color: var(--lime); }
.menu-group { margin-top: 3.4rem; }
.menu-group h3 { display: inline-flex; margin: 0 0 1rem; padding: .42rem .8rem; border-radius: .6rem; background: var(--green); color: white; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; }
.menu-list { border-top: 1px solid var(--line); }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 1.25rem .25rem; border-bottom: 1px solid var(--line); transition: padding .18s, background .18s; }
.menu-item:hover { padding-inline: 1rem; background: rgba(255,255,255,.65); }
.menu-item h4 { margin: 0; font-family: var(--display-font, 'Manrope', sans-serif); font-size: calc(1.12rem * var(--menu-scale, 1)); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.menu-item p { margin: .25rem 0 0; color: var(--muted); font-size: calc(.94rem * var(--menu-scale, 1)); }
.menu-item strong { white-space: nowrap; font-family: var(--display-font, 'Manrope', sans-serif); font-size: calc(1.12rem * var(--menu-scale, 1)); font-weight: 800; color: var(--green); }
.menu-item.featured { margin-block: .45rem; padding-inline: 1rem; border: 1px solid color-mix(in srgb, var(--green) 20%, transparent); border-radius: 1rem; background: color-mix(in srgb, var(--lime) 18%, white); }
.menu-list.density-compact .menu-item { padding-block: .72rem; }
.menu-list.layout-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; border-top: 0; }
.menu-list.layout-cards .menu-item { min-height: 104px; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.72); }
.menu-list.layout-cards .menu-item:hover { padding-inline: 1rem; border-color: color-mix(in srgb, var(--green) 32%, var(--line)); }
.empty-state { padding: 3rem; border: 1px dashed #b9c9df; border-radius: var(--radius); color: var(--muted); text-align: center; }

.info-section { background: var(--green); color: white; padding: 6rem 0; }
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; align-items: stretch; }
.info-intro { padding: 1.5rem 2rem 1.5rem 0; align-self: center; }
.info-intro h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.info-intro p { max-width: 400px; color: rgba(255,255,255,.68); }
.info-card { position: relative; display: block; padding: 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.info-card .icon { position: absolute; right: 1.4rem; top: 1.2rem; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--green); font-weight: 800; }
.info-card h3 { margin: .1rem 0 1.3rem; font: 700 1.45rem var(--display-font, 'Manrope', sans-serif); }
.hours-card dl { margin: 0; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hours-card dl div:last-child { border: 0; }
.hours-card dt { color: rgba(255,255,255,.72); }
.hours-card dd { margin: 0; font-weight: 700; }
.contact-stack { display: grid; gap: 1rem; }
.contact-card { min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .18s, transform .18s; }
.contact-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.contact-card small { color: rgba(255,255,255,.6); }
.contact-card strong { max-width: 88%; font-family: var(--display-font, 'Manrope', sans-serif); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
footer { background: #001a45; color: rgba(255,255,255,.65); padding: 1.5rem 0; font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; }
footer a:hover { color: white; }

.login-page { min-height: 100vh; background: linear-gradient(135deg, #001a45, #00429a); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 5rem 1rem; position: relative; }
.back-link { position: absolute; top: 2rem; left: 2rem; color: rgba(255,255,255,.75); font-weight: 600; }
.login-card { width: min(470px, 100%); padding: 2.5rem; border-radius: 1.8rem; background: var(--white); box-shadow: var(--shadow); }
.login-brand { margin-bottom: 2.5rem; }
.login-card h1 { margin: .35rem 0 .5rem; font: 800 2.25rem/1.05 'Manrope', sans-serif; letter-spacing: -.05em; }
.login-card > p { margin: 0 0 1.5rem; color: var(--muted); }
.form-stack { display: grid; gap: 1rem; }
label { display: grid; gap: .4rem; color: #41516a; font-size: .88rem; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: .7rem .85rem; border: 1px solid #cad8e8; border-radius: .75rem; background: white; color: var(--ink); outline: none; }
select { width: 100%; min-height: 46px; padding: .65rem .85rem; border: 1px solid #cad8e8; border-radius: .75rem; background: white; color: var(--ink); outline: none; }
input:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(0,79,160,.12); }
.alert { margin: 0 0 1.3rem; padding: .85rem 1rem; border-radius: .75rem; background: #e8f3ff; color: #003b78; font-weight: 600; }
.alert.error { background: #fff0ec; color: #9b3527; }

.admin-page { background: #eef4fb; }
.admin-header { position: sticky; top: 0; z-index: 20; background: var(--green); color: white; box-shadow: 0 5px 24px rgba(0,38,100,.16); }
.admin-header .container { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.admin-header nav { display: flex; gap: 1.4rem; font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.78); }
.admin-header nav a:hover { color: white; }
.admin-main { padding: 3.5rem 0 6rem; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-title h1 { margin: .25rem 0 0; font: 800 clamp(2rem, 4vw, 3.4rem)/1 'Manrope', sans-serif; letter-spacing: -.055em; }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: -1rem 0 .2rem; }
.admin-stats div { display: flex; align-items: baseline; gap: .55rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: .85rem; background: rgba(255,255,255,.68); }
.admin-stats strong { color: var(--green); font: 800 1.2rem 'Manrope', sans-serif; }
.admin-stats span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.admin-card { margin-top: 1.2rem; padding: 1.7rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,38,100,.06); }
.admin-card.compact { max-width: 760px; }
.appearance-card { padding: 0; overflow: hidden; }
.appearance-summary { display: block; padding: 0; cursor: pointer; list-style: none; }
.appearance-summary::marker { content: ''; }
.appearance-summary::-webkit-details-marker { display: none; }
.appearance-summary-inner { display: grid; grid-template-columns: 38px minmax(0, 1fr) 30px; align-items: center; gap: .85rem; min-height: 70px; padding: .75rem 1.2rem; }
.summary-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: .7rem; background: #eaf2fc; color: var(--green); font: 800 .85rem 'Manrope', sans-serif; }
.summary-copy { display: grid; min-width: 0; line-height: 1.25; }
.summary-copy b { font: 800 1.05rem 'Manrope', sans-serif; letter-spacing: -.02em; }
.summary-copy small { margin-top: .15rem; color: var(--muted); font-size: .78rem; }
.summary-chevron { justify-self: center; width: 9px; height: 9px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .18s; }
.appearance-card[open] .summary-chevron { transform: rotate(225deg); }
.appearance-content { padding: 1.4rem 1.7rem 1.7rem; border-top: 1px solid var(--line); }
.appearance-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.appearance-toolbar p { margin: 0; color: var(--muted); }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1.3rem; }
.card-heading h2 { margin: 0; font: 800 1.45rem 'Manrope', sans-serif; letter-spacing: -.03em; }
.card-heading p { margin: .25rem 0 0; color: var(--muted); }
.count { padding: .35rem .6rem; border-radius: 99px; background: #eaf2fc; color: var(--green); white-space: nowrap; font-size: .78rem; font-weight: 700; }
.menu-tools { display: flex; align-items: center; gap: .7rem; }
.order-save-status { min-width: 0; color: var(--muted); white-space: nowrap; font-size: .78rem; font-weight: 700; transition: color .18s; }
.order-save-status[data-state="saving"] { color: #61716c; }
.order-save-status[data-state="saved"] { color: var(--green-2); }
.order-save-status[data-state="error"] { color: #a44235; }
.order-save-status:not(:empty) { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; padding: .7rem 1rem; border: 1px solid color-mix(in srgb, var(--green) 16%, white); border-radius: 999px; background: white; box-shadow: 0 12px 35px rgba(0,38,100,.18); }
.filter-group { display: inline-flex; padding: .2rem; border-radius: .7rem; background: #eaf1fa; }
.filter-group button { padding: .35rem .62rem; border: 0; border-radius: .55rem; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 700; }
.filter-group button.active { background: white; color: var(--green); box-shadow: 0 2px 8px rgba(0,38,100,.09); }
.admin-categories { display: grid; gap: 1rem; }
.menu-category-admin { --category-color: var(--green); overflow: hidden; border: 2px solid color-mix(in srgb, var(--category-color) 25%, var(--line)); border-left: 5px solid var(--category-color); border-radius: 1rem; background: #fbfdff; }
.menu-category-admin:nth-child(1) { --category-color: #9a6500; }
.menu-category-admin:nth-child(2) { --category-color: #8b3f75; }
.menu-category-admin:nth-child(3) { --category-color: #087f8c; }
.menu-category-admin:nth-child(4) { --category-color: #002664; }
.menu-category-admin:nth-child(5) { --category-color: #c65f16; }
.menu-category-admin.is-extras { border-style: dashed; }
.category-admin-heading { display: flex; align-items: center; gap: .75rem; min-height: 54px; padding: .5rem .8rem; border-bottom: 1px solid color-mix(in srgb, var(--category-color) 20%, var(--line)); background: color-mix(in srgb, var(--category-color) 5%, #f7faff); }
.category-name-form { display: flex; align-items: center; gap: .5rem; flex: 1; }
.category-name-form input { width: min(260px, 100%); min-height: 38px; padding: .45rem .7rem; border-color: transparent; background: transparent; color: var(--category-color); font: 800 1.05rem 'Manrope', sans-serif; }
.category-name-form input:hover, .category-name-form input:focus { border-color: #b9cce4; background: white; }
.category-save { min-height: 34px; padding: .35rem .7rem; border: 0; border-radius: 999px; background: var(--category-color); color: white; cursor: pointer; font-size: .75rem; font-weight: 700; }
.category-admin-heading h3 { flex: 1; margin: 0; color: var(--green); font: 800 1.05rem 'Manrope', sans-serif; }
.category-system-note { color: var(--muted); font-size: .75rem; }
.category-count { margin-left: auto; padding: .28rem .55rem; border-radius: 999px; background: white; color: var(--muted); white-space: nowrap; font-size: .75rem; font-weight: 700; }
.admin-list { border-top: 0; }
.category-dropzone { min-height: 62px; padding: 0 .7rem; transition: background .15s, box-shadow .15s; }
.category-dropzone:has(.dragging) { background: #f2f7fd; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lime) 55%, transparent); }
.category-empty { display: none; place-items: center; min-height: 60px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.category-dropzone:not(:has([data-menu-row])) .category-empty { display: grid; }
.admin-item-shell { display: grid; grid-template-columns: minmax(0, 1fr) 140px; align-items: start; border-bottom: 1px solid var(--line); position: relative; transition: opacity .15s, transform .15s, box-shadow .15s, background .15s; }
.category-dropzone .admin-item-shell:nth-last-child(2) { border-bottom: 0; }
.admin-item-shell[hidden] { display: none; }
.admin-item-shell.is-hidden { background: #fafbfa; }
.admin-item-shell.is-hidden .item-main b, .admin-item-shell.is-hidden .item-main small, .admin-item-shell.is-hidden summary > strong { opacity: .5; }
.admin-item { min-width: 0; border-bottom: 0; }
.admin-item summary { display: grid; grid-template-columns: 38px minmax(0,1fr) auto auto; gap: 1rem; align-items: center; padding: 1rem .25rem; cursor: pointer; list-style: none; }
.admin-item summary::-webkit-details-marker { display: none; }
.item-order { display: grid; place-items: center; width: 32px; height: 32px; border-radius: .6rem; background: #eaf2fc; color: var(--green); font-size: .8rem; font-weight: 800; }
.drag-handle { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #cbd9ea; border-radius: 50%; background: #f3f7fc; color: var(--green); cursor: grab; user-select: none; touch-action: none; transition: transform .18s, background .18s, box-shadow .18s; }
.drag-handle:hover, .drag-handle:focus-visible { background: var(--lime); box-shadow: 0 4px 12px rgba(0,38,100,.16); outline: none; transform: scale(1.06); }
.drag-handle:active { cursor: grabbing; transform: scale(.96); }
.drag-handle svg { width: 22px; height: 22px; fill: currentColor; pointer-events: none; }
.admin-item-shell.dragging { opacity: .28; background: #eff7f2; transform: scale(.985); }
.admin-item-shell.drag-before::before, .admin-item-shell.drag-after::after { content: ""; position: absolute; z-index: 5; left: 0; right: 0; height: 4px; border-radius: 99px; background: var(--lime); box-shadow: 0 0 0 2px white, 0 2px 8px rgba(0,38,100,.25); }
.admin-item-shell.drag-before::before { top: -2px; }
.admin-item-shell.drag-after::after { bottom: -2px; }
.drag-ghost { position: fixed !important; top: -2000px !important; left: -2000px !important; z-index: 9999; overflow: hidden; border: 1px solid var(--lime); border-radius: 1rem; background: white; box-shadow: 0 18px 45px rgba(20,55,43,.28); opacity: .96; pointer-events: none; }
.item-main { min-width: 0; display: grid; }
.item-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-main small { color: var(--muted); font-weight: 500; }
.edit-label { color: var(--green-2); font-size: .85rem; font-weight: 700; }
.item-form { margin: 0 0 1rem 3rem; padding: 1.2rem; border-radius: 1rem; background: #f3f7fc; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; min-height: 72px; }
.row-actions form { margin: 0; }
.order-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d5ded9; border-radius: 50%; background: white; color: var(--green); cursor: pointer; font-size: 1.1rem; font-weight: 800; transition: transform .18s, background .18s; }
.order-button:hover:not(:disabled) { transform: translateY(-1px); background: #edf5fc; }
.order-button:disabled { opacity: .28; cursor: default; }
.eye-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #cbd9ea; border-radius: 50%; background: #edf5fc; color: var(--green); cursor: pointer; transition: transform .18s, background .18s; }
.eye-button:hover { transform: scale(1.06); background: var(--lime); }
.eye-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-hidden .eye-button { background: #f1f2f1; color: #89928f; }
.eye-slash { stroke-width: 2.2; }
.remove-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ead5d1; border-radius: 50%; background: #fff6f4; color: #a44235; cursor: pointer; transition: transform .18s, background .18s; }
.remove-button:hover { transform: scale(1.06); background: #ffe8e3; }
.remove-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.visibility-note { color: var(--muted); font-size: .82rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.form-actions > div { display: flex; align-items: center; gap: .5rem; }
.check { display: flex; grid: none; align-items: center; gap: .55rem; }
.check input { width: 18px; min-height: 18px; accent-color: var(--green); }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: .65rem; background: white; color: var(--green); cursor: pointer; }
.icon-button:disabled { opacity: .35; cursor: default; }
.text-button { border: 0; background: transparent; padding: .5rem; cursor: pointer; color: var(--muted); font-weight: 700; }
.text-button.danger { color: #a44235; }
.settings-form { padding-top: .3rem; }
.settings-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.settings-split fieldset { min-width: 0; margin: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; }
.settings-split legend { padding: 0 .45rem; color: var(--green); font: 800 1rem 'Manrope', sans-serif; }
.settings-grid { margin-top: 1rem; }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.color-control { display: flex; align-items: center; gap: .55rem; min-height: 46px; padding: .35rem .55rem; border: 1px solid #cfdad5; border-radius: .75rem; background: white; }
.color-control input[type="color"] { flex: none; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; }
.color-control code { color: var(--muted); font-size: .76rem; }
.switch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.switch-row { display: flex; grid: none; align-items: center; gap: .65rem; min-height: 46px; padding: .55rem .7rem; border-radius: .75rem; background: #f3f7fc; cursor: pointer; }
.switch-row input { width: 20px; min-height: 20px; accent-color: var(--green); }
.switch-row span { display: grid; line-height: 1.2; }
.switch-row small { margin-top: .15rem; color: var(--muted); font-weight: 500; }
.preview-link { color: var(--green-2); font-weight: 700; }
.item-options { display: flex; align-items: center; gap: 1rem; }
.item-options .check { color: var(--green); }
.subheading { margin: 2rem 0 .7rem; font: 700 1rem 'Manrope', sans-serif; }
.hours-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1rem; }
.hours-form label { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
.align-right { display: flex; justify-content: flex-end; margin-top: 1.4rem; }
.password-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 1rem; }
.library-heading { align-items: end; }
.library-search { width: min(290px, 100%); }
.dish-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding-top: .25rem; }
.dish-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .65rem; padding: .45rem; border: 1px solid var(--line); border-radius: 1rem; background: #f8faff; }
.dish-card[hidden] { display: none; }
.dish-details { min-width: 0; }
.dish-details[open] { grid-column: 1 / -1; }
.dish-details[open] + .dish-add-form { grid-column: 1 / -1; justify-self: end; }
.dish-details > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 54px; padding: .35rem .45rem; cursor: pointer; list-style: none; }
.dish-details > summary::marker { content: ''; }
.dish-details > summary::-webkit-details-marker { display: none; }
.dish-copy { min-width: 0; display: grid; line-height: 1.25; }
.dish-copy b, .dish-copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dish-copy small { color: var(--muted); font-size: .8rem; }
.dish-copy > span { margin-top: .22rem; color: var(--green-2); font-size: .74rem; font-weight: 700; }
.dish-edit-label { color: var(--green); font-size: .76rem; font-weight: 800; }
.dish-edit-form { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .35rem 0 0; padding: .85rem; border-radius: .8rem; background: white; }
.dish-edit-form button { grid-column: 1 / -1; justify-self: end; }
.dish-add-form { align-self: center; margin: .25rem .25rem 0 0; }
.no-results { grid-column: 1 / -1; padding: 2rem; color: var(--muted); text-align: center; }
.modal-help { margin: -1rem 0 1.4rem; color: var(--muted); font-size: .9rem; }
dialog { width: min(620px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 1.5rem; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(7,30,24,.65); backdrop-filter: blur(3px); }
.modal-card { padding: 1.8rem; }
.modal-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1.4rem; }
.modal-heading h2 { margin: .25rem 0 0; font: 800 1.8rem 'Manrope', sans-serif; letter-spacing: -.04em; }
.close-button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf2ef; cursor: pointer; font-size: 1.5rem; }

@media (max-width: 850px) {
  .hero { min-height: 620px; }
  .hero-content { min-height: 524px; }
  .section-heading, .info-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .info-intro { padding-right: 0; }
  .contact-stack { grid-template-columns: 1fr 1fr; }
  .password-form { grid-template-columns: 1fr 1fr; }
  .dish-library { grid-template-columns: 1fr; }
  .settings-split { grid-template-columns: 1fr; }
  .password-form button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 1.2rem, 1120px); }
  .nav { height: 78px; }
  .nav-links a:not(.admin-link) { display: none; }
  .hero { min-height: 570px; background-position: 56% 15%; }
  .hero-content { min-height: 492px; padding-block: 3rem 4rem; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5.2rem); }
  .menu-section { padding: 4.5rem 0; }
  .section-heading h2 { font-size: 3rem; }
  .menu-item { gap: 1rem; }
  .menu-item h4 { font-size: calc(1rem * var(--menu-scale, 1)); }
  .menu-item strong { font-size: calc(1rem * var(--menu-scale, 1)); }
  .menu-list.layout-cards { grid-template-columns: 1fr; }
  .info-section { padding: 4rem 0; }
  .contact-stack { grid-template-columns: 1fr; }
  .admin-header .brand > span:last-child { display: none; }
  .admin-main { padding-top: 2.3rem; }
  .admin-title { align-items: start; flex-direction: column; }
  .admin-card { padding: 1rem; }
  .appearance-card { padding: 0; }
  .appearance-summary { padding: 0; }
  .appearance-summary-inner { padding: .7rem .9rem; }
  .appearance-content { padding: 1.1rem; }
  .appearance-toolbar { align-items: flex-start; flex-direction: column; }
  .card-heading { flex-direction: column; }
  .menu-tools { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .admin-stats { grid-template-columns: 1fr; margin-top: -.7rem; }
  .admin-item summary { grid-template-columns: 34px minmax(0,1fr) auto; gap: .6rem; }
  .admin-item-shell { grid-template-columns: minmax(0, 1fr) 132px; }
  .row-actions { flex-wrap: wrap; min-height: 94px; padding-block: .35rem; }
  .admin-item summary > strong { grid-row: 2; grid-column: 2; justify-self: start; }
  .edit-label { grid-row: 1 / 3; grid-column: 3; }
  .item-form { margin-left: 0; }
  .form-grid, .hours-form, .password-form { grid-template-columns: 1fr; }
  .color-grid, .switch-grid { grid-template-columns: 1fr; }
  .library-heading { align-items: stretch; }
  .dish-card { grid-template-columns: 1fr; }
  .dish-edit-form { grid-template-columns: 1fr; }
  .dish-edit-form button { grid-column: 1; justify-self: stretch; }
  .dish-add-form { margin: 0 .35rem .35rem; }
  .hours-form label { grid-template-columns: 105px 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions > div { width: 100%; flex-wrap: wrap; }
  .login-card { padding: 1.5rem; }
  .back-link { top: 1.2rem; left: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
