/* ============================================================================
   GILT & PARCHMENT - luxury/artisanal house theme for the coin / bullion /
   jewellery storefront.

   Aesthetic: a fine dealer's catalogue. Aged ivory parchment stock, espresso
   ink, and worked gold used like the metal the store actually trades - set,
   not splashed. Fraunces (variable serif) carries every display line and the
   italic flourishes; Inter sets body, UI, and the letter-spaced small-caps
   labels. Hard right angles, mono type and poured-concrete shadows are gone:
   hairline clay rules, generous air, soft warm shadows, and a restrained gilt.

   Loaded after bootstrap.css (see Bundle.config), so everything here is an
   intentional override of Bootstrap 5 defaults. The CSS variable *names* are
   held stable - pages reference var(--gold), var(--concrete-300), var(--cast)
   etc. inline - only their values changed when the theme moved from the old
   concrete-brutalist scheme. Tokens first, then base, then component
   overrides, then theme utilities, then carried-over functional bits.
   ============================================================================ */

:root {
    /* Warm neutral ramp - the --concrete-* names are kept so inline styles in
       the pages keep resolving; the values are now an aged-parchment range,
       structural espresso ink through ivory page stock. */
    --concrete-900: #211b12;   /* espresso ink - borders, type, footer */
    --concrete-800: #2c2418;
    --concrete-700: #3d3322;   /* soft ink - strong body */
    --concrete-600: #5b4d38;
    --concrete-500: #7c6a4f;   /* muted walnut - secondary text */
    --concrete-400: #9c8b6f;
    --concrete-300: #cabb9d;   /* light parchment - type over dark slabs */
    --concrete-200: #e6dcc6;   /* warm panel */
    --concrete-100: #f4ecdb;   /* page stock - ivory */
    --concrete-050: #faf4e7;   /* lightest cream */

    /* Worked metal - gilt accents only, never long-form body text. */
    --gold:         #a17a36;   /* antique gold */
    --gold-bright:  #d2ab5c;   /* light gilt */
    --gold-deep:    #6f5320;   /* deep bronze-gold */
    --silver:       #b6b2a8;
    --silver-bright:#e6e2d8;
    --steel:        #6a6256;

    /* Jewel tones - the jewellery counter's high-conviction accents. */
    --jewel:        #1f4d3f;   /* deep emerald */
    --jewel-deep:   #143329;
    --wine:         #6a2233;   /* garnet / oxblood */

    /* Semantic structural colors. */
    --ink:          var(--concrete-900);
    --paper:        var(--concrete-100);
    --muted:        var(--concrete-500);
    --hairline:     #cdba98;   /* sun-warmed clay edge */
    --rule:         1px solid var(--hairline);
    --rule-hair:    1px solid var(--concrete-200);

    /* Soft warm shadows - set objects float off the parchment, no hard offset. */
    --cast:         0 22px 48px -28px rgba(33, 27, 18, .50), 0 2px 8px -3px rgba(33, 27, 18, .12);
    --cast-sm:      0 12px 28px -20px rgba(33, 27, 18, .42), 0 1px 3px rgba(33, 27, 18, .10);
    --cast-gold:    0 0 0 3px rgba(161, 122, 54, .22);   /* focus glow ring */

    /* Type: Fraunces serif for display, Inter for everything functional. The
       --font-mono name is retained but now points at Inter, so the old label /
       nav / button selectors pick up the spaced-caps look; numeric alignment
       comes from font-variant-numeric: tabular-nums, which Inter supports. */
    --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono:    "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

    --radius-sm: 3px;
    --radius-md: 6px;

    /* Refined gilt surfaces - a soft directional sheen, not brushed steel.
       Reused by .metal-gold / .metal-silver, primary button, badges, spot caps. */
    --brush-gold:
        linear-gradient(135deg, #9c7530 0%, #c69e4f 32%, #e3c277 50%, #b88f3c 68%, #cda14a 100%);
    --brush-silver:
        linear-gradient(135deg, #a9a59a 0%, #cfcabf 32%, #ece8de 50%, #b6b1a6 68%, #d7d2c7 100%);
}

/* ----------------------------------------------------------------------------
   Base
   ---------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* No page should scroll horizontally. `clip` (not `hidden`) contains stray overflow
   without creating a scroll container, so it doesn't break the sticky catalog facets. */
html, body { overflow-x: clip; max-width: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--paper);
    /* Aged-paper ground: two faint warm/jewel radial washes over a monochrome
       fibre noise (inline SVG, no extra request) at ~5% so it reads as old
       catalogue stock rather than a pattern. */
    background-image:
        radial-gradient(ellipse at top left, rgba(205, 186, 152, .28), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(31, 77, 63, .06), transparent 60%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.20  0 0 0 0 0.15  0 0 0 0 0.08  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 220px 220px;
    background-attachment: scroll;
    line-height: 1.62;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: none;
    letter-spacing: -.02em;
    line-height: 1.04;
    color: var(--ink);
    font-optical-sizing: auto;
}

h1, .h1 { font-size: clamp(2.5rem, 5.2vw + 1rem, 4.6rem); font-weight: 380; line-height: 1; }
h2, .h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.9rem); }
h3, .h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }

/* Italic serif accent - drop an <em> into any heading for the terracotta-style
   flourish, here in gold. */
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em, .display em, .serif-italic {
    font-style: italic;
    color: var(--gold);
}

p { letter-spacing: 0; }

a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    text-decoration-color: var(--hairline);
    transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover {
    color: var(--gold-deep);
    text-decoration-color: var(--gold);
}

hr {
    border: 0;
    border-top: var(--rule);
    opacity: 1;
    margin: 2.5rem 0;
}

::selection { background: var(--gold); color: var(--concrete-050); }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ----------------------------------------------------------------------------
   Chrome: service rail, navbar, footer
   ---------------------------------------------------------------------------- */

/* Thin service line above the nav - store pillars in spaced caps. */
.site-rail {
    background: var(--ink);
    color: var(--concrete-300);
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold-deep);
}
.site-rail .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.site-rail b { color: var(--gold-bright); font-weight: 600; }

.navbar.site-nav {
    background: rgba(244, 236, 219, .88);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--hairline);
    padding-top: .85rem;
    padding-bottom: .85rem;
    border-radius: 0;
}
/* When expanded, let the link cluster wrap to a second line rather than overrun the
   container and push the account menu off-screen (it collapses to a toggler below xl). */
.navbar.site-nav .navbar-nav { flex-wrap: wrap; }
.navbar.site-nav .navbar-brand {
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: none;
    letter-spacing: -.015em;
    font-size: 1.6rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0;
}
.navbar.site-nav .navbar-brand:hover { background: transparent; color: var(--ink); }
/* Gilt monogram standing in for a struck logo. */
.brand-block {
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--brush-gold);
    border: 1px solid var(--gold-deep);
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), var(--cast-sm);
    transform: rotate(45deg);
}
.brand-mark { color: var(--ink); font-weight: 600; }
.brand-mark .brand-logo { display: block; max-height: 42px; width: auto; }
.brand-mark .thin {
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: .14em;
    font-size: .62em;
    text-transform: uppercase;
    color: var(--muted);
    margin-left: .15em;
}

.navbar.site-nav .nav-link {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 500;
    color: var(--concrete-700);
    padding: .35rem .15rem;
    margin: 0 .55rem;
    border: 0;
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
.navbar.site-nav .nav-link:hover,
.navbar.site-nav .nav-link:focus {
    color: var(--gold-deep);
    background: transparent;
    border-bottom-color: var(--gold);
}
.navbar.site-nav .navbar-toggler {
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: .35rem .55rem;
}
.navbar.site-nav .navbar-toggler:focus { box-shadow: var(--cast-gold); }

/* Account dropdown - collapses the logged-in cluster into one toggle. */
.navbar.site-nav .account-menu .dropdown-menu {
    background: var(--concrete-050);
    border: var(--rule);
    border-radius: var(--radius-md);
    box-shadow: var(--cast-sm);
    padding: .4rem 0;
    margin-top: .5rem;
    min-width: 12rem;
}
.navbar.site-nav .account-menu .dropdown-header {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .62rem;
    color: var(--muted);
    padding: .2rem 1.1rem .45rem;
}
.navbar.site-nav .account-menu .dropdown-item {
    font-family: var(--font-body);
    font-size: .82rem;
    letter-spacing: .01em;
    color: var(--concrete-700);
    padding: .45rem 1.1rem;
}
.navbar.site-nav .account-menu .dropdown-item:hover,
.navbar.site-nav .account-menu .dropdown-item:focus {
    background: var(--concrete-200);
    color: var(--gold-deep);
}
.navbar.site-nav .account-menu .dropdown-divider {
    border-top-color: var(--hairline);
    margin: .35rem 0;
}

footer.site-footer {
    background: var(--concrete-200);
    color: var(--concrete-700);
    border-top: 1px solid var(--hairline);
    margin-top: 4rem;
    padding: 3rem 0 2.6rem;
}
footer.site-footer a { color: var(--gold-deep); text-decoration-color: var(--hairline); }
footer.site-footer a:hover { color: var(--ink); text-decoration-color: var(--gold); }
footer.site-footer .footer-mark {
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: none;
    color: var(--ink);
    letter-spacing: -.01em;
}
footer.site-footer .footer-mono {
    font-family: var(--font-body);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ----------------------------------------------------------------------------
   Buttons - quiet, spaced caps, soft lift on hover
   ---------------------------------------------------------------------------- */

.btn {
    --bs-btn-border-radius: var(--radius-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .74rem;
    font-weight: 500;
    border: 1px solid var(--ink);
    box-shadow: none;
    padding: .7rem 1.4rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .06s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--cast-sm); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-lg { padding: .85rem 1.8rem; font-size: .78rem; }

.btn-primary {
    background: var(--brush-gold);
    color: var(--ink);
    border-color: var(--gold-deep);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--brush-gold);
    color: var(--ink);
    border-color: var(--gold-deep);
    filter: brightness(1.04);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--ink);
    color: var(--concrete-050);
    border-color: var(--ink);
}
.btn-dark, .btn-dark:hover, .btn-dark:focus {
    background: var(--ink);
    color: var(--concrete-050);
    border-color: var(--ink);
}
.btn-dark:hover { background: var(--concrete-800); }
.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline-dark:hover, .btn-outline-dark:focus { background: var(--ink); color: var(--concrete-050); }
/* Base template still emits btn-default in places. */
.btn-default {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-default:hover { background: var(--ink); color: var(--concrete-050); }
.btn-link { box-shadow: none; border-color: transparent; color: var(--gold-deep); }
.btn-link:hover { transform: none; box-shadow: none; color: var(--ink); }

/* Secondary / outline / default buttons resting on a dark ink slab (the hero, the
   "counter closed" panels) invert to light-on-dark - their default espresso-ink text
   is all but invisible over the dark photo. Scoped to .slab--ink so buttons on the
   normal parchment surfaces are untouched. */
.slab--ink .btn-secondary,
.slab--ink .btn-outline-dark,
.slab--ink .btn-default {
    background: transparent;
    color: var(--concrete-050);
    border-color: var(--concrete-050);
}
.slab--ink .btn-secondary:hover, .slab--ink .btn-secondary:focus,
.slab--ink .btn-outline-dark:hover, .slab--ink .btn-outline-dark:focus,
.slab--ink .btn-default:hover, .slab--ink .btn-default:focus {
    background: var(--concrete-050);
    color: var(--ink);
    border-color: var(--concrete-050);
}

/* ----------------------------------------------------------------------------
   Surfaces: cards, the .slab primitive, panels, alerts
   ---------------------------------------------------------------------------- */

.card, .slab {
    background: var(--concrete-050);
    border: var(--rule);
    border-radius: var(--radius-md);
    box-shadow: var(--cast);
}
.card { overflow: hidden; }
.card-header {
    background: transparent;
    color: var(--ink);
    border-bottom: var(--rule);
    border-radius: 0;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    padding-top: .9rem;
    padding-bottom: .9rem;
}
.card-footer { background: var(--concrete-100); border-top: var(--rule-hair); border-radius: 0; }

.slab { padding: 1.75rem; }
.slab--flush { box-shadow: none; }
.slab--ink {
    background: var(--ink);
    color: var(--concrete-300);
    border-color: var(--concrete-800);
}
.slab--ink h1, .slab--ink h2, .slab--ink h3 { color: var(--concrete-050); }

.alert {
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
    border-left-width: 3px;
    box-shadow: none;
    font-family: var(--font-body);
    padding: 1rem 1.25rem;
}
.alert-danger  { background: #f4e2d6; border-left-color: var(--wine);  color: #57171b; }
.alert-success { background: #e3e9d6; border-left-color: var(--jewel); color: var(--jewel-deep); }
.alert-warning { background: #f3e8cd; border-left-color: var(--gold-deep); color: #4a3812; }
.alert-info    { background: #e2e2da; border-left-color: var(--steel); color: #2a2a22; }

/* ----------------------------------------------------------------------------
   Forms - soft inputs, gilt focus glow
   ---------------------------------------------------------------------------- */

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--hairline);
    background: var(--concrete-050);
    font-family: var(--font-body);
    color: var(--ink);
    padding: .6rem .8rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: var(--cast-gold);
    background: #fff;
    outline: none;
}
.form-label, label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .7rem;
    font-weight: 500;
    color: var(--muted);
}
.input-group-text {
    border-radius: var(--radius-sm);
    border: 1px solid var(--hairline);
    background: var(--concrete-200);
    font-family: var(--font-body);
    color: var(--ink-soft, var(--concrete-700));
}
.text-danger { color: var(--wine) !important; font-family: var(--font-body); font-size: .82rem; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold-deep); }
.form-check-input:focus { border-color: var(--gold); box-shadow: var(--cast-gold); }

/* ----------------------------------------------------------------------------
   Data: tables, badges, code
   ---------------------------------------------------------------------------- */

.table { --bs-table-bg: transparent; border-top: var(--rule); }
.table > thead {
    background: transparent;
    color: var(--muted);
    border-bottom: var(--rule);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .68rem;
    font-weight: 500;
}
.table > thead th { border-bottom: var(--rule); }
.table > tbody > tr > td { border-color: var(--concrete-200); }
.table tbody td.num, .num { font-family: var(--font-display); text-align: right; font-variant-numeric: tabular-nums; }

.badge {
    border-radius: 999px;
    border: 1px solid var(--hairline);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 500;
    font-size: .64rem;
    padding: .35em .75em;
    background: transparent;
    color: var(--muted);
}
.badge.bg-gold { background: var(--brush-gold); color: var(--ink); border-color: var(--gold-deep); }
.badge.bg-ink  { background: var(--ink); color: var(--concrete-050); border-color: var(--ink); }

code, kbd, pre, .mono { font-family: "SFMono-Regular", "Cascadia Mono", Consolas, "Courier New", monospace; }

/* ----------------------------------------------------------------------------
   Theme utilities
   ---------------------------------------------------------------------------- */

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .72rem;
    font-weight: 500;
    color: var(--gold-deep);
    display: inline-block;
    border-bottom: 1px solid var(--gold);
    padding-bottom: .35rem;
    margin-bottom: 1.1rem;
}
.label-mono {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .7rem;
    font-weight: 500;
    color: var(--muted);
}
.lede {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--concrete-700);
    max-width: 60ch;
}

/* Gilt surfaces. Ink type stays legible against the sheen. */
.metal-gold   { background: var(--brush-gold);   color: var(--ink); border: 1px solid var(--gold-deep); border-radius: var(--radius-md); }
.metal-silver { background: var(--brush-silver); color: var(--ink); border: 1px solid var(--silver); border-radius: var(--radius-md); }

/* Hairline gutters between slabs in a grid - a framed set, not a poured block. */
.grid-rebar { gap: 0; }
.grid-rebar > [class*="col"] { padding: 0; }
.grid-rebar > [class*="col"] > .slab { box-shadow: none; border-width: 1px; border-radius: 0; margin: -1px 0 0 -1px; height: 100%; }

/* Stamped cert chip - the grading-authority motif, as a wax-seal-toned mark. */
.stamp {
    display: inline-block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold-deep);
    border: 1px solid var(--gold-deep);
    border-radius: 2px;
    padding: .3rem .65rem;
    transform: rotate(-3deg);
}

/* Spot tile - a small ingot reading its own price. Used on the home spot rail. */
.spot-tile {
    border: var(--rule);
    border-radius: var(--radius-md);
    box-shadow: var(--cast-sm);
    background: var(--concrete-050);
    overflow: hidden;
}
.spot-tile .spot-cap {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .66rem;
    font-weight: 600;
    padding: .45rem .7rem;
    border-bottom: var(--rule-hair);
}
.spot-tile.is-gold      .spot-cap { background: var(--brush-gold); color: var(--ink); }
.spot-tile.is-silver    .spot-cap { background: var(--brush-silver); color: var(--ink); }
.spot-tile.is-platinum  .spot-cap { background: linear-gradient(135deg, #9aa0a6, #e8eaec, #8d9298); color: var(--ink); }
.spot-tile.is-palladium .spot-cap { background: linear-gradient(135deg, #8b8f93, #dfe2e4, #7e8286); color: var(--ink); }
.spot-tile .spot-price { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; padding: .55rem .7rem .2rem; font-variant-numeric: tabular-nums; }
.spot-tile .spot-meta  { font-family: var(--font-body); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 .7rem .6rem; }
.spot-tile .spot-meta.stale { color: var(--wine); }

/* ----------------------------------------------------------------------------
   Carried over from the base template (functional, re-themed)
   ---------------------------------------------------------------------------- */

.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt { white-space: normal; }

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 320px;
}

.password-input-group { max-width: 320px; }
.password-input-group .form-control { max-width: none; }
.password-toggle {
    display: inline-flex;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.password-toggle .password-icon { vertical-align: -0.125em; }
.password-caps-warning { max-width: 320px; }

@media screen and (min-width: 768px) {
    .body-content { padding: 0; }
}

/* ----------------------------------------------------------------------------
   Photographic accents (Pexels, committed under /Images; see IMAGE-CREDITS.md)

   Photos sit under a warm dark wash so serif type stays legible, framed with a
   hairline + soft shadow so they read as set-in plates. Defined after the base
   rules so the background-image wins over the solid .slab--ink fill while the
   ink color remains the fallback.
   ---------------------------------------------------------------------------- */

.slab--ink.bg-photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: var(--concrete-800);
}
.bg-bullion {
    background-image:
        linear-gradient(rgba(20, 16, 9, .72), rgba(20, 16, 9, .88)),
        url("../Images/hero-bullion.jpg");
}
.bg-coins {
    background-image:
        linear-gradient(rgba(20, 16, 9, .70), rgba(20, 16, 9, .86)),
        url("../Images/about-coins.jpg");
}
.bg-jewellery {
    background-image:
        linear-gradient(rgba(20, 16, 9, .70), rgba(20, 16, 9, .86)),
        url("../Images/contact-jewellery.jpg");
}

/* Pillar header plates on the three-counter grid. */
.pillar-photo {
    height: 160px;
    margin-bottom: 1.1rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pillar-photo--vault  { background-image: url("../Images/vault-bars.jpg"); }
.pillar-photo--window { background-image: url("../Images/window-buy.jpg"); }
.pillar-photo--bench  { background-image: url("../Images/bench-coin.jpg"); }

/* Cert-lookup callout: a framed plate of mixed coins with the stamp seated in the corner. */
.cert-photo {
    min-height: 180px;
    border: 1px solid var(--gold-deep);
    border-radius: var(--radius-md);
    box-shadow: var(--cast-sm);
    background-size: cover;
    background-position: center;
    background-image: url("../Images/cert-coins.jpg");
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: .8rem;
}
.cert-photo .stamp { background: rgba(250, 244, 231, .94); }

/* ----------------------------------------------------------------------------
   Live ticker states layered on the static spot tiles (see Scripts/spot-ticker.js)
   ---------------------------------------------------------------------------- */

.spot-tile.is-up   .spot-price { color: var(--jewel); }
.spot-tile.is-down .spot-price { color: var(--wine); }
.spot-tile.is-up   .spot-price::after { content: " \25B2"; font-size: .55em; vertical-align: .18em; }
.spot-tile.is-down .spot-price::after { content: " \25BC"; font-size: .55em; vertical-align: .18em; }

/* A single gilt pulse when a tile's price changes. */
.spot-tile.flash { animation: spot-flash .7s ease-out; }
@keyframes spot-flash {
    0%   { box-shadow: 0 0 0 2px var(--gold-bright), var(--cast-sm); }
    100% { box-shadow: var(--cast-sm); }
}

[data-spot-status].is-error { color: var(--muted); }

/* ----------------------------------------------------------------------------
   Storefront catalog (§1): facet sidebar, product cards, detail gallery + specs.
   Cards read as editorial plates; the gilt stays reserved for price and kind
   chips, and the media gently zooms on hover.
   ---------------------------------------------------------------------------- */

.catalog-facets { position: sticky; top: 1rem; }
.catalog-facets .form-check-label { text-transform: none; letter-spacing: .01em; font-size: .88rem; color: var(--concrete-700); }

/* Product card - an editorial plate; the whole tile is the link, no underline. */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--concrete-050);
    border: var(--rule);
    border-radius: var(--radius-md);
    box-shadow: var(--cast-sm);
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    background: var(--concrete-050);
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: var(--cast);
}
.product-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-bottom: var(--rule-hair);
    background: var(--concrete-200);
    overflow: hidden;
}
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.product-card:hover .product-thumb-img { transform: scale(1.04); }
.product-thumb-mono {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--concrete-400);
}
.product-kind-badge {
    position: absolute;
    top: .55rem;
    left: .55rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .58rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border: 1px solid var(--silver);
    border-radius: 999px;
    background: var(--brush-silver);
    color: var(--ink);
}
.product-kind-badge.is-unique { background: var(--brush-gold); border-color: var(--gold-deep); }
.product-body { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1rem; flex-grow: 1; }
.product-name { font-family: var(--font-display); font-weight: 500; text-transform: none; line-height: 1.1; font-size: 1.15rem; letter-spacing: -.01em; }
.product-meta { font-family: var(--font-body); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: .55rem; border-top: var(--rule-hair); gap: .5rem; }
.product-price { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.product-stock { font-family: var(--font-body); font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--jewel); }
.product-stock.is-out { color: var(--wine); }
.product-bid { font-family: var(--font-body); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }

/* Detail gallery */
.product-hero {
    position: relative;
    aspect-ratio: 1 / 1;
    border: var(--rule);
    border-radius: var(--radius-md);
    background: var(--concrete-200);
    overflow: hidden;
}
.product-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-hero-mono {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--concrete-400);
}
.product-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.product-thumb-cell { width: 4.6rem; }
.product-thumb-cell .product-thumb-img { aspect-ratio: 1 / 1; border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.product-thumb-kind { display: block; font-family: var(--font-body); font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-top: .2rem; }

/* Detail pricing block */
.product-pricing { border: var(--rule); border-radius: var(--radius-md); box-shadow: var(--cast-sm); background: var(--concrete-050); padding: 1.25rem 1.35rem; }
.product-pricing .product-ask-cap { margin-bottom: .25rem; }
.product-pricing .product-ask { font-family: var(--font-display); font-weight: 500; font-size: 2.4rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink); }
.product-pricing .product-bid { font-family: var(--font-body); font-size: .82rem; text-transform: none; letter-spacing: .01em; color: var(--steel); margin-top: .45rem; }
.product-pricing .product-spot-ref { margin-top: .5rem; }

.product-specs th { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--muted); font-weight: 500; width: 40%; }
.product-specs td { font-size: .95rem; }

/* Cart & checkout (§6) */
.cart-table th { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; color: var(--muted); font-weight: 500; }
.cart-qty-col { width: 6.5rem; }
.cart-qty { max-width: 5rem; }
.cart-thumb { display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--concrete-100); overflow: hidden; flex: 0 0 auto; }
.cart-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb-mono { font-family: var(--font-display); font-style: italic; color: var(--concrete-400); }
.cart-item-name { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.cart-summary-note, .checkout-summary-note { font-size: .72rem; color: var(--muted); margin-top: .5rem; margin-bottom: 0; }
.checkout-line { font-size: .95rem; padding: .2rem 0; }
.checkout-grand { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.checkout-lock .label-mono { color: inherit; }

/* ===== Checkout shipping selector (§6) ===== */
.checkout-shipping label { display: block; padding: .4rem 0; font-size: .98rem; text-transform: none; letter-spacing: 0; color: var(--concrete-700); }
.checkout-shipping input { margin-right: .5rem; accent-color: var(--gold); }

/* ===== Back office (§6/§12) ===== */
.admin-body { background: var(--concrete-100); }
.admin-topbar { background: var(--ink); color: var(--concrete-050); padding: .7rem 0; }
.admin-brand { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; text-transform: none; font-size: 1.05rem; }
.admin-brand .thin { font-weight: 400; color: var(--concrete-400); font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.admin-topbar-right { display: inline-flex; gap: 1rem; align-items: center; font-size: .85rem; }
.admin-toplink { color: var(--gold-bright); text-decoration: none; }
.admin-toplink:hover { text-decoration: underline; }
.admin-layout { min-height: 70vh; }
.admin-sidebar { background: var(--concrete-050); border-right: var(--rule); padding: 1.2rem 0; }
.admin-nav { list-style: none; padding: 0; margin: 0; }
.admin-nav li { margin: 0; }
.admin-nav a { display: block; padding: .45rem 1.2rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.admin-nav a:hover { background: var(--concrete-100); color: var(--gold-deep); }
.admin-nav-head { padding: .9rem 1.2rem .2rem; font-family: var(--font-body); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.admin-main { padding: 1.8rem 2rem; }
.admin-h1 { font-size: 1.9rem; margin-bottom: .4rem; }
.admin-h2 { font-size: 1.3rem; margin: 1.3rem 0 .6rem; }
.admin-intro { color: var(--concrete-600); max-width: 62ch; margin-bottom: 1.3rem; }
.admin-help { font-size: .8rem; color: var(--muted); margin: .25rem 0 0; }
.admin-label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .25rem; color: var(--concrete-700); text-transform: none; letter-spacing: normal; }
.admin-optional { font-weight: 400; color: var(--concrete-400); font-size: .8rem; }
.admin-field { margin-bottom: 1.1rem; max-width: 40rem; }
.admin-input { max-width: 26rem; }
.admin-check { display: block; margin-top: .45rem; font-size: .85rem; }
.admin-code { max-width: 40rem; width: 100%; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.5; }
.admin-color-field { display: flex; align-items: center; gap: .6rem; }
.admin-color-field .admin-input { flex: 1 1 auto; }
.admin-color-swatch { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; padding: 2px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--concrete-050); cursor: pointer; }
.admin-brand-preview { display: inline-block; max-height: 48px; margin-bottom: .4rem; padding: 4px; background: var(--concrete-200); border: var(--rule-hair); border-radius: var(--radius-sm); }
.admin-brand-preview-wide { max-height: 56px; }
.admin-banner { padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.admin-banner-ok { background: #e3e9d6; border: 1px solid var(--jewel); color: var(--jewel-deep); }
.admin-banner-warn { background: #f3e8cd; border: 1px solid var(--gold); color: #4a3812; }
.admin-empty { padding: 1rem; color: var(--muted); }
.admin-table { background: var(--concrete-050); }
.admin-table th { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--muted); font-weight: 500; }
.admin-stats { margin-bottom: 1rem; }
.admin-stat { display: block; background: var(--concrete-050); border: var(--rule); border-radius: var(--radius-md); padding: 1.2rem; text-decoration: none; color: var(--ink); transition: box-shadow .2s ease, transform .12s ease; }
.admin-stat:hover { box-shadow: var(--cast-sm); transform: translateY(-2px); }
.admin-stat-num { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2rem; color: var(--gold-deep); }
.admin-stat-label { display: block; font-size: .82rem; color: var(--concrete-600); }
.admin-module { background: var(--concrete-050); border: var(--rule); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: .45rem; }
.admin-module-child { margin-left: 2rem; border-left: 2px solid var(--gold); }
.admin-module-name { font-weight: 600; margin-left: .4rem; }
.admin-edit { background: var(--concrete-050); margin-top: 1rem; }
.admin-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .6rem; }
.admin-chip { background: var(--ink); color: var(--concrete-050); padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-family: var(--font-body); letter-spacing: .04em; }
.admin-inline-add { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.admin-inline-add .admin-input { max-width: 14rem; }
.admin-matrix-wrap { overflow-x: auto; }
.admin-matrix th, .admin-matrix td { vertical-align: top; background: var(--concrete-050); }
.admin-matrix-cell { min-width: 9rem; }
.admin-reason { font-size: .8rem; margin-top: .25rem; }
.admin-pay-cell { display: flex; gap: .4rem; align-items: center; }
.admin-pay-amount { max-width: 7rem; }
.admin-back { display: inline-block; margin-bottom: .6rem; color: var(--gold-deep); text-decoration: none; }
.admin-back:hover { color: var(--ink); }

/* ---- Shell & UX layer ---------------------------------------------------- */
/* Sentence-case in the back office: the storefront's uppercase label aesthetic is hard to
   scan for data entry. Scoped to .admin-body so the storefront is untouched. .admin-label keeps
   its own weight (set above); this resets the generic/checkbox/radio labels the base rule caps. */
.admin-body label:not(.admin-label),
.admin-body .form-check-label,
.admin-body .label-mono { text-transform: none; letter-spacing: normal; font-weight: 400; }
.admin-body .label-mono { font-size: .8rem; color: var(--muted); }

/* Left-rail: jump-to filter, collapsible groups, active state */
.admin-nav-search { padding: .1rem 1rem 0.7rem; }
.admin-nav-filter { width: 100%; font-size: .85rem; padding: .35rem .6rem; border: var(--rule); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.admin-nav-filter:focus { outline: none; border-color: var(--gold); box-shadow: var(--cast-gold); }
.admin-nav-group { margin: 0; }
.admin-nav-sub { list-style: none; padding: 0; margin: 0; overflow: hidden; }
.admin-nav-group.collapsed .admin-nav-sub { display: none; }
.admin-nav-sub a { padding-left: 1.7rem; }
button.admin-nav-head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
button.admin-nav-head:hover { color: var(--gold-deep); }
.admin-nav-head .caret { transition: transform .15s ease; font-size: .6rem; }
.admin-nav-group.collapsed .admin-nav-head .caret { transform: rotate(-90deg); }
.admin-nav a.active { background: var(--concrete-100); color: var(--gold-deep); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.admin-nav-empty { padding: .5rem 1.2rem; color: var(--muted); font-size: .82rem; font-style: italic; }
.admin-nav .badge { font-size: .62rem; }

/* Status badges in the back office. The storefront `.badge` override sets a muted walnut text
   colour on a transparent fill; Bootstrap's own `.bg-secondary`/`.bg-success` utilities then paint a
   medium grey/green under that same muted text, giving the low-contrast grey-on-grey the review flagged.
   Repaint every semantic variant with a legible parchment-toned fill (WCAG-AA text), and square the
   corners: a read-only status label shaped like a full pill reads as a flip-able toggle switch, so the
   squared "tag" shape reserves the pill/switch look for the actual toggles (which are asp:CheckBoxes). */
.admin-body .badge {
    border-radius: var(--radius-sm);
    letter-spacing: .05em;
    font-size: .68rem;
    padding: .28em .6em;
    border: 1px solid transparent;
}
.admin-body .badge.bg-secondary { background-color: var(--concrete-200) !important; color: var(--concrete-800); border-color: var(--concrete-300); }
.admin-body .badge.bg-success   { background-color: #d7e6c2 !important; color: #2f451a; border-color: #b6d097; }
.admin-body .badge.bg-warning,
.admin-body .badge.bg-warning.text-dark { background-color: #f3e2ac !important; color: #5a4310 !important; border-color: #e2c87f; }
.admin-body .badge.bg-danger    { background-color: #f2ccc8 !important; color: #7f2b28; border-color: #e0a49e; }
.admin-body .badge.bg-info      { background-color: #cfe0e5 !important; color: #23474f; border-color: #a6c5ce; }
.admin-body .badge.bg-primary   { background-color: var(--ink) !important; color: var(--concrete-050); border-color: var(--ink); }

/* Dashboard: operational "needs attention" widgets */
.admin-attention { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; margin: 0 0 1.4rem; }
.admin-alertcard { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem; border: var(--rule); border-radius: var(--radius-md); background: var(--concrete-050); text-decoration: none; color: var(--ink); border-left-width: 4px; transition: box-shadow .2s ease, transform .12s ease; }
.admin-alertcard:hover { box-shadow: var(--cast-sm); transform: translateY(-1px); color: var(--ink); }
.admin-alertcard .ac-num { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1; }
.admin-alertcard .ac-body { display: flex; flex-direction: column; gap: .1rem; }
.admin-alertcard .ac-title { font-weight: 600; font-size: .9rem; }
.admin-alertcard .ac-sub { font-size: .78rem; color: var(--concrete-600); }
.admin-alertcard.is-warn { border-left-color: var(--gold); }
.admin-alertcard.is-warn .ac-num { color: var(--gold-deep); }
.admin-alertcard.is-danger { border-left-color: #b0413e; }
.admin-alertcard.is-danger .ac-num { color: #b0413e; }
.admin-alertcard.is-ok { border-left-color: var(--jewel); }
.admin-alertcard.is-ok .ac-num { color: var(--jewel-deep); }
.admin-allclear { padding: .85rem 1rem; border: var(--rule); border-left: 4px solid var(--jewel); border-radius: var(--radius-md); background: #eef2e6; color: var(--jewel-deep); margin-bottom: 1.4rem; font-size: .9rem; }

/* Actionable empty states: flat "No X yet" becomes a card with a next step */
.admin-empty-cta { padding: 1.6rem 1.4rem; border: 1px dashed var(--concrete-300); border-radius: var(--radius-md); background: var(--concrete-050); text-align: center; color: var(--concrete-600); }
.admin-empty-cta .ec-title { font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.admin-empty-cta .ec-sub { font-size: .85rem; margin-bottom: .8rem; }

/* Settings: sticky section nav + per-section cards + search */
.admin-settings-layout { display: grid; grid-template-columns: 13rem 1fr; gap: 1.6rem; align-items: start; }
.admin-settings-nav { position: sticky; top: 1rem; }
.admin-settings-nav ul { list-style: none; padding: 0; margin: 0; border-left: var(--rule); }
.admin-settings-nav a { display: block; padding: .35rem .8rem; color: var(--concrete-700); text-decoration: none; font-size: .88rem; border-left: 2px solid transparent; margin-left: -1px; }
.admin-settings-nav a:hover { color: var(--gold-deep); }
.admin-settings-nav a.active { color: var(--gold-deep); font-weight: 600; border-left-color: var(--gold); }
.admin-settings-search { margin-bottom: 1rem; }
.admin-settings-section { border: var(--rule); border-radius: var(--radius-md); background: var(--concrete-050); padding: 1.1rem 1.3rem; margin-bottom: 1.1rem; scroll-margin-top: 1rem; }
.admin-settings-section > h2 { margin-top: 0; }
.admin-settings-hidden { display: none; }
.admin-settings-bar { position: sticky; bottom: 0; background: var(--concrete-050); border-top: var(--rule); padding: .8rem 0; margin-top: 1rem; display: flex; gap: 1rem; align-items: center; }
.admin-settings-dirty { color: var(--gold-deep); font-size: .85rem; }
@media (max-width: 767px) { .admin-settings-layout { grid-template-columns: 1fr; } .admin-settings-nav { position: static; } }

/* Plain-language glossary popover trigger */
.admin-jargon { border-bottom: 1px dotted var(--concrete-400); cursor: help; }

/* "Advanced" disclosure - collapses raw/secondary fields (e.g. the stored branding paths) so a
   friendlier editor stays the primary path. */
.admin-advanced { border: var(--rule-hair); border-radius: var(--radius-sm); background: var(--concrete-100); margin: .4rem 0 1rem; }
.admin-advanced > summary { cursor: pointer; padding: .55rem .8rem; font-size: .82rem; font-weight: 600; color: var(--concrete-700); list-style-position: inside; }
.admin-advanced[open] > summary { border-bottom: var(--rule-hair); }
.admin-advanced > .admin-field, .admin-advanced .admin-setting-row { padding-left: .8rem; padding-right: .8rem; }
.admin-advanced > .admin-field:first-of-type, .admin-advanced .admin-setting-row:first-of-type { margin-top: .8rem; }

/* Environment / configuration health: read-only status rows with format-check findings */
.env-summary { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.3rem; }
.env-summary .admin-stat { flex: 1 1 7rem; }
.env-section .env-row { border-top: var(--rule-hair); padding: .8rem 0; }
.env-section .env-row:first-of-type { border-top: 0; padding-top: .2rem; }
.env-row-head { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.env-name { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; background: var(--concrete-100); padding: .12rem .45rem; border-radius: var(--radius-sm); }
.env-req { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-left: auto; }
.env-purpose { font-size: .82rem; color: var(--concrete-600); margin: .35rem 0 .25rem; max-width: 72ch; }
.env-value { font-size: .8rem; margin: .25rem 0; }
.env-value-label { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; margin-right: .45rem; }
.env-value code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--concrete-100); padding: .1rem .4rem; border-radius: var(--radius-sm); word-break: break-all; }
.env-chip { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .12rem .5rem; border-radius: 999px; white-space: nowrap; }
.env-chip-ok { background: #e3e9d6; color: var(--jewel-deep); }
.env-chip-warn { background: #f3e8cd; color: #4a3812; }
.env-chip-problem { background: #f4d9d7; color: #7f2b28; }
.env-chip-muted { background: var(--concrete-200); color: var(--concrete-600); }
.env-findings { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-direction: column; gap: .25rem; }
.env-findings .ef { font-size: .8rem; padding: .3rem .55rem; border-radius: var(--radius-sm); border-left: 3px solid transparent; }
.ef-ok { background: #eef2e6; border-left-color: var(--jewel); color: var(--jewel-deep); }
.ef-info { background: var(--concrete-100); border-left-color: var(--concrete-400); color: var(--concrete-700); }
.ef-warn { background: #f7efd9; border-left-color: var(--gold); color: #4a3812; }
.ef-problem { background: #f7e4e2; border-left-color: #b0413e; color: #7f2b28; }
