* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #1f2933;
    background: #f7f8fa;
    line-height: 1.55;
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1f2933;
    color: #fff;
    padding: 14px 24px;
}
.site-header .brand { font-weight: 700; font-size: 1.1rem; }
.site-header nav a {
    color: #cdd6e0;
    text-decoration: none;
    margin-left: 18px;
}
.site-header nav a:hover { color: #fff; }

/* Layout */
.layout-wrap {
    display: flex;
    gap: 24px;
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
    align-items: flex-start;
}
.sidebar {
    flex: 0 0 220px;
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    padding: 16px;
}
.content {
    flex: 1;
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    padding: 24px;
}

/* Bits */
.menu { list-style: none; padding: 0; margin: 0; }
.menu li { margin: 8px 0; }
.muted { color: #7b8794; }
code {
    background: #eef1f4;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.9em;
}
input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    font: inherit;
}
button {
    background: #2563eb;
    color: #fff;
    border: 0;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
}
button:hover { background: #1d4ed8; }

/* Footer */
.site-footer {
    text-align: center;
    color: #7b8794;
    font-size: 0.85rem;
    padding: 24px;
}

@media (max-width: 720px) {
    .layout-wrap { flex-direction: column; }
    .sidebar { flex: 1 1 auto; width: 100%; }
}
