/* V525: cadastro amplo e senha com controle compacto. */
body:has(main.admin) .hf-new-patient-wide>.hf-patient-registration{width:min(880px,100%)!important;max-width:880px!important;min-width:0;padding:24px;display:grid;gap:16px}
.hf-new-patient-wide .hf-new-patient-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start;min-width:0}
.hf-new-patient-wide .hf-new-patient-column{display:grid;gap:16px;min-width:0;align-content:start}
.hf-new-patient-wide .hf-new-patient-column>label{display:grid;gap:7px;margin:0!important;min-width:0}
.hf-new-patient-wide .hf-new-patient-column input,.hf-new-patient-wide .hf-new-patient-column select{box-sizing:border-box;min-width:0;width:100%;max-width:100%}
.hf-new-patient-wide .apn-access-fields{margin:0;min-width:0}
.hf-new-patient-wide .hf-password-input-wrap{display:block!important;position:relative;min-width:0;width:100%}
.hf-new-patient-wide .hf-password-input-wrap>input{padding-right:46px!important;margin:0!important}
body:has(main.admin) .hf-new-patient-wide .hf-password-eye{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%);display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:7px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--muted,#87909d)!important;-webkit-text-fill-color:currentColor!important;cursor:pointer}
.hf-new-patient-wide .hf-password-eye svg{width:20px;height:20px;flex:none;pointer-events:none}
.hf-new-patient-wide .hf-password-eye:focus-visible{outline:2px solid #111;outline-offset:1px}
.hf-new-patient-wide .hf-password-eye:hover{background:color-mix(in srgb,currentColor 8%,transparent)!important}
body:has(main.admin) .hf-new-patient-wide .hf-password-help{display:block;color:#87909d!important;-webkit-text-fill-color:#87909d!important;font-weight:400!important;font-size:12px;line-height:1.5;opacity:1}
@media(max-width:680px){body:has(main.admin) .hf-new-patient-wide>.hf-patient-registration{padding:20px;width:100%!important}.hf-new-patient-wide .hf-new-patient-columns{grid-template-columns:minmax(0,1fr);gap:16px}}

.modal.hf-new-patient-wide{box-sizing:border-box;padding:16px!important;overflow-y:auto!important;align-items:safe center;overscroll-behavior:contain}
.modal.hf-new-patient-wide>.hf-patient-registration{max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overscroll-behavior:contain}

/* V526: campos em três linhas alinhadas entre as duas colunas. */
.hf-new-patient-wide .hf-new-patient-column{display:contents}
.hf-new-patient-wide .hf-new-patient-column:first-child>label{grid-column:1;align-self:start}
.hf-new-patient-wide .hf-new-patient-column:last-child>label{grid-column:2;align-self:start}
.hf-new-patient-wide .hf-new-patient-column>label:nth-child(1){grid-row:1}
.hf-new-patient-wide .hf-new-patient-column>label:nth-child(2){grid-row:2}
.hf-new-patient-wide .hf-new-patient-column>label:nth-child(3){grid-row:3}
.hf-new-patient-wide .hf-password-eye svg,.hf-new-patient-wide .hf-password-eye svg>*{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
@media(max-width:680px){.hf-new-patient-wide .hf-new-patient-column>label{grid-column:1!important;grid-row:auto!important}}
