/*
File: frontend/styles/vehicle-history.css
Purpose: Style the public VIN service timeline report and the scored-page service-history CTA surface.
*/

.vx-history-card {
	background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(3, 7, 18, 0.22);
	margin: 1rem auto 0;
	max-width: 700px;
	padding: 1.1rem 1.2rem 1.2rem;
	color: #f8fafc;
}

.vx-history-card[hidden] {
	display: none;
}

.vx-history-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.vx-history-title {
	margin: 0;
	font-family: 'Syne', 'DM Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #f8fafc;
}

.vx-history-copy {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #cbd5e1;
	max-width: 48ch;
}

.vx-history-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #d6b35f 0%, #c59a35 100%);
	color: #0f172a;
	font-size: 0.84rem;
	font-weight: 800;
	font-family: inherit;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(197, 154, 53, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
}

.vx-history-button:hover,
.vx-history-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(197, 154, 53, 0.34);
}

.vx-history-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.85rem;
	margin-top: 1rem;
}

.vx-history-stat {
	padding: 0.85rem 0.9rem;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.vx-history-stat-label {
	display: block;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
}

.vx-history-stat-value {
	display: block;
	margin-top: 0.28rem;
	font-size: 1rem;
	font-weight: 700;
	color: #f8fafc;
}

.vx-vhr-page {
	background:
		radial-gradient(circle at top left, rgba(201, 168, 76, 0.18), transparent 32%),
		radial-gradient(circle at top right, rgba(61, 127, 255, 0.14), transparent 28%),
		linear-gradient(180deg, #09101e 0%, #0b1220 100%);
	color: #e2e8f0;
	min-height: 100vh;
	margin: 0;
	font-family: 'DM Sans', sans-serif;
}

.vx-vhr-page *,
.vx-vhr-page *::before,
.vx-vhr-page *::after {
	box-sizing: border-box;
}

.vx-vhr-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: rgba(9, 16, 30, 0.82);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vx-vhr-header-inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 18px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.vx-vhr-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	color: #f8fafc;
}

.vx-vhr-logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.vx-vhr-brand-copy {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.vx-vhr-brand-title {
	font-family: 'Syne', 'DM Sans', sans-serif;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vx-vhr-brand-subtitle {
	font-size: 0.76rem;
	color: #94a3b8;
}

.vx-vhr-header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.vx-vhr-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.04);
}

.vx-vhr-link:hover,
.vx-vhr-link:focus-visible {
	background: rgba(255, 255, 255, 0.08);
}

.vx-vhr-main {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 36px 0 56px;
}

.vx-vhr-shell {
	background: rgba(248, 250, 252, 0.96);
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 28px;
	box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
	padding: 32px;
}

.vx-vhr-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8b6b1e;
}

.vx-vhr-title {
	margin: 0.8rem 0 0;
	font-family: 'DM Serif Display', serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 400;
	line-height: 1.08;
	color: #0f172a;
}

.vx-vhr-subtitle {
	margin: 0.8rem 0 0;
	max-width: 62ch;
	font-size: 1rem;
	line-height: 1.7;
	color: #475569;
}

.vx-vhr-state {
	margin-top: 1.4rem;
	padding: 1rem 1.1rem;
	border-radius: 16px;
	font-size: 0.94rem;
	line-height: 1.55;
}

.vx-vhr-state-error {
	background: #fff1f2;
	border: 1px solid rgba(225, 29, 72, 0.14);
	color: #9f1239;
}

.vx-vhr-state-empty {
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.2);
	color: #334155;
}

.vx-vhr-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 1.6rem;
}

.vx-vhr-summary-card {
	padding: 1rem 1rem 1.05rem;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.22);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.vx-vhr-summary-label {
	display: block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.vx-vhr-summary-value {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
}

.vx-vhr-section-first {
	margin-top: 1.6rem;
	padding-top: 0;
	border-top: 0;
}

.vx-vhr-mileage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.vx-vhr-conflict-notice {
	margin-top: 1rem;
	padding: 1rem 1rem 1.05rem;
	border-radius: 20px;
	background: #fff7ed;
	border: 1px solid rgba(234, 88, 12, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.vx-vhr-conflict-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.vx-vhr-conflict-title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9a3412;
}

.vx-vhr-conflict-copy {
	margin: 0.45rem 0 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: #7c2d12;
}

.vx-vhr-conflict-reasons {
	margin: 0.75rem 0 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.4rem;
	color: #7c2d12;
	font-size: 0.92rem;
	line-height: 1.55;
}

.vx-vhr-mileage-grid-secondary {
	margin-top: 0.9rem;
}

.vx-vhr-summary-card-subtle {
	background: #f8fafc;
	border-color: rgba(148, 163, 184, 0.26);
	box-shadow: none;
}

.vx-vhr-summary-card-subtle .vx-vhr-summary-label {
	color: #475569;
}

.vx-vhr-summary-card-subtle .vx-vhr-summary-value {
	color: #1e293b;
}

.vx-vhr-estimate-adjust {
	margin-top: 1rem;
	padding: 1rem 1rem 1.05rem;
	border-radius: 20px;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.vx-vhr-estimate-panel + .vx-vhr-estimate-panel {
	margin-top: 1rem;
}

.vx-vhr-estimate-panel-divider {
	height: 1px;
	margin: 1rem 0;
	background: rgba(148, 163, 184, 0.22);
}

.vx-vhr-estimate-adjust-head {
	display: grid;
	gap: 0.35rem;
}

.vx-vhr-estimate-adjust-title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #334155;
}

.vx-vhr-estimate-adjust-copy {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: #64748b;
}

.vx-vhr-estimate-adjust-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.75rem;
	margin-top: 0.9rem;
}

.vx-vhr-estimate-adjust-item {
	padding: 0.85rem 0.9rem;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.vx-vhr-estimate-adjust-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.vx-vhr-estimate-adjust-value {
	display: block;
	margin-top: 0.28rem;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.5;
	color: #0f172a;
}

.vx-vhr-estimate-form {
	margin-top: 0.95rem;
}

.vx-vhr-estimate-form-label {
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #475569;
}

.vx-vhr-estimate-form-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.55rem;
}

.vx-vhr-estimate-input {
	flex: 1 1 220px;
	min-width: 0;
	padding: 0.82rem 0.95rem;
	border-radius: 14px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.vx-vhr-estimate-select {
	flex: 1 1 280px;
	min-width: 0;
	padding: 0.82rem 0.95rem;
	border-radius: 14px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: #ffffff;
	font-size: 0.98rem;
	font-weight: 700;
	color: #0f172a;
}

.vx-vhr-estimate-input:focus {
	outline: 2px solid rgba(29, 78, 216, 0.18);
	outline-offset: 2px;
	border-color: rgba(29, 78, 216, 0.3);
}

.vx-vhr-estimate-select:focus {
	outline: 2px solid rgba(29, 78, 216, 0.18);
	outline-offset: 2px;
	border-color: rgba(29, 78, 216, 0.3);
}

.vx-vhr-estimate-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.82rem 1rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #d6b35f 0%, #c59a35 100%);
	color: #0f172a;
	font-size: 0.84rem;
	font-weight: 800;
	font-family: inherit;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(197, 154, 53, 0.2);
}

.vx-vhr-estimate-save:hover,
.vx-vhr-estimate-save:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(197, 154, 53, 0.28);
}

.vx-vhr-estimate-save:disabled {
	opacity: 0.72;
	cursor: wait;
	transform: none;
	box-shadow: 0 10px 24px rgba(197, 154, 53, 0.14);
}

.vx-vhr-estimate-help {
	margin: 0.7rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #64748b;
}

.vx-vhr-estimate-status {
	margin: 0.8rem 0 0;
	padding: 0.8rem 0.9rem;
	border-radius: 14px;
	font-size: 0.9rem;
	line-height: 1.55;
	border: 1px solid transparent;
}

.vx-vhr-estimate-status[hidden] {
	display: none;
}

.vx-vhr-estimate-status-success {
	background: #ecfdf5;
	border-color: rgba(16, 185, 129, 0.18);
	color: #166534;
}

.vx-vhr-estimate-status-error {
	background: #fff1f2;
	border-color: rgba(225, 29, 72, 0.14);
	color: #9f1239;
}

.vx-vhr-section {
	margin-top: 1.8rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.vx-vhr-section-title {
	margin: 0;
	font-family: 'Syne', 'DM Sans', sans-serif;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #334155;
}

.vx-vhr-section-copy {
	margin: 0.45rem 0 0;
	font-size: 0.96rem;
	line-height: 1.65;
	color: #64748b;
}

.vx-vhr-timeline {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.vx-vhr-item {
	padding: 1.2rem;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.vx-vhr-item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.vx-vhr-item-date {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.vx-vhr-item-title {
	margin: 0.28rem 0 0;
	font-size: 1.12rem;
	line-height: 1.35;
	color: #0f172a;
}

.vx-vhr-item-badges {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.vx-vhr-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid rgba(37, 99, 235, 0.16);
	font-size: 0.76rem;
	font-weight: 800;
}

.vx-vhr-chip-confidence {
	background: #f8fafc;
	color: #334155;
	border-color: rgba(148, 163, 184, 0.24);
}

.vx-vhr-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0.8rem;
	margin-top: 1rem;
}

.vx-vhr-meta-block {
	padding: 0.85rem 0.9rem;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.vx-vhr-meta-label {
	display: block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.vx-vhr-meta-value {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.45;
	color: #0f172a;
}

.vx-vhr-services-block {
	margin-top: 1rem;
	padding: 1rem 1rem 1.05rem;
	border-radius: 16px;
	background: #fffdf7;
	border: 1px solid rgba(201, 168, 76, 0.18);
}

.vx-vhr-services-label {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b6b1e;
}

.vx-vhr-services {
	margin: 0.75rem 0 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.45rem;
	color: #334155;
}

.vx-vhr-services-empty {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

body.vx-vhr-modal-open {
	overflow: hidden;
}

.vx-vhr-modal {
	position: fixed;
	inset: 0;
	z-index: 1400;
	display: grid;
	place-items: center;
	padding: 24px;
}

.vx-vhr-modal[hidden] {
	display: none;
}

.vx-vhr-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.76);
	backdrop-filter: blur(10px);
}

.vx-vhr-modal-shell {
	position: relative;
	width: min(1100px, 92vw);
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(circle at top left, rgba(201, 168, 76, 0.18), transparent 34%),
		radial-gradient(circle at top right, rgba(61, 127, 255, 0.16), transparent 30%),
		linear-gradient(180deg, #09101e 0%, #0b1220 100%);
	box-shadow: 0 36px 80px rgba(2, 6, 23, 0.5);
	overflow: hidden;
	color: #e2e8f0;
}

.vx-vhr-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 24px 28px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(9, 16, 30, 0.88);
	backdrop-filter: blur(18px);
}

.vx-vhr-modal-header-copy {
	min-width: 0;
}

.vx-vhr-modal-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d6b35f;
}

.vx-vhr-modal-title {
	margin: 0.7rem 0 0;
	font-family: 'DM Serif Display', serif;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	font-weight: 400;
	line-height: 1.08;
	color: #f8fafc;
}

.vx-vhr-modal-subtitle {
	margin: 0.7rem 0 0;
	max-width: 68ch;
	font-size: 0.97rem;
	line-height: 1.65;
	color: #cbd5e1;
}

.vx-vhr-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
	color: #f8fafc;
	font-size: 0.84rem;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	flex-shrink: 0;
}

.vx-vhr-modal-close:hover,
.vx-vhr-modal-close:focus-visible {
	background: rgba(255, 255, 255, 0.1);
}

.vx-vhr-modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 24px 28px 28px;
}

.vx-vhr-modal-state {
	padding: 1rem 1.1rem;
	border-radius: 18px;
	font-size: 0.95rem;
	line-height: 1.6;
}

.vx-vhr-modal-state-loading {
	background: rgba(30, 41, 59, 0.75);
	border: 1px solid rgba(148, 163, 184, 0.22);
	color: #e2e8f0;
}

.vx-vhr-modal-state-error {
	background: rgba(127, 29, 29, 0.28);
	border: 1px solid rgba(248, 113, 113, 0.28);
	color: #fecaca;
}

.vx-vhr-modal-state-empty {
	background: rgba(15, 23, 42, 0.76);
	border: 1px solid rgba(148, 163, 184, 0.2);
	color: #cbd5e1;
}

.vx-vhr-modal-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.95rem;
}

.vx-vhr-modal-summary-card {
	padding: 1rem 1rem 1.05rem;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(148, 163, 184, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.vx-vhr-modal-summary-card-wide {
	grid-column: span 2;
}

.vx-vhr-modal-summary-label {
	display: block;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.vx-vhr-modal-summary-value {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.45;
	color: #f8fafc;
}

.vx-vhr-modal-summary-value-vin {
	font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
	font-size: 0.98rem;
	overflow-wrap: anywhere;
}

.vx-vhr-modal-section {
	margin-top: 1.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.vx-vhr-modal-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.vx-vhr-modal-section-title {
	margin: 0;
	font-family: 'Syne', 'DM Sans', sans-serif;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f8fafc;
}

.vx-vhr-modal-section-copy {
	margin: 0.45rem 0 0;
	max-width: 70ch;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #94a3b8;
}

.vx-vhr-modal .vx-vhr-item {
	background: rgba(15, 23, 42, 0.8);
	border-color: rgba(148, 163, 184, 0.18);
	box-shadow: none;
}

.vx-vhr-modal .vx-vhr-item-date,
.vx-vhr-modal .vx-vhr-meta-label {
	color: #94a3b8;
}

.vx-vhr-modal .vx-vhr-item-title,
.vx-vhr-modal .vx-vhr-meta-value {
	color: #f8fafc;
}

.vx-vhr-modal .vx-vhr-chip {
	background: rgba(29, 78, 216, 0.18);
	color: #bfdbfe;
	border-color: rgba(96, 165, 250, 0.18);
}

.vx-vhr-modal .vx-vhr-chip-confidence {
	background: rgba(15, 23, 42, 0.92);
	color: #e2e8f0;
	border-color: rgba(148, 163, 184, 0.18);
}

.vx-vhr-modal .vx-vhr-meta-block {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(148, 163, 184, 0.14);
}

.vx-vhr-modal .vx-vhr-services-block {
	background: rgba(201, 168, 76, 0.08);
	border-color: rgba(201, 168, 76, 0.18);
}

.vx-vhr-modal .vx-vhr-services-label {
	color: #f3d58d;
}

.vx-vhr-modal .vx-vhr-services,
.vx-vhr-modal .vx-vhr-services-empty {
	color: #cbd5e1;
}

.vx-vhr-item-empty {
	list-style: none;
}

.vx-vhr-chip-document {
	background: rgba(201, 168, 76, 0.12);
	color: #f3d58d;
	border-color: rgba(201, 168, 76, 0.18);
}

.vx-vhr-document-list {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

.vx-vhr-document-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	padding: 1.1rem;
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.vx-vhr-document-card-main {
	min-width: 0;
}

.vx-vhr-document-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.vx-vhr-document-card-kicker {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #94a3b8;
}

.vx-vhr-document-card-title {
	margin: 0.35rem 0 0;
	font-size: 1.08rem;
	line-height: 1.35;
	color: #f8fafc;
}

.vx-vhr-document-card-copy {
	margin: 0.8rem 0 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #cbd5e1;
}

.vx-vhr-document-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.75rem;
	margin-top: 0.95rem;
}

.vx-vhr-document-meta {
	padding: 0.8rem 0.9rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(148, 163, 184, 0.14);
}

.vx-vhr-document-meta-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.vx-vhr-document-meta-value {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.5;
	color: #f8fafc;
}

.vx-vhr-document-card-actions {
	display: flex;
	align-items: center;
}

.vx-vhr-document-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #d6b35f 0%, #c59a35 100%);
	color: #0f172a;
	font-size: 0.82rem;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(197, 154, 53, 0.24);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vx-vhr-document-button:hover,
.vx-vhr-document-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(197, 154, 53, 0.3);
}

.vx-vhr-modal-document {
	z-index: 1410;
}

.vx-vhr-modal-shell-document {
	width: min(980px, 92vw);
}

.vx-vhr-modal-body-document {
	padding-top: 20px;
}

.vx-vhr-doc-shell {
	display: grid;
	gap: 1.2rem;
}

.vx-vhr-doc-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.85rem;
}

.vx-vhr-doc-summary-card {
	padding: 0.95rem 1rem 1rem;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.vx-vhr-doc-summary-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.vx-vhr-doc-summary-value {
	display: block;
	margin-top: 0.32rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	color: #f8fafc;
}

.vx-vhr-doc-summary-value-vin {
	font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.vx-vhr-doc-block {
	padding: 1.05rem 1.1rem 1.1rem;
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.vx-vhr-doc-block-title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f8fafc;
}

.vx-vhr-doc-block-copy {
	margin: 0.7rem 0 0;
	font-size: 0.96rem;
	line-height: 1.7;
	color: #cbd5e1;
}

.vx-vhr-doc-list {
	margin: 0.8rem 0 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.45rem;
	color: #cbd5e1;
}

.vx-vhr-doc-empty {
	margin: 0.8rem 0 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #94a3b8;
}

.vx-vhr-doc-history-list {
	display: grid;
	gap: 0.85rem;
	margin-top: 0.8rem;
}

.vx-vhr-doc-history-item {
	padding: 0.95rem 1rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(148, 163, 184, 0.14);
}

.vx-vhr-doc-history-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.vx-vhr-doc-history-date {
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.vx-vhr-doc-history-type {
	font-size: 0.86rem;
	font-weight: 800;
	color: #f3d58d;
}

.vx-vhr-doc-history-copy {
	margin: 0.6rem 0 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #e2e8f0;
}

.vx-vhr-doc-history-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.75rem;
	font-size: 0.84rem;
	font-weight: 700;
	color: #94a3b8;
}

.vx-vhr-doc-privacy {
	padding: 0.95rem 1rem;
	border-radius: 18px;
	background: rgba(201, 168, 76, 0.08);
	border: 1px solid rgba(201, 168, 76, 0.18);
	font-size: 0.9rem;
	line-height: 1.65;
	color: #f3d58d;
}

@media (max-width: 720px) {
	.vx-history-card {
		padding: 1rem;
	}

	.vx-vhr-header-inner,
	.vx-vhr-main {
		width: min(100% - 24px, 1180px);
	}

	.vx-vhr-shell {
		padding: 22px 18px;
		border-radius: 22px;
	}

	.vx-vhr-item {
		padding: 1rem;
	}

	.vx-vhr-document-card {
		grid-template-columns: 1fr;
	}

	.vx-vhr-estimate-form-row {
		flex-direction: column;
		align-items: stretch;
	}

	.vx-vhr-estimate-select,
	.vx-vhr-estimate-save {
		width: 100%;
	}

	.vx-vhr-document-card-actions {
		justify-content: flex-start;
	}

	.vx-vhr-modal {
		padding: 0;
	}

	.vx-vhr-modal-shell {
		width: 100vw;
		max-height: 100vh;
		height: 100vh;
		border-radius: 0;
	}

	.vx-vhr-modal-shell-document {
		width: 100vw;
	}

	.vx-vhr-modal-header,
	.vx-vhr-modal-body {
		padding-left: 16px;
		padding-right: 16px;
	}

	.vx-vhr-modal-header {
		padding-top: 18px;
		padding-bottom: 16px;
	}

	.vx-vhr-modal-body {
		padding-top: 18px;
		padding-bottom: 24px;
	}

	.vx-vhr-modal-summary-card-wide {
		grid-column: span 1;
	}

	.vx-vhr-doc-summary-grid,
	.vx-vhr-document-meta-grid {
		grid-template-columns: 1fr;
	}
}
