:root {
  --ink: #16222f;
  --ink-soft: #344456;
  --muted: #687686;
  --green: #087f5b;
  --green-dark: #056747;
  --green-soft: #eaf7f1;
  --coral: #cf3f29;
  --coral-dark: #b53222;
  --coral-soft: #fff0eb;
  --amber: #f2b93f;
  --amber-soft: #fff7df;
  --danger: #bd3447;
  --danger-soft: #fff1f3;
  --line: #dbe2e8;
  --line-strong: #c8d1d9;
  --surface: #fff;
  --surface-soft: #f6f8f9;
  --background: #edf1f2;
  --shadow: 0 24px 64px rgba(22, 34, 47, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--background); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; letter-spacing: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(8, 127, 91, .2); outline-offset: 2px; }

.page-shell { min-height: 100vh; padding: 28px; background-color: var(--background); background-image: linear-gradient(rgba(22, 34, 47, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 34, 47, .026) 1px, transparent 1px); background-size: 32px 32px; }
.campaign-card { width: min(1120px, 100%); min-height: calc(100vh - 56px); margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(200, 209, 217, .9); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }

.brand-header { min-height: 78px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); font-size: 22px; font-weight: 850; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; line-height: 1.2; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; color: #426658; font-size: 12px; font-weight: 700; white-space: nowrap; }
.secure-badge i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 12px; font-style: normal; }

.campaign-layout { flex: 1; display: block; }
.form-panel { width: 100%; min-width: 0; padding: 0 48px 54px; background: var(--surface); }
.stepper { position: relative; width: min(720px, 100%); min-height: 102px; margin: 0 auto 46px; display: flex; align-items: center; justify-content: space-between; }
.stepper::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 42px; height: 2px; background: var(--line); }
.step { position: relative; z-index: 1; min-width: 0; flex: 1; color: #909ba7; text-align: center; }
.step > span { width: 34px; height: 34px; margin: 0 auto 9px; display: grid; place-items: center; border: 2px solid var(--line-strong); border-radius: 50%; color: #788592; background: var(--surface); font-size: 11px; font-weight: 800; }
.step small { display: block; font-size: 11px; font-weight: 700; white-space: nowrap; }
.step.complete { color: var(--green); }
.step.complete > span { color: #fff; border-color: var(--green); background: var(--green); }
.step.active { color: var(--ink); }
.step.active > span { color: #fff; border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 5px var(--coral-soft); }

.form-content { width: 100%; max-width: 610px; margin: 0 auto; }
.form-content.wide { max-width: 820px; }
.form-heading { margin-bottom: 32px; }
.form-heading > span { display: block; margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.form-heading h2 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; letter-spacing: 0; }
.form-heading p { max-width: 580px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.status-box, .form-message { margin-bottom: 20px; padding: 13px 14px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; line-height: 1.5; }
.status-box.loading { color: #315e79; border-color: #c7dce8; background: #f0f7fb; }
.status-box.success, .form-message.success { color: var(--green-dark); border-color: #bfe2d4; background: var(--green-soft); }
.status-box.error, .form-message.error { color: #96293b; border-color: #efc3cb; background: var(--danger-soft); }
.status-icon { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: currentColor; font-size: 11px; font-weight: 900; }
.status-box strong, .status-box small { display: block; }
.status-box small { margin-top: 2px; opacity: .82; }
.retry-button { min-height: 38px; margin: -8px 0 20px; padding: 0 13px; border: 1px solid #abd7c7; border-radius: 6px; color: var(--green-dark); background: var(--green-soft); font-size: 11px; font-weight: 800; }

.field { margin-bottom: 20px; }
.field label, .select-field label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.field label em { color: var(--danger); font-style: normal; }
.input-wrap { min-height: 52px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.input-wrap:hover { border-color: #aeb9c3; }
.input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8, 127, 91, .11); }
.input-wrap > span { width: 50px; flex: 0 0 50px; color: #778491; text-align: center; border-right: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.input-wrap input { width: 100%; height: 50px; padding: 0 15px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.input-wrap input::placeholder, .select-field input::placeholder { color: #9aa4ae; }
.input-wrap.no-prefix input { padding-left: 15px; }
.date-input-wrap { position: relative; }
.date-input-wrap input { position: relative; z-index: 1; }
.date-input-wrap > .date-placeholder { display: none; }
.has-error .input-wrap { border-color: var(--danger); background: #fffafb; }
.field-error, .field-hint { display: block; margin-top: 7px; font-size: 11px; line-height: 1.45; }
.field-error { color: var(--danger); font-weight: 700; }
.field-hint { color: #7c8996; }
.consent { margin: 3px 0 20px; display: flex; gap: 10px; align-items: flex-start; color: #596879; font-size: 12px; line-height: 1.5; cursor: pointer; }
.consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--green); }
.consent span { min-width: 0; overflow-wrap: anywhere; }
.consent-error { margin: -13px 0 16px; }

.primary-button, .secondary-button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 6px; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.primary-button { width: 100%; border: 1px solid var(--green); color: #fff; background: var(--green); box-shadow: 0 8px 18px rgba(8, 127, 91, .18); }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); background: var(--green-dark); box-shadow: 0 11px 22px rgba(8, 127, 91, .23); }
.secondary-button { color: #4f5e6d; border: 1px solid var(--line-strong); background: #fff; }
.secondary-button:hover { background: var(--surface-soft); }
.button-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
.privacy-note { margin: 14px 0 0; color: #7e8a96; text-align: center; font-size: 10px; }

.form-section { margin-bottom: 28px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.sku-section { border-bottom: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.section-title { margin-bottom: 18px; display: flex; gap: 12px; align-items: flex-start; }
.section-title > span { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 6px; color: var(--green-dark); background: var(--green-soft); font-size: 11px; font-weight: 850; }
.section-title h3, .section-title p { margin: 0; }
.section-title h3 { font-size: 14px; line-height: 1.35; }
.section-title p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.sku-loader { min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); background: var(--surface-soft); font-size: 12px; }
.product-loader { position: relative; width: 126px; height: 62px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; overflow: hidden; }
.product-box { position: relative; width: 30px; height: 38px; display: block; border: 2px solid var(--green); border-radius: 3px; background: #fff; box-shadow: inset 0 8px 0 var(--green-soft); animation: productLift 1.35s ease-in-out infinite; }
.product-box::before { content: ""; position: absolute; top: -2px; left: 8px; width: 8px; height: 8px; border: 2px solid var(--green); border-bottom: 0; background: #fff; }
.product-box i { position: absolute; right: 5px; bottom: 5px; left: 5px; height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 3px); }
.box-two { height: 48px; border-color: var(--coral); box-shadow: inset 0 8px 0 var(--coral-soft); animation-delay: 150ms; }
.box-two::before { border-color: var(--coral); }
.box-three { height: 34px; animation-delay: 300ms; }
.scanner-line { position: absolute; z-index: 2; right: 0; left: 0; height: 2px; background: var(--coral); box-shadow: 0 0 7px rgba(232, 100, 69, .55); animation: scanProducts 1.35s ease-in-out infinite; }
.add-sku-button { width: 100%; min-height: 54px; border: 1.5px dashed #8fc9b5; border-radius: 6px; color: var(--green-dark); background: #f8fcfa; font-size: 12px; font-weight: 800; }
.add-sku-button:hover { border-color: var(--green); background: var(--green-soft); }
.sku-list { display: grid; gap: 12px; }
.sku-row { padding: 16px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 116px 36px; gap: 12px; align-items: end; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); animation: rowIn 180ms ease-out both; }
.sku-number { width: 26px; height: 26px; margin-bottom: 11px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ink-soft); font-size: 10px; font-weight: 800; }
.select-field select, .select-field input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }
.select-field select:focus, .select-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8, 127, 91, .11); }
.remove-sku { width: 36px; height: 36px; margin-bottom: 5px; border: 1px solid #ecc2c9; border-radius: 6px; color: var(--danger); background: #fff; font-size: 20px; }
.remove-sku:hover { background: var(--danger-soft); }
.add-another { min-height: 38px; margin-top: 8px; padding: 0; border: 0; color: var(--green); background: transparent; font-size: 11px; font-weight: 800; }

.hidden-file { display: none; }
.upload-zone { width: 100%; min-height: 160px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed #aebdc8; border-radius: 8px; color: var(--ink); background: var(--surface-soft); transition: border-color 160ms ease, background 160ms ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--green); background: var(--green-soft); }
.upload-icon { width: 38px; height: 38px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: var(--green); font-size: 20px; font-weight: 800; }
.upload-zone strong { font-size: 12px; }
.upload-zone small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.upload-zone em { margin-top: 12px; color: #8894a0; font-size: 9px; font-style: normal; }
.capture-invoice-button { width: 100%; min-height: 46px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #aed7c8; border-radius: 6px; color: var(--green-dark); background: #fff; font-size: 11px; font-weight: 800; }
.capture-invoice-button:hover { background: var(--green-soft); }
.capture-invoice-button span { font-size: 15px; line-height: 1; }
.invoice-card { min-height: 78px; padding: 12px; align-items: center; gap: 13px; border: 1px solid #b7ddcf; border-radius: 8px; background: var(--green-soft); }
.invoice-card:not([hidden]) { display: flex; }
.invoice-card img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; border: 1px solid #bed8cf; border-radius: 6px; background: #fff; }
.invoice-card > span { width: 0; min-width: 0; flex: 1; overflow: hidden; }
.invoice-card strong, .invoice-card small { display: block; }
.invoice-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.invoice-card small { margin-top: 5px; color: #567168; font-size: 10px; }
.invoice-card button { width: 34px; height: 34px; flex: 0 0 34px; border: 0; color: #63717e; background: transparent; font-size: 22px; }

.camera-open { overflow: hidden; }
.camera-modal { position: fixed; inset: 0; z-index: 1000; padding: 16px; align-items: center; justify-content: center; background: rgba(10, 20, 29, .82); }
.camera-modal:not([hidden]) { display: flex; }
.camera-panel { width: min(520px, 100%); overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
.camera-header { min-height: 54px; padding: 0 12px 0 18px; display: flex; align-items: center; justify-content: space-between; }
.camera-header h3 { margin: 0; font-size: 15px; }
.camera-header button { width: 36px; height: 36px; border: 0; color: #596679; background: transparent; font-size: 24px; }
.camera-viewport { position: relative; width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #07101d; }
.camera-viewport video { width: 100%; height: 100%; object-fit: contain; }
.camera-status { position: absolute; inset: 0; padding: 24px; display: grid; place-items: center; color: #fff; background: rgba(7, 16, 29, .8); text-align: center; font-size: 12px; line-height: 1.5; }
.camera-actions { min-height: 84px; display: grid; place-items: center; }
.camera-actions button { width: 58px; height: 58px; padding: 5px; border: 2px solid var(--green); border-radius: 50%; background: #fff; }
.camera-actions button span { width: 100%; height: 100%; display: block; border-radius: 50%; background: var(--green); }
.camera-actions button:disabled { opacity: .4; }

.submission-progress { margin: 0 0 22px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.submission-progress > strong { display: block; margin-bottom: 12px; color: var(--ink-soft); font-size: 11px; }
.submission-progress > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.submission-progress > div > div { min-width: 0; display: flex; align-items: center; gap: 7px; color: #7f8b97; font-size: 9px; font-weight: 700; line-height: 1.3; }
.submission-progress i { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; font-size: 8px; font-style: normal; }
.submission-progress .done, .submission-progress .active { color: var(--green-dark); }
.submission-progress .done i { color: #fff; border-color: var(--green); background: var(--green); }
.submission-progress .active i { color: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); animation: pulse 1.2s ease-in-out infinite; }
.submission-progress .failed { color: var(--danger); }
.submission-progress .failed i { color: #fff; border-color: var(--danger); background: var(--danger); }
.verification-note { margin-bottom: 22px; padding: 14px; display: flex; gap: 11px; border-left: 3px solid var(--green); color: #365b4e; background: var(--green-soft); }
.verification-note > span { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 10px; }
.verification-note p { margin: 0; }
.verification-note strong, .verification-note small { display: block; }
.verification-note strong { font-size: 11px; }
.verification-note small { margin-top: 4px; color: #587267; font-size: 10px; line-height: 1.45; }
.form-actions { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }

.confirmation-page .form-panel { display: flex; flex-direction: column; }
.thank-you-content { max-width: 620px; margin: auto; padding: 44px 12px 62px; text-align: center; }
.success-orbit { width: 88px; height: 88px; margin: 0 auto 22px; display: grid; place-items: center; border: 1px solid #b9dfd1; border-radius: 50%; box-shadow: 0 0 0 10px var(--green-soft), 0 0 0 11px #d9eee6; }
.success-orbit span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 25px; }
.status-pill { display: inline-block; padding: 6px 10px; border-radius: 999px; color: var(--green-dark); background: var(--green-soft); font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.thank-you-content h2 { margin: 16px 0 10px; font-size: 34px; line-height: 1.2; letter-spacing: 0; }
.thank-you-content > p { max-width: 500px; margin: 0 auto 28px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-button { display: inline-flex; min-height: 42px; padding: 0 16px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink-soft); background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.text-button:hover { background: var(--surface-soft); }

footer { min-height: 48px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #7c8996; background: var(--surface-soft); font-size: 9px; }
[hidden] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes productLift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes scanProducts { 0%, 100% { top: 9px; opacity: .25; } 50% { top: 55px; opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--coral-soft); } 50% { box-shadow: 0 0 0 6px rgba(255, 240, 236, .45); } }

@media (max-width: 760px) {
  .page-shell { padding: 0; background-image: none; }
  .campaign-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .brand-header { min-height: 70px; padding: 0 20px; }
  .form-panel { padding: 0 24px 42px; }
  .stepper { min-height: 90px; margin-bottom: 30px; }
  .stepper::before { top: 37px; }
  .step > span { width: 31px; height: 31px; margin-bottom: 7px; }
  .step small { font-size: 9px; }
  .form-heading { margin-bottom: 27px; }
  .form-heading h2 { font-size: 28px; }
  .field-grid { grid-template-columns: 1fr; }
  .sku-row { grid-template-columns: 28px minmax(0, 1fr) 100px 36px; padding: 14px; gap: 10px; }
  .submission-progress > div { grid-template-columns: 1fr 1fr; }
  footer { padding: 13px 20px; line-height: 1.45; }
}

@media (max-width: 520px) {
  .brand small, .secure-badge { display: none; }
  .form-panel { padding-right: 18px; padding-left: 18px; }
  .stepper { width: calc(100% + 12px); margin-left: -6px; }
  .step small { white-space: normal; line-height: 1.2; }
  .form-heading h2 { font-size: 25px; }
  .form-heading p { font-size: 13px; }
  .date-input-wrap.is-empty input { color: transparent; }
  .date-input-wrap.is-empty > .date-placeholder { position: absolute; z-index: 0; left: 15px; top: 50%; width: auto; height: auto; display: block; transform: translateY(-50%); flex: none; border: 0; color: #8a94a3; text-align: left; font-size: 14px; font-weight: 400; pointer-events: none; }
  .sku-row { grid-template-columns: minmax(0, 1fr) clamp(64px, 20vw, 88px) 40px; gap: 7px; align-items: end; padding: 12px 12px 12px 44px; }
  .sku-number { position: absolute; left: 10px; top: 47px; grid-row: auto; margin: 0; }
  .sku-row .select-field, .sku-row .quantity-field { grid-column: auto; min-width: 0; }
  .sku-row .quantity-field input { padding-right: 7px; padding-left: 7px; }
  .remove-sku { width: 40px; height: 44px; grid-column: auto; grid-row: auto; margin: 0; }
  .form-actions { grid-template-columns: 92px 1fr; }
  .form-actions .primary-button { padding: 0 12px; text-align: center; }
  .camera-modal { padding: 0; }
  .camera-panel { width: 100%; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); display: flex; flex-direction: column; border-radius: 0; }
  .camera-viewport { flex: 1; min-height: 0; aspect-ratio: auto; }
  .thank-you-content { padding-top: 28px; }
  .thank-you-content h2 { font-size: 29px; }
  footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}

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

/* Client presentation layer */
body { background: #dce3e7; }
.page-shell {
  padding: 24px;
  background-color: #dce3e7;
  background-image: linear-gradient(rgba(23, 29, 41, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 29, 41, .04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.campaign-card {
  position: relative;
  width: min(1220px, 100%);
  min-height: calc(100vh - 48px);
  border: 0;
  background: #f7f8fa;
  box-shadow: 0 32px 90px rgba(23, 29, 41, .2);
}
.campaign-card::before { content: ""; position: absolute; z-index: 5; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--coral) 0 31%, var(--amber) 31% 42%, var(--green) 42% 100%); }
.brand-header { min-height: 82px; padding: 5px 36px 0; color: #fff; border-bottom: 0; background: #171d29; }
.brand-mark { color: #171d29; background: var(--amber); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1), 0 0 0 1px rgba(255, 255, 255, .12); }
.brand strong { font-size: 17px; }
.brand small { color: #b8c0cc; }
.secure-badge { color: #e5e9ef; }
.secure-badge i { color: var(--amber); background: rgba(242, 185, 63, .13); }
.form-panel { padding: 0 44px 52px; background: #f7f8fa; }
.stepper { width: min(820px, 100%); min-height: 100px; margin-bottom: 34px; }
.stepper::before { background: #cdd3da; }
.stepper::after { content: ""; position: absolute; z-index: 0; left: 12.5%; top: 42px; width: 0; height: 2px; background: var(--green); transition: width 420ms ease; }
.purchase-page .stepper::after { width: 25%; }
.invoice-page .stepper::after { width: 50%; }
.confirmation-page .stepper::after { width: 75%; }
.step > span { border-color: #c7cfd8; box-shadow: 0 2px 7px rgba(23, 29, 41, .07); }
.step { color: #6e7886; }
.step small { min-height: 26px; font-size: 12px; line-height: 1.25; }
.step.complete > span { box-shadow: 0 5px 12px rgba(8, 127, 91, .18); }
.step.active > span { box-shadow: 0 0 0 5px var(--coral-soft), 0 7px 15px rgba(232, 100, 69, .2); }
.form-heading > span { position: relative; padding-left: 30px; color: var(--coral-dark); }
.form-heading > span::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 3px; background: var(--amber); transform: translateY(-50%); }
.form-heading h2 { font-size: 35px; color: #171d29; }

.registration-page .form-content { max-width: 1040px; }
.registration-content { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(540px, 1.22fr); gap: 68px; align-items: start; }
.registration-page .form-heading { margin: 0; padding: 22px 0 0; border-top: 3px solid var(--amber); }
.registration-page .form-heading h2 { max-width: 360px; font-size: 39px; line-height: 1.12; }
.registration-page .form-heading p { max-width: 350px; }
.registration-form-area { min-width: 0; padding: 30px 32px 28px; border: 1px solid #d9dee5; border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(23, 29, 41, .08); }
.registration-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.registration-fields .field-wide { grid-column: 1 / -1; }
.registration-form-area .privacy-note { margin-top: 13px; }
.registration-page .primary-button { min-height: 52px; }
.input-wrap > span { align-self: stretch; display: grid; place-items: center; color: #4f5b6e; background: #eef1f5; }
.input-wrap:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(207, 63, 41, .11); }
.input-wrap:focus-within > span { color: var(--coral-dark); background: var(--coral-soft); }
.consent input { accent-color: var(--coral); }
.field label, .select-field label { font-size: 13px; }
.field-hint, .field-error { font-size: 12px; }
.consent { font-size: 13px; }
.primary-button, .secondary-button { font-size: 14px; }
.section-title h3 { font-size: 15px; }
.section-title p { font-size: 12px; }

.purchase-panel .form-content.wide { max-width: 900px; }
.purchase-panel .form-heading { padding-bottom: 28px; border-bottom: 1px solid #d9dee5; }
.purchase-panel .form-section { margin-bottom: 32px; padding-bottom: 32px; }
.purchase-panel .section-title > span { color: #fff; background: #171d29; box-shadow: 0 5px 12px rgba(23, 29, 41, .16); }
.sku-loader { min-height: 132px; flex-direction: row; gap: 24px; border-color: #cfd6dd; border-left: 3px solid var(--coral); background: #fff; box-shadow: 0 8px 22px rgba(23, 29, 41, .05); }
.sku-row { position: relative; border-color: #d5dbe2; border-left: 3px solid var(--coral); background: #fff; box-shadow: 0 8px 22px rgba(23, 29, 41, .07); }
.sku-row:hover { border-color: #bfc9d3; border-left-color: var(--coral); box-shadow: 0 11px 26px rgba(23, 29, 41, .1); }
.sku-row:focus-within { border-color: var(--coral); border-left-color: var(--coral); box-shadow: 0 0 0 3px rgba(207, 63, 41, .1), 0 10px 24px rgba(23, 29, 41, .08); }
.sku-row.has-error { border-color: #e4a9b2; border-left-color: var(--danger); background: #fffafb; }
.sku-number { background: #171d29; }
.select-field select, .select-field input { background: #fbfcfb; font-size: 13px; }
.select-field select:focus, .select-field input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(207, 63, 41, .1); }
.add-sku-button { min-height: 62px; background: #fff; }
.add-another { color: #076f51; }
.input-wrap { background: #fbfcfb; }
.upload-zone { min-height: 180px; border-color: #aeb8c3; background: #fff; box-shadow: inset 0 0 0 6px #f5f7f9; }
.upload-icon { background: var(--coral); box-shadow: 0 7px 16px rgba(239, 91, 63, .23); }
.upload-zone strong { font-size: 13px; }
.upload-zone small { font-size: 12px; }
.upload-zone em { font-size: 10px; }
.upload-zone.has-error { border-color: var(--danger); background: #fffafb; }
.upload-zone.is-processing .upload-icon { width: 34px; height: 34px; border: 3px solid #f2c5bc; border-top-color: var(--coral); border-radius: 50%; background: transparent; box-shadow: none; font-size: 0; animation: spin 700ms linear infinite; }
.verification-note { border: 1px solid #c4ddd4; border-left: 4px solid var(--green); border-radius: 6px; background: #edf8f3; }
.primary-button { border-color: var(--coral); background: var(--coral); box-shadow: 0 10px 22px rgba(207, 63, 41, .23); }
.primary-button:hover:not(:disabled) { background: var(--coral-dark); box-shadow: 0 13px 25px rgba(181, 50, 34, .27); }
.primary-button:focus-visible { outline-color: rgba(239, 91, 63, .25); }
.secondary-button { border-color: #bccbc5; background: rgba(255, 255, 255, .8); }
.secondary-button.is-disabled { opacity: .5; pointer-events: none; }
.form-message { box-shadow: 0 5px 14px rgba(20, 44, 36, .04); }
.form-actions { position: sticky; z-index: 20; bottom: 0; margin: 0 -14px -14px; padding: 14px; border-top: 1px solid rgba(199, 207, 216, .8); background: rgba(247, 248, 250, .94); box-shadow: 0 -12px 26px rgba(23, 29, 41, .04); backdrop-filter: blur(12px); }
.field.has-error label { color: var(--danger); }
.field.has-error .input-wrap { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(189, 52, 71, .08); }
.field input[aria-invalid="true"] { color: #7d2432; }
.field:not(:focus-within):not(.has-error):has(input:required:valid:not(:placeholder-shown)) .input-wrap { border-color: #8fc5b1; }
.sku-row:not(:focus-within):not(.has-error):has(select:required:valid):has(input:required:valid) { border-left-color: var(--green); }

.confirmation-page .campaign-layout { background: #f2f5f6; }
.confirmation-page .form-panel { background: transparent; }
.thank-you-content { width: min(720px, 100%); padding: 72px 28px 82px; border: 0; background: transparent; box-shadow: none; }
.success-orbit { box-shadow: 0 0 0 10px var(--green-soft), 0 0 0 11px #cbe4da, 0 13px 28px rgba(8, 127, 91, .18); }
.status-pill { color: #a6422d; background: #fff0ec; }
footer { min-height: 52px; color: #c1c8d0; border-top: 0; background: #171d29; font-size: 10px; }

@media (max-width: 900px) {
  .page-shell { padding: 14px; }
  .campaign-card { min-height: calc(100vh - 28px); }
  .form-panel { padding-right: 28px; padding-left: 28px; }
  .registration-content { grid-template-columns: 1fr; gap: 28px; max-width: 720px !important; }
  .registration-page .form-heading { padding-top: 16px; }
  .registration-page .form-heading h2, .registration-page .form-heading p { max-width: 620px; }
}

@media (max-width: 760px) {
  .page-shell { padding: 0; }
  .campaign-card { min-height: 100vh; }
  .brand-header { min-height: 74px; padding: 4px 22px 0; }
  .form-panel { padding: 0 20px 42px; }
  .stepper::after { top: 37px; }
  .registration-form-area { padding: 26px 24px 24px; }
  .registration-fields { grid-template-columns: 1fr; }
  .registration-fields .field-wide { grid-column: auto; }
  .purchase-panel .form-heading { padding-bottom: 23px; }
  .thank-you-content { padding: 42px 28px 50px; }
}

@media (max-width: 520px) {
  .form-panel { padding-right: 14px; padding-left: 14px; }
  .stepper { margin-bottom: 22px; }
  .sku-loader { min-height: 150px; flex-direction: column; gap: 12px; }
  .form-heading h2 { font-size: 27px; }
  .registration-page .form-heading h2 { font-size: 30px; }
  .registration-form-area { padding: 22px 16px 20px; }
  .form-actions { margin-right: -8px; margin-left: -8px; padding: 12px 8px; }
  .thank-you-content { padding: 38px 20px 44px; }
}
