@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #737870;
  --line: #e8e9e3;
  --paper: #f7f7f4;
  --white: #fff;
  --green: #1d5b45;
  --green-deep: #164a37;
  --green-soft: #e7f0eb;
  --lime: #d7ed9f;
  --orange: #e99b68;
  --red: #c95245;
  --shadow: 0 18px 50px rgba(37, 46, 37, .09);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--green); color: #fff; font: 800 24px/1 Manrope, sans-serif; transform: rotate(-5deg); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 Manrope, sans-serif; letter-spacing: -.7px; }
.brand .brand-mark { width: 34px; height: 34px; font-size: 21px; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: 1.7px; font-size: 11px; font-weight: 700; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 45px; border: 1px solid transparent; border-radius: 13px; padding: 0 18px; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 7px 16px rgba(29,91,69,.15); }
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 10px 24px rgba(29,91,69,.21); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light:hover, .btn-quiet:hover { background: var(--green-soft); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-danger { background: #fff1ef; color: var(--red); }
.btn-small { min-height: 36px; border-radius: 10px; padding: 0 12px; font-size: 13px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); }
.icon-btn:hover { background: var(--green-soft); }

.landing { overflow: hidden; }
.landing-nav { max-width: 1240px; margin: auto; height: 82px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 32px; color: #5e655e; font-size: 14px; }
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.hero { position: relative; max-width: 1240px; min-height: 630px; margin: auto; padding: 75px 34px 70px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; }
.hero:before { content: ""; position: absolute; z-index: -1; width: 540px; height: 540px; border-radius: 50%; right: 20px; top: 30px; background: radial-gradient(circle, #e8eedf 0, rgba(232,238,223,0) 69%); }
.hero-copy { max-width: 610px; }
.hero h1 { margin: 19px 0 18px; font: 800 clamp(42px, 5.2vw, 68px)/1.08 Manrope, sans-serif; letter-spacing: -3.8px; }
.hero h1 span { color: var(--green); }
.hero-copy > p { max-width: 500px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.proof-avatars { display: flex; padding-left: 4px; }
.proof-avatars span { width: 31px; height: 31px; margin-left: -5px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: #e6c6a9; font-size: 14px; }
.proof-avatars span:nth-child(2) { background: #d2e0ce; }
.proof-avatars span:nth-child(3) { background: #efcfb8; }
.hero-art { position: relative; min-height: 450px; display: grid; place-items: center; }
.phone-shell { width: min(300px, 78vw); padding: 11px; border: 1px solid rgba(32,35,31,.1); border-radius: 38px; background: #fff; box-shadow: 0 30px 80px rgba(31,49,35,.18); transform: rotate(4deg); animation: float 6s ease-in-out infinite; }
.phone-inner { min-height: 430px; overflow: hidden; border-radius: 29px; background: #f8f7f1; }
.phone-top { height: 28px; display: grid; place-items: center; }
.phone-notch { width: 73px; height: 17px; border-radius: 0 0 12px 12px; background: #20231f; }
.phone-content { padding: 10px 16px 18px; }
.phone-brand { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; }
.phone-hero { margin: 16px 0; padding: 21px 17px; min-height: 116px; display: flex; align-items: end; border-radius: 19px; color: white; background: linear-gradient(140deg, rgba(18,55,42,.35), rgba(18,55,42,.88)), radial-gradient(circle at 75% 22%, #dfb678, transparent 35%), linear-gradient(125deg,#74916f,#254737); }
.phone-hero strong { font: 700 18px Manrope, sans-serif; }
.phone-label { margin: 18px 0 9px; font: 700 14px Manrope, sans-serif; }
.phone-food { display: flex; align-items: center; gap: 11px; padding: 9px; margin-bottom: 8px; border-radius: 14px; background: white; }
.food-thumb { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #f3eadc; font-size: 25px; }
.phone-food:nth-of-type(3) .food-thumb { background: #e5eee2; }
.phone-food:nth-of-type(4) .food-thumb { background: #f2e3dc; }
.phone-food strong { display: block; font-size: 11px; }
.phone-food small { color: var(--muted); font-size: 10px; }
.phone-food b { margin-left: auto; color: var(--green); font-size: 11px; }
.float-card { position: absolute; z-index: 3; padding: 14px 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); animation: float 5s ease-in-out infinite reverse; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card-kitchen { top: 55px; right: 0; }
.float-card-kitchen i { color: #547a38; font-style: normal; }
.float-card-bill { bottom: 60px; left: -12px; }
.float-card-bill span { color: var(--green); font-size: 20px; font-weight: 800; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

.section { max-width: 1240px; margin: auto; padding: 76px 34px; }
.section-heading { max-width: 630px; margin-bottom: 34px; }
.section-heading h2 { margin: 12px 0; font: 800 clamp(30px, 4vw, 44px)/1.16 Manrope, sans-serif; letter-spacing: -1.7px; }
.section-heading p { color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; background: var(--green-soft); font-size: 22px; }
.feature-card h3 { margin: 20px 0 9px; font: 700 17px Manrope, sans-serif; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.cta-band { max-width: 1172px; margin: 25px auto 80px; padding: 48px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: var(--green); }
.cta-band h2 { max-width: 520px; margin: 0; font: 800 34px/1.2 Manrope, sans-serif; letter-spacing: -1.3px; }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.72); }
.cta-band .btn { flex: 0 0 auto; background: var(--lime); color: var(--ink); }
.landing-footer { max-width: 1240px; margin: auto; padding: 25px 34px 40px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

.app-shell { min-height: 100vh; }
.topbar { height: 74px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.topbar-left, .topbar-actions, .user-chip { display: flex; align-items: center; gap: 13px; }
.topbar .brand { font-size: 16px; }
.topbar .brand-mark { width: 32px; height: 32px; }
.app-shell .topbar .brand-mark,
.customer-header .brand-mark { position: relative; overflow: visible; isolation: isolate; color: #ffe08a; background: linear-gradient(145deg, #e8374f, #7d0c18); box-shadow: 0 7px 17px rgba(125, 12, 24, .24); }
.app-shell .topbar .brand-letter,
.customer-header .brand-letter { position: relative; z-index: 1; }
.app-shell .topbar .santa-hat { position: absolute; z-index: 2; top: -13px; left: -4px; width: 38px; height: 31px; overflow: visible; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(61, 10, 18, .28)); transform: rotate(5deg); transform-origin: 70% 75%; transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease; }
.customer-header .santa-hat { position: absolute; z-index: 2; top: -12px; left: -4px; width: 35px; height: 29px; overflow: visible; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(61, 10, 18, .28)); transform: rotate(5deg); transform-origin: 70% 75%; transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease; }
.app-shell .topbar .brand:hover .santa-hat,
.customer-header .brand:hover .santa-hat { transform: rotate(9deg) translateY(-1px) scale(1.06); filter: drop-shadow(0 3px 4px rgba(61, 10, 18, .35)); }
.app-shell .topbar .brand-accent,
.customer-header .brand-accent { color: #c1121f; }
.topbar-divider { height: 25px; border-left: 1px solid var(--line); }
.restaurant-label { color: var(--muted); font-size: 13px; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-weight: 800; }
.user-chip strong { display: block; font-size: 13px; }
.user-chip small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.workspace { max-width: 1440px; min-height: calc(100vh - 74px); margin: auto; padding: 30px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; }
.sidebar { display: flex; flex-direction: column; gap: 5px; }
.side-label { margin: 9px 0 11px 12px; color: #9a9e97; text-transform: uppercase; letter-spacing: 1.3px; font-size: 10px; font-weight: 700; }
.side-link { width: 100%; padding: 12px 13px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; text-align: left; color: #666d65; background: transparent; font-weight: 600; transition: .15s ease; }
.side-link:hover, .side-link.active { color: var(--green); background: var(--green-soft); }
.side-icon { width: 22px; text-align: center; font-size: 17px; }
.sidebar-bottom { margin-top: auto; padding: 17px; border-radius: 17px; background: #edf1e8; }
.sidebar-bottom b { font-size: 12px; }
.sidebar-bottom p { margin: 7px 0 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.workspace-main { min-width: 0; }
.page-heading { margin: 2px 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.page-heading h1 { margin: 5px 0 0; font: 800 30px Manrope, sans-serif; letter-spacing: -1.2px; }
.page-heading p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.heading-actions { display: flex; gap: 8px; }
.trial-notice { margin-bottom: 20px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #dfe9ce; border-radius: 17px; background: linear-gradient(110deg,#f3f7e9,#fff); }
.trial-notice-copy { display: flex; align-items: center; gap: 12px; }
.trial-notice-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; color: #52713b; background: #e6efd6; font-size: 20px; }
.trial-notice-copy strong { font: 800 13px Manrope, sans-serif; }
.trial-notice-copy p { margin: 4px 0 0; color: #697360; font-size: 11px; line-height: 1.55; }
.trial-payment-pending { padding: 9px 12px; border: 1px solid #f0dfb8; border-radius: 11px; color: #815d22; background: #fff8e8; font-size: 11px; font-weight: 700; white-space: nowrap; }
.account-gate { min-height: calc(100vh - 74px); padding: 30px 20px; display: grid; place-items: center; }
.account-gate-card { width: min(100%, 510px); padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); text-align: center; }
.account-gate-icon { width: 58px; height: 58px; margin: 0 auto 21px; display: grid; place-items: center; border-radius: 18px; color: var(--green); background: var(--green-soft); font-size: 27px; }
.account-gate-card h1 { margin: 10px 0 9px; font: 800 25px/1.25 Manrope, sans-serif; letter-spacing: -.8px; }
.account-gate-card p { margin: 0 auto 22px; max-width: 390px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-gate-card .trial-payment-pending { width: fit-content; margin: 0 auto; }
.account-mfa-settings { width: min(100%, 510px); }
.stats-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat-card { min-height: 113px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.stat-card span { color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; margin-top: 10px; font: 800 27px Manrope, sans-serif; letter-spacing: -1px; }
.stat-card small { color: var(--green); font-size: 11px; }
.panel { padding: 21px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.panel-title { margin-bottom: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-title h2 { margin: 0; font: 700 17px Manrope, sans-serif; }
.panel-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.order-list { display: grid; gap: 11px; }
.order-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.order-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.order-title { display: flex; gap: 10px; align-items: center; }
.table-badge { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--green); background: var(--green-soft); font: 800 13px Manrope, sans-serif; }
.order-title strong { display: block; font-size: 14px; }
.order-title small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.status { padding: 6px 9px; border-radius: 30px; font-size: 10px; font-weight: 700; }
.status-new { color: #9a5c14; background: #fff1dc; }
.status-preparing { color: #36648c; background: #e8f2f8; }
.status-ready { color: #4b712d; background: #edf4df; }
.status-served { color: #637067; background: #edf0ec; }
.status-cancelled { color: #805247; background: #fff1ef; }
.order-items { margin: 14px 0; padding: 11px 0; border-top: 1px solid #f0f0ec; border-bottom: 1px solid #f0f0ec; display: grid; gap: 7px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; color: #535a52; font-size: 12px; }
.order-line strong { color: var(--ink); }
.order-foot { display: flex; justify-content: space-between; align-items: center; }
.order-total { font-weight: 800; font-size: 14px; }
.order-actions { display: flex; gap: 7px; }
.note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; color: #735a36; background: #fbf5e9; font-size: 12px; }
.empty-state { padding: 46px 20px; text-align: center; }
.empty-state span { font-size: 34px; }
.empty-state h3 { margin: 12px 0 6px; font: 700 16px Manrope, sans-serif; }
.empty-state p { margin: 0; color: var(--muted); font-size: 13px; }
.menu-toolbar { margin-bottom: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.category-tabs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 30px; background: white; color: #62685f; font-size: 12px; font-weight: 600; }
.category-tab.active { border-color: var(--green); color: white; background: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(35,42,35,.08); }
.product-visual { position: relative; height: 142px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg,#f4e9dc,#ecf0e2); font-size: 51px; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-visual .availability { position: absolute; top: 9px; right: 9px; padding: 5px 8px; border-radius: 30px; color: var(--green); background: rgba(255,255,255,.92); font-size: 10px; font-weight: 700; }
.product-visual .availability.off { color: #8c4a43; }
.product-info { padding: 13px; }
.product-info h3 { margin: 0; font-size: 14px; }
.product-info p { min-height: 32px; margin: 5px 0 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-info-foot { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.product-price { color: var(--green); font-weight: 800; font-size: 14px; }
.table-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.table-card { min-height: 158px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: .18s; }
.table-card.occupied { border-color: #d1dfd3; background: linear-gradient(140deg,#fff,#f0f6ee); }
.table-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.table-card-head { display: flex; justify-content: space-between; align-items: center; }
.table-card h3 { margin: 0; font: 800 16px Manrope, sans-serif; }
.table-state { color: var(--muted); font-size: 10px; }
.table-card .table-total { margin: 20px 0 4px; font: 800 22px Manrope, sans-serif; }
.table-card p { margin: 0; color: var(--muted); font-size: 11px; }
.table-card-actions { margin-top: 11px; }
.bill-list { display: grid; gap: 10px; }
.bill-row { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bill-row-main { display: flex; align-items: center; gap: 11px; }
.bill-row-main strong { display: block; font-size: 13px; }
.bill-row-main small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.team-row-actions { display: flex; align-items: center; gap: 8px; }
.bill-row-end { display: flex; align-items: center; gap: 16px; }
.bill-row-end strong { font: 800 15px Manrope, sans-serif; }
.report-toolbar { margin-bottom: 19px; display: flex; align-items: end; gap: 12px; }
.report-toolbar > div { margin-right: auto; }
.report-toolbar h2 { margin: 0 0 4px; font: 800 18px Manrope, sans-serif; }
.report-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.report-toolbar label { min-width: 180px; display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.report-toolbar input { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 600 12px Manrope, sans-serif; }
.report-toolbar input:focus { outline: 2px solid rgba(29,91,69,.15); border-color: #8eaa96; }
.report-summary { margin-bottom: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.report-summary article { min-height: 96px; padding: 17px; display: grid; align-content: space-between; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.report-summary span { color: var(--muted); font-size: 11px; }
.report-summary strong { font: 800 22px Manrope, sans-serif; }
.report-bill-list { display: grid; gap: 9px; }
.report-bill-row { padding: 13px 15px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.report-bill-row > div strong, .report-bill-row small { display: block; }
.report-bill-row > div strong { font-size: 12px; }
.report-bill-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.report-bill-total { min-width: 90px; text-align: right; font: 800 14px Manrope, sans-serif; }
.report-error { color: #97423a; }
.mobile-nav { display: none; }

.modal-backdrop { position: fixed; inset: 0; z-index: 60; padding: 18px; display: grid; place-items: center; overflow-y: auto; background: rgba(18,29,23,.44); backdrop-filter: blur(5px); animation: fade .16s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(100%, 480px); max-height: min(90vh, 760px); overflow: auto; border-radius: 23px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.2); animation: modal-in .22s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-wide { width: min(100%, 620px); }
.modal-head { padding: 22px 24px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font: 800 20px Manrope, sans-serif; letter-spacing: -.5px; }
.modal-body { padding: 22px 24px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: #4d554c; font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #dedfd9; outline: none; border-radius: 11px; background: #fff; transition: border .15s, box-shadow .15s; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 50px; }
.password-toggle { position: absolute; z-index: 1; top: 50%; right: 8px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 9px; color: #727b6f; background: transparent; cursor: pointer !important; }
.password-toggle svg { width: 18px; height: 18px; pointer-events: none; }
.password-toggle:hover { color: var(--green); background: rgba(29,91,69,.07); }
.password-toggle:focus-visible { outline: 2px solid #82976c; outline-offset: 2px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #63917b; box-shadow: 0 0 0 3px rgba(29,91,69,.1); }
.form-error { padding: 10px 12px; border-radius: 10px; color: #97423a; background: #fff1ef; font-size: 12px; }
.form-help { margin-top: 14px; color: var(--muted); text-align: center; font-size: 12px; }
.form-help button { padding: 0; border: 0; color: var(--green); background: none; font-weight: 700; }
.cart-dock { position: fixed; z-index: 30; right: 20px; bottom: 20px; left: 20px; max-width: 620px; margin: auto; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; color: white; background: var(--green); box-shadow: 0 13px 35px rgba(61,10,18,.22); animation: rise .2s ease; }
.cart-dock span { display: block; color: rgba(255,255,255,.68); font-size: 11px; }
.cart-dock strong { display: block; margin-top: 3px; font-size: 14px; }
.cart-dock .btn { min-height: 40px; color: var(--ink); background: var(--lime); }
.customer-theme {
  --ink: #2a0d12;
  --muted: #8b6a6f;
  --line: rgba(42,13,18,.1);
  --paper: #fffaf8;
  --green: #c1121f;
  --green-deep: #8f0d1a;
  --green-soft: #ffd9dd;
  --lime: #ffe08a;
}
.customer-theme .btn-primary { box-shadow: 0 7px 16px rgba(193,18,31,.15); }
.customer-theme .btn-primary:hover { box-shadow: 0 10px 24px rgba(193,18,31,.21); }
.customer-shell { min-height: 100vh; padding-bottom: 90px; background: var(--paper); }
.customer-header { position: sticky; z-index: 40; top: 0; padding: 22px max(calc((100vw - 950px)/2),20px); background: white; border-bottom: 1px solid var(--line); }
.customer-header-top { max-width: 950px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.customer-header .brand { font-size: 14px; }
.customer-header .brand-mark { width: 29px; height: 29px; font-size: 18px; }
.customer-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.customer-bill-button { min-height: 42px; padding: 0 15px; border: 1px solid #efc7c9; border-radius: 12px; color: var(--green-deep); background: #fff0ef; font: 800 12px Manrope, sans-serif; cursor: pointer; }
.customer-bill-button:hover { border-color: #e89ca2; background: #ffe3e5; }
.customer-header-actions .customer-header-cart { margin-left: 0; }
.customer-header-cart { display: none; min-height: 44px; margin-left: auto; padding: 6px 12px 6px 8px; align-items: center; gap: 9px; border: 1px solid var(--green-deep); border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 5px 14px rgba(125,12,24,.24); text-align: left; transition: transform .16s ease, box-shadow .16s ease; }
.customer-header-cart:hover { transform: translateY(-1px); box-shadow: 0 7px 17px rgba(125,12,24,.3); }
.customer-header-cart-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px; color: var(--green-deep); background: var(--lime); }
.customer-header-cart-icon svg { width: 20px; height: 20px; }
.customer-header-cart-copy { display: grid; gap: 2px; }
.customer-header-cart-label { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.customer-header-cart-label b { min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; color: var(--green-deep); background: #fff; font-size: 9px; line-height: 1; }
.customer-header-cart strong { color: #fff; font-size: 13px; line-height: 1.1; }
.table-pill { padding: 7px 11px; border-radius: 30px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 700; }
.customer-hero { position: relative; isolation: isolate; max-width: 950px; min-height: 195px; margin: 23px auto 0; padding: 28px; overflow: hidden; border-radius: 23px; display: flex; flex-direction: column; justify-content: end; color: white; background: var(--hero-background); }
body.customer-theme .customer-hero { --hero-accent: #ffe08a; }
.customer-hero .eyebrow { color: var(--hero-accent, #d7ed9f); }
.customer-hero h1 { margin: 8px 0 5px; font: 800 30px Manrope, sans-serif; letter-spacing: -1px; }
.customer-hero p { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; }
.customer-order-request { max-width: 950px; margin: 14px auto 0; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #f1d59a; border-radius: 15px; color: #704d05; background: #fff6dc; }
.customer-order-request.is-approved { border-color: #cfe4d2; color: #32613e; background: #eff8ef; }
.customer-order-request.is-rejected { border-color: #f0d7d2; color: #805247; background: #fff5f1; }
.customer-order-request strong { display: block; font-size: 13px; }
.customer-order-request p { margin: 3px 0 0; color: inherit; font-size: 11px; opacity: .8; }
.customer-order-request small { display: block; margin-top: 5px; color: inherit; font-size: 10px; opacity: .75; }
.customer-order-request .btn { flex: 0 0 auto; }
.order-request-chooser { display: grid; gap: 12px; }
.order-request-chooser p { margin: 0 0 2px; color: var(--ink); font-size: 13px; }
.order-request-chooser small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.customer-request-items { display: grid; gap: 9px; }
.customer-request-item { min-height: 58px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 11px; }
.customer-request-item span { min-width: 0; display: grid; gap: 3px; }
.customer-request-item strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.customer-request-item small { color: var(--muted); font-size: 10px; }
.customer-request-item select { width: auto; min-height: 38px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: 700 11px Manrope, sans-serif; }
.customer-bill-status { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #f1d58a; border-radius: 14px; color: #704d05; background: #fff6dc; }
.customer-bill-status.is-closed { border-color: #e4e6df; color: #59645b; background: #f4f5f1; }
.customer-bill-status span { font-size: 12px; font-weight: 700; }
.customer-bill-status strong { font: 800 22px Manrope, sans-serif; white-space: nowrap; }
.customer-bill-meta { margin: 11px 1px 14px; color: var(--muted); font-size: 11px; }
.customer-bill-lines { display: grid; gap: 9px; }
.customer-bill-line { padding-bottom: 9px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.customer-bill-line small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.customer-bill-line strong { white-space: nowrap; }
.customer-bill-empty { padding: 10px 0; color: var(--muted); text-align: center; font-size: 12px; }
.customer-bill-total { margin-top: 13px; padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px dashed var(--line); font-weight: 800; }
.customer-bill-total strong { font: 800 16px Manrope, sans-serif; }
.customer-bill-note, .customer-bill-warning { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.customer-bill-warning, .customer-bill-error { color: #97423a; }
.customer-bill-refresh { width: 100%; margin-top: 15px; }
.customer-content { max-width: 950px; margin: auto; padding: 22px 0; }
.customer-category-nav { max-width: 950px; margin: 17px auto 0; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.customer-category-nav::-webkit-scrollbar { display: none; }
.customer-category-tab { min-height: 40px; padding: 0 16px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; color: #6b4046; background: #fff; font: 700 12px Manrope, sans-serif; white-space: nowrap; cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.customer-category-tab:hover { transform: translateY(-1px); border-color: #e6aeb2; color: var(--green); }
.customer-category-tab.active { border-color: var(--green); color: #fff; background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 5px 13px rgba(193,18,31,.18); }
.customer-category-tab:focus-visible { outline: 3px solid rgba(193,18,31,.25); outline-offset: 2px; }
.customer-category { margin: 27px 0 13px; font: 800 20px Manrope, sans-serif; letter-spacing: -.5px; }
.customer-category:first-child { margin-top: 4px; }
.customer-products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.customer-product { min-height: 120px; padding: 11px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.customer-product-image { width: 94px; height: 94px; flex: 0 0 94px; overflow: hidden; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#f7d9d6,#fff4d6); font-size: 36px; }
.customer-product-image img { width: 100%; height: 100%; object-fit: cover; }
.customer-product-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.customer-product-info h3 { margin: 3px 0 5px; font: 700 13px Manrope, sans-serif; }
.customer-product-info p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.customer-product-end { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.customer-product-end strong { color: var(--green); font-size: 13px; }
.menu-view-only { color: #7a806f; font-size: 10px; font-weight: 700; }
.add-item { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 10px; color: white; background: var(--green); font-size: 19px; }
.add-item:hover { transform: scale(1.07); }
.qty-control { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 800; }
.qty-control button { width: 25px; height: 25px; border: 1px solid #efc7c9; border-radius: 8px; color: var(--green); background: #fff0ef; font-weight: 800; }
@keyframes cart-added-pop { 0% { opacity: .7; transform: scale(.9); } 55% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
.qty-control.cart-added, .customer-header-cart.cart-added, .cart-dock.cart-added { animation: cart-added-pop .42s cubic-bezier(.2,.8,.25,1); }
.customer-footer { max-width: 950px; margin: 20px auto; color: #9a9e97; text-align: center; font-size: 11px; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-item-name strong { display: block; font-size: 13px; }
.cart-item-name small { color: var(--muted); font-size: 11px; }
.cart-total { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 800; }
.receipt { font-family: "DM Sans", sans-serif; }
.receipt-head { text-align: center; }
.receipt-head .brand-mark { margin: 0 auto 10px; }
.receipt-head h3 { margin: 0; font: 800 19px Manrope, sans-serif; }
.receipt-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.receipt-meta { margin: 18px 0 12px; padding: 11px 0; border-top: 1px dashed #c9ccc4; border-bottom: 1px dashed #c9ccc4; display: flex; justify-content: space-between; font-size: 12px; }
.receipt-lines { display: grid; gap: 10px; }
.receipt-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 12px; }
.receipt-line small { display: block; margin-top: 3px; color: var(--muted); }
.receipt-total { margin-top: 16px; padding-top: 13px; border-top: 1px dashed #c9ccc4; display: flex; justify-content: space-between; font: 800 16px Manrope, sans-serif; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; max-width: calc(100vw - 30px); padding: 12px 17px; border-radius: 13px; color: white; background: #202a23; box-shadow: var(--shadow); font-size: 13px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.admin-toolbar { display: flex; gap: 8px; margin-bottom: 15px; }
.admin-toolbar input { flex: 1; min-height: 42px; padding: 9px 12px; border: 1px solid #dedfd9; border-radius: 11px; outline: none; }
.admin-toolbar input:focus { border-color: #63917b; box-shadow: 0 0 0 3px rgba(29,91,69,.1); }
.admin-list { display: grid; gap: 10px; }
.admin-restaurant-row, .admin-payment-row { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: minmax(220px,1fr) auto auto; align-items: center; gap: 14px; }
.admin-restaurant-meta { display: grid; justify-items: end; gap: 7px; color: var(--muted); font-size: 11px; }
.admin-pagination { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-pagination span { color: var(--muted); font-size: 12px; }
.status-pending_payment, .status-pending_activation { color: #9a5c14; background: #fff1dc; }

/* Platform administrator */
.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: #f4f6f3;
  color: #20251f;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px 18px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e6e9e3;
  background: #fff;
}
.admin-brand {
  height: 44px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 18px Manrope, sans-serif;
  letter-spacing: -.6px;
}
.admin-brand .brand-mark { width: 34px; height: 34px; font-size: 21px; }
.admin-nav { margin-top: 38px; display: grid; gap: 6px; }
.admin-nav-label {
  margin: 0 12px 8px;
  color: #a1a79e;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 800;
}
.admin-nav-link {
  min-height: 48px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  border: 0;
  border-radius: 12px;
  text-align: left;
  color: #697067;
  background: transparent;
  font-size: 14px;
}
.admin-nav-link span { font-size: 18px; }
.admin-nav-link b { font-weight: 700; }
.admin-nav-link i {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-style: normal;
}
.admin-nav-link:hover, .admin-nav-link.active { color: var(--green); background: #edf4ef; }
.admin-sidebar-user {
  margin-top: auto;
  min-height: 66px;
  padding: 10px;
  display: grid;
  grid-template-columns: 38px 1fr 32px;
  align-items: center;
  gap: 9px;
  border: 1px solid #e8ebe5;
  border-radius: 14px;
  background: #fafbf9;
}
.admin-user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}
.admin-sidebar-user strong, .admin-sidebar-user small { display: block; }
.admin-sidebar-user strong { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.admin-sidebar-user small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.admin-sidebar-user button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  color: #747b72;
  background: #fff;
  cursor: pointer;
}
.admin-main { min-width: 0; }
.admin-header {
  height: 96px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7eae4;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
}
.admin-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #8b9388;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 9px;
  font-weight: 800;
}
.admin-header h1 { margin: 0; font: 800 25px Manrope, sans-serif; letter-spacing: -.8px; }
.admin-refresh, .admin-row-action {
  width: 38px;
  height: 38px;
  border: 1px solid #e2e6df;
  border-radius: 10px;
  color: #687066;
  background: #fff;
  cursor: pointer;
}
.admin-refresh:hover, .admin-row-action:hover { color: var(--green); border-color: #bfd1c4; }
.admin-content { padding: 28px 38px 44px; }
.admin-stat-grid { margin-bottom: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.admin-stat-card {
  min-height: 105px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #e7eae4;
  border-radius: 16px;
  background: #fff;
}
.admin-stat-card span { color: #7e867b; font-size: 11px; }
.admin-stat-card strong { display: block; margin-top: 13px; color: #242923; font: 800 27px Manrope, sans-serif; letter-spacing: -1px; }
.admin-stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f1f3ef;
  font-size: 17px !important;
}
.admin-stat-card.success .admin-stat-icon { color: #3d713f; background: #edf5ea; }
.admin-stat-card.warning .admin-stat-icon { color: #99621e; background: #fbf2df; }
.admin-stat-card.violet .admin-stat-icon { color: #65548d; background: #f1eef8; }
.admin-table-panel {
  overflow: hidden;
  border: 1px solid #e5e8e2;
  border-radius: 17px;
  background: #fff;
}
.admin-table-head {
  min-height: 82px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf0ea;
}
.admin-table-head h2 { margin: 0 0 4px; font: 800 16px Manrope, sans-serif; }
.admin-table-head p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-toolbar { position: relative; display: flex; align-items: center; }
.admin-toolbar input {
  width: 260px;
  height: 40px;
  padding: 0 82px 0 35px;
  border: 1px solid #dde2da;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 12px;
}
.admin-toolbar input:focus { border-color: #86a493; box-shadow: 0 0 0 3px rgba(29,91,69,.07); }
.admin-search-icon { position: absolute; z-index: 1; left: 12px; color: #969d93; font-size: 17px; }
.admin-search-button {
  position: absolute;
  right: 5px;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  height: 43px;
  padding: 0 16px;
  text-align: left;
  color: #989f95;
  background: #fafbf9;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-size: 9px;
  font-weight: 800;
}
.admin-table td { height: 68px; padding: 8px 16px; border-top: 1px solid #edf0ea; color: #4e554d; font-size: 12px; }
.admin-table tbody tr { transition: background .12s ease; }
.admin-table tbody tr:hover { background: #fcfdfb; }
.admin-table-restaurant { display: flex; align-items: center; gap: 10px; }
.admin-logo {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--green);
  background: #edf4ef;
  font-weight: 800;
}
.admin-table-restaurant strong, .admin-table-restaurant small, .admin-cell-sub { display: block; }
.admin-table-restaurant strong { color: #252a24; font-size: 12px; }
.admin-table-restaurant small { margin-top: 4px; color: #969d93; font-size: 10px; }
.admin-status {
  width: fit-content;
  height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.admin-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.admin-status.success { color: #557a40; background: #edf5e5; }
.admin-status.warning { color: #9a681f; background: #fbf2df; }
.admin-status.danger { color: #a54f47; background: #fbeae7; }
.admin-status.muted-status { color: #747b72; background: #eff1ed; }
.admin-table-number { color: #343933; font-weight: 700; }
.admin-date { color: #7f877c; font-size: 11px; }
.admin-row-action { border: 0; background: transparent; letter-spacing: 2px; }
.admin-empty { height: 170px; display: grid; place-items: center; color: #9aa095; }
.admin-pagination { height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; border-top: 1px solid #edf0ea; }
.admin-pagination span { color: #8e958a; font-size: 11px; }
.admin-page-button { width: 34px; height: 34px; border: 1px solid #e2e6df; border-radius: 9px; background: #fff; cursor: pointer; }
.admin-page-button:disabled { opacity: .45; cursor: default; }
.admin-payments-table td { height: 74px; }
.admin-link { color: var(--green); font-size: 11px; font-weight: 700; }
.admin-payment-actions { display: flex; justify-content: flex-end; gap: 6px; }
.admin-confirm, .admin-reject {
  height: 34px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.admin-confirm { padding: 0 12px; border: 0; color: #fff; background: var(--green); }
.admin-reject { width: 34px; border: 1px solid #ecd3cf; color: #a54f47; background: #fff8f7; }
.admin-mobile-nav { display: none; }

@media (max-width: 940px) {
  .hero { gap: 22px; }
  .float-card-kitchen { right: -7px; }
  .workspace { grid-template-columns: 185px minmax(0,1fr); gap: 21px; padding: 23px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .table-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .customer-header, .customer-content, .customer-hero, .customer-category-nav, .customer-footer { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 720px) {
  .admin-app { display: block; }
  .admin-sidebar { display: none; }
  .admin-header { height: 76px; padding: 0 16px; }
  .admin-header h1 { font-size: 21px; }
  .admin-content { padding: 16px 12px 82px; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .admin-stat-card { min-height: 88px; padding: 14px; }
  .admin-stat-card strong { font-size: 23px; }
  .admin-stat-icon { width: 32px; height: 32px; }
  .admin-table-head { align-items: flex-start; flex-direction: column; }
  .admin-toolbar, .admin-toolbar input { width: 100%; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 720px; }
  .admin-payments-table { min-width: 780px; }
  .admin-mobile-nav {
    position: fixed;
    z-index: 30;
    right: 10px;
    bottom: 10px;
    left: 10px;
    height: 58px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #e4e8e1;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 40px rgba(38,45,38,.12);
    backdrop-filter: blur(14px);
  }
  .admin-mobile-nav button {
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #777f75;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
  }
  .admin-mobile-nav button.active { color: var(--green); background: #edf4ef; }
  .admin-mobile-nav button { flex-direction: column; gap: 2px; font-size: 10px; }
  .admin-mobile-nav button svg { width: 15px; height: 15px; }
  .landing-nav { height: 68px; padding: 0 19px; }
  .nav-links { display: none; }
  .nav-actions .btn { min-height: 39px; padding: 0 12px; font-size: 12px; }
  .hero { min-height: auto; padding: 45px 22px 55px; grid-template-columns: 1fr; gap: 5px; }
  .hero h1 { max-width: 530px; font-size: clamp(42px, 11vw, 60px); letter-spacing: -2.7px; }
  .hero-copy > p { font-size: 15px; }
  .hero-art { min-height: 410px; }
  .phone-shell { transform: scale(.88) rotate(3deg); }
  .float-card-kitchen { right: 2%; }
  .float-card-bill { left: 3%; }
  .section { padding: 50px 21px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .cta-band { margin: 10px 20px 55px; padding: 30px 24px; align-items: start; flex-direction: column; }
  .cta-band h2 { font-size: 28px; }
  .landing-footer { padding: 22px; }
  .topbar { height: 64px; padding: 0 16px; }
  .topbar-divider, .restaurant-label, .user-chip > div:last-child { display: none; }
  .topbar .brand { font-size: 14px; }
  .topbar .brand-mark { width: 29px; height: 29px; }
  .topbar-actions { gap: 8px; }
  .workspace { min-height: calc(100vh - 64px); padding: 22px 16px 94px; display: block; }
  .sidebar { display: none; }
  .page-heading { margin-bottom: 19px; align-items: start; }
  .trial-notice { align-items: flex-start; flex-direction: column; padding: 15px; }
  .trial-notice > .btn { width: 100%; }
  .trial-payment-pending { white-space: normal; }
  .account-gate { min-height: calc(100vh - 64px); padding: 20px 14px; }
  .account-gate-card { padding: 31px 22px; }
  .account-gate-card h1 { font-size: 22px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 12px; }
  .page-heading .btn { min-height: 39px; padding: 0 12px; font-size: 12px; }
  .stats-grid { gap: 8px; }
  .stat-card { min-height: 90px; padding: 13px; border-radius: 14px; }
  .stat-card span { font-size: 10px; }
  .stat-card strong { font-size: 22px; }
  .stat-card small { font-size: 9px; }
  .panel { padding: 15px; border-radius: 16px; }
  .product-grid { gap: 9px; }
  .product-visual { height: 114px; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 12px; }
  .product-info p { font-size: 10px; }
  .table-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .table-card { min-height: 145px; padding: 13px; }
  .mobile-nav { position: fixed; z-index: 22; right: 0; bottom: 0; left: 0; padding: 8px 9px calc(8px + env(safe-area-inset-bottom)); display: flex; justify-content: space-around; border-top: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(15px); }
  .mobile-nav .side-link { width: auto; min-width: 64px; padding: 7px 9px; flex-direction: column; gap: 3px; border-radius: 11px; text-align: center; font-size: 9px; }
  .mobile-nav .side-icon { font-size: 18px; }
  .customer-header { padding: 17px 0; margin: 0; }
  .customer-header-top { padding: 0 18px; }
  .customer-header-actions { gap: 6px; }
  .customer-bill-button { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .customer-header-cart { display: flex; }
  .cart-dock { display: none; }
  .customer-hero { min-height: 165px; margin: 17px 14px 0; padding: 22px; }
  .customer-hero h1 { font-size: 26px; }
  .customer-order-request { margin: 12px 14px 0; align-items: flex-start; flex-direction: column; }
  .customer-order-request .btn { width: 100%; justify-content: center; }
  .customer-request-item { align-items: flex-start; flex-direction: column; }
  .customer-request-item select { width: 100%; }
  .customer-category-nav { margin: 12px 14px 0; gap: 7px; }
  .customer-category-tab { min-height: 38px; padding: 0 13px; font-size: 11px; }
  .customer-content { margin: 0; padding: 19px 14px; }
  .customer-category { font-size: 18px; }
  .customer-products { grid-template-columns: 1fr; gap: 9px; }
  .customer-product { min-height: 110px; }
  .customer-product-image { width: 86px; height: 86px; flex-basis: 86px; }
  .customer-footer { margin: 0 15px 25px; }
  .modal-backdrop { padding: 12px; align-items: end; }
  .modal { max-height: 88vh; border-radius: 22px 22px 16px 16px; }
  .modal-head { padding: 18px 19px 14px; }
  .modal-body { padding: 18px 19px 21px; }
  .bill-row { align-items: start; padding: 13px; }
  .bill-row-end { align-items: end; flex-direction: column; gap: 8px; }
  .report-toolbar { align-items: stretch; flex-wrap: wrap; }
  .report-toolbar > div { flex: 1 0 100%; }
  .report-toolbar label { flex: 1; }
  .report-bill-row { grid-template-columns: 1fr auto; }
  .report-bill-row > button { grid-column: 1 / -1; width: 100%; }
  .report-bill-total { min-width: 0; }
  .admin-restaurant-row, .admin-payment-row { grid-template-columns: 1fr; align-items: start; }
  .admin-restaurant-meta { justify-items: start; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 39px; }
  .nav-actions .btn-quiet { display: none; }
  .customer-header-top { padding: 0 14px; }
  .customer-header-cart { gap: 6px; padding-right: 9px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:last-child { display: none; }
  .table-grid { grid-template-columns: 1fr 1fr; }
  .product-info-foot .btn { padding: 0 8px; font-size: 10px; }
}
/* Clean, restrained visual system for the platform administrator */
.admin-app, .admin-app * { cursor: default; }
.admin-app button, .admin-app a { cursor: pointer; }
.admin-app input { cursor: text; }
.admin-app {
  --admin-accent: var(--green);
  --admin-accent-hover: var(--green-deep);
  --admin-text: #17241d;
  --admin-muted: #68746d;
  --admin-border: #e6e9e1;
  grid-template-columns: 232px minmax(0,1fr);
  background: #f8f8f4;
}
.admin-app svg { width: 18px; height: 18px; display: block; }
.admin-sidebar {
  padding: 22px 14px 14px;
  border-right: 1px solid var(--admin-border);
  background: rgba(255,255,255,.9);
  animation: admin-side-in 220ms ease-out both;
}
.admin-brand { color: var(--admin-text); }
.admin-brand .brand-mark { background: var(--green); box-shadow: 0 7px 17px rgba(29,91,69,.19); }
.admin-nav { margin-top: 30px; }
.admin-nav-label { margin-left: 12px; color: #89948b; }
.admin-nav-link {
  position: relative;
  min-height: 44px;
  grid-template-columns: 28px 1fr auto;
  border-radius: 12px;
  color: #68746d;
  transition: color 140ms ease, background-color 140ms ease;
}
.admin-nav-link span { width: 18px; height: 18px; }
.admin-nav-link > span:first-child { display: grid; place-items: center; }
.admin-nav-link:hover { color: var(--green); background: #f1f4ec; }
.admin-nav-link.active { color: var(--green); background: var(--green-soft); }
.admin-nav-link.active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
  content: "";
}
.admin-nav-link i { min-width: 18px; height: 18px; background: var(--green); }
.admin-sidebar-user {
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #fbfaf6;
}
.admin-user-avatar { border-radius: 10px; background: var(--green); }
.admin-sidebar-user button {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: #68746d;
  background: #fff;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.admin-sidebar-user button svg { width: 16px; height: 16px; margin: auto; }
.admin-sidebar-user button:hover { color: var(--green); border-color: #cbd9c9; background: #f1f4ec; }
.admin-header {
  height: 82px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(248,248,244,.9);
  backdrop-filter: blur(16px);
}
.admin-header h1 { color: var(--admin-text); font-size: 24px; }
.admin-eyebrow { color: #77887b; }
.admin-refresh, .admin-row-action {
  border: 1px solid #e1e4dc;
  border-radius: 11px;
  color: #68746d;
  background: #fff;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.admin-refresh svg { width: 16px; height: 16px; margin: auto; }
.admin-refresh:hover, .admin-row-action:hover { color: var(--green); border-color: #bfd1c4; background: var(--green-soft); }
.admin-refresh:active, .admin-row-action:active,
.admin-search-button:active, .admin-confirm:active, .admin-reject:active,
.admin-page-button:active { transform: none; }
.admin-content { padding: 24px 32px 40px; }
.admin-header, .admin-content { animation: admin-content-in 220ms ease-out both; }
.admin-stat-grid { gap: 12px; }
.admin-stat-card {
  min-height: 96px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.admin-stat-card:hover { border-color: #cedbc9; box-shadow: 0 8px 22px rgba(29,91,69,.07); transform: translateY(-1px); }
.admin-stat-card span { color: var(--admin-muted); }
.admin-stat-card strong { color: var(--admin-text); }
.admin-stat-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--admin-border);
  border-radius: 11px;
  background: #f8f8f4;
  color: var(--green);
  font-size: 0 !important;
}
.admin-stat-icon svg { width: 17px; height: 17px; }
.admin-stat-card.success .admin-stat-icon { color: #346b4d; border-color: #d3e4d3; background: #eaf2e8; }
.admin-stat-card.warning .admin-stat-icon { color: #9a681f; border-color: #ead9b5; background: #fbf2df; }
.admin-stat-card.violet .admin-stat-icon { color: #52713b; border-color: #dfe9ce; background: #edf3e3; }
.admin-table-panel { border: 1px solid var(--admin-border); border-radius: 17px; box-shadow: 0 8px 28px rgba(38,51,39,.035); }
.admin-table-head { min-height: 76px; border-bottom: 1px solid var(--admin-border); }
.admin-table-head h2 { color: var(--admin-text); }
.admin-toolbar input {
  height: 38px;
  border: 1px solid #dedfd9;
  border-radius: 11px;
  color: var(--admin-text);
  background: #fff;
  box-shadow: 0 1px 2px rgba(31,49,35,.025);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.admin-toolbar input:focus { border-color: #86a493; box-shadow: 0 0 0 3px rgba(29,91,69,.1); }
.admin-search-icon { color: #89948b; }
.admin-search-icon svg { width: 16px; height: 16px; }
.admin-search-button {
  height: 28px;
  border-radius: 8px;
  background: var(--admin-accent);
  transition: background-color 140ms ease;
}
.admin-search-button:hover { background: var(--admin-accent-hover); }
.admin-table th { color: #798579; background: #f7f7f1; }
.admin-table td { border-top: 1px solid #edf0e8; transition: background-color 140ms ease; }
.admin-table tbody tr:hover { background: #fbfcf8; }
.admin-logo { border-radius: 11px; color: var(--green); background: #eaf1e7; }
.admin-status { border: 1px solid transparent; border-radius: 999px; }
.admin-status.success { color: #346b4d; border-color: #cfe0d0; background: #eaf2e8; }
.admin-status.warning { color: #8a641f; border-color: #ead9b5; background: #fbf2df; }
.admin-status.danger { color: #a54f47; border-color: #ecd3cf; background: #fff1ef; }
.admin-status.muted-status { color: #747b72; border-color: #e0e3db; background: #f1f2ec; }
.admin-row-action { width: 34px; height: 34px; border: 1px solid transparent; background: transparent; }
.admin-row-action svg { width: 18px; height: 18px; margin: auto; }
.admin-row-action:hover { border-color: #dbe5d8; background: #f1f4ec; }
.admin-page-button {
  display: grid;
  place-items: center;
  border-radius: 10px;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.admin-page-button svg { width: 15px; height: 15px; }
.admin-page-button:hover:not(:disabled) { color: var(--green); border-color: #bfd1c4; background: var(--green-soft); }
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-weight: 600;
  transition: color 140ms ease;
}
.admin-link-button { padding: 0; border: 0; background: transparent; font: inherit; font-size: 11px; font-weight: 600; text-align: left; cursor: pointer; }
.admin-link svg { width: 14px; height: 14px; }
.admin-link:hover { color: var(--green-deep); }
.receipt-image-preview { max-height: 72vh; overflow: auto; border: 1px solid #e8e9e3; border-radius: 12px; background: #f7f7f4; text-align: center; }
.receipt-image-preview img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.admin-confirm, .admin-reject { border-radius: 7px; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.admin-confirm { background: var(--admin-accent); }
.admin-confirm:hover { background: var(--admin-accent-hover); }
.admin-reject { border: 1px solid #ecd3cf; color: #a54f47; background: #fff; }
.admin-reject svg { width: 15px; height: 15px; margin: auto; }
.admin-reject:hover { border-color: #e4c2bc; background: #fff1ef; }
.admin-mobile-nav {
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 35px rgba(29,48,35,.12);
  backdrop-filter: blur(14px);
}
.admin-mobile-nav button { transition: color 140ms ease, background-color 140ms ease; }
.admin-mobile-nav button span { display: grid; place-items: center; }
.admin-mobile-nav button svg { width: 16px; height: 16px; }
.admin-mobile-nav button.active { color: var(--green); background: var(--green-soft); }
.admin-app button:focus-visible, .admin-app a:focus-visible, .admin-app input:focus-visible {
  outline: 3px solid rgba(76,149,108,.3);
  outline-offset: 2px;
}
.admin-app button:disabled { cursor: not-allowed; }
.admin-modal { border: 1px solid #e9e1d0; border-radius: 23px; background: #fbf8ef; box-shadow: 0 30px 90px rgba(29,48,35,.2); }
.admin-modal .modal-head { padding: 22px 24px 17px; border-bottom-color: #e9e1d0; }
.admin-modal .modal-head h2 { color: #23392d; font-size: 19px; }
.admin-modal .icon-btn { border: 1px solid #e8dfcb; border-radius: 50%; color: #46604f; background: #f5f0e4; transition: background-color 140ms ease, color 140ms ease; }
.admin-modal .icon-btn:hover { color: var(--green); background: #ece5d4; }
.admin-modal .modal-body { color: #34483a; }
.admin-modal .field label { color: #68746d; font-size: 11px; }
.admin-modal .field b { color: #23392d; font-size: 13px; }
.admin-modal .btn { border-radius: 12px; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.admin-modal .btn-primary { background: var(--green); }
.admin-modal .btn-primary:hover { background: var(--green-deep); }
.admin-modal .btn-light { border-color: #e1ddcf; color: #34483a; background: #fffefa; }
.admin-modal .btn-light:hover { background: #f2efdf; }
.admin-modal .btn-danger { color: #a54f47; background: #fff1ef; }
.admin-modal .btn-danger:hover { background: #fbe7e2; }
.admin-refresh:hover svg { animation: admin-spin 450ms ease-out; }
.admin-payment-actions .admin-confirm { display: inline-flex; align-items: center; gap: 6px; }
.admin-confirm::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes admin-content-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes admin-side-in { from { opacity: .8; } to { opacity: 1; } }
@keyframes admin-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .admin-app *, .admin-app *::before, .admin-app *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body { background: #fff; }
  body * { visibility: hidden !important; }
  .modal-backdrop, .modal-backdrop * { visibility: visible !important; }
  .modal-backdrop { position: absolute; inset: 0; padding: 0; display: block; background: #fff; }
  .modal { width: 100%; max-height: none; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .modal-head, .receipt-actions { display: none !important; }
  .modal-body { padding: 0; }
  .receipt { max-width: 330px; margin: 0 auto; padding: 15px; color: #111; }
}

.landing {
  --landing-bg: #f8f8f4;
  --landing-ink: #17241d;
  --landing-muted: #68746d;
  --landing-line: #e6e9e1;
  overflow: hidden;
  color: var(--landing-ink);
  background:
    radial-gradient(ellipse at 87% 8%, rgba(218, 231, 211, .48), transparent 25%),
    var(--landing-bg);
}
.landing .brand { gap: 11px; font-size: 19px; letter-spacing: -.8px; }
.landing .brand-mark { width: 38px; height: 38px; border-radius: 13px; box-shadow: 0 7px 17px rgba(29,91,69,.19); }
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 12;
  max-width: none;
  height: 84px;
  padding: 0 clamp(22px, 6vw, 88px);
  border-bottom: 1px solid rgba(30, 48, 37, .07);
  background: rgba(248, 248, 244, .88);
  backdrop-filter: blur(18px);
}
.landing .nav-links { gap: clamp(18px, 2.5vw, 36px); color: #526057; font-size: 13px; font-weight: 600; }
.landing .nav-links a { transition: color .18s ease; }
.landing .nav-links a:hover { color: var(--green); }
.landing .nav-actions { gap: 8px; }
.landing .nav-actions .btn { min-height: 44px; border-radius: 12px; font-size: 12px; }
.landing .nav-actions .btn-primary { padding: 0 16px; }
.landing .hero {
  max-width: 1440px;
  min-height: 690px;
  padding: 76px clamp(28px, 6vw, 88px) 90px;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, .93fr);
  gap: clamp(28px, 5vw, 72px);
}
.landing .hero:before {
  z-index: 0;
  width: min(57vw, 720px);
  height: min(57vw, 720px);
  top: 8px;
  right: -40px;
  background: radial-gradient(circle, rgba(216, 229, 207, .74), rgba(232, 238, 223, 0) 69%);
}
.landing .hero-copy { position: relative; z-index: 1; max-width: 680px; }
.landing .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #397158; letter-spacing: 1.5px; font-size: 10px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #4c956c; box-shadow: 0 0 0 4px rgba(76,149,108,.12); }
.landing .hero h1 {
  margin: 23px 0 21px;
  font-size: clamp(48px, 5.1vw, 68px);
  line-height: 1.035;
  letter-spacing: -4px;
}
.landing .hero h1 span { color: var(--green); }
.landing .hero-copy > p { max-width: 520px; color: var(--landing-muted); font-size: 16px; line-height: 1.8; }
.landing .hero-actions { align-items: center; gap: 22px; margin-top: 29px; }
.landing .hero-actions .btn { min-height: 54px; padding: 0 22px; border-radius: 14px; font-size: 14px; }
.landing .hero-actions .btn span { transition: transform .18s ease; }
.landing .hero-actions .btn:hover span { transform: translateX(4px); }
.hero-secondary-link { display: inline-flex; align-items: center; gap: 8px; color: #536159; font-size: 13px; font-weight: 700; }
.hero-secondary-link span { color: var(--green); transition: transform .18s ease; }
.hero-secondary-link:hover span { transform: translateY(3px); }
.landing .hero-proof { gap: 10px; margin-top: 26px; color: #657269; font-size: 12px; }
.proof-check { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e3eee4; font-size: 12px; font-weight: 800; }
.landing .hero-art { position: relative; z-index: 1; min-height: 520px; isolation: isolate; }
.art-orbit { position: absolute; z-index: -1; border: 1px solid rgba(29,91,69,.10); border-radius: 50%; }
.art-orbit-one { width: 470px; height: 470px; }
.art-orbit-two { width: 560px; height: 560px; border-color: rgba(29,91,69,.06); }
.landing .phone-shell { width: min(316px, 78vw); padding: 10px; border-color: rgba(27,57,38,.11); border-radius: 40px; box-shadow: 0 38px 90px rgba(25,49,34,.2), 0 8px 22px rgba(25,49,34,.08); }
.landing .phone-inner { min-height: 456px; border-radius: 31px; background: #fbfaf6; }
.landing .phone-top { height: 29px; }
.landing .phone-brand { justify-content: flex-start; gap: 8px; font-size: 12px; }
.phone-brand-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--green); font-size: 11px; }
.landing .phone-brand > span:last-child { margin-left: auto; color: #818a80; font-size: 18px; }
.landing .phone-hero { min-height: 128px; margin: 16px 0; padding: 20px; background: linear-gradient(140deg, rgba(18,55,42,.35), rgba(18,55,42,.91)), radial-gradient(circle at 75% 22%, #dfb678, transparent 35%), linear-gradient(125deg,#74916f,#254737); }
.landing .phone-label { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 9px; }
.phone-label small { color: #708075; font-size: 10px; font-weight: 500; }
.landing .phone-food { gap: 9px; padding: 8px; border: 1px solid #f0f0eb; box-shadow: 0 3px 8px rgba(31,49,35,.025); }
.landing .food-thumb { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 11px; font-size: 22px; }
.landing .phone-food strong { font-size: 10px; }
.landing .phone-food small { font-size: 9px; }
.landing .phone-food b { font-size: 10px; }
.landing .float-card { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.92); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 15px 40px rgba(29,48,35,.12); animation-duration: 6s; }
.landing .float-card b { font-size: 12px; }
.landing .float-card small { display: block; margin-top: 4px; font-size: 10px; }
.landing .float-card-kitchen { top: 72px; right: -8px; }
.notification-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #26734f; background: #e8f4e9; font-size: 15px; font-weight: 800; }
.landing .float-card-bill { bottom: 24px; left: -90px; }
.qr-mini-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: #e9f1e8; font-size: 26px; }
.landing .float-card-bill b { color: #24352b; font-size: 12px; }
.benefit-strip {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: -35px auto 0;
  padding: 24px clamp(18px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(228,232,223,.85);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 16px 45px rgba(36,52,39,.07);
}
.benefit-strip > div { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 3px 20px; }
.benefit-strip > div + div { border-left: 1px solid var(--landing-line); }
.benefit-symbol { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: #edf3eb; font: 800 12px Manrope, sans-serif; }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { font-size: 12px; }
.benefit-strip small { margin-top: 4px; color: var(--landing-muted); font-size: 10px; }
.landing .section-features { max-width: 1280px; padding: 112px 34px 116px; }
.landing .section-heading { max-width: 660px; margin-bottom: 38px; }
.landing .section-heading h2 { margin: 15px 0 14px; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -2.2px; }
.landing .section-heading p { max-width: 590px; margin: 0; color: var(--landing-muted); font-size: 15px; line-height: 1.75; }
.landing .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.landing .feature-card {
  position: relative;
  min-height: 254px;
  overflow: hidden;
  padding: 25px 24px 48px;
  border: 1px solid #e7eae3;
  border-radius: 18px;
  background: linear-gradient(150deg, #fff 50%, #fbfcf9);
  box-shadow: 0 5px 16px rgba(35,51,39,.025);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.landing .feature-card:hover { transform: translateY(-5px); border-color: #cddbcf; box-shadow: 0 19px 40px rgba(35,51,39,.09); }
.landing .feature-icon { width: 48px; height: 48px; border-radius: 14px; color: var(--green); background: #eaf2eb; }
.landing .feature-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-kicker { display: block; margin-top: 21px; color: #65816e; font-size: 9px; font-weight: 700; letter-spacing: 1.15px; text-transform: uppercase; }
.landing .feature-card h3 { margin: 8px 0 8px; font-size: 16px; letter-spacing: -.25px; }
.landing .feature-card p { max-width: 330px; color: var(--landing-muted); font-size: 12px; line-height: 1.7; }
.feature-arrow { position: absolute; right: 23px; bottom: 21px; color: #7d9884; font-size: 16px; transition: transform .2s ease, color .2s ease; }
.landing .feature-card:hover .feature-arrow { transform: translate(2px,-2px); color: var(--green); }
.process-section { position: relative; overflow: hidden; color: #fff; background: #173c2e; }
.process-section:before, .process-section:after { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; pointer-events: none; }
.process-section:before { top: -260px; right: -95px; box-shadow: 0 0 0 48px rgba(255,255,255,.018), 0 0 0 96px rgba(255,255,255,.014); }
.process-section:after { bottom: -340px; left: -175px; box-shadow: 0 0 0 55px rgba(255,255,255,.018); }
.process-inner { position: relative; z-index: 1; max-width: 1280px; margin: auto; padding: 92px 34px 100px; }
.landing .eyebrow-light { color: #bdd9c2; }
.landing .process-section .section-heading { max-width: 650px; margin-bottom: 44px; }
.landing .process-section .section-heading h2 { color: #fff; }
.landing .process-section .section-heading p { color: rgba(255,255,255,.68); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.process-card { position: relative; min-height: 205px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.055); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(205,232,205,.36); border-radius: 13px; color: #d7ed9f; font: 800 13px Manrope, sans-serif; }
.step-line { position: absolute; top: 44px; left: 80px; right: 24px; height: 1px; background: linear-gradient(90deg, rgba(215,237,159,.5), rgba(255,255,255,.04)); }
.process-card h3 { margin: 25px 0 9px; font: 700 16px Manrope, sans-serif; letter-spacing: -.2px; }
.process-card p { max-width: 330px; margin: 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.7; }
.cta-wrap { max-width: 1280px; margin: auto; padding: 75px 34px 0; }
.landing .cta-band {
  position: relative;
  max-width: none;
  overflow: hidden;
  margin: 0;
  padding: clamp(34px, 5.5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  border-radius: 26px;
  background: linear-gradient(120deg, #1d5b45, #174632 76%);
}
.landing .cta-band > div { position: relative; z-index: 1; }
.landing .cta-band h2 { max-width: 640px; margin: 15px 0 12px; font-size: clamp(30px, 3.8vw, 43px); line-height: 1.12; letter-spacing: -1.7px; }
.landing .cta-band p { max-width: 560px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.7; }
.landing .cta-band .btn { position: relative; z-index: 1; min-height: 52px; padding: 0 18px; border-radius: 13px; color: #20362a; background: #e0efb5; font-size: 12px; white-space: nowrap; }
.landing .cta-band .btn:hover { background: #edfacd; }
.cta-decoration { position: absolute; top: -170px; right: 90px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.035), 0 0 0 78px rgba(255,255,255,.025); }
.landing-footer {
  max-width: 1280px;
  padding: 32px 34px 40px;
  align-items: center;
  gap: 18px;
  color: #78827a;
  font-size: 11px;
}
.landing-footer .brand { color: var(--landing-ink); font-size: 16px; }
.landing-footer .brand-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 18px; }
.landing :is(a, button):focus-visible { outline: 3px solid rgba(76,149,108,.55); outline-offset: 3px; }

@media (max-width: 1050px) {
  .landing .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 24px; }
  .landing .hero h1 { font-size: clamp(46px, 5.3vw, 60px); letter-spacing: -3px; }
  .landing .float-card-kitchen { right: -14px; }
  .landing .float-card-bill { left: -48px; }
  .landing .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .landing-nav { height: 72px; padding: 0 20px; }
  .landing .brand { gap: 8px; font-size: 17px; }
  .landing .brand-mark { width: 33px; height: 33px; font-size: 20px; }
  .landing .nav-links { display: none; }
  .landing .nav-actions { gap: 4px; }
  .landing .nav-actions .btn { min-height: 40px; padding: 0 11px; font-size: 11px; }
  .landing .nav-actions .btn-primary { padding: 0 12px; }
  .landing .hero { min-height: auto; padding: 56px 23px 66px; grid-template-columns: 1fr; gap: 22px; }
  .landing .hero h1 { max-width: 570px; margin: 19px 0 16px; font-size: clamp(43px, 10.5vw, 66px); letter-spacing: -2.7px; }
  .landing .hero-copy > p { max-width: 540px; font-size: 14px; }
  .landing .hero-actions { gap: 16px; margin-top: 23px; }
  .landing .hero-actions .btn { min-height: 49px; padding: 0 16px; font-size: 12px; }
  .landing .hero-proof { margin-top: 21px; font-size: 10px; }
  .landing .hero-art { min-height: 455px; margin-top: 0; }
  .art-orbit-one { width: 360px; height: 360px; }
  .art-orbit-two { width: 430px; height: 430px; }
  .landing .phone-shell { width: min(294px, 76vw); transform: scale(.94) rotate(3deg); }
  .landing .float-card-kitchen { top: 52px; right: 1%; }
  .landing .float-card-bill { bottom: 8px; left: 1%; }
  .benefit-strip { margin: -20px 16px 0; padding: 15px 10px; border-radius: 16px; }
  .benefit-strip > div { align-items: flex-start; flex-direction: column; gap: 8px; padding: 4px 10px; }
  .benefit-strip > div + div { border-left: 1px solid var(--landing-line); }
  .benefit-symbol { width: 31px; height: 31px; flex-basis: 31px; border-radius: 10px; font-size: 10px; }
  .benefit-strip strong { font-size: 10px; line-height: 1.4; }
  .benefit-strip small { font-size: 9px; line-height: 1.35; }
  .landing .section-features { padding: 78px 20px 78px; }
  .landing .section-heading { margin-bottom: 27px; }
  .landing .section-heading h2 { font-size: clamp(31px, 8vw, 42px); letter-spacing: -1.5px; }
  .landing .section-heading p { font-size: 13px; }
  .landing .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .landing .feature-card { min-height: 220px; padding: 21px 20px 44px; }
  .landing .feature-icon { width: 43px; height: 43px; }
  .feature-kicker { margin-top: 17px; }
  .landing .feature-card h3 { font-size: 15px; }
  .landing .feature-card p { font-size: 12px; }
  .process-inner { padding: 74px 20px 78px; }
  .landing .process-section .section-heading { margin-bottom: 28px; }
  .process-grid { grid-template-columns: 1fr; gap: 10px; }
  .process-card { min-height: 165px; padding: 20px; }
  .step-line { right: 20px; }
  .process-card h3 { margin-top: 19px; font-size: 15px; }
  .process-card p { font-size: 11px; }
  .cta-wrap { padding: 48px 16px 0; }
  .landing .cta-band { padding: 32px 23px; grid-template-columns: 1fr; gap: 22px; border-radius: 21px; }
  .landing .cta-band h2 { font-size: 31px; }
  .landing .cta-band p { font-size: 12px; }
  .landing .cta-band .btn { justify-self: start; white-space: normal; }
  .cta-decoration { top: -245px; right: -210px; }
  .landing-footer { padding: 26px 20px 34px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 380px) {
  .landing .nav-actions .btn-quiet { display: none; }
  .landing .nav-actions .btn-primary { font-size: 10px; }
  .landing .hero { padding-right: 18px; padding-left: 18px; }
  .landing .hero h1 { font-size: 42px; }
  .landing .hero-art { min-height: 410px; }
  .landing .float-card { padding: 11px 12px; }
  .landing .float-card-kitchen { right: -3px; }
  .landing .float-card-bill { left: -2px; }
  .benefit-strip { margin-right: 10px; margin-left: 10px; }
  .benefit-strip > div { padding-right: 6px; padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

body.landing-auth-open { overflow: hidden; }
body.landing-auth-open .landing-frame { pointer-events: none; }
.landing-auth-backdrop { background: rgba(61, 10, 18, .46); backdrop-filter: blur(9px) saturate(.82); -webkit-backdrop-filter: blur(9px) saturate(.82); }
.landing-auth-modal { width: min(100%, 500px); max-height: min(90vh, 780px); border: 1px solid rgba(193, 18, 31, .2); border-radius: 27px; background: #fffaf8; box-shadow: 0 34px 100px rgba(61, 10, 18, .3); }
.landing-auth-modal .modal-head { padding: 24px 27px 19px; border-bottom-color: #f0d7d9; }
.landing-auth-modal .modal-head h2 { color: #3d0a12; font: 800 24px/1.2 Manrope, sans-serif; letter-spacing: -.8px; }
.landing-auth-modal .modal-head .icon-btn { width: 38px; height: 38px; border-color: #f0d5d7; border-radius: 50%; color: #8f0d1a; background: #fff1f0; transition: background .18s ease, transform .18s ease; }
.landing-auth-modal .modal-head .icon-btn:hover { transform: rotate(5deg); background: #ffe5e5; }
.landing-auth-modal .modal-body { padding: 24px 27px 27px; }
.landing-auth-modal .field { gap: 8px; }
.landing-auth-modal .field label { color: #6b4046; font-size: 12px; }
.landing-auth-modal .field input { min-height: 49px; padding: 12px 14px; border-color: #f1d8da; border-radius: 14px; color: #2a0d12; background: #fffdfc; }
.landing-auth-modal .password-input-wrap input { padding-right: 50px; }
.landing-auth-modal .password-toggle { color: #a55a63; }
.landing-auth-dark .password-toggle { color: #e2a8ad; }
.landing-auth-dark .password-toggle:hover { color: #ffd7da; background: rgba(255, 154, 165, .09); }
.landing-auth-modal .field input::placeholder { color: #b49a9d; }
.landing-auth-modal .field input:focus { border-color: #c1121f; box-shadow: 0 0 0 4px rgba(193, 18, 31, .13); }
.landing-auth-modal .btn-primary { min-height: 51px; border-radius: 15px; color: #fffaf8; background: linear-gradient(135deg, #c1121f, #8f0d1a); box-shadow: 0 8px 18px rgba(143, 13, 26, .22); }
.landing-auth-modal .btn-primary:hover { background: linear-gradient(135deg, #e03148, #a5101f); box-shadow: 0 11px 24px rgba(143, 13, 26, .28); }
.landing-auth-modal .form-help { margin-top: 17px; color: #8d7276; line-height: 1.6; }
.landing-auth-modal .form-help button { color: #b30f1d; }
.landing-auth-dark { border-color: rgba(255, 154, 165, .24); color: #fff0ee; background: #260a0e; }
.landing-auth-dark .modal-head { border-bottom-color: rgba(255, 240, 238, .12); }
.landing-auth-dark .modal-head h2 { color: #fff0ee; }
.landing-auth-dark .modal-head .icon-btn { border-color: rgba(255, 240, 238, .16); color: #ffd7da; background: #34090f; }
.landing-auth-dark .modal-head .icon-btn:hover { background: #45121a; }
.landing-auth-dark .field label { color: #f0c5c8; }
.landing-auth-dark .field input { border-color: rgba(255, 240, 238, .18); color: #fff0ee; background: #34090f; }
.landing-auth-dark .field input::placeholder { color: #c59aa0; }
.landing-auth-dark .field input:focus { border-color: #ff9aa5; box-shadow: 0 0 0 4px rgba(255, 154, 165, .16); }
.landing-auth-dark .form-help { color: #caaeb1; }
.landing-auth-dark .form-help button { color: #ff9aa5; }
@media (max-width: 600px) {
  .landing-auth-backdrop { padding: 15px; }
  .landing-auth-modal { max-height: min(88vh, 780px); border-radius: 23px; }
  .landing-auth-modal .modal-head { padding: 21px 21px 16px; }
  .landing-auth-modal .modal-head h2 { font-size: 22px; }
  .landing-auth-modal .modal-body { padding: 21px; }
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 82% 0, rgba(226, 234, 215, .34), transparent 34%),
    #f8f8f4;
}
.app-shell svg { width: 18px; height: 18px; display: block; }
.app-shell .topbar {
  border-bottom-color: #e7e9e1;
  background: rgba(251, 250, 246, .9);
  box-shadow: 0 3px 14px rgba(34, 48, 37, .025);
  backdrop-filter: blur(16px);
}
.app-shell .icon-btn {
  color: #59685d;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.app-shell .icon-btn:hover { transform: translateY(-1px); border-color: #cbd9c9; color: var(--green); }
.app-shell .icon-btn:active { transform: scale(.97); }
.app-shell .avatar { border: 1px solid #dfe8db; background: #edf2e8; }
.app-shell .topbar-left { min-width: 0; }
.app-shell .restaurant-label {
  min-width: 0;
  max-width: min(38vw, 320px);
  min-height: 34px;
  padding: 6px 13px 6px 11px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid #f0d5d7;
  border-radius: 999px;
  color: #69121a;
  background: linear-gradient(110deg, #fff4f1, #fffaf8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  font: 700 12px/1.2 Manrope, sans-serif;
  letter-spacing: .05px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-shell .restaurant-label::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #c1121f;
  box-shadow: 0 0 0 3px rgba(193, 18, 31, .09), 0 0 0 5px rgba(244, 189, 69, .12);
  content: "";
}
.app-shell .page-heading > div:first-child > .eyebrow {
  max-width: 100%;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #f0d5d7;
  border-radius: 999px;
  color: #8f0d1a;
  background: #fff4f1;
  font-size: 10px;
  letter-spacing: .45px;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}
.app-shell .workspace { gap: 29px; }
.app-shell .sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  height: calc(100vh - 134px);
  gap: 6px;
}
.app-shell .side-label { margin: 10px 0 12px 12px; color: #a55a63; }
.app-shell .side-link {
  position: relative;
  min-height: 46px;
  padding: 7px 11px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #765d60;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.app-shell .side-link:hover {
  transform: translateX(2px);
  border-color: #f0d5d7;
  color: #8f0d1a;
  background: #fffaf8;
}
.app-shell .side-link.active {
  border-color: #f2d6d7;
  color: #8f0d1a;
  background: linear-gradient(105deg, #fff0ef, #fde4e1);
}
.app-shell .side-link.active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -1px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #c1121f;
  content: "";
}
.app-shell .side-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #a55a63;
  background: rgba(253, 228, 225, .72);
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.app-shell .side-link:hover .side-icon,
.app-shell .side-link.active .side-icon { color: #8f0d1a; background: #f8d9dc; }
.app-shell .side-link.active .side-icon { transform: scale(1.03); }
.app-shell .side-link .order-badge {
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #c1121f;
  box-shadow: 0 2px 6px rgba(143, 13, 26, .2);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.app-shell .sidebar-bottom {
  padding: 16px;
  border: 1px solid #f0d5d7;
  background: linear-gradient(145deg, #fff4f1, #fde4e1);
}
.sidebar-brand { display: flex; align-items: center; gap: 9px; color: #8f0d1a; }
.sidebar-brand svg { width: 19px; height: 19px; }
.app-shell .sidebar-bottom p { color: #805d61; line-height: 1.6; }
.app-shell .sidebar-bottom .btn { width: 100%; justify-content: flex-start; }
.sidebar-bottom .btn > span { display: grid; place-items: center; }
.sidebar-bottom .btn svg { width: 15px; height: 15px; }
.app-shell .workspace-main { animation: owner-content-in 190ms ease-out both; }
@keyframes owner-content-in {
  from { opacity: .7; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-shell .page-heading { align-items: center; margin-bottom: 25px; }
.app-shell .page-heading h1 {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #1e2d23;
  font-size: 29px;
  letter-spacing: -1.1px;
}
.page-heading-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e0e9db;
  border-radius: 13px;
  color: var(--green);
  background: linear-gradient(145deg, #f1f5e9, #e8f0e5);
}
.page-heading-icon svg { width: 21px; height: 21px; }
.app-shell .page-heading p { color: #778177; }
.app-shell .heading-actions .btn { box-shadow: 0 6px 15px rgba(29, 91, 69, .1); }
.button-plus { font-size: 18px; line-height: 1; }
.button-inline-icon { display: inline-flex; align-items: center; }
.button-inline-icon svg { width: 15px; height: 15px; }
.app-shell .trial-notice {
  border-color: #e0e8d4;
  background: linear-gradient(110deg, #f1f5e9, #fffefa);
  box-shadow: 0 5px 16px rgba(48, 67, 45, .035);
}
.app-shell .trial-notice-icon { border-radius: 13px; }
.app-shell .stats-grid { gap: 13px; }
.app-shell .stat-card,
.app-shell .panel {
  border-color: #e7e9e2;
  box-shadow: 0 5px 18px rgba(36, 46, 37, .035);
}
.app-shell .stat-card {
  min-height: 118px;
  padding: 17px 18px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.app-shell .stat-card:hover { transform: translateY(-2px); border-color: #d6e0d2; box-shadow: 0 10px 23px rgba(36, 66, 42, .07); }
.stat-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-card-heading > span { color: #727c72; font-size: 12px; }
.stat-card-heading > svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  color: #4c7656;
  background: #edf3e9;
}
.app-shell .stat-card strong { margin-top: 7px; color: #24352a; }
.app-shell .stat-card small { color: #70816d; }
.app-shell .panel { border-radius: 18px; }
.app-shell .panel-title h2 { color: #26352b; }
.app-shell .order-card,
.app-shell .bill-row,
.app-shell .product-card,
.app-shell .table-card {
  border-color: #e7e9e2;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.app-shell .order-card:hover,
.app-shell .bill-row:hover { border-color: #d7e1d5; background-color: #fffefa; }
.app-shell .order-card { animation-duration: 200ms; }
.app-shell .table-card.occupied { border-color: #d4e1d4; }
.app-shell .table-card-actions .btn { gap: 7px; }
.app-shell .category-tab { transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease; }
.app-shell .category-tab:hover { transform: translateY(-1px); border-color: #cddbc9; color: var(--green); }
.app-shell .category-tab.active:hover { color: #fff; background: var(--green-deep); }
.app-shell .account-gate-card {
  border-color: #e5e9e0;
  box-shadow: 0 18px 48px rgba(37, 46, 37, .08);
}
.app-shell .account-gate-icon { border: 1px solid #dfe8db; }
.account-gate-icon svg { width: 26px; height: 26px; }
.app-shell :where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(83, 128, 83, .35);
  outline-offset: 3px;
}
.app-shell .mobile-nav {
  right: 12px;
  bottom: 10px;
  left: 12px;
  padding: 6px;
  border: 1px solid #e2e8df;
  border-radius: 17px;
  background: rgba(251, 250, 246, .95);
  box-shadow: 0 12px 34px rgba(36, 49, 37, .12);
  backdrop-filter: blur(16px);
}
.app-shell .mobile-nav .side-link {
  min-width: 61px;
  min-height: 49px;
  padding: 5px 8px;
  gap: 2px;
  border: 0;
  border-radius: 12px;
  color: #805d61;
  font-weight: 600;
  transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}
.app-shell .mobile-nav .side-link:hover { transform: translateY(-1px); background: #fff0ef; }
.app-shell .mobile-nav .side-link.active { color: #8f0d1a; background: #fde4e1; }
.app-shell .mobile-nav .side-link.active::before { display: none; }
.app-shell .mobile-nav .side-link .order-badge {
  position: absolute;
  top: 2px;
  right: 7px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0 4px;
  border: 2px solid #fff;
  box-shadow: none;
  font-size: 8px;
}
.app-shell .mobile-nav .side-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}
.app-shell .mobile-nav .side-link.active .side-icon { background: transparent; }
@media (max-width: 940px) {
  .app-shell .sidebar {
    top: 97px;
    height: calc(100vh - 120px);
  }
}
@media (max-width: 720px) {
  .app-shell .workspace { padding-top: 19px; }
  .app-shell .restaurant-label { max-width: min(25vw, 145px); min-height: 30px; padding: 5px 9px; gap: 7px; font-size: 10px; }
  .app-shell .restaurant-label::before { width: 7px; height: 7px; flex-basis: 7px; }
  .app-shell .page-heading { align-items: flex-start; gap: 9px; }
  .app-shell .page-heading h1 { gap: 8px; font-size: 24px; }
  .page-heading-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; }
  .page-heading-icon svg { width: 19px; height: 19px; }
  .app-shell .heading-actions .btn { min-height: 38px; }
  .app-shell .stat-card { min-height: 94px; padding: 12px; }
  .stat-card-heading > span { font-size: 10px; }
  .stat-card-heading > svg { width: 25px; height: 25px; padding: 5px; }
  .app-shell .mobile-nav { justify-content: flex-start; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .app-shell .mobile-nav::-webkit-scrollbar { display: none; }
  .app-shell .mobile-nav .side-link { flex: 0 0 58px; }
}
.owner-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.admin-profile-grid .password-settings-panel { grid-column: auto; }
.settings-panel { display: grid; align-content: start; gap: 15px; }
.settings-panel .panel-title { margin-bottom: 0; }
.settings-panel form { display: grid; gap: 14px; }
.settings-panel form > .btn { justify-self: start; }
.settings-panel .field small { color: #788176; font-size: 11px; line-height: 1.5; }
.password-settings-panel { grid-column: 1 / -1; }
.password-settings-panel form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.password-settings-panel .form-error,
.password-settings-panel form > .btn { grid-column: 1 / -1; }
#admin-profile-form,
#admin-password-form { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
#admin-profile-form .form-error,
#admin-password-form .form-error { grid-column: 1; }
#admin-profile-form > .btn,
#admin-password-form > .btn { grid-column: 1; justify-self: stretch; }
.admin-profile-grid .profile-email-value { min-height: 45px; padding: 11px 13px; display: flex; align-items: center; }
.mfa-status { display: flex; align-items: center; gap: 8px; color: #647064; font-size: 13px; font-weight: 700; }
.mfa-status span { width: 9px; height: 9px; border-radius: 50%; background: #d39a43; }
.mfa-status.is-enabled { color: #1d5b45; }
.mfa-status.is-enabled span { background: #2f9a62; }
.mfa-recovery-codes { margin: 0 0 15px; padding: 15px; border: 1px solid #e3e8de; border-radius: 12px; color: #27382d; background: #f7f9f4; font: 600 14px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; white-space: pre-wrap; }
.mfa-instructions { padding: 0 5px 16px; }
.mfa-copy-secret { margin-top: 8px; }
.profile-email-value { padding: 13px 14px; border: 1px solid #e8ebe4; border-radius: 12px; color: #3d4c40; background: #fbfcf8; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.restaurant-logo-editor { display: flex; align-items: center; gap: 17px; padding-bottom: 19px; border-bottom: 1px solid #edf0e9; }
.restaurant-logo-preview { width: 82px; height: 82px; flex: 0 0 82px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e2e8de; border-radius: 19px; color: #52705b; background: #f0f4eb; }
.restaurant-logo-preview svg { width: 30px; height: 30px; }
.restaurant-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.restaurant-logo-fields { display: grid; gap: 5px; }
.restaurant-logo-fields > strong { color: #344337; font-size: 13px; }
.restaurant-logo-fields > small { color: #798276; font-size: 11px; }
.restaurant-logo-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.restaurant-logo-actions label { cursor: pointer; }
.settings-section-heading { margin-top: 20px; }
.settings-section-heading h3 { margin: 0; color: #344337; font: 700 14px Manrope, sans-serif; }
.settings-section-heading p { margin: 5px 0 0; color: #7d857a; font-size: 11px; }
.menu-link-preview { display: grid; gap: 5px; padding: 13px 14px; border: 1px solid #e3e9de; border-radius: 13px; background: #f7f9f3; }
.menu-link-preview span { color: #788276; font-size: 11px; }
.menu-link-preview strong { color: var(--green); font-size: 13px; overflow-wrap: anywhere; }
.menu-link-preview small { color: #788276; font-size: 11px; }
.customer-restaurant-logo { width: 66px; height: 66px; margin-bottom: 12px; border: 2px solid rgba(255,255,255,.55); border-radius: 18px; object-fit: cover; box-shadow: 0 8px 20px rgba(61,10,18,.16); }
.customer-contact-strip { max-width: 950px; margin: 13px auto 0; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.86); }
.customer-contact-details, .customer-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
.customer-contact-details > span, .customer-contact-details > a, .customer-social-links > a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.customer-contact-details svg, .customer-social-links svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--green); }
.customer-social-links > a { color: var(--green); font-weight: 700; transition: color 140ms ease, transform 140ms ease; }
.customer-social-links > a:hover { transform: translateY(-1px); color: var(--green-deep); }
.hero-design-section { display: grid; gap: 13px; padding: 18px; border: 1px solid #e8ebe3; border-radius: 17px; background: linear-gradient(145deg,#fff 0%,#fbfcf8 100%); }
.hero-design-section .settings-section-heading { margin: 0; }
.hero-template-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hero-template-card { position: relative; min-width: 0; padding: 7px; display: grid; gap: 8px; border: 1px solid #e7e9e2; border-radius: 13px; background: #fff; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.hero-template-card:hover { transform: translateY(-2px); border-color: #b7c8b7; box-shadow: 0 7px 17px rgba(27,52,36,.07); }
.hero-template-card.is-selected { border-color: #477252; box-shadow: 0 0 0 2px rgba(71,114,82,.12); }
.hero-template-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hero-template-card:focus-within { outline: 3px solid rgba(71,114,82,.24); outline-offset: 2px; }
.hero-template-art { position: relative; min-height: 74px; overflow: hidden; display: grid; place-items: center; border-radius: 8px; background: var(--hero-background); }
.hero-template-glow { position: absolute; top: -25px; right: -15px; width: 76px; height: 76px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 0 21px rgba(255,255,255,.03); }
.hero-template-monogram { position: relative; z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.56); border-radius: 9px; color: white; background: rgba(255,255,255,.16); font: 800 14px Manrope,sans-serif; backdrop-filter: blur(7px); }
.hero-template-lines { position: absolute; bottom: 10px; left: 10px; width: 43px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.78); box-shadow: 0 6px 0 rgba(255,255,255,.3); }
.hero-template-copy { display: grid; gap: 2px; padding: 0 3px; }
.hero-template-copy strong { overflow: hidden; color: #344337; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hero-template-copy small { overflow: hidden; color: #81877d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hero-template-check { position: absolute; top: 12px; right: 12px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; color: white; background: rgba(22,51,35,.25); opacity: 0; transform: scale(.8); transition: opacity 160ms ease, transform 160ms ease; }
.hero-template-check svg { width: 12px; height: 12px; }
.hero-template-card.is-selected .hero-template-check { opacity: 1; transform: scale(1); }
.hero-image-editor { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(190px,.8fr); align-items: center; gap: 17px; padding: 13px; border: 1px solid #e8ebe3; border-radius: 14px; background: #fff; }
.hero-design-preview { position: relative; isolation: isolate; min-height: 177px; margin: 0; padding: 18px 20px; overflow: hidden; display: flex; align-items: end; border-radius: 11px; color: #fff; background: var(--hero-background); }
.hero-cover-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-image-position-x, 50%) var(--hero-image-position-y, 50%); transform: scale(var(--hero-image-zoom, 1)); pointer-events: none; }
.hero-design-preview.has-cover::after, .customer-hero.has-cover::after { position: absolute; z-index: 0; inset: 0; background: var(--hero-overlay); content: ""; pointer-events: none; }
.customer-hero > :not(.hero-cover-image) { position: relative; z-index: 1; }
.hero-design-preview-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 5px; }
.hero-design-preview-copy > span { color: var(--hero-accent, #d7ed9f); font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.hero-design-preview-copy > strong { max-width: 100%; overflow: hidden; font: 800 21px Manrope,sans-serif; letter-spacing: -.5px; text-overflow: ellipsis; white-space: nowrap; }
.hero-design-preview-copy > small { color: rgba(255,255,255,.76); font-size: 10px; }
.hero-preview-logo { width: 40px; height: 40px; margin-bottom: 4px; border: 1px solid rgba(255,255,255,.62); border-radius: 12px; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,.15); }
.hero-preview-orbit { position: absolute; z-index: 1; top: -56px; right: -15px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 17px rgba(255,255,255,.035), 0 0 0 35px rgba(255,255,255,.025); }
.hero-image-fields { display: grid; align-content: center; gap: 8px; }
.hero-image-fields > div:first-child { display: grid; gap: 4px; }
.hero-image-fields strong { color: #344337; font-size: 12px; }
.hero-image-fields small { color: #7d857a; font-size: 10px; line-height: 1.5; }
.hero-image-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-image-actions label { cursor: pointer; }
.hero-image-controls { display: grid; gap: 9px; }
.hero-image-control { display: grid; gap: 4px; }
.hero-image-control label { display: flex; justify-content: space-between; gap: 8px; color: #68746d; font-size: 10px; font-weight: 700; }
.hero-image-control output { color: #405d47; font-variant-numeric: tabular-nums; }
.hero-image-control input[type="range"] { width: 100%; min-height: 0; margin: 0; padding: 0; accent-color: var(--green); }
.hero-image-control input[type="range"]:disabled { opacity: .45; }
.customer-hero[data-template="olive"], .hero-design-preview[data-template="olive"], .hero-template-art[data-template="olive"] {
  --hero-background: radial-gradient(circle at 82% 15%,rgba(222,190,126,.64),transparent 30%), linear-gradient(128deg,#718c6d 0%,#315641 52%,#173b30 100%);
  --hero-overlay: linear-gradient(112deg,rgba(14,37,28,.76),rgba(17,44,33,.32) 62%,rgba(12,34,27,.56));
  --hero-accent: #d7ed9f;
}
.customer-hero[data-template="terracotta"], .hero-design-preview[data-template="terracotta"], .hero-template-art[data-template="terracotta"] {
  --hero-background: radial-gradient(circle at 82% 8%,rgba(242,176,112,.58),transparent 31%), linear-gradient(128deg,#a76950 0%,#70402f 52%,#3d2924 100%);
  --hero-overlay: linear-gradient(112deg,rgba(47,25,20,.78),rgba(68,35,27,.34) 62%,rgba(40,23,20,.58));
  --hero-accent: #ffd5a9;
}
.customer-hero[data-template="midnight"], .hero-design-preview[data-template="midnight"], .hero-template-art[data-template="midnight"] {
  --hero-background: radial-gradient(circle at 82% 8%,rgba(151,168,218,.56),transparent 32%), linear-gradient(128deg,#526781 0%,#293a53 54%,#172333 100%);
  --hero-overlay: linear-gradient(112deg,rgba(17,29,44,.82),rgba(28,43,64,.38) 62%,rgba(16,25,39,.62));
  --hero-accent: #d8e2ff;
}
.customer-hero[data-template="saffron"], .hero-design-preview[data-template="saffron"], .hero-template-art[data-template="saffron"] {
  --hero-background: radial-gradient(circle at 82% 9%,rgba(244,204,126,.62),transparent 31%), linear-gradient(128deg,#a17b4e 0%,#725335 52%,#423328 100%);
  --hero-overlay: linear-gradient(112deg,rgba(44,32,20,.79),rgba(68,48,28,.36) 62%,rgba(38,28,21,.58));
  --hero-accent: #ffe2aa;
}
@media (max-width: 720px) {
  .owner-settings-grid { grid-template-columns: 1fr; gap: 11px; }
  .password-settings-panel { grid-column: auto; }
  .password-settings-panel form { grid-template-columns: 1fr; }
  .password-settings-panel .form-error,
  .password-settings-panel form > .btn { grid-column: auto; }
  .settings-panel { padding: 16px; }
  .settings-form-grid { grid-template-columns: 1fr; }
  .hero-design-section { padding: 13px; }
  .hero-template-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-template-art { min-height: 68px; }
  .hero-image-editor { grid-template-columns: 1fr; gap: 12px; padding: 10px; }
  .hero-design-preview { min-height: 162px; }
  .customer-contact-strip { margin: 10px 14px 0; padding: 13px; align-items: flex-start; }
  .customer-contact-details, .customer-social-links { gap: 8px 12px; }
  .customer-contact-details > span, .customer-contact-details > a, .customer-social-links > a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-shell .cart-added { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .app-shell *, .app-shell *::before, .app-shell *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
