/* The bar at the top of every dynamic page. Matches the static tool's header. */
.dbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-bottom: 10px; }
.dnav { display: flex; gap: 2px; }
.dnav a {
  font: 650 14px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: inherit; text-decoration: none;
  padding: 7px 11px; border: 1.5px solid transparent; border-radius: var(--radius, 8px);
}
.dnav a:hover { border-color: currentColor; }
.dnav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dnav a { white-space: nowrap; }
/* Narrow phones: the links get their own row under the wordmark. */
@media (max-width: 400px) { .dbar { flex-wrap: wrap; } .dnav { width: 100%; } }
.dfoot { margin: 48px 0 0; text-align: center; }
.dfoot a { color: var(--muted, #5e5850); }
.dfoot a:hover { color: inherit; }
