* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--pp-font);
    background: var(--pp-bg);
    color: var(--pp-text);
}

.pp-doc-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.pp-doc-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: var(--pp-surface);
    border-right: 1px solid var(--pp-border);
    padding: 24px;
}

.pp-doc-main {
    padding: 48px;
    max-width: 1120px;
}

.pp-doc-content {
    max-width: 920px;
}

.pp-doc-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .pp-doc-shell {
        grid-template-columns: 1fr;
    }

    .pp-doc-sidebar {
        position: relative;
        height: auto;
    }

    .pp-doc-main {
        padding: 24px;
    }
}