/* /Components/Layout/SiteFooter.razor.rz.scp.css */
.site-footer[b-vckq0qtj9c] {
    padding: var(--s-7) var(--s-4) var(--s-5);
}

.site-footer__top[b-vckq0qtj9c] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--s-6) var(--s-7);
    align-items: start;
}

.site-footer__ask[b-vckq0qtj9c] {
    max-width: 18ch;
    margin-bottom: var(--s-4);
}

.site-footer__mail[b-vckq0qtj9c] { font-size: var(--t-lead); }

/* --- footer nav ------------------------------------------------------------ */
.site-footer__nav ul[b-vckq0qtj9c] {
    margin: var(--s-3) 0 0;
    display: grid;
    gap: 10px;
}

.site-footer__nav a[b-vckq0qtj9c] {
    text-decoration: none;
    font-size: var(--t-small);
    color: var(--on-field-soft);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__nav a:hover[b-vckq0qtj9c] {
        color: #fff;
        border-bottom-color: var(--accent-bright);
    }
}

.site-footer__colhead2[b-vckq0qtj9c] { margin-top: var(--s-5); }

/* --- the close ------------------------------------------------------------- */
.site-footer__rule[b-vckq0qtj9c] { margin: var(--s-6) 0 var(--s-4); }

.site-footer__base[b-vckq0qtj9c] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3) var(--s-5);
}

.site-footer__line[b-vckq0qtj9c] {
    font-size: var(--t-lead);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
}

.site-footer__meta[b-vckq0qtj9c] {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--on-field-soft);
}

.site-footer__mark[b-vckq0qtj9c] { font-size: 1rem; }

@media (max-width: 860px) {
    .site-footer__top[b-vckq0qtj9c] {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .site-footer__ask[b-vckq0qtj9c] { max-width: 24ch; }
}
/* /Components/Layout/SiteHeader.razor.rz.scp.css */
.site-header[b-kwakfvk44b] {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--paper);
    border-bottom: 1px solid var(--line-firm);
    transition: box-shadow 220ms var(--ease-out);
}

/* The masthead earns its shadow only once the document has moved under it —
   at rest it is a rule on the page, not a floating bar. */
.site-header.is-scrolled[b-kwakfvk44b] {
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.45);
}

.site-header__inner[b-kwakfvk44b] {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-2) var(--s-4);
    min-height: 60px;
}

.site-header__nav[b-kwakfvk44b] {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-left: auto;
    font-size: var(--t-small);
    font-weight: 500;
}

.site-header__link[b-kwakfvk44b] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--strong);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-header__link:hover[b-kwakfvk44b] {
        color: var(--ink);
        border-bottom-color: var(--accent);
    }
}

.site-header__cta[b-kwakfvk44b] {
    padding: 0.6rem 1.05rem;
    white-space: nowrap;
}

/* --- the modules disclosure ------------------------------------------------
   No JavaScript: <details> carries the open/closed state itself. */
.site-header__disclosure[b-kwakfvk44b] { position: relative; }

.site-header__summary[b-kwakfvk44b] {
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.site-header__summary[b-kwakfvk44b]::-webkit-details-marker { display: none; }

.site-header__chev[b-kwakfvk44b] {
    transition: transform 180ms var(--ease-out);
    margin-top: 1px;
}
.site-header__disclosure[open] > .site-header__summary[b-kwakfvk44b] { color: var(--ink); }
.site-header__disclosure[open] > .site-header__summary .site-header__chev[b-kwakfvk44b] { transform: rotate(180deg); }

.site-header__panel[b-kwakfvk44b] {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    translate: -50% 0;
    width: min(92vw, 640px);
    background: var(--paper);
    border: 1px solid var(--line-firm);
    border-radius: var(--r-lg, 16px);
    box-shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.24);
    padding: var(--s-4);
    z-index: 40;
}

/* Enter from an already-visible default so a client that ignores the animation
   still shows the panel the instant it opens. */
@media (prefers-reduced-motion: no-preference) {
    .site-header__panel[b-kwakfvk44b] {
        transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
    }
    @starting-style {
        .site-header__disclosure[open] > .site-header__panel[b-kwakfvk44b] {
            opacity: 0;
            transform: translateY(-6px);
        }
    }
}

.site-header__modules[b-kwakfvk44b] {
    margin: var(--s-2) 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px var(--s-3);
}

.site-header__modules a[b-kwakfvk44b] {
    display: block;
    padding: 7px 9px;
    margin-inline: -9px;
    border-radius: 9px;
    text-decoration: none;
    transition: background-color 140ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-header__modules a:hover[b-kwakfvk44b] { background: var(--accent-soft); }
}

.site-header__mname[b-kwakfvk44b] {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.site-header__mkick[b-kwakfvk44b] {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
}

.site-header__all[b-kwakfvk44b] {
    display: inline-block;
    margin-top: var(--s-3);
    font-size: var(--t-small);
}

/* --- narrow ---------------------------------------------------------------
   The links wrap to a second ruled line and scroll sideways rather than
   collapsing into a hamburger, which would need the JavaScript this site
   deliberately does not load. */
@media (max-width: 1080px) {
    .site-header__nav[b-kwakfvk44b] { gap: var(--s-3); }
    .site-header__inner[b-kwakfvk44b] { gap: var(--s-3); }
}

@media (max-width: 940px) {
    .site-header__inner[b-kwakfvk44b] {
        flex-wrap: wrap;
        row-gap: 0;
        padding-bottom: 0;
    }

    .site-header__nav[b-kwakfvk44b] {
        order: 3;
        width: 100%;
        margin-left: 0;
        border-top: 1px solid var(--line);
        padding: 4px 0;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .site-header__nav[b-kwakfvk44b]::-webkit-scrollbar { display: none; }

    .site-header__cta[b-kwakfvk44b] { margin-left: auto; }

    /* Anchored to the bar, not to the summary, so it cannot spill off-screen. */
    .site-header__disclosure[b-kwakfvk44b] { position: static; }
    .site-header__panel[b-kwakfvk44b] {
        left: var(--s-3);
        right: var(--s-3);
        translate: none;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 560px) {
    .site-header__modules[b-kwakfvk44b] { grid-template-columns: 1fr; }
}
/* /Components/Pages/About.razor.rz.scp.css */
/* About + contact. Same grammar as the rest of the site: two grounds, ruled
   blocks, no cards. The map is the one framed object on the page and earns it by
   being a real image of a real place. */

.about-hero__title[b-3np5z4kvqc] { max-width: 17ch; }

.about-hero__lead[b-3np5z4kvqc] { margin-top: var(--s-4); }

/* --- what it is ------------------------------------------------------------ */
.about-what__grid[b-3np5z4kvqc] {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--s-5) var(--s-7);
    align-items: start;
}

.about-what__title[b-3np5z4kvqc] { max-width: 13ch; }

/* --- principles ------------------------------------------------------------ */
.about-principles__title[b-3np5z4kvqc] { margin-bottom: var(--s-5); }

/* --- contact --------------------------------------------------------------- */
.about-contact__title[b-3np5z4kvqc] { margin-bottom: var(--s-5); }

.about-contact__grid[b-3np5z4kvqc] {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s-6) var(--s-7);
    align-items: start;
}

.about-contact__details[b-3np5z4kvqc] {
    display: grid;
    gap: var(--s-5);
}

.about-block__act[b-3np5z4kvqc] { margin-top: var(--s-2); }

.about-block__hint[b-3np5z4kvqc] {
    margin-top: var(--s-2);
    max-width: 40ch;
    color: var(--muted);
}

.about-address[b-3np5z4kvqc] {
    font-style: normal;
    margin-top: var(--s-2);
    font-size: var(--t-lead);
    line-height: 1.45;
    color: var(--ink);
}

.about-lines[b-3np5z4kvqc] {
    margin-top: var(--s-2);
    display: grid;
    gap: 6px;
}

/* Telephone and email read as entries in a register: figures set in the tabular
   face so the two numbers align digit under digit. */
.about-line[b-3np5z4kvqc] {
    font-size: var(--t-lead);
    color: var(--ink);
    text-decoration: none;
    font-variant-numeric: tabular-nums lining-nums;
    border-bottom: 1px solid var(--line-firm);
    padding-bottom: 2px;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .about-line:hover[b-3np5z4kvqc] {
        color: var(--accent-press);
        border-bottom-color: var(--accent);
    }
}

/* --- map ------------------------------------------------------------------- */
.about-map[b-3np5z4kvqc] { margin: 0; }

.about-map__frame[b-3np5z4kvqc] {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg, 16px);
    overflow: hidden;
    border: 1px solid var(--line-firm);
    background: var(--accent-soft);
}

.about-map__frame iframe[b-3np5z4kvqc] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.about-map figcaption[b-3np5z4kvqc] {
    margin-top: var(--s-2);
    font-size: 0.8125rem;
    color: var(--muted);
}

/* --- close ----------------------------------------------------------------- */
.about-close__inner[b-3np5z4kvqc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
}

.about-close__title[b-3np5z4kvqc] { max-width: 20ch; }
.about-close__lead[b-3np5z4kvqc] { margin-top: var(--s-2); }

.about-close__actions[b-3np5z4kvqc] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

/* --- narrow ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .about-what__grid[b-3np5z4kvqc],
    .about-contact__grid[b-3np5z4kvqc] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-5);
    }

    .about-what__title[b-3np5z4kvqc] { max-width: 20ch; }

    .about-map__frame[b-3np5z4kvqc] { aspect-ratio: 16 / 11; }
}

@media (max-width: 620px) {
    .about-close__actions .btn[b-3np5z4kvqc] {
        flex: 1 1 auto;
        justify-content: center;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
/* Rhythm only — every colour and type value on this page comes from wwwroot/app.css. */

.err__head[b-vkhlkgphnt] { margin-top: var(--s-2); }

.err__say[b-vkhlkgphnt] { margin-top: var(--s-4); }

/* The request reference set the way a ledger sets one: the column head ruled underneath, the value
   beneath the rule. .colhead is the site's primitive for that head; it only needs to become a block
   so the rule runs the width of the reference. */
.err__ref[b-vkhlkgphnt] {
    margin-top: var(--s-5);
    max-width: 46ch;
}

.err__reflabel[b-vkhlkgphnt] { display: block; }

/* Heebo, not a monospace face — the One Family Rule holds here. Tabular lining figures do the work
   monospace would: the identifier reads back cleanly, digit by digit, over the telephone. */
.err__refval[b-vkhlkgphnt] {
    display: block;
    margin-top: var(--s-2);
    font-family: var(--face);
    font-size: var(--t-small);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    letter-spacing: 0.02em;
    line-height: 1.45;
    overflow-wrap: anywhere;
    color: var(--on-field);
}

.err__actions[b-vkhlkgphnt] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home — the scroll is paced deliberately: a dense opening (the trace), a quiet
   reading passage, a visual beat, the long schedule, then alternating field and
   paper to the close. One spacing rhythm throughout. */

/* --- 1. hero --------------------------------------------------------------- */
.home-hero[b-rwzai41w30] {
    padding-top: var(--s-6);
    padding-bottom: var(--s-7);
}

.home-hero__top[b-rwzai41w30] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 44rem;
}

.home-hero__title[b-rwzai41w30] { margin-bottom: var(--s-4); }

.home-hero__lead[b-rwzai41w30] { max-width: 54ch; }

.home-hero__actions[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}

/* The trace sits on its own hairline below the statement, as a schedule sits
   below the narrative in a set of accounts. */
.home-hero__trace[b-rwzai41w30] {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid var(--on-field-rule);
}

/* --- 2. about -------------------------------------------------------------- */
.home-about__grid[b-rwzai41w30],
.home-projects__grid[b-rwzai41w30],
.home-currency__grid[b-rwzai41w30] {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--s-5) var(--s-7);
    align-items: start;
}

.home-about__title[b-rwzai41w30] { max-width: 12ch; }

/* --- 3. plate -------------------------------------------------------------- */
.home-plate[b-rwzai41w30] { padding-top: 0; }

/* --- 4. modules ------------------------------------------------------------ */
.home-modules__head[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-3) var(--s-5);
    margin-bottom: var(--s-5);
}

.home-modules__count[b-rwzai41w30] {
    color: var(--muted);
    padding-bottom: 4px;
}

.home-modules__link[b-rwzai41w30] {
    text-decoration: none;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .home-modules__link:hover[b-rwzai41w30] {
        color: var(--accent-press);
        border-bottom-color: var(--accent);
    }
}

/* The note runs long on this page — every module's full definition sits here —
   so it is held to a readable measure rather than the full column width. */
.home-modules__list .schedule__note[b-rwzai41w30] { max-width: 68ch; }

.home-modules__more[b-rwzai41w30] { margin-top: var(--s-5); }

/* --- 5-6. projects, currency ----------------------------------------------- */
.home-projects__title[b-rwzai41w30] { max-width: 14ch; }

.home-projects__link[b-rwzai41w30] { margin-top: var(--s-4); }

/* --- 7. reporting ---------------------------------------------------------- */
.home-reporting__title[b-rwzai41w30] { margin-bottom: var(--s-5); }

.home-reporting__list[b-rwzai41w30] {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-firm);
}

.home-reporting__list li[b-rwzai41w30] {
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

.home-reporting__rule[b-rwzai41w30] { margin-top: var(--s-1); }

.home-reporting__foot[b-rwzai41w30] {
    margin-top: var(--s-3);
    color: var(--muted);
}

/* --- 8. close -------------------------------------------------------------- */
.home-close__inner[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
}

.home-close__title[b-rwzai41w30] { max-width: 20ch; }

.home-close__lead[b-rwzai41w30] { margin-top: var(--s-2); }

.home-close__actions[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

/* --- narrow ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .home-about__grid[b-rwzai41w30],
    .home-projects__grid[b-rwzai41w30],
    .home-currency__grid[b-rwzai41w30] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-4);
    }

    .home-about__title[b-rwzai41w30],
    .home-projects__title[b-rwzai41w30] { max-width: 20ch; }

    .home-hero__trace[b-rwzai41w30] { margin-top: var(--s-6); }
}

@media (max-width: 620px) {
    .home-hero[b-rwzai41w30] { padding-top: var(--s-5); }

    .home-hero__actions .btn[b-rwzai41w30],
    .home-close__actions .btn[b-rwzai41w30] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .home-modules__head[b-rwzai41w30] { align-items: flex-start; }
}
/* /Components/Pages/ModuleDetail.razor.rz.scp.css */
/* ============================================================================
   Module detail — the note to the accounts.

   Layout only. Every colour, size and space here is a token from wwwroot/app.css;
   the primitives (.eyebrow .display .lead .colhead .fig .rule .plate .schedule)
   restyle themselves on the blue field, so nothing below re-specifies a colour
   for the field — see the direction contract at the top of app.css.
   ============================================================================ */

/* --- 1. the heading of the note -------------------------------------------- */
.detail__hero[b-wuvhbbm9ez] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
    gap: var(--s-6) var(--s-7);
    align-items: start;
}

.detail__kicker[b-wuvhbbm9ez] {
    margin-top: var(--s-4);
    font-size: var(--t-h3);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--on-field);
    max-width: 34ch;
    text-wrap: balance;
}

.detail__def[b-wuvhbbm9ez] { margin-top: var(--s-4); }

/* The summary that foots. A single rule above the total, the double rule under
   it, and every figure tabular and right-aligned. */
.tally[b-wuvhbbm9ez] { padding-top: 6px; }

.tally__head[b-wuvhbbm9ez] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    margin: 0;
}

.tally__rows[b-wuvhbbm9ez] { margin: 0; }

.tally__row[b-wuvhbbm9ez] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    align-items: baseline;
    margin: 0;
    padding: var(--s-1) 0;
    font-size: var(--t-small);
    border-bottom: 1px solid var(--on-field-rule);
}

.tally__rows dt[b-wuvhbbm9ez] { color: var(--on-field-soft); }
.tally__rows dd[b-wuvhbbm9ez] {
    color: var(--on-field);
    font-weight: 500;
}

.tally__rows .tally__row:last-child[b-wuvhbbm9ez] { border-bottom: 0; }

.tally__row--total[b-wuvhbbm9ez] {
    border-bottom: 0;
    padding-top: var(--s-2);
    font-size: var(--t-body);
    font-weight: 700;
    color: var(--on-field);
}

.tally__note[b-wuvhbbm9ez] { margin-top: var(--s-2); }

/* --- 2. the plate ----------------------------------------------------------- */
.detail__plate-sheet[b-wuvhbbm9ez] { padding-block: var(--s-6); }

.detail__plate[b-wuvhbbm9ez] {
    max-width: 1040px;
    margin-inline: auto;
}

/* --- 3. the schedule of capabilities ---------------------------------------- */
.detail__h2[b-wuvhbbm9ez] { margin-top: var(--s-2); }

.detail__intro[b-wuvhbbm9ez] { margin-top: var(--s-4); }

.detail__note[b-wuvhbbm9ez] {
    margin-top: var(--s-3);
    max-width: 68ch;
}

/* The control note. Ruled off above rather than boxed — it is an aside in the document, and a
   card is the one thing this site does not build. */
.detail__control[b-wuvhbbm9ez] {
    margin-top: var(--s-4);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line);
}

.detail__control strong[b-wuvhbbm9ez] { color: var(--ink); }

.inv[b-wuvhbbm9ez] { margin-top: var(--s-6); }

.inv__head[b-wuvhbbm9ez] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    margin: 0 0 var(--s-2);
}

/* A ruled index, not a grid of boxes: entries read down each column, the way a
   printed schedule is set. The vertical hairline is the column rule. */
.inv__list[b-wuvhbbm9ez] {
    margin: 0;
    columns: 1;
    column-gap: var(--s-6);
    column-rule: 1px solid var(--line);
}

.inv__item[b-wuvhbbm9ez] {
    break-inside: avoid;
    display: grid;
    grid-template-columns: 2.4ch minmax(0, 1fr);
    gap: var(--s-2);
    align-items: baseline;
    padding: var(--s-1) 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--t-small);
}

.inv__no[b-wuvhbbm9ez] {
    font-size: 0.8125rem;
    color: var(--muted);
}

.inv__label[b-wuvhbbm9ez] {
    color: var(--text);
    overflow-wrap: anywhere;
}

@media (min-width: 720px) {
    .inv__list[b-wuvhbbm9ez] { columns: 2; }
}

@media (min-width: 1080px) {
    .inv__list[b-wuvhbbm9ez] { columns: 3; }
}

/* --- 4. where it meets the ledger ------------------------------------------- */
.detail__prose[b-wuvhbbm9ez] { margin-top: var(--s-4); }

.detail__ledgerlink[b-wuvhbbm9ez] {
    margin-top: var(--s-5);
    font-size: var(--t-small);
}

/* --- 5. the close ----------------------------------------------------------- */
.close__nav[b-wuvhbbm9ez] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4) var(--s-5);
    margin-top: var(--s-4);
}

.close__step[b-wuvhbbm9ez] {
    display: grid;
    gap: 2px;
    padding: var(--s-3) 0;
    border-top: 1px solid var(--line-firm);
    text-decoration: none;
}

.close__step--next[b-wuvhbbm9ez] { text-align: right; }

.close__dir[b-wuvhbbm9ez] {
    font-size: var(--t-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.close__name[b-wuvhbbm9ez] {
    font-size: var(--t-h3);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color 160ms var(--ease-out);
}

.close__code[b-wuvhbbm9ez] {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-variant-numeric: tabular-nums lining-nums;
}

.close__rule[b-wuvhbbm9ez] { margin-top: var(--s-5); }

.close__links[b-wuvhbbm9ez] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3) var(--s-5);
    margin-top: var(--s-4);
    font-size: var(--t-small);
}

@media (hover: hover) and (pointer: fine) {
    .close__step:hover .close__name[b-wuvhbbm9ez] { color: var(--accent-press); }
}

/* --- the courteous "no such module" state ----------------------------------- */
.nf__lead[b-wuvhbbm9ez] { margin-top: var(--s-4); }

.nf__slug[b-wuvhbbm9ez] {
    font-weight: 700;
    color: var(--on-field);
    overflow-wrap: anywhere;
}

.nf__act[b-wuvhbbm9ez] { margin-top: var(--s-5); }

.nf__row[b-wuvhbbm9ez] {
    text-decoration: none;
    transition: background-color 140ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .nf__row:hover[b-wuvhbbm9ez] { background: var(--accent-soft); }
}

/* --- narrow ----------------------------------------------------------------- */
@media (max-width: 900px) {
    .detail__hero[b-wuvhbbm9ez] {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .tally[b-wuvhbbm9ez] { max-width: 34rem; }
}

@media (max-width: 620px) {
    .close__nav[b-wuvhbbm9ez] { grid-template-columns: 1fr; }
    .close__step--next[b-wuvhbbm9ez] { text-align: left; }
}

/* --- 3b. what the menu does not show ---------------------------------------
   Owner-confirmed specifics: an accounting basis, a statutory deduction, a
   document produced. Set as ruled statements rather than schedule rows — each
   is a sentence that needs reading, not a label scanned against a figure. */
.detail__specifics-list[b-wuvhbbm9ez] {
    display: grid;
    margin-top: var(--s-4);
}

.detail__specific[b-wuvhbbm9ez] {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--t-lead);
    line-height: 1.5;
    color: var(--text);
    max-width: 68ch;
}

.detail__specific:last-child[b-wuvhbbm9ez] { border-bottom: 0; }

/* --- the module mark --------------------------------------------------------
   Sized here, not in the component: ModuleGlyph fills whatever box it is given.
   Sits between the eyebrow and the title, at the scale of a seal on a document
   rather than an icon on a card. */
[b-wuvhbbm9ez] .detail__glyph {
    width: 52px;
    height: 52px;
    margin: var(--s-3) 0 var(--s-3);
    color: var(--accent-bright);
}

@media (max-width: 620px) {
    [b-wuvhbbm9ez] .detail__glyph {
        width: 42px;
        height: 42px;
    }
}
/* /Components/Pages/ModulesIndex.razor.rz.scp.css */
/* ============================================================================
   /modules — the hub.

   This file adds LAYOUT only. Every colour, type step and space value comes
   from the tokens in wwwroot/app.css; the ledger marks (.schedule, .colhead,
   .fig, .rule--double) are the site primitives and are not re-specified here.
   The one thing this file really does is hold the reference column to a fixed
   width so the figures line up down the page and under the total — a column of
   figures that does not align is not a schedule.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. THE OPENING
   Statement on the left, the counted fact set as a small ledger extract on the
   right, their baselines meeting at the bottom.
   --------------------------------------------------------------------------- */
.mi-open[b-ei4idhok4m] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--s-6) var(--s-7);
    align-items: end;
}

.mi-lead[b-ei4idhok4m] { margin-top: var(--s-4); }

.mi-coverage__head[b-ei4idhok4m] { margin: 0; }

.mi-coverage__rows[b-ei4idhok4m] { margin-top: var(--s-3); }

.mi-coverage__row[b-ei4idhok4m] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-4);
    align-items: baseline;
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--on-field-rule);
}

.mi-coverage__row dt[b-ei4idhok4m] {
    color: var(--on-field-soft);
    font-size: var(--t-small);
}

.mi-coverage__row dd[b-ei4idhok4m] {
    margin: 0;
    min-width: 4.5rem;
    font-size: var(--t-h2);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--on-field);
}

.mi-coverage__note[b-ei4idhok4m] { margin-top: var(--s-2); }

@media (max-width: 900px) {
    .mi-open[b-ei4idhok4m] {
        grid-template-columns: 1fr;
        gap: var(--s-5);
        align-items: start;
    }
    .mi-coverage[b-ei4idhok4m] { max-width: 30rem; }
}

/* ---------------------------------------------------------------------------
   2. THE SCHEDULE
   The reference column is two fixed tracks — menu code, then the figure — so
   every row and the total share one right-hand edge.
   --------------------------------------------------------------------------- */
.mi-schedulewrap[b-ei4idhok4m] {
    --mi-code: 3.6rem;
    --mi-count: 3.2rem;
    --mi-refgap: var(--s-3);
    --mi-cols: minmax(0, 15rem) minmax(0, 1fr) auto;

    margin-top: var(--s-5);
}

.mi-colheads[b-ei4idhok4m] {
    display: grid;
    grid-template-columns: var(--mi-cols);
    gap: var(--s-3) var(--s-5);
    align-items: end;
}

/* The heads keep their rule, but as ONE continuous line: the schedule's own
   top border draws it, so the per-cell borders come off. */
.mi-colheads .colhead[b-ei4idhok4m] {
    margin: 0;
    padding-bottom: var(--s-1);
    border-bottom: 0;
}

.mi-colheads__ref[b-ei4idhok4m] {
    width: calc(var(--mi-code) + var(--mi-count) + var(--mi-refgap));
    text-align: right;
}

/* --- the reference column ------------------------------------------------- */
.mi-ref[b-ei4idhok4m] {
    display: inline-grid;
    grid-template-columns: var(--mi-code) var(--mi-count);
    gap: var(--mi-refgap);
    align-items: baseline;
    margin: 0;
}

.mi-ref__code[b-ei4idhok4m] { text-align: left; }

.mi-ref__count[b-ei4idhok4m] {
    font-size: var(--t-small);
    font-weight: 700;
    color: var(--strong);
}

/* --- the rows ------------------------------------------------------------- */
.mi-kicker[b-ei4idhok4m] {
    display: block;
    font-size: var(--t-small);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
}

.mi-clause[b-ei4idhok4m] {
    display: block;
    margin-top: 3px;
    max-width: 62ch;
    font-size: var(--t-small);
    line-height: 1.5;
    color: var(--text);
}

/* The module name is the link. It is a reference in a document, so it is not
   dressed as a button — it takes accent ink and a rule on hover, and the
   marker slides to say where it goes. */
.mi-link[b-ei4idhok4m] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4em;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.mi-link[b-ei4idhok4m]::after {
    content: "\203A";
    font-weight: 700;
    color: var(--accent);
    transition: transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .mi-link:hover[b-ei4idhok4m] {
        color: var(--accent-press);
        border-bottom-color: var(--accent-line);
    }
    .mi-link:hover[b-ei4idhok4m]::after { transform: translateX(3px); }
}

/* --- the total ------------------------------------------------------------ */
/* The last row's hairline becomes the single rule that closes the column. */
.mi-schedule .schedule__row:last-child[b-ei4idhok4m] { border-bottom-color: var(--line-firm); }

.mi-total[b-ei4idhok4m] {
    display: grid;
    grid-template-columns: var(--mi-cols);
    gap: var(--s-3) var(--s-5);
    align-items: baseline;
    padding: var(--s-4) 0 var(--s-3);
}

.mi-total__label[b-ei4idhok4m] {
    grid-column: 1 / 3;
    margin: 0;
    font-size: var(--t-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.mi-total__ref .mi-ref__count[b-ei4idhok4m] {
    font-size: var(--t-h3);
    font-weight: 800;
    color: var(--ink);
}

.mi-foot[b-ei4idhok4m] {
    margin-top: var(--s-3);
    max-width: 68ch;
}

/* Screen-reader-only text: clipped, never display:none, so it is still
   announced (the craft floor's rule for the collapsed rail in the app). */
.mi-sr[b-ei4idhok4m] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 760px) {
    /* The schedule primitive drops to two columns here; the heads no longer
       describe it, so they go and the schedule takes its own top rule back. */
    .mi-colheads[b-ei4idhok4m] { display: none; }
    .mi-schedule[b-ei4idhok4m] { border-top: 1px solid var(--line-firm); }

    .mi-total[b-ei4idhok4m] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--s-1) var(--s-3);
    }
    .mi-total__label[b-ei4idhok4m] { grid-column: 1; }
}

@media (max-width: 480px) {
    .mi-schedulewrap[b-ei4idhok4m] {
        --mi-code: 3rem;
        --mi-count: 2.4rem;
        --mi-refgap: var(--s-1);
    }
}

/* ---------------------------------------------------------------------------
   3. THE CLOSE
   --------------------------------------------------------------------------- */
.mi-close__line[b-ei4idhok4m] { margin-top: var(--s-3); }

.mi-close__prose[b-ei4idhok4m] { margin-top: var(--s-4); }

.mi-close__truth[b-ei4idhok4m] {
    font-weight: 700;
    color: var(--ink);
}

.mi-close__actions[b-ei4idhok4m] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
/* The 404 is built from the site's primitives; only RHYTHM lives here. No colour, no type size and
   no new component — those belong to wwwroot/app.css, and a status page is not a reason to fork the
   design system. */

/* More space above a heading than below it: the eyebrow already carries its own bottom margin, so
   the heading only needs a little air under the label. */
.nf__head[b-6csi3owsqc] { margin-top: var(--s-2); }

.nf__say[b-6csi3owsqc] { margin-top: var(--s-4); }

/* The recovery actions sit under the sentence that promises them. */
.nf__actions[b-6csi3owsqc] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}

.nf__nexthead[b-6csi3owsqc] { margin-bottom: var(--s-4); }
/* /Components/Shared/PostingTrace.razor.rz.scp.css */
/* The posting trace — see the comment at the top of PostingTrace.razor.
   This is the one authored motion moment on the site: the bracket draws itself once, in sequence,
   the way a posting run strikes through. Everything it draws is decorative; every word is visible
   before, during and after the animation. */

.trace[b-j1e45v1tox] { margin: 0; }

.trace__grid[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.02fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 0;
    row-gap: var(--s-3);
    align-items: stretch;
}

.trace__head[b-j1e45v1tox] { margin: 0; }
.trace__head--src[b-j1e45v1tox] { grid-column: 1; }
.trace__spacer[b-j1e45v1tox] { grid-column: 2; }

/* --- the source document --------------------------------------------------- */
.trace__source[b-j1e45v1tox] {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    padding-right: var(--s-4);
}

.trace__srctitle[b-j1e45v1tox] {
    font-size: var(--t-h3);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--on-field);
    line-height: 1.2;
}

.trace__srcref[b-j1e45v1tox] {
    font-size: 0.8125rem;
    color: var(--on-field-soft);
    margin-top: 2px;
}

.trace__lines[b-j1e45v1tox] {
    margin: var(--s-3) 0 0;
    display: grid;
    gap: 7px;
}

.trace__line[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    align-items: baseline;
    font-size: var(--t-small);
}

.trace__line dt[b-j1e45v1tox] {
    color: var(--on-field-soft);
    min-width: 0;
}

.trace__line dd[b-j1e45v1tox] {
    margin: 0;
    color: var(--on-field);
    font-variant-numeric: tabular-nums lining-nums;
}

.trace__srcrule[b-j1e45v1tox] { margin: var(--s-3) 0; }

.trace__lines--sum[b-j1e45v1tox] { margin-top: 0; }

/* The total is pushed to the foot of the document, so the double rule closes the
   column no matter how tall the destination list grows beside it. */
.trace__totalwrap[b-j1e45v1tox] { margin-top: auto; padding-top: var(--s-3); }

.trace__lines--total .trace__line[b-j1e45v1tox] {
    font-size: var(--t-body);
    font-weight: 700;
}
.trace__lines--total dt[b-j1e45v1tox] { color: var(--on-field); }

/* --- the bracket ----------------------------------------------------------- */
.trace__bracket[b-j1e45v1tox] {
    grid-column: 2;
    position: relative;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
}

.trace__stem[b-j1e45v1tox],
.trace__spine[b-j1e45v1tox],
.trace__tick[b-j1e45v1tox] {
    position: absolute;
    background: var(--accent-bright);
    display: block;
}

/* Horizontal lead out of the document, meeting the spine at the halfway point. */
.trace__stem[b-j1e45v1tox] {
    top: 50%;
    left: 0;
    width: 34px;
    height: 1px;
    transform-origin: left center;
}

/* Vertical spine, spanning the centres of the first and last records. */
.trace__spine[b-j1e45v1tox] {
    left: 34px;
    top: 12.5%;
    height: 75%;
    width: 1px;
    transform-origin: center;
}

/* One tick per record, centred in its quarter of the column. */
.trace__tick[b-j1e45v1tox] {
    left: 34px;
    right: 0;
    height: 1px;
    width: auto;
    transform-origin: left center;
}
.trace__tick--1[b-j1e45v1tox] { top: 12.5%; }
.trace__tick--2[b-j1e45v1tox] { top: 37.5%; }
.trace__tick--3[b-j1e45v1tox] { top: 62.5%; }
.trace__tick--4[b-j1e45v1tox] { top: 87.5%; }

/* A round terminal where each tick meets its record — the posting mark. */
.trace__tick[b-j1e45v1tox]::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--accent-bright);
}

/* --- the destinations ------------------------------------------------------ */
.trace__list[b-j1e45v1tox] {
    grid-column: 3;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    margin: 0;
}

.trace__dest[b-j1e45v1tox] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s-2) 0 var(--s-2) var(--s-3);
    border-bottom: 1px solid var(--on-field-rule);
    min-width: 0;
}
.trace__dest:last-child[b-j1e45v1tox] { border-bottom: 0; }

.trace__destname[b-j1e45v1tox] {
    font-size: var(--t-small);
    font-weight: 700;
    color: var(--on-field);
    letter-spacing: -0.005em;
}

.trace__destwhat[b-j1e45v1tox] {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--on-field-soft);
    margin-top: 2px;
}

/* The general-ledger leg shows the journal itself rather than asserting that it
   balances. Two columns so the figures align under each other and the addition
   is checkable at a glance — which is the entire point of the graphic. */
.trace__journal[b-j1e45v1tox] {
    margin: 3px 0 0;
    display: grid;
    gap: 1px;
    font-size: 0.875rem;
}

.trace__journal li[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-2);
    align-items: baseline;
}

.trace__leg[b-j1e45v1tox] { color: var(--on-field-soft); }

/* ---------------------------------------------------------------------------
   THE ORCHESTRATED MOMENT
   Stem, then spine, then the four ticks in sequence. Strong ease-out throughout —
   never ease-in, which delays the movement at exactly the moment the eye is on it.
   Marketing motion is allowed to run longer than UI motion; this settles at ~1.3s.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .trace__stem[b-j1e45v1tox]  { transform: scaleX(0); animation: trace-x-b-j1e45v1tox 280ms var(--ease-out) 120ms forwards; }
    .trace__spine[b-j1e45v1tox] { transform: scaleY(0); animation: trace-y-b-j1e45v1tox 380ms var(--ease-out) 340ms forwards; }

    .trace__tick[b-j1e45v1tox] {
        transform: scaleX(0);
        animation: trace-x-b-j1e45v1tox 300ms var(--ease-out) forwards;
    }
    .trace__tick--1[b-j1e45v1tox] { animation-delay: 660ms; }
    .trace__tick--2[b-j1e45v1tox] { animation-delay: 730ms; }
    .trace__tick--3[b-j1e45v1tox] { animation-delay: 800ms; }
    .trace__tick--4[b-j1e45v1tox] { animation-delay: 870ms; }

    .trace__tick[b-j1e45v1tox]::after {
        opacity: 0;
        animation: trace-dot-b-j1e45v1tox 220ms var(--ease-out) forwards;
        animation-delay: inherit;
    }
    .trace__tick--1[b-j1e45v1tox]::after { animation-delay: 900ms; }
    .trace__tick--2[b-j1e45v1tox]::after { animation-delay: 970ms; }
    .trace__tick--3[b-j1e45v1tox]::after { animation-delay: 1040ms; }
    .trace__tick--4[b-j1e45v1tox]::after { animation-delay: 1110ms; }
}

@keyframes trace-x-b-j1e45v1tox { to { transform: scaleX(1); } }
@keyframes trace-y-b-j1e45v1tox { to { transform: scaleY(1); } }
@keyframes trace-dot-b-j1e45v1tox { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* WITHOUT JavaScript the run above plays on load — the no-script page still draws.
   WITH it, site.js sets html.js-trace and holds the run paused until the graphic is
   actually on screen, so a visitor who scrolls down to it sees the posting happen
   instead of arriving after it finished. Pausing (rather than re-triggering) keeps
   the sequence intact and costs nothing to resume. */
html.js-trace .trace__stem[b-j1e45v1tox],
html.js-trace .trace__spine[b-j1e45v1tox],
html.js-trace .trace__tick[b-j1e45v1tox],
html.js-trace .trace__tick[b-j1e45v1tox]::after {
    animation-play-state: paused;
}

html.js-trace .trace.is-drawing .trace__stem[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__spine[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__tick[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__tick[b-j1e45v1tox]::after {
    animation-play-state: running;
}

/* ---------------------------------------------------------------------------
   NARROW
   The bracket is a two-column device; below 880px the trace becomes a vertical
   run — document above, records below — and the bracket is removed rather than
   squeezed. The meaning survives because the column heads carry it in words.
   --------------------------------------------------------------------------- */
@media (max-width: 880px) {
    .trace__grid[b-j1e45v1tox] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        row-gap: var(--s-2);
    }

    .trace__head--src[b-j1e45v1tox],
    .trace__source[b-j1e45v1tox],
    .trace__list[b-j1e45v1tox] { grid-column: 1; }

    .trace__bracket[b-j1e45v1tox],
    .trace__spacer[b-j1e45v1tox] { display: none; }

    .trace__source[b-j1e45v1tox] {
        padding-right: 0;
        padding-bottom: var(--s-4);
    }

    .trace__totalwrap[b-j1e45v1tox] { margin-top: var(--s-3); }

    .trace__head[b-j1e45v1tox] { margin-top: var(--s-3); }
    .trace__head--src[b-j1e45v1tox] { margin-top: 0; }

    .trace__list[b-j1e45v1tox] { grid-template-rows: none; }

    .trace__dest[b-j1e45v1tox] {
        padding-left: var(--s-4);
        position: relative;
    }

    /* Each record keeps its posting mark, now as a bullet on the left rule. */
    .trace__dest[b-j1e45v1tox]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1.45em;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent-bright);
    }
}
