/* Auth presentation. Zend/Framework7 form contracts and handlers stay intact. */
.sacse-auth, .sacse-app-auth {
    --auth-ink: #242d35; --auth-muted: #777f89; --auth-blue: #9a6000;
    --auth-accent: #cf890c; --auth-border: #d9dde2; --auth-surface: #fff;
    color: var(--auth-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px; line-height: 1.6;
}
.sacse-auth { margin: 0; background: #fff; }
.auth-shell { display: grid; grid-template-columns: minmax(320px, 58%) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; padding: 20px; gap: 36px; box-sizing: border-box; }
.auth-photo-panel { position: sticky; top: 20px; align-self: start; height: calc(100vh - 40px); height: calc(100svh - 40px); min-height: 0; border-radius: 24px; overflow: hidden; background: #343b3b url('../images/auth-industrial-v2.jpg') center 18% / cover no-repeat; }
.auth-photo-panel::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(25,32,35,.7)); pointer-events: none; }
.auth-photo-caption { position: absolute; z-index: 1; bottom: 30px; left: 36px; color: #fff; }
.auth-photo-caption > span { display: block; width: 52px; height: 3px; margin-bottom: 14px; background: #e2a120; }
.auth-photo-caption p { margin: 0; font-size: 18px; font-weight: 400; }
.sacse-auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; box-sizing: border-box; padding: 24px 24px 20px 0; }
.auth-entry-brand { display: block; flex-shrink: 0; width: 200px; max-width: 100%; margin: 0 0 18px; }
.auth-entry-brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.sacse-auth .auth-entry-brand { align-self: flex-start; }
.sacse-auth-card { box-sizing: border-box; width: 100%; max-width: 480px; }
.sacse-auth-card--wide { max-width: 650px; }
.sacse-auth .auth-entry-brand { width: min(200px, 100%); }
.auth-header { margin-bottom: 20px; }
.auth-kicker { margin: 0 0 10px; color: var(--auth-blue); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.auth-title { margin: 0 0 6px; color: var(--auth-ink); font-size: 32px; font-weight: 700; line-height: 1.18; letter-spacing: -.035em; }
.auth-description { margin: 0; color: var(--auth-muted); font-size: 16px; line-height: 1.5; font-weight: 400; }
.auth-field { min-width: 0; margin-bottom: 16px; }
.auth-field > label { display: block; margin: 0 0 6px; color: #4c545e; font-size: 14px; font-weight: 500; line-height: 1.4; }
.sacse-auth .form-control, .sacse-auth .form-select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--auth-border); border-radius: 9px; color: var(--auth-ink); background: #fff; font-family: inherit; font-size: 15px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.sacse-auth .form-select { padding-right: 36px; }
.sacse-auth .form-control::placeholder { color: #91969f; opacity: 1; }
.sacse-auth .form-control:hover, .sacse-auth .form-select:hover { border-color: #a8adb5; }
.sacse-auth .form-control:focus, .sacse-auth .form-select:focus { border-color: #b17b21; box-shadow: 0 0 0 3px rgba(207,137,12,.12); outline: 0; }
.auth-input-wrap { position: relative; }
.auth-input-icon { position: absolute; z-index: 1; top: 1px; left: 0; display: grid; place-items: center; width: 48px; height: calc(100% - 2px); color: #626b75; font-size: 18px; pointer-events: none; }
.auth-input-icon::after { content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 1px; background: #e0e3e7; }
.sacse-auth .auth-input-wrap .form-control { padding-left: 62px; }
.sacse-auth .input-group { flex-wrap: nowrap; }
.sacse-auth .input-group-text { min-width: 46px; justify-content: center; color: #78808b; background: #fff; border-color: var(--auth-border); border-radius: 9px 0 0 9px; }
.sacse-auth .input-group > .form-control { border-radius: 0 9px 9px 0; }
.sacse-auth .btn-login, .sacse-auth .auth-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 16px; border: 1px solid #c07a04; border-radius: 9px; color: #fff; background: linear-gradient(110deg, #ca8006, #ba7400); font-size: 16px; font-weight: 700; line-height: 1.4; text-transform: none !important; text-decoration: none; letter-spacing: -.02em; box-shadow: none; }
.sacse-auth .btn-login:hover, .sacse-auth .auth-primary:hover { background: #a96a00; border-color: #a96a00; color: #fff; }
.sacse-auth .btn-login .fa-arrow-right { font-size: 17px; }
.sacse-auth a { color: var(--auth-blue); text-underline-offset: 3px; }
.sacse-auth a:hover { color: #754800; }
.sacse-auth a:focus-visible, .sacse-auth button:focus-visible, .sacse-auth input[type=checkbox]:focus-visible, .sacse-app-auth a:focus-visible, .sacse-app-auth button:focus-visible { outline: 3px solid #d2a34e; outline-offset: 4px; }
.auth-recovery { margin: 0 0 16px; text-align: right; font-size: 13px; }
.auth-registration { display: flex; align-items: center; gap: 16px; margin-top: 20px; text-align: center; }
.auth-registration::before, .auth-registration::after { content: ""; flex: 1; height: 1px; background: #dce0e4; }
.sacse-auth .auth-secondary { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; }
.sacse-auth .auth-secondary .fa-building { display: none; }
.auth-site-footer { margin: 18px 0 0; color: #80858c; font-size: 12px; letter-spacing: .16em; text-align: center; }
.auth-footer { margin: 18px 0 0; color: #818892; font-size: 12px; text-align: center; }
.auth-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 13px; text-decoration: none; }
.auth-fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.auth-section-title { float: none; width: 100%; margin: 0 0 16px; padding: 0 0 10px; border-bottom: 1px solid #e7e4df; color: #515963; font-size: 14px; font-weight: 650; line-height: 1.5; }
.auth-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.auth-field--full { grid-column: 1 / -1; }
.auth-consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 8px; margin: 8px 0 24px; color: #69717b; font-size: 13px; line-height: 1.6; }
.auth-consent .form-check-input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; border-color: #aeb4bd; }
.sacse-auth .form-check-input:checked { background-color: #a66b08; border-color: #a66b08; }
.auth-help-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 20px; font-size: 13px; }
.auth-note { margin: 18px 0 0; padding: 14px; border: 1px solid #e9dfcb; border-radius: 9px; color: #7d6440; background: #faf7f1; font-size: 13px; }
.sacse-auth .alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 9px; font-size: 13px; line-height: 1.6; }
.sacse-auth .validationMessage { display: block; margin-top: 6px; padding: 0; background: none !important; color: #b32638; font-size: 12px; text-align: left; }
.sacse-auth .input-group .validationMessage { position: static; max-width: none; box-shadow: none !important; }
.sacse-auth-card--message { text-align: center; }
.auth-status-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 18px; color: #976309; background: #f8f0e1; font-size: 24px; }
.auth-message { margin: 24px 0; color: #69717b; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.auth-message p { margin-bottom: 16px; }
.auth-role-list { display: grid; gap: 10px; margin-top: 20px; }
.sacse-auth .auth-role-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--auth-border); border-radius: 10px; color: #444d57; background: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.sacse-auth .auth-role-option:hover { border-color: #c99b50; background: #fdfaf5; color: #885600; }
.auth-role-email { padding: 12px 14px; background: #f6f5f3; border-radius: 9px; color: #626b75; font-size: 13px; overflow-wrap: anywhere; }
.auth-document { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.auth-document img { max-width: 100%; height: auto; }

/* Showing a password only changes the existing field's presentation. */
.auth-password-wrap { position: relative; width: 100%; min-width: 0; }
.auth-password-wrap input { padding-right: 52px !important; }
.auth-password-wrap input::-ms-reveal { display: none; }
.auth-password-toggle { position: absolute; z-index: 2; top: 0; right: 2px; display: grid; place-items: center; width: 44px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 7px; color: #69717b; background: transparent; cursor: pointer; line-height: 1; }
.auth-password-toggle:hover { color: #9a6000; }
.auth-password-toggle:focus-visible { outline: 3px solid #d2a34e; outline-offset: -3px; }
.auth-password-toggle svg { width: 20px; height: 20px; }
.auth-password-toggle .auth-eye-closed { display: none; }
.auth-password-toggle[aria-pressed='true'] .auth-eye-open { display: none; }
.auth-password-toggle[aria-pressed='true'] .auth-eye-closed { display: block; }
.sacse-auth .input-group.auth-password-wrap { flex: 1; }

/* Premium centered entry for Framework7; selectors stay inside auth screens. */
.sacse-app-auth { --f7-theme-color: #b17b21; background: #fff; }
.sacse-app-auth .login-screen-content { box-sizing: border-box; min-height: 100%; background: #fff url('../images/auth-premium-bg.svg') center / cover no-repeat; }
.sacse-app-auth .sacse-auth-main { box-sizing: border-box; min-height: 100vh; min-height: 100svh; padding: 24px 20px 20px; }
.sacse-app-auth .sacse-auth-card { position: relative; max-width: 440px; padding: 24px 28px; border: 1px solid #e8e1d8; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 16px 48px rgba(81,61,28,.06); }
.sacse-app-auth .sacse-auth-card::before { content: ""; position: absolute; top: -2px; left: 37%; width: 26%; height: 4px; border-radius: 10px; background: #d99721; }
.sacse-app-auth .auth-entry-brand { width: 200px; margin: 0 auto 8px; }
.sacse-app-auth .auth-header { margin-bottom: 18px; text-align: center; }
.sacse-app-auth .auth-title, .sacse-app-auth .login-screen-content .auth-title { max-width: none; margin: 0 0 6px; text-align: center; font-size: 32px; line-height: 1.18; }
.sacse-app-auth .auth-description, .sacse-app-auth .login-screen-content .auth-description { max-width: none; margin: 0; font-size: 16px; }
.sacse-app-auth .auth-app-fields { max-width: none; margin: 0 0 18px; padding: 0; background: transparent; }
.sacse-app-auth .auth-app-fields ul { margin: 0; padding: 0; background: transparent; }
.sacse-app-auth .auth-app-fields ul::before, .sacse-app-auth .auth-app-fields ul::after, .sacse-app-auth .item-inner::after, .sacse-app-auth .item-input-wrap::after, .sacse-app-auth .item-input-focused .item-input-wrap::after, .sacse-app-auth .auth-app-fields .item-input::after, .sacse-app-auth .auth-app-fields .item-input::before { display: none !important; }
.sacse-app-auth .auth-app-fields li { list-style: none; margin-bottom: 16px; }
.sacse-app-auth .auth-app-fields li:last-child { margin-bottom: 0; }
.sacse-app-auth .auth-app-fields .item-content, .sacse-app-auth .auth-app-fields .item-inner { display: block; min-height: 0; padding: 0; }
.sacse-app-auth .item-title.item-label { display: block; width: 100%; margin: 0 0 6px; color: #4c545e; font-size: 14px; font-weight: 500; transform: none; line-height: 1.4; }
.sacse-app-auth .item-input-wrap { position: relative; margin: 0; }
.sacse-app-auth .item-input-wrap input { box-sizing: border-box; width: 100%; height: 48px; padding: 11px 14px; border: 1px solid var(--auth-border); border-radius: 9px; color: var(--auth-ink); background: #fff; font-family: inherit; font-size: 15px; }
.sacse-app-auth .auth-input-icon + input { padding-left: 62px; }
.sacse-app-auth .auth-input-icon .f7-icons { font-size: 21px; }
.sacse-app-auth .item-input-wrap input:focus { border-color: #b17b21; box-shadow: 0 0 0 3px rgba(207,137,12,.12); }
.sacse-app-auth .input-clear-button { right: 12px; }
.sacse-app-auth .button-fill { position: relative; box-sizing: border-box; width: 100%; height: auto; min-height: 48px; padding: 11px 40px; border: 1px solid #2c353d; border-radius: 9px; color: #fff; background: #2c353d; font-size: 16px; font-weight: 700; line-height: 1.4; text-transform: none; letter-spacing: -.02em; box-shadow: none; }
.sacse-app-auth .button-fill:hover { background: #1d262e; }
.sacse-app-auth .auth-button-arrow { position: absolute; right: 20px; color: #e3a12b; font-size: 21px; }
.sacse-app-auth .auth-recovery { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e0e3e7; font-size: 13px; text-align: center; }
.sacse-app-auth .auth-recovery p, .sacse-app-auth .login-screen-content .auth-recovery p { max-width: none; margin: 0; color: #6b747e; }
.sacse-app-auth .auth-recovery a { color: #996000; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sacse-app-auth .auth-footer, .sacse-app-auth .login-screen-content .auth-footer { position: relative; max-width: none; margin: 18px 0 0; color: #858991; font-size: 12px; letter-spacing: .2em; }
.sacse-app-auth .auth-footer::before { content: ""; display: block; width: 28px; height: 2px; margin: 0 auto 8px; background: #a6aaaf; }
.sacse-app-auth .auth-app-password-content { box-sizing: border-box; display: flex; align-items: flex-start; justify-content: center; padding: calc(var(--f7-navbar-height, 56px) + 24px) 20px 24px; background: #faf9f7; }
.sacse-app-auth .auth-app-password-content .auth-title { font-size: 28px; }
.sacse-app-auth .auth-app-password-content .auth-description { font-size: 15px; }
.sacse-app-auth .auth-app-errors { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #e9c5ca; border-radius: 9px; color: #a42838; background: #fff2f4; font-size: 13px; }
.sacse-app-auth .auth-app-errors ul { margin: 0; padding-left: 16px; }

.sacse-auth-navbar { --f7-navbar-bg-color: #fff; --f7-navbar-text-color: #242d35; --f7-navbar-link-color: #9a6000; --f7-navbar-border-color: #e8e1d8; }
.sacse-auth-navbar .navbar-bg { background: #fff; }
.sacse-auth-navbar .title { color: #242d35; }
.sacse-auth-navbar a.link { color: #9a6000; }

/* Framework7 recovery and error dialogs while the auth page is active. */
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog { --f7-theme-color: #b17b21; --f7-theme-color-rgb: 177,123,33; --f7-dialog-width: min(400px, calc(100% - 32px)); --f7-dialog-bg-color: #fff; --f7-dialog-text-color: #69717b; --f7-dialog-title-text-color: #242d35; --f7-dialog-inner-padding: 24px; --f7-dialog-border-radius: 18px; --f7-dialog-text-align: left; --f7-dialog-font-size: 15px; --f7-dialog-title-font-size: 22px; --f7-dialog-title-font-weight: 650; --f7-dialog-title-line-height: 1.3; --f7-dialog-button-height: 44px; --f7-dialog-button-font-size: 14px; --f7-dialog-button-font-weight: 600; --f7-dialog-button-letter-spacing: 0; --f7-dialog-button-text-transform: none; --f7-dialog-input-height: 48px; --f7-dialog-input-font-size: 15px; --f7-dialog-input-bg-color: #fff; --f7-dialog-input-border-width: 1px; --f7-dialog-input-border-color: #d9dde2; --f7-dialog-input-border-radius: 9px; --f7-dialog-input-placeholder-color: #91969f; box-sizing: border-box; border: 1px solid #e8e1d8; box-shadow: 0 20px 64px rgba(36,45,53,.18); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog-backdrop { background: rgba(36,45,53,.3); backdrop-filter: blur(4px); }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-text { line-height: 1.6; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog input.dialog-input[type] { min-height: 48px; padding: 11px 14px; color: #242d35; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog input.dialog-input[type]:focus { outline: 0; border-color: #b17b21; box-shadow: 0 0 0 3px rgba(207,137,12,.12); }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-inner::after, body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-input-field::after, body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button::after { display: none !important; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-buttons { height: auto; padding: 0 24px 24px; gap: 12px; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button { flex: 1; min-width: 0; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid #d9dde2; border-radius: 9px; color: #996000; background: #fff; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button:hover, body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button.active-state { background: #f8f0e1; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button:last-child { color: #fff; background: #2c353d; border-color: #2c353d; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button:last-child:hover, body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button:last-child.active-state { background: #1d262e; }
body:has(.sacse-app-auth.modal-in, .sacse-app-auth.page-current) .dialog .dialog-button:focus-visible { outline: 3px solid #d2a34e; outline-offset: 3px; }

/* Existing panel password dialogs use the same warm neutral identity. */
.sacse-password-modal .modal-content { border: 1px solid #e5e2dc; border-radius: 18px; box-shadow: 0 16px 48px rgba(43,38,28,.15); }
.sacse-password-modal .modal-header { padding: 24px 26px 16px; border: 0; align-items: flex-start; }
.sacse-password-modal .modal-title { color: #242d35; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.sacse-password-modal .modal-body { padding: 0 26px 24px; }
.sacse-password-modal .password-modal-intro { margin: 0 0 22px; color: #69717b; font-size: 14px; line-height: 1.65; }
.sacse-password-modal .form-label { color: #4c545e; font-size: 13px; font-weight: 600; }
.sacse-password-modal .form-control { min-height: 48px; padding: 11px 14px; border-color: #d9dde2; border-radius: 9px; font-size: 14px; }
.sacse-password-modal .form-control:focus { border-color: #b17b21; box-shadow: 0 0 0 3px rgba(207,137,12,.12); }
.sacse-password-modal .password-modal-hint { margin: 8px 0 0; color: #737b85; font-size: 12px; }
.sacse-password-modal .modal-footer { gap: 8px; padding: 16px 26px 24px; border-top: 1px solid #eeebe5; }
.sacse-password-modal .modal-footer .btn { min-height: 44px; padding: 10px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.sacse-password-modal .modal-footer .btn-primary { background: #2c353d; border-color: #2c353d; }
.sacse-password-modal .modal-footer .btn:focus-visible { outline: 3px solid #d2a34e; outline-offset: 3px; }
/* Compact widths and short viewports keep the existing actions in view. */
@media (max-width: 1250px) and (min-width: 901px) {
    .auth-shell { grid-template-columns: minmax(300px, 51%) minmax(0,1fr); gap: 28px; }
    .sacse-auth-main { padding-right: 8px; }
}
@media (max-width: 900px) {
    .auth-shell { display: block; padding: 0; }
    .auth-photo-panel { display: none; }
    .sacse-auth-main { min-height: 100vh; min-height: 100svh; padding: 24px 20px; }
    .sacse-auth .auth-entry-brand { align-self: center; }
    .sacse-auth .auth-header { text-align: center; }
    .sacse-auth-card--wide .auth-header { text-align: left; }
}
@media (max-width: 520px) {
    .sacse-auth-main { justify-content: flex-start; padding: 20px 20px 16px; }
    .sacse-auth .auth-entry-brand { width: 170px; margin-bottom: 14px; }
    .auth-fields { grid-template-columns: minmax(0,1fr); }
    .auth-title { font-size: 28px; }
    .auth-description { font-size: 16px; }
    .auth-header { margin-bottom: 18px; }
    .auth-registration { gap: 12px; margin-top: 16px; }
    .auth-site-footer { margin-top: 14px; }
    .sacse-app-auth .sacse-auth-main { justify-content: center; padding: 16px 14px; }
    .sacse-app-auth .sacse-auth-card { padding: 20px; border-radius: 16px; }
    .sacse-app-auth .auth-entry-brand { width: 170px; margin-bottom: 10px; }
    .sacse-app-auth .auth-title, .sacse-app-auth .login-screen-content .auth-title { font-size: 28px; }
    .sacse-app-auth .auth-header { margin-bottom: 16px; }
    .sacse-app-auth .auth-app-fields { margin-bottom: 16px; }
    .sacse-app-auth .auth-app-fields li { margin-bottom: 14px; }
    .sacse-app-auth .auth-app-fields li:last-child { margin-bottom: 0; }
    .sacse-app-auth .auth-recovery { margin-top: 16px; padding-top: 14px; }
    .sacse-app-auth .auth-app-password-content { padding-right: 14px; padding-left: 14px; }
    .sacse-password-modal .modal-header { padding: 20px 20px 14px; }
    .sacse-password-modal .modal-body { padding: 0 20px 20px; }
    .sacse-password-modal .modal-footer { padding: 14px 20px 20px; }
}
@media (max-height: 620px) {
    .sacse-app-auth .auth-password-toggle { height: 44px; }
    .auth-header { margin-bottom: 16px; }
    .auth-title { font-size: 28px; }
    .auth-field { margin-bottom: 12px; }
    .auth-field > label { margin-bottom: 4px; }
    .auth-recovery { margin-bottom: 12px; }
    .auth-registration { margin-top: 14px; }
    .auth-site-footer { margin-top: 12px; }
    .sacse-auth .auth-entry-brand { width: 170px; margin-bottom: 10px; }
    .sacse-auth-main { padding-top: 12px; padding-bottom: 12px; }
    .sacse-app-auth .sacse-auth-main { padding: 12px 14px; }
    .sacse-app-auth .sacse-auth-card { padding: 18px 24px; }
    .sacse-app-auth .auth-entry-brand { width: 170px; margin-bottom: 10px; }
    .sacse-app-auth .auth-title, .sacse-app-auth .login-screen-content .auth-title { font-size: 28px; margin-bottom: 4px; }
    .sacse-app-auth .auth-header { margin-bottom: 16px; }
    .sacse-app-auth .auth-app-fields { margin-bottom: 14px; }
    .sacse-app-auth .auth-app-fields li { margin-bottom: 12px; }
    .sacse-app-auth .auth-app-fields li:last-child { margin-bottom: 0; }
    .sacse-app-auth .item-title.item-label { margin-bottom: 4px; }
    .sacse-app-auth .item-input-wrap input { height: 44px; padding-top: 9px; padding-bottom: 9px; }
    .sacse-app-auth .button-fill { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
    .sacse-app-auth .auth-recovery { margin-top: 14px; padding-top: 12px; }
    .sacse-app-auth .auth-footer, .sacse-app-auth .login-screen-content .auth-footer { margin-top: 12px; }
}
@media (max-height: 620px) and (min-width: 901px) {
    .auth-shell { padding: 12px; gap: 28px; }
    .auth-photo-panel { top: 12px; height: calc(100vh - 24px); height: calc(100svh - 24px); }
}
@media (prefers-reduced-motion: reduce) { .sacse-auth .form-control, .sacse-auth .form-select { transition: none; } }
