/* HPOS color contract. Color values live in assets/brand/color-system.json.
 * State backgrounds and text are assigned together; no group opacity/filter. */
:root { --public-navy:var(--hpos-brand-900); --public-deep:var(--hpos-brand-950); --public-cyan:var(--hpos-accent-500); --public-ink:var(--hpos-text); --public-muted:var(--hpos-text-muted); --public-border:var(--hpos-border); --public-bg:var(--hpos-canvas); }
body.hpos-cms { --primary:var(--hpos-brand-900); --secondary:var(--hpos-brand-950); --primary-invert:var(--hpos-on-action); --secondary-invert:var(--hpos-on-action); --text-primary:var(--hpos-text); --Green:var(--hpos-success); --Yellow:var(--hpos-warning); --Blue:var(--hpos-info); --Purple:var(--hpos-accent-700); --gradient-primary:linear-gradient(120deg,var(--hpos-brand-800),var(--hpos-brand-900)); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) { color:var(--hpos-text); }
body.hpos-app :is(.text-muted,.help-block,.form-text,.tw-text-gray-400,.tw-text-gray-500,.tw-text-gray-600) { color:var(--hpos-text-muted) !important; }
body.hpos-app :is(.text-primary,.tw-text-blue-500,.tw-text-blue-600,.tw-text-cyan-500,.tw-text-cyan-600) { color:var(--hpos-accent-700) !important; }
body.hpos-app :is(.text-success,.text-green,.tw-text-green-500,.tw-text-green-600) { color:var(--hpos-success) !important; }
body.hpos-app :is(.text-danger,.text-red,.tw-text-red-500,.tw-text-red-600) { color:var(--hpos-danger) !important; }
body.hpos-app :is(.text-warning,.text-yellow,.tw-text-yellow-500,.tw-text-yellow-600) { color:var(--hpos-warning) !important; }
body.hpos-app :is(.text-info,.text-aqua) { color:var(--hpos-info) !important; }
body.hpos-app :is(.tw-text-transparent,.tw-bg-clip-text) { background-image:none !important; background-clip:border-box !important; -webkit-background-clip:border-box !important; color:var(--hpos-brand-900) !important; -webkit-text-fill-color:currentColor !important; }
/* Text links remain distinguishable on their surrounding light surface. */
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.content,.box-body,.modal-body,.card-body,.public-main) a:not(:where(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.public-button,.label,.badge)) { color:var(--hpos-accent-700); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.content,.box-body,.modal-body,.card-body,.public-main) a:not(:where(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.public-button,.label,.badge)):hover { color:var(--hpos-accent-active); text-decoration:underline; text-underline-offset:3px; }
/* A consistent semantic action matrix covers Bootstrap, DaisyUI, CMS and POS. */
:where(body.hpos-app,body.hpos-cms,body.hpos-brand-guide) :where(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.hpos-btn,.public-button,.auth-login-submit,.auth-recovery-submit,.pos-form-actions button) {
    --hpos-action-bg:var(--hpos-surface); --hpos-action-fg:var(--hpos-brand-900); --hpos-action-border:var(--hpos-border-strong);
    --hpos-action-hover:var(--hpos-secondary-hover); --hpos-action-active:var(--hpos-secondary-active); --hpos-action-tone:var(--hpos-brand-900); --hpos-action-soft:var(--hpos-surface-subtle);
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.hpos-btn,.public-button,.auth-login-submit,.auth-recovery-submit,.pos-form-actions button) {
    background-color:var(--hpos-action-bg) !important; background-image:none !important; color:var(--hpos-action-fg) !important;
    -webkit-text-fill-color:currentColor !important; border-color:var(--hpos-action-border) !important;
    filter:none !important; opacity:1; text-shadow:none; transform:none !important;
    transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease;
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn-primary,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-primary,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--primary,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .public-button,
body.hpos-cms .mw-cta,
body.hpos-app :is(button,a.btn,a.tw-dw-btn,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"])[class*="tw-from-indigo-"],
body.hpos-app :is(button,a.btn,a.tw-dw-btn,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"])[class*="tw-from-primary-"],
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .auth-login-submit,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .auth-recovery-submit,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-finalize,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-finalize-mobile,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #recent-transactions { --hpos-action-bg:var(--hpos-brand-900); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-brand-900); --hpos-action-hover:var(--hpos-primary-hover); --hpos-action-active:var(--hpos-primary-active); --hpos-action-tone:var(--hpos-brand-900); --hpos-action-soft:var(--hpos-surface-subtle); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-accent,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--accent { --hpos-action-bg:var(--hpos-accent-700); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-accent-700); --hpos-action-hover:var(--hpos-accent-hover); --hpos-action-active:var(--hpos-accent-active); --hpos-action-tone:var(--hpos-accent-700); --hpos-action-soft:var(--hpos-surface-subtle); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn-success,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-success,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--success,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn--green,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .pos-express-finalize[data-pay_method="cash"] { --hpos-action-bg:var(--hpos-success); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-success); --hpos-action-hover:var(--hpos-success-hover); --hpos-action-active:var(--hpos-success-active); --hpos-action-tone:var(--hpos-success); --hpos-action-soft:var(--hpos-success-soft); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn-danger,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-error,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--danger,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-cancel,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-cancel-mobile,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-delete,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) #pos-delete-mobile { --hpos-action-bg:var(--hpos-danger); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-danger); --hpos-action-hover:var(--hpos-danger-hover); --hpos-action-active:var(--hpos-danger-active); --hpos-action-tone:var(--hpos-danger); --hpos-action-soft:var(--hpos-danger-soft); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn-warning,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-warning,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--warning,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn--yellow { --hpos-action-bg:var(--hpos-warning); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-warning); --hpos-action-hover:var(--hpos-warning-hover); --hpos-action-active:var(--hpos-warning-active); --hpos-action-tone:var(--hpos-warning); --hpos-action-soft:var(--hpos-warning-soft); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn-info,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .tw-dw-btn-info,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .hpos-btn--info,
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) .btn--blue { --hpos-action-bg:var(--hpos-info); --hpos-action-fg:var(--hpos-on-action); --hpos-action-border:var(--hpos-info); --hpos-action-hover:var(--hpos-info-hover); --hpos-action-active:var(--hpos-info-active); --hpos-action-tone:var(--hpos-info); --hpos-action-soft:var(--hpos-info-soft); }

body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.tw-dw-btn-outline,.btn-outline,.btn-primary--outline,.btn-primary--empty,[class*="btn-outline-"]) {
    --hpos-action-bg:var(--hpos-surface); --hpos-action-fg:var(--hpos-action-tone); --hpos-action-border:var(--hpos-action-tone);
    --hpos-action-hover:var(--hpos-action-soft); --hpos-action-active:var(--hpos-action-soft);
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn-link,.tw-dw-btn-ghost,.hpos-btn--quiet,.btn-primary--empty) {
    --hpos-action-bg:transparent; --hpos-action-fg:var(--hpos-accent-hover); --hpos-action-border:transparent;
    --hpos-action-hover:var(--hpos-surface-subtle); --hpos-action-active:var(--hpos-secondary-active);
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.hpos-btn,.public-button,.auth-login-submit,.auth-recovery-submit,.pos-form-actions button):is(:hover,:focus-visible) {
    background-color:var(--hpos-action-hover) !important; color:var(--hpos-action-fg) !important; border-color:var(--hpos-action-tone) !important; filter:none !important;
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.hpos-btn,.public-button,.auth-login-submit,.auth-recovery-submit,.pos-form-actions button):is(:active,.active,.fc-state-active,[aria-pressed="true"]) {
    background-color:var(--hpos-action-active) !important; color:var(--hpos-action-fg) !important; border-color:var(--hpos-action-tone) !important; box-shadow:inset 0 0 0 1px currentColor;
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.hpos-btn,.public-button,.auth-login-submit,.auth-recovery-submit,.pos-form-actions button) :is(span,i,svg,strong,b):not(:where(.label,.badge,.tw-dw-badge,.hpos-badge)) { color:inherit !important; -webkit-text-fill-color:currentColor !important; opacity:1; }
/* Inputs, placeholders and menus keep a visible boundary and clear focus. */
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.form-control,.hpos-field,.select2-selection,.public-input) { color:var(--hpos-text); background-color:var(--hpos-surface); border-color:var(--hpos-border-strong); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(input,textarea)::placeholder { color:var(--hpos-text-muted) !important; opacity:1 !important; }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.form-control,.hpos-field,.select2-selection,.public-input):hover { border-color:var(--hpos-accent-700); }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.form-control,.hpos-field,.select2-selection,.public-input):is(:focus,:focus-within) { border-color:var(--hpos-focus-color) !important; }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(input,textarea,select,.select2-selection):is(:disabled,[readonly]) { color:var(--hpos-disabled-text) !important; background-color:var(--hpos-disabled-bg) !important; border-color:var(--hpos-disabled-border) !important; opacity:1 !important; -webkit-text-fill-color:currentColor !important; }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.select2-selection__placeholder,.select2-selection__clear) { color:var(--hpos-text-muted) !important; opacity:1; }
body.hpos-app .select2-results__option--highlighted[aria-selected],
body.hpos-app .select2-results__option[aria-selected="true"],
body.hpos-app .ui-autocomplete .ui-state-active,
body.hpos-app .dropdown-menu > li > a:is(:hover,:focus),
body.hpos-app .dropdown-menu > .active > a { background:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }
body.hpos-app :is(.select2-results__option--highlighted,.ui-menu-item .ui-state-active,.dropdown-menu > .active > a) :is(span,i,small) { color:inherit !important; opacity:1; }
/* Navigation selection changes both colors at once; it never fades text. */
body.hpos-app :is(.nav-tabs,.nav-pills) > li > a { color:var(--hpos-text-muted); background-color:var(--hpos-surface); transition:box-shadow 140ms ease; }
body.hpos-app :is(.nav-tabs,.nav-pills) > li > a:is(:hover,:focus) { color:var(--hpos-brand-900) !important; background:var(--hpos-secondary-hover) !important; border-color:var(--hpos-border-strong) !important; }
body.hpos-app :is(.nav-tabs,.nav-pills) > li.active > a,
body.hpos-app .pos-tab-menu .list-group-item.active,
body.hpos-app .paginate_button.current,
body.hpos-app .pagination > .active > :is(a,span) { color:var(--hpos-on-action) !important; background:var(--hpos-brand-900) !important; border-color:var(--hpos-brand-900) !important; transition:none; }
body.hpos-app :is(.nav-tabs,.nav-pills) > li.active > a :is(span,i),
body.hpos-app .pos-tab-menu .list-group-item.active :is(span,i) { color:inherit !important; }
body.hpos-app .side-bar :is(.sidebar-menu,.menu) a:hover,
body.hpos-app .side-bar .chiled a:hover { color:var(--hpos-brand-900) !important; background:var(--hpos-secondary-hover) !important; }
body.hpos-app .side-bar :is(.sidebar-menu,.menu) .active > a { color:var(--hpos-brand-900) !important; background:var(--hpos-table-selected) !important; }
body.hpos-app .side-bar :is(.sidebar-menu,.menu) a :is(span,i,svg) { color:inherit; }
body.hpos-app :is(.table-hover,table.dataTable.hover) > tbody > tr:hover { background:var(--hpos-table-hover) !important; }
body.hpos-app table.dataTable tbody tr.selected,
body.hpos-app table.dataTable tbody tr.selected > :is(td,th),
body.hpos-app .table-hover > tbody > tr:hover > :is(td,th) { color:var(--hpos-text) !important; background:var(--hpos-table-selected) !important; }
body.hpos-app table.dataTable tbody tr.selected a:not(.btn) { color:var(--hpos-accent-active); text-decoration:underline; }
/* Native and ARIA disabled states stay readable even while hovered/pressed. */
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(button,input[type="button"],input[type="submit"],.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.public-button,[role="button"]):is(:disabled,[disabled],[aria-disabled="true"],.disabled,.tw-dw-btn-disabled),
body.hpos-app .wizard > .actions .disabled > a {
    background:var(--hpos-disabled-bg) !important; color:var(--hpos-disabled-text) !important; -webkit-text-fill-color:currentColor !important; border-color:var(--hpos-disabled-border) !important;
    opacity:1 !important; filter:none !important; transform:none !important; box-shadow:none !important; cursor:not-allowed;
}
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(button,.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,[role="button"]):is(:disabled,[aria-disabled="true"],.disabled) :is(i,span,svg) { color:inherit !important; opacity:1 !important; }
/* Dual rings remain visible against both light and dark surfaces. */
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(a,button,input,input[type="button"],select,textarea,summary,[tabindex]):focus-visible {
    outline:2px solid var(--hpos-focus-inner) !important; outline-offset:1px !important; box-shadow:0 0 0 5px var(--hpos-focus-color) !important;
}
body.hpos-app .pos-header :is(a,button):not(.btn):not(.tw-dw-btn) { color:var(--hpos-brand-900); }
body.hpos-app .pos-header :is(a,button):not(.btn):not(.tw-dw-btn) :is(i,svg,strong) { color:inherit !important; }
body.hpos-app .pos-header :is(a,button):is(:hover,:focus-visible):not(.btn):not(.tw-dw-btn) { background-color:var(--hpos-secondary-hover) !important; }
body.hpos-app .pos-form-actions #recent-transactions { background:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }
body.hpos-app .pos-form-actions #recent-transactions:hover { background:var(--hpos-primary-hover) !important; }
body.hpos-pos .main-footer { color:var(--hpos-text-muted) !important; }
body.hpos-pos .main-footer :is(b,a,span) { color:inherit !important; }
body.hpos-cms :is(.btn-primary--outline,.btn-primary--empty) { color:var(--hpos-accent-700) !important; }
body.hpos-cms .block-44__link { color:var(--hpos-brand-900); }
@media (prefers-reduced-motion:reduce) { body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(button,a,input,select,textarea) { transition:none !important; animation:none !important; } }
@media (forced-colors:active) {
    body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,a[class*="tw-from-indigo-"],a[class*="tw-from-primary-"],.fc-button,.ui-button,.form-control,.select2-selection) { forced-color-adjust:auto !important; border:1px solid ButtonText !important; }
    body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(a,button,input,input[type="button"],select,textarea,summary,[tabindex]):focus-visible { outline:3px solid Highlight !important; box-shadow:none !important; }
    body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(button,.btn,.tw-dw-btn):disabled { background:ButtonFace !important; color:GrayText !important; -webkit-text-fill-color:GrayText !important; }
}
@media print { body.hpos-app { --hpos-text:#000; --hpos-text-muted:#333; --hpos-canvas:#fff; } }

/* Dashboard tiles have their own surface and footer, never translucent white text. */
body.hpos-app .small-box { background:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }
body.hpos-app .small-box.bg-red { background:var(--hpos-danger) !important; }
body.hpos-app .small-box.bg-green { background:var(--hpos-success) !important; }
body.hpos-app .small-box.bg-yellow { background:var(--hpos-warning) !important; }
body.hpos-app .small-box.bg-aqua { background:var(--hpos-accent-700) !important; }
body.hpos-app .small-box .inner :is(p,h1,h2,h3,h4,h5,h6,strong,b,span,a) { color:inherit !important; opacity:1 !important; }
body.hpos-app .small-box > .small-box-footer { background:var(--hpos-brand-950) !important; color:var(--hpos-on-action) !important; opacity:1 !important; }
body.hpos-app .small-box > .small-box-footer:is(:hover,:focus-visible,:active) { background:var(--hpos-brand-700) !important; color:var(--hpos-on-action) !important; }
body.hpos-app .small-box > .small-box-footer :is(i,span) { color:inherit !important; opacity:1 !important; }

body.hpos-app :is(.label-success,.badge-success,.tw-dw-badge-success,.hpos-badge--success,.alert-success,.callout-success,.hpos-alert--success) { background:var(--hpos-success-soft) !important; color:var(--hpos-success) !important; border-color:var(--hpos-success) !important; opacity:1; }

body.hpos-app :is(.label-warning,.badge-warning,.tw-dw-badge-warning,.hpos-badge--warning,.alert-warning,.callout-warning,.hpos-alert--warning) { background:var(--hpos-warning-soft) !important; color:var(--hpos-warning) !important; border-color:var(--hpos-warning) !important; opacity:1; }

body.hpos-app :is(.label-danger,.badge-danger,.tw-dw-badge-error,.hpos-badge--danger,.alert-danger,.callout-danger,.hpos-alert--danger) { background:var(--hpos-danger-soft) !important; color:var(--hpos-danger) !important; border-color:var(--hpos-danger) !important; opacity:1; }

body.hpos-app :is(.label-info,.badge-info,.tw-dw-badge-info,.hpos-badge--info,.alert-info,.callout-info,.hpos-alert--info) { background:var(--hpos-info-soft) !important; color:var(--hpos-info) !important; border-color:var(--hpos-info) !important; opacity:1; }

body.hpos-app :is(.label-primary,.badge-primary,.label-default,.badge-default,.label,.badge) { text-shadow:none; }
body.hpos-app :is(.label,.badge,.alert,.callout) :is(span,small,strong,b,i) { color:inherit !important; }
body.hpos-app :is(.alert,.callout) a:not(.btn) { color:inherit !important; text-decoration:underline; }
body.hpos-app .public-error-code { color:var(--hpos-text-muted) !important; opacity:1 !important; }

body.hpos-app :is(.bg-green,.bg-success) { background-color:var(--hpos-success) !important; color:var(--hpos-on-action) !important; }

body.hpos-app :is(.bg-yellow,.bg-warning) { background-color:var(--hpos-warning) !important; color:var(--hpos-on-action) !important; }

body.hpos-app :is(.bg-red,.bg-danger) { background-color:var(--hpos-danger) !important; color:var(--hpos-on-action) !important; }

body.hpos-app :is(.bg-info,.bg-aqua,.bg-blue,.bg-light-blue) { background-color:var(--hpos-info) !important; color:var(--hpos-on-action) !important; }

body.hpos-app :is(.bg-primary,.bg-navy) { background-color:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }

body.hpos-app :is(.bg-green,.bg-success,.bg-yellow,.bg-warning,.bg-red,.bg-danger,.bg-info,.bg-aqua,.bg-blue,.bg-light-blue,.bg-primary,.bg-navy) > :is(th,td,h1,h2,h3,h4,h5,h6,p,strong,b) { color:inherit !important; }
body.hpos-app :is(.label,.badge):is(.bg-green,.bg-success) { background:var(--hpos-success-soft) !important; color:var(--hpos-success) !important; }
body.hpos-app :is(.label,.badge):is(.bg-red,.bg-danger) { background:var(--hpos-danger-soft) !important; color:var(--hpos-danger) !important; }
body.hpos-app :is(.label,.badge):is(.bg-yellow,.bg-warning) { background:var(--hpos-warning-soft) !important; color:var(--hpos-warning) !important; }
body.hpos-app :is(.label,.badge):is(.bg-info,.bg-aqua,.bg-blue,.bg-light-blue) { background:var(--hpos-info-soft) !important; color:var(--hpos-info) !important; }

/* Report widgets and calendars must not fade operational values. */
body.hpos-app .modern-widget { background:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }
body.hpos-app .modern-widget.widget-profit { background:var(--hpos-success) !important; }
body.hpos-app .modern-widget.widget-transactions { background:var(--hpos-accent-700) !important; }
body.hpos-app .modern-widget.widget-margin { background:var(--hpos-warning) !important; }
body.hpos-app .modern-widget :is(.modern-widget-content,.modern-widget-text,.modern-widget-number,.display_currency,.text-success,.text-danger,.modern-widget-icon) { color:inherit !important; opacity:1 !important; }
body.hpos-app :is(.bg-green,.bg-success,.bg-yellow,.bg-warning,.bg-red,.bg-danger,.bg-info,.bg-aqua,.bg-blue,.bg-light-blue) :is(.info-box-text,.info-box-number,.info-box-content) { color:var(--hpos-on-action) !important; opacity:1 !important; }
body.hpos-app .fc-other-month, body.hpos-app .fc-other-month .fc-day-number { opacity:1 !important; color:var(--hpos-text-muted) !important; }
body.hpos-app .close { opacity:1 !important; color:var(--hpos-text-muted); text-shadow:none; }
body.hpos-app .close:hover { color:var(--hpos-brand-900); }

body.hpos-app .info-box-text { color:var(--hpos-text-muted) !important; }

body.hpos-app .luckysheet-bottom-controll-row span { color:var(--hpos-text-muted) !important; }

body.hpos-scanner { background:var(--hpos-brand-900) !important; }
body.hpos-scanner .right-col { background:transparent !important; }

body.hpos-app .bg-orange { background-color:var(--hpos-warning-soft) !important; color:var(--hpos-warning) !important; }
body.hpos-app .select2-selection--multiple .select2-selection__choice { background:var(--hpos-surface-subtle) !important; color:var(--hpos-brand-900) !important; border-color:var(--hpos-border-strong) !important; }
body.hpos-app .select2-selection__choice__remove { color:var(--hpos-danger) !important; opacity:1 !important; }
body.hpos-app .select2-selection__choice__remove:hover { color:var(--hpos-danger-active) !important; }
body.hpos-app .bi-insights-panel h3 { color:var(--hpos-on-action) !important; }
body.hpos-app .bi-insight-item { background:var(--hpos-brand-800); color:var(--hpos-on-action); }
body.hpos-app .bi-insight-item:hover { background:var(--hpos-brand-700); }
body.hpos-app .bi-kpi-modern:is(.products,.transactions) { color:var(--hpos-text) !important; }
@media(prefers-reduced-motion:reduce) { body.hpos-app :is(.bi-kpi-modern,.bi-stat-card,.bi-insight-item) { transition:none !important; transform:none !important; } }

body.hpos-app .auth-nav-pro__bar { background:var(--hpos-brand-900); border-radius:14px; padding:12px 18px; }
body.hpos-app :is(.label,.badge):is(.bg-gray,.label-default) { background:var(--hpos-surface-subtle) !important; color:var(--hpos-text-muted) !important; }
body.hpos-app :is(.label,.badge):is(.bg-light-green) { background:var(--hpos-success-soft) !important; color:var(--hpos-success) !important; }
body.hpos-app :is(.label-primary,.badge-primary) { background:var(--hpos-brand-900) !important; color:var(--hpos-on-action) !important; }

body.hpos-app .apexcharts-toolbar svg { color:var(--hpos-info) !important; fill:var(--hpos-info) !important; }
body.hpos-app .apexcharts-toolbar svg [fill]:not([fill="none"]) { fill:var(--hpos-info) !important; }
body.hpos-app .apexcharts-toolbar .apexcharts-selected { box-shadow:inset 0 -2px 0 var(--hpos-accent-700); }

body.hpos-app .analytics-summary-card h4 { color:var(--hpos-on-action) !important; }

body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,.hpos-btn,.public-button) :is(i,svg) { background:transparent !important; }
body:is(.hpos-app,.hpos-cms,.hpos-brand-guide) :is(.btn,.tw-dw-btn,.dt-button,.hpos-btn,.public-button):is(:hover,:focus,:focus-visible,:active,.active) :is(i,svg) { color:inherit !important; -webkit-text-fill-color:currentColor !important; background:transparent !important; }
