/*
 * MPD Part Builder stylesheet.
 * All selectors namespaced under .mpd-pb to avoid leaking into the host theme.
 * Targets modern browsers (Chrome 88+, Safari 15+, Firefox 89+).
 */

.mpd-pb {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	font-family: inherit;
	color: #222;
	box-sizing: border-box;
}

.mpd-pb *,
.mpd-pb *::before,
.mpd-pb *::after {
	box-sizing: border-box;
}

@media (max-width: 1023px) {
	.mpd-pb {
		grid-template-columns: 1fr;
	}
}

/* --- Canvas -------------------------------------------------------------- */

.mpd-pb__canvas {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	order: 1;
}

@media (max-width: 1023px) {
	.mpd-pb__canvas {
		min-height: 320px;
	}
}

/* Desktop: keep the preview in view while the long controls column scrolls.
   align-self:start stops the grid item stretching to the row height, giving
   sticky room to travel. top clears the site's fixed sticky header (promo bar
   + Elementor nav measured to ~174px bottom). Tune this single value if the
   theme header height changes. */
@media (min-width: 1024px) {
	.mpd-pb__canvas {
		position: sticky;
		top: 180px;
		align-self: start;
	}
}

.mpd-pb__svg {
	width: 100%;
	height: 100%;
	max-height: 600px;
	display: block;
}

/* --- Controls column ----------------------------------------------------- */

.mpd-pb__controls {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	order: 2;
}

.mpd-pb__controls fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.mpd-pb__controls legend {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
	color: #444;
	margin-bottom: 0.5rem;
	padding: 0;
}

/* --- Shape picker -------------------------------------------------------- */

.mpd-pb__shape-picker {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.35rem;
}

.mpd-pb__shape-picker legend {
	grid-column: 1 / -1;
}

.mpd-pb__shape-btn {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	aspect-ratio: 1 / 1;
	display: grid;
	/* Two rows: icon takes the top 65% (square area, icon centred);
	   label takes the bottom 35% (fixed height, text centred). This keeps
	   every icon at the same y-position regardless of label wrap. */
	grid-template-rows: 1fr 2.2em;
	justify-items: center;
	align-items: center;
	cursor: pointer;
	padding: 0.3rem;
	transition: border-color 120ms ease, background-color 120ms ease;
}

.mpd-pb__shape-btn:hover {
	border-color: #888;
}

.mpd-pb__shape-btn:focus-visible {
	outline: 2px solid #228B22;
	outline-offset: 2px;
}

.mpd-pb__shape-btn.is-active {
	border: 2px solid #228B22;
	background: #f0f8f0;
	padding: calc(0.3rem - 1px);
}

.mpd-pb__shape-icon {
	/* Fixed square viewport — fills the icon-row of the grid uniformly.
	   object-fit: contain keeps the SVG centred and undistorted. */
	width: 80%;
	max-width: 60px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	display: block;
	pointer-events: none;
	align-self: end; /* sit at the bottom of the icon row, just above label */
}

.mpd-pb__shape-label {
	font-size: 0.65rem;
	text-align: center;
	line-height: 1.15;
	color: #333;
	align-self: start; /* sit at the top of the label row */
	/* Allow up to 2 lines, centred vertically in the row */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* Custom holes panel */
.mpd-pb__holes {
	border: none;
	padding: 0;
	margin: 0;
}
.mpd-pb__holes legend {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #666;
	font-weight: 600;
	padding: 0;
	margin-bottom: 0.4rem;
}
.mpd-pb__holes-empty {
	font-size: 0.8rem;
	color: #888;
	margin: 0 0 0.5rem;
}
.mpd-pb__holes-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 0.5rem;
}
.mpd-pb__hole-row {
	/* Flex-wrap (not a fixed grid) so the row adapts to a variable number of
	   fields: circle (Type,X,Y,⌀), rect (Type,X,Y,W,L), slot (+Dir). Labels
	   stack above each input so values stay readable and the row wraps cleanly
	   in the narrow builder column instead of squashing the X/Y inputs. */
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.5rem;
	align-items: flex-end;
	padding: 0.35rem 0.4rem;
	border-radius: 4px;
	border: 1px solid transparent;
}
.mpd-pb__hole-row--invalid {
	border-color: #c00;
	background: #fef4f4;
}
.mpd-pb__hole-row--invalid .mpd-pb__hole-field input {
	border-color: #c00;
}
.mpd-pb__hole-row-errors {
	font-size: 0.75rem;
	color: #c00;
	line-height: 1.3;
	padding: 0 0.4rem 0.25rem 2rem; /* indent to align with input columns */
}
.mpd-pb__hole-row-errors p {
	margin: 0 0 0.15rem;
}
.mpd-pb__hole-global-error {
	font-size: 0.8rem;
	color: #c00;
	background: #fef4f4;
	border: 1px solid #f5b5b5;
	border-radius: 4px;
	padding: 0.4rem 0.6rem;
	margin: 0 0 0.5rem;
}
.mpd-pb__hole-global-error p { margin: 0; }
.mpd-pb__feature-error {
	font-size: 0.8rem;
	color: #c00;
	background: #fef4f4;
	border: 1px solid #f5b5b5;
	border-radius: 4px;
	padding: 0.4rem 0.6rem;
	margin: 0 0 0.5rem;
}
.mpd-pb__feature-error p { margin: 0 0 0.2rem; }
.mpd-pb__feature-error p:last-child { margin: 0; }
.mpd-pb__dim-help {
	display: block;
	font-size: 0.72rem;
	color: #777;
	margin-top: 0.15rem;
}
.mpd-pb__opt-row {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.3rem;
}

/* Q7 — sub-toggle (Show positions) indented under Show dimensions */
.mpd-pb__opt-row--sub {
	margin-left: 1.4rem;
	margin-top: 0.15rem;
}
.mpd-pb__opt-row--sub .mpd-pb__opt-label {
	font-size: 0.9em;
	color: #555;
}
.mpd-pb__opt-input { width: auto; margin: 0; }
.mpd-pb__opt-label { font-size: 0.85rem; cursor: pointer; }
.mpd-pb__mat-info {
	margin-top: 0.5rem;
	font-size: 0.82rem;
}
.mpd-pb__mat-info summary {
	cursor: pointer;
	color: #036;
	font-weight: 600;
}
.mpd-pb__mat-info-list { margin: 0.4rem 0 0; }
.mpd-pb__mat-info-list dt { font-weight: 600; margin-top: 0.4rem; }
.mpd-pb__mat-info-list dd { margin: 0.1rem 0 0; color: #555; }
.mpd-pb__hole-num {
	font-size: 0.75rem;
	color: #666;
	font-weight: 600;
	min-width: 1.5em;
}
.mpd-pb__hole-field {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	flex: 0 0 auto;
}
.mpd-pb__hole-key {
	font-size: 0.72rem;
	color: #666;
	line-height: 1;
}
.mpd-pb__hole-field input {
	width: 4rem;
	min-width: 0;
	padding: 0.3rem 0.4rem;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.85rem;
	font-family: inherit;
	box-sizing: border-box;
}
.mpd-pb__hole-field select {
	width: auto;
	max-width: 7.5rem;
	padding: 0.3rem 0.4rem;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.85rem;
	font-family: inherit;
	box-sizing: border-box;
}
.mpd-pb__hole-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 1px solid #ccc;
	border-radius: 3px;
	width: 1.8em;
	height: 1.8em;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	color: #c00;
	padding: 0;
}
.mpd-pb__hole-remove:hover {
	background: #fee;
	border-color: #c00;
}
.mpd-pb__hole-centre {
	align-self: flex-end;
	background: none;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 0.2rem 0.5rem;
	font-size: 0.72rem;
	line-height: 1.4;
	color: #555;
	cursor: pointer;
	white-space: nowrap;
}
.mpd-pb__hole-centre:hover {
	background: #f5f5f5;
	border-color: #555;
	color: #222;
}
.mpd-pb__hole-add {
	background: #fff;
	border: 1px dashed #888;
	border-radius: 4px;
	padding: 0.4rem 0.8rem;
	font-size: 0.85rem;
	cursor: pointer;
	color: #555;
}
.mpd-pb__hole-add:hover {
	background: #f5f5f5;
	border-color: #555;
	color: #222;
}
.mpd-pb__hole-add:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 767px) {
	.mpd-pb__shape-picker {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- Dimension rows ------------------------------------------------------ */

.mpd-pb__dim-row {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 0.5rem;
}

.mpd-pb__dim-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
	font-weight: 600;
}

.mpd-pb__dim-input {
	padding: 0.5rem 0.6rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fff;
	color: #222;
	width: 100%;
}

.mpd-pb__dim-input:focus {
	outline: none;
	border-color: #228B22;
	box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.2);
}

.mpd-pb__dim-input:invalid,
.mpd-pb__dim-input[aria-invalid="true"],
.mpd-pb__dim-input--invalid {
	border-color: #c00;
	background: #fef4f4;
}
.mpd-pb__dim-input--invalid:focus {
	border-color: #c00;
	box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.2);
}

.mpd-pb__dim-error {
	font-size: 0.75rem;
	color: #c00;
	margin-top: 0.2rem;
	min-height: 1em;
}

/* --- Material section (reuses dim-row pattern) --------------------------- */

.mpd-pb__material .mpd-pb__dim-row {
	margin-bottom: 0.5rem;
}

.mpd-pb__material select,
.mpd-pb__mat-select {
	padding: 0.5rem 0.6rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fff;
	color: #222;
	width: 100%;
}

.mpd-pb__material select:focus,
.mpd-pb__mat-select:focus {
	outline: none;
	border-color: #228B22;
	box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.2);
}

/* --- Price box ----------------------------------------------------------- */

.mpd-pb__price-box {
	background: #f5f5f5;
	padding: 0.9rem;
	border-radius: 6px;
}

.mpd-pb__price-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #666;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.mpd-pb__price-value {
	font-size: 1.8rem;
	font-weight: 700;
	color: #222;
	line-height: 1.1;
}
.mpd-pb__price-breakdown {
	margin-top: 0.3rem;
	font-size: 0.75rem;
	color: #555;
	line-height: 1.25;
}
.mpd-pb__price-hint {
	margin-top: 0.3rem;
	font-size: 0.8rem;
	color: #888;
	font-style: italic;
	line-height: 1.3;
}
.mpd-pb__price-hint--error {
	color: #c00;
	font-style: normal;
	font-weight: 500;
}

/* --- Price panel — SAVE badge + ladder (v0.9.0) -------------------------- */

.mpd-pb__price-save {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.35rem;
}

.mpd-pb__save-badge {
	display: inline-block;
	background: #228B22;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.15em 0.5em;
	border-radius: 3px;
	text-transform: uppercase;
}

.mpd-pb__ladder {
	margin-top: 0.6rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	font-size: 0.8rem;
}

.mpd-pb__ladder-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.6rem;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	transition: background-color 80ms ease;
}

.mpd-pb__ladder-row:last-child {
	border-bottom: none;
}

.mpd-pb__ladder-row:hover {
	background: #f0f8f0;
}

.mpd-pb__ladder-row--current {
	background: #e8f5e9;
	font-weight: 600;
}

.mpd-pb__ladder-row--current:hover {
	background: #d7f0d9;
}

.mpd-pb__ladder-row--best {
	border-top: 1px solid #228B22;
}

.mpd-pb__ladder-qty {
	min-width: 2.8rem;
	color: #555;
}

.mpd-pb__ladder-price {
	flex: 1;
	font-weight: 600;
	color: #222;
}

.mpd-pb__ladder-save {
	color: #228B22;
	font-size: 0.7rem;
	font-weight: 700;
}

.mpd-pb__ladder-best {
	color: #228B22;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-left: auto;
}

/* --- CTA button ---------------------------------------------------------- */

.mpd-pb__cta {
	background: #222;
	color: #fff;
	border: none;
	padding: 0.85rem 1rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 1rem;
	font-family: inherit;
	cursor: pointer;
	width: 100%;
	transition: background-color 120ms ease, opacity 120ms ease;
}

.mpd-pb__cta:hover:not(:disabled) {
	background: #000;
}

.mpd-pb__cta:focus-visible {
	outline: 2px solid #228B22;
	outline-offset: 2px;
}

.mpd-pb__cta:disabled,
.mpd-pb__cta[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* An add-to-cart is in flight ("Adding…") — progress, not refusal. */
.mpd-pb__cta[aria-busy="true"],
.mpd-pb__sticky-cta[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

/* --- Corner finish ------------------------------------------------------- */

.mpd-pb__corner-apply {
	gap: 0.3rem 1rem;
	align-items: center;
}
.mpd-pb__corner-apply-opt {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.85rem;
	cursor: pointer;
}
.mpd-pb__corner-checklist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.6rem;
	padding: 0.25rem 0.4rem 0.4rem;
}
.mpd-pb__corner-check {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.85rem;
	cursor: pointer;
}

/* --- WAPF host ----------------------------------------------------------- */

.mpd-pb__wapf-host {
	grid-column: 1 / -1;
}

.mpd-pb__wapf-host[hidden] {
	display: none !important;
}

/* --- Intro block (above the builder grid) -------------------------------- */

.mpd-pb__intro {
	max-width: 1200px;
	margin: 0 auto 1.5rem;
	text-align: center;
	padding: 0 1rem;
}

.mpd-pb__intro-headline {
	font-size: 1.6rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 0.5rem;
	line-height: 1.25;
}

.mpd-pb__intro-subline {
	font-size: 1rem;
	color: #555;
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

/* 3-step strip — numbered <ol>, inline-flex row on desktop */

.mpd-pb__steps {
	display: inline-flex;
	flex-direction: row;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #dde;
	border-radius: 6px;
	overflow: hidden;
	counter-reset: step;
}

.mpd-pb__step {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #444;
	background: #f7f7fb;
	counter-increment: step;
	position: relative;
}

.mpd-pb__step + .mpd-pb__step {
	border-left: 1px solid #dde;
}

.mpd-pb__step::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4em;
	height: 1.4em;
	border-radius: 50%;
	background: #0a66c2;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.mpd-pb__intro-headline {
		font-size: 1.25rem;
	}

	.mpd-pb__steps {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 320px;
		text-align: left;
	}

	.mpd-pb__step + .mpd-pb__step {
		border-left: none;
		border-top: 1px solid #dde;
	}
}

/* --- CTA wrap + cart badge ----------------------------------------------- */

.mpd-pb__cta-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

/* Add-to-cart stays full-width; the two secondary actions share one aligned,
   equal-width row (wrapping to stack only when narrower than ~140px each). */
.mpd-pb__secondary-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.mpd-pb__secondary-actions > * {
	flex: 1 1 140px;
}

/* Downloads explainer — free PDF proof now + DXF after ordering */
.mpd-pb__downloads-note {
	font-size: 0.82rem;
	color: #555;
	line-height: 1.45;
	margin: 0; /* spacing handled by .mpd-pb__cta-wrap gap */
}

/* Cart-count badge — small pill inside / adjacent to the CTA */
.mpd-pb__cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25em;
	height: 1.25em;
	padding: 0 0.3em;
	border-radius: 999px;
	background: #228B22;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	margin-left: 0.4em;
	vertical-align: middle;
}

.mpd-pb__cart-badge[hidden] {
	display: none;
}

/* --- Add-to-cart inline confirmation ------------------------------------- */

.mpd-pb__cart-confirm {
	margin-top: 0; /* spacing handled by .mpd-pb__cta-wrap gap */
	padding: 0.7rem 0.9rem;
	background: #f0faf0;
	border: 1px solid #a8d5a8;
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.8rem;
}

.mpd-pb__cart-confirm[hidden] {
	display: none;
}

.mpd-pb__cart-confirm-msg {
	font-weight: 600;
	color: #1a6e1a;
	flex: 0 0 auto;
}

.mpd-pb__view-basket {
	background: #228B22;
	color: #fff;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.35em 0.8em;
	border-radius: 4px;
	transition: background-color 100ms ease;
}

.mpd-pb__view-basket:hover {
	background: #1a6e1a;
	color: #fff;
}

.mpd-pb__view-basket:focus-visible {
	outline: 2px solid #228B22;
	outline-offset: 2px;
}

.mpd-pb__keep-designing {
	background: transparent;
	border: 1px solid #888;
	color: #444;
	font-size: 0.85rem;
	font-weight: 500;
	padding: 0.35em 0.8em;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 100ms ease, border-color 100ms ease;
}

.mpd-pb__keep-designing:hover {
	background: #f5f5f5;
	border-color: #555;
}

/* --- Sticky price + Add-to-cart bar -------------------------------------- */

/*
 * Desktop: position:sticky so the bar scrolls with the controls column and
 * stays visible at the bottom of the viewport when the user scrolls past
 * the main price box. This avoids a fixed-position overlay covering content.
 *
 * Mobile (≤767 px): position:fixed pinned to the bottom edge of the
 * viewport; .mpd-pb gets extra bottom padding so the last control is
 * never hidden beneath the bar.
 */

.mpd-pb__sticky-bar {
	max-width: 1200px;
	margin: 0.75rem auto 0;
	padding: 0.65rem 1rem;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	position: sticky;
	bottom: 1rem;
	z-index: 10;
}

.mpd-pb__sticky-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: #222;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Blocking reason shown in place of the price when add-to-cart is disabled.
   Override nowrap/ellipsis so the full DFM message is readable. */
.mpd-pb__sticky-price--error {
	color: #c00;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: normal;
	overflow: visible;
	line-height: 1.35;
}

/* Reuse the main CTA styles — just scope the width */
.mpd-pb__sticky-cta {
	background: #222;
	color: #fff;
	border: none;
	padding: 0.7rem 1.2rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.95rem;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color 120ms ease, opacity 120ms ease;
}

.mpd-pb__sticky-cta:hover:not(:disabled) {
	background: #000;
}

.mpd-pb__sticky-cta:focus-visible {
	outline: 2px solid #228B22;
	outline-offset: 2px;
}

.mpd-pb__sticky-cta:disabled,
.mpd-pb__sticky-cta[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

@media (max-width: 767px) {
	/* Pin to bottom on mobile */
	.mpd-pb__sticky-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0;
		border-radius: 0;
		border-left: none;
		border-right: none;
		border-bottom: none;
		/* Safe-area inset for notched phones */
		padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
	}

	/* Extra bottom padding so the fixed bar doesn't cover the last control */
	.mpd-pb {
		padding-bottom: 5rem;
	}
}

/* ── Proof PDF download button (v0.9.0) ─────────────────────────────────── */

.mpd-pb__proof-btn,
.mpd-pb__copy-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	padding: 0.45em 1em;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	color: #4a5568;
	background: transparent;
	border: 1px solid #cbd5e0;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.mpd-pb__proof-btn:hover,
.mpd-pb__proof-btn:focus,
.mpd-pb__copy-link:hover,
.mpd-pb__copy-link:focus {
	background: #f7fafc;
	border-color: #a0aec0;
	color: #2d3748;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.mpd-pb__proof-btn:focus-visible,
.mpd-pb__copy-link:focus-visible {
	outline: 2px solid #3182ce;
	outline-offset: 2px;
}

.mpd-pb__proof-btn:disabled,
.mpd-pb__proof-btn[disabled] {
	opacity: 0.45;
	cursor: wait;
	pointer-events: none;
}

/* DXF download link in order/My Account views */
.mpd-pb-dxf-dl {
	display: inline-block;
	margin-top: 0.25em;
	font-size: 0.85em;
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mpd-pb-dxf-dl:hover,
.mpd-pb-dxf-dl:focus {
	color: #1d4ed8;
}
