/* MRB Command website forms. Follows the theme's tokens where they exist (mrbalaclava: --mrb-color-*,
 * --mrb-display, --mrb-mono) and falls back to the brand colours, so the forms look right inside the
 * theme's pages, inside the product-page dialog and on a site without the theme. Light and night
 * follow html[data-theme]. Everything is scoped to .mrb-form. */

.mrb-form {
	--f-ink: var(--mrb-color-text, #1d2a33);
	--f-muted: var(--mrb-color-muted, #5b6b76);
	--f-title: var(--mrb-title, #0A3346);
	--f-eyebrow: var(--mrb-eyebrow, #0E6686);
	--f-primary: var(--mrb-color-primary, #13566E);
	--f-primary-hover: var(--mrb-color-primary-hover, #0E4560);
	--f-on-primary: var(--mrb-color-on-primary, #ffffff);
	--f-bg: var(--mrb-color-bg, #F2F5F7);
	--f-surface: var(--mrb-form-surface, #ffffff);
	--f-border: var(--mrb-color-border, #DCE4EA);
	--f-focus: var(--mrb-color-focus, #13566E);
	--f-error: #B42318;
	--f-error-bg: #FEF3F2;
	--f-ok: #1E8A5A;
	--f-ok-bg: #ECFDF3;
	--f-radius: var(--mrb-radius-md, 10px);
	--f-display: var(--mrb-display, 'Space Grotesk', 'Inter', system-ui, sans-serif);
	--f-mono: var(--mrb-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
	--f-body: var(--mrb-font-body, 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif);
	--f-shadow: 0 1px 2px rgba(10, 51, 70, .06), 0 8px 24px rgba(10, 51, 70, .06);
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	color: var(--f-ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
}
html[data-theme="night"] .mrb-form { /* 12.19.4: explicit night palette (the theme defines no night values for its colour tokens) */
	--f-ink: var(--mrb-color-text, #E6EEF3);
	--f-muted: var(--mrb-color-muted, #A3B3BF);
	--f-title: var(--mrb-color-text, #F2F7FA);
	--f-eyebrow: #4AB8D4;
	--f-primary: #1F6F8C;
	--f-primary-hover: #2A86A8;
	--f-on-primary: #ffffff;
	--f-bg: var(--mrb-color-bg, #0B1015);
	--f-surface: var(--mrb-form-surface, #141D26);
	--f-border: var(--mrb-color-border, #1E2830);
	--f-focus: #4AB8D4;
	--f-error: #F0918A;
	--f-error-bg: rgba(180, 35, 24, .2);
	--f-ok: #6FD3A1;
	--f-ok-bg: rgba(30, 138, 90, .2);
	--f-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
}
html[data-theme="night"] .mrb-form :is(input, select, textarea) { color-scheme: dark; }
html[data-theme="night"] .mrb-form__prefilled, html[data-theme="night"] .mrb-form__portal, html[data-theme="night"] .mrb-form__portal-link .mrb-form__btn--ghost:hover, html[data-theme="night"] .mrb-form .mrb-combobox__list li:hover, html[data-theme="night"] .mrb-form .mrb-combobox__list li[aria-selected=true] { background: rgba(74, 184, 212, .1); }
html[data-theme="night"] .mrb-form__portal { border-color: rgba(74, 184, 212, .3); }
html[data-theme="night"] .mrb-form__portal-link { border-top-color: rgba(255, 255, 255, .14); }
html[data-theme="night"] .mrb-form__portal-link .mrb-form__btn--ghost { color: #4AB8D4 !important; border-color: rgba(74, 184, 212, .5); }
html[data-theme="night"] .mrb-form__btn { background: #1F6F8C; }
html[data-theme="night"] .mrb-form__btn:hover { background: #2A86A8; }
html[data-theme="night"] .mrb-form .mrb-form__cards .mrb-card input:checked + .mrb-card__body { box-shadow: 0 0 0 3px rgba(74, 184, 212, .2); }
html[data-theme="night"] .mrb-form .mrb-combobox__list { background: #141D26; border-color: rgba(255, 255, 255, .16); }
.mrb-form *, .mrb-form *::before, .mrb-form *::after { box-sizing: inherit; }
.mrb-form__form { margin: 0; }
.mrb-form .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The trap field for robots: in the form, never on the screen. */
.mrb-form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Steps */
.mrb-form__step { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.mrb-form--js .mrb-form__step[data-hidden] { display: none; }
.mrb-form--js .mrb-form__step.is-active { display: block; animation: mrb-form-in .22s ease-out; }
@keyframes mrb-form-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mrb-form__legend {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0;
	font: 600 20px/1.25 var(--f-display); letter-spacing: var(--mrb-display-tracking, -.02em); color: var(--f-title);
}
.mrb-form--contact .mrb-form__legend, .mrb-form--contact_quick .mrb-form__legend { display: none; }
.mrb-form__step-no {
	display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--f-primary); color: var(--f-on-primary); font: 700 13px/1 var(--f-mono);
}
.mrb-form:not(.mrb-form--js) .mrb-form__step + .mrb-form__step { padding-top: 22px; border-top: 1px solid var(--f-border); }

/* Fields */
.mrb-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.mrb-form__grid .mrb-field { margin: 0; }
.mrb-field { margin: 0 0 16px; min-width: 0; }
.mrb-field--group { padding: 0; border: 0; }
.mrb-field__label {
	display: block; margin: 0 0 6px; padding: 0;
	font-size: 14px; font-weight: 600; color: var(--f-title); line-height: 1.35;
}
.mrb-field--required .mrb-field__label::after { content: ' *'; color: var(--f-primary); font-weight: 700; }
.mrb-field__opt { font-weight: 400; color: var(--f-muted); font-size: 12.5px; }
.mrb-field__input {
	display: block; width: 100%; min-height: 46px; padding: 11px 14px;
	font: inherit; font-size: 16px; color: var(--f-ink); background: var(--f-surface);
	border: 1.5px solid var(--f-border); border-radius: var(--f-radius);
	box-shadow: none; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s;
}
.mrb-field__input::placeholder { color: var(--f-muted); opacity: .8; }
.mrb-field__input:hover { border-color: color-mix(in srgb, var(--f-border), var(--f-primary) 35%); }
.mrb-field__input:focus { outline: none; border-color: var(--f-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-focus) 22%, transparent); }
.mrb-field__input--area { min-height: 128px; resize: vertical; line-height: 1.5; }
select.mrb-field__input {
	padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%235b6b76' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.mrb-field__hint { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--f-muted); }
.mrb-field__note { margin: 8px 0 0; padding: 8px 12px; font-size: 13px; line-height: 1.45; color: var(--f-title); background: var(--f-bg); border-left: 3px solid var(--f-primary); border-radius: 0 8px 8px 0; }
.mrb-field__error { margin: 6px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--f-error); }
.mrb-field__error::before { content: '⚠ '; }
.mrb-field.is-invalid .mrb-field__input { border-color: var(--f-error); }
.mrb-field.is-invalid .mrb-field__input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-error) 20%, transparent); }
.mrb-field.is-valid .mrb-field__input:not(:focus) { border-color: color-mix(in srgb, var(--f-ok) 55%, var(--f-border)); }

/* Quantity */
.mrb-field__qty { position: relative; }
.mrb-field__input--qty { padding-right: 84px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.mrb-field__input--qty::-webkit-outer-spin-button, .mrb-field__input--qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mrb-field__unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--f-muted); pointer-events: none; }
.mrb-form__picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mrb-form__pick {
	padding: 6px 12px; font: 600 13px/1.2 var(--f-mono); color: var(--f-primary);
	background: var(--f-surface); border: 1.5px solid var(--f-border); border-radius: 999px; cursor: pointer; transition: all .15s;
}
.mrb-form__pick:hover, .mrb-form__pick:focus-visible { border-color: var(--f-primary); outline: none; }
.mrb-form .mrb-form__pick.is-on, .mrb-form .mrb-form__pick.is-on:hover, .mrb-form .mrb-form__pick.is-on:focus-visible { background: var(--f-primary) !important; color: var(--f-on-primary) !important; border-color: var(--f-primary) !important; } /* 12.21.2: the theme's button:hover colour was winning (dark on dark) */
.mrb-form .mrb-form__pick:hover { background: color-mix(in srgb, var(--f-primary) 8%, var(--f-surface)); color: var(--f-title); }

/* Chips (customisation, timing) */
.mrb-form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mrb-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.mrb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mrb-chip span {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
	font-size: 14px; font-weight: 500; color: var(--f-ink); background: var(--f-surface);
	border: 1.5px solid var(--f-border); border-radius: 999px; transition: all .15s; line-height: 1.2;
}
.mrb-chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--f-muted); flex: none; transition: all .15s; }
.mrb-chip:hover span { border-color: var(--f-primary); }
.mrb-chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-focus) 22%, transparent); }
.mrb-chip input:checked + span { background: color-mix(in srgb, var(--f-primary) 10%, var(--f-surface)); border-color: var(--f-primary); color: var(--f-title); }
.mrb-chip input:checked + span::before { background: var(--f-primary); border-color: var(--f-primary); box-shadow: inset 0 0 0 2px var(--f-surface); }

/* Product card */
.mrb-form__product {
	display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 14px;
	background: var(--f-bg); border: 1px solid var(--f-border); border-radius: var(--f-radius);
}
.mrb-form__product-media { flex: none; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--f-surface); }
.mrb-form__product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mrb-form__product-media:empty { display: none; }
.mrb-form__product-body { min-width: 0; flex: 1; }
.mrb-form__kicker, .mrb-form__summary-title, .mrb-form__next-title {
	margin: 0 0 4px; font: 700 11.5px/1.35 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--f-eyebrow);
}
.mrb-form__product-name { margin: 0 0 4px; font: 600 17px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--f-title); }
.mrb-form__product-meta { margin: 0 0 6px; font-size: 13.5px; color: var(--f-muted); }
.mrb-form__tiers { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 2px; padding: 0; list-style: none; font: 500 13px/1.4 var(--f-mono); color: var(--f-title); }
.mrb-form__tiers li.is-on { color: var(--f-primary); font-weight: 700; }
.mrb-form__product .mrb-field__hint { margin-top: 4px; }

/* Files */
.mrb-form__drop {
	position: relative; display: grid; place-items: center; min-height: 92px; padding: 18px;
	text-align: center; background: var(--f-surface); border: 1.5px dashed var(--f-border); border-radius: var(--f-radius); transition: all .15s;
}
.mrb-form__drop.is-over { border-color: var(--f-primary); background: color-mix(in srgb, var(--f-primary) 6%, var(--f-surface)); }
.mrb-form__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mrb-form:not(.mrb-form--js) .mrb-form__file { position: static; opacity: 1; height: auto; }
.mrb-form__drop-text { margin: 0; font-size: 14px; color: var(--f-muted); pointer-events: none; }
.mrb-form__drop-text .mrb-form__link { pointer-events: auto; position: relative; z-index: 1; }
.mrb-form__files { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mrb-form__files li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13.5px; background: var(--f-bg); border-radius: 8px; }
.mrb-form__files li span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrb-form__files li small { color: var(--f-muted); font-family: var(--f-mono); }
.mrb-form__files button { border: 0; background: none; color: var(--f-error); font: 600 13px/1 inherit; cursor: pointer; padding: 4px; }

/* Consent, links */
.mrb-form__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; font-size: 14px; line-height: 1.45; cursor: pointer; }
.mrb-form__check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--f-primary); }
.mrb-form__check a, .mrb-form__link { color: var(--f-primary); text-decoration: underline; text-underline-offset: 2px; }
.mrb-form__link { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mrb-field--consent { margin-top: 18px; }
.mrb-field--consent .mrb-form__consent-text { margin: 0; } /* 12.18.0: the standard agreement line, no box */
.mrb-form__consent-text a { color: var(--f-primary); text-decoration: underline; text-underline-offset: 2px; }
.mrb-form__prefilled { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: rgba(14, 69, 96, .06); font-size: 13px; line-height: 1.45; color: var(--f-muted); }
.mrb-form__turnstile { margin: 14px 0 0; }
.mrb-form__consent-text { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--f-muted); }

/* Summary (step 3) */
.mrb-form__summary { margin: 0 0 20px; padding: 14px 16px; background: var(--f-bg); border-radius: var(--f-radius); }
.mrb-form__summary-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 8px; font-size: 14px; }
.mrb-form__summary-list dt { color: var(--f-muted); }
.mrb-form__summary-list dd { margin: 0; color: var(--f-title); overflow-wrap: anywhere; }

/* Navigation */
.mrb-form__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 0; }
.mrb-form__progress { margin-right: auto; font: 500 13px/1 var(--f-mono); color: var(--f-muted); letter-spacing: .04em; }
.mrb-form__btn, .mrb-form__submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
	font: 600 15px/1.2 var(--f-body); border-radius: var(--f-radius); border: 1.5px solid transparent; cursor: pointer; transition: all .15s;
}
.mrb-form__btn--primary, .mrb-form__submit { background: var(--f-primary); color: var(--f-on-primary); box-shadow: 0 6px 16px color-mix(in srgb, var(--f-primary) 28%, transparent); }
.mrb-form__btn--primary:hover, .mrb-form__submit:hover { background: var(--f-primary-hover); transform: translateY(-1px); }
.mrb-form__btn--ghost { background: transparent; color: var(--f-primary); border-color: var(--f-border); }
.mrb-form__btn--ghost:hover { border-color: var(--f-primary); }
.mrb-form__btn:focus-visible, .mrb-form__submit:focus-visible, .mrb-form__link:focus-visible, .mrb-form__pick:focus-visible { outline: 3px solid color-mix(in srgb, var(--f-focus) 45%, transparent); outline-offset: 2px; }
.mrb-form__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.mrb-form__submit[disabled]::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mrb-form-spin .7s linear infinite; }
@keyframes mrb-form-spin { to { transform: rotate(360deg); } }
.mrb-form--js .mrb-form__nav [hidden] { display: none; }
.mrb-form__reassure { margin: 12px 0 0; font-size: 13px; color: var(--f-muted); }
.mrb-form__status { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.mrb-form__status:empty { display: none; }
.mrb-form__status.is-error { padding: 10px 14px; color: var(--f-error); background: var(--f-error-bg); border-radius: 8px; }
.mrb-form__status.is-ok { padding: 10px 14px; color: var(--f-ok); background: var(--f-ok-bg); border-radius: 8px; }
.mrb-form__noscript { margin: 12px 0 0; font-size: 14px; color: var(--f-muted); }

/* Success */
.mrb-form__success { padding: 28px 24px; text-align: center; background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius); box-shadow: var(--f-shadow); animation: mrb-form-in .25s ease-out; }
.mrb-form__success:focus { outline: none; }
.mrb-form__success-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--f-ok-bg); color: var(--f-ok); font-size: 26px; font-weight: 700; }
.mrb-form__success-title { margin: 0 0 6px; font: 600 24px/1.2 var(--f-display); letter-spacing: var(--mrb-display-tracking, -.02em); color: var(--f-title); }
.mrb-form__success-ref { margin: 0 0 10px; font: 600 14px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--f-eyebrow); }
.mrb-form__success-ref:empty { display: none; }
.mrb-form__success-body { margin: 0 auto 18px; max-width: 520px; font-size: 15px; color: var(--f-ink); }
.mrb-form__next-title { margin: 20px 0 10px; }
.mrb-form__next { display: grid; gap: 8px; max-width: 520px; margin: 0 auto 18px; padding: 0 0 0 20px; text-align: left; font-size: 14px; color: var(--f-ink); }
.mrb-form__next li::marker { font-weight: 700; color: var(--f-primary); }
.mrb-form__success--inline { padding: 14px 16px; text-align: left; box-shadow: none; }
.mrb-form__success--inline .mrb-form__success-title { font-size: 15px; font-family: var(--f-body); font-weight: 600; color: var(--f-ok); }

/* Newsletter: one line */
.mrb-form--inline { max-width: 560px; margin: 0; }
.mrb-form__inline { display: flex; gap: 8px; align-items: flex-start; }
.mrb-form__inline .mrb-field { flex: 1; margin: 0; }
.mrb-form__inline .mrb-form__submit { min-height: 46px; white-space: nowrap; }
.mrb-form--inline .mrb-form__turnstile { margin-top: 10px; }

/* Inside the theme's product dialog */
dialog .mrb-form { max-width: none; }

@media (max-width: 640px) {
	.mrb-form { font-size: 15px; }
	.mrb-form__grid { grid-template-columns: 1fr; gap: 14px; }
	.mrb-form__legend { font-size: 18px; }
	.mrb-form__nav .mrb-form__btn, .mrb-form__nav .mrb-form__submit { flex: 1 1 auto; }
	.mrb-form__progress { width: 100%; order: -1; margin: 0 0 2px; }
	.mrb-form__product { gap: 12px; }
	.mrb-form__product-media { width: 64px; height: 64px; }
	.mrb-form__inline { flex-direction: column; }
	.mrb-form__inline .mrb-form__submit { width: 100%; }
	.mrb-form__summary-list { grid-template-columns: 1fr; gap: 2px 0; }
	.mrb-form__summary-list dt { margin-top: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.mrb-form *, .mrb-form *::before { animation: none !important; transition: none !important; }
}

/* 12.14.0: the Client Portal invitation on the success panel */
.mrb-form__portal { margin: 18px 0 8px; padding: 14px 16px; border: 1px solid rgba(14, 69, 96, .18); border-radius: 12px; background: rgba(14, 69, 96, .05); text-align: left; }
.mrb-form__portal-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.mrb-form__portal-body { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.mrb-form__portal-actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mrb-form__portal-link { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(14, 69, 96, .14); }
.mrb-form__portal-link .mrb-form__btn--ghost { background: transparent; color: #0e4560 !important; border: 1px solid rgba(14, 69, 96, .35); }
.mrb-form__portal-link .mrb-form__btn--ghost:hover { background: rgba(14, 69, 96, .06); }
.mrb-form__portal-link .mrb-form__btn[disabled] { opacity: .6; cursor: default; }
.mrb-form__portal-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--f-muted); }
.mrb-form__portal-note { margin: 8px 0 0; font-size: 14px; line-height: 1.5; font-weight: 600; }
.mrb-form__portal-note.is-error { color: var(--f-error, #b32d2e); font-weight: 500; }
.mrb-form__btn { display: inline-block; padding: 10px 18px; border-radius: 8px; background: #0e4560; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; }
.mrb-form__btn:hover { background: #0b3a51; }

/* 12.15.0 / 12.15.1: choice cards (sample, design stage), conditional blocks, the difference note.
   Every part names its display and sits under .mrb-form, so a host stylesheet that restyles label or span
   (the quote dialog did) cannot turn the card back into inline fragments. */
.mrb-form .mrb-field--choice .mrb-field__label { display: block; margin-bottom: 8px; }
.mrb-form .mrb-form__cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .mrb-form .mrb-form__cards { grid-template-columns: 1fr 1fr; } }
.mrb-form .mrb-form__cards .mrb-card { position: relative; display: block; margin: 0; padding: 0; min-width: 0; cursor: pointer; font-weight: 400; }
.mrb-form .mrb-form__cards .mrb-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mrb-form .mrb-form__cards .mrb-card__body { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; align-items: start; box-sizing: border-box; width: 100%; min-height: 100%; padding: 12px 14px; border: 1.5px solid var(--f-line, #d8dee4); border-radius: 12px; background: var(--f-surface, #fff); transition: border-color .15s, box-shadow .15s; }
.mrb-form .mrb-form__cards .mrb-card__body::before { content: ""; display: block; grid-row: 1 / span 2; width: 16px; height: 16px; margin-top: 2px; border: 2px solid var(--f-line, #c5ced6); border-radius: 50%; background: #fff; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.mrb-form .mrb-form__cards .mrb-card__title { display: block; grid-column: 2; font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--f-title, inherit); }
.mrb-form .mrb-form__cards .mrb-card__text { display: block; grid-column: 2; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--f-muted, #5b6770); }
.mrb-form .mrb-form__cards .mrb-card input:checked + .mrb-card__body { border-color: var(--f-primary, #0e4560); box-shadow: 0 0 0 3px rgba(14, 69, 96, .12); }
.mrb-form .mrb-form__cards .mrb-card input:checked + .mrb-card__body::before { border-color: var(--f-primary, #0e4560); box-shadow: inset 0 0 0 4px var(--f-primary, #0e4560); }
.mrb-form .mrb-form__cards .mrb-card input:focus-visible + .mrb-card__body { outline: 2px solid var(--f-primary, #0e4560); outline-offset: 2px; }
.mrb-form .mrb-form__cards .mrb-card:hover .mrb-card__body { border-color: var(--f-primary, #0e4560); }
.mrb-form .mrb-field--choice.is-invalid .mrb-card__body { border-color: var(--f-danger, #b42318); }
.mrb-form .mrb-form__more { display: block; margin: 10px 0 0; font-size: 13.5px; color: var(--f-muted, #5b6770); }
.mrb-form .mrb-form__more summary { cursor: pointer; color: var(--f-primary, #0e4560); font-weight: 600; }
.mrb-form .mrb-form__more p { margin: 8px 0 0; line-height: 1.5; }
.mrb-form .mrb-form__when { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--f-line, #d8dee4); }
.mrb-form .mrb-form__when[hidden], .mrb-form .mrb-form__family[hidden] { display: none !important; }
.mrb-form .mrb-form__family .mrb-field--group { margin-bottom: 14px; }

/* 12.16.0: calling code + searchable country */
.mrb-form .mrb-field__phone { display: flex; gap: 8px; align-items: stretch; }
.mrb-form .mrb-field__input--cc { flex: 0 0 auto; width: 9.5rem; max-width: 42%; padding-right: 28px; }
.mrb-form .mrb-field__phone input[name=phone] { flex: 1; min-width: 0; }
.mrb-form .mrb-combobox { position: relative; }
.mrb-form .mrb-combobox.is-ready select[name=country] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mrb-form .mrb-combobox__input[hidden] { display: none; }
.mrb-form .mrb-combobox__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; max-height: 260px; overflow-y: auto; background: var(--f-surface, #fff); border: 1px solid var(--f-line, #d8dee4); border-radius: 10px; box-shadow: 0 10px 30px rgba(14, 69, 96, .14); }
.mrb-form .mrb-combobox__list[hidden] { display: none; }
.mrb-form .mrb-combobox__list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.mrb-form .mrb-combobox__list li:hover, .mrb-form .mrb-combobox__list li[aria-selected=true] { background: rgba(14, 69, 96, .08); }
.mrb-form .mrb-combobox__none { color: var(--f-muted, #5b6770); cursor: default; }

/* 12.47.0: the Contact page's quote form — product types with photos, quantity ranges, the sample tick */
.mrb-form__types { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 4px; }
.mrb-type { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px 12px; text-align: center; background: var(--f-surface); border: 1.5px solid var(--f-border); border-radius: var(--f-radius); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mrb-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mrb-type__media { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--f-bg); }
.mrb-type__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mrb-type__plus { font-size: 34px; line-height: 1; color: var(--f-muted); }
.mrb-type__name { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--f-title); }
.mrb-type::after { content: '✓'; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 700; color: #fff; background: var(--f-primary); opacity: 0; transform: scale(.6); transition: all .15s; }
.mrb-type:hover { border-color: var(--f-primary); }
.mrb-type:has(input:checked) { border-color: var(--f-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-primary) 14%, transparent); }
.mrb-type:has(input:checked)::after { opacity: 1; transform: scale(1); }
.mrb-type:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-focus) 30%, transparent); }
.mrb-form__ranges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mrb-range { position: relative; margin: 0; cursor: pointer; }
.mrb-range input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mrb-range span { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; padding: 11px 16px; font-size: 15px; font-weight: 600; color: var(--f-text, var(--f-title)); background: var(--f-surface); border: 1.5px solid var(--f-border); border-radius: 999px; transition: all .15s; }
.mrb-range:hover span { border-color: var(--f-primary); }
.mrb-range input:checked + span { color: #fff; background: var(--f-primary); border-color: var(--f-primary); }
.mrb-range input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-focus) 30%, transparent); }
.mrb-field--check .mrb-check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--f-title); cursor: pointer; }
.mrb-field--check .mrb-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--f-primary); flex: none; }
.mrb-field--check .mrb-field__hint { margin-left: 30px; }
.mrb-field--group > .mrb-field__hint:first-of-type { margin: 2px 0 8px; }
@media (max-width: 420px) { .mrb-form__types { grid-template-columns: repeat(2, 1fr); } .mrb-range span { min-width: 0; } }
.mrb-form--contact_quote .mrb-form__grid + .mrb-field { margin-top: 14px; }
/* 12.47.1: Contact page quote — styles under each chosen type, the sample cards' Help Center links */
.mrb-form--contact_quote .mrb-form__styles { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--f-primary) 5%, var(--f-surface)); }
.mrb-form--contact_quote .mrb-form__styles .mrb-field { margin: 0; }
.mrb-form .mrb-form__cards .mrb-card__link { display: inline-block; grid-column: 2; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--f-primary); text-decoration: underline; text-underline-offset: 2px; }
