:root{
  /* ── Brand core (the mark, marketing surfaces, chart series) ── */
  --dropp-green:#06C167;
  --dropp-green-deep:#0A5E3E;
  --dropp-green-ink:#0E291C;
  --dropp-green-tint:#EAF7EF;
  --dropp-lime-bright:#D7F56B;
  --dropp-lime:#C4E85A;
  --dropp-yellow:#FEC62E;
  --dropp-orange:#F98A28;
  --dropp-orange-soft:#FF7143;
  --dropp-peach:#FDE9DC;
  --dropp-ink:#142428;

  /* ── Action green (every interactive affordance in product) ── */
  --product-primary:#28A745;
  --product-primary-hover:#1F8A4C;
  --product-primary-press:#136640;
  --product-primary-tint:#EAF7EF;
  --product-primary-tint-strong:#CDEBD8;
  --product-primary-ink:#1F6D3D;

  /* ── Neutral ramp (warm, faintly green-shifted grey) ── */
  --neutral-0:#FFFFFF;
  --neutral-25:#FBFCFB;
  --neutral-50:#F6F7F5;
  --neutral-75:#F3F4F2;
  --neutral-100:#F1F2F1;
  --neutral-150:#ECEEE9;
  --neutral-200:#E4E6E3;
  --neutral-250:#D7DDD6;
  --neutral-400:#9AA0A6;
  --neutral-500:#7C837E;
  --neutral-600:#6B716C;
  --neutral-700:#5B615C;
  --neutral-800:#3D423E;
  --neutral-900:#142428;
  --neutral-950:#0B1113;
  --cool-border:#E5E7EB;

  /* ── Cashier-app cool ramp (LEGACY ─ not for new work) ───────────────────
     The cashier web app was built on a COOL grey ramp; the four other product
     surfaces use the warm green-shifted ramp above, which is canonical.
     These names are kept so cashier-derived markup keeps rendering at its real
     values — but NO component reaches for them. Component code speaks only the
     semantic aliases in semantic.css. See readme "Two neutral ramps". */
  --ui-page:#F7F8FA;
  --ui-surface:#FFFFFF;
  --ui-field:#FBFCFB;
  --ui-sunken:#F2F4F7;
  --ui-sunken-warm:#F2F4F1;
  --ui-track:#F7F8F6;
  --ui-ink:#101828;
  --ui-fg-1:#344054;
  --ui-fg-2:#475467;
  --ui-fg-3:#667085;
  --ui-fg-4:#98A2B3;
  --ui-border:#E5E7EB;
  --ui-border-strong:#C7CDD3;
  --ui-border-radio:#C4CAD0;
  --ui-border-button:#E1E4DF;
  --ui-border-card:#EEF0EC;
  --ui-hairline:#EEF0F3;
  --ui-hairline-warm:#F4F5F2;
  --ui-rule-dashed:#E1E4E9;
  --ui-scrollbar:#DDE1E6;

  /* ── Payment / item disposition (per-line tagging in the cashier app) ── */
  --pay-card:#28A745;
  --pay-cash:#1F8838;
  --pay-transfer:#0A5E3E;
  --pay-paid:#28A745;
  --pay-gift:#FEC62E;
  --pay-gift-ink:#4A3A00;
  --pay-void:#FF7143;
  --pay-pending-bg:#EEF0EC;
  --pay-pending-fg:#7C837E;
  --pay-badge-bg:#FEF3E2;
  --pay-badge-fg:#C98A12;
  --note-body-fg:#5B4A28;   /* kitchen-note body copy on the amber callout */

  /* ── Green tints used by the cashier app ── */
  --green-tint-soft:#E8F5EC;
  --green-tint-pale:#F1FAF3;
  --green-strong:#1F8838;
  --green-avatar-end:#6BCE00;

  /* ── Hold / park ── */
  --hold-bg:#FFF7E6;
  --hold-fg:#9A6B0E;

  /* ── Placeholder swatches (deterministic per dish id) ── */
  --swatch-1:#FDE9DC;
  --swatch-2:#E8F3E4;
  --swatch-3:#FDF2D6;
  --swatch-4:#E4EEF6;
  --swatch-5:#F3E8F0;
  --swatch-6:#EAE7DF;
  --swatch-7:#FFE9E9;
  --swatch-8:#EAF1F8;
  --swatch-9:#F1EEDF;

  /* ── Semantic status ── */
  --color-success:#28A745;
  --color-success-strong:#1F8A4C;
  --color-success-tint:#E7F6EE;
  --color-warning:#FEC62E;
  --color-warning-ink:#9A6B0E;
  --color-warning-tint:#FFF7EC;
  --color-warning-border:#FCE6BE;
  --color-danger:#D3524B;
  --color-danger-bright:#E5484D;   /* the cashier app's error red */
  --color-danger-tint:#FCF3F3;
  --color-danger-border:#F2D9D9;
  --color-info:#3E7BB6;
  --color-info-tint:#E4EEF6;

  /* ── Chart series (Sales vs Orders, report charts) ── */
  --chart-1:#F98A28;
  --chart-2:#06C167;
  --chart-3:#142428;
  --chart-4:#FEC62E;
  --chart-grid:#ECEEE9;
}

:root{
  /* One stack, everywhere. --font-display is an alias, not a second face:
     Dropp sets display type in Inter 700/800 with tighter tracking, never in
     another family. There is deliberately no mono token — code-ish and
     numeric UI uses Inter with font-variant-numeric: tabular-nums. */
  --font-product:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-display:var(--font-product);

  /* Weights actually used in product: 400 / 500 / 600 / 700 / 800 */
  --fw-regular:400; /* @kind other */
  --fw-medium:500; /* @kind other */
  --fw-semibold:600; /* @kind other */
  --fw-bold:700; /* @kind other */
  --fw-black:800; /* @kind other */

  /* Web (admin) type ramp — half-pixel sizes are intentional, copied from source */
  --text-page-title:22px;      /* "Sales Report", "Wallet", "Inventory" — 700 */
  --text-page-title-lg:27px;   /* "Teams" — 700, -0.02em */
  --text-hero:34px;            /* mobile splash wordmark — 800, -1.5px */
  --text-metric-xl:32px;       /* wallet balance — 700, -0.02em */
  --text-metric:24px;          /* KPI value — 700, -0.02em */
  --text-metric-sm:22px;       /* stat-row value — 700 */
  --text-dialog-title:17px;    /* modal / sheet heading — 700 */
  --text-card-title:16px;      /* panel heading — 700 */
  --text-section:14px;         /* panel sub-heading — 600 */
  --text-body:14px;            /* form values, table cells, nav — 400/500 */
  --text-body-sm:13px;         /* table cell, meta rows */
  --text-label:12.5px;         /* field label — 600 */
  --text-caption:12px;         /* helper, delta, secondary meta */
  --text-eyebrow:11px;         /* uppercase table head / KPI label — 600 */
  --text-micro:10.5px;         /* inline status pill */

  --lh-tight:1.1; /* @kind other */
  --lh-heading:1.2; /* @kind other */
  --lh-snug:1.35; /* @kind other */
  --lh-body:1.55; /* @kind other */

  --ls-hero:-1.5px; /* @kind other */
  --ls-title:-0.024em; /* @kind other */
  --ls-metric:-0.02em; /* @kind other */
  --ls-eyebrow:0.06em; /* @kind other */
  --ls-pill:0.04em; /* @kind other */
}

:root{
  /* Dropp's spacing is a 2px-resolution scale, not a strict 4/8 grid.
     Odd values (7, 9, 11, 13) appear throughout the source and are canon. */
  --space-1:2px;
  --space-2:4px;
  --space-3:6px;
  --space-4:7px;
  --space-5:8px;
  --space-6:9px;
  --space-7:10px;
  --space-8:12px;
  --space-9:14px;
  --space-10:16px;
  --space-11:18px;
  --space-12:20px;
  --space-13:22px;
  --space-14:24px;
  --space-15:26px;
  --space-16:28px;
  --space-18:32px;
  --space-20:44px;

  /* Recurring composite rhythm */
  --gap-stack:24px;          /* vertical gap between page-level blocks */
  --gap-cards:16px;          /* KPI / card grid gap */
  --gap-field:12px;          /* between form fields */
  --pad-page-web:28px;       /* <main> padding, admin */
  --pad-page-mobile:16px;    /* mobile scroll-area horizontal padding */
  --pad-panel:24px 22px;     /* Teams-style panel */
  --pad-card:18px 22px;      /* KPI card */
  --pad-table-cell:15px 22px;

  /* Fixed shell metrics */
  --sidebar-w:248px;
  --sidebar-w-collapsed:72px;
  --topbar-h:64px;
  --control-h:36px;          /* toolbar button / chip */
  --control-h-md:44px;       /* mobile pill tab, admin action button */
  --field-h:48px;            /* web input */
  --field-h-mobile:50px;
  --cta-h:52px;              /* primary submit */
  --cta-h-bar:58px;          /* mobile proceed bar */
  --touch-min:44px;

  /* Cashier web app shell */
  --sidebar-w-ui:248px;
  --cart-panel-w:400px;
  --pad-page-ui:20px 28px;
  --control-h-ui:40px;      /* header search, filter, toolbar button */
  --cta-h-ui:52px;          /* cart primary action */
  --cta-h-modal:54px;       /* modal footer action */
  --order-card-h:404px;     /* fixed-height ticket card so grids align */
}

:root{
  --radius-xs:6px;      /* checkbox */
  --radius-sm:8px;      /* nav item, toolbar button, small pill */
  --radius-md:9px;      /* segmented-tab thumb, export button */
  --radius-lg:10px;     /* banner, list swatch */
  --radius-xl:12px;     /* input, dropdown, panel, action button */
  --radius-2xl:14px;    /* stat card, sheet CTA */
  --radius-3xl:16px;    /* mobile card, wallet card, table shell */
  --radius-4xl:20px;    /* auth card, Teams panel */
  --radius-5xl:22px;    /* mobile login card; cashier modals */
  --radius-cart-panel:0;/* the 400px cart rail is square, bordered left only */
  --radius-sheet:26px 26px 0 0;   /* bottom sheet */
  --radius-phone:38px;  /* on-canvas phone frame */
  --radius-pill:9999px;
}

:root{
  /* Dropp uses borders first and shadows sparingly: resting cards are
     1px border + no shadow. Shadow means "floating above the page". */
  --admin-shadow:0 1px 2px rgba(20,36,40,0.08);
  --admin-shadow-lg:0 18px 44px -10px rgba(40,60,50,0.22);
  --shadow-tab-thumb:0 1px 2px rgba(15,34,67,0.08);
  --shadow-card-mobile:0 16px 40px -12px rgba(40,60,50,0.18);
  --shadow-sheet:0 -12px 40px -12px rgba(20,36,40,0.28);
  --shadow-phone:0 40px 90px -30px rgba(20,36,40,0.45);
  --shadow-cta-green:0 10px 24px -8px rgba(40,167,69,0.55);
  --focus-ring:0 0 0 3px rgba(40,167,69,0.16);

  /* Cashier web app */
  --shadow-card-ui:0 1px 2px rgba(16,24,40,0.04);
  --shadow-popover:0 16px 40px -8px rgba(88,92,95,0.24);
  --shadow-modal-deep:0 40px 90px -20px rgba(0,0,0,0.5);
  --shadow-toast:0 12px 34px rgba(0,0,0,0.3);

  /* Scrim + protection gradients */
  --scrim-sheet:rgba(15,25,20,0.42); /* @kind color */
  --scrim-modal:rgba(15,20,25,0.5); /* @kind color */
  --protect-mobile:linear-gradient(180deg,rgba(246,247,245,0) 0%,#F6F7F5 40%); /* @kind color */
  --protect-white:linear-gradient(180deg,rgba(255,255,255,0) 0%,#fff 40%); /* @kind color */

  /* Recurring gradients */
  --grad-brand:linear-gradient(135deg,#06C167 0%,#0A5E3E 100%); /* @kind color */
  --grad-wallet:linear-gradient(135deg,#142428 0%,#0B1113 100%); /* @kind color */
  --grad-avatar:linear-gradient(135deg,#0A5E3E,#D7F56B); /* @kind color */
  --grad-mobile-login:linear-gradient(180deg,#EAF7EF 0%,#F4FBF6 42%,#FFFFFF 100%); /* @kind color */
  --grad-auth-panel:linear-gradient(160deg,#0E291C 0%,#136640 58%,#1F8838 100%); /* @kind color */
  --grad-avatar-bright:linear-gradient(135deg,#28A745,#6BCE00); /* @kind color */
  --rule-ticket:repeating-linear-gradient(90deg,#D8DCD5 0 6px,transparent 6px 12px); /* @kind color */
}

:root{
  --dur-fast:160ms; /* @kind other */
  --dur-base:200ms; /* @kind other */
  --dur-sheet:260ms; /* @kind other */
  --ease-standard:ease; /* @kind other */
  --ease-out:ease-out; /* @kind other */
  --ease-sheet:cubic-bezier(0.22,1,0.36,1); /* @kind other */
  --ease-sheet-alt:cubic-bezier(0.22,0.61,0.36,1); /* @kind other */
  --transition-control:border-color var(--dur-fast),box-shadow var(--dur-fast),background var(--dur-fast); /* @kind other */
}







/* Semantic aliases. Product code should reach for these, not the raw ramp.
   `--admin-*` is the web/manager surface vocabulary used verbatim in Dropp's
   source; `--fg-*` / `--surface-*` are the shorter aliases used by the guest
   and mobile surfaces. Both are kept so existing markup keeps working. */
:root{
  /* Text */
  --admin-fg-1:#142428;   --text-strong:var(--admin-fg-1);
  --admin-fg-2:#3D423E;   --text-body-color:var(--admin-fg-2);
  --admin-fg-3:#6B716C;   --text-secondary:var(--admin-fg-3);
  --admin-fg-4:#9AA0A6;   --text-muted:var(--admin-fg-4);
  --fg-1:#142428;
  --fg-2:#3D423E;
  --fg-3:#6B716C;
  --fg-muted:#9AA0A6;
  --fg-on-brand:#FFFFFF;
  --fg-link:var(--product-primary);
  --fg-link-hover:var(--product-primary-hover);

  /* Surfaces */
  --admin-bg:#F6F7F5;         --surface-page:var(--admin-bg);
  --admin-surface:#FFFFFF;    --surface-card:var(--admin-surface);
  --admin-surface-2:#F3F4F2;  --surface-sunken:var(--admin-surface-2);
  --admin-sidebar:#FFFFFF;    --surface-nav:var(--admin-sidebar);
  --surface-field:#FBFCFB;
  --surface-inverse:#142428;
  --surface-brand:var(--product-primary);
  --surface-brand-subtle:var(--product-primary-tint);
  --surface-mobile-page:#F6F7F5;
  --surface-mobile-chrome:#FFFFFF;
  --surface-canvas:#E9ECE8;   /* the grey behind an on-canvas phone frame */

  /* Borders */
  --admin-border:#ECEEE9;        --border-default:var(--admin-border);
  --admin-border-strong:#D7DDD6; --border-strong:var(--admin-border-strong);
  --border-subtle:#F0F1EE;
  --border-field:#E5E7EB;        /* mobile inputs use the cooler grey */
  --border-brand:var(--product-primary);
  --border-danger:var(--color-danger-border);

  /* Component-level aliases */
  --nav-item-fg:var(--admin-fg-2);
  --nav-item-fg-active:var(--product-primary);
  --nav-item-bg-active:var(--product-primary-tint);
  --table-head-bg:var(--admin-bg);
  --table-head-fg:var(--admin-fg-3);
  --table-row-border:var(--admin-border);
  --chip-bg:var(--admin-surface);
  --chip-bg-selected:var(--product-primary-tint);
  --chip-fg-selected:var(--product-primary);
  --badge-count-bg:var(--color-danger);

  /* Cashier web app aliases (cool ramp) */
  --ui-nav-item-bg-active:var(--green-tint-soft);
  --ui-nav-item-fg-active:var(--green-strong);
  --ui-nav-badge-bg:var(--product-primary);
  --ui-receipt-total-bg:var(--green-tint-soft);
  --ui-receipt-total-fg:var(--green-strong);
  --ui-toast-bg:var(--surface-inverse);
  --ui-toast-bg-error:var(--color-danger-bright);
}

/* Question pages: V2 Dropp Design System tokens only. Departures are logged in 05-ai-search/question-pages/design-departures.md. */
@font-face{font-family:"Gilroy";src:url("/fonts/Gilroy-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Gilroy";src:url("/fonts/Gilroy-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
:root{--logo-light:block;--logo-dark:none;--text-guide-title:25px;--font-marketing:"Gilroy",var(--font-product);--ls-guide-title:-0.6px}
@media (prefers-color-scheme:dark){:root{--admin-bg:#0F1614;--admin-surface:#17201D;--admin-surface-2:#1E2925;--surface-card:#17201D;--surface-sunken:#1E2925;--surface-field:#141C19;--border-field:#33403A;--admin-border:#26312D;--admin-border-strong:#33403A;--ui-border-button:#33403A;--admin-fg-1:#EEF2EF;--admin-fg-2:#C9D0CB;--admin-fg-3:#9AA39D;--admin-fg-4:#7A847E;--neutral-100:#1E2925;--border-subtle:#26312D;--neutral-150:#26332E;--neutral-200:#2C3A35;--neutral-250:#34433D;--neutral-700:#C9D0CB;--product-primary-tint:#16301F;--product-primary-tint-strong:#24492F;--product-primary-ink:#7FD49A;--green-tint-pale:#15261B;--green-strong:#5FD07F;--color-warning-tint:#2C2614;--color-danger-tint:#311B19;--color-danger-border:#5A2D29;--color-info-tint:#172632;--protect-mobile:linear-gradient(180deg,rgba(15,22,20,0) 0%,#0F1614 40%);--protect-white:linear-gradient(180deg,rgba(23,32,29,0) 0%,#17201D 40%);--logo-light:none;--logo-dark:block;color-scheme:dark;--logo-light:none;--logo-dark:block}}
*{box-sizing:border-box}
h1,h2,h3,.btn{font-family:var(--font-marketing)}
body{margin:0;background:var(--admin-bg);color:var(--admin-fg-2);font-family:var(--font-product);font-size:16px;line-height:var(--lh-body);-webkit-font-smoothing:antialiased}
.top{background:var(--admin-surface);border-bottom:1px solid var(--admin-border);padding:var(--space-9) var(--pad-page-mobile)}
.top>a{display:flex;align-items:center;min-height:var(--touch-min);max-width:680px;margin:0 auto}.top img{height:28px;display:block}.logo-l{display:var(--logo-light)!important}.logo-d{display:var(--logo-dark)!important}
main{max-width:680px;margin:0 auto;padding:var(--space-16) var(--pad-page-mobile) var(--space-20)}
.eyebrow{font-size:var(--text-eyebrow);font-weight:var(--fw-semibold);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--admin-fg-3);margin:0 0 var(--space-5)}
h1{font-size:var(--text-guide-title);font-weight:var(--fw-bold);letter-spacing:var(--ls-guide-title);line-height:var(--lh-heading);color:var(--admin-fg-1);margin:0 0 var(--space-10)}
h2{font-size:var(--text-page-title);font-weight:var(--fw-bold);letter-spacing:var(--ls-title);line-height:var(--lh-heading);color:var(--admin-fg-1);margin:var(--space-18) 0 var(--space-7)}
h3{font-size:var(--text-card-title);font-weight:var(--fw-bold);color:var(--admin-fg-1);margin:0 0 var(--space-2)}
p{margin:0 0 var(--space-10);text-wrap:pretty}.lead{color:var(--admin-fg-1)}.after{margin-top:var(--space-12)}
ul,ol{padding-left:22px;margin:0 0 var(--space-10)}li{margin:var(--space-3) 0}
a{color:var(--product-primary-ink)}a:hover{text-decoration-thickness:2px}
.panel{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:var(--radius-xl);padding:var(--space-12) var(--space-14);margin:var(--space-12) 0}
.panel h2{margin-top:0;font-size:var(--text-card-title)}
.banner{display:flex;gap:var(--space-8);align-items:flex-start;background:var(--color-info-tint);border:1px solid var(--color-info);border-radius:var(--radius-lg);padding:var(--space-8) var(--space-10);margin:var(--space-12) 0;color:var(--admin-fg-1)}
.banner p{margin:0}.banner svg{flex:none;margin-top:3px;color:var(--color-info)}
.note{font-size:var(--text-caption);color:var(--admin-fg-3)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:var(--cta-h);padding:0 22px;border-radius:13px;background:var(--product-primary);color:var(--fg-on-brand)!important;font-size:16px;font-weight:var(--fw-bold);letter-spacing:-0.01em;border:1.5px solid var(--product-primary);text-decoration:none;transition:background-color var(--dur-fast) var(--ease-out)}
.btn:hover{background:var(--product-primary-hover);border-color:var(--product-primary-hover)}.btn:active{background:var(--product-primary-press);border-color:var(--product-primary-press)}
.btn:focus-visible,a:focus-visible{outline:2px solid var(--product-primary);outline-offset:2px}
.faq{border-top:1px solid var(--admin-border);padding:var(--space-10) 0}.faq p{margin:0}
.kpis{display:grid;grid-template-columns:1fr;gap:var(--space-5);margin:0 0 var(--space-10)}@media (min-width:520px){.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}.kpi{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:var(--radius-xl);padding:var(--pad-card);min-width:0}.kpi span{display:block;font-size:var(--text-eyebrow);font-weight:var(--fw-semibold);color:var(--admin-fg-3)}.kpi strong{display:block;margin-top:var(--space-5);font-size:var(--text-metric);font-weight:var(--fw-bold);letter-spacing:var(--ls-metric);line-height:var(--lh-tight);color:var(--admin-fg-1);white-space:nowrap;font-variant-numeric:tabular-nums}.kpi .bad{color:var(--color-danger)}
.close{margin-top:var(--space-16);padding-top:var(--space-12);border-top:1px solid var(--admin-border)}
footer{border-top:1px solid var(--admin-border);background:var(--admin-surface);padding:var(--space-12) var(--pad-page-mobile);display:flex;flex-wrap:wrap;gap:var(--space-5) var(--space-12);justify-content:center;font-size:var(--text-body-sm)}
footer a{color:var(--admin-fg-2);min-height:44px;display:inline-flex;align-items:center}
@media (min-width:768px){main{padding-top:var(--space-20)}}
