:root {
	--pce-estimate-bg: #f8fafc;
	--pce-estimate-border: #d7dde5;
	--pce-estimate-label-color: #475569;
	--pce-estimate-muted-color: #64748b;
	--pce-progress-complete: #0f766e;
	--pce-progress-current: #b45309;
	--pce-progress-line: #cbd5e1;
	--pce-progress-text: #0f172a;
	--pce-estimate-icon-color: #0f766e;
	--pce-callout-bg: #fffbeb;
	--pce-callout-border: #f59e0b;
}

.pce-estimate,
.pce-production-status,
.pce-production-timeline {
	border: 1px solid var(--pce-estimate-border);
	border-radius: 6px;
	padding: 12px 14px;
	margin: 12px 0;
	background: var(--pce-estimate-bg);
}

.pce-estimate-heading,
.pce-production-status-heading {
	display: grid;
	gap: 2px;
}

.pce-estimate-label {
	display: block;
	color: var(--pce-estimate-label-color);
	margin-bottom: 2px;
}

.pce-estimate-icon {
	color: var(--pce-estimate-icon-color);
	display: inline-block;
	height: 1em;
	margin-right: 6px;
	position: relative;
	top: 2px;
	width: 1em;
}

.pce-estimate-icon:before {
	border: 2px solid currentColor;
	border-radius: 3px;
	box-sizing: border-box;
	content: "";
	display: block;
	height: 1em;
	width: 1em;
}

.pce-estimate-icon-calendar:after {
	background: currentColor;
	box-shadow: .45em 0 0 currentColor;
	content: "";
	display: block;
	height: .18em;
	left: .2em;
	position: absolute;
	top: -.08em;
	width: .18em;
}

.pce-estimate-icon-clock:before {
	border-radius: 50%;
}

.pce-estimate-icon-clock:after {
	background: currentColor;
	box-shadow: .2em .2em 0 -.06em currentColor;
	content: "";
	display: block;
	height: .36em;
	left: .46em;
	position: absolute;
	top: .2em;
	width: .08em;
}

.pce-estimate strong {
	display: block;
}

.pce-estimate-heading strong,
.pce-production-status-heading strong {
	color: var(--pce-progress-text);
	font-size: 1.05em;
}

.pce-estimate small {
	display: block;
	margin-top: 4px;
	color: var(--pce-estimate-muted-color);
}

.pce-estimate-details,
.pce-customer-dates {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 10px 0 0;
}

.pce-estimate-details div,
.pce-customer-dates div {
	background: #fff;
	border: 1px solid var(--pce-estimate-border);
	border-radius: 6px;
	padding: 8px 10px;
}

.pce-estimate-details dt,
.pce-customer-dates dt {
	color: var(--pce-estimate-muted-color);
	font-size: 12px;
	margin: 0 0 2px;
}

.pce-estimate-details dd,
.pce-customer-dates dd {
	font-weight: 600;
	margin: 0;
}

.pce-estimate-disclaimer {
	border-top: 1px solid var(--pce-estimate-border);
	margin-top: 8px;
	padding-top: 8px;
}

.pce-customer-callout {
	background: var(--pce-callout-bg);
	border-left: 4px solid var(--pce-callout-border);
	border-radius: 4px;
	margin: 10px 0;
	padding: 8px 10px;
}

.pce-customer-callout strong,
.pce-customer-callout span {
	display: block;
}

.pce-customer-status-history {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.pce-customer-status-history li {
	border-top: 1px solid var(--pce-estimate-border);
	padding: 8px 0;
}

.pce-customer-status-history time,
.pce-customer-status-history strong,
.pce-customer-status-history span {
	display: block;
}

.pce-customer-status-history time {
	color: var(--pce-estimate-muted-color);
	font-size: 12px;
}

.pce-production-timeline h3 {
	margin: 0 0 10px;
}

.pce-pickup-scheduler {
	border: 1px solid var(--pce-estimate-border);
	border-radius: 6px;
	margin: 14px 0;
	padding: 12px 14px;
	background: #fff;
}

.pce-pickup-scheduler[data-pce-visible="no"] {
	display: none;
}

.pce-pickup-scheduler h3 {
	margin: 0 0 4px;
}

.pce-pickup-help {
	color: var(--pce-estimate-muted-color);
	margin: 0 0 10px;
}

.pce-pickup-scheduler select {
	width: 100%;
}

.pce-production-progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.pce-progress-step {
	position: relative;
	text-align: center;
	color: var(--pce-estimate-muted-color);
	font-size: 12px;
}

.pce-progress-step span {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid var(--pce-progress-line);
	background: #fff;
	margin: 0 auto 6px;
}

.pce-progress-step:before {
	content: "";
	position: absolute;
	top: 8px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--pce-progress-line);
	z-index: 0;
}

.pce-progress-step:first-child:before {
	display: none;
}

.pce-progress-step span,
.pce-progress-step strong {
	position: relative;
	z-index: 1;
}

.pce-progress-complete,
.pce-progress-current {
	color: var(--pce-progress-text);
}

.pce-progress-complete span {
	background: var(--pce-progress-complete);
	border-color: var(--pce-progress-complete);
}

.pce-progress-current span {
	background: #fff;
	border-color: var(--pce-progress-current);
	box-shadow: 0 0 0 3px rgba(180, 83, 9, .18);
}

.pce-progress-complete:before,
.pce-progress-current:before {
	background: var(--pce-progress-complete);
}

@media (max-width: 600px) {
	.pce-production-progress {
		grid-template-columns: 1fr;
	}

	.pce-progress-step {
		align-items: center;
		display: grid;
		gap: 8px;
		grid-template-columns: 18px 1fr;
		text-align: left;
	}

	.pce-progress-step span {
		margin: 0;
	}

	.pce-progress-step:before {
		display: none;
	}
}
