/* Minimal site CSS. Replaces Bootstrap + BlazorStrap — see SESSION_LOG 2026-04-21 perf pass. */

:root {
    --bg-page: #faf6ec;
    --bg-surface: #ffffff;
    --bg-bar: #f5efe0;
    --ink: #1a1a1a;
    --ink-soft: #5b5b5b;
    --ink-muted: #8a8a8a;
    --hairline: rgba(0, 0, 0, 0.10);
    --hairline-strong: rgba(0, 0, 0, 0.18);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    --amber-hints: #d4a85c;
    --bar-h: 56px;

    --targle-mint: #4eb09f;
    --sumrex-wine: #7a2e3b;
    --quackle-navy: #2a3560;
    --toadle-aubergine: #5a3a6e;
    --peerkle-terra: #b85a3a;
}

@media (max-width: 599px) {
    :root { --bar-h: 52px; }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background: var(--bg-page);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

p { margin-top: 0; margin-bottom: 1rem; }

a { color: #0d6efd; text-decoration: underline; }
a:hover { color: #0a58ca; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-nav {
    background: #212529;
    padding: 0.9rem 0;
}

.site-nav .container {
    display: flex;
    align-items: center;
}

.site-nav-brand {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    line-height: 1;
}

.site-nav-brand:hover { color: #fff; }

.lead { font-size: 1.25rem; font-weight: 300; }
.text-muted { color: #6c757d; }
.text-center { text-align: center; }
.border-top { border-top: 1px solid #dee2e6; }

.pt-5 { padding-top: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.display-6 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}
