/* Restaurant daylight surface separation. Color-only: layout is unchanged. */
@media screen {
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled {background-color:#dfe9f6!important;background-image:none!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled main[id]:not(#loginPage) {background-color:#dfe9f6!important;background-image:none!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage {background:#dfe9f6!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail {background:#edf3fc!important;border-left-color:#d8e3f3!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut {background:#dce9fc!important;border-color:#cbdcf6!important;color:#47688f!important;box-shadow:none!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut:hover {background:#cfdef8!important;border-color:#c4d8f6!important;color:#235ba7!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut.is-active {background:#bcd4fb!important;border-color:#8db4ed!important;color:#154f9e!important;box-shadow:inset 0 0 0 1px #bcd2f4!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.panel-card,.station-card,.settings-hub-group,.commission-panel,.loyalty-panel,.detail-modal-card) {background-color:#fff!important;}
}

/* Soft depth and a clear blue identity, without moving or resizing content. */
@media screen {
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled main[id]:not(#loginPage),
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage {background-color:#e5edf8!important;background-image:radial-gradient(ellipse at 98% 0%,#d7e7ff80,transparent 48%),linear-gradient(145deg,#e4edf9,#edf0f8)!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail {background:linear-gradient(180deg,#f1f6ff,#e9f1ff)!important;border-left-color:#ccdaf0!important;box-shadow:-5px 0 24px #244e8a07!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut {background:linear-gradient(145deg,#edf4ff,#dce9fc)!important;border-color:#cbdcf4!important;color:#42668f!important;box-shadow:inset 0 1px #ffffffa0,0 2px 5px #234b7b05!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut.is-active {background:linear-gradient(145deg,#3979dc,#235cc4)!important;border-color:#2861c6!important;color:#fff!important;box-shadow:0 5px 14px #2965c52a,inset 0 1px #ffffff35!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut:hover:not(.is-active) {background:linear-gradient(145deg,#e4efff,#cfdef6)!important;color:#1e559d!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-all {background:linear-gradient(135deg,#3467ec,#214bc4)!important;box-shadow:0 6px 16px #2455da2b!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage>.dashboard-header {background:linear-gradient(105deg,#fff 45%,#f1f6ff)!important;box-shadow:inset -4px 0 #6999dc,0 5px 18px #274b7b06!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-filters {background:linear-gradient(180deg,#fff,#fbfdff)!important;border-color:#d3e0f1!important;box-shadow:0 5px 18px #274b7b08!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi {background:linear-gradient(155deg,#fff,#fafcff)!important;border-color:#d4e1f1!important;box-shadow:0 6px 18px #294c7a09,inset 0 1px #ffffffc0!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.primary {background:linear-gradient(140deg,#e8f1ff,#dceaff)!important;border-color:#b9d2f5!important;box-shadow:0 7px 20px #3269b713,inset 0 1px #ffffffa0!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.primary :is(span,strong,small) {color:#234f8d!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.profit {background:linear-gradient(140deg,#f1faf7,#e7f4ee)!important;border-color:#cbe4d8!important;box-shadow:0 6px 18px #28674e08!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.profit strong {color:#22664e!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-section-nav button {background:linear-gradient(180deg,#fff,#f4f8ff)!important;border-color:#ceddf1!important;color:#365b8a!important;box-shadow:0 3px 8px #254b7d07!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.panel-card,.station-card,.commission-panel,.loyalty-panel,.settings-hub-group) {border-color:#d5e1f0!important;box-shadow:0 6px 20px #24496f08!important;}
}

/* Low-glare daylight: tinted surfaces throughout, without layout changes. */
@media screen {
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled {--rail-surface:#e7eef9;--rail-border:#c5d4e9;--rail-hover:#dce8fa;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled main[id]:not(#loginPage),
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage {background-color:#dce6f3!important;background-image:linear-gradient(145deg,#dce7f6,#e2e8f2)!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.panel-card,.station-card,.dashboard-header,.page-header,.settings-hub-group,.settings-grouped-title,.commission-panel,.commission-filters,.loyalty-panel,.loyalty-filters,.management-panel,.purchase-work-panel,.record-register,.table-card,.cashier-main,.cart-panel,.hr-summary article,.hr-overview-grid article) {background-color:#e9eff8!important;background-image:none!important;border-color:#c7d5e8!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage>.dashboard-header {background:linear-gradient(110deg,#e9eff8,#dce8fa)!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-filters {background:#e7eef8!important;border-color:#c6d5eb!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-range-buttons {background:#dce6f5!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi {background:linear-gradient(145deg,#eaf0f9,#e3ebf6)!important;border-color:#c5d4e9!important;box-shadow:0 5px 16px #284d7808!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.primary {background:linear-gradient(140deg,#d6e6ff,#c9ddfb)!important;border-color:#a9c6ed!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.profit {background:linear-gradient(140deg,#e2f0e9,#d8eae2)!important;border-color:#bbd8ca!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .panel-card:not(.analytics-filters) {background:#e9eff8!important;border-color:#c7d5e8!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-side-stack article {background:#dfe8f5!important;border-color:#c5d4e9!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-section-nav button {background:#e4ecf8!important;border-color:#bdcfe7!important;box-shadow:none!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.detail-modal-card,.modal-card,.modal-content,#restaurantAppLauncher) {background:#e9eff8!important;border-color:#c6d5e9!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail {background:#e1ebf9!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {background:#edf2fa!important;border-color:#b6c9e3!important;color:#29415f!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(.ghost-button,.small-button,.dots-button) {background:#dfe9f7!important;border-color:#c1d2ea!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(th,.record-register-head,.table-head) {background:#d6e2f3!important;border-color:#b9cde5!important;color:#2d4b70!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr {background:#eaf0f8!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr:nth-child(even) {background:#e0e9f5!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr:hover {background:#d7e5fa!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr:has(input[type=checkbox]:checked) {background:#cbdffa!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-group>summary {background:#e5edf8!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-group[open]>summary {background:#d7e5fa!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-options button {background:#dfe9f7!important;border-color:#c5d4e9!important;}
}

/* Mist-blue daylight: distinct tinted layers, no white panels or layout changes. */
@media screen {
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled {--rail-surface:#dae5f4;--rail-border:#b7cbe5;--rail-hover:#ccddf5;background-color:#ccdced!important;background-image:none!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled main[id]:not(#loginPage),
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage {background-color:#ceddef!important;background-image:radial-gradient(ellipse at 95% 0%,#c0d6f48c,transparent 55%),linear-gradient(145deg,#cfdff1,#d9e2ef)!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.panel-card,.station-card,.dashboard-header,.page-header,.settings-hub-group,.settings-grouped-title,.commission-panel,.commission-filters,.loyalty-panel,.loyalty-filters,.management-panel,.purchase-work-panel,.record-register,.table-card,.cashier-main,.cart-panel,.hr-summary article,.hr-overview-grid article) {background-color:#dde7f4!important;background-image:none!important;border-color:#b7cbe5!important;box-shadow:0 5px 18px #294b7410!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage>.dashboard-header {background:linear-gradient(110deg,#dce7f5,#cbdff9)!important;box-shadow:inset -4px 0 #547fb9,0 5px 18px #294b740a!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-filters {background:linear-gradient(145deg,#dce7f6,#d5e2f2)!important;border-color:#b9cce6!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-range-buttons {background:#cbdaf0!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-range-buttons button.active {background:#3b6fb9!important;color:#fff!important;border-color:#3b6fb9!important;box-shadow:0 3px 8px #345f9c1a!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi {background:linear-gradient(145deg,#dfe9f6,#d6e2f1)!important;border-color:#b7cce7!important;box-shadow:0 6px 16px #234b7510,inset 0 1px #edf4ff55!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.primary {background:linear-gradient(140deg,#c6dcfb,#b8d1f4)!important;border-color:#97b8e4!important;box-shadow:0 7px 20px #315f9c18!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.primary :is(span,strong,small) {color:#1e477c!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.profit {background:linear-gradient(140deg,#d5e9e0,#c8e0d6)!important;border-color:#a8cdbb!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage #analyticsKpis .analytics-kpi.profit strong {color:#205b45!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .panel-card:not(.analytics-filters) {background:linear-gradient(145deg,#dde7f4,#d6e2f1)!important;border-color:#b9cce5!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-side-stack article {background:#cdddef!important;border-color:#b3c8e3!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #analyticsPage .analytics-section-nav button {background:linear-gradient(180deg,#dce8f8,#cdddf2)!important;border-color:#afc7e5!important;color:#2e507b!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(.detail-modal-card,.modal-card,.modal-content,#restaurantAppLauncher) {background:#dce7f5!important;background-image:none!important;border-color:#b5cbe6!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail {background:linear-gradient(180deg,#d3e2f7,#c8dbf4)!important;border-left-color:#aec8e9!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppRail .rail-shortcut:not(.is-active) {background:linear-gradient(145deg,#dce9fc,#c8dcf7)!important;border-color:#afc9eb!important;color:#345a88!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppLauncher .rail-icon {background:#c2d8f9!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppLauncher :is(.tone-inventory,.tone-purchases) {background:#bce2d8!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppLauncher :is(.tone-reports,.tone-analytics,.tone-accounting) {background:#d5ccf1!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #restaurantAppLauncher .tone-bag {background:#edd7b6!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {background:#e0e9f6!important;border-color:#a7bedc!important;color:#243e5e!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(.ghost-button,.small-button,.dots-button) {background:#cdddf2!important;border-color:#acc4e4!important;color:#2d517e!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) :is(th,.record-register-head,.table-head) {background:#bdcfe8!important;border-color:#9eb8da!important;color:#263f61!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr {background:#dce6f3!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr:nth-child(even) {background:#cfddef!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled :is(main[id],#detailModal,#salesInvoiceModal,#purchaseServiceModal,#inventoryServiceModal,dialog) tbody tr:hover {background:#bfd5f3!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-group>summary {background:#d8e4f3!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-group[open]>summary {background:#c6daf5!important;}
 html:root[data-pos-theme="light"] body.restaurant-rail-enabled #settingsPage .settings-hub-options button {background:#cdddf1!important;border-color:#adc4e2!important;}
}
