/* P81 — visual-only minimum delta.
   Existing Home / Personas shell remains authoritative. */

.p81-entry-form{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
  width:100%;
}

.p81-entry-form .p81-field{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  min-height:52px;
  border:1.5px solid var(--line,#ddd7e8);
  border-radius:13px;
  padding:0 18px;
  font:inherit;
  font-size:15px;
  background:#fff;
  color:inherit;
}

.p81-entry-form .p81-field:focus{
  outline:2px solid var(--purple,#6f46ff);
  outline-offset:1px;
  border-color:transparent;
}

.p81-phone-row{
  display:grid;
  grid-template-columns:minmax(170px,.9fr) minmax(0,1.35fr);
  gap:10px;
  width:100%;
}

.p81-phone-row select{
  cursor:pointer;
  appearance:auto;
}

.p81-entry-form button{
  width:100%;
}

.personal-score-form.p81-entry-form{
  max-width:100%;
}

@media (max-width:600px){
  .p81-phone-row{
    grid-template-columns:1fr;
  }
}

/* P81 STEP 2G — HOME ONLY compact entry composition.
   Personas intentionally remains unchanged. */

@media (min-width:601px){
  #top-form.p81-entry-form{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    column-gap:10px !important;
    row-gap:10px !important;
  }

  #top-form.p81-entry-form .p81-phone-row{
    grid-column:1 / -1;
    grid-template-columns:minmax(115px,.34fr) minmax(0,1fr);
  }

  #top-form.p81-entry-form button{
    grid-column:1 / -1;
  }
}

@media (max-width:600px){
  #top-form.p81-entry-form{
    grid-template-columns:1fr !important;
  }

  #top-form.p81-entry-form .p81-phone-row{
    grid-template-columns:minmax(100px,.32fr) minmax(0,1fr);
    gap:8px;
  }

  #top-form.p81-entry-form .p81-phone-row select{
    padding-left:12px;
    padding-right:8px;
  }
}

/* P81 STEP 2H — Home entry typography parity.
   Match Trusti descriptive/body typography only. */
#top-form.p81-entry-form .p81-field,
#top-form.p81-entry-form .p81-field::placeholder{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

#top-form.p81-entry-form .p81-field{
  font-weight:400;
}

#top-form.p81-entry-form .p81-field::placeholder{
  font-weight:400;
}

/* P81 STEP 2I — PERSONAS entry composition parity with approved Home.
   No general redesign. */

@media (min-width:601px){
  #personal-score-form.p81-entry-form{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    column-gap:10px !important;
    row-gap:10px !important;
  }

  #personal-score-form.p81-entry-form .p81-phone-row{
    grid-column:1 / -1;
    grid-template-columns:minmax(115px,.34fr) minmax(0,1fr);
  }

  #personal-score-form.p81-entry-form button{
    grid-column:1 / -1;
  }
}

@media (max-width:600px){
  #personal-score-form.p81-entry-form{
    grid-template-columns:1fr !important;
  }

  #personal-score-form.p81-entry-form .p81-phone-row{
    grid-template-columns:minmax(100px,.32fr) minmax(0,1fr);
    gap:8px;
  }

  #personal-score-form.p81-entry-form .p81-phone-row select{
    padding-left:12px;
    padding-right:8px;
  }
}

/* P81 production-candidate entry behavior */
.p81-entry-form button[disabled]{
  cursor:wait;
  opacity:.78;
}

.p81-entry-form [data-p81-country]{
  cursor:pointer;
}

/*
 * Dial selector is a capture aid only.
 * It is not residence, identity, or scoring evidence.
 */
