.admin-shell-header {
    position: relative;
    z-index: 100;
    margin: 0 0 25px;
    padding: 0 clamp(16px, 4vw, 48px);
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(112deg, #07183d, #102d74 62%, #173e8b);
    color: #f8faff;
    box-shadow: 0 12px 35px rgba(8, 27, 73, .2);
}
.admin-shell-header__brand-row,
.admin-shell-header__nav-row {
    display: flex;
    width: min(1440px, 100%);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
}
.admin-shell-header__brand-row { min-height: 76px; }
.admin-shell-header__nav-row {
    min-height: 54px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.admin-shell-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}
.admin-shell-brand img {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255,255,255,.78);
    border-radius: 50%;
    background: white;
    object-fit: contain;
}
.admin-shell-brand strong,
.admin-shell-brand small,
.admin-shell-identity strong,
.admin-shell-identity small,
.admin-shell-clock strong,
.admin-shell-clock small { display: block; }
.admin-shell-brand strong { font-size: .91rem; letter-spacing: .01em; }
.admin-shell-brand small { margin-top: 3px; color: rgba(255,255,255,.65); font-size: .7rem; }
.admin-shell-session { display: flex; min-width: 0; align-items: center; gap: 11px; }
.admin-shell-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(244,197,66,.38);
    border-radius: 12px;
    background: rgba(244,197,66,.13);
    color: #f4c542;
}
.admin-shell-identity { min-width: 0; }
.admin-shell-identity strong { overflow: hidden; max-width: 190px; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell-identity small { margin-top: 3px; color: #c3d0eb; font-size: .69rem; }
.admin-shell-session-divider { width: 1px; height: 31px; margin: 0 3px; background: rgba(255,255,255,.19); }
.admin-shell-clock { min-width: 118px; }
.admin-shell-clock strong { color: #ffdf83; font-size: .79rem; font-variant-numeric: tabular-nums; }
.admin-shell-clock small { margin-top: 3px; color: rgba(255,255,255,.68); font-size: .65rem; }
.admin-shell-nav { display: flex; min-width: 0; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.admin-shell-nav a {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border-radius: 8px;
    color: rgba(255,255,255,.78);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}
.admin-shell-nav a i { color: #f4c542; font-size: .76rem; }
.admin-shell-nav a:hover,
.admin-shell-nav a:focus-visible { transform: translateY(-1px); background: rgba(255,255,255,.1); color: #fff; outline: none; }
.admin-shell-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; }
.admin-shell-login-time { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.65); font-size: .65rem; white-space: nowrap; }
.admin-shell-login-time i { color: #f4c542; }
.admin-shell-login-time time { color: #fff; font-weight: 700; }
.admin-shell-actions form { margin: 0; }
.admin-shell-logout {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: .7rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
}
.admin-shell-logout:hover { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.16); }
.admin-shell-logout:focus-visible { outline: 3px solid #f4c542; outline-offset: 2px; }
.admin-password-field { position: relative; display: block; width: 100%; }
.admin-password-field input { width: 100%; padding-right: 48px !important; }
.admin-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64728a;
    cursor: pointer;
}
.admin-password-toggle:hover { background: #eef2f8; color: #102d74; }
.admin-password-toggle:focus-visible { outline: 2px solid #102d74; outline-offset: 1px; }
@media (max-width: 900px) {
    .admin-shell-header__brand-row { min-height: 68px; }
    .admin-shell-header__nav-row { align-items: flex-start; flex-direction: column; gap: 7px; padding: 9px 0 11px; }
    .admin-shell-nav { width: 100%; }
    .admin-shell-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
    .admin-shell-header { margin-bottom: 18px; padding-inline: 14px; }
    .admin-shell-header__brand-row { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 0; }
    .admin-shell-session { width: 100%; padding-left: 2px; }
    .admin-shell-identity strong { max-width: 130px; }
    .admin-shell-nav a { min-height: 36px; padding-inline: 9px; font-size: .68rem; }
    .admin-shell-login-time { flex-wrap: wrap; max-width: calc(100% - 100px); line-height: 1.45; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-shell-header *,
    .admin-password-field * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
