.twelve-wholesale-registration-overview,
.twelve-wholesale-registration-fields,
.twelve-wholesale-company-profile,
.twelve-wholesale-dashboard,
.twelve-wholesale-staff-notice,
.twelve-wholesale-status-card {
  --twelve-access-ink: var(--ink, #172129);
  --twelve-access-muted: var(--grey, #526168);
  --twelve-access-line: var(--line, #cbd4d6);
  --twelve-access-surface: var(--surface, #f7f8f6);
  --twelve-access-paper: var(--white, #fff);
  --twelve-access-orange: var(--orange, #f26322);
  --twelve-access-teal: var(--teal, #0f5063);
  --twelve-access-green: #166847;
  --twelve-access-red: #9b2f2f;
  --twelve-access-radius-control: var(--radius-control, 10px);
  --twelve-access-radius-panel: var(--radius-media, 14px);
  color: var(--twelve-access-ink);
}

.twelve-wholesale-registration-overview {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: clamp(24px, 4vw, 42px);
  border-top: 4px solid var(--twelve-access-orange);
  background: var(--twelve-access-ink);
  color: #e8edef;
}

.twelve-wholesale-registration-overview h2 {
  max-width: 700px;
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.twelve-wholesale-registration-overview p {
  max-width: 700px;
  margin: 0;
  color: #d9e1e3;
}

.twelve-wholesale-registration-overview .twelve-wholesale-eyebrow {
  margin-bottom: 10px;
  color: #ff8a50;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.woocommerce-MyAccount-content:has(> .twelve-wholesale-dashboard) > p,
.woocommerce-MyAccount-content:has(> .twelve-wholesale-staff-notice) > p {
  display: none;
}

.twelve-wholesale-registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 26px;
}

.twelve-wholesale-registration-fields__heading {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--twelve-access-line);
}

.twelve-wholesale-registration-fields__heading h3,
.twelve-wholesale-form-section__heading h3,
.twelve-wholesale-dashboard h3,
.twelve-wholesale-company-profile h2,
.twelve-wholesale-staff-notice h2 {
  margin: 0;
  color: var(--twelve-access-ink);
  font-family: var(--font-display, inherit);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.twelve-wholesale-registration-fields__heading h3,
.twelve-wholesale-form-section__heading h3 {
  font-size: 1.25rem;
}

.twelve-wholesale-registration-fields__heading p,
.twelve-wholesale-form-section__heading p {
  max-width: 65ch;
  margin: 6px 0 0;
  color: var(--twelve-access-muted);
  font-size: .875rem;
}

.twelve-wholesale-registration-fields .form-row,
.twelve-wholesale-form-grid .form-row {
  float: none !important;
  width: auto !important;
  min-width: 0;
}

.twelve-wholesale-registration-fields input.input-text,
.twelve-wholesale-registration-fields select,
.twelve-wholesale-form-grid input.input-text,
.twelve-wholesale-form-grid select {
  min-height: 48px;
  border: 1px solid var(--twelve-access-line);
  border-radius: var(--twelve-access-radius-control);
  background: var(--twelve-access-paper);
  color: var(--twelve-access-ink);
}

.twelve-wholesale-registration-fields input.input-text:focus,
.twelve-wholesale-registration-fields select:focus,
.twelve-wholesale-form-grid input.input-text:focus,
.twelve-wholesale-form-grid select:focus {
  border-color: var(--twelve-access-ink);
  outline: 2px solid var(--twelve-access-orange);
  outline-offset: 2px;
}

.twelve-wholesale-registration-fields input::placeholder,
.twelve-wholesale-form-grid input::placeholder {
  color: #526168;
  opacity: 1;
}

.twelve-wholesale-price-lock {
  display: inline-grid;
  gap: 6px;
  color: var(--ink, #172129);
}

.twelve-wholesale-price-lock__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.twelve-wholesale-price-lock__amount strong {
  font-family: var(--font-display, inherit);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: .9;
  letter-spacing: normal;
}

.twelve-wholesale-price-lock__amount small {
  color: var(--grey, #526168);
  font-size: var(--type-label, .75rem);
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.2;
  white-space: nowrap;
}

.twelve-wholesale-price-lock__action,
.twelve-wholesale-dashboard-panel__heading a,
.twelve-wholesale-orders-panel a,
.twelve-wholesale-company-profile a {
  color: var(--teal, #0f5063);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.twelve-wholesale-price-lock__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  font-size: .75rem;
  line-height: 1.3;
}

.twelve-wholesale-price-lock__action:hover,
.twelve-wholesale-price-lock__action:focus-visible,
.twelve-wholesale-dashboard-panel__heading a:hover,
.twelve-wholesale-dashboard-panel__heading a:focus-visible,
.twelve-wholesale-orders-panel a:hover,
.twelve-wholesale-orders-panel a:focus-visible,
.twelve-wholesale-company-profile a:hover,
.twelve-wholesale-company-profile a:focus-visible {
  color: var(--orange, #f26322);
}

.twelve-wholesale-price-lock__action:focus-visible,
.twelve-wholesale-dashboard a:focus-visible,
.twelve-wholesale-company-profile a:focus-visible,
.twelve-wholesale-staff-notice a:focus-visible,
.twelve-wholesale-primary-button:focus-visible,
.twelve-wholesale-whatsapp-button:focus-visible {
  outline: 2px solid var(--orange, #f26322);
  outline-offset: 3px;
}

.twelve-wholesale-price-pending {
  color: var(--grey, #526168);
  font-family: var(--font-display, inherit);
  font-size: 1rem;
  font-weight: 700;
}

.twelve-wholesale-status-badge,
.twelve-wholesale-admin-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border: 1px solid #d89b73;
  border-radius: 999px;
  background: #fff1e8;
  color: #8b3917;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.twelve-wholesale-status-badge--approved,
.twelve-wholesale-admin-badge--approved {
  border-color: #83b3a3;
  background: #e6f2ee;
  color: #14543d;
}

.twelve-wholesale-status-badge--rejected,
.twelve-wholesale-admin-badge--rejected {
  border-color: #d7a1a1;
  background: #faecec;
  color: #842626;
}

.twelve-wholesale-status-badge--suspended,
.twelve-wholesale-admin-badge--suspended,
.twelve-wholesale-admin-badge--staff {
  border-color: #aab3b7;
  background: #edf0f1;
  color: #344148;
}

.twelve-wholesale-primary-button,
.twelve-wholesale-whatsapp-button {
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px !important;
  border-radius: var(--twelve-access-radius-control) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.twelve-wholesale-primary-button {
  border-color: var(--twelve-access-orange) !important;
  background: var(--twelve-access-orange) !important;
  color: #fff !important;
}

.twelve-wholesale-primary-button:hover,
.twelve-wholesale-primary-button:focus-visible {
  border-color: var(--twelve-access-ink) !important;
  background: var(--twelve-access-ink) !important;
}

.twelve-wholesale-whatsapp-button {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 !important;
  border-color: #167c4a !important;
  background: #167c4a !important;
  color: #fff !important;
  text-decoration: none !important;
}

.twelve-wholesale-whatsapp-button:hover,
.twelve-wholesale-whatsapp-button:focus-visible {
  border-color: var(--twelve-access-ink) !important;
  background: var(--twelve-access-ink) !important;
}

.twelve-wholesale-company-profile {
  width: 100%;
}

.twelve-wholesale-company-profile__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: clamp(24px, 4vw, 38px);
  border-top: 4px solid var(--twelve-access-orange);
  background: var(--twelve-access-ink);
  color: #fff;
}

.twelve-wholesale-company-profile__header h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -.03em;
}

.twelve-wholesale-company-profile__header p {
  max-width: 65ch;
  margin: 10px 0 0;
  color: #d9e1e3;
}

.twelve-wholesale-company-profile__form {
  display: grid;
  gap: 24px;
}

.twelve-wholesale-form-section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--twelve-access-line);
  border-radius: var(--twelve-access-radius-panel);
  background: var(--twelve-access-paper);
}

.twelve-wholesale-form-section__heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--twelve-access-line);
}

.twelve-wholesale-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.twelve-wholesale-dashboard {
  display: grid;
  gap: 24px;
  width: 100%;
  margin-top: 20px;
}

.twelve-wholesale-dashboard__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 38px);
  border-top: 4px solid var(--twelve-access-orange);
  background: var(--twelve-access-ink);
  color: #fff;
}

.twelve-wholesale-dashboard__header h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.twelve-wholesale-dashboard__header p {
  max-width: 65ch;
  margin: 10px 0 0;
  color: #d9e1e3;
}

.twelve-wholesale-status-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid #dbb391;
  border-radius: var(--twelve-access-radius-panel);
  background: #fff3eb;
}

.twelve-wholesale-status-panel--approved {
  border-color: #93bcaf;
  background: #eaf4f1;
}

.twelve-wholesale-status-panel--rejected {
  border-color: #d8a8a8;
  background: #faeeee;
}

.twelve-wholesale-status-panel--suspended {
  border-color: #aeb7bb;
  background: #eef1f2;
}

.twelve-wholesale-status-panel h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.twelve-wholesale-status-panel p {
  max-width: 65ch;
  margin: 7px 0 0;
  color: #394950;
}

.twelve-wholesale-dashboard__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.twelve-wholesale-dashboard-panel,
.twelve-wholesale-orders-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--twelve-access-line);
  border-radius: var(--twelve-access-radius-panel);
  background: var(--twelve-access-paper);
}

.twelve-wholesale-dashboard-panel__heading {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.twelve-wholesale-dashboard-panel__heading h3 {
  font-size: 1.25rem;
}

.twelve-wholesale-dashboard-panel__heading a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  font-size: .8125rem;
}

.twelve-wholesale-orders-panel a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.twelve-wholesale-dashboard-panel > p {
  margin: 0 0 12px;
}

.twelve-wholesale-progress {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe5e6;
}

.twelve-wholesale-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--twelve-access-orange);
}

.twelve-wholesale-dashboard-panel__note {
  margin: 12px 0 0 !important;
  color: var(--twelve-access-muted);
  font-size: .875rem;
}

.twelve-wholesale-address-status {
  display: grid;
  gap: 0;
  margin: 0;
}

.twelve-wholesale-address-status > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--twelve-access-line);
}

.twelve-wholesale-address-status > div:first-child {
  padding-top: 0;
}

.twelve-wholesale-address-status dt,
.twelve-wholesale-address-status dd {
  margin: 0;
}

.twelve-wholesale-address-status dt {
  font-weight: 700;
}

.twelve-wholesale-address-status dd {
  color: var(--twelve-access-muted);
}

.twelve-wholesale-orders-table-wrap {
  overflow-x: auto;
}

.twelve-wholesale-orders-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--twelve-access-ink);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.twelve-wholesale-admin-panel .widefat :is(th, td, a) {
  overflow-wrap: anywhere;
}

.twelve-wholesale-orders-table th,
.twelve-wholesale-orders-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--twelve-access-line);
  text-align: left;
  vertical-align: middle;
}

.twelve-wholesale-orders-table th {
  color: #3e4d53;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.twelve-wholesale-empty-state {
  padding: 22px 0 4px;
  border-top: 1px solid var(--twelve-access-line);
}

.twelve-wholesale-empty-state h4 {
  margin: 0 0 8px;
  color: var(--twelve-access-ink);
  font-size: 1.05rem;
}

.twelve-wholesale-empty-state p {
  max-width: 65ch;
  margin: 0 0 16px;
  color: var(--twelve-access-muted);
}

.twelve-wholesale-staff-notice {
  padding: clamp(24px, 4vw, 36px);
  border-top: 4px solid var(--twelve-access-orange);
  background: var(--twelve-access-ink);
  color: #fff;
}

.twelve-wholesale-staff-notice h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.twelve-wholesale-staff-notice p {
  max-width: 65ch;
  margin: 10px 0 18px;
  color: #d9e1e3;
}

.twelve-wholesale-staff-notice .button {
  min-height: 44px;
  padding: 10px 16px;
  border-color: #fff;
  color: #fff;
}

.twelve-wholesale-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.twelve-wholesale-admin-panel {
  padding: 22px;
  border: 1px solid #c3c4c7;
  border-top: 4px solid #f26322;
  background: #fff;
}

.twelve-wholesale-admin-panel h2 {
  margin-top: 0;
}

.twelve-wholesale-admin-panel .regular-text {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.twelve-wholesale-admin-tabs {
  margin-top: 22px;
}

.twelve-wholesale-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 210px;
}

.twelve-wholesale-review-confirmation {
  padding-bottom: 12px;
}

.twelve-wholesale-review-confirmation form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
}

@media (max-width: 782px) {
  .twelve-wholesale-registration-fields,
  .twelve-wholesale-form-grid,
  .twelve-wholesale-dashboard__columns,
  .twelve-wholesale-admin-grid {
    grid-template-columns: 1fr;
  }

  .twelve-wholesale-company-profile__header,
  .twelve-wholesale-dashboard__header,
  .twelve-wholesale-status-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .twelve-wholesale-status-badge {
    width: fit-content;
  }

  .twelve-wholesale-admin-panel {
    padding: 16px;
    overflow-x: auto;
  }

  .twelve-wholesale-orders-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .twelve-wholesale-orders-table,
  .twelve-wholesale-orders-table tbody,
  .twelve-wholesale-orders-table tr,
  .twelve-wholesale-orders-table td {
    display: block;
    width: 100%;
  }

  .twelve-wholesale-orders-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--twelve-access-line);
  }

  .twelve-wholesale-orders-table td {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }

  .twelve-wholesale-orders-table td[data-title]::before {
    color: #3e4d53;
    content: attr(data-title);
    font-weight: 700;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .twelve-wholesale-registration-overview,
  .twelve-wholesale-company-profile__header,
  .twelve-wholesale-dashboard__header,
  .twelve-wholesale-form-section,
  .twelve-wholesale-dashboard-panel,
  .twelve-wholesale-orders-panel,
  .twelve-wholesale-status-panel {
    padding: 20px;
  }

  .twelve-wholesale-whatsapp-button,
  .twelve-wholesale-primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .twelve-wholesale-price-lock__action,
  .twelve-wholesale-primary-button,
  .twelve-wholesale-whatsapp-button {
    scroll-behavior: auto;
    transition: none !important;
  }
}
