/* NaviA 2026 palette. Presentation only; loaded after legacy page styles.
   Time and legacy store appearance values never change these colours.
   POS keeps its original soft white/pink/sky palette; other surfaces stay neutral.
   Never apply the screen palette to printed financial documents. */
@media screen {
 body.navia-ui:not(.pos-theme):not(.cast-theme) {--ui-bg:#f8fafc;--ui-panel:#fff;--ui-ink:#27323e;--ui-muted:#637080;--ui-line:#dce4eb;--ui-input:#fff;--ui-accent:#155fa0;--ui-gradient:#155fa0;background:#f8fafc;color:#27323e;color-scheme:light}
 body.navia-ui:not(.pos-theme):not(.cast-theme) :is(.topbar,.mobile-dock,.panel) {background:#fff;border-color:#dce4eb}
 body.cast-theme :is(.cast-menu-panel,.cast-dialog) {background:#fff!important;color:#27323e!important;border-color:#dce4eb!important}
 body.pos-theme,body.pos-theme.pos-light,body.navia-ui.pos-theme.pos-light {
  --pos-base:#f8fbfd;--pos-panel:#fff;--pos-card:#fff;--pos-text:#27323e;
  --pos-muted:#637080;--pos-border:#dce4eb;--pos-blue:#286b95;--pos-purple:#a73360;
  --pos-wave:none;--pos-button:linear-gradient(120deg,#ffd4e3,#ffc2d7);
  --palette-accent:#a73360;--palette-accent-ink:#752041;--palette-soft:#fff1f6;
  --palette-secondary:#eaf6ff;--palette-secondary-ink:#286b95;
  --palette-hover:#fff5f8;--palette-focus:#ae3867;--palette-shadow:0 4px 18px #223b5410;
  --palette-selected:linear-gradient(120deg,#fff0f6,#fff8fb);
  --palette-success:#276d50;--palette-success-bg:#e7f6ee;--palette-danger:#a42b42;
  --palette-danger-bg:#fff0f2;--palette-warning:#7e5415;--palette-warning-bg:#fff5e3;
  --bg:var(--pos-base);--ink:var(--pos-text);--muted:var(--pos-muted);--line:var(--pos-border);
  --accent:var(--palette-accent);--green:var(--palette-success);--white:var(--pos-panel);
  --ui-bg:var(--pos-base);--ui-panel:var(--pos-panel);--ui-ink:var(--pos-text);
  --ui-muted:var(--pos-muted);--ui-line:var(--pos-border);--ui-input:#fff;
  --ui-accent:var(--palette-accent);--ui-gradient:var(--pos-button);color-scheme:light;
 }
 body.navia-ui.pos-theme {--ui-input:#fff}
 body.navia-ui.pos-theme.pos-light {--ui-input:#fff}
 body.navia-ui.pos-theme,body.pos-theme:has(.pos-floor),body.pos-theme:not(:has(.pos-floor)) {
  background:var(--pos-base)!important;color:var(--pos-text);background-attachment:scroll!important;
 }
 body.pos-theme :is(h1,h2,h3,label,.amount,.total strong,.floor-date,.floor-weekday) {color:var(--pos-text)!important;text-shadow:none!important}
 body.pos-theme :is(.muted,.helptext,.eyebrow,.back,.floor-card-label,.floor-visit-facts dt,.timecard-label,.checkout-note,.checkout-help,.small-text,.page-outline strong) {color:var(--pos-muted)!important}
 body.pos-theme :is(.panel,.table-scroll,.bill,.floor-board,.recent-orders,.page-outline,.rate-editor,.setup-start,.pos-practice-flow,.interactive-demo-sidebar,.demo-banner) {
  background:var(--pos-panel)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important;
  box-shadow:var(--palette-shadow);backdrop-filter:none;
 }
 body.pos-theme .floor-board {border:1px solid var(--pos-border)!important;border-radius:20px;box-shadow:var(--palette-shadow)!important}
 body.pos-theme .workspace-nav {background:var(--pos-panel)!important;border-color:var(--pos-border)!important;box-shadow:none!important}
 body.pos-theme .workspace-nav :is(a,.workspace-label strong,.workspace-footer .text-button) {color:var(--pos-muted)!important}
 body.pos-theme .workspace-nav>a:hover {background:var(--palette-hover)!important;color:var(--pos-text)!important}
 body.pos-theme .workspace-nav>a[aria-current] {background:var(--palette-selected)!important;color:var(--palette-accent)!important;border-color:var(--pos-border)!important;box-shadow:inset 3px 0 var(--palette-accent)!important}
 body.pos-theme :is(.workspace-footer,.workspace-label,.demo-sidebar-nav) {border-color:var(--pos-border)!important}
 body.pos-theme .pos-demo-label {background:var(--pos-panel)!important;border-color:var(--pos-border)!important;color:var(--pos-text)!important}
 body.pos-theme .pos-demo-label-title>span {background:var(--palette-accent);box-shadow:0 0 0 4px var(--palette-soft)}
 body.pos-theme .pos-practice-flow li::before {background:var(--palette-soft);color:var(--palette-accent);border:1px solid var(--pos-border)}
 body.pos-theme :is(.topbar,.mobile-dock) {background:var(--pos-panel)!important;border-color:var(--pos-border)!important}
 body.pos-theme .mobile-dock a {color:var(--pos-muted)!important}
 body.pos-theme .mobile-dock a[aria-current] {color:var(--palette-accent)!important}
 body.pos-theme .pos-floor .floor-welcome {background:none!important}
 body.pos-theme :is(button,.button):not(.secondary,.danger,.text-button,.roster-person,.support-topic,.photo-open,[aria-pressed]) {
  background:var(--pos-button)!important;color:var(--palette-accent-ink)!important;
  border:1px solid var(--palette-accent)!important;box-shadow:none!important;
  border-radius:11px;font-weight:650;
 }
 body.navia-ui.pos-theme:not(:has(.pos-floor)) :is(button,.button):not(.secondary):not(.danger):not(.text-button):not(.roster-person):not(.support-topic):not(.photo-open):not([aria-pressed]) {background:var(--pos-button)!important;color:var(--palette-accent-ink)!important;border-color:var(--palette-accent)!important;box-shadow:none!important}
 body.pos-theme :is(button,.button):not(.roster-person):hover {filter:brightness(1.04)}
 body.pos-theme :is(.secondary,.text-button,.page-outline a,.floor-pagination button,.pos-work-tabs button[aria-pressed=false],.catalog-choices button,.product-picker button) {
  background:var(--palette-secondary)!important;color:var(--palette-secondary-ink)!important;
  border-color:var(--pos-border)!important;box-shadow:none!important;
 }
 body.pos-theme :is(.text-button,.photo-open) {background:transparent!important;box-shadow:none!important}
 body.pos-theme :is(.floor-filters button,.ticket-shortcuts a,.cast-tabs a) {background:var(--palette-secondary)!important;color:var(--pos-muted)!important;border:1px solid var(--pos-border)!important}
 body.pos-theme :is(.floor-filters button[aria-pressed=true],.pos-work-tabs button[aria-pressed=true],.catalog-choices button[aria-pressed=true],.product-picker button[aria-pressed=true]) {
  background:var(--palette-selected)!important;color:var(--palette-accent)!important;border-color:var(--palette-accent)!important;box-shadow:inset 0 -2px var(--palette-accent)!important;
 }
 body.pos-theme .floor-board .seat-action {background:var(--pos-button)!important;color:var(--palette-accent-ink)!important;border:1px solid var(--palette-accent)!important;box-shadow:none!important;text-shadow:none}
 body.pos-theme :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {background:var(--ui-input)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme :is(input,select,textarea)::placeholder {color:var(--pos-muted);opacity:1}
 body.pos-theme :is(input[type=checkbox],input[type=radio]) {accent-color:var(--palette-accent)}
 body.pos-theme :is(button,input,select,textarea,a,summary):focus-visible {outline:3px solid var(--palette-focus)!important;outline-offset:3px}
 body.pos-theme :is(th,td) {background:var(--pos-panel)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme th {background:var(--palette-secondary)!important;color:var(--pos-muted)!important}
 body.pos-theme .floor-summary>div,body.pos-theme .floor-summary>div:nth-child(2),body.pos-theme .floor-summary>div:nth-child(3) {
  background:var(--pos-card)!important;border-color:var(--pos-border)!important;box-shadow:none!important;
 }
 body.pos-theme.pos-light .floor-summary>div:nth-child(2) {background:var(--palette-soft)!important}
 body.pos-theme.pos-light .floor-summary>div:nth-child(3) {background:var(--palette-secondary)!important}
 body.pos-theme .floor-summary :is(strong,span,small) {color:var(--pos-text)!important}
 body.pos-theme .floor-summary span {color:var(--pos-muted)!important}
 body.pos-theme :is(.metric-icon,.orders-icon,.ticket-table-icon,.ticket-bill-icon,.setup-step-number) {background:var(--palette-soft)!important;color:var(--palette-accent)!important;border-color:var(--pos-border)!important;box-shadow:none!important}
 body.pos-theme .pos-sales-pulse {background:var(--pos-card)!important;border-color:var(--pos-border)!important;border-left-color:var(--palette-accent)!important;box-shadow:none!important}
 body.pos-theme .pos-sales-pulse :is(span,strong,b),body.pos-theme .pos-sales-pulse>span:last-child {color:var(--pos-text)!important}
 body.pos-theme .pos-floor .floor-board .table-grid .table-card.floor-readable-card,body.pos-theme .pos-floor .floor-board .table-card {
  background:var(--pos-card)!important;border-color:var(--pos-border)!important;border-top-color:var(--palette-accent)!important;box-shadow:var(--palette-shadow)!important;
 }
 body.pos-theme .pos-floor .floor-board .table-card :is(h2,.amount) {color:var(--pos-text)!important}
 body.pos-theme .pos-floor .floor-board .table-card p {color:var(--pos-muted)!important}
 body.pos-theme .pos-floor .floor-board .table-card .button {background:var(--palette-secondary)!important;color:var(--palette-secondary-ink)!important;border-color:var(--pos-border)!important}
 /* Legacy floor clarity used white text: keep readable ink on the soft action. */
 body.navia-ui.pos-theme.pos-light .pos-floor .floor-board .table-grid .table-card.floor-readable-card .floor-open-button {background:var(--pos-button)!important;color:var(--palette-accent-ink)!important;border-color:var(--palette-accent)!important}
 body.pos-theme .floor-visit-facts {border-color:var(--pos-border)!important;background:var(--palette-secondary)!important}
 body.pos-theme :is(.badge,.ticket-state,.timecard-state) {background:var(--palette-soft)!important;color:var(--palette-accent)!important;border-color:var(--pos-border)!important}
 body.pos-theme :is(.badge.lit,.ticket-state[data-state=open],.timecard-state.is-working,.message.success) {background:var(--palette-success-bg)!important;color:var(--palette-success)!important;border-color:var(--palette-success)!important}
 body.pos-theme :is(.warning,.ticket-state[data-state=pending],.timecard-state.is-break),body.pos-theme .pos-floor .floor-board .table-card[data-state=pending] .badge {
  background:var(--palette-warning-bg)!important;color:var(--palette-warning)!important;border-color:var(--palette-warning)!important;
 }
 body.pos-theme :is(.error,.errorlist,.form-error-summary,.message.error,.punch-feedback) {background:var(--palette-danger-bg)!important;color:var(--palette-danger)!important;border-color:var(--palette-danger)!important}
 body.pos-theme .danger {background:var(--palette-danger-bg)!important;color:var(--palette-danger)!important;border-color:var(--palette-danger)!important}
 body.pos-theme :is(.message,.connection-note) {border-color:var(--pos-border);background:var(--palette-secondary);color:var(--pos-text)}
 body.pos-theme .ticket-page :is(.ticket-overview,.ticket-facts,.pos-work-summary),body.pos-theme .ticket-page.checkout-one-screen>.row:not(.ticket-overview) {background:var(--pos-card)!important;border-color:var(--pos-border)!important}
 body.pos-theme .ticket-page #ticket-bill .total {background:var(--palette-soft)!important;border-color:var(--pos-border)!important}
 body.pos-theme .ticket-page #ticket-bill .total strong {color:var(--pos-text)!important}
 body.pos-theme .checkout-studio {background:var(--pos-panel)!important;border-color:var(--pos-border)!important;box-shadow:var(--palette-shadow)!important}
 body.pos-theme .checkout-hero {background:var(--palette-soft)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme .checkout-hero span:last-child,body.pos-theme .checkout-steps {color:var(--pos-muted)!important}
 body.pos-theme .checkout-steps span {border-color:var(--palette-accent)!important}
 body.pos-theme .checkout-studio [data-tender-row] {background:var(--pos-card)!important;border-color:var(--pos-border)!important}
 body.pos-theme .checkout-studio [data-tender-status] {background:var(--palette-secondary)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme .checkout-studio [data-tender-status][data-balanced=true],body.pos-theme .cash-change {background:var(--palette-success-bg)!important;color:var(--palette-success)!important;border-color:var(--palette-success)!important}
 body.pos-theme .cash-calculator[data-state=short] .cash-change {background:var(--palette-warning-bg)!important;color:var(--palette-warning)!important;border-color:var(--palette-warning)!important}
 body.pos-theme .checkout-studio .checkout-complete {background:var(--pos-button)!important;color:var(--palette-accent-ink)!important;border-color:var(--palette-accent)!important;box-shadow:none!important}
 body.pos-theme .timecard-page .panel {background:var(--pos-panel)!important;border-color:var(--pos-border)!important}
 body.pos-theme :is(.timecard-avatar,.timecard-metrics>div) {background:var(--palette-soft)!important;color:var(--palette-accent)!important;border-color:var(--pos-border)!important}
 body.pos-theme .timecard-page .roster-photo {background:var(--palette-secondary);border-color:var(--pos-border)}
 body.pos-theme .timecard-page .roster-initial {color:var(--pos-text)}
 body.pos-theme .timecard-page .is-working .roster-photo {border-color:var(--palette-accent);box-shadow:0 0 0 3px var(--palette-soft),0 0 14px color-mix(in srgb,var(--palette-accent) 40%,transparent)}
 body.pos-theme .timecard-page .is-working .roster-clock {color:var(--palette-accent)}
 body.pos-theme .timecard-page .roster-status-dot {background:var(--palette-accent)}
 body.pos-theme .timecard-page .roster-add>summary {background:var(--palette-secondary);color:var(--palette-secondary-ink);border-color:var(--pos-border)}
 body.pos-theme .timecard-punch-dialog {background:var(--pos-panel)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme .timecard-punch-dialog [data-punch-clock] {color:var(--palette-accent)!important}
 body.pos-theme :is(.pos-keypad,.support-panel,dialog) {background:var(--pos-panel)!important;color:var(--pos-text)!important;border-color:var(--pos-border)!important}
 body.pos-theme .support-topic {background:var(--palette-secondary)!important;color:var(--palette-secondary-ink)!important;border-color:var(--pos-border)!important}
 body.pos-theme .setup-start {background:var(--palette-soft)!important}
 body.pos-theme .editor-intro {background:var(--palette-secondary)!important;border-color:var(--pos-border)!important}
 /* Both personal and affiliated Cast use the same fixed white palette. */
 body.cast-theme {--cast-bg:#f8fafc;--cast-panel:#fff;--cast-ink:#27323e;--cast-muted:#637080;--cast-line:#dce4eb;--cast-soft:#edf5ff;--cast-sky:#edf5ff;--cast-accent:#155fa0;--cast-action:#155fa0;--cast-action-ink:#fff;color-scheme:light}
 body.cast-theme {--ui-bg:var(--cast-bg);--ui-panel:var(--cast-panel);--ui-ink:var(--cast-ink);--ui-muted:var(--cast-muted);--ui-line:var(--cast-line);--ui-input:var(--cast-panel);--ui-accent:var(--cast-accent);--ui-gradient:var(--cast-action);background:var(--cast-bg)!important;color:var(--cast-ink)!important}
 body.cast-theme :is(.cast-app,.topbar,.mobile-dock) {background:var(--cast-bg)!important;color:var(--cast-ink);border-color:var(--cast-line)}
 body.cast-theme :is(.cast-card,.cast-tools,.action-tile,.panel) {background:var(--cast-panel)!important;border-color:var(--cast-line)!important;color:var(--cast-ink)!important;box-shadow:0 4px 18px #223b5410}
 body.cast-theme :is(.shift-hero,.activity-hero,.action-tile.live,.cast-tabs a) {background:var(--cast-soft)!important;border-color:var(--cast-line)!important;color:var(--cast-ink)!important}
 body.cast-theme .action-tile.blog {background:var(--cast-sky)!important}
 body.cast-theme :is(h1,h2,h3,label,.shift-time) {color:var(--cast-ink)!important}
 body.cast-theme :is(.helper,.muted,.empty,.store-name,.more,.heading>time,.demo-note,.cast-brand>span) {color:var(--cast-muted)!important}
 body.cast-theme :is(.gradient-action,.activity-hero button:not(.danger),button:not(.secondary):not(.logout):not(.text-button):not(.danger)) {background:var(--cast-action)!important;color:var(--cast-action-ink)!important;border-color:var(--cast-line)!important;box-shadow:none!important}
 body.cast-theme :is(.sub-link,.account-links a,.archive-row a,.ui-icon,.sales-link strong,.cast-punch-id>strong) {color:var(--cast-accent)!important}
 body.cast-theme :is(.cast-avatar,.cast-greeting>img) {border:2px solid var(--cast-accent);background:var(--cast-soft);color:var(--cast-accent)}
 body.cast-theme :is(.duty-state,.badge,.cast-tabs a) {background:var(--cast-soft);color:var(--cast-accent);border-color:var(--cast-line)}
 body.cast-theme :is(.shift-row,.archive-row,.notice-full,.notice-text,.account-links a) {border-color:var(--cast-line)}
 body.cast-theme :is(.logout,.secondary,input,select,textarea) {background:var(--cast-panel)!important;color:var(--cast-ink)!important;border-color:var(--cast-line)!important}
 body.cast-theme :focus-visible {outline-color:var(--cast-accent)!important}
 /* Customer palette: fixed white, never driven by a clock or preference. */
 html[data-customer-theme] {--customer-bg:#f8fafc;--customer-panel:#fff;--customer-ink:#27323e;--customer-muted:#637080;--customer-line:#dce4eb;--customer-accent:#155fa0;--customer-soft:#edf5ff;--customer-secondary:#edf5ff;--customer-action:#155fa0;--customer-action-ink:#fff;color-scheme:light}
 html[data-customer-theme] body.public-theme {--ui-bg:var(--customer-bg);--ui-panel:var(--customer-panel);--ui-ink:var(--customer-ink);--ui-muted:var(--customer-muted);--ui-line:var(--customer-line);--ui-input:var(--customer-panel);--ui-accent:var(--customer-accent);--ui-gradient:var(--customer-action);--ink:var(--customer-ink);--muted:var(--customer-muted);background:var(--customer-bg)!important;color:var(--customer-ink)!important}
 html[data-customer-theme] :is(.customer-home,.customer-shell) {background:var(--customer-bg)!important;color:var(--customer-ink)!important;box-shadow:none}
 html[data-customer-theme] :is(.customer-header,.customer-categories,.customer-dock,.customer-dialog),html[data-customer-theme] body.public-theme :is(.topbar,.mobile-dock,.section-nav,.cast-card,.store-card,.panel,.venue-heading) {background:var(--customer-panel)!important;border-color:var(--customer-line)!important;color:var(--customer-ink)!important}
 html[data-customer-theme] .customer-header::before,html[data-customer-theme] .customer-header::after {opacity:.05}
 html[data-customer-theme] :is(.header-invitation,.customer-logo span,.header-actions button,.customer-categories a,.customer-dock a,.customer-dock button,.store-copy>p,.store-facts,.section-title button,.map-sync,.customer-business-entry a) {color:var(--customer-muted)!important;text-shadow:none}
 html[data-customer-theme] .customer-categories a[aria-current],html[data-customer-theme] .customer-dialog .primary,html[data-customer-theme] .map-area {background:var(--customer-action)!important;color:var(--customer-action-ink)!important;box-shadow:none;border-color:var(--customer-line)}
 html[data-customer-theme] :is(.customer-dock [aria-current],.cast-bubble strong,.map-store-link strong,.section-title h1,.section-title h2,.directory-entry h2) {color:var(--customer-ink)!important}
 html[data-customer-theme] .customer-dock [aria-current] {color:var(--customer-accent)!important}
 html[data-customer-theme] :is(.store-card,.map-selection,.search-summary,.directory-entry nav a) {background:var(--customer-panel)!important;border-color:var(--customer-line)!important;color:var(--customer-ink)!important}
 html[data-customer-theme] :is(.venue-monogram,.cast-initial,.map-open) {background:var(--customer-secondary)!important;color:var(--customer-ink)!important;border-color:var(--customer-line)!important}
 html[data-customer-theme] .map-open[aria-current="page"] {background:var(--customer-action)!important;color:var(--customer-action-ink)!important}
 html[data-customer-theme] :is(.customer-dialog input,.customer-dialog select) {background:var(--customer-bg)!important;color:var(--customer-ink)!important;border-color:var(--customer-line)!important}
 html[data-customer-theme] body.public-theme :is(a,.text-button,.section-nav a) {color:var(--customer-accent)}
 html[data-customer-theme] body.public-theme :is(button,.button):not(.secondary):not(.text-button):not(.photo-open):not(.danger) {background:var(--customer-action)!important;color:var(--customer-action-ink)!important;box-shadow:none}
 html[data-customer-theme] body.public-theme :is(.secondary,.section-nav a:hover) {background:var(--customer-secondary)!important;color:var(--customer-ink)!important;border-color:var(--customer-line)}
 html[data-customer-theme] :is(.customer-home,body.public-theme) :focus-visible {outline-color:var(--customer-accent)!important}
 /* Preserve meaning, not decorative store/time palettes. */
 body.navia-ui:not(.pos-theme),body.cast-theme,body.customer-home {--white-success:#276d50;--white-success-bg:#e7f6ee;--white-danger:#a42b42;--white-danger-bg:#fff0f2;--white-warning:#7e5415;--white-warning-bg:#fff5e3}
 body.navia-ui:not(.pos-theme) :is(.message.success,.badge.lit),body.cast-theme .message.success {background:var(--white-success-bg)!important;color:var(--white-success)!important}
 body.navia-ui:not(.pos-theme) :is(.error,.errorlist,.form-error-summary,.message.error,.danger),body.cast-theme :is(.message.error,.danger) {background:var(--white-danger-bg)!important;color:var(--white-danger)!important;border-color:var(--white-danger)!important}
 body.navia-ui:not(.pos-theme) .warning,body.cast-theme .warning {background:var(--white-warning-bg)!important;color:var(--white-warning)!important;border-color:var(--white-warning)!important}
}
