#managerApp #statistics{min-width:0;font-size:17px;color:#193354}
#managerApp #statistics .ms-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:20px}
#managerApp #statistics .ms-toolbar>p{margin:0;color:#637fa6}
#managerApp #statistics .ms-toolbar>div{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
#managerApp #statistics :is(select,input){font:inherit;color:#284c7b;background:#fff;border:1px solid #dce8fb;border-radius:10px;min-height:46px;padding:9px 12px;max-width:100%}
#managerApp #statistics .ms-period-label{display:grid;gap:5px;font-size:15px}
#managerApp #statistics .ms-custom{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin-bottom:20px}
#managerApp #statistics .ms-custom[hidden]{display:none}
#managerApp #statistics .ms-custom label{display:grid;gap:5px}
#managerApp #statistics .ms-message{font-size:15px;color:#6880a3;margin:8px 0 18px}
#managerApp #statistics .ms-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
#managerApp #statistics .ms-kpi{display:flex;gap:14px;padding:20px 16px;border:1px solid #e3edfa;border-radius:16px;align-items:flex-start;background:#edf6ff;min-width:0}
#managerApp #statistics .ms-kpi.is-green{background:#ecfaf4}#managerApp #statistics .ms-kpi.is-orange{background:#fff6ed}#managerApp #statistics .ms-kpi.is-red{background:#fff1f3}
#managerApp #statistics .ms-kpi b{font-size:32px;line-height:1.2;color:#142e50}#managerApp #statistics .ms-kpi h3{font-size:16px;line-height:1.4;font-weight:500;margin:5px 0 9px}
#managerApp #statistics .ms-kpi small{display:block;font-size:14px;color:#5d789e}
#managerApp #statistics .ms-icon{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;color:#1686ff;background:#ddecff}
#managerApp #statistics .ms-icon .md-icon{width:25px;height:25px}#managerApp #statistics .ms-icon.is-green{color:#14aa74;background:#d9f8e9}#managerApp #statistics .ms-icon.is-orange{color:#f2971f;background:#ffedda}#managerApp #statistics .ms-icon.is-red{color:#ef3d4c;background:#ffe0e5}
#managerApp #statistics .ms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#managerApp #statistics .ms-panel{background:#fff;border:1px solid #e3edfa;border-radius:16px;padding:18px;box-shadow:0 4px 20px #386caf06;min-width:0;overflow:hidden}
#managerApp #statistics .ms-panel>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}
#managerApp #statistics .ms-panel h3{font-family:Cabin,sans-serif;color:#172e50;font-size:19px;line-height:1.35;margin:0 0 4px;font-weight:700}
#managerApp #statistics .ms-panel header>div{flex:1;min-width:0}
#managerApp #statistics .ms-panel header p{font-size:14px;line-height:1.4;color:#6b83a7;margin:0}
.ms-more{font:inherit;font-size:14px;font-weight:600;white-space:nowrap;flex:none;border:0;background:none;color:#087aff;padding:4px;cursor:pointer}
.ms-table-wrap{max-width:100%;overflow:auto;scrollbar-width:thin}.ms-table{border-collapse:collapse;width:100%;font-size:15px;text-align:left;line-height:1.45;color:#36567d}
.ms-table th{background:#f2f7fd;color:#617ba0;font-size:14px;font-weight:600;padding:10px 8px;vertical-align:top}.ms-table td{padding:12px 8px;border-bottom:1px solid #edf2fb;vertical-align:middle}
.ms-table tr:last-child td{border:0}.ms-table small{display:block;margin-top:4px;font-size:13px;line-height:1.4;color:#7087a7}.ms-table th:first-child,.ms-table td:first-child{width:24px;padding-left:4px}
.ms-name{font:inherit;color:#254873;text-align:left;padding:0;border:0;background:none;cursor:pointer;line-height:1.4;font-weight:650}.ms-name:hover{text-decoration:underline;color:#087dff}.ms-name:focus-visible,.ms-more:focus-visible{outline:3px solid #93caff;outline-offset:3px;border-radius:4px}
.ms-index{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:27px;background:#f1f6fc;border-radius:7px;font-weight:600;color:#527097}.ms-red{color:#e44350!important}.ms-orange{color:#c97813!important}
.ms-meter{display:block;width:100%;min-width:45px;height:8px;background:#edf3fb;border-radius:6px;overflow:hidden;margin-top:6px}.ms-meter i{display:block;height:100%;border-radius:6px}.ms-empty{padding:30px 12px!important;text-align:center;color:#7790b3}
#managerApp #statistics .ms-chart-panel header{align-items:center;flex-wrap:wrap}#managerApp #statistics .ms-chart-panel header h3{flex:1}#managerApp #statistics .ms-chart-panel select{font-size:14px;min-height:38px;padding:7px;max-width:155px}
.ms-chart{display:block;width:100%;height:auto;max-height:300px}.ms-chart text{font:12px Cabin,sans-serif;fill:#5a759b}.ms-chart-note{font-size:14px;color:#7087a7;margin:8px 0 0}.ms-chart-data{font-size:14px;color:#49668b}.ms-chart-data summary{cursor:pointer;padding:7px 0}.ms-chart-data>div{display:flex;flex-wrap:wrap;gap:10px;padding:10px 0}
.ms-types{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ms-donut{flex:none;width:140px;height:140px;border-radius:50%;display:grid;place-items:center}.ms-donut>div{background:#fff;border-radius:50%;width:96px;height:96px;display:flex;align-items:center;justify-content:center;flex-direction:column}.ms-donut b{font-size:29px;color:#193354}.ms-donut span{font-size:12px;color:#6b82a5}.ms-types ul{flex:1;min-width:170px;margin:0;padding:0;list-style:none}.ms-types li{display:flex;align-items:center;gap:8px;font-size:14px;margin:12px 0}.ms-types li i{width:9px;height:9px;border-radius:50%;flex:none}.ms-types .ms-name{flex:1;font-weight:500}.ms-types li span{min-width:38px;text-align:right}
#managerApp #statistics .ms-method{margin-top:22px;padding:18px;border:1px solid #e1ebfa;border-radius:14px;background:#f9fcff;color:#597396;font-size:15px}.ms-method summary{cursor:pointer;font-weight:650}.ms-method p{line-height:1.6}
.ms-detail{font-size:17px}.ms-detail .ms-table{min-width:720px;font-size:16px}.ms-detail .ms-table th{font-size:15px}.ms-detail-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.ms-detail .ms-table-wrap{margin-top:15px}.ms-detail .ms-table small{font-size:14px}.ms-error{line-height:1.8}
@media(min-width:1800px){#managerApp #statistics .ms-table{font-size:16px}#managerApp #statistics .ms-panel{padding:22px}#managerApp #statistics .ms-panel header p{font-size:15px}}
@media(max-width:1500px){#managerApp #statistics .ms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#managerApp #statistics .ms-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){#managerApp #statistics .ms-grid{grid-template-columns:minmax(0,1fr)}#managerApp #statistics .ms-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#managerApp #statistics .ms-table{font-size:16px}#managerApp #statistics .ms-table small{font-size:14px}}
@media(max-width:600px){#managerApp #statistics .ms-summary{grid-template-columns:minmax(0,1fr)}#managerApp #statistics .ms-toolbar>div{width:100%}#managerApp #statistics .ms-period-label{width:100%}#managerApp #statistics .ms-panel{padding:14px}#managerApp #statistics .ms-panel h3{font-size:18px}#managerApp #statistics .ms-panel header .ms-icon{width:36px;height:36px}#managerApp #statistics .ms-table{min-width:370px}#managerApp #statistics .ms-panel header p{font-size:14px}}
@media print{body.ms-print #managerApp{display:block!important}body.ms-print :is(#sidebar,.topbar,.demo-banner,#managementTourAlerts,.modal-backdrop,.toast){display:none!important}body.ms-print #managerApp .main{padding:0!important}body.ms-print #managerApp .page:not(#statistics){display:none!important}body.ms-print #statistics{display:block!important}body.ms-print #statistics :is(.ms-toolbar,.ms-custom,.ms-more,.ms-chart-data,.ms-method){display:none!important}body.ms-print #statistics .ms-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}body.ms-print #statistics .ms-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ms-print #statistics .ms-panel{break-inside:avoid;padding:12px}body.ms-print #statistics .ms-kpi{padding:10px}body.ms-print #statistics .ms-kpi .ms-icon{display:none}body.ms-print #statistics .ms-kpi b{font-size:24px}body.ms-print #statistics .ms-table{min-width:0;font-size:12px}body.ms-print #statistics .ms-table th{font-size:11px}body.ms-print #statistics .ms-table-wrap{overflow:visible}}

#managerApp:has(#statistics.active) .topbar .actions>button:not(#managementAlertButton){display:none}

#managerApp #statsTools{display:none;align-items:flex-end;gap:10px;flex-wrap:wrap}
#managerApp:has(#statistics.active) #statsTools{display:flex}
#managerApp #statsTools .ms-period-label{display:grid;gap:3px;font-size:14px;color:#6880a3}
#managerApp #statsTools select{font:inherit;font-size:16px;color:#284c7b;background:#fff;border:1px solid #dce8fb;border-radius:10px;min-height:46px;padding:9px 12px;max-width:100%}
#managerApp:has(#statistics.active) .demo-banner{display:none}
#managerApp #statistics .ms-toolbar{display:none}
@media print{body.ms-print #statsTools{display:none!important}}

/* Override the shared office table spacing so each card stays readable. */
#managerApp #statistics .ms-table{font-size:16px;table-layout:fixed;width:100%}
#managerApp #statistics .ms-table :is(th,td){white-space:normal;overflow-wrap:anywhere;padding:10px 7px;font-size:16px;line-height:1.35}
#managerApp #statistics .ms-table th{font-size:14px;font-weight:600}
#managerApp #statistics .ms-table :is(th,td):first-child{width:28px;padding:10px 4px}
#managerApp #statistics .ms-table :is(th,td):nth-child(2){width:40%}
#managerApp #statistics .ms-table small{font-size:14px;line-height:1.35}
#managerApp #statistics .ms-kpi h3{font-size:16px}
#managerApp #statistics .ms-kpi small{font-size:14px;line-height:1.4}
#managerApp #statistics .ms-chart-panel .ms-icon{align-self:flex-start}
@media print{body.ms-print #statistics .ms-table :is(th,td){font-size:12px;padding:7px 4px}}
#managerApp #statistics .ms-kind-routes :is(th,td):nth-child(2){width:27%}
#managerApp #statistics .ms-kind-watch :is(th,td):nth-child(2){width:30%}
