#accountView > .tenant-account-preparation {
  --tenant-prep-ink: #10362f;
  --tenant-prep-green: #123f36;
  --tenant-prep-muted: #71848a;
  --tenant-prep-line: #dce5df;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, .98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
  width: min(100% - 48px, 1400px);
  min-height: min(760px, calc(100vh - 120px));
  margin: 32px auto 54px;
  padding: clamp(28px, 4vw, 66px);
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 28px;
  background: #fbfaf7;
  color: var(--tenant-prep-ink);
}

.tenant-prep-intro {
  display: flex;
  min-width: 0;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
}

.tenant-prep-heading { max-width: 660px; }
.tenant-prep-heading .eyebrow {
  margin: 0 0 20px;
  color: #6e9c8a;
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: .2em;
}
.tenant-prep-heading h1 {
  max-width: 690px;
  margin: 0;
  color: var(--tenant-prep-ink);
  font: 500 clamp(3rem, 5.2vw, 5.35rem)/.99 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.tenant-prep-heading .lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--tenant-prep-muted);
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  line-height: 1.45;
}
.tenant-prep-photo {
  position: relative;
  height: clamp(230px, 34vh, 370px);
  margin: 30px 0 -66px calc(clamp(28px, 4vw, 66px) * -1);
  overflow: hidden;
  clip-path: ellipse(112% 100% at 0% 100%);
  background: #e9e6dc;
}
.tenant-prep-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.tenant-prep-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 46px);
  border: 1px solid #e2e5df;
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 50px rgba(24, 53, 43, .045);
}
.tenant-prep-steps {
  position: relative;
  display: grid;
  gap: clamp(27px, 4vw, 58px);
  margin: 0;
  padding: 0 0 clamp(28px, 3.2vw, 44px);
  list-style: none;
}
.tenant-prep-steps::before {
  position: absolute;
  top: 42px;
  bottom: 88px;
  left: 20px;
  width: 1px;
  background: #b7c9c0;
  content: '';
}
.tenant-prep-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  min-height: 96px;
}
.tenant-prep-number {
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a5145, #234f47);
  color: white;
  font-size: 1.1rem;
  font-weight: 650;
}
.tenant-prep-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid #d8e9de;
  border-radius: 50%;
  background: #f0f6f0;
  color: #123f36;
}
.tenant-prep-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}
.tenant-prep-copy { min-width: 0; }
.tenant-prep-copy h2 {
  margin: 0 0 5px;
  color: #102e2c;
  font: 600 clamp(1.15rem, 1.65vw, 1.52rem)/1.22 var(--sans, Arial, sans-serif);
  letter-spacing: -.025em;
}
.tenant-prep-copy p {
  max-width: 300px;
  margin: 0;
  color: #778b90;
  font-size: clamp(.93rem, 1.25vw, 1.1rem);
  line-height: 1.45;
}
.tenant-prep-status {
  justify-self: end;
  padding: 10px 17px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: .91rem;
  font-weight: 550;
}
.tenant-prep-status--pending,
.tenant-prep-status--processing { background: #fff0d2; color: #8e5100; }
.tenant-prep-status--attention { background: #fff0eb; color: #a84627; }
.tenant-prep-status--verified { background: #e5f1e8; color: #236048; }
.tenant-prep-status--optional { background: #f0f1ef; color: #687c80; }
.tenant-prep-action {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 28px 17px 34px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(110deg, #0c3d35, #073a35);
  color: #fff;
  font: 550 clamp(1.1rem, 1.75vw, 1.45rem)/1.2 var(--sans, Arial, sans-serif);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
.tenant-prep-action:hover { filter: brightness(1.13); transform: translateY(-1px); }
.tenant-prep-action:focus-visible { outline: 3px solid #86b79f; outline-offset: 3px; }
.tenant-prep-action:disabled { cursor: wait; opacity: .78; }
.tenant-prep-action span { font-size: 1.8em; font-weight: 300; line-height: .8; }
.tenant-prep-feedback { margin: 12px 0 0; color: #a84627; font-size: .92rem; }
.tenant-prep-phone-form { display: grid; gap: 14px; }
.tenant-prep-phone-fields { display: grid; grid-template-columns: minmax(150px, .82fr) minmax(190px, 1.18fr); align-items: end; gap: 12px; }
.tenant-prep-phone-form label { display: grid; min-width: 0; gap: 7px; color: #334a47; font-size: .91rem; font-weight: 550; }
.tenant-prep-phone-form input:not([type="hidden"]) { width: 100%; min-height: 48px; box-sizing: border-box; padding: 11px 13px; border: 1px solid #d5dfd8; border-radius: 12px; background: #fff; color: #183b35; font: inherit; }
.tenant-prep-phone-form input:focus-visible { outline: 2px solid #79a995; outline-offset: 2px; }
.tenant-prep-phone-code { max-width: 260px; }
.tenant-prep-phone-status,
.tenant-prep-phone-error { margin: 0; font-size: .9rem; line-height: 1.4; }
.tenant-prep-phone-status { color: #526c64; }
.tenant-prep-phone-error { color: #a84627; }
.tenant-prep-phone-error[hidden],
.tenant-prep-phone-code[hidden] { display: none; }
.tenant-prep-profile-setup { display: grid; gap: 18px; }
.tenant-prep-profile-setup .eyebrow { margin: 0 0 6px; color: #6e9c8a; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.tenant-prep-profile-setup h2 { margin: 0; color: #102e2c; font: 600 clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--sans, Arial, sans-serif); }
.tenant-prep-profile-intro { margin: 7px 0 0; color: var(--tenant-prep-muted); font-size: .93rem; line-height: 1.45; }
.tenant-prep-profile-photo { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--tenant-prep-line); border-radius: 16px; background: #fbfcfa; }
.tenant-prep-avatar { display: grid; width: 64px; height: 64px; flex: 0 0 64px; overflow: hidden; place-items: center; border: 1px solid #d8e9de; border-radius: 50%; background: #edf4ee; color: #123f36; font: 600 1.35rem Georgia, serif; }
.tenant-prep-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tenant-prep-upload { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; border: 1px solid #cddbd1; border-radius: 999px; background: #fff; color: #183b35; cursor: pointer; }
.tenant-prep-profile-note { margin: 6px 0 0; color: var(--tenant-prep-muted); font-size: .83rem; line-height: 1.4; }
.tenant-prep-language-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.tenant-prep-language-field legend { padding: 0; color: #334a47; font-size: .94rem; font-weight: 600; }
.tenant-prep-language-field legend span,
.tenant-prep-date-field > span { color: #71848a; font-size: .8rem; font-weight: 450; }
.tenant-prep-language-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tenant-prep-language { min-height: 38px; padding: 7px 13px; border: 1px solid #dce5df; background: #fff; color: #39524c; cursor: pointer; }
.tenant-prep-language.selected { border-color: #9bb9a8; background: #eaf2ec; color: #123f36; }
.tenant-prep-language:focus-visible,
.tenant-prep-upload:focus-within,
.tenant-prep-date-field select:focus-visible { outline: 2px solid #79a995; outline-offset: 2px; }
.tenant-prep-date-field { display: grid; gap: 8px; color: #334a47; font-size: .94rem; font-weight: 600; }
.tenant-prep-date-field select { width: 100%; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d5dfd8; border-radius: 12px; background: #fff; color: #183b35; font: inherit; font-weight: 450; }
.tenant-prep-profile-status { min-height: 1.2em; margin: 0; color: #526c64; font-size: .88rem; }
.tenant-prep-profile-actions { display: grid; gap: 9px; }
.tenant-prep-profile-actions .tenant-prep-action { min-height: 58px; border-radius: 15px; font-size: 1rem; }
.tenant-prep-skip { min-height: 46px; border: 1px solid #dce5df; border-radius: 14px; background: #fff; color: #39524c; font: 550 .96rem/1.2 var(--sans, Arial, sans-serif); cursor: pointer; }
.tenant-prep-skip:hover { background: #f3f6f2; }
.tenant-prep-skip:disabled { cursor: wait; opacity: .65; }

@media (max-width: 1050px) {
  #accountView > .tenant-account-preparation { grid-template-columns: minmax(0, 1fr); gap: 28px; width: min(100% - 32px, 780px); padding: 28px; }
  .tenant-prep-intro { min-height: 0; }
  .tenant-prep-heading h1 { max-width: 720px; font-size: clamp(2.7rem, 7vw, 4.4rem); }
  .tenant-prep-photo { height: 260px; margin: 26px -28px -28px; }
  .tenant-prep-card { position: relative; z-index: 1; }
}
@media (max-width: 620px) {
  #accountView > .tenant-account-preparation { width: 100%; margin: 0 auto 22px; padding: 28px 18px 20px; border-radius: 0; }
  .tenant-prep-heading .eyebrow { margin-bottom: 13px; font-size: .72rem; }
  .tenant-prep-heading h1 { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .tenant-prep-heading .lead { margin-top: 16px; font-size: 1.06rem; }
  .tenant-prep-photo { height: 205px; margin: 22px -18px -20px; }
  .tenant-prep-card { padding: 23px 16px 18px; border-radius: 21px; }
  .tenant-prep-steps { gap: 24px; padding-bottom: 26px; }
  .tenant-prep-steps::before { top: 32px; bottom: 68px; left: 15px; }
  .tenant-prep-step { grid-template-columns: 32px 54px minmax(0, 1fr); gap: 9px 11px; min-height: 68px; }
  .tenant-prep-number { width: 30px; height: 30px; font-size: .92rem; }
  .tenant-prep-icon { width: 54px; height: 54px; }
  .tenant-prep-icon svg { width: 30px; height: 30px; }
  .tenant-prep-copy h2 { font-size: 1rem; }
  .tenant-prep-copy p { font-size: .82rem; }
  .tenant-prep-status { grid-column: 3; justify-self: start; margin-top: -5px; padding: 5px 10px; font-size: .75rem; }
  .tenant-prep-action { min-height: 58px; padding: 14px 18px; border-radius: 15px; font-size: 1rem; }
  .tenant-prep-phone-fields { grid-template-columns: minmax(0, 1fr); }
  .tenant-prep-phone-code { max-width: none; }
  .tenant-prep-profile-photo { align-items: flex-start; }
}
