/* /Features/Azure/AzureDashboard.razor.rz.scp.css */
.azure-ops-page[b-xhpeh903t3] {
    --azure-section-gap: clamp(1.25rem, 2.5vw, 2.25rem);
    display: grid;
    gap: var(--app-space-md);
}

.azure-ops-page[b-xhpeh903t3]  .azure-glance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--app-space-sm);
}

/* Every rule in this file MUST use the `.azure-ops-page ::deep …` form, base rules and
   media-query overrides alike — see docs/architecture.md. It is not only about crossing component
   boundaries: `::deep` moves the scope attribute onto `.azure-ops-page`, so a bare
   `.azure-glance-grid` compiles to `.azure-glance-grid[b-x]` (specificity 0,2,0) while the
   base rule compiles to `.azure-ops-page[b-x] .azure-glance-grid` (0,3,0). Media queries add
   no specificity, so a bare override silently loses to its own base rule and the layout
   never reflows. That is exactly what pinned the glance grid to three columns at 390px. */
.azure-ops-page[b-xhpeh903t3]  .azure-glance-grid > .app-card { min-width: 0; padding: var(--app-space-sm); }
.azure-ops-page[b-xhpeh903t3]  .azure-glance-grid h2 { margin: 0; font-size: var(--app-step-1); }

/* Chart heights moved out of `Style="height:210px"` inline attributes. The .app-card
   parent owns the frame; .rz-chart is frameless (see modern-ui.components.css). */
.azure-ops-page[b-xhpeh903t3]  .azure-glance-grid .rz-chart {
    min-width: 0;
    height: 210px;
    padding: var(--app-space-3xs);
}

/* Each chart card now has a one-line subtitle so the tile says what it measures.

   `--app-step--2`, not `.72rem`. This page carried a second, parallel type scale in literal
   rems — eleven declarations between .68 and .75rem — and after the ladder's floor moved up
   to 0.76rem those literals became the smallest text in the app, which is the exact thing
   the floor exists to prevent. Every one of them is a small caption, a key or a column
   label, which is what the bottom step is for now. */
.azure-ops-page[b-xhpeh903t3]  .azure-glance-title { font-family: var(--app-headline-font); letter-spacing: -.02em; }
.azure-ops-page[b-xhpeh903t3]  .azure-glance-subtitle { color: var(--app-text-soft); font-size: var(--app-step--2); margin: 0 0 .35rem; letter-spacing: .03em; }

.azure-ops-page[b-xhpeh903t3]  .azure-attention-summary {
    display: grid;
    gap: var(--app-space-xs);
    padding: .9rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: var(--app-surface);
}

.azure-ops-page[b-xhpeh903t3]  .azure-simple-attention { display: grid; gap: .35rem; margin: 0; padding-left: 1.4rem; color: var(--app-text-muted); }
.azure-ops-page[b-xhpeh903t3]  .azure-advanced-toggle { display: flex; }

.azure-ops-page[b-xhpeh903t3]  .azure-command-header {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid var(--app-border-strong);
    border-radius: var(--app-radius-xl);
    background:
        linear-gradient(135deg, var(--app-accent-wash), transparent 45%),
        var(--app-surface-strong);
    box-shadow: var(--app-shadow-lg);
}

.azure-ops-page[b-xhpeh903t3]  .azure-command-header.has-attention {
    background:
        linear-gradient(135deg, var(--app-warm-wash), transparent 45%),
        var(--app-surface-strong);
}

.azure-ops-page[b-xhpeh903t3]  .azure-hero-title {
    margin: .15rem 0 .35rem;
    font-family: var(--app-headline-font);
    font-size: var(--app-step-4);
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--app-text);
}

.azure-ops-page[b-xhpeh903t3]  .azure-command-meta,
.azure-ops-page[b-xhpeh903t3]  .azure-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}

.azure-ops-page[b-xhpeh903t3]  .azure-command-meta {
    margin-top: var(--app-space-xs);
    font-size: var(--app-step--1);
    color: var(--app-text-soft);
}

/* Tile shape, number size and grid are the shared `.app-kpis` in modern-ui.css. */

.azure-ops-page[b-xhpeh903t3]  .azure-command-actions {
    justify-content: flex-end;
}

.azure-ops-page[b-xhpeh903t3]  .azure-anchor-section {
    scroll-margin-top: 145px;
}

.azure-ops-page[b-xhpeh903t3]  .azure-refresh-progress {
    position: relative;
    display: grid;
    gap: .5rem;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-md);
    background: var(--app-surface-soft);
    overflow: hidden;
}

/* Was `Style="height:18px"` on both RadzenProgressBar branches. */
.azure-ops-page[b-xhpeh903t3]  .azure-refresh-progress .rz-progressbar {
    height: 18px;
}

.azure-ops-page[b-xhpeh903t3]  .azure-refresh-progress span {
    display: flex;
    gap: var(--app-space-2xs);
    align-items: center;
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
}

/* Shimmer sweep over the whole refresh card. This section only renders while a scan is
   running (see `@if (_refreshing)` in AzureDashboard.razor), so no extra state class is
   needed here — mounted means in-progress. It matters most for the indeterminate
   RadzenProgressBar branch: percent only arrives over the SignalR hub, so on the
   HTTP-polling fallback the bar itself has no motion to read as "working" beyond
   Radzen's own internal sliding highlight. `background-position` only — no layout, no
   new paint geometry — same cost discipline as gpu-backdrop.js and the shimmer this
   mirrors in LoadingSkeleton.razor.css. Static (no sweep) under reduced motion. */
.azure-ops-page[b-xhpeh903t3]  .azure-refresh-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .azure-ops-page[b-xhpeh903t3]  .azure-refresh-progress::after {
        background-image: linear-gradient(100deg,
            transparent 35%,
            var(--app-accent-wash-strong) 50%,
            transparent 65%);
        background-size: 220% 100%;
        background-position-x: 150%;
        animation: azure-refresh-shimmer-b-xhpeh903t3 1.8s ease-in-out infinite;
    }
}

@keyframes azure-refresh-shimmer-b-xhpeh903t3 {
    to { background-position-x: -70%; }
}

.azure-ops-page[b-xhpeh903t3]  .azure-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: var(--app-space-xs);
}

.azure-ops-page[b-xhpeh903t3]  .azure-section-heading h2 {
    margin: 0;
    font-size: var(--app-step-2);
}

.azure-ops-page[b-xhpeh903t3]  .azure-section-heading p {
    margin: 0;
    max-width: 68ch;
    color: var(--app-text-muted);
}

.azure-ops-page[b-xhpeh903t3]  .azure-attention-list {
    display: grid;
    gap: .6rem;
}

.azure-ops-page[b-xhpeh903t3]  .azure-attention-item {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-md);
    background: var(--app-surface);
    overflow: clip;
}

.azure-ops-page[b-xhpeh903t3]  .azure-item-heading {
    display: grid;
    grid-template-columns: 150px minmax(150px, .55fr) minmax(260px, 1.5fr) auto;
    gap: .85rem;
    align-items: center;
    min-height: 58px;
    padding: .7rem .85rem;
}

.azure-ops-page[b-xhpeh903t3]  .azure-attention-reason {
    min-width: 0;
    overflow: hidden;
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.azure-ops-page[b-xhpeh903t3]  .azure-impact-score {
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 700;
    white-space: nowrap;
}

/* The provenance line and the actions, side by side. The left column no longer holds a 2x2
   tile grid (see AzurePriorityQueue.razor), so it needs far less of the row. */
.azure-ops-page[b-xhpeh903t3]  .azure-attention-detail {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.6fr);
    gap: 1rem;
    align-items: start;
    padding: 0 .9rem .9rem;
}

/* Provenance as a dot-separated run of facts. The separator is a ::before on every span but
   the first, so a fact that is omitted for having nothing to say (an unassigned owner, an
   unknown environment) takes its separator with it and never leaves a dangling dot. */
.azure-ops-page[b-xhpeh903t3]  .azure-item-provenance {
    display: flex;
    flex-wrap: wrap;
    gap: .1rem .45rem;
    margin: 0;
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
}

.azure-ops-page[b-xhpeh903t3]  .azure-item-provenance > span + span::before {
    content: "·";
    margin-right: .45rem;
}

.azure-ops-page[b-xhpeh903t3]  .azure-item-actions {
    display: grid;
    align-content: start;
    gap: .5rem;
}

.azure-ops-page[b-xhpeh903t3]  .azure-copy-command {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    min-width: 0;
    padding: .75rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-md);
    color: var(--app-text-muted);
    background: var(--app-sunken);
    text-align: left;
    cursor: pointer;
}

.azure-ops-page[b-xhpeh903t3]  .azure-copy-command code {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Row action button (Restart) — same footprint family as .azure-copy-command but
   content-sized rather than full-width, since it never carries a long CLI command. */
.azure-ops-page[b-xhpeh903t3]  .azure-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .5rem .75rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-md);
    color: var(--app-text-muted);
    background: var(--app-sunken);
    font-size: var(--app-step--1);
    white-space: nowrap;
    cursor: pointer;
}

.azure-ops-page[b-xhpeh903t3]  .azure-action-button:hover {
    color: var(--app-text);
    border-color: var(--app-border-strong);
}

.azure-ops-page[b-xhpeh903t3]  .azure-resource-heading {
    align-items: end;
}

.azure-ops-page[b-xhpeh903t3]  .azure-result-count {
    color: var(--app-text-soft);
    font-size: var(--app-step--1);
    white-space: nowrap;
}

.azure-ops-page[b-xhpeh903t3]  .azure-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

/* The segmented control is now built from plain buttons with `aria-pressed` (see
   AzureResourceExplorer.razor). Radzen's selected-button treatment is `rz-state-active` —
   re-declared here so the look matches what the RadzenSelectBar used to render, instead
   of leaving the active button indistinguishable from its siblings.

   The unselected rule is needed too: the markup's `rz-button-text` is not a class Radzen 10
   emits or styles (its variants are `rz-variant-*`), so every UNselected filter fell back to
   the filled primary button and read as more selected than the selected one. */
.azure-ops-page[b-xhpeh903t3]  .azure-filter-bar .rz-button {
    color: var(--app-text-muted);
    background: transparent;
    border: 1px solid var(--app-border);
    box-shadow: none;
}

.azure-ops-page[b-xhpeh903t3]  .azure-filter-bar .rz-state-active {
    color: var(--app-text);
    background: var(--app-accent-wash);
    border-color: var(--app-accent-edge);
}

/* The explorer is a table (the shared .app-table); these are its row cells. Below 640px
   the two metric columns fold into the name cell, the same move the /users roster makes
   with its dates, so exactly one copy of each is in the accessibility tree at any width. */
.azure-ops-page[b-xhpeh903t3]  .azure-resource-heading__tools {
    display: flex;
    flex-wrap: wrap;
    gap: var(--app-space-xs);
    align-items: center;
}

.azure-ops-page[b-xhpeh903t3]  .azure-resource-row__name {
    display: block;
    color: var(--app-text);
    font-weight: 600;
}

.azure-ops-page[b-xhpeh903t3]  .azure-resource-row__meta,
.azure-ops-page[b-xhpeh903t3]  .azure-resource-row__metrics {
    display: block;
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 400;
}

.azure-ops-page[b-xhpeh903t3]  .azure-resource-row__metrics { display: none; }

@media (max-width: 640px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-resource-table .is-metric-col { display: none; }
    .azure-ops-page[b-xhpeh903t3]  .azure-resource-row__metrics { display: block; }
    .azure-ops-page[b-xhpeh903t3]  .azure-resource-table tbody th { white-space: normal; }
}

.azure-ops-page[b-xhpeh903t3]  .azure-risk-label {
    font-size: var(--app-step--2);
    font-weight: 700;
}

.azure-ops-page[b-xhpeh903t3]  .azure-risk-label.danger { color: var(--app-danger-soft); }
.azure-ops-page[b-xhpeh903t3]  .azure-risk-label.warning { color: var(--app-accent-warm); }
.azure-ops-page[b-xhpeh903t3]  .azure-risk-label.muted { color: var(--app-text-soft); }

/* The finding behind the concern, in body colour so it reads as the explanation, not a
   second label. */
.azure-ops-page[b-xhpeh903t3]  .azure-risk-detail {
    display: block;
    margin-top: var(--app-space-3xs);
    max-width: 16rem;
    white-space: normal;
    overflow-wrap: anywhere;
    color: var(--app-text-muted);
    font-weight: 400;
}

/* Contrast: this renders both nested inside an already-opaque panel (.app-card,
   .app-disclosure, .azure-attention-summary — all var(--app-surface)) AND, in
   AzurePriorityQueue's empty state, directly inside .azure-anchor-section with no opaque
   ancestor at all — i.e. straight over the GPU aurora backdrop (gpu-backdrop.js, both pages).
   --app-surface-soft is a ~3.5-4% wash, tuned for the nested case; used bare it lets the
   backdrop's drifting glow lighten the background enough to drop var(--app-text-muted) text
   below the 4.5:1 AA floor at the glow's peak. Using the opaque --app-surface here (same token
   the sibling panels already use) fixes the exposed case and is a no-op visually everywhere
   else, since it was already sitting on that same colour through the opaque ancestor. */
.azure-ops-page[b-xhpeh903t3]  .azure-compact-state {
    display: flex;
    gap: .5rem;
    align-items: center;
    min-height: 48px;
    padding: .75rem .9rem;
    border: 1px dashed var(--app-border-strong);
    border-radius: var(--app-radius-md);
    color: var(--app-text-muted);
    background: var(--app-surface);
}

.azure-ops-page[b-xhpeh903t3]  .azure-compact-state.success {
    color: var(--app-accent);
    border-color: var(--app-accent-edge);
}

/* The "30-day cost" chart's category labels (e.g. "Azure App Service
   (porepolinetracker)") are long enough that in the 3-column layout's ~1000-1180px window
   the remaining plot area is too narrow for the value-axis tick labels to avoid colliding —
   "$0" and "$20" render on top of each other as unreadable text. Verified empirically:
   overlapping at 1090px, clean at 1120px+. This drops to 2 columns before that happens;
   the glance-grid rule below in the 1000px block would otherwise be redundant with this one. */
@media (max-width: 1180px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .azure-ops-page[b-xhpeh903t3]  .azure-glance-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-command-header {
        grid-template-columns: 1fr auto;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-command-copy {
        grid-column: 1 / -1;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-item-heading {
        grid-template-columns: 145px minmax(140px, .7fr) minmax(220px, 1.4fr) auto;
    }
}

@media (max-width: 720px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-glance-grid { grid-template-columns: 1fr; }
    .azure-ops-page[b-xhpeh903t3]  .azure-glance-grid > :last-child { grid-column: auto; }
    .azure-ops-page[b-xhpeh903t3]  .azure-command-header {
        display: block;
        padding: 1rem;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-command-kpis {
        margin: 1rem 0;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-command-actions {
        justify-content: flex-start;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-attention-detail {
        grid-template-columns: 1fr;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-item-heading {
        grid-template-columns: 1fr auto;
        gap: .35rem .7rem;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-item-heading > .rz-badge,
    .azure-ops-page[b-xhpeh903t3]  .azure-item-heading > strong,
    .azure-ops-page[b-xhpeh903t3]  .azure-attention-reason {
        grid-column: 1;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-item-heading > .rz-badge {
        justify-self: start;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-impact-score {
        grid-column: 2;
        grid-row: 3;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-attention-reason {
        white-space: normal;
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-section-heading,
    .azure-ops-page[b-xhpeh903t3]  .azure-resource-heading {
        display: block;
    }
}

/* Phone compaction: tighter chrome, never a hidden fact. These were written to make each
   pane fit one screen of the phone pager (removed 2026-10-19); they stay because they are
   still the right density on a phone. */
@media (max-width: 720px) and (orientation: portrait) and (hover: none) {
    /* The hero's gradient panel is the tallest single element on the page and every pixel
       of padding is one the KPI tiles do not get. */
    .azure-ops-page[b-xhpeh903t3]  .azure-command-header {
        padding: var(--app-space-sm);
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-command-kpis {
        margin: var(--app-space-sm) 0 0;
        gap: var(--app-space-2xs);
    }

    .azure-ops-page[b-xhpeh903t3]  .azure-command-meta {
        margin-top: var(--app-space-xs);
    }

    /* The sparkline is the tile's third line and its least load-bearing: the number and
       its label are the fact, the 30-scan shape is context. Shorter, not gone. */
    .azure-ops-page[b-xhpeh903t3]  .app-sparkline {
        height: 18px;
    }

    /* The ring is a proportion, and a proportion reads at any size. 120px of it was
       sized for a three-across desktop grid. */
    .azure-ops-page[b-xhpeh903t3]  .azure-forecast__ring {
        max-width: 104px;
    }
}

@media (max-width: 420px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .azure-ops-page[b-xhpeh903t3]  .azure-attention-item {
        scroll-behavior: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Status narrative, sparklines, what-changed, cost forecast, uptime heatmap.

   Every rule below follows the `.azure-ops-page ::deep …` form required by this
   file — media-query overrides included. The only exception is the token block
   on `.azure-ops-page` itself, which is this component's own root element and so
   is correctly scoped without `::deep` (see the top of this file).
   ═══════════════════════════════════════════════════════════════════════════ */

/* Page-local tone tokens. The palette has no "good" green — `--app-accent` is the
   blue that stands in for success elsewhere — but a red/green uptime grid is the
   one place the universal convention beats house style, so a green is defined
   here rather than added to the global palette it is not needed in.

   Keyed on the visitor's theme rather than on the media query alone, which matters more
   here than anywhere else in the app: these are DATA-VIZ strokes, and they are graded
   against a 3:1 non-text floor. The theme follows the OS for everyone (2026-11-17), so the
   one media query below is the same condition the global palette uses.

   `#217a52` for the light green where `#2f7d55` used to be: it measures 5.29:1 on white
   AND 3.17:1 on the dark card, so it is legible on either ground even if a future theme
   case misses this block. The dark green already clears both (5.75 / #141e2d) and is
   unchanged. */
.azure-ops-page[b-xhpeh903t3] {
    --tone-good: #4ea87b;
    --tone-warn: var(--app-accent-warm);
    --tone-bad: var(--app-danger-soft);
    --tone-accent: var(--app-accent);
    --uptime-cell: 10px;
}

@media (prefers-color-scheme: light) {
    .azure-ops-page[b-xhpeh903t3] {
        --tone-good: #217a52;
        --tone-bad: var(--app-danger-strong);
    }
}

/* ── Lead status paragraph ─────────────────────────────────────────────────── */

/* Inside the hero, under the h1 — no card of its own any more (see AzureStatusNarrative).
   The tone rule on the left edge is what survives of the band: good/bad news is still
   pre-attentive before a word of the paragraph is read. */
.azure-ops-page[b-xhpeh903t3]  .azure-narrative {
    display: grid;
    gap: var(--app-space-2xs);
    justify-items: start;
    margin-top: var(--app-space-xs);
    padding-left: var(--app-space-sm);
    border-left: 3px solid var(--tone-accent);
}

.azure-ops-page[b-xhpeh903t3]  .azure-narrative.is-good { border-left-color: var(--tone-good); }
.azure-ops-page[b-xhpeh903t3]  .azure-narrative.is-warn { border-left-color: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .azure-narrative.is-bad { border-left-color: var(--tone-bad); }

.azure-ops-page[b-xhpeh903t3]  .azure-narrative__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--app-space-2xs);
    align-items: center;
}

.azure-ops-page[b-xhpeh903t3]  .azure-narrative__text {
    margin: 0;
    max-width: 78ch;
    font-size: var(--app-step-0);
    line-height: 1.5;
    color: var(--app-text);
}

.azure-ops-page[b-xhpeh903t3]  .azure-narrative__text--muted { color: var(--app-text-muted); }
.azure-ops-page[b-xhpeh903t3]  .azure-narrative__error { color: var(--tone-bad); }

/* ── KPI sparklines ────────────────────────────────────────────────────────── */

.azure-ops-page[b-xhpeh903t3]  .app-sparkline {
    width: 100%;
    height: 26px;
    margin-top: .3rem;
    overflow: visible;
}

.azure-ops-page[b-xhpeh903t3]  .app-sparkline__line {
    fill: none;
    stroke: var(--tone-accent);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.azure-ops-page[b-xhpeh903t3]  .app-sparkline__area {
    fill: color-mix(in srgb, var(--tone-accent) 16%, transparent);
    stroke: none;
}

.azure-ops-page[b-xhpeh903t3]  .app-sparkline__dot {
    fill: var(--tone-accent);
    stroke: var(--app-surface);
    stroke-width: 1px;
}

.azure-ops-page[b-xhpeh903t3]  .app-sparkline.tone-good { --tone-accent: var(--tone-good); }
.azure-ops-page[b-xhpeh903t3]  .app-sparkline.tone-warn { --tone-accent: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .app-sparkline.tone-bad { --tone-accent: var(--tone-bad); }

/* ── What changed (inside the hero, under the lead paragraph) ─────────────── */

.azure-ops-page[b-xhpeh903t3]  .azure-changed {
    display: grid;
    gap: .3rem;
    margin-top: var(--app-space-xs);
}

.azure-ops-page[b-xhpeh903t3]  .azure-changed__title {
    margin: 0;
    font-size: var(--app-step--2);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--app-text-soft);
}

.azure-ops-page[b-xhpeh903t3]  .azure-changed__when { font-weight: 400; letter-spacing: 0; text-transform: none; }
.azure-ops-page[b-xhpeh903t3]  .azure-changed__none { margin: 0; color: var(--app-text-muted); }

.azure-ops-page[b-xhpeh903t3]  .azure-change-list {
    display: grid;
    gap: .2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* One line per change: icon, sentence, then its before→after detail on the same line. */
.azure-ops-page[b-xhpeh903t3]  .azure-change {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .5rem;
    align-items: baseline;
}

.azure-ops-page[b-xhpeh903t3]  .azure-change .rz-icon { align-self: center; font-size: 1.05rem; }
.azure-ops-page[b-xhpeh903t3]  .azure-change__text { color: var(--app-text); }

.azure-ops-page[b-xhpeh903t3]  .azure-change__detail {
    font-size: var(--app-step--2);
    color: var(--app-text-soft);
    font-variant-numeric: tabular-nums;
}

.azure-ops-page[b-xhpeh903t3]  .azure-change.dir-worse .rz-icon { color: var(--tone-bad); }
.azure-ops-page[b-xhpeh903t3]  .azure-change.dir-better .rz-icon { color: var(--tone-good); }
.azure-ops-page[b-xhpeh903t3]  .azure-change.dir-neutral .rz-icon { color: var(--app-text-soft); }

/* ── Cost forecast ring ───────────────────────────────────────────────────── */
/* The forecast card is now a cell of .azure-glance-grid and the uptime heatmap is a
   full-width row of its own, so the two-column .azure-insight-grid that used to pair
   them is gone along with its responsive override. */

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__body {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__ring {
    position: relative;
    flex: 0 0 auto;
    width: 128px;
    height: 128px;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__ring svg { width: 100%; height: 100%; }

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__track {
    fill: none;
    stroke: var(--app-border-strong);
    stroke-width: 10;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__value {
    fill: none;
    stroke: var(--tone-good);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dasharray var(--app-dur-slow) var(--app-ease-out);
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__value.is-near { stroke: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .azure-forecast__value.is-over { stroke: var(--tone-bad); }

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    pointer-events: none;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__pct {
    font-family: var(--app-headline-font);
    font-size: var(--app-step-2);
    line-height: 1;
    color: var(--app-text);
    font-variant-numeric: tabular-nums;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__caption {
    font-size: var(--app-step--2);
    color: var(--app-text-soft);
    letter-spacing: .04em;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__facts {
    display: grid;
    gap: .45rem;
    margin: 0;
    min-width: 0;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__facts dt {
    font-size: var(--app-step--2);
    color: var(--app-text-soft);
    letter-spacing: .03em;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__facts dd {
    margin: 0;
    font-size: var(--app-step-1);
    color: var(--app-text);
    font-variant-numeric: tabular-nums;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__delta {
    margin-left: .35rem;
    font-size: var(--app-step--1);
    font-variant-numeric: tabular-nums;
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__delta.dir-worse { color: var(--tone-bad); }
.azure-ops-page[b-xhpeh903t3]  .azure-forecast__delta.dir-better { color: var(--tone-good); }

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__spikes {
    margin-top: var(--app-space-xs);
    padding-top: var(--app-space-xs);
    border-top: 1px solid var(--app-border);
}

.azure-ops-page[b-xhpeh903t3]  .azure-forecast__spikes ul {
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .2rem;
    font-size: var(--app-step--1);
    color: var(--app-text-muted);
}

/* ── Uptime heatmap ───────────────────────────────────────────────────────── */

/* 30 columns cannot fit a 390px viewport. The grid scrolls inside its own
   container so the page body never scrolls horizontally.

   `min-width: 0` is what makes that true rather than merely intended: this is a grid item,
   and a grid item defaults to refusing to shrink below its content's min-content width - so
   the 30-column grid inside was sizing the CARD, which sized the pane, which pushed every
   other section on the screen sideways under it. The overflow-x here only starts doing its
   job once the box is allowed to be narrower than what it holds. */
/* `direction: rtl` on the scroller (and ltr back on the grid) makes its scroll START the
   right edge: a phone opens on today, not on the oldest day. It opened on 2026-09-20 —
   sixteen empty columns, with the one day that had data sitting off-screen to the right. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__scroll {
    overflow-x: auto;
    min-width: 0;
    padding-bottom: .25rem;
    direction: rtl;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__grid {
    direction: ltr;
}

/* The scroller is focusable (see AzureUptimeHeatmap.razor) so a keyboard can reach the days
   that are off-screen; a focusable element with no focus ring is worse than one that is not
   focusable at all. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__scroll:focus-visible {
    outline: 2px solid var(--app-accent);
    outline-offset: 3px;
    border-radius: var(--app-radius-sm);
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__grid {
    display: grid;
    gap: 3px;
    align-items: center;
    min-width: min-content;
}

/* Sticky at both edges of the scroller. The grid is wider than the card at every phone
   width, and both of the columns that say WHAT a row is and HOW GOOD it is used to scroll
   away with the days: at 390px the label survived only because it happens to be leftmost,
   while the uptime percentage - the one number in the whole card - sat at x=441 in a 323px
   box, off-screen and unreachable without a horizontal swipe nothing advertised.

   `background` is not decoration here: a sticky cell with a transparent background lets the
   day cells slide visibly underneath it. It has to match the card, which is --app-surface. */
/* A <button> since 2026-10-19 — it opens the app's drawer — so the button chrome is reset
   and the underline on hover/focus is the only cue it is one. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label {
    position: sticky;
    left: 0;
    z-index: 1;
    padding: 0 .5rem 0 0;
    border: 0;
    background: var(--app-surface);
    font: inherit;
    font-size: var(--app-step--2);
    text-align: left;
    color: var(--app-text-muted);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* The NAME truncates, never the chips: with the ellipsis on the whole button, a row carrying
   two chips showed "PoOlympic…" and no chip at all. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__name {
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label .azure-uptime__chip { flex: 0 0 auto; }

/* The row name opens the app's drawer; at 17px tall it was under the 24px touch minimum. */
@media (hover: none) {
    .azure-ops-page[b-xhpeh903t3]  .azure-uptime__label {
        min-height: 24px;
    }
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label:hover,
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label:focus-visible {
    color: var(--app-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label:focus-visible {
    outline: 2px solid var(--app-accent);
    outline-offset: 1px;
}

/* No width: the grid's minmax(cell, 1fr) columns size the cell, so it stretches to the card.
   The legend's swatches are not in that grid and keep a cell's width explicitly. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell {
    height: var(--uptime-cell);
    border-radius: 2px;
    background: var(--app-surface-soft);
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__legend .azure-uptime__cell { width: var(--uptime-cell); }

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.is-healthy { background: var(--tone-good); }
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.is-degraded { background: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.is-broken { background: var(--tone-bad); }

/* A deploy is a dot ON the day's colour, not a colour of its own: the cell still has to say
   whether the app was up. The dot is the page background so it reads on every tone. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.has-deploy {
    background-image: radial-gradient(circle, var(--app-bg) 0 28%, transparent 32%);
}

/* The ?focus= row: an outline on every cell rather than a fill, for the same reason. */
/* Errors and Dependabot alerts on a row. Text stays --app-text: the tones are graded for
   3:1 as strokes, not 4.5:1 as text, so they colour the border only. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__chip {
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    margin-left: .35rem;
    padding: 0 .3rem;
    border: 1px solid var(--tone-bad);
    border-radius: 999px;
    color: var(--app-text);
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__chip.is-alert { border-color: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__chip .rz-icon { font-size: .9em; }

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__label.is-focused {
    color: var(--app-text);
    font-weight: 700;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.is-focused {
    outline: 1px solid var(--app-accent);
    outline-offset: 1px;
}

/* A day with no scan is deliberately near-invisible: it is an absence of evidence,
   and colouring it would imply the fleet was observed to be in some state. */
.azure-ops-page[b-xhpeh903t3]  .azure-uptime__cell.is-no-data {
    background: transparent;
    border: 1px solid var(--app-border);
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__pct {
    position: sticky;
    right: 0;
    z-index: 1;
    padding-left: .5rem;
    background: var(--app-surface);
    font-size: var(--app-step--2);
    color: var(--tone-good);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__pct.is-degraded { color: var(--app-text-muted); }

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .5rem;
    font-size: var(--app-step--2);
    color: var(--app-text-soft);
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__legend span {
    display: inline-flex;
    gap: .3rem;
    align-items: center;
}

.azure-ops-page[b-xhpeh903t3]  .azure-uptime__legend i { display: inline-block; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .azure-ops-page[b-xhpeh903t3]  .azure-forecast__body {
        justify-content: center;
    }

    /* Smaller cells keep a 30-day row inside a phone's scroll container without
       forcing a long horizontal drag to reach the percentage column. */
    .azure-ops-page[b-xhpeh903t3] {
        --uptime-cell: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .azure-ops-page[b-xhpeh903t3]  .azure-forecast__value {
        transition: none;
    }
}

/* ── Desktop landscape: one column, four full-width panes ────────────────────
   There was a two-column block here from 2026-09 to 2026-10-19. Its only half-width pair
   was uptime beside "what changed" — a 129px card next to a 342px one, ~210px of nothing
   on every visit — and every other pane already spanned both columns. With "what changed"
   folded into the hero there is no pair left, so the block went. What stays is the order:
   status, actions, spend, uptime — what is going on, what to do about it, then the evidence.

   Uptime cells are taller here because the row now has the whole width: the day columns
   stretch (minmax(cell, 1fr)) and a 10px-tall bar 40px wide read as a dash. */
@media (min-width: 1100px) {
    .azure-ops-page[b-xhpeh903t3] {
        --uptime-cell: 14px;
        align-content: start;
    }
}

/* ── App drawer (AzureAppDetail) ─────────────────────────────────────────────
   Inside .azure-ops-page in the DOM — the <dialog> is lifted into the top layer, not moved
   — which is why these rules, and the uptime-cell colours the strip reuses, still reach it. */
.azure-ops-page[b-xhpeh903t3]  .azure-app-detail {
    display: grid;
    gap: var(--app-space-sm);
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__status {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: var(--app-step-1);
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__dot {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: var(--app-text-soft);
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__status.is-healthy .azure-app-detail__dot { background: var(--tone-good); }
.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__status.is-degraded .azure-app-detail__dot { background: var(--tone-warn); }
.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__status.is-broken .azure-app-detail__dot { background: var(--tone-bad); }

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__strip {
    display: grid;
    gap: 3px;
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__strip .azure-uptime__cell { height: 18px; }

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__prose { margin: 0; color: var(--app-text-muted); }

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: var(--app-space-xs);
    margin: 0;
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__facts > div {
    padding: var(--app-space-xs) var(--app-space-sm);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-md);
    background: var(--app-surface-soft);
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__facts dt { font-size: var(--app-step--2); color: var(--app-text-soft); }
.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__heading {
    margin: 0 0 .3rem;
    font-size: var(--app-step-0);
}

.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__list { margin: 0; padding-left: 1.2rem; color: var(--app-text-muted); }
.azure-ops-page[b-xhpeh903t3]  .azure-app-detail__link { justify-self: start; color: var(--app-accent); }
/* /Features/Azure/MetricBars.razor.rz.scp.css */
/* Scoped to MetricBars' own markup, so no ::deep is needed here — every element below is
   emitted by this component (see docs/architecture.md on scoped CSS not crossing component boundaries). */
.metric-bars[b-2elk39zc8d] {
    display: grid;
    gap: var(--app-space-2xs);
}

/* label | bar | value. The label column is the only one allowed to shrink, so a long
   resource-group name truncates instead of squeezing the bar to nothing; the value column
   is `max-content` so the figures line up on their right edge down the panel.

   The bar has a FLOOR (2.5rem), not `minmax(0, 1fr)`. Grid grows every non-flexible track
   to its maximum before an `fr` track gets anything, so in a narrow card the label column
   took its full 8-11rem, the value took its width, and the bar resolved to exactly 0px —
   which is what every bar on /azure did at >=1100px, where the spend pane is half the page
   and each glance card ~190px wide. Measured, and caught by
   Azure_GlancePanels_DrawTheirMetrics: eleven fills, all 0.0px wide. */
.metric-bar[b-2elk39zc8d] {
    display: grid;
    grid-template-columns: minmax(0, 8rem) minmax(2.5rem, 1fr) max-content;
    align-items: center;
    gap: var(--app-space-xs);
    font-size: var(--app-step--1);
}

.metric-bar__label[b-2elk39zc8d] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--app-text-muted);
}

.metric-bar__track[b-2elk39zc8d] {
    height: 8px;
    border-radius: var(--app-radius-pill);
    background: var(--app-surface-soft);
    border: 1px solid var(--app-border);
    overflow: hidden;
}

.metric-bar__fill[b-2elk39zc8d] {
    --bar-color: var(--app-accent);
    display: block;
    height: 100%;
    border-radius: var(--app-radius-pill);
    transition: width var(--app-dur-slow) var(--app-ease-out);
}

/* The visible bar is the pseudo-element, so it can spring in (scaleX on a damped-spring
   curve) while the fill's own box — what Azure_GlancePanels_DrawTheirMetrics measures —
   is at its final width from the first frame. A transform on the fill itself would read
   as a 0px bar to getBoundingClientRect mid-animation. */
.metric-bar__fill[b-2elk39zc8d]::before {
    content: "";
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--bar-color);
    transform-origin: left center;
    animation: metric-grow-b-2elk39zc8d 1100ms var(--app-ease-bounce) backwards;
}

@keyframes metric-grow-b-2elk39zc8d {
    from {
        transform: scaleX(0);
    }
}

.metric-bar__fill.is-warm[b-2elk39zc8d] {
    --bar-color: var(--app-accent-warm);
}

.metric-bar__fill.is-bad[b-2elk39zc8d] {
    --bar-color: var(--app-danger-soft);
}

.metric-bar__value[b-2elk39zc8d] {
    color: var(--app-text);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* The bar is decoration for a number that is already printed beside it, so animating it
   buys nothing a visitor with vestibular sensitivity should have to pay for. */
@media (prefers-reduced-motion: reduce) {
    .metric-bar__fill[b-2elk39zc8d] {
        transition: none;
    }

    .metric-bar__fill[b-2elk39zc8d]::before {
        animation: none;
    }
}

/* At 390px an 8rem label column leaves too little for the bar to mean anything, so the
   labels truncate and the title attribute carries the full text. */
@media (max-width: 480px) {
    .metric-bar[b-2elk39zc8d] {
        grid-template-columns: minmax(0, 5.5rem) minmax(2.5rem, 1fr) max-content;
    }
}

/* Where there IS room, use it. Measured at 1440px: the longest label in either panel
   ("Azure App Service (poshared)") wants 172px against the 128px an 8rem column gives, so
   three of six rows truncated with ~214px of track sitting next to them doing nothing.
   11rem clears the longest label and still leaves the bar the majority of the row — in a
   full-width card. Capped at 40% of the row so a narrow card keeps a readable bar. */
@media (min-width: 900px) {
    .metric-bar[b-2elk39zc8d] {
        grid-template-columns: minmax(0, min(11rem, 40%)) minmax(2.5rem, 1fr) max-content;
    }
}
/* /Features/Diag/Diag.razor.rz.scp.css */
/* Scoped to Diag.razor. DiagRow's markup is its own component, so it is reached with ::deep. */
.diag-page[b-umvd7sj8rr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--app-space-md);
    align-content: start;
    max-width: 48rem;
}

.diag-header[b-umvd7sj8rr] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--app-space-sm);
}

.diag-header h1[b-umvd7sj8rr] {
    margin: 0;
}

.diag-header p[b-umvd7sj8rr] {
    margin: var(--app-space-xs) 0 0;
}

.diag-section[b-umvd7sj8rr] {
    display: grid;
    gap: var(--app-space-xs);
}

.diag-section h2[b-umvd7sj8rr] {
    margin: 0;
}

/* Each row is a .po-diag__card (po-tokens.css): a two-column grid, name and badge on top,
   the purpose and the verdict spanning both columns under them. */
.diag-section[b-umvd7sj8rr]  .diag-row {
    min-width: 0;
    align-items: center;
}

.diag-section[b-umvd7sj8rr]  .diag-row__name {
    margin: 0;
    min-width: 0;
    font-size: var(--app-step-0);
    overflow-wrap: anywhere;
}

.diag-section[b-umvd7sj8rr]  .diag-row__purpose,
.diag-section[b-umvd7sj8rr]  .diag-row__summary {
    grid-column: 1 / -1;
    margin: 0;
    overflow-wrap: anywhere;
}

.diag-section[b-umvd7sj8rr]  .diag-row__purpose,
.diag-section[b-umvd7sj8rr]  .diag-row__meta {
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
}

.diag-section[b-umvd7sj8rr]  .diag-row__meta {
    white-space: nowrap;
    margin-left: 0.25rem;
}

.diag-section[b-umvd7sj8rr]  .diag-row__problem {
    font-weight: 600;
}

/* The overall banner: --po-text on the soft status background, the status colour only as the edge
   (>= 4.5:1 in both themes; never warning-coloured text on a pale warning fill). */
.diag-banner[b-umvd7sj8rr] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: var(--po-space-3) var(--po-space-4);
    border-radius: var(--po-radius);
    border: 1px solid var(--po-border);
    border-left-width: 4px;
    color: var(--po-text);
    background: var(--po-surface);
}

.diag-banner--ok[b-umvd7sj8rr] { background: var(--po-success-soft); border-color: var(--po-success); }
.diag-banner--warn[b-umvd7sj8rr] { background: var(--po-warning-soft); border-color: var(--po-warning); }
.diag-banner--bad[b-umvd7sj8rr] { background: var(--po-danger-soft); border-color: var(--po-danger); }
.diag-banner--pending[b-umvd7sj8rr] { background: var(--po-info-soft); border-color: var(--po-info); }

.diag-meta[b-umvd7sj8rr] {
    font-size: var(--po-text-sm);
}
/* /Features/Portfolio/Index.razor.rz.scp.css */
/* ── Page + header ────────────────────────────────────────────────────────────
   Adding a class to
   Index.razor means adding its rule here; a `grep` for the class name is the
   check that it is not dangling. */
.portfolio-page[b-jo4jhprb97] {
    display: grid;
    gap: var(--app-space-lg);
}

.portfolio-header[b-jo4jhprb97] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--app-space-md);
    padding: var(--app-space-2xs) 0 var(--app-space-sm);
}

.portfolio-header h1[b-jo4jhprb97] {
    margin: var(--app-space-3xs) 0 0;
    /* --app-step-5, not a local clamp(2rem, 5vw, 3.5rem). The old curve grew at 5vw while
       /azure's hero grew at 3vw, so the two pages' headings crossed somewhere mid-range
       and neither size was ever chosen on purpose. */
    font-size: var(--app-step-5);
    line-height: 1;
}

.portfolio-header p[b-jo4jhprb97] {
    margin: var(--app-space-2xs) 0 0;
    color: var(--app-text-muted);
    max-width: 60ch;
}

/* ── RL training section header ──────────────────────────────────────────────
   Same type scale as the page header, one step down. */
.portfolio-section-header h2[b-jo4jhprb97] {
    margin: var(--app-space-sm) 0 0;
    font-size: var(--app-step-3);
    line-height: 1.1;
}

.portfolio-section-header p[b-jo4jhprb97] {
    margin: var(--app-space-2xs) 0 0;
    color: var(--app-text-muted);
    max-width: 60ch;
}

/* ── Freshness summary row ───────────────────────────────────────────────────
   `display: flex` + `gap` is the rule that keeps the count, the "updated N ago"
   text and the auto-update note apart. */
.portfolio-summary[b-jo4jhprb97] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--app-space-sm);
    min-height: 34px;
    color: var(--app-text-soft);
    font-size: var(--app-step--1);
}

.portfolio-summary strong[b-jo4jhprb97] {
    color: var(--app-text);
}

/* Body text colour, not --app-accent-warm: the warm accent fell below 4.5:1 on the page background (axe
   color-contrast, seen whenever the stored scan is older than 12 h). The word "stale" carries it. */
.portfolio-summary .is-stale[b-jo4jhprb97] {
    color: var(--app-text);
    font-weight: 600;
}

/* ── Build-mismatch banner ───────────────────────────────────────────────────
   Shown when the server BuildId moved on since the WASM bundle loaded. */
.portfolio-build-banner[b-jo4jhprb97] {
    display: flex;
    align-items: center;
    gap: var(--app-space-sm);
    padding: var(--app-space-sm) var(--app-space-sm);
    border: 1px solid var(--app-border-strong);
    border-left: 3px solid var(--app-accent);
    border-radius: var(--app-radius-md);
    background: var(--app-surface);
    color: var(--app-text-muted);
}

.portfolio-build-banner .material-symbols-outlined[b-jo4jhprb97],
.portfolio-build-banner .rz-icon[b-jo4jhprb97] {
    color: var(--app-accent);
}

.portfolio-build-banner__copy[b-jo4jhprb97] {
    display: grid;
    gap: 0.15rem;
    line-height: 1.3;
    flex: 1 1 auto;
}

.portfolio-build-banner__copy strong[b-jo4jhprb97] {
    color: var(--app-text);
}

.portfolio-build-banner__copy span[b-jo4jhprb97] {
    font-size: var(--app-step--1);
}

.portfolio-build-banner[b-jo4jhprb97]  .rz-button.portfolio-build-banner__action {
    padding: var(--app-space-2xs) var(--app-space-sm);
    border: 1px solid var(--app-accent);
    border-radius: var(--app-radius-pill);
    background: transparent;
    color: var(--app-accent);
    cursor: pointer;
    font-size: var(--app-step--1);
    font-weight: 600;
    transition: background-color var(--app-dur-fast) var(--app-ease-smooth);
}

.portfolio-build-banner[b-jo4jhprb97]  .rz-button.portfolio-build-banner__action:hover {
    background: var(--app-accent-wash);
}

.portfolio-build-banner[b-jo4jhprb97]  .rz-button.portfolio-build-banner__dismiss {
    background: transparent;
    border: 0;
    color: var(--app-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: var(--app-space-3xs) var(--app-space-2xs);
}

.portfolio-build-banner[b-jo4jhprb97]  .rz-button.portfolio-build-banner__dismiss:hover {
    color: var(--app-text);
}

/* ── First-screen contract (mobile portrait) ─────────────────────────────────────
   A 24-item catalogue is a list, and paging a list fights the reader — so `/` keeps
   ordinary scrolling and instead guarantees that the FIRST SCREEN is complete:
   title, the freshness/reload row, and a whole first app row, inside 844px minus the
   chrome. That budget is what the numbers below are sized against, and
   `PortfolioUiTests.Home_FirstScreen_ShowsAWholeRow` is what stops them drifting.

   The lede paragraph is the one thing dropped, not truncated: at 390px it wraps to three
   lines that restate the h1 and the wordmark above it. It stays in the DOM
   for assistive tech and for every wider viewport. */
@media (max-width: 640px) {
    .portfolio-header[b-jo4jhprb97] {
        align-items: start;
        padding-bottom: 0;
    }

    .portfolio-header p[b-jo4jhprb97] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .portfolio-page[b-jo4jhprb97] {
        gap: var(--app-space-sm);
    }

    .portfolio-build-banner__copy span[b-jo4jhprb97] {
        display: none;
    }
}
/* /Features/Portfolio/PortfolioStackTable.razor.rz.scp.css */
/* The stack matrix. Desktop: a real table inside one glass card (one [data-glass] rect, not
   one per row — the shader pass is per rect) that scrolls sideways with the app column pinned
   when the columns do not fit. At 640px and below each row reflows into a stacked
   block of label: value lines; see the media query at the end.

   RadzenBadge, RadzenIcon and Sparkline are child components, so their elements carry no
   scope attribute — every rule reaching them goes through ::deep. */
/* The inner .portfolio-stack__scroll is the sideways scroller. Values are short labels kept to one line, so the table
   is ~1150px wide: it fits a desktop and scrolls in anything narrower, never wraps a cell
   into a four-line paragraph. */
.portfolio-stack[b-gfy484pqns] {
    padding: 0;
    overflow: hidden;
}

.portfolio-stack__scroll[b-gfy484pqns] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.portfolio-stack__scroll:focus-visible[b-gfy484pqns] {
    outline: 2px solid var(--app-accent);
    outline-offset: 2px;
}

.portfolio-stack__table[b-gfy484pqns] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--app-step--1);
}

.portfolio-stack__table th[b-gfy484pqns],
.portfolio-stack__table td[b-gfy484pqns] {
    padding: var(--app-space-sm) var(--app-space-xs);
    border-bottom: 1px solid var(--app-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.4;
}

.portfolio-stack__table th:first-child[b-gfy484pqns] { padding-left: var(--app-space-md); }
.portfolio-stack__table th:last-child[b-gfy484pqns],
.portfolio-stack__table td:last-child[b-gfy484pqns] { padding-right: var(--app-space-md); }

.portfolio-stack__table thead th[b-gfy484pqns] {
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--app-surface-soft);
}

.portfolio-stack__table tbody tr:last-child > *[b-gfy484pqns] { border-bottom: 0; }

.portfolio-stack__row:hover[b-gfy484pqns] { background: var(--app-hover-wash); }

.portfolio-stack__table td[b-gfy484pqns] { color: var(--app-text); white-space: nowrap; }
.portfolio-stack__table td.is-empty[b-gfy484pqns] { color: var(--app-text-soft); }

/* ── App cell: thumbnail beside name, description and status ─────────────────
   position: relative so the name's stretched link covers the thumbnail too. */
.portfolio-stack__app[b-gfy484pqns] {
    position: relative;
    width: 17.5rem;
    min-width: 17.5rem;
    font-weight: 400;
}

.portfolio-stack__app-grid[b-gfy484pqns] {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: var(--app-space-sm);
}

/* No stored picture (none are captured any more): the name takes the whole cell. */
.portfolio-stack__app-grid:not(:has(.portfolio-stack__thumb))[b-gfy484pqns] {
    grid-template-columns: minmax(0, 1fr);
}

/* (0,3,1) to beat the shared `th` padding rule above. Pinned: the columns scroll under it.
   Its own background must be OPAQUE or the scrolled cells show through — the card's is
   translucent wherever [data-glass] is active — so it is the surface laid over the page
   colour, the AppDrawer's recipe. The hairline shadow marks the pinned edge. */
.portfolio-stack__table th.portfolio-stack__app[b-gfy484pqns],
.portfolio-stack__table thead th:first-child[b-gfy484pqns] {
    position: sticky;
    left: 0;
    z-index: 1;
    padding-right: var(--app-space-md);
    background: linear-gradient(var(--app-surface), var(--app-surface)), var(--app-bg);
    box-shadow: 1px 0 0 var(--app-border);
}

.portfolio-stack__table thead th:first-child[b-gfy484pqns] {
    background: linear-gradient(var(--app-surface-soft), var(--app-surface-soft)),
                linear-gradient(var(--app-surface), var(--app-surface)), var(--app-bg);
}

.portfolio-stack__row:hover > th.portfolio-stack__app[b-gfy484pqns] {
    background: linear-gradient(var(--app-hover-wash), var(--app-hover-wash)),
                linear-gradient(var(--app-surface), var(--app-surface)), var(--app-bg);
}

.portfolio-stack__thumb[b-gfy484pqns] {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-sm);
    background: linear-gradient(135deg, var(--app-accent-wash) 0%, transparent 60%), var(--app-surface-soft);
}

.portfolio-stack__thumb img[b-gfy484pqns] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.portfolio-stack__id[b-gfy484pqns] {
    display: grid;
    gap: var(--app-space-3xs);
    align-content: start;
    min-width: 0;
}

.portfolio-stack__name[b-gfy484pqns] {
    margin: 0;
    font-size: var(--app-step-0);
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}

.portfolio-stack__link[b-gfy484pqns] {
    color: inherit;
    text-decoration: none;
}

.portfolio-stack__link[b-gfy484pqns]::after {
    content: "";
    position: absolute;
    inset: 0;
}

.portfolio-stack__link:focus-visible[b-gfy484pqns] { outline: none; }

.portfolio-stack__app:has(.portfolio-stack__link:focus-visible)[b-gfy484pqns] {
    outline: 2px solid var(--app-accent);
    outline-offset: -2px;
}

.portfolio-stack__row:hover .portfolio-stack__link[b-gfy484pqns] { color: var(--app-accent); }

/* The full sentence, under the picture and name, across the whole cell. Unclamped. */
.portfolio-stack__copy[b-gfy484pqns] {
    margin: var(--app-space-xs) 0 0;
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
    line-height: 1.45;
    white-space: normal;
}

/* Source and Google Play: real links inside a cell whose name link is stretched over it,
   so they sit above that overlay. */
.portfolio-stack__links[b-gfy484pqns] {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--app-space-2xs) var(--app-space-sm);
    margin: var(--app-space-2xs) 0 0;
    font-size: var(--app-step--1);
}

.portfolio-stack__links a[b-gfy484pqns],
.portfolio-stack__cell-link[b-gfy484pqns] {
    color: var(--app-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portfolio-stack__meta[b-gfy484pqns] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--app-space-2xs) var(--app-space-xs);
}

.portfolio-stack__meta:empty[b-gfy484pqns] { display: none; }

.portfolio-stack__streak[b-gfy484pqns] {
    display: inline-flex;
    align-items: center;
    gap: var(--app-space-3xs);
    color: var(--app-text-muted);
    font-size: var(--app-step--2);
    font-variant-numeric: tabular-nums;
}

.portfolio-stack__streak[b-gfy484pqns]  .rz-icon {
    font-size: 0.95rem;
    color: var(--app-accent-warm);
}

/* ── "Shared by all N": the columns every app agrees on, once ──────────────────
   Above the table and outside its scroller. A definition list of label: value pairs that
   wraps; the label wears the column-header treatment so it reads as "the column that went". */
.portfolio-stack__shared[b-gfy484pqns] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--app-space-2xs) var(--app-space-md);
    padding: var(--app-space-sm) var(--app-space-md);
    border-bottom: 1px solid var(--app-border);
    background: var(--app-accent-wash);
}

.portfolio-stack__shared-title[b-gfy484pqns] {
    color: var(--app-text);
    font-size: var(--app-step--1);
    font-weight: 700;
}

.portfolio-stack__shared dl[b-gfy484pqns] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--app-space-2xs) var(--app-space-md);
    margin: 0;
}

.portfolio-stack__shared dl > div[b-gfy484pqns] {
    display: inline-flex;
    align-items: baseline;
    gap: var(--app-space-2xs);
}

.portfolio-stack__shared dt[b-gfy484pqns] {
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.portfolio-stack__shared dd[b-gfy484pqns] {
    margin: 0;
    color: var(--app-text);
    font-size: var(--app-step--1);
}

/* Data, Real-time and Unique tech: one item per line when an app has several. */
.portfolio-stack__multi[b-gfy484pqns] { display: inline-flex; align-items: flex-start; }
.portfolio-stack__lines[b-gfy484pqns] {
    display: inline-grid;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: top;
}

/* Tech stack: label: value lines inside one cell. */
.portfolio-stack__tech[b-gfy484pqns] { display: grid; gap: var(--app-space-3xs); margin: 0; }
.portfolio-stack__tech > div[b-gfy484pqns] { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--app-space-2xs); align-items: baseline; }
.portfolio-stack__tech dt[b-gfy484pqns] {
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.portfolio-stack__tech dd[b-gfy484pqns] { margin: 0; }

/* ── AI column: a list per app, grouped by cloud ──────────────────────────────
   The one column that wraps: it names every model, so it gets a real width instead of
   one line. The cloud tag is text ("Azure", "Google", "In-app"), not a colour key, so it
   reads the same in both themes and to a screen reader. */
.portfolio-stack__table td.is-wide[b-gfy484pqns] {
    white-space: normal;
    min-width: 15rem;
    max-width: 19rem;
}

.portfolio-stack__ai[b-gfy484pqns],
.portfolio-stack__ai ul[b-gfy484pqns] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-stack__ai[b-gfy484pqns] {
    display: grid;
    /* The chip column is as wide as the widest cloud name in this cell, shared by every row
       through subgrid. It was a fixed 3.6rem, so "Fish Audio" (about 4.5rem) ran under the
       service names beside it (2026-11-18). */
    grid-template-columns: minmax(3.6rem, max-content) minmax(0, 1fr);
    gap: var(--app-space-2xs);
}

.portfolio-stack__ai > li[b-gfy484pqns] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: baseline;
}

.portfolio-stack__ai ul li[b-gfy484pqns] { line-height: 1.35; }

.portfolio-stack__cloud[b-gfy484pqns] {
    justify-self: start;
    padding: 0 .4em;
    border: 1px solid var(--app-border-strong);
    border-radius: var(--app-radius-pill);
    color: var(--app-text-muted);
    font-size: var(--app-step--2);
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.portfolio-stack__cloud[data-cloud="Azure"][b-gfy484pqns] { background: var(--app-accent-wash); color: var(--app-text); }

.portfolio-stack__optional[b-gfy484pqns] {
    margin-left: .35em;
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
}

.portfolio-stack__ai .is-optional .portfolio-stack__service[b-gfy484pqns] { color: var(--app-text-muted); }

/* ── Phone: one stacked block per app ─────────────────────────────────────────
   Below 640px even the pinned app column would leave room for one other column, so the
   table stops being one. The header row goes — each cell prints its own column name from data-label, which is
   also what a screen reader hears, so a hidden header row would only say it twice. (An
   sr-only thead still laid out a full-width row, clipped but measured past the viewport.)
   Each row becomes a
   block, and each cell a "Label  value" line from its data-label. An empty cell is dropped
   rather than printed as a dash — on a phone it is a whole line saying nothing. */
@media (max-width: 640px) {
    .portfolio-stack__table[b-gfy484pqns],
    .portfolio-stack__row[b-gfy484pqns] {
        display: block;
    }

    /* One block per line on a phone; a wide landscape phone fits two. */
    .portfolio-stack__table tbody[b-gfy484pqns] {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
    }

    .portfolio-stack__table thead[b-gfy484pqns] { display: none; }

    .portfolio-stack__row[b-gfy484pqns] {
        min-width: 0;
        padding: var(--app-space-sm) var(--app-space-sm) var(--app-space-xs);
        border-bottom: 1px solid var(--app-border);
        box-shadow: 1px 0 0 var(--app-border);
    }

    .portfolio-stack__table th[b-gfy484pqns],
    .portfolio-stack__table td[b-gfy484pqns],
    .portfolio-stack__table th:first-child[b-gfy484pqns],
    .portfolio-stack__table td:last-child[b-gfy484pqns] {
        padding: 0;
        border-bottom: 0;
    }

    .portfolio-stack__scroll[b-gfy484pqns] { overflow-x: visible; }

    /* relative, NOT static: the name link's ::after overlay is positioned against this cell.
       `static` (undoing the pinned column) let it stretch over the whole table, so a tap
       anywhere on a phone opened the table's LAST app (caught 2026-11-03, a link in another
       cell would not take a click). */
    .portfolio-stack__table th.portfolio-stack__app[b-gfy484pqns] {
        position: relative;
        padding-right: 0;
        background: none;
        box-shadow: none;
    }

    .portfolio-stack__table td[b-gfy484pqns] { white-space: normal; }
    .portfolio-stack__table td.is-wide[b-gfy484pqns] { min-width: 0; max-width: none; }

    .portfolio-stack__app[b-gfy484pqns] {
        display: block;
        width: auto;
        min-width: 0;
        margin-bottom: var(--app-space-xs);
    }

    .portfolio-stack__app-grid[b-gfy484pqns] { grid-template-columns: 5.5rem minmax(0, 1fr); }

    .portfolio-stack__table td[b-gfy484pqns] {
        display: grid;
        grid-template-columns: 5.5rem minmax(0, 1fr);
        gap: var(--app-space-sm);
        min-width: 0;
        padding: var(--app-space-3xs) 0;
    }

    .portfolio-stack__table td[b-gfy484pqns]::before {
        content: attr(data-label);
        color: var(--app-text-soft);
        font-size: var(--app-step--2);
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        line-height: 1.9;
    }

    .portfolio-stack__table td.is-empty[b-gfy484pqns] { display: none; }
}
/* /Features/Settings/Settings.razor.rz.scp.css */
/* All markup here is Settings.razor's own, so bare scoped selectors reach it — no ::deep. */
.settings-page[b-85wgqg5k2s] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--app-space-md);
    align-content: start;
    max-width: 48rem;
}

.settings-page header h1[b-85wgqg5k2s],
.settings-fixed h2[b-85wgqg5k2s] {
    margin: 0;
}

.settings-page header p[b-85wgqg5k2s] {
    margin: var(--app-space-xs) 0 0;
}

.settings-fixed[b-85wgqg5k2s] {
    display: grid;
    gap: var(--app-space-sm);
}

.settings-fixed dl[b-85wgqg5k2s] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: var(--app-space-xs) var(--app-space-md);
    margin: 0;
}

.settings-fixed dt[b-85wgqg5k2s] {
    font-weight: 600;
}

.settings-fixed dd[b-85wgqg5k2s] {
    margin: 0;
    color: var(--app-text-muted);
    overflow-wrap: anywhere;
}
/* /Features/Shared/DevErrorBoundary.razor.rz.scp.css */
/* Development-only diagnostic surface. Now resolves from the shared danger tokens
   rather than three hardcoded reds and two hardcoded greys. */
.dev-error-box[b-1e9548gq16] {
    border: 2px solid var(--app-danger-soft);
    border-radius: var(--app-radius-md);
    padding: var(--app-space-lg);
    margin: var(--app-space-md) 0;
    background: color-mix(in srgb, var(--app-danger-strong) 12%, var(--app-bg-deep));
}

/* RadzenText renders its own element, so scope through the box with ::deep. */
.dev-error-box[b-1e9548gq16]  .dev-error-title {
    color: var(--app-danger-soft);
}

.dev-error-details[b-1e9548gq16] {
    margin-top: var(--app-space-sm);
}

.dev-error-summary[b-1e9548gq16] {
    cursor: pointer;
    color: var(--app-text-muted);
    font-size: .85rem;
}

.dev-error-stack[b-1e9548gq16] {
    overflow-x: auto;
    font-size: .75rem;
    color: var(--app-text-muted);
    white-space: pre-wrap;
    margin-top: var(--app-space-xs);
}
/* /Features/Shared/LoadingSkeleton.razor.rz.scp.css */
.loading-skeleton[b-qc47zvnjco] {
    display: grid;
}

/* "cards" — shimmering portfolio tiles (moved from Index.razor.css) */
.loading-skeleton.is-cards[b-qc47zvnjco] {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--app-space-sm);
}

.loading-skeleton.is-cards > div[b-qc47zvnjco] {
    min-height: 320px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: linear-gradient(100deg, var(--app-surface) 20%, var(--app-surface-soft) 45%, var(--app-surface) 70%);
    background-size: 200% 100%;
    animation: skeleton-shimmer-b-qc47zvnjco 1.2s infinite linear;
}

@keyframes skeleton-shimmer-b-qc47zvnjco {
    to { background-position-x: -200%; }
}

/* "summary" — Azure status placeholder (moved from AzureDashboard.razor.css) */
.loading-skeleton.is-summary[b-qc47zvnjco] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--app-space-sm);
}

.loading-skeleton.is-summary > div[b-qc47zvnjco] {
    min-height: 180px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: var(--app-surface);
}

.loading-skeleton.is-summary > div:first-child[b-qc47zvnjco] {
    grid-column: 1 / -1;
    min-height: 150px;
}

@media (max-width: 720px) {
    .loading-skeleton.is-summary[b-qc47zvnjco] { grid-template-columns: 1fr; }
    .loading-skeleton.is-summary > div:first-child[b-qc47zvnjco] { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .loading-skeleton.is-cards > div[b-qc47zvnjco] { animation: none; }
}
/* /Features/SignIns/SignIns.razor.rz.scp.css */
/* Every rule below the page-root block MUST use the `.signins-page ::deep …` form, base
   rules and media-query overrides alike — see docs/architecture.md and the same note in
   AzureDashboard.razor.css. Two reasons, and the second one is the one that bites:

     · Most of this markup lives in child components (SignInRoster, SignInFeed,
       SignInTrend), and Blazor stamps the scope attribute only on a component's OWN
       elements, so a bare selector would style nothing there.
     · `::deep` moves the scope attribute leftward. `.signins-page ::deep .signin-chip`
       compiles to `.signins-page[b-x] .signin-chip` (0,3,0) while a bare `.signin-chip`
       compiles to `.signin-chip[b-x]` (0,2,0). Media queries add no specificity, so a bare
       override loses to its own base rule and the layout silently never reflows. */

.signins-page[b-3p64cbtiww] {
    display: grid;
    /* minmax(0, 1fr), NOT the default `auto` track. An auto track is floored at the
       min-content width of its widest item, so the RadzenChart in the trend disclosure — which
       carries an intrinsic minimum once its legend is laid out — pushed the single column to
       441px inside a 390px viewport. Every child then stretched with it and the page was
       quietly cropped on the right: the header, the KPI tiles and the card borders all ran off
       screen. It did not show up as a horizontal scrollbar because the overflow was CLIPPED,
       which is why the E2E test now measures element bounds rather than document.scrollWidth. */
    grid-template-columns: minmax(0, 1fr);
    gap: var(--app-space-md);
    align-content: start;
}

/* ── Header and window picker ─────────────────────────────────────────────── */

.signins-page[b-3p64cbtiww]  .signins-header {
    display: flex;
    flex-wrap: wrap;
    gap: var(--app-space-sm);
    align-items: center;
    justify-content: space-between;
}

.signins-page[b-3p64cbtiww]  .signins-title {
    display: flex;
    align-items: center;
    gap: var(--app-space-2xs);
    min-width: 0;
}

.signins-page[b-3p64cbtiww]  .signins-header h1 {
    margin: 0;
    font-size: var(--app-step-4);
    font-family: var(--app-headline-font);
    letter-spacing: -.02em;
}

/* ── Totals: one line in the header ───────────────────────────────────────── */

/* Ordered after the title and before the window picker in the DOM; `order` puts the picker
   on the title's line and the stats on a line of their own beneath both. */
.signins-page[b-3p64cbtiww]  .signins-stats {
    order: 3;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.1rem;
    margin: 0;
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
}

.signins-page[b-3p64cbtiww]  .signins-stats strong {
    color: var(--app-text);
    font-size: var(--app-step-1);
    font-variant-numeric: tabular-nums;
}

.signins-page[b-3p64cbtiww]  .signins-stats__read,
.signins-page[b-3p64cbtiww]  .signins-meta__warn {
    align-self: flex-end;
    font-size: var(--app-step--2);
    color: var(--app-text-soft);
}

.signins-page[b-3p64cbtiww]  .signins-meta__warn {
    color: var(--app-accent-warm);
}

/* ── Reach per app ────────────────────────────────────────────────────────── */

.signins-page[b-3p64cbtiww]  .signins-reach a {
    color: var(--app-text);
    font-weight: 600;
    text-decoration: none;
}

.signins-page[b-3p64cbtiww]  .signins-reach a:hover,
.signins-page[b-3p64cbtiww]  .signins-reach a:focus-visible {
    text-decoration: underline;
}

.signins-page[b-3p64cbtiww]  .signins-reach__bar {
    display: block;
    height: 4px;
    margin-top: .25rem;
    border-radius: 999px;
    background: var(--app-accent);
}

/* ── Panels ───────────────────────────────────────────────────────────────── */

.signins-page[b-3p64cbtiww]  .signins-panels {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--app-space-sm);
    align-items: start;
}

.signins-page[b-3p64cbtiww]  .signins-panels > .app-card {
    min-width: 0;
    padding: var(--app-space-sm);
}

.signins-page[b-3p64cbtiww]  .signins-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--app-space-sm);
    margin-bottom: var(--app-space-xs);
}

.signins-page[b-3p64cbtiww]  .signins-search-wrap {
    display: flex;
    align-items: center;
    gap: var(--app-space-2xs);
    background: var(--app-surface-soft);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-pill);
    padding: 0 var(--app-space-xs);
    height: 32px;
}

.signins-page[b-3p64cbtiww]  .signins-search-wrap:focus-within {
    border-color: var(--app-accent);
}

.signins-page[b-3p64cbtiww]  .signins-search-icon {
    font-size: 1.1rem;
    color: var(--app-text-muted);
}

.signins-page[b-3p64cbtiww]  .signins-search-input {
    background: transparent;
    border: 0;
    outline: none;
    color: var(--app-text);
    font-size: var(--app-step--1);
    min-width: 140px;
}

/* The field is a RadzenTextBox (owner decision 2026-11-21). Radzen's hover and focus states repaint it as a
   white, bordered, inset box inside our pill; the pill's own :focus-within ring is the focus signal here. */
.signins-page[b-3p64cbtiww]  .signins-search-wrap .rz-textbox.signins-search-input,
.signins-page[b-3p64cbtiww]  .signins-search-wrap .rz-textbox.signins-search-input:hover,
.signins-page[b-3p64cbtiww]  .signins-search-wrap .rz-textbox.signins-search-input:focus,
.signins-page[b-3p64cbtiww]  .signins-search-wrap .rz-textbox.signins-search-input:focus-visible {
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
    padding: 0;
    height: auto;
    min-height: 0;
}

/* Chromium and Safari draw their own clear button on type="search"; ours (which Firefox
   needs) sat right beside it, two × in a row. */
.signins-page[b-3p64cbtiww]  .signins-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

.signins-page[b-3p64cbtiww]  .signins-search-clear {
    background: transparent;
    border: 0;
    color: var(--app-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.signins-page[b-3p64cbtiww]  .signins-panel__title {
    margin: 0;
    font-size: var(--app-step-1);
    font-family: var(--app-headline-font);
    letter-spacing: -.02em;
}

.signins-page[b-3p64cbtiww]  .signins-panel__subtitle {
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    margin: 0;
    letter-spacing: .03em;
}

.signins-page[b-3p64cbtiww]  .signins-unavailable {
    padding: var(--app-space-md);
}

.signins-page[b-3p64cbtiww]  .signins-unavailable h2 {
    margin: 0 0 .4rem;
    font-size: var(--app-step-1);
}

.signins-page[b-3p64cbtiww]  .signins-unavailable p {
    margin: 0 0 .4rem;
    color: var(--app-text-muted);
    font-size: var(--app-step--1);
}

/* ── Tables ───────────────────────────────────────────────────────────────── */

/* Table chrome and its sideways-scroll container are the shared `.app-table` and
   `.app-table-scroll` in modern-ui.css; only the roster-specific cells live here. */

.signins-page[b-3p64cbtiww]  .signin-person__name {
    display: block;
    color: var(--app-text);
    font-weight: 600;
}

.signins-page[b-3p64cbtiww]  .signin-person__email {
    display: block;
    color: var(--app-text-soft);
    font-size: var(--app-step--2);
    font-weight: 400;
}

.signins-page[b-3p64cbtiww]  .signin-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
}

.signins-page[b-3p64cbtiww]  .signin-chip {
    display: inline-block;
    padding: var(--app-space-3xs) var(--app-space-2xs);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-pill);
    background: var(--app-surface-soft);
    color: var(--app-text-muted);
    font-size: var(--app-step--2);
}

/* The phone-only copy of the two date columns. Hidden wherever the real columns render, so
   exactly one copy of each date is ever in the accessibility tree. */
.signins-page[b-3p64cbtiww]  .signin-person__dates {
    display: none;
}

/* ── Mobile roster: three columns, not five ─────────────────────────────────
   Measured on the running app at 393px: the table was 493px inside a 339px scroller — the
   sign-in count and both dates were off-screen, the app-name chips were cut mid-word at
   the clip edge, and nothing indicated the table scrolled at all. Dropping the two date
   columns (repeated under the person's name by .signin-person__dates) is what makes the
   remaining three fit, so the roster needs no horizontal scroll on a phone.

   The 640px breakpoint is the app's phone breakpoint, matching --app-density's second
   step in modern-ui.css. */
@media (max-width: 640px) {
    .signins-page[b-3p64cbtiww]  .app-table .is-date-col {
        display: none;
    }

    .signins-page[b-3p64cbtiww]  .signin-person__dates {
        display: flex;
        flex-wrap: wrap;
        gap: 0 var(--app-space-xs);
        margin-top: .1rem;
        color: var(--app-text-soft);
        font-size: var(--app-step--2);
        font-weight: 400;
    }

    /* The person cell holds a name, a masked address and now two dates on one line each;
       letting it wrap is what keeps a long address from setting the column's min-content
       width and dragging the table wide again. */
    /* A masked address wraps at its "@" (a <wbr> in SignInRoster), not anywhere: at 390px
       "ma*******b@wsp.com" alone held the column wide enough to push the sign-in count past
       the scroller's edge even after the date columns went. */
    .signins-page[b-3p64cbtiww]  .app-table tbody th {
        white-space: normal;
    }

    .signins-page[b-3p64cbtiww]  .app-table th,
    .signins-page[b-3p64cbtiww]  .app-table td {
        padding-inline: var(--app-space-3xs);
    }
}

/* ── Disclosures (trend, raw feed) ────────────────────────────────────────── */

/* Disclosure chrome is the shared `.app-disclosure` in modern-ui.css. */
.signins-page[b-3p64cbtiww]  .app-disclosure .rz-chart {
    min-width: 0;
    height: 260px;
}

.signins-page[b-3p64cbtiww]  .signin-empty {
    color: var(--app-text-soft);
    font-size: var(--app-step--1);
    padding: var(--app-space-xs) 0;
}

/* ── Breakpoints ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .signins-page[b-3p64cbtiww]  .signins-panels {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .signins-page[b-3p64cbtiww]  .signins-header {
        align-items: flex-start;
    }

    .signins-page[b-3p64cbtiww]  .app-disclosure .rz-chart {
        height: 210px;
    }
}

/* A long filter is one unbroken word; without this the "No one matches" line ran out of the card. */
.signins-page[b-3p64cbtiww]  .signin-empty {
    overflow-wrap: anywhere;
}
/* /Layout/BottomNav.razor.rz.scp.css */
.app-bottom-nav[b-l4flfyumqe] {
    display: none;
}

@media (max-width: 768px) {
    .app-bottom-nav[b-l4flfyumqe] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(3.5rem + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        background: var(--app-surface-strong);
        border-top: 1px solid var(--app-border);
        box-shadow: var(--app-shadow-chrome);
        z-index: var(--app-z-header);
    }

    .app-bottom-nav__item[b-l4flfyumqe] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 44px;
        color: var(--app-text-muted);
        text-decoration: none;
        font-size: var(--app-step--2);
        font-weight: 600;
    }

    .app-bottom-nav__icon[b-l4flfyumqe] {
        font-size: 1.2rem;
    }

    .app-bottom-nav__item.is-active[b-l4flfyumqe] {
        color: var(--app-accent);
    }
}
/* /Layout/BuildVersion.razor.rz.scp.css */
/* The stamp itself is .po-version (po-tokens.css): fixed lower-right, lifted above the phone
   bottom nav by --po-stamp-lift. This wrapper only has to stay out of layout. */
.app-build-version[b-yoa46q8jri] {
    display: contents;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* ── Skip-to-content link ─────────────────────────────────────────────────────────
   First focusable element in the page. Visible only when focused by keyboard so it
   does not break the visual layout for mouse/touch users.
*/
.app-skip-link[b-st8s9b27ii] {
    position: absolute;
    left: var(--app-space-xs);
    top: -2.5rem;
    padding: var(--app-space-xs) var(--app-space-sm);
    background: var(--app-accent-strong);
    color: var(--app-on-accent);
    border-radius: 0 0 var(--app-radius-md) var(--app-radius-md);
    font-weight: 600;
    text-decoration: none;
    z-index: var(--app-z-skip);
    transition: top var(--app-dur-base) var(--app-ease-out);
}

.app-skip-link:focus[b-st8s9b27ii],
.app-skip-link:focus-visible[b-st8s9b27ii] {
    top: 0;
    outline: 2px solid var(--app-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .app-skip-link[b-st8s9b27ii] {
        transition: none;
    }
}
