.statistics-period{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}.statistics-period label.field{margin:0}.statistics-check{display:flex;align-items:center;gap:10px;min-height:46px;font-size:14px}.statistics-check input{width:19px;height:19px}.statistics-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0}.statistics-card h3{font-size:14px;margin:0 0 10px}.statistics-card>strong{display:block;font-size:27px;color:var(--navy);margin-bottom:12px}.statistics-card button{margin-top:10px}.statistics-filters+div>.panel{margin-bottom:14px}.statistics-bars{display:grid;gap:10px;margin:16px 0;max-height:400px;overflow:auto}.statistics-bars>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(70px,3fr) minmax(90px,1fr);gap:10px;align-items:center;font-size:13px}.statistics-bars span{overflow-wrap:anywhere}.statistics-track{height:14px;background:#eaf1fa;border-radius:6px;overflow:hidden}.statistics-track i{display:block;height:100%;background:#218bc2;border-radius:6px}.statistics-track .negative{background:#b44e47}.statistics-table-wrap{overflow:auto}.statistics-table{width:100%;border-collapse:collapse;font-size:14px}.statistics-table td,.statistics-table th{text-align:left;padding:11px 8px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.statistics-table th{background:#edf4ff}.statistics-detail{width:min(94vw,1000px);max-height:90dvh;overflow:auto}.statistics-detail .actions{justify-content:space-between;margin-top:15px}@media(max-width:700px){.statistics-period{grid-template-columns:1fr}.statistics-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-card{padding:14px}.statistics-card>strong{font-size:22px;overflow-wrap:anywhere}.statistics-bars>div{grid-template-columns:100px minmax(40px,1fr) 90px;font-size:12px}}@media(max-width:360px){.statistics-cards{grid-template-columns:1fr}.statistics-bars>div{grid-template-columns:85px minmax(30px,1fr) 80px}}

.statistics-table{min-width:600px}.statistics-table td:not(:first-child){white-space:nowrap}.statistics-table button{white-space:nowrap}.statistics-table-wrap{overscroll-behavior-inline:contain}

.statistics-export-actions{flex-wrap:wrap;margin:16px 0}.statistics-chart-controls{display:grid;grid-template-columns:2fr 1fr;gap:16px}.statistics-gallery{margin-bottom:16px}.statistics-gallery [data-stat-chart-view]{max-height:540px;overflow:auto}.statistics-svg{display:block;width:100%;min-width:580px;font-family:Arial,sans-serif}.statistics-chart-controls select{width:100%}.statistics-gallery details{margin-top:16px}@media(max-width:700px){.statistics-chart-controls{grid-template-columns:1fr}.statistics-export-actions button{flex:1 1 160px}}

.statistics-export-actions button[aria-disabled=true]{opacity:.5;cursor:not-allowed}

.statistics-gallery{scroll-margin-top:185px}.statistics-export-actions button[aria-disabled=true]{opacity:.5;cursor:not-allowed}

/* Keep column headings and dates readable inside the mobile detail dialog. */
.statistics-table th{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.statistics-detail{overflow-x:hidden;min-width:0;max-width:94vw}
.statistics-detail .modalhead{align-items:flex-start}.statistics-detail .modalhead h2{min-width:0;overflow-wrap:break-word}.statistics-detail [data-stat-close]{flex:0 0 44px;min-height:44px}
.statistics-detail [data-stat-detail-body]{min-width:0;max-width:100%}.statistics-detail .statistics-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.statistics-detail .statistics-table{min-width:900px;table-layout:fixed}
.statistics-detail .statistics-table th:nth-child(1){width:100px}.statistics-detail .statistics-table th:nth-child(2){width:250px}.statistics-detail .statistics-table th:nth-child(3){width:150px}.statistics-detail .statistics-table th:nth-child(4){width:130px}.statistics-detail .statistics-table th:nth-child(5){width:270px}
.statistics-detail .statistics-table td:first-child{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.statistics-detail .statistics-table td:nth-child(2),.statistics-detail .statistics-table td:nth-child(5){white-space:normal;overflow-wrap:break-word;word-break:normal}
.statistics-detail-hint{font-size:13px;color:var(--muted)}
.statistics-period>.field{min-width:0;max-width:100%}

.statistics-period-date{white-space:nowrap}

.attention-options{border:1px solid #cbdcf0;border-radius:16px;padding:16px;min-width:0}.attention-option{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #cbdcf0;border-radius:12px;margin:8px 0;cursor:pointer}.attention-option input{width:20px!important;flex:0 0 20px;min-width:20px}.attention-option small{display:block;color:#536b8c}.attention-option:has(input:checked){background:#edf7e8;border-color:#56b636}
