/* Larger company logos within the existing 56px header; preserve image proportions. */
body.ax-body.frame-set.ppm-shell-modern #ax-frame-root .ax-frame-header .cell-logo {
    padding:0 8px !important;
}
body.ax-body.frame-set.ppm-shell-modern #ax-frame-root .ax-frame-header .cell-logo a {
    min-width:0; justify-content:center;
}
body.ax-body.frame-set.ppm-shell-modern #ax-frame-root .ax-frame-header .cell-logo img {
    width:100% !important; max-width:100% !important;
    height:48px !important; max-height:48px !important;
    object-fit:contain !important; object-position:center;
}
/* Remove old 100%-height login wrapper without clipping the new form. */
body.ppm-login-modern [data-ppm-login-legacy] { display:none !important; }
body.ppm-login-modern { height:auto !important; min-height:100dvh !important; margin:0 !important; }
/* Login select must not inherit the compact 28px business-screen select rule. */
body.ppm-login-modern .login-card select#company.form-control {
    width:100%; height:58px; box-sizing:border-box;
    border-radius:var(--radius-field,14px); padding:0 40px 0 18px;
    font-size:15px; font-weight:700; line-height:normal;
}
@media(max-width:560px) {
    body.ppm-login-modern .login-card select#company.form-control { height:54px; }
}
@media(min-width:1101px) and (max-height:850px) {
    body.ppm-login-modern .login-panel { padding-top:20px; padding-bottom:20px; }
    body.ppm-login-modern .login-card { padding-top:30px; padding-bottom:30px; }
    body.ppm-login-modern .login-card-sub { margin-bottom:20px; }
    body.ppm-login-modern .form-group { margin-bottom:16px; }
}
