/**
 * Kvasir-specific styles layered over the styleguide (base.css + theme.css).
 * Use --app-* variables only; never hardcode colours here.
 */

/* Monospace utility for IDs, hashes, and paths */
.font-monospace {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
        "Courier New", monospace;
    font-size: 0.875em;
}

/* Inline code accent */
code {
    color: var(--app-accent);
    word-wrap: break-word;
}

pre code {
    color: inherit;
}

/* Bootstrap's bg-light utility is a fixed light grey, so in dark mode it puts
   light body text on a near-white surface and becomes unreadable. Re-map it to
   a theme-aware surface with readable text, so licence blocks, code snippets,
   result panels, and nested table rows follow the active theme. */
.bg-light {
    background-color: var(--app-bg-tertiary) !important;
    color: var(--app-text-primary);
}

/* Table cells align to the middle for row actions */
.table > :not(caption) > * > * {
    vertical-align: middle;
}

/* Setup mode renders full-width without the sidebar */
body.setup-mode .app-main,
body.setup-mode .app-footer {
    margin-left: 0;
}
