.access-phone-form { display: grid; gap: 9px; margin-top: 20px; max-width: 28rem; }
.access-phone-form .button { justify-self: start; }
.access-phone-form label { font-size: .95rem; font-weight: 700; }
.access-phone-form :is(input, select) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.access-phone-form input[aria-invalid="true"] { border: 2px solid var(--ink); }
.access-phone-form input[autocomplete="one-time-code"] {
  max-width: 12rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .16em;
}
.access-phone-form > p { line-height: 1.5; }
.access-code-actions { margin-top: 4px; }
#access-feedback { margin-top: 11px; }
.phone-sms-notice { max-width: 28rem; margin-top: 12px; font-size: .84rem; line-height: 1.5; }
.sms-legal-links { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; }
.sms-legal-links a { text-underline-offset: .18em; }
.callback-button { font-size: .9rem; }
#callback-feedback { margin: 4px 0 8px; }

.access-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 28rem;
  margin-block: 18px 16px;
}

.access-methods button {
  min-width: 0;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.access-methods button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.access-methods button[aria-pressed="false"]:hover:not(:disabled) { text-decoration: underline; text-underline-offset: .2em; }
.access-methods button:disabled { border-style: dashed; }
.access-methods button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.returning-method-panel > p { max-width: 52ch; line-height: 1.5; }
.email-mode-actions { margin-top: 16px; }
.email-access-hint { font-size: .86rem; line-height: 1.45; }
.email-feedback { max-width: 50ch; margin-top: 12px; }
.email-account {
  margin-top: 20px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: .9rem;
}
.email-account h2 { font-weight: 700; font-size: .9rem; }
.email-account p { overflow-wrap: anywhere; }
.email-account #email-account-invite { flex-basis: 100%; }
.email-account .email-access-hint { flex-basis: 100%; }
.email-account .text-button { min-height: 44px; }
.email-linked-feedback { margin-top: 12px; }

.email-link-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 24px), 30rem);
  max-height: calc(100% - 28px);
  max-height: calc(100dvh - 28px);
  padding: clamp(18px, 4vw, 27px);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.email-link-dialog::backdrop { background: rgb(23 25 29 / 48%); }
.email-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.email-dialog-header h2 { font: 400 clamp(1.65rem, 6vw, 2.2rem)/1.12 var(--display); }
.email-dialog-header .text-button { flex: none; }
.email-link-dialog .access-phone-form { margin-top: 9px; }

.dashboard-profile { position: relative; flex: none; }
.profile-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 3px 2px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
}
.profile-menu-button:hover span:last-child { text-decoration: underline; text-underline-offset: .22em; }
.profile-initials {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: .76rem;
  font-weight: 700;
}
.profile-menu {
  position: absolute;
  z-index: 8;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 5px);
  min-width: 11.5rem;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 6px 14px rgb(23 25 29 / 10%);
}
.profile-menu button {
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: start;
}
.profile-menu button:hover { text-decoration: underline; text-underline-offset: .22em; }
.profile-menu button:focus-visible { outline-offset: -2px; }
.profile-menu p { padding: 6px 10px; }
.account-settings-dialog { width: min(calc(100% - 24px), 32rem); }
#account-settings-state { margin-top: 10px; }
.account-settings-group {
  max-width: none;
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.account-setting-label, .account-settings-group .account-setting-label {
  font: 700 .95rem/1.3 var(--body);
}
.account-settings-group > p { margin-top: 4px; overflow-wrap: anywhere; }
.account-setting-actions { margin-top: 2px; }
.account-settings-group .access-phone-form { max-width: none; }

.property-promo-slot { margin-block-start: 22px; }
.property-promo {
  display: grid;
  background: var(--ink);
  color: var(--paper);
}
.property-promo-copy { align-self: center; padding: 22px; }
.property-promo-location { letter-spacing: .09em; }
.property-promo h2 {
  margin-block: 8px;
  font: 400 clamp(1.8rem, 5cqi, 2.55rem)/1.05 var(--display);
  letter-spacing: -.025em;
}
.property-promo-description { max-width: 36ch; line-height: 1.45; }
.property-promo-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: 15px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: .9rem;
  text-decoration: none;
}
.property-promo-cta:hover { text-decoration: underline; text-underline-offset: .2em; }
.property-promo-cta:focus-visible { outline-color: var(--paper); }
.property-promo-art {
  grid-row: 1;
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: 50% 72%;
}
.property-promo-slot-rail .property-promo-copy { padding: 16px; }
.property-promo-slot-rail .property-promo h2 { font-size: 1.7rem; }
.property-promo-slot-rail .property-promo-description { font-size: .9rem; }
.property-promo-slot-rail .property-promo-art { height: 108px; }

@container (min-width: 530px) {
  .property-promo-slot-wide .property-promo { grid-template-columns: minmax(0, 1fr) 34%; min-height: 232px; }
  .property-promo-slot-wide .property-promo-copy { padding: 24px 28px; }
  .property-promo-slot-wide .property-promo-art { grid-area: 1 / 2; height: 100%; min-height: 0; }
}

@media (max-width: 370px) {
  .site-bar:has(.dashboard-profile:not([hidden])) .header-contact-mobile span { display: none; }
}
