/* JKA Dealer Portal v1.6.31 — SMTP safe-test visual hardening */
body.homeaid-system .smtp-profile-routing-note{display:flex;align-items:flex-start;gap:.45rem;min-width:0;color:var(--ha-muted);font-size:.72rem;line-height:1.4;max-width:620px}
body.homeaid-system .smtp-profile-routing-note i{margin-top:.13rem;color:var(--ha-accent);flex:0 0 auto}
body.homeaid-system .smtp-profile-switch-row{align-items:flex-start!important;gap:.8rem 1.1rem!important;flex-wrap:wrap!important}
body.homeaid-system .smtp-profile-switch-row>.form-check{margin:0!important;flex:0 0 auto}
body.homeaid-system .smtp-test-profile-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.8rem;border:1px solid var(--ha-border);border-radius:.82rem;background:var(--ha-soft)}
body.homeaid-system .smtp-test-profile-summary>div{min-width:0}
body.homeaid-system .smtp-test-profile-summary strong,body.homeaid-system .smtp-test-profile-summary small{display:block;overflow-wrap:anywhere}
body.homeaid-system .smtp-test-profile-summary small{margin-top:.12rem;color:var(--ha-muted)}
body.homeaid-system .smtp-test-modal-actions{gap:.55rem;flex-wrap:wrap}
body.homeaid-system .smtp-profile-actions{align-items:center;gap:.45rem!important;flex-wrap:wrap!important}
body.homeaid-system .smtp-profile-actions form{margin:0!important}
body.homeaid-system .smtp-profile-guidance{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important}
body.homeaid-system #smtpProfileTestModal .modal-body{padding-bottom:.9rem!important}
body.homeaid-system #smtpProfileTestModal .alert{margin-top:.9rem!important}
@media(max-width:767.98px){body.homeaid-system .smtp-test-profile-summary{grid-template-columns:38px minmax(0,1fr)}body.homeaid-system .smtp-test-profile-summary>.status-pill{grid-column:1/-1;justify-self:start}body.homeaid-system .smtp-test-modal-actions>*{flex:1 1 100%}body.homeaid-system .smtp-profile-routing-note{font-size:.7rem;max-width:none}}
