/* Keep the property being named in focus while the host edits its brief. */
.join-grid:has(#signup[data-planner] #property-step:not([hidden])) .property-example { display: none; }
#property-step .property-identity { display: grid; align-content: start; gap: 1rem; }
#property-step .property-fields { margin-top: 1.25rem; }
#property-step .domain-fold { margin-top: 1.5rem; padding-top: 1.25rem; }
#property-step .domain-picker { margin: 0; padding: 0; min-width: 0; }
#property-step #domain-choice-label span { color: var(--slate); font-weight: 400; }
@media screen and (min-width: 901px) {
  .join-page .join-grid:has(#signup[data-planner] #property-step:not([hidden])) {
    display: block; max-width: 66rem;
  }
  .join-grid:has(#signup[data-planner] #property-step:not([hidden])) .join-intro {
    position: static; padding: 0; margin-bottom: 1rem;
  }
  .join-grid:has(#signup[data-planner] #property-step:not([hidden])) .join-head {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem;
  }
  .join-grid:has(#signup[data-planner] #property-step:not([hidden])) .join-head h1 { font-size: 1.5rem; }
  .join-grid:has(#signup[data-planner] #property-step:not([hidden])) .join-head p { margin: 0; font-size: 1rem; }
  #property-step .property-fields {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start; gap: clamp(1.5rem, 4vw, 3rem);
  }
  #property-step .domain-fold {
    margin: 0; border-block-start: 0; border-inline-start: 1px solid #d5d2c8;
    padding: 0 0 0 clamp(1.5rem, 3vw, 2.5rem);
  }
}

/* The suggestion brief should fit beside the property fields on a laptop. */
@media screen {
  .join-page .join:has(#signup[data-planner] #property-step:not([hidden])) {
    padding-top: calc(var(--bar-h) + .5rem);
  }
  #signup[data-planner]:has(#property-step:not([hidden])) {
    padding: clamp(.9rem, 2vw, 1.6rem);
    gap: .75rem;
  }
  #property-step .step-lede { margin: .25rem 0 0; font-size: 1rem; line-height: 1.35; }
  #property-step .property-fields { margin-top: .85rem; }
  #property-step .field label { font-size: 1rem; line-height: 1.25; margin: 0; }
  #property-step .field { gap: .25rem; }
  #property-step :is(input, select) { font-size: 1rem; min-height: 44px; padding-block: .4rem; }
  #property-step .domain-picker, #property-step .domain-section { gap: .6rem; }
  #property-step .fine { font-size: 1rem; line-height: 1.35; margin: 0; }
}
@media screen and (min-width: 901px) {
  .join-page #join:has(#signup[data-planner] #property-step:not([hidden])) { max-width: 78rem; }
  #property-step .property-fields { grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.2fr); }
  #domain-refine > .domain-section {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr); align-items: end;
  }
  #domain-refine .field-pair { grid-template-columns: minmax(0, 1fr) 5rem; align-items: end; }
  #property-step h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
}
@media screen and (min-width: 901px) {
  #property-step .domain-picker > .field:first-of-type,
  #property-step #mailbox-choice {
    display: grid; grid-template-columns: minmax(9rem, .7fr) minmax(0, 1.3fr);
    align-items: center; column-gap: 1rem;
  }
  #property-step #mailbox-choice[hidden] { display: none; }
  #property-step #mailbox-choice .fine { grid-column: 2; }
}
@media screen and (min-width: 901px) and (max-height: 740px) {
  #signup[data-planner]:has(#property-step:not([hidden])) { padding: .875rem 1.2rem; gap: .5rem; }
  #property-step .step-lede { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #property-step .property-fields { margin-top: .65rem; }
}
@media screen and (max-width: 900px) {
  .join-page .join:has(#signup[data-planner] #property-step:not([hidden])) { padding-top: var(--bar-h); }
  #join:has(#signup[data-planner] #property-step:not([hidden])) .join-head {
    min-height: 0; padding-block: .65rem; gap: .25rem;
  }
}
