/* Books-inspired blue and navy palette; operational status colours remain distinct. */
.stores-layout{--books-blue:#408dfb;--books-blue-hover:#2675e7;--books-navy:#1c293b;--books-ink:#26364a;--books-muted:#76849a}
html:not([data-stores-theme="dark"]) .stores-layout,html:not([data-stores-theme="dark"]) .stores-layout .wrapper,html:not([data-stores-theme="dark"]) .stores-layout .content-wrapper{background:#f5f7fa;color:var(--books-ink)}
.stores-layout .stores-header{background:#fff;box-shadow:0 1px 0 #e3e8ef}
.stores-layout .stores-header .logo{background:var(--books-navy);color:#fff}
.stores-layout .stores-header .sidebar-toggle,.stores-layout .stores-account-toggle,.stores-layout .stores-theme-toggle{color:#50627b}
.stores-layout .stores-header .navbar .sidebar-toggle{color:#50627b}
.stores-layout .stores-header .sidebar-toggle:hover,.stores-layout .stores-account-toggle:hover,.stores-layout .stores-theme-toggle:hover,.stores-layout .stores-account.open .stores-account-toggle{background:#edf3fb}
.stores-layout .stores-page-title{color:#36485f}
.stores-layout .stores-avatar{color:#3479d6;background:#e8f1ff;border-color:#d4e5ff}
.stores-layout .stores-header button:focus-visible,.stores-layout .stores-header a:focus-visible{outline-color:#408dfb}
.stores-layout .main-sidebar{background:var(--books-navy)}
.stores-layout .sidebar-menu>li.header{background:#192435;color:#8f9fb5}
.stores-layout .sidebar-menu>li>a{color:#c6d1e0}
.stores-layout .sidebar-menu>li>a>.fa{color:#96a8c1}
.stores-layout .sidebar-menu>li:hover>a{background:#25364d;border-left-color:#408dfb}
.stores-layout .sidebar-menu>li.active>a{background:#314e78;color:#fff;border-left-color:#5b9cff}
.stores-layout .sidebar-menu>li.active>a>.fa{color:#a4c9ff}
.stores-layout a{color:#327bdc}
.stores-layout a:hover{color:#1c63c1}
.stores-layout .btn-success,.stores-layout .btn-primary,.stores-layout .dash-actions .btn-success{background:#408dfb;border-color:#408dfb;color:#fff}
.stores-layout .btn-success:hover,.stores-layout .btn-success:focus,.stores-layout .btn-primary:hover,.stores-layout .btn-primary:focus,.stores-layout .dash-actions .btn-success:hover{background:#2675e7;border-color:#2675e7;color:#fff}
.stores-layout .btn-default{background:#fff;border-color:#d9e0e9;color:#4b5b70}
.stores-layout .btn-default:hover{background:#f0f4f9;border-color:#c5d1e0}
.stores-layout .pagination>.active>a,.stores-layout .pagination>.active>span{background:#408dfb;border-color:#408dfb;color:#fff}
.stores-layout .form-control:focus{border-color:#76adf8;box-shadow:0 0 0 2px #408dfb17}
.stores-layout .box.box-primary,.stores-layout .box.box-success{border-top-color:#408dfb}
.stores-layout .panel-success>.panel-heading{background:#edf4ff;border-color:#dce8f8;color:#2b5d9d}
.stores-layout .stores-account-menu>li>a:hover{background:#edf4ff;color:#327bdc}
.stores-layout .inventory-page,.stores-layout .stores-dashboard{color:#26364a}
.stores-layout .inventory-tabs a{color:#6c7d93}
.stores-layout .inventory-tabs a.active{color:#327bdc;border-color:#408dfb}
.stores-layout .inventory-tabs a:hover{background:#edf4ff}
.stores-layout .inventory-metric:hover{border-color:#89b8fa;color:#327bdc}
.stores-layout .inventory-item-link{color:#327bdc}
.stores-layout .inventory-eyebrow,.stores-layout .dash-eyebrow,.stores-layout .dash-kicker{color:#7389a6}
.stores-layout .inventory-grid .table th{background:#f7f9fc;color:#66788f}
.stores-layout .inventory-page a:focus-visible,.stores-layout .inventory-page button:focus-visible,.stores-layout .stores-dashboard a:focus-visible,.stores-layout .stores-dashboard select:focus-visible{outline-color:#408dfb}
.stores-layout .stores-dashboard{--dash-green:#408dfb;--dash-ink:#26364a;--dash-muted:#79879a}
.stores-layout .dash-metric,.stores-layout .dash-card,.stores-layout .inventory-panel,.stores-layout .inventory-metric{border-color:#e1e7ef;box-shadow:0 2px 7px #253b5604}
.stores-layout .dash-metric-top i{background:#edf4ff;color:#408dfb}
.stores-layout .metric-low .dash-metric-top i{background:#fff6e3;color:#b6801a}
.stores-layout .metric-negative .dash-metric-top i{background:#fceeea;color:#b9544d}
.stores-layout .metric-empty .dash-metric-top i{background:#edf1f6;color:#71839c}
.stores-layout .dash-metric-bottom,.stores-layout .dash-card-note,.stores-layout .dash-footer{color:#8390a1}
.stores-layout .dash-trend-totals strong,.stores-layout .dash-status,.stores-layout .dash-type-row>div:first-child{color:#34465d}
.stores-layout .dash-rank{background:#edf4ff;color:#6490c9}
.stores-layout .dash-rank-label>a{color:#327bdc}
.stores-layout .dash-track{background:#eef2f8}
.stores-layout .dash-track>span,.stores-layout .dash-ranking li:first-child .dash-track>span{background:#408dfb}
.stores-layout .dash-type-row .dash-track>span{background:#94b9ec}
.stores-layout .legend-receipt,.stores-layout .dash-bar.receipts{background:#408dfb;fill:#408dfb}
.stores-layout .legend-issue,.stores-layout .dash-bar.issues{background:#36b6cc;fill:#36b6cc}
.stores-layout .dash-ranking li:nth-child(2) .dash-track>span{background:#639af0}
.stores-layout .dash-ranking li:nth-child(3) .dash-track>span{background:#7e91e8}
.stores-layout .dash-ranking li:nth-child(4) .dash-track>span{background:#9488dc}
.stores-layout .dash-ranking li:nth-child(5) .dash-track>span{background:#aa82cf}
.stores-layout .dash-type-row:nth-child(7n+1) .dash-track>span{background:#408dfb}
.stores-layout .dash-type-row:nth-child(7n+2) .dash-track>span{background:#8b7be8}
.stores-layout .dash-type-row:nth-child(7n+3) .dash-track>span{background:#39b5aa}
.stores-layout .dash-type-row:nth-child(7n+4) .dash-track>span{background:#f0b450}
.stores-layout .dash-type-row:nth-child(7n+5) .dash-track>span{background:#e782a3}
.stores-layout .dash-type-row:nth-child(7n+6) .dash-track>span{background:#6d9ed4}
.stores-layout .dash-type-row:nth-child(7n+7) .dash-track>span{background:#98a6c1}
.stores-layout .dash-donut-total{fill:#34465d}
.stores-layout .dash-donut-caption,.stores-layout .dash-axis{fill:#8291a4}
.stores-layout .dash-empty{background:#f7faff;color:#7b8ca3}
html[data-stores-theme="dark"] .stores-layout{--theme-bg:#141c29;--theme-panel:#1e2a3b;--theme-panel-alt:#263448;--theme-line:#35455b;--theme-text:#e0e8f3;--theme-muted:#a5b3c8}
html[data-stores-theme="dark"] .stores-layout .stores-header{background:#1c293b;box-shadow:0 1px 0 #35455b}
html[data-stores-theme="dark"] .stores-layout .stores-header .logo{background:#172232}
html[data-stores-theme="dark"] .stores-layout .stores-header .sidebar-toggle,html[data-stores-theme="dark"] .stores-layout .stores-account-toggle,html[data-stores-theme="dark"] .stores-layout .stores-theme-toggle,html[data-stores-theme="dark"] .stores-layout .stores-page-title{color:#d5e2f4}
html[data-stores-theme="dark"] .stores-layout .stores-header .navbar .sidebar-toggle{color:#d5e2f4}
html[data-stores-theme="dark"] .stores-layout .stores-header .sidebar-toggle:hover,html[data-stores-theme="dark"] .stores-layout .stores-account-toggle:hover,html[data-stores-theme="dark"] .stores-layout .stores-theme-toggle:hover{background:#2a3b54}
html[data-stores-theme="dark"] .stores-layout .stores-avatar{background:#2c4466;border-color:#405e85;color:#c4ddff}
html[data-stores-theme="dark"] .stores-layout .main-sidebar{background:#172232}
html[data-stores-theme="dark"] .stores-layout .sidebar-menu>li.header{background:#141f2d;color:#94a8c4}
html[data-stores-theme="dark"] .stores-layout .sidebar-menu>li:hover>a,html[data-stores-theme="dark"] .stores-layout .sidebar-menu>li.active>a{background:#2a4162;border-left-color:#5b9cff}
html[data-stores-theme="dark"] .stores-layout .inventory-page,html[data-stores-theme="dark"] .stores-layout .stores-dashboard{color:var(--theme-text);--dash-ink:#e0e8f3;--dash-muted:#a5b3c8}
html[data-stores-theme="dark"] .stores-layout a,html[data-stores-theme="dark"] .stores-layout .inventory-tabs a.active{color:#87baff}
html[data-stores-theme="dark"] .stores-layout .stores-header .logo,html[data-stores-theme="dark"] .stores-layout .main-sidebar a{color:#e0e8f3}
html[data-stores-theme="dark"] .stores-layout .btn-success,html[data-stores-theme="dark"] .stores-layout .btn-primary,html[data-stores-theme="dark"] .stores-layout .btn-danger,html[data-stores-theme="dark"] .stores-layout .btn-info{color:#fff}
html[data-stores-theme="dark"] .stores-layout .inventory-tabs a.active{border-color:#5b9cff}
html[data-stores-theme="dark"] .stores-layout .inventory-tabs a:hover{background:#283d59}
html[data-stores-theme="dark"] .stores-layout .inventory-grid .table th,html[data-stores-theme="dark"] .stores-layout .breadcrumb{background:#263448;color:#b6c7dd}
html[data-stores-theme="dark"] .stores-layout .table-striped>tbody>tr:nth-of-type(odd){background:#223145}
html[data-stores-theme="dark"] .stores-layout .table-hover>tbody>tr:hover{background:#2b3e56}
html[data-stores-theme="dark"] .stores-layout .form-control,html[data-stores-theme="dark"] .stores-layout select,html[data-stores-theme="dark"] .stores-layout input[type="date"]{background:#182334;border-color:#465d7a}
html[data-stores-theme="dark"] .stores-layout .form-control:focus{border-color:#76adf8;box-shadow:0 0 0 2px #408dfb26}
html[data-stores-theme="dark"] .stores-layout .btn-default{background:#2a3a51;border-color:#465d7a;color:#dce7f6}
html[data-stores-theme="dark"] .stores-layout .dash-metric,html[data-stores-theme="dark"] .stores-layout .dash-card,html[data-stores-theme="dark"] .stores-layout .inventory-panel,html[data-stores-theme="dark"] .stores-layout .inventory-metric{border-color:var(--theme-line)}
html[data-stores-theme="dark"] .stores-layout .dash-eyebrow,html[data-stores-theme="dark"] .stores-layout .dash-kicker,html[data-stores-theme="dark"] .stores-layout .inventory-eyebrow{color:#9db8dc}
html[data-stores-theme="dark"] .stores-layout .dash-metric-top i,html[data-stores-theme="dark"] .stores-layout .dash-rank{background:#2c4262;color:#9dc6ff}
html[data-stores-theme="dark"] .stores-layout .metric-low .dash-metric-top i{background:#4a4026;color:#efcf80}
html[data-stores-theme="dark"] .stores-layout .metric-negative .dash-metric-top i{background:#4b3032;color:#efaaa4}
html[data-stores-theme="dark"] .stores-layout .dash-trend-totals strong,html[data-stores-theme="dark"] .stores-layout .dash-status,html[data-stores-theme="dark"] .stores-layout .dash-type-row>div:first-child{color:#e0e8f3}
html[data-stores-theme="dark"] .stores-layout .dash-donut-total{fill:#e0e8f3}
html[data-stores-theme="dark"] .stores-layout .dash-track{background:#2a3c55}
html[data-stores-theme="dark"] .stores-layout .dash-card-note,html[data-stores-theme="dark"] .stores-layout .dash-data{border-color:#35455b}
html[data-stores-theme="dark"] .stores-layout .dash-grid-line{stroke:#35455b}
html[data-stores-theme="dark"] .stores-layout .dash-empty{background:#182334;color:#b3c7e1}
@media(max-width:767px){.stores-layout .stores-header .logo{background:#fff;color:#293b53}.stores-layout .stores-header .navbar-custom-menu .navbar-nav>li>a.stores-signin{color:#327bdc}html[data-stores-theme="dark"] .stores-layout .stores-header .logo{background:#1c293b;color:#e0e8f3}}
