/* Light-mode component colors. Important layer outranks legacy unlayered fixes. */
@layer hayorder-light-contrast {
 body.theme-light{--text:#1f2937;--muted:#475569;--surface:#fff;--surface-soft:#f1f5f9;--field:#fff;--line:#cbd5e1}
 body.theme-light :is(.ho122-eyebrow,.ho122-kicker,.extras-kicker,.ho-settings-kicker,.ho-page-kicker,.ho122-page-kicker,.ho122-page-head .eyebrow,.dispatch-title .ho122-eyebrow){color:#526174!important;-webkit-text-fill-color:#526174!important;opacity:1!important}
 body.theme-light .app-shell :is(.card,.ho-panel,.home-panel,.ho-stat-panel,.ho-finance-card,.legal-card,.extras-group){color:#1f2937!important}
 body.theme-light .app-shell :is(input,select,textarea){color-scheme:light}
 body.theme-light .app-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background-color:#fff!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border-color:#94a3b8!important}
 body.theme-light .app-shell ::placeholder{color:#526174!important;-webkit-text-fill-color:#526174!important;opacity:1!important}
 body.theme-light .app-shell input[type=file]::file-selector-button{background:#e2e8f0!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border:1px solid #94a3b8!important;border-radius:7px;padding:10px 14px;cursor:pointer}
 /* Empty lists use light surfaces rather than leftover dark panels. */
 body.theme-light :is(.order-empty,.inline-empty,.home-empty,.ho-empty-state,.ho-cus-empty,.catalog-empty,.extras-empty){background:#fff!important;background-image:none!important;color:#1f2937!important;border-color:#cbd5e1!important}
 body.theme-light :is(.order-empty,.inline-empty,.home-empty,.ho-empty-state,.ho-cus-empty,.catalog-empty,.extras-empty) :is(h2,h3,h4,strong){color:#1f2937!important;-webkit-text-fill-color:#1f2937!important}
 body.theme-light :is(.order-empty,.inline-empty,.home-empty,.ho-empty-state,.ho-cus-empty,.catalog-empty,.extras-empty) :is(p,small){color:#475569!important;-webkit-text-fill-color:#475569!important}
 /* Status filter labels and counts share the same readable palette. */
 body.theme-light #orders-ajax-root .ho122-status-filter{background:#fff!important;background-image:none!important;color:#334155!important;-webkit-text-fill-color:#334155!important;border-color:#cbd5e1!important;opacity:1!important}
 body.theme-light #orders-ajax-root .ho122-status-filter>span:not(.ho122-filter-dot){color:inherit!important;-webkit-text-fill-color:inherit!important}
 body.theme-light #orders-ajax-root .ho122-status-filter>strong{background:#e9eef5!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border-color:transparent!important;font-variant-numeric:tabular-nums}
 body.theme-light #orders-ajax-root .ho122-status-filter.is-active{background:#e9eef5!important;border-color:#64748b!important;color:#1f2937!important}
 body.theme-light #orders-ajax-root .ho122-status-filter.is-paid{background:#e7f4ec!important;color:#166534!important;-webkit-text-fill-color:#166534!important;border-color:#84b99b!important}
 body.theme-light #orders-ajax-root .ho122-status-filter.is-unpaid{background:#fff3d6!important;color:#783e0b!important;-webkit-text-fill-color:#783e0b!important;border-color:#cfaa57!important}
 body.theme-light #orders-ajax-root .ho122-status-filter.is-cancelled{background:#fce8ec!important;color:#991b36!important;-webkit-text-fill-color:#991b36!important;border-color:#d58a9a!important}
 body.theme-light #orders-ajax-root .ho122-status-filter:is(.is-paid,.is-unpaid,.is-cancelled)>strong{background:#fff!important;color:inherit!important;-webkit-text-fill-color:inherit!important}
 body.theme-light :is(.ho151-live-badge,.ho122-live,.ho-live-status){background:#e7f4ec!important;color:#166534!important;-webkit-text-fill-color:#166534!important;border-color:#84b99b!important}
 /* Delivery management, including KPI labels, history and forms. */
 body.theme-light .dispatch426{--dispatch-bg:#fff;--dispatch-line:#cbd5e1;color:#1f2937!important}
 body.theme-light .dispatch426 :is(h1,h2,h3,h4,label,legend,.dispatch-kpis strong,.dispatch-order-head strong){color:#1f2937!important;-webkit-text-fill-color:#1f2937!important}
 body.theme-light .dispatch426 :is(p,small,.dispatch-kpis>.card,.dispatch-kpis>.card>div,.dispatch-history time){color:#475569!important;-webkit-text-fill-color:#475569!important}
 body.theme-light .dispatch426 :is(.card,.dispatch-history-panel,.dispatch-history,.dispatch-management,.dispatch-address,.dispatch-recall){background:#fff!important;background-image:none!important;border-color:#cbd5e1!important;color:#1f2937!important}
 body.theme-light .dispatch426 :is(.dispatch-kpi-icon,.dispatch-history-symbol){background:#e9eef5!important;border-color:#cbd5e1!important;color:#475569!important}
 body.theme-light .dispatch426 :is(.dispatch-tabs>a,.secondary,.dispatch-history-toggle,.dispatch-order-tools>.button,.dispatch-staff-edit>summary){background:#f1f5f9!important;border-color:#cbd5e1!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important}
 body.theme-light .dispatch426 .dispatch-tabs>a[aria-current=page]{background:var(--accent,#c81e2a)!important;border-color:var(--accent,#c81e2a)!important;color:var(--on-accent,#fff)!important;-webkit-text-fill-color:var(--on-accent,#fff)!important}
 body.theme-light .dispatch426 :is(.dispatch-tabs>a,.secondary,.dispatch-history-toggle,.dispatch-staff-edit>summary) :is(span,strong,small,svg){color:inherit!important;-webkit-text-fill-color:inherit!important}
 body.theme-light .dispatch426 .dispatch-badge{background:#e9eef5!important;color:#334155!important;-webkit-text-fill-color:#334155!important;border-color:#b3c0cf!important}
 body.theme-light .dispatch426 .dispatch-badge:is(.is-success,.is-paid){background:#e7f4ec!important;color:#166534!important;-webkit-text-fill-color:#166534!important;border-color:#84b99b!important}
 body.theme-light .dispatch426 .dispatch-badge:is(.is-warning,.is-open){background:#fff3d6!important;color:#783e0b!important;-webkit-text-fill-color:#783e0b!important;border-color:#cfaa57!important}
 body.theme-light .dispatch426 .dispatch-badge.is-danger{background:#fce8ec!important;color:#991b36!important;-webkit-text-fill-color:#991b36!important;border-color:#d58a9a!important}
 /* Promotion symbol choices must not inherit light-mode text on dark tiles. */
 body.theme-light .promo-icon-picker400 label>span{background:#fff!important;border-color:#94a3b8!important;color:#334155!important;-webkit-text-fill-color:#334155!important;box-shadow:none!important}
 body.theme-light .promo-icon-picker400 :is(small,svg){color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important}
 body.theme-light .promo-icon-picker400 input:checked+span{background:#fce8ec!important;border-color:#be123c!important;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important;box-shadow:inset 0 0 0 1px #be123c!important}
 body.theme-light .promo-icon-picker400 input:focus-visible+span{outline:2px solid #9f1239!important;outline-offset:3px}
 /* Settings previews retain chosen colors and use their computed contrast ink. */
 body.theme-light .ho-dashboard-preview-actions b{color:var(--preview-ink,#fff)!important;-webkit-text-fill-color:var(--preview-ink,#fff)!important;background:var(--preview-accent,#c81e2a)!important}
 body.theme-light .ho-dashboard-preview-actions em{color:var(--link,#991b1b)!important;-webkit-text-fill-color:var(--link,#991b1b)!important;border-color:var(--link,#991b1b)!important}
 body.theme-light .ho-preview-buttons b{color:var(--shop-preview-ink,#fff)!important;-webkit-text-fill-color:var(--shop-preview-ink,#fff)!important}
 body.theme-light .ho-preview-buttons em{color:var(--shop-preview-link,#991b1b)!important;-webkit-text-fill-color:var(--shop-preview-link,#991b1b)!important;border-color:var(--shop-preview-link,#991b1b)!important}
 body.theme-light .ho-dashboard-preview-card :is(strong,small){color:#1f2937!important;-webkit-text-fill-color:#1f2937!important}
 body.theme-light .ho-dashboard-preview-card em{color:#9f1239!important;-webkit-text-fill-color:#9f1239!important}
 body.theme-light :is(.ho-dashboard-presets,.ho-color-presets) button{background:#f1f5f9!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border-color:#cbd5e1!important}
 body.theme-light :is(.ho-dashboard-presets,.ho-color-presets) button[aria-pressed=true]{background:#fce8ec!important;border-color:#be123c!important;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important}
 body.theme-light .premium-theme-switch button:not(.active):not([aria-pressed=true]){background:#f1f5f9!important;color:#334155!important;-webkit-text-fill-color:#334155!important}
 body.theme-light .premium-theme-switch button[aria-pressed=true]{background:var(--accent,#c81e2a)!important;color:var(--on-accent,#fff)!important;-webkit-text-fill-color:var(--on-accent,#fff)!important}
 body.theme-light .dispatch426 :is(.dispatch-history li,.dispatch-history strong,.dispatch-history small,.dispatch-history p,.dispatch-history span,.dispatch-line,.dispatch-recall summary){color:#334155!important;-webkit-text-fill-color:#334155!important}
 body.theme-light .dispatch426 .dispatch-notice{background:#e7f4ec!important;color:#166534!important;-webkit-text-fill-color:#166534!important;border-color:#84b99b!important}
 body.theme-light .dispatch426 .dispatch-notice.is-error{background:#fce8ec!important;color:#991b36!important;-webkit-text-fill-color:#991b36!important;border-color:#d58a9a!important}
 body.theme-light .promo-icon-picker400 :is(svg,svg *){stroke:currentColor!important;opacity:1!important}
}
