.app-shell { min-height: 100vh; }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    padding: 22px 16px 16px;
    display: flex;
    flex-direction: column;
    background: color-mix(in srgb, var(--surface-solid) 91%, transparent);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(22px);
    z-index: 50;
    transition: transform .32s var(--ease), background .3s ease;
}
.brand-row { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 17px; }
.brand { display: inline-flex; gap: 11px; align-items: center; min-width: 0; }
.brand-mark {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
    color: white; font-size: 19px; font-weight: 800;
    background: linear-gradient(145deg, #0b8d96, #2ab3bb);
    box-shadow: 0 8px 22px rgba(13,156,166,.22);
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--text-strong); font-size: 15px; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.sidebar-close { display: none !important; }
.workspace-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 12px; border: 1px solid var(--border); background: var(--surface-2); border-radius: 14px;
    margin-bottom: 16px;
}
.workspace-avatar { width: 35px; height: 35px; display:grid; place-items:center; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.workspace-copy { display: grid; min-width: 0; line-height: 1.25; }
.workspace-copy strong { color: var(--text-strong); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy span { margin-top: 3px; color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-chevron { color: var(--muted-2); }
.sidebar-nav { display: grid; gap: 4px; }
.nav-item {
    min-height: 43px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 11px;
    color: var(--muted); font-size: 14px; font-weight: 600; border: 1px solid transparent;
    transition: .22s var(--ease);
}
.nav-item:hover { color: var(--text-strong); background: var(--surface-hover); transform: translateX(2px); }
.nav-item.active { color: var(--accent-strong); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 14%, transparent); }
.nav-icon { width: 22px; display: grid; place-items: center; }
.nav-badge { margin-left: auto; min-width: 23px; height: 21px; padding: 0 7px; display: grid; place-items:center; border-radius: 30px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.sidebar-spacer { flex: 1; min-height: 20px; }
.sidebar-foot-card { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; padding: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; }
.sidebar-foot-card > .status-dot { margin-top: 6px; }
.sidebar-foot-card div { display: grid; }
.sidebar-foot-card strong { color: var(--text-strong); font-size: 11.5px; }
.sidebar-foot-card small { color: var(--muted); font-size: 10px; margin-top: 2px; }

.main-column { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar {
    height: var(--topbar-height); position: sticky; top: 0; z-index: 35;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 0 34px;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
}
.topbar-left, .topbar-actions { display:flex; align-items:center; }
.topbar-left { gap: 12px; }
.topbar-actions { gap: 9px; }
.page-heading-mini { display: grid; line-height: 1.22; }
.page-heading-mini .eyebrow { font-size: 9px; margin-bottom: 2px; }
.page-heading-mini strong { color: var(--text-strong); font-size: 14px; }
.main-content { width: min(1540px, 100%); margin: 0 auto; padding: 36px 34px 54px; }
.sidebar-backdrop { display:none; position:fixed; inset:0; background:rgba(4,16,19,.42); backdrop-filter:blur(3px); z-index:45; }

.page-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.page-intro p { max-width: 650px; margin: 0; font-size: 15px; }
.page-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.eyebrow { display:block; margin-bottom:7px; color: var(--accent-strong); text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:800; }
.surface-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 22px 0; }
.section-head h3 { margin:0; }
.section-head .eyebrow { margin-bottom:5px; }
.dashboard-grid { display:grid; gap:18px; margin-bottom:18px; }
.dashboard-grid-main { grid-template-columns: minmax(0, 1.8fr) minmax(280px, .7fr); }
