.hh-price-tool .hh-price-controls { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hh-price-tool .hh-price-app-tabs { grid-column: 1 / -1; min-width: 0; }
.hh-price-tool .hh-price-plan-control,
.hh-price-tool .hh-price-search-control { min-width: 0; }
.hh-price-tool .hh-price-history-jump {
	color: #b4e1ff;
	display: inline-flex;
	font-size: .94rem;
	font-weight: 700;
	margin-top: 1.2rem;
	min-height: 44px;
	align-items: center;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.hh-price-tool .hh-price-history {
	background: var(--hh-panel);
	border: 1px solid var(--hh-line);
	border-radius: 20px;
	box-sizing: border-box;
	color: var(--hh-ink);
	margin: 2rem 0;
	min-width: 0;
	padding: clamp(1rem, 3vw, 1.8rem);
	scroll-margin-top: 180px;
}
.hh-price-tool .hh-history-heading h3 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.2; margin: .45rem 0 .75rem; }
.hh-price-tool .hh-history-heading p { color: #becce0; font-size: .96rem; line-height: 1.65; }
.hh-price-tool .hh-history-heading .hh-history-eyebrow { color: var(--hh-accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; margin: 0; text-transform: uppercase; }
.hh-history-controls { display: grid; gap: .85rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; margin-top: 1.25rem; }
.hh-history-controls label { display: grid; gap: .4rem; min-width: 0; }
.hh-history-controls label span { color: var(--hh-muted); font-size: .78rem; font-weight: 750; }
.hh-price-tool .hh-history-controls select { background: var(--hh-panel-2); border: 1px solid var(--hh-line); border-radius: 10px; box-sizing: border-box; color: #fff; font: inherit; font-size: .93rem; min-height: 44px; padding: .6rem; width: 100%; }
.hh-history-actions { display: flex; flex-wrap: wrap; gap: .65rem; grid-column: 1 / -1; }
.hh-price-tool .hh-history-actions button { background: var(--hh-panel-2); border: 1px solid #58738e; border-radius: 10px; color: #eef5ff; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 700; min-height: 44px; padding: .65rem 1rem; }
.hh-price-tool .hh-history-actions button:hover:not(:disabled) { border-color: var(--hh-accent); color: #fff; }
.hh-price-tool .hh-history-actions button:disabled { color: #9baec5; cursor: not-allowed; opacity: .65; }
.hh-price-tool .hh-history-actions button:focus-visible,
.hh-price-tool .hh-history-controls select:focus-visible,
.hh-price-tool .hh-history-table-wrap:focus-visible,
.hh-price-tool .hh-history-method summary:focus-visible,
.hh-price-tool .hh-price-history-jump:focus-visible { outline: 2px solid var(--hh-accent); outline-offset: 3px; }
.hh-price-tool .hh-history-status { color: #bed4ee; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.hh-price-tool .hh-history-status:empty { display: none; }
.hh-price-tool .hh-history-bookmark-result { font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.hh-price-tool .hh-history-bookmark-result:empty { display: none; }
.hh-price-tool .hh-history-bookmark-result a { color: #b4e1ff; text-decoration: underline; text-underline-offset: 3px; }
.hh-price-tool .hh-history-series { color: #eef5ff; font-size: .96rem; line-height: 1.5; margin-top: 1.5rem; }
.hh-price-tool .hh-history-listing-check { border: 1px solid #526783; border-radius: 10px; color: #d5e4f5; font-size: .88rem; line-height: 1.65; overflow-wrap: anywhere; padding: .85rem 1rem; }
.hh-price-tool .hh-history-listing-not_observed,
.hh-price-tool .hh-history-listing-identity_changed,
.hh-price-tool .hh-history-listing-unconfirmed { background: rgba(255,197,102,.07); border-color: #8b7653; color: #f1dec0; }
.hh-price-tool .hh-history-listing-check a { color: #b4e1ff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hh-price-tool .hh-history-listing-check a:focus-visible { outline: 2px solid var(--hh-accent); outline-offset: 3px; }
.hh-history-summary { display: grid; gap: .65rem; grid-template-columns: repeat(3, minmax(0,1fr)); margin: .85rem 0; }
.hh-history-summary > div { background: var(--hh-panel-2); border: 1px solid var(--hh-line); border-radius: 10px; padding: .85rem; min-width: 0; }
.hh-history-summary span { color: var(--hh-muted); display: block; font-size: .75rem; line-height: 1.45; }
.hh-history-summary strong { color: #fff; display: block; font-size: 1rem; line-height: 1.4; margin-top: .35rem; overflow-wrap: anywhere; }
.hh-price-tool .hh-history-notice,
.hh-price-tool .hh-history-empty { background: rgba(106,168,255,.07); border-left: 3px solid var(--hh-blue); color: #cbdaf0; font-size: .91rem; line-height: 1.6; padding: .8rem 1rem; }
.hh-history-table-wrap { border: 1px solid var(--hh-line); border-radius: 12px; overflow: auto; max-width: 100%; }
.hh-price-tool .hh-history-table { border: 0; border-collapse: collapse; font-size: .86rem; margin: 0; width: 100%; }
.hh-history-table caption { color: #b3c7de; font-size: .79rem; padding: .7rem; text-align: left; }
.hh-price-tool .hh-history-table th { background: var(--hh-panel-2); color: #b9cde5; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.hh-price-tool .hh-history-table th,
.hh-price-tool .hh-history-table td { border: 0; border-bottom: 1px solid var(--hh-line); padding: .8rem .65rem; text-align: left; vertical-align: top; }
.hh-price-tool .hh-history-table td { color: #eef5ff; }
.hh-history-table time { white-space: nowrap; }
.hh-history-table small { color: #9eb0c7; display: block; font-size: .72rem; margin-top: .25rem; }
.hh-price-tool .hh-history-table a { color: #9accff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.hh-price-tool .hh-history-freshness { color: #9eb0c7; font-size: .78rem; line-height: 1.6; margin: .85rem 0; }
.hh-price-tool .hh-history-method { border-top: 1px solid var(--hh-line); color: #b9cce2; font-size: .85rem; line-height: 1.6; margin-top: 1.25rem; padding-top: 1rem; }
.hh-price-tool .hh-history-method summary { color: #cfe4ff; cursor: pointer; font-weight: 700; padding: .35rem 0; }
.hh-price-tool .hh-history-method p { color: #b9cce2; font-size: .85rem; line-height: 1.65; }
@media (max-width: 660px) {
	.hh-price-tool .hh-price-controls { grid-template-columns: minmax(0,1fr); position: static; }
	.hh-price-tool .hh-price-history { border-radius: 14px; scroll-margin-top: 20px; }
	.hh-history-controls { grid-template-columns: minmax(0,1fr); }
	.hh-history-summary { grid-template-columns: minmax(0,1fr); }
	.hh-history-summary > div { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
	.hh-history-summary strong { font-size: .95rem; margin-top: 0; text-align: right; }
	.hh-price-tool .hh-history-table { min-width: 600px; }
	.hh-history-actions { display: grid; grid-template-columns: minmax(0,1fr); }
}
