/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* "Slate" layout shell - fixed left sidebar + a scrollable main content column,
   replacing "Survey Line"'s sticky top bar (project-knowledge.md "Design system").
   A left sidebar is the single most recognizable "this looks like real SaaS"
   signal (Notion/Linear/Asana/Salesforce all use one) and is a genuine structural
   change, not just new colors on the same top-bar shape, after two top-bar-based
   themes were both rejected. The sidebar's own width/look live in
   NavMenu.razor.css (its own scoped root element) - this file only owns the
   two-column shell and the main content column. */
.app-shell[b-g86e98p4ri] {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
    background: var(--bg);
}

.app-main[b-g86e98p4ri] {
    flex: 1 1 auto;
    /* min-width:0 is required on a flex item that contains wide content (tables) -
       without it the item refuses to shrink below its content's intrinsic width
       and can overflow the viewport instead of scrolling internally. */
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 2.5rem 3rem;
    /* Content width cap (2026-07-28 UX polish pass): on ultra-wide monitors the
       pages previously stretched edge-to-edge, putting a row's label and its
       value thousands of pixels apart. Centered in the space remaining next to
       the sidebar (2026-07-31 follow-up: the original left-anchored version
       left the entire right half of an ultra-wide screen empty, which read as
       broken rather than intentional - auto margins on a flex item absorb the
       free space evenly on both sides). */
    max-width: 1360px;
    margin-inline: auto;
}

/* Sidebar stacks above the content on narrow viewports rather than a hamburger
   menu - this app's pages are static SSR with no client-side interactivity to
   drive a collapsible off-canvas panel, so a plain stack is the simplest
   correct behavior. */
@media (max-width: 900px) {
    .app-shell[b-g86e98p4ri] {
        flex-direction: column;
    }

    .app-main[b-g86e98p4ri] {
        padding: 1.5rem 1.25rem 2rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* "Slate" sidebar - fixed left column, replacing "Survey Line"'s sticky ink top
   bar (project-knowledge.md "Design system"). ~240px, sticky so it stays in view
   while the (possibly long) main content column scrolls. */
.sidebar[b-gsbymad6yq] {
    flex: none;
    width: 240px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
    /* Deep teal, not --bg-subtle gray - 2026-07-24 color pass. The colored
       sidebar block against the (now tinted) lighter content area is the
       single biggest lever against the "too much white" feeling; the strong
       color contrast against the main content also replaces the need for a
       separating border-right. */
    background: var(--sidebar-bg);
    position: sticky;
    top: 0;
    align-self: flex-start;
    /* 2026-10-14 (owner): exactly one viewport tall, so the footer (theme, language, who is signed in,
       log out) is always on screen and only .sidebar-scroll moves. The sidebar's own overflow is the
       fallback for a zoom so large that even the fixed parts do not fit. */
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
}

@media (max-width: 900px) {
    .sidebar[b-gsbymad6yq] {
        width: 100%;
        min-height: auto;
        height: auto;
        overflow: visible;
        position: static;
        border-bottom: 1px solid var(--sidebar-border);
    }
}

.sidebar-brand[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding-bottom: .9rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-brand:hover[b-gsbymad6yq] {
    text-decoration: none;
}

/* The brand mark (BrandMark.razor) is styled globally in app.less, "Brand mark": scoped CSS here
   cannot reach the SVG another component renders. */

.sidebar-brand-name[b-gsbymad6yq] {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--sidebar-ink);
}

/* Command palette hint button (Ctrl+K, Wave 4) - quiet styling, sits above the company
   switcher/nav list. Literal markup child of this component (not a child component's output),
   so it doesn't need ::deep. */
.sidebar-palette-hint[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    margin-bottom: .75rem;
    padding: .45rem .6rem;
    background: none;
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    color: var(--sidebar-ink-soft);
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .8rem;
    text-align: left;
    cursor: pointer;
}

.sidebar-palette-hint:hover[b-gsbymad6yq] {
    color: var(--sidebar-ink);
    background: var(--sidebar-hover-bg);
}

.sidebar-palette-hint-label[b-gsbymad6yq] {
    flex: 1 1 auto;
}

.sidebar-palette-kbd[b-gsbymad6yq] {
    flex: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    /* --sidebar-ink-faint is scoped to separators in Variables.less; this is a readable keyboard
       hint, and on the chip's own translucent fill it measured 3.40:1. */
    color: var(--sidebar-ink-soft);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--sidebar-border);
    border-radius: 4px;
    padding: .1rem .35rem;
}

[b-gsbymad6yq] .sidebar-company {
    padding: .1rem .35rem 1rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--sidebar-border);
}

[b-gsbymad6yq] .sidebar-company-switcher {
    margin-bottom: .35rem;
}

/* FE-19: the no-script submit for the switcher; the script submits a pointer choice itself. */
.sidebar-company-go[b-gsbymad6yq] {
    display: none;
    margin-top: .35rem;
}

@media (scripting: none) {
    .sidebar-company-go[b-gsbymad6yq] {
        display: inline-block;
    }
}

/* Company-switcher dropdown (Phase 5) - single <select>, auto-submits on change, replacing
   the old always-visible link-per-other-membership list. Disabled (not hidden) when there's
   only one option, so the active company name stays visible either way - this is also what
   keeps a platform admin's virtual/foreign entry visible (Phase 4 review finding: the old
   active-company label went missing entirely for a membership with no real CompanyUser row). */
[b-gsbymad6yq] .sidebar-company-select {
    width: 100%;
    background: var(--sidebar-bg);
    color: var(--sidebar-ink);
    border: 1px solid var(--sidebar-border);
    border-radius: 5px;
    padding: .3rem .4rem;
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    /* 2026-11-11 (owner: "black text on dark green"): the sidebar is dark in both themes, so the closed select
       renders as a dark control (light arrow, dark native popup chrome). */
    color-scheme: dark;
}

[b-gsbymad6yq] .sidebar-company-select:disabled {
    cursor: default;
    opacity: 1;
    -webkit-text-fill-color: var(--sidebar-ink);
    border-color: transparent;
    padding-left: 0;
}

/* The open option list is drawn over the page, not the sidebar: it takes the page's surface and ink, which flip
   with the theme (light panel and dark ink, or dark panel and light ink). Until 2026-11-11 options were a fixed
   #000 on the select's inherited dark-teal background, unreadable in both themes. */
[b-gsbymad6yq] .sidebar-company-select option {
    background-color: var(--panel);
    color: var(--ink);
    font-weight: 500;
}

[b-gsbymad6yq] .sidebar-company-select option:checked {
    background-color: var(--accent-soft);
    color: var(--ink);
    font-weight: 600;
}

[b-gsbymad6yq] .sidebar-company-new {
    display: block;
    margin-top: .3rem;
    font-size: .8rem;
    color: var(--sidebar-mint);
}

[b-gsbymad6yq] .sidebar-company-new:hover {
    color: #ffffff;
    text-decoration: underline;
}

[b-gsbymad6yq] .sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-gsbymad6yq] .sidebar-nav-group {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    /* Audit FE-23 (2026-10-26): no opacity on top of the soft ink; at .65 the 11 px heading measured ~3.5:1 on the
       sidebar. The soft ink alone is ~6:1, and the small caps and weight keep it a heading. */
    color: var(--sidebar-ink-soft);
    padding: .85rem .65rem .3rem;
}

/* Collapsible groups (2026-10-06, UX item 08). The summary keeps the group-heading look and gains a
   chevron that turns when open; it is a real control, so it gets a visible focus ring and a pointer.
   The browser's own disclosure triangle is hidden in both engines. */
.sidebar-group-item[b-gsbymad6yq] {
    list-style: none;
}

.sidebar-group > summary[b-gsbymad6yq] {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 6px;
    user-select: none;
}

/* The heading rule above zeroes the first child's top padding; a summary is always the first
   child of its <details>, so it gets its spacing back here, with a taller hit area. */
.sidebar-group > summary.sidebar-nav-group[b-gsbymad6yq] {
    padding: .7rem .65rem .45rem;
}

.sidebar-group > summary[b-gsbymad6yq]::-webkit-details-marker {
    display: none;
}

.sidebar-group > summary[b-gsbymad6yq]::after {
    content: "";
    width: .45rem;
    height: .45rem;
    margin-right: .2rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s ease;
}

.sidebar-group[open] > summary[b-gsbymad6yq]::after {
    transform: rotate(45deg);
}

.sidebar-group > summary:hover[b-gsbymad6yq] {
    opacity: .9;
}

.sidebar-group > summary:focus-visible[b-gsbymad6yq] {
    outline: 2px solid var(--sidebar-ink);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-group > summary[b-gsbymad6yq]::after {
        transition: none;
    }
}

[b-gsbymad6yq] .sidebar-nav-group:first-child {
    padding-top: 0;
}

[b-gsbymad6yq] .nav-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .875rem;
    font-weight: 500;
    color: var(--sidebar-ink-soft) !important;
    padding: .5rem .65rem;
    border-radius: var(--radius-sm);
    transition: background-color 120ms ease, color 120ms ease;
}

[b-gsbymad6yq] .nav-link i {
    width: 16px;
    flex: none;
    text-align: center;
    font-size: .85em;
    color: var(--sidebar-ink-soft);
}

[b-gsbymad6yq] .nav-link:hover {
    color: var(--sidebar-ink) !important;
    background: var(--sidebar-hover-bg);
}

[b-gsbymad6yq] .nav-link:hover i {
    color: var(--sidebar-ink);
}

/* Active chip deliberately does NOT reuse --accent on this dark sidebar bg
   (two close teals stacked read as low-contrast) - a translucent white chip
   plus solid-white text/icon instead, so "active" stays unmistakable. */
[b-gsbymad6yq] .nav-link.active {
    color: #ffffff !important;
    background: var(--sidebar-active-bg);
    font-weight: 600;
}

[b-gsbymad6yq] .nav-link.active i {
    color: #ffffff;
}

/* The link list is the one part that scrolls (2026-10-14). min-height: 0 lets the flex item shrink
   below its content; the thin scrollbar uses the sidebar's own faint ink. */
[b-gsbymad6yq] .sidebar-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0 -.5rem;
    padding: 0 .5rem .25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--sidebar-ink-faint) transparent;
}

.sidebar-footer[b-gsbymad6yq] {
    flex: none;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

/* Wraps <ThemeToggle /> and the language menu - literal markup of THIS component, no ::deep. */
.sidebar-footer-row[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ---- Language menu: a <details> that opens upward ---- */
.sidebar-lang[b-gsbymad6yq] {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.sidebar-lang-btn[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .6rem;
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    color: var(--sidebar-ink-soft);
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 120ms ease, color 120ms ease;
}

.sidebar-lang-btn[b-gsbymad6yq]::-webkit-details-marker {
    display: none;
}

.sidebar-lang-btn:hover[b-gsbymad6yq],
.sidebar-lang[open] > .sidebar-lang-btn[b-gsbymad6yq] {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-ink);
}

.sidebar-lang-current[b-gsbymad6yq] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-lang-caret[b-gsbymad6yq] {
    font-size: .7rem;
    transition: transform 140ms ease;
}

.sidebar-lang[open] .sidebar-lang-caret[b-gsbymad6yq] {
    transform: rotate(180deg);
}

.sidebar-lang-menu[b-gsbymad6yq] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + .35rem);
    z-index: 20;
    list-style: none;
    margin: 0;
    padding: .3rem;
    background: var(--sidebar-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .3);
}

.sidebar-lang-item[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .4rem .55rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: var(--sidebar-ink-soft);
    text-decoration: none;
}

a.sidebar-lang-item:hover[b-gsbymad6yq],
a.sidebar-lang-item:focus-visible[b-gsbymad6yq] {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-ink);
    text-decoration: none;
}

.sidebar-lang-item.is-current[b-gsbymad6yq] {
    color: var(--sidebar-ink);
    font-weight: 600;
}

.sidebar-lang-item.is-current i[b-gsbymad6yq] {
    color: var(--sidebar-mint);
    font-size: .75rem;
}

/* ---- The only company, above the language row (2026-11-11, owner): a user with one company and no
   switching rights sees its name here instead of a switcher. ---- */
.sidebar-footer-company[b-gsbymad6yq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: .1rem;
    line-height: 1.2;
}

.sidebar-footer-company-name[b-gsbymad6yq] {
    font-size: .85rem;
    font-weight: 600;
    color: var(--sidebar-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Who is signed in, beside log out ---- */
.sidebar-user[b-gsbymad6yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    padding-left: .1rem;
}

.sidebar-user-text[b-gsbymad6yq] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* --sidebar-ink-soft, not -faint: faint is 3.4:1 on the sidebar, under the 4.5 floor for text (browser smoke). */
.sidebar-user-label[b-gsbymad6yq] {
    font-size: .68rem;
    color: var(--sidebar-ink-soft);
}

.sidebar-user-name[b-gsbymad6yq] {
    font-size: .82rem;
    font-weight: 600;
    color: var(--sidebar-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-logout-form[b-gsbymad6yq] {
    flex: none;
    margin: 0;
}

[b-gsbymad6yq] .sidebar-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: 1px solid var(--sidebar-border);
    padding: .35rem .55rem;
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 500;
    color: var(--sidebar-ink-soft);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

[b-gsbymad6yq] .sidebar-logout-btn:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-ink);
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-lang-btn[b-gsbymad6yq], .sidebar-lang-caret[b-gsbymad6yq] { transition: none; }
}

/* ==== Mobile collapsible nav (A1, 2026-08 mobile pass) ====
   Pure-CSS checkbox+label toggle - no JS, works with JS disabled (nav simply starts collapsed
   on mobile either way, same as it always renders regardless of script execution). Everything
   below is either hidden unconditionally (so desktop is unaffected without needing every rule
   inside the media query) or explicitly scoped to ≤900px. Desktop's .sidebar-brand and the
   AuthorizeView-driven nav/company/footer keep their original DOM position and CSS untouched.
   NOTE: this block is placed LAST in the file deliberately - its .sidebar-brand / .sidebar-nav
   etc. overrides share equal specificity with the base rules earlier in this file, so source
   order is what makes them win; moving this block earlier would silently break the override. */
.sidebar-mobile-toggle[b-gsbymad6yq] {
    /* Hidden at all widths (no visible checkbox UI) - the associated <label for> still toggles
       it while display:none, standard cross-browser behavior for this pattern. */
    display: none;
}

.sidebar-topbar[b-gsbymad6yq] {
    /* Desktop: not shown - the real .sidebar-brand above is used instead. */
    display: none;
}

/* display:contents on desktop = zero layout effect: its children (palette hint, company
   switcher, nav list, footer) remain direct flex items of .sidebar exactly as before this
   wrapper was introduced. Only becomes a real (hideable) flex container at ≤900px below. */
.sidebar-collapsible[b-gsbymad6yq] {
    display: contents;
}

@media (max-width: 900px) {
    .sidebar-topbar[b-gsbymad6yq] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        padding-bottom: .75rem;
        margin-bottom: .75rem;
        border-bottom: 1px solid var(--sidebar-border);
    }

    /* UX analysis 2026-10-27: closed, the bar is 44 px of content in a 110 px band (20 px sidebar padding either side,
       plus the divider's 12 + 12 + 1 for a menu that is not open). The divider and its spacing belong to the open menu. */
    .sidebar[b-gsbymad6yq] {
        padding-block: .5rem;
    }

    .sidebar-mobile-toggle:not(:checked) ~ .sidebar-topbar[b-gsbymad6yq] {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    /* Replaced by the compact brand inside .sidebar-topbar above. */
    .sidebar-brand[b-gsbymad6yq] {
        display: none;
    }

    /* FE-34 (2026-10-26): the top bar already carries search and the theme switch, so the opened menu does not
       repeat them (the palette hint also named a Ctrl K that a phone does not have). */
    .sidebar-palette-hint[b-gsbymad6yq],
    .sidebar-footer-row[b-gsbymad6yq]  .theme-toggle-form {
        display: none;
    }

    .sidebar-topbar-brand[b-gsbymad6yq] {
        display: flex;
        align-items: center;
        gap: .6rem;
        min-width: 0;
    }

    .sidebar-topbar-actions[b-gsbymad6yq] {
        display: flex;
        align-items: center;
        flex: none;
    }

    .sidebar-topbar-btn[b-gsbymad6yq] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex: none;
        background: none;
        border: 0;
        border-radius: var(--radius-sm);
        color: var(--sidebar-ink);
        font-size: 1.05rem;
        cursor: pointer;
    }

    .sidebar-topbar-btn:hover[b-gsbymad6yq] {
        background: var(--sidebar-hover-bg);
    }

    /* Hamburger <-> close icon swap, driven by the checkbox's :checked state (no JS). */
    .sidebar-toggle-icon-open[b-gsbymad6yq] {
        display: none;
    }

    .sidebar-mobile-toggle:checked ~ .sidebar-topbar .sidebar-toggle-icon-closed[b-gsbymad6yq] {
        display: none;
    }

    .sidebar-mobile-toggle:checked ~ .sidebar-topbar .sidebar-toggle-icon-open[b-gsbymad6yq] {
        display: inline;
    }

    /* Collapsed by default; expands when the checkbox (toggled by the hamburger label) is
       checked. Company switcher, full nav list, and culture/logout footer all live in here,
       so they stay reachable once expanded. */
    .sidebar-collapsible[b-gsbymad6yq] {
        display: none;
    }

    .sidebar-mobile-toggle:checked ~ .sidebar-collapsible[b-gsbymad6yq] {
        display: flex;
        flex-direction: column;
    }

    /* ---- Touch targets (A3): larger padding on mobile only, desktop untouched ---- */
    .sidebar-palette-hint[b-gsbymad6yq] {
        padding: .7rem .6rem;
    }

    [b-gsbymad6yq] .nav-link {
        padding: .75rem .65rem;
    }

    [b-gsbymad6yq] .sidebar-logout-btn {
        padding: .6rem .7rem;
    }

    .sidebar-lang-btn[b-gsbymad6yq] {
        padding: .65rem .7rem;
    }

    [b-gsbymad6yq] .sidebar-company-select {
        padding: .55rem .4rem;
    }
}

/* Mobile toggle: button with scripting, label without (2026-10-05, UX review item 01). After the
   <=900px block on purpose: same specificity as its .sidebar-topbar-btn display rule, so source
   order decides. A browser that does not know (scripting) keeps the button, which works with JS. */
.sidebar-mobile-toggle-label[b-gsbymad6yq] {
    display: none;
}

@media (scripting: none) {
    .sidebar-mobile-toggle-label[b-gsbymad6yq] {
        display: inline-flex;
    }

    .sidebar-mobile-toggle-btn[b-gsbymad6yq] {
        display: none;
    }
}
/* /Components/Layout/PrintLayout.razor.rz.scp.css */
/* Bare shell for printable documents - no sidebar, no app chrome. On screen the document is a sheet of A4 paper
   (wwwroot/css/document.css, .doc-sheet) on a quiet grey desk, so it reads as the page that will print; printed,
   the desk goes and the sheet is the page. Literal colours, not the theme tokens: a document reads as paper whatever
   the app's theme (the /print routes are forced light in Program.cs). */
.print-page[b-ilh8iet7fx] {
    background: #e9edee;
    min-height: 100vh;
    padding: 1.5rem 1rem 2rem;
}

@media print {
    .print-page[b-ilh8iet7fx] {
        background: #ffffff;
        padding: 0;
    }
}
/* /Components/Layout/ThemeToggle.razor.rz.scp.css */
/* Dark-mode toggle (2026-08 round) - circular icon button living on the dark --sidebar-* surface
   in BOTH its mounting locations (desktop sidebar footer AND the mobile top bar - .sidebar-topbar
   is a child of the same .sidebar panel, so it shares the same dark background), matching the
   existing .sidebar-palette-hint/.sidebar-logout-btn hover treatment in NavMenu.razor.css. The
   mobile top bar additionally merges in that file's own .sidebar-topbar-btn class (44px touch
   target) via the ButtonClass parameter - the sizing below is this component's own default,
   used as-is by the desktop footer mount. */
.theme-toggle-form[b-96nrgbwgo0] {
    display: inline-flex;
    margin: 0;
}

.theme-toggle-btn[b-96nrgbwgo0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* WCAG 2.2 SC 2.5.8 minimum target size even on the desktop-default (smaller) sizing. */
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: none;
    border: 1px solid var(--sidebar-border);
    border-radius: 999px;
    color: var(--sidebar-ink-soft);
    font-size: .85rem;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.theme-toggle-btn:hover[b-96nrgbwgo0] {
    color: var(--sidebar-ink);
    background: var(--sidebar-hover-bg);
    border-color: var(--sidebar-mint);
}

/* Icon shows the theme CURRENTLY in effect (moon = dark active, sun = light active), not the
   theme a click would switch to - CSS alone tracks it via [data-bs-theme] on <html>, so it stays
   correct even after theme-toggle.js flips that attribute client-side with no component re-render. */
.theme-toggle-icon-moon[b-96nrgbwgo0] {
    display: none;
}

[data-bs-theme="dark"] .theme-toggle-icon-sun[b-96nrgbwgo0] {
    display: none;
}

[data-bs-theme="dark"] .theme-toggle-icon-moon[b-96nrgbwgo0] {
    display: inline;
}
/* /Components/Pages/Account/Register.razor.rz.scp.css */
/* Honeypot field for HandleRegisterAsync's anti-spam check (see RegistrationGate.cs).
   Off-screen via absolute positioning rather than display:none/visibility:hidden -
   those are the first two properties naive bot scrapers check for and skip, which
   would defeat the honeypot; moving it off-screen still hides it from sighted users
   without tripping that check. Combined with tabindex="-1"/aria-hidden on the input
   itself, it's also invisible to keyboard and screen-reader users. Ported verbatim
   from G:\Solar's sibling pattern (Register.razor.css). */
.hp-field[b-yptebli3yo] {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* "Slate" stat-tile grid (Home dashboard) - plain elevated cards, replacing
   "Survey Line"'s hairline corner-tick tiles + once-only scan-line sweep. 7 tiles
   (M7a added "Leases expiring soon") don't divide evenly into a fixed 3-column
   grid without an orphan last row, so this stays flex-wrap (unchanged reasoning
   from both prior themes), just re-skinned card-by-card with real elevation
   instead of one hairline-joined block. */
.stat-tile-grid[b-ftbns08l9q] {
    /* auto-fill grid (2026-07-28 UX pass, was flex-wrap): keeps every tile the
       same width even on a partially-filled last row - flex-grow used to
       stretch the 2 tiles of a 5+2 wrap into visually unrelated sizes. */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 1.5rem;
}

.stat-tile[b-ftbns08l9q] {
    background: var(--panel);
    border: 1px solid var(--border);
    /* Single consistent accent-colored top rule (2026-07-24 color pass) - a
       small, deliberately uniform touch of color presence on every tile
       rather than a per-tile multi-color scheme. */
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    flex: 1 1 220px;
    padding: 1.1rem 1.25rem 1.25rem;
    /* Nothing overflows a tile (2026-10-07): the tile is a size container, so a long figure scales
       with it (see data-fit below), and overflow-wrap is the last
       guard. min-width: 0 lets the grid cell shrink below its content. */
    min-width: 0;
    container-type: inline-size;
}

.stat-tile-row[b-ftbns08l9q] {
    margin: 0;
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.stat-tile-number[b-ftbns08l9q] {
    /* IBM Plex Mono, not the body/heading face - known gotcha, do not
       rediscover it: a bold display font's bare "0" can render as a solid
       blob indistinguishable from a dot at large sizes, which is
       launch-blocking on a brand-new tenant's all-zero Home dashboard. Plex
       Mono's zero carries a dot/slash that disambiguates 0/O. */
    display: block;
    margin-top: .35rem;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 2rem;
    color: var(--accent);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* A money figure (Home.razor sets data-fit="long" when the formatted value is over 7 characters).
   12.5cqi fits 13 mono characters (9,999,999.99) across the tile; a count keeps the full 2rem. */
.stat-tile-number[data-fit="long"][b-ftbns08l9q] {
    font-size: clamp(1.15rem, 12.5cqi, 2rem);
}

.stat-tile-number:hover[b-ftbns08l9q] {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* The currency is in the tile's label, "Portfolio value (EUR)" (audit FE-44, 2026-10-30): beside the number it wrapped
   onto its own line once the figure filled the tile, so tiles in one row had different heights. */

/* Alert-state tiles - the ONLY per-tile color deviation from the uniform accent
   top rule: a tile whose count demands action shifts its rule + number to the
   status color, so "Overdue invoices 2" no longer reads identically to a
   harmless zero. Zero-count tiles keep the calm uniform accent. */
.stat-tile-warn[b-ftbns08l9q] {
    border-top-color: var(--warn);
}

.stat-tile-warn .stat-tile-number[b-ftbns08l9q] {
    color: var(--warn);
}

.stat-tile-danger[b-ftbns08l9q] {
    border-top-color: var(--danger);
}

.stat-tile-danger .stat-tile-number[b-ftbns08l9q] {
    color: var(--danger);
}

/* ==== Page head (company name + app kicker) ==== */

.home-head[b-ftbns08l9q] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-kicker[b-ftbns08l9q] {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 .2rem;
}

.home-title[b-ftbns08l9q] {
    margin-bottom: 0;
}

.home-head-action[b-ftbns08l9q] {
    flex: none;
    margin-top: .35rem;
}

/* ==== "Needs attention" panel ==== */

.attn-panel[b-ftbns08l9q] {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.attn-live[b-ftbns08l9q] {
    border-left: 3px solid var(--warn);
}

.attn-quiet[b-ftbns08l9q] {
    border-left: 3px solid var(--ok);
}

.attn-heading[b-ftbns08l9q] {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 .6rem;
}

.attn-list[b-ftbns08l9q] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.attn-item[b-ftbns08l9q] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem .35rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
}

.attn-item:hover[b-ftbns08l9q] {
    background: var(--bg-subtle);
}

.attn-list li + li .attn-item[b-ftbns08l9q] {
    border-top: 1px solid var(--border);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.attn-dot[b-ftbns08l9q] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.attn-dot-danger[b-ftbns08l9q] { background: var(--danger); }
.attn-dot-warn[b-ftbns08l9q] { background: var(--warn); }

.attn-label[b-ftbns08l9q] {
    font-weight: 500;
}

.attn-value[b-ftbns08l9q] {
    margin-left: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.attn-chevron[b-ftbns08l9q] {
    color: var(--ink-faint);
    font-size: 1.1rem;
    line-height: 1;
}

.attn-allclear[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
}

/* ==== "This month" action list -- reuses .attn-panel/.attn-list/.attn-item/.home-section-heading
   as-is; only the spacing between this panel's own sub-groups (rent/overdue/expiring/indexation/
   recharge) is new. ==== */

/* The main work area (2026-10-06, UX item 07): first on the page, with an accent edge and a real
   title, so it reads as the place to work rather than one panel among several. The exceptions
   panel below keeps its own warn/ok edge, so the two never look alike. */
.this-month-main[b-ftbns08l9q] {
    border-left: 3px solid var(--accent);
}

.this-month-title[b-ftbns08l9q] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .9rem;
}

.this-month-total[b-ftbns08l9q] {
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-soft);
}

/* 2026-10-14 (owner): every group is a closed <details>; the whole summary row is the toggle (pointer,
   hover tint, a chevron that turns), and "Open list" at its right goes to the filtered list. */
/* FE-24 (2026-10-26): each group is a .this-month-row holding the <details> and, beside it, "Open list". The link sat
   inside <summary>, a focusable inside the toggle (axe nested-interactive); now it is a sibling placed over the
   summary's right end, with a 24 px target (WCAG 2.5.8). */
.this-month-row[b-ftbns08l9q] {
    position: relative;
}

.this-month-row + .this-month-row[b-ftbns08l9q] {
    border-top: 1px solid var(--border);
}

.this-month-row > .this-month-summary[b-ftbns08l9q],
.this-month-row .this-month-summary[b-ftbns08l9q] {
    padding-right: 7.5rem;
}

.this-month-row > .this-month-open[b-ftbns08l9q] {
    position: absolute;
    top: .45rem;
    right: 0;
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .25rem .5rem;
    border-radius: var(--radius-sm, .35rem);
}

/* The landing page's static preview keeps plain <div> groups and their old spacing. */
div.this-month-group + div.this-month-group[b-ftbns08l9q] {
    margin-top: 1rem;
    padding-top: 1rem;
}

.this-month-summary[b-ftbns08l9q] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .5rem;
    margin: 0 -.5rem;
    border-radius: var(--radius-sm, .35rem);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 120ms ease;
}

.this-month-summary[b-ftbns08l9q]::-webkit-details-marker {
    display: none;
}

.this-month-summary[b-ftbns08l9q]::before {
    content: "";
    flex: none;
    width: .5rem;
    height: .5rem;
    margin: 0 .15rem 0 .1rem;
    border-right: 2px solid var(--ink-soft);
    border-bottom: 2px solid var(--ink-soft);
    transform: rotate(-45deg);
    transition: transform 140ms ease;
}

.this-month-group[open] > .this-month-summary[b-ftbns08l9q]::before {
    transform: rotate(45deg);
}

.this-month-summary:hover[b-ftbns08l9q] {
    background: var(--bg-subtle);
}

.this-month-summary:hover[b-ftbns08l9q]::before,
.this-month-group[open] > .this-month-summary[b-ftbns08l9q]::before {
    border-color: var(--accent);
}

.this-month-summary .home-section-heading[b-ftbns08l9q] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: var(--accent);
    /* FE-24: a heading that carries counts and amounts reads in sentence case. */
    text-transform: none;
    letter-spacing: normal;
    font-size: .9rem;
}

.this-month-open[b-ftbns08l9q] {
    flex: none;
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--ink-soft);
    text-decoration: none;
}

.this-month-open:hover[b-ftbns08l9q],
.this-month-open:focus-visible[b-ftbns08l9q] {
    color: var(--accent);
    text-decoration: underline;
}

.this-month-group[open][b-ftbns08l9q] {
    padding-bottom: .75rem;
}

@media (prefers-reduced-motion: reduce) {
    .this-month-summary[b-ftbns08l9q], .this-month-summary[b-ftbns08l9q]::before { transition: none; }
}

.attn-check[b-ftbns08l9q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ok-soft);
    color: var(--ok);
    font-size: .75rem;
    font-weight: 700;
    margin-right: .35rem;
}

/* ==== Lower band: recent activity + quick actions ==== */

.home-lower[b-ftbns08l9q] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (max-width: 900px) {
    .home-lower[b-ftbns08l9q] {
        grid-template-columns: 1fr;
    }
}

.home-section-heading[b-ftbns08l9q] {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 .6rem;
}

.home-activity[b-ftbns08l9q],
.home-quick[b-ftbns08l9q] {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.25rem 1.25rem;
}

/* Empty-state sentence: real body text, so --ink-soft rather than the placeholder tone. */
.home-activity-empty[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
}

.activity-list[b-ftbns08l9q] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-row[b-ftbns08l9q] {
    display: flex;
    align-items: baseline;
    gap: .85rem;
    padding: .45rem 0;
}

.activity-row + .activity-row[b-ftbns08l9q] {
    border-top: 1px solid var(--border);
}

.activity-when[b-ftbns08l9q] {
    flex: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    color: var(--ink-soft);
}

.activity-text[b-ftbns08l9q] {
    font-size: .92rem;
    color: var(--ink);
    min-width: 0;
}

.activity-sep[b-ftbns08l9q] {
    color: var(--ink-faint);
    margin: 0 .15rem;
}

.activity-action[b-ftbns08l9q] {
    color: var(--ink-soft);
    margin-left: .35rem;
}

.quick-actions[b-ftbns08l9q] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.quick-actions .btn[b-ftbns08l9q] {
    text-align: left;
}

/* One restrained fade+rise on load, gated by prefers-reduced-motion - the single
   deliberate moment of motion this theme allows itself. No scan-line, no sweep,
   nothing else animates. */
@media (prefers-reduced-motion: no-preference) {
    .stat-tile[b-ftbns08l9q] {
        opacity: 0;
        animation: slateRise-b-ftbns08l9q 150ms ease-out forwards;
    }

    .stat-tile-grid .stat-tile:nth-child(1)[b-ftbns08l9q] { animation-delay: 0ms; }
    .stat-tile-grid .stat-tile:nth-child(2)[b-ftbns08l9q] { animation-delay: 40ms; }
    .stat-tile-grid .stat-tile:nth-child(3)[b-ftbns08l9q] { animation-delay: 80ms; }
    .stat-tile-grid .stat-tile:nth-child(4)[b-ftbns08l9q] { animation-delay: 120ms; }
    .stat-tile-grid .stat-tile:nth-child(5)[b-ftbns08l9q] { animation-delay: 160ms; }
    .stat-tile-grid .stat-tile:nth-child(6)[b-ftbns08l9q] { animation-delay: 200ms; }
    .stat-tile-grid .stat-tile:nth-child(7)[b-ftbns08l9q] { animation-delay: 240ms; }
}

@keyframes slateRise-b-ftbns08l9q {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-hero[b-ftbns08l9q] {
    text-align: center;
    padding: 4rem 1rem;
}

.home-hero h1[b-ftbns08l9q] {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    overflow-wrap: break-word;
}

/* Carried forward from both prior themes: the brand headline never had a
   narrow-viewport check before M7's landing-page build - keep the fix. */
@media (max-width: 560px) {
    .home-hero h1[b-ftbns08l9q] {
        font-size: 1.8rem;
    }
}

.home-hero-eyebrow[b-ftbns08l9q] {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--accent);
    margin: 0 0 .85rem;
}

.home-hero-tagline[b-ftbns08l9q] {
    max-width: 640px;
    margin: 1.25rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.home-hero-actions[b-ftbns08l9q] {
    margin-top: 1.5rem;
    display: flex;
    gap: .75rem;
    justify-content: center;
}

/* Brand mark above the hero headline (2026-10-06). BrandMark renders inside another component, so
   ::deep reaches its SVG; the colours are the global .brand-mark ones (white on deep teal). */
.home-hero[b-ftbns08l9q]  .home-hero-mark {
    margin: 0 auto 1.1rem;
    border-radius: 14px;
}

/* ==== Product preview (2026-10-06, UX item 12) ====
   A slice of the signed-in app: a narrow sidebar rail in its own deep teal, and the real "This month"
   panel classes with invented rows. The rail is the one bold element; the panel stays exactly as it
   looks after sign-in. Two columns from 900px, stacked below; nothing scrolls sideways at 320px. */
.landing-preview[b-ftbns08l9q] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin: 1rem 0 5rem;
}

@media (min-width: 900px) {
    .landing-preview[b-ftbns08l9q] {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 3rem;
    }
}

.landing-preview-copy h2[b-ftbns08l9q] {
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 0 0 .75rem;
    max-width: 22ch;
}

.landing-preview-copy p[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 46ch;
}

.landing-preview-frame[b-ftbns08l9q] {
    margin: 0;
}

.landing-preview-app[b-ftbns08l9q] {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--bg);
}

.landing-preview-rail[b-ftbns08l9q] {
    flex: none;
    width: 52px;
    background: #0d4941; /* the sidebar's fixed teal, the same in both themes */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: .9rem 0;
}

@media (max-width: 600px) {
    .landing-preview-rail[b-ftbns08l9q] {
        width: 36px;
    }

    .landing-preview-panel[b-ftbns08l9q] {
        margin: .6rem;
    }
}

.landing-preview-rail[b-ftbns08l9q]  .brand-mark {
    border-radius: 6px;
    margin-bottom: .35rem;
}

/* Stand-ins for nav entries: short bars, not icons, so nothing pretends to be a real control. */
.landing-preview-rail span[b-ftbns08l9q] {
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .28);
}

.landing-preview-rail span:first-of-type[b-ftbns08l9q] {
    background: rgba(255, 255, 255, .75);
}

.landing-preview-panel[b-ftbns08l9q] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 1rem;
}

/* The preview rows are spans, not links: no hover, no pointer. */
.landing-preview-panel .attn-item:hover[b-ftbns08l9q] {
    background: none;
}

.landing-preview-panel .attn-item[b-ftbns08l9q] {
    flex-wrap: wrap;
    row-gap: .15rem;
}

.landing-preview-frame figcaption[b-ftbns08l9q] {
    margin-top: .6rem;
    font-size: .82rem;
    color: var(--ink-soft);
}

/* ==== Landing sections (anonymous visitors only) ==== */

.landing-section[b-ftbns08l9q] {
    margin: 5rem 0;
}

.landing-eyebrow[b-ftbns08l9q] {
    font-size: 1.4rem;
    text-align: center;
    margin: 0 0 2rem;
}

/* Feature grid - 2x2 desktop / 1 col mobile. */
.feature-grid[b-ftbns08l9q] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .feature-grid[b-ftbns08l9q] {
        grid-template-columns: 1fr;
    }
}

.feature-card[b-ftbns08l9q] {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1.5rem 1.75rem;
}

.feature-card h3[b-ftbns08l9q] {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
}

.feature-card p[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.55;
}

/* Plain Font Awesome glyph on an accent-tinted rounded square - ordinary SaaS
   feature-icon treatment, replacing the retired themes' bespoke CSS-drawn marks
   (a crosshair/survey-benchmark glyph among them - deliberately not reused here). */
.feature-icon[b-ftbns08l9q] {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
    .feature-card[b-ftbns08l9q] {
        opacity: 0;
        animation: slateRise-b-ftbns08l9q 150ms ease-out forwards;
    }

    .feature-grid .feature-card:nth-child(1)[b-ftbns08l9q] { animation-delay: 0ms; }
    .feature-grid .feature-card:nth-child(2)[b-ftbns08l9q] { animation-delay: 40ms; }
    .feature-grid .feature-card:nth-child(3)[b-ftbns08l9q] { animation-delay: 80ms; }
    .feature-grid .feature-card:nth-child(4)[b-ftbns08l9q] { animation-delay: 120ms; }
    .feature-grid .feature-card:nth-child(5)[b-ftbns08l9q] { animation-delay: 160ms; }
}

/* The e-invoicing card leads, across both columns (SEO-04, 2026-11-05). */
.feature-card-lead[b-ftbns08l9q] {
    grid-column: 1 / -1;
}

.landing-audience[b-ftbns08l9q] {
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* FAQ - two columns desktop / one on a phone; each answer a self-contained passage. */
.faq-list[b-ftbns08l9q] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

@media (max-width: 700px) {
    .faq-list[b-ftbns08l9q] {
        grid-template-columns: 1fr;
    }
}

.faq-item h3[b-ftbns08l9q] {
    font-size: 1.02rem;
    margin: 0 0 .4rem;
}

.faq-item p[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.6;
}

/* How it works - 3 steps, horizontal desktop / stacked mobile. */
.steps-row[b-ftbns08l9q] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .steps-row[b-ftbns08l9q] {
        grid-template-columns: 1fr;
    }
}

.step[b-ftbns08l9q] {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1.5rem 1.75rem;
}

.step-number[b-ftbns08l9q] {
    display: block;
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: .5rem;
}

.step h3[b-ftbns08l9q] {
    font-size: 1.02rem;
    margin: 0 0 .5rem;
}

.step p[b-ftbns08l9q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.55;
}

/* Closing CTA band - subtle panel background, centered. Accent-soft (was
   --bg-subtle gray) - 2026-07-24: ties this section into the same
   accent-tinted color story as the sidebar/table chrome instead of a flat
   gray, and reinforces the sign-up CTA with the brand color. */
.landing-cta[b-ftbns08l9q] {
    background: var(--accent-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.landing-cta-heading[b-ftbns08l9q] {
    font-size: 1.7rem;
    margin: 0 0 1.5rem;
}

/* Marker after an EUR figure that is an HNB-rate equivalent or leaves out a currency (2026-10-12). */
.blend-note[b-ftbns08l9q] {
    margin-left: 0.2em;
    cursor: help;
    color: var(--bs-secondary-color, inherit);
}

.blend-note-incomplete[b-ftbns08l9q] {
    color: var(--aging-orange, inherit);
    font-weight: 700;
}
/* /Components/Pages/Partners/PartnerStatement.razor.rz.scp.css */
/* See the code-comment at the top of PartnerStatement.razor: this can only hide elements this
   component itself renders (the Print button), not MainLayout's sidebar - a documented, accepted
   limitation for this page. */
@media print {
    .print-hide[b-scrbjzh30b] {
        display: none;
    }
}
/* /Components/Pages/Properties/PropertyMap.razor.rz.scp.css */
/* Leaflet requires the container to have an explicit height or it renders 0px tall. */
.property-map-canvas[b-fvf12ga991] {
    height: 32rem;
    width: 100%;
    border-radius: var(--radius);
}

/* Mono count readout - a genuine data/count value, matching the app-wide numeral
   convention (project-knowledge.md "Design system"). */
.property-map-count[b-fvf12ga991] {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.75rem;
}

/* Leaflet injects its popup/tip DOM as plain JS-created children of #property-map, not as
   markup this component rendered itself - ::deep is required to reach past the scoping
   boundary. Dark-mode round (2026-08) policy decision: the OSM basemap tiles and Leaflet's own
   popup/control chrome (zoom buttons, attribution, popup bubble) stay LIGHT regardless of
   data-bs-theme, deliberately not retinted here - they float visually on top of the map
   imagery, not on the app's own --bg/--panel surface, so they read clearly in both themes as-is
   (white popup/controls over a light basemap = normal contrast; a dark app page around the map
   canvas doesn't change that). A basemap tile swap to a dark tile provider was considered and
   rejected for this round - no such provider is already wired into PropertyMap.razor.js, and
   introducing one is a bigger, separate change than this pass's scope. Only the accent link
   color and a touch of border-radius consistency are worth overriding here. */
[b-fvf12ga991] .leaflet-popup-content-wrapper {
    border-radius: var(--radius);
}

[b-fvf12ga991] .leaflet-popup-content a {
    color: var(--accent);
}

/* Leaflet's own attribution control ships #0078a8 on its #ddd bar - 3.64:1, under the 4.5:1 AA
   floor, in both themes (the control is part of the map canvas and does not follow our theme).
   It is required attribution text, so it cannot be hidden; darkened to a link blue that clears
   the floor at 4.80:1 while still reading as a link. */
[b-fvf12ga991] .leaflet-control-attribution a {
    color: #00648f;
}

/* ---- Places list and the selected pin (2026-10-07) ---- */
.map-city-groups[b-fvf12ga991] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1.25rem 2rem;
    align-items: start;
}

/* The city is the separator: a small heading with a rule under it and the count at the right. */
.map-city-heading[b-fvf12ga991] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin: 0 0 .25rem;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--accent);
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
}

.map-city-count[b-fvf12ga991] {
    font-size: .8rem;
    font-weight: 500;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.map-place-list[b-fvf12ga991] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.map-place-list > li + li[b-fvf12ga991] {
    border-top: 1px solid var(--border);
}

.map-place[b-fvf12ga991] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: .6rem;
    padding: .5rem .5rem;
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--radius-sm, .35rem);
    transition: background-color 140ms ease, box-shadow 140ms ease;
}

.map-place:hover[b-fvf12ga991],
.map-place:focus-visible[b-fvf12ga991] {
    background: var(--bg-subtle);
    color: var(--ink);
    text-decoration: none;
}

.map-place.is-selected[b-fvf12ga991] {
    box-shadow: inset 3px 0 0 var(--accent);
    background: var(--accent-soft);
}

.map-place-pin[b-fvf12ga991] {
    color: var(--ink-faint);
    transition: color 140ms ease, transform 140ms ease;
}

.map-place:hover .map-place-pin[b-fvf12ga991],
.map-place.is-selected .map-place-pin[b-fvf12ga991] {
    color: var(--accent);
}

.map-place.is-selected .map-place-pin[b-fvf12ga991] {
    transform: scale(1.2);
}

.map-place-name[b-fvf12ga991] {
    font-weight: 600;
    overflow-wrap: anywhere;
    min-width: 0;
}

.map-place-meta[b-fvf12ga991] {
    font-size: .8rem;
    color: var(--ink-soft);
    white-space: nowrap;
}

/* Leaflet puts a white square behind a divIcon by default; the pin is the SVG alone, with a drop
   shadow so it reads as lifted above the blue markers. */
[b-fvf12ga991] .map-pin-selected {
    background: none;
    border: 0;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
}

@media (prefers-reduced-motion: reduce) {
    .map-place[b-fvf12ga991], .map-place-pin[b-fvf12ga991] { transition: none; }
    .map-place.is-selected .map-place-pin[b-fvf12ga991] { transform: none; }
}

/* ---- Potential properties and the legend (2026-11-11, sql/126) ---- */
/* The pin colours are fixed, not theme tokens: they sit on the basemap, which stays light in both themes (see the
   dark-mode note above), and they match the markers PropertyMap.razor.js draws. Property = Leaflet's own marker blue,
   deal = Okabe-Ito vermillion with a diamond, selected = the accent green the script uses. */
[b-fvf12ga991] .map-pin-potential {
    background: none;
    border: 0;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3));
}

[b-fvf12ga991] .map-popup-kind {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #9a4300;
}

.map-legend[b-fvf12ga991] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    list-style: none;
    margin: 0 0 .75rem;
    padding: 0;
    font-size: .85rem;
    color: var(--ink-soft);
}

.map-legend > li[b-fvf12ga991] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.map-legend-pin path[b-fvf12ga991] {
    stroke-width: 2;
}

.map-legend-pin circle[b-fvf12ga991],
.map-legend-pin polygon[b-fvf12ga991] {
    fill: #ffffff;
}

.map-legend-pin-property path[b-fvf12ga991] {
    fill: #2a81cb;
    stroke: #1d5a8e;
}

.map-legend-pin-potential path[b-fvf12ga991] {
    fill: #d55e00;
    stroke: #7a3500;
}

.map-legend-pin-selected path[b-fvf12ga991] {
    fill: #0f9d8a;
    stroke: #0b6b5e;
}

/* A deal in the list: the vermillion pin and a badge that says it in words. The badge keeps 4.5:1 on its tint in
   both themes (dark text on a pale fill). */
.map-place.is-potential .map-place-pin[b-fvf12ga991],
.map-place.is-potential:hover .map-place-pin[b-fvf12ga991],
.map-place.is-potential.is-selected .map-place-pin[b-fvf12ga991] {
    color: #d55e00;
}

.map-place-badge[b-fvf12ga991] {
    font-size: .7rem;
    font-weight: 600;
    color: #6b2f00;
    background-color: #fde3cf;
    border: 1px solid #f0b58a;
    vertical-align: middle;
}
