[data-statistics]{cursor:pointer}.statistics-link{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin:15px 0 0;padding:5px 0;min-height:36px;border:0;background:transparent;color:#174c38;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
#statistics-dialog{width:700px;max-width:calc(100vw - 24px);max-height:90dvh;padding:0;overflow:auto;color:#252b28;background:#fff}#statistics-dialog .stat-heading{position:sticky;top:0;z-index:1;background:inherit;padding:26px 28px 16px;border-bottom:1px solid #e1e5df}#statistics-dialog h2{margin:0;padding-right:32px;font-size:24px}#statistics-dialog .close{top:20px;right:20px}#statistics-dialog .stat-heading p{font-size:13px;line-height:1.5;margin:8px 0 0;color:#5c6a61}.stat-body{padding:22px 28px 28px}.stat-update{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:20px}.stat-update p{font-size:11px;line-height:1.5;margin:0;color:#5c6a61}#statistics-refresh{padding:7px 10px;min-height:40px;background:transparent;border:1px solid #cbd3ca;border-radius:5px;font-size:12px;color:inherit}
.stat-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px;padding-bottom:24px;border-bottom:1px solid #dce2d9}.stat-totals dt{font-size:12px;color:#5c6a61;line-height:1.5}.stat-totals dd{margin:7px 0 0;font-size:35px;font-weight:700;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-resolved dd{color:#23834b}.stat-note{font-size:12px;line-height:1.6;color:#5c6a61;margin:10px 0 24px}#statistics-dialog h3{font-size:16px;margin:25px 0 14px}.stat-risk{list-style:none;padding:0;margin:0}.stat-risk li{margin-bottom:16px}.stat-risk li>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}.stat-risk small{font-weight:400;color:#5c6a61}.stat-track{height:8px;margin-top:8px;background:#edf0ea;border-radius:2px;overflow:hidden}.stat-track span{display:block;height:100%}.stat-track .high{background:#d4483e}.stat-track .moderate{background:#e58b28}.stat-track .low{background:#d5ae20}.stat-extra{display:grid;grid-template-columns:1fr 1fr;gap:16px 25px;border-bottom:1px solid #dce2d9;padding:22px 0 25px;margin:0}.stat-extra div{display:flex;gap:10px;justify-content:space-between;align-items:baseline}.stat-extra dt{font-size:12px;line-height:1.5;color:#5c6a61}.stat-extra dd{margin:0;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.stat-scopes{display:flex;gap:4px;border-bottom:1px solid #dce2d9}.stat-scopes button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 14px;min-height:44px;color:#5c6a61;font-size:13px}.stat-scopes button[aria-pressed=true]{color:#174c38;border-color:#174c38;font-weight:600}.stat-table-wrap{max-height:330px;overflow:auto;margin-top:12px}.stat-table{border-collapse:collapse;width:100%;font-size:12px;table-layout:fixed}.stat-table caption{text-align:left;font-size:12px;margin-bottom:12px;color:#5c6a61}.stat-table th,.stat-table td{padding:12px 6px;border-bottom:1px solid #e2e6df;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}.stat-table th:first-child{width:46%;text-align:left;padding-left:0;overflow-wrap:anywhere}.stat-table thead th{font-weight:400;font-size:11px;color:#5c6a61;position:sticky;top:0;background:#fff}.stat-table tbody th{font-weight:600}.stat-table th small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#5c6a61}.stat-location-track{display:block;margin-top:7px;height:3px;background:#edf0ea}.stat-location-track i{display:block;height:100%;background:#78927d}.stat-table .stat-empty{text-align:left;padding:20px 0;color:#5c6a61}.stat-source{font-size:11px;line-height:1.6;color:#5c6a61}.stat-source a{color:inherit;text-underline-offset:3px}
[data-theme=dark] .statistics-link{color:#b6e4c5}[data-theme=dark] #statistics-dialog{background:#1b2920;color:#edf3ed}[data-theme=dark] #statistics-dialog .stat-heading,[data-theme=dark] .stat-totals,[data-theme=dark] .stat-extra,[data-theme=dark] .stat-scopes,[data-theme=dark] .stat-table th,[data-theme=dark] .stat-table td{border-color:#3a4c3c}[data-theme=dark] #statistics-dialog .stat-heading p,[data-theme=dark] .stat-update p,[data-theme=dark] .stat-totals dt,[data-theme=dark] .stat-note,[data-theme=dark] .stat-risk small,[data-theme=dark] .stat-extra dt,[data-theme=dark] .stat-scopes button,[data-theme=dark] .stat-table caption,[data-theme=dark] .stat-table thead th,[data-theme=dark] .stat-table th small,[data-theme=dark] .stat-source,[data-theme=dark] .stat-table .stat-empty{color:#b7c7b9}[data-theme=dark] .stat-resolved dd{color:#8bd4a5}[data-theme=dark] .stat-track,[data-theme=dark] .stat-location-track{background:#344337}[data-theme=dark] .stat-table thead th{background:#1b2920}[data-theme=dark] .stat-scopes button[aria-pressed=true]{color:#b6e4c5;border-color:#a4deba}[data-theme=dark] #statistics-refresh{border-color:#5b705e}[data-theme=dark] .stat-location-track i{background:#9cb5a1}
@media(max-width:767px){#statistics-dialog{max-height:94dvh}#statistics-dialog .stat-heading{padding:20px 18px 14px}#statistics-dialog h2{font-size:22px}#statistics-dialog .close{right:12px;top:14px}.stat-body{padding:18px}.stat-totals{gap:10px}.stat-totals dd{font-size:30px}.stat-totals dt{font-size:11px}.stat-extra{gap:15px;grid-template-columns:1fr}.stat-table th:first-child{width:43%}.stat-table th,.stat-table td{padding-right:3px;padding-left:3px}.stat-scopes button{padding:12px}.stat-table{font-size:12px}.stat-table-wrap{max-height:none;overflow:visible}.stat-table thead th{position:static}}
