:root {
  --green: #0e5a3f;
  --green-dark: #102d22;
  --green-soft: #eaf3ed;
  --orange: #ed6b3b;
  --orange-soft: #fff1ea;
  --lime: #dbe86f;
  --ink: #17251f;
  --muted: #66746d;
  --line: #dfe5df;
  --paper: #f5f6f2;
  --white: #ffffff;
  --danger: #a9472f;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.signup-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0 clamp(20px, 4vw, 64px);
}
.signup-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.signup-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.signup-brand > span > span { color: var(--orange); }
.marketplace-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.signup-main { padding: clamp(24px, 4vw, 56px); }
.signup-layout {
  width: min(1180px, 100%);
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}
.signup-rail {
  background: var(--green-dark);
  color: var(--white);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 38px);
}
.signup-eyebrow {
  display: block;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.signup-rail h1 {
  margin: 12px 0 10px;
  font: 700 36px/1.08 "Fraunces", serif;
  letter-spacing: 0;
}
.signup-rail > p {
  margin: 0;
  color: #b7c9c0;
  font-size: 14px;
  line-height: 1.6;
}
.signup-progress {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.signup-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-height: 76px;
}
.signup-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: #ffffff26;
}
.signup-progress .step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: var(--green-dark);
  color: #c3d1ca;
  font-size: 12px;
  font-weight: 800;
}
.signup-progress strong,
.signup-progress small { display: block; }
.signup-progress strong {
  padding-top: 2px;
  color: #c7d4ce;
  font-size: 13px;
}
.signup-progress small {
  margin-top: 4px;
  color: #829c90;
  font-size: 11px;
  line-height: 1.4;
}
.signup-progress li.active .step-number {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green-dark);
}
.signup-progress li.active strong { color: var(--white); }
.signup-progress li.complete .step-number {
  border-color: #75b894;
  background: #1d7656;
  color: var(--white);
}
.signup-progress li.complete:not(:last-child)::after { background: #4e9a76; }
.signup-reference {
  margin-top: 20px;
  border-top: 1px solid #ffffff20;
  padding-top: 18px;
}
.signup-reference span,
.signup-reference strong { display: block; }
.signup-reference span {
  color: #8fa89d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.signup-reference strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--white);
  font: 600 11px/1.5 monospace;
}

.signup-workspace {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
}
.signup-loading {
  min-height: 500px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
}
.signup-loading span {
  width: 30px;
  height: 30px;
  border: 3px solid var(--line);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: signup-spin .8s linear infinite;
}
@keyframes signup-spin { to { transform: rotate(360deg); } }
.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.workspace-head > div { min-width: 0; }
.workspace-head span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}
.workspace-head h2 {
  margin: 6px 0 5px;
  font: 700 32px/1.1 "Fraunces", serif;
  letter-spacing: 0;
}
.workspace-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.required-note {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
}
.required-note b { color: var(--orange); }

.signup-form { display: grid; gap: 22px; }
.form-section {
  display: grid;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.form-section-head h3 {
  margin: 0;
  font-size: 15px;
}
.form-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  align-items: start;
}
.field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.field.wide { grid-column: 1 / -1; }
.field-label { display: flex; align-items: baseline; gap: 4px; }
.field-label b { color: var(--orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd8d1;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}
.field input,
.field select {
  height: 46px;
  padding: 0 12px;
}
.field textarea {
  min-height: 90px;
  padding: 11px 12px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 90, 63, .1);
}
.field input:disabled,
.field select:disabled {
  background: #f0f2ef;
  color: #8a948f;
}
.field small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}
.field-status {
  min-height: 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.field-status.available { color: var(--green); }
.field-status.unavailable { color: var(--danger); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice-card,
.payment-card {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 14px;
  cursor: pointer;
}
.choice-card:has(input:checked),
.payment-card:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}
.choice-card input,
.payment-card input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.choice-card strong,
.choice-card small,
.payment-card strong,
.payment-card small { display: block; }
.choice-card strong,
.payment-card strong { font-size: 12px; }
.choice-card small,
.payment-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.form-error {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.primary-button,
.secondary-button,
.text-button {
  min-height: 44px;
  border-radius: 7px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}
.secondary-button {
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.primary-button:disabled,
.secondary-button:disabled {
  opacity: .55;
  cursor: wait;
}

.status-view {
  min-height: 500px;
  display: grid;
  place-content: center;
  justify-items: start;
  max-width: 650px;
  margin: 0 auto;
}
.status-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 24px;
  font-weight: 800;
}
.status-mark.approved,
.status-mark.complete {
  background: var(--green-soft);
  color: var(--green);
}
.status-mark.rejected {
  background: #f8e8e3;
  color: var(--danger);
}
.status-view span.status-kicker {
  margin-top: 20px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}
.status-view h2 {
  margin: 7px 0 8px;
  font: 700 34px/1.1 "Fraunces", serif;
  letter-spacing: 0;
}
.status-view > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.status-summary {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.status-summary div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: 13px 14px;
}
.status-summary div:nth-child(-n+2) { border-top: 0; }
.status-summary div:nth-child(even) { border-left: 1px solid var(--line); }
.status-summary span,
.status-summary strong { display: block; }
.status-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-summary strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rejection-reason {
  width: 100%;
  margin: 20px 0 24px;
  border-left: 3px solid var(--danger);
  background: #faf0ed;
  padding: 13px 15px;
  color: #66382d;
  font-size: 12px;
  line-height: 1.55;
}

.hours-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.hours-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(110px, 150px) 20px minmax(110px, 150px);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 12px;
}
.hours-row:first-child { border-top: 0; }
.hours-day {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}
.hours-day input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.hours-row > input {
  width: 100%;
  height: 38px;
  border: 1px solid #cfd8d1;
  border-radius: 7px;
  padding: 0 8px;
  color: var(--ink);
}
.hours-row > span {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.switch-list { display: grid; gap: 10px; }
.switch-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
}
.switch-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.switch-row strong,
.switch-row small { display: block; }
.switch-row strong { font-size: 11px; }
.switch-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.bulk-limit {
  grid-column: 2;
  width: min(240px, 100%);
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}
.bulk-limit input {
  width: 100%;
  height: 40px;
  border: 1px solid #cfd8d1;
  border-radius: 7px;
  padding: 0 10px;
}

.upload-box {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed #aebfb4;
  border-radius: 7px;
  background: #f6faf7;
  padding: 18px;
  text-align: center;
}
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box label { cursor: pointer; }
.upload-box strong,
.upload-box small { display: block; }
.upload-box strong { color: var(--green); font-size: 12px; }
.upload-box small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.upload-preview {
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.upload-preview img {
  width: 84px;
  height: 84px;
  border-radius: 7px;
  object-fit: cover;
}
.upload-preview button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.fee-notices { display: grid; gap: 10px; }
.fee-notice {
  border: 1px solid #d7dfd8;
  border-left: 4px solid var(--green);
  border-radius: 7px;
  background: #f5faf6;
  padding: 14px 16px;
}
.fee-notice[hidden] { display: none; }
.fee-notice.card-fee { border-left-color: var(--orange); background: #fff8f3; }
.fee-notice h4 { margin: 0 0 8px; font-size: 12px; }
.fee-notice ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.payout-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  margin-top: 8px;
  border-top: 1px solid #e6ded7;
  padding-top: 8px;
}
.payout-schedule span { font-size: 9px; color: var(--muted); }
.agreement {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fafbf8;
  padding: 15px;
  cursor: pointer;
}
.agreement input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.agreement strong,
.agreement small { display: block; }
.agreement strong { font-size: 11px; line-height: 1.5; }
.agreement small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.signup-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--muted);
  font-size: 11px;
}
.signup-footer span:first-child { color: var(--green-dark); font-weight: 800; }
.signup-toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  transform: translateY(16px);
  border-radius: 7px;
  background: var(--green-dark);
  color: var(--white);
  padding: 11px 14px;
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
  transition: .18s ease;
}
.signup-toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 820px) {
  .signup-main { padding: 18px; }
  .signup-layout { grid-template-columns: 1fr; }
  .signup-rail { padding: 26px 24px; }
  .signup-rail h1 { font-size: 30px; }
  .signup-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }
  .signup-progress li {
    display: block;
    min-height: 0;
  }
  .signup-progress li::after { display: none; }
  .signup-progress .step-number { margin-bottom: 8px; }
  .signup-progress small { display: none; }
  .signup-reference { margin-top: 18px; }
  .signup-workspace { padding: 28px 24px; }
  .payment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .signup-header { min-height: 66px; padding: 0 16px; }
  .signup-brand { font-size: 18px; }
  .signup-brand img { width: 34px; height: 34px; }
  .marketplace-link { font-size: 11px; }
  .signup-main { padding: 0; }
  .signup-layout { border: 0; border-radius: 0; }
  .signup-workspace { padding: 26px 18px; }
  .workspace-head { display: block; }
  .workspace-head h2 { font-size: 28px; }
  .required-note { display: block; margin-top: 10px; }
  .field-grid,
  .choice-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .hours-row {
    grid-template-columns: minmax(110px, 1fr) minmax(90px, 120px);
  }
  .hours-row > span { display: none; }
  .hours-row > input:last-child { grid-column: 2; }
  .status-summary { grid-template-columns: 1fr; }
  .status-summary div,
  .status-summary div:nth-child(even) { border-left: 0; }
  .status-summary div:nth-child(2) { border-top: 1px solid var(--line); }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions button { width: 100%; }
  .upload-preview { grid-template-columns: 66px minmax(0, 1fr); }
  .upload-preview img { width: 66px; height: 66px; }
  .upload-preview button { grid-column: 2; justify-self: start; }
  .payout-schedule { grid-template-columns: 1fr; }
  .signup-footer { align-items: flex-start; flex-direction: column; padding: 20px; }
}
