:root {
  color-scheme: light;
  --ink: #17312b;
  --muted: #708079;
  --green: #123d35;
  --green-light: #dfeee6;
  --cream: #f8f5ee;
  --orange: #df7d3d;
  --line: #e6e5dc;
  --white: #fffdf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
.promo-stage { background: #050505; border-radius: 32px; margin: 0 0 28px; overflow: hidden; padding: 18px 18px 14px; }
.auth-gate { align-items: center; background: radial-gradient(circle at top right, #fff0e8, transparent 45%), #f8f6f0; display: flex; min-height: 100vh; justify-content: center; padding: 24px; }.auth-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 22px 70px rgba(18,61,53,.12); max-width: 720px; padding: 42px; width: 100%; }.auth-brand { margin-bottom: 46px; }.auth-card h1 { font-family: Georgia, serif; font-size: clamp(36px, 7vw, 72px); letter-spacing: -.06em; margin: 8px 0 12px; }.auth-copy { color: var(--muted); line-height: 1.6; max-width: 520px; }.auth-portals { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }.portal-button { background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); display: flex; flex-direction: column; gap: 7px; padding: 20px; text-align: left; }.portal-button span { color: var(--orange); font-size: 24px; }.portal-button strong { font-size: 14px; }.portal-button small { color: var(--muted); line-height: 1.4; }.portal-button:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(224,117,52,.12); transform: translateY(-2px); }.app-shell.portal-hidden { display: none; }
.promo-track { display: flex; overflow: hidden; }
.promo-card { border-radius: 28px; color: #fff; display: none; grid-template-columns: 1.1fr .9fr; min-height: 330px; overflow: hidden; padding: 24px 28px 0; position: relative; width: 100%; }
.promo-card.active { display: grid; }
.promo-card-red { background: linear-gradient(145deg, #ef3447, #c71739); }
.promo-card-orange { background: linear-gradient(145deg, #ff7118, #e6440d); }
.promo-card-green { background: linear-gradient(145deg, #16834d, #075a3b); }
.promo-copy { align-self: start; max-width: 500px; padding: 30px 0; position: relative; z-index: 2; }
.promo-brand { font-size: 11px; font-weight: 900; letter-spacing: .16em; opacity: .84; }
.promo-copy h2 { font-size: clamp(32px, 5vw, 68px); line-height: .98; margin: 34px 0 18px; letter-spacing: -.05em; }
.promo-copy p:not(.promo-brand) { font-size: 16px; line-height: 1.45; max-width: 320px; }
.promo-phone { align-self: end; background: #101010; border: 9px solid #202020; border-bottom: 0; border-radius: 38px 38px 0 0; box-shadow: 0 20px 45px rgba(0,0,0,.35); margin: 0 auto; max-width: 300px; overflow: hidden; padding: 14px 10px 0; position: relative; width: 100%; }
.phone-top { color: #fff; display: flex; font-size: 10px; justify-content: space-between; padding: 0 8px 10px; }
.phone-screen { border-radius: 24px 24px 0 0; display: flex; flex-direction: column; gap: 12px; min-height: 360px; padding: 28px 20px; }
.green-screen { background: #123d35; color: #fff; } .cream-screen { background: #f8f5ee; color: #17312b; } .white-screen { background: #fff; color: #17312b; }
.mini-label { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.phone-screen strong { font-size: 28px; letter-spacing: -.05em; }
.phone-screen small { opacity: .74; }
.mini-wallet-row { border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; }
.cream-screen .mini-wallet-row { border-color: rgba(18,61,53,.14); }
.fake-qr { align-items: center; background: #fff; border: 8px solid #fff; color: #111; display: flex; font-size: 120px; height: 160px; justify-content: center; line-height: 1; margin: 10px 0; }
.mini-status { background: var(--green-light); border-radius: 999px; color: var(--green); font-size: 11px; font-weight: 800; padding: 8px 10px; text-align: center; }
.confirmed-mark { align-items: center; background: #35b96e; border-radius: 50%; color: #fff; display: flex; font-size: 56px; height: 90px; justify-content: center; margin: 30px auto 10px; width: 90px; }
.promo-controls { display: flex; gap: 8px; justify-content: center; padding: 14px 0 0; }
.promo-dot { background: #555; border: 0; border-radius: 99px; height: 8px; padding: 0; transition: .2s; width: 8px; }
.promo-dot.active { background: #fff; width: 28px; }
.customer-app-nav { align-items: center; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 30px rgba(18,61,53,.08); display: flex; justify-content: space-around; margin: 28px auto 0; max-width: 560px; padding: 9px 12px; position: sticky; bottom: 14px; z-index: 4; }
.app-nav-item { align-items: center; background: transparent; border: 0; border-radius: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; min-width: 74px; padding: 8px 12px; }
.app-nav-item span { font-size: 20px; line-height: 1; } .app-nav-item small { font-size: 10px; font-weight: 800; } .app-nav-item.active, .app-nav-item:hover { background: #fff0e8; color: var(--orange); }
.cart-fab { align-items: center; background: var(--orange); border: 0; border-radius: 18px; bottom: 84px; box-shadow: 0 14px 30px rgba(224,117,52,.3); color: #fff; display: flex; gap: 11px; min-width: 190px; padding: 11px 14px; position: fixed; right: 24px; text-align: left; z-index: 6; }
.cart-fab-icon { align-items: center; background: rgba(255,255,255,.18); border-radius: 12px; display: flex; font-size: 19px; height: 38px; justify-content: center; width: 38px; }.cart-fab-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; }.cart-fab-copy strong { font-size: 12px; }.cart-fab-copy small { font-size: 11px; opacity: .9; }.cart-fab-arrow { font-size: 20px; font-weight: 800; }
.cart-highlight { animation: cartPulse .9s ease; border-color: var(--orange) !important; }.item-quantity { align-items: center; background: #fff4ed; border: 1px solid #f2d5c5; border-radius: 10px; color: var(--orange); display: flex; gap: 7px; padding: 4px; }.item-quantity button { background: var(--orange); border: 0; border-radius: 7px; color: #fff; font-size: 17px; font-weight: 900; height: 28px; line-height: 1; width: 28px; }.item-quantity button:disabled { background: #e8d9d1; color: #9d877c; }.item-quantity strong { font-size: 13px; min-width: 14px; text-align: center; }.hidden { display: none !important; } @keyframes cartPulse { 50% { box-shadow: 0 0 0 6px rgba(224,117,52,.18); } }
.menu-drawer { background: linear-gradient(160deg, #ff7048, #f0522e); border-radius: 0 30px 30px 0; box-shadow: 20px 0 60px rgba(18,61,53,.24); color: #fff; inset: 0 auto 0 0; max-width: 360px; padding: 34px 26px; position: fixed; width: min(86vw, 360px); z-index: 20; }
.drawer-close { background: rgba(255,255,255,.16); border: 0; border-radius: 50%; color: #fff; font-size: 28px; height: 40px; position: absolute; right: 20px; top: 20px; width: 40px; }
.drawer-profile { align-items: center; display: flex; gap: 14px; margin: 42px 0 42px; } .drawer-avatar { align-items: center; background: #fff; border-radius: 50%; color: var(--orange); display: flex; font-size: 24px; font-weight: 900; height: 58px; justify-content: center; width: 58px; } .drawer-profile strong, .drawer-profile small { display: block; } .drawer-profile small { font-size: 11px; margin-top: 4px; opacity: .8; }
.drawer-eyebrow { font-size: 10px; font-weight: 900; letter-spacing: .16em; opacity: .78; } .drawer-link { align-items: center; background: transparent; border: 0; color: #fff; display: flex; font-size: 15px; gap: 14px; padding: 15px 0; text-align: left; width: 100%; } .drawer-link span { font-size: 20px; width: 22px; } .drawer-link:hover { opacity: .76; }
.drawer-note { background: rgba(255,255,255,.14); border-radius: 18px; margin-top: 28px; padding: 16px; } .drawer-note strong, .drawer-note small { display: block; } .drawer-note small { font-size: 11px; line-height: 1.5; margin-top: 6px; opacity: .82; }
@media (max-width: 760px) { .promo-card { grid-template-columns: 1fr; min-height: 430px; padding: 22px 18px 0; } .promo-copy { padding: 4px 0 0; } .promo-copy h2 { font-size: 34px; margin: 12px 0 10px; } .promo-phone { max-width: 180px; } .phone-screen { min-height: 190px; padding: 18px 14px; } .phone-screen strong { font-size: 22px; } .fake-qr { font-size: 70px; height: 90px; }.cart-fab { bottom: 82px; left: 16px; right: 16px; width: auto; } }
@media (max-width: 700px) { .auth-card { padding: 28px 20px; }.auth-portals { grid-template-columns: 1fr; }.auth-brand { margin-bottom: 30px; } }
.menu-loading { animation: pulse 1.4s ease-in-out infinite; background: var(--white); border: 1px solid var(--line); border-radius: 18px; color: var(--muted); display: grid; gap: 12px; min-height: 150px; padding: 22px; place-content: center; text-align: center; }.loading-dot { background: var(--orange); border-radius: 50%; display: inline-block; height: 10px; margin: auto; width: 10px; }.loading-line { background: var(--line); border-radius: 99px; display: block; height: 12px; width: 140px; }.loading-line.short { width: 90px; } @keyframes pulse { 50% { opacity: .52; } }
body { margin: 0; background: var(--cream); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { max-width: 1440px; margin: auto; min-height: 100vh; padding: 0 28px; }
.topbar { align-items: center; display: flex; justify-content: space-between; padding: 24px 0; }
.brand-mark { color: var(--green); display: flex; flex-direction: column; font-weight: 900; letter-spacing: -.05em; line-height: .8; }
.brand-mark span { font-size: 30px; }.brand-mark small { font-size: 8px; letter-spacing: .18em; margin-top: 8px; }
.topbar-actions { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 8px; }.status-dot { background: #46a477; border-radius: 50%; height: 8px; width: 8px; }
.icon-button, .outline-button { background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); padding: 10px 14px; }.icon-button { margin-left: 12px; padding: 7px 10px; }
.hero-panel { align-items: end; background: var(--green); border-radius: 28px; color: white; display: flex; justify-content: space-between; margin-bottom: 24px; overflow: hidden; padding: 46px; position: relative; }.hero-panel::after { border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; height: 320px; position: absolute; right: 220px; top: -140px; width: 320px; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin: 0 0 12px; text-transform: uppercase; }.hero-panel h1 { font-family: Georgia, serif; font-size: clamp(34px, 5vw, 68px); letter-spacing: -.05em; line-height: .95; margin: 0; max-width: 600px; }.hero-copy { color: #d7e5de; font-size: 16px; margin: 18px 0 0; }.wallet-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: white; display: flex; flex-direction: column; min-width: 220px; padding: 20px; position: relative; text-align: left; z-index: 1; }.wallet-card span { font-size: 10px; letter-spacing: .14em; }.wallet-card strong { font-size: 38px; letter-spacing: -.04em; margin: 12px 0 6px; }.wallet-card small { color: #cce1d6; }
.mode-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 28px; margin-bottom: 36px; }.mode-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; padding: 0 2px 14px; }.mode-tab.active { border-color: var(--orange); color: var(--ink); }
.view { display: none; }.active-view { display: block; }.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 22px; }.section-heading h2 { font-family: Georgia, serif; font-size: 34px; letter-spacing: -.04em; margin: 0; }.pill { background: #fff0df; border-radius: 99px; color: #aa5c20; font-size: 12px; font-weight: 800; padding: 8px 12px; }.success-pill { background: var(--green-light); color: var(--green); }
.category-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }.category-chip { background: var(--white); border: 1px solid var(--line); border-radius: 99px; color: var(--muted); padding: 9px 14px; }.category-chip.active { background: var(--green); border-color: var(--green); color: white; }
.menu-search { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 8px; margin: 18px 0 12px; max-width: 560px; padding: 12px 14px; }.menu-search span { color: var(--orange); font-size: 22px; }.menu-search input { background: transparent; border: 0; flex: 1; font-size: 14px; outline: 0; }
.product-image { background: #fff8f2; border-radius: 14px; height: 130px; margin: -4px -4px 14px; object-fit: cover; width: calc(100% + 8px); }
.image-input { min-width: 150px; }.image-file { color: var(--muted); font-size: 10px; margin-top: 5px; max-width: 160px; }
.admin-settings { align-items: end; display: grid; gap: 16px; grid-template-columns: 1fr 180px 180px; }.admin-settings label { color: var(--muted); font-size: 12px; }.admin-settings input { border: 1px solid var(--line); border-radius: 10px; display: block; margin-top: 7px; padding: 11px; width: 100%; }.admin-settings:has(#campaign-template) { grid-template-columns: 1.2fr 1fr 100px 1.5fr 180px; }
.order-focus #customer-view > *:not(#order-panel) { display: none; }.order-focus #order-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; display: grid; gap: 28px; grid-template-columns: minmax(260px, 420px) 1fr; margin: 20px auto; max-width: 900px; padding: 32px; }.order-focus .order-qr { min-height: 360px; }.order-focus .order-qr img { max-width: 360px; width: 100%; }
.order-focus .topbar, .order-focus .promo-stage, .order-focus .hero-panel, .order-focus .mode-tabs, .order-focus .customer-app-nav, .order-focus .cart-fab, .order-focus footer { display: none !important; }.order-focus main { min-height: 100vh; padding-top: 22px; }.order-focus #customer-view { display: block; }.order-focus #order-panel { margin-top: 0; }
.portal-staff .wallet-card, .portal-staff .wallet-panel, .portal-admin .wallet-card, .portal-admin .wallet-panel { display: none !important; }
.portal-staff .customer-app-nav, .portal-admin .customer-app-nav { display: none !important; }
.customer-home-card { background: linear-gradient(135deg, #123d35, #1d6a57); border-radius: 24px; color: #fff; margin-bottom: 24px; padding: 28px; }.customer-home-card h2 { font-family: Georgia, serif; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.05em; margin: 8px 0; }.customer-home-card p:not(.eyebrow) { max-width: 520px; opacity: .84; }.customer-home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }.customer-home-actions .primary-button, .customer-home-actions .outline-button { width: auto; }.customer-home-actions .outline-button { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.delivery-context { color: var(--ink); display: flex; flex-direction: column; gap: 3px; margin-left: auto; margin-right: 24px; }.delivery-context strong { font-size: 13px; }.delivery-context small { color: var(--muted); font-size: 10px; }
.promo-card-delivery { background: linear-gradient(135deg,#ffc94d,#ffb72e); color: #182d29; min-height: 300px; position: relative; overflow: hidden; }.promo-card-delivery::after { background: rgba(255,255,255,.3); border-radius: 50%; content: ''; height: 260px; position: absolute; right: -70px; top: -90px; width: 260px; }.promo-card-delivery .promo-copy { position: relative; z-index: 2; }.promo-card-delivery .promo-brand { color: #7a4615; }.promo-card-delivery .promo-copy h2 { color: #173a31; font-size: clamp(34px,5vw,64px); }.promo-cta { background: #e96f38; border: 0; border-radius: 999px; color: #fff; font-weight: 850; padding: 11px 20px; }.delivery-art { align-items: center; bottom: 20px; display: flex; font-size: 120px; position: absolute; right: 8%; transform: rotate(-4deg); z-index: 2; }.delivery-art span { font-size: 52px; margin-left: -38px; margin-top: -80px; }.flash-sale-banner { align-items: center; background: #fff0e9; border: 1px dashed #ef9c76; border-radius: 16px; display: flex; justify-content: space-between; margin: -10px 0 28px; padding: 16px 22px; }.flash-sale-banner .eyebrow { margin-bottom: 4px; }.flash-sale-banner h3 { color: #cf5931; font-size: 26px; margin: 0; }.flash-sale-banner p:last-child { color: var(--muted); margin: 5px 0 0; }.flash-sale-banner > span { font-size: 42px; }.category-chip { align-items: center; display: inline-flex; flex-direction: column; gap: 5px; min-width: 72px; padding: 10px 12px; }.category-chip small { font-size: 11px; }.category-icon { align-items: center; background: #fff5ed; border-radius: 50%; display: flex; font-size: 24px; height: 44px; justify-content: center; width: 44px; }.category-chip.active .category-icon { background: rgba(255,255,255,.18); }
.report-search { color: var(--muted); display: block; font-size: 12px; margin: 18px 0 8px; max-width: 360px; }.report-search input { border: 1px solid var(--line); border-radius: 10px; display: block; margin-top: 6px; padding: 10px 12px; width: 100%; }
.admin-create-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 14px 0; }.admin-create-grid input { border: 1px solid var(--line); border-radius: 10px; min-width: 0; padding: 10px; }.admin-product-create .primary-button { max-width: 220px; }
.admin-customer-editor { display: none; }
.detail-edit-grid { background: #f8faf8; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 16px 0 22px; padding: 14px; }.detail-edit-grid label { color: var(--muted); font-size: 12px; }.detail-edit-grid input, .detail-edit-grid select { border: 1px solid var(--line); border-radius: 9px; display: block; margin-top: 5px; padding: 9px; width: 100%; }.detail-edit-grid .primary-button { align-self: end; width: auto; }
.danger-button { background: #fff0ee; border: 1px solid #efc9c2; border-radius: 8px; color: #a83b2d; font-size: 11px; margin-left: 5px; padding: 8px 9px; }
.support-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-top: 22px; padding: 20px; }.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }.faq-item summary { cursor: pointer; font-weight: 800; }.faq-item p { color: var(--muted); line-height: 1.55; margin: 10px 0 0; }.profile-photo-preview { margin: 8px 0 14px; }.profile-photo-preview img { border: 3px solid var(--green-light); border-radius: 50%; height: 72px; object-fit: cover; width: 72px; }.recent-rewards { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.staff-create-grid { display: grid; gap: 10px; grid-template-columns: 1.2fr 1fr 1fr 150px; margin: 12px 0 18px; }.staff-create-grid input, .staff-create-grid select { border: 1px solid var(--line); border-radius: 10px; min-width: 0; padding: 10px; }.staff-account-row { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; }.staff-account-row small { color: var(--muted); display: block; margin-top: 4px; }.staff-active-toggle { color: var(--muted); font-size: 12px; white-space: nowrap; }
.menu-search { box-shadow: 0 5px 16px rgba(32,42,52,.06); }.category-chip { box-shadow: 0 2px 8px rgba(32,42,52,.04); }.product-card { box-shadow: 0 7px 20px rgba(32,42,52,.06); transition: transform .18s ease, box-shadow .18s ease; }.product-card:hover { box-shadow: 0 12px 26px rgba(32,42,52,.1); transform: translateY(-2px); }
.customer-grid, .staff-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 360px; }.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }.product-card, .cart-panel, .scanner-card, .staff-card, .admin-table-wrap, .admin-summary > div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }.product-card { padding: 18px; }.product-card h3 { font-size: 16px; margin: 0 0 10px; min-height: 42px; }.product-meta { color: var(--muted); font-size: 12px; }.price-row { align-items: center; display: flex; justify-content: space-between; margin-top: 20px; }.price { font-size: 20px; font-weight: 850; }.points { background: var(--green-light); border-radius: 8px; color: var(--green); font-size: 11px; font-weight: 800; padding: 6px 8px; }.points.ineligible { background: #f7e9e1; color: #a04e28; }.add-button { background: var(--orange); border: 0; border-radius: 9px; color: white; font-weight: 800; padding: 9px 12px; }
.cart-panel { min-height: 280px; padding: 20px; position: sticky; top: 18px; }.cart-panel h3 { margin: 0 0 16px; }.cart-empty { color: var(--muted); font-size: 14px; line-height: 1.5; }.cart-line { border-bottom: 1px solid var(--line); padding: 12px 0; }.cart-line-head, .cart-total, .cart-subline { align-items: center; display: flex; justify-content: space-between; }.cart-line-head { font-size: 13px; font-weight: 750; }.cart-subline { color: var(--muted); font-size: 12px; margin-top: 7px; }.qty-controls { align-items: center; display: flex; gap: 8px; }.qty-controls button { background: var(--green-light); border: 0; border-radius: 6px; color: var(--green); height: 24px; width: 24px; }.cart-total { border-top: 1px solid var(--line); font-size: 18px; font-weight: 850; margin-top: 18px; padding-top: 16px; }.primary-button { background: var(--green); border: 0; border-radius: 10px; color: white; font-weight: 800; padding: 12px 16px; width: 100%; }.secondary-button { background: var(--green-light); border: 0; border-radius: 10px; color: var(--green); font-weight: 800; padding: 11px 14px; width: 100%; }.wallet-toggle { align-items: center; background: #fff8e8; border: 1px solid #f4dfb5; border-radius: 10px; display: flex; font-size: 12px; gap: 8px; margin: 14px 0; padding: 11px; }.wallet-toggle input { accent-color: var(--orange); }.hidden { display: none !important; }
.history-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-top: 24px; padding: 20px; }.history-row { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 14px 0; }.history-row:last-child { border-bottom: 0; }.history-row small { color: var(--muted); display: block; margin-top: 5px; }
.order-panel { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 24px; margin-top: 24px; padding: 24px; }.order-qr { align-items: center; background: white; border: 8px solid white; box-shadow: 0 0 0 1px var(--line); display: flex; flex: 0 0 120px; height: 120px; justify-content: center; overflow: hidden; }.order-qr img { display: block; height: 100%; object-fit: contain; width: 100%; }.order-qr span { background: var(--green-light); border-radius: 4px; color: var(--green); font-size: 10px; font-weight: 900; padding: 5px; text-align: center; }.order-panel h3 { margin: 0 0 6px; }.order-panel p { color: var(--muted); font-size: 13px; margin: 5px 0; }.order-code { color: var(--green); font-size: 24px; font-weight: 900; letter-spacing: .08em; }
.wallet-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-top: 24px; padding: 22px; }.wallet-panel h3 { margin: 0 0 16px; }.wallet-metrics { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }.wallet-metrics div { background: var(--green-light); border-radius: 12px; padding: 14px; }.wallet-metrics span { color: var(--muted); display: block; font-size: 11px; }.wallet-metrics strong { display: block; font-size: 20px; margin-top: 7px; }.ledger-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 12px 0; }.ledger-row:last-child { border-bottom: 0; }.ledger-row small { color: var(--muted); display: block; margin-top: 4px; }.ledger-earn { color: var(--green); font-weight: 800; }.ledger-redeem, .ledger-expire { color: #a04e28; font-weight: 800; }
.scanner-card, .staff-card { padding: 24px; }.scanner-frame { align-items: center; background: #f5f5ee; border: 1px dashed #b9c5bd; border-radius: 14px; display: flex; height: 260px; justify-content: center; overflow: hidden; position: relative; }.scanner-frame video { height: 100%; object-fit: cover; width: 100%; }.scanner-frame span { color: var(--muted); font-size: 13px; }.scanner-corner { border-color: var(--orange); height: 28px; position: absolute; width: 28px; z-index: 1; }.top-left { border-left: 3px solid; border-top: 3px solid; left: 28px; top: 28px; }.top-right { border-right: 3px solid; border-top: 3px solid; right: 28px; top: 28px; }.bottom-left { border-bottom: 3px solid; border-left: 3px solid; bottom: 28px; left: 28px; }.bottom-right { border-bottom: 3px solid; border-right: 3px solid; bottom: 28px; right: 28px; }.scanner-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }.scanner-actions { display: flex; gap: 8px; margin-bottom: 10px; }.scanner-actions button { width: auto; }.code-entry { display: flex; gap: 8px; }.code-entry input { border: 1px solid var(--line); border-radius: 10px; min-width: 0; padding: 12px; width: 100%; }.code-entry .primary-button { width: auto; }.empty-state { align-items: center; color: var(--muted); display: flex; flex-direction: column; justify-content: center; min-height: 360px; text-align: center; }.empty-state h3 { color: var(--ink); margin: 12px 0 0; }.empty-state p { max-width: 260px; }.empty-icon { align-items: center; background: var(--green-light); border-radius: 50%; color: var(--green); display: flex; font-size: 30px; height: 64px; justify-content: center; width: 64px; }
.staff-login-bar { align-items: center; background: var(--green-light); border: 1px solid var(--line); border-radius: 14px; display: flex; justify-content: space-between; margin-bottom: 22px; padding: 14px 18px; }.staff-login-bar div { display: grid; gap: 4px; }.staff-login-bar small { color: var(--muted); }
.admin-input { border: 1px solid var(--line); border-radius: 8px; max-width: 92px; padding: 8px; width: 100%; }.admin-sku { color: var(--muted); display: block; font-size: 10px; margin-top: 3px; }.admin-save { font-size: 12px; padding: 8px 10px; width: auto; }
.membership-card { align-items: center; background: var(--green-light); border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 16px; justify-content: space-between; margin: 20px 0; padding: 16px; }.membership-card h3 { margin: 3px 0; }.membership-card small { color: var(--muted); }.membership-qr { align-items: center; background: white; display: flex; height: 100px; justify-content: center; width: 100px; }.membership-qr img { height: 100%; object-fit: contain; width: 100%; }.membership-qr span { color: var(--muted); font-size: 10px; }
.reporting-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 18px; padding: 18px; }.reporting-heading { display: flex; gap: 18px; justify-content: space-between; }.reporting-heading h3 { margin: 2px 0 0; }.reporting-metrics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }.reporting-metrics span { background: var(--green-light); border-radius: 10px; color: var(--muted); padding: 9px 12px; }.reporting-metrics strong { color: var(--ink); display: block; font-size: 18px; }.reporting-table-wrap { margin-top: 16px; overflow-x: auto; }.reporting-table-wrap table { min-width: 760px; }.reporting-table-wrap small { color: var(--muted); display: block; font-size: 10px; margin-top: 3px; }.membership-dates { color: var(--muted); font-size: 13px; }
.admin-customer-editor { background: linear-gradient(135deg, #fffdfa, #f3faf5); }.admin-customer-editor label { color: var(--muted); display: block; font-size: 12px; font-weight: 700; margin-bottom: 14px; }.admin-customer-editor input, .admin-customer-editor select { background: var(--white); border: 1px solid var(--line); border-radius: 10px; display: block; margin-top: 7px; padding: 12px; width: 100%; }.admin-editor-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }.admin-customer-editor .primary-button { max-width: 260px; }.admin-customer-editor input:focus, .admin-customer-editor select:focus, .profile-modal input:focus, .profile-modal select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,117,52,.14); outline: none; }
.verify-item { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 13px 0; }.verify-item small { color: var(--muted); display: block; font-size: 11px; margin-top: 5px; }.verify-qty { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 8px; }.verify-qty input { border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-align: center; width: 58px; }
.admin-summary { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }.admin-summary > div { padding: 18px; }.admin-summary span { color: var(--muted); display: block; font-size: 12px; }.admin-summary strong { display: block; font-size: 24px; margin-top: 8px; }.admin-table-wrap { overflow: auto; }.admin-table-wrap table { border-collapse: collapse; min-width: 700px; width: 100%; }.admin-table-wrap th, .admin-table-wrap td { border-bottom: 1px solid var(--line); padding: 14px 18px; text-align: left; }.admin-table-wrap th { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.admin-table-wrap td { font-size: 13px; }.reward-zero { color: #a04e28; font-weight: 800; }.reward-five { color: var(--green); font-weight: 800; }
footer { color: var(--muted); display: flex; font-size: 11px; justify-content: space-between; padding: 45px 0 24px; }
.toast { background: var(--green); border-radius: 10px; bottom: 24px; color: white; left: 50%; opacity: 0; padding: 12px 18px; pointer-events: none; position: fixed; transform: translate(-50%, 20px); transition: .2s ease; z-index: 5; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-backdrop { align-items: center; background: rgba(18,61,53,.4); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 10; }.profile-modal { background: var(--white); border-radius: 20px; max-width: 420px; padding: 28px; position: relative; width: 100%; }.profile-modal h2 { font-family: Georgia, serif; font-size: 30px; letter-spacing: -.04em; margin: 0 0 8px; }.modal-copy { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 22px; }.profile-modal label { color: var(--muted); display: block; font-size: 12px; margin-bottom: 14px; }.profile-modal input { border: 1px solid var(--line); border-radius: 10px; display: block; margin-top: 6px; padding: 12px; width: 100%; }.modal-close { background: var(--green-light); border: 0; border-radius: 50%; color: var(--green); font-size: 22px; height: 32px; position: absolute; right: 18px; top: 18px; width: 32px; }
@media (max-width: 980px) { .customer-grid, .staff-grid { grid-template-columns: 1fr; }.cart-panel { position: static; }.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.admin-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .app-shell { padding: 0 16px; }.hero-panel { align-items: stretch; flex-direction: column; gap: 28px; padding: 28px; }.wallet-card { min-width: 0; }.section-heading { align-items: start; flex-direction: column; gap: 12px; }.product-grid { grid-template-columns: 1fr; }.admin-summary { grid-template-columns: 1fr 1fr; }.wallet-metrics { grid-template-columns: 1fr; }.order-panel { align-items: start; flex-direction: column; }.admin-editor-grid { grid-template-columns: 1fr; }.admin-customer-editor .primary-button { max-width: none; }footer { flex-direction: column; gap: 8px; } }
@media (max-width: 640px) { body { background: #f7f8fb; }.app-shell { padding: 0 12px 20px; }.topbar { align-items: center; padding: 14px 2px; }.topbar-actions { gap: 4px; }.topbar-actions > span, .language-picker span { display: none; }.brand-mark span { font-size: 28px; }.brand-mark small { font-size: 8px; }.promo-stage { border-radius: 22px; margin-bottom: 14px; padding: 8px; }.hero-panel { background: #fff; border-radius: 20px; gap: 12px; padding: 18px; }.hero-panel h1 { font-size: 34px; }.hero-copy { font-size: 13px; }.wallet-card { border-radius: 14px; padding: 14px; }.mode-tabs { gap: 14px; margin-bottom: 18px; overflow-x: auto; }.mode-tab { font-size: 12px; white-space: nowrap; }.section-heading h2 { font-size: 28px; }.category-row { flex-wrap: nowrap; margin: 0 -4px 14px; overflow-x: auto; padding: 2px 4px 6px; }.category-chip { align-items: center; border-radius: 16px; display: flex; font-size: 11px; min-height: 48px; padding: 9px 13px; white-space: nowrap; }.customer-grid { gap: 14px; }.product-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.product-card { border-radius: 16px; padding: 10px; }.product-card h3 { font-size: 13px; min-height: 34px; }.product-meta { font-size: 10px; min-height: 26px; }.product-image { height: 110px; margin: -2px -2px 10px; width: calc(100% + 4px); }.price-row { align-items: end; flex-direction: column; gap: 8px; margin-top: 12px; }.price { font-size: 17px; }.item-quantity { align-self: stretch; justify-content: space-between; }.cart-panel { border-radius: 18px; padding: 16px; }.customer-app-nav { bottom: 8px; margin-top: 18px; }.app-nav-item { min-width: 62px; padding: 7px 8px; }.admin-settings:has(#campaign-template) { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .delivery-context { display: flex; margin: 0 8px 0 auto; max-width: 112px; overflow: hidden; }
  .delivery-context strong, .delivery-context small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-actions { display: none; }
  .promo-card { min-height: 255px; grid-template-columns: 1.2fr .8fr; padding: 18px 16px 0; }
  .promo-copy h2 { font-size: 25px; margin: 10px 0 8px; }
  .promo-copy p:not(.promo-brand) { font-size: 11px; max-width: 190px; }
  .promo-phone { border-width: 6px; border-radius: 24px 24px 0 0; max-width: 126px; padding: 8px 6px 0; }
  .phone-screen { border-radius: 16px 16px 0 0; gap: 7px; min-height: 205px; padding: 13px 10px; }
  .phone-screen strong { font-size: 17px; }.phone-screen small { font-size: 9px; }.fake-qr { border-width: 4px; font-size: 44px; height: 62px; margin: 4px 0; }
  .hero-panel { display: none; }.mode-tabs { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 0; }
  .customer-home-card { border-radius: 20px; margin-bottom: 16px; padding: 20px; }.customer-home-card h2 { font-size: 30px; }.customer-home-card p:not(.eyebrow) { font-size: 12px; }
  .staff-create-grid { grid-template-columns: 1fr; }.staff-account-row { align-items: flex-start; flex-wrap: wrap; }.staff-account-row .outline-button { margin-left: auto; }
  .order-focus main { padding: 12px; }.order-focus #order-panel { align-items: stretch; display: flex; flex-direction: column; gap: 22px; padding: 16px; }.order-focus .order-qr { flex: none; height: min(82vw, 360px); min-height: 0; width: 100%; }.order-focus .order-qr img { height: 100%; max-width: none; width: 100%; }.order-focus .order-code { font-size: 22px; }
}
