.hmq-quote-page [data-vertical-spacing*='top'] {
	padding-top: 0;
}

.hmq-quote,
.hmq-saved {
	--hmq-accent: var(--theme-button-background-initial-color, var(--theme-palette-color-1));
	--hmq-accent-dark: var(--theme-button-background-hover-color, var(--theme-palette-color-2));
	--hmq-link: var(--theme-link-initial-color, var(--theme-palette-color-1));
	--hmq-link-hover: var(--theme-link-hover-color, var(--theme-palette-color-2));
	--hmq-button-text: var(--theme-button-text-initial-color, #fff);
	--hmq-border: #d6d3d1;
	--hmq-text: #1c1917;
	--hmq-muted: #57534e;
	--hmq-bg: #fff;
	box-sizing: border-box;
	color: var(--hmq-text);
}

.hmq-quote {
	--hmq-map-peek: min(40vh, 15rem);
	--hmq-route-meta: 2.5rem;
	position: relative;
	isolation: isolate;
	max-width: none;
	padding-top: calc(var(--hmq-map-peek) + var(--hmq-route-meta));
}

@media (min-width: 800px) {
	.hmq-quote {
		--hmq-map-peek: min(42vh, 22rem);
	}
}

.hmq-quote__main {
	position: relative;
	z-index: 1;
	width: var(--theme-container-width, 100%);
	max-width: var(--theme-narrow-container-max-width, 750px);
	margin-inline: auto;
}

.hmq-saved {
	width: var(--theme-container-width, 100%);
	max-width: var(--theme-narrow-container-max-width, 750px);
}

.hmq-quote__box,
.hmq-saved {
	padding: 1.75rem;
	border: 1px solid var(--hmq-border);
	border-radius: 12px;
	background: var(--hmq-bg);
	box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}

.hmq-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hmq-quote *,
.hmq-quote *::before,
.hmq-quote *::after,
.hmq-saved *,
.hmq-saved *::before,
.hmq-saved *::after {
	box-sizing: border-box;
}

.hmq-quote__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	line-height: 1.25;
}

.hmq-quote__intro {
	margin: 0 0 1.25rem;
	color: var(--hmq-muted);
	font-size: 0.95rem;
}

.hmq-quote__route {
	margin-bottom: 1.15rem;
}

.hmq-quote__fields {
	display: grid;
	gap: 0.55rem;
	min-width: 0;
}

.hmq-quote .hmq-field {
	position: relative;
}

.hmq-quote .hmq-field:focus-within {
	z-index: 20;
}

.hmq-quote .hmq-field label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
	font-size: 0.875rem;
}

.hmq-quote__swap {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	min-width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 1px solid var(--hmq-accent);
	border-radius: 999px;
	background: var(--hmq-accent);
	color: var(--hmq-button-text);
	box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
	cursor: pointer;
	appearance: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hmq-quote__swap-arrows {
	display: flex;
	width: 1.55rem;
	height: 1.55rem;
	transform-origin: 50% 50%;
	will-change: transform;
}

.hmq-quote__swap svg {
	display: block;
	width: 1.55rem;
	height: 1.55rem;
	fill: currentColor;
	pointer-events: none;
}

.hmq-quote__swap:hover {
	border-color: var(--hmq-accent-dark);
	color: var(--theme-button-text-hover-color, var(--hmq-button-text));
	background: var(--hmq-accent-dark);
}

.hmq-quote__swap:focus-visible {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 2px;
}

.hmq-quote .hmq-field__control {
	position: relative;
}

.hmq-quote .hmq-field__pin {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 0.8rem;
	display: flex;
	width: 1.15rem;
	height: 1.15rem;
	color: var(--hmq-muted);
	pointer-events: none;
	transform: translateY(-50%);
}

.hmq-quote .hmq-field__pin svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.hmq-quote .hmq-field:focus-within .hmq-field__pin {
	color: var(--hmq-accent);
}

.hmq-quote .hmq-field input[type="text"] {
	width: 100%;
	padding: 0.7rem 0.85rem;
	padding-inline-start: 2.55rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	color: inherit;
}

.hmq-quote .hmq-field input[type="text"]:focus {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
	border-color: var(--hmq-accent);
}

.hmq-quote .hmq-suggestions {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(28, 25, 23, 0.12);
	max-height: 16rem;
	overflow-y: auto;
}

.hmq-quote .hmq-suggestions li {
	margin: 0;
}

.hmq-quote .hmq-suggestions__status {
	padding: 0.55rem 0.85rem;
	font-size: 0.9rem;
	color: var(--hmq-muted);
}

.hmq-quote .hmq-suggestions__status.is-error {
	color: #9f1239;
}

.hmq-quote .hmq-suggestions button {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 0.55rem 0.85rem;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.4;
	color: inherit;
}

.hmq-quote .hmq-suggestions button:hover,
.hmq-quote .hmq-suggestions button.is-active {
	background: #f5f5f4;
}

.hmq-progress {
	margin: 0 0 0.75rem;
}

.hmq-quote__load {
	margin: 0 0 1.25rem;
}

.hmq-quote__load[hidden] {
	display: none;
}

.hmq-quote__load-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.65rem 1rem;
}

.hmq-quote__load-select-wrap {
	flex: 1 1 16rem;
	min-width: 0;
}

.hmq-quote__load-select-wrap[hidden] {
	display: none;
}

.hmq-quote__load-label {
	display: block;
	margin: 0 0 0.3rem;
	color: var(--hmq-muted);
	font-size: 0.8rem;
	font-weight: 500;
}

.hmq-quote__load select {
	appearance: none;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 2.75rem;
	padding: 0.7rem 2.5rem 0.7rem 0.85rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background-color: var(--theme-palette-color-6, #f5f5f4);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2357534e' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 0.7rem;
	color: inherit;
	font-family: inherit;
	font-size: 0.95rem;
	cursor: pointer;
}

.hmq-quote__btn.hmq-quote__new {
	flex: 0 0 auto;
	align-self: flex-end;
	width: auto;
	min-height: 2.75rem;
	padding: 0.55rem 0.95rem;
	font-size: 0.95rem;
	white-space: nowrap;
}

.hmq-quote__new[hidden] {
	display: none;
}

.hmq-quote__load select:focus {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
	border-color: var(--hmq-accent);
	background-color: var(--theme-palette-color-6, #f5f5f4);
}

.hmq-quote__workflow {
	display: inline-block;
	margin: 0.5rem 0 0;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hmq-quote__workflow[hidden] {
	display: none;
}

.hmq-quote__workflow--new {
	background: #f1f5f9;
	color: #334155;
}

.hmq-quote__workflow--contacted {
	background: #fef3c7;
	color: #92400e;
}

.hmq-quote__workflow--delivered {
	background: #dcfce7;
	color: #166534;
}

.hmq-progress__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmq-progress__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.75rem 0.45rem 0.7rem;
	color: var(--hmq-muted);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	border-bottom: 0;
	cursor: pointer;
}

.hmq-progress__item:hover:not(.is-current) {
	color: var(--hmq-text);
}

.hmq-progress__item:focus {
	outline: none;
}

.hmq-progress__item:focus-visible {
	outline: 2px solid var(--hmq-accent);
	outline-offset: -2px;
}

.hmq-progress__item.is-current {
	cursor: default;
	border-bottom: 2px solid var(--hmq-accent);
}

.hmq-progress__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	font-size: 1.1rem;
}

.hmq-progress__item.is-current,
.hmq-progress__item.is-done {
	color: var(--hmq-text);
}

.hmq-progress__item.is-current .hmq-progress__num {
	border: 0;
	background: var(--hmq-accent);
	color: var(--hmq-button-text);
}

.hmq-progress__item.is-done .hmq-progress__num {
	border: 0;
	background: #fff;
	color: var(--hmq-muted);
}

@media (max-width: 520px) {
	.hmq-progress__item {
		padding: 0.6rem 0.2rem 0.55rem;
		font-size: 0.78rem;
	}

	.hmq-progress__num {
		width: 1.9rem;
		height: 1.9rem;
		font-size: 0.95rem;
	}
}

.hmq-quote__step[hidden] {
	display: none;
}

.hmq-choices {
	display: grid;
	gap: 0.55rem;
	margin: 0 0 0.25rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

.hmq-choices legend {
	padding: 0;
	margin: 0 0 0.55rem;
	font-weight: 600;
	font-size: 0.875rem;
}

.hmq-choices--inline {
	grid-template-columns: 1fr 1fr;
}

.hmq-choice {
	position: relative;
	margin: 0;
}

.hmq-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hmq-choice label {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-weight: 500;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hmq-choice--icon label {
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
}

.hmq-choice__icon {
	flex: 0 0 2.35rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	color: var(--hmq-muted);
}

.hmq-choice__icon svg {
	display: block;
	width: 1.7rem;
	height: 1.7rem;
	fill: currentColor;
}

.hmq-choice input:checked + label .hmq-choice__icon {
	color: var(--hmq-accent);
}

.hmq-choice__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hmq-choice input:focus-visible + label {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
}

.hmq-choice input:checked + label {
	border-color: var(--hmq-accent);
	box-shadow: inset 0 0 0 1px var(--hmq-accent);
	background: color-mix(in srgb, var(--hmq-accent) 8%, transparent);
}

.hmq-choices--inline .hmq-choice label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

.hmq-choice__mark {
	flex: 0 0 1.5rem;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 1.5rem;
	height: 1.5rem;
	min-width: 1.5rem;
	min-height: 1.5rem;
	max-width: 1.5rem;
	max-height: 1.5rem;
	padding: 0;
	line-height: 0;
	border: 2px solid var(--hmq-border);
	border-radius: 50%;
	background: #fff;
	color: transparent;
}

.hmq-choice__mark svg {
	display: block;
	flex: none;
	width: 0.95rem;
	height: 0.95rem;
	min-width: 0.95rem;
	min-height: 0.95rem;
	max-width: none;
	overflow: visible;
	fill: currentColor;
}

.hmq-choice input:checked + label .hmq-choice__mark {
	border-color: var(--hmq-accent);
	background: var(--hmq-accent);
	color: #fff;
}

.hmq-choice__title {
	font-weight: 600;
	font-size: 0.95rem;
}

.hmq-choice__hint {
	color: var(--hmq-muted);
	font-size: 0.8rem;
	font-weight: 400;
}

.hmq-form-grid {
	display: grid;
	gap: 1rem;
}

.hmq-form-row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 520px) {
	.hmq-form-row--split,
	.hmq-choices--inline {
		grid-template-columns: 1fr;
	}
}

.hmq-form-field label,
.hmq-form-field > label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
	font-size: 0.875rem;
}

.hmq-quote input[type="number"],
.hmq-quote input[type="date"],
.hmq-quote input[type="time"],
.hmq-quote textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	color: inherit;
}

.hmq-quote input[type="date"]:disabled,
.hmq-quote input[type="time"]:disabled {
	background: #f5f5f4;
	color: var(--hmq-muted);
	cursor: not-allowed;
}

.hmq-quote input[type="number"]:focus,
.hmq-quote input[type="date"]:focus,
.hmq-quote input[type="time"]:focus,
.hmq-quote textarea:focus {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
	border-color: var(--hmq-accent);
}

.hmq-quote textarea {
	resize: vertical;
	min-height: 6.5rem;
	line-height: 1.45;
}

.hmq-form-hint {
	margin: 0.35rem 0 0;
	color: var(--hmq-muted);
	font-size: 0.8rem;
}

.hmq-form-field .hmq-form-check {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0.5rem 0 0;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--hmq-muted);
	cursor: pointer;
}

.hmq-form-check input {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	flex: none;
	accent-color: var(--hmq-accent);
	cursor: pointer;
}

.hmq-route {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 0;
	width: 100vw;
	max-width: 100vw;
	height: calc(var(--hmq-map-peek) + var(--hmq-route-meta));
	margin: 0;
	transform: translateX(-50%);
	pointer-events: none;
}

.hmq-map {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
	margin: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #e7e5e4;
	width: 100%;
	height: var(--hmq-map-peek);
}

.hmq-map iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.hmq-map__placeholder {
	opacity: 1;
}

.hmq-map__route {
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hmq-quote.has-route .hmq-map__placeholder {
	opacity: 0;
}

.hmq-quote.has-route .hmq-map__route {
	inset: auto;
	top: -7.5rem;
	left: -1.5rem;
	width: calc(100% + 3rem);
	height: calc(100% + 8rem);
	opacity: 1;
	pointer-events: auto;
}

.hmq-map-credit {
	position: absolute;
	right: 0.5rem;
	bottom: 0.4rem;
	z-index: 1;
	margin: 0;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
	background: color-mix(in srgb, #fff 82%, transparent);
	font-size: 0.65rem;
	line-height: 1.3;
	pointer-events: auto;
}

.hmq-map-credit a {
	color: #44403c;
	text-decoration: none;
}

.hmq-quote.has-route .hmq-map-credit {
	display: none;
}

.hmq-route__bar {
	position: absolute;
	top: var(--hmq-map-peek);
	left: 50%;
	z-index: 2;
	display: none;
	align-items: baseline;
	gap: 0.5rem 0.85rem;
	box-sizing: border-box;
	width: min(calc(100% - 1.5rem), var(--theme-narrow-container-max-width, 750px));
	height: var(--hmq-route-meta);
	margin: 0;
	padding: 0.45rem 0.15rem;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	pointer-events: auto;
	transform: translateX(-50%);
}

.hmq-quote.has-route .hmq-route__bar {
	display: flex;
}

.hmq-route__distance {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.3;
}

.hmq-route__path {
	flex: 1;
	min-width: 0;
	margin: 0;
	color: var(--hmq-muted);
	font-size: 0.85rem;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hmq-map-caption {
	margin: 0 0 0 auto;
	flex-shrink: 0;
}

.hmq-map-caption a {
	color: var(--hmq-link);
	font-size: 0.85rem;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.hmq-map__route {
		transition: none;
	}
}

.hmq-overview {
	display: grid;
	grid-template-columns: 8.5rem 1fr;
	gap: 0.45rem 0.85rem;
	margin: 0;
}

.hmq-overview dt {
	margin: 0;
	color: var(--hmq-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.hmq-overview dd {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.hmq-overview .hmq-overview__block {
	grid-column: 1 / -1;
}

.hmq-quote__confirmed {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid #86efac;
	border-radius: 8px;
	background: #f0fdf4;
	color: var(--hmq-text);
	font-size: 0.9rem;
	font-weight: 600;
}

.hmq-quote__step-error {
	margin: 0.85rem 0 0;
	font-size: 0.9rem;
	color: #9f1239;
	text-align: center;
}

.hmq-quote__step-error.is-info {
	color: var(--hmq-muted);
}

.hmq-estimate {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.15rem;
	padding: 0.8rem 1rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background: #fafaf9;
}

.hmq-estimate[hidden] {
	display: none;
}

.hmq-estimate__label {
	color: var(--hmq-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.hmq-estimate__total {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hmq-overview dd.hmq-overview__total {
	font-size: 1.1rem;
	font-weight: 700;
}

.hmq-quote__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem;
	margin-top: 1.15rem;
}

.hmq-quote__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.8rem 1rem;
	border-radius: 8px;
	font-family: inherit;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	appearance: none;
}

.hmq-quote__btn--primary {
	border: 0;
	background: var(--hmq-accent);
	color: var(--hmq-button-text);
}

.hmq-quote__btn--primary:hover {
	background: var(--hmq-accent-dark);
	color: var(--theme-button-text-hover-color, var(--hmq-button-text));
}

.hmq-quote__btn--primary:disabled {
	opacity: 0.65;
	cursor: wait;
}

.hmq-quote.is-confirmed button.hmq-quote__btn--primary:disabled,
.hmq-quote.is-confirmed button.hmq-quote__btn--primary:disabled:hover {
	opacity: 1;
	cursor: default;
	background-color: var(--theme-palette-color-9, var(--theme-palette-color-5));
	background-image: none;
	color: var(--theme-palette-color-4);
}

.hmq-quote__btn--outline {
	border: 1.5px solid var(--hmq-accent);
	background: transparent;
	color: var(--hmq-accent);
}

.hmq-quote__btn--outline:hover:not(:disabled) {
	background: color-mix(in srgb, var(--hmq-accent) 8%, transparent);
}

.hmq-quote__btn--outline:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.hmq-quote__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0.7rem;
	padding: 0.35rem 0.5rem;
	border: 0;
	background: none;
	color: var(--hmq-link);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.hmq-quote__save:hover {
	color: var(--hmq-link-hover);
}

.hmq-quote__name {
	margin-top: 0.85rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background: #fafaf9;
}

.hmq-quote__name-label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
	font-size: 0.875rem;
}

.hmq-quote__name input[type="text"] {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	color: inherit;
}

.hmq-quote__name input[type="text"]:focus {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
	border-color: var(--hmq-accent);
}

.hmq-quote__name-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.75rem;
}

.hmq-quote__name-confirm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.95rem;
	border: 0;
	border-radius: 8px;
	background: var(--hmq-accent);
	color: var(--hmq-button-text);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.hmq-quote__name-confirm:hover {
	background: var(--hmq-accent-dark);
	color: var(--theme-button-text-hover-color, var(--hmq-button-text));
}

.hmq-quote__name-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.95rem;
	border: 0;
	background: none;
	color: var(--hmq-muted);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.hmq-quote__auth {
	margin-top: 0.85rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background: #fafaf9;
	text-align: center;
}

.hmq-quote__auth-copy {
	margin: 0;
	font-size: 0.9rem;
	color: var(--hmq-muted);
}

.hmq-quote__auth-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	margin-top: 0.75rem;
}

.hmq-quote__auth-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 7.5rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--hmq-accent);
	border-radius: 8px;
	color: var(--hmq-accent);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}

.hmq-quote__auth-link:hover {
	background: color-mix(in srgb, var(--hmq-accent) 8%, transparent);
}

.hmq-quote__auth-link--primary {
	background: var(--hmq-accent);
	color: var(--hmq-button-text);
}

.hmq-quote__auth-link--primary:hover {
	background: var(--hmq-accent-dark);
	color: var(--theme-button-text-hover-color, var(--hmq-button-text));
}

.hmq-auth-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--hmq-border, #d6d3d1);
	border-radius: 8px;
	background: #fafaf9;
	color: var(--hmq-text, #1c1917);
	font-size: 0.95rem;
	line-height: 1.45;
}

.hmq-auth-dialog {
	--hmq-accent: var(--theme-button-background-initial-color, var(--theme-palette-color-1));
	--hmq-accent-dark: var(--theme-button-background-hover-color, var(--theme-palette-color-2));
	--hmq-link: var(--theme-link-initial-color, var(--theme-palette-color-1));
	--hmq-link-hover: var(--theme-link-hover-color, var(--theme-palette-color-2));
	--hmq-button-text: var(--theme-button-text-initial-color, #fff);
	--hmq-border: #d6d3d1;
	--hmq-text: #1c1917;
	--hmq-muted: #57534e;
	width: min(26rem, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	padding: 0;
	border: 0;
	background: transparent;
	overflow: auto;
	color: var(--hmq-text);
	box-sizing: border-box;
}

.hmq-auth-dialog *,
.hmq-auth-dialog *::before,
.hmq-auth-dialog *::after {
	box-sizing: border-box;
}

.hmq-auth-dialog[open] {
	position: fixed;
	margin: auto;
	z-index: 100000;
}

.hmq-auth-dialog::backdrop {
	background: rgba(28, 25, 23, 0.55);
}

.hmq-auth-dialog [data-hmq-auth-view][hidden] {
	display: none !important;
}

.hmq-auth-dialog__panel {
	position: relative;
	padding: 1.5rem 1.35rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(28, 25, 23, 0.18);
}

.hmq-auth-dialog__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--hmq-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.hmq-auth-dialog__close:hover {
	color: var(--hmq-text);
}

.hmq-auth-dialog__copy {
	margin: 0 1.75rem 1rem 0;
	color: var(--hmq-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.hmq-auth-dialog__error {
	margin: 0 0 0.85rem;
	color: #9f1239;
	font-size: 0.9rem;
}

.hmq-auth-dialog__error .hmq-auth-dialog__text-btn {
	color: inherit;
	font-weight: 600;
}

.hmq-auth-dialog__error .hmq-auth-dialog__text-btn:hover {
	color: inherit;
	opacity: 0.8;
}

.hmq-auth-dialog__title {
	margin: 0 0 0.85rem;
	font-size: 1.2rem;
	line-height: 1.25;
}

.hmq-auth-dialog__form {
	display: grid;
	gap: 0.75rem;
}

.hmq-auth-dialog__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.hmq-auth-dialog__field {
	margin: 0;
}

.hmq-auth-dialog__field label {
	display: block;
	margin: 0 0 0.35rem;
	font-weight: 600;
	font-size: 0.875rem;
}

.hmq-auth-dialog__field input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	color: inherit;
}

.hmq-auth-dialog__password {
	position: relative;
	display: block;
}

.hmq-auth-dialog__password input {
	padding-right: 4.5rem;
}

.hmq-auth-dialog__password input::-ms-reveal,
.hmq-auth-dialog__password input::-ms-clear {
	display: none;
}

.hmq-auth-dialog__password input::-webkit-credentials-auto-fill-button,
.hmq-auth-dialog__password input::-webkit-strong-password-auto-fill-button {
	margin-right: 2.35rem;
}

.hmq-auth-dialog__password-toggle {
	position: absolute;
	top: 50%;
	right: 0.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--hmq-muted);
	transform: translateY(-50%);
	cursor: pointer;
}

.hmq-auth-dialog__password-toggle:hover,
.hmq-auth-dialog__password-toggle[aria-pressed='true'] {
	color: var(--hmq-text);
}

.hmq-auth-dialog__password-icon {
	display: none;
	width: 1.25rem;
	height: 1.25rem;
	overflow: visible;
	fill: none;
	pointer-events: none;
}

.hmq-auth-dialog__password-toggle:not([aria-pressed='true']) .hmq-auth-dialog__password-icon--show,
.hmq-auth-dialog__password-toggle[aria-pressed='true'] .hmq-auth-dialog__password-icon--hide {
	display: block;
}

.hmq-auth-dialog__submit {
	width: 100%;
	margin-top: 0.25rem;
}

.hmq-auth-dialog__switch {
	margin: 0.9rem 0 0;
	text-align: center;
	color: var(--hmq-muted);
	font-size: 0.9rem;
}

.hmq-auth-dialog__text-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--hmq-link);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.hmq-auth-dialog__text-btn:hover {
	color: var(--hmq-link-hover);
}

@media (max-width: 479.98px) {
	.hmq-auth-dialog__row {
		grid-template-columns: 1fr;
	}
}

.hmq-quote__save-status {
	margin: 0.7rem 0 0;
	font-size: 0.9rem;
	text-align: center;
}

.hmq-quote__save-status.is-error {
	color: #9f1239;
}

.hmq-quote__save-status.is-success {
	color: var(--theme-text-color, var(--hmq-text));
}

.hmq-quote__save-status.is-info {
	color: var(--hmq-muted);
}

.hmq-toast {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	position: fixed;
	left: max(1.25rem, env(safe-area-inset-left, 0px));
	bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
	z-index: 100000;
	max-width: min(22rem, calc(100vw - 2.5rem));
	padding: 0.9rem 0.85rem 0.9rem 1.1rem;
	border: 0;
	border-radius: 12px;
	background: #111827;
	color: #f9fafb;
	box-shadow: 0 14px 36px rgba(17, 24, 39, 0.38);
	font-size: 0.95rem;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(0.55rem);
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.hmq-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
}

.hmq-toast__message {
	margin: 0;
	flex: 1;
	padding-top: 0.1rem;
}

.hmq-toast__close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	margin: -0.15rem -0.1rem 0 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
}

.hmq-toast__close svg {
	width: 0.9rem;
	height: 0.9rem;
}

.hmq-toast__close:hover,
.hmq-toast__close:focus-visible {
	color: #f9fafb;
	background: rgba(255, 255, 255, 0.08);
}

.hmq-toast__close:focus-visible {
	outline: 2px solid #f9fafb;
	outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
	.hmq-toast {
		transition: none;
	}
}

.hmq-quote .hmq-result {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--hmq-border);
	background: #fafaf9;
}

.hmq-quote .hmq-result.is-error {
	border-color: #e11d48;
	background: #fff1f2;
	color: #9f1239;
}

.hmq-quote .hmq-result.is-success {
	border-color: #86efac;
	background: #f0fdf4;
}

.hmq-quote .hmq-result strong {
	display: block;
	font-size: 1.15rem;
	margin-bottom: 0.25rem;
}

.hmq-quote .hmq-result p {
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	color: var(--hmq-muted);
}

.hmq-saved__list {
	display: grid;
	gap: 0.75rem;
}

.hmq-saved__empty {
	margin: 0;
	color: var(--hmq-muted);
	font-size: 0.95rem;
}

.hmq-saved__item {
	padding: 0.9rem 1rem;
	border: 1px solid var(--hmq-border);
	border-radius: 8px;
	background: #fafaf9;
}

.hmq-saved__name {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.hmq-saved__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.4rem 0 0;
}

.hmq-saved__badge {
	display: inline-block;
	margin: 0;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hmq-saved__badge--new {
	background: #f1f5f9;
	color: #334155;
}

.hmq-saved__badge--contacted {
	background: #fef3c7;
	color: #92400e;
}

.hmq-saved__badge--delivered {
	background: #dcfce7;
	color: #166534;
}

.hmq-saved__badge--confirmed {
	background: #dcfce7;
	color: #166534;
}

.hmq-saved__item.is-confirmed {
	border-color: #dddddd;
}

.hmq-saved__item.is-delivered {
	border-color: #dddddd;
	background: #f8faf8;
}

.hmq-saved__locked {
	margin: 0.7rem 0 0;
	color: var(--hmq-muted);
	font-size: 0.85rem;
}

.hmq-saved__id {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.15rem 0.2rem;
	margin: 0.25rem 0 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: var(--hmq-text);
}

.hmq-copy-id {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	max-width: 100%;
	margin: -0.12rem 0;
	padding: 0.20rem;
	border: 0;
	border-radius: 5px;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: inherit;
	letter-spacing: inherit;
	line-height: 1.3;
	color: var(--hmq-text);
	cursor: pointer;
	text-align: left;
	vertical-align: baseline;
}

.hmq-overview .hmq-copy-id {
	margin-left: -0.2rem;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	color: var(--hmq-text);
}

.hmq-copy-id__icon {
	flex: none;
	display: block;
	width: 0.9em;
	height: 0.9em;
	opacity: 0.72;
}

.hmq-copy-id:hover .hmq-copy-id__icon,
.hmq-copy-id.is-copied .hmq-copy-id__icon {
	opacity: 1;
}

.hmq-copy-id__icon svg {
	width: 100%;
	height: 100%;
}

.hmq-copy-id__copy,
.hmq-copy-id.is-copied .hmq-copy-id__check {
	display: block;
}

.hmq-copy-id__check,
.hmq-copy-id.is-copied .hmq-copy-id__copy {
	display: none;
}

.hmq-copy-id:hover {
	background: rgba(28, 25, 23, 0.06);
}

.hmq-copy-id:focus-visible {
	outline: 2px solid var(--hmq-accent);
	outline-offset: 1px;
}

.hmq-copy-id.is-copied,
.hmq-copy-id.is-copied:hover {
	background: #dcfce7;
	color: #166534;
}

.hmq-copy-id__value {
	overflow-wrap: anywhere;
}

.hmq-copy-id__copied {
	flex: none;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.hmq-copy-id__copied:empty {
	display: none;
}

.hmq-saved__route {
	margin: 0.4rem 0 0;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--hmq-text);
}

.hmq-saved__meta {
	margin: 0.3rem 0 0;
	font-size: 0.8rem;
	color: var(--hmq-muted);
}

.hmq-saved__estimate {
	margin: 0.6rem 0 0;
	font-size: 1.5rem;
	font-weight: 650;
}

.hmq-saved__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 0.7rem;
}

.hmq-saved__action {
	padding: 0;
	border: 0;
	background: none;
	color: var(--hmq-link);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.hmq-saved__action:hover {
	color: var(--hmq-link-hover);
}

.hmq-saved__action--danger {
	color: #9f1239;
}

.hmq-saved__action--danger:hover {
	color: #881337;
}

.hmq-saved--account {
	width: auto;
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.hmq-account-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: var(--hmq-muted, #57534e);
}

.hmq-account-dashboard {
	margin-top: 1rem;
}
