/* Customer workspace: the same charcoal, orange and quiet surfaces as the welcome page. */
.customer-shell .workspace { max-width: 1260px; gap: 52px; margin-top: 52px; }
.customer-shell .workspace > .card { padding: 40px 44px; border-radius: 18px; box-shadow: 0 8px 32px #10101005; min-width: 0; }
.customer-shell .card-head { padding-bottom: 28px; margin-bottom: 28px; }
.customer-shell .card-head .small-label { color: #535559; letter-spacing: .1em; }
.customer-shell .card-head h2 { font-size: 2.15rem; font-weight: 600; letter-spacing: -.045em; margin: 14px 0 12px; }
.customer-shell .step-sidebar { padding-top: 14px; }
.customer-shell .step-sidebar h2 { font-size: 1.2rem; line-height: 1.45; overflow-wrap: anywhere; }
.customer-shell .step-list { margin: 30px 0; }
.customer-shell .step-list button { min-height: 64px; padding: 12px; font-size: .9rem; border-radius: 10px; }
.customer-shell .step-list button.active { background: #fff0dd; color: #202020; }
.customer-shell .step-number { border-color: #d2d2d2; width: 34px; height: 34px; }
.customer-shell .active .step-number { background: #202020; border-color: #202020; color: #fff; }
.customer-shell .done:not(.active) .step-number { background: #e9f2ec; color: #256247; border-color: #e9f2ec; }
.customer-shell .side-help { line-height: 1.9; }
.customer-shell .side-help #signout { margin-top: 12px; color: #535559; }
.business-progress { display: flex; gap: 24px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.business-progress button { flex: 1; text-align: left; display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #606267; padding: 0 0 16px; font-size: .875rem; line-height: 1.4; }
.business-progress button span { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d2d2d2; font-size: .75rem; }
.business-progress button[aria-current] { border-bottom-color: var(--orange); color: #202020; font-weight: 650; }
.business-progress button[aria-current] span { background: #202020; border-color: #202020; color: #fff; }
.customer-shell .business-section { margin: 0 0 30px; min-width: 0; }
.customer-shell .business-section legend { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.customer-shell .business-section .subtext { font-size: .9375rem; margin-bottom: 24px; }
.customer-shell #company .business-section + .business-section { border: 0; padding-top: 0; }
.customer-shell .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.customer-shell [data-state-field] { min-width: 0; }
.customer-shell .field { gap: 10px; font-weight: 550; font-size: .9375rem; }
.customer-shell .field small { font-size: .8125rem; }
.customer-shell .field input, .customer-shell .field select { border-color: #d2d3d5; border-radius: 9px; padding: 14px; min-height: 52px; transition: border-color .15s, box-shadow .15s; }
.customer-shell .field input::placeholder { color: #747579; opacity: 1; }
.customer-shell .field [aria-invalid="true"] { border-color: #b73535; }
.customer-shell .field input:focus, .customer-shell .field select:focus { outline: 2px solid #ff8d0580; outline-offset: 2px; border-color: #9b5605; box-shadow: 0 0 0 4px #fff8ee; }
.customer-shell .field input[readonly] { background: #f6f6f6; }
.business-actions { border-top: 1px solid var(--line); padding-top: 22px; }
.customer-shell .saved { font-size: .875rem; line-height: 1.6; max-width: 320px; }
.business-actions .saved { max-width: none; margin-bottom: 18px; }
.business-buttons { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.business-buttons .primary { margin-left: auto; }
.customer-shell .primary { color: #202020; border-radius: 9px; font-size: .9375rem; }
.customer-shell .text-button { font-size: .875rem; }
.customer-shell [hidden] { display: none !important; }
.contact-shortcut { margin-bottom: 24px; border: 1px solid #e6e6e6; background: #f9f9f9; }
.optional-contact { border: 1px solid var(--line); padding: 20px; border-radius: 10px; }
.optional-contact summary { font-weight: 550; cursor: pointer; line-height: 1.6; }
.optional-contact summary small { color: var(--muted); font-size: .8125rem; font-weight: 400; margin-left: 6px; }
.optional-contact[open] summary { margin-bottom: 16px; }
.optional-contact .subtext { font-size: .9375rem; }
.leave-dialog { max-width: 500px; width: calc(100% - 32px); border: 1px solid #dedfe2; border-radius: 18px; padding: 32px; color: #202020; box-shadow: 0 24px 80px #10101033; }
.leave-dialog::backdrop { background: #10101080; }
.leave-dialog h2 { font-size: 1.6rem; letter-spacing: -.035em; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.customer-shell .review-block { overflow-wrap: anywhere; }
.review-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.review-heading h3 { margin: 0; }
.review-heading .text-button { min-height: 44px; }
@media (max-width: 1000px) {
  .customer-shell .workspace { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
  .customer-shell .workspace > .card { padding: 30px; }
}
@media (max-width: 720px) {
  .customer-shell .workspace { display: block; margin: 22px auto; padding: 0 16px; }
  .customer-shell .workspace > .card { padding: 26px 22px; border-radius: 14px; }
  .customer-shell .card-head h2 { font-size: 1.8rem; }
  .customer-shell .step-sidebar { padding: 0; }
  .customer-shell .step-list { margin: 0 0 18px; gap: 6px; }
  .customer-shell .step-list button { width: 100px; font-size: .8125rem; padding: 10px 6px; }
  .customer-shell .side-help { display: flex; justify-content: flex-end; border: 0; padding: 0 2px 12px; font-size: 0; }
  .customer-shell .side-help > a, .customer-shell .side-help > br { display: none; }
  .customer-shell .side-help #signout { margin: 0; min-height: 44px; padding: 10px; font-size: .875rem; }
  .business-progress { gap: 14px; margin-bottom: 26px; }
  .business-progress button { font-size: .875rem; align-items: flex-start; }
  .customer-shell .fields { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .business-buttons { flex-wrap: wrap; }
  .business-buttons .primary { width: 100%; }
  .business-buttons .text-button { min-height: 44px; }
  .customer-shell .form-actions { align-items: stretch; }
  .customer-shell .form-actions .primary { width: 100%; }
  .optional-contact { padding: 18px; }
  .leave-dialog { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-shell .field input, .customer-shell .field select { transition: none; }
}
.prepared-welcome { border-left: 3px solid var(--orange); padding: 4px 0 4px 22px; margin: 0 0 30px; line-height: 1.65; }
.concierge-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; margin: 24px 0; background: #fafafa; overflow-wrap: anywhere; }
.concierge-card strong { font-size: 1.1rem; }
.concierge-card p:last-child { margin: 8px 0 0; line-height: 1.8; }
.concierge-card a { color: #704007; text-decoration: underline; text-underline-offset: 3px; }
.prepared-welcome .concierge-card { margin: 16px 0 8px; padding: 16px; }
.billing-overview { padding: 24px; background: #fff4e5; border-radius: 12px; margin-bottom: 24px; line-height: 1.7; }
.billing-overview h3 { margin-top: 0; }
.agreement-reader { margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.agreement-reader summary, .signing-handover summary { cursor: pointer; font-weight: 600; font-size: 1rem; line-height: 1.6; }
.agreement-reader[open] > summary { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.agreement-document { max-width: 68ch; margin: 0 auto; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.agreement-document header { border-bottom: 3px solid var(--orange); margin: 24px 0 30px; padding-bottom: 22px; }
.agreement-document h2 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.025em; }
.agreement-document h3 { font-size: 1.1rem; line-height: 1.5; margin: 30px 0 12px; }
.agreement-document p { margin: 14px 0; white-space: pre-wrap; }
.legal-scroll-frame { max-height: min(62vh, 640px); overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.legal-scroll-frame:focus { outline: 3px solid rgba(255,141,5,.35); outline-offset: 2px; }
.legal-review { margin: 22px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc; }
.legal-review-steps { margin: 12px 0; padding-left: 24px; display: grid; gap: 13px; }
.legal-review-steps li { padding-left: 5px; color: var(--muted); }
.legal-review-steps li.complete { color: var(--ink); }
.legal-review-steps li.complete::marker { content: "✓  "; color: #18794e; font-weight: 800; }
.legal-review .checkbox { margin: 0; }
.signing-handover { margin-top: 32px; padding: 24px; background: #f7f7f7; border-radius: 12px; }
.signing-handover[open] summary { margin-bottom: 20px; }
.signing-handover .field { margin-bottom: 20px; }
.saved[data-state="error"] { color: #a12828; font-weight: 600; }
.customer-timeline { list-style: none; padding: 12px 0; margin: 22px 0; }
.customer-timeline li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.customer-timeline li:not(:last-child)::before { position: absolute; content: ""; width: 1px; background: #d6d8d8; left: 17px; top: 38px; bottom: 2px; }
.timeline-marker { height: 36px; width: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #bfc2c5; font-size: .9375rem; }
.customer-timeline .done .timeline-marker { background: #e9f2ec; border-color: #a4c3af; color: #256247; }
.customer-timeline h3 { font-size: 1.05rem; margin: 5px 0 8px; }
.customer-timeline p { margin: 0 0 8px; line-height: 1.6; }
.customer-timeline small { color: var(--muted); font-size: .875rem; }
.signatory-workspace { max-width: 900px; margin: 48px auto; padding: 0 24px; }
.signatory-workspace > .card { padding: 40px; }
.signatory-workspace .fields { margin-top: 26px; }
.director-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 16px 0; background: #fff; }
.director-card .fields { margin-top: 12px; }
.credit-status ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.credit-status li.done { color: #176b45; font-weight: 600; }
.success-panel { border-top: 3px solid var(--orange); margin-top: 24px; padding-top: 20px; }
@media (max-width: 720px) {
  .agreement-reader { padding: 18px; }
  .agreement-document h2 { font-size: 1.4rem; }
  .signatory-workspace { margin: 24px auto; padding: 0 16px; }
  .signatory-workspace > .card { padding: 24px; }
  .signing-handover { padding: 18px; }
  .customer-shell .step-list button { font-size: .875rem; width: 114px; }
  .customer-shell .field small { font-size: .875rem; }
}
