/* /Layout/MainLayout.razor.rz.scp.css */
/* App shell frame — the Zen shell components own their own chrome; this file
   only lays out the frame and styles the slot content (which sits on the
   fixed shell surface, hence the --zen-shell-* tokens). */

/* Full-width statusbar shell: column [body | statusbar]; body is row [sidebar | main].
   The statusbar underlines the whole app, so the sidebar-footer corner always resolves. */
.zen-app[b-vhb9qgaktx] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.zen-app__body[b-vhb9qgaktx] {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* The sidebar's own 100vh must yield to the body row (100vh minus the statusbar). */
.zen-app__body[b-vhb9qgaktx]  .zen-sidebar {
    height: 100%;
}

.zen-app__main[b-vhb9qgaktx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.zen-app__content[b-vhb9qgaktx] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    background: var(--zen-bg-base);
}

/* Brand slot (on the shell surface) */
.app-brand-mark[b-vhb9qgaktx] {
    width: 32px;
    height: 32px;
    background: var(--zen-accent);
    color: #fff;
    font-weight: 700;
    border-radius: var(--zen-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.app-brand-title[b-vhb9qgaktx] {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
    color: var(--zen-shell-text);
}

.app-brand-subtitle[b-vhb9qgaktx] {
    font-size: 0.72rem;
    color: var(--zen-shell-text-muted);
}

/* Top bar slot content (on the shell surface) */
.topbar-label[b-vhb9qgaktx] {
    font-size: var(--zen-font-size-xs);
    color: var(--zen-shell-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* The skin picker is a ZenSelect (dogfooding) — compact width on the shell surface. */
[b-vhb9qgaktx] .topbar-skin {
    width: 130px;
}

/* Status bar slot content */
.status-item[b-vhb9qgaktx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
