:root {
  color-scheme: light;
  --ink: #242033;
  --muted: #777383;
  --line: #e9e6ed;
  --paper: #fff;
  --canvas: #f7f6f3;
  --brand: #5b3df5;
  --brand-dark: #4530c7;
  --accent: #ffb547;
  --green: #23845c;
  --red: #c83d42;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(29px, 4vw, 42px); letter-spacing: -.05em; line-height: 1.08; }
h2 { margin-bottom: 0; font-size: 21px; letter-spacing: -.035em; }
h3 { margin-bottom: 0; font-size: 17px; letter-spacing: -.025em; }
h4 { margin-bottom: 0; font-size: 15px; }

.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); line-height: 1.65; }
.helper { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.text-link { color: var(--brand); font-size: 12px; font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 17px; font-weight: 850; letter-spacing: -.05em; white-space: nowrap; }
.wordmark-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--brand); font-size: 17px; font-weight: 900; }
.wordmark-light { color: var(--brand); font-weight: 650; }

.button { min-height: 42px; padding: 0 17px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; font-weight: 800; transition: background .16s, color .16s, transform .16s, border-color .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-primary:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button-outline { color: var(--brand); border-color: #ded9ff; background: #fff; }
.button-outline:hover { background: #f5f3ff; }
.button-quiet { color: var(--muted); border-color: var(--line); background: #fff; }
.button-danger { color: var(--red); border-color: #f1d6d7; background: #fff; }
.button-danger:hover { background: #fff4f4; }
.button-small { min-height: 34px; padding: 0 11px; font-size: 11px; }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: #f3efff; }
.button-whatsapp { color: #fff; background: #148d58; }
.button-whatsapp:hover { background: #0e7447; }

.notice { margin: 0 0 17px; padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 12px; line-height: 1.55; }
.notice-success { color: #17613e; border-color: #c8e8d4; background: #eff9f2; }
.notice-error { color: #922b1e; border-color: #f0c9c4; background: #fff2f0; }

.auth-page { min-height: 100vh; padding: 32px 20px; display: grid; place-items: center; background: radial-gradient(circle at 12% 18%, rgba(255,181,71,.17), transparent 25%), radial-gradient(circle at 88% 82%, rgba(91,61,245,.12), transparent 30%), #f8f7f5; }
.auth-layout { width: min(100%, 1030px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); align-items: center; gap: clamp(30px, 8vw, 100px); }
.auth-story { padding: 25px 0; }
.auth-story .wordmark { margin-bottom: 66px; }
.auth-story h1 { max-width: 560px; font-size: clamp(42px, 6vw, 68px); }
.auth-story > p:not(.eyebrow) { max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.story-points { margin-top: 38px; display: grid; gap: 17px; }
.story-points span { display: flex; align-items: center; gap: 17px; color: #aaa5b7; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.story-points b { color: var(--ink); font-size: 12px; letter-spacing: 0; }
.auth-card { width: 100%; padding: 34px; border: 1px solid rgba(232,228,238,.9); border-radius: 17px; background: #fff; box-shadow: 0 25px 75px rgba(37,32,55,.09); }
.auth-card-wide { max-width: 720px; }
.auth-card > .wordmark { margin-bottom: 35px; }
.auth-card h1 { font-size: clamp(27px, 4vw, 37px); }
.auth-card h2 { margin-bottom: 8px; font-size: 24px; }
.auth-card .muted { margin: 0 0 22px; font-size: 13px; }
.stack-form { display: grid; gap: 15px; }
label { min-width: 0; display: grid; gap: 7px; color: #514d5d; font-size: 11px; font-weight: 750; }
label small { color: var(--muted); font-size: 10px; font-weight: 450; line-height: 1.45; }
input, select, textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #dedbe5; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font-size: 13px; font-weight: 450; }
input[type="file"] { min-height: 44px; padding: 8px; font-size: 11px; }
input[type="color"] { width: 68px; min-height: 42px; padding: 4px; cursor: pointer; }
input[type="checkbox"] { width: 16px; min-height: 16px; padding: 0; accent-color: var(--brand); }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,61,245,.1); }
input::placeholder, textarea::placeholder { color: #aaa6b1; }
.auth-card .button-primary { width: 100%; margin-top: 5px; }
.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-switch a { color: var(--brand); font-weight: 800; }
.auth-footnote { margin: 21px 0 0; color: #9894a0; font-size: 10px; line-height: 1.5; text-align: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.setup-separator { height: 1px; margin: 6px 0; background: var(--line); }

.dashboard-page { min-height: 100vh; background: #f7f6f8; }
.dashboard-topbar { height: 66px; padding: 0 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-actions form { margin: 0; }
.user-chip, .admin-chip { padding: 7px 10px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); background: #fff; font-size: 10px; font-weight: 700; }
.admin-chip { color: var(--brand); background: #f5f3ff; border-color: #e5e0ff; }
.dashboard-layout { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.dashboard-sidebar { padding: 24px 15px; border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.sidebar-restaurant { margin: 0 5px 29px; display: flex; align-items: center; gap: 10px; }
.sidebar-restaurant img, .sidebar-restaurant > span { width: 39px; height: 39px; border-radius: 12px; object-fit: cover; }
.sidebar-restaurant > span { display: grid; place-items: center; color: var(--brand); background: #f2efff; font-size: 18px; font-weight: 800; }
.sidebar-restaurant div { min-width: 0; display: grid; gap: 4px; }
.sidebar-restaurant strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-restaurant small { color: var(--muted); font-size: 10px; }
.dashboard-sidebar > .eyebrow { padding: 0 10px; color: #aaa6b4; font-size: 9px; }
.dashboard-sidebar nav { display: grid; gap: 4px; }
.dashboard-sidebar nav a { min-height: 41px; padding: 0 11px; border-radius: 8px; display: flex; align-items: center; gap: 10px; color: #6f6b79; font-size: 12px; font-weight: 650; }
.dashboard-sidebar nav a:hover, .dashboard-sidebar nav a.is-active { color: var(--brand); background: #f3f1ff; }
.nav-mark { width: 18px; color: #9c97a8; font-size: 17px; text-align: center; }
.is-active .nav-mark { color: var(--brand); }
.sidebar-note { margin: auto 4px 0; padding: 14px; border: 1px solid #eeeaf6; border-radius: 11px; background: #fbfaff; display: grid; gap: 7px; }
.sidebar-note strong { font-size: 11px; }
.sidebar-note small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.sidebar-note a { overflow: hidden; color: var(--brand); font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-main { width: 100%; max-width: 1400px; margin: 0 auto; padding: 31px clamp(18px, 3.2vw, 48px) 25px; display: grid; align-content: start; gap: 17px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dashboard-heading .eyebrow { margin-bottom: 5px; }
.dashboard-heading h1 { margin: 0; font-size: 29px; }
.dashboard-heading .muted { margin: 7px 0 0; font-size: 12px; }
.status-badge { padding: 7px 10px; border-radius: 30px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-live { color: #1d7c54; background: #eaf6ef; }
.status-paused { color: #a76419; background: #fff3e5; }
.panel { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.panel-heading { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.count-pill { padding: 6px 10px; border-radius: 30px; color: var(--muted); background: #f4f2f5; font-size: 10px; white-space: nowrap; }
.welcome-card { min-height: 220px; padding: 29px 32px; border-radius: 16px; overflow: hidden; position: relative; color: #fff; background: var(--restaurant-primary, #5b3df5); display: flex; align-items: center; }
.welcome-card::after { content: ""; width: 300px; height: 300px; position: absolute; top: -155px; right: 12%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 70px rgba(255,255,255,.04); }
.welcome-card > div:first-child { max-width: 540px; position: relative; z-index: 1; }
.welcome-card .eyebrow { color: var(--restaurant-accent, #ffcf80); }
.welcome-card h2 { margin-bottom: 8px; font-size: clamp(22px, 3vw, 30px); }
.welcome-card p:not(.eyebrow) { margin-bottom: 16px; color: rgba(255,255,255,.79); font-size: 12px; line-height: 1.6; }
.welcome-art { width: 190px; height: 160px; margin-left: auto; position: relative; display: grid; place-items: center; transform: rotate(4deg); }
.welcome-art b { width: 126px; height: 126px; border: 1px solid rgba(255,255,255,.45); border-radius: 45% 55% 56% 44%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); font-size: 25px; line-height: 1; text-align: center; }
.welcome-art span { position: absolute; top: 2px; left: 22px; color: var(--restaurant-accent, #ffcf80); font-size: 30px; }
.welcome-art i { position: absolute; right: 8px; bottom: 17px; color: var(--restaurant-accent, #ffcf80); font-size: 24px; font-style: normal; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.stat-card { min-height: 110px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; align-content: start; gap: 7px; }
.stat-card > span { color: var(--muted); font-size: 11px; font-weight: 650; }
.stat-card strong { font-size: 27px; letter-spacing: -.04em; }
.stat-card small { color: #9994a2; font-size: 10px; }
.share-panel { display: flex; align-items: center; justify-content: space-between; gap: 17px; }
.share-panel h2 { margin-bottom: 4px; }
.share-panel .muted { margin: 0; font-size: 11px; }
.share-link { max-width: 50%; padding: 7px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; gap: 8px; background: #fbfafc; }
.share-link code { overflow: hidden; padding-left: 5px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.checklist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.checklist-grid a { min-height: 130px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; display: grid; align-content: start; gap: 8px; transition: border-color .15s, transform .15s; }
.checklist-grid a:hover { border-color: #c7bfff; transform: translateY(-2px); }
.checklist-grid span { color: var(--brand); font-size: 10px; font-weight: 900; }
.checklist-grid b { font-size: 11px; }
.checklist-grid small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.dashboard-footer { padding: 7px; color: #9b97a2; font-size: 10px; text-align: center; }
.dashboard-footer span { margin: 0 4px; color: var(--brand); }
.color-fields { align-items: start; }
.color-fields label { align-content: start; }
.upload-preview { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 10px; object-fit: cover; }
.upload-preview-cover { width: 180px; height: 90px; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 15px; }
.checkbox-row label, .checkbox-label { grid-template-columns: 17px auto; align-items: center; gap: 8px; font-weight: 600; }
.form-grid-inline { display: grid; grid-template-columns: 1fr 1.5fr .45fr auto; align-items: end; gap: 12px; }
.managed-list { display: grid; }
.managed-row { min-width: 0; padding: 11px 0; border-top: 1px solid #f0eef2; display: flex; align-items: center; gap: 10px; }
.managed-row > form { margin: 0; }
.managed-edit { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(100px, 1fr) minmax(130px, 2fr) 75px auto; align-items: end; gap: 9px; }
.managed-edit input { min-height: 35px; padding: 7px 9px; font-size: 11px; }
.managed-edit .button { margin-bottom: 0; }
.product-admin-row { min-width: 0; padding: 12px 0; border-top: 1px solid #f0eef2; display: flex; align-items: center; gap: 12px; }
.product-admin-row > img, .product-admin-placeholder { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 9px; object-fit: cover; }
.product-admin-placeholder { display: grid; place-items: center; color: var(--brand); background: #f1effb; font-size: 19px; font-weight: 850; }
.product-admin-info { min-width: 0; flex: 1; display: grid; gap: 4px; }
.product-admin-info strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.product-admin-info small, .product-admin-info span { font-size: 10px; }
.text-success { color: var(--green); }
.text-muted { color: var(--muted); }
.platform-settings-form { display: grid; gap: 13px; }
.admin-main { width: min(100% - 40px, 1230px); margin: 0 auto; padding: 34px 0; display: grid; align-content: start; gap: 18px; }
.admin-main .dashboard-heading { margin-bottom: 2px; }
.admin-table { min-width: 800px; }
.admin-actions { display: flex; gap: 7px; align-items: center; }
.admin-actions form { margin: 0; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px; color: var(--muted); background: #faf9fb; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid #f0eef2; font-size: 11px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td strong { font-size: 11px; }
.table-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.empty-state { min-height: 130px; padding: 25px; display: grid; justify-items: center; align-content: center; gap: 7px; color: var(--muted); text-align: center; }
.empty-state > span { font-size: 25px; }
.empty-state h3 { color: var(--ink); }
.empty-state p { margin: 0; font-size: 12px; }

.menu-page { --restaurant-primary: #5b3df5; --restaurant-accent: #ffb547; min-height: 100vh; background: #fcfbf9; }
.menu-topbar { min-height: 68px; padding: 10px clamp(18px, 5vw, 72px); border-bottom: 1px solid #efede9; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: rgba(255,255,255,.95); }
.menu-topbar .wordmark { gap: 10px; }
.restaurant-logo, .restaurant-logo-fallback { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; }
.restaurant-logo-fallback { display: grid; place-items: center; color: #fff; background: var(--restaurant-primary); font-size: 19px; font-weight: 850; }
.restaurant-wordmark { max-width: min(55vw, 350px); overflow: hidden; font-size: 15px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.menu-cuisine { padding: 7px 11px; border-radius: 30px; color: var(--restaurant-primary); background: color-mix(in srgb, var(--restaurant-primary) 8%, white); font-size: 10px; font-weight: 750; }
.restaurant-cover { width: 100%; height: clamp(160px, 27vw, 290px); overflow: hidden; background: #eee; }
.restaurant-cover img { width: 100%; height: 100%; object-fit: cover; }
.public-menu { width: min(100% - 36px, 1140px); margin: 0 auto; padding: 42px 0 55px; }
.restaurant-intro { padding-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.restaurant-intro .eyebrow { color: var(--restaurant-primary); }
.restaurant-intro h1 { margin-bottom: 8px; font-size: clamp(32px, 5vw, 52px); }
.restaurant-description { max-width: 670px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.restaurant-intro .button { flex: 0 0 auto; }
.restaurant-links { margin: 0 0 21px; display: flex; flex-wrap: wrap; gap: 9px; }
.restaurant-link { min-height: 39px; padding: 0 13px; border: 1px solid #e8e4ed; border-radius: 8px; display: inline-flex; align-items: center; gap: 14px; color: #555162; background: #fff; font-size: 10px; font-weight: 750; transition: border-color .15s, color .15s; }
.restaurant-link:hover { color: var(--restaurant-primary); border-color: var(--restaurant-primary); }
.restaurant-link span:last-child { color: var(--restaurant-primary); }
.restaurant-details { margin: 0 0 27px; padding: 15px 17px; border: 1px solid #efede9; border-radius: 11px; background: #fff; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.restaurant-details > div { min-width: 0; display: flex; align-items: flex-start; gap: 9px; }
.detail-icon { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: var(--restaurant-primary); background: color-mix(in srgb, var(--restaurant-primary) 8%, white); font-size: 15px; }
.restaurant-details > div > span:last-child { min-width: 0; display: grid; gap: 4px; }
.restaurant-details b { font-size: 10px; }
.restaurant-details small { color: var(--muted); font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.category-nav { position: sticky; top: 0; z-index: 5; margin: 0 -18px 26px; padding: 12px 18px; border-bottom: 1px solid #efede9; display: flex; gap: 8px; overflow-x: auto; background: rgba(252,251,249,.95); backdrop-filter: blur(12px); scrollbar-width: thin; }
.category-chip { min-height: 34px; padding: 0 13px; border: 1px solid #e8e4ed; border-radius: 30px; display: inline-flex; align-items: center; color: #666171; background: #fff; font-size: 10px; font-weight: 750; white-space: nowrap; }
.category-chip:hover, .category-chip.is-active { color: #fff; border-color: var(--restaurant-primary); background: var(--restaurant-primary); }
.menu-catalog-heading { margin: 0 0 25px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.menu-catalog-heading .eyebrow { color: var(--restaurant-primary); margin-bottom: 5px; }
.menu-catalog-heading h2 { font-size: 27px; }
.menu-search { width: min(100%, 270px); position: relative; }
.menu-search > span:not(.sr-only) { position: absolute; left: 12px; top: 8px; color: #8d8995; font-size: 20px; }
.menu-search input { min-height: 39px; padding-left: 36px; border-color: #e8e4ed; border-radius: 30px; font-size: 11px; }
.menu-category { margin: 0 0 35px; scroll-margin-top: 70px; }
.menu-category-heading { margin-bottom: 14px; display: flex; align-items: baseline; gap: 11px; }
.menu-category-heading h3 { font-size: 19px; }
.menu-category-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid #ede9e3; border-radius: 12px; background: #fff; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(47,39,62,.08); }
.product-card[hidden], .menu-category[hidden] { display: none; }
.product-media { aspect-ratio: 1.42; overflow: hidden; position: relative; background: #f0ede8; }
.product-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-media > img { transform: scale(1.035); }
.product-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; position: relative; color: var(--restaurant-primary); background: radial-gradient(circle at 50% 45%, #fff 0 27%, #f5f0e9 28% 100%); }
.product-image-placeholder span { position: absolute; top: 14px; left: 15px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-image-placeholder b { font-family: Georgia, serif; font-size: 58px; font-weight: 500; opacity: .3; }
.product-featured { position: absolute; top: 11px; left: 11px; padding: 6px 8px; border-radius: 30px; color: #42320e; background: var(--restaurant-accent); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.video-play-button { position: absolute; right: 11px; bottom: 11px; min-height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; display: inline-flex; align-items: center; gap: 7px; color: #fff; background: rgba(27,24,34,.78); backdrop-filter: blur(8px); }
.video-play-button span { font-size: 10px; }
.video-play-button small { font-size: 9px; font-weight: 750; }
.video-play-button:hover { background: var(--restaurant-primary); }
.product-content { padding: 13px 14px 14px; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.product-title-row h4 { line-height: 1.35; }
.product-title-row strong { color: var(--restaurant-primary); font-size: 12px; white-space: nowrap; }
.product-description { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.product-labels { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.product-labels span { padding: 4px 7px; border-radius: 30px; color: #6f6b77; background: #f5f3f1; font-size: 8px; font-weight: 750; }
.product-prep { display: block; margin-top: 9px; color: #98939e; font-size: 9px; }
.video-dialog { width: min(92vw, 720px); max-width: 720px; padding: 14px; border: 0; border-radius: 14px; color: #fff; background: #1e1b25; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.video-dialog::backdrop { background: rgba(24,20,30,.78); backdrop-filter: blur(5px); }
.video-dialog video { width: 100%; max-height: 72vh; border-radius: 9px; background: #000; }
.video-dialog p { margin: 10px 3px 0; font-size: 12px; font-weight: 700; }
.video-dialog-close { width: 31px; height: 31px; position: absolute; top: 21px; right: 21px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(20,18,24,.75); font-size: 20px; line-height: 1; }
.menu-empty { min-height: 220px; border: 1px dashed #ded9d1; border-radius: 13px; display: grid; justify-items: center; align-content: center; text-align: center; }
.menu-empty span { margin-bottom: 9px; font-size: 28px; }
.menu-empty h3 { margin-bottom: 6px; }
.menu-empty p { color: var(--muted); font-size: 11px; }
.menu-no-results { padding: 18px; border-radius: 10px; color: var(--muted); background: #f4f1ed; font-size: 12px; text-align: center; }
.menu-no-results[hidden] { display: none; }
.menu-order-banner { margin-top: 43px; padding: 25px 28px; border-radius: 14px; color: #fff; background: var(--restaurant-primary); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.menu-order-banner .eyebrow { color: var(--restaurant-accent); }
.menu-order-banner h2 { margin-bottom: 6px; font-size: 22px; }
.menu-order-banner p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.78); font-size: 11px; }
.menu-order-banner .button { flex: 0 0 auto; }
.menu-footer { min-height: 57px; padding: 14px clamp(18px, 5vw, 72px); border-top: 1px solid #efede9; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); background: #fff; font-size: 9px; }
.menu-footer b { color: var(--restaurant-primary); }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .checklist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .restaurant-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .auth-layout { max-width: 490px; grid-template-columns: 1fr; gap: 24px; }
  .auth-story { padding: 0; }
  .auth-story .wordmark { margin-bottom: 24px; }
  .auth-story h1 { max-width: 450px; font-size: clamp(36px, 9vw, 53px); }
  .auth-story > p:not(.eyebrow) { font-size: 13px; }
  .story-points { margin-top: 20px; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .story-points span { align-items: flex-start; flex-direction: column; gap: 5px; font-size: 8px; }
  .story-points b { font-size: 9px; }
  .auth-card { padding: 26px; }
  .dashboard-topbar { height: 58px; padding: 0 14px; }
  .topbar-actions { gap: 7px; }
  .topbar-actions .text-link, .user-chip { display: none; }
  .dashboard-layout { min-height: calc(100vh - 58px); display: block; }
  .dashboard-sidebar { padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-restaurant, .dashboard-sidebar > .eyebrow, .sidebar-note { display: none; }
  .dashboard-sidebar nav { display: flex; gap: 4px; overflow-x: auto; }
  .dashboard-sidebar nav a { min-height: 36px; padding: 0 10px; flex: 0 0 auto; font-size: 10px; }
  .nav-mark { display: none; }
  .dashboard-main { padding: 21px 13px 18px; gap: 12px; }
  .dashboard-heading h1 { font-size: 25px; }
  .panel { padding: 15px; }
  .welcome-card { min-height: 190px; padding: 22px; }
  .welcome-art { width: 110px; height: 120px; margin-left: 8px; }
  .welcome-art b { width: 93px; height: 93px; font-size: 20px; }
  .welcome-art span { left: 0; }
  .welcome-art i { right: 0; }
  .share-panel { align-items: flex-start; flex-direction: column; }
  .share-link { width: 100%; max-width: none; }
  .menu-topbar { min-height: 58px; padding: 8px 15px; }
  .public-menu { width: min(100% - 28px, 650px); padding-top: 28px; }
  .restaurant-intro { align-items: flex-start; flex-direction: column; gap: 15px; }
  .restaurant-intro .button { width: 100%; }
  .restaurant-details { padding: 13px; gap: 11px; }
  .restaurant-details > div { gap: 7px; }
  .category-nav { margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; }
  .menu-catalog-heading { align-items: flex-start; flex-direction: column; }
  .menu-search { width: 100%; }
  .product-grid { gap: 9px; }
  .product-content { padding: 11px; }
  .product-title-row { flex-direction: column; gap: 4px; }
  .menu-order-banner { align-items: flex-start; flex-direction: column; padding: 20px; }
  .menu-order-banner .button { width: 100%; }
  .menu-footer { flex-direction: column; justify-content: center; text-align: center; }
  .form-grid-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .managed-edit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .auth-page { padding: 18px 12px; }
  .auth-card { padding: 22px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 7px; }
  .stat-card { min-height: 95px; padding: 11px; }
  .stat-card > span { font-size: 9px; }
  .stat-card strong { font-size: 23px; }
  .stat-card small { font-size: 8px; }
  .checklist-grid { grid-template-columns: 1fr 1fr; }
  .checklist-grid a { min-height: 120px; padding: 11px; }
  .welcome-art { display: none; }
  .restaurant-details { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.65; }
  .product-title-row { align-items: center; flex-direction: row; }
  .product-description { font-size: 11px; }
  .menu-cuisine { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .form-grid-inline { grid-template-columns: 1fr; }
  .managed-row { align-items: stretch; flex-wrap: wrap; }
  .managed-edit { width: 100%; }
  .product-admin-row { flex-wrap: wrap; }
  .product-admin-info { min-width: calc(100% - 82px); }
  .dashboard-heading { align-items: flex-start; }
  .status-badge { padding: 6px 8px; font-size: 8px; }
}
