/* ------------------------------------------------------------------ *
 * Custom styles for the Distributed Systems Engineer book             *
 * ------------------------------------------------------------------ */

/* Wider content area for code-heavy pages */
.content main {
    max-width: 860px;
}

/* Make code blocks slightly more compact */
pre {
    font-size: 0.88em;
    line-height: 1.5;
}

/* Lab chapter headings — subtle left border */
.content h1:first-of-type {
    border-left: 4px solid var(--links);
    padding-left: 0.6em;
}

/* Inline code — slightly warmer background */
:not(pre)>code {
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

/* Phase part dividers in the sidebar — bolder */
.chapter li.part-title {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78em;
    margin-top: 1.2em;
}

/* Verification / Observation badges in tables */
table th {
    background-color: var(--table-header-bg);
}

/* Slightly more breathing room for nested nav items */
.chapter ol {
    padding-left: 1.6em;
}