.eate-estimator {
	--eate-accent: #155eef;
	--eate-accent-contrast: #fff;
	--eate-border: #d8dee9;
	--eate-muted: #5b6576;
	--eate-surface: #fff;
	--eate-surface-soft: #f5f7fa;
	--eate-text: #172033;
	box-sizing: border-box;
	color: var(--eate-text);
	font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 24px auto;
	max-width: 1120px;
}

.eate-estimator *,
.eate-estimator *::before,
.eate-estimator *::after {
	box-sizing: inherit;
}

.eate-brand {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.eate-brand__identity {
	align-items: center;
	display: flex;
	gap: 11px;
}

.eate-brand__identity > div {
	display: grid;
}

.eate-brand__identity span:not(.eate-brand__mark) {
	color: var(--eate-muted);
	font-size: 13px;
}

.eate-brand__mark {
	align-items: center;
	background: var(--eate-accent);
	border-radius: 10px;
	color: var(--eate-accent-contrast);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	height: 40px;
	justify-content: center;
	letter-spacing: .04em;
	width: 40px;
}

.eate-badge {
	background: color-mix(in srgb, var(--eate-accent) 10%, #fff);
	border: 1px solid color-mix(in srgb, var(--eate-accent) 28%, #fff);
	border-radius: 999px;
	color: var(--eate-text);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
}

.eate-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}

.eate-tab {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 3px solid var(--eate-border);
	border-radius: 0;
	color: var(--eate-muted);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	padding: 10px 8px;
}

.eate-tab.is-active {
	border-color: var(--eate-accent);
	color: var(--eate-text);
	font-weight: 750;
}

.eate-tab:focus-visible,
.eate-button:focus-visible,
.eate-estimator input:focus-visible,
.eate-estimator select:focus-visible,
.eate-estimator textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--eate-accent) 34%, transparent);
	outline-offset: 2px;
}

.eate-shell {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
}

.eate-workspace,
.eate-summary {
	background: var(--eate-surface);
	border: 1px solid var(--eate-border);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(23, 32, 51, .07);
	padding: 22px;
}

.eate-panel[hidden] {
	display: none;
}

.eate-panel h3 {
	font-size: 18px;
	margin: 0 0 16px;
}

.eate-field-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eate-estimator label {
	color: var(--eate-text);
	display: grid;
	font-size: 14px;
	font-weight: 700;
	gap: 6px;
}

.eate-estimator input,
.eate-estimator select,
.eate-estimator textarea {
	background: var(--eate-surface);
	border: 1px solid var(--eate-border);
	border-radius: 9px;
	color: var(--eate-text);
	font: inherit;
	font-weight: 400;
	min-height: 44px;
	padding: 9px 11px;
	width: 100%;
}

.eate-estimator textarea {
	resize: vertical;
}

.eate-locked-trade {
	align-items: center;
	background: var(--eate-surface-soft);
	border: 1px solid var(--eate-border);
	border-radius: 9px;
	display: flex;
	font-weight: 700;
	min-height: 44px;
	padding: 9px 11px;
}

.eate-credit {
	font: 12px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: -10px auto 24px;
	max-width: 1120px;
	text-align: right;
}

.eate-credit a {
	color: #5b6576;
}

.eate-full {
	grid-column: 1 / -1;
}

.eate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.eate-button {
	align-items: center;
	appearance: none;
	background: var(--eate-surface);
	border: 1px solid var(--eate-border);
	border-radius: 9px;
	color: var(--eate-text);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	justify-content: center;
	min-height: 44px;
	padding: 9px 15px;
	text-decoration: none;
}

.eate-button:hover {
	border-color: var(--eate-accent);
	color: var(--eate-accent);
}

.eate-button--primary,
.eate-button--primary:hover {
	background: var(--eate-accent);
	border-color: var(--eate-accent);
	color: var(--eate-accent-contrast);
}

.eate-notice {
	background: var(--eate-surface-soft);
	border-left: 4px solid var(--eate-accent);
	margin-top: 16px;
	padding: 12px 14px;
}

.eate-notice--error,
.eate-photo-status:not(:empty) {
	color: #9f1c1c;
}

.eate-privacy-note,
.eate-photo-status {
	color: var(--eate-muted);
	font-size: 13px;
	margin: 12px 0 0;
}

.eate-photo-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 14px 0;
}

.eate-photo-grid figure {
	margin: 0;
}

.eate-photo-grid img {
	aspect-ratio: 1;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.eate-photo-grid figcaption {
	color: var(--eate-muted);
	font-size: 11px;
	overflow: hidden;
	padding-top: 4px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eate-total-card {
	background: linear-gradient(145deg, var(--eate-accent), color-mix(in srgb, var(--eate-accent) 70%, #111827));
	border-radius: 12px;
	color: var(--eate-accent-contrast);
	display: grid;
	gap: 4px;
	padding: 18px;
}

.eate-total-card strong {
	font-size: clamp(30px, 5vw, 46px);
	line-height: 1.1;
}

.eate-total-card small {
	opacity: .88;
}

.eate-breakdown {
	display: grid;
	margin: 16px 0;
}

.eate-breakdown > div {
	border-bottom: 1px solid var(--eate-border);
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 10px 2px;
}

.eate-summary__message {
	background: var(--eate-surface-soft);
	border-radius: 10px;
	padding: 14px;
}

.eate-summary__message p,
.eate-disclaimer {
	color: var(--eate-muted);
	font-size: 13px;
	margin: 6px 0 0;
}

.eate-disclaimer {
	margin-top: 16px;
}

.eate-proposal {
	border: 1px solid var(--eate-border);
	border-radius: 12px;
	margin-top: 18px;
	padding: 18px;
}

.eate-proposal__heading {
	align-items: start;
	border-bottom: 2px solid var(--eate-text);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 14px;
}

.eate-proposal__heading > div {
	display: grid;
}

.eate-proposal__heading span {
	color: var(--eate-muted);
	font-size: 13px;
}

.eate-proposal__details {
	display: grid;
	font-size: 14px;
	gap: 9px 14px;
	grid-template-columns: minmax(120px, .42fr) 1fr;
	margin: 0;
}

.eate-proposal__details dt {
	font-weight: 750;
}

.eate-proposal__details dd {
	margin: 0;
}

@media (max-width: 760px) {
	.eate-shell {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.eate-brand {
		align-items: flex-start;
		flex-direction: column;
	}

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

	.eate-field-grid {
		grid-template-columns: 1fr;
	}

	.eate-full {
		grid-column: auto;
	}

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

	.eate-proposal__heading {
		flex-direction: column;
	}

	.eate-proposal__details {
		grid-template-columns: 1fr;
	}

	.eate-proposal__details dd {
		border-bottom: 1px solid var(--eate-border);
		padding-bottom: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eate-estimator *,
	.eate-estimator *::before,
	.eate-estimator *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
