.site-header .brand { color: var(--text); }
.site-header .brand svg, .site-header .brand strong { color: var(--green); }
.site-header .site-nav { justify-content: flex-start; }
#page { padding-bottom: 48px; }
.site-error { color: var(--amber); margin-block: 1rem; }
.practice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-block: 20px 8px; }
.practice-actions a, .setup-steps a { white-space: normal; }
.chapter-lab .chapter-steps li { display: list-item; margin-left: 1.5em; list-style: decimal; }
.chapter-lab .chapter-steps li p { color: var(--muted); margin: 4px 0 12px; overflow-wrap: anywhere; }
.catalog-entry { display: grid; gap: 2px; }
.catalog-entry small { color: var(--green-soft); font-weight: 600; }
.catalog-entry strong { font-size: 16px; }
.catalog-entry span { color: var(--muted); }
.topology-list { padding: 0; margin: 0; }
.topology-list dt { font-weight: 650; }
.topology-list dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.topology-list code, .setup-steps code { font-family: var(--mono); }
.setup-steps { padding-left: 1.5rem; }
.setup-steps > li { margin-block: 12px 24px; }
.setup-steps pre { margin: 8px 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); overflow-x: auto; }
.setup-steps p { margin-block: 6px; }
.setup-panel { max-width: 820px; }
.detail-section details summary { cursor: pointer; padding: 8px 0; }
.detail-section details p { white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-header .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 0; }
  .site-header .site-nav a { justify-content: center; }
  .site-header .header-tools { grid-column: 2; grid-row: 1; }
}
