/* Final theme loaded after legacy styles: S-PYRO sage + petroleum. */
body .sidebar{background:#dce8dc!important;color:#264d43!important;border-color:#bfd5c5!important}
body .sidebar nav>details>summary{background:#eff6ee!important;color:#245b49!important;border:1px solid #bcd4c2!important;border-radius:12px!important}
body .sidebar .menu-step-title,body .sidebar .menu-step-title.spyro-menu-group,body .sidebar .menu-step-title[data-menu-group="accounting"]{background:#cbded0!important;color:#264d43!important;border:1px solid #a8c6b2!important;border-radius:12px!important;box-shadow:none!important}
body .sidebar .menu-step-title:hover,body .sidebar .menu-step-title.open{background:#b5d2be!important;color:#1d4939!important}
body .sidebar .menu-step-title .menu-chevron,body .sidebar .menu-step-title.spyro-menu-group .menu-chevron{color:#264d43!important}
body .sidebar .nav-sub,body .sidebar .nav-sub.spyro-menu-item,body .sidebar .nav-sub.section{background:#edf5ed!important;color:#315c49!important;border:1px solid #d1e1d3!important;border-radius:10px!important}
body .sidebar .nav-sub.indent{background:transparent!important;border-color:transparent!important;color:#315c49!important}
body .sidebar .nav-sub:hover,body .sidebar .nav-sub.active{background:#c8dfcf!important;color:#204b39!important}
body .sidebar .nav-sub.menu-collapsed,body .sidebar .nav-sub[aria-hidden="true"]{display:none!important}
#content .pos #posCategories .pos-category{background:#d5e8ec!important;color:#245e70!important;border:1px solid #9ec4cb!important;border-radius:13px!important;box-shadow:0 2px 7px rgba(36,94,112,.1)!important}
#content .pos #posCategories .pos-category:hover{background:#bedde2!important;color:#245e70!important;border-color:#77a9b5!important}
#content .pos #posCategories .pos-category.active,#content .pos #posCategories .pos-category.selected,#content .pos #posCategories .pos-category[aria-selected="true"]{background:#245e70!important;color:#fff!important;border-color:#245e70!important}
#content .pos .cart button.pay-main,#content .pos .cart .btn.primary.pay-main{background:#245e70!important;color:#fff!important;border:1px solid #245e70!important;border-radius:16px!important;box-shadow:0 5px 15px rgba(36,94,112,.2)!important}
#content .pos .cart-title .cart-tools .pending-flavor-square{background:#f6e4c5!important;color:#80541f!important;border:1px solid #dfbd86!important;border-radius:12px!important}
#content .pos .cart-title .cart-tools .receipt-btn,#content .pos .cart-title .cart-tools .receipt-button,#content .pos .cart-title .cart-tools [class*="receipt"]{background:#dceadf!important;color:#326448!important;border:1px solid #a5c8ae!important;border-radius:12px!important}
#content:has(.comparison-panel) .dashboard-card{min-height:0!important;height:auto!important;padding:11px 13px!important;gap:3px!important}
#content:has(.comparison-panel) .dashboard-grid{gap:10px!important}
#content:has(.comparison-panel) .dashboard-icon,#content:has(.comparison-panel) .spyro-v904-dash-icon{display:none!important}
#content:has(.comparison-panel) .dashboard-card>strong{margin-top:3px!important}
#content:has(.comparison-panel) .dashboard-card>small{margin-top:2px!important}
@media(max-width:700px){#content .pos #posCategories .pos-category{border-radius:11px!important}}

/* Global sage palette: replace legacy coffee tokens in all modules. */
:root{--bg:#eaf1e9!important;--panel:#fff!important;--line:#cfdfd3!important;--text:#264d43!important;--muted:#587369!important;--accent:#245e70!important;--accent2:#dce8dc!important;--shadow:0 7px 20px rgba(43,89,75,.09)!important}
body #content .panel,body #content .dashboard-card,body #content .product-card{border-color:#d1e0d5!important}
body #content .note,body #content .panel .note{background:#edf5ef!important;color:#4c6c5c!important}
body #content .dashboard-card>span{color:#315c49!important}
body #content .dashboard-card.sales-day,body #content .dashboard-card.sales-month,body #content .dashboard-card{background:#fff!important;border-color:#cfe1d4!important}
body #content .dashboard-card.alert{background:#f8fcf9!important}
body #content .dashboard-card>strong{color:#245e70!important}
body #content .dashboard-card{min-height:0!important;padding:10px 13px!important;gap:2px!important}
body #content .dashboard-icon{display:none!important}
body #content .dashboard-card>small{margin-top:2px!important}
body #content .dashboard-grid{gap:10px!important}
body #content .dashboard-iva-grid .dashboard-card{min-height:0!important}
body #content .comparison-card{min-height:0!important}
body #content .panel .toolbar .btn.primary,body #content .btn.primary{background:#3185a5!important;border-color:#3185a5!important;color:white!important}
body #content .btn:not(.primary):not(.danger){border-color:#bdd8c8!important;color:#245e70!important}
body #content .pos .cart .discount-points .btn{border-color:#bdd8c8!important;color:#245e70!important}
body #content .pos .cart .cart-list{position:relative!important}
body #content .pos .cart .cart-list:empty::before{content:"🛒";display:block;position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:104px;line-height:1;opacity:.075;filter:grayscale(1);pointer-events:none}
body #content .pos .cart .cart-list:not(:empty)::before{content:none!important}
body .sidebar .nav-sub,body .sidebar .nav-sub.spyro-menu-item,body .sidebar .nav-sub.section,body .sidebar .nav-sub.indent{background:#fff!important;color:#315c49!important;border-color:#e1ece3!important}
body .sidebar .nav-sub:hover,body .sidebar .nav-sub.active{background:#f5faf6!important;color:#204b39!important}
body .sidebar .menu-step-title{background:#cbded0!important}
body #content .pos .product-card .price,body #content .pos .product-card strong{color:#245e70!important}


/* Sidebar accordion: explicit light-sage hover/open state; override legacy brown theme. */
body .sidebar #nav .menu-step-title[data-menu-group],
body .sidebar #nav .menu-step-title[data-menu-group]:hover,
body .sidebar #nav .menu-step-title[data-menu-group]:focus,
body .sidebar #nav .menu-step-title[data-menu-group]:active,
body .sidebar #nav .menu-step-title[data-menu-group].open,
body .sidebar #nav .menu-step-title[data-menu-group][aria-expanded="true"]{
  background:#e5f1e7!important;
  background-color:#e5f1e7!important;
  background-image:none!important;
  color:#294f3b!important;
  border:1px solid #bfd8c6!important;
  box-shadow:none!important;
}
body .sidebar #nav .menu-step-title[data-menu-group]:hover,
body .sidebar #nav .menu-step-title[data-menu-group].open,
body .sidebar #nav .menu-step-title[data-menu-group][aria-expanded="true"]{
  background:#d6e9db!important;
  background-color:#d6e9db!important;
}
