/* boatramp documentation — light theme tweaks layered on mdBook's `navy`. */

:root {
    /* Wider than mdBook's defaults (sidebar 300px / content 750px): the nav
       labels are long ("Auto-DNS & Custom Domains") and the pages are dense with
       code blocks and reference tables that need room.

       Drive the *target* width (not --sidebar-width directly) so the theme's
       responsive `--sidebar-width: min(--sidebar-target-width, 80vw)` clamp is
       preserved on narrow viewports. 24rem ≈ 384px, comfortably fitting the
       longest nav labels on two lines instead of three. */
    --sidebar-target-width: 24rem;
    --content-max-width: 62rem;
}

/* Slightly tighter, more readable code blocks. */
pre code {
    font-size: 0.85em;
    line-height: 1.5;
}

/* Make the leading blockquotes (used as callouts on several pages) read as
   notes rather than long quotations. */
blockquote {
    border-inline-start: 3px solid var(--quote-border, #4a5568);
    background: var(--quote-bg, rgba(0, 0, 0, 0.025));
    padding: 0.6em 1em;
    margin: 1em 0;
}

/* Comfortable spacing for the many reference tables. */
table {
    margin: 1em 0;
}
table th {
    font-weight: 600;
}
