/* Independently reusable HMP statistics; no global theme overrides. */
.hmp-statistics { margin-block: 1.5rem; color: inherit; }
.hmp-statistics .hmp-stat-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 1rem; margin: 0 0 1rem; }
.hmp-statistics .hmp-stat-cards > div { display: flex; flex-direction: column-reverse; gap: .5rem; border: 1px solid #d2caba; padding: 1.3rem; background: #fffdf8; color: #302f29; }
.hmp-statistics .hmp-stat-cards dd { margin: 0; font: 600 clamp(2rem,4vw,3rem)/1.15 Georgia,serif; }
.hmp-statistics .hmp-stat-cards dt { font-size: .94rem; line-height: 1.5; }
.hmp-statistics .hmp-stat-note { font-size: .9rem; line-height: 1.6; opacity: .9; margin-block: 1rem; }
.hmp-statistics .hmp-stat-table-wrap { overflow-x: auto; }
.hmp-statistics .hmp-stat-table { width: 100%; border-collapse: collapse; margin-block: 1rem; }
.hmp-statistics .hmp-stat-table th, .hmp-statistics .hmp-stat-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid #d2caba; vertical-align: top; }
.hmp-statistics .hmp-stat-table td { min-width: 110px; font-variant-numeric: tabular-nums; }
.hmp-statistics .hmp-stat-bar { display: block; height: .4rem; width: var(--hmp-bar,0%); background: var(--theme-palette-color-1,#344a3d); margin-top: .5rem; }
.hmp-stat-unavailable { font-size: .94rem; }
.hmp-stat-admin { max-width: 1200px; }
.hmp-stat-admin-box { padding: 1.4rem; border: 1px solid #ccd0d4; margin-block: 1.4rem; background: #fff; }
.hmp-stat-admin-box pre { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; background: #f4f4f2; padding: 1rem; }
.hpl-entity-translations { margin-block: 1rem; padding: 1rem; border: 1px solid #c4c8cc; background: #f8f9f9; grid-column: 1 / -1; }
.hpl-entity-translations > summary, .hpl-entity-language > summary { cursor: pointer; padding: .5rem 0; }
.hpl-entity-language { padding: .5rem 0; border-top: 1px solid #ddd; }
@media print { .hmp-statistics .hmp-stat-cards > div { break-inside: avoid; } .hmp-statistics .hmp-stat-bar { print-color-adjust: exact; } }
