/* BenchTill screen palettes. The POS sidebar and topbar use the selected colour.
   Workspace, card, form and text colours stay neutral across every selection. Brand artwork, semantic red/amber
   states and all receipt/label print rules remain independent of these themes. */
@media screen {
  :root {
    --bt-theme-accent: #0D3B2E;
    --bt-theme-accent-hover: #17513F;
    --bt-theme-accent-deep: #08291F;
    --bt-theme-accent-line: #C6E1D0;
    --bt-theme-accent-rgb: 13 59 46;
    /* Neutral content colours are fixed for every theme. */
    --bt-theme-accent-soft: #EEF1F3;
    --bt-theme-canvas: #F5F6F7;
    --bt-theme-sidebar: #EEF0F2;
    --bt-theme-sidebar-hover: #E3E7EA;
    --bt-theme-sidebar-line: #D6DDE1;
    --bt-theme-paper: #FFFFFF;
    --bt-theme-line: #DCE1E5;
    --bt-theme-line-soft: #E8ECEF;
    --bt-theme-ink: #262B30;
    --bt-theme-ink-rgb: 38 43 48;
    --bt-theme-body: #48515A;
    --bt-theme-muted: #606A73;
    --bt-theme-secondary: #54616D;
    --bt-theme-input-line: #8D98A2;
    --bt-theme-input-edge: #A1ABB3;
    --bt-theme-disabled-ink: #5F6871;
    --bt-theme-disabled-bg: #E5E9EC;
  }
  :root[data-benchtill-theme="black"] {
    --bt-theme-accent: #111111;
    --bt-theme-accent-hover: #292929;
    --bt-theme-accent-deep: #080808;
    --bt-theme-accent-line: #D4D4D4;
    --bt-theme-accent-rgb: 17 17 17;
  }
  :root[data-benchtill-theme="sage"] {
    --bt-theme-accent: #426A58;
    --bt-theme-accent-hover: #315241;
    --bt-theme-accent-deep: #264332;
    --bt-theme-accent-line: #C8DCCB;
    --bt-theme-accent-rgb: 66 106 88;
  }
  :root[data-benchtill-theme="teal"] {
    --bt-theme-accent: #0C2A30;
    --bt-theme-accent-hover: #1A464C;
    --bt-theme-accent-deep: #092328;
    --bt-theme-accent-line: #BFD9DB;
    --bt-theme-accent-rgb: 12 42 48;
  }

  /* POS content tokens remain light; chrome is overridden below. */
  :root[data-benchtill-surface="pos"] { --benchtill-navy: var(--bt-theme-sidebar); --benchtill-navy-raised: var(--bt-theme-accent); --benchtill-navy-border: var(--bt-theme-line); --benchtill-canvas: var(--bt-theme-canvas); --benchtill-paper: var(--bt-theme-paper); --benchtill-line: var(--bt-theme-line); --benchtill-line-soft: var(--bt-theme-line-soft); --benchtill-ink: var(--bt-theme-ink); --benchtill-muted: var(--bt-theme-muted); --benchtill-green: var(--bt-theme-accent); --benchtill-green-bright: var(--bt-theme-accent); --color-slate-50: var(--bt-theme-canvas); --color-slate-100: var(--bt-theme-sidebar); --color-slate-200: var(--bt-theme-line); --color-slate-300: var(--bt-theme-input-line); --color-slate-400: var(--bt-theme-muted); --color-slate-500: var(--bt-theme-muted); --color-slate-600: var(--bt-theme-body); --color-slate-700: var(--bt-theme-ink); --color-slate-800: var(--bt-theme-ink); --color-slate-900: var(--bt-theme-ink); --color-emerald-50: var(--bt-theme-accent-soft); --color-emerald-100: var(--bt-theme-accent-soft); --color-emerald-200: var(--bt-theme-accent-line); --color-emerald-600: var(--bt-theme-accent); --color-emerald-700: var(--bt-theme-accent-hover); --color-emerald-800: var(--bt-theme-accent-hover); --color-emerald-900: var(--bt-theme-accent-deep); }
  :root[data-benchtill-surface="pos"] body, .benchtill-app-shell, .benchtill-sale-root { color: var(--bt-theme-ink); }
  :root[data-benchtill-surface="pos"] body, .benchtill-app-shell, .benchtill-page { background: var(--bt-theme-canvas); }
  .benchtill-sidebar { background: var(--bt-theme-sidebar); color: var(--bt-theme-ink); border-right: 1px solid var(--bt-theme-line); }
  .benchtill-topbar { background: var(--bt-theme-paper); color: var(--bt-theme-ink); border-bottom: 1px solid var(--bt-theme-line); }
  .benchtill-wordmark { color: var(--bt-theme-ink); }
  .benchtill-nav-group-label { color: var(--bt-theme-secondary); }
  .benchtill-nav-row { color: var(--bt-theme-ink); }
  .benchtill-nav-icon { color: var(--bt-theme-secondary); }
  .benchtill-nav-row:hover:not(:disabled) { color: var(--bt-theme-ink); background: var(--bt-theme-sidebar-hover); }
  .benchtill-nav-row-active, .benchtill-nav-row-active:hover:not(:disabled), .benchtill-nav-row[aria-current="page"] { color: var(--bt-theme-paper); background: var(--bt-theme-accent); }
  .benchtill-nav-row-active .benchtill-nav-icon, .benchtill-nav-row[aria-current="page"] .benchtill-nav-icon { color: var(--bt-theme-paper); }
  .benchtill-logout { color: var(--bt-theme-secondary); border-top-color: var(--bt-theme-sidebar-line); }
  .benchtill-logout:hover { color: var(--bt-theme-ink); }
  .benchtill-store-select { color: var(--bt-theme-ink); background: var(--bt-theme-paper); border-color: var(--bt-theme-input-edge); }
  .benchtill-store-select:hover:not(:disabled) { background: var(--bt-theme-canvas); border-color: var(--bt-theme-input-line); }
  .benchtill-store-select:focus-visible { border-color: var(--bt-theme-accent); box-shadow: 0 0 0 3px rgb(var(--bt-theme-accent-rgb) / 16%); }
  .benchtill-store-chevron { color: var(--bt-theme-secondary); }
  .benchtill-cash-readout { color: var(--bt-theme-secondary); }
  .benchtill-cash-readout b { color: var(--bt-theme-accent); }
  .benchtill-topbar-button { color: var(--bt-theme-ink); background: var(--bt-theme-paper); border-color: var(--bt-theme-input-edge); }
  .benchtill-topbar-button:hover { background: var(--bt-theme-accent-soft); }
  .benchtill-owner-button { color: var(--bt-theme-paper); background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); }
  .benchtill-owner-button:hover { background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover); }
  .benchtill-surface, .benchtill-sale-cart, .benchtill-side-card { background: var(--bt-theme-paper); border-color: var(--bt-theme-line); }
  .benchtill-sale-cart { box-shadow: 0 16px 35px -26px rgb(var(--bt-theme-ink-rgb) / 28%); }
  .benchtill-kicker { color: var(--bt-theme-muted); }
  .benchtill-cart-cap { background: var(--bt-theme-accent); }
  .benchtill-cart-header h1, .benchtill-cart-item-name, .benchtill-scanner input,
  .benchtill-quantity button, .benchtill-line-total, .benchtill-extra-row > input,
  .benchtill-customer-row input, .benchtill-warranty-details input,
  .benchtill-total-row b, .benchtill-after-discount-row b, .benchtill-tax-row b,
  .benchtill-cash-entry > input, .benchtill-cash-quick button, .benchtill-pickup-row,
  .benchtill-pickup-action, .benchtill-today-grid b, .benchtill-sale-footer b,
  .benchtill-activity-row, .benchtill-report-row,
  .benchtill-report-row button, .benchtill-modal-warning button { color: var(--bt-theme-ink); }
  .benchtill-cart-count { background: var(--bt-theme-accent); color: var(--bt-theme-paper); }
  .benchtill-cart-empty, .benchtill-cart-item-meta, .benchtill-scanner-results small,
  .benchtill-scanner input::placeholder, .benchtill-extra-row input::placeholder,
  .benchtill-customer-row input::placeholder, .benchtill-extra-amount,
  .benchtill-custom-discount input::placeholder, .benchtill-payment-helper,
  .benchtill-pickup-copy small, .benchtill-pickup-empty, .benchtill-today-grid span,
  .benchtill-pickup-header, .benchtill-today-card > header,
  .benchtill-pickup-header > em, .benchtill-today-card > header > em,
  .benchtill-sale-footer, .benchtill-activity-row small, .benchtill-report-row small,
  .benchtill-modal-empty { color: var(--bt-theme-muted); }
  .benchtill-scanner { border-color: var(--bt-theme-input-line); box-shadow: 0 0 0 4px rgb(var(--bt-theme-ink-rgb) / 6%); }
  .benchtill-scan-glyph { border-color: var(--bt-theme-secondary); }
  .benchtill-scanner-ready { color: var(--bt-theme-body); }
  .benchtill-scanner-results, .benchtill-payment-popover { border-color: var(--bt-theme-line); box-shadow: 0 16px 35px rgb(var(--bt-theme-ink-rgb) / 14%); }
  .benchtill-scanner-results button { color: var(--bt-theme-ink); border-color: var(--bt-theme-line-soft); }
  .benchtill-scanner-results button:hover { background: var(--bt-theme-accent-soft); }
  .benchtill-cart-item, .benchtill-pickup-row, .benchtill-pickup-empty,
  .benchtill-activity-row, .benchtill-report-row { border-color: var(--bt-theme-line-soft); }
  .benchtill-unit-price input, .benchtill-extra-row > input, .benchtill-extra-amount,
  .benchtill-customer-row input, .benchtill-warranty-toggle, .benchtill-cash-entry > input { border-color: var(--bt-theme-input-line); }
  .benchtill-warranty-toggle { color: var(--bt-theme-body); }
  .benchtill-warranty-toggle.selected, .benchtill-warranty-details { background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent); }
  .benchtill-warranty-details span { color: var(--bt-theme-muted); }
  .benchtill-extra-row > button { color: var(--bt-theme-body); background: var(--bt-theme-accent-soft); border-color: var(--bt-theme-line); }
  .benchtill-quantity, .benchtill-cart-remove, .benchtill-discount-chips > button,
  .benchtill-custom-discount, .benchtill-payment-methods button,
  .benchtill-cash-quick button, .benchtill-split-row input,
  .benchtill-today-actions button, .benchtill-report-row button { border-color: var(--bt-theme-line); }
  .benchtill-quantity button:hover:not(:disabled) { background: var(--bt-theme-accent-soft); }
  .benchtill-totals { border-color: var(--bt-theme-line); }
  .benchtill-total-row, .benchtill-discount-row, .benchtill-after-discount-row,
  .benchtill-tax-row, .benchtill-discount-chips > button,
  .benchtill-custom-discount input, .benchtill-custom-discount > span,
  .benchtill-popover-title { color: var(--bt-theme-body); }
  .benchtill-discount-mode { background: var(--bt-theme-accent-soft); border-color: var(--bt-theme-line); }
  .benchtill-discount-mode button { color: var(--bt-theme-body); }
  .benchtill-discount-mode button.selected, .benchtill-discount-chips > button.selected { color: var(--bt-theme-paper); background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); }
  .benchtill-grand-total { background: var(--bt-theme-accent); }
  .benchtill-grand-total span, .benchtill-grand-total strong { color: var(--bt-theme-paper); }
  .benchtill-payment-methods button { color: var(--bt-theme-ink); }
  .benchtill-payment-methods button.selected { border-color: var(--bt-theme-accent); background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent-hover); }
  .benchtill-take-payment { background: var(--bt-theme-accent); color: var(--bt-theme-paper); box-shadow: 0 10px 22px -12px rgb(var(--bt-theme-accent-rgb) / 55%); }
  .benchtill-take-payment:hover:not(:disabled) { background: var(--bt-theme-accent-hover); }
  .benchtill-take-payment:disabled { color: var(--bt-theme-disabled-ink); background: var(--bt-theme-disabled-bg); }
  .benchtill-change.positive { color: #187743; }
  .benchtill-today-grid b.net { color: var(--bt-theme-ink); }
  .benchtill-pickup-header > b, .benchtill-activity-row em { background: var(--bt-theme-sidebar); color: var(--bt-theme-body); }
  .benchtill-pickup-action { border-color: var(--bt-theme-input-line); }
  .benchtill-pickup-action.in-cart { color: var(--bt-theme-accent-hover); background: var(--bt-theme-accent-soft); }
  .benchtill-today-actions button { color: var(--bt-theme-ink); }
  .benchtill-today-actions button:last-child { color: var(--bt-theme-paper); background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); }
  .benchtill-today-actions button:last-child:hover:not(:disabled) { background: var(--bt-theme-accent-hover); }
  .bt-admin-settings-tabs, .bt-admin-settings-details { border-color: var(--bt-theme-line); }
  .bt-admin-settings-tab { background: var(--bt-theme-paper); color: var(--bt-theme-body); border-color: var(--bt-theme-line); }
  .bt-admin-settings-tab:hover { background: var(--bt-theme-accent-soft); color: var(--bt-theme-ink); }
  .bt-admin-settings-tab[aria-selected="true"] { background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); color: var(--bt-theme-paper); }
  .bt-admin-settings-tab:focus-visible, .bt-admin-settings-summary:focus-visible { outline-color: var(--bt-theme-accent); }
  .bt-admin-settings-summary { color: var(--bt-theme-ink); }
  .bt-admin-settings-field-label { color: var(--bt-theme-body); }
  .bt-admin-settings-empty { background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent-hover); }
  #root [class~="text-[#12323a]"] { color: var(--bt-theme-ink); }
  #root [class~="text-[#12161f]"] { color: var(--bt-theme-ink); }
  #root [class~="text-[#111827]"] { color: var(--bt-theme-ink); }
  #root [class~="text-[#334155]"] { color: var(--bt-theme-ink); }
  #root [class~="text-[#4b5563]"] { color: var(--bt-theme-body); }
  #root [class~="text-[#536b70]"] { color: var(--bt-theme-body); }
  #root [class~="text-[#456066]"] { color: var(--bt-theme-body); }
  #root [class~="text-[#6b7280]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#64748b]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#9aa3af]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#8b8f98]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#91adb0]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#85a2a6]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#1fa365]"] { color: var(--bt-theme-accent); }
  #root [class~="text-[#16a34a]"] { color: var(--bt-theme-accent); }
  #root [class~="text-[#15803d]"] { color: var(--bt-theme-accent); }
  #root [class~="text-[#0f766e]"] { color: var(--bt-theme-accent); }
  #root [class~="text-[#0f6f43]"] { color: var(--bt-theme-accent); }
  #root [class~="bg-[#12161f]"] { background-color: var(--bt-theme-accent); }
  #root [class~="bg-[#12323a]"] { background-color: var(--bt-theme-accent); }
  #root [class~="bg-[#1fa365]"] { background-color: var(--bt-theme-accent); }
  #root [class~="bg-[#15803d]"] { background-color: var(--bt-theme-accent); }
  #root [class~="bg-[#f4f2ec]"] { background-color: var(--bt-theme-canvas); }
  #root [class~="bg-[#f7f6f1]"] { background-color: var(--bt-theme-canvas); }
  #root [class~="bg-[#f1efea]"] { background-color: var(--bt-theme-canvas); }
  #root [class~="bg-[#f6f8f5]"] { background-color: var(--bt-theme-canvas); }
  #root [class~="border-[#d9d6cc]"] { border-color: var(--bt-theme-line); }
  #root [class~="border-[#e6e2d9]"] { border-color: var(--bt-theme-line); }
  #root [class~="border-[#f0eee8]"] { border-color: var(--bt-theme-line); }
  #root [class~="border-[#f4f2ec]"] { border-color: var(--bt-theme-line); }
  #root button.bg-slate-900, #root a.bg-slate-900 { background-color: var(--bt-theme-accent); }
  #root button.bg-slate-900:hover:not(:disabled), #root a.bg-slate-900:hover { background-color: var(--bt-theme-accent-hover); }
  #root input:not([type="checkbox"]):not([type="radio"]):focus-visible,
  #root select:focus-visible, #root textarea:focus-visible { outline: 2px solid var(--bt-theme-accent); }
  #root button:focus-visible, #root a:focus-visible { outline: 2px solid var(--bt-theme-accent); }
  #root .benchtill-scanner:focus-within { border-color: var(--bt-theme-accent); box-shadow: 0 0 0 4px rgb(var(--bt-theme-accent-rgb) / 18%); }
  #root [class~="min-h-screen"][class~="bg-[#0c2a30]"] { background: var(--bt-theme-canvas); color: var(--bt-theme-ink); }
  #root section[class~="bg-[#0c2a30]"] { background: var(--bt-theme-sidebar); color: var(--bt-theme-body); }
  #root section[class~="bg-[#0c2a30]"] h1 { color: var(--bt-theme-ink); }
  #root [class~="text-[#a3bbbe]"], #root [class~="text-[#70858a]"] { color: var(--bt-theme-muted); }
  #root [class~="text-[#d3e2e3]"] { color: var(--bt-theme-ink); }
  #root [class~="border-[#285058]"] { border-color: var(--bt-theme-input-line); }
  #root [class~="bg-[#12454b]"] { background: var(--bt-theme-accent); color: var(--bt-theme-paper); }
  #root [class~="bg-[#12454b]"] span, #root [class~="bg-[#12454b]"] svg { color: var(--bt-theme-paper); }
  #root [class~="hover:bg-[#103b42]"]:hover { background: var(--bt-theme-sidebar-hover); }
  #root [class~="shadow-[0_30px_80px_rgba(3,24,27,.5)]"],
  #root [class~="shadow-[0_30px_80px_rgba(0,0,0,.45)]"] { box-shadow: 0 16px 45px rgb(var(--bt-theme-ink-rgb) / 10%); }
  #root > .h-screen.bg-slate-900 { background: var(--bt-theme-canvas); }
  #root > .h-screen.bg-slate-900 > .text-white { color: var(--bt-theme-ink); }

  /* Platform and marketing tokens match the selectors in platform.css/home.css. */
  :root[data-benchtill-surface="platform"] {
    --forest: var(--bt-theme-accent);
    --line: var(--bt-theme-line);
    --muted: var(--bt-theme-muted);
    color: var(--bt-theme-ink);
    background: var(--bt-theme-canvas);
  }
  :root[data-benchtill-surface="platform"] body { color: var(--bt-theme-ink); background: var(--bt-theme-canvas); }
  .home-page {
    --bt-page: var(--bt-theme-canvas);
    --bt-soft: var(--bt-theme-sidebar);
    --bt-ink: var(--bt-theme-ink);
    --bt-body: var(--bt-theme-body);
    --bt-muted: var(--bt-theme-muted);
    --bt-line: var(--bt-theme-line);
    --bt-input-line: var(--bt-theme-input-line);
    --bt-blue: var(--bt-theme-accent);
    --bt-blue-hover: var(--bt-theme-accent-hover);
    --bt-blue-soft: var(--bt-theme-accent-soft);
    --home-forest: var(--bt-theme-accent);
    --home-ink: var(--bt-theme-ink);
    --home-muted: var(--bt-theme-muted);
    --bt-shadow: rgb(var(--bt-theme-ink-rgb) / 8%);
  }
  :where(:root[data-benchtill-surface="platform"] body) .btn:hover { background: var(--bt-theme-accent-hover); }
  :where(:root[data-benchtill-surface="platform"] body) .btn.secondary { background: var(--bt-theme-paper); border-color: var(--bt-theme-input-line); color: var(--bt-theme-ink); }
  :where(:root[data-benchtill-surface="platform"] body) .btn.secondary:hover { background: var(--bt-theme-accent-soft); }
  :where(:root[data-benchtill-surface="platform"] body) input, :where(:root[data-benchtill-surface="platform"] body) select, :where(:root[data-benchtill-surface="platform"] body) textarea { color: var(--bt-theme-ink); border-color: var(--bt-theme-input-line); }
  :where(:root[data-benchtill-surface="platform"] body) input::placeholder, :where(:root[data-benchtill-surface="platform"] body) textarea::placeholder { color: var(--bt-theme-muted); }
  :where(:root[data-benchtill-surface="platform"] body) .country-choice-content { border-color: var(--bt-theme-input-line); }
  :where(:root[data-benchtill-surface="platform"] body) .country-choice input:checked + .country-choice-content { background: var(--bt-theme-accent-soft); }
  :where(:root[data-benchtill-surface="platform"] body) .country-profile, :where(:root[data-benchtill-surface="platform"] body) .tick, :where(:root[data-benchtill-surface="platform"] body) .banner.ok, :where(:root[data-benchtill-surface="platform"] body) .demo-note { background: var(--bt-theme-accent-soft); }
  :where(:root[data-benchtill-surface="platform"] body) .eyebrow { color: var(--bt-theme-secondary); }
  :where(:root[data-benchtill-surface="platform"] body) .eyebrow:before { background: var(--bt-theme-accent); }
  :where(:root[data-benchtill-surface="platform"] body) .tick { color: var(--bt-theme-accent); }
  :where(:root[data-benchtill-surface="platform"] body) .badge.active, :where(:root[data-benchtill-surface="platform"] body) .badge.enabled { background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent-hover); }
  :where(:root[data-benchtill-surface="platform"] body) th { background: var(--bt-theme-sidebar); }
  :where(:root[data-benchtill-surface="platform"] body) .footer { background: var(--bt-theme-paper); }
  .home-page { color: var(--bt-theme-body); }
  .home-page .bt-w-reassurance svg { color: var(--bt-theme-accent); }
  .home-page .home-section { border-top: 1px solid var(--bt-theme-line); }
  .home-page .home-section-heading h2,.home-page .home-enquiry h2 { color: var(--bt-theme-ink); }
  .home-page .home-section-heading p { color: var(--bt-theme-muted); }
  .home-page .home-kicker { color: var(--bt-theme-accent); }
  .home-page .home-module-tabs { border-color: var(--bt-theme-line); }
  .home-page .home-module-tabs button { color: var(--bt-theme-body); border-color: var(--bt-theme-line); }
  .home-page .home-module-tabs button[aria-selected="true"] { background: var(--bt-theme-accent); }
  .home-page .home-module-tabs button:hover:not([aria-selected="true"]) { background: var(--bt-theme-accent-soft); }
  .home-page .home-module-copy h3 { color: var(--bt-theme-ink); }
  .home-page .home-module-copy ul { color: var(--bt-theme-body); }
  .home-page .home-module-copy li>span { color: var(--bt-theme-accent); }
  .home-page .home-module-figure { background: var(--bt-theme-sidebar); }
  .home-page .home-module-screen { border-color: var(--bt-theme-line); box-shadow: 0 8px 20px rgb(var(--bt-theme-ink-rgb) / 5%); }
  .home-page .home-module-figure figcaption { color: var(--bt-theme-muted); }
  .home-page .home-preview-title small,.home-page .home-preview-grid small,.home-page .home-preview-grid p,.home-page .home-preview-log>span,.home-page .home-preview-log small,.home-page .home-preview-log em,.home-page .home-basket-row small,.home-page .home-stock-table .is-head,.home-page .home-owner-stores small,.home-page .home-checkout-summary small,.home-page .home-receiving-note small,.home-page .home-checkout-summary span,.home-page .home-receiving-note span { color: var(--bt-theme-muted); }
  .home-page .home-preview-title h4 { color: var(--bt-theme-ink); }
  .home-page .home-preview-badge,.home-page .home-checkout-summary,.home-page .home-receiving-note { background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent); }
  .home-page .home-preview-grid section,.home-page .home-owner-stores>div { background: var(--bt-theme-canvas); border-color: var(--bt-theme-line); }
  .home-page .home-ticket-steps .done,.home-page .home-ticket-steps .current { border-color: var(--bt-theme-accent); color: var(--bt-theme-accent); }
  .home-page .home-ticket-steps span { color: var(--bt-theme-muted); border-color: var(--bt-theme-line); }
  .home-page .home-preview-log>div,.home-page .home-basket-row,.home-page .home-stock-table>div,.home-page .home-access-row { border-color: var(--bt-theme-line); }
  .home-page .home-preview-log i { background: var(--bt-theme-accent); }
  .home-page .home-device-outline,.home-page .home-case-outline { background: var(--bt-theme-accent-soft); border-color: var(--bt-theme-input-line); }
  .home-page .home-access-row b,.home-page .home-store-icon { color: var(--bt-theme-accent); }
  .home-page .home-country-button { border-color: var(--bt-theme-line); color: var(--bt-theme-ink); }
  .home-page .home-country-button[aria-pressed="true"] { border-color: var(--bt-theme-accent); background: var(--bt-theme-accent-soft); color: var(--bt-theme-accent); }
  .home-page .home-country-check { color: var(--bt-theme-accent); }
  .home-page .home-market-heading h2 { color: var(--bt-theme-ink); }
  .home-page .home-market-heading p,.home-page .home-market-contact,.home-page .home-market-content p { color: var(--bt-theme-muted); }
  .home-page .home-market-content { background: var(--bt-theme-canvas); border-color: var(--bt-theme-line); }
  .home-page .home-market-content h3 { color: var(--bt-theme-ink); }
  .home-page .home-market-summary { border-color: var(--bt-theme-line); }
  .home-page .home-faq-list details { border-color: var(--bt-theme-line); }
  .home-page .home-faq-list summary { color: var(--bt-theme-ink); }
  .home-page .home-faq-list p { color: var(--bt-theme-muted); }
  .home-page .enquiry-layout { background: var(--bt-theme-sidebar); }
  .home-page .enquiry-card { border-color: var(--bt-theme-line); }
  .home-page .home-contact-address a { color: var(--bt-theme-accent); }
  .home-page .btn { background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); }
  .home-page .btn:hover { background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover); }
  .home-page input,.home-page select,.home-page textarea { border-color: var(--bt-theme-input-line); color: var(--bt-theme-ink); }
  .home-page a:focus-visible,.home-page button:focus-visible,.home-page summary:focus-visible,.home-page [role="tabpanel"]:focus-visible { outline: 3px solid var(--bt-theme-accent); }
  .home-page .home-module-tabs button:focus-visible { outline-color: var(--bt-theme-ink); }
  .home-site-header { border-color: var(--bt-theme-line); }
  .home-desktop-nav a,.home-nav-actions>a:not(.btn) { color: var(--bt-theme-body); }
  .home-nav-actions .btn { background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); box-shadow: 0 4px 10px rgb(var(--bt-theme-accent-rgb) / 17%); }
  .home-nav-actions .btn:hover { background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover); }
  .home-site-header a:focus-visible,.home-site-header button:focus-visible { outline: 3px solid var(--bt-theme-accent); }
  footer.home-site-footer { border-color: var(--bt-theme-line); color: var(--bt-theme-muted); }
  footer.home-site-footer .home-footer-brand p { color: var(--bt-theme-muted); }
  footer.home-site-footer .home-footer-brand>a:not(.brand) { color: var(--bt-theme-body); }
  footer.home-site-footer a:not(.brand) { color: var(--bt-theme-muted); }
  footer.home-site-footer .home-footer-bottom { border-color: var(--bt-theme-line); color: var(--bt-theme-muted); }
  footer.home-site-footer a:focus-visible { outline: 3px solid var(--bt-theme-accent); }

  :where(:root[data-benchtill-surface="platform"] body) .country-choice input:focus-visible + .country-choice-content,
  :where(:root[data-benchtill-surface="platform"] body) button:focus-visible,
  :where(:root[data-benchtill-surface="platform"] body) a:focus-visible,
  :where(:root[data-benchtill-surface="platform"] body) input:focus-visible,
  :where(:root[data-benchtill-surface="platform"] body) select:focus-visible,
  :where(:root[data-benchtill-surface="platform"] body) textarea:focus-visible { outline-color: var(--bt-theme-accent); }

  /* Apply the chosen palette consistently on the connected utility pages. */
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="customer"] {
    --ink: var(--bt-theme-ink);
    --muted: var(--bt-theme-muted);
    --border: var(--bt-theme-line);
    --paper: var(--bt-theme-canvas);
    --soft: var(--bt-theme-accent-soft);
    --focus: var(--bt-theme-accent);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="developers"] {
    --ink: var(--bt-theme-ink);
    --muted: var(--bt-theme-muted);
    --line: var(--bt-theme-line);
    --green: var(--bt-theme-accent);
    --soft: var(--bt-theme-accent-soft);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="customer"] body .primary,
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="customer"] body .slot[aria-pressed="true"] {
    color: #FFFFFF; background: var(--bt-theme-accent); border-color: var(--bt-theme-accent);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="customer"] body .primary:hover {
    background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="customer"] body :is(input, select, textarea) {
    border-color: var(--bt-theme-input-line);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="developers"] body .steps li::before {
    background: var(--bt-theme-sidebar);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] { color: var(--bt-theme-ink); background: var(--bt-theme-canvas); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body a { color: var(--bt-theme-accent); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .eyebrow { color: var(--bt-theme-secondary); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body p { color: var(--bt-theme-muted); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .card { border: 1px solid var(--bt-theme-line); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .search input, :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .reason input { border: 1px solid var(--bt-theme-input-line); color: var(--bt-theme-ink); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body input:focus, :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body button:not(.bt-theme-trigger):not(.bt-theme-option):focus-visible, :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body a:focus-visible { outline: 3px solid var(--bt-theme-accent-line); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body button:not(.bt-theme-trigger):not(.bt-theme-option) { border: 1px solid var(--bt-theme-line); color: var(--bt-theme-ink); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .team-member { background: var(--bt-theme-canvas); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .team-member[aria-pressed="true"] { border-color: var(--bt-theme-accent); background: var(--bt-theme-accent-soft); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .team-member small { color: var(--bt-theme-muted); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .badge { background: var(--bt-theme-accent-soft); color: var(--bt-theme-body); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body fieldset { border: 1px solid var(--bt-theme-line); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .preset small { color: var(--bt-theme-muted); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .permission { border: 1px solid var(--bt-theme-line-soft); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body input[type="checkbox"] { accent-color: var(--bt-theme-accent); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .reason { border-top: 1px solid var(--bt-theme-line-soft); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .reason span { color: var(--bt-theme-muted); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .primary { background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); color: #FFFFFF; }
  
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .permission-note { color: var(--bt-theme-muted); background: var(--bt-theme-canvas); }

  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .badge.changed { background: #FFF4D8; color: #8C6510; }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="staff"] body .primary:hover { background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover); }

  /* Inventory family import follows the palette; its brand mark remains fixed. */
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] {
    color: var(--bt-theme-ink); background: var(--bt-theme-canvas);
  }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] a { color: var(--bt-theme-accent); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] .card { border-color: var(--bt-theme-line); box-shadow: 0 14px 50px rgb(var(--bt-theme-ink-rgb) / 5%); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] .eyebrow { color: var(--bt-theme-secondary); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] .upload { border-color: var(--bt-theme-input-line); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] :is(button:not(.bt-theme-trigger):not(.bt-theme-option), #import) { background: var(--bt-theme-accent); color: #FFFFFF; }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] :is(button:not(.bt-theme-trigger):not(.bt-theme-option), #import):hover:not(:disabled) { background: var(--bt-theme-accent-hover); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] .family { border-color: var(--bt-theme-line); }
  :root:is([data-benchtill-theme="green"], [data-benchtill-theme="black"], [data-benchtill-theme="sage"], [data-benchtill-theme="teal"])[data-benchtill-surface="family"] .variant { border-color: var(--bt-theme-line-soft); }

  /* Compact, one-click palette control. */
  .bt-theme-picker { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; overflow: visible; font-family: inherit; }
  .bt-theme-picker-floating { position: fixed; top: 18px; right: 24px; z-index: 9998; }
  .bt-theme-picker [hidden] { display: none !important; }
  .bt-theme-trigger {
    appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; min-width: 100px; margin: 0; padding: 0 11px;
    border: 1px solid var(--bt-theme-input-edge); border-radius: 9px;
    background: #FFFFFF; color: var(--bt-theme-ink); font: inherit; font-size: 13px;
    font-weight: 650; line-height: 1.2; white-space: nowrap; cursor: pointer;
    touch-action: manipulation; box-shadow: none;
  }
  .bt-theme-trigger:hover, .bt-theme-trigger[aria-expanded="true"] { background: var(--bt-theme-accent-soft); border-color: var(--bt-theme-accent); }
  .bt-theme-trigger > svg { width: 12px; height: 12px; flex: none; color: var(--bt-theme-secondary); }
  .bt-theme-dot, .bt-theme-swatch { display: inline-block; width: 15px; height: 15px; flex: 0 0 15px; border: 1px solid rgb(0 0 0 / 10%); border-radius: 50%; background: var(--bt-theme-accent); }
  .bt-theme-menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 1100;
    width: 210px; max-width: calc(100vw - 24px); margin: 0; padding: 6px;
    border: 1px solid var(--bt-theme-line); border-radius: 12px; background: #FFFFFF;
    color: var(--bt-theme-ink); box-shadow: 0 12px 32px rgb(var(--bt-theme-ink-rgb) / 17%);
    text-align: left; overflow: visible;
  }
  .bt-theme-option {
    appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px;
    margin: 0; padding: 10px; border: 1px solid transparent; border-radius: 7px;
    background: #FFFFFF; color: var(--bt-theme-ink); font: inherit; font-size: 13px;
    font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; box-shadow: none;
    touch-action: manipulation;
  }
  .bt-theme-option:hover, .bt-theme-option[aria-pressed="true"] { background: var(--bt-theme-accent-soft); }
  .bt-theme-option[aria-pressed="true"] { border-color: var(--bt-theme-accent-line); }
  .bt-theme-option[data-theme-choice="green"] .bt-theme-swatch { background: #0D3B2E; }
  .bt-theme-option[data-theme-choice="black"] .bt-theme-swatch { background: #111111; }
  .bt-theme-option[data-theme-choice="sage"] .bt-theme-swatch { background: #426A58; }
  .bt-theme-option[data-theme-choice="teal"] .bt-theme-swatch { background: #0C2A30; }
  .bt-theme-label { display: block; flex: 1; min-width: 0; }
  .bt-theme-label small { display: block; margin-top: 2px; color: var(--bt-theme-muted); font-size: 11px; font-weight: 450; }
  .bt-theme-check { visibility: hidden; flex: 0 0 16px; width: 16px; color: var(--bt-theme-accent); font-size: 15px; font-weight: 800; text-align: center; }
  .bt-theme-option[aria-pressed="true"] .bt-theme-check { visibility: visible; }
  .bt-theme-option .bt-theme-check svg { width: 16px; height: 16px; }
  .bt-theme-trigger:focus-visible, .bt-theme-option:focus-visible,
  #root .bt-theme-trigger:focus-visible, #root .bt-theme-option:focus-visible { outline: 2px solid var(--bt-theme-accent); outline-offset: 3px; }
  :root[data-benchtill-surface="family"] main > header:has(.bt-theme-picker),
  .benchtill-topbar, .benchtill-topbar-actions,
  .home-site-header, .home-site-nav, .home-nav-actions,
  .nav:has(.bt-theme-picker), .nav-links:has(.bt-theme-picker),
  .header-inner:has(.bt-theme-picker), .header-inner nav:has(.bt-theme-picker),
  .customer-header:has(.bt-theme-picker), body:has(.permission-list) header:has(.bt-theme-picker) { overflow: visible; }
  .benchtill-topbar:has(.bt-theme-menu:not([hidden])),
  header:has(.bt-theme-menu:not([hidden])) { z-index: 1200; }

  @media (max-width: 1000px) {
    .benchtill-nav-group-label { color: transparent; }
  }
  @media (max-width: 1100px) {
    .home-site-header .home-site-nav:has(.bt-theme-picker) { flex-wrap: wrap; gap: 12px 20px; }
    .home-site-header .home-site-nav:has(.bt-theme-picker) .home-nav-actions { margin-left: auto; }
    .home-site-header .home-site-nav:has(.bt-theme-picker) .home-desktop-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  }
  @media (max-width: 700px) {
    :root[data-benchtill-surface="family"] main > header:has(.bt-theme-picker),
    .nav:has(.bt-theme-picker), .header-inner:has(.bt-theme-picker),
    .customer-header:has(.bt-theme-picker), body:has(.permission-list) header:has(.bt-theme-picker) { flex-wrap: wrap; gap: 12px; }
    .nav-links:has(.bt-theme-picker), .header-inner nav:has(.bt-theme-picker) { flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
    .home-site-header .home-nav-actions:has(.bt-theme-picker) { flex-wrap: wrap; justify-content: flex-end; gap: 10px !important; }
    :root[data-benchtill-surface="family"] main > header:has(.bt-theme-picker) .bt-theme-picker,
    .customer-header:has(.bt-theme-picker) .bt-theme-picker,
    body:has(.permission-list) header:has(.bt-theme-picker) .bt-theme-picker { margin-left: auto; }
  }
  @media (max-width: 600px) {
    .benchtill-topbar:has(.bt-theme-picker) { flex-wrap: wrap; height: auto; min-height: 58px; padding-block: 7px; gap: 7px; }
    .benchtill-topbar-actions:has(.bt-theme-picker) { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
    .bt-theme-picker-floating { top: 12px; right: 12px; }
    .bt-theme-trigger { min-width: 96px; font-size: 12px; padding-inline: 9px; gap: 7px; }
  }

  /* The selected colour connects the left navigation and POS header. */
  :root[data-benchtill-surface="pos"] .benchtill-sidebar,
  :root[data-benchtill-surface="pos"] .benchtill-topbar {
    background: var(--bt-theme-accent); color: #FFFFFF; border-color: rgb(255 255 255 / 16%);
  }
  .benchtill-sidebar .benchtill-wordmark,
  .benchtill-sidebar .benchtill-nav-row,
  .benchtill-sidebar .benchtill-nav-icon { color: #FFFFFF; }
  .benchtill-sidebar .benchtill-nav-group-label { color: rgb(255 255 255 / 85%); }
  .benchtill-sidebar .benchtill-nav-row:hover:not(:disabled) {
    background: var(--bt-theme-accent-hover); color: #FFFFFF;
  }
  .benchtill-sidebar .benchtill-nav-row-active,
  .benchtill-sidebar .benchtill-nav-row-active:hover:not(:disabled),
  .benchtill-sidebar .benchtill-nav-row[aria-current="page"] {
    background: #FFFFFF; color: var(--bt-theme-accent);
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  }
  .benchtill-sidebar .benchtill-nav-row-active .benchtill-nav-icon,
  .benchtill-sidebar .benchtill-nav-row[aria-current="page"] .benchtill-nav-icon { color: var(--bt-theme-accent); }
  .benchtill-sidebar .benchtill-logout { border-top-color: rgb(255 255 255 / 18%); color: rgb(255 255 255 / 85%); }
  .benchtill-sidebar .benchtill-logout:hover { color: #FFFFFF; background: var(--bt-theme-accent-hover); }
  :root[data-benchtill-surface="pos"] #root .benchtill-sidebar button:focus-visible {
    outline-color: #FFFFFF; outline-offset: 3px;
  }

  /* Header controls contrast against the selected dark chrome. */
  .benchtill-topbar .benchtill-store-select,
  .benchtill-topbar .benchtill-topbar-button {
    color: #FFFFFF; background: transparent; border-color: rgb(255 255 255 / 35%);
  }
  .benchtill-topbar .benchtill-store-select:hover:not(:disabled),
  .benchtill-topbar .benchtill-topbar-button:hover {
    color: #FFFFFF; background: var(--bt-theme-accent-hover); border-color: rgb(255 255 255 / 65%);
  }
  .benchtill-topbar .benchtill-store-chevron,
  .benchtill-topbar .benchtill-cash-readout,
  .benchtill-topbar .benchtill-cash-readout b { color: #FFFFFF; }
  .benchtill-topbar .benchtill-owner-button,
  .benchtill-topbar .benchtill-owner-button:hover {
    background: #FFFFFF; border-color: #FFFFFF; color: var(--bt-theme-accent);
  }
  .benchtill-topbar .bt-theme-trigger {
    background: transparent; color: #FFFFFF; border-color: rgb(255 255 255 / 35%);
  }
  .benchtill-topbar .bt-theme-trigger:hover,
  .benchtill-topbar .bt-theme-trigger[aria-expanded="true"] {
    background: var(--bt-theme-accent-hover); color: #FFFFFF; border-color: rgb(255 255 255 / 65%);
  }
  .benchtill-topbar .bt-theme-trigger > svg { color: #FFFFFF; }
  .benchtill-topbar .bt-theme-dot { border-color: rgb(255 255 255 / 80%); }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-store-select:focus-visible,
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-topbar-button:focus-visible,
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-owner-button:focus-visible,
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .bt-theme-trigger:focus-visible {
    outline-color: #FFFFFF; outline-offset: 3px;
  }
  /* The theme menu and store menus retain their own white content surfaces. */
  .benchtill-topbar .bt-theme-menu { background: #FFFFFF; color: var(--bt-theme-ink); }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .bt-theme-option:focus-visible {
    outline-color: var(--bt-theme-accent);
  }

  @media (max-width: 1000px) { .benchtill-sidebar .benchtill-nav-group-label { color: transparent; } }


  /* Sage retains the original light navigation while content stays neutral. */
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar {
    background: #E5EEE4; color: #2A352E; border-color: #D9E3D8;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-wordmark,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row { color: #2A352E; }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-icon,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-group-label { color: #5B6C60; }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row:hover:not(:disabled) {
    color: #2A352E; background: #D8E5D8;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row-active,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row-active:hover:not(:disabled),
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row[aria-current="page"] {
    color: #FFFFFF; background: #426A58; box-shadow: none;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row-active .benchtill-nav-icon,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-row[aria-current="page"] .benchtill-nav-icon { color: #FFFFFF; }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-logout {
    color: #5B6C60; border-top-color: #C9D8CA;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-logout:hover {
    color: #2A352E; background: #D8E5D8;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-topbar {
    background: #E5EEE4; color: var(--bt-theme-ink); border-color: #D9E3D8;
  }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-store-select,
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-topbar-button {
    color: var(--bt-theme-ink); background: #FFFFFF; border-color: var(--bt-theme-input-edge);
  }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-store-select:hover:not(:disabled),
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-topbar-button:hover {
    color: var(--bt-theme-ink); background: var(--bt-theme-canvas); border-color: var(--bt-theme-input-line);
  }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-store-chevron,
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-cash-readout { color: var(--bt-theme-secondary); }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-cash-readout b { color: #426A58; }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-owner-button {
    color: #FFFFFF; background: #426A58; border-color: #426A58;
  }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .benchtill-owner-button:hover {
    color: #FFFFFF; background: #315241; border-color: #315241;
  }
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] #root .benchtill-sidebar button:focus-visible,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-store-select:focus-visible,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-topbar-button:focus-visible,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] #root .benchtill-topbar .benchtill-owner-button:focus-visible,
  :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] #root .benchtill-topbar .bt-theme-trigger:focus-visible {
    outline-color: #426A58;
  }
  :root[data-benchtill-theme="sage"] .benchtill-topbar .bt-theme-dot { border-color: rgb(0 0 0 / 10%); }

  /* A visible 12px colour dot on a white 32px circle, 36px for touch. */
  :root .bt-theme-trigger,
  :root .benchtill-topbar .bt-theme-trigger,
  :root .bt-theme-trigger:hover,
  :root .bt-theme-trigger[aria-expanded="true"],
  :root .benchtill-topbar .bt-theme-trigger:hover,
  :root .benchtill-topbar .bt-theme-trigger[aria-expanded="true"] {
    min-width: 32px; width: 32px; min-height: 32px; height: 32px;
    padding: 0; gap: 0; border: 1px solid var(--bt-theme-line); border-radius: 50%; background: #FFFFFF;
    box-shadow: none;
  }
  :root .bt-theme-trigger .bt-theme-dot { width: 12px; height: 12px; flex-basis: 12px; border-color: rgb(0 0 0 / 10%); }
  :root .bt-theme-trigger:hover,
  :root .benchtill-topbar .bt-theme-trigger:hover,
  :root .bt-theme-trigger[aria-expanded="true"],
  :root .benchtill-topbar .bt-theme-trigger[aria-expanded="true"] { background: var(--bt-theme-canvas); }
  :root .bt-theme-trigger:hover .bt-theme-dot,
  :root .bt-theme-trigger[aria-expanded="true"] .bt-theme-dot {
    box-shadow: 0 0 0 3px rgb(var(--bt-theme-ink-rgb) / 9%);
  }
  @media (max-width: 600px), (pointer: coarse) {
    :root .bt-theme-trigger,
    :root .benchtill-topbar .bt-theme-trigger,
    :root .bt-theme-trigger:hover,
    :root .bt-theme-trigger[aria-expanded="true"],
    :root .benchtill-topbar .bt-theme-trigger:hover,
    :root .benchtill-topbar .bt-theme-trigger[aria-expanded="true"] {
      min-width: 36px; width: 36px; min-height: 36px; height: 36px;
    }
  }
  @media (max-width: 1000px) {
    :root[data-benchtill-theme="sage"][data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-group-label { color: transparent; }
  }

}


/* Hide the added screen control from receipts, labels and browser printouts. */
@media print { .bt-theme-picker { display: none !important; } }

/* Shared Light/Dark workspace finish. Original CSS above is preserved byte-for-byte.
   All additions are screen-only. "paper" is a panel surface; "on-accent" is text.
   The fixed teal compatibility attribute does not offer or persist colour choices. */
@media screen {
  :root:is([data-benchtill-surface="pos"], [data-benchtill-surface="platform"]) {
    --bt-theme-accent: #0f3035;
    --bt-theme-accent-hover: #1a4a4c;
    --bt-theme-accent-deep: #0a2326;
    --bt-theme-accent-line: #bfd2cb;
    --bt-theme-accent-rgb: 15 48 53;
    --bt-theme-accent-soft: #e3efea;
    --bt-theme-canvas: #f5f7f4;
    --bt-theme-sidebar: #ecf1ee;
    --bt-theme-sidebar-hover: #e3ebe7;
    --bt-theme-sidebar-line: #dce4df;
    --bt-theme-paper: #ffffff;
    --bt-theme-line: #dce4df;
    --bt-theme-line-soft: #e7ece8;
    --bt-theme-ink: #13302c;
    --bt-theme-ink-rgb: 19 48 44;
    --bt-theme-body: #435a55;
    --bt-theme-muted: #566a64;
    --bt-theme-secondary: #435a55;
    --bt-theme-input-line: #7c8e89;
    --bt-theme-input-edge: #7c8e89;
    --bt-theme-disabled-ink: #566a64;
    --bt-theme-disabled-bg: #e6ece8;
    --bt-theme-on-accent: #ffffff;
    --bt-theme-chrome: #0f3035;
    --bt-theme-chrome-raised: #1a4a4c;
    --bt-theme-chrome-line: #62817b;
    --bt-theme-on-chrome: #f2f7f4;
    --bt-theme-on-chrome-muted: #c3d3cc;
    --bt-theme-navigation-active: #ddf89c;
    --bt-theme-navigation-ink: #0f3035;
    --bt-theme-success: #1d7a4c;
    --bt-theme-success-soft: #e1f2e7;
    --bt-theme-danger: #b42b1f;
    --bt-theme-danger-soft: #fbe8e5;
    --bt-theme-warning: #8f5300;
    --bt-theme-warning-soft: #fcf0d6;
    --bt-theme-info: #2b5da8;
    --bt-theme-info-soft: #e7eef9;
  }
  :root[data-theme="dark"]:is([data-benchtill-surface="pos"], [data-benchtill-surface="platform"]) {
    --bt-theme-accent: #ddf89c;
    --bt-theme-accent-hover: #cdef7a;
    --bt-theme-accent-deep: #c9ec85;
    --bt-theme-accent-line: #5f7a75;
    --bt-theme-accent-rgb: 221 248 156;
    --bt-theme-accent-soft: #1b3533;
    --bt-theme-canvas: #0d1a1b;
    --bt-theme-sidebar: #102020;
    --bt-theme-sidebar-hover: #1a2e2d;
    --bt-theme-sidebar-line: #253b3a;
    --bt-theme-paper: #132423;
    --bt-theme-line: #304845;
    --bt-theme-line-soft: #253b3a;
    --bt-theme-ink: #e4edea;
    --bt-theme-ink-rgb: 228 237 234;
    --bt-theme-body: #b7c8c3;
    --bt-theme-muted: #90a5a0;
    --bt-theme-secondary: #b7c8c3;
    --bt-theme-input-line: #5f7a75;
    --bt-theme-input-edge: #5f7a75;
    --bt-theme-disabled-ink: #90a5a0;
    --bt-theme-disabled-bg: #223735;
    --bt-theme-on-accent: #0f3035;
    --bt-theme-chrome: #081516;
    --bt-theme-chrome-raised: #142a2b;
    --bt-theme-chrome-line: #52726c;
    --bt-theme-success: #7fd9a6;
    --bt-theme-success-soft: #10291d;
    --bt-theme-danger: #ff9f91;
    --bt-theme-danger-soft: #3a1714;
    --bt-theme-warning: #f2c077;
    --bt-theme-warning-soft: #2e2410;
    --bt-theme-info: #9dbbf0;
    --bt-theme-info-soft: #15233a;
  }

  /* Concrete POS surfaces, inputs and utility colours. No marketing-demo selectors. */
  :root[data-benchtill-surface="pos"] #root :is(.bg-white, [class~="bg-white/95"], [class~="bg-white/90"]) {
    background-color: var(--bt-theme-paper);
  }
  :root[data-benchtill-surface="pos"] #root :is(.bg-slate-50, .bg-gray-50) { background-color: var(--bt-theme-canvas); }
  :root[data-benchtill-surface="pos"] #root :is(.bg-slate-100, .bg-gray-100) { background-color: var(--bt-theme-sidebar); }
  :root[data-benchtill-surface="pos"] #root :is(.text-slate-900, .text-slate-800, .text-gray-900, .text-gray-800) { color: var(--bt-theme-ink); }
  :root[data-benchtill-surface="pos"] #root :is(.text-slate-700, .text-slate-600, .text-gray-700, .text-gray-600) { color: var(--bt-theme-body); }
  :root[data-benchtill-surface="pos"] #root :is(.text-slate-500, .text-slate-400, .text-gray-500, .text-gray-400) { color: var(--bt-theme-muted); }
  :root[data-benchtill-surface="pos"] #root :is(.border-slate-200, .border-slate-100, .border-gray-200, .border-gray-100) { border-color: var(--bt-theme-line); }
  :root[data-benchtill-surface="pos"] #root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) {
    background-color: var(--bt-theme-paper); color: var(--bt-theme-ink); border-color: var(--bt-theme-input-line);
  }
  :root[data-benchtill-surface="pos"] #root :is(input, textarea)::placeholder { color: var(--bt-theme-muted); opacity: 1; }
  :root[data-benchtill-surface="pos"] #root :is(input, select, textarea):disabled {
    background-color: var(--bt-theme-disabled-bg); color: var(--bt-theme-disabled-ink);
  }
  :root[data-benchtill-surface="pos"] #root :is([role="dialog"], .benchtill-modal-warning, .benchtill-modal-empty) { color: var(--bt-theme-ink); }
  :root[data-benchtill-surface="pos"] #root :is(.benchtill-scanner-results, .benchtill-payment-popover, .benchtill-warranty-details) {
    background-color: var(--bt-theme-paper); color: var(--bt-theme-ink);
  }

  /* Accent fills use their own text token, never the panel background token. */
  :root[data-benchtill-surface="pos"] #root :is(.benchtill-cart-count, .benchtill-take-payment, .benchtill-today-actions button:last-child,
    .benchtill-discount-mode button.selected, .benchtill-discount-chips > button.selected,
    .bt-admin-settings-tab[aria-selected="true"], button.bg-slate-900, a.bg-slate-900,
    [class~="bg-[#12161f]"], [class~="bg-[#12323a]"], [class~="bg-[#1fa365]"], [class~="bg-[#15803d]"], [class~="bg-[#12454b]"]) {
    background-color: var(--bt-theme-accent); color: var(--bt-theme-on-accent);
  }
  :root[data-benchtill-surface="pos"] #root [class~="bg-[#12454b]"] :is(span, svg),
  :root[data-benchtill-surface="pos"] #root .benchtill-grand-total :is(span, strong) { color: var(--bt-theme-on-accent); }
  :root[data-benchtill-surface="pos"] #root .benchtill-take-payment:disabled {
    background-color: var(--bt-theme-disabled-bg); color: var(--bt-theme-disabled-ink);
  }
  :root[data-benchtill-surface="pos"] #root .benchtill-change.positive { color: var(--bt-theme-success); }

  :root[data-benchtill-surface="pos"] #root :is(.text-red-500, .text-red-600, .text-red-700, .text-rose-600, .text-rose-700) { color: var(--bt-theme-danger); }
  :root[data-benchtill-surface="pos"] #root :is(.text-amber-600, .text-amber-700, .text-yellow-700) { color: var(--bt-theme-warning); }
  :root[data-benchtill-surface="pos"] #root :is(.bg-red-50, .bg-red-100, .bg-rose-50) { background-color: var(--bt-theme-danger-soft); }
  :root[data-benchtill-surface="pos"] #root :is(.bg-amber-50, .bg-amber-100, .bg-yellow-50) { background-color: var(--bt-theme-warning-soft); }
  :root[data-benchtill-surface="pos"] #root :is(.benchtill-take-payment, .benchtill-today-actions button:last-child, .benchtill-discount-mode button.selected,
    .benchtill-discount-chips > button.selected, .bt-admin-settings-tab[aria-selected="true"], button.bg-slate-900, a.bg-slate-900) .text-white { color: var(--bt-theme-on-accent); }

  /* Deep teal navigation remains distinct from content in both modes. */
  :root[data-benchtill-surface="pos"] :is(.benchtill-sidebar, .benchtill-topbar) {
    background: var(--bt-theme-chrome); color: var(--bt-theme-on-chrome); border-color: var(--bt-theme-chrome-line);
  }
  :root[data-benchtill-surface="pos"] .benchtill-sidebar :is(.benchtill-wordmark, .benchtill-nav-row) { color: var(--bt-theme-on-chrome); }
  :root[data-benchtill-surface="pos"] .benchtill-sidebar :is(.benchtill-nav-icon, .benchtill-nav-group-label, .benchtill-logout) { color: var(--bt-theme-on-chrome-muted); }
  :root[data-benchtill-surface="pos"] .benchtill-sidebar :is(.benchtill-nav-row:hover:not(:disabled), .benchtill-logout:hover) {
    background: var(--bt-theme-chrome-raised); color: var(--bt-theme-on-chrome);
  }
  :root[data-benchtill-surface="pos"] .benchtill-sidebar :is(.benchtill-nav-row-active, .benchtill-nav-row-active:hover:not(:disabled), .benchtill-nav-row[aria-current="page"]) {
    background: var(--bt-theme-navigation-active); color: var(--bt-theme-navigation-ink);
  }
  :root[data-benchtill-surface="pos"] .benchtill-sidebar :is(.benchtill-nav-row-active, .benchtill-nav-row[aria-current="page"]) .benchtill-nav-icon {
    color: var(--bt-theme-navigation-ink);
  }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar :is(.benchtill-store-select, .benchtill-topbar-button) {
    background: var(--bt-theme-chrome-raised); color: var(--bt-theme-on-chrome); border-color: var(--bt-theme-chrome-line);
  }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar :is(.benchtill-store-select:hover:not(:disabled), .benchtill-topbar-button:hover) {
    background: var(--bt-theme-chrome); color: var(--bt-theme-on-chrome); border-color: var(--bt-theme-on-chrome-muted);
  }
  :root[data-benchtill-surface="pos"] .benchtill-topbar :is(.benchtill-store-chevron, .benchtill-cash-readout, .benchtill-cash-readout b) { color: var(--bt-theme-on-chrome); }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar :is(.benchtill-owner-button, .benchtill-owner-button:hover) {
    background: var(--bt-theme-navigation-active); color: var(--bt-theme-navigation-ink); border-color: var(--bt-theme-navigation-active);
  }
  :root[data-benchtill-surface="pos"] #root :is(.benchtill-sidebar button, .benchtill-topbar button):focus-visible {
    outline-color: var(--bt-theme-navigation-active); outline-offset: 3px;
  }

  /* Existing platform dashboard elements retain their layout and semantics. */
  :root[data-benchtill-surface="platform"] { --forest: var(--bt-theme-accent); --line: var(--bt-theme-line); --muted: var(--bt-theme-muted); }
  :root[data-benchtill-surface="platform"] body { background: var(--bt-theme-canvas); color: var(--bt-theme-ink); }
  :root[data-benchtill-surface="platform"] #app :is(header, .card, .stat, .table-wrap, .footer, .key-reveal, .country-choice-content) {
    background: var(--bt-theme-paper); color: var(--bt-theme-ink); border-color: var(--bt-theme-line);
  }
  :root[data-benchtill-surface="platform"] #app :is(th, .country-profile, .demo-note) {
    background: var(--bt-theme-sidebar); color: var(--bt-theme-body);
  }
  :root[data-benchtill-surface="platform"] #app :is(td, .details div, .divider, .step-list .dot) { border-color: var(--bt-theme-line); }
  :root[data-benchtill-surface="platform"] #app :is(input, select, textarea) {
    background: var(--bt-theme-paper); color: var(--bt-theme-ink); border-color: var(--bt-theme-input-line);
  }
  :root[data-benchtill-surface="platform"] #app :is(input, textarea)::placeholder { color: var(--bt-theme-muted); opacity: 1; }
  :root[data-benchtill-surface="platform"] #app :is(input, select, textarea):disabled { background: var(--bt-theme-disabled-bg); color: var(--bt-theme-disabled-ink); }
  :root[data-benchtill-surface="platform"] #app :is(.btn:not(.secondary):not(.danger):not(.light), .step-list .done, #toast) {
    background: var(--bt-theme-accent); border-color: var(--bt-theme-accent); color: var(--bt-theme-on-accent);
  }
  :root[data-benchtill-surface="platform"] #app .btn:not(.secondary):not(.danger):not(.light):hover {
    background: var(--bt-theme-accent-hover); border-color: var(--bt-theme-accent-hover);
  }
  :root[data-benchtill-surface="platform"] #app .btn.secondary {
    background: var(--bt-theme-paper); color: var(--bt-theme-ink); border-color: var(--bt-theme-input-line);
  }
  :root[data-benchtill-surface="platform"] #app .btn.secondary:hover { background: var(--bt-theme-sidebar-hover); }
  :root[data-benchtill-surface="platform"] #app .btn.light {
    background: var(--bt-theme-navigation-active); color: var(--bt-theme-navigation-ink); border-color: var(--bt-theme-navigation-active);
  }
  :root[data-benchtill-surface="platform"] #app :is(.text-link, .key-reveal p, .eyebrow, h1 em) { color: var(--bt-theme-accent); }
  :root[data-benchtill-surface="platform"] #app .divider { background: var(--bt-theme-line); }

  /* Semantic states keep their meaning; only their contrast palette changes. */
  :root[data-benchtill-surface="platform"] #app :is(.banner.ok, .badge.active, .badge.enabled) {
    background: var(--bt-theme-success-soft); color: var(--bt-theme-success); border-color: var(--bt-theme-success);
  }
  :root[data-benchtill-surface="platform"] #app :is(.banner:not(.ok), .badge.pending, .badge.unused) {
    background: var(--bt-theme-warning-soft); color: var(--bt-theme-warning); border-color: var(--bt-theme-warning);
  }
  :root[data-benchtill-surface="platform"] #app :is(.form-error, .btn.danger, .badge.expired, .badge.suspended, .badge.revoked) {
    background: var(--bt-theme-danger-soft); color: var(--bt-theme-danger); border-color: var(--bt-theme-danger);
  }

  .bt-workspace-appearance { flex: 0 0 auto; }
  .bt-workspace-theme-toggle {
    appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; margin: 0; padding: 0 11px; border: 1px solid var(--bt-theme-input-edge);
    border-radius: 9px; background: var(--bt-theme-paper); color: var(--bt-theme-ink);
    font: inherit; font-size: 13px; font-weight: 650; line-height: 1.2; white-space: nowrap; cursor: pointer;
  }
  .bt-workspace-theme-toggle:hover { background: var(--bt-theme-sidebar-hover); }
  .bt-workspace-theme-toggle:focus-visible { outline: 2px solid var(--bt-theme-accent); outline-offset: 3px; }
  .bt-workspace-theme-toggle svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bt-workspace-theme-sun, :root[data-theme="dark"] .bt-workspace-theme-moon { display: none; }
  :root[data-theme="dark"] .bt-workspace-theme-sun { display: block; }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .bt-workspace-theme-toggle {
    background: var(--bt-theme-chrome-raised); color: var(--bt-theme-on-chrome); border-color: var(--bt-theme-chrome-line);
  }
  :root[data-benchtill-surface="pos"] #root .benchtill-topbar .bt-workspace-theme-toggle:hover { background: var(--bt-theme-chrome); }
  :root[data-benchtill-surface="platform"] #app .nav-links:has(.bt-workspace-appearance) { flex-wrap: wrap; }
  @media (max-width: 1000px) {
    :root[data-benchtill-surface="pos"] .benchtill-sidebar .benchtill-nav-group-label { color: transparent; }
  }
  @media (max-width: 680px) {
    :root[data-benchtill-surface="platform"] #app .nav:has(.bt-workspace-appearance) { flex-wrap: wrap; gap: 10px 16px; }
    :root[data-benchtill-surface="platform"] #app .nav-links:has(.bt-workspace-appearance) { margin-left: auto; gap: 10px; justify-content: flex-end; }
  }
}
