/* POS.ACA 104 · light surfaces, contextual navigation and semantic states. Screen only. */
@media screen {
:root{color-scheme:light;--bg:#f1f5fa;--panel:#fff;--surface:#fff;--surface-2:#f1f5fa;--card:#fff;--text:#172940;--muted:#475b73;--text-muted:#475b73;--border:#bac9db;--primary:#0755d9;--accent:#0876a0;--input-bg:#fff}
html body:not(#posaca-print-root){background:#f1f5fa!important;color:#172940!important;font-family:Inter,"Segoe UI",system-ui,sans-serif}
/* Containers inherit their surface. This removes legacy inline night gradients without altering dimensions or controls. */
html body:not(#posaca-print-root) div{background-color:inherit!important;background-image:none!important;color:inherit!important}
html body:not(#posaca-print-root) :is(main,.commerce-main,.commerce-workspace,.workspace,.reception-workspace,.ux-cashier-screen,.ux-pos,#ux-pos){background:#f1f5fa!important;color:#172940!important}
html body:not(#posaca-print-root) :is(article,section,fieldset,dialog,details,summary,form,.card,.panel,.modal-content,.dialog-content,.pos-products,#pos-ticket-form,#pos-cart,.ux-pending,.detail-section,.catalog-card){background:#fff!important;color:#172940!important;border-color:#bac9db!important}
html body:not(#posaca-print-root) :is(header,footer){background:#fff!important;color:#172940!important;border-color:#bac9db!important}
html body:not(#posaca-print-root) :is(h1,h2,h3,h4,h5,h6,p,span,strong,small,label,legend,dt,dd,td,th,summary){color:inherit!important;opacity:1!important;text-shadow:none!important}
html body:not(#posaca-print-root) :is(p,small,label,.muted,.text-muted,.subtitle,.description,.help,.hint,.eyebrow,.section-label){color:#475b73!important}
html body:not(#posaca-print-root) :is(h1,h2,h3,h4,h5,h6,strong,legend,dt,dd,.order-store,.order-number){color:#172940!important}
html body:not(#posaca-print-root) :is(input,textarea,select){background:#fff!important;color:#172940!important;border:1px solid #8fa5bf!important;border-radius:8px;caret-color:#0755d9}
html body:not(#posaca-print-root) :is(input,textarea)::placeholder{color:#566b83!important;opacity:1}
html body:not(#posaca-print-root) option{background:#fff!important;color:#172940!important}
html body:not(#posaca-print-root) input:is([type=checkbox],[type=radio]){accent-color:#0755d9;min-height:auto}
html body:not(#posaca-print-root) :is(button,a.button,.btn,.button-secondary,.button-ghost){background:#fff!important;color:#14447e!important;border:1px solid #8ea9cb!important;border-radius:8px;font-weight:650;opacity:1;text-shadow:none!important}
html body:not(#posaca-print-root) :is(button,a.button,.btn):hover{background:#e7efff!important;border-color:#0755d9!important}
html body:not(#posaca-print-root) :is(button.primary,.btn-primary,.button-primary,.btn--primary,a.primary,button[type=submit],button[aria-pressed=true],#pos-charge-button,#ux-charge){background:#0755d9!important;color:#fff!important;border-color:#0755d9!important}
html body:not(#posaca-print-root) :is(button,a.button,.button-primary,.button-secondary) :is(span,strong,small,div){background:transparent!important;color:inherit!important}
html body:not(#posaca-print-root) :is(button:disabled,.button[aria-disabled=true]){background:#e5ebf3!important;color:#56667c!important;border-color:#bdc9d8!important;opacity:1!important;cursor:not-allowed}
html body:not(#posaca-print-root) a{color:#0750bc}
html body:not(#posaca-print-root) :is(table,thead,tbody,tr,td,th){border-color:#d0dbe8!important}
html body:not(#posaca-print-root) :is(thead,th){background:#e5edf7!important;color:#203d63!important}
html body:not(#posaca-print-root) tbody tr{background:#fff!important;color:#172940!important}
html body:not(#posaca-print-root) tbody tr:nth-child(even){background:#f3f7fc!important}
/* Navigation is the only permanent dark surface. All its descendants use the matching foreground. */
html body:not(#posaca-print-root) :is(.commerce-topbar,.commerce-sidebar,.sidebar,.app-header,.topbar,.reception-topbar,.ux-topbar,.ux-header,.pos-topbar,.ux-cashier-header){background:#09294f!important;color:#fff!important;border-color:#31577f!important}
html body:not(#posaca-print-root) :is(.commerce-topbar,.commerce-sidebar,.sidebar,.app-header,.topbar,.reception-topbar,.ux-topbar,.ux-header,.pos-topbar,.ux-cashier-header) :is(div,a,span,strong,small,p,label,h1,h2,summary){color:#fff!important;background-color:transparent!important}
html body:not(#posaca-print-root) :is(.commerce-topbar,.commerce-sidebar,.sidebar,.app-header,.topbar,.reception-topbar,.ux-topbar,.ux-header,.pos-topbar,.ux-cashier-header) :is(button,a.button){background:#17416f!important;border-color:#83a5cb!important;color:#fff!important}
/* Cash and communications */
html body:not(#posaca-print-root) :is(#ux-pos,.ux-pos)>:is(div,aside,section,form){background:#fff!important;color:#172940!important;border-color:#bac9db!important}
html body:not(#posaca-print-root) :is(#cadeteria-bandeja,#cc-register-order,#posaca-notices-panel,#pedi25-runtime-status,#pedi25-bubbles,#pedi78-preparation){background:#fff!important;color:#172940!important;border-color:#bac9db!important}
html body:not(#posaca-print-root) :is(#cadeteria-bandeja,#posaca-notices-panel) :is(header,summary,section,article,details){background:#fff!important;color:#172940!important;border-color:#bac9db!important}
html body:not(#posaca-print-root) :is(#posaca-notices-panel,#cadeteria-bandeja) :is(summary,strong,span,p){color:inherit!important}
html body:not(#posaca-print-root) :is(.p88-dialog,.p88-dialog header,.p88-dialog form,.p88-log,.p88-message,.p88-result,.p88-proposal){background:#fff!important;color:#172940!important;border-color:#b9cce1!important}
html body:not(#posaca-print-root) :is(.p88-mine,.chat-message.client){background:#e4eeff!important;color:#172940!important;border-color:#9cb9e6!important}
html body:not(#posaca-print-root) :is(.p88-message,.p88-mine,.p88-result,.p88-proposal,.chat-message) :is(p,span,strong,small,div){color:inherit!important}
html body:not(#posaca-print-root) .p88-open{background:#0755d9!important;color:#fff!important;border:2px solid #00b9d9!important;box-shadow:0 4px 15px #0755d92b}
html body:not(#posaca-print-root) :is(.p88-dialog header strong,.p88-dialog header small){color:#172940!important}
html body:not(#posaca-print-root) :is(.customer-card,.customer-row,.credit-customer,.client-card,.cc-customer-card){background:#fff!important;color:#172940!important;border-color:#b9cce1!important}
/* Semantic colors always define both surface and foreground. */
html body:not(#posaca-print-root) :is(.alert-danger,.error,.danger,[data-error=true]){background:#fff0f3!important;color:#9a1934!important;border-color:#c6334d!important}
html body:not(#posaca-print-root) :is(.alert-warning,.warning){background:#fff2cf!important;color:#745000!important;border-color:#c09b44!important}
html body:not(#posaca-print-root) :is(.alert-success,.success){background:#e2f4e8!important;color:#155e31!important;border-color:#82b995!important}
html body:not(#posaca-print-root) :is(.badge,.status-badge,.mode-badge){background:#e6eefb!important;color:#254b7e!important;border-color:#a7bad6!important}
html body:not(#posaca-print-root) .order-card[data-status=CANCELLED],html body:not(#posaca-print-root) .order-state-section[data-status=CANCELLED]{background:#fff0f3!important;color:#9a1934!important;border-color:#c22543!important}
html body:not(#posaca-print-root) .order-card[data-status=CANCELLED] .order-open{background:#fff0f3!important;color:#9a1934!important}
html body:not(#posaca-print-root) :is(.order-card,.order-state-section)[data-status=CANCELLED] .state-badge{background:#bf1f3e!important;color:#fff!important}
html body:not(#posaca-print-root) .order-card[data-status=NEW] .state-badge{background:#e6efff!important;color:#0746a4!important}
html body:not(#posaca-print-root) .order-card[data-status=ACCEPTED] .state-badge{background:#ffedbf!important;color:#754300!important}
html body:not(#posaca-print-root) .order-card[data-status=READY] .state-badge,html body:not(#posaca-print-root) .order-card[data-status=DELIVERED] .state-badge{background:#dcf3e2!important;color:#146130!important}
html body:not(#posaca-print-root) .order-card[data-status=ON_THE_WAY] .state-badge{background:#eee3ff!important;color:#592899!important}
html body:not(#posaca-print-root) .order-card .payment-label{background:#fff1d1!important;color:#775000!important}
html body:not(#posaca-print-root) .order-card .payment-label.paid{background:#e0f4e6!important;color:#126133!important}
html body:not(#posaca-print-root) .order-card[data-status=READY] .card-action{background:#13763a!important;color:#fff!important;border-color:#13763a!important}
html body:not(#posaca-print-root) .order-card :is(.order-card-top,.order-card-bottom,.order-names,.order-mode,.order-preview,.order-actions){background:transparent!important}
html body:not(#posaca-print-root) :is(.overdue,.p88-status){color:#9a1934!important}
html body:not(#posaca-print-root) :is(:focus-visible){outline:3px solid #0755d9!important;outline-offset:3px}
html body:not(#posaca-print-root) dialog::backdrop{background:#15284188;backdrop-filter:blur(3px)}
html body:not(#posaca-print-root) :is(.pn-count){background:#00c1df!important;color:#052c40!important}
}
