.ttq, .ttq-mini {
	--ttq-brand: #1d4ed8;
	--ttq-ink: #1a1a1a;
	--ttq-muted: #3d4541;
	--ttq-line: #e2e6e2;
	--ttq-line-strong: #c9d0cb;
	--ttq-bg: #f4f6f4;
	--ttq-paper: #fff;
	--ttq-radius: 18px;
	--ttq-shadow: 0 1px 2px rgba(16, 24, 20, .04), 0 10px 28px rgba(16, 24, 20, .06);
	--ttq-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	color: var(--ttq-ink);
	font-family: var(--ttq-font);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.ttq *, .ttq-mini * { box-sizing: border-box; }
.ttq {
	overflow-x: visible;
	background-color: transparent;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.ttq-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ttq-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	padding: 0;
	margin: 0 0 22px;
}
.ttq-steps li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--ttq-muted);
	padding: 0 10px 12px;
	border-bottom: 2px solid var(--ttq-line);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ttq-steps li span {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.ttq-steps li.is-active {
	color: var(--ttq-brand);
	border-color: var(--ttq-brand);
	font-weight: 700;
}
.ttq-steps li.is-active span {
	background: var(--ttq-brand);
	border-color: var(--ttq-brand);
	color: #fff;
}
.ttq-steps li.is-done {
	color: var(--ttq-ink);
	border-color: var(--ttq-brand);
}
.ttq-steps li.is-done span {
	background: var(--ttq-brand);
	border-color: var(--ttq-brand);
	color: #fff;
}

.ttq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
	gap: 22px;
	align-items: start;
}
.ttq-main {
	min-width: 0;
	background: var(--ttq-paper);
	border: 1px solid var(--ttq-line);
	border-radius: var(--ttq-radius);
	box-shadow: var(--ttq-shadow);
	padding: 28px 28px 24px;
}
.ttq-panel h2 {
	font-size: clamp(22px, 3.4vw, 28px);
	margin: 0 0 18px;
	font-weight: 700;
}
.ttq-label {
	display: block;
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ttq-ink);
	line-height: 1.4;
}
.ttq-input {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-top: 8px;
	padding: 13px 15px;
	border: 1px solid var(--ttq-line-strong);
	border-radius: 12px;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ttq-ink);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ttq-input:hover { border-color: #aeb6b0; }
.ttq-input:focus {
	outline: none;
	border-color: var(--ttq-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ttq-brand) 18%, transparent);
}
.ttq-two, .ttq-stairs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ttq-stairs--stop { grid-template-columns: 1fr 1fr 1fr; }
.ttq-stairs-block {
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid var(--ttq-line);
}
.ttq-stairs-block .ttq-hint { margin-bottom: 12px; }

.ttq-date-wrap {
	display: block;
	position: relative;
	margin-top: 8px;
}
.ttq-date-wrap .ttq-input { margin-top: 0; }
.ttq-date-ph {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7280;
	font-size: 16px;
	font-weight: 400;
	pointer-events: none;
}
.ttq-date-wrap:has(.ttq-date:focus) .ttq-date-ph,
.ttq-date-wrap:has(.ttq-date:valid) .ttq-date-ph {
	display: none;
}

.ttq-picks-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}
.ttq-picks-head .ttq-picks-title {
	margin: 0;
}
.ttq-picks-title {
	margin: 0;
	font-weight: 700;
	font-size: clamp(17px, 2.4vw, 19px);
	letter-spacing: -.01em;
}
.ttq-guide-open {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	color: var(--ttq-brand);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	white-space: nowrap;
}
.ttq-picks {
	border: 0;
	padding: 0;
	margin: 0 0 26px;
	display: grid;
	gap: 10px;
	min-width: 0;
}
.ttq-picks legend {
	grid-column: 1 / -1;
	font-weight: 700;
	font-size: clamp(17px, 2.4vw, 19px);
	margin: 0 0 6px;
	padding: 0;
	letter-spacing: -.01em;
}
.ttq-picks--vans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ttq-picks--help { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ttq-pick { display: block; position: relative; min-width: 0; cursor: pointer; z-index: 1; }
.ttq-pick:hover, .ttq-pick:focus-within { z-index: 5; }
.ttq-tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	width: min(260px, 72vw);
	transform: translateX(-50%) translateY(4px);
	padding: 11px 13px;
	border-radius: 10px;
	background: var(--ttq-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.ttq-tip::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: var(--ttq-ink);
}
.ttq-pick:hover .ttq-tip,
.ttq-pick:focus-within .ttq-tip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.ttq-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ttq-pick__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	padding: 12px 8px 14px;
	border: 1px solid var(--ttq-line);
	border-radius: 14px;
	background: var(--ttq-bg);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .15s ease;
}
.ttq-pick__meta {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--ttq-muted);
	margin-bottom: 4px;
	line-height: 1.35;
}
.ttq-pick__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 72px;
}
.ttq-pick__visual img {
	display: block;
	width: 100%;
	max-width: 160px;
	height: auto;
	object-fit: contain;
}
.ttq-pick__visual--help img { max-width: 96px; }
.ttq-pick__name {
	display: block;
	margin-top: 8px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
}
.ttq-picks--help .ttq-pick__name { font-size: 15px; }
.ttq-pick__tick {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	background: var(--ttq-brand);
	box-shadow: 0 4px 12px color-mix(in srgb, var(--ttq-brand) 35%, transparent);
	opacity: 0;
	transform: scale(.7);
	transition: opacity .15s ease, transform .15s ease;
}
.ttq-pick__tick::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 6px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.ttq-pick:hover .ttq-pick__card {
	background: #fff;
	border-color: var(--ttq-line-strong);
}
.ttq-pick:has(input:checked) .ttq-pick__card,
.ttq-pick input:checked + .ttq-pick__card {
	background: #fff;
	border-color: color-mix(in srgb, var(--ttq-brand) 42%, var(--ttq-line));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ttq-brand) 28%, transparent), var(--ttq-shadow);
}
.ttq-pick:has(input:checked) .ttq-pick__tick,
.ttq-pick input:checked + .ttq-pick__card .ttq-pick__tick {
	opacity: 1;
	transform: scale(1);
}

.ttq-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid var(--ttq-line);
}
.ttq-btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 13px 24px;
	font: inherit;
	font-size: 16px;
	cursor: pointer;
	font-weight: 700;
	min-height: 48px;
	line-height: 1.2;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease;
}
.ttq-btn--primary {
	background: var(--ttq-brand);
	color: #fff;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--ttq-brand) 22%, transparent);
}
.ttq-btn--primary:hover:not(:disabled) { filter: brightness(.96); }
.ttq-btn--ghost {
	background: #fff;
	border: 1px solid var(--ttq-line-strong);
	color: var(--ttq-ink);
}
.ttq-btn[data-action="back"] {
	background: color-mix(in srgb, var(--ttq-brand) 14%, #fff);
	border: 1px solid color-mix(in srgb, var(--ttq-brand) 38%, #fff);
	color: var(--ttq-ink);
	box-shadow: 0 1px 3px rgba(16, 24, 20, .06);
}
.ttq-btn[data-action="back"]:hover:not(:disabled) {
	background: color-mix(in srgb, var(--ttq-brand) 22%, #fff);
	border-color: color-mix(in srgb, var(--ttq-brand) 48%, #fff);
}
.ttq-btn--ghost:hover:not(:disabled) {
	border-color: #9aa39c;
	background: var(--ttq-bg);
}
.ttq-btn--text {
	background: transparent;
	color: var(--ttq-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
	box-shadow: none;
	min-height: 44px;
}
.ttq-btn--text:hover:not(:disabled) { color: var(--ttq-ink); }
.ttq-btn:disabled { opacity: .5; cursor: not-allowed; }
.ttq-btn[aria-busy="true"] { opacity: .7; }
.ttq-pay { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }

.ttq-summary {
	background: var(--ttq-paper);
	border: 1px solid var(--ttq-line);
	border-radius: var(--ttq-radius);
	box-shadow: var(--ttq-shadow);
	padding: 22px 22px 20px;
	position: sticky;
	top: 16px;
	min-width: 0;
	border-top: 3px solid var(--ttq-brand);
}
.ttq-summary h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.02em;
}
.ttq-summary__miles {
	color: var(--ttq-muted);
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.45;
}
.ttq-summary__drive {
	color: var(--ttq-muted);
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 10px;
	line-height: 1.45;
}
.ttq-lines { list-style: none; padding: 0; margin: 8px 0 0; }
.ttq-lines li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	line-height: 1.4;
	padding: 9px 0;
	border-bottom: 1px solid var(--ttq-line);
}
.ttq-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 16px;
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--ttq-line);
}
.ttq-total strong { font-size: clamp(24px, 5vw, 30px); letter-spacing: -.03em; }

.ttq-hint,
.ttq-fine,
.ttq-deposit {
	color: var(--ttq-muted);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 14px;
}
.ttq-hint:empty,
.ttq-deposit:empty { display: none; }
.ttq-hint--hours {
	color: #b91c1c;
	font-weight: 600;
}
.ttq-hint--trip {
	color: #57534e;
	font-weight: 500;
	font-size: 15px;
}
.ttq-hint--refund {
	color: #57534e;
	font-weight: 500;
	font-size: 15px;
}
.ttq-help-note {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--ttq-bg);
	border: 1px solid var(--ttq-line);
	color: var(--ttq-ink);
	font-size: 16px;
	line-height: 1.5;
}
.ttq-help-note:empty { display: none; }
.ttq-fine {
	font-size: 15px;
	margin: 12px 0 0;
}
.ttq-deposit {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--ttq-bg);
	border: 1px solid var(--ttq-line);
	color: var(--ttq-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.ttq-flash {
	margin-top: 14px;
	padding: 13px 15px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ttq-brand) 12%, #fff);
	font-size: 16px;
	line-height: 1.45;
}
.ttq-flash.is-error { background: #fde8e8; }
.ttq-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	margin: 6px 0 4px;
}
.ttq-check input { margin-top: 4px; flex: 0 0 auto; }

.ttq-mini {
	background-color: transparent;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 8px 0 0;
	border-radius: var(--ttq-radius);
}
.ttq-mini h2 { margin: 0 0 6px; font-size: 24px; }
.ttq-mini p { color: var(--ttq-muted); margin: 0 0 16px; font-size: 16px; }
.ttq-mini .ttq-btn { width: 100%; margin-top: 4px; }

.ttq-modal[hidden] { display: none; }
.ttq-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px 40px;
	overflow: auto;
}
.ttq-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(16, 20, 18, .48);
}
.ttq-modal__panel {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	margin: auto;
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
}
.ttq-modal__x {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--ttq-muted);
}
.ttq-modal__panel h2 { margin: 0 0 8px; font-size: 26px; }
.ttq-modal__intro, .ttq-modal__foot {
	color: var(--ttq-muted);
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.5;
}
.ttq-modal__foot { margin: 18px 0 0; }
.ttq-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.ttq-guide-card {
	border: 1px solid var(--ttq-line);
	border-radius: 12px;
	padding: 16px;
	background: var(--ttq-bg);
}
.ttq-guide-card img { display: block; width: 100%; max-width: 180px; height: auto; margin: 0 auto 8px; }
.ttq-guide-card h3 { margin: 0 0 4px; font-size: 18px; }
.ttq-guide-card__dims { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ttq-muted); }
.ttq-guide-card p { margin: 0; font-size: 15px; line-height: 1.5; }

.pac-container { z-index: 100000 !important; }

@supports not (background: color-mix(in srgb, red 10%, white)) {
	.ttq-input:focus { box-shadow: 0 0 0 3px rgba(29, 78, 216, .18); }
	.ttq-pick:has(input:checked) .ttq-pick__card,
	.ttq-pick input:checked + .ttq-pick__card {
		border-color: #93b4e8;
		box-shadow: var(--ttq-shadow);
	}
	.ttq-btn--primary { box-shadow: 0 6px 16px rgba(29, 78, 216, .22); }
	.ttq-btn[data-action="back"] {
		background: #eef3fc;
		border-color: #b8cfe8;
	}
	.ttq-btn[data-action="back"]:hover:not(:disabled) {
		background: #e3edfa;
		border-color: #9bb8e3;
	}
	.ttq-flash { background: #eef3fc; }
}

@media (max-width: 900px) {
	.ttq-layout { grid-template-columns: 1fr; gap: 16px; }
	.ttq-main { padding: 20px 18px 18px; }
	.ttq-summary { position: static; }
	.ttq-picks--vans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttq-picks--help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttq-steps li { font-size: 0; gap: 0; justify-content: center; border-bottom-width: 3px; padding-bottom: 10px; }
	.ttq-steps li span { font-size: 13px; width: 28px; height: 28px; }
	.ttq-pick__visual img { max-width: 180px; }
	.ttq-pick__visual--help img { max-width: 110px; }
	.ttq-tip { display: none; }
	.ttq { overflow-x: clip; }
	.ttq-guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.ttq-two, .ttq-stairs, .ttq-stairs--stop { grid-template-columns: 1fr; }
	.ttq-panel h2 { margin-bottom: 14px; }
	.ttq-picks { gap: 8px; margin-bottom: 18px; }
	.ttq-pick__card { padding: 10px 6px 12px; }
	.ttq-pick__meta { font-size: 12px; }
	.ttq-pick__name { font-size: 14px; }
	.ttq-picks--help .ttq-pick__name { font-size: 14px; }
	.ttq-nav { flex-wrap: wrap; }
	.ttq-nav .ttq-btn { flex: 1 1 140px; text-align: center; }
	.ttq-pay .ttq-btn { width: 100%; }
	.ttq-summary { padding: 18px 16px; }
	.ttq-hint,
	.ttq-deposit,
	.ttq-check { font-size: 15px; }
}

@media (max-width: 420px) {
	.ttq-pick__tick { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}
