.hlls-statistics {
	--hlls-ink: #253247;
	--hlls-muted: #65748a;
	--hlls-line: #dfe6ef;
	--hlls-accent: #9a572b;
	--hlls-accent-dark: #713d1c;
	--hlls-soft: #fbf6f0;
	color: var(--hlls-ink);
	font-size: 16px;
	line-height: 1.65;
	margin: 1.5rem auto;
	max-width: 1180px;
}

.hlls-statistics *,
.hlls-statistics *::before,
.hlls-statistics *::after {
	box-sizing: border-box;
}

.hlls-statistics__header {
	border-bottom: 1px solid var(--hlls-line);
	margin-bottom: 1.25rem;
	padding-bottom: .75rem;
}

.hlls-statistics__header h2 {
	color: var(--hlls-accent-dark);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.25;
	margin: 0 0 .45rem;
}

.hlls-statistics__header p,
.hlls-statistics__note {
	color: var(--hlls-muted);
	margin: 0;
}

.hlls-statistics__filters {
	align-items: end;
	background: var(--hlls-soft);
	border: 1px solid #ead9c9;
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin: 1rem 0 1.25rem;
	padding: 1rem;
}

.hlls-statistics__filters label {
	display: grid;
	flex: 1 1 220px;
	gap: .3rem;
}

.hlls-statistics__filters label span {
	font-size: .92rem;
	font-weight: 600;
}

.hlls-statistics__filters select {
	background: #fff;
	border: 1px solid #bdc8d7;
	border-radius: 7px;
	color: var(--hlls-ink);
	font: inherit;
	min-height: 42px;
	padding: .45rem .65rem;
	width: 100%;
}

.hlls-statistics__filters button {
	background: var(--hlls-accent);
	border: 1px solid var(--hlls-accent);
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-height: 42px;
	padding: .45rem 1rem;
}

.hlls-statistics__filters button:hover,
.hlls-statistics__filters button:focus-visible {
	background: var(--hlls-accent-dark);
	border-color: var(--hlls-accent-dark);
}

.hlls-statistics__summary {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 1.2rem 0;
}

.hlls-statistics__summary > div {
	background: #fff;
	border: 1px solid var(--hlls-line);
	border-radius: 10px;
	min-width: 0;
	padding: .8rem 1rem;
}

.hlls-statistics__summary strong,
.hlls-statistics__summary span {
	display: block;
}

.hlls-statistics__summary strong {
	color: var(--hlls-accent-dark);
	font-size: 1.15rem;
	overflow-wrap: anywhere;
}

.hlls-statistics__summary .hlls-statistics__date-range {
	font-size: clamp(.84rem, 1vw, 1rem);
	font-variant-numeric: tabular-nums;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hlls-statistics__actual-results {
	margin: 1.4rem 0;
}

.hlls-statistics__actual-results h3,
.hlls-statistics__all-statistics > h3 {
	color: var(--hlls-ink);
	font-size: 1.25rem;
	margin: 0 0 .55rem;
}

.hlls-statistics__actual-note {
	color: var(--hlls-muted);
	font-size: .9rem;
	margin: 0 0 .65rem;
}

.hlls-statistics__actual-wrap {
	border: 1px solid var(--hlls-line);
	border-radius: 9px;
	max-height: 34rem;
	overflow: auto;
}

.hlls-statistics__actual-table {
	border-collapse: collapse;
	text-align: left;
	width: 100%;
}

.hlls-statistics__actual-table.is-all {
	min-width: 1260px;
}

.hlls-statistics__actual-table.is-single {
	min-width: 380px;
}

.hlls-statistics__actual-table th,
.hlls-statistics__actual-table td {
	border-bottom: 1px solid var(--hlls-line);
	padding: .55rem .7rem;
	white-space: nowrap;
}

.hlls-statistics__actual-table thead th {
	background: var(--hlls-soft);
	color: var(--hlls-accent-dark);
	font-weight: 700;
}

.hlls-statistics__actual-table tbody th {
	background: #fafbfd;
	font-variant-numeric: tabular-nums;
}

.hlls-statistics__type-details {
	border-top: 1px solid var(--hlls-line);
	margin: .65rem 0;
	padding-top: .65rem;
}

.hlls-statistics__type-details > summary {
	background: var(--hlls-soft);
	border-radius: 7px;
	padding: .55rem .7rem;
}

.hlls-statistics__type-details > summary span {
	color: var(--hlls-muted);
	font-size: .88rem;
	font-weight: 400;
	margin-left: .4rem;
}

.hlls-statistics__summary span {
	color: var(--hlls-muted);
	font-size: .88rem;
}

.hlls-statistics__results h3 {
	color: var(--hlls-ink);
	font-size: 1.35rem;
	margin: 1.6rem 0 .7rem;
}

.hlls-statistics__results h4 {
	font-size: 1.05rem;
	margin: 1.3rem 0 .55rem;
}

.hlls-statistics__table-wrap {
	border: 1px solid var(--hlls-line);
	border-radius: 9px;
	overflow-x: auto;
}

.hlls-statistics__position-table {
	border-collapse: collapse;
	min-width: 660px;
	text-align: center;
	width: 100%;
}

.hlls-statistics__position-table th,
.hlls-statistics__position-table td {
	border-bottom: 1px solid var(--hlls-line);
	padding: .5rem .55rem;
}

.hlls-statistics__position-table thead th {
	background: var(--hlls-soft);
	font-weight: 700;
}

.hlls-statistics__position-table tbody th {
	background: #fafbfd;
	text-align: left;
}

.hlls-statistics__position-table tr:last-child th,
.hlls-statistics__position-table tr:last-child td {
	border-bottom: 0;
}

.hlls-statistics__bars {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hlls-statistics__position-group {
	background: #fff;
	border: 1px solid var(--hlls-line);
	border-radius: 9px;
	padding: .8rem;
}

.hlls-statistics__position-group h5 {
	font-size: .95rem;
	margin: 0 0 .5rem;
}

.hlls-statistics__bar-row {
	align-items: center;
	display: grid;
	gap: .5rem;
	grid-template-columns: 1.2rem minmax(3rem, 1fr) 2.5rem;
	margin: .28rem 0;
}

.hlls-statistics__bar-row > span,
.hlls-statistics__bar-row > b {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.hlls-statistics__bar-row > b {
	font-size: .88rem;
	font-weight: 500;
}

.hlls-statistics__track {
	background: #edf1f6;
	border-radius: 99px;
	height: 10px;
	overflow: hidden;
}

.hlls-statistics__track i {
	background: linear-gradient(90deg, #c78650, var(--hlls-accent));
	border-radius: inherit;
	display: block;
	height: 100%;
}

.hlls-statistics__number-columns {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.25rem;
}

.hlls-statistics__number-columns > section {
	background: #fff;
	border: 1px solid var(--hlls-line);
	border-radius: 10px;
	min-width: 0;
	padding: .9rem 1rem;
}

.hlls-statistics__number-columns h4 {
	margin-top: 0;
}

.hlls-statistics__top-list {
	columns: 2;
	margin: 0;
	padding-left: 1.7rem;
}

.hlls-statistics__top-list li {
	break-inside: avoid;
	margin: 0 0 .35rem;
	padding-left: .15rem;
}

.hlls-statistics__top-list li span {
	color: var(--hlls-muted);
	font-size: .88rem;
	margin-left: .45rem;
}

.hlls-statistics code {
	background: #f3f5f8;
	border-radius: 4px;
	color: #243246;
	font-size: 1em;
	padding: .08rem .28rem;
}

.hlls-statistics details {
	margin-top: .55rem;
}

.hlls-statistics summary {
	color: var(--hlls-accent-dark);
	cursor: pointer;
	font-weight: 600;
}

.hlls-statistics__number-cloud,
.hlls-statistics__distribution p span {
	background: #fafbfd;
	border: 1px solid var(--hlls-line);
	border-radius: 7px;
	display: block;
	font-variant-numeric: tabular-nums;
	line-height: 1.9;
	max-height: 280px;
	overflow: auto;
	padding: .6rem;
}

.hlls-statistics__distribution {
	border-top: 1px solid var(--hlls-line);
	margin-top: 1rem !important;
	padding-top: .75rem;
}

.hlls-statistics__distribution p {
	margin: .65rem 0;
}

.hlls-statistics__distribution p strong {
	display: block;
	margin-bottom: .25rem;
}

.hlls-statistics__empty {
	background: var(--hlls-soft);
	border: 1px solid #ead9c9;
	border-radius: 9px;
	padding: .9rem 1rem;
}

.hlls-statistics__note {
	border-top: 1px solid var(--hlls-line);
	font-size: .88rem;
	margin-top: 1.25rem;
	padding-top: .7rem;
}

@media (max-width: 720px) {
	.hlls-statistics__summary,
	.hlls-statistics__number-columns {
		grid-template-columns: 1fr;
	}

	.hlls-statistics__filters button {
		width: 100%;
	}
}

@media (max-width: 440px) {
	.hlls-statistics {
		font-size: 15px;
	}

	.hlls-statistics__top-list {
		columns: 1;
	}
}
