.hllp,
.hllp * {
	box-sizing: border-box;
}

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

.hllp__header {
	border-bottom: 1px solid var(--hllp-line);
	margin-bottom: 1.2rem;
	padding-bottom: .8rem;
}

.hllp__header h2 {
	color: var(--hllp-accent-dark);
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.25;
	margin: 0 0 .35rem;
}

.hllp__header p,
.hllp__description,
.hllp__note,
.hllp__muted {
	color: var(--hllp-muted);
	margin: 0;
}

.hllp__filters {
	align-items: end;
	background: var(--hllp-soft);
	border: 1px solid #ead9c9;
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin: 1rem 0 1.2rem;
	padding: 1rem;
}

.hllp__filters label {
	display: grid;
	flex: 1 1 220px;
	gap: .3rem;
	min-width: 0;
}

.hllp__filters label span {
	font-size: .93rem;
	font-weight: 650;
}

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

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

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

.hllp__range {
	color: var(--hllp-muted);
	font-size: .95rem;
	font-weight: 600;
	margin: 0 0 .75rem;
}

.hllp__summary {
	display: grid;
	gap: .7rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: .8rem 0 1rem;
}

.hllp__summary > div,
.hllp__card,
.hllp__section,
.hllp__position-card,
.hllp__empty {
	background: #fff;
	border: 1px solid var(--hllp-line);
	border-radius: 11px;
	min-width: 0;
	padding: .9rem 1rem;
}

.hllp__summary strong,
.hllp__summary span {
	display: block;
}

.hllp__summary strong {
	color: var(--hllp-accent-dark);
	font-size: 1.2rem;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.hllp__summary span {
	color: var(--hllp-muted);
	font-size: .9rem;
}

.hllp__grid {
	display: grid;
	gap: .85rem;
	margin: .85rem 0;
}

.hllp__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hllp__card h3,
.hllp__section h3 {
	color: var(--hllp-accent-dark);
	font-size: 1.12rem;
	line-height: 1.35;
	margin: 0 0 .55rem;
}

.hllp__card .hllp__description,
.hllp__section > .hllp__description {
	font-size: .9rem;
	margin-bottom: .65rem;
}

.hllp__bar-row {
	align-items: center;
	display: grid;
	gap: .55rem;
	grid-template-columns: minmax(75px, .7fr) minmax(65px, 1.35fr) minmax(80px, .75fr);
	margin: .7rem 0;
}

.hllp__bar-row > span {
	font-weight: 600;
}

.hllp__bar-row > strong {
	font-size: .9rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.hllp__bar-row small {
	color: var(--hllp-muted);
	font-size: .8rem;
	font-weight: 500;
}

.hllp__track {
	background: #f0e7de;
	border-radius: 99px;
	height: 10px;
	overflow: hidden;
}

.hllp__track i {
	background: linear-gradient(90deg, #c88d60, var(--hllp-accent));
	border-radius: inherit;
	display: block;
	height: 100%;
	min-width: 2px;
}

.hllp__section {
	margin: .9rem 0;
}

.hllp__position-grid,
.hllp__overdue-grid {
	display: grid;
	gap: .65rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hllp__position-card {
	background: #fcfaf8;
	padding: .75rem .85rem;
}

.hllp__position-card h4 {
	color: var(--hllp-ink);
	font-size: 1rem;
	margin: 0 0 .35rem;
}

.hllp__position-row {
	align-items: center;
	border-top: 1px solid var(--hllp-line);
	display: flex;
	gap: .6rem;
	justify-content: space-between;
	padding: .35rem 0;
}

.hllp__position-row code,
.hllp__pair-list code {
	background: #fff;
	border: 1px solid #e5d3c1;
	border-radius: 6px;
	color: #593114;
	font-size: 1rem;
	font-weight: 700;
	padding: .12rem .4rem;
}

.hllp__position-row span {
	color: var(--hllp-muted);
	font-size: .88rem;
	text-align: right;
}

.hllp__section > .hllp__description:last-child {
	margin: .65rem 0 0;
}

.hllp__pair-list {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
}

.hllp__pair-list > div {
	align-items: center;
	background: var(--hllp-soft);
	border: 1px solid #ead9c9;
	border-radius: 8px;
	display: inline-flex;
	gap: .4rem;
	padding: .4rem .55rem;
}

.hllp__pair-list > div > span {
	color: var(--hllp-muted);
}

.hllp__pair-list small {
	color: var(--hllp-muted);
	font-size: .8rem;
	margin-left: .15rem;
}

.hllp__note {
	background: #f6f8fa;
	border-radius: 8px;
	font-size: .88rem;
	margin-top: 1rem;
	padding: .75rem .9rem;
}

.hllp__empty {
	background: var(--hllp-soft);
	border-color: #ead9c9;
	margin: .9rem 0;
}

.hllp__empty strong {
	color: var(--hllp-accent-dark);
	display: block;
	margin-bottom: .2rem;
}

.hllp__empty p {
	margin: 0;
}

.hllp--notice {
	background: #fff8eb;
	border: 1px solid #ead9c9;
	border-radius: 9px;
	padding: .8rem 1rem;
}

.hllp--notice p {
	margin: 0;
}

@media (max-width: 720px) {
	.hllp__grid--two,
	.hllp__position-grid,
	.hllp__overdue-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hllp__summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.hllp__summary,
	.hllp__grid--two,
	.hllp__position-grid,
	.hllp__overdue-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.hllp__bar-row {
		gap: .4rem;
		grid-template-columns: minmax(62px, .65fr) minmax(35px, 1fr) minmax(80px, .8fr);
	}
	.hllp__bar-row > span,
	.hllp__bar-row > strong {
		font-size: .86rem;
	}
}
