[hidden] { display: none !important; }
.auth-pending .navigation { visibility: hidden; }
.auth-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; }
.auth-user { color: #29425b; font-weight: 600; }
.auth-controls a, .auth-signout { color: #315b77; font: inherit; }
.auth-signout { display: inline-grid; place-items: center; min-inline-size: 44px; min-block-size: 44px; padding: 0 8px; border: 1px solid #c9d5e2; border-radius: 8px; background: #fff; cursor: pointer; }
.auth-signout:hover { background: #edf3f7; }
.auth-signout:disabled { opacity: .6; cursor: wait; }
.auth-account[aria-current="page"] { font-weight: 700; }
.auth-controls a:focus-visible, .auth-signout:focus-visible { outline: 3px solid #e9b86b; outline-offset: 4px; }
.auth-failure { max-width: 640px; margin: 100px auto; padding: 32px; border: 1px solid #d7e0e9; border-radius: 12px; background: white; }
.auth-card { max-width: 620px; margin: 28px 0; padding: 30px; background: white; border: 1px solid #d7e0e9; border-radius: 12px; box-shadow: 0 8px 28px #172c4305; }
.auth-form { display: grid; gap: 20px; }
.auth-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #29425b; }
.auth-form input:not([type=checkbox]), .auth-form select { width: 100%; padding: 12px 14px; border: 1px solid #bfcedc; border-radius: 7px; background: white; font: inherit; font-size: 16px; color: #172c43; }
.auth-form input:focus, .auth-form select:focus { outline: 3px solid #e9b86b66; border-color: #b48748; }
.auth-help { margin: 0; font-size: 14px; line-height: 1.6; color: #66788b; font-weight: 400; }
.auth-status { margin: 0; min-height: 24px; color: #385c50; line-height: 1.6; }
.auth-status.auth-error { color: #a43e36; }
.auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.auth-note { padding: 16px 18px; border-left: 3px solid #e9b86b; background: #fcf7ee; line-height: 1.6; }
.auth-roles { margin: 0; padding: 18px; border: 1px solid #d7e0e9; border-radius: 8px; }
.auth-roles legend { font-size: 14px; font-weight: 600; padding: 0 6px; }
.auth-role { display: flex !important; align-items: flex-start; gap: 12px !important; margin: 12px 0; }
.auth-role input { margin-top: 3px; accent-color: #29425b; }
.auth-role strong, .auth-role small { display: block; }
.auth-role small { margin-top: 3px; font-weight: 400; line-height: 1.5; color: #66788b; }
.auth-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
@media (max-width: 760px) { .auth-controls { justify-content: flex-start; } .topbar { gap: 12px; flex-wrap: wrap; height: auto; min-height: 80px; padding: 16px 0; } .auth-card { padding: 22px; } }
@media print { .auth-controls { display: none !important; } }
