.office-shell { --side-width: 14rem; display: grid; grid-template: auto 1fr auto / var(--side-width) minmax(0, 1fr); }
.office-shell[data-nav-compact] { --side-width: 4.25rem; }
.office-shell .topbar { grid-area: 1 / 2; }
.office-shell .content { grid-area: 2 / 2; min-width: 0; }
.office-shell .footer { grid-area: 3 / 2; min-width: 0; }
.office-shell .header-inner { justify-content: space-between; flex-wrap: nowrap; }
.side-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.65rem; border: 1px solid #696a78; border-radius: .55rem; padding: .45rem .68rem; background: #333441; color: white; font-weight: 680; font-size: .85rem; cursor: pointer; }
.side-toggle:hover { color: var(--gold); border-color: var(--gold); }
.side-toggle .side-icon { width: 1.1rem; height: 1.1rem; }
[data-nav-compact] .side-toggle .side-icon { transform: scaleX(-1); }
.office-sidebar { grid-area: 1 / 1 / 4 / 2; position: sticky; top: 0; height: 100vh; height: 100dvh; min-width: 0; align-self: start; display: flex; flex-direction: column; overflow: auto; scrollbar-width: thin; scrollbar-color: #676774 #252530; border-right: 1px solid #424352; background: linear-gradient(165deg, #292937, #202331 64%); color: #fff; padding: 1.1rem .6rem .65rem; }
.side-nav { display: grid; gap: .8rem; }
.side-group { display: grid; gap: .25rem; }
.side-group + .side-group { border-top: 1px solid #454657; padding-top: .75rem; }
.side-heading { margin: .1rem .62rem .3rem; color: #c2c6d4; font-size: .67rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.side-entry { display: flex; align-items: center; gap: .66rem; width: 100%; min-height: 2.75rem; border: 1px solid transparent; border-radius: .58rem; padding: .52rem .68rem; background: transparent; color: #f4f5fa; text-decoration: none; text-align: left; font-size: .88rem; font-weight: 650; cursor: pointer; }
.side-entry:hover { background: #393c4b; color: #fff; }
.side-entry[aria-current=page] { color: #ffdb61; background: #ffc60018; border-color: #ffc60049; box-shadow: inset .18rem 0 #ffc600; }
.side-entry:focus-visible { outline-color: var(--gold); outline-offset: -2px; }
.side-icon { flex: none; width: 1.2rem; height: 1.2rem; }
.side-account { margin-top: auto; padding-top: .9rem; }
.side-account .side-entry { border-color: #494b5c; }
[data-nav-compact] .side-label, [data-nav-compact] .side-heading { display: none; }
[data-nav-compact] .side-entry { justify-content: center; padding-inline: 0; }
@media (max-width: 62rem) {
    .office-shell, .office-shell[data-nav-compact] { grid-template: auto auto 1fr auto / minmax(0, 1fr); }
    .office-shell .topbar { grid-area: 1 / 1; }
    .office-sidebar { grid-area: 2 / 1; height: auto; position: static; border-right: 0; }
    .office-shell .content { grid-area: 3 / 1; }
    .office-shell .footer { grid-area: 4 / 1; }
    .side-nav { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: start; }
    .side-group + .side-group { border: 0; padding: 0; }
    .side-account { max-width: 14rem; }
}
