/* v20 — complete statistical dashboard, application backgrounds and visible footer */
body.is-admin .stats-dashboard{max-width:1500px;margin:auto}.stats-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.stats-title .eyebrow{font-size:.72rem;letter-spacing:.12em}.stats-title h1{margin:4px 0 0;text-transform:uppercase;font-size:1.75rem}.stats-title form{display:flex;align-items:center;gap:10px}.stats-title select{background:#1a2b42;color:#fff;border:1px solid #476079;border-radius:8px;padding:9px 34px 9px 12px}.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.kpi-row article,.dash-card{border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.18);color:#eaf2fb}.kpi-row article{position:relative;display:flex;gap:14px;align-items:center;padding:14px 16px 18px;overflow:hidden}.kpi-row i{width:46px;height:46px;border-radius:8px;display:grid;place-items:center;font-size:1.4rem;background:rgba(31,199,193,.15)}.kpi-row small{display:block;color:#d6e0ea}.kpi-row strong{display:block;color:#fff;font-size:1.45rem;margin-top:3px}.kpi-row .bar{position:absolute;left:0;right:0;bottom:0;height:5px}.teal{color:#1fc7c1!important}.green{color:#58d080!important}.orange{color:#ef873f!important}.bar.teal{background:#1fc7c1}.bar.green{background:#58d080}.bar.orange{background:#ef873f}.dash-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:12px}.dash-card{padding:14px;min-width:0}.dash-card h2{color:#fff;font-size:.95rem;margin:0 0 12px}.chart-main{grid-column:span 2}.top-products{grid-column:span 2}.canvas-wrap{height:280px}.canvas-small{height:170px}.dash-card table{width:100%;border-collapse:collapse;color:#dce7f1}.dash-card th{background:rgba(255,255,255,.10);color:#fff;font-size:.75rem}.dash-card td,.dash-card th{padding:10px;border-bottom:1px solid rgba(255,255,255,.14)}.rotation-value{font-size:2.3rem;font-weight:800;color:#58d080}.rotation-track{height:10px;background:rgba(0,0,0,.28);border-radius:10px;overflow:hidden;margin:10px 0}.rotation-track span{display:block;height:100%;background:linear-gradient(90deg,#1fc7c1,#58d080)}.rotation p{font-size:.8rem;color:#c5d5e4}.clients,.losses{min-height:230px}
body.brand-decors{--brand-bg:#cb6634!important;background:linear-gradient(135deg,#f3a06f 0%,#cb6634 48%,#9f4b27 100%) fixed!important}body.brand-decors.is-admin main.container{background:linear-gradient(135deg,#d87949 0%,#cb6634 42%,#a94f28 100%)!important;color:#fff!important}body.brand-decors .stats-title h1,body.brand-decors .stats-title label{color:#fff!important}body.brand-decors .stats-title .eyebrow{color:#ffe1cf!important}body.brand-decors .kpi-row article,body.brand-decors .dash-card{background:linear-gradient(145deg,#552519,#74331f)!important;border:1px solid #9c4d2d!important}body.brand-decors .admin-sidebar{background:linear-gradient(180deg,#4f2117,#6a2e1c)!important;border-color:#934527!important}body.brand-decors .sidebar-link{color:#f4d8c9!important}body.brand-decors .sidebar-group summary{color:#fff!important}body.brand-decors .sidebar-link:hover{background:rgba(255,255,255,.1)!important}body.brand-decors .sidebar-link.active{background:#cb6634!important}body.brand-decors .app-navbar{background:#5c281b!important;border-bottom-color:#ef8a56!important}body.brand-decors .app-navbar .brand-title{color:#fff!important}body.brand-decors .app-navbar .brand-title small{color:#f3cfbd!important}
body.brand-mmcr{--brand-bg:#dff5ff!important;background:linear-gradient(135deg,#effaff 0%,#d5f2ff 48%,#b8e5f7 100%) fixed!important}body.brand-mmcr.is-admin main.container{background:linear-gradient(135deg,#e9f9ff 0%,#d8f2fd 48%,#bfe8f7 100%)!important;color:#0f2f4c!important}body.brand-mmcr .stats-title h1,body.brand-mmcr .stats-title label{color:#0f2f4c!important}body.brand-mmcr .stats-title .eyebrow{color:#137b9d!important}body.brand-mmcr .kpi-row article,body.brand-mmcr .dash-card{background:linear-gradient(145deg,#123c5a,#195a78)!important;border:1px solid #2f7897!important}body.brand-mmcr .admin-sidebar{background:linear-gradient(180deg,#0f2f4c,#134f70)!important;border-color:#267595!important}body.brand-mmcr .sidebar-link{color:#d7eef8!important}body.brand-mmcr .sidebar-group summary{color:#fff!important}body.brand-mmcr .sidebar-link:hover{background:rgba(255,255,255,.1)!important}body.brand-mmcr .sidebar-link.active{background:#35a9d0!important}body.brand-mmcr .app-navbar{background:#dff5ff!important;border-bottom-color:#35a9d0!important}body.brand-mmcr .app-navbar .mmcr-text-logo strong{color:#0f5f87!important}body.brand-mmcr .app-navbar .mmcr-text-logo small{color:#456f85!important}
.app-footer{position:relative;z-index:1036;background:#fff!important;border-top:4px solid var(--brand-primary)!important;min-height:156px!important;padding:16px 20px!important;color:#263b4d!important;box-shadow:0 -5px 18px rgba(0,0,0,.12)!important}body.is-admin .app-footer{margin-left:var(--sidebar-w)!important;width:calc(100% - var(--sidebar-w))!important}.app-footer .container{max-width:1440px!important}.app-footer .footer-brand{display:flex!important;align-items:center!important;gap:18px!important}.app-footer .footer-logo{display:block!important;height:118px!important;max-height:118px!important;width:auto!important;opacity:1!important;visibility:visible!important;object-fit:contain!important;background:#fff!important;border-radius:10px!important;padding:3px!important;box-shadow:0 2px 10px rgba(15,47,76,.15)!important}.app-footer .footer-credit-title{display:block;font-size:1rem;font-weight:800;color:#0f2f4c}.app-footer .footer-credit-sub{display:block;margin-top:4px;color:#5b7183}
@media(max-width:1100px){.dash-grid{grid-template-columns:1fr 1fr}.chart-main,.top-products{grid-column:span 2}}@media(max-width:991px){body.is-admin .app-footer{margin-left:0!important;width:100%!important}.app-footer{min-height:130px!important;padding:14px 16px 80px!important}.app-footer .footer-logo{height:88px!important;max-height:88px!important}.app-footer .footer-icons{display:none!important}}@media(max-width:700px){.kpi-row,.dash-grid{grid-template-columns:1fr}.chart-main,.top-products{grid-column:span 1}.stats-title{align-items:flex-start;flex-direction:column}.canvas-wrap{height:240px}}@media print{.app-footer{display:none!important}}
