[hidden]{display:none!important}
select,textarea{font:inherit;width:100%;padding:10px 11px;border:1px solid #bac8cf;border-radius:5px;background:#fff;color:#1d2931}
textarea{min-height:92px;resize:vertical}
.dialog-body{display:grid;gap:14px;padding:18px}
.dialog-body label{margin:0}
.dialog-body input:not([type="checkbox"]),.dialog-body select{height:40px}
.check-field{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important}
.check-field input{width:17px;height:17px;margin:1px 0 0;flex:0 0 auto}
.check-field span{font-size:11px;line-height:1.45;color:#40525d}
.form-help{margin:0;color:#63747d;font-size:11px;line-height:1.55}
#bootstrapSecretPanel{display:grid;gap:13px}
#bootstrapSecretPanel[hidden]{display:none}
.auth-card{max-height:calc(100vh - 40px);overflow-y:auto}
.auth-view[hidden],.login-form[hidden]{display:none}
.qr-enrollment{display:grid;justify-items:center;gap:9px;padding:12px;border:1px solid #cfe0e8;border-radius:7px;background:#f7fafb;color:#263b47;font-size:12px}
.inline-enrollment-link{display:inline-flex;width:fit-content;text-decoration:none}
.qr-enrollment img,.enrollment-result img{display:block;width:auto;max-width:160px;height:auto;background:#fff;image-rendering:pixelated}
.apple-enrollment-help{display:grid;gap:6px;padding:11px 12px;border:1px solid #cfe0e8;border-radius:6px;background:#f7fafb;color:#40525d;font-size:11px;line-height:1.5}
.apple-enrollment-help strong{color:#263b47}
.apple-enrollment-help code,.apple-account-help code{overflow-wrap:anywhere;color:#163f60;font-size:10px}
.apple-account-help{line-height:1.5}
.enrollment-result{display:grid;justify-items:start;gap:8px}
.enrollment-result code{max-width:100%;padding:7px 9px;overflow-wrap:anywhere;background:#fff;border:1px solid #cfe0e8;border-radius:4px;color:#163f60;font-size:11px}
dialog form{display:flex;max-height:calc(100vh - 32px);flex-direction:column;overflow:hidden}
dialog .dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog header,dialog footer{flex:0 0 auto}
.user-actions{display:flex;flex-wrap:wrap;gap:6px}
.user-state{display:flex;align-items:center;gap:7px}
.notice:not(.warning){background:#eaf3fb;border:1px solid #cfe4f4;color:#0b589e}
.notice span{overflow-wrap:anywhere}
.role-chip{display:inline-flex;padding:4px 7px;border-radius:4px;background:#edf2f5;color:#40515b;font-size:10px;font-weight:800;text-transform:uppercase}
.automation-state{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0 0 18px;padding:12px;border:1px solid #dbe4e8;border-radius:6px;background:#f7fafb;font-size:11px}
.automation-state span{color:#71818a}
.automation-state strong{min-width:0;overflow-wrap:anywhere;color:#263b47}
@media(max-width:760px){.dialog-body{padding:15px}.user-actions{min-width:180px}}
