body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial;
    background: #f1f1f1;
    color: #1d2327;
}

/* LAYOUT */
.layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 100vh;
}

/* MAIN */
.main {
    display: flex;
    flex-direction: column;
}

/* HEADER */
.topbar {
    height: 46px;
    background: #fff;
    border-bottom: 1px solid #dcdcde;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 14px;
}

/* STATS */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
}

.stat {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 14px;
    border-radius: 4px;
}

.stat span {
    display: block;
    font-size: 12px;
    color: #646970;
}

.stat strong {
    font-size: 18px;
    font-weight: 500;
}

/* PANEL */
.panel {
    margin: 0 16px 16px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.panel-header {
    padding: 12px 16px;
    border-bottom: 1px solid #dcdcde;
    font-size: 14px;
}

.list {
    padding: 12px 16px;
    font-size: 14px;
}

.list div {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sidebar {
    background: #1d2327;
    color: #c3c4c7;
    height: 100vh;
    border-right: 1px solid #111;
}

.brand {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #fff;
    border-bottom: 1px solid #2c3338;
    font-size: 14px;
}

.brand-icon {
    width: 24px;
    height: 24px;
    background: #2271b1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

.nav {
    padding: 8px 0;
}

.nav-title {
    padding: 14px 14px 6px;
    font-size: 11px;
    text-transform: uppercase;
    color: #8c8f94;
}

.nav-item {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #c3c4c7;
    text-decoration: none;
    font-size: 14px;
}

.nav-item svg {
    width: 17px;
    height: 17px;
}

.nav-item:hover,
.nav-item.active {
    background: #2271b1;
    color: #fff;
}