/* Shared application surfaces and contrast. Screen-only: printed documents keep their own palette. */
@media screen {
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC){--bg:#0c1423;--panel:#142136;--text:#e5edf8;--muted:#aabbd0;--border:#40536d;--surface:#142136;--card-bg:#142136;color-scheme:dark}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) body{background:#0c1423!important;color:#e5edf8!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.page,.dashboard-page,.erp-detail-content){color:#e5edf8!important;background-color:#0c1423!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.pos-dark-surface,.panel-card,.detail-modal-card,.modal-card,dialog,.cashier-main,.cart-panel,.station-card,.app-card,.report-toolbar,.settings-table-panel,.settings-table-toolbar,.billing-invoices-panel,.backup-manager,.backup-restore-box,.ai-settings-block,.tb-panel,.company-profile-image,.company-image-preview){background:#142136!important;background-image:none!important;color:#e5edf8!important;border-color:#40536d!important;box-shadow:none!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.pos-dark-text,h1,h2,h3,h4,h5,label,summary,legend,td,th,.table-row,.record-register-row,.sg-field-row>span,.detail-summary>span,.detail-summary b,.settings-grouped-title h2){color:#e5edf8!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(p,small,.muted,.empty-state,.settings-table-count,.eyebrow){color:#b4c3d7!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0c1729!important;color:#edf3ff!important;border-color:#627895!important;box-shadow:none!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(input,textarea)::placeholder{color:#a5b5cd!important;opacity:1}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(input[type=checkbox],input[type=radio]){accent-color:#6caaff}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(table,.users-table,.record-register,.detail-summary,.sg-field-row,.settings-hub-group,.settings-subtabs){background:#142136!important;color:#e5edf8!important;border-color:#526987!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(td,th,.table-row,.sg-record-row,.record-register-row){border-color:#526987!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(thead th,.table-head,.billing-history-head,.settings-hub-group>summary){background:#253851!important;color:#f0f5ff!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(tbody tr,.table-row,.record-register-row,.sg-record-row){background:#142136!important;color:#e5edf8!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(tbody tr:nth-child(even),.table-row:nth-child(even),.record-register-row:nth-child(even)){background:#1a2b43!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(tbody tr:hover,.table-row:hover,.record-register-row:hover){background:#294261!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.ghost-button,.small-button,.settings-table-open,button:not(.primary-button):not([type=submit])){background:#223651!important;color:#e5edf8!important;border-color:#546f94!important;box-shadow:none!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.primary-button,button[type=submit]){background:#2163c4!important;color:#fff!important;border-color:#79b0ff!important;box-shadow:none!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(a,.sales-document-link,.pos-dark-blue){color:#95c6ff!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.negative,.danger-action,.pos-dark-red,[role=alert],.status.inactive,.status.failed,.status.rejected){color:#ffadb7!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.positive,.pos-dark-green,.status.active,.status.paid,.status.approved,.status.sent){color:#8ce9bc!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.warning,.status.pending,.status.draft,.purchase-status.warn){color:#ffda8d!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.status,.badge){background:#26364e!important;border-color:#536781!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(.modal-overlay,.detail-modal,.purchase-service-modal,.sales-service-modal){background-color:#020817bb!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) dialog::backdrop{background:#020817bb!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) svg :is(text,tspan){fill:#c9d8ed!important}
html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(button,input,select,textarea,a):focus-visible{outline:2px solid #91bdff!important;outline-offset:3px}
}
@media print{html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC){color-scheme:light}html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) .pos-dark-blue{color:#111!important}}
@media print{html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(h1,h2,h3,h4,h5,p,small,label,summary,strong,b,td,th,.pos-dark-text,.pos-dark-red,.pos-dark-green,.pos-dark-blue){color:#111!important}html[data-pos-theme=dark]:not(#posThemeA#posThemeB#posThemeC) :is(table,td,th,.panel-card,.detail-summary,.table-row){background:#fff!important;border-color:#777!important}}
