[hidden] { display: none !important; }
.step { min-height: 75vh; max-height: 75vh; overflow-y: auto; padding: 10px; }
[data-field] { min-width: 0; }
#form-errors:empty { display: none; }
.trade-field-error { display: block; color: #b91c1c; font-size: 13px; }
.trade-field-error:empty { display: none; }
.trade-field-error ul { list-style: none; padding: 0; margin-top: 4px; }
#trade-progress li { color: #6b7280; }
#trade-progress [aria-current=step] { color: #dc2626; }
[data-field=ein_number] input { margin-bottom: 8px; }
#business_phone_div [data-field=business_phone] { flex: 1; }
#business_phone_div [data-field=business_extension] { flex: 0 0 64px; }
#business_phone_div input { margin-top: 0; }
#business_phone_div [name=business_phone] { border-radius: 4px 0 0 4px; border-right: 0; }
#business_phone_div [name=business_extension] { border-radius: 0 4px 4px 0; }
[data-rep-choice][aria-pressed=true] { background-color: #d1d5db; border-color: #6b7280; }
[data-rep-choice=true][aria-pressed=true] { background-color: #dc2626; color: #fff; border-color: #b91c1c; }
.salesrep-switch input[type=checkbox] { display: block; position: absolute; width: 100%; height: 100%; opacity: 0; z-index: 1; cursor: pointer; margin: 0; }
.salesrep-switch input:focus-visible ~ .salesrep-slider { outline: 2px solid #dc2626; outline-offset: 3px; }
#trade-review dt { font-weight: 600; }
#trade-review dd { margin-top: 4px; border: 1px solid #e5e7eb; padding: 8px; border-radius: 4px; background: #f9fafb; overflow-wrap: anywhere; }
#trade-review > div { min-width: 0; }
[aria-invalid=true] { border-color: #b91c1c; }
button:disabled { opacity: .5; cursor: not-allowed; }
.trade-address-fallback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.trade-address-fallback label { display: block; font-size: 14px; font-weight: 500; }
.trade-address-fallback input { width: 100%; }
@media (max-width: 767px) {
  .step { min-height: 0; max-height: none; }
  .trade-layout { height: 100dvh; }
  .trade-layout > div:first-child { max-height: 100dvh !important; }
  .trade-address-fallback { grid-template-columns: minmax(0, 1fr); }
  [data-step="2"] .col-span-2 { grid-column: auto; }
  #trade-progress { font-size: 12px; }
  [data-step="3"] .w-80 { max-width: 100%; }
}
