.app-shell[hidden], .auth-view[hidden], .auth-view [hidden], .admin-demo-badge[hidden] { display: none !important; }
.auth-view { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; background: radial-gradient(ellipse at 50% 0%, #e9efff 0, var(--bg) 60%); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 20px; }
.auth-card { width: 100%; max-width: 430px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 16px 48px rgba(22, 42, 75, .07); }
.auth-card-label { display: inline-block; color: var(--blue); background: #eef2ff; border-radius: 5px; padding: 4px 8px; font-size: 11px; }
.auth-card h1 { margin: 16px 0 8px; font-size: 26px; letter-spacing: -.5px; }
.auth-description { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.auth-card fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.auth-card label { display: block; margin: 20px 0 9px; font-size: 13px; }
.auth-card input:not(.admin-element-input):not(.el-input__inner) { width: 100%; }
.auth-password { position: relative; }
.admin-login-input { display: block; min-width: 0; }
.auth-password admin-button { position: absolute; right: 7px; top: 6px; height: 34px; }
.auth-submit { width: 100%; min-height: 46px; justify-content: center; margin-top: 26px; font-size: 14px; }
.admin-logout:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-message, .auth-error { margin: 16px 0 0; padding: 11px 12px; border-radius: 7px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-message { background: #edf3ff; color: #3b5d9a; }
.auth-error { background: #fff1f0; color: #b84040; }
.auth-loading { margin: 28px 0; color: var(--muted); font-size: 13px; }
.auth-help { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-footer { margin: 24px 0 0; color: #94a0b5; font-size: 12px; }
.admin-identity { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.admin-identity [data-admin-name], .mini-user [data-admin-name] { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-logout { white-space: nowrap; padding: 8px 12px; font-size: 12px; }
.main-area { min-width: 0; }
.topbar { gap: 16px; }
.topbar .breadcrumbs { min-width: 0; }
.topbar .breadcrumbs strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .top-actions { flex-shrink: 0; }
.user-toolbar, .user-statline { flex-wrap: wrap; gap: 8px; }
.admin-demo-badge { padding: 3px 6px; border-radius: 5px; font-size: 10px; color: #93651c; background: #fff5e4; }
.admin-logout:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1100px) { .topbar .top-actions { gap: 8px; } .admin-identity [data-admin-name] { max-width: 80px; } }
@media (max-width: 900px) { .topbar #globalSearchBtn, .topbar #helpBtn, .topbar #noticeBtn, .topbar .top-divider { display: none; } }
@media (max-width: 640px) { .topbar { height: auto; min-height: 68px; padding: 12px 16px; flex-wrap: wrap; gap: 8px; } .topbar .admin-identity { display: none; } }
@media (max-width: 520px) { .auth-view { padding: 28px 16px; } .auth-card { padding: 28px 24px; } .auth-brand { font-size: 18px; margin-bottom: 22px; } }
