:root {
    --ak-shell-accent: #0b78d0;
    --ak-shell-accent-rgb: 11, 120, 208;
    --ak-shell-deep: #062b53;
    --ak-shell-soft: #eef7ff;
    --ak-shell-gradient: linear-gradient(135deg, #0b78d0, #062b53);
    --ak-shell-on-accent: #ffffff;
    --ak-shell-on-accent-muted: rgba(255,255,255,.78);
    --ak-shell-border: rgba(15, 52, 86, 0.13);
    --ak-shell-shadow: 0 14px 38px rgba(6, 43, 83, 0.12);
}

body.ak-shell-drawer-open {
    overflow: hidden !important;
}

header.site-header {
    width: 100% !important;
    min-height: 72px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-bottom: 0 !important;
    box-shadow: 0 8px 28px rgba(6, 43, 83, 0.09) !important;
    overflow: visible !important;
}

header.site-header::before {
    display: none !important;
}

header.site-header > .site-header.ak-shell-v2 {
    width: 100% !important;
    max-width: none !important;
    min-height: 72px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 18px rgba(6, 43, 83, 0.07) !important;
    color: #102235 !important;
    overflow: visible !important;
}

.ak-shell-v2 .header-primary {
    width: 100%;
    min-height: 72px;
    display: grid !important;
    grid-template-columns: auto minmax(150px, auto) minmax(260px, 560px) auto;
    align-items: center;
    gap: clamp(12px, 1.5vw, 24px);
    padding: 10px clamp(14px, 2.4vw, 34px) !important;
}

.ak-shell-v2[data-ak-role] .header-primary {
    grid-template-columns: minmax(170px, auto) minmax(280px, 1fr) auto;
}

.ak-shell-v2 .brand {
    min-width: 230px;
    gap: 10px !important;
}

.ak-shell-v2 .brand .logo {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(var(--ak-shell-accent-rgb), 0.18) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ak-shell-v2 .brand-name {
    color: #102235 !important;
    -webkit-text-fill-color: #102235 !important;
    font-size: 1.02rem !important;
}

.ak-shell-v2 .brand-sub {
    color: #6b7d8a !important;
    font-size: 0.66rem !important;
}

.ak-shell-page-heading {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid var(--ak-shell-border);
}

.ak-shell-page-heading strong,
.ak-shell-page-heading span {
    display: block;
}

.ak-shell-page-heading strong {
    color: #102235;
    font-size: 1.02rem;
    line-height: 1.25;
    white-space: nowrap;
}

.ak-shell-page-heading span {
    margin-top: 3px;
    color: #7a8b96;
    font-size: 0.7rem;
    white-space: nowrap;
}

.ak-shell-search {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    height: 44px;
    padding-left: 14px;
    border: 1px solid var(--ak-shell-border);
    border-radius: 13px;
    background: #f8fbfd;
    color: #70808d;
}

.ak-shell-search:focus-within {
    border-color: rgba(var(--ak-shell-accent-rgb), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--ak-shell-accent-rgb), 0.1);
    background: #fff;
}

.ak-shell-search > svg {
    width: 19px;
    height: 19px;
}

.ak-shell-search input {
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #102235;
    font: inherit;
}

.ak-shell-search > button {
    height: 36px;
    margin-right: 4px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--ak-shell-gradient, linear-gradient(135deg, var(--ak-shell-accent), var(--ak-shell-deep)));
    color: var(--ak-shell-on-accent, #fff);
    font-weight: 700;
    cursor: pointer;
}

.ak-shell-search-results {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--ak-shell-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ak-shell-shadow);
}

.ak-shell-search-results a,
.ak-shell-search-results .ak-shell-search-empty {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 10px;
    color: #21384b;
    text-decoration: none;
    font-size: 0.84rem;
}

.ak-shell-search-results a:hover,
.ak-shell-search-results a:focus-visible {
    background: var(--ak-shell-soft);
    outline: none;
}

.ak-shell-v2 .header-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px !important;
    min-width: 0;
}

.ak-shell-v2 .user-pill.ak-shell-identity {
    min-height: 46px;
    padding: 4px 7px 4px 5px !important;
    gap: 8px;
    border: 0 !important;
    background: transparent !important;
    color: #102235 !important;
    box-shadow: none !important;
    text-decoration: none;
}

.ak-shell-v2 .user-initials {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
    border-radius: 50% !important;
    background: rgba(var(--ak-shell-accent-rgb), 0.1) !important;
    border: 1px solid rgba(var(--ak-shell-accent-rgb), 0.18) !important;
    color: var(--ak-shell-deep) !important;
}

.ak-shell-identity-copy {
    display: grid;
    min-width: 0;
    text-align: left;
}

.ak-shell-v2 .user-name {
    max-width: 150px;
    overflow: hidden;
    color: #102235 !important;
    font-size: 0.82rem !important;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ak-shell-role,
.ak-shell-balance-line {
    margin-top: 2px;
    color: #648093;
    font-size: 0.68rem;
    line-height: 1.15;
    white-space: nowrap;
}

.ak-shell-balance-line strong {
    color: #087f73;
}

.ak-shell-balance-refresh,
.ak-shell-v2 .ak-shell-bell,
.ak-shell-v2 .ak-user-bell__btn {
    position: relative !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 1px solid var(--ak-shell-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #24465f !important;
    box-shadow: none !important;
    cursor: pointer;
}

.ak-shell-balance-refresh svg {
    width: 18px;
    height: 18px;
}

.ak-shell-v2 .ak-shell-bell:hover,
.ak-shell-v2 .ak-user-bell__btn:hover,
.ak-shell-balance-refresh:hover {
    border-color: rgba(var(--ak-shell-accent-rgb), 0.5) !important;
    background: var(--ak-shell-soft) !important;
    color: var(--ak-shell-accent) !important;
}

.ak-shell-v2 .ak-shell-bell {
    order: 99 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ak-shell-v2 .ak-shell-bell svg {
    width: 20px !important;
    height: 20px !important;
    color: #173f5c !important;
    opacity: 1 !important;
}

.ak-shell-v2 .admin-bell-count,
.ak-shell-v2 .ak-user-bell__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #f04438;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 19px;
}

.ak-shell-v2 .ak-user-bell {
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    order: 99;
}

.ak-shell-v2 .ak-user-bell__label {
    display: none !important;
}

.ak-shell-v2 .ak-user-bell__icon {
    font-size: 0 !important;
}

.ak-shell-v2 .ak-user-bell__icon::before {
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    background: currentColor;
    clip-path: polygon(45% 4%,55% 4%,58% 13%,68% 18%,77% 30%,80% 48%,80% 65%,91% 76%,91% 82%,9% 82%,9% 76%,20% 65%,20% 48%,23% 30%,32% 18%,42% 13%,45% 4%,45% 4%,38% 87%,62% 87%,58% 96%,42% 96%);
}

.ak-shell-scrim {
    position: fixed;
    z-index: 10005;
    inset: 0;
    border: 0;
    background: rgba(16, 35, 48, 0.46);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.ak-shell-v2 .ak-shell-drawer,
.ak-shell-v2 .ak-user-bell__panel.ak-shell-drawer,
body > .ak-shell-drawer.ak-shell-drawer-portal {
    position: fixed !important;
    z-index: 10010 !important;
    inset: 0 0 0 auto !important;
    width: min(420px, 100vw) !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #d9e6e3 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: -24px 0 64px rgba(7, 38, 45, 0.24) !important;
    overflow: hidden !important;
    color: #102235 !important;
}

.ak-shell-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 15px 20px;
    border-bottom: 1px solid #e3ecea;
    background: #fff;
}

.ak-shell-drawer-head > div {
    display: grid;
    gap: 3px;
}

.ak-shell-drawer-head small {
    color: #0f8275;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.ak-shell-drawer-head strong {
    color: #142f35;
    font-size: 1.42rem;
    font-weight: 850;
}

.ak-shell-drawer-head button {
    width: 40px;
    height: 40px;
    border: 1px solid #d5e3e0;
    border-radius: 11px;
    background: #fff;
    color: #315e57;
    font-size: 1.55rem;
    cursor: pointer;
}

.ak-shell-clock-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 154px;
    margin: 16px 18px;
    padding: 21px;
    border-radius: 19px;
    overflow: visible;
    background:
        radial-gradient(circle at 108% 115%, rgba(255,255,255,.11) 0 31%, transparent 32%),
        var(--ak-shell-gradient, linear-gradient(135deg, var(--ak-shell-deep), var(--ak-shell-accent)));
    box-shadow: 0 14px 28px rgba(var(--ak-shell-accent-rgb), .18);
    color: var(--ak-shell-on-accent, #fff);
}

.ak-shell-clock-copy {
    align-self: end;
    display: grid;
    gap: 6px;
}

.ak-shell-clock-copy small,
.ak-shell-clock-copy span {
    color: var(--ak-shell-on-accent-muted, rgba(255, 255, 255, 0.78));
    font-size: 0.72rem;
}

.ak-shell-clock-copy strong {
    font-size: 2.08rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.02em;
}

.ak-shell-clock-tools {
    align-self: start;
    display: flex;
    gap: 8px;
}

.ak-shell-clock-tools button,
.ak-shell-clock-tools a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--ak-shell-on-accent, #fff);
    text-decoration: none;
    cursor: pointer;
}

.ak-shell-theme-menu {
    position: absolute;
    z-index: 3;
    top: 66px;
    right: 18px;
    display: grid;
    grid-template-columns: repeat(7, clamp(28px, 7vw, 32px));
    gap: 7px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(4, 31, 50, 0.24);
}

.ak-shell-theme-menu[hidden] {
    display: none !important;
}

.ak-shell-theme-swatch {
    position: relative;
    width: clamp(28px, 7vw, 32px);
    height: clamp(28px, 7vw, 32px);
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    outline: 1px solid rgba(15, 52, 86, 0.18);
    box-shadow: 0 5px 12px rgba(4, 31, 50, .14);
    overflow: hidden;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, outline-color .16s ease;
}

.ak-shell-theme-swatch.is-active {
    outline: 3px solid #102235;
}

.ak-shell-theme-swatch:hover,
.ak-shell-theme-swatch:focus-visible {
    z-index: 1;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 17px rgba(4, 31, 50, .22);
}

.ak-shell-theme-swatch.is-gradient::after,
.ak-shell-theme-swatch.is-liquid::after,
.ak-shell-theme-swatch.is-liquid-light::after {
    content: "";
    position: absolute;
    inset: 3px 4px 15px 4px;
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(255,255,255,.64), rgba(255,255,255,.04));
    transform: rotate(-13deg);
    pointer-events: none;
}

.ak-shell-theme-swatch.is-liquid,
.ak-shell-theme-swatch.is-liquid-light {
    border-color: rgba(255,255,255,.86);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.58),
        inset 0 -7px 12px rgba(255,255,255,.12),
        0 6px 14px rgba(4,31,50,.18);
}

html[data-ak-theme-style^="liquid"] :is(
    .ak-shell-clock-tools button,
    .ak-shell-clock-tools a,
    .ak-shell-drawer-actions button
) {
    backdrop-filter: blur(12px) saturate(145%);
    -webkit-backdrop-filter: blur(12px) saturate(145%);
}

.ak-shell-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    padding: 0 18px 15px;
}

.ak-shell-drawer-actions button {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #d9e5e3;
    border-radius: 10px;
    background: #fff;
    color: #42645e;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.ak-shell-drawer-actions button:nth-child(2) {
    color: #c13c34;
    border-color: rgba(193, 60, 52, 0.22);
}

.ak-shell-drawer-list {
    height: calc(100dvh - 372px) !important;
    max-height: none !important;
    padding: 2px 18px 68px !important;
    overflow-y: auto !important;
}

.ak-shell-drawer-list .admin-notif-item,
.ak-shell-drawer-list .ak-user-bell__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    margin-bottom: 9px;
    padding: 13px;
    border: 1px solid #dfe9e7;
    border-radius: 14px;
    background: #fff;
    color: #18364d;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(18, 57, 52, .055);
}

.ak-shell-drawer-list .admin-notif-item:hover,
.ak-shell-drawer-list .ak-user-bell__item:hover {
    border-color: rgba(15, 130, 117, .25);
    background: #f8fcfb;
}

.ak-shell-drawer-list .admin-notif-panel__empty,
.ak-shell-drawer-list .ak-user-bell__empty {
    display: flex;
    min-height: calc(100dvh - 470px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 24px;
    color: #83938f;
    text-align: center;
}

.ak-shell-drawer-list .admin-notif-panel__empty::before,
.ak-shell-drawer-list .ak-user-bell__empty::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    border-radius: 14px;
    background: #e5f5f2;
    color: #0f8275;
    font-size: 1.25rem;
    font-weight: 900;
}

.ak-shell-drawer-list .admin-notif-panel__empty strong {
    color: #334d48;
    font-size: .86rem;
}

.ak-shell-drawer-list .admin-notif-panel__empty small {
    display: block;
    color: #8a9b97;
    font-size: .72rem;
}

.ak-shell-drawer-list .admin-notif-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ak-shell-soft);
    color: var(--ak-shell-accent);
    font-weight: 800;
}

.ak-shell-drawer-list .admin-notif-item__title,
.ak-shell-drawer-list .ak-user-bell__item strong {
    color: #102235;
    font-size: 0.82rem;
}

.ak-shell-drawer-list .admin-notif-item__msg,
.ak-shell-drawer-list .admin-notif-item__time,
.ak-shell-drawer-list .ak-user-bell__item small {
    color: #748792;
    font-size: 0.7rem;
}

.ak-shell-history-link {
    position: absolute;
    right: 18px;
    bottom: 14px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #d8ebe7;
    background: #eaf7f4;
    color: #0b746a;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

/* Professional shared admin navigation. */
body.admin-dashboard-body .admin-console {
    grid-template-columns: 236px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}

body.admin-dashboard-body {
    overflow-x: hidden !important;
}

body.admin-dashboard-body .admin-content,
body.admin-dashboard-body .admin-panels,
body.admin-dashboard-body .admin-panel,
body.admin-dashboard-body .admin-overview-grid,
body.admin-dashboard-body .admin-overview-right {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.admin-dashboard-body .admin-sidebar {
    min-width: 0 !important;
    padding: 18px 12px !important;
    gap: 14px !important;
    background: linear-gradient(180deg, #062d55 0%, #052441 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 8px 0 28px rgba(5, 36, 65, 0.12) !important;
}

body.admin-dashboard-body .admin-sidebar__brand {
    min-height: 58px;
    padding: 2px 44px 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.admin-dashboard-body .admin-sidebar__brand span,
body.admin-dashboard-body .admin-sidebar__brand h1,
body.admin-dashboard-body .admin-sidebar__brand p,
body.admin-dashboard-body .admin-nav-group-label {
    color: rgba(255, 255, 255, 0.76) !important;
}

body.admin-dashboard-body .admin-sidebar__brand span {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

body.admin-dashboard-body .admin-sidebar-toggle {
    top: 2px !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.admin-dashboard-body .admin-sidebar .admin-nav-button {
    min-height: 44px;
    margin: 2px 0 !important;
    padding: 6px 8px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
}

body.admin-dashboard-body .admin-sidebar .admin-nav-button:hover,
body.admin-dashboard-body .admin-sidebar .admin-nav-button:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

body.admin-dashboard-body .admin-sidebar .admin-nav-button.is-active {
    background: var(--ak-shell-gradient, linear-gradient(135deg, var(--ak-shell-accent), var(--ak-shell-deep))) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(var(--ak-shell-accent-rgb), 0.28) !important;
}

body.admin-dashboard-body .admin-sidebar .admin-nav-button .icon-circle,
body.admin-dashboard-body .admin-nav-group-chevron {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.11) !important;
    color: #fff !important;
}

body.admin-dashboard-body .admin-nav-group-toggle {
    width: 100% !important;
    min-height: 36px !important;
    padding: 8px 7px !important;
    border: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
}

body.admin-dashboard-body .admin-nav-group-toggle:hover,
body.admin-dashboard-body .admin-nav-group-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    outline: none !important;
}

body.admin-dashboard-body .admin-nav-group-chevron {
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

body.admin-dashboard-body .admin-nav-group-items {
    padding: 3px 0 7px !important;
}

body.admin-dashboard-body .admin-shortcuts-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(135px, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
}

body.admin-dashboard-body .admin-shortcut-card {
    min-width: 0 !important;
    width: auto !important;
}

body.admin-dashboard-body.is-sidebar-collapsed .admin-console {
    grid-template-columns: 78px minmax(0, 1fr) !important;
}

.ak-shell-menu-toggle {
    display: none !important;
}

.ak-shell-menu-toggle span {
    display: block !important;
    width: 19px !important;
    height: 2px !important;
    margin: 2px auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #173b59 !important;
    opacity: 1 !important;
}

@media (max-width: 1100px) {
    .ak-shell-v2 .header-primary {
        grid-template-columns: auto minmax(180px, 1fr) auto;
    }
    .ak-shell-page-heading {
        display: none;
    }
    .ak-shell-v2 .brand-sub,
    .ak-shell-v2 .ak-shell-role {
        display: none !important;
    }
    body.admin-dashboard-body .admin-console {
        grid-template-columns: 210px minmax(0, 1fr) !important;
    }
    body.admin-dashboard-body .admin-shortcuts-grid {
        grid-template-columns: repeat(3, minmax(145px, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    header.site-header,
    header.site-header > .site-header.ak-shell-v2,
    .ak-shell-v2 .header-primary {
        min-height: 62px !important;
    }
    .ak-shell-v2 .header-primary {
        grid-template-columns: 42px minmax(96px, 1fr) 42px auto;
        gap: 9px;
        padding: 8px 10px !important;
    }
    .ak-shell-menu-toggle {
        position: static !important;
        display: inline-flex !important;
        grid-column: 1;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid var(--ak-shell-border) !important;
        border-radius: 11px !important;
        background: #fff !important;
    }
    .ak-shell-page-heading {
        display: block;
        grid-column: 2;
        min-width: 0;
        padding: 0;
        border: 0;
    }
    .ak-shell-page-heading strong {
        overflow: hidden;
        font-size: 0.88rem;
        text-overflow: ellipsis;
    }
    .ak-shell-page-heading span {
        display: none;
    }
    .ak-shell-v2 .brand .logo {
        width: 38px !important;
        height: 38px !important;
    }
    .ak-shell-v2 .brand > div:last-child,
    .ak-shell-v2 .ak-shell-identity-copy,
    .ak-shell-balance-refresh {
        display: none !important;
    }
    .ak-shell-search {
        grid-column: 3;
        justify-self: end;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 11px;
    }
    .ak-shell-search > svg {
        margin: auto;
    }
    .ak-shell-search input,
    .ak-shell-search > button {
        display: none;
    }
    .ak-shell-search:focus-within,
    .ak-shell-search.is-mobile-open {
        position: absolute;
        z-index: 10030;
        top: 8px;
        right: 62px;
        left: 62px;
        width: auto;
        grid-template-columns: 20px minmax(0, 1fr) auto;
        padding-left: 12px;
    }
    .ak-shell-search:focus-within input,
    .ak-shell-search:focus-within > button,
    .ak-shell-search.is-mobile-open input,
    .ak-shell-search.is-mobile-open > button {
        display: block;
    }
    .ak-shell-v2 .header-actions {
        grid-column: 4;
    }
    .ak-shell-v2 .user-pill.ak-shell-identity {
        padding: 0 !important;
    }
    .ak-shell-v2 .user-initials {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px;
    }
    .ak-shell-v2 .ak-shell-bell,
    .ak-shell-v2 .ak-user-bell__btn {
        width: 42px !important;
        height: 42px !important;
    }
    .ak-shell-v2 .header-actions > .ak-shell-identity {
        display: none !important;
    }
    body.admin-dashboard-body .admin-console,
    body.admin-dashboard-body.is-sidebar-collapsed .admin-console {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.admin-dashboard-body .admin-sidebar {
        display: none !important;
    }
    body.admin-dashboard-body .admin-shortcuts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }
    .ak-shell-v2 .ak-shell-drawer,
    .ak-shell-v2 .ak-user-bell__panel.ak-shell-drawer,
    body > .ak-shell-drawer.ak-shell-drawer-portal {
        width: min(100vw, 420px) !important;
    }
}

/* AK Services premium light admin sidebar (approved concept). */
body.admin-dashboard-body.has-admin-sidebar {
    --ak-sidebar-width: 276px;
    --ak-sidebar-accent: #0f8275;
    --ak-sidebar-deep: #0a4942;
    --ak-sidebar-text: #183047;
    --ak-sidebar-muted: #738782;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar {
    padding: 14px 12px 16px !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-right: 1px solid #dfe9e7 !important;
    color: var(--ak-sidebar-text) !important;
    box-shadow: 8px 0 28px rgba(20, 62, 57, .09) !important;
    scrollbar-width: thin;
    scrollbar-color: #c9dcda transparent;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c9dcda;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar__brand {
    min-height: 55px !important;
    padding: 7px 44px 11px 3px !important;
    border-bottom: 0 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo {
    color: var(--ak-sidebar-text) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy {
    color: var(--ak-sidebar-text) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy strong {
    color: #122b3f !important;
    font-size: 1.03rem !important;
    font-weight: 850 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy small {
    margin-top: 3px;
    color: #778b87 !important;
    font-size: .6rem !important;
    font-weight: 650;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-toggle {
    top: 3px !important;
    right: 0 !important;
    width: 39px !important;
    height: 39px !important;
    border: 1px solid #cfe0dd !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: var(--ak-sidebar-accent) !important;
    box-shadow: 0 5px 14px rgba(15, 79, 71, .1) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-toggle:hover,
body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-toggle:focus-visible {
    border-color: rgba(15, 130, 117, .35) !important;
    background: #edf8f6 !important;
    color: var(--ak-sidebar-deep) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 68px;
    padding: 11px 12px;
    border: 1px solid #d5ebe7;
    border-radius: 14px;
    background: linear-gradient(135deg, #edf9f7, #e7f5f2);
    box-sizing: border-box;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-profile__initials {
    display: inline-flex !important;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: #d8efeb !important;
    color: #0d746a !important;
    font-size: .75rem;
    font-weight: 850;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-profile__copy {
    display: grid !important;
    min-width: 0;
    gap: 2px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-profile__copy strong {
    overflow: hidden;
    color: #1c3437 !important;
    font-size: .83rem;
    font-weight: 820;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-profile__copy small {
    color: #6f8581 !important;
    font-size: .67rem;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar nav {
    flex: 1 0 auto;
    gap: 4px !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-section-label {
    padding: 10px 9px 5px;
    color: #91a29e;
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button {
    min-height: 42px;
    margin: 1px 0 !important;
    padding: 5px 9px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #58706c !important;
    font-size: .76rem;
    font-weight: 750;
    box-shadow: none !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button:hover,
body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button:focus-visible {
    border-color: #dcece9 !important;
    background: #f0f8f6 !important;
    color: #0c6f65 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button.is-active {
    border-color: var(--ak-sidebar-accent) !important;
    background: linear-gradient(135deg, #128c7e, #0f796e) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 130, 117, .2) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button .label-wrapper {
    gap: 9px !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button .icon-circle {
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #6e918a !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button:hover .icon-circle,
body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button:focus-visible .icon-circle {
    background: #dff1ee !important;
    color: #0e7d72 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .admin-nav-button.is-active .icon-circle {
    background: rgba(255, 255, 255, .15) !important;
    color: #ffffff !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group {
    padding-top: 2px;
    border-top: 1px solid #edf2f1;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-toggle {
    min-height: 37px !important;
    padding: 8px 8px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #6d817d !important;
    font-size: .62rem !important;
    font-weight: 850 !important;
    letter-spacing: .1em !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-toggle:hover,
body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-toggle:focus-visible {
    background: #f1f8f6 !important;
    color: #0d746a !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-label {
    color: inherit !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-chevron {
    width: 23px !important;
    height: 23px !important;
    border: 0 !important;
    background: #edf5f3 !important;
    color: #5e7772 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-nav-group-items {
    padding: 2px 0 7px !important;
    gap: 2px !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar .meta-count {
    color: #879a96 !important;
    font-size: .59rem !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 126px;
    margin-top: auto;
    padding: 14px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #105d55, #083d39);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(7, 61, 56, .18);
    box-sizing: border-box;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -54px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(255, 255, 255, .035);
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(19, 157, 143, .58);
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__icon svg {
    width: 20px;
    height: 20px;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__copy {
    position: relative;
    z-index: 1;
    display: grid !important;
    min-width: 0;
    align-content: start;
    gap: 4px;
    padding: 1px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__copy strong {
    color: #fff !important;
    font-size: .8rem;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__copy small {
    color: rgba(255, 255, 255, .7) !important;
    font-size: .59rem;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-support-card__copy > span {
    display: inline-flex !important;
    width: max-content;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 9px;
    background: #fff !important;
    color: #0a675e !important;
    font-size: .65rem;
    font-weight: 850;
}

@media (min-width: 761px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        padding-left: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar {
        width: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed header.site-header {
        left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        padding-left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar {
        width: 78px !important;
        padding-inline: 10px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-profile,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-section-label,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-support-card {
        display: none !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar__brand {
        min-height: 54px !important;
        margin-bottom: 2px;
        padding: 7px 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-toggle {
        top: 7px !important;
        right: 9px !important;
    }
}

/* Final responsive header breakpoints (must remain after legacy sidebar geometry). */
@media (min-width: 1025px) {
    body.admin-dashboard-body.has-admin-sidebar .ak-shell-v2 .header-primary {
        grid-template-columns: minmax(190px, auto) minmax(300px, 1fr) auto;
    }
}

@media (max-width: 1024px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        width: 100% !important;
        padding-left: 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar {
        display: none !important;
    }

    .ak-shell-v2[data-ak-role] .header-primary {
        grid-template-columns: 42px minmax(155px, auto) minmax(210px, 1fr) auto;
        gap: 9px;
        padding: 8px 14px !important;
    }

    .ak-shell-v2 .ak-shell-menu-toggle {
        position: static !important;
        display: inline-flex !important;
        grid-column: 1;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid #d7e3e1 !important;
        border-radius: 11px !important;
        background: #fff !important;
    }

    .ak-shell-v2 .ak-shell-page-heading {
        display: block;
        grid-column: 2;
        padding: 0;
        border: 0;
    }

    .ak-shell-v2 .ak-shell-search {
        grid-column: 3;
    }

    .ak-shell-v2 .header-actions {
        grid-column: 4;
    }

    .ak-shell-v2 .ak-shell-role {
        display: block !important;
    }
}

@media (max-width: 760px) {
    .ak-shell-v2[data-ak-role] .header-primary {
        min-height: 64px !important;
        grid-template-columns: 42px minmax(90px, 1fr) 42px auto;
        padding: 9px 10px !important;
    }

    .ak-shell-v2 .ak-shell-search {
        grid-column: 3;
    }

    .ak-shell-v2 .header-actions {
        grid-column: 4;
        gap: 6px !important;
    }
}

@media (min-width: 521px) and (max-width: 760px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity {
        display: inline-flex !important;
    }

    .ak-shell-v2 .ak-shell-identity-copy {
        display: grid !important;
    }

    .ak-shell-v2 .user-name {
        max-width: 105px;
    }

    .ak-shell-v2 .ak-shell-role,
    .ak-shell-v2 .ak-shell-balance-line {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity,
    .ak-shell-v2 .ak-shell-balance-refresh {
        display: none !important;
    }
}

/* One premium responsive top header for desktop, tablet and mobile. */
.ak-shell-v2[data-ak-role] .header-primary {
    min-height: 74px !important;
    grid-template-columns: minmax(190px, auto) minmax(300px, 1fr) auto;
    gap: clamp(12px, 1.35vw, 22px);
    padding: 9px clamp(14px, 2vw, 28px) !important;
}

header.site-header > .site-header.ak-shell-v2 {
    background: rgba(255, 255, 255, .985) !important;
    box-shadow: 0 8px 30px rgba(20, 51, 47, .075) !important;
}

.ak-shell-v2 .ak-shell-page-heading strong {
    color: #172f35;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -.015em;
}

.ak-shell-v2 .ak-shell-page-heading span {
    color: #82928f;
    font-size: .65rem;
    font-weight: 650;
}

.ak-shell-v2 .ak-shell-search {
    height: 44px;
    border-color: #d5e1df;
    border-radius: 12px;
    background: #f8fbfa;
    color: #6f8581;
}

.ak-shell-v2 .ak-shell-search:focus-within {
    border-color: rgba(15, 130, 117, .45);
    box-shadow: 0 0 0 3px rgba(15, 130, 117, .09);
}

.ak-shell-v2 .ak-shell-search > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    padding: 0;
    background: #0f8275;
}

.ak-shell-v2 .ak-shell-search > button svg {
    width: 18px;
    height: 18px;
}

.ak-shell-header-theme {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.ak-shell-header-icon,
.ak-shell-v2 .ak-shell-header-icon.ak-shell-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d7e3e1;
    border-radius: 11px;
    background: #fff;
    color: #53736d;
    cursor: pointer;
}

.ak-shell-header-icon:hover,
.ak-shell-header-icon:focus-visible {
    border-color: rgba(15, 130, 117, .38);
    background: #edf8f6;
    color: #0f8275;
    outline: none;
}

.ak-shell-header-icon > svg {
    width: 19px;
    height: 19px;
}

.ak-shell-theme-dot {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0f8275;
}

.ak-shell-header-theme-menu {
    top: calc(100% + 9px) !important;
    right: 0 !important;
    z-index: 10035 !important;
}

.ak-shell-v2 .user-pill.ak-shell-identity {
    min-height: 44px;
    padding: 2px 5px 2px 3px !important;
    border-radius: 12px !important;
}

.ak-shell-v2 .user-pill.ak-shell-identity:hover,
.ak-shell-v2 .user-pill.ak-shell-identity:focus-visible {
    background: #f2f8f7 !important;
    outline: none;
}

.ak-shell-v2 .user-initials {
    background: #dff3ef !important;
    border-color: #d4ebe7 !important;
    color: #0b7167 !important;
}

.ak-shell-v2 .ak-shell-role,
.ak-shell-v2 .ak-shell-balance-line {
    color: #0f8275;
    font-weight: 750;
}

.ak-shell-v2 .ak-shell-bell,
.ak-shell-v2 .ak-user-bell__btn,
.ak-shell-v2 .ak-shell-balance-refresh {
    border-color: #d7e3e1 !important;
    color: #496a64 !important;
    box-shadow: none !important;
}

.ak-shell-v2 .ak-shell-bell:hover,
.ak-shell-v2 .ak-user-bell__btn:hover,
.ak-shell-v2 .ak-shell-balance-refresh:hover {
    border-color: rgba(15, 130, 117, .38) !important;
    background: #edf8f6 !important;
    color: #0f8275 !important;
}

@media (max-width: 1024px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        width: 100% !important;
        padding-left: 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar {
        display: none !important;
    }

    .ak-shell-v2[data-ak-role] .header-primary {
        grid-template-columns: 42px minmax(155px, auto) minmax(210px, 1fr) auto;
        gap: 9px;
        padding: 8px 14px !important;
    }

    .ak-shell-v2 .ak-shell-menu-toggle {
        position: static !important;
        display: inline-flex !important;
        grid-column: 1;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid #d7e3e1 !important;
        border-radius: 11px !important;
        background: #fff !important;
    }

    .ak-shell-v2 .ak-shell-page-heading {
        display: block;
        grid-column: 2;
        padding: 0;
        border: 0;
    }

    .ak-shell-v2 .ak-shell-search {
        grid-column: 3;
    }

    .ak-shell-v2 .header-actions {
        grid-column: 4;
    }

    .ak-shell-v2 .ak-shell-role {
        display: block !important;
    }
}

@media (max-width: 760px) {
    .ak-shell-v2[data-ak-role] .header-primary {
        min-height: 64px !important;
        grid-template-columns: 42px minmax(90px, 1fr) 42px auto;
        padding: 9px 10px !important;
    }

    .ak-shell-v2 .ak-shell-search {
        grid-column: 3;
    }

    .ak-shell-v2 .ak-shell-search > button {
        display: none;
    }

    .ak-shell-v2 .ak-shell-search:focus-within > button,
    .ak-shell-v2 .ak-shell-search.is-mobile-open > button {
        display: inline-flex;
    }

    .ak-shell-v2 .header-actions {
        grid-column: 4;
        gap: 6px !important;
    }
}

@media (min-width: 521px) and (max-width: 760px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity {
        display: inline-flex !important;
    }

    .ak-shell-v2 .ak-shell-identity-copy {
        display: grid !important;
    }

    .ak-shell-v2 .user-name {
        max-width: 105px;
    }

    .ak-shell-v2 .ak-shell-role,
    .ak-shell-v2 .ak-shell-balance-line {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity,
    .ak-shell-v2 .ak-shell-balance-refresh {
        display: none !important;
    }

    .ak-shell-v2 .ak-shell-page-heading strong {
        font-size: .82rem;
    }
}

@media (max-width: 420px) {
    .ak-shell-v2 .header-primary {
        grid-template-columns: 42px minmax(78px, 1fr) 42px auto;
    }
    .ak-shell-drawer-actions {
        grid-template-columns: 1fr 1fr;
    }
    .ak-shell-drawer-actions button:last-child {
        grid-column: 1 / -1;
    }
    .ak-shell-clock-card {
        margin: 12px;
        padding: 17px;
    }
    .ak-shell-drawer-list {
        height: calc(100dvh - 352px) !important;
        padding-inline: 12px !important;
    }
}

/* Shared admin shell: the navigation owns the full left edge on desktop. */
@media (min-width: 761px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: 236px !important;
        right: 0 !important;
        width: auto !important;
        margin: 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar header.site-header > .site-header.ak-shell-v2 {
        width: 100% !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .ak-shell-v2 .header-primary {
        grid-template-columns: minmax(170px, auto) minmax(280px, 1fr) auto;
    }

    body.admin-dashboard-body.has-admin-sidebar .ak-shell-v2 .brand {
        display: none !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .ak-shell-page-heading {
        padding-left: 0;
        border-left: 0;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        display: block !important;
        width: 100% !important;
        padding-left: 236px !important;
        box-sizing: border-box !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar {
        position: fixed !important;
        z-index: 1500 !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: flex !important;
        width: 236px !important;
        height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed header.site-header {
        left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        padding-left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar {
        width: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar__brand {
        min-height: 76px !important;
        padding: 17px 42px 15px 5px !important;
        box-sizing: border-box;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo {
        display: flex;
        align-items: center;
        gap: 0;
        min-width: 0;
        color: #fff;
        text-decoration: none;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy {
        display: grid !important;
        min-width: 0;
        gap: 1px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #fff !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy strong {
        overflow: hidden;
        color: #fff !important;
        font-size: .91rem;
        line-height: 1.15;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy small {
        overflow: hidden;
        color: rgba(255, 255, 255, .72) !important;
        font-size: .56rem;
        line-height: 1.25;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-toggle {
        top: 15px !important;
        right: 0 !important;
        width: 34px !important;
        height: 34px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar__brand {
        min-height: 58px !important;
        padding: 10px 0 !important;
        display: flex;
        justify-content: center;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-logo__copy {
        display: none !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-toggle {
        top: 10px !important;
        right: 17px !important;
    }
}

@media (max-width: 760px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        width: 100% !important;
        padding-left: 0 !important;
    }

}

/* Final geometry/brand overrides: keep the approved sidebar above legacy shell rules. */
body.admin-dashboard-body.has-admin-sidebar .admin-sidebar__brand {
    min-height: 55px !important;
    padding: 7px 44px 11px 3px !important;
    border-bottom: 0 !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo {
    color: var(--ak-sidebar-text) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy {
    color: var(--ak-sidebar-text) !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy strong {
    color: #122b3f !important;
    font-size: 1.03rem !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-logo__copy small {
    color: #778b87 !important;
    font-size: .6rem !important;
}

body.admin-dashboard-body.has-admin-sidebar .admin-sidebar-toggle {
    top: 3px !important;
    right: 0 !important;
    width: 39px !important;
    height: 39px !important;
    border-color: #cfe0dd !important;
    background: #fff !important;
    color: var(--ak-sidebar-accent) !important;
}

@media (min-width: 761px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        padding-left: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar {
        width: var(--ak-sidebar-width) !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed header.site-header {
        left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        padding-left: 78px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar {
        width: 78px !important;
        padding-inline: 10px !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-profile,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-section-label,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-support-card,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-logo__copy {
        display: none !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar__brand {
        min-height: 54px !important;
        margin-bottom: 2px;
        padding: 7px 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar-toggle {
        top: 7px !important;
        right: 9px !important;
    }
}

/* Responsive header authority: final cascade layer. */
@media (min-width: 1025px) {
    body.admin-dashboard-body.has-admin-sidebar .ak-shell-v2 .header-primary {
        grid-template-columns: minmax(190px, auto) minmax(300px, 1fr) auto;
    }
}

@media (max-width: 1024px) {
    body.admin-dashboard-body.has-admin-sidebar header.site-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-console,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-console {
        width: 100% !important;
        padding-left: 0 !important;
    }

    body.admin-dashboard-body.has-admin-sidebar .admin-sidebar,
    body.admin-dashboard-body.has-admin-sidebar.is-sidebar-collapsed .admin-sidebar {
        display: none !important;
    }

    .ak-shell-v2[data-ak-role] .header-primary {
        grid-template-columns: 42px minmax(155px, auto) minmax(210px, 1fr) auto;
        gap: 9px;
        padding: 8px 14px !important;
    }

    .ak-shell-v2 .ak-shell-menu-toggle {
        position: static !important;
        display: inline-flex !important;
        grid-column: 1;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid #d7e3e1 !important;
        border-radius: 11px !important;
        background: #fff !important;
    }

    .ak-shell-v2 .ak-shell-page-heading {
        display: block;
        grid-column: 2;
        padding: 0;
        border: 0;
    }

    .ak-shell-v2 .ak-shell-search { grid-column: 3; }
    .ak-shell-v2 .header-actions { grid-column: 4; }
    .ak-shell-v2 .ak-shell-role { display: block !important; }
}

@media (max-width: 760px) {
    .ak-shell-v2[data-ak-role] .header-primary {
        min-height: 64px !important;
        grid-template-columns: 42px minmax(90px, 1fr) 42px auto;
        padding: 9px 10px !important;
    }

    .ak-shell-v2 .ak-shell-search { grid-column: 3; }
    .ak-shell-v2 .header-actions {
        grid-column: 4;
        gap: 6px !important;
    }
}

@media (min-width: 521px) and (max-width: 760px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity { display: inline-flex !important; }
    .ak-shell-v2 .ak-shell-identity-copy { display: grid !important; }
    .ak-shell-v2 .user-name { max-width: 105px; }
    .ak-shell-v2 .ak-shell-role,
    .ak-shell-v2 .ak-shell-balance-line { display: none !important; }
}

@media (max-width: 520px) {
    .ak-shell-v2 .header-actions > .ak-shell-identity,
    .ak-shell-v2 .ak-shell-balance-refresh { display: none !important; }
}
