/* /Components/Layout/AuthFrame.razor.rz.scp.css */
/* Archivo kerns the space between a cap-P and the next word nearly shut, so
   "Founding MSP Program" rendered as "MSPProgram". Even the spaces back out
   for this one line of copy. */
.auth-program-link[b-dry23wxguf] {
    font-kerning: none;
}

.auth-brand-logo-wrap[b-dry23wxguf] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    flex-shrink: 0;
}

.auth-brand-logo-wrap--pill[b-dry23wxguf] {
    padding: 6px 12px;
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-chalk-bright);
}

.auth-brand-logo[b-dry23wxguf] {
    display: block;
    max-height: 40px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-brand-mark-img[b-dry23wxguf] {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: var(--itrela-radius-control);
    object-fit: contain;
    flex-shrink: 0;
}

.auth-brand-monogram[b-dry23wxguf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-rail-accent);
    color: var(--itrela-rail-accent-ink);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: 1;
    flex-shrink: 0;
}

.auth-brand-subtitle[b-dry23wxguf] {
    margin: 0;
    max-width: 34ch;
    color: var(--itrela-rail-text);
    font-size: var(--itrela-text-16);
    line-height: 1.5;
}
/* /Components/Layout/DemoBanner.razor.rz.scp.css */
/* The demo strip: one thin steel-tinted line above every shell (staff app,
   client portal, sign-in). Steel (the palette's Info) is annotation duty in
   the theme, so the strip reads as a note about the page rather than a status
   or a second accent. Palette tokens only, so light, dark, and the portal's
   own theme all carry it. It sits in normal flow and scrolls away with the
   page, so no sticky header or pinned footer has to make room for it. */
.itrela-demo-banner[b-de3k6jrbib] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: 16px;
    row-gap: 2px;
    /* 28px inline: the desktop rail's seam toggle straddles this edge. */
    padding: 7px 28px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-info) 30%, var(--mud-palette-lines-default));
    background: color-mix(in oklab, var(--mud-palette-info) 9%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    line-height: 1.4;
    text-align: center;
}

.itrela-demo-banner-text--short[b-de3k6jrbib] {
    display: none;
}

.itrela-demo-banner-links[b-de3k6jrbib] {
    display: inline-flex;
    gap: 16px;
    white-space: nowrap;
}

.itrela-demo-banner-link[b-de3k6jrbib] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.itrela-demo-banner-link:hover[b-de3k6jrbib] {
    text-decoration-thickness: 2px;
}

.itrela-demo-banner-link:focus-visible[b-de3k6jrbib] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
    border-radius: var(--itrela-radius-small);
}

/* Phone: the short line and the links share at most two lines. */
@media (max-width: 599.98px) {
    .itrela-demo-banner[b-de3k6jrbib] {
        column-gap: 12px;
        padding: 6px 16px;
        font-size: var(--itrela-text-12);
    }

    .itrela-demo-banner-text--full[b-de3k6jrbib] {
        display: none;
    }

    .itrela-demo-banner-text--short[b-de3k6jrbib] {
        display: inline;
    }

    .itrela-demo-banner-links[b-de3k6jrbib] {
        gap: 12px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ──────────────────────────────────────────────────────────────────
   IMPORTANT SCOPING NOTE
   Blazor CSS isolation only tags elements MainLayout renders ITSELF —
   the brand link, the search row, the accordion header buttons, the
   help button, the appearance control, the drawer-footer div, the seam
   toggle, <main>. MudBlazor component roots (MudDrawer/.itrela-drawer,
   MudNavMenu/.itrela-nav, MudAppBar/.itrela-appbar, MudMainContent/.itrela-content)
   and anything MudBlazor draws for itself (MudNavLink's .mud-nav-item
   wrapper and its .mud-nav-link anchor) never receive the scope
   attribute, so BOTH plain and ::deep selectors that END at those
   classes silently match nothing. They may still appear as ANCESTORS:
   ".itrela-drawer.mud-drawer--closed .itrela-rail-search-label" works, because
   the scope lands on the last element in the selector.
   All styling anchored at those MudBlazor roots lives in
   wwwroot/css/app.css under "Sidebar & app frame".

   ONE escape hatch, and only one: a rule may END at a class MainLayout
   puts on a CHILD component (a Class="..." on a Mud* component) if it
   goes through `::deep` anchored on a plain element MainLayout renders
   itself — `.itrela-drawer-footer ::deep .itrela-user-menu` is the worked
   example. `::deep` compiles to "[scope] descendant", so the anchor is
   what carries the attribute. Without that anchor the rule matches
   nothing at all. NavigationRailContractTests'
   ScopedRules_EndingAtAChildComponentsClass_GoThroughADeepAnchor reads
   this file against MainLayout.razor and fails the suite when a rule
   here breaks that. It covers NotificationBell.razor.css too.
   ────────────────────────────────────────────────────────────────── */

/* Brand (own <a> element inside the drawer) — the Relay symbol and the
   lowercase display wordmark on the graphite rail, mirroring the login
   panel's lockup (fixed chalk/teal in both themes, exactly like the
   rail itself). */
.itrela-brand-row[b-0yld3vmrj4] {
    display: flex;
    align-items: center;
}

.itrela-brand[b-0yld3vmrj4] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.itrela-brand:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: 2px;
    border-radius: var(--itrela-radius-control);
}

.itrela-mobile-nav-close[b-0yld3vmrj4] {
    display: none;
}

/* ── Search row (own elements) ──────────────────────────────────────
   One search, two ways in: this row and Ctrl+K open the same
   GlobalSearchPalette. The app bar is mobile-only (app.css, "Desktop:
   full-height sidebar, no top bar"), so on a desktop this row is the only
   visible way to reach the palette. Collapsed, the magnifier stands alone
   and the key hint goes with the label — a hint nobody can read is noise. */
.itrela-rail-search[b-0yld3vmrj4] {
    /* Only .itrela-nav-scrollzone gives; the pinned blocks around it do not. */
    flex: 0 0 auto;
    padding: 0 14px 8px;
}

.itrela-rail-search-button[b-0yld3vmrj4] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--itrela-rail-hairline);
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-rail-hover);
    color: var(--itrela-rail-text);
    font: inherit;
    font-size: var(--itrela-text-13);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.itrela-rail-search-button:hover[b-0yld3vmrj4] {
    border-color: color-mix(in oklab, var(--itrela-chalk), transparent 62%);
    background: color-mix(in oklab, var(--itrela-chalk), transparent 90%);
    color: var(--itrela-chalk-bright);
}

.itrela-rail-search-button:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: 2px;
}

/* Through ::deep: the magnifier is a MudIcon, so its own root never carries
   this file's scope attribute. The button does. */
.itrela-rail-search-button[b-0yld3vmrj4]  .itrela-rail-search-icon {
    flex: 0 0 auto;
    font-size: 18px !important;
    opacity: 0.82;
}

.itrela-rail-search-label[b-0yld3vmrj4] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.itrela-rail-search-key[b-0yld3vmrj4] {
    flex: 0 0 auto;
    padding: 1px 6px;
    border: 1px solid var(--itrela-rail-hairline);
    border-radius: var(--itrela-radius-small);
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
    white-space: nowrap;
}

/* The rail collapses two ways: the saved preference (.mud-drawer--closed) and
   the automatic 960–1099px band. Both land on the same 72px shape. */
.itrela-drawer.mud-drawer--closed .itrela-rail-search[b-0yld3vmrj4] {
    display: flex;
    justify-content: center;
    padding: 0 14px 8px;
}

.itrela-drawer.mud-drawer--closed .itrela-rail-search-button[b-0yld3vmrj4] {
    width: 44px;
    min-height: 40px;
    justify-content: center;
    padding: 0;
}

.itrela-drawer.mud-drawer--closed .itrela-rail-search-label[b-0yld3vmrj4],
.itrela-drawer.mud-drawer--closed .itrela-rail-search-key[b-0yld3vmrj4] {
    display: none;
}

@media (min-width: 960px) and (max-width: 1099.98px) {
    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-rail-search[b-0yld3vmrj4] {
        display: flex;
        justify-content: center;
        padding: 0 14px 8px;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-rail-search-button[b-0yld3vmrj4] {
        width: 44px;
        min-height: 40px;
        justify-content: center;
        padding: 0;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-rail-search-label[b-0yld3vmrj4],
    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-rail-search-key[b-0yld3vmrj4] {
        display: none;
    }
}

/* ── Rail focus rings (own elements) ────────────────────────────────
   Focus wears the rail accent, not chalk. Chalk is already the rail's ink and
   its active pill, so a chalk ring competes with both; the accent reads as
   "you are here with the keyboard" and nothing else. --itrela-rail-copper holds
   the teal accent #3FC3CE — the token name is historical — and it measures
   8.36:1 on the rail.
   Group headers keep an inset offset: they run the full width of a scrolling
   column, and an outward ring would be clipped by that column's overflow.
   MudNavLink anchors are not reachable from this scoped stylesheet; their ring
   lives in app.css ("Sidebar & app frame"). */
.itrela-nav-accordion-header:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: -2px;
    border-radius: var(--itrela-radius-control);
}

.itrela-help-nav:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: -2px;
    border-radius: var(--itrela-radius-control);
}

.itrela-nav-discovery a:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: 2px;
    border-radius: var(--itrela-radius-small);
}

/* ── The two controls that float over BOTH grounds ──────────────────
   The seam toggle is fixed on the drawer's edge and the skip link lands
   over whatever the rail does not cover, so half of either ring sits on
   the graphite rail and half on the page. No single colour clears 3:1 on
   both — the rail accent is 7.44:1 on graphite and 1.83:1 on the light
   page. So these two wear a two-tone ring: teal inside, ink outside.
   Measured with WCAG 2.1 relative luminance:

     inner #3FC3CE  rail #1C2427 7.44:1 · rail #14191B 8.36:1
                    dark page #1A1D1E 8.00:1 · dark surface #212525 7.31:1
     outer #08181B  light page #ECEFEF 15.70:1 · light surface #FFFFFF 18.15:1
     inner vs outer 8.57:1

   Whichever ground a ring is over, one of its two rings clears 3:1 there
   and the two read against each other. box-shadow is one property, so the
   toggle's resting drop shadow is restated rather than lost. */
.itrela-seam-toggle:focus-visible[b-0yld3vmrj4],
.itrela-skip-link:focus[b-0yld3vmrj4],
.itrela-skip-link:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper-ink);
    outline-offset: 2px;
    box-shadow:
        0 0 0 2px var(--itrela-rail-copper);
}

/* ── Skip to content (own <a>) ──────────────────────────────────────
   The first tab stop. The rail is long — search row, daily work, four
   sections, utilities, account — so a keyboard user should not have to
   walk it to reach the page. Parked off-screen with a transform rather
   than display:none, which would take it out of the tab order too. The
   href does the jump; the code adds the focus move on top of it whenever
   the circuit can serve the click. */
.itrela-skip-link[b-0yld3vmrj4] {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1200;
    padding: 9px 15px;
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-drawer-background);
    color: var(--itrela-chalk-bright);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    transform: translateY(-250%);
    transition: transform 0.12s ease;
}

.itrela-skip-link:focus[b-0yld3vmrj4],
.itrela-skip-link:focus-visible[b-0yld3vmrj4] {
    transform: translateY(0);
}

/* ── Content column (own <main>) ────────────────────────────────── */
/* The shared padding and width cap retired with the legacy chrome: each
   page chrome now owns its own framing (UI_STYLE_GUIDE.md "Two page
   chromes"). What stays is the full-width box the workbench frame rules in
   app.css opt into. */

.itrela-content-inner[b-0yld3vmrj4] {
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 959.98px) {
    .itrela-content-inner[b-0yld3vmrj4] {
        /* MudBlazor's dense toolbar is three quarters of the theme height,
           plus the staff bar's one-pixel border. Share its clearance with
           sticky page headings; desktop and other layouts default to zero. */
        --itrela-page-header-top: calc(var(--mud-appbar-height, 64px) * .75 + 1px);
    }

    .itrela-brand[b-0yld3vmrj4] {
        padding: 12px 14px 10px;
    }

    .itrela-mobile-nav-close[b-0yld3vmrj4] {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 8px;
        padding: 0;
        border: 0;
        border-radius: var(--itrela-radius-control);
        background: transparent;
        color: var(--itrela-rail-text);
        cursor: pointer;
    }

    .itrela-mobile-nav-close:hover[b-0yld3vmrj4] {
        background: var(--itrela-rail-hover);
        color: var(--itrela-chalk-bright);
    }

    .itrela-mobile-nav-close:focus-visible[b-0yld3vmrj4] {
        outline: 2px solid var(--itrela-rail-copper);
        outline-offset: -2px;
    }

    /* Hide desktop keyboard shortcut hint inside the mobile drawer Search button. */
    .itrela-rail-search-key[b-0yld3vmrj4] {
        display: none;
    }

    .itrela-drawer-footer[b-0yld3vmrj4] {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }
}

/* Short windows (app.css, "Short windows"): the brand, search and footer
   rows give back their spare air so the whole rail fits at 730px tall. The
   72px rail's own rules outrank these and keep its 40px+ targets. */
@media (min-width: 960px) and (max-height: 820px) {
    .itrela-brand[b-0yld3vmrj4] {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .itrela-rail-search[b-0yld3vmrj4] {
        padding-bottom: 6px;
    }

    .itrela-rail-search-button[b-0yld3vmrj4] {
        min-height: 30px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .itrela-drawer-footer[b-0yld3vmrj4] {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* ── Drawer footer: account, Help, Settings in one row (own elements) ──
   The account chip takes the room; Help & learning and Settings sit after it
   as 36px icon buttons (app.css styles them, since they ride MudNavMenu and
   MudNavLink, whose roots never carry this file's scope). The row is what
   lets the whole rail fit a 1080p laptop at 125%. */

.itrela-drawer-footer[b-0yld3vmrj4] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-top: 1px solid var(--itrela-rail-hairline);
    color: var(--itrela-rail-text-dim);
}

/* MudMenu wraps the activator; its root takes the row's spare room so the
   name gets every pixel the two icon buttons leave. */
.itrela-drawer-footer[b-0yld3vmrj4]  .itrela-user-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.itrela-account-trigger[b-0yld3vmrj4] {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 6px;
    border-radius: var(--itrela-radius-control);
    border: 0;
    background: transparent;
    color: var(--itrela-chalk-bright);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.itrela-account-avatar[b-0yld3vmrj4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--itrela-rail-active);
    color: var(--itrela-chalk-bright);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1;
    overflow: hidden;
}

.itrela-account-avatar img[b-0yld3vmrj4] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.itrela-account-copy[b-0yld3vmrj4] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.itrela-account-name[b-0yld3vmrj4],
.itrela-account-role[b-0yld3vmrj4] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.itrela-account-name[b-0yld3vmrj4] {
    color: var(--itrela-chalk-bright);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.itrela-account-role[b-0yld3vmrj4] {
    margin-top: 1px;
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.itrela-account-trigger:hover[b-0yld3vmrj4] {
    background: var(--itrela-rail-hover);
}

.itrela-account-trigger:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--itrela-rail-copper);
    outline-offset: -2px;
}

/* Collapsed mini-rail: the row stands up as a column of 44px targets. The
   centering lives here (not only in app.css) so Blazor's scoped attribute
   does not outrank the collapsed override and clip the avatar inside the
   72px rail. */
.itrela-drawer.mud-drawer--closed .itrela-drawer-footer[b-0yld3vmrj4] {
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px 12px;
    align-items: center;
}

.itrela-drawer.mud-drawer--closed .itrela-drawer-footer[b-0yld3vmrj4]  .itrela-user-menu {
    flex: 0 0 44px;
    width: 44px;
}

.itrela-drawer.mud-drawer--closed .itrela-account-trigger[b-0yld3vmrj4] {
    grid-template-columns: 30px;
    box-sizing: border-box;
    width: 44px;
    min-height: 44px;
    justify-content: center;
    justify-items: center;
    padding: 4px;
    gap: 0;
}

.itrela-drawer.mud-drawer--closed .itrela-account-copy[b-0yld3vmrj4] {
    display: none;
}

@media (min-width: 960px) and (max-width: 1099.98px) {
    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-drawer-footer[b-0yld3vmrj4] {
        flex-direction: column;
        gap: 2px;
        padding: 8px 14px 12px;
        align-items: center;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-drawer-footer[b-0yld3vmrj4]  .itrela-user-menu {
        flex: 0 0 44px;
        width: 44px;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-account-trigger[b-0yld3vmrj4] {
        grid-template-columns: 30px;
        box-sizing: border-box;
        width: 44px;
        min-height: 44px;
        justify-content: center;
        justify-items: center;
        padding: 4px;
        gap: 0;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-account-copy[b-0yld3vmrj4] {
        display: none;
    }
}

/* ── Appearance control (account menu) ──────────────────────────────
   Two buttons, both labelled, both showing which one is on. The single item
   this replaced wore the name of the mode you were not in. The menu popover
   sits on the page surface, not on the rail, so these use the page palette
   like every other item in the menu. "Match system" belongs in Settings. */
.itrela-appearance[b-0yld3vmrj4] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
    padding: 6px 12px;
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-primary);
}

/* Both icons are MudIcons; the row and the buttons are our own elements, so
   ::deep anchors on them (see the scoping note at the top of this file). */
.itrela-appearance[b-0yld3vmrj4]  .itrela-appearance-icon {
    flex: 0 0 auto;
    color: var(--mud-palette-action-default);
}

.itrela-appearance-label[b-0yld3vmrj4] {
    flex: 1 1 auto;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
}

.itrela-appearance-choices[b-0yld3vmrj4] {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
}

.itrela-appearance-choice[b-0yld3vmrj4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: var(--itrela-radius-small);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.itrela-appearance-choice:hover[b-0yld3vmrj4] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

/* Selected has to read differently from hover, or the control answers
   "which one is on?" only for the pointer that is already on it. */
.itrela-appearance-choice.is-selected[b-0yld3vmrj4] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
}

.itrela-appearance-choice:focus-visible[b-0yld3vmrj4] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.itrela-appearance-choice[b-0yld3vmrj4]  .itrela-appearance-choice-icon {
    font-size: 15px !important;
}
/* /Components/Layout/MarketingLayout.razor.rz.scp.css */
/* Itrela materials: cool grounds, teal accent, steel second. The layout is
   untouched — only the paint changed. This layout forces light mode, so the
   palette variables always resolve to the light grades. */
.marketing-frame[b-0m0156pop0] {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 12%, rgba(11, 111, 121, 0.11), transparent 31rem),
        radial-gradient(circle at 92% 0%, rgba(75, 94, 102, 0.12), transparent 30rem),
        var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.marketing-header[b-0m0156pop0] {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 5vw;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: rgba(236, 239, 239, 0.9);
    backdrop-filter: blur(18px);
}

.marketing-brand[b-0m0156pop0] {
    display: inline-flex;
    align-items: center;
}

.marketing-brand > span[b-0m0156pop0] {
    display: block;
    color: var(--itrela-graphite);
    font-family: "Archivo", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.marketing-nav[b-0m0156pop0] {
    display: flex;
    align-items: center;
    gap: 1.65rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.marketing-nav a[b-0m0156pop0],
.marketing-footer a[b-0m0156pop0] {
    color: inherit;
    text-decoration: none;
}

.marketing-nav a:hover[b-0m0156pop0],
.marketing-footer a:hover[b-0m0156pop0] {
    color: var(--mud-palette-primary);
}

.marketing-nav .marketing-nav-cta[b-0m0156pop0] {
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.marketing-nav .marketing-nav-cta:hover[b-0m0156pop0] {
    background: var(--mud-palette-primary-darken);
    color: var(--mud-palette-primary-text);
}

.marketing-login[b-0m0156pop0] {
    padding-left: 1.1rem;
    border-left: 1px solid var(--mud-palette-lines-default);
}

.marketing-main[b-0m0156pop0] {
    min-height: calc(100vh - 168px);
}

.marketing-footer[b-0m0156pop0] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5vw;
    border-top: 1px solid rgba(232, 237, 237, 0.14);
    background: var(--itrela-rail-base);
    color: rgba(232, 237, 237, 0.76);
    font-size: 0.82rem;
}

.marketing-footer > div[b-0m0156pop0] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--itrela-chalk-bright);
    font-size: 1.15rem;
    font-weight: 600;
}

.marketing-footer img[b-0m0156pop0] {
    width: 28px;
    filter: brightness(0) invert(1);
}

.marketing-footer p[b-0m0156pop0] {
    margin: 0;
    text-align: center;
}

.marketing-footer a[b-0m0156pop0] {
    color: var(--itrela-chalk);
}

@media (max-width: 760px) {
    .marketing-header[b-0m0156pop0] {
        min-height: 66px;
        padding: 0 1.1rem;
    }

    .marketing-brand > span[b-0m0156pop0] {
        font-size: 1.7rem;
    }

    .marketing-nav[b-0m0156pop0] {
        gap: 0.7rem;
    }

    .marketing-nav a:not(.marketing-nav-cta):not(.marketing-login)[b-0m0156pop0] {
        display: none;
    }

    .marketing-login[b-0m0156pop0] {
        padding-left: 0.75rem;
    }

    .marketing-footer[b-0m0156pop0] {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        text-align: center;
    }

    .marketing-footer > div[b-0m0156pop0] {
        justify-content: center;
    }
}
/* /Components/Layout/NotificationBell.razor.rz.scp.css */
.itrela-notif-button[b-i78331uby3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.itrela-notif-button:hover[b-i78331uby3] {
    background: color-mix(in oklab, currentColor, transparent 85%);
}

.itrela-notif-button:focus-visible[b-i78331uby3] {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Drawer-nav variant: a button dressed as a nav link. MudBlazor's
   .mud-nav-link class supplies layout/hover; this resets button chrome
   and the nav data-count pill CSS in app.css supplies the badge. */
.itrela-notif-nav[b-i78331uby3] {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.itrela-notif-panel[b-i78331uby3] {
    width: 380px;
    max-width: 92vw;
    /* Explicit paper background so arbitrary (non-MudMenuItem) content can
       never render see-through, whatever the popover host paints. */
    background: var(--mud-palette-surface);
}

.itrela-notif-header[b-i78331uby3] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

/* The F19 popover header is a whisper label plus a mono count, not a title
   with a button. */
.itrela-notif-title[b-i78331uby3] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

.itrela-notif-total[b-i78331uby3] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.itrela-notif-empty[b-i78331uby3] {
    padding: 24px 16px;
    font-size: var(--itrela-text-14);
    opacity: 0.7;
}

.itrela-notif-loading[b-i78331uby3] {
    display: flex;
    justify-content: center;
    padding: 24px 16px;
}

.itrela-notif-failure[b-i78331uby3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.itrela-notif-items[b-i78331uby3] {
    /* Short phones: leave room for header + footer instead of letting
       the popover clip a row against the footer. */
    max-height: min(420px, calc(100dvh - 220px));
    overflow-y: auto;
}

/* Scroll affordance at the fold — a clipped sixth row otherwise reads
   as breakage rather than "there's more". */
.itrela-notif-items[b-i78331uby3]::after {
    content: "";
    position: sticky;
    display: block;
    bottom: 0;
    height: 18px;
    margin-top: -18px;
    background: linear-gradient(to bottom, transparent, var(--mud-palette-surface));
    pointer-events: none;
}

.itrela-notif-item[b-i78331uby3] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.itrela-notif-item:hover[b-i78331uby3] {
    background: color-mix(in oklab, currentColor, transparent 88%);
}

.itrela-notif-item:focus-visible[b-i78331uby3] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.itrela-notif-item-body[b-i78331uby3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.itrela-notif-item-message[b-i78331uby3] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Unread is the full-row accent tint, not a dot (F19). */
.itrela-notif-item--unread[b-i78331uby3] {
    background: var(--mud-palette-primary-lighten);
}

.itrela-notif-item--unread:hover[b-i78331uby3] {
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 88%);
}

.itrela-notif-item-meta[b-i78331uby3] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    /* One line always — a wrapped orphan "ago" breaks the row rhythm.
       The client name yields; the timestamp stays whole. */
    display: flex;
    white-space: nowrap;
    min-width: 0;
}

.itrela-notif-item-client[b-i78331uby3] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.itrela-notif-item-time[b-i78331uby3] {
    flex: 0 0 auto;
}
/* /Components/Layout/PortalLayout.razor.rz.scp.css */
.itrela-skip-link[b-mtndfsie4k] {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1200;
    padding: 9px 15px;
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    transform: translateY(-250%);
    transition: transform 0.12s ease;
}

.itrela-skip-link:focus[b-mtndfsie4k],
.itrela-skip-link:focus-visible[b-mtndfsie4k] {
    transform: translateY(0);
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* One column for the whole portal: the header's contents, the page and the
   footer share this width, so the logo starts where the page starts. */
.portal-shell[b-mtndfsie4k] {
    --itrela-portal-column: 960px;
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    overflow-x: clip;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.portal-header[b-mtndfsie4k] {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--itrela-line);
    background: var(--mud-palette-surface);
}

.portal-header-inner[b-mtndfsie4k] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: var(--itrela-portal-column);
    min-height: 47px;
    margin: 0 auto;
    padding: var(--itrela-space-8) var(--itrela-space-24);
}

.portal-brand[b-mtndfsie4k] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-width: 0;
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.portal-brand--static[b-mtndfsie4k] {
    cursor: default;
}

.portal-brand:focus-visible[b-mtndfsie4k] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-brand-mark[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--itrela-radius-control);
    flex-shrink: 0;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    overflow: hidden;
}

.portal-brand-mark--image[b-mtndfsie4k] {
    background: transparent;
}

.portal-brand-mark-img[b-mtndfsie4k] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-brand-logo-frame[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: auto;
    max-width: 200px;
    height: 36px;
    flex: 0 1 auto;
}

.portal-brand-logo-frame--dark[b-mtndfsie4k] {
    padding: 4px;
    border-radius: var(--itrela-radius-control);
    background: rgba(244, 247, 247, 0.92);
}

.portal-brand-logo[b-mtndfsie4k] {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-brand-name[b-mtndfsie4k] {
    overflow: hidden;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-brand-context[b-mtndfsie4k] {
    flex-shrink: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
    white-space: nowrap;
}

.portal-nav[b-mtndfsie4k] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    margin-left: 4px;
}

/* Portal nav is calm text with a crisp active bottom hairline indicator,
   never filled pills. */
[b-mtndfsie4k] .portal-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 8px;
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--itrela-motion-fast) var(--itrela-ease),
        background var(--itrela-motion-fast) var(--itrela-ease);
}

[b-mtndfsie4k] .portal-nav-link:hover {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

[b-mtndfsie4k] .portal-nav-link:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

[b-mtndfsie4k] .portal-nav-link.active {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

[b-mtndfsie4k] .portal-nav-link.active::after {
    content: "";
    position: absolute;
    right: var(--itrela-space-12);
    bottom: 2px;
    left: var(--itrela-space-12);
    height: 2px;
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-primary);
}

.portal-user[b-mtndfsie4k] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-width: 0;
    margin-left: auto;
}

.portal-theme-group[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
}

.portal-theme-choice[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--itrela-radius-small);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.portal-theme-choice:hover[b-mtndfsie4k] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-theme-choice.is-selected[b-mtndfsie4k] {
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
}

.portal-theme-choice:focus-visible[b-mtndfsie4k],
.portal-mobile-theme-trigger:focus-visible[b-mtndfsie4k],
.portal-mobile-menu-trigger:focus-visible[b-mtndfsie4k] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.portal-user-chip[b-mtndfsie4k] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-width: 0;
    padding: 3px var(--itrela-space-8) 3px 3px;
    border-radius: var(--itrela-radius-pill);
    color: inherit;
    text-decoration: none;
    transition: background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-user-chip:hover[b-mtndfsie4k] {
    background: var(--mud-palette-action-default-hover);
}

.portal-user-chip:focus-visible[b-mtndfsie4k] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-user-avatar[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.portal-user-name[b-mtndfsie4k] {
    overflow: hidden;
    max-width: 150px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-logout-form[b-mtndfsie4k] {
    display: inline;
    flex-shrink: 0;
}

.portal-logout[b-mtndfsie4k] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 var(--itrela-space-8);
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: none;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    white-space: nowrap;
    transition: color var(--itrela-motion-fast) var(--itrela-ease),
        background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-logout:hover[b-mtndfsie4k] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-logout:focus-visible[b-mtndfsie4k] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-mobile-actions[b-mtndfsie4k] {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.portal-mobile-menu[b-mtndfsie4k] {
    display: none;
}

.portal-mobile-theme-trigger[b-mtndfsie4k],
.portal-mobile-menu-trigger[b-mtndfsie4k] {
    position: relative;
    z-index: 3;
    display: grid;
    width: 36px;
    height: 36px;
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    place-items: center;
    transition: border-color var(--itrela-motion-fast) var(--itrela-ease),
        background var(--itrela-motion-fast) var(--itrela-ease),
        color var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-mobile-menu-trigger:focus-visible[b-mtndfsie4k] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-mobile-menu.is-open .portal-mobile-menu-trigger[b-mtndfsie4k] {
    border-color: color-mix(in oklab, var(--mud-palette-primary) 45%, var(--itrela-line));
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
}

.portal-mobile-menu-backdrop[b-mtndfsie4k] {
    position: fixed;
    z-index: 1;
    inset: 0;
}

.portal-mobile-menu-panel[b-mtndfsie4k] {
    position: absolute;
    z-index: 2;
    top: calc(100% + 4px);
    right: var(--itrela-space-12);
    left: var(--itrela-space-12);
    overflow: hidden;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: var(--itrela-shadow-float);
}

.portal-mobile-menu-panel nav[b-mtndfsie4k],
.portal-mobile-account[b-mtndfsie4k] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--itrela-space-8);
}

.portal-mobile-account[b-mtndfsie4k] {
    border-top: 1px solid var(--itrela-line);
}

.portal-mobile-account form[b-mtndfsie4k] {
    display: contents;
}

.portal-mobile-theme-row[b-mtndfsie4k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 6px 10px;
}

.portal-mobile-theme-label[b-mtndfsie4k] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
}

[b-mtndfsie4k] .portal-mobile-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--itrela-space-12);
    width: 100%;
    min-height: 44px;
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: none;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
    text-align: left;
    text-decoration: none;
    transition: background var(--itrela-motion-fast) var(--itrela-ease),
        color var(--itrela-motion-fast) var(--itrela-ease);
}

[b-mtndfsie4k] .portal-mobile-link:hover {
    background: var(--mud-palette-action-default-hover);
}

[b-mtndfsie4k] .portal-mobile-link:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(var(--itrela-focus-offset) * -1);
}

[b-mtndfsie4k] .portal-mobile-link.active {
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.portal-main[b-mtndfsie4k] {
    flex: 1;
    width: 100%;
    max-width: var(--itrela-portal-column);
    margin: 0 auto;
    padding: var(--itrela-space-24) var(--itrela-space-24) var(--itrela-space-48);
    outline: none;
}

.portal-announcement[b-mtndfsie4k] {
    display: flex;
    align-items: flex-start;
    gap: var(--itrela-space-12);
    margin-bottom: var(--itrela-space-16);
    padding: var(--itrela-space-12) var(--itrela-space-12) var(--itrela-space-12) var(--itrela-space-16);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
}

.portal-announcement--critical[b-mtndfsie4k] {
    border-color: color-mix(in oklab, var(--itrela-status-critical) 38%, var(--itrela-line));
    background: color-mix(in oklab, var(--itrela-status-critical) 7%, var(--mud-palette-surface));
}

.portal-announcement--warning[b-mtndfsie4k] {
    border-color: color-mix(in oklab, var(--itrela-status-warning) 38%, var(--itrela-line));
    background: color-mix(in oklab, var(--itrela-status-warning) 7%, var(--mud-palette-surface));
}

.portal-announcement--info[b-mtndfsie4k] {
    border-color: color-mix(in oklab, var(--itrela-status-info) 32%, var(--itrela-line));
    background: color-mix(in oklab, var(--itrela-status-info) 6%, var(--mud-palette-surface));
}

.portal-announcement-copy[b-mtndfsie4k] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.portal-foot[b-mtndfsie4k] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: var(--itrela-portal-column);
    margin: 0 auto;
    padding: var(--itrela-space-16) var(--itrela-space-24) var(--itrela-space-32);
    border-top: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.portal-foot-primary[b-mtndfsie4k] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
}

.portal-foot-hours[b-mtndfsie4k] {
    color: var(--mud-palette-text-secondary);
}

.portal-foot-contact[b-mtndfsie4k],
.portal-foot-meta[b-mtndfsie4k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
}

.portal-foot-contact a[b-mtndfsie4k],
.portal-foot-meta a[b-mtndfsie4k] {
    color: var(--mud-palette-text-secondary);
    text-decoration: none;
}

.portal-foot-contact a:hover[b-mtndfsie4k],
.portal-foot-meta a:hover[b-mtndfsie4k] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.portal-foot-attribution[b-mtndfsie4k] {
    color: var(--mud-palette-text-disabled);
}

/* ── Shared Portal Surface Harmonization (Wave 5B) ───────────────────────
   Upgrades shared portal cards, page headers, home rows, auth cards, and
   search panels onto Itrela's flat shadowless hairline grammar without
   editing app.css. */

.portal-shell[b-mtndfsie4k]  .portal-card,
.portal-shell[b-mtndfsie4k]  .portal-home-card:not(.portal-home-waiting),
.portal-shell[b-mtndfsie4k]  .portal-panel:not(.portal-home-waiting),
.portal-shell[b-mtndfsie4k]  .portal-auth-card {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: none;
}

.portal-shell[b-mtndfsie4k]  .portal-page-head--tinted {
    padding: var(--itrela-space-16) var(--itrela-space-24);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--itrela-portal-accent-tint) 38%, var(--mud-palette-surface));
}

.portal-shell[b-mtndfsie4k]  .portal-search-band {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-shell[b-mtndfsie4k]  .portal-home-card--money {
    border-color: var(--itrela-line);
}

.portal-shell[b-mtndfsie4k]  .portal-home-card-head {
    padding: var(--itrela-space-16);
    border-bottom: 1px solid var(--itrela-line);
}

.portal-shell[b-mtndfsie4k]  .portal-home-row {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-bottom: 1px solid var(--itrela-line);
    transition: background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-shell[b-mtndfsie4k]  .portal-home-row:last-child {
    border-bottom: 0;
}

.portal-shell[b-mtndfsie4k]  .portal-home-row:hover {
    background: var(--mud-palette-table-striped);
}

.portal-shell[b-mtndfsie4k]  .portal-home-pay {
    min-height: 32px;
    padding: 0 var(--itrela-space-12);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    transition: border-color var(--itrela-motion-fast) var(--itrela-ease),
        color var(--itrela-motion-fast) var(--itrela-ease),
        background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-shell[b-mtndfsie4k]  .portal-home-row:hover .portal-home-pay {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.portal-shell[b-mtndfsie4k]  .portal-home-card-foot {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

.portal-shell[b-mtndfsie4k]  .portal-home-all-clear {
    color: var(--itrela-status-ok);
}

.portal-shell[b-mtndfsie4k]  .portal-card-wrap {
    max-width: 440px;
}

.portal-shell[b-mtndfsie4k]  .portal-auth-card .mud-card-content {
    padding: var(--itrela-space-24);
}

.portal-shell[b-mtndfsie4k]  .portal-auth-demo {
    padding: var(--itrela-space-16);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--itrela-portal-accent-tint) 42%, var(--mud-palette-surface));
}

.portal-shell[b-mtndfsie4k]  .portal-auth-wrong-door,
.portal-shell[b-mtndfsie4k]  .portal-auth-escape {
    border-top: 1px solid var(--itrela-line);
}

.portal-shell[b-mtndfsie4k]  .portal-continue {
    min-height: 40px;
    padding: var(--itrela-space-8) var(--itrela-space-16);
    font-size: var(--itrela-text-14);
}

.portal-shell[b-mtndfsie4k]  .portal-continue:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-shell[b-mtndfsie4k]  .portal-pay-card {
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary) 35%, var(--itrela-line));
    background: color-mix(in oklab, var(--itrela-portal-accent-tint) 32%, var(--mud-palette-surface));
}

.portal-shell[b-mtndfsie4k]  .portal-profile-row {
    border-bottom: 1px solid var(--itrela-line);
}

.portal-shell[b-mtndfsie4k]  .portal-profile-row:last-child {
    border-bottom: 0;
}

.portal-shell[b-mtndfsie4k]  .mud-alert {
    border-radius: var(--itrela-radius-control);
}

.portal-shell[b-mtndfsie4k]  .mud-expand-panels .mud-expand-panel {
    overflow: hidden;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    box-shadow: none;
}

@media (max-width: 760px) {
    .portal-header-inner[b-mtndfsie4k] {
        padding: var(--itrela-space-8) var(--itrela-space-12);
    }

    .portal-desktop-only[b-mtndfsie4k] {
        display: none;
    }

    .portal-mobile-actions[b-mtndfsie4k] {
        display: flex;
    }

    .portal-mobile-menu[b-mtndfsie4k] {
        display: block;
    }

    .portal-brand-logo-frame[b-mtndfsie4k] {
        max-width: 140px;
    }

    .portal-main[b-mtndfsie4k] {
        padding: var(--itrela-space-16) var(--itrela-space-12) var(--itrela-space-32);
    }

    .portal-mobile-theme-trigger[b-mtndfsie4k],
    .portal-mobile-menu-trigger[b-mtndfsie4k],
    [b-mtndfsie4k] .portal-mobile-link {
        min-width: 44px;
        min-height: 44px;
    }

    .portal-theme-choice[b-mtndfsie4k] {
        width: 36px;
        height: 36px;
    }

    .portal-foot[b-mtndfsie4k] {
        flex-direction: column;
        padding: var(--itrela-space-16) var(--itrela-space-12) var(--itrela-space-24);
        align-items: center;
        text-align: center;
    }

    .portal-foot-primary[b-mtndfsie4k],
    .portal-foot-contact[b-mtndfsie4k],
    .portal-foot-meta[b-mtndfsie4k] {
        justify-content: center;
    }

    .portal-shell[b-mtndfsie4k]  .portal-page-head--tinted {
        padding: var(--itrela-space-16);
    }

    .portal-shell[b-mtndfsie4k]  .portal-auth-card .mud-card-content {
        padding: var(--itrela-space-16);
    }
}

@media (max-width: 399px) {
    .portal-brand-context[b-mtndfsie4k] {
        display: none;
    }
}
/* /Components/Layout/RailBrandContent.razor.rz.scp.css */
.itrela-brand-glyph[b-nr2jkkeo4x] {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.itrela-brand-name[b-nr2jkkeo4x] {
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-16);
    color: var(--itrela-chalk);
    letter-spacing: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.itrela-brand:hover .itrela-brand-name[b-nr2jkkeo4x] {
    color: var(--itrela-chalk-bright);
}

.itrela-brand-collapsed-mark[b-nr2jkkeo4x] {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.itrela-brand-expanded[b-nr2jkkeo4x] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.itrela-brand-logo-wrap[b-nr2jkkeo4x] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
}

.itrela-brand-logo-wrap--pill[b-nr2jkkeo4x] {
    padding: 3px 8px;
    border-radius: var(--itrela-radius-small);
    background: var(--itrela-chalk-bright);
}

.itrela-brand-logo[b-nr2jkkeo4x] {
    display: block;
    max-height: 28px;
    max-width: 152px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.itrela-brand-mark-img[b-nr2jkkeo4x] {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: var(--itrela-radius-small);
    object-fit: contain;
    flex-shrink: 0;
}

.itrela-brand-monogram[b-nr2jkkeo4x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-rail-accent);
    color: var(--itrela-rail-accent-ink);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1;
    flex-shrink: 0;
}

.itrela-drawer.mud-drawer--closed .itrela-brand-expanded[b-nr2jkkeo4x] {
    display: none;
}

.itrela-drawer.mud-drawer--closed .itrela-brand-collapsed-mark[b-nr2jkkeo4x] {
    display: inline-flex;
}

@media (min-width: 960px) and (max-width: 1099.98px) {
    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-brand-expanded[b-nr2jkkeo4x] {
        display: none;
    }

    .itrela-drawer:not(.itrela-drawer--compact-expanded) .itrela-brand-collapsed-mark[b-nr2jkkeo4x] {
        display: inline-flex;
    }
}
/* /Components/Layout/RailCountNote.razor.rz.scp.css */
/* Screen-reader only. The count is already on screen as the badge pill or the
   mini-rail dot; this copy exists so the number reaches the link's accessible
   name in both rail widths. Same clip technique the collapsed rail uses for
   nav labels (app.css, "Collapsed rail") — never display:none, which would
   take the words out of the accessibility tree along with the pixels. */
.itrela-rail-count-note[b-kiyyyi4ffn] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* /Components/Layout/TimerIndicator.razor.rz.scp.css */
/* TimerIndicator's own chrome. The chip's base styling lives in app.css
   under "Sidebar & app frame" (its app-bar and drawer ancestors are
   MudBlazor roots scoped CSS cannot reach); only rules that target elements
   this component renders itself belong here. */

/* Phone app bar (<600px): the bar already carries five controls, so the
   chip goes icon-only — glyph + the ✕ — matching the bar's other icon
   buttons. The label stays in the accessibility tree (the same clip idiom
   the collapsed rail uses for its nav-item text), the tooltip keeps the
   full sentence, and the drawer row still carries the words. */
@media (max-width: 599.98px) {
    .itrela-timer-chip > span[b-ihznzi502q],
    .itrela-working-chip-link > span[b-ihznzi502q] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
/* /Components/Pages/Account/AccountShell.razor.rz.scp.css */
/* Account shell — the account section's nav rail inside the composed chrome.
   ComposedShell owns the pinned head and the centred column; this sheet owns
   the rail arrangement within the column. Scoped under .settings-layout so
   ::deep reaches into MudBlazor children. Desktop: sticky side rail. Below
   md: a horizontal, scrollable pill strip. */

.settings-layout[b-61wifo37fl] {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: var(--itrela-card-gap);
    align-items: start;
}

/* Sticky below the pinned composed head: 60px of head plus the column's card
   gap of air. */
.settings-layout[b-61wifo37fl]  .settings-nav {
    position: sticky;
    top: calc(60px + var(--itrela-card-gap));
    max-height: calc(100dvh - 60px - (2 * var(--itrela-card-gap)));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-bottom: 14px;
}

.settings-layout[b-61wifo37fl]  .settings-nav::after {
    content: "";
    position: sticky;
    display: block;
    bottom: 0;
    height: 26px;
    margin-top: -26px;
    background: linear-gradient(to bottom, transparent, var(--mud-palette-surface));
    pointer-events: none;
}

.settings-layout[b-61wifo37fl]  .settings-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

/* Full-bleed nav list: the card pattern's --itrela-card-pad is too generous for a
   rail of nav links, so the interior pads here (the old pa-2 value); the phone
   pill strip below tightens it further. */
.settings-layout[b-61wifo37fl]  .settings-nav-body {
    padding: 8px;
}

.settings-layout[b-61wifo37fl]  .mud-nav-link {
    border-radius: var(--itrela-radius-control);
    margin: 2px 4px;
}

.settings-layout[b-61wifo37fl]  .mud-nav-link.active {
    background: var(--mud-palette-primary-lighten);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

@media (max-width: 959.98px) {
    .settings-layout[b-61wifo37fl] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--itrela-card-gap);
    }

    /* Below the pinned composed head with 8px of air. The head pins at the
       viewport top on every viewport; on mobile the fixed app bar covers its
       first 48px, but the strip only has to clear the head. */
    .settings-layout[b-61wifo37fl]  .settings-nav {
        position: sticky;
        top: calc(60px + 8px);
        z-index: 20;
        max-height: none;
        overflow: visible;
        background: var(--mud-palette-surface);
        padding-bottom: 0;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        height: auto;
        width: 28px;
        margin-top: 0;
        background: linear-gradient(to right, transparent, var(--mud-palette-surface));
        border-radius: 0 var(--itrela-radius-surface) var(--itrela-radius-surface) 0;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav-body {
        padding: 6px !important;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav-menu {
        display: flex;
        align-items: center;
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        padding-right: 26px;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav-menu .mud-nav-item {
        flex: 0 0 auto;
        width: auto;
        scroll-snap-align: start;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav-menu .mud-nav-link {
        width: auto;
        white-space: nowrap;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .settings-layout[b-61wifo37fl]  .settings-nav-menu .mud-nav-link {
        min-height: 40px;
        padding: 8px 12px;
    }

    .settings-layout[b-61wifo37fl]  .settings-nav-menu .mud-nav-link-icon {
        display: none;
    }
}
/* /Components/Pages/Account/CalendarConnections.razor.rz.scp.css */
/* Base layout for .cal-conn-row / .cal-conn-main / .cal-conn-title lives in
   app.css. This file only fixes the phone reflow: below 600px the status chip
   was overflowing the shrunken title column underneath the row's action
   button. Wrap the row so the action drops to its own right-aligned line. */

.cal-conn-action[b-jd1lwo279k] {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .cal-conn-row[b-jd1lwo279k] {
        flex-wrap: wrap;
    }

    .cal-conn-main[b-jd1lwo279k] {
        flex: 1 1 100%;
    }

    .cal-conn-title[b-jd1lwo279k] {
        flex-wrap: wrap;
    }

    .cal-conn-action[b-jd1lwo279k] {
        flex: 1 1 100%;
        display: flex;
        justify-content: flex-end;
    }
}
/* /Components/Pages/Account/Notifications.razor.rz.scp.css */
.notification-preferences[b-jxpfde1134] {
  display: flex;
  flex-direction: column;
  gap: var(--itrela-card-gap);
  min-width: 0;
}

.preference-section[b-jxpfde1134] {
  min-width: 0;
}

.notification-preferences[b-jxpfde1134]  .preference-card {
  min-width: 0;
  overflow: hidden;
}

.kind-group[b-jxpfde1134] {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--itrela-card-section-gap);
  align-items: start;
  padding-block: var(--itrela-card-section-gap);
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.kind-group:last-child[b-jxpfde1134] {
  padding-bottom: 0;
  border-bottom: 0;
}

.kind-group-title[b-jxpfde1134] {
  padding-top: 6px;
}

.kind-grid[b-jxpfde1134] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px var(--itrela-card-section-gap);
  min-width: 0;
}

.away-heading[b-jxpfde1134],
.history-heading[b-jxpfde1134],
.channel-toggle[b-jxpfde1134],
.delivery-options[b-jxpfde1134] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.away-presets[b-jxpfde1134] {
  border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
  border-radius: var(--itrela-radius-tile);
  overflow: hidden;
}

.away-preset[b-jxpfde1134] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.away-preset:last-child[b-jxpfde1134] {
  border-bottom: 0;
}

.away-preset--disabled[b-jxpfde1134] {
  background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 28%);
}

.preset-title-line[b-jxpfde1134],
.pause-controls[b-jxpfde1134] {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pause-controls[b-jxpfde1134] {
  justify-content: flex-end;
}

.pause-controls[b-jxpfde1134]  .mud-picker {
  width: 12rem;
}

.pause-remaining[b-jxpfde1134] {
  color: var(--mud-palette-primary);
}

.customize-panel[b-jxpfde1134]  .mud-expand-panel {
  box-shadow: none;
}

.matrix-section[b-jxpfde1134] {
  min-width: 0;
}

.routing-row[b-jxpfde1134] {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(20rem, auto);
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 48%);
}

.routing-row:last-child[b-jxpfde1134] {
  border-bottom: 0;
}

.routing-row--muted[b-jxpfde1134] {
  background: color-mix(in oklab, var(--mud-palette-background), transparent 55%);
}

.routing-copy[b-jxpfde1134] {
  min-width: 0;
}

.routing-actions[b-jxpfde1134] {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: end;
  gap: 0.4rem;
}

.routing-actions--team[b-jxpfde1134] {
  grid-template-columns: repeat(4, auto);
}

.digest-chip[b-jxpfde1134] {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--mud-palette-text-secondary);
}

.history-list[b-jxpfde1134] {
  display: flex;
  flex-direction: column;
}

.history-row[b-jxpfde1134] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 48%);
}

.history-row:last-child[b-jxpfde1134] {
  border-bottom: 0;
}

.history-status[b-jxpfde1134] {
  color: var(--mud-palette-text-secondary);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .kind-group[b-jxpfde1134] {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .kind-group-title[b-jxpfde1134] {
    padding-top: 0;
  }

  .routing-row[b-jxpfde1134] {
    grid-template-columns: 1fr;
  }

  .routing-actions[b-jxpfde1134] {
    justify-content: start;
  }

  .digest-chip[b-jxpfde1134] {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .kind-grid[b-jxpfde1134] {
    grid-template-columns: minmax(0, 1fr);
  }

  .away-heading[b-jxpfde1134],
  .history-heading[b-jxpfde1134],
  .channel-toggle[b-jxpfde1134],
  .delivery-options[b-jxpfde1134],
  .away-preset[b-jxpfde1134],
  .away-preset--pause[b-jxpfde1134] {
    align-items: flex-start;
    flex-direction: column;
  }

  .pause-controls[b-jxpfde1134] {
    justify-content: flex-start;
    width: 100%;
  }

  .pause-controls[b-jxpfde1134]  .mud-picker {
    width: 100%;
  }

  .routing-actions[b-jxpfde1134],
  .routing-actions--team[b-jxpfde1134] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .routing-actions[b-jxpfde1134]  .mud-button-root {
    width: 100%;
  }

  .history-row[b-jxpfde1134] {
    grid-template-columns: 1fr;
  }

  .history-status[b-jxpfde1134] {
    text-align: left;
  }
}
/* /Components/Pages/Account/Profile.razor.rz.scp.css */
.profile-photo-layout[b-s1c38mtuww] {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-photo-preview[b-s1c38mtuww] {
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-primary-lighten);
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-28);
    font-weight: var(--itrela-weight-strong);
}

.profile-photo-preview img[b-s1c38mtuww] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-photo-copy[b-s1c38mtuww] {
    min-width: 0;
    max-width: 640px;
}

.profile-photo-actions[b-s1c38mtuww] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-card-heading[b-s1c38mtuww] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 760px;
}

.profile-time-fields[b-s1c38mtuww] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
    gap: var(--itrela-card-section-gap);
    align-items: start;
    margin-top: var(--itrela-card-section-gap);
}

.profile-time-fields[b-s1c38mtuww]  .mud-input-control {
    min-width: 0;
}

@media (max-width: 599.98px) {
    .profile-photo-layout[b-s1c38mtuww] {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-time-fields[b-s1c38mtuww] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Account/Security.razor.rz.scp.css */
.security-page[b-csz533jy54] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.security-page[b-csz533jy54]  .security-card {
    min-width: 0;
    overflow: hidden;
}

.security-card-heading[b-csz533jy54] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 760px;
}

.security-passwordless-note[b-csz533jy54] {
    display: block;
    margin-top: var(--itrela-card-section-gap);
    max-width: 760px;
}

.security-field-grid[b-csz533jy54] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--itrela-card-section-gap);
    align-items: start;
    margin-top: var(--itrela-card-section-gap);
}

.security-field-grid[b-csz533jy54]  .mud-input-control {
    min-width: 0;
}

.security-ledger[b-csz533jy54] {
    margin-top: var(--itrela-card-section-gap);
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.security-ledger-row[b-csz533jy54] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-card-section-gap);
    min-width: 0;
    padding-block: 12px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.security-ledger-row > div[b-csz533jy54] {
    min-width: 0;
}

.security-status-heading[b-csz533jy54] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.security-status-heading--ok[b-csz533jy54],
.security-status-heading--warning[b-csz533jy54] {
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.security-enrollment-qr[b-csz533jy54] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--itrela-card-section-gap);
}

.security-page[b-csz533jy54]  .security-card-actions {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 var(--itrela-card-pad) var(--itrela-card-pad);
}

@media (max-width: 959.98px) {
    .security-field-grid[b-csz533jy54] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 599.98px) {
    .security-ledger-row[b-csz533jy54] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Assets/AssetJobRun.razor.rz.scp.css */
/* Composed chrome owns the column and the head band; this file styles only
   the action-run content inside them. The rules mirror the ticket action run's
   sheet — the twin page renders the same blocks. */

/* ── Composed head: back link stacked over the PageHeader ──────────────
   No padding of its own: the shell holds the back link to the way back's
   one slot above the title, so this title starts where every other record
   page's does. */
.jr-chrome-head[b-nfscsxpzjs] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.jr-back[b-nfscsxpzjs] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: var(--itrela-text-14);
}

/* The composed column's gap owns the rhythm between blocks — no block here
   sets its own vertical margin. */

.jr-people[b-nfscsxpzjs] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.jr-person[b-nfscsxpzjs] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: var(--itrela-text-14);
}

.jr-reason[b-nfscsxpzjs] {
    border-left: 3px solid var(--mud-palette-lines-default);
    margin: 0;
    padding: .25rem 0 .25rem .75rem;
    color: var(--mud-palette-text-primary);
    font-style: italic;
}

.jr-live-note[b-nfscsxpzjs] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.jr-timeline[b-nfscsxpzjs] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.jr-tl-entry[b-nfscsxpzjs] {
    display: flex;
    gap: .75rem;
}

.jr-tl-when[b-nfscsxpzjs] {
    flex: 0 0 auto;
    width: 5.5rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-13);
}

.jr-tl-kind[b-nfscsxpzjs] {
    font-weight: var(--itrela-weight-medium);
}

.jr-tl-detail[b-nfscsxpzjs] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.jr-outcome[b-nfscsxpzjs] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: .85rem 1rem;
}

.jr-outcome-body[b-nfscsxpzjs] {
    margin-top: .35rem;
}
/* /Components/Pages/Assets/AssetStalenessBanner.razor.rz.scp.css */
/* Staleness banner — a full-bleed workbench notice strip, not a floating
   tile: hairline below, warn tint across the whole band, the title in ink
   and the warn reserved for the icon and the bordered action.
   The design's tint is the bright amber grade; it takes the plain warning
   token until --itrela-status-warning-bright lands. */
.asset-stale-banner[b-m42tqnkm6p] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 11px var(--itrela-workbench-band-pad, 26px);
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 92%);
}

.asset-stale-banner[b-m42tqnkm6p]  .mud-icon-root {
    color: var(--itrela-status-warning);
}

.asset-stale-copy[b-m42tqnkm6p] {
    min-width: 0;
}

.asset-stale-title[b-m42tqnkm6p] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.asset-stale-detail[b-m42tqnkm6p] {
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

/* The action is a bordered button, not a bare link. */
.asset-stale-banner[b-m42tqnkm6p]  .asset-stale-link {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid color-mix(in oklab, var(--itrela-status-warning), transparent 55%);
    border-radius: var(--itrela-radius-control);
    color: var(--itrela-status-warning);
    white-space: nowrap;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.asset-stale-banner[b-m42tqnkm6p]  .asset-stale-link:hover {
    text-decoration: none;
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 90%);
}

@media (max-width: 599.98px) {
    .asset-stale-banner[b-m42tqnkm6p] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .asset-stale-banner[b-m42tqnkm6p]  .asset-stale-link {
        grid-column: 2;
        justify-self: start;
    }
}
/* /Components/Pages/Assets/AssetTruthSummary.razor.rz.scp.css */
/* The headline counts: the shared figure row (a bare FactStrip) in one
   full-bleed band under the workbench header. The band carries the rows'
   inset; the bare row pulls itself out by its facts' own padding, so the
   first label sits on the rows' left edge. The row goes two to a row by
   itself when the band is narrow. */
.asset-truth-summary[b-ysq7ophkem] {
    padding: var(--itrela-space-8) var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line-soft);
    background: var(--mud-palette-surface);
}
/* /Components/Pages/Assets/Details.razor.rz.scp.css */
/* Composed detail head: breadcrumb over the title, both inside the pinned
   band — the same stacking idiom as the ticket page head. */
.asset-chrome-head[b-a4idj5qbf7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.asset-breadcrumb[b-a4idj5qbf7] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
}

.asset-witness-banner[b-a4idj5qbf7] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 58%);
    border-radius: var(--itrela-radius-card);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
}

.asset-witness-banner--warning[b-a4idj5qbf7] {
    border-color: color-mix(in oklab, var(--itrela-status-warning), transparent 58%);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 94%);
}

.asset-witness-banner--manual[b-a4idj5qbf7] {
    border-color: var(--mud-palette-lines-default);
    background: var(--mud-palette-table-striped);
}

.asset-witness-banner[b-a4idj5qbf7]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-primary);
}

.asset-witness-banner--warning[b-a4idj5qbf7]  .mud-icon-root {
    color: var(--itrela-status-warning);
}

.asset-witness-banner--manual[b-a4idj5qbf7]  .mud-icon-root {
    color: var(--mud-palette-text-secondary);
}

.asset-witness-label[b-a4idj5qbf7],
.asset-truth-heading[b-a4idj5qbf7] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.asset-witness-sentence[b-a4idj5qbf7] {
    margin-top: 2px;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.asset-hero[b-a4idj5qbf7] {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.asset-hero-head[b-a4idj5qbf7] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-16);
}

.asset-hero-head[b-a4idj5qbf7]  .mud-icon-root {
    color: var(--itrela-status-critical, #DC2626);
}

.asset-hero-title[b-a4idj5qbf7] {
    min-width: 0;
}

.asset-hero-subhead[b-a4idj5qbf7] {
    margin-top: 2px;
    margin-bottom: 6px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.asset-hero-row[b-a4idj5qbf7] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.asset-hero-sev[b-a4idj5qbf7] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    padding-top: 2px;
}

.asset-hero-sev--crit[b-a4idj5qbf7] {
    color: var(--itrela-status-critical, #DC2626);
}

.asset-hero-sev--high[b-a4idj5qbf7] {
    color: var(--itrela-status-warning, #CA8A04);
}

.asset-hero-sev--warn[b-a4idj5qbf7] {
    color: var(--mud-palette-text-secondary);
}

.asset-hero-body[b-a4idj5qbf7] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.asset-hero-headline[b-a4idj5qbf7] {
    font-weight: var(--itrela-weight-strong);
}

.asset-hero-detail[b-a4idj5qbf7] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.asset-hero-action[b-a4idj5qbf7] {
    flex: 0 0 auto;
}

.asset-card-note[b-a4idj5qbf7] {
    margin-top: 10px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.asset-truth-group[b-a4idj5qbf7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asset-truth-group--ours[b-a4idj5qbf7] {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.asset-truth-provenance[b-a4idj5qbf7] {
    padding-top: 8px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.asset-warranty-line[b-a4idj5qbf7] {
    margin-top: 8px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.asset-card-witness[b-a4idj5qbf7] {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
}

.level-retire-card .itrela-plain-list[b-a4idj5qbf7] {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.level-retire-card .itrela-plain-list li[b-a4idj5qbf7] {
    margin-bottom: 4px;
}
/* /Components/Pages/Assets/List.razor.rz.scp.css */
/* Assets list — WorkbenchShell owns the frame, width, band spacing and
   scrolling geometry. This file connects the grid to that chrome and keeps
   the page's asset-specific cells responsive.

   CSS-isolation note (see UI_STYLE_GUIDE.md): the cell classes below sit on
   MudDataGrid-rendered cells, which never carry the scope attribute, so
   every rule routes through the page's own wrapper elements. */

.assets-header[b-da2drecsxi],
.assets-filter-band[b-da2drecsxi] {
    width: 100%;
    min-width: 0;
}

.assets-header[b-da2drecsxi]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

.assets-filter-band[b-da2drecsxi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.assets-search-wrap[b-da2drecsxi] {
    flex: 0 1 260px;
    min-width: 190px;
}

.assets-filter-band[b-da2drecsxi]  .assets-search {
    width: 100%;
}

.assets-filter-band[b-da2drecsxi]  .assets-client-filter {
    flex: 0 0 190px;
    min-width: 170px;
}

.assets-filter-band[b-da2drecsxi]  .asset-fpick {
    flex: 0 0 auto;
}

.assets-filter-band[b-da2drecsxi]  .asset-fpick,
.assets-filter-band[b-da2drecsxi]  .asset-fpick .mud-button-root,
.assets-filter-band[b-da2drecsxi]  .asset-fpick .mud-button-label {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: var(--itrela-weight-strong) !important;
    font-size: var(--itrela-text-13) !important;
    white-space: nowrap !important;
}

.assets-filter-band[b-da2drecsxi]  .asset-fpick .mud-button-root {
    border-radius: var(--itrela-radius-pill) !important;
    padding: 4px 12px !important;
    min-height: 30px !important;
}

.assets-filter-band[b-da2drecsxi]  .asset-truth-filter {
    flex: 0 0 auto;
    white-space: nowrap;
}

.asset-filter-spacer[b-da2drecsxi] {
    flex: 1;
}

.asset-filter-count[b-da2drecsxi] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.assets-page[b-da2drecsxi] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* The workbench frame is the table's only outer surface: keep the shared
   .data-grid-container treatment, drop its card-shaped wrapper. */
.asset-table-wrap[b-da2drecsxi] {
    border: 0 !important;
    border-radius: 0 !important;
}

/* Asset names are identifiers — "SW-CORE-03" must never wrap to
   "SW-CORE-" / "03". The client · site caption is the flexible line. */
.data-grid-container[b-da2drecsxi]  .grid-row-link {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.data-grid-container[b-da2drecsxi]  .asset-name-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.data-grid-container[b-da2drecsxi]  .asset-hand-icon {
    color: var(--mud-palette-text-secondary);
}

.data-grid-container[b-da2drecsxi]  .asset-name-sub {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Kind / Client · site: base-size secondary cells (drawn .8125rem ink-2). */
.data-grid-container[b-da2drecsxi]  .asset-cell-dim {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

/* Serial + IP cells: one line each, so the auto table layout gives the
   identifier columns their content width and lets OS wrap instead. */
.data-grid-container[b-da2drecsxi]  .asset-cell-id {
    white-space: nowrap;
}

.data-grid-container[b-da2drecsxi]  .asset-col-secondary {
    white-space: nowrap;
}

/* Tablet band: selected columns remain selected instead of auto-hiding.
   Floor the grid and let report-table scroll with the fade affordance. */
@media (min-width: 601px) and (max-width: 959.98px) {
    .data-grid-container.report-table[b-da2drecsxi] {
        --itrela-table-min: 860px;
    }
}

/* ── Cell idioms (drawn): dot plus the word, never a bare colour ─────── */

.asset-muted[b-da2drecsxi] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.asset-link-btn[b-da2drecsxi] {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.asset-link-btn:hover[b-da2drecsxi] {
    text-decoration: underline;
}

.asset-link-btn:focus-visible[b-da2drecsxi] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
    border-radius: var(--itrela-radius-small);
}

/* Health: 7px dot plus the word, .75rem — never a chip, never bare colour.
   The stale/maintenance dot is the design's bright amber grade; it takes the
   plain warning token until --itrela-status-warning-bright lands. */
.asset-health[b-da2drecsxi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.asset-health[b-da2drecsxi]::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.asset-health--on[b-da2drecsxi] {
    color: var(--mud-palette-success);
    font-weight: var(--itrela-weight-strong);
}

.asset-health--on[b-da2drecsxi]::before {
    background: var(--mud-palette-success);
}

.asset-health--off[b-da2drecsxi] {
    color: var(--mud-palette-error);
    font-weight: var(--itrela-weight-strong);
}

.asset-health--off[b-da2drecsxi]::before {
    background: var(--mud-palette-error);
}

.asset-health--stale[b-da2drecsxi] {
    color: var(--mud-palette-text-secondary);
}

.asset-health--stale[b-da2drecsxi]::before {
    background: var(--itrela-status-warning);
}

.asset-health--maint[b-da2drecsxi] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.asset-health--maint[b-da2drecsxi]::before {
    background: var(--itrela-status-warning);
}

/* "Not monitored" / "n/a": plain words, no dot. */
.asset-health--none[b-da2drecsxi] {
    color: var(--mud-palette-text-secondary);
}

.asset-health--none[b-da2drecsxi]::before {
    content: none;
}

/* Cover cell: kind-aware language, warning through day 90, error once lapsed. */
.asset-expiry[b-da2drecsxi] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--itrela-text-12);
    white-space: nowrap;
    color: var(--mud-palette-text-primary);
}

.asset-expiry--lapsed[b-da2drecsxi] {
    color: var(--mud-palette-error);
    font-weight: var(--itrela-weight-strong);
}

.asset-expiry--soon[b-da2drecsxi] {
    color: var(--mud-palette-warning);
    font-weight: var(--itrela-weight-medium);
}

/* "No date recorded" is the honest gap — drawn warn, worse than overdue. */
.asset-expiry--unknown[b-da2drecsxi] {
    color: var(--itrela-status-warning);
}

/* Billing cell: counted and not-counted both read plain ink-2 (drawn). */
.asset-billing[b-da2drecsxi] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

/* Column chooser head/foot + the Public IP note. */
.asset-colmenu-head[b-da2drecsxi] {
    font-size: var(--itrela-text-12) !important;
    font-weight: var(--itrela-weight-medium) !important;
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary) !important;
}

.asset-colmenu-foot[b-da2drecsxi] {
    font-size: var(--itrela-text-12) !important;
    color: var(--mud-palette-text-secondary) !important;
    white-space: normal !important;
    max-width: 320px;
}

.asset-colmenu-note[b-da2drecsxi] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

/* Mobile 390: cards replace the grid. */
.asset-mcards[b-da2drecsxi] {
    display: none;
}

@media (max-width: 599.98px) {
    /* Phone: the nowrap band + 200px client filter pushed picks off the
       right edge. Wrap into rows and let the client filter shrink. */
    .assets-filter-band[b-da2drecsxi] {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .assets-search-wrap[b-da2drecsxi] {
        flex: 1 1 100%;
        min-width: 0;
    }

    .assets-filter-band[b-da2drecsxi]  .assets-client-filter {
        flex: 1 1 160px;
        min-width: 160px;
    }

    .asset-table-wrap[b-da2drecsxi] {
        display: none;
    }

    .asset-mcards[b-da2drecsxi] {
        display: block;
        padding: 12px var(--itrela-workbench-band-pad);
    }

    .asset-mcard[b-da2drecsxi] {
        background: var(--mud-palette-surface);
        border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
        border-radius: var(--itrela-radius-surface);
        padding: 11px 13px;
        margin-bottom: 9px;
    }

    .asset-mcard-title[b-da2drecsxi] {
        font-weight: var(--itrela-weight-strong);
        font-size: var(--itrela-text-14);
        display: flex;
        gap: 7px;
        align-items: center;
        flex-wrap: wrap;
        color: var(--mud-palette-text-primary);
    }

    .asset-mcard-meta[b-da2drecsxi] {
        font-size: var(--itrela-text-12);
        color: var(--mud-palette-text-secondary);
        margin-top: 3px;
    }

    .asset-mcard-descriptor[b-da2drecsxi] {
        color: var(--mud-palette-text-secondary);
        font-size: var(--itrela-text-12);
        margin-top: 3px;
    }

    .asset-mcard-foot[b-da2drecsxi] {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
        flex-wrap: wrap;
    }

    .asset-mcard-spacer[b-da2drecsxi] {
        flex: 1;
    }

    .asset-mcard-billing[b-da2drecsxi] {
        margin-top: 6px;
    }
}
/* /Components/Pages/Billing/AllowancesNearLimit.razor.rz.scp.css */
.billing-allowances-host[b-152jwzyu1n] {
    min-width: 0;
}

.billing-allowance-list[b-152jwzyu1n] {
    margin-top: 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.billing-allowance-client[b-152jwzyu1n] {
    display: grid;
    grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.billing-allowance-client:last-child[b-152jwzyu1n] {
    padding-bottom: 0;
    border-bottom: 0;
}

.billing-allowance-client-link[b-152jwzyu1n] {
    align-self: start;
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.billing-allowance-client-link:hover[b-152jwzyu1n] {
    text-decoration: underline;
}

.billing-allowance-items[b-152jwzyu1n] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.billing-allowance-item[b-152jwzyu1n] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding-left: 10px;
    border-left: 3px solid var(--itrela-status-warning);
    font-size: var(--itrela-text-13);
}

.billing-allowance-item--exhausted[b-152jwzyu1n] {
    border-left-color: var(--itrela-status-critical);
}

.billing-allowance-item span[b-152jwzyu1n] {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 599.98px) {
    .billing-allowance-client[b-152jwzyu1n] {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
/* /Components/Pages/Billing/ClientWorkInvoice.razor.rz.scp.css */
.work-invoice[b-pzhvvvq4wt] { display: grid; gap: 1rem; }
.work-invoice-controls[b-pzhvvvq4wt], .work-invoice-footer[b-pzhvvvq4wt] { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.work-invoice-footer[b-pzhvvvq4wt] { position: sticky; bottom: 0; z-index: 1; justify-content: space-between; padding: .75rem; background: var(--mud-palette-surface); border-top: 1px solid var(--mud-palette-lines-default); }
.work-invoice-submit-error[b-pzhvvvq4wt] { flex-basis: 100%; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-list { border: 1px solid var(--mud-palette-lines-default); border-radius: var(--itrela-radius-control); overflow: hidden; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-row { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; align-items: start; gap: 1rem; padding: 1rem; cursor: pointer; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-row + .invoice-work-row { border-top: 1px solid var(--mud-palette-lines-default); }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-row input { width: 1.125rem; height: 1.125rem; margin: .125rem 0 0; accent-color: var(--mud-palette-primary); }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-row:focus-within { outline: 2px solid var(--mud-palette-primary); outline-offset: -2px; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-description, .work-invoice[b-pzhvvvq4wt]  .invoice-work-facts { display: grid; gap: .25rem; overflow-wrap: anywhere; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-description > span { color: var(--mud-palette-text-secondary); white-space: pre-wrap; }
.work-invoice[b-pzhvvvq4wt]  .invoice-work-facts { text-align: right; font-size: var(--itrela-text-14); }
@media (max-width: 600px) {
    .work-invoice[b-pzhvvvq4wt]  .invoice-work-row { grid-template-columns: 1.25rem minmax(0, 1fr); gap: .5rem .75rem; padding: .875rem; }
    .work-invoice[b-pzhvvvq4wt]  .invoice-work-facts { grid-column: 2; display: flex; flex-wrap: wrap; gap: .75rem; text-align: left; }
    .work-invoice-footer[b-pzhvvvq4wt] { align-items: stretch; }
}
/* /Components/Pages/Billing/Components/MetricSourcePicker.razor.rz.scp.css */
.metric-source-picker[b-3ohgj2irv8] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.metric-source-picker[b-3ohgj2irv8]  .mud-input-control {
    flex: 1 1 220px;
    width: auto;
    min-width: 0;
}

.metric-source-picker[b-3ohgj2irv8]  .mud-select {
    flex: 1 1 220px;
    min-width: 0;
}

@media (max-width: 600px) {
    .metric-source-picker[b-3ohgj2irv8] {
        flex-direction: column;
    }

    .metric-source-picker[b-3ohgj2irv8]  .mud-input-control {
        flex-basis: auto;
        width: 100%;
    }

    .metric-source-picker[b-3ohgj2irv8]  .mud-select {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
    }
}
/* /Components/Pages/Billing/Components/TierBuilder.razor.rz.scp.css */
.tier-builder-row[b-tu3s5cmxu8] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    width: 100%;
    min-width: 0;
}

.tier-builder-row[b-tu3s5cmxu8]  .mud-input-control {
    flex: 1 1 80px;
    width: auto;
    min-width: 72px;
    max-width: 100px;
}

@media (max-width: 600px) {
    .tier-builder-row[b-tu3s5cmxu8] {
        gap: 8px;
    }
}
/* /Components/Pages/Billing/Details.razor.rz.scp.css */
/* Composed detail head: breadcrumb over the title inside the pinned band —
   the same stacking idiom as the ticket page head. */
.invoice-page-head[b-di5bewvmmo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.invoice-breadcrumb[b-di5bewvmmo] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.invoice-breadcrumb-back[b-di5bewvmmo] {
    display: inline-flex;
    align-items: center;
    color: inherit;
}

.invoice-breadcrumb-back[b-di5bewvmmo]  .mud-icon-root {
    font-size: 19px;
}

.invoice-breadcrumb-sep[b-di5bewvmmo] {
    padding: 0 2px;
    opacity: 0.7;
}

.invoice-breadcrumb-id[b-di5bewvmmo] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.invoice-detail-grid[b-di5bewvmmo] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--itrela-card-gap);
    align-items: start;
}

@media (max-width: 960px) {
    .invoice-detail-grid[b-di5bewvmmo] {
        grid-template-columns: 1fr;
    }
}

.invoice-detail[b-di5bewvmmo]  .invoice-summary-strip {
    overflow: hidden;
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.invoice-summary-next[b-di5bewvmmo] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding: 12px 18px;
}

.invoice-summary-step[b-di5bewvmmo] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.invoice-summary-responsibility[b-di5bewvmmo] {
    font-size: var(--itrela-text-12);
}

.invoice-life-strip[b-di5bewvmmo] {
    padding: 12px 18px 14px;
    border-top: 1px solid var(--itrela-line);
}

[b-di5bewvmmo] .invoice-life-title {
    display: block;
    margin-bottom: 8px;
    color: var(--mud-palette-text-secondary);
    letter-spacing: 0;
    word-spacing: var(--itrela-label-word-spacing);
}

.invoice-life-stations[b-di5bewvmmo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.invoice-life-station[b-di5bewvmmo] {
    position: relative;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}

.invoice-life-station:not(:last-child)[b-di5bewvmmo]::after {
    position: absolute;
    top: 6px;
    right: -16px;
    left: 7px;
    z-index: 0;
    height: 2px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.invoice-life-marker[b-di5bewvmmo] {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    border: 3px solid var(--mud-palette-surface);
    border-radius: 50%;
    background: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
}

.invoice-life-copy[b-di5bewvmmo] {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 8px;
    background: var(--mud-palette-surface);
}

.invoice-life-date[b-di5bewvmmo] {
    display: block;
    margin-top: 2px;
    font-size: var(--itrela-text-12);
    font-variant-numeric: tabular-nums;
}

[b-di5bewvmmo] .invoice-life-detail {
    display: block;
    margin-top: 3px;
}

[b-di5bewvmmo] .invoice-main {
    padding: 20px;
}

.invoice-main-actions[b-di5bewvmmo] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.invoice-page-head[b-di5bewvmmo]  .invoice-status,
.invoice-detail[b-di5bewvmmo]  .invoice-status {
    margin: 0;
}

@media (max-width: 599.98px) {
    /* MudTable's phone layout makes each cell a label/value flex row. The
       description carries several lines, so let its label sit above them. */
    .invoice-detail[b-di5bewvmmo]  .mud-xs-table .mud-table-cell[data-label="Description"] {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        padding: 10px 16px;
    }

    .invoice-detail[b-di5bewvmmo]  .mud-xs-table .mud-table-cell[data-label="Description"]::before {
        margin-bottom: 2px;
        padding-right: 0;
        padding-inline-end: 0;
    }

    .invoice-detail[b-di5bewvmmo]  .mud-xs-table .mud-table-cell[data-label="Description"] > .ml-2 {
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    /* The status takes the first line; the actions share the next one, the
       ⋯ menu last and square, so it never wraps onto a line of its own. The
       line break is an empty full-width item, so the space between lines
       comes from the actions' own top margin, not the row gap. */
    .invoice-main-actions[b-di5bewvmmo] {
        width: 100%;
        flex-wrap: wrap;
        row-gap: 0;
    }

    .invoice-main-actions[b-di5bewvmmo]::before {
        content: "";
        flex-basis: 100%;
        order: 1;
    }

    .invoice-main-actions[b-di5bewvmmo]  > :not(.invoice-status) {
        order: 2;
        margin-top: var(--itrela-space-8);
    }

    .invoice-main-actions[b-di5bewvmmo]  .mud-button-root:not(.mud-icon-button) {
        flex: 1 1 auto;
    }

    .invoice-life-stations[b-di5bewvmmo] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .invoice-life-station:not(:last-child)[b-di5bewvmmo]::after {
        top: 7px;
        bottom: -12px;
        left: 6px;
        width: 2px;
        height: auto;
    }
}

.invoice-totals[b-di5bewvmmo] {
    padding: 16px 20px;
    display: flex;
    justify-content: flex-end;
}

.invoice-totals-inner[b-di5bewvmmo] {
    min-width: 200px;
}

.invoice-total-row[b-di5bewvmmo] {
    display: flex;
    justify-content: space-between;
    /* The grand-total row is the widest child of the totals stack, so
       space-between alone leaves label and amount touching ("Total$…"). */
    gap: 24px;
    padding: 2px 0;
    font-size: var(--itrela-text-14);
}

/* The money side of each totals row is a machine value (label stays Archivo). */
.invoice-total-row span:last-child[b-di5bewvmmo] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-variant-numeric: tabular-nums;
}

.invoice-total-grand[b-di5bewvmmo] {
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-16);
}

.invoice-total-grand span:last-child[b-di5bewvmmo] {
    font-weight: var(--itrela-weight-strong);
}

.invoice-sidebar[b-di5bewvmmo] {
    display: grid;
    gap: var(--itrela-card-gap);
}

[b-di5bewvmmo] .invoice-sidebar-card {
    padding: 20px;
}

[b-di5bewvmmo] .invoice-sidebar-title {
    margin-bottom: 12px;
}

.invoice-sidebar-fact[b-di5bewvmmo] {
    min-width: 0;
}

.invoice-sidebar-status[b-di5bewvmmo] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.invoice-sidebar-coverage[b-di5bewvmmo] {
    padding-left: 10px;
    border-left: 2px solid var(--mud-palette-secondary);
}

.invoice-sidebar-download[b-di5bewvmmo] {
    padding: 0 4px;
}

/* ── Grouped line items ── */

.invoice-group[b-di5bewvmmo] {
    margin-bottom: 8px;
}

.invoice-group-header[b-di5bewvmmo] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 4px;
}

.invoice-group-subtotal[b-di5bewvmmo] {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.invoice-group-subtotal span:last-child[b-di5bewvmmo] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-variant-numeric: tabular-nums;
}

/* Line-item tables mirror the shared kit table heading standard (no grey
   fill band; headings sit on the table's own surface with one hairline). */
[b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell {
    height: 34px;
    padding: 0 22px;
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12) !important;
    font-weight: var(--itrela-weight-strong) !important;
    letter-spacing: var(--itrela-caps-tracking) !important;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase !important;
    color: var(--mud-palette-text-secondary) !important;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.invoice-detail[b-di5bewvmmo]  .invoice-main .mud-table-cell.itrela-num-cell {
    text-align: right;
}

.invoice-money-nowrap[b-di5bewvmmo],
.invoice-detail[b-di5bewvmmo]  .invoice-money-nowrap {
    white-space: nowrap;
}

[b-di5bewvmmo] .invoice-main .mud-table-body .mud-table-row {
    min-height: 44px;
}

[b-di5bewvmmo] .invoice-main .mud-table-body td.mud-table-cell {
    height: 44px;
    padding: 4px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

@media (max-width: 599.98px) {
    /* Stacked cells must grow to contain descriptions and inline editors. */
    [b-di5bewvmmo] .invoice-main .mud-xs-table .mud-table-body td.mud-table-cell {
        height: auto;
        min-height: 44px;
    }
}

/* Machine values: `Class="itrela-mono"` sits on the MudTd itself. The
   cell-level restatement is global (app.css "Machine values") for every
   Mud table, so this page carries no local copy. */

/* The stacked line-item tables (Recurring / Labor / Expenses …) are siblings:
   pin the numeric columns to shared widths so figures align vertically from
   table to table. Skipped below 600px, where MudTable switches to the stacked
   mobile layout. */
@media (min-width: 600px) {
    [b-di5bewvmmo] .invoice-main .mud-table-root {
        table-layout: fixed;
    }

    [b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell:nth-child(2) {
        width: 110px; /* Unit Price */
    }

    [b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell:nth-child(3) {
        width: 80px; /* Qty */
    }

    [b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell:nth-child(4) {
        width: 120px; /* Amount */
    }

    [b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell:nth-child(5) {
        width: 90px; /* Taxable */
    }

    [b-di5bewvmmo] .invoice-main .mud-table-head th.mud-table-cell:nth-child(6) {
        width: 96px; /* Edit/remove actions (draft only) */
    }
}

[b-di5bewvmmo] .invoice-main .mud-table-hover .mud-table-body .mud-table-row:hover {
    background: var(--mud-palette-table-striped);
}

[b-di5bewvmmo] .invoice-coverage-line {
    opacity: 0.55;
    font-style: italic;
}
/* /Components/Pages/Billing/Dialogs/ManagedDeviceEvidenceReviewDialog.razor.rz.scp.css */
.evidence-tiles[b-ec7q03qcz2] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.evidence-tiles .summary-item[b-ec7q03qcz2] {
    flex: 1;
}

.evidence-arrow[b-ec7q03qcz2] {
    color: var(--mud-palette-text-secondary);
    flex: none;
}

.evidence-summary[b-ec7q03qcz2] {
    color: var(--mud-palette-text-primary);
}

/* Horizontal scroll affordance: the four-column table keeps a sensible minimum
   width and scrolls inside the shared data-grid-container at narrow widths
   rather than clipping. */
.evidence-diff-scroll[b-ec7q03qcz2] {
    overflow-x: auto;
}

.evidence-diff[b-ec7q03qcz2] {
    width: 100%;
    min-width: 22rem;
    border-collapse: collapse;
    font-size: var(--itrela-text-13);
}

.evidence-diff th[b-ec7q03qcz2] {
    text-align: left;
    font-size: var(--itrela-label-size, 0.6875rem);
    text-transform: uppercase;
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    padding: 8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    white-space: nowrap;
}

.evidence-diff td[b-ec7q03qcz2] {
    padding: 8px;
    vertical-align: top;
    line-height: 1.4;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.evidence-diff .evidence-effect[b-ec7q03qcz2] {
    text-align: right;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.evidence-diff tr.evidence-flag td[b-ec7q03qcz2] {
    background: color-mix(in oklab, var(--itrela-status-warning, #CA8A04), transparent 92%);
}

.evidence-diff tr.evidence-flag .evidence-effect[b-ec7q03qcz2] {
    color: var(--itrela-status-warning, #CA8A04);
    font-weight: var(--itrela-weight-strong);
}

.evidence-diff tr.evidence-removed td[b-ec7q03qcz2] {
    color: var(--mud-palette-text-secondary);
}

.evidence-diff tr.evidence-removed .evidence-effect[b-ec7q03qcz2] {
    font-weight: var(--itrela-weight-strong);
}

.evidence-diff tr.evidence-unchanged td[b-ec7q03qcz2] {
    color: var(--mud-palette-text-secondary);
    border-bottom: none;
}

.evidence-boundary[b-ec7q03qcz2] {
    font-size: var(--itrela-text-13);
    line-height: 1.55;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-grey);
    border-radius: var(--itrela-radius-tile, 12px);
    padding: 12px 14px;
}

.evidence-boundary strong[b-ec7q03qcz2] {
    color: var(--mud-palette-text-primary);
}

.evidence-witness[b-ec7q03qcz2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.evidence-witness .mud-icon-root[b-ec7q03qcz2] {
    color: var(--itrela-status-ok, #1E8E3E);
}

.evidence-witness.evidence-witness-stale .mud-icon-root[b-ec7q03qcz2] {
    color: var(--itrela-status-warning, #CA8A04);
}

.evidence-override[b-ec7q03qcz2] {
    border-left: 3px solid var(--mud-palette-primary);
    padding-left: 12px;
}
/* /Components/Pages/Billing/Exports.razor.rz.scp.css */
.billing-index-header[b-d6hpny65di]  .page-header {
    padding-bottom: 0;
}

.billing-index-header[b-d6hpny65di]  .page-header-text {
    gap: 2px;
}

/* Exports screen metrics as drawn in Itrela Billing: 22px 26px 28px,
   16px gap, one 1180px column. */
.billing-composed-screen[b-d6hpny65di] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1180px;
    padding: 22px 26px 28px;
}

.exports-unhandled-status[b-d6hpny65di] {
    margin-top: var(--itrela-space-8);
}

/* Reconciliation rows sit directly in the card: one warn icon, copy,
   action, split by hairlines — no nested outlined papers. */
.exports-gap-list[b-d6hpny65di] {
    display: flex;
    flex-direction: column;
}

.exports-gap-row[b-d6hpny65di] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

.exports-gap-row + .exports-gap-row[b-d6hpny65di] {
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.exports-gap-icon[b-d6hpny65di] {
    flex: 0 0 auto;
    font-size: 20px;
}

.exports-gap-copy[b-d6hpny65di] {
    flex: 1 1 auto;
    min-width: 0;
}

/* The history table lives inside a surface card, so the container's own
   border and radius would double the card's chrome. */
.data-grid-container--flush[b-d6hpny65di] {
    border: 0;
    border-radius: 0;
}

@media (max-width: 700px) {
    .billing-composed-screen[b-d6hpny65di] {
        padding: 20px;
    }
}
/* /Components/Pages/BillingWorkspace.razor.rz.scp.css */
/* The page owns .billing-page, so ::deep reaches MudBlazor descendants.
   IndexShell and WorkbenchShell keep their own geometry and tokens. */

.billing-index-header[b-svbv6y1b16]  .page-header {
    padding-bottom: 0;
}

.billing-index-header[b-svbv6y1b16]  .page-header-text {
    gap: 2px;
}

/* Run screen metrics as drawn in Itrela Billing: 22px 26px 28px, 18px gap. */
.billing-screen[data-screen="run"][b-svbv6y1b16] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 26px 28px;
}

.billing-screen[data-screen="invoices"][b-svbv6y1b16],
.billing-screen[data-screen="clients"][b-svbv6y1b16],
.billing-invoices-list[b-svbv6y1b16],
.billing-clients-list[b-svbv6y1b16] {
    height: 100%;
    min-height: 0;
}

/* The cycle headline is the run screen's one big statement. */
.billing-page .billing-cycle-headline[b-svbv6y1b16] {
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
}

.billing-page .billing-cycle-headline .itrela-mono[b-svbv6y1b16] {
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
}

/* Client names carry the row, so they keep the drawn 600 weight. */
.billing-page .billing-cell-client[b-svbv6y1b16],
.billing-page[b-svbv6y1b16]  .billing-cell-client,
.billing-page .billing-strong[b-svbv6y1b16],
.billing-page[b-svbv6y1b16]  .billing-strong {
    font-weight: var(--itrela-weight-strong);
}

.billing-page .billing-nowrap[b-svbv6y1b16],
.billing-page[b-svbv6y1b16]  .billing-nowrap {
    white-space: nowrap;
}

.billing-page .billing-preview-warnings[b-svbv6y1b16] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--itrela-space-4);
}

.billing-page .billing-preview-detail-cell[b-svbv6y1b16] {
    padding: 0;
    background-color: var(--mud-palette-background);
}

.billing-page .billing-preview-detail[b-svbv6y1b16] {
    min-height: 80px;
    padding: 16px 24px 16px 64px;
    border-left: 3px solid var(--mud-palette-primary);
}

.billing-page[b-svbv6y1b16]  .billing-preview-subtable {
    background: transparent;
}

.billing-page[b-svbv6y1b16]  .billing-preview-line-desc {
    font-weight: var(--itrela-weight-medium);
}

.billing-list-summary[b-svbv6y1b16] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
}

.billing-list-summary span[b-svbv6y1b16] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.billing-client-note[b-svbv6y1b16] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.billing-client-note[b-svbv6y1b16]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-primary);
}

.billing-before-approve[b-svbv6y1b16] {
    margin-top: 16px;
}

.billing-evidence-clear[b-svbv6y1b16] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-success), transparent 72%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-success), transparent 94%);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
}

.billing-evidence-clear[b-svbv6y1b16]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-success);
}

.billing-draft-grid[b-svbv6y1b16] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

/* Draft cards sit flat on the page: solid surface, one hairline, no tint. */
.billing-draft[b-svbv6y1b16] {
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.billing-draft-heading[b-svbv6y1b16],
.billing-draft-line[b-svbv6y1b16] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.billing-draft-heading > div[b-svbv6y1b16],
.billing-draft-line > span:first-child[b-svbv6y1b16] {
    min-width: 0;
}

.billing-draft-heading span[b-svbv6y1b16],
.billing-draft-line small[b-svbv6y1b16] {
    display: block;
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.billing-draft-lines[b-svbv6y1b16] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    padding-top: 9px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
    font-size: var(--itrela-text-12);
}

.billing-draft-line > .itrela-mono[b-svbv6y1b16] {
    flex: 0 0 auto;
}

.billing-draft > a[b-svbv6y1b16] {
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.billing-draft > a:hover[b-svbv6y1b16] {
    text-decoration: underline;
}

/* Both classes sit on one element, so app.css's descendant .billing-tabs
   rule never reaches this row. It lays itself out here and scrolls sideways
   on a phone rather than wrapping down into the search band below it. */
.billing-page.billing-tabs[b-svbv6y1b16] {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding-inline: calc(var(--itrela-workbench-band-pad) - 12px);
    border-bottom: 0;
    scrollbar-width: thin;
}

.billing-invoice-search-band[b-svbv6y1b16] {
    width: 100%;
    min-width: 0;
}

/* The basis is the width: where .command-bar turns to a column (900px and
   under) a 400px basis became a 400px-tall blank band above the list. */
.billing-invoice-search-wrap[b-svbv6y1b16] {
    flex: 0 1 auto;
    width: 400px;
    max-width: 100%;
    min-width: 220px;
}

.billing-invoice-search-band[b-svbv6y1b16]  .billing-invoice-search {
    width: 100%;
}

.billing-footer-spacer[b-svbv6y1b16] {
    flex: 1 1 auto;
}

.billing-page[b-svbv6y1b16]  .mud-table {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    box-shadow: none;
}

.billing-page[b-svbv6y1b16]  .mud-table-container {
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
}

.billing-page[b-svbv6y1b16]  .mud-table-head .mud-table-row,
.billing-page[b-svbv6y1b16]  .mud-table-head .mud-table-cell {
    height: 34px;
}

/* MudBlazor's dense padding otherwise measures the 34/44px rows taller.
   Match the Clients workbench pattern that was verified in the live DOM. */
.billing-page[b-svbv6y1b16]  .mud-table-head .mud-table-cell {
    padding: 0 var(--itrela-workbench-row-pad);
}

.billing-page[b-svbv6y1b16]  .mud-table-body .mud-table-row {
    min-height: 44px;
}

.billing-page[b-svbv6y1b16]  .mud-table-body .mud-table-row > .mud-table-cell {
    height: 44px;
    padding: 4px var(--itrela-workbench-row-pad);
}

/* "Tables use the space they have" (app.css): between 1280px and 1600px a
   list's narrow columns give way first, so their inset drops to 12px. The
   insets above read the row pad, so the cell restates the pad. */
@media (min-width: 1280px) and (max-width: 1599.98px) {
    .billing-page[b-svbv6y1b16]  .data-grid-container:has(.itrela-name-cell) .mud-table-cell:not(.itrela-name-cell) {
        --itrela-workbench-row-pad: var(--itrela-space-12);
    }
}

.billing-page[b-svbv6y1b16]  .mud-table-body .mud-table-cell {
    font-size: var(--itrela-text-13);
}

@media (max-width: 800px) {
    .billing-screen[data-screen="run"][b-svbv6y1b16] {
        padding: 20px;
    }
}

@media (max-width: 599.98px) {
    .billing-invoices-list.data-grid-container[b-svbv6y1b16] {
        overflow: visible;
    }
}

/* Phone rows (app.css): the row keeps its own inset and height, the status
   keeps only its chip (its notes ride the second line), and the actions keep
   only the ⋯ menu; Approve, Send and Mark paid wait on the invoice page. */
@media (max-width: 600px) {
    .billing-page[b-svbv6y1b16]  .itrela-phone-rows .mud-table-body .mud-table-row > .mud-table-cell {
        height: auto;
        padding: 0;
    }

    .billing-page[b-svbv6y1b16]  .itrela-phone-rows .itrela-phone-chip .billing-status-sub,
    .billing-page[b-svbv6y1b16]  .itrela-phone-rows .itrela-phone-menu .billing-invoice-actions > :not([data-billing-row-menu]) {
        display: none;
    }
}
/* /Components/Pages/Books/AccountRegister.razor.rz.scp.css */
/* Account register — the routed ledger screen drawn in Books section 09.
   WorkbenchShell owns the frame; this file maps the existing register into
   its header, filter, table and bookend bands. */

.register-header[b-em25gxculs],
.register-filter-band[b-em25gxculs],
.register-warning-band[b-em25gxculs] {
    width: 100%;
    min-width: 0;
}

.register-header[b-em25gxculs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.register-header h2[b-em25gxculs],
.register-header p[b-em25gxculs] {
    margin: 0;
}

.register-header h2[b-em25gxculs] {
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.register-header p[b-em25gxculs] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.register-header-note[b-em25gxculs] {
    text-align: right;
}

/* The undecided-lines strip wears the design's bright warn tint and
   bleeds to the band's edges. */
.register-warning-band[b-em25gxculs] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 10px;
    margin-inline: calc(-1 * var(--itrela-workbench-band-pad, 26px));
    padding-inline: 24px;
    background: color-mix(in oklab, var(--itrela-status-warning-bright, #C2860B), transparent 90%);
}

.register-warning-band > span[b-em25gxculs] {
    flex: 1 1 auto;
}

.account-register[b-em25gxculs] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--mud-palette-surface);
}

.register-loading[b-em25gxculs] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

.register-bookend[b-em25gxculs] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    padding-inline: var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line);
    background: var(--itrela-workbench-quiet);
    font-size: var(--itrela-text-13);
}

.register-bookend--closing[b-em25gxculs] {
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    font-weight: var(--itrela-weight-strong);
}

.register-table-frame[b-em25gxculs] {
    flex: 1 1 auto;
    min-height: 0;
}

.register-grid[b-em25gxculs] {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.register-grid[b-em25gxculs]  .mud-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Head height, row floor and cell inset come from the global
   .data-grid-container standard (app.css) — no page-local copy. */

.register-grid[b-em25gxculs]  .register-date {
    white-space: nowrap;
}

.register-grid[b-em25gxculs]  .register-lock {
    vertical-align: middle;
}

.register-grid[b-em25gxculs]  .register-entry-cell {
    background: var(--mud-palette-table-striped);
}

.register-entry-lines[b-em25gxculs] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 8px;
}

.register-entry-line[b-em25gxculs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.register-empty[b-em25gxculs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px;
    text-align: center;
}

.register-footer-host[b-em25gxculs]  .itrela-workbench-band {
    min-height: var(--itrela-workbench-foot-h);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    background: var(--itrela-workbench-quiet);
}

.register-footer-host[b-em25gxculs]  .mud-table-pagination-toolbar {
    height: var(--itrela-workbench-foot-h);
    min-height: var(--itrela-workbench-foot-h);
    padding: 0;
}

.register-footer-spacer[b-em25gxculs] {
    flex: 1 1 auto;
}

@media (max-width: 700px) {
    .register-header[b-em25gxculs] {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .register-header-note[b-em25gxculs] {
        text-align: left;
    }

    .register-warning-band[b-em25gxculs] {
        align-items: flex-start;
        flex-wrap: wrap;
        padding-block: 8px;
    }

    .register-entry-line[b-em25gxculs] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Books/BooksCloseFailurePanel.razor.rz.scp.css */
.books-close-failure-stack[b-twemvdgva2] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-section-gap);
    margin-top: var(--itrela-card-section-gap);
}

.books-close-failure-panel[b-twemvdgva2] {
    padding: var(--itrela-card-pad);
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), var(--mud-palette-lines-default) 45%);
    border-radius: var(--itrela-radius-card);
    background: color-mix(in oklab, var(--mud-palette-error), var(--mud-palette-surface) 97%);
    outline: none;
}

.books-close-failure-panel:focus-visible[b-twemvdgva2] {
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--mud-palette-error), transparent 55%);
}

.books-close-failure-heading[b-twemvdgva2] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.books-close-failure-heading h2[b-twemvdgva2] {
    margin: 2px 0 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.3;
}

.books-close-failure-label[b-twemvdgva2] {
    display: inline-flex;
    padding: 2px 7px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 45%);
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-error), transparent 92%);
    color: var(--mud-palette-error);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.books-close-failure-lead[b-twemvdgva2] {
    margin-top: var(--itrela-card-section-gap);
}

.books-close-failure-panel p[b-twemvdgva2] {
    margin-bottom: 0;
    line-height: 1.5;
}

.books-close-problems[b-twemvdgva2] {
    margin-top: var(--itrela-card-section-gap);
    padding: 12px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-tile);
    background: var(--mud-palette-surface);
}

.books-close-problems h3[b-twemvdgva2],
.books-close-advisories h3[b-twemvdgva2] {
    margin: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.books-close-problems ul[b-twemvdgva2] {
    margin: 8px 0 0;
    padding-left: 20px;
}

.books-close-problems li + li[b-twemvdgva2] {
    margin-top: 6px;
}

.books-close-failure-actions[b-twemvdgva2] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--itrela-card-section-gap);
}

.books-close-failure-stack[b-twemvdgva2]  .books-close-failure-actions .mud-button-root {
    white-space: nowrap;
}

.books-close-copy-fallback[b-twemvdgva2] {
    margin-top: var(--itrela-card-section-gap);
}

.books-close-copy-fallback p[b-twemvdgva2] {
    font-weight: var(--itrela-weight-strong);
}

.books-close-copy-fallback textarea[b-twemvdgva2] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 10rem;
    margin-top: 8px;
    padding: 10px 12px;
    resize: vertical;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-tile);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    line-height: 1.45;
}

.books-close-ledger-law[b-twemvdgva2] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.books-close-advisories[b-twemvdgva2] {
    padding-top: 2px;
}

.books-close-advisories .billing-health-list[b-twemvdgva2] {
    margin-top: 8px;
}

.books-close-advisories .billing-health-item[b-twemvdgva2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.books-close-advisories .billing-health-item-main[b-twemvdgva2] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
/* /Components/Pages/Books/BooksIntegrityFindingGroups.razor.rz.scp.css */
.books-close-findings[b-7n0zdevr0u] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-section-gap);
    margin-top: var(--itrela-card-section-gap);
    padding-top: var(--itrela-card-section-gap);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.books-close-finding-group h4[b-7n0zdevr0u] {
    margin: 0;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.books-close-finding-rows[b-7n0zdevr0u] {
    margin-top: 6px;
}

.books-close-finding-row[b-7n0zdevr0u] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px 0;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.books-close-repair-owner[b-7n0zdevr0u] {
    margin-top: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}
/* /Components/Pages/Books/BooksMonthCloseCard.razor.rz.scp.css */
.month-close[b-c414wt6alp] {
    min-width: 0;
}

.month-close[b-c414wt6alp]  .month-close-heading {
    font-weight: var(--itrela-weight-strong);
}

.month-close-controls[b-c414wt6alp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.month-close-controls[b-c414wt6alp]  .mud-input-control {
    flex: 1 1 220px;
    min-width: 0;
}

.month-close[b-c414wt6alp]  .mud-button-root {
    min-height: 36px;
    height: auto;
    white-space: normal;
}

.month-close-review[b-c414wt6alp] {
    padding-top: 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.month-close-checks[b-c414wt6alp] {
    margin: 12px 0;
}

.month-close-checks > summary[b-c414wt6alp] {
    padding: 10px 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
    cursor: pointer;
}

.month-close-checks > summary:focus-visible[b-c414wt6alp] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
    border-radius: var(--itrela-radius-small);
}

.month-close-check[b-c414wt6alp] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.month-close-check > div[b-c414wt6alp] {
    min-width: 0;
}

.month-close-check[b-c414wt6alp]  .mud-icon-root {
    flex: 0 0 auto;
    margin-top: 2px;
}

.month-close-progress[b-c414wt6alp] {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.month-close[b-c414wt6alp]  .month-close-action {
    margin-top: 4px;
}
/* /Components/Pages/Books/BooksPostingStatus.razor.rz.scp.css */
.books-posting-status[b-gjsjdzw3j8] {
    margin-top: var(--itrela-card-gap);
}

.books-posting-status-head[b-gjsjdzw3j8] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.books-posting-status[b-gjsjdzw3j8]  .books-posting-title {
    font-weight: var(--itrela-weight-strong);
}

.books-posting-state[b-gjsjdzw3j8] {
    display: inline-flex;
    align-items: center;
}

.books-posting-status[b-gjsjdzw3j8]  .books-posting-copy {
    margin-top: var(--itrela-card-section-gap);
}

.books-posting-counts[b-gjsjdzw3j8] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

@media (width <= 520px) {
    .books-posting-status-head[b-gjsjdzw3j8] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .books-posting-state[b-gjsjdzw3j8] {
        grid-column: 2;
        justify-self: start;
    }
}
/* /Components/Pages/Books/BooksReportPrintDoc.razor.rz.scp.css */
/* The printable lender statement. Screen visibility and app-chrome isolation
   live in app.css § "Print" (the generic ReportPrintRoot isolation
   rule spans the whole layout, which scoped CSS cannot reach). This file is
   the document's own look: graphite ink on white, a serif measure a bank
   expects, and rows that never shear across a page break. The serif is a
   system face, not a brand face — the statement reads as a ledger document,
   so it keeps its genre when the brand faces change. */

.books-print[b-1jt09i4ntf] {
    color: #1A2123;
    background: #FFFFFF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.45;
}

.books-print-head[b-1jt09i4ntf] {
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--print-accent, var(--itrela-brand-document-accent));
}

.books-print-brand-row[b-1jt09i4ntf] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    margin-bottom: var(--itrela-space-4);
}

.books-print-logo[b-1jt09i4ntf] {
    display: block;
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.books-print-company[b-1jt09i4ntf] {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.books-print-legal[b-1jt09i4ntf] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.books-print-meta[b-1jt09i4ntf] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.books-print-link[b-1jt09i4ntf] {
    color: var(--print-accent, var(--itrela-brand-document-accent));
    text-decoration: none;
}

.books-print-accent-edge[b-1jt09i4ntf] {
    width: 48px;
    height: 3px;
    margin: var(--itrela-space-8) 0 var(--itrela-space-4);
    background: var(--print-accent, var(--itrela-brand-document-accent));
}

.books-print-title[b-1jt09i4ntf] {
    font-size: 15px;
    font-weight: 700;
    margin-top: 3px;
}

.books-print-period[b-1jt09i4ntf],
.books-print-basis[b-1jt09i4ntf],
.books-print-generated[b-1jt09i4ntf] {
    font-size: 11px;
    color: #59646A;
    margin-top: 1px;
}

.books-print table[b-1jt09i4ntf] {
    width: 100%;
    border-collapse: collapse;
}

.books-print thead th[b-1jt09i4ntf] {
    text-align: left;
    padding: 5px 8px;
    border-bottom: 1.5px solid #1A2123;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    word-spacing: var(--itrela-label-word-spacing);
}

.books-print tbody td[b-1jt09i4ntf] {
    padding: 4px 8px;
    border-bottom: 1px solid #D2D9DA;
    vertical-align: top;
}

.books-print tr[b-1jt09i4ntf] {
    break-inside: avoid;
    page-break-inside: avoid;
}

.books-print .num[b-1jt09i4ntf] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.books-print .indent td:first-child[b-1jt09i4ntf],
.books-print td.indent[b-1jt09i4ntf] {
    padding-left: 22px;
}

.books-print tr.section td[b-1jt09i4ntf] {
    font-weight: 700;
    border-bottom: 1px solid #1A2123;
    padding-top: 12px;
}

.books-print tr.subtotal td[b-1jt09i4ntf] {
    font-weight: 700;
}

.books-print tr.total td[b-1jt09i4ntf] {
    font-weight: 700;
    border-top: 1.5px solid #1A2123;
    border-bottom: none;
    padding-top: 6px;
}

.books-print .term[b-1jt09i4ntf] {
    display: block;
    font-weight: 600;
}

.books-print .plain[b-1jt09i4ntf] {
    display: block;
    font-size: 10px;
    color: #59646A;
}

.books-print .off[b-1jt09i4ntf] {
    color: #59646A;
    font-style: italic;
}

.books-print-note[b-1jt09i4ntf] {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #A82520;
}
/* /Components/Pages/Books/Dialogs/ImportStatementDialog.razor.rz.scp.css */
.bank-import-result[b-x2dlw03p38] {
    display: grid;
    gap: 14px;
}

.bank-import-review-copy[b-x2dlw03p38] {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-left: 3px solid var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
}

.bank-import-summary[b-x2dlw03p38] {
    color: var(--mud-palette-text-primary);
}

.bank-import-withheld[b-x2dlw03p38] {
    color: var(--mud-palette-warning-darken);
}

.bank-import-file-warnings[b-x2dlw03p38] {
    display: grid;
    gap: 4px;
    color: var(--mud-palette-text-primary);
}

.bank-import-rejections[b-x2dlw03p38],
.bank-import-preview[b-x2dlw03p38] {
    margin-top: 0;
}

.bank-import-rejections[b-x2dlw03p38]  .mud-table-root,
.bank-import-preview[b-x2dlw03p38]  .mud-table-root {
    box-shadow: none;
}

.bank-import-rejection-detail[b-x2dlw03p38] {
    display: block;
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.bank-import-preview[b-x2dlw03p38] {
    max-height: 280px;
    overflow-y: auto;
}

.bank-import-date[b-x2dlw03p38] {
    white-space: nowrap;
}
/* /Components/Pages/Books/Index.razor.rz.scp.css */
/* Books index — IndexShell owns the page chrome and width. Composed sections
   retain their existing cards and forms; register-like sections map their
   controls, rows and paging onto WorkbenchShell bands. */

.books-section--composed[b-0ld54cohks] {
    padding: 24px 26px;
}

/* Per-screen page metrics as drawn in Itrela Books. */
.books-section--composed.books-pad-stand[b-0ld54cohks] {
    padding: 22px 26px;
}

.books-section--composed.books-pad-bank[b-0ld54cohks] {
    padding: 16px 26px 20px;
}

.books-section--composed.books-pad-bills[b-0ld54cohks] {
    padding: 20px 26px 28px;
}

.books-section--composed.books-pad-close[b-0ld54cohks] {
    padding: 22px 26px 28px;
}

.books-first-run[b-0ld54cohks] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px;
}

.books-first-run[b-0ld54cohks]  .surface-card {
    width: min(720px, 100%);
    margin-inline: auto;
}

/* The drawn 60px accent tile above the first-run pitch. */
.books-first-run-tile[b-0ld54cohks] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-primary-lighten);
}

.books-first-run-tile[b-0ld54cohks]  .mud-icon-root {
    font-size: 30px;
}

.books-first-run-steps[b-0ld54cohks] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    text-align: left;
}

.books-first-run-step[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.books-first-run-number[b-0ld54cohks] {
    color: var(--mud-palette-primary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.books-first-run-boundary[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
    text-align: left;
}

.books-workbench-header[b-0ld54cohks],
.books-workbench-filter[b-0ld54cohks] {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.books-workbench-header[b-0ld54cohks] {
    justify-content: space-between;
    gap: 18px;
}

.books-workbench-header h2[b-0ld54cohks],
.books-workbench-header p[b-0ld54cohks] {
    margin: 0;
}

.books-workbench-header h2[b-0ld54cohks] {
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.books-workbench-header p[b-0ld54cohks] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.books-workbench-filter[b-0ld54cohks] {
    gap: 12px;
}

.books-workbench-filter > span[b-0ld54cohks] {
    color: var(--mud-palette-text-secondary);
}

.books-workbench-filter[b-0ld54cohks]  .books-journal-search {
    flex: 0 1 520px;
}

.books-workbench-body[b-0ld54cohks],
.books-workbench-grid[b-0ld54cohks] {
    height: 100%;
    min-height: 0;
}

.books-workbench-body[b-0ld54cohks] {
    display: flex;
    flex-direction: column;
}

.books-workbench-grid[b-0ld54cohks] {
    flex: 1 1 auto;
    border: 0;
    border-radius: 0;
}

.books-workbench-grid[b-0ld54cohks]  .mud-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Head height, row floor and cell inset come from the global
   .data-grid-container standard (app.css) — no page-local copy. */

.books-workbench-grid[b-0ld54cohks]  .books-account-link {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.books-workbench-grid[b-0ld54cohks]  .books-row-actions {
    text-align: right;
}

/* Phone rows (app.css): the account name already opens its activity, so
   the row keeps only rename and remove beside the balance. */
@media (max-width: 600px) {
    .books-workbench-grid[b-0ld54cohks]  .itrela-phone-menu .books-view-activity {
        display: none;
    }
}

.books-workbench-grid[b-0ld54cohks]  .books-date-cell {
    white-space: nowrap;
}

.books-workbench-grid[b-0ld54cohks]  .books-inline-icon {
    vertical-align: middle;
}

/* The palette's quiet-raise value (#F6F8F8, the design's surface-q) —
   used here as a fill, not a stripe. */
.books-workbench-grid[b-0ld54cohks]  .books-entry-cell {
    background: var(--mud-palette-table-striped);
}

.books-entry-lines[b-0ld54cohks] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 8px;
}

.books-entry-line[b-0ld54cohks] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.books-workbench-footer-host[b-0ld54cohks]  .itrela-workbench-band {
    min-height: var(--itrela-workbench-foot-h);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    background: var(--itrela-workbench-quiet);
}

.books-workbench-footer-host[b-0ld54cohks]  .mud-table-pagination-toolbar {
    height: var(--itrela-workbench-foot-h);
    min-height: var(--itrela-workbench-foot-h);
    padding: 0;
}

.books-workbench-footer-spacer[b-0ld54cohks] {
    flex: 1 1 auto;
}

.books-section[b-0ld54cohks]  .books-bank-date-filter {
    flex: 0 1 170px;
    min-width: 150px;
}

.books-section[b-0ld54cohks]  .books-bank-search {
    flex: 0 1 240px;
    min-width: 190px;
}

.books-story-grid[b-0ld54cohks] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--itrela-card-gap);
}

.books-card-head[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Flat columns split by hairlines, not gray tiles. */
.books-recon-values[b-0ld54cohks] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.books-recon-values > div[b-0ld54cohks] {
    min-width: 0;
    padding: 2px 16px;
}

.books-recon-values > div:first-child[b-0ld54cohks] {
    padding-left: 0;
}

.books-recon-values > div + div[b-0ld54cohks] {
    border-left: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.books-recon-hero[b-0ld54cohks] {
    font-size: var(--itrela-text-20);
}

.books-account-switcher[b-0ld54cohks] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.books-account-switcher-label[b-0ld54cohks] {
    color: var(--mud-palette-text-secondary);
    font-weight: var(--itrela-weight-strong);
}

.books-section[b-0ld54cohks]  .books-account-choice {
    border-color: var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
}

.books-section[b-0ld54cohks]  .books-account-choice:hover {
    border-color: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 45%);
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 97%);
}

.books-section[b-0ld54cohks]  .books-account-choice--selected {
    border-color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 90%);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.books-section[b-0ld54cohks]  .books-account-status {
    color: var(--mud-palette-text-secondary);
}

.books-section[b-0ld54cohks]  .books-account-status--attention {
    color: var(--mud-palette-warning-darken);
}

.books-current-account[b-0ld54cohks] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.books-current-account > div[b-0ld54cohks] {
    min-width: 0;
}

/* The drawn two-column close screen: working card left, explanation,
   history and the escape hatch in a 340px right column. */
.books-close-grid[b-0ld54cohks] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--itrela-card-gap);
    align-items: start;
}

@media (max-width: 1099px) {
    .books-close-grid[b-0ld54cohks] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .books-first-run-steps[b-0ld54cohks] {
        grid-template-columns: minmax(0, 1fr);
    }

    .books-story-grid[b-0ld54cohks] {
        grid-template-columns: minmax(0, 1fr);
    }

    .books-recon-values[b-0ld54cohks] {
        grid-template-columns: minmax(0, 1fr);
    }

    .books-recon-values > div[b-0ld54cohks] {
        padding: 6px 0;
    }

    .books-recon-values > div + div[b-0ld54cohks] {
        border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .books-card-head[b-0ld54cohks] {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Tabs sometimes place a result surface after a command bar. Keep every such
   transition on the single card-gap token, independent of populated state. */
.books-section[b-0ld54cohks]  .books-card-gap {
    margin-top: var(--itrela-card-gap);
}

.books-section[b-0ld54cohks]  .books-card-gap-sm {
    margin-top: var(--itrela-card-gap);
}

.books-section[b-0ld54cohks]  .books-card-gap-xs {
    margin-top: var(--itrela-card-gap);
}

/* Bills and vendors share the route but never compete for vertical space.
   The trough is the tinted ground (surface-t), the active thumb a raised
   surface with a drawn 1px shadow. */
.books-view-switch[b-0ld54cohks] {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
}

.books-view-switch button[b-0ld54cohks] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 13px;
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.books-view-switch button.is-active[b-0ld54cohks] {
    background: var(--mud-palette-surface);
    box-shadow: none;
    color: var(--mud-palette-text-primary);
}

.books-view-switch-count[b-0ld54cohks] {
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
}

.books-overdue-banner[b-0ld54cohks] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 62%);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-error), transparent 92%);
}

.books-overdue-banner[b-0ld54cohks]  .mud-typography {
    flex: 1;
}

.books-overdue-link[b-0ld54cohks] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    height: 31px;
    padding: 0 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 55%);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-error);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    white-space: nowrap;
}

.books-overdue-link:hover[b-0ld54cohks] {
    text-decoration: underline;
}

/* Index-shell PageHeader alignment: keeps the 16px/12px index header rhythm. */
.books-header[b-0ld54cohks] {
    width: 100%;
    min-width: 0;
}

.books-header[b-0ld54cohks]  .page-header {
    padding-bottom: 0;
}

.books-header[b-0ld54cohks]  .page-header-text {
    gap: 2px;
}

.books-section[b-0ld54cohks]  .books-card-heading {
    font-weight: var(--itrela-weight-strong);
}

.books-section[b-0ld54cohks]  .books-date-cell {
    white-space: nowrap;
}

.books-section[b-0ld54cohks]  .books-actions-cell {
    text-align: right;
    white-space: nowrap;
}

.books-section[b-0ld54cohks]  .books-bank-state-filter {
    min-width: 160px;
}

.books-section[b-0ld54cohks]  .books-bill-state-filter {
    min-width: 140px;
}

.books-section[b-0ld54cohks]  .books-period-select {
    min-width: 250px;
}

.books-section[b-0ld54cohks]  .books-suggestions-cell {
    background: var(--mud-palette-background-gray);
}

.books-suggestion-copy[b-0ld54cohks] {
    flex: 1 1 auto;
}

.books-section[b-0ld54cohks]  .books-report-description {
    display: block;
    margin-top: 8px;
}

.books-section[b-0ld54cohks]  .books-text-col {
    text-align: left;
}

.books-section[b-0ld54cohks]  .books-close-event-icon {
    margin-top: 2px;
}

.books-section[b-0ld54cohks]  .books-aging-critical {
    color: var(--mud-palette-error);
}

/* Per-report export/print actions: a quiet right-aligned pair above each
   report's table (CSV + Print), matching the Reports-page CSV button idiom. */
.books-report-actions[b-0ld54cohks] {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 8px;
}

.books-report-title[b-0ld54cohks] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.books-report-title span[b-0ld54cohks] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-regular);
}

.books-reopen-button[b-0ld54cohks] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 65%);
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-error);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.books-reopen-button[b-0ld54cohks]  .mud-icon-root {
    font-size: 17px;
}

/* Bank-line row verbs, as drawn: 28px, radius 7. Match asks in the accent;
   Categorize stays a neutral line button. */
.books-section[b-0ld54cohks]  .books-bank-action {
    height: 28px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.books-section[b-0ld54cohks]  .books-bank-action--accent {
    border-color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    color: var(--mud-palette-primary);
}

.books-close-card .billing-health-list[b-0ld54cohks] {
    display: grid;
    gap: 8px;
}

.books-close-card .billing-health-item[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.books-close-card .billing-health-item-main[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.books-close-card .billing-health-item-title[b-0ld54cohks] {
    font-weight: var(--itrela-weight-strong);
}

.books-close-does[b-0ld54cohks] {
    display: grid;
    gap: 10px;
}

.books-close-does > div[b-0ld54cohks] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Account group headers are the design's whisper labels: uppercase, wide
   tracking, on the quiet raise (the palette's surface-q value). */
.books-workbench-grid[b-0ld54cohks]  .books-account-group .mud-table-cell {
    padding-top: 10px;
    padding-bottom: 6px;
    background: var(--mud-palette-table-striped);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

/* The opening-balance warning is a decision aid, not a one-line label. Keep
   it readable on desktop and inside a phone viewport. The transaction's own
   native title lives on its sibling span, so the two tips never overlap. */
.books-opening-warning-tooltip[b-0ld54cohks] {
    width: min(330px, calc(100vw - 32px));
    white-space: normal;
    text-align: left;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
    line-height: 1.45;
}

.books-opening-warning-tooltip strong[b-0ld54cohks] {
    display: block;
    margin-bottom: 4px;
    font-weight: var(--itrela-weight-strong);
}

@media (max-width: 700px) {
    .books-section--composed[b-0ld54cohks] {
        padding: 20px;
    }

    .books-workbench-header[b-0ld54cohks],
    .books-workbench-filter[b-0ld54cohks],
    .books-entry-line[b-0ld54cohks] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Calendar.razor.rz.scp.css */
/* WorkbenchShell owns the frame — width, band spacing, and scrolling. This
   file only connects the calendar's own geometry to that chrome: the header
   and toolbar fill their bands, and the grid reads the shell's row token. */
.cal-header[b-9woq4sfuo5],
.cal-bar[b-9woq4sfuo5] {
    width: 100%;
    min-width: 0;
}

/* ── View controls: WHO × SPAN segments, weeknav, kind legend ──────── */
.cal-bar[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* The bar wraps (the key takes its own row on narrow windows), so it
       keeps air above and below its rows inside the band. */
    padding-block: var(--itrela-space-8);
}

.cal-bar-spacer[b-9woq4sfuo5] {
    flex: 1;
}

.cal-nav-btn:focus-visible[b-9woq4sfuo5],
.cal-nav-today:focus-visible[b-9woq4sfuo5],
.cal-link:focus-visible[b-9woq4sfuo5] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.cal-weeknav[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-primary);
}

.cal-nav-btn[b-9woq4sfuo5] {
    width: 28px;
    height: 28px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 28%);
    border-radius: var(--itrela-radius-control);
    padding: 0;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-primary);
    font: inherit;
    font-weight: var(--itrela-weight-regular);
    cursor: pointer;
}

.cal-nav-btn:disabled[b-9woq4sfuo5] {
    color: var(--mud-palette-text-disabled);
    cursor: default;
}

.cal-nav-today[b-9woq4sfuo5] {
    border: 1px solid color-mix(in oklab, var(--mud-palette-secondary), transparent 70%);
    padding: 4px 10px;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-secondary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.cal-nav-today:hover[b-9woq4sfuo5] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 25%);
}

/* The key wraps between items, never inside one: each item keeps its words
   on one line, so a narrow window adds rows instead of squeezing labels into
   columns or pushing the last item off the edge. */
.cal-kind-legend[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-4) var(--itrela-space-12);
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-k[b-9woq4sfuo5] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.cal-sw[b-9woq4sfuo5] {
    width: 10px;
    height: 10px;
    border-radius: var(--itrela-radius-small);
    flex: 0 0 auto;
}

.cal-sw--visit[b-9woq4sfuo5] { background: var(--mud-palette-primary); }
.cal-sw--work[b-9woq4sfuo5] { background: var(--itrela-status-warning); }
.cal-sw--window[b-9woq4sfuo5] { background: var(--mud-palette-secondary); }
.cal-sw--block[b-9woq4sfuo5] { background: #9AA4AD; }
.cal-sw--sync[b-9woq4sfuo5] {
    border: 1px dashed var(--mud-palette-lines-default);
    background: repeating-linear-gradient(45deg, transparent 0 2px, color-mix(in oklab, var(--mud-palette-text-primary), transparent 86%) 2px 4px);
}

.cal-kind-legend[b-9woq4sfuo5]  .cal-canceled-switch {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

/* The Canceled switch belongs to the key, so its label reads at the key's
   size and colour instead of the 14px switch-label default. */
.cal-kind-legend[b-9woq4sfuo5]  .cal-canceled-switch .mud-typography {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

/* ── Board + needs-scheduling rail ─────────────────────────────────── */
/* The workbench body is unpadded; the grid is drawn geometry, not a list,
   so it insets itself from the shell's row token instead of bleeding. */
.cal-grid-area[b-9woq4sfuo5] {
    flex: 1 1 auto;
    min-height: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--itrela-card-gap);
    align-items: start;
    align-content: start;
    padding: var(--itrela-workbench-row-pad);
    background: var(--mud-palette-background);
}

.cal-columns[b-9woq4sfuo5] {
    display: grid;
    gap: 8px;
}

.cal-columns--1[b-9woq4sfuo5] { grid-template-columns: 1fr; }
.cal-columns--2[b-9woq4sfuo5] { grid-template-columns: repeat(2, 1fr); }
.cal-columns--3[b-9woq4sfuo5] { grid-template-columns: repeat(3, 1fr); }
.cal-columns--4[b-9woq4sfuo5] { grid-template-columns: repeat(4, 1fr); }
.cal-columns--5[b-9woq4sfuo5] { grid-template-columns: repeat(5, 1fr); }
.cal-columns--6[b-9woq4sfuo5] { grid-template-columns: repeat(6, 1fr); }
.cal-columns--7[b-9woq4sfuo5] { grid-template-columns: repeat(7, 1fr); }

.cal-col[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 260px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    overflow: hidden;
}

.cal-col--today[b-9woq4sfuo5] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 32%);
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--mud-palette-primary), transparent 74%),
        0 8px 22px -18px color-mix(in oklab, var(--mud-palette-primary), transparent 28%);
}

.cal-col--off[b-9woq4sfuo5] {
    border-color: color-mix(in oklab, var(--mud-palette-warning), transparent 60%);
    background: repeating-linear-gradient(
        -45deg,
        color-mix(in oklab, var(--mud-palette-warning), transparent 96%) 0 8px,
        color-mix(in oklab, var(--mud-palette-warning), transparent 92%) 8px 9px);
}

.cal-col--off .cal-col-head[b-9woq4sfuo5] {
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 92%);
}

.cal-col-head[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 10px 11px 8px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 16%);
}

.cal-col-avatar[b-9woq4sfuo5] {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--cal-team-avatar, var(--mud-palette-primary));
    color: #fff;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-col-name[b-9woq4sfuo5] {
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-primary);
}

.cal-col--today .cal-col-name[b-9woq4sfuo5] {
    color: var(--mud-palette-primary);
}

.cal-col-load[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}

.cal-col-load--over[b-9woq4sfuo5] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.cal-travel-total[b-9woq4sfuo5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-warning);
}

.cal-travel-total[b-9woq4sfuo5]  .mud-icon-root {
    font-size: 15px;
}

.cal-col-body[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    padding: 8px;
}

/* The drop target lights up mid-drag; the drawn hint names the exact slot.
   Left-aligned column: ink title, warn travel line, quiet sub (§ H). */
.cal-drop-hint[b-9woq4sfuo5] {
    display: none;
    border: 1px dashed color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 20%);
    border-radius: var(--itrela-radius-surface);
    padding: 14px;
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}

.cal-drop-hint-title[b-9woq4sfuo5] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.cal-drop-hint-sub[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-drop-hint-travel[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-warning);
}

.cal-drop-hint-travel[b-9woq4sfuo5]  .mud-icon-root {
    font-size: 16px;
}

.cal-drop-hint-over[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--itrela-status-critical);
}

.cal-can-drop[b-9woq4sfuo5] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 30%);
    box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--mud-palette-primary), transparent 55%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}

.cal-can-drop .cal-drop-hint[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Event cards ───────────────────────────────────────────────────── */
/* MudMenu wraps every card; its root and activator are MudBlazor DOM
   (no scope attribute from this file) and must be sized through ::deep —
   without this they shrink-wrap to content and an overlap pair's second
   card spills into the next week column instead of sharing the width. */
.cal-col-body[b-9woq4sfuo5]  .cal-evt-menu,
.cal-col-body[b-9woq4sfuo5]  .mud-menu,
.cal-col-body[b-9woq4sfuo5]  .mud-menu-activator {
    display: block;
    width: 100%;
    min-width: 0;
}

.cal-col-body[b-9woq4sfuo5]  .mud-drop-item,
.cal-col-body[b-9woq4sfuo5]  .cal-evt-shell {
    display: block;
    width: 100%;
    min-width: 0;
}

.cal-evt-shell[b-9woq4sfuo5] {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.cal-evt-drag-handle[b-9woq4sfuo5] {
    position: absolute;
    z-index: 2;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-surface), transparent 8%);
    color: var(--mud-palette-text-secondary);
    cursor: grab;
    touch-action: none;
}

.cal-evt-drag-handle:active[b-9woq4sfuo5] {
    cursor: grabbing;
}

.cal-evt-drag-handle:focus-visible[b-9woq4sfuo5] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

.cal-evt[b-9woq4sfuo5] {
    display: block;
    width: 100%;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-left: 3px solid var(--mud-palette-secondary);
    border-radius: var(--itrela-radius-control);
    padding: 7px 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cal-evt:hover[b-9woq4sfuo5] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 55%);
}

.cal-evt:focus-visible[b-9woq4sfuo5] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.cal-evt .e-time[b-9woq4sfuo5] {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
}

.cal-evt .e-continuation[b-9woq4sfuo5] {
    display: block;
    margin-top: 1px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-evt .e-title[b-9woq4sfuo5] {
    display: block;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.3;
    margin-top: 1px;
}

.cal-evt .e-client[b-9woq4sfuo5] {
    display: block;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}

.cal-evt .e-tk[b-9woq4sfuo5] {
    display: block;
    margin-top: 1px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.cal-evt--visit[b-9woq4sfuo5] {
    border-left-color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}
.cal-evt--window[b-9woq4sfuo5] {
    border-left-color: var(--mud-palette-secondary);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 95%);
}
.cal-evt--block[b-9woq4sfuo5] {
    border-left-color: #9AA4AD;
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 96%);
}
.cal-evt--work[b-9woq4sfuo5] {
    border-left-color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 94%);
}

.cal-evt--canceled[b-9woq4sfuo5] {
    opacity: 0.55;
}

.cal-evt--canceled .e-title[b-9woq4sfuo5] {
    text-decoration: line-through;
}

/* Synced busy: hatched, quiet, no popover — details stay in the source. */
.cal-evt--sync[b-9woq4sfuo5],
.cal-evt--sync:hover[b-9woq4sfuo5] {
    border: 1px dashed var(--mud-palette-lines-default);
    background: repeating-linear-gradient(45deg, transparent 0 6px, color-mix(in oklab, var(--mud-palette-text-primary), transparent 95.5%) 6px 12px);
    color: var(--mud-palette-text-secondary);
    cursor: default;
}

.cal-evt--sync .e-title[b-9woq4sfuo5] {
    color: var(--mud-palette-text-secondary);
}

/* Overlapping entries stack side by side; the note names the overlap. */
.cal-conflict[b-9woq4sfuo5] {
    display: flex;
    gap: 6px;
}

.cal-conflict[b-9woq4sfuo5]  .cal-evt-menu {
    flex: 1;
    min-width: 0;
}

/* A pair shares one narrow week column: the mono range wraps rather than
   forcing the card wider than its half. */
.cal-conflict .cal-evt .e-time[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    white-space: normal;
    overflow-wrap: anywhere;
}

.cal-conflict-note[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 2px;
    font-size: var(--itrela-text-12);
    color: var(--itrela-status-warning);
}

.cal-off-chip[b-9woq4sfuo5] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-12);
    color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 92%);
    font-weight: var(--itrela-weight-strong);
}

.cal-free[b-9woq4sfuo5] {
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: 6px 8px;
    font-size: var(--itrela-text-12);
    color: var(--itrela-status-ok);
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 96%);
}

/* Team + Week: one tech column, day sections inside. */
.cal-weeksec[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.cal-weeksec:first-of-type[b-9woq4sfuo5] {
    border-top: none;
}

.cal-weeksec-head[b-9woq4sfuo5] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 2px;
}

.cal-weeksec-day[b-9woq4sfuo5] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.cal-weeksec-load[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-travel-total--week[b-9woq4sfuo5] {
    margin-top: 0;
    margin-left: auto;
    font-size: var(--itrela-text-12);
}

/* ── Needs scheduling rail ─────────────────────────────────────────── */
.cal-needs[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    overflow: hidden;
}

/* One inline row: title, the count note on the same line, breaches pushed
   right (§ H Proposed). No explainer row — the rows teach the drag. */
.cal-needs-head[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 16%);
}

.cal-needs-title[b-9woq4sfuo5] {
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.cal-needs-sub[b-9woq4sfuo5] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.cal-needs-breaches[b-9woq4sfuo5] {
    margin-left: auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--itrela-status-critical);
}

.cal-needs-rows[b-9woq4sfuo5] {
    display: flex;
    flex-direction: column;
}

.cal-u-row[b-9woq4sfuo5] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    cursor: grab;
}

.cal-u-drag[b-9woq4sfuo5] {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
}

.cal-u-row:first-child[b-9woq4sfuo5] {
    border-top: none;
}

.cal-u-main[b-9woq4sfuo5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cal-u-title[b-9woq4sfuo5] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.cal-u-client[b-9woq4sfuo5] {
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.cal-u-due[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
}

.cal-u-due--warning[b-9woq4sfuo5] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.cal-u-due--critical[b-9woq4sfuo5] {
    color: var(--itrela-status-critical);
}

.cal-u-location[b-9woq4sfuo5] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-u-location[b-9woq4sfuo5]  .mud-icon-root {
    font-size: 15px;
}

.cal-u-meta[b-9woq4sfuo5] {
    margin-top: 1px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-link[b-9woq4sfuo5] {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.cal-link:hover[b-9woq4sfuo5] {
    text-decoration: underline;
}

.cal-u-assign[b-9woq4sfuo5] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
}

.cal-u-unmark[b-9woq4sfuo5] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.cal-needs-empty[b-9woq4sfuo5] {
    padding: 14px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-needs-foot[b-9woq4sfuo5] {
    padding: 10px 12px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    font-size: var(--itrela-text-12);
}

/* ── Empty week inline banner above the day columns ───────────────── */
.cal-empty[b-9woq4sfuo5] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 16px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
}

.cal-empty-copy[b-9woq4sfuo5] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    min-width: 0;
}

@media (max-width: 1100px) {
    .cal-grid-area[b-9woq4sfuo5] {
        grid-template-columns: 1fr;
    }

    .cal-needs[b-9woq4sfuo5] {
        grid-column: 1;
    }

    .cal-kind-legend[b-9woq4sfuo5] {
        width: 100%;
    }

    /* The key wraps here, and a dot that lands at the start of a row reads
       as a stray mark; the gap alone separates the Canceled switch. */
    .cal-k-sep[b-9woq4sfuo5] {
        display: none;
    }
}

.cal-empty-title[b-9woq4sfuo5] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.cal-empty-sub[b-9woq4sfuo5] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-empty-actions[b-9woq4sfuo5] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Phone (<600px): the Day/Week projections keep their existing rules.
   Month owns its stacked-list rules in CalendarMonthView.razor.css. ── */
@media (max-width: 599.98px) {
    .cal-grid-area[b-9woq4sfuo5] {
        grid-template-columns: 1fr;
    }

    .cal-columns--2[b-9woq4sfuo5],
    .cal-columns--3[b-9woq4sfuo5],
    .cal-columns--4[b-9woq4sfuo5],
    .cal-columns--5[b-9woq4sfuo5],
    .cal-columns--6[b-9woq4sfuo5],
    .cal-columns--7[b-9woq4sfuo5] {
        grid-template-columns: 1fr;
    }

    /* My + Week keeps its compact today-only phone projection. */
    .cal-columns--my-week .cal-col:not(.cal-col--today)[b-9woq4sfuo5] {
        display: none;
    }

    /* The week grid's 260px drop-target floor is dead space on a phone. */
    .cal-col[b-9woq4sfuo5] {
        min-height: 0;
    }

    .cal-kind-legend[b-9woq4sfuo5] {
        gap: var(--itrela-space-4) var(--itrela-space-12);
    }
}

/* The view switches are the shared ChoiceSwitch (their look lives there). A
   phone keeps the old rule: My calendar / Team is not offered under 600px. */
@media (max-width: 599.98px) {
    .cal-bar[b-9woq4sfuo5]  .cal-who-switch {
        display: none;
    }
}
/* /Components/Pages/CalendarEntryPopoverContent.razor.rz.scp.css */
.cal-evt-pop[b-6y9jsmt5js] {
    width: min(360px, calc(100vw - 32px));
    background: var(--mud-palette-surface);
}

.cal-evt-pop-head[b-6y9jsmt5js] {
    padding: 12px 14px 8px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.cal-evt-pop-title[b-6y9jsmt5js] {
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-14);
    line-height: 1.3;
    color: var(--mud-palette-text-primary);
}

.cal-evt-pop-when[b-6y9jsmt5js] {
    margin-top: 2px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-evt-pop-body[b-6y9jsmt5js] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.cal-evt-pop-prov[b-6y9jsmt5js],
.cal-evt-pop-note[b-6y9jsmt5js],
.cal-evt-pop-visibility[b-6y9jsmt5js] {
    color: var(--mud-palette-text-secondary);
}

.cal-evt-pop-series[b-6y9jsmt5js],
.cal-evt-pop-email[b-6y9jsmt5js] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.cal-evt-pop-links[b-6y9jsmt5js] {
    display: flex;
    gap: 8px 14px;
    flex-wrap: wrap;
    padding: 10px 14px 12px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.cal-evt-pop-links a[b-6y9jsmt5js],
.cal-evt-pop-link[b-6y9jsmt5js] {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    cursor: pointer;
}

.cal-evt-pop-links a:hover[b-6y9jsmt5js],
.cal-evt-pop-link:hover[b-6y9jsmt5js] {
    text-decoration: underline;
}

.cal-evt-pop-links a:focus-visible[b-6y9jsmt5js],
.cal-evt-pop-link:focus-visible[b-6y9jsmt5js] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.cal-kind-chip[b-6y9jsmt5js] {
    display: inline-flex;
    align-items: center;
    padding: 1.5px 9px;
    border-radius: var(--itrela-radius-pill);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-kind-chip--visit[b-6y9jsmt5js] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 88%);
    color: var(--mud-palette-primary-darken);
}

.cal-kind-chip--work[b-6y9jsmt5js] {
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 86%);
    color: var(--itrela-status-warning);
}

.cal-kind-chip--window[b-6y9jsmt5js] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 86%);
    color: var(--mud-palette-secondary);
}

.cal-kind-chip--block[b-6y9jsmt5js] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 88%);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/CalendarMonthView.razor.rz.scp.css */
.cal-month-view[b-3kfkcv0kua] {
    padding: var(--itrela-workbench-row-pad);
    background: color-mix(in oklab, var(--mud-palette-background), transparent 44%);
}

.cal-month-horizon[b-3kfkcv0kua] {
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-warning), transparent 62%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 94%);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
}

.cal-month-weekdays[b-3kfkcv0kua],
.cal-month-days[b-3kfkcv0kua] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal-month-weekdays[b-3kfkcv0kua] {
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom: 0;
    border-radius: var(--itrela-radius-control) var(--itrela-radius-control) 0 0;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
}

.cal-month-weekdays span[b-3kfkcv0kua] {
    padding: 7px 9px;
    border-left: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.cal-month-weekdays span:first-child[b-3kfkcv0kua] {
    border-left: 0;
}

.cal-month-days[b-3kfkcv0kua] {
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 0 0 var(--itrela-radius-control) var(--itrela-radius-control);
    background: var(--mud-palette-lines-default);
    gap: 1px;
}

.cal-month-day[b-3kfkcv0kua] {
    min-width: 0;
    min-height: 132px;
    padding: 7px;
    background: var(--mud-palette-surface);
    cursor: pointer;
}

.cal-month-day:hover[b-3kfkcv0kua] {
    background: var(--mud-palette-table-striped);
}

.cal-month-day--outside[b-3kfkcv0kua] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 54%);
}

.cal-month-day--outside .cal-month-date[b-3kfkcv0kua],
.cal-month-day--outside .cal-month-chip[b-3kfkcv0kua],
.cal-month-day--outside .cal-month-marker[b-3kfkcv0kua],
.cal-month-day--outside .cal-month-more[b-3kfkcv0kua] {
    opacity: 0.58;
}

.cal-month-day--today[b-3kfkcv0kua] {
    box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--mud-palette-primary), transparent 38%);
}

.cal-month-date[b-3kfkcv0kua] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    min-height: 25px;
    margin: 0 0 5px;
    padding: 0 5px;
    border: 0;
    border-radius: var(--itrela-radius-pill);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.cal-month-day--today .cal-month-date[b-3kfkcv0kua] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.cal-month-date:focus-visible[b-3kfkcv0kua],
.cal-month-chip:focus-visible[b-3kfkcv0kua] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.cal-month-date-full[b-3kfkcv0kua] {
    display: none;
}

.cal-month-marker[b-3kfkcv0kua] {
    display: block;
    margin-bottom: 4px;
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-month-marker--timeoff[b-3kfkcv0kua] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.cal-month-chips[b-3kfkcv0kua] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cal-month-chips[b-3kfkcv0kua]  .cal-month-entry-menu,
.cal-month-chips[b-3kfkcv0kua]  .mud-menu,
.cal-month-chips[b-3kfkcv0kua]  .mud-menu-activator {
    display: block;
    width: 100%;
    min-width: 0;
}

.cal-month-chip[b-3kfkcv0kua] {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    padding: 4px 6px;
    border: 0;
    border-left: 3px solid var(--mud-palette-secondary);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 93%);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    text-align: left;
    cursor: pointer;
}

.cal-month-chip:hover[b-3kfkcv0kua] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 87%);
}

.cal-month-chip--visit[b-3kfkcv0kua] {
    border-left-color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 93%);
}

.cal-month-chip--work[b-3kfkcv0kua] {
    border-left-color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 92%);
}

.cal-month-chip--block[b-3kfkcv0kua] {
    border-left-color: var(--mud-palette-text-secondary);
}

.cal-month-chip--canceled[b-3kfkcv0kua] {
    opacity: 0.55;
    text-decoration: line-through;
}

.cal-month-tech-dot[b-3kfkcv0kua] {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--cal-month-tech, var(--mud-palette-primary));
}

.cal-month-chip-time[b-3kfkcv0kua] {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-month-chip-title[b-3kfkcv0kua] {
    min-width: 0;
    overflow: hidden;
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-month-more[b-3kfkcv0kua] {
    display: block;
    margin-top: 5px;
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

/* Month has one DOM at every width. On phones it becomes a deliberate
   stacked agenda, and truly empty days disappear instead of pretending the
   desktop empty-cell click affordance still exists. */
@media (max-width: 599.98px) {
    .cal-month-view[b-3kfkcv0kua] {
        padding: 12px;
    }

    .cal-month-weekdays[b-3kfkcv0kua] {
        display: none;
    }

    .cal-month-days[b-3kfkcv0kua] {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-radius: var(--itrela-radius-control);
        background: var(--mud-palette-surface);
    }

    .cal-month-day[b-3kfkcv0kua] {
        min-height: 0;
        padding: 10px;
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    .cal-month-day:last-child[b-3kfkcv0kua] {
        border-bottom: 0;
    }

    .cal-month-day--empty[b-3kfkcv0kua] {
        display: none;
    }

    .cal-month-date-short[b-3kfkcv0kua] {
        display: none;
    }

    .cal-month-date-full[b-3kfkcv0kua] {
        display: inline;
    }

    .cal-month-date[b-3kfkcv0kua] {
        justify-content: flex-start;
        padding: 0 7px;
    }

    .cal-month-day--today .cal-month-date[b-3kfkcv0kua] {
        background: color-mix(in oklab, var(--mud-palette-primary), transparent 88%);
        color: var(--mud-palette-primary);
    }

    .cal-month-chip[b-3kfkcv0kua] {
        min-height: 34px;
    }
}
/* /Components/Pages/CalendarTeamStrip.razor.rz.scp.css */
/* Sits inside a WorkbenchBand now: the band owns the background, the
   hairline, and the inline padding — the strip keeps only its own geometry. */
.cal-team-bar[b-kjio2xd9fg] {
    width: 100%;
}

.cal-team-bar > summary[b-kjio2xd9fg] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
    list-style: none;
}

.cal-team-bar > summary[b-kjio2xd9fg]::-webkit-details-marker,
.cal-team-overflow > summary[b-kjio2xd9fg]::-webkit-details-marker {
    display: none;
}

.cal-team-bar > summary:focus-visible[b-kjio2xd9fg],
.cal-team-overflow > summary:focus-visible[b-kjio2xd9fg],
.cal-team-member:focus-visible[b-kjio2xd9fg],
.cal-team-option:focus-visible[b-kjio2xd9fg],
.cal-team-search input:focus-visible[b-kjio2xd9fg] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.cal-team-caret[b-kjio2xd9fg] {
    color: var(--mud-palette-text-secondary);
    font-weight: var(--itrela-weight-regular);
}

.cal-team-count[b-kjio2xd9fg] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.cal-team-body[b-kjio2xd9fg] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    padding: 0 0 10px;
}

.cal-team-member[b-kjio2xd9fg] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 5px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 32%);
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 42%);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.cal-team-member:hover[b-kjio2xd9fg] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 58%);
}

.cal-team-member--checked[b-kjio2xd9fg] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 45%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 90%);
    color: var(--mud-palette-primary);
}

.cal-team-avatar[b-kjio2xd9fg] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--cal-team-avatar, var(--mud-palette-primary));
    color: #fff;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-name[b-kjio2xd9fg] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-team-booked[b-kjio2xd9fg] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
}

.cal-team-period-helper[b-kjio2xd9fg] {
    margin-left: auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.cal-team-member--checked .cal-team-booked[b-kjio2xd9fg] {
    color: var(--mud-palette-primary);
}

.cal-team-overflow[b-kjio2xd9fg] {
    position: static;
    flex: 0 0 auto;
}

.cal-team-overflow > summary[b-kjio2xd9fg] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px dashed color-mix(in oklab, var(--mud-palette-primary), transparent 48%);
    border-radius: var(--itrela-radius-pill);
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
    list-style: none;
}

.cal-team-overflow[open] > summary[b-kjio2xd9fg],
.cal-team-overflow > summary:hover[b-kjio2xd9fg] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.cal-team-popover[b-kjio2xd9fg] {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 20;
    width: min(350px, calc(100vw - 48px));
    padding: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: var(--itrela-shadow-float);
}

.cal-team-search[b-kjio2xd9fg] {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
}

.cal-team-search input[b-kjio2xd9fg] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-13);
}

.cal-team-esc[b-kjio2xd9fg] {
    flex: 0 0 auto;
    font-family: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    padding: 0 5px;
    background: var(--mud-palette-surface);
}

.cal-team-group-title[b-kjio2xd9fg] {
    padding: 9px 8px 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.cal-team-scroll[b-kjio2xd9fg] {
    max-height: 220px;
    overflow-y: auto;
}

.cal-team-option[b-kjio2xd9fg] {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: 14px 26px minmax(0, 1fr) 8px auto;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    text-align: left;
    cursor: pointer;
}

.cal-team-option:hover[b-kjio2xd9fg],
.cal-team-option--checked[b-kjio2xd9fg] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.cal-team-option--offline[b-kjio2xd9fg] {
    opacity: 0.58;
}

.cal-team-option-check[b-kjio2xd9fg] {
    width: 14px;
    flex: 0 0 auto;
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-option-count[b-kjio2xd9fg] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.cal-team-empty[b-kjio2xd9fg],
.cal-team-popover-foot[b-kjio2xd9fg] {
    padding: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.cal-team-popover-foot[b-kjio2xd9fg] {
    margin: 5px -8px -8px;
    border-top: 1px solid var(--mud-palette-lines-default);
    text-align: center;
}

.cal-team-legend[b-kjio2xd9fg] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 1 auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.cal-presence-dot[b-kjio2xd9fg] {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-lines-default);
}

.cal-presence-dot--active[b-kjio2xd9fg] {
    background: var(--itrela-status-ok);
}

.cal-presence-dot--away[b-kjio2xd9fg] {
    background: var(--itrela-status-warning);
}

.cal-presence-dot--offline[b-kjio2xd9fg] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 38%);
}

@media (max-width: 600px) {
    /* Team view stays a desktop job (the mockup's phone figure). */
    .cal-team-bar[b-kjio2xd9fg] {
        display: none;
    }

    .cal-team-popover[b-kjio2xd9fg] {
        position: fixed;
        top: 18vh;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

@media (max-width: 1000px) {
    .cal-team-period-helper[b-kjio2xd9fg] {
        width: 100%;
        margin-left: 0;
    }
}
/* /Components/Pages/Clients/Components/ClientBillingContractCard.razor.rz.scp.css */
.client-contract-card-host[b-b5xftw8d25] {
    min-width: 0;
}

.client-contract-card-host[b-b5xftw8d25]  .client-contract-card {
    overflow: hidden;
}

.client-contract-card-host[b-b5xftw8d25]  .client-contract-card--dimmed {
    opacity: 0.72;
}

.contract-card-header[b-b5xftw8d25] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
}

.contract-card-toggle[b-b5xftw8d25] {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.contract-card-toggle > span:first-child[b-b5xftw8d25],
.contract-row-main[b-b5xftw8d25] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contract-card-title[b-b5xftw8d25] {
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.contract-card-sentence[b-b5xftw8d25],
.contract-card-meta[b-b5xftw8d25],
.contract-row-main span[b-b5xftw8d25],
.contract-row-detail[b-b5xftw8d25] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.contract-card-actions[b-b5xftw8d25] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.contract-card-meta[b-b5xftw8d25] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 0 18px 12px;
}

.contract-card-health[b-b5xftw8d25] {
    padding: 0 18px 10px;
}

.contract-health-line[b-b5xftw8d25] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-info), transparent 92%);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
}

.contract-health-line + .contract-health-line[b-b5xftw8d25] {
    margin-top: 6px;
}

.contract-health-line--critical[b-b5xftw8d25] {
    background: color-mix(in oklab, var(--mud-palette-error), transparent 91%);
}

.contract-health-line > span[b-b5xftw8d25] {
    flex: 1 1 auto;
}

.contract-card-rows[b-b5xftw8d25] {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(240px, 1.65fr) max-content max-content minmax(80px, max-content);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.contract-card-row[b-b5xftw8d25] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 9px 18px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
}

.contract-card-row--approaching[b-b5xftw8d25] {
    box-shadow: inset 3px 0 0 var(--itrela-status-warning);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 94%);
}

.contract-card-row--exhausted[b-b5xftw8d25] {
    box-shadow: inset 3px 0 0 var(--itrela-status-critical);
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 94%);
}

.contract-row-main[b-b5xftw8d25] {
    grid-column: 1;
}

.contract-row-detail[b-b5xftw8d25] {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contract-row-charge-detail[b-b5xftw8d25] {
    color: var(--mud-palette-text-primary);
}

.contract-row-chip[b-b5xftw8d25] {
    grid-column: 3;
}

.contract-row-action[b-b5xftw8d25] {
    grid-column: 4;
}

.contract-row-amount[b-b5xftw8d25] {
    grid-column: 5;
    min-width: 80px;
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.contract-card-footer[b-b5xftw8d25] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 18px;
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 45%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

@media (max-width: 744px) {
    .contract-card-header[b-b5xftw8d25],
    .contract-card-actions[b-b5xftw8d25] {
        flex-wrap: wrap;
    }

    .contract-card-rows[b-b5xftw8d25] {
        grid-template-columns: 1fr auto;
    }

    .contract-row-main[b-b5xftw8d25] {
        grid-column: 1;
        grid-row: 1;
    }

    .contract-row-detail[b-b5xftw8d25] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .contract-row-chip[b-b5xftw8d25],
    .contract-row-action[b-b5xftw8d25] {
        grid-column: auto;
        grid-row: auto;
    }

    .contract-row-amount[b-b5xftw8d25] {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 480px) {
    .contract-card-header[b-b5xftw8d25] {
        flex-direction: column;
    }

    .contract-card-actions[b-b5xftw8d25] {
        width: 100%;
    }

    .contract-card-rows[b-b5xftw8d25] {
        grid-template-columns: 1fr;
    }

    .contract-row-main[b-b5xftw8d25],
    .contract-row-detail[b-b5xftw8d25],
    .contract-row-chip[b-b5xftw8d25],
    .contract-row-action[b-b5xftw8d25],
    .contract-row-amount[b-b5xftw8d25] {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }
}
/* /Components/Pages/Clients/Components/ClientBillingRegion.razor.rz.scp.css */
.client-billing-column[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.dash-card-sub[b-vcsquyezce] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.dash-card-foot[b-vcsquyezce] {
    margin: 12px -16px -16px;
    padding: 10px 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.client-invoice-list[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
}

.client-invoice-row[b-vcsquyezce] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.client-invoice-row:first-child[b-vcsquyezce] {
    border-top: none;
}

.client-invoice-main[b-vcsquyezce],
.client-invoice-status[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
}

.client-invoice-status[b-vcsquyezce] {
    align-items: flex-start;
    gap: var(--itrela-space-4);
}

.client-invoice-main[b-vcsquyezce] {
    flex: 1 1 auto;
    min-width: 0;
}

.client-invoice-number[b-vcsquyezce] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.client-invoice-for[b-vcsquyezce],
.client-invoice-status-sub[b-vcsquyezce] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.client-invoice-total[b-vcsquyezce] {
    font-weight: var(--itrela-weight-strong);
    text-align: right;
}

.client-invoice-actions[b-vcsquyezce] {
    display: flex;
    gap: 10px;
    font-size: var(--itrela-text-12);
}

.client-invoice-actions a[b-vcsquyezce] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.client-billing-column[b-vcsquyezce]  .billing-fork-card {
    border-style: dashed;
}

.billing-fork-actions[b-vcsquyezce],
.billing-section-actions[b-vcsquyezce],
.billing-defaults-actions[b-vcsquyezce] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-fork-actions[b-vcsquyezce] {
    padding-top: 8px;
}

.client-billing-column[b-vcsquyezce]  .billing-verdict {
    overflow: hidden;
}

.billing-verdict-toggle[b-vcsquyezce] {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.billing-verdict-mark[b-vcsquyezce] {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    font-weight: var(--itrela-weight-strong);
}

.billing-verdict-copy[b-vcsquyezce] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.billing-verdict-copy span[b-vcsquyezce],
.billing-section-header span[b-vcsquyezce],
.billing-contract-offer span[b-vcsquyezce] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.billing-verdict-detail[b-vcsquyezce] {
    padding: 0 16px 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.billing-verdict-row[b-vcsquyezce] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    font-size: var(--itrela-text-13);
}

.billing-verdict-row > span:nth-child(2)[b-vcsquyezce] {
    flex: 1 1 auto;
}

.billing-verdict-actions[b-vcsquyezce] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
}

.billing-contract-stack[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.billing-section-header[b-vcsquyezce] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.billing-section-header h2[b-vcsquyezce] {
    margin: 0;
    font-size: var(--itrela-text-16);
}

.client-billing-column[b-vcsquyezce]  .billing-contract-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-style: dashed;
}

.billing-contract-offer > div[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
}

.client-invoice-row--critical[b-vcsquyezce] {
    margin-inline: -10px;
    padding-inline: 10px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-error), transparent 93%);
}

.billing-hour-bank-list[b-vcsquyezce] {
    display: flex;
    flex-direction: column;
}

.billing-hour-bank[b-vcsquyezce] {
    padding: 10px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.billing-hour-bank:first-child[b-vcsquyezce] {
    border-top: 0;
}

.billing-hour-bank-head[b-vcsquyezce],
.billing-hour-bank-head > span[b-vcsquyezce],
.billing-hour-bank-sub[b-vcsquyezce] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.billing-hour-bank-sub[b-vcsquyezce] {
    padding-top: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.client-billing-column[b-vcsquyezce]  .billing-defaults-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 10px 14px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.billing-defaults-label[b-vcsquyezce] {
    color: var(--mud-palette-text-secondary);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    font-size: var(--itrela-text-12);
}

.billing-defaults-group[b-vcsquyezce] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.billing-defaults-group + .billing-defaults-group[b-vcsquyezce]::before {
    width: 1px;
    height: 14px;
    margin-right: 8px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.billing-defaults-provenance[b-vcsquyezce] {
    color: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 25%);
    white-space: nowrap;
}

.billing-defaults-actions[b-vcsquyezce] {
    margin-left: auto;
}

@media (max-width: 744px) {
    .billing-section-header[b-vcsquyezce],
    .billing-contract-offer[b-vcsquyezce] {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-defaults-actions[b-vcsquyezce] {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .client-invoice-row[b-vcsquyezce] {
        flex-wrap: wrap;
    }

    .billing-section-actions[b-vcsquyezce],
    .billing-verdict-actions[b-vcsquyezce] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/Clients/Components/ClientBriefStrip.razor.rz.scp.css */
.client-brief-strip[b-y9ke34kg81] {
    margin-top: 16px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 72%);
    border-radius: var(--itrela-radius-tile, 12px);
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 94%);
    overflow: hidden;
}

.client-brief-strip summary[b-y9ke34kg81] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}

.client-brief-strip summary[b-y9ke34kg81]::-webkit-details-marker {
    display: none;
}

.client-brief-strip summary:focus-visible[b-y9ke34kg81],
.client-brief-refresh:focus-visible[b-y9ke34kg81] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.client-brief-sparkle[b-y9ke34kg81],
.client-brief-expand[b-y9ke34kg81] {
    color: var(--mud-palette-primary);
}

.client-brief-purpose[b-y9ke34kg81],
.client-brief-disclaimer[b-y9ke34kg81],
.client-brief-model[b-y9ke34kg81] {
    color: var(--mud-palette-text-secondary);
}

.client-brief-tag[b-y9ke34kg81] {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 90%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.client-brief-expand[b-y9ke34kg81] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.client-brief-body[b-y9ke34kg81] {
    padding: 0 14px 14px 40px;
}

.client-brief-narrative[b-y9ke34kg81] {
    line-height: 1.55;
    white-space: pre-line;
}

.client-brief-model[b-y9ke34kg81] {
    margin-top: 5px;
    font-size: var(--itrela-text-12);
}

.client-brief-loading[b-y9ke34kg81] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mud-palette-text-secondary);
}

/* The computed facts under the prose. Quieter than the narrative — they are
   corroboration and a way through, not the story. */
.client-brief-evidence[b-y9ke34kg81] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.client-brief-evidence-label[b-y9ke34kg81] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

.client-brief-chip[b-y9ke34kg81] {
    font-size: var(--itrela-text-12);
    padding: 2px 8px;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid var(--mud-palette-lines-default);
    white-space: nowrap;
}

.client-brief-actions[b-y9ke34kg81] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}

.client-brief-refresh[b-y9ke34kg81] {
    appearance: none;
    padding: 3px 2px;
    border: 0;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: var(--itrela-text-13);
    cursor: pointer;
}

.client-brief-refresh:hover:not(:disabled)[b-y9ke34kg81] {
    text-decoration: underline;
}

.client-brief-refresh:disabled[b-y9ke34kg81] {
    opacity: 0.55;
    cursor: default;
}

.client-brief-disclaimer[b-y9ke34kg81] {
    font-size: var(--itrela-text-12);
}

@media (max-width: 960px) {
    .client-brief-strip summary[b-y9ke34kg81] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .client-brief-tag[b-y9ke34kg81] {
        order: 4;
        width: 100%;
        margin-left: 26px;
        white-space: normal;
    }

    .client-brief-expand[b-y9ke34kg81] {
        margin-left: auto;
    }

    .client-brief-body[b-y9ke34kg81] {
        padding-left: 14px;
    }
}
/* /Components/Pages/Clients/Components/ClientHistoryFeed.razor.rz.scp.css */
.client-history-state[b-sl70ami657] {
    display: flex;
    justify-content: center;
    padding: 32px;
}

.client-history-empty[b-sl70ami657] {
    padding: 18px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-tile, 12px);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
}

.client-history-feed[b-sl70ami657] {
    display: grid;
    gap: 22px;
}

.client-history-month h3[b-sl70ami657] {
    margin: 0 0 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.client-history-rows[b-sl70ami657] {
    overflow: hidden;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-card, 14px);
    background: var(--mud-palette-surface);
}

.client-history-row[b-sl70ami657] {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 12px;
    color: inherit;
    text-decoration: none;
}

.client-history-row + .client-history-row[b-sl70ami657] {
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 48%);
}

.client-history-row:hover[b-sl70ami657] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.client-history-row:focus-visible[b-sl70ami657] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.client-history-icon[b-sl70ami657] {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 90%);
    color: var(--mud-palette-secondary);
}

.client-history-copy[b-sl70ami657] {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.client-history-title[b-sl70ami657] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.client-history-detail[b-sl70ami657] {
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-history-time[b-sl70ami657] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.client-history-row[b-sl70ami657]  .client-history-chevron {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 600px) {
    .client-history-row[b-sl70ami657] {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
    }

    .client-history-time[b-sl70ami657] {
        grid-column: 2;
        grid-row: 2;
    }

    .client-history-row[b-sl70ami657]  .client-history-chevron {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
}
/* /Components/Pages/Clients/Components/ClientNotesCard.razor.rz.scp.css */
.dash-card-header[b-cpyt5jpw02] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    margin-bottom: var(--itrela-space-8);
}

.dash-notes[b-cpyt5jpw02] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-primary);
}

.client-notes-latest[b-cpyt5jpw02] {
    margin-block: var(--itrela-space-12);
    padding: var(--itrela-space-12);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
}

.client-notes-label[b-cpyt5jpw02] {
    margin-bottom: var(--itrela-space-4);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.client-notes-actions[b-cpyt5jpw02] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-8);
}

.dash-last-activity[b-cpyt5jpw02] {
    margin-top: var(--itrela-space-12);
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Clients/Components/ClientOverviewRail.razor.rz.scp.css */
/* The Overview rail. Every card is the shared LabelValueList (title, rows,
   foot); this file draws only what the rail writes inside them: the plan's
   name and status, quiet notes, the health score and the foot's two ends.
   Tokens only. */

.client-overview-rail[b-cd7edvr5p1] {
    min-width: 0;
}

.client-plan-head[b-cd7edvr5p1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-4);
}

.client-plan-name[b-cd7edvr5p1] {
    min-width: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    overflow-wrap: anywhere;
}

.client-plan-note[b-cd7edvr5p1] {
    margin: 0;
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-8);
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

/* The same note as the only row of a group: no gap above, the group
   heading already gives it room. */
.client-plan-note--row[b-cd7edvr5p1] {
    padding-top: var(--itrela-space-4);
}

.client-rail-foot[b-cd7edvr5p1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-8) var(--itrela-space-16);
}

.client-rail-foot-end[b-cd7edvr5p1] {
    margin-left: auto;
}

.client-health-score-row[b-cd7edvr5p1] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-12);
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-4);
}

.client-health-score[b-cd7edvr5p1] {
    font-size: var(--itrela-text-28);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    font-variant-numeric: tabular-nums;
}

.client-health-lines[b-cd7edvr5p1] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    padding: var(--itrela-space-4) var(--itrela-space-16) var(--itrela-space-8);
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Clients/Components/ClientPasswordsCard.razor.rz.scp.css */
/* Passwords card: the shared LabelValueList holds the title and foot; this
   file draws the vault preview inside it and the degraded state. Tokens only. */

.client-credentials-preview[b-rj3vzyrg58],
.client-credentials-degraded[b-rj3vzyrg58] {
    padding: var(--itrela-space-8) var(--itrela-space-16) var(--itrela-space-8);
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-list {
    display: flex;
    flex-direction: column;
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-row {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-12);
    min-width: 0;
    padding: var(--itrela-space-8) 0;
    border-top: 1px solid var(--itrela-line);
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-row:first-child {
    border-top: 0;
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-main {
    flex: 1 1 auto;
    min-width: 0;
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-name,
.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-name {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-username,
.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-note {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.client-credentials-preview[b-rj3vzyrg58]  .vault-preview-note {
    margin-top: var(--itrela-space-8);
}

/* The panel's own empty line and its "Add the first one" button. */
.client-credentials-preview[b-rj3vzyrg58]  .dash-empty {
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.client-credentials-preview[b-rj3vzyrg58]  .dash-foot-link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.client-credentials-preview[b-rj3vzyrg58]  .dash-foot-link:hover {
    text-decoration: underline;
}

.client-credentials-preview[b-rj3vzyrg58]  .dash-foot-link:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-control);
}

.client-credentials-degraded p[b-rj3vzyrg58] {
    margin: 0 0 var(--itrela-space-4);
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Clients/Components/ClientPeoplePlacesCard.razor.rz.scp.css */
/* People and places: the shared LabelValueList holds the title and foot;
   this file draws the people, the billing address and the sites inside it.
   Tokens only. */

.client-pp-empty[b-n0xz3cepez] {
    margin: 0;
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-8);
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-secondary);
}

.client-pp-people[b-n0xz3cepez],
.client-pp-sites[b-n0xz3cepez] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-pp-people[b-n0xz3cepez] {
    margin-top: var(--itrela-space-8);
}

.client-pp-person[b-n0xz3cepez] {
    display: flex;
    flex-direction: column;
    gap: calc(var(--itrela-space-4) / 2);
    padding: var(--itrela-space-8) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

.client-pp-person:first-child[b-n0xz3cepez] {
    border-top: 0;
}

.client-pp-name[b-n0xz3cepez] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.client-pp-role[b-n0xz3cepez] {
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.client-pp-chips[b-n0xz3cepez] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-4);
    margin-top: var(--itrela-space-4);
}

.client-pp-chips:empty[b-n0xz3cepez] {
    display: none;
}

.client-pp-label[b-n0xz3cepez] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.client-pp-billing[b-n0xz3cepez] {
    display: flex;
    flex-direction: column;
    gap: calc(var(--itrela-space-4) / 2);
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-8);
    border-top: 1px solid var(--itrela-line);
}

.client-pp-mail[b-n0xz3cepez] {
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.client-pp-mail:hover[b-n0xz3cepez] {
    text-decoration: underline;
}

.client-pp-mail:focus-visible[b-n0xz3cepez] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-control);
}

.client-pp-sites-head[b-n0xz3cepez] {
    margin: 0;
    padding: var(--itrela-space-12) var(--itrela-space-16) var(--itrela-space-4);
    border-top: 1px solid var(--itrela-line);
}

.client-pp-site[b-n0xz3cepez] {
    padding: var(--itrela-space-4) var(--itrela-space-16) var(--itrela-space-8);
}
/* /Components/Pages/Clients/Components/ContractPlanHistoryPanel.razor.rz.scp.css */
.plan-history-host[b-8besyk781y] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.plan-history summary[b-8besyk781y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 45%);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    list-style: none;
}

.plan-history summary[b-8besyk781y]::-webkit-details-marker {
    display: none;
}

.plan-history summary[b-8besyk781y]::after {
    color: var(--mud-palette-text-secondary);
    content: "›";
    font-size: var(--itrela-text-16);
    transform: rotate(90deg);
    transition: transform 120ms ease;
}

.plan-history[open] summary[b-8besyk781y]::after {
    transform: rotate(-90deg);
}

.plan-history-count[b-8besyk781y] {
    margin-left: auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
}

.plan-history-body[b-8besyk781y] {
    padding: 0 18px 12px;
}

.plan-history-scope[b-8besyk781y],
.plan-history-empty[b-8besyk781y],
.plan-history-boundary[b-8besyk781y] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.plan-history-scope[b-8besyk781y] {
    padding: 10px 0;
}

.plan-history-entry[b-8besyk781y] {
    padding: 10px 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.plan-history-meta[b-8besyk781y] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.plan-history-entry ul[b-8besyk781y] {
    display: grid;
    gap: 4px;
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: var(--itrela-text-13);
}

.plan-history-boundary[b-8besyk781y] {
    padding: 10px 0 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}
/* /Components/Pages/Clients/ContractBuilder.razor.rz.scp.css */
/* ── Composed head: the back row stacked over the PageHeader ──────────
   The shell pins the whole band and holds the back row to the way back's
   one slot above the title; this wrapper only stacks the rows. No padding
   of its own, so the title starts where every other record page's does. */

.contract-chrome-head[b-634lcxlj9n] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* ── Back row (detail idiom) ──────────────────────────────────────────
   Mirrors the Billing invoice detail's .invoice-breadcrumb. `.contract-breadcrumb`
   is a plain div rendered by this page, so it carries the isolation
   attribute; the Mud pieces inside are reached through ::deep. */

.contract-breadcrumb[b-634lcxlj9n] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contract-builder[b-634lcxlj9n]  form.itrela-card-stack {
    gap: var(--itrela-card-gap);
}

.contract-origination[b-634lcxlj9n] {
    border-radius: var(--itrela-radius-tile);
}

.contract-section-title[b-634lcxlj9n],
.contract-template-title[b-634lcxlj9n]  .mud-typography {
    font-weight: var(--itrela-weight-strong);
}

.contract-template-card[b-634lcxlj9n] {
    height: 100%;
    padding: var(--itrela-card-pad);
    cursor: pointer;
    border-radius: var(--itrela-radius-tile);
    transition: border-color 120ms ease, background-color 120ms ease;
}

.contract-template-card:hover[b-634lcxlj9n],
.contract-template-card:focus-visible[b-634lcxlj9n] {
    border-color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 95%);
    outline: none;
}

.contract-template-title[b-634lcxlj9n] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.contract-service-head[b-634lcxlj9n] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contract-service-label[b-634lcxlj9n] {
    margin-bottom: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.contract-estimate-row[b-634lcxlj9n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contract-estimate-name[b-634lcxlj9n] {
    flex: 1 1 auto;
}

.contract-estimate-amount[b-634lcxlj9n] {
    min-width: 88px;
    text-align: right;
    font-weight: var(--itrela-weight-medium);
}

.contract-estimate-total[b-634lcxlj9n] {
    font-weight: var(--itrela-weight-strong);
}
/* /Components/Pages/Clients/Details.razor.rz.scp.css */
/* Body wrapper: vertical stack inside the composed column, and the anchor
   for this page's ::deep card rules (MudPaper renders outside CSS isolation
   scope). */
.client-detail[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
    width: 100%;
}

/* Composed detail head: breadcrumb over the title; the status pill, tags,
   and section tabs stack under it inside the pinned band — the same idiom
   as the ticket page head. */
.client-page-head[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.client-breadcrumb[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
}

.client-head-pills[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

/* The system-bucket page keeps the old card hero — it is not the drawn
   client header. MudPaper renders outside CSS isolation scope: ::deep. */
.client-detail[b-9dxlgtp1cl]  .client-hero {
    padding: 24px;
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 20%);
}

.client-hero-row[b-9dxlgtp1cl] {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.client-hero-main[b-9dxlgtp1cl] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-hero-title[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex-wrap: wrap;
}

.client-name[b-9dxlgtp1cl] {
    margin: 0;
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-meta-link[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-secondary);
}

.client-meta-link:hover[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-primary);
}

.client-meta-strong[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.client-meta-divider[b-9dxlgtp1cl] {
    opacity: 0.7;
}

.client-hero-tags[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Tabs ──────────────────────────────────────────────────────────
   The strip lives inside the header band: no container box, the active
   tab is accent text with a 2px underline. */

.client-tabs[b-9dxlgtp1cl] {
    display: flex;
    gap: 2px;
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.client-tab-button[b-9dxlgtp1cl],
.client-section-button[b-9dxlgtp1cl] {
    border: 0;
    color: var(--mud-palette-text-secondary);
    background: transparent;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color 120ms ease, background-color 120ms ease;
}

.client-tab-button[b-9dxlgtp1cl] {
    position: relative;
    min-height: 42px;
    padding: 0 13px;
    font-size: var(--itrela-text-13);
}

.client-section-button[b-9dxlgtp1cl] {
    font-size: var(--itrela-text-14);
}

.client-tab-button:hover[b-9dxlgtp1cl],
.client-section-button:hover[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-primary);
}

.client-section-button:hover[b-9dxlgtp1cl] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.client-tab-button:focus-visible[b-9dxlgtp1cl],
.client-section-button:focus-visible[b-9dxlgtp1cl] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

.client-tab-button--active[b-9dxlgtp1cl] {
    color: var(--mud-palette-primary);
}

.client-tab-button--active[b-9dxlgtp1cl]::after {
    content: "";
    position: absolute;
    right: 7px;
    bottom: 0;
    left: 7px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--mud-palette-primary);
}

.client-section-button--active[b-9dxlgtp1cl] {
    color: var(--mud-palette-primary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 91%);
}

.client-tab-count[b-9dxlgtp1cl] {
    margin-left: 6px;
    font-weight: var(--itrela-weight-medium);
    font-variant-numeric: tabular-nums;
    opacity: 0.8;
}

.client-tab-content[b-9dxlgtp1cl] {
    padding-top: 16px;
}

/* The history panel injects between the tab nav and the tab body; the host
   carries the same breathing room the tab content uses, so the card itself
   stays margin-free per the card-spacing rule. */
.client-history-host[b-9dxlgtp1cl] {
    padding-top: 16px;
}

.client-section-list[b-9dxlgtp1cl] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 8%);
}

.client-section-button[b-9dxlgtp1cl] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--itrela-radius-control);
}

/* The Overview split: the main column plus a 360px rail at the card gap
   (320px between 1100 and 1200, one column at 1100 and below). Your own
   company has no rail: one column at every width. */
.client-overview-layout[b-9dxlgtp1cl] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--itrela-card-gap);
    align-items: start;
}

.client-overview-layout--single[b-9dxlgtp1cl] {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1199.98px) {
    .client-overview-layout[b-9dxlgtp1cl] {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .client-overview-layout--single[b-9dxlgtp1cl] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.client-overview-main[b-9dxlgtp1cl] {
    min-width: 0;
}

.client-detail[b-9dxlgtp1cl]  .client-history-panel {
    padding: 20px;
}

.dash-card-sub[b-9dxlgtp1cl] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
    letter-spacing: 0;
    text-transform: none;
    color: var(--mud-palette-text-secondary);
}

.dash-card-foot--muted[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-secondary);
}

.dash-row-why--warn[b-9dxlgtp1cl] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

/* Billing tab loading region */
.client-billing-skeleton[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.client-billing-skeleton-money[b-9dxlgtp1cl] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ── Phone (<600px): same stacking order, one column ──────────────── */
@media (max-width: 1100px) {
    .client-overview-layout[b-9dxlgtp1cl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-billing-skeleton-money[b-9dxlgtp1cl] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599.98px) {
    .client-billing-skeleton-money[b-9dxlgtp1cl] {
        grid-template-columns: 1fr;
    }
}

.client-detail[b-9dxlgtp1cl]  .dash-card {
    padding: var(--itrela-space-16);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.dash-card-header[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-text-secondary);
    padding-bottom: 0;
    margin-bottom: 12px;
}

.dash-card--summary .dash-card-header[b-9dxlgtp1cl] {
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: none;
}

.dash-header-action[b-9dxlgtp1cl] {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
}

.dash-header-action:hover[b-9dxlgtp1cl] {
    color: var(--mud-palette-text-primary);
}

/* Key-value list inside Details card */
.dash-kv-list[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-kv[b-9dxlgtp1cl] {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.dash-k[b-9dxlgtp1cl] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
    line-height: 1.2;
}

.dash-v[b-9dxlgtp1cl] {
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-primary);
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Links */
.dash-link-list[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-link-row[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

/* ::deep so the rule also reaches MudLink roots carrying this class (a Mud
   component's root element never gets the isolation attribute). flex:1 packs
   each row left — text sits beside its leading icon and the trailing
   metadata/action cluster lands at a consistent x on every row. */
.client-detail[b-9dxlgtp1cl]  .dash-link-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Prose rows (QBR narrative, sales notes, reminders) wrap instead of
   hard-clipping mid-word at the card edge. */
.client-detail[b-9dxlgtp1cl]  .dash-link-text--wrap {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Long sales notes cap at 3 lines with an ellipsis. */
.client-detail[b-9dxlgtp1cl]  .sales-note-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Docs: every row reserves the pin gutter (icon is visibility:hidden when
   unpinned) so pinned/unpinned titles share one left edge. */
.client-detail[b-9dxlgtp1cl]  .doc-pin {
    vertical-align: text-bottom;
    margin-right: 4px;
}

.client-detail[b-9dxlgtp1cl]  .doc-pin--hidden {
    visibility: hidden;
}

.client-detail[b-9dxlgtp1cl]  .dash-link-text--selected {
    font-weight: var(--itrela-weight-strong);
}

/* The Tickets tab's rows (RowListItem, the Service Desk's row look) run
   edge to edge inside the card, under one hairline, like a RowList. */
.client-ticket-rows[b-9dxlgtp1cl],
.client-ticket-skeletons[b-9dxlgtp1cl] {
    margin: 0 calc(-1 * var(--itrela-space-16));
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--itrela-line);
}

.client-ticket-skeleton[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

.client-ticket-skeleton:first-child[b-9dxlgtp1cl] {
    border-top: 0;
}

.client-tickets-toolbar[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-12);
}

.client-portal-chips[b-9dxlgtp1cl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-4);
}

.client-nowrap-cell[b-9dxlgtp1cl],
.client-detail[b-9dxlgtp1cl]  .client-nowrap-cell {
    white-space: nowrap;
}

.client-detail[b-9dxlgtp1cl]  .client-inline-input {
    max-width: 280px;
}

.client-detail[b-9dxlgtp1cl]  .client-domain-add-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.client-detail[b-9dxlgtp1cl]  .client-flex-grow {
    flex: 1;
}

.qbr-score[b-9dxlgtp1cl] {
    font-size: 3rem;
    line-height: 1;
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
    color: var(--mud-palette-text-primary);
}

.qbr-narrative[b-9dxlgtp1cl] {
    white-space: pre-wrap;
}

.qbr-recommendations[b-9dxlgtp1cl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.client-detail[b-9dxlgtp1cl]  .qbr-recommendation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: var(--itrela-radius-control);
}

.qbr-recommendation-main[b-9dxlgtp1cl] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.itrela-grid-actions[b-9dxlgtp1cl] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

.dash-section-divider[b-9dxlgtp1cl] {
    height: 1px;
    background: color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    margin: 16px 0 12px;
}

/* Embedded tables (contacts and sites) mirror the
   table standard — .data-grid-container in app.css is the source of truth —
   so the detail cards read like the Clients/Users grids. Done via scoped CSS
   rather than a .data-grid-container wrapper to avoid a double border inside
   the already-outlined cards. Contacts/sites sit directly in .dash-card. */
.client-detail[b-9dxlgtp1cl]  .dash-card .mud-table-head th.mud-table-cell {
    height: 34px;
    padding: 0 22px;
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12) !important;
    font-weight: var(--itrela-weight-strong) !important;
    letter-spacing: var(--itrela-caps-tracking) !important;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase !important;
    color: var(--mud-palette-text-secondary) !important;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.client-detail[b-9dxlgtp1cl]  .dash-card .mud-table-body .mud-table-row {
    min-height: 44px;
}

.client-detail[b-9dxlgtp1cl]  .dash-card .mud-table-body td.mud-table-cell {
    height: 44px;
    padding: 4px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.client-detail[b-9dxlgtp1cl]  .dash-card .mud-table-hover .mud-table-body .mud-table-row:hover {
    background: var(--mud-palette-table-striped);
}

/* MudSimpleTable renders plain <thead>/<tbody> without .mud-table-cell, so the
   in-card tables on the Tickets/Sales tabs need the same selectors
   .data-grid-container uses in app.css to pick up the standard head.
   :not(.mud-table-cell) keeps MudTable/MudDataGrid out. The fill, hairline,
   letter-spacing, inset and row floors track app.css, the source of truth. */
.client-detail[b-9dxlgtp1cl]  .dash-card thead th:not(.mud-table-cell) {
    height: 34px;
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    text-align: left;
    padding: 10px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.client-detail[b-9dxlgtp1cl]  .dash-card tbody td:not(.mud-table-cell) {
    height: 44px;
    padding: 10px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.client-detail[b-9dxlgtp1cl]  .dash-card .mud-table-hover tbody tr:hover td:not(.mud-table-cell) {
    background: var(--mud-palette-table-striped);
}

/* Simple tables don't stack on phones — the Tickets/Sales tab tables wrap in
   the global .report-table (app.css) + --itrela-table-min instead: a width floor
   plus horizontal scroll with a right-edge fade affordance. The old local
   .dash-table-scroll wrapper scrolled without any affordance, so trailing
   headers looked hard-clipped at the card edge. */

/* Credentials tab (embedded vault panel): the kebab (inline-flex .mud-menu)
   rode a few px higher than the eye/copy buttons (inline-block tooltip
   roots) — normalize all three to one midline. */
.client-detail[b-9dxlgtp1cl]  .client-credentials-card td.mud-table-cell > .mud-tooltip-root,
.client-detail[b-9dxlgtp1cl]  .client-credentials-card td.mud-table-cell > .mud-menu {
    vertical-align: middle;
}

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

@media (max-width: 1279.98px) {
    .client-hero-row[b-9dxlgtp1cl] {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 14px;
    }

    .client-detail[b-9dxlgtp1cl]  .qbr-recommendation {
        align-items: stretch;
        flex-direction: column;
    }

}

@media (max-width: 599.98px) {
    .client-hero-title[b-9dxlgtp1cl] {
        flex-wrap: wrap;
    }

    .client-name[b-9dxlgtp1cl] {
        flex: 1 1 140px;
    }

    /* Contacts: MudDataGrid stacks cells into cards below 600px and the
       actions cell landed as an orphan row at each record's foot. Pin the
       kebab beside the contact identity — same pattern as Clients/List. */
    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row {
        position: relative;
    }

    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row > .mud-table-cell[data-label="Name"] {
        padding-right: 60px !important;
    }

    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row > .mud-table-cell:last-child {
        position: absolute !important;
        top: 2px;
        right: 8px;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        border: 0 !important;
        z-index: 2;
    }

    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row > .mud-table-cell:last-child > div,
    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row > .mud-table-cell:last-child .mud-menu,
    .client-detail[b-9dxlgtp1cl]  .contacts-grid .mud-table-body .mud-table-row > .mud-table-cell:last-child .mud-icon-button {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        align-items: center;
        justify-content: center;
    }
}

/* The tab strip scrolls sideways, and a scroller clips whatever leaves its
   box, so a ring drawn outside a tab lost its top and bottom. The ring is
   drawn inside the tab instead, the rule the look keeps for every tab bar;
   the active underline stays where it is. */
.client-tab-button:focus-visible[b-9dxlgtp1cl] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}
/* /Components/Pages/Clients/Dialogs/ClientCountsDialog.razor.rz.scp.css */
.client-count-list[b-whfrxuszb5] {
    display: flex;
    flex-direction: column;
}

.client-count-row[b-whfrxuszb5],
.client-manual-count[b-whfrxuszb5] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.client-count-row:first-child[b-whfrxuszb5] {
    border-top: 0;
}

.client-count-main[b-whfrxuszb5],
.client-count-value[b-whfrxuszb5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.client-count-main span[b-whfrxuszb5],
.client-count-value span[b-whfrxuszb5] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.client-count-value[b-whfrxuszb5] {
    flex: 0 0 180px;
    text-align: right;
}

.client-count-foot[b-whfrxuszb5] {
    flex: 1 1 auto;
}

@media (max-width: 600px) {
    .client-count-row[b-whfrxuszb5] {
        flex-direction: column;
    }

    .client-count-value[b-whfrxuszb5] {
        flex-basis: auto;
        text-align: left;
    }
}
/* /Components/Pages/Clients/Dialogs/ClientInvoicePreviewDialog.razor.rz.scp.css */
.preview-total[b-t3jrvfs9ft] {
    font-size: var(--itrela-text-28);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
    color: var(--mud-palette-text-primary);
    font-variant-numeric: tabular-nums;
}

.preview-breakdown[b-t3jrvfs9ft] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.preview-breakdown-row[b-t3jrvfs9ft] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Clients/Dialogs/ImportClientFilesDialog.razor.rz.scp.css */
.client-file-import-results[b-87bdctvxit] {
    max-height: 430px;
    overflow-y: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-small);
}
/* /Components/Pages/Clients/List.razor.rz.scp.css */
/* Clients list — WorkbenchShell owns the frame, width, band spacing and
   scrolling geometry. This file only connects the existing grid to that
   chrome and keeps the page's client-specific cells responsive. */

.clients-header[b-7rmybtaxst],
.clients-filter-band[b-7rmybtaxst],
.clients-bulkbar[b-7rmybtaxst] {
    width: 100%;
    min-width: 0;
}

.clients-header[b-7rmybtaxst]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

.clients-filter-band[b-7rmybtaxst] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--itrela-space-8);
    overflow-x: auto;
    container: clients-band / inline-size;
}

/* Search takes the band's spare room, up to a comfortable line, so its own
   placeholder is not cut short; Status stays as wide as its longest option. */
.clients-search-wrap[b-7rmybtaxst] {
    position: relative;
    flex: 1 1 320px;
    min-width: 240px;
    max-width: 440px;
}

.clients-filter-band[b-7rmybtaxst]  .clients-search {
    width: 100%;
}

.clients-search-kbd[b-7rmybtaxst] {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 20px;
    padding: 1px 5px;
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background);
    font-family: inherit;
    font-size: var(--itrela-text-12);
    line-height: 16px;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.clients-status-wrap[b-7rmybtaxst] {
    flex: 0 0 auto;
    width: 156px;
}

.clients-filter-divider[b-7rmybtaxst] {
    flex: 0 0 1px;
    width: 1px;
    height: 20px;
    background: var(--itrela-workbench-line);
}

.clients-saved-filter[b-7rmybtaxst] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    height: var(--itrela-choice-height);
    padding: 0 11px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    white-space: nowrap;
    cursor: pointer;
}

.clients-saved-filter:hover[b-7rmybtaxst] {
    border-color: var(--itrela-line-strong);
    color: var(--mud-palette-text-primary);
}

.clients-saved-filter:focus-visible[b-7rmybtaxst] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

/* Active but neutral: the quiet raise, ink text. Only "Quiet 90+ days"
   takes the warn treatment (drawn) — it is the one filter that is itself
   a warning. */
.clients-saved-filter--active[b-7rmybtaxst] {
    border-color: var(--itrela-line-strong);
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 93%);
    font-weight: var(--itrela-weight-strong);
}

.clients-saved-filter--active.clients-saved-filter--warn[b-7rmybtaxst] {
    border-color: color-mix(in oklab, var(--itrela-status-warning), transparent 35%);
    color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 90%);
}

.clients-saved-filter[b-7rmybtaxst]  .mud-icon-root {
    font-size: 1rem;
}

/* A band too narrow for every control at full size (a 1280 window with the
   rail open) drops the saved filters' leading icons and some of their
   padding, so search keeps room for its placeholder and the summary is not
   cut off. The words stay; an active filter keeps its closing ×. */
@container clients-band (max-width: 1080px) {
    .clients-saved-filter[b-7rmybtaxst] {
        padding-inline: var(--itrela-space-8);
    }

    .clients-saved-filter[b-7rmybtaxst]  .mud-icon-root:first-child {
        display: none;
    }
}

.clients-filter-count[b-7rmybtaxst],
.clients-summary-mrr[b-7rmybtaxst] {
    font-variant-numeric: tabular-nums;
}

.clients-list-summary[b-7rmybtaxst] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.clients-summary-mrr[b-7rmybtaxst] {
    color: var(--mud-palette-text-primary);
}

.clients-bulkbar[b-7rmybtaxst] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.clients-bulkbar-sep[b-7rmybtaxst] {
    color: var(--mud-palette-text-secondary);
}

.clients-bulkbar-clear[b-7rmybtaxst] {
    padding: 4px 6px;
    border: 0;
    color: var(--mud-palette-primary);
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.clients-page[b-7rmybtaxst] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.clients-page[b-7rmybtaxst]  .itrela-loading-region {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

/* The own-company prompt: one row on a wide window. Icon, the words
   (wrapping inside their own column), "Set it up", then the close button,
   all on one centre line. */
.clients-page[b-7rmybtaxst]  .clients-internal-alert {
    flex: 0 0 auto;
    align-items: center;
    border-inline: 0;
    border-radius: 0;
}

.clients-page[b-7rmybtaxst]  .clients-internal-alert .mud-alert-position {
    align-items: center;
    min-width: 0;
}

.clients-page[b-7rmybtaxst]  .clients-internal-alert .mud-alert-message {
    flex: 1 1 auto;
    min-width: 0;
}

.clients-internal-row[b-7rmybtaxst] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-16);
}

.clients-internal-text[b-7rmybtaxst] {
    flex: 1 1 auto;
    min-width: 0;
}

.clients-internal-row[b-7rmybtaxst]  .clients-internal-action {
    flex: 0 0 auto;
}

/* Keep the shared table treatment while removing its card-shaped wrapper.
   The workbench frame is the table's only outer surface. */
.clients-grid[b-7rmybtaxst] {
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
}

/* MudDataGrid keeps its real head visible while LoadingContent swaps only the
   body. These grids mirror the columns the current permission/view exposes. */
.clients-page[b-7rmybtaxst]  .clients-loading-row {
    display: grid;
    align-items: center;
    gap: 18px;
    height: 44px;
    padding: 4px var(--itrela-workbench-row-pad);
}

.clients-page[b-7rmybtaxst]  .clients-loading-row--billing {
    grid-template-columns: 24px minmax(170px, 1.3fr) 76px minmax(130px, 1fr) 116px 70px 100px 24px;
}

.clients-page[b-7rmybtaxst]  .clients-loading-row--active {
    grid-template-columns: 24px minmax(190px, 1.4fr) 76px minmax(140px, 1fr) 70px 24px;
}

.clients-page[b-7rmybtaxst]  .clients-loading-row--archived {
    grid-template-columns: 24px minmax(220px, 1fr) 76px 100px 24px;
}

.clients-page[b-7rmybtaxst]  .clients-last-touched--warning {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.clients-page[b-7rmybtaxst]  .clients-loading-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.clients-page[b-7rmybtaxst]  .clients-loading-avatar {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: var(--itrela-radius-control);
}

.clients-page[b-7rmybtaxst]  .clients-loading-name {
    width: 62%;
}

.clients-page[b-7rmybtaxst]  .clients-loading-select,
.clients-page[b-7rmybtaxst]  .clients-loading-actions {
    width: 14px;
    height: 14px;
    border-radius: var(--itrela-radius-small);
}

.clients-page[b-7rmybtaxst]  .clients-loading-status {
    width: 58px;
}

.clients-page[b-7rmybtaxst]  .clients-loading-contract {
    width: 72%;
}

.clients-page[b-7rmybtaxst]  .clients-loading-open {
    width: 28px;
}

.clients-page[b-7rmybtaxst]  .clients-loading-date {
    width: 74px;
}

.clients-page[b-7rmybtaxst]  .clients-loading-money {
    color: var(--mud-palette-text-secondary);
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-14);
}

.clients-grid[b-7rmybtaxst]  .mud-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Head height, row floor and cell inset come from the global
   .data-grid-container standard (app.css) — the values this grid measured
   live now live there once, and a page-local copy would fork them. */

/* The drawn rows are single-line. A long value (an agreement name was the
   live case) wraps under column pressure and pushes the row to two lines;
   it ellipsizes instead. Phones keep wrapping — the stacked card layout
   below 700px depends on it. */
@media (min-width: 701px) {
    .clients-grid[b-7rmybtaxst]  .mud-table-body .mud-table-row > .mud-table-cell p,
    .clients-grid[b-7rmybtaxst]  .mud-table-body .mud-table-row > .mud-table-cell a {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* TableFooter renders inside PagerContent only when clients run past one page. */
.clients-grid[b-7rmybtaxst]  .mud-table-pagination {
    display: block;
    padding: 0;
    border: 0;
}

.clients-footer-host[b-7rmybtaxst]  .itrela-workbench-band {
    min-height: var(--itrela-workbench-foot-h);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    background: var(--itrela-workbench-quiet);
}

.clients-selection-count[b-7rmybtaxst] {
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.clients-footer-spacer[b-7rmybtaxst] {
    flex: 1 1 auto;
}

.client-actions[b-7rmybtaxst] {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Client avatar — deterministic tint stays keyed to the client id. */
.clients-page[b-7rmybtaxst]  .client-avatar {
    width: 26px;
    height: 26px;
    border-radius: var(--itrela-radius-control);
    flex: 0 0 auto;
}

.client-avatar--initials[b-7rmybtaxst] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: #fff;
    background: var(--client-avatar-bg, var(--mud-palette-primary));
}

.client-identity-copy[b-7rmybtaxst] {
    min-width: 0;
}

.clients-contract-line[b-7rmybtaxst] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clients-contract-cycle[b-7rmybtaxst] {
    color: var(--mud-palette-text-secondary);
}

/* The "+ usage" suffix leaves the mono face: UI font, smaller, secondary. */
.clients-grid[b-7rmybtaxst]  .clients-mrr-usage {
    font-family: var(--mud-typography-default-family);
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.clients-page[b-7rmybtaxst]  .client-name {
    font-weight: var(--itrela-weight-strong);
}

@media (max-width: 600px) {
    /* On a phone the words come first and "Set it up" sits under them; the
       close button stays in the top corner. */
    .clients-page[b-7rmybtaxst]  .clients-internal-alert,
    .clients-page[b-7rmybtaxst]  .clients-internal-alert .mud-alert-position {
        align-items: flex-start;
    }

    .clients-internal-row[b-7rmybtaxst] {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--itrela-space-12);
    }

    /* Selection is a desktop bulk-action affordance. Hide the checkbox
       column after MudDataGrid stacks its cells on phones. */
    .clients-page[b-7rmybtaxst]  .mud-table-head .mud-table-cell:first-child,
    .clients-page[b-7rmybtaxst]  .mud-table-body .mud-table-row > .mud-table-cell:first-child:not([colspan]) {
        display: none !important;
    }
}

@media (max-width: 700px) {
    .clients-page[b-7rmybtaxst]  .itrela-loading-skeleton {
        display: grid;
        gap: 10px;
        padding: 12px;
        background: var(--mud-palette-background);
    }

    .clients-page[b-7rmybtaxst]  .clients-loading-row {
        grid-template-columns: 20px minmax(0, 1fr) 24px;
        height: 82px;
        padding: 11px 13px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: var(--itrela-radius-surface);
        background: var(--mud-palette-surface);
    }

    .clients-page[b-7rmybtaxst]  .clients-loading-status,
    .clients-page[b-7rmybtaxst]  .clients-loading-contract,
    .clients-page[b-7rmybtaxst]  .clients-loading-money,
    .clients-page[b-7rmybtaxst]  .clients-loading-open,
    .clients-page[b-7rmybtaxst]  .clients-loading-date {
        display: none;
    }
}

/* The amount without "+ usage" is drawn on a phone only. */
.clients-page[b-7rmybtaxst]  .clients-mrr-phone {
    display: none;
}

/* Phone rows (app.css): the avatar, the name and a "Your company" chip share
   the first line; the name gives way first. */
@media (max-width: 600px) {
    .clients-page[b-7rmybtaxst]  .clients-mrr:has(+ .clients-mrr-phone) {
        display: none;
    }

    .clients-page[b-7rmybtaxst]  .clients-mrr-phone {
        display: inline;
    }

    .clients-page[b-7rmybtaxst]  .itrela-phone-title .grid-cell-primary {
        gap: 0;
        min-width: 0;
    }

    .clients-page[b-7rmybtaxst]  .itrela-phone-title .client-identity-copy {
        overflow: hidden;
    }

    .clients-page[b-7rmybtaxst]  .itrela-phone-title .client-name {
        display: flex;
        align-items: center;
        min-width: 0;
    }
}
/* /Components/Pages/DashboardNotificationsCard.razor.rz.scp.css */
.dashboard-notifications-chip[b-3mio089mzn] {
    display: none;
    align-items: center;
    min-width: 20px;
    padding: 1px 6px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, currentColor, transparent 88%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
    text-align: center;
}

/* The burst meta's count IS the copy ("since 5:01 AM — one grouped row,
   not 38") — the base .action-row-meta ellipsis must never clip it. */
.dashboard-notification-row--burst .action-row-meta[b-3mio089mzn] {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    overflow-wrap: anywhere;
}

.action-card-header-link[b-3mio089mzn] {
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    white-space: nowrap;
}

.action-card-header-link:hover[b-3mio089mzn] {
    text-decoration: underline;
}

@media (max-width: 599.98px) {
    /* The phone shows the count chip instead of the wordy sub (the mockup's
       390 figure: title + chip, no subtitle line). */
    .dashboard-notifications-card .action-card-sub[b-3mio089mzn] {
        display: none;
    }

    .dashboard-notifications-chip[b-3mio089mzn] {
        display: inline-flex;
    }
}
/* /Components/Pages/DesignKit/Index.razor.rz.scp.css */
/* ── Design kit ──────────────────────────────────────────────────────
   Layout for the samples only. Every size, colour, corner and step here
   reads its token, so the page shows what the theme resolves to; nothing
   on this page defines a value of its own. Child components render inside
   .design-kit, which this file owns, so ::deep reaches their elements. */

.design-kit[b-w0iwhygro5]  .design-kit-heading {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
}

.design-kit[b-w0iwhygro5]  .design-kit-intro {
    margin: var(--itrela-space-4) 0 0;
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.design-kit[b-w0iwhygro5]  .design-kit-body {
    margin-top: var(--itrela-space-16);
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-16);
    min-width: 0;
}

.design-kit[b-w0iwhygro5]  .dk-token {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.design-kit[b-w0iwhygro5]  .dk-row-label {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.design-kit[b-w0iwhygro5]  .dk-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-12);
}

/* Colours */
.design-kit[b-w0iwhygro5]  .dk-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: var(--itrela-space-16);
}

.design-kit[b-w0iwhygro5]  .dk-swatch,
.design-kit[b-w0iwhygro5]  .dk-corner {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    min-width: 0;
}

.design-kit[b-w0iwhygro5]  .dk-swatch-chip {
    display: block;
    height: 48px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid var(--itrela-line);
}

.design-kit[b-w0iwhygro5]  .dk-swatch-name {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.design-kit[b-w0iwhygro5]  .dk-swatch--ground { background: var(--mud-palette-background); }
.design-kit[b-w0iwhygro5]  .dk-swatch--surface { background: var(--mud-palette-surface); }
.design-kit[b-w0iwhygro5]  .dk-swatch--line { background: var(--itrela-line); }
.design-kit[b-w0iwhygro5]  .dk-swatch--line-strong { background: var(--itrela-line-strong); }
.design-kit[b-w0iwhygro5]  .dk-swatch--text { background: var(--mud-palette-text-primary); }
.design-kit[b-w0iwhygro5]  .dk-swatch--text-quiet { background: var(--mud-palette-text-secondary); }
.design-kit[b-w0iwhygro5]  .dk-swatch--accent { background: var(--mud-palette-primary); }
.design-kit[b-w0iwhygro5]  .dk-swatch--critical { background: var(--itrela-status-critical); }
.design-kit[b-w0iwhygro5]  .dk-swatch--warning { background: var(--itrela-status-warning); }
.design-kit[b-w0iwhygro5]  .dk-swatch--good { background: var(--itrela-status-ok); }
.design-kit[b-w0iwhygro5]  .dk-swatch--info { background: var(--itrela-status-info); }
.design-kit[b-w0iwhygro5]  .dk-swatch--notice { background: var(--mud-palette-info); }

/* Text */
.design-kit[b-w0iwhygro5]  .dk-rows {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
}

.design-kit[b-w0iwhygro5]  .dk-row {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: var(--itrela-space-16);
    align-items: baseline;
}

.design-kit[b-w0iwhygro5]  .dk-sample {
    margin: 0;
    min-width: 0;
    color: var(--mud-palette-text-primary);
    line-height: var(--itrela-leading-text);
}

.design-kit[b-w0iwhygro5]  .dk-size--12 { font-size: var(--itrela-text-12); }
.design-kit[b-w0iwhygro5]  .dk-size--13 { font-size: var(--itrela-text-13); }
.design-kit[b-w0iwhygro5]  .dk-size--14 { font-size: var(--itrela-text-14); }
.design-kit[b-w0iwhygro5]  .dk-size--16 { font-size: var(--itrela-text-16); font-weight: var(--itrela-weight-strong); line-height: var(--itrela-leading-tight); }
.design-kit[b-w0iwhygro5]  .dk-size--20 { font-size: var(--itrela-text-20); font-weight: var(--itrela-weight-strong); line-height: var(--itrela-leading-tight); }
.design-kit[b-w0iwhygro5]  .dk-size--28 { font-size: var(--itrela-text-28); font-weight: var(--itrela-weight-strong); line-height: var(--itrela-leading-tight); }
.design-kit[b-w0iwhygro5]  .dk-weight--regular { font-weight: var(--itrela-weight-regular); }
.design-kit[b-w0iwhygro5]  .dk-weight--medium { font-weight: var(--itrela-weight-medium); }
.design-kit[b-w0iwhygro5]  .dk-weight--strong { font-weight: var(--itrela-weight-strong); }

.design-kit[b-w0iwhygro5]  .dk-dot {
    margin: 0 var(--itrela-space-8);
    color: var(--mud-palette-text-secondary);
}

.design-kit[b-w0iwhygro5]  .dk-caps {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-transform: uppercase;
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

/* Space and corners */
.design-kit[b-w0iwhygro5]  .dk-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--itrela-space-24);
}

.design-kit[b-w0iwhygro5]  .dk-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--itrela-space-4);
}

.design-kit[b-w0iwhygro5]  .dk-step-bar {
    display: block;
    height: var(--itrela-space-16);
    border-radius: var(--itrela-radius-small);
    background: color-mix(in oklab, var(--mud-palette-primary) 70%, transparent);
}

.design-kit[b-w0iwhygro5]  .dk-step-bar--4 { width: var(--itrela-space-4); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--8 { width: var(--itrela-space-8); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--12 { width: var(--itrela-space-12); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--16 { width: var(--itrela-space-16); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--24 { width: var(--itrela-space-24); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--32 { width: var(--itrela-space-32); }
.design-kit[b-w0iwhygro5]  .dk-step-bar--48 { width: var(--itrela-space-48); }

.design-kit[b-w0iwhygro5]  .dk-corners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: var(--itrela-space-16);
}

.design-kit[b-w0iwhygro5]  .dk-corner-box {
    display: block;
    width: 72px;
    height: 48px;
    border: 1px solid var(--itrela-line-strong);
    background: var(--mud-palette-background);
}

.design-kit[b-w0iwhygro5]  .dk-corner--small { border-radius: var(--itrela-radius-small); }
.design-kit[b-w0iwhygro5]  .dk-corner--control { border-radius: var(--itrela-radius-control); }
.design-kit[b-w0iwhygro5]  .dk-corner--surface { border-radius: var(--itrela-radius-surface); }
.design-kit[b-w0iwhygro5]  .dk-corner--pill { border-radius: var(--itrela-radius-pill); }

/* Buttons and fields: one row per state or kind. */
.design-kit[b-w0iwhygro5]  .dk-matrix {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
    min-width: 0;
}

.design-kit[b-w0iwhygro5]  .dk-matrix-row {
    display: grid;
    gap: var(--itrela-space-12);
    align-items: center;
}

.design-kit[b-w0iwhygro5]  .dk-matrix--buttons .dk-matrix-row {
    grid-template-columns: 96px repeat(5, minmax(0, max-content));
    column-gap: var(--itrela-space-24);
}

.design-kit[b-w0iwhygro5]  .dk-matrix--fields .dk-matrix-row {
    grid-template-columns: 96px repeat(4, minmax(0, 1fr));
    align-items: start;
}

.design-kit[b-w0iwhygro5]  .dk-matrix--fields .dk-row-label {
    padding-top: var(--itrela-space-12);
}

.design-kit[b-w0iwhygro5]  .dk-matrix-head {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
}

/* Tabs and choice */
.design-kit[b-w0iwhygro5]  .dk-choice {
    gap: var(--itrela-space-12);
}

/* Surfaces */
.design-kit[b-w0iwhygro5]  .dk-sample-card {
    max-width: 420px;
}

.design-kit[b-w0iwhygro5]  .dk-card-title {
    margin: 0 0 var(--itrela-space-4);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.design-kit[b-w0iwhygro5]  .dk-avatar {
    background: var(--dk-avatar-bg);
    color: var(--mud-palette-white);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

/* The two empty states side by side, each on the quiet ground a list body
   gives it; one above the other on a phone. */
.design-kit[b-w0iwhygro5]  .dk-empty-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-space-16);
}

.design-kit[b-w0iwhygro5]  .dk-empty-sample {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    min-width: 0;
}

/* A list body's quiet ground, so the empty state sits where it would. */
.design-kit[b-w0iwhygro5]  .dk-empty-frame {
    border: 1px dashed var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-background);
}

/* Phone width: labels stack above their samples; matrices scroll sideways
   rather than crush the controls. */
@media (max-width: 700px) {
    .design-kit[b-w0iwhygro5]  .dk-empty-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .design-kit[b-w0iwhygro5]  .dk-row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--itrela-space-4);
    }

    .design-kit[b-w0iwhygro5]  .dk-matrix {
        overflow-x: auto;
        padding-bottom: var(--itrela-space-4);
    }

    .design-kit[b-w0iwhygro5]  .dk-matrix--fields .dk-matrix-row {
        grid-template-columns: 72px repeat(4, minmax(180px, 1fr));
        width: max-content;
    }

    .design-kit[b-w0iwhygro5]  .dk-matrix--buttons .dk-matrix-row {
        grid-template-columns: 72px repeat(5, max-content);
        width: max-content;
    }
}

.design-kit[b-w0iwhygro5]  .dk-tab-body {
    padding-top: var(--itrela-space-12);
}

/* The shared kit (2026-11-18): tone samples with their class names, the
   choice switch states, and the list samples at a readable width. The
   focused sample draws the keyboard ring on its selected option at rest. */
.design-kit[b-w0iwhygro5]  .dk-tone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--itrela-space-4);
}

.design-kit[b-w0iwhygro5]  .dk-matrix--choice .dk-matrix-row {
    /* The switch takes its own width up to the column's; the nine-option one
       scrolls inside itself rather than widen the page. */
    grid-template-columns: 128px minmax(0, max-content);
}

/* A switch is as wide as its options (up to the column), never stretched. */
.design-kit[b-w0iwhygro5]  .dk-matrix--choice .itrela-choice {
    justify-self: start;
}

.design-kit[b-w0iwhygro5]  .dk-choice-focused .itrela-choice-option--selected {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}

.design-kit[b-w0iwhygro5]  .itrela-row-list,
.design-kit[b-w0iwhygro5]  .itrela-lv {
    max-width: 560px;
}

@media (max-width: 700px) {
    .design-kit[b-w0iwhygro5]  .dk-matrix--choice .dk-matrix-row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--itrela-space-4);
    }
}
/* /Components/Pages/Founding.razor.rz.scp.css */
/* Itrela materials. This page kept its former warm palette after the
   typefaces moved to Archivo, so it wore two eras at once. Every colour now
   resolves from the app palette (this layout forces light mode, so the
   variables always give the light grades); the dark panels take the graphite
   rail and chalk. Colour only — nothing here moved. */
.founding-page[b-kqwksl4xna] {
    overflow: hidden;
}

.eyebrow[b-kqwksl4xna] {
    display: inline-block;
    color: var(--mud-palette-primary);
    font-family: var(--itrela-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.095em;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.hero-section[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
    width: min(1280px, 90vw);
    margin: 0 auto;
    padding: clamp(5rem, 9vw, 8.2rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.hero-flags[b-kqwksl4xna] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-flags span[b-kqwksl4xna] {
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(75, 94, 102, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--mud-palette-secondary);
    font-size: 0.72rem;
    font-weight: 650;
}

.hero-copy h1[b-kqwksl4xna] {
    max-width: 820px;
    margin: 0.85rem 0 1.6rem;
    color: var(--mud-palette-text-primary);
    font-size: clamp(3.35rem, 6.4vw, 6.4rem);
    font-weight: 600;
    letter-spacing: -0.052em;
    line-height: 0.93;
}

.hero-copy h1 em[b-kqwksl4xna] {
    color: var(--mud-palette-primary);
    font-style: normal;
}

.hero-lede[b-kqwksl4xna] {
    max-width: 720px;
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: clamp(1.06rem, 1.5vw, 1.28rem);
    line-height: 1.68;
}

.hero-actions[b-kqwksl4xna] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.45rem;
    margin-top: 2.2rem;
}

.primary-button[b-kqwksl4xna],
.secondary-button[b-kqwksl4xna] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 9px;
    /* <button> does not inherit the page face on its own — restate it. */
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.primary-button[b-kqwksl4xna] {
    background: var(--mud-palette-primary);
    box-shadow: 0 12px 28px rgba(11, 111, 121, 0.2);
    color: var(--mud-palette-primary-text);
}

.primary-button:hover[b-kqwksl4xna] {
    background: var(--mud-palette-primary-darken);
}

.secondary-button[b-kqwksl4xna] {
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), var(--mud-palette-text-secondary) 18%);
    background: transparent;
    color: var(--mud-palette-text-primary);
}

.text-link[b-kqwksl4xna] {
    color: var(--mud-palette-text-primary);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.text-link:hover[b-kqwksl4xna] {
    color: var(--mud-palette-primary);
}

.hero-note[b-kqwksl4xna] {
    margin: 1rem 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.79rem;
}

.proof-card[b-kqwksl4xna] {
    position: relative;
    padding: 1.4rem;
    border: 1px solid rgba(232, 237, 237, 0.14);
    border-radius: 22px;
    background: var(--itrela-rail-base);
    box-shadow: 0 35px 80px rgba(20, 25, 27, 0.21);
    color: var(--itrela-chalk);
}

.proof-card[b-kqwksl4xna]::before {
    position: absolute;
    z-index: -1;
    right: -45px;
    bottom: -45px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(11, 111, 121, 0.24);
    content: "";
    filter: blur(1px);
}

.proof-card-topline[b-kqwksl4xna] {
    display: flex;
    justify-content: space-between;
    padding: 0 0.2rem 1.2rem;
    border-bottom: 1px solid rgba(232, 237, 237, 0.13);
    color: rgba(232, 237, 237, 0.68);
    font-family: var(--itrela-font-mono);
    font-size: 0.69rem;
    letter-spacing: 0.04em;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.proof-live[b-kqwksl4xna] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.proof-live i[b-kqwksl4xna] {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--itrela-rail-copper);
    box-shadow: 0 0 0 4px rgba(63, 195, 206, 0.13);
}

.proof-card ol[b-kqwksl4xna] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.proof-card li[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 1.05rem 0.25rem;
    border-bottom: 1px solid rgba(232, 237, 237, 0.1);
}

.proof-card li > span[b-kqwksl4xna] {
    color: rgba(232, 237, 237, 0.42);
    font-family: var(--itrela-font-mono);
    font-size: 0.69rem;
}

.proof-card li div[b-kqwksl4xna] {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.proof-card li b[b-kqwksl4xna] {
    color: var(--itrela-chalk-bright);
    font-size: 0.93rem;
}

.proof-card li small[b-kqwksl4xna] {
    color: rgba(232, 237, 237, 0.57);
    font-size: 0.73rem;
}

.proof-footer[b-kqwksl4xna] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0.25rem 0.1rem;
    font-size: 0.75rem;
}

.proof-footer span[b-kqwksl4xna] {
    color: rgba(232, 237, 237, 0.56);
}

.proof-footer strong[b-kqwksl4xna] {
    color: var(--itrela-rail-copper);
    font-family: var(--itrela-font-mono);
    font-size: 0.72rem;
}

.truth-strip[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--mud-palette-lines-default);
    background: rgba(255, 255, 255, 0.48);
}

.truth-strip > div[b-kqwksl4xna] {
    padding: 1.55rem 4vw;
    border-right: 1px solid var(--mud-palette-lines-default);
}

.truth-strip > div:last-child[b-kqwksl4xna] {
    border-right: 0;
}

.truth-strip b[b-kqwksl4xna],
.truth-strip span[b-kqwksl4xna] {
    display: block;
}

.truth-strip b[b-kqwksl4xna] {
    margin-bottom: 0.35rem;
    color: var(--mud-palette-text-primary);
    font-size: 0.85rem;
}

.truth-strip span[b-kqwksl4xna] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    line-height: 1.5;
}

.demo-section[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.demo-copy h2[b-kqwksl4xna] {
    margin: 0.7rem 0 1rem;
    color: var(--mud-palette-text-primary);
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.demo-copy > p[b-kqwksl4xna] {
    color: var(--mud-palette-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.demo-copy ul[b-kqwksl4xna] {
    margin: 1.6rem 0;
    padding: 0;
    list-style: none;
}

.demo-copy li[b-kqwksl4xna] {
    padding: 0.65rem 0;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.demo-copy code[b-kqwksl4xna] {
    color: var(--mud-palette-secondary);
    font-family: var(--itrela-font-mono);
    font-size: 0.72rem;
}

.demo-player-shell[b-kqwksl4xna] {
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid rgba(232, 237, 237, 0.14);
    border-radius: 18px;
    background: var(--itrela-rail-base);
    box-shadow: 0 28px 70px rgba(20, 25, 27, 0.18);
}

.demo-player-shell video[b-kqwksl4xna] {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 11px;
    background: #0B0E0F;
    object-fit: contain;
}

.demo-player-shell > p[b-kqwksl4xna] {
    margin: 0.75rem 0.45rem 0.25rem;
    color: rgba(232, 237, 237, 0.62);
    font-size: 0.68rem;
    line-height: 1.5;
}

.content-section[b-kqwksl4xna] {
    width: min(1180px, 90vw);
    margin: 0 auto;
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.section-heading[b-kqwksl4xna] {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading h2[b-kqwksl4xna],
.fit-column h2[b-kqwksl4xna],
.offer-section h2[b-kqwksl4xna],
.application-intro h2[b-kqwksl4xna] {
    margin: 0.7rem 0 1rem;
    color: var(--mud-palette-text-primary);
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.section-heading p[b-kqwksl4xna],
.offer-section > div:first-child p[b-kqwksl4xna],
.application-intro > p[b-kqwksl4xna] {
    color: var(--mud-palette-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.workflow-grid[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--mud-palette-lines-default);
    border-left: 1px solid var(--mud-palette-lines-default);
}

.workflow-grid article[b-kqwksl4xna] {
    min-height: 215px;
    padding: 1.7rem;
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: rgba(255, 255, 255, 0.64);
}

.workflow-grid article > span[b-kqwksl4xna] {
    color: var(--mud-palette-primary);
    font-family: var(--itrela-font-mono);
    font-size: 0.72rem;
}

.workflow-grid h3[b-kqwksl4xna] {
    margin: 2rem 0 0.7rem;
    font-size: 1.05rem;
}

.workflow-grid p[b-kqwksl4xna] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.86rem;
    line-height: 1.65;
}

.fit-section[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--itrela-rail-base);
    color: var(--itrela-chalk);
}

.fit-column[b-kqwksl4xna] {
    padding: clamp(4rem, 8vw, 7rem) max(5vw, calc((100vw - 1180px) / 2));
}

.fit-column--yes[b-kqwksl4xna] {
    border-right: 1px solid rgba(232, 237, 237, 0.14);
    background: radial-gradient(circle at 0 0, rgba(11, 111, 121, 0.25), transparent 26rem);
}

.fit-column--no[b-kqwksl4xna] {
    background: radial-gradient(circle at 100% 100%, rgba(75, 94, 102, 0.2), transparent 28rem);
}

.fit-column h2[b-kqwksl4xna] {
    color: var(--itrela-chalk-bright);
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.fit-column ul[b-kqwksl4xna] {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.fit-column li[b-kqwksl4xna] {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    border-top: 1px solid rgba(232, 237, 237, 0.12);
    color: rgba(232, 237, 237, 0.76);
    font-size: 0.88rem;
    line-height: 1.55;
}

.fit-column--yes li[b-kqwksl4xna]::before,
.fit-column--no li[b-kqwksl4xna]::before {
    position: absolute;
    left: 0;
    color: var(--itrela-rail-copper);
    content: "✓";
    font-weight: 700;
}

.fit-column--no li[b-kqwksl4xna]::before {
    color: #8CA3AC;
    content: "—";
}

.offer-section[b-kqwksl4xna] {
    width: min(1180px, 90vw);
    margin: 0 auto;
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.offer-section > div:first-child[b-kqwksl4xna] {
    max-width: 820px;
}

.price-grid[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.price-grid article[b-kqwksl4xna] {
    display: grid;
    padding: 1.8rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.price-grid .price-featured[b-kqwksl4xna] {
    border-color: var(--mud-palette-primary);
    box-shadow: inset 0 4px 0 var(--mud-palette-primary);
}

.price-grid small[b-kqwksl4xna] {
    color: var(--mud-palette-text-secondary);
    font-weight: 650;
}

.price-grid strong[b-kqwksl4xna] {
    margin-top: 1.6rem;
    color: var(--mud-palette-text-primary);
    font-family: var(--itrela-font-mono);
    font-size: 2.65rem;
    line-height: 1;
}

.price-grid span[b-kqwksl4xna] {
    margin-top: 0.65rem;
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.price-caveat[b-kqwksl4xna] {
    margin: 1.2rem 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.77rem;
}

.application-section[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.1fr);
    gap: clamp(3rem, 8vw, 8rem);
    padding: clamp(5rem, 8vw, 8rem) max(5vw, calc((100vw - 1180px) / 2));
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background);
}

.application-intro[b-kqwksl4xna] {
    align-self: start;
    position: sticky;
    top: 115px;
}

.application-intro h2[b-kqwksl4xna] {
    font-size: clamp(2.35rem, 4vw, 3.75rem);
}

.application-expectations[b-kqwksl4xna] {
    margin-top: 2.2rem;
}

.application-expectations > div[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.8rem;
    padding: 1rem 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.application-expectations span[b-kqwksl4xna] {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--itrela-rail-base);
    color: var(--itrela-chalk);
    font-family: var(--itrela-font-mono);
    font-size: 0.69rem;
}

.application-expectations p[b-kqwksl4xna] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.79rem;
    line-height: 1.55;
}

.application-expectations b[b-kqwksl4xna] {
    color: var(--mud-palette-text-primary);
}

.application-card[b-kqwksl4xna] {
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 18px;
    background: var(--mud-palette-surface);
    box-shadow: 0 22px 58px rgba(20, 25, 27, 0.08);
}

.form-grid[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.field[b-kqwksl4xna],
.field-check[b-kqwksl4xna] {
    min-width: 0;
}

.field--wide[b-kqwksl4xna] {
    grid-column: 1 / -1;
}

.field label[b-kqwksl4xna],
.commitments legend[b-kqwksl4xna] {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--mud-palette-text-primary);
    font-size: 0.76rem;
    font-weight: 700;
}

.field[b-kqwksl4xna]  input,
.field[b-kqwksl4xna]  select,
.field[b-kqwksl4xna]  textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 45px;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    outline: none;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    /* Form controls do not inherit the page face on their own — restate it. */
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field[b-kqwksl4xna]  select {
    cursor: pointer;
}

.field[b-kqwksl4xna]  textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.55;
}

.field[b-kqwksl4xna]  input:focus,
.field[b-kqwksl4xna]  select:focus,
.field[b-kqwksl4xna]  textarea:focus {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px rgba(11, 111, 121, 0.12);
}

.field[b-kqwksl4xna]  .validation-message,
.application-card[b-kqwksl4xna]  .validation-message {
    display: block;
    margin-top: 0.35rem;
    color: var(--itrela-status-critical);
    font-size: 0.72rem;
}

.field-check[b-kqwksl4xna] {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 0.65rem;
}

.field-check[b-kqwksl4xna]  input {
    width: 17px;
    height: 17px;
    margin: 0.1rem 0 0;
    accent-color: var(--mud-palette-primary);
}

.field-check label[b-kqwksl4xna] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.commitments[b-kqwksl4xna] {
    display: grid;
    gap: 0.8rem;
    margin: 1.7rem 0 0;
    padding: 1.2rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-background);
}

.commitments legend[b-kqwksl4xna] {
    padding: 0 0.35rem;
}

.consent-check[b-kqwksl4xna] {
    margin-top: 1.3rem;
}

.privacy-note[b-kqwksl4xna] {
    margin: 1.2rem 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    line-height: 1.55;
}

.submit-button[b-kqwksl4xna] {
    width: 100%;
}

.submit-button:disabled[b-kqwksl4xna] {
    cursor: wait;
    opacity: 0.65;
}

.honeypot[b-kqwksl4xna] {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-errors[b-kqwksl4xna] {
    margin-bottom: 1.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in oklab, var(--itrela-status-critical), transparent 70%);
    border-radius: 9px;
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 88%);
    color: var(--itrela-status-critical);
    font-size: 0.78rem;
}

.form-errors ul[b-kqwksl4xna] {
    margin: 0.45rem 0 0;
    padding-left: 1.25rem;
}

.receipt[b-kqwksl4xna] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 470px;
}

.receipt-mark[b-kqwksl4xna] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    background: var(--itrela-status-ok);
    color: white;
    font-size: 1.5rem;
}

.receipt h3[b-kqwksl4xna] {
    margin: 0.6rem 0 0.8rem;
    color: var(--mud-palette-text-primary);
    font-size: 2.2rem;
    font-weight: 600;
}

.receipt p:not(.eyebrow)[b-kqwksl4xna] {
    max-width: 520px;
    margin: 0 0 1.5rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.65;
}

.program-unavailable[b-kqwksl4xna] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(760px, 88vw);
    min-height: calc(100vh - 250px);
    margin: 0 auto;
}

.program-unavailable h1[b-kqwksl4xna] {
    margin: 0.8rem 0;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.05;
}

.program-unavailable p[b-kqwksl4xna] {
    max-width: 620px;
    margin-bottom: 1.5rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.65;
}

@media (max-width: 980px) {
    .hero-section[b-kqwksl4xna] {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .proof-card[b-kqwksl4xna] {
        width: min(560px, 100%);
    }

    .workflow-grid[b-kqwksl4xna] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .demo-section[b-kqwksl4xna] {
        grid-template-columns: 1fr;
    }

    .application-section[b-kqwksl4xna] {
        grid-template-columns: 1fr;
    }

    .application-intro[b-kqwksl4xna] {
        position: static;
    }
}

@media (max-width: 700px) {
    .hero-section[b-kqwksl4xna] {
        width: min(92vw, 620px);
        padding-top: 3.7rem;
    }

    .hero-copy h1[b-kqwksl4xna] {
        font-size: clamp(3rem, 13vw, 4.2rem);
    }

    .hero-actions[b-kqwksl4xna] {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button[b-kqwksl4xna],
    .secondary-button[b-kqwksl4xna] {
        width: 100%;
        box-sizing: border-box;
    }

    .truth-strip[b-kqwksl4xna],
    .fit-section[b-kqwksl4xna],
    .price-grid[b-kqwksl4xna],
    .form-grid[b-kqwksl4xna] {
        grid-template-columns: 1fr;
    }

    .truth-strip > div[b-kqwksl4xna] {
        border-right: 0;
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    .truth-strip > div:last-child[b-kqwksl4xna] {
        border-bottom: 0;
    }

    .workflow-grid[b-kqwksl4xna] {
        grid-template-columns: 1fr;
    }

    .workflow-grid article[b-kqwksl4xna] {
        min-height: auto;
    }

    .fit-column--yes[b-kqwksl4xna] {
        border-right: 0;
        border-bottom: 1px solid rgba(232, 237, 237, 0.14);
    }

    .application-section[b-kqwksl4xna] {
        padding-inline: 4vw;
    }

    .application-card[b-kqwksl4xna] {
        padding: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .field[b-kqwksl4xna]  input,
    .field[b-kqwksl4xna]  select,
    .field[b-kqwksl4xna]  textarea {
        transition: none;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Narrow desktops. Beside the shell's 400px side column the "Needs you"
   card shrinks to about 375px at a 1100px window, and its rows wrap hard.
   Between the shell's own 960px stacking point and 1200px Home stacks the
   side column under the main one; up to 1300px the side column is 320px.
   The shell's default stays as it is; only Home asks for this. */
.home-page[b-sugaiejftl] {
    display: contents;
}

@media (min-width: 960.02px) and (max-width: 1199.98px) {
    .home-page[b-sugaiejftl]  .itrela-composed-column--split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1299.98px) {
    .home-page[b-sugaiejftl]  .itrela-composed {
        --itrela-composed-side-width: 320px;
    }
}

/* Home's own card: "Today" in the side column. "Needs you" and "At a glance"
   carry their own sheets. Tokens only (UI_STYLE_GUIDE.md "The look in one page"). */

.home-today[b-sugaiejftl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-block: var(--itrela-space-16);
}

.home-today-title[b-sugaiejftl] {
    margin: 0 0 var(--itrela-space-8);
    padding-inline: var(--itrela-space-16);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.2;
}

.home-today-list[b-sugaiejftl] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-today-line[b-sugaiejftl] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--itrela-space-12);
    padding: var(--itrela-space-8) var(--itrela-space-16);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.home-today-line:hover[b-sugaiejftl] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
}

.home-today-line:focus-visible[b-sugaiejftl] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
    border-radius: var(--itrela-radius-control);
}

.home-today-time[b-sugaiejftl] {
    grid-row: span 2;
    font-size: var(--itrela-text-13);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.home-today-what[b-sugaiejftl] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-today-who[b-sugaiejftl] {
    font-size: var(--itrela-text-13);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

.home-today-empty[b-sugaiejftl] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--itrela-space-4) var(--itrela-space-8);
    margin: 0;
    padding-inline: var(--itrela-space-16);
    font-size: var(--itrela-text-14);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

.home-today-calendar[b-sugaiejftl] {
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.home-today-calendar:hover[b-sugaiejftl] {
    text-decoration: underline;
}

.home-today-calendar:focus-visible[b-sugaiejftl] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-control);
}

/* Tracked time sits under a hairline. HomeDayReviewStatus renders its own
   lines, so they are reached through this element the page renders itself. */
.home-today-review[b-sugaiejftl] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-12);
    padding: var(--itrela-space-12) var(--itrela-space-16) 0;
    border-top: 1px solid var(--itrela-line);
}

.home-today-review[b-sugaiejftl]  .dashboard-card-body-line {
    font-size: var(--itrela-text-14);
    line-height: 1.45;
}

.home-today-review[b-sugaiejftl]  .dashboard-card-body-sub {
    font-size: var(--itrela-text-13);
    line-height: 1.45;
}
/* /Components/Pages/HomeAtAGlance.razor.rz.scp.css */
/* "At a glance": the card, groups and rows are the shared LabelValueList;
   this file draws only the reports link Home writes into its foot. */

.home-glance-reports[b-9vd1s1o330] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.home-glance-reports:hover[b-9vd1s1o330] {
    text-decoration: underline;
}

.home-glance-reports:focus-visible[b-9vd1s1o330] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-control);
}
/* /Components/Pages/HomeLevelDecisions.razor.rz.scp.css */
/* The Level card keeps its own look; only its label above it is sentence
   case now, like every other heading on Home. */

.home-level[b-m5rg250r31] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    min-width: 0;
}

.home-level-label[b-m5rg250r31] {
    margin: 0;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.2;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/HomeNeedsYou.razor.rz.scp.css */
/* "Needs you": the card, rows and foot are the shared RowList; this file
   draws only what Home writes into it (the calm lines and "Show more").
   Tokens only. */

.home-needs-you-calm-line[b-y0cqed7mie] {
    margin: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
}

.home-needs-you-checked[b-y0cqed7mie] {
    margin: 0;
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.home-needs-you-more[b-y0cqed7mie] {
    min-height: var(--itrela-button-min-height);
    padding-inline: var(--itrela-space-8);
    margin-inline-start: calc(-1 * var(--itrela-space-8));
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: none;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.home-needs-you-more:hover[b-y0cqed7mie] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.home-needs-you-more:focus-visible[b-y0cqed7mie] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}
/* /Components/Pages/Jobs/JobLaborBillingChoice.razor.rz.scp.css */
/* The two choices stack, each one block: the radio with its label, then its
   line under the label text. The group lays its radios out in a row by
   default, which left the first line beside its radio and the second under
   its own. The group is MudBlazor's element, so the rule reaches it
   through ::deep. */
[data-job-labor-billing-choice][b-oyq7aqa69y]  .job-labor-choices {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-8);
}

.job-labor-choice[b-oyq7aqa69y] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

/* Under the label text: the radio's control and its gap take 32px before
   the label, so the line starts where the label's words start. */
.job-labor-choice-help[b-oyq7aqa69y] {
    display: block;
    margin-top: calc(-1 * var(--itrela-space-4));
    padding-inline-start: var(--itrela-space-32);
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Knowledge/DocumentPortalSwitch.razor.rz.scp.css */
.kb-portal-switch[b-ctwyudn3zc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 22rem;
}
/* /Components/Pages/Knowledge/DocumentStepsTable.razor.rz.scp.css */
.kb-steps-table-wrap[b-yx368smfxt] {
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.kb-steps-table[b-yx368smfxt] {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: var(--itrela-text-14);
}

.kb-steps-table th[b-yx368smfxt],
.kb-steps-table td[b-yx368smfxt] {
    padding: 11px 13px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
    text-align: left;
    vertical-align: top;
}

.kb-steps-table th[b-yx368smfxt] {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background-gray), transparent 25%);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.kb-steps-table tr:last-child td[b-yx368smfxt] {
    border-bottom: 0;
}

.kb-steps-number[b-yx368smfxt] {
    width: 42px;
    color: var(--mud-palette-text-secondary);
    text-align: center !important;
}
/* /Components/Pages/Knowledge/Editor.razor.rz.scp.css */
/* Rendered markdown (view mode + preview). The inner HTML comes from
   MarkdownRenderer via MarkupString, so it carries no scope attribute —
   everything below needs ::deep. */
.kb-markdown[b-rmhs7hjkgl]  h1,
.kb-markdown[b-rmhs7hjkgl]  h2,
.kb-markdown[b-rmhs7hjkgl]  h3,
.kb-markdown[b-rmhs7hjkgl]  h4 {
    margin: 1.1em 0 0.4em;
    line-height: 1.3;
}

.kb-markdown[b-rmhs7hjkgl]  h1:first-child,
.kb-markdown[b-rmhs7hjkgl]  h2:first-child,
.kb-markdown[b-rmhs7hjkgl]  h3:first-child,
.kb-markdown[b-rmhs7hjkgl]  p:first-child {
    margin-top: 0;
}

.kb-markdown[b-rmhs7hjkgl]  h1 { font-size: var(--itrela-text-20); }
.kb-markdown[b-rmhs7hjkgl]  h2 { font-size: var(--itrela-text-20); }
.kb-markdown[b-rmhs7hjkgl]  h3 { font-size: var(--itrela-text-16); }

.kb-markdown[b-rmhs7hjkgl]  p,
.kb-markdown[b-rmhs7hjkgl]  ul,
.kb-markdown[b-rmhs7hjkgl]  ol {
    margin: 0.5em 0;
    line-height: 1.6;
}

.kb-markdown[b-rmhs7hjkgl]  code {
    background: var(--mud-palette-background-gray);
    border-radius: var(--itrela-radius-small);
    padding: 1px 5px;
    font-size: 0.85em;
}

.kb-markdown[b-rmhs7hjkgl]  pre {
    background: var(--mud-palette-background-gray);
    border-radius: var(--itrela-radius-control);
    padding: 12px;
    overflow-x: auto;
    margin: 0.75em 0;
}

.kb-markdown[b-rmhs7hjkgl]  pre code {
    background: none;
    padding: 0;
}

.kb-markdown[b-rmhs7hjkgl]  blockquote {
    border-inline-start: 3px solid var(--mud-palette-lines-default);
    margin: 0.75em 0;
    padding: 2px 0 2px 12px;
    color: var(--mud-palette-text-secondary);
}

.kb-markdown[b-rmhs7hjkgl]  table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-control);
    margin: 0.75em 0;
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

/* Table canon: row separators only, never vertical rules. */
.kb-markdown[b-rmhs7hjkgl]  th,
.kb-markdown[b-rmhs7hjkgl]  td {
    border: 0;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
    padding: 8px 13px;
    text-align: left;
}

.kb-markdown[b-rmhs7hjkgl]  tr:last-child th,
.kb-markdown[b-rmhs7hjkgl]  tr:last-child td {
    border-bottom: 0;
}

.kb-markdown[b-rmhs7hjkgl]  a {
    color: var(--mud-palette-primary);
}

.kb-markdown[b-rmhs7hjkgl]  hr {
    border: none;
    border-top: 1px solid var(--mud-palette-lines-default);
    margin: 1em 0;
}

.kb-markdown[b-rmhs7hjkgl]  img {
    max-width: 100%;
    border-radius: var(--itrela-radius-control);
    border: 1px solid var(--mud-palette-lines-default);
    margin: 0.5em 0;
    cursor: zoom-in; /* click opens the lightbox (js/lightbox.js) */
}

/* An unsized screenshot shouldn't swallow the page — cap it and let the
   lightbox carry full size. An explicit ![alt|400](…) width wins. */
.kb-markdown[b-rmhs7hjkgl]  img:not([width]) {
    max-height: 520px;
}

/* Edit mode: a document editor, top to bottom — title, one row of
   classification, tags, then the content pane full-width. */
.kb-edit[b-rmhs7hjkgl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kb-edit-meta[b-rmhs7hjkgl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0 16px;
    align-items: center;
}

.kb-edit-tags[b-rmhs7hjkgl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.kb-edit-tags .kb-tag-wrap[b-rmhs7hjkgl] {
    flex: 0 1 300px;
    min-width: 220px;
}

/* Pinned rides the far end of the tags row — one band, no orphan column. */
.kb-edit-tags .kb-edit-pin[b-rmhs7hjkgl] {
    margin-left: auto;
}

.kb-edit[b-rmhs7hjkgl]  .kb-edit-tip {
    margin-top: -6px; /* hugs the Content toolbar it explains */
}

/* Markdown source editor */
.kb-editor[b-rmhs7hjkgl]  textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-spacing: normal;
    font-size: var(--itrela-text-14);
    line-height: 1.5;
}

/* Split mode: write on the left, live render on the right. Stretch keeps
   both pane bottoms on one line (the preview otherwise stopped ~85px short
   of the editor); the sticky cap still bounds it on very long documents. */
.kb-split[b-rmhs7hjkgl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.kb-split[b-rmhs7hjkgl]  .kb-split-preview {
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    min-height: 320px;
}

@media (max-width: 960px) {
    .kb-split[b-rmhs7hjkgl] {
        grid-template-columns: 1fr;
    }
}

/* The active Write/Split/Preview segment wears the app's teal-tinted
   pill — the outlined group alone gives no visible selected state. The
   button root is Mud-rendered, so route through the page's own .kb-edit. */
.kb-edit[b-rmhs7hjkgl]  .kb-pane-active {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.kb-step-editor[b-rmhs7hjkgl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.kb-step-editor-head[b-rmhs7hjkgl],
.kb-steps-head[b-rmhs7hjkgl] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.kb-step-edit-table[b-rmhs7hjkgl] {
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
}

.kb-step-edit-header[b-rmhs7hjkgl],
.kb-step-edit-row[b-rmhs7hjkgl] {
    display: grid;
    grid-template-columns: 38px minmax(220px, 1fr) minmax(220px, 1fr) 130px 108px;
    gap: 10px;
    align-items: start;
    min-width: 810px;
    padding: 9px 11px;
}

.kb-step-edit-header[b-rmhs7hjkgl] {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background-gray), transparent 25%);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.kb-step-edit-row + .kb-step-edit-row[b-rmhs7hjkgl] {
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
}

.kb-step-number[b-rmhs7hjkgl] {
    padding-top: 12px;
    color: var(--mud-palette-text-secondary);
    text-align: center;
}

.kb-step-row-actions[b-rmhs7hjkgl] {
    display: flex;
    padding-top: 4px;
}

.kb-steps-section[b-rmhs7hjkgl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 600px) {
    .kb-step-editor-head[b-rmhs7hjkgl],
    .kb-steps-head[b-rmhs7hjkgl] {
        flex-direction: column;
    }
}

/* The view-mode doc head is the shell's pinned head now: PageHeader carries
   the title, the subtitle carries the trail, and the actions sit in the
   header. The old drawn head (.kb-doc-head/-trail/-title/-actions) is gone. */

.kb-trust-line[b-rmhs7hjkgl] {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.5;
}

.kb-trust-copy[b-rmhs7hjkgl] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.kb-trust-copy > span[b-rmhs7hjkgl] {
    flex: 1 1 auto;
}

.kb-trust-copy strong[b-rmhs7hjkgl] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.kb-trust-line--ok[b-rmhs7hjkgl] {
    border-color: color-mix(in oklab, var(--itrela-status-ok), transparent 60%);
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 93%);
}

.kb-trust-line--ok[b-rmhs7hjkgl]  .mud-icon-root {
    color: var(--itrela-status-ok);
}

.kb-trust-line--warning[b-rmhs7hjkgl] {
    border-color: color-mix(in oklab, var(--itrela-status-warning), transparent 60%);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 93%);
}

.kb-trust-line--warning[b-rmhs7hjkgl]  .mud-icon-root {
    color: var(--itrela-status-warning);
}

.kb-trust-line--critical[b-rmhs7hjkgl] {
    border-color: color-mix(in oklab, var(--itrela-status-critical), transparent 60%);
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 93%);
}

.kb-trust-line--critical[b-rmhs7hjkgl]  .mud-icon-root {
    color: var(--itrela-status-critical);
}

/* Full-preview pane floor (was an inline style on the MudPaper). */
.kb-preview-pane[b-rmhs7hjkgl] {
    min-height: 320px;
}

@media (max-width: 700px) {
    .kb-trust-line[b-rmhs7hjkgl],
    .kb-trust-copy[b-rmhs7hjkgl] {
        align-items: flex-start;
    }

    .kb-trust-copy[b-rmhs7hjkgl] {
        flex-direction: column;
    }
}

/* Header actions: three buttons in edit mode would squeeze the title into a
   sliver at tablet widths. Labels never wrap mid-button, and below 960px the
   header stacks title-then-actions (app.css only stacks it under 700px). The
   PageHeader sits in the composed head now; its root carries this page's
   scope attribute, so the rules anchor on it directly and reach its
   descendants through ::deep. */
.page-header[b-rmhs7hjkgl]  .page-header-actions .mud-button-root {
    white-space: nowrap;
}

@media (max-width: 960px) {
    .page-header[b-rmhs7hjkgl] {
        flex-direction: column;
    }

    .page-header[b-rmhs7hjkgl]  .page-header-actions {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/Knowledge/KindCardsEmpty.razor.rz.scp.css */
/* Day-one empty: centered intro + the two bordered kind-cards,
   1-col ≤1100px). Lives here, not in the host page's sheet — CSS isolation
   scopes to this component's own elements. */
.kb-empty[b-gy7h0yh6p0] {
    margin-top: var(--itrela-card-gap);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kb-empty-title[b-gy7h0yh6p0] {
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    text-align: center;
    color: var(--mud-palette-text-primary);
}

.kb-empty-sub[b-gy7h0yh6p0] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    max-width: 460px;
    margin: 4px auto 0;
    text-align: center;
}

.kb-kind-cards[b-gy7h0yh6p0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
}

@media (max-width: 1100px) {
    .kb-kind-cards[b-gy7h0yh6p0] {
        grid-template-columns: 1fr;
    }
}

.kb-kind-card[b-gy7h0yh6p0] {
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    padding: 16px 18px;
}

.kb-kind-title[b-gy7h0yh6p0] {
    font-weight: var(--itrela-weight-strong);
    margin-bottom: 4px;
    color: var(--mud-palette-text-primary);
}

.kb-kind-sub[b-gy7h0yh6p0] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-bottom: 10px;
}
/* /Components/Pages/Knowledge/List.razor.rz.scp.css */
.kb-section-label[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px 7px;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.kb-section-label:first-child[b-6rklsjtazj] {
    border-top: 0;
}

.kb-section-empty[b-6rklsjtazj] {
    padding: 8px var(--itrela-workbench-row-pad) 12px;
}

.kb-row[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.kb-row:first-of-type[b-6rklsjtazj] {
    border-top: none;
}

.kb-row:hover[b-6rklsjtazj] {
    background: var(--mud-palette-action-default-hover);
}

.kb-document-row[b-6rklsjtazj] {
    padding: 10px 16px;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* The pin gutter is reserved on EVERY row (empty span on unpinned ones)
   so titles share one left edge whether pinned or not. */
.kb-doc-pin[b-6rklsjtazj] {
    display: inline-flex;
    align-items: center;
    flex: 0 0 20px;
}

.kb-doc-main[b-6rklsjtazj] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.kb-doc-titleline[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* The updated date lives in a fixed right-aligned metadata slot instead of
   floating inline after the title + chip at a varying x. */
.kb-doc-updated[b-6rklsjtazj] {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.kb-document-row:focus-visible[b-6rklsjtazj] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* UX-01: document/template rows are keyboard buttons — show where focus is. */
.kb-row-main[b-6rklsjtazj] {
    flex: 1;
    min-width: 0;
    padding: 10px 8px 10px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kb-row-main:focus-visible[b-6rklsjtazj] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.kb-row[b-6rklsjtazj]  > .mud-menu {
    flex: 0 0 auto;
    margin-right: 8px;
}

/* ── Workbench chrome ─────────────────────────────────────────────── */

/* Header band: PageHeader fills the band (the clients-header idiom). */
.kb-header[b-6rklsjtazj] {
    width: 100%;
    min-width: 0;
}

.kb-header[b-6rklsjtazj]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

.kb-filter-band[b-6rklsjtazj] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.kb-toolbar[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.kb-toolbar-spacer[b-6rklsjtazj] {
    flex: 1 1 auto;
    min-width: 8px;
}

/* Search with the "/" kbd rendered inside the field, right-aligned
   (the clients-search / service-desk idiom). */
.kb-search-wrap[b-6rklsjtazj] {
    position: relative;
    flex: 0 1 285px;
    min-width: 210px;
}

.kb-filter-band[b-6rklsjtazj]  .kb-search {
    width: 100%;
}

.kb-filter-band[b-6rklsjtazj]  .kb-search input {
    text-overflow: ellipsis;
}

/* Reserve room for the resting-state "/" hint so placeholder text never runs under it. */
.kb-search-wrap:has(.kb-search-kbd)[b-6rklsjtazj]  .kb-search input {
    padding-right: 36px;
}

.kb-search-kbd[b-6rklsjtazj] {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 20px;
    padding: 1px 5px;
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background);
    font-family: inherit;
    font-size: var(--itrela-text-12);
    line-height: 16px;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.kb-toolbar-btn[b-6rklsjtazj] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    height: var(--itrela-choice-height);
    padding: 0 11px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    white-space: nowrap;
    cursor: pointer;
}

.kb-toolbar-btn:hover[b-6rklsjtazj] {
    border-color: var(--itrela-line-strong);
    color: var(--mud-palette-text-primary);
}

.kb-toolbar-btn:focus-visible[b-6rklsjtazj] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.kb-toolbar-btn--active[b-6rklsjtazj] {
    border-color: var(--itrela-line-strong);
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 93%);
    font-weight: var(--itrela-weight-strong);
}

.kb-toolbar-btn--attention[b-6rklsjtazj] {
    border-color: color-mix(in oklab, var(--itrela-status-warning), transparent 45%);
    color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 92%);
    font-weight: var(--itrela-weight-strong);
}

.kb-needs-toggle-dot[b-6rklsjtazj] {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--itrela-status-warning-bright);
}

.kb-needs-toggle-ok[b-6rklsjtazj] {
    color: var(--itrela-status-ok);
}

.kb-filters-panel[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--itrela-workbench-line);
}

.kb-filters-panel[b-6rklsjtazj]  .kb-filter-select {
    flex: 0 1 180px;
    min-width: 150px;
}

@media (max-width: 1199.98px) {
    .kb-toolbar[b-6rklsjtazj] {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* The table sits flush in the workbench body: head metrics, row floor,
   22px cell inset and the quiet-raise hover all come from the global
   .data-grid-container standard; only the container's card hairline and
   radius come off (the register-grid idiom). */
.kb-grid[b-6rklsjtazj] {
    border: 0;
    border-radius: 0;
}

/* Day-one kind cards keep their drawn card treatment, padded off the frame. */
.kb-kind-cards-host[b-6rklsjtazj] {
    padding: 0 var(--itrela-workbench-row-pad) 22px;
}

.template-table[b-6rklsjtazj]  .mud-table-container {
    overflow-x: auto;
}

/* The last row's divider would double with the pinned foot's top hairline. */
.template-table[b-6rklsjtazj]  .mud-table-body .mud-table-row:last-child .mud-table-cell {
    border-bottom: 0;
}

.template-name-button[b-6rklsjtazj] {
    display: flex;
    flex-direction: column;
    /* MudBlazor's global button reset sets align-items/justify-content to
       center, which floated the short template name to the middle of this
       column flex — pin both back to the start. */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
    min-width: 210px;
    max-width: 440px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.template-name-button:focus-visible[b-6rklsjtazj] {
    border-radius: var(--itrela-radius-small);
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 3px;
}

.template-name[b-6rklsjtazj] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.template-description[b-6rklsjtazj],
.template-cell-secondary[b-6rklsjtazj],
.template-tags[b-6rklsjtazj] {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

.template-description[b-6rklsjtazj] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Table canon: the first cell carries the 600 ink; every later cell is
   400 ink-2. */
.template-cell-primary[b-6rklsjtazj] {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-regular);
    line-height: 1.35;
}

.template-defaults[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.template-tags[b-6rklsjtazj] {
    max-width: 180px;
    overflow-wrap: anywhere;
}

/* "Jul 13, 2026" reads as one token — never two lines. */
.template-updated[b-6rklsjtazj] {
    white-space: nowrap;
}

.template-actions-cell[b-6rklsjtazj] {
    width: 56px;
    text-align: right;
}

@media (max-width: 600px) {
    .template-table[b-6rklsjtazj]  .mud-table-body .mud-table-row {
        position: relative;
        margin-bottom: 12px;
        padding: 8px 54px 8px 12px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: var(--itrela-radius-surface);
        background: var(--mud-palette-surface);
    }

    .template-table[b-6rklsjtazj]  .mud-table-body .mud-table-cell {
        min-height: 36px;
        padding: 7px 0 7px 104px;
        border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 50%);
    }

    .template-table[b-6rklsjtazj]  .mud-table-body .mud-table-cell::before {
        width: 94px;
        color: var(--mud-palette-text-secondary);
        font-size: var(--itrela-text-12);
        font-weight: var(--itrela-weight-strong);
        letter-spacing: var(--itrela-caps-tracking);
        word-spacing: var(--itrela-label-word-spacing);
        text-transform: uppercase;
    }

    .template-table[b-6rklsjtazj]  .mud-table-body .mud-table-cell:first-child {
        padding-left: 0;
    }

    .template-table[b-6rklsjtazj]  .mud-table-body .mud-table-cell:first-child::before,
    .template-table[b-6rklsjtazj]  .mud-table-body .template-actions-cell::before {
        display: none;
    }

    .template-name-button[b-6rklsjtazj] {
        min-width: 0;
        max-width: none;
        padding-right: 4px;
    }

    .template-actions-cell[b-6rklsjtazj] {
        position: absolute;
        top: 8px;
        right: 6px;
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .template-tags[b-6rklsjtazj] {
        max-width: none;
    }
}

/* ── PARITY-2h: the drawn knowledge list ────────────────────────────── */

/* Section heads: "📌 Pinned" with the legend, then "All documents" — the
   uppercase whisper, inset to the workbench row gutter. */
.kb-section-head[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px var(--itrela-workbench-row-pad) 6px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
}

.kb-section-head:first-of-type[b-6rklsjtazj] {
    border-top: none;
}

.kb-section-title[b-6rklsjtazj] {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    line-height: 1.2;
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

.kb-section-legend[b-6rklsjtazj] {
    margin-left: auto;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.kb-doc-pin--muted[b-6rklsjtazj] {
    color: var(--mud-palette-text-secondary);
    opacity: 0.38;
}

/* Pinned-foot pager (ticket-list idiom). */
.kb-muted[b-6rklsjtazj] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.kb-link-btn[b-6rklsjtazj] {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.kb-link-btn:hover[b-6rklsjtazj] {
    text-decoration: underline;
}

.kb-link-btn:focus-visible[b-6rklsjtazj] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
    border-radius: var(--itrela-radius-small);
}

/* The "Not what you meant?" strip under the documents results — the manual
   miss record for a search that returned the wrong thing (empty searches
   record themselves). Drawn as a quiet footer strip. */
.kb-search-feedback[b-6rklsjtazj] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 57%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.kb-search-feedback > span:nth-child(2)[b-6rklsjtazj] {
    flex: 1 1 auto;
}

.kb-search-feedback[b-6rklsjtazj]  .kb-search-feedback-button {
    flex: 0 0 auto;
    height: 29px;
    min-height: 29px;
    padding: 0 12px;
    border-color: var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.kb-search-feedback-confirmation[b-6rklsjtazj] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    color: var(--itrela-status-ok);
    font-weight: var(--itrela-weight-strong);
}

.kb-search-feedback-error[b-6rklsjtazj] {
    color: var(--mud-palette-error);
}

@media (max-width: 600px) {
    .kb-search-feedback[b-6rklsjtazj] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .kb-search-feedback > span:nth-child(2)[b-6rklsjtazj] {
        flex-basis: calc(100% - 34px);
    }
}

/* Phone rows (app.css): the document's kind and tags move to the composed
   second line, so the title's own secondary line is not drawn there. */
@media (max-width: 600px) {
    .kb-grid[b-6rklsjtazj]  .itrela-phone-title .template-cell-secondary {
        display: none;
    }
}
/* /Components/Pages/Knowledge/NeedsDoingPanel.razor.rz.scp.css */
.kb-needs-panel[b-pidk7xknhd] {
    margin: var(--itrela-card-gap) var(--itrela-workbench-row-pad) 0;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
    background: var(--mud-palette-surface);
}

.kb-needs-head[b-pidk7xknhd] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px var(--itrela-card-pad) 12px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.kb-needs-label[b-pidk7xknhd] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    line-height: 1.2;
    word-spacing: var(--itrela-label-word-spacing);
}

.kb-needs-count[b-pidk7xknhd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 88%);
    color: var(--mud-palette-primary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
}

.kb-needs-spacer[b-pidk7xknhd] {
    flex: 1 1 auto;
}

.kb-needs-legend[b-pidk7xknhd],
.kb-needs-detail[b-pidk7xknhd],
.kb-needs-state[b-pidk7xknhd] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.kb-needs-state[b-pidk7xknhd],
.kb-needs-clear[b-pidk7xknhd] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px var(--itrela-card-pad);
}

.kb-needs-state[b-pidk7xknhd]  .mud-button-root {
    margin-left: auto;
}

.kb-needs-state--error[b-pidk7xknhd]  .mud-icon-root {
    color: var(--itrela-status-critical);
}

.kb-needs-clear[b-pidk7xknhd]  .mud-icon-root {
    color: var(--itrela-status-ok);
}

.kb-needs-row[b-pidk7xknhd] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 12px var(--itrela-card-pad);
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.kb-needs-row:last-child[b-pidk7xknhd] {
    border-bottom: 0;
}

.kb-needs-icon[b-pidk7xknhd] {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
}

.kb-needs-icon--critical[b-pidk7xknhd] {
    color: var(--itrela-status-critical);
}

.kb-needs-icon--warning[b-pidk7xknhd] {
    color: var(--itrela-status-warning);
}

.kb-needs-copy[b-pidk7xknhd] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.kb-needs-title[b-pidk7xknhd] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.kb-needs-detail[b-pidk7xknhd] {
    line-height: 1.45;
}

@media (max-width: 600px) {
    .kb-needs-legend[b-pidk7xknhd] {
        display: none;
    }

    .kb-needs-row[b-pidk7xknhd] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .kb-needs-copy[b-pidk7xknhd] {
        flex-basis: calc(100% - 42px);
    }

    .kb-needs-row[b-pidk7xknhd]  .mud-button-root {
        margin-left: 38px;
    }
}
/* /Components/Pages/Manual/Article.razor.rz.scp.css */
/* Breadcrumb over the title in the pinned head. The wrapper stretches so
   PageHeader's actions (the kind chip) still right-align to the head's edge. */
.manual-reader-head[b-ftoyld6dbn] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.manual-reader[b-ftoyld6dbn] {
  width: 100%;
  margin: 0 auto;
}

.manual-reader-layout[b-ftoyld6dbn] {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.manual-reader[b-ftoyld6dbn]  .manual-nav-card {
  position: sticky;
  top: 24px;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-bottom: 14px;
}

.manual-reader[b-ftoyld6dbn]  .manual-nav-card::after {
  content: "";
  position: sticky;
  display: block;
  bottom: 0;
  height: 26px;
  margin-top: -26px;
  background: linear-gradient(to bottom, transparent, var(--mud-palette-surface));
  pointer-events: none;
}

/* Full-bleed nav list: the card pattern's --itrela-card-pad is too generous for a
   rail of nav links, so the interior pads here (the old pa-2 value); the phone
   pill strip below tightens it further. */
.manual-reader[b-ftoyld6dbn]  .manual-nav-body {
  padding: 8px;
}

.manual-nav-menu[b-ftoyld6dbn] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manual-nav-area-button[b-ftoyld6dbn] {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--itrela-radius-control);
  background: transparent;
  color: var(--mud-palette-text-primary);
  font: inherit;
  font-size: var(--itrela-text-13);
  text-align: left;
  cursor: pointer;
}

.manual-nav-area-button:hover[b-ftoyld6dbn],
.manual-nav-area-button:focus-visible[b-ftoyld6dbn] {
  background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.manual-nav-area-button.current-area[b-ftoyld6dbn] {
  color: var(--mud-palette-primary);
  font-weight: var(--itrela-weight-strong);
}

.manual-nav-articles[b-ftoyld6dbn] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 4px 6px 14px;
  padding-left: 10px;
  border-left: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
}

.manual-nav-article[b-ftoyld6dbn] {
  padding: 7px 8px;
  border-radius: var(--itrela-radius-control);
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
  line-height: 1.35;
  text-decoration: none;
}

.manual-nav-article:hover[b-ftoyld6dbn],
.manual-nav-article:focus-visible[b-ftoyld6dbn] {
  color: var(--mud-palette-text-primary);
  background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.manual-nav-article.active[b-ftoyld6dbn] {
  color: var(--mud-palette-primary);
  background: var(--mud-palette-primary-lighten);
  font-weight: var(--itrela-weight-strong);
}

.manual-content[b-ftoyld6dbn] {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.manual-breadcrumb[b-ftoyld6dbn] {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-14);
}

.manual-breadcrumb-separator[b-ftoyld6dbn] {
  flex: 0 0 auto;
  padding: 0 2px;
  opacity: 0.7;
}

.manual-breadcrumb-current[b-ftoyld6dbn] {
  overflow: hidden;
  color: var(--mud-palette-text-primary);
  font-weight: var(--itrela-weight-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-reader[b-ftoyld6dbn]  .manual-article-card {
  padding: clamp(20px, 4vw, 44px);
}

.manual-reader-head[b-ftoyld6dbn]  .manual-kind-chip {
  flex: 0 0 auto;
  height: 22px;
  color: var(--mud-palette-text-secondary);
  border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 20%);
  background: color-mix(in oklab, var(--mud-palette-background), transparent 38%);
  font-size: var(--itrela-text-12);
}

.manual-on-this-page[b-ftoyld6dbn] {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
  padding: 11px 14px;
  border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 38%);
  border-radius: var(--itrela-radius-control);
  background: color-mix(in oklab, var(--mud-palette-background), transparent 45%);
}

.manual-on-this-page-label[b-ftoyld6dbn] {
  flex: 0 0 auto;
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
  font-weight: var(--itrela-weight-medium);
  word-spacing: var(--itrela-label-word-spacing);
}

.manual-on-this-page-links[b-ftoyld6dbn] {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 5px 14px;
}

.manual-on-this-page-links a[b-ftoyld6dbn],
.manual-related-links a[b-ftoyld6dbn],
.manual-prose[b-ftoyld6dbn]  a {
  color: var(--mud-palette-primary);
  text-decoration: none;
}

.manual-on-this-page-links a:hover[b-ftoyld6dbn],
.manual-related-links a:hover[b-ftoyld6dbn],
.manual-prose[b-ftoyld6dbn]  a:hover {
  text-decoration: underline;
}

.manual-on-this-page-links a[b-ftoyld6dbn] {
  font-size: var(--itrela-text-12);
}

.manual-on-this-page-links a.nested[b-ftoyld6dbn] {
  color: var(--mud-palette-text-secondary);
}

.manual-prose[b-ftoyld6dbn] {
  max-width: 78ch;
  color: var(--mud-palette-text-primary);
  font-size: var(--itrela-text-14);
  line-height: 1.72;
}

.manual-prose[b-ftoyld6dbn]  h1:first-child {
  display: none;
}

.manual-prose[b-ftoyld6dbn]  h2,
.manual-prose[b-ftoyld6dbn]  h3 {
  scroll-margin-top: 24px;
  color: var(--mud-palette-text-primary);
  line-height: 1.3;
}

.manual-prose[b-ftoyld6dbn]  h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: var(--itrela-text-20);
}

.manual-prose[b-ftoyld6dbn]  h3 {
  margin: 1.65rem 0 0.6rem;
  font-size: var(--itrela-text-16);
}

.manual-prose[b-ftoyld6dbn]  p,
.manual-prose[b-ftoyld6dbn]  ul,
.manual-prose[b-ftoyld6dbn]  ol,
.manual-prose[b-ftoyld6dbn]  blockquote,
.manual-prose[b-ftoyld6dbn]  table {
  margin: 0 0 1rem;
}

.manual-prose[b-ftoyld6dbn]  blockquote {
  padding: 10px 14px;
  border-left: 3px solid color-mix(in oklab, var(--mud-palette-primary), transparent 35%);
  border-radius: 0 var(--itrela-radius-control) var(--itrela-radius-control) 0;
  background: color-mix(in oklab, var(--mud-palette-primary-lighten), transparent 42%);
  color: var(--mud-palette-text-secondary);
}

.manual-prose[b-ftoyld6dbn]  blockquote > :last-child {
  margin-bottom: 0;
}

.manual-prose[b-ftoyld6dbn]  table {
  width: 100%;
  border-collapse: collapse;
}

.manual-prose[b-ftoyld6dbn]  th,
.manual-prose[b-ftoyld6dbn]  td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--mud-palette-lines-default);
  text-align: left;
  vertical-align: top;
}

.manual-prose[b-ftoyld6dbn]  th {
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
  letter-spacing: var(--itrela-caps-tracking);
  word-spacing: var(--itrela-label-word-spacing);
  text-transform: uppercase;
}

.manual-related[b-ftoyld6dbn] {
  max-width: 78ch;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.manual-related h2[b-ftoyld6dbn] {
  margin: 0 0 10px;
  font-size: var(--itrela-text-16);
}

.manual-related-links[b-ftoyld6dbn] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: var(--itrela-text-14);
}

.manual-version[b-ftoyld6dbn] {
  max-width: 78ch;
  margin-top: 28px;
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
}

.manual-reader[b-ftoyld6dbn]  .manual-not-found {
  padding: 24px;
}

@media (max-width: 959.98px) {
  .manual-reader-layout[b-ftoyld6dbn] {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--itrela-card-gap);
  }

  .manual-reader[b-ftoyld6dbn]  .manual-nav-card {
    position: sticky;
    top: calc(var(--mud-appbar-min-height, 48px) + 8px);
    z-index: 20;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
    background: var(--mud-palette-surface);
  }

  .manual-reader[b-ftoyld6dbn]  .manual-nav-card::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    height: auto;
    margin-top: 0;
    border-radius: 0 var(--itrela-radius-surface) var(--itrela-radius-surface) 0;
    background: linear-gradient(to right, transparent, var(--mud-palette-surface));
  }

  .manual-reader[b-ftoyld6dbn]  .manual-nav-body {
    padding: 6px !important;
  }

  .manual-nav-menu[b-ftoyld6dbn] {
    flex-direction: row;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    padding-right: 26px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .manual-nav-area[b-ftoyld6dbn] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    scroll-snap-align: start;
  }

  .manual-nav-area-button[b-ftoyld6dbn] {
    width: auto;
    white-space: nowrap;
  }

  .manual-nav-articles[b-ftoyld6dbn] {
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    border-left: 0;
  }

  .manual-nav-article[b-ftoyld6dbn] {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .manual-reader[b-ftoyld6dbn]  .manual-article-card {
    padding: 20px 16px;
  }

  .manual-breadcrumb[b-ftoyld6dbn] {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .manual-breadcrumb-current[b-ftoyld6dbn] {
    flex-basis: 100%;
    white-space: normal;
  }

  .manual-on-this-page[b-ftoyld6dbn] {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}
/* /Components/Pages/Manual/Index.razor.rz.scp.css */
.manual-hub-head[b-poqxh602w5] {
  display: contents;
}

.manual-index[b-poqxh602w5] {
  min-width: 0;
}

/* The shelf cards stack at the composed card gap; the loading region is
   their real parent (ComposedShell's column only sees this wrapper). */
.manual-index[b-poqxh602w5]  .itrela-loading-region {
  display: flex;
  flex-direction: column;
  gap: var(--itrela-card-gap);
}

.manual-search-field[b-poqxh602w5] {
  width: min(100%, 440px);
}

.manual-search-field[b-poqxh602w5]  .mud-input-control {
  margin: 0;
}

.manual-index[b-poqxh602w5]  .manual-area-card,
.manual-index[b-poqxh602w5]  .manual-search-results {
  overflow: hidden;
}

/* Head band over the article rows: fill follows .data-grid-container's head in
   app.css, which is the source of truth. */
.manual-area-heading[b-poqxh602w5] {
  margin: 0;
  padding: 14px 18px 10px;
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
  background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
  font-weight: var(--itrela-weight-medium);
  word-spacing: var(--itrela-label-word-spacing);
}

.manual-row[b-poqxh602w5] {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 48%);
  color: inherit;
  text-decoration: none;
  transition: background-color 120ms ease;
}

.manual-row:last-child[b-poqxh602w5] {
  border-bottom: 0;
}

.manual-row:hover[b-poqxh602w5],
.manual-row:focus-visible[b-poqxh602w5] {
  background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.manual-row-main[b-poqxh602w5] {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.manual-title-line[b-poqxh602w5] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manual-row-title[b-poqxh602w5] {
  color: var(--mud-palette-text-primary);
  font-size: var(--itrela-text-14);
  font-weight: var(--itrela-weight-strong);
}

.manual-row-summary[b-poqxh602w5] {
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-13);
  line-height: 1.45;
}

.manual-index[b-poqxh602w5]  .manual-kind-chip {
  height: 22px;
  color: var(--mud-palette-text-secondary);
  border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 20%);
  background: color-mix(in oklab, var(--mud-palette-background), transparent 38%);
  font-size: var(--itrela-text-12);
}

.manual-area-label[b-poqxh602w5] {
  flex: 0 0 auto;
  color: var(--mud-palette-text-secondary);
  font-size: var(--itrela-text-12);
  font-weight: var(--itrela-weight-strong);
}

.manual-all-areas-toggle[b-poqxh602w5] {
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.manual-index[b-poqxh602w5]  .manual-all-areas-toggle .mud-button-root {
  color: var(--mud-palette-text-secondary);
}

.manual-all-areas[b-poqxh602w5] {
  display: flex;
  flex-direction: column;
  gap: var(--itrela-card-gap);
}

@media (max-width: 600px) {
  /* The pinned head can't hold title + 440px field on one phone row —
     wrap the field under the title. */
  .manual-hub-head[b-poqxh602w5]  .page-header {
    flex-wrap: wrap;
  }

  .manual-search-field[b-poqxh602w5] {
    width: 100%;
  }

  .manual-row[b-poqxh602w5] {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 13px 14px;
  }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
/* A missing page is a calm, centred empty state: one surface at reading
   width, the shared EmptyState inside it with its two ways on, then the
   search tip as one quiet line. */
.itrela-not-found[b-rkiov11ikm] {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding-inline: var(--itrela-space-24);
}

.itrela-not-found-tip[b-rkiov11ikm] {
    margin: var(--itrela-space-16) 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    text-align: center;
}

/* The shared key style, at the size of the line it sits in. */
.itrela-not-found-tip .shortcut-help-key[b-rkiov11ikm] {
    min-width: 0;
    padding: 0 var(--itrela-space-4);
    border-radius: var(--itrela-radius-small);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

@media (max-width: 599.98px) {
    .itrela-not-found[b-rkiov11ikm] {
        padding-inline: var(--itrela-space-16);
    }
}
/* /Components/Pages/Notifications/List.razor.rz.scp.css */
.notif-header[b-czwdvhzu0r]  .notif-preferences-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-inline: 4px;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}
/* /Components/Pages/Portal/Csat.razor.rz.scp.css */
.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-page {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: none;
}

.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-page .mud-card-content {
    padding: var(--itrela-space-24);
}

.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-actions {
    display: inline-flex;
    align-items: center;
    gap: var(--itrela-space-8);
}

.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-actions .mud-icon-button {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    transition: background var(--itrela-motion-fast) var(--itrela-ease),
        border-color var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-actions .mud-icon-button:hover {
    border-color: var(--itrela-line-strong);
    background: var(--mud-palette-table-striped);
}

.portal-csat-stage[b-jihyvx1bvw]  .portal-csat-actions .mud-icon-button:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

@media (max-width: 600px) {
    .portal-csat-stage[b-jihyvx1bvw]  .portal-csat-page .mud-card-content {
        padding: var(--itrela-space-16);
    }
}
/* /Components/Pages/Portal/Documents.razor.rz.scp.css */
.portal-documents-card[b-wks4vjbc1c] {
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-documents-filters[b-wks4vjbc1c] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
}

.portal-filter-pill[b-wks4vjbc1c] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.portal-filter-pill:hover[b-wks4vjbc1c] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-filter-pill.is-selected[b-wks4vjbc1c] {
    border-color: var(--mud-palette-primary);
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.portal-filter-count[b-wks4vjbc1c] {
    font-size: var(--itrela-text-12);
    opacity: 0.85;
}

.portal-documents-rows[b-wks4vjbc1c] {
    display: flex;
    flex-direction: column;
}

.portal-document-row[b-wks4vjbc1c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 60%, transparent);
}

.portal-document-row:last-child[b-wks4vjbc1c] {
    border-bottom: 0;
}

.portal-document-main[b-wks4vjbc1c] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.portal-document-title-line[b-wks4vjbc1c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.portal-document-title[b-wks4vjbc1c] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
    overflow-wrap: anywhere;
}

.portal-document-number[b-wks4vjbc1c] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.portal-document-meta[b-wks4vjbc1c] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.portal-document-actions[b-wks4vjbc1c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.portal-documents-empty[b-wks4vjbc1c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 150px;
    padding: 32px;
    text-align: center;
}

.portal-documents-empty[b-wks4vjbc1c]  .mud-icon-root {
    color: var(--mud-palette-text-disabled);
}

@media (max-width: 600px) {
    .portal-document-row[b-wks4vjbc1c] {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-document-actions[b-wks4vjbc1c]  .mud-button-root {
        width: 100%;
        min-height: 44px;
    }
}
/* /Components/Pages/Portal/Home.razor.rz.scp.css */
.portal-home[b-u9csje1jwn] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

.portal-home[b-u9csje1jwn]  .itrela-loading-region {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

.portal-home-quiet-card[b-u9csje1jwn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-home-welcome[b-u9csje1jwn] {
    background: linear-gradient(
        135deg,
        var(--itrela-portal-accent-tint),
        color-mix(in oklab, var(--mud-palette-surface), var(--itrela-portal-accent-tint) 18%));
}

.portal-home-support-links[b-u9csje1jwn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: var(--itrela-text-14);
}

.portal-home-kb[b-u9csje1jwn] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}
/* /Components/Pages/Portal/Invoices/Details.razor.rz.scp.css */
/* Clean shared-kit table headings (surface ground, crisp hairline) and calm
   note alignment inside the invoice detail card. */
.portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table th {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
}

.portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table td {
    border-bottom: 1px solid var(--itrela-line);
}

.portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot td {
    border-bottom: 0;
}

/* A sentence under the amount due wraps like prose, unlike the figures. */
.portal-invoice-note[b-9xmkolucx5] {
    text-align: right;
}

.portal-invoice-group-row td[b-9xmkolucx5] {
    padding-top: 14px;
    padding-bottom: 6px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.portal-invoice-line-meta[b-9xmkolucx5] {
    margin-top: 2px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.portal-invoice-coverage-row td[b-9xmkolucx5] {
    color: var(--mud-palette-text-secondary);
}

.portal-payment-instructions[b-9xmkolucx5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.portal-payment-instructions-text[b-9xmkolucx5] {
    white-space: pre-line;
    overflow-wrap: anywhere;
    flex: 1;
}

.portal-payment-instructions-copy[b-9xmkolucx5] {
    flex-shrink: 0;
}

/* What the client owes, beside the status in the header. Drawn on a phone
   only, where the pay card and the totals sit below the fold. */
.portal-invoice-head-due[b-9xmkolucx5] {
    display: none;
    align-items: baseline;
    gap: var(--itrela-space-8);
}

.portal-invoice-head-due-label[b-9xmkolucx5] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
}

.portal-invoice-head-due .itrela-money[b-9xmkolucx5] {
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

/* Phone: the line table becomes a list that fits the card, so nothing hides
   off its right edge. Each line is its description, then "1 × $86.00" on
   the left and the line amount on the right; a group heading (Deposit)
   keeps its quiet label; the totals close the list, label left and figure
   right, with Total ruled off above. */
@media (max-width: 600px) {
    .portal-invoice-head-due[b-9xmkolucx5] {
        display: inline-flex;
    }

    .portal-invoice-downloads[b-9xmkolucx5] {
        align-items: stretch !important;
        flex-direction: column;
    }

    .portal-invoice-downloads[b-9xmkolucx5]  .mud-button-root {
        width: 100%;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table,
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody,
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot {
        display: block;
        width: 100%;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table thead {
        display: none;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody tr {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        grid-template-areas:
            "desc desc desc desc"
            "qty price . amount";
        align-items: baseline;
        column-gap: var(--itrela-space-4);
        row-gap: var(--itrela-space-4);
        padding: var(--itrela-space-12) 0;
        border-bottom: 1px solid var(--itrela-line);
    }

    /* Total's rule closes the list; the last line needs no line of its own. */
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody tr:last-child {
        border-bottom: 0;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody td,
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot td {
        padding: 0;
        border: 0;
        text-align: start;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-desc {
        grid-area: desc;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-qty,
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-price {
        color: var(--mud-palette-text-secondary);
        font-size: var(--itrela-text-13);
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-qty {
        grid-area: qty;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-price {
        grid-area: price;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-price::before {
        content: "× ";
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table .portal-invoice-line-amount {
        grid-area: amount;
        text-align: end;
    }

    /* The group heading (Deposit) spans the list like it spans the table. */
    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody tr.portal-invoice-group-row {
        display: block;
        padding: var(--itrela-space-12) 0 var(--itrela-space-4);
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tbody tr.portal-invoice-group-row td {
        display: block;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot tr {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: var(--itrela-space-12);
        padding: var(--itrela-space-4) 0;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot tr.portal-invoice-total-row {
        margin-top: var(--itrela-space-8);
        padding-top: var(--itrela-space-12);
        border-top: 1px solid var(--itrela-line-strong);
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot td.portal-num:not([colspan]) {
        flex: 0 0 auto;
        text-align: end;
    }

    .portal-page--invoice-detail[b-9xmkolucx5]  .portal-invoice-table tfoot .portal-invoice-note {
        text-align: start;
    }
}
/* /Components/Pages/Portal/Invoices/List.razor.rz.scp.css */
.portal-invoices-card[b-55xnmndg2j] {
    overflow: hidden;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-invoices-summary[b-55xnmndg2j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--itrela-portal-accent-tint) 28%);
}

.portal-invoices-summary-balance[b-55xnmndg2j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.portal-invoices-summary-label[b-55xnmndg2j] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
}

.portal-invoices-summary-amount[b-55xnmndg2j] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.portal-invoices-summary-clear[b-55xnmndg2j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.portal-invoices-filters[b-55xnmndg2j] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portal-filter-pill[b-55xnmndg2j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.portal-filter-pill:hover[b-55xnmndg2j] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-filter-pill.is-selected[b-55xnmndg2j] {
    border-color: var(--mud-palette-primary);
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.portal-filter-count[b-55xnmndg2j] {
    font-size: var(--itrela-text-12);
    opacity: 0.85;
}

/* Money held for the client sits under the heading as a sentence, apart
   from the table's figures. */
.portal-invoices-credit[b-55xnmndg2j] {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-bottom: 1px solid var(--itrela-line);
}

.portal-invoices-table-wrap[b-55xnmndg2j] {
    overflow-x: auto;
}

.portal-invoices-list[b-55xnmndg2j] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--itrela-text-14);
}

.portal-invoices-list th[b-55xnmndg2j],
.portal-invoices-list td[b-55xnmndg2j] {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-bottom: 1px solid var(--itrela-line);
    text-align: left;
    vertical-align: middle;
}

/* Shared-kit table column heading: 12px strong uppercase muted on table surface
   with a crisp bottom hairline. */
.portal-invoices-list th[b-55xnmndg2j] {
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.portal-invoices-list tbody tr[b-55xnmndg2j] {
    transition: background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-invoices-list tbody tr:last-child td[b-55xnmndg2j] {
    border-bottom: 0;
}

.portal-invoices-list tbody tr:hover[b-55xnmndg2j] {
    background: var(--mud-palette-table-striped);
}

.portal-invoices-num[b-55xnmndg2j] {
    text-align: right !important;
    white-space: nowrap;
}

.portal-invoice-link[b-55xnmndg2j],
.portal-invoice-actions a[b-55xnmndg2j] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.portal-invoice-link:hover[b-55xnmndg2j],
.portal-invoice-actions a:hover[b-55xnmndg2j] {
    text-decoration: underline;
}

.portal-invoice-muted[b-55xnmndg2j],
.portal-invoice-timing[b-55xnmndg2j] {
    color: var(--mud-palette-text-secondary);
}

.portal-invoice-status-cell[b-55xnmndg2j] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.portal-invoice-timing[b-55xnmndg2j] {
    margin-top: var(--itrela-space-4);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.portal-invoice-actions[b-55xnmndg2j] {
    text-align: right !important;
    white-space: nowrap;
}

.portal-invoice-actions-group[b-55xnmndg2j] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-4);
}

.portal-invoices-empty[b-55xnmndg2j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-32);
    text-align: center;
}

.portal-invoices-foot[b-55xnmndg2j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

@media (max-width: 700px) {
    .portal-invoices-table-wrap[b-55xnmndg2j] {
        overflow: visible;
    }

    .portal-invoices-list[b-55xnmndg2j],
    .portal-invoices-list tbody[b-55xnmndg2j],
    .portal-invoices-list tr[b-55xnmndg2j],
    .portal-invoices-list td[b-55xnmndg2j] {
        display: block;
        width: 100%;
    }

    .portal-invoices-list thead[b-55xnmndg2j] {
        display: none;
    }

    .portal-invoices-list tr[b-55xnmndg2j] {
        padding: var(--itrela-space-12) var(--itrela-space-16);
        border-bottom: 1px solid var(--itrela-line);
    }

    .portal-invoices-list tbody tr:last-child[b-55xnmndg2j] {
        border-bottom: 0;
    }

    .portal-invoices-list td[b-55xnmndg2j] {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: var(--itrela-space-8);
        padding: var(--itrela-space-4) 0;
        border: 0;
        text-align: left !important;
        white-space: normal;
    }

    .portal-invoices-list td[b-55xnmndg2j]::before {
        content: attr(data-label);
        color: var(--mud-palette-text-secondary);
        font-size: var(--itrela-text-12);
        font-weight: var(--itrela-weight-strong);
    }

    .portal-invoice-timing[b-55xnmndg2j] {
        white-space: normal;
    }

    .portal-invoice-actions[b-55xnmndg2j] {
        justify-content: start;
    }

    .portal-invoice-actions-group[b-55xnmndg2j] {
        justify-content: flex-start;
    }

    .portal-invoices-foot[b-55xnmndg2j] {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Phone rows (app.css): the due or paid day moves to the composed second
   line, so the status keeps only its chip there. */
@media (max-width: 600px) {
    .portal-invoices-list .itrela-phone-chip .portal-invoice-timing[b-55xnmndg2j] {
        display: none;
    }
}
/* /Components/Pages/Portal/Kb/List.razor.rz.scp.css */
.portal-kb-card[b-4yrt7yqfz6] {
    overflow: hidden;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-kb-link[b-4yrt7yqfz6] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-12);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--itrela-line);
    transition: background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-kb-link:last-of-type[b-4yrt7yqfz6] {
    border-bottom: 0;
}

.portal-kb-link:hover[b-4yrt7yqfz6] {
    background: var(--mud-palette-table-striped);
}

.portal-kb-link:focus-visible[b-4yrt7yqfz6] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(var(--itrela-focus-offset) * -1);
}

.portal-kb-icon[b-4yrt7yqfz6] {
    display: inline-flex;
    color: var(--mud-palette-primary);
}

.portal-kb-copy[b-4yrt7yqfz6] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.portal-kb-title[b-4yrt7yqfz6] {
    overflow-wrap: anywhere;
    font-weight: var(--itrela-weight-strong);
}

.portal-kb-meta[b-4yrt7yqfz6] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.portal-kb-arrow[b-4yrt7yqfz6] {
    color: var(--mud-palette-text-secondary);
}

.portal-kb-paging[b-4yrt7yqfz6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

@media (max-width: 600px) {
    .portal-kb-paging[b-4yrt7yqfz6] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Portal/Login.razor.rz.scp.css */
.portal-auth-stage[b-74ub2ldydd] {
    width: 100%;
    max-width: 440px;
    margin: clamp(16px, 6vh, 48px) auto 0;
}

.portal-auth-stage[b-74ub2ldydd]  .portal-auth-card--login {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: none;
}

.portal-auth-stage[b-74ub2ldydd]  .portal-auth-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--itrela-radius-surface);
}

.portal-auth-stage[b-74ub2ldydd]  .portal-auth-wrong-door,
.portal-auth-stage[b-74ub2ldydd]  .portal-auth-escape {
    padding-top: var(--itrela-space-12);
    border-top: 1px solid var(--itrela-line);
    line-height: var(--itrela-leading-text);
}

@media (max-width: 600px) {
    .portal-auth-stage[b-74ub2ldydd] {
        margin-top: var(--itrela-space-4);
    }
}
/* /Components/Pages/Portal/PortalHomeWaiting.razor.rz.scp.css */
.portal-home-waiting[b-3hsv7cqfey] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 45%);
}

.portal-home-waiting[b-3hsv7cqfey]  .portal-home-row > .mud-icon-root {
    flex: none;
}

/* The drawn 30px action buttons (Improvements 3 K): the agreement's
   "Read & sign" is the one accent fill; "Review" stays a 1px outline. */
.portal-home-waiting-action[b-3hsv7cqfey] {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 13px;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.portal-home-waiting-action--primary[b-3hsv7cqfey] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.portal-home-waiting-action--outline[b-3hsv7cqfey] {
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

@media (max-width: 600px) {
    .portal-home-waiting-action[b-3hsv7cqfey] {
        align-self: flex-start;
    }
}
/* /Components/Pages/Portal/PortalPendingOfferLine.razor.rz.scp.css */
.portal-pending-offers[b-wlpx8e1wpu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-pending-offer[b-wlpx8e1wpu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 78%);
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-portal-accent-tint,
        color-mix(in oklab, var(--mud-palette-primary), transparent 92%));
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.portal-pending-offer:hover[b-wlpx8e1wpu] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 58%);
}

.portal-pending-offer[b-wlpx8e1wpu]  .mud-icon-root {
    flex-shrink: 0;
    color: var(--mud-palette-primary);
}

.portal-pending-offer-copy[b-wlpx8e1wpu] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
    font-size: var(--itrela-text-14);
}

.portal-pending-offer-copy > span[b-wlpx8e1wpu] {
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Portal/PortalTokenFailureCard.razor.rz.scp.css */
/* One width and one top gap for every token-failure card, so share/csat/
   sign/verify failures read as the same state instead of four ad-hoc pages. */
.portal-fail-wrap[b-bw5mf6wg0x] {
    max-width: 560px;
    margin: clamp(28px, 7vh, 64px) auto 0;
}

.portal-fail-copy[b-bw5mf6wg0x] {
    margin-top: 6px;
    line-height: 1.55;
}

.portal-fail-copy p[b-bw5mf6wg0x] {
    margin: 0 0 10px;
}

.portal-fail-copy p:last-child[b-bw5mf6wg0x] {
    margin-bottom: 0;
}

.portal-fail-support[b-bw5mf6wg0x] {
    padding-top: 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.5;
}

.portal-fail-support-label[b-bw5mf6wg0x] {
    margin-bottom: 4px;
    font-weight: var(--itrela-weight-medium);
}

.portal-fail-support-links[b-bw5mf6wg0x] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
}

.portal-fail-support-links a[b-bw5mf6wg0x] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.portal-fail-support-links a:hover[b-bw5mf6wg0x] {
    text-decoration: underline;
}

.portal-fail-support-hours[b-bw5mf6wg0x] {
    margin-top: 4px;
    font-size: var(--itrela-text-12);
}

@media (max-width: 600px) {
    .portal-fail-wrap[b-bw5mf6wg0x] {
        margin-top: 12px;
    }

    .portal-fail-wrap[b-bw5mf6wg0x]  .mud-button-root {
        width: 100%;
        min-height: 44px;
    }
}
/* /Components/Pages/Portal/SignCeremony.razor.rz.scp.css */
.portal-sign-brand-row[b-hz6e9p6xok] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.portal-sign-heading-copy[b-hz6e9p6xok] {
    min-width: 0;
    flex: 1;
}

.portal-sign-brand-logo-frame[b-hz6e9p6xok] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 140px;
    height: 40px;
    flex-shrink: 0;
}

.portal-sign-brand-logo-frame--pill[b-hz6e9p6xok] {
    padding: 4px 8px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in srgb, var(--mud-palette-white) 92%, transparent);
}

.portal-sign-brand-logo[b-hz6e9p6xok] {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-sign-brand-mark[b-hz6e9p6xok] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--itrela-radius-control);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    overflow: hidden;
}

.portal-sign-brand-mark--image[b-hz6e9p6xok] {
    background: transparent;
}

.portal-sign-brand-mark-img[b-hz6e9p6xok] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-sign-pdf-bar[b-hz6e9p6xok] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 10px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-gray);
}

.portal-sign-pdf-hint[b-hz6e9p6xok] {
    flex: 1 1 220px;
    min-width: 0;
}

.portal-sign-document[b-hz6e9p6xok] {
    width: 100%;
    height: 65vh;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
}

.portal-sign-form-panel[b-hz6e9p6xok] {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--itrela-portal-accent-tint) 36%, var(--mud-palette-surface));
}

.portal-sign-consent[b-hz6e9p6xok] {
    display: flex;
    align-items: flex-start;
    gap: var(--itrela-space-8);
    margin-bottom: var(--itrela-space-12);
    cursor: pointer;
}

.portal-sign-consent input[b-hz6e9p6xok] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--mud-palette-primary);
    cursor: pointer;
}

.portal-sign-name-label[b-hz6e9p6xok] {
    display: block;
    margin-bottom: var(--itrela-space-12);
}

.portal-sign-field-caption[b-hz6e9p6xok] {
    font-weight: var(--itrela-weight-medium);
}

.portal-sign-name[b-hz6e9p6xok],
.portal-sign-decline-reason[b-hz6e9p6xok] {
    width: 100%;
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    transition: border-color 0.15s ease;
}

.portal-sign-name:hover[b-hz6e9p6xok],
.portal-sign-decline-reason:hover[b-hz6e9p6xok] {
    border-color: var(--mud-palette-text-primary);
}

.portal-sign-name[b-hz6e9p6xok] {
    max-width: 420px;
    font-size: var(--itrela-text-16);
}

.portal-sign-decline > summary[b-hz6e9p6xok] {
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.portal-sign-decline-reason[b-hz6e9p6xok] {
    display: block;
    max-width: 560px;
    margin-bottom: var(--itrela-space-8);
    font-size: var(--itrela-text-16);
}

.portal-sign-document:focus-visible[b-hz6e9p6xok],
.portal-sign-consent input:focus-visible[b-hz6e9p6xok],
.portal-sign-name:focus-visible[b-hz6e9p6xok],
.portal-sign-decline > summary:focus-visible[b-hz6e9p6xok],
.portal-sign-decline-reason:focus-visible[b-hz6e9p6xok] {
    border-color: var(--mud-palette-primary);
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

@media (max-width: 600px) {
    .portal-sign-brand-row[b-hz6e9p6xok] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .portal-sign-open-pdf[b-hz6e9p6xok] {
        width: 100%;
        min-height: 44px;
    }

    .portal-sign-document[b-hz6e9p6xok] {
        height: 48vh;
        min-height: 280px;
    }

    .portal-sign-form-panel[b-hz6e9p6xok] {
        padding: var(--itrela-space-16) !important;
    }

    .portal-sign-form-panel form > button[b-hz6e9p6xok] {
        width: 100%;
        min-height: 44px;
    }

    .portal-sign-name[b-hz6e9p6xok] {
        max-width: none;
    }
}
/* /Components/Pages/Portal/Tickets/Details.razor.rz.scp.css */
/* Conversation thread polish (Wave 5B): clear visual hierarchy between
   support team and customer messages, calm outlined composer, and clean
   mobile stacking. The heading is the shared PortalPageHeader; base layout
   hooks live in app.css. */

.portal-chat-page .portal-chat-scroll[b-0muvbtvgjr] {
    padding: var(--itrela-space-16) var(--itrela-space-4) var(--itrela-space-12);
}

.portal-chat-page .portal-chat-sys[b-0muvbtvgjr],
.portal-chat-page .portal-chat-day[b-0muvbtvgjr] {
    color: var(--mud-palette-text-secondary);
}

.portal-chat-page .portal-chat-day[b-0muvbtvgjr]::before,
.portal-chat-page .portal-chat-day[b-0muvbtvgjr]::after {
    background: var(--itrela-line);
}

.portal-chat-page .portal-bubble[b-0muvbtvgjr] {
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    line-height: var(--itrela-leading-text);
}

/* Support-team messages wear the crisp card surface with a calm left brand bar. */
.portal-chat-page .portal-bubble-msp[b-0muvbtvgjr] {
    border-left: 3px solid var(--mud-palette-primary);
    border-bottom-left-radius: var(--itrela-radius-small);
}

/* Customer messages sit on the right in a soft brand-tinted hairline card. */
.portal-chat-page .portal-bubble-client[b-0muvbtvgjr] {
    border-color: color-mix(in oklab, var(--mud-palette-primary) 26%, var(--itrela-line));
    border-bottom-right-radius: var(--itrela-radius-small);
    background: color-mix(in oklab, var(--itrela-portal-accent-tint) 65%, var(--mud-palette-surface));
}

.portal-chat-page .portal-msg-image[b-0muvbtvgjr],
.portal-chat-page .portal-file-chip[b-0muvbtvgjr] {
    border-color: var(--itrela-line);
}

.portal-chat-page .portal-ack-strip[b-0muvbtvgjr],
.portal-chat-page .portal-csat-strip[b-0muvbtvgjr],
.portal-chat-page .portal-resolution-strip[b-0muvbtvgjr] {
    margin: var(--itrela-space-8) 0 0;
    border-radius: var(--itrela-radius-surface);
}

.portal-chat-page .portal-chat-composer[b-0muvbtvgjr] {
    padding-top: var(--itrela-space-12);
    border-top: 1px solid var(--itrela-line);
}

.portal-chat-page .portal-composer-box[b-0muvbtvgjr] {
    padding: var(--itrela-space-8);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: none;
    transition: border-color var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-chat-page .portal-composer-box:focus-within[b-0muvbtvgjr] {
    border-color: var(--mud-palette-primary);
    box-shadow: none;
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-chat-page .portal-composer-hint[b-0muvbtvgjr] {
    color: var(--mud-palette-text-secondary);
}

.portal-chat-page .portal-chat-closed[b-0muvbtvgjr] {
    margin-top: var(--itrela-space-8);
    padding: var(--itrela-space-16);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

@media (max-width: 600px) {
    .portal-chat-page .portal-msg[b-0muvbtvgjr] {
        max-width: 92%;
    }

    .portal-chat-page .portal-msg-image[b-0muvbtvgjr] {
        width: 160px;
        height: 120px;
    }
}
/* /Components/Pages/Portal/Tickets/List.razor.rz.scp.css */
.portal-requests-card[b-m6vsfjwnxe] {
    overflow: hidden;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.portal-requests-search[b-m6vsfjwnxe],
.portal-requests-foot[b-m6vsfjwnxe] {
    padding: var(--itrela-space-16);
}

.portal-requests-search[b-m6vsfjwnxe] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    border-bottom: 1px solid var(--itrela-line);
}

.portal-requests-filters[b-m6vsfjwnxe] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portal-filter-pill[b-m6vsfjwnxe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.portal-filter-pill:hover[b-m6vsfjwnxe] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-filter-pill.is-selected[b-m6vsfjwnxe] {
    border-color: var(--mud-palette-primary);
    background: var(--itrela-portal-accent-tint);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.portal-filter-count[b-m6vsfjwnxe] {
    font-size: var(--itrela-text-12);
    opacity: 0.85;
}

.portal-skeleton-pad[b-m6vsfjwnxe] {
    padding: 12px 16px;
}

.portal-requests-rows[b-m6vsfjwnxe] {
    display: flex;
    flex-direction: column;
}

.portal-request-row[b-m6vsfjwnxe] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-16);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--itrela-line);
    transition: background var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-request-row:last-child[b-m6vsfjwnxe] {
    border-bottom: 0;
}

.portal-request-row:hover[b-m6vsfjwnxe] {
    background: var(--mud-palette-table-striped);
}

.portal-request-row:focus-visible[b-m6vsfjwnxe] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(var(--itrela-focus-offset) * -1);
}

.portal-request-main[b-m6vsfjwnxe] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.portal-request-title[b-m6vsfjwnxe] {
    overflow-wrap: anywhere;
    font-weight: var(--itrela-weight-strong);
}

.portal-request-snippet[b-m6vsfjwnxe] {
    overflow: hidden;
    max-width: 68ch;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-request-meta[b-m6vsfjwnxe] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.portal-requests-state[b-m6vsfjwnxe],
.portal-requests-empty[b-m6vsfjwnxe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--itrela-space-8);
    min-height: 150px;
    padding: var(--itrela-space-32);
    text-align: center;
}

.portal-requests-state[b-m6vsfjwnxe] {
    color: var(--mud-palette-text-secondary);
}

.portal-requests-state[b-m6vsfjwnxe]  .mud-progress-linear {
    align-self: stretch;
}

.portal-requests-empty[b-m6vsfjwnxe]  .mud-icon-root {
    color: var(--mud-palette-text-secondary);
}

.portal-requests-empty[b-m6vsfjwnxe]  .mud-button-root {
    margin-top: var(--itrela-space-4);
}

.portal-requests-foot[b-m6vsfjwnxe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
}

@media (max-width: 600px) {
    .portal-request-row[b-m6vsfjwnxe] {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-request-row[b-m6vsfjwnxe] {
        gap: var(--itrela-space-8);
    }

    .portal-request-row[b-m6vsfjwnxe]  .itrela-status-chip {
        align-self: flex-start;
    }

    .portal-requests-foot[b-m6vsfjwnxe] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Portal/Tickets/PortalBookingPickerContent.razor.rz.scp.css */
.portal-booking-picker[b-365b57bw42] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-booking-state[b-365b57bw42],
.portal-booking-booked[b-365b57bw42] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.portal-booking-heading[b-365b57bw42] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.portal-booking-heading > :last-child[b-365b57bw42] {
    flex-shrink: 0;
}

.portal-booking-days[b-365b57bw42] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: min(52vh, 440px);
    overflow-y: auto;
    padding-bottom: 12px;
}

.portal-booking-day[b-365b57bw42] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-booking-slots[b-365b57bw42] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.portal-booking-slots[b-365b57bw42]  .mud-button-root {
    min-height: 40px;
}

.portal-booking-empty[b-365b57bw42] {
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 24%);
    color: var(--mud-palette-text-secondary);
}

.portal-booking-confirm[b-365b57bw42] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 600px) {
    .portal-booking-heading[b-365b57bw42] {
        flex-direction: column;
        gap: 4px;
    }

    .portal-booking-slots[b-365b57bw42] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Portal/Tickets/PortalScheduleOfferStrip.razor.rz.scp.css */
.portal-offer-strip[b-1anbdf2te1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 78%);
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-portal-accent-tint,
        color-mix(in oklab, var(--mud-palette-primary), transparent 92%));
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.portal-offer-strip[b-1anbdf2te1]  .mud-icon-root {
    flex-shrink: 0;
    color: var(--mud-palette-primary);
}

.portal-offer-strip[b-1anbdf2te1]  .mud-button-root {
    min-height: 32px;
    padding: 2px 4px;
    font-weight: var(--itrela-weight-strong);
}

.portal-offer-booked-copy[b-1anbdf2te1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.portal-offer-strip--booked[b-1anbdf2te1] {
    border-color: color-mix(in oklab, var(--mud-palette-success), transparent 78%);
    background: color-mix(in oklab, var(--mud-palette-success), transparent 92%);
}

.portal-offer-strip--booked[b-1anbdf2te1]  .mud-icon-root {
    color: var(--mud-palette-success);
}

.portal-offer-strip--withdrawn[b-1anbdf2te1],
.portal-offer-strip--spent[b-1anbdf2te1] {
    border-color: var(--mud-palette-lines-default);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 24%);
}

.portal-offer-strip--withdrawn[b-1anbdf2te1]  .mud-icon-root,
.portal-offer-strip--spent[b-1anbdf2te1]  .mud-icon-root {
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Proof.razor.rz.scp.css */
/* Itrela materials. The local names stay — a dozen rules below read them —
   but every value now points at the app palette instead of the retired
   former warm palette. --proof-rust holds the teal accent: the name is
   load-bearing, the material is not. The layout is untouched. */
.proof-page[b-g0at0r13fs],
.proof-unavailable[b-g0at0r13fs] {
    --proof-ink: var(--mud-palette-text-primary);
    --proof-muted: var(--mud-palette-text-secondary);
    --proof-line: var(--mud-palette-lines-default);
    --proof-rust: var(--mud-palette-primary);
    --proof-paper: var(--mud-palette-surface);
    color: var(--proof-ink);
}

.proof-page[b-g0at0r13fs] {
    overflow: hidden;
}

.proof-hero[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
    min-height: 690px;
    padding: clamp(5.5rem, 10vw, 9rem) 7vw;
}

.proof-eyebrow[b-g0at0r13fs] {
    margin: 0 0 1rem;
    color: var(--proof-rust);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.proof-hero h1[b-g0at0r13fs],
.proof-section h2[b-g0at0r13fs],
.proof-controls-section h2[b-g0at0r13fs],
.proof-restore-section h2[b-g0at0r13fs],
.proof-limits-section h2[b-g0at0r13fs],
.proof-final-cta h2[b-g0at0r13fs],
.proof-unavailable h1[b-g0at0r13fs] {
    margin: 0;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.proof-hero h1[b-g0at0r13fs] {
    max-width: 820px;
    font-size: clamp(3.25rem, 6.4vw, 6.7rem);
}

.proof-hero h1 em[b-g0at0r13fs] {
    color: var(--proof-rust);
    font-weight: inherit;
}

.proof-lede[b-g0at0r13fs] {
    max-width: 710px;
    margin: 2rem 0 0;
    color: var(--proof-muted);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.7;
}

.proof-actions[b-g0at0r13fs] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-top: 2.25rem;
}

.proof-button[b-g0at0r13fs],
.proof-text-link[b-g0at0r13fs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: inherit;
    font-weight: 750;
    text-decoration: none;
}

.proof-button[b-g0at0r13fs] {
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
}

.proof-button--primary[b-g0at0r13fs] {
    background: var(--proof-rust);
    color: var(--mud-palette-primary-text);
}

.proof-button--primary:hover[b-g0at0r13fs] {
    background: var(--mud-palette-primary-darken);
}

.proof-button--secondary[b-g0at0r13fs] {
    border-color: var(--proof-line);
    background: var(--proof-paper);
}

.proof-text-link[b-g0at0r13fs] {
    gap: 0.5rem;
    color: var(--proof-rust);
}

.proof-snapshot[b-g0at0r13fs] {
    position: relative;
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background: var(--itrela-rail-base);
    box-shadow: 0 28px 70px rgba(20, 25, 27, 0.2);
    color: var(--itrela-chalk);
}

.proof-snapshot[b-g0at0r13fs]::before {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 17px;
    content: "";
    pointer-events: none;
}

.proof-snapshot-heading[b-g0at0r13fs] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.35rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.proof-status[b-g0at0r13fs] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    /* The dark-grade OK ink: this panel is a fixed dark surface inside a
       forced-light page, so the light grade would sink into it. */
    color: #79C58F;
}

.proof-status i[b-g0at0r13fs] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #79C58F;
    box-shadow: 0 0 0 4px rgba(121, 197, 143, 0.15);
}

.proof-snapshot dl[b-g0at0r13fs] {
    display: grid;
    gap: 0;
    margin: 0;
}

.proof-snapshot dl > div[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 1rem;
    padding: 1.35rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-snapshot dt[b-g0at0r13fs],
.proof-snapshot small[b-g0at0r13fs],
.proof-snapshot > p[b-g0at0r13fs] {
    color: rgba(232, 237, 237, 0.63);
}

.proof-snapshot dt[b-g0at0r13fs] {
    font-size: 0.85rem;
}

.proof-snapshot dd[b-g0at0r13fs] {
    grid-row: span 2;
    margin: 0;
    font-size: 1.28rem;
    font-weight: 600;
}

.proof-snapshot small[b-g0at0r13fs] {
    font-size: 0.72rem;
}

.proof-snapshot > p[b-g0at0r13fs] {
    margin: 1.25rem 0.35rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.55;
}

.proof-principles[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--proof-line);
    background: rgba(255, 255, 255, 0.72);
}

.proof-principles > div[b-g0at0r13fs] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.8rem 4vw;
    border-right: 1px solid var(--proof-line);
}

.proof-principles > div:last-child[b-g0at0r13fs] {
    border-right: 0;
}

.proof-principles b[b-g0at0r13fs] {
    font-size: 1.03rem;
    font-weight: 600;
}

.proof-principles span[b-g0at0r13fs] {
    color: var(--proof-muted);
    font-size: 0.82rem;
}

.proof-section[b-g0at0r13fs],
.proof-controls-section[b-g0at0r13fs],
.proof-restore-section[b-g0at0r13fs],
.proof-limits-section[b-g0at0r13fs],
.proof-final-cta[b-g0at0r13fs] {
    padding: clamp(5rem, 9vw, 8rem) 7vw;
}

.proof-section-heading[b-g0at0r13fs] {
    max-width: 820px;
}

.proof-section-heading h2[b-g0at0r13fs],
.proof-restore-section h2[b-g0at0r13fs],
.proof-final-cta h2[b-g0at0r13fs] {
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}

.proof-section-heading > p:last-child[b-g0at0r13fs],
.proof-restore-section > div:first-child > p:last-child[b-g0at0r13fs],
.proof-final-cta > p:not(.proof-eyebrow)[b-g0at0r13fs] {
    margin: 1.5rem 0 0;
    color: var(--proof-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.proof-release-chain[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 4rem 0 0;
    padding: 0;
    list-style: none;
}

.proof-release-chain li[b-g0at0r13fs] {
    min-height: 250px;
    padding: 1.5rem;
    border-top: 1px solid var(--proof-ink);
    border-right: 1px solid var(--proof-line);
}

.proof-release-chain li:last-child[b-g0at0r13fs] {
    border-right: 0;
}

.proof-release-chain li:nth-child(4n)[b-g0at0r13fs] {
    border-right: 0;
}

.proof-release-chain li > span[b-g0at0r13fs],
.proof-control-grid article > span[b-g0at0r13fs] {
    color: var(--proof-rust);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase;
}

.proof-release-chain b[b-g0at0r13fs] {
    display: block;
    margin-top: 2.6rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.proof-release-chain p[b-g0at0r13fs],
.proof-control-grid p[b-g0at0r13fs] {
    color: var(--proof-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.proof-controls-section[b-g0at0r13fs] {
    background: var(--mud-palette-background);
}

.proof-control-grid[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3.5rem;
    background: var(--proof-line);
    border: 1px solid var(--proof-line);
}

.proof-control-grid article[b-g0at0r13fs] {
    min-height: 315px;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--proof-paper);
}

.proof-control-grid h3[b-g0at0r13fs] {
    max-width: 560px;
    margin: 1.2rem 0 0;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.12;
}

.proof-control-grid p[b-g0at0r13fs] {
    max-width: 650px;
    margin: 1.4rem 0 0;
}

.proof-control-grid small[b-g0at0r13fs] {
    display: block;
    margin-top: 1.6rem;
    color: var(--proof-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.proof-restore-section[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 2rem 6vw;
    align-items: center;
    background: var(--itrela-rail-base);
    color: var(--itrela-chalk);
}

.proof-restore-section .proof-eyebrow[b-g0at0r13fs] {
    color: var(--itrela-rail-copper);
}

.proof-restore-section > div:first-child > p:last-child[b-g0at0r13fs] {
    color: rgba(232, 237, 237, 0.68);
}

.proof-restore-flow[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.65rem;
    align-items: center;
}

.proof-restore-flow span[b-g0at0r13fs] {
    display: grid;
    min-height: 105px;
    place-items: center;
    padding: 1rem;
    border: 1px solid rgba(232, 237, 237, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    word-spacing: var(--itrela-label-word-spacing);
    text-align: center;
    text-transform: uppercase;
}

.proof-restore-flow i[b-g0at0r13fs] {
    color: var(--itrela-rail-copper);
    font-style: normal;
}

.proof-caveat[b-g0at0r13fs] {
    grid-column: 1 / -1;
    margin: 1.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(232, 237, 237, 0.12);
    color: rgba(232, 237, 237, 0.58);
    font-size: 0.79rem;
    line-height: 1.6;
}

.proof-limits-section[b-g0at0r13fs] {
    background: var(--proof-paper);
}

.proof-limits-grid[b-g0at0r13fs] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.proof-limits-grid > div[b-g0at0r13fs] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 185px;
    padding: 1.6rem;
    border: 1px solid var(--proof-line);
    border-radius: 16px;
}

.proof-limits-grid b[b-g0at0r13fs] {
    font-size: 1.15rem;
    font-weight: 600;
}

.proof-limits-grid span[b-g0at0r13fs] {
    color: var(--proof-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.proof-final-cta[b-g0at0r13fs] {
    text-align: center;
}

.proof-final-cta > p:not(.proof-eyebrow)[b-g0at0r13fs] {
    max-width: 720px;
    margin-inline: auto;
}

.proof-final-cta .proof-button[b-g0at0r13fs] {
    margin-top: 2rem;
}

.proof-unavailable[b-g0at0r13fs] {
    min-height: 72vh;
    padding: 8rem 7vw;
}

.proof-unavailable h1[b-g0at0r13fs] {
    max-width: 850px;
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.proof-unavailable > p[b-g0at0r13fs] {
    max-width: 650px;
    margin: 1.5rem 0 2rem;
    color: var(--proof-muted);
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .proof-hero[b-g0at0r13fs] {
        grid-template-columns: 1fr;
    }

    .proof-snapshot[b-g0at0r13fs] {
        max-width: 680px;
    }

    .proof-release-chain[b-g0at0r13fs] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-release-chain li:nth-child(2n)[b-g0at0r13fs] {
        border-right: 0;
    }

    .proof-release-chain li:nth-child(4n)[b-g0at0r13fs] {
        border-right: 0;
    }

    .proof-release-chain li:last-child[b-g0at0r13fs] {
        grid-column: 1 / -1;
        min-height: 180px;
    }

    .proof-restore-section[b-g0at0r13fs] {
        grid-template-columns: 1fr;
    }

    .proof-limits-grid[b-g0at0r13fs] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .proof-hero[b-g0at0r13fs],
    .proof-section[b-g0at0r13fs],
    .proof-controls-section[b-g0at0r13fs],
    .proof-restore-section[b-g0at0r13fs],
    .proof-limits-section[b-g0at0r13fs],
    .proof-final-cta[b-g0at0r13fs],
    .proof-unavailable[b-g0at0r13fs] {
        padding-inline: 1.25rem;
    }

    .proof-hero[b-g0at0r13fs] {
        min-height: auto;
        padding-block: 5rem;
    }

    .proof-hero h1[b-g0at0r13fs] {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .proof-principles[b-g0at0r13fs],
    .proof-control-grid[b-g0at0r13fs],
    .proof-limits-grid[b-g0at0r13fs] {
        grid-template-columns: 1fr;
    }

    .proof-principles > div[b-g0at0r13fs] {
        padding: 1.4rem 1.25rem;
        border-right: 0;
        border-bottom: 1px solid var(--proof-line);
    }

    .proof-principles > div:last-child[b-g0at0r13fs] {
        border-bottom: 0;
    }

    .proof-release-chain[b-g0at0r13fs] {
        grid-template-columns: 1fr;
    }

    .proof-release-chain li[b-g0at0r13fs],
    .proof-release-chain li:nth-child(2n)[b-g0at0r13fs],
    .proof-release-chain li:last-child[b-g0at0r13fs] {
        grid-column: auto;
        min-height: auto;
        border-right: 0;
    }

    .proof-release-chain b[b-g0at0r13fs] {
        margin-top: 1.25rem;
    }

    .proof-restore-flow[b-g0at0r13fs] {
        grid-template-columns: 1fr;
    }

    .proof-restore-flow span[b-g0at0r13fs] {
        min-height: 74px;
    }

    .proof-restore-flow i[b-g0at0r13fs] {
        transform: rotate(90deg);
        text-align: center;
    }
}
/* /Components/Pages/Reports/ArAging.razor.rz.scp.css */
.ar-aging-report-page[b-vncy6nhpbw] {
    min-width: 0;
}

.ar-aging-report-page .ar-aging-section-heading[b-vncy6nhpbw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.ar-aging-report-page[b-vncy6nhpbw]  .ar-aging-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

.ar-aging-report-page .ar-aging-table[b-vncy6nhpbw] {
    --itrela-table-min: 680px;
}

@media (max-width: 480px) {
    .ar-aging-report-page .ar-aging-section-heading[b-vncy6nhpbw] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Reports/Hours.razor.rz.scp.css */
.hours-report-page[b-satls70vcn] {
    min-width: 0;
}

.hours-report-page .hours-section-heading[b-satls70vcn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.hours-report-page[b-satls70vcn]  .hours-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

.hours-report-page .hours-table[b-satls70vcn] {
    --itrela-table-min: 680px;
}

@media (max-width: 480px) {
    .hours-report-page .hours-section-heading[b-satls70vcn] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Reports/Index.razor.rz.scp.css */
.reports-page[b-xu9ufxhopo],
.reports-page .reports-page-content[b-xu9ufxhopo] {
    min-width: 0;
}

.reports-page .reports-page-content[b-xu9ufxhopo] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

.reports-page .reports-grid[b-xu9ufxhopo] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
}

.reports-page .reports-grid-item[b-xu9ufxhopo] {
    min-width: 0;
    height: 100%;
}

.reports-page .reports-freshness[b-xu9ufxhopo] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    text-align: center;
}

.reports-page .reports-truth-note[b-xu9ufxhopo] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-align: center;
}

@media (max-width: 1050px) {
    .reports-page .reports-grid[b-xu9ufxhopo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .reports-page .reports-grid[b-xu9ufxhopo] {
        grid-template-columns: minmax(0, 1fr);
    }

    .reports-page .reports-truth-note[b-xu9ufxhopo] {
        align-items: flex-start;
        text-align: left;
    }

    .reports-page .reports-freshness[b-xu9ufxhopo] {
        text-align: left;
    }
}
/* /Components/Pages/Reports/Migration.razor.rz.scp.css */
.migration-report-page[b-n1dmzz2fe8] {
    min-width: 0;
}

.migration-generated[b-n1dmzz2fe8] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    margin: 0;
}

.migration-section-heading[b-n1dmzz2fe8],
.migration-actions[b-n1dmzz2fe8],
.migration-preview-summary[b-n1dmzz2fe8] {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.migration-section-heading[b-n1dmzz2fe8] {
    margin-bottom: 14px;
}

.migration-actions[b-n1dmzz2fe8] {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.migration-preview-awaiting[b-n1dmzz2fe8] {
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    padding: 18px;
}

.migration-preview-summary[b-n1dmzz2fe8] {
    background: var(--mud-palette-background-gray);
    border-radius: var(--itrela-radius-control);
    margin-bottom: 12px;
    padding: 12px 14px;
}

.migration-preview-summary span[b-n1dmzz2fe8] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.migration-run-notices[b-n1dmzz2fe8] {
    margin-bottom: 12px;
}

.migration-warning-list[b-n1dmzz2fe8] {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 720px) {
    .migration-section-heading[b-n1dmzz2fe8],
    .migration-preview-summary[b-n1dmzz2fe8] {
        align-items: flex-start;
        flex-direction: column;
    }

    .migration-actions[b-n1dmzz2fe8] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Reports/MigrationReportPrintDoc.razor.rz.scp.css */
.migration-print[b-s7g97h75wd] {
    color: #111827;
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

.migration-print header[b-s7g97h75wd] {
    border-bottom: 2px solid var(--print-accent, var(--itrela-brand-document-accent));
    margin-bottom: 22px;
    padding-bottom: 12px;
}

.migration-print-brand-row[b-s7g97h75wd] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    margin-bottom: var(--itrela-space-4);
}

.migration-print-logo[b-s7g97h75wd] {
    display: block;
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.migration-print-company[b-s7g97h75wd] {
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.migration-print-legal[b-s7g97h75wd] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.migration-print-meta[b-s7g97h75wd] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.migration-print-link[b-s7g97h75wd] {
    color: var(--print-accent, var(--itrela-brand-document-accent));
    text-decoration: none;
}

.migration-print-accent-edge[b-s7g97h75wd] {
    width: 48px;
    height: 3px;
    margin: var(--itrela-space-8) 0 var(--itrela-space-8);
    background: var(--print-accent, var(--itrela-brand-document-accent));
}

.migration-print h1[b-s7g97h75wd] {
    font-size: 20pt;
    margin: 0 0 6px;
}

.migration-print h2[b-s7g97h75wd] {
    font-size: 13pt;
    margin: 24px 0 8px;
}

.migration-print p[b-s7g97h75wd] {
    margin: 4px 0;
}

.migration-print table[b-s7g97h75wd] {
    border-collapse: collapse;
    width: 100%;
}

.migration-print th[b-s7g97h75wd],
.migration-print td[b-s7g97h75wd] {
    border-bottom: 1px solid #d1d5db;
    padding: 5px;
    text-align: left;
    vertical-align: top;
}

.migration-print th[b-s7g97h75wd] {
    border-bottom-color: #111827;
    font-size: 8pt;
    text-transform: uppercase;
}

.migration-print .num[b-s7g97h75wd] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.migration-print .total td[b-s7g97h75wd] {
    border-top: 2px solid #111827;
    font-weight: 700;
}

.migration-print-note[b-s7g97h75wd] {
    color: #4b5563;
    font-size: 8.5pt;
}
/* /Components/Pages/Reports/ReportHubCard.razor.rz.scp.css */
.report-hub-card[b-m9tjxu82cu] {
    height: 100%;
    min-height: 286px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 17px 18px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
}

.report-card-heading[b-m9tjxu82cu] {
    display: contents;
}

.report-system-term[b-m9tjxu82cu] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    line-height: 1.2;
}

.report-question[b-m9tjxu82cu] {
    margin: 0;
    font-size: var(--itrela-text-16);
    line-height: 1.3;
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
}

.report-question a[b-m9tjxu82cu] {
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.report-question a:hover[b-m9tjxu82cu] {
    color: var(--mud-palette-primary);
}

.report-question a:focus-visible[b-m9tjxu82cu],
.report-open:focus-visible[b-m9tjxu82cu],
.report-secondary:focus-visible[b-m9tjxu82cu] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 3px;
    border-radius: var(--itrela-radius-small);
}

.report-descriptor[b-m9tjxu82cu] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.report-evidence[b-m9tjxu82cu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 35%);
}

.report-period[b-m9tjxu82cu] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.report-statistic[b-m9tjxu82cu] {
    margin: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.report-decision[b-m9tjxu82cu] {
    flex: 1;
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.report-actions[b-m9tjxu82cu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: auto;
    padding-top: 4px;
}

.report-open[b-m9tjxu82cu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.report-secondary[b-m9tjxu82cu] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    text-decoration: none;
}

@media (max-width: 640px) {
    .report-hub-card[b-m9tjxu82cu] {
        min-height: 0;
    }

}
/* /Components/Pages/Reports/ReportHubSkeleton.razor.rz.scp.css */
.report-hub-skeleton[b-brkm6vcl2e] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
}

@media (max-width: 1050px) {
    .report-hub-skeleton[b-brkm6vcl2e] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .report-hub-skeleton[b-brkm6vcl2e] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Reports/ReportPageSkeleton.razor.rz.scp.css */
.report-page-skeleton[b-yos35gjr27] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

/* One card's outline split into cells by hairline gaps, like the figure row
   it stands in for; two to a row on a narrow screen. */
.report-page-skeleton-stats[b-yos35gjr27] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: var(--itrela-radius-surface);
}

.report-page-skeleton-stats[b-yos35gjr27]  .mud-skeleton {
    border-radius: 0;
}

@media (max-width: 599.98px) {
    .report-page-skeleton-stats[b-yos35gjr27] {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Reports/Revenue.razor.rz.scp.css */
.revenue-report-page[b-4xw3rk7t97] {
    min-width: 0;
}

.revenue-report-page .revenue-section-heading[b-4xw3rk7t97] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.revenue-report-page[b-4xw3rk7t97]  .revenue-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

.revenue-report-page .revenue-table[b-4xw3rk7t97] {
    --itrela-table-min: 680px;
}

@media (max-width: 480px) {
    .revenue-report-page .revenue-section-heading[b-4xw3rk7t97] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Reports/SlaAttainment.razor.rz.scp.css */
.sla-report-page[b-ah74rwa9sb] {
    min-width: 0;
}

.sla-report-page .sla-section-heading[b-ah74rwa9sb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.sla-report-page[b-ah74rwa9sb]  .sla-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

.sla-report-page .sla-client-table[b-ah74rwa9sb] {
    --itrela-table-min: 680px;
}

.sla-report-page .sla-week-table[b-ah74rwa9sb] {
    --itrela-table-min: 760px;
}

/* The by-week head: "First reply" and "Resolution" each span their five
   short columns, and a hairline starts the second group. */
.sla-report-page .sla-week-table .sla-week-group[b-ah74rwa9sb] {
    text-align: center;
}

.sla-report-page .sla-week-table .sla-week-group + .sla-week-group[b-ah74rwa9sb],
.sla-report-page .sla-week-table .sla-week-group-start[b-ah74rwa9sb] {
    border-left: 1px solid var(--itrela-line);
}

.sla-report-page .sla-miss-copy[b-ah74rwa9sb] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.sla-report-page .sla-breach-count[b-ah74rwa9sb] {
    display: inline-flex;
    min-width: 2rem;
    justify-content: center;
    padding: 3px 7px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 90%);
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.sla-report-page .sla-breach-count--attention[b-ah74rwa9sb] {
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 88%);
    color: var(--itrela-status-warning);
}

@media (max-width: 480px) {
    .sla-report-page .sla-section-heading[b-ah74rwa9sb] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Reports/TicketActivity.razor.rz.scp.css */
.ticket-activity-report-page[b-dm35rq63ot] {
    min-width: 0;
}

.ticket-activity-report-page .ticket-activity-section-heading[b-dm35rq63ot] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.ticket-activity-report-page[b-dm35rq63ot]  .ticket-activity-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

@media (max-width: 480px) {
    .ticket-activity-report-page .ticket-activity-section-heading[b-dm35rq63ot] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Reports/TimeTruth.razor.rz.scp.css */
.time-truth-report-page[b-20bo35ti0y] {
    min-width: 0;
}

.time-truth-report-page .time-truth-month-nav[b-20bo35ti0y] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.time-truth-report-page .time-truth-month-nav[b-20bo35ti0y]  .time-truth-month-label {
    min-width: 8.5rem;
    text-align: center;
}

.time-truth-report-page .time-truth-breakdown[b-20bo35ti0y],
.time-truth-report-page .time-truth-privacy[b-20bo35ti0y] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.5;
}

.time-truth-report-page .time-truth-section-heading[b-20bo35ti0y] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.time-truth-report-page[b-20bo35ti0y]  .time-truth-export-chip {
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

/* Techs beside the two ticket tables only while both fit whole; when they
   cannot, the cards stack instead of clipping a column. */
.time-truth-report-page .time-truth-detail-grid[b-20bo35ti0y] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 640px), 1fr));
    gap: var(--itrela-card-gap);
    align-items: start;
    min-width: 0;
}

.time-truth-report-page .time-truth-detail-right[b-20bo35ti0y] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.time-truth-report-page .time-truth-tech-name[b-20bo35ti0y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.time-truth-report-page .time-truth-client-table[b-20bo35ti0y] {
    --itrela-table-min: 720px;
}

.time-truth-report-page .time-truth-tech-table[b-20bo35ti0y] {
    --itrela-table-min: 460px;
}

.time-truth-report-page .time-truth-ticket-table[b-20bo35ti0y] {
    --itrela-table-min: 560px;
}

@media (max-width: 600px) {
    .time-truth-report-page .time-truth-section-heading[b-20bo35ti0y] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/Sales/AgreementEditor.razor.rz.scp.css */
/* ── Composed head: the back row stacked over the PageHeader ──────────
   The shell pins the whole band and holds the back row to the way back's
   one slot above the title; this wrapper only stacks the rows. No padding
   of its own, so the title starts where every other record page's does. */

.agreement-chrome-head[b-2pxgccmwi5] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* ── Back row (detail idiom) ──────────────────────────────────────────
   Mirrors the Billing invoice detail's .invoice-breadcrumb. */

.agreement-breadcrumb[b-2pxgccmwi5] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* The Effective date + Renews on row. `.agreement-dates-row` is a plain div
   rendered by this page, so it carries the isolation attribute; the Mud
   pickers inside are reached through ::deep (see UI_STYLE_GUIDE.md). */

.agreement-dates-row[b-2pxgccmwi5] {
    display: flex;
    gap: 8px;
}

.agreement-dates-row[b-2pxgccmwi5]  .mud-picker {
    flex: 1;
    min-width: 0;
}

/* Keep the resting label clear of the calendar adornment: MudBlazor's own
   .mud-input-label already ellipsizes at max-width:100%, but 100% runs under
   the end-adornment icon — reserve that slot. MudBlazor's shrink rules carry
   higher specificity, so the floated label keeps its full width. */
.agreement-dates-row[b-2pxgccmwi5]  .mud-input-label {
    max-width: calc(100% - 56px);
}

.agreement-title-row[b-2pxgccmwi5] {
    display: flex;
}

.agreement-title-row[b-2pxgccmwi5]  .agreement-title-field {
    flex: 1;
    min-width: 0;
}

.agreement-body-preview[b-2pxgccmwi5] {
    padding: var(--itrela-card-pad);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-gray);
}
/* /Components/Pages/Sales/AgreementsList.razor.rz.scp.css */
/* Agreements list — WorkbenchShell owns the frame, band spacing and
   scrolling geometry. The three tabs stay in the body: the tab bar reads as
   a pinned band, each panel's command bar pads from the workbench row token,
   and the grids run flush (no card, no border) per the workbench no-card
   rule. Classes on Mud components are reached through ::deep from the page's
   own `.agreements-page` wrapper — see UI_STYLE_GUIDE.md,
   "MudBlazor + CSS isolation — THE RULE". */

.agreements-header[b-qg3tcu1d3p] {
    width: 100%;
    min-width: 0;
}

.agreements-header[b-qg3tcu1d3p]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

/* Header actions: buttons never break their own label across lines — when
   the header is squeezed (768) they wrap as whole buttons instead. */
.agreements-header[b-qg3tcu1d3p]  .agreements-header-actions .mud-button-root {
    white-space: nowrap;
}

.agreements-page[b-qg3tcu1d3p] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--mud-palette-surface);
}

.agreements-page[b-qg3tcu1d3p]  .agreements-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

/* The tab bar is the panel band: quiet raise, hairline under, band padding.
   It sits outside the scrolling panels (flex column above), so it stays put
   while the active panel scrolls. */
.agreements-page[b-qg3tcu1d3p]  .mud-tabs-tabbar {
    width: 100%;
    min-height: 50px;
    padding-inline: var(--itrela-workbench-band-pad);
    border-bottom: 1px solid var(--itrela-workbench-line);
    background: var(--itrela-workbench-quiet);
}

.agreements-page[b-qg3tcu1d3p]  .mud-tabs-tabbar .mud-tab {
    min-height: 50px;
    padding-inline: 14px;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.agreements-page[b-qg3tcu1d3p]  .mud-tabs-panels {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.agreements-page[b-qg3tcu1d3p]  .mud-tab-panel {
    padding: 0;
}

.agreements-page[b-qg3tcu1d3p]  .command-bar {
    flex-wrap: wrap;
    min-height: 52px;
    padding: 12px var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line);
    background: var(--mud-palette-surface);
}

.agreements-page[b-qg3tcu1d3p]  .command-bar .command-bar-items {
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.agreements-page[b-qg3tcu1d3p]  .agreements-client-filter {
    width: min(280px, 100%);
}

/* Keep the shared table treatment while removing its card-shaped wrapper.
   The workbench frame is the table's only outer surface. Head height, row
   floor and cell inset come from the global .data-grid-container standard
   (app.css) — no page-local copy. */
.agreements-grid[b-qg3tcu1d3p] {
    border: 0;
    border-radius: 0;
}

.agreements-page[b-qg3tcu1d3p]  .agreements-grid .mud-table-container {
    overflow-x: auto;
}

.agreements-page[b-qg3tcu1d3p]  .agreement-name-primary {
    font-weight: var(--itrela-weight-strong);
}

.agreements-page[b-qg3tcu1d3p]  .agreement-name-secondary {
    font-weight: var(--itrela-weight-medium);
}

.agreements-page[b-qg3tcu1d3p]  .agreements-actions-col {
    width: 160px;
}

.agreements-page[b-qg3tcu1d3p]  .agreements-bundles-actions-col {
    width: 220px;
}

.agreements-page[b-qg3tcu1d3p]  .agreements-actions-cell {
    text-align: right;
    white-space: nowrap;
}

.agreements-footer-host[b-qg3tcu1d3p]  .itrela-workbench-band {
    min-height: var(--itrela-workbench-foot-h);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    background: var(--itrela-workbench-quiet);
}

.agreements-footer-spacer[b-qg3tcu1d3p] {
    flex: 1 1 auto;
}

/* Grid dates ("Jan 1, 2026") read as one unit; the title column absorbs
   the squeeze instead. */
.agreements-page[b-qg3tcu1d3p]  .agreement-date {
    white-space: nowrap;
}

/* Titles clamp to two lines so narrow grids keep a clear row rhythm. */
.agreement-title[b-qg3tcu1d3p] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 700px) {
    .agreements-page[b-qg3tcu1d3p]  .command-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .agreements-page[b-qg3tcu1d3p]  .agreements-client-filter {
        width: 100%;
    }
}

/* Phone rows (app.css): the client moves to the composed second line. */
@media (max-width: 600px) {
    .agreements-page[b-qg3tcu1d3p]  .itrela-phone-title .agreement-client {
        display: none;
    }
}
/* /Components/Pages/Sales/AgreementStatusChipBand.razor.rz.scp.css */
.sales-chip-band[b-p4pvni7szo] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
/* /Components/Pages/Sales/Dialogs/AgreementBundleDialog.razor.rz.scp.css */
.agreement-bundle-dialog[b-1lmf4mfn0w] {
    display: grid;
    gap: 16px;
}

.agreement-bundle-dialog__add[b-1lmf4mfn0w] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agreement-bundle-dialog__add[b-1lmf4mfn0w]  .bundle-template-picker {
    flex: 1 1 auto;
    min-width: 0;
}

.agreement-bundle-dialog__documents[b-1lmf4mfn0w] {
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 45%);
}

.agreement-bundle-dialog__document[b-1lmf4mfn0w] {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
}

.agreement-bundle-dialog__document[b-1lmf4mfn0w]  .mud-typography {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 560px) {
    .agreement-bundle-dialog__add[b-1lmf4mfn0w] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/Sales/Dialogs/ConvertQuoteInvoiceDialog.razor.rz.scp.css */
.convert-quote-dialog[b-xxkdag61x9] {
    display: grid;
    gap: 12px;
}

.convert-quote-dialog[b-xxkdag61x9]  .convert-quote-dialog__amount {
    width: min(220px, 100%);
}
/* /Components/Pages/Sales/Dialogs/SendAgreementBundleDialog.razor.rz.scp.css */
.send-bundle-dialog[b-rp6qib0il7] {
    display: grid;
    gap: 16px;
}

.send-bundle-dialog__dates[b-rp6qib0il7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 560px) {
    .send-bundle-dialog__dates[b-rp6qib0il7] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Sales/QuoteBuilder.razor.rz.scp.css */
/* ── Composed head: the back row stacked over the PageHeader ──────────
   The shell pins the whole band and holds the back row to the way back's
   one slot above the title; this wrapper only stacks the rows. No padding
   of its own, so the title starts where every other record page's does. */

.quote-chrome-head[b-bwvj3o2oo0] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* ── Back row (detail idiom) ──────────────────────────────────────────
   Mirrors the Billing invoice detail's .invoice-breadcrumb. `.quote-breadcrumb`
   is a plain div rendered by this page, so it carries the isolation
   attribute; the Mud pieces inside are reached through ::deep. */

.quote-breadcrumb[b-bwvj3o2oo0] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quote-breadcrumb-sep[b-bwvj3o2oo0] {
    opacity: 0.4;
}

.quote-breadcrumb-id[b-bwvj3o2oo0] {
    font-weight: var(--itrela-weight-strong);
    opacity: 0.7;
}

/* The Title + "Valid until" headline row. `.quote-headline-row` is a plain
   div rendered by this page, so it carries the isolation attribute; the Mud
   inputs inside are reached through ::deep (see UI_STYLE_GUIDE.md). */

.quote-headline-row[b-bwvj3o2oo0] {
    display: flex;
    gap: 8px;
}

.quote-headline-row[b-bwvj3o2oo0]  .quote-title-field {
    flex: 1;
    min-width: 0;
}

.quote-headline-row[b-bwvj3o2oo0]  .quote-valid-until {
    flex: 0 0 180px;
}

.quote-builder-editor[b-bwvj3o2oo0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 12px;
}

.quote-builder-lock-note[b-bwvj3o2oo0] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 45%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.quote-builder-lock-note span[b-bwvj3o2oo0] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

.quote-builder-lock-note strong[b-bwvj3o2oo0] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

/* Phones: stack the pair so the date value never clips mid-glyph. */
@media (max-width: 600px) {
    .quote-headline-row[b-bwvj3o2oo0] {
        flex-direction: column;
    }

    .quote-headline-row[b-bwvj3o2oo0]  .quote-valid-until {
        flex: 1 1 auto;
    }

    .quote-builder-lock-note[b-bwvj3o2oo0] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Sales/QuoteBuilderConversionActions.razor.rz.scp.css */
.quote-conversion[b-patizz47ev] {
    display: grid;
    gap: 12px;
}

.quote-conversion-actions[b-patizz47ev] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.quote-contract-action[b-patizz47ev] {
    display: grid;
    gap: 4px;
}

.quote-contract-action span[b-patizz47ev],
.quote-billing-hidden[b-patizz47ev] {
    max-width: 430px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.quote-billing-hidden[b-patizz47ev] {
    align-self: center;
}

@media (max-width: 600px) {
    .quote-conversion-actions[b-patizz47ev] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Sales/QuoteBuilderHeaderActions.razor.rz.scp.css */
.quote-builder-actions[b-n8upc0yblv] {
    min-width: 0;
}

.quote-builder-actions__overflow[b-n8upc0yblv] {
    display: flex;
    align-items: center;
}
/* /Components/Pages/Sales/QuoteBuilderTotals.razor.rz.scp.css */
.quote-totals[b-gc4a7k3ezu] {
    display: grid;
    gap: 9px;
}

.quote-totals__eyebrow[b-gc4a7k3ezu] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quote-totals__row[b-gc4a7k3ezu] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.quote-totals__row strong[b-gc4a7k3ezu] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.quote-totals__row--total[b-gc4a7k3ezu] {
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.quote-totals__row--total strong[b-gc4a7k3ezu] {
    font-size: var(--itrela-text-16);
}

.quote-totals__monthly[b-gc4a7k3ezu] {
    display: grid;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.quote-totals__monthly p[b-gc4a7k3ezu] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}
/* /Components/Pages/Sales/QuoteCashBranch.razor.rz.scp.css */
.quote-cash-branch[b-3ibra84nbx] {
    position: relative;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
    background: var(--mud-palette-surface);
}

.quote-cash-branch[b-3ibra84nbx]::before {
    position: absolute;
    top: -19px;
    left: 50%;
    width: 1px;
    height: 18px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.quote-cash-branch__heading[b-3ibra84nbx] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    justify-content: space-between;
}

.quote-cash-branch__label[b-3ibra84nbx] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.quote-cash-branch__status[b-3ibra84nbx] {
    flex: 0 0 auto;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 2px 7px;
    border: 1px solid currentColor;
    border-radius: var(--itrela-radius-pill);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.quote-cash-branch__detail[b-3ibra84nbx] {
    margin: 7px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.quote-cash-branch__paperwork[b-3ibra84nbx] {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 9px 0 0;
    border-top: 1px solid var(--mud-palette-lines-default);
    list-style: none;
}

.quote-cash-branch__paperwork li[b-3ibra84nbx] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
}

.quote-cash-branch__paperwork a[b-3ibra84nbx],
.quote-cash-branch__paperwork span[b-3ibra84nbx] {
    min-width: 0;
    overflow: hidden;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-cash-branch__paperwork a[b-3ibra84nbx] {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.quote-cash-branch__paperwork a:hover[b-3ibra84nbx] {
    text-decoration: underline;
}

.quote-cash-branch__paperwork small[b-3ibra84nbx] {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quote-cash-tone--future[b-3ibra84nbx] {
    color: var(--mud-palette-text-secondary);
}

.quote-cash-tone--skipped[b-3ibra84nbx] {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 35%);
}

.quote-cash-tone--current[b-3ibra84nbx] {
    color: var(--mud-palette-primary);
    border-color: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 48%);
}

.quote-cash-tone--complete[b-3ibra84nbx] {
    color: var(--mud-palette-success);
    border-color: color-mix(in oklab, var(--mud-palette-success), var(--mud-palette-lines-default) 54%);
}

.quote-cash-tone--attention[b-3ibra84nbx] {
    color: var(--mud-palette-warning);
    border-color: color-mix(in oklab, var(--mud-palette-warning), var(--mud-palette-lines-default) 45%);
}

@media (max-width: 760px) {
    .quote-cash-branch[b-3ibra84nbx]::before {
        top: -13px;
        left: 20px;
        height: 12px;
    }
}
/* /Components/Pages/Sales/QuoteCashMap.razor.rz.scp.css */
.quote-cash-map[b-zqhj93n877] {
    padding: 16px 18px;
    overflow: hidden;
}

.quote-cash-map__intro[b-zqhj93n877] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.quote-cash-map__eyebrow[b-zqhj93n877],
.quote-cash-map__records-title[b-zqhj93n877] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quote-cash-map__intro h2[b-zqhj93n877] {
    margin: 2px 0 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
}

.quote-cash-map__flow[b-zqhj93n877] {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.quote-cash-map__hub[b-zqhj93n877] {
    position: relative;
    display: grid;
    justify-self: center;
    width: min(100%, 340px);
    padding: 12px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
    background: var(--mud-palette-surface);
    text-align: left;
}

.quote-cash-map__hub[b-zqhj93n877]::after {
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 1px;
    height: 18px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.quote-cash-map__hub span[b-zqhj93n877] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quote-cash-map__hub strong[b-zqhj93n877] {
    margin-top: 2px;
    color: currentColor;
    font-size: var(--itrela-text-16);
}

.quote-cash-map__hub small[b-zqhj93n877] {
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.quote-cash-map__branches[b-zqhj93n877] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
}

.quote-cash-map__branches[b-zqhj93n877]::before {
    position: absolute;
    top: 0;
    right: 16.666%;
    left: 16.666%;
    height: 1px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.quote-cash-map__trail[b-zqhj93n877] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 44%);
}

.quote-cash-map__milestone[b-zqhj93n877] {
    position: relative;
    display: flex;
    gap: 7px;
    align-items: center;
    min-width: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quote-cash-map__milestone:not(:last-child)[b-zqhj93n877]::after {
    position: absolute;
    top: 50%;
    right: 9px;
    width: calc(100% - 24px);
    height: 1px;
    background: var(--mud-palette-lines-default);
    content: "";
    transform: translate(50%, -50%);
}

.quote-cash-map__milestone span[b-zqhj93n877] {
    z-index: 1;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--mud-palette-surface);
}

.quote-cash-map__milestone strong[b-zqhj93n877] {
    z-index: 1;
    overflow: hidden;
    padding-right: 4px;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 44%);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-cash-map__records[b-zqhj93n877] {
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.quote-cash-map__record-list[b-zqhj93n877] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.quote-cash-map__record-list a[b-zqhj93n877] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1px 8px;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.quote-cash-map__record-list a:hover[b-zqhj93n877] {
    border-color: var(--mud-palette-primary);
}

.quote-cash-map__record-list span[b-zqhj93n877] {
    grid-row: 1 / span 2;
    align-self: center;
    color: currentColor;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quote-cash-map__record-list strong[b-zqhj93n877] {
    overflow: hidden;
    font-size: var(--itrela-text-12);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-cash-map__record-list small[b-zqhj93n877] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quote-cash-tone--future[b-zqhj93n877] {
    color: var(--mud-palette-text-secondary);
}

.quote-cash-tone--skipped[b-zqhj93n877] {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 35%);
}

.quote-cash-tone--current[b-zqhj93n877] {
    color: var(--mud-palette-primary);
    border-color: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 48%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
}

.quote-cash-tone--complete[b-zqhj93n877] {
    color: var(--mud-palette-success);
    border-color: color-mix(in oklab, var(--mud-palette-success), var(--mud-palette-lines-default) 54%);
}

.quote-cash-tone--attention[b-zqhj93n877] {
    color: var(--mud-palette-warning);
    border-color: color-mix(in oklab, var(--mud-palette-warning), var(--mud-palette-lines-default) 45%);
}

@media (max-width: 760px) {
    .quote-cash-map[b-zqhj93n877] {
        padding: 15px;
    }

    .quote-cash-map__intro[b-zqhj93n877] {
        display: block;
    }

    .quote-cash-map__hub[b-zqhj93n877] {
        justify-self: stretch;
        text-align: left;
    }

    .quote-cash-map__hub[b-zqhj93n877]::after,
    .quote-cash-map__branches[b-zqhj93n877]::before {
        display: none;
    }

    .quote-cash-map__branches[b-zqhj93n877] {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 0;
        padding-left: 14px;
        border-left: 1px solid var(--mud-palette-lines-default);
    }

    .quote-cash-map__trail[b-zqhj93n877] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .quote-cash-map__milestone:not(:last-child)[b-zqhj93n877]::after {
        top: 13px;
        right: auto;
        left: 3px;
        width: 1px;
        height: 18px;
        transform: none;
    }

    .quote-cash-map__record-list[b-zqhj93n877] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Sales/QuotesList.razor.rz.scp.css */
/* Quotes list — WorkbenchShell owns the frame, band spacing and scrolling
   geometry (the AccountRegister/Books pattern). This file only connects the
   existing table to that chrome. Every class that sits on a MudBlazor child
   (MudTable, MudAutocomplete, MudTd) is reached through ::deep from one of
   the page's own wrapper elements — see UI_STYLE_GUIDE.md,
   "MudBlazor + CSS isolation — THE RULE". */

.quotes-header[b-59axi75k7m],
.quotes-filter-band[b-59axi75k7m] {
    width: 100%;
    min-width: 0;
}

.quotes-header[b-59axi75k7m]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

.quotes-filter-band[b-59axi75k7m] {
    flex-wrap: wrap;
}

.quotes-filter-band .command-bar-items[b-59axi75k7m] {
    flex-wrap: wrap;
    /* Lets the status switch scroll inside itself instead of widening the band. */
    min-width: 0;
    max-width: 100%;
}

.quotes-page[b-59axi75k7m] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--mud-palette-surface);
}

.quotes-table-frame[b-59axi75k7m] {
    flex: 1 1 auto;
    min-height: 0;
}

/* Keep the shared table treatment while removing its card-shaped wrapper.
   The workbench frame is the table's only outer surface. */
.quotes-grid[b-59axi75k7m] {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.quotes-grid[b-59axi75k7m]  .mud-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Head height, row floor and cell inset come from the global
   .data-grid-container standard (app.css) — no page-local copy. */

.quotes-page[b-59axi75k7m]  .quote-client-filter {
    width: min(280px, 100%);
}

/* Tablet band: floor the 7-column table so the report-table wrapper
   (class on the MudTable root) scrolls it with the fade affordance
   instead of truncating the SENT column at the frame edge. */
@media (min-width: 601px) and (max-width: 959.98px) {
    .quotes-page[b-59axi75k7m]  .quote-table.report-table {
        --itrela-table-min: 880px;
    }
}

.quotes-page[b-59axi75k7m]  .quote-table .mud-table-container {
    overflow-x: auto;
    overflow-y: hidden;
}

.quotes-page[b-59axi75k7m]  .quote-number,
.quotes-page[b-59axi75k7m]  .quote-title,
.quotes-page[b-59axi75k7m]  .quote-total,
.quotes-page[b-59axi75k7m]  .quote-monthly,
.quotes-page[b-59axi75k7m]  .quote-date {
    display: block;
}

.quotes-page[b-59axi75k7m]  .quote-status-subline {
    display: block;
    max-width: 24ch;
    margin-top: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.35;
}

.quotes-page[b-59axi75k7m]  .quote-status-subline--warning {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.quotes-page[b-59axi75k7m]  .quote-status-subline--clamped {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

/* First cell: the quote number is an ID — mono, 600, ink (never accent).
   The Total is a money value: 600 tabular ink. */
.quotes-page[b-59axi75k7m]  .quote-number,
.quotes-page[b-59axi75k7m]  .quote-total {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
}

.quotes-page[b-59axi75k7m]  .quote-title {
    max-width: 36ch;
    margin-top: 2px;
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quotes-page[b-59axi75k7m]  .quote-monthly,
.quotes-page[b-59axi75k7m]  .quote-date {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.quotes-page[b-59axi75k7m]  .quote-actions {
    width: 72px;
    text-align: right;
}

/* The pager band is the workbench's pinned foot without rebuilding paging
   (the AccountRegister pattern). */
.quotes-footer-host[b-59axi75k7m]  .itrela-workbench-band {
    min-height: var(--itrela-workbench-foot-h);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    border-bottom: 0;
    background: var(--itrela-workbench-quiet);
}

.quotes-footer-host[b-59axi75k7m]  .mud-table-pagination-toolbar {
    height: var(--itrela-workbench-foot-h);
    min-height: var(--itrela-workbench-foot-h);
    padding: 0;
}

.quotes-footer-spacer[b-59axi75k7m] {
    flex: 1 1 auto;
}

@media (max-width: 600px) {
    .quotes-filter-band[b-59axi75k7m] {
        align-items: stretch;
        flex-direction: column;
    }

    .quotes-page[b-59axi75k7m]  .quote-client-filter {
        width: 100%;
    }

    .quotes-page[b-59axi75k7m]  .quote-table .mud-table-container {
        overflow: visible;
    }

    /* Phone rows (app.css): the number, the chip and the total stay on the
       first line; the title, monthly amount and status note ride the quiet
       second line, so their table-cell copies stay off the phone. */
    .quotes-page[b-59axi75k7m]  .itrela-phone-rows :is(.quote-title, .quote-monthly, .quote-status-subline) {
        display: none;
    }
}
/* /Components/Pages/Sales/QuoteStatusChipBand.razor.rz.scp.css */
.sales-chip-band[b-hjjf8feqax] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
/* /Components/Pages/Sales/SalesQuoteLinesEditor.razor.rz.scp.css */
.quote-lines[b-rtio72pdo9] {
    container-type: inline-size;
    container-name: quote-lines;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
    background: var(--mud-palette-surface);
}

.quote-lines__header[b-rtio72pdo9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 14px;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
}

.quote-lines__header > div[b-rtio72pdo9] {
    display: flex;
    align-items: baseline;
    gap: 9px;
    min-width: 0;
}

.quote-lines__kind[b-rtio72pdo9] {
    padding: 2px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.quote-lines__header h3[b-rtio72pdo9] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.quote-lines__empty[b-rtio72pdo9] {
    margin: 0;
    padding: 13px 14px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.quote-lines__list[b-rtio72pdo9] {
    display: grid;
}

.quote-lines__row[b-rtio72pdo9] {
    display: grid;
    gap: 8px;
    padding: 11px 14px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.quote-lines__fields[b-rtio72pdo9] {
    display: grid;
    /* The price column holds the three-letter currency code beside the amount. */
    grid-template-columns: minmax(180px, 1fr) auto 88px 156px auto minmax(110px, auto) auto;
    gap: 10px;
    align-items: center;
}

.quote-lines[b-rtio72pdo9]  .quote-line-taxable {
    white-space: nowrap;
}

.quote-lines[b-rtio72pdo9]  .quote-line-amount {
    min-width: 110px;
    margin-left: auto;
    font-weight: var(--itrela-weight-strong);
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@container quote-lines (max-width: 1000px) {
    .quote-lines__fields[b-rtio72pdo9] {
        grid-template-columns: minmax(180px, 1fr) auto 88px 156px;
    }

    .quote-lines[b-rtio72pdo9]  .quote-line-taxable,
    .quote-lines[b-rtio72pdo9]  .quote-line-amount {
        justify-self: end;
    }
}

@container quote-lines (max-width: 650px) {
    .quote-lines__fields[b-rtio72pdo9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-lines[b-rtio72pdo9]  .quote-line-name,
    .quote-lines[b-rtio72pdo9]  .quote-line-kind {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .quote-lines[b-rtio72pdo9]  .quote-line-kind {
        justify-self: start;
    }

    .quote-lines[b-rtio72pdo9]  .quote-line-quantity,
    .quote-lines[b-rtio72pdo9]  .quote-line-price {
        width: 100%;
        min-width: 0;
    }

    .quote-lines[b-rtio72pdo9]  .quote-line-taxable,
    .quote-lines[b-rtio72pdo9]  .quote-line-amount {
        justify-self: start;
        margin-left: 0;
        text-align: left;
    }
}

@container quote-lines (max-width: 360px) {
    .quote-lines__fields[b-rtio72pdo9] {
        grid-template-columns: minmax(0, 1fr);
    }

}
/* /Components/Pages/Settings/Ai.razor.rz.scp.css */
/* Provider meta line: keep the "last checked" timestamp whole when the
   caption wraps at narrow widths (it was breaking mid-date). */
.ai-checked-at[b-maxqwmnwjn] {
    white-space: nowrap;
}

/* Usage table: below 600px the five columns were crushing into 3-line
   wraps and "Est. cost" was clipped off entirely. Keep natural column
   widths and scroll sideways inside the card instead; a right-edge fade
   hints that there is more table to the right. */
.ai-usage-tablewrap[b-maxqwmnwjn] {
    position: relative;
}

@media (max-width: 600px) {
    .ai-usage-scroll[b-maxqwmnwjn] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ai-usage-scroll[b-maxqwmnwjn]  table {
        min-width: 560px;
    }

    .ai-usage-tablewrap[b-maxqwmnwjn]::after {
        content: "";
        position: absolute;
        top: 1px;
        right: 1px;
        bottom: 1px;
        width: 28px;
        border-radius: 0 var(--itrela-radius-surface) var(--itrela-radius-surface) 0;
        background: linear-gradient(to right, transparent, var(--mud-palette-surface));
        pointer-events: none;
    }
}
/* /Components/Pages/Settings/Branding.razor.rz.scp.css */
.brand-studio-layout[b-u8ajcyz02w] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: var(--itrela-card-gap);
    align-items: start;
}

.brand-studio-controls[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.brand-studio-preview[b-u8ajcyz02w] {
    position: sticky;
    top: var(--itrela-space-16);
    min-width: 0;
}

.brand-section-head[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    margin-bottom: var(--itrela-space-16);
}

.brand-presets[b-u8ajcyz02w] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--itrela-space-8);
    margin-bottom: var(--itrela-space-16);
}

.brand-preset-btn[b-u8ajcyz02w] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-height: var(--itrela-button-min-height);
    padding: var(--itrela-space-4) var(--itrela-space-8);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--itrela-motion-fast) var(--itrela-ease),
        background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.brand-preset-btn:hover:not(:disabled)[b-u8ajcyz02w] {
    border-color: var(--mud-palette-primary);
}

.brand-preset-btn:focus-visible[b-u8ajcyz02w] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.brand-preset-btn[data-selected="true"][b-u8ajcyz02w] {
    border-color: var(--mud-palette-primary);
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
    font-weight: var(--itrela-weight-strong);
}

.brand-preset-swatch[b-u8ajcyz02w] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--swatch-color);
    border: 1px solid var(--itrela-line-strong);
}

.brand-preset-name[b-u8ajcyz02w] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-color-inputs[b-u8ajcyz02w] {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: var(--itrela-space-12);
    align-items: start;
}

.brand-color-picker[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.brand-color-picker input[b-u8ajcyz02w] {
    width: 78px;
    height: 44px;
    padding: var(--itrela-space-4);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    cursor: pointer;
}

.brand-contrast-note[b-u8ajcyz02w] {
    display: flex;
    align-items: flex-start;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-12);
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.brand-color-actions[b-u8ajcyz02w] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-16);
}

.brand-slots-stack[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-16);
}

.brand-options-list[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
}

.brand-option-row[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
}

.brand-option-help[b-u8ajcyz02w] {
    padding-left: var(--itrela-space-4);
}

.brand-sample-pdf-action[b-u8ajcyz02w] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    margin-top: var(--itrela-space-12);
}

@media (max-width: 1039.98px) {
    .brand-studio-layout[b-u8ajcyz02w] {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand-studio-preview[b-u8ajcyz02w] {
        position: static;
    }
}

@media (max-width: 599.98px) {
    .brand-presets[b-u8ajcyz02w] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Settings/BrandLivePreviewPanel.razor.rz.scp.css */
.brand-preview-intro[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    margin-bottom: var(--itrela-space-16);
}

.brand-preview-stack[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-16);
}

.brand-preview-block[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
}

.brand-preview-block-head[b-8rez39b723] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--itrela-space-8);
}

.brand-preview-label[b-8rez39b723] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.brand-preview-token[b-8rez39b723],
.brand-preview-note[b-8rez39b723] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.brand-preview-surface[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
    padding: var(--itrela-space-12);
    border: 1px solid var(--bp-border);
    border-radius: var(--itrela-radius-control);
    background: var(--bp-bg);
    color: var(--bp-ink);
}

.brand-preview-portal-head[b-8rez39b723] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--itrela-space-8);
    border-bottom: 1px solid var(--bp-border);
}

.brand-preview-brand[b-8rez39b723] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-width: 0;
}

.brand-preview-mark[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-small);
    background: var(--bp-accent);
    color: var(--bp-on-accent);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-logo-wrap[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
}

.brand-preview-logo-pill[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
    padding: var(--itrela-space-4);
    border-radius: var(--itrela-radius-small);
    background: var(--bp-pill-bg);
}

.brand-preview-logo[b-8rez39b723] {
    max-width: 112px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-preview-name[b-8rez39b723] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-context[b-8rez39b723] {
    color: var(--bp-muted);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.brand-preview-portal-body[b-8rez39b723] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
}

.brand-preview-chip[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
    min-height: var(--itrela-chip-height);
    padding: 0 var(--itrela-space-8);
    border-radius: var(--itrela-radius-pill);
    background: var(--bp-tint);
    color: var(--bp-tint-ink);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.brand-preview-cta[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--itrela-space-4) var(--itrela-space-12);
    border-radius: var(--itrela-radius-control);
    background: var(--bp-accent);
    color: var(--bp-on-accent);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-attribution[b-8rez39b723] {
    padding-top: var(--itrela-space-8);
    border-top: 1px solid var(--bp-border);
    color: var(--bp-muted);
    font-size: var(--itrela-text-12);
}

.brand-preview-rail[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-12);
    border: 1px solid var(--bp-rail-border);
    border-radius: var(--itrela-radius-control);
    background: var(--bp-rail-bg);
    color: var(--bp-rail-ink);
}

.brand-preview-rail-brand[b-8rez39b723] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding-bottom: var(--itrela-space-8);
    border-bottom: 1px solid var(--bp-rail-border);
}

.brand-preview-rail-mark[b-8rez39b723] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--itrela-radius-small);
    background: var(--bp-rail-accent);
    color: var(--bp-rail-accent-ink);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-rail-mark-img[b-8rez39b723] {
    width: 24px;
    height: 24px;
    border-radius: var(--itrela-radius-small);
    object-fit: contain;
}

.brand-preview-rail-name[b-8rez39b723] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-rail-nav[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
}

.brand-preview-rail-item[b-8rez39b723] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-4) var(--itrela-space-8);
    border-radius: var(--itrela-radius-small);
    color: var(--bp-rail-muted);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.brand-preview-rail-item--active[b-8rez39b723] {
    background: var(--bp-rail-active);
    color: var(--bp-rail-ink);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-rail-dot[b-8rez39b723] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bp-rail-accent);
    flex: 0 0 auto;
}

.brand-preview-docs-grid[b-8rez39b723] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-space-8);
}

.brand-preview-doc-card[b-8rez39b723] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 1px solid var(--bp-doc-border);
    border-radius: var(--itrela-radius-control);
    background: var(--bp-doc-bg);
    color: var(--bp-doc-ink);
}

.brand-preview-doc-eyebrow[b-8rez39b723] {
    color: var(--bp-doc-accent);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-doc-head[b-8rez39b723] {
    display: flex;
    align-items: center;
    min-height: 22px;
}

.brand-preview-doc-logo[b-8rez39b723] {
    max-width: 96px;
    max-height: 20px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-preview-doc-name[b-8rez39b723] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.brand-preview-doc-meta[b-8rez39b723] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bp-doc-muted);
    font-size: var(--itrela-text-12);
}

@media (max-width: 520px) {
    .brand-preview-docs-grid[b-8rez39b723] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Settings/BrandLogoSlotCard.razor.rz.scp.css */
.brand-slot[b-3zrzsav0ug] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    padding-top: var(--itrela-space-12);
    border-top: 1px solid var(--itrela-line);
}

.brand-slot:first-child[b-3zrzsav0ug] {
    padding-top: 0;
    border-top: none;
}

.brand-slot-copy[b-3zrzsav0ug] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
}

.brand-slot-body[b-3zrzsav0ug] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
}

.brand-slot-thumb[b-3zrzsav0ug] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    height: 56px;
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 1px solid var(--slot-border);
    border-radius: var(--itrela-radius-control);
    background: var(--slot-bg);
    overflow: hidden;
}

.brand-slot-thumb--square[b-3zrzsav0ug] {
    min-width: 56px;
    width: 56px;
    padding: var(--itrela-space-8);
}

.brand-slot-image[b-3zrzsav0ug] {
    max-width: 168px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-slot-image--square[b-3zrzsav0ug] {
    max-width: 38px;
    max-height: 38px;
}

.brand-slot-monogram[b-3zrzsav0ug] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--itrela-radius-control);
    background: var(--slot-accent);
    color: var(--slot-on-accent);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.brand-slot-empty[b-3zrzsav0ug] {
    color: var(--slot-muted);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.brand-slot-actions[b-3zrzsav0ug] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
}
/* /Components/Pages/Settings/BusinessHours.razor.rz.scp.css */
/* Inter-card spacing comes from this container gap, never card margins
   (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
.settings-cards[b-8aej8lk8gm] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

.holiday-table-scope[b-8aej8lk8gm]  .mud-table {
    border: none;
    box-shadow: none;
}

/* Head fill and row values mirror .data-grid-container in app.css (the
   source of truth); the holidays table sits flush in the card, not in
   that wrapper. */
.holiday-table-scope[b-8aej8lk8gm]  .mud-table-head th.mud-table-cell {
    height: 34px;
    padding: 0 22px;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
    font-size: var(--itrela-text-12) !important;
    font-weight: var(--itrela-weight-strong) !important;
    letter-spacing: var(--itrela-caps-tracking) !important;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase !important;
    color: var(--mud-palette-text-secondary) !important;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.holiday-table-scope[b-8aej8lk8gm]  .mud-table-body .mud-table-row {
    min-height: 44px;
}

.holiday-table-scope[b-8aej8lk8gm]  .mud-table-body td {
    height: 44px;
    padding: 4px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.holiday-table-scope[b-8aej8lk8gm]  .mud-table-hover .mud-table-body .mud-table-row:hover {
    background: var(--mud-palette-table-striped);
}

/* Weekly hours: one row per day. Day name, switch, then the hours (and
   the copy button) or "Closed", so the week reads straight down one column. */
.hours-week[b-8aej8lk8gm] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
}

.hours-day[b-8aej8lk8gm] {
    display: grid;
    grid-template-columns: 7rem auto auto auto;
    justify-content: start;
    align-items: center;
    column-gap: var(--itrela-space-12);
    min-height: 48px;
}

.hours-day-name[b-8aej8lk8gm] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
}

.hours-day[b-8aej8lk8gm]  .hours-day-switch {
    margin: 0;
}

.hours-day-times[b-8aej8lk8gm] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
    min-width: 0;
}

/* A set width keeps every open day's copy button in the same place. */
.hours-day-times[b-8aej8lk8gm]  .hours-day-time {
    flex: 0 0 auto;
    width: 10rem;
    margin: 0;
}

.hours-day-dash[b-8aej8lk8gm] {
    color: var(--mud-palette-text-secondary);
}

.hours-day-closed[b-8aej8lk8gm] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

/* Phone: the day, the copy button, and the switch share the first line;
   Opens and Closes share the second, or take a line each on the narrowest
   phones, so a time is never cut off. */
@media (max-width: 599.98px) {
    .hours-day[b-8aej8lk8gm] {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "name copy switch"
            "times times times";
        row-gap: var(--itrela-space-4);
    }

    .hours-day-name[b-8aej8lk8gm] {
        grid-area: name;
    }

    .hours-day[b-8aej8lk8gm]  .hours-day-switch {
        grid-area: switch;
    }

    .hours-day[b-8aej8lk8gm]  .hours-day-copy {
        grid-area: copy;
    }

    .hours-day-times[b-8aej8lk8gm] {
        grid-area: times;
    }

    .hours-day-dash[b-8aej8lk8gm] {
        display: none;
    }

    .hours-day-times[b-8aej8lk8gm]  .hours-day-time {
        flex: 1 1 8.5rem;
        width: auto;
        min-width: 8.5rem;
    }
}
/* /Components/Pages/Settings/ClientFacingBrandCard.razor.rz.scp.css */
.client-brand-heading-row[b-xnqwiy0mc7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
}

.client-brand-heading[b-xnqwiy0mc7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 280px;
}

.client-brand-studio-link[b-xnqwiy0mc7] {
    flex: 0 0 auto;
}

.client-brand-color-fields[b-xnqwiy0mc7] {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.client-brand-color-input[b-xnqwiy0mc7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.client-brand-color-input input[b-xnqwiy0mc7] {
    width: 78px;
    height: 56px;
    padding: 4px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    cursor: pointer;
}

.client-brand-preview[b-xnqwiy0mc7] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-gray);
}

.client-brand-preview-mark[b-xnqwiy0mc7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--itrela-radius-control);
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.client-brand-preview-name[b-xnqwiy0mc7] {
    overflow: hidden;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-brand-preview-logo[b-xnqwiy0mc7] {
    width: auto;
    max-width: min(200px, 62%);
    height: 36px;
    object-fit: contain;
}

.client-brand-preview-context[b-xnqwiy0mc7] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
}

.client-brand-logo-actions[b-xnqwiy0mc7] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 520px) {
    .client-brand-color-fields[b-xnqwiy0mc7] {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .client-brand-color-input input[b-xnqwiy0mc7] {
        width: 68px;
    }

    .client-brand-preview-logo[b-xnqwiy0mc7] {
        max-width: 140px;
    }
}
/* /Components/Pages/Settings/ConnectM365Wizard.razor.rz.scp.css */
.wizard-steps-list[b-o5mkbnglzq] {
    margin: 0;
    padding-left: 1.2rem;
}

.wizard-steps-list li[b-o5mkbnglzq] {
    margin: 2px 0;
}

.wizard-script-block[b-o5mkbnglzq] {
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: 12px;
}

.wizard-script-block pre[b-o5mkbnglzq] {
    margin: 0 0 8px 0;
    font-size: var(--itrela-text-12);
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
/* /Components/Pages/Settings/Dialogs/SettingsHistoryDialog.razor.rz.scp.css */
.settings-history-list[b-kuemv4o90f] {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.settings-history-list li[b-kuemv4o90f] {
    display: grid;
    gap: 2px;
    padding-bottom: 13px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
}

.settings-history-list li:last-child[b-kuemv4o90f] {
    padding-bottom: 0;
    border-bottom: 0;
}

.settings-history-detail[b-kuemv4o90f] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    line-height: 1.45;
}

.settings-history-byline[b-kuemv4o90f] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}
/* /Components/Pages/Settings/Email.razor.rz.scp.css */
.mailbox-card--inactive[b-aypd4lt4pv] {
    opacity: 0.65;
}

/* One queued/skipped item per row, separated by hairlines */
.delivery-row[b-aypd4lt4pv] {
    padding: 8px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.delivery-row:first-of-type[b-aypd4lt4pv] {
    border-top: none;
}

.text-truncate[b-aypd4lt4pv] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60ch;
}

.signature-placeholders[b-aypd4lt4pv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.signature-placeholder-token[b-aypd4lt4pv] {
    margin-left: 5px;
    color: var(--mud-palette-text-secondary);
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-12);
}

.signature-preview-list[b-aypd4lt4pv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.signature-preview[b-aypd4lt4pv] {
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 40%);
}

.signature-preview-label[b-aypd4lt4pv] {
    margin-bottom: 7px;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.signature-preview pre[b-aypd4lt4pv],
.signature-preview-empty[b-aypd4lt4pv] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.signature-preview-empty[b-aypd4lt4pv] {
    font-size: var(--itrela-text-13);
}
/* /Components/Pages/Settings/FoundingApplications.razor.rz.scp.css */
/* The 8-column attribution table can't fit a phone and MudSimpleTable can't
   stack, so it scrolls horizontally with a right-edge fade affordance
   (same treatment as the pill strips in UI_STYLE_GUIDE). */
.founding-attribution-scroll[b-kroepljoet] {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
}

.founding-danger-zone[b-kroepljoet] {
    padding: var(--itrela-card-pad);
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 62%);
    border-radius: var(--itrela-radius-tile);
    background: color-mix(in oklab, var(--mud-palette-error), transparent 94%);
}
/* /Components/Pages/Settings/General.razor.rz.scp.css */
/* Inter-card spacing comes from this container gap, never card margins
   (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
.settings-cards[b-watct17vcf] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}
/* /Components/Pages/Settings/Index.razor.rz.scp.css */
.settings-index-board[b-3zfd91vvij] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

/* The drawn "Needs attention" block (Improvements §A): a critical-tinted
   border, an unfilled header, and rows that end in an outlined chip link. */
.settings-attention[b-3zfd91vvij] {
    overflow: hidden;
    border-color: color-mix(in oklab, var(--itrela-status-critical), var(--mud-palette-lines-default) 55%);
}

.settings-attention-header[b-3zfd91vvij] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px 13px;
}

.settings-attention-header h2[b-3zfd91vvij] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
    line-height: 1.3;
}

.settings-attention-header p[b-3zfd91vvij] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.settings-attention-item[b-3zfd91vvij] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 13px 20px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

/* 32×32 icon tile, 12%-alpha status fill, 19px glyph. */
.settings-attention-tile[b-3zfd91vvij] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-control);
}

.settings-attention-tile--crit[b-3zfd91vvij] {
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 88%);
    color: var(--itrela-status-critical);
}

/* --itrela-status-warning-bright lands with the status-token PR; until then
   the design literal #C2860B stands in. */
.settings-attention-tile--warn[b-3zfd91vvij] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright, #C2860B), transparent 86%);
    color: var(--itrela-status-warning);
}

.settings-attention-tile[b-3zfd91vvij]  .mud-icon-root {
    font-size: 19px;
}

.settings-attention-symbol[b-3zfd91vvij] {
    width: 19px;
    height: 19px;
    fill: currentcolor;
}

.settings-attention-item:hover[b-3zfd91vvij],
.settings-index-item:hover[b-3zfd91vvij] {
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 18%);
}

.settings-attention-item:focus-visible[b-3zfd91vvij],
.settings-index-item:focus-visible[b-3zfd91vvij] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.settings-attention-copy[b-3zfd91vvij] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.settings-attention-name[b-3zfd91vvij] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.settings-attention-detail[b-3zfd91vvij] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

/* The fixing page wears a 32px outlined chip, not an accent link. */
.settings-attention-link[b-3zfd91vvij] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 13px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.settings-index-search[b-3zfd91vvij] {
    width: min(100%, 620px);
}

/* A too-long placeholder must ellipsize at the field edge, not clip
   mid-word (390px phones cut "…describe what is wrong" to "…is wrc").
   Scoped through the page-owned board: the class itself sits on the
   MudTextField root, which carries no scope attribute of this file. */
.settings-index-board[b-3zfd91vvij]  .settings-index-search input {
    text-overflow: ellipsis;
}

.settings-index-grid[b-3zfd91vvij] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
    align-items: start;
}

.settings-index-group[b-3zfd91vvij] {
    overflow: hidden;
}

/* AuthorizeView emits no link for a destination the current person cannot
   manage. Do not leave a full empty card behind for focused administrators. */
.settings-index-group:not(:has(.settings-index-item))[b-3zfd91vvij] {
    display: none;
}

.settings-index-group-header[b-3zfd91vvij] {
    padding: 14px 18px 12px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
}

.settings-index-group-header h2[b-3zfd91vvij] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.3;
}

.settings-index-group-header p[b-3zfd91vvij] {
    margin: 2px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

.settings-index-item[b-3zfd91vvij] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 18px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

/* The group header now draws the row's top rule, so the first row drops its own. */
.settings-index-item:first-child[b-3zfd91vvij] {
    border-top: none;
}

.settings-index-item-head[b-3zfd91vvij] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.settings-index-name[b-3zfd91vvij] {
    min-width: 0;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.settings-index-description[b-3zfd91vvij] {
    min-width: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

/* The drawn state value: plain right-aligned text, not a pill. State uses the
   dot-and-phrase vocabulary — colored 600 text, with a 6px dot for warn/crit. */
.settings-health-chip[b-3zfd91vvij] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
    white-space: nowrap;
}

.settings-health-chip--ok[b-3zfd91vvij] {
    color: var(--itrela-status-ok);
    font-weight: var(--itrela-weight-strong);
}

.settings-health-chip--warn[b-3zfd91vvij] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.settings-health-chip--crit[b-3zfd91vvij] {
    color: var(--itrela-status-critical);
    font-weight: var(--itrela-weight-strong);
}

.settings-health-chip-dot[b-3zfd91vvij] {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--itrela-status-warning-bright, #C2860B);
}

.settings-health-chip--crit .settings-health-chip-dot[b-3zfd91vvij] {
    background: var(--itrela-status-critical);
}

/* The outlined notch is sized from the legend text; under fallback-font
   metrics (the webfont still loading) it lands a few pixels narrow and the
   field's top border slices the label's descenders. The extra padding keeps
   the notch wider than the label in either font. Scoped through the
   page-owned board: the class itself sits on the MudTextField root, which
   carries no scope attribute of this file. */
.settings-index-board[b-3zfd91vvij]  .settings-index-search .mud-input-outlined > .mud-input-outlined-border legend {
    padding: 0 8px;
}

.settings-no-results[b-3zfd91vvij] {
    margin: -8px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

/* The drawn drift line (Improvements §A): one wrapping line — history icon,
   bold lead, entries separated by quiet dots, history link on the right. */
.settings-recent[b-3zfd91vvij] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.settings-recent[b-3zfd91vvij]  .settings-recent-icon {
    font-size: 17px;
}

.settings-recent-label[b-3zfd91vvij] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.settings-recent-separator[b-3zfd91vvij] {
    opacity: 0.55;
}

.settings-recent-spacer[b-3zfd91vvij] {
    flex: 1 1 auto;
}

.settings-recent-history[b-3zfd91vvij] {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.settings-recent-history:hover[b-3zfd91vvij] {
    text-decoration: underline;
}

.settings-recent-history:focus-visible[b-3zfd91vvij] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
    border-radius: var(--itrela-radius-small);
}

@media (max-width: 1200px) {
    .settings-index-grid[b-3zfd91vvij] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .settings-index-grid[b-3zfd91vvij] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .settings-attention-header[b-3zfd91vvij] {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .settings-attention-item[b-3zfd91vvij] {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        padding: 12px 14px;
    }

    .settings-attention-link[b-3zfd91vvij] {
        grid-column: 2;
        justify-self: start;
    }

    .settings-index-item[b-3zfd91vvij] {
        padding: 9px 14px;
    }
}
/* /Components/Pages/Settings/Intake.razor.rz.scp.css */
/* One rule/source per row, separated by hairlines (matches Email page) */
.delivery-row[b-ybspocx9wm] {
    padding: 8px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.delivery-row:first-of-type[b-ybspocx9wm] {
    border-top: none;
}

/* ── Task-card heading and actions ───────────────────────────────────── */
.intake-card-head[b-ybspocx9wm] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.intake-card-head > :first-child[b-ybspocx9wm] {
    flex: 1 1 auto;
    min-width: 0;
}

.intake-card-actions[b-ybspocx9wm] {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
}

/* ── Acknowledgment disclosure ───────────────────────────────────────── */
.intake-ack[b-ybspocx9wm] {
    overflow: hidden;
}

.intake-ack__summary[b-ybspocx9wm] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    cursor: pointer;
    list-style: none;
}

.intake-ack__summary[b-ybspocx9wm]::-webkit-details-marker {
    display: none;
}

.intake-ack__summary:focus-visible[b-ybspocx9wm] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.intake-ack__heading[b-ybspocx9wm] {
    flex: 1 1 auto;
    min-width: 0;
}

.intake-ack__caret[b-ybspocx9wm] {
    display: inline-block;
    color: var(--mud-palette-text-secondary);
    transition: transform 120ms ease;
}

.intake-ack[open] .intake-ack__caret[b-ybspocx9wm] {
    transform: rotate(90deg);
}

.intake-ack__body[b-ybspocx9wm] {
    padding: 14px 18px 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* ── Rule empty state from the approved hierarchy ───────────────────── */
.intake-rule-empty[b-ybspocx9wm] {
    padding: 8px 0 4px;
}

/* ── Rule ordering control (rank number between up/down) ─────────────── */
.rule-rank[b-ybspocx9wm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: 2px 0;
}

.rule-rank__num[b-ybspocx9wm] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1;
    color: var(--mud-palette-text-secondary);
    padding: 1px 0;
}

.rule-rank[b-ybspocx9wm]  .rule-rank__btn {
    padding: 2px;
}

/* Small lead-in labels on structured rule and source summaries. */
.intake-cond[b-ybspocx9wm] {
    display: inline-block;
    min-width: 2.6em;
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.intake-units[b-ybspocx9wm] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.65rem;
    margin-left: 0.2rem;
}

.intake-unit[b-ybspocx9wm] {
    display: inline-block;
}

/* ── Webhook URL field: truncates cleanly, actions pinned at the end ─── */
.webhook-url[b-ybspocx9wm] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.webhook-url__text[b-ybspocx9wm] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--itrela-text-12);
    padding: 5px 10px;
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
}

.webhook-url__actions[b-ybspocx9wm] {
    flex: 0 0 auto;
    display: flex;
}

/* ── Example payload, shown once under the sources ──────────────────── */
.payload-ref[b-ybspocx9wm] {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
}

.payload-ref__label[b-ybspocx9wm] {
    display: block;
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-bottom: 6px;
}

.payload-ref__code[b-ybspocx9wm] {
    margin: 0;
    font-size: var(--itrela-text-12);
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--mud-palette-text-primary);
}

/* ── Editable acknowledgment and sample ────────────────────────────── */
.ack-token-list[b-ybspocx9wm]  .mud-chip {
    cursor: pointer;
}

.ack-preview[b-ybspocx9wm] {
    padding: 12px;
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
}

.ack-preview__body[b-ybspocx9wm] {
    margin: 4px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font: inherit;
    color: var(--mud-palette-text-primary);
}

/* ── Empty states ───────────────────────────────────────────────────── */
.intake-empty[b-ybspocx9wm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 24px 16px;
}

.intake-empty[b-ybspocx9wm]  .intake-empty__icon {
    color: var(--mud-palette-text-disabled);
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

@media (max-width: 599px) {
    .intake-card-head[b-ybspocx9wm] {
        flex-direction: column;
        gap: 12px;
    }

    .intake-card-actions[b-ybspocx9wm] {
        width: 100%;
        flex-wrap: wrap;
    }

    .intake-card-actions[b-ybspocx9wm]  .mud-button-root {
        flex: 1 1 150px;
    }

    .intake-ack__summary[b-ybspocx9wm] {
        align-items: flex-start;
        padding: 12px 14px;
    }

    .intake-ack__body[b-ybspocx9wm] {
        padding: 14px;
    }
}
/* /Components/Pages/Settings/Integrations/Catalog.razor.rz.scp.css */
/* Purpose groups and their card grids share the application card gap. */
.integrations-catalog-page[b-0z3xlpwbd0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
    align-content: start;
    min-width: 0;
}

.integrations-catalog-loading[b-0z3xlpwbd0] {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
}

.integrations-health-summary[b-0z3xlpwbd0] {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 1.25rem;
    font-size: var(--itrela-text-14);
}

.integration-purpose-group[b-0z3xlpwbd0] {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
}

/* Group header: sentence-case .9375/600 with a trailing hairline. */
.integration-purpose-heading[b-0z3xlpwbd0] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.integration-purpose-heading h2[b-0z3xlpwbd0] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.2;
}

.integration-purpose-rule[b-0z3xlpwbd0] {
    flex: 1 1 auto;
    height: 1px;
    background: var(--mud-palette-lines-default);
}

.integration-purpose-grid[b-0z3xlpwbd0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
    align-items: start;
    width: 100%;
}

@media (max-width: 1100px) {
    .integrations-catalog-page[b-0z3xlpwbd0] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .integration-purpose-grid[b-0z3xlpwbd0] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Settings/Integrations/GoogleWorkspace.razor.rz.scp.css */
/* "What this powers" rows: icon + link + em-dash description on one line
   (replacing the d-flex utilities). Below 600px the description drops to
   its own full-width line so labels stop breaking mid-word and the
   descriptions share one left edge. Kept in sync with
   Microsoft365.razor.css. */

/* The page's top-level blocks stack in the composed column, whose gap is the
   standard card gap (UI_STYLE_GUIDE "Card spacing & alignment"). */

.powers-list[b-cotsv5xdd3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.powers-item[b-cotsv5xdd3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-steps[b-cotsv5xdd3] {
    margin: 0;
    padding-left: 1.35rem;
}

.registration-steps > li[b-cotsv5xdd3] {
    margin-bottom: 16px;
    padding-left: 4px;
}

.registration-steps > li:last-child[b-cotsv5xdd3] {
    margin-bottom: 0;
}

.registration-scopes[b-cotsv5xdd3] {
    margin: 8px 0;
    padding-left: 1.2rem;
}

.registration-scopes li[b-cotsv5xdd3] {
    margin: 4px 0;
}

@media (max-width: 600px) {
    .powers-item[b-cotsv5xdd3] {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .powers-item[b-cotsv5xdd3]  .mud-typography-body2 {
        flex-basis: 100%;
    }
}
/* /Components/Pages/Settings/Integrations/IntegrationProviderCard.razor.rz.scp.css */
.integration-provider-card-host[b-brzcndjm3r] {
    width: 100%;
    height: 100%;
    min-width: 0;
}

.integration-provider-card-host[b-brzcndjm3r]  .integration-provider-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.integration-provider-card-host[b-brzcndjm3r]  .integration-provider-card--available {
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 28%);
    border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 20%);
    box-shadow: none;
}

.integration-provider-header[b-brzcndjm3r] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* The drawn logo tile (Improvements 2 §E): 34×34, 9px radius, tinted fill,
   no border, a 20px mark inside. Vendor logos keep a neutral light ground so
   dark-on-transparent artwork (such as Stripe) stays legible in dark mode. */
.integration-provider-logo[b-brzcndjm3r],
.integration-provider-icon[b-brzcndjm3r] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    box-sizing: border-box;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
}

.integration-provider-logo[b-brzcndjm3r] {
    object-fit: contain;
    padding: 7px;
    background: var(--itrela-logo-tile);
}

.integration-provider-icon[b-brzcndjm3r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-primary);
}

.integration-provider-card-host[b-brzcndjm3r]  .integration-provider-card--available .integration-provider-logo {
    filter: grayscale(0.55);
}

.integration-provider-heading[b-brzcndjm3r] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.integration-provider-card-host[b-brzcndjm3r]  .integration-status {
    margin-top: 12px;
}

.integration-provider-rows[b-brzcndjm3r] {
    margin-top: 14px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.integration-provider-row[b-brzcndjm3r] {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
    gap: 4px 16px;
    align-items: baseline;
    padding: 10px 0;
}

.integration-provider-row + .integration-provider-row[b-brzcndjm3r] {
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.integration-provider-row-label[b-brzcndjm3r],
.integration-provider-row-value[b-brzcndjm3r],
.integration-provider-row-note[b-brzcndjm3r] {
    font-size: var(--itrela-text-13);
    line-height: 1.4;
}

.integration-provider-row-label[b-brzcndjm3r],
.integration-provider-row-note[b-brzcndjm3r] {
    color: var(--mud-palette-text-secondary);
}

.integration-provider-row-value[b-brzcndjm3r] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
    text-align: right;
}

.integration-provider-row-value--attention[b-brzcndjm3r] {
    color: var(--itrela-status-warning);
}

.integration-provider-row-note[b-brzcndjm3r] {
    grid-column: 1 / -1;
}

/* The drawn footer strip: quiet-raise fill, a full hairline above, and an
   ink link — the accent stays out of it. */
.integration-provider-footer[b-brzcndjm3r] {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding: 11px var(--itrela-card-pad);
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-table-striped);
}

.integration-provider-link[b-brzcndjm3r] {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.integration-provider-link:hover[b-brzcndjm3r],
.integration-provider-link:focus-visible[b-brzcndjm3r] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 599px) {
    .integration-provider-row[b-brzcndjm3r] {
        grid-template-columns: 1fr;
    }

    .integration-provider-row-value[b-brzcndjm3r] {
        text-align: left;
    }
}
/* /Components/Pages/Settings/Integrations/LevelWorkspace.razor.rz.scp.css */
/* The Reading / Listening / Doing rows share one geometry: an icon on the far
   left, then a content column that carries a header line (row name left, state
   chip right) above its sentences and inline management. The content column
   grows to full width so the header's chip sits flush right on every row and
   stays put when an inline panel expands below it. */

.level-row-main[b-07uhh0tlgx] {
    flex: 1 1 auto;
    min-width: 0;
}

.level-row-header[b-07uhh0tlgx] {
    width: 100%;
}

.level-key-masked[b-07uhh0tlgx] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Settings/Integrations/Microsoft365.razor.rz.scp.css */
/* "What this powers" rows: icon + link + em-dash description on one line
   (replacing the d-flex utilities). Below 600px the description drops to
   its own full-width line so labels stop breaking mid-word and the
   descriptions share one left edge. Kept in sync with
   GoogleWorkspace.razor.css. */

/* The page's top-level blocks stack in the composed column, whose gap is the
   standard card gap (UI_STYLE_GUIDE "Card spacing & alignment"). */

.powers-list[b-ywqqftu2to] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.powers-item[b-ywqqftu2to] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-steps[b-ywqqftu2to] {
    margin: 0;
    padding-left: 1.35rem;
}

.registration-steps > li[b-ywqqftu2to] {
    margin-bottom: 16px;
    padding-left: 4px;
}

.registration-steps > li:last-child[b-ywqqftu2to] {
    margin-bottom: 0;
}

.registration-scopes[b-ywqqftu2to] {
    margin: 8px 0;
    padding-left: 1.2rem;
}

.registration-scopes li[b-ywqqftu2to] {
    margin: 4px 0;
}

@media (max-width: 600px) {
    .powers-item[b-ywqqftu2to] {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .powers-item[b-ywqqftu2to]  .mud-typography-body2 {
        flex-basis: 100%;
    }
}
/* /Components/Pages/Settings/Integrations/Zoom.razor.rz.scp.css */
/* The "How to create the Zoom app" guide mirrors the M365/Google setup
   guides — same step-list spacing (see Microsoft365.razor.css). */

.registration-steps[b-l26f4ygbo2] {
    margin: 0;
    padding-left: 1.35rem;
}

.registration-steps > li[b-l26f4ygbo2] {
    margin-bottom: 16px;
    padding-left: 4px;
}

.registration-steps > li:last-child[b-l26f4ygbo2] {
    margin-bottom: 0;
}
/* /Components/Pages/Settings/Ops.razor.rz.scp.css */
/* Both ops tables sit flush inside a surface-card, so instead of wrapping
   them in the global .data-grid-container (which would double-border the
   card) we mirror its head/row/hover values here — same numbers as app.css. */

.ops-table[b-508cgvphqy]  thead th {
    height: 34px;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%) !important;
    color: var(--mud-palette-text-secondary) !important;
    font-size: var(--itrela-text-12) !important;
    font-weight: var(--itrela-weight-strong) !important;
    letter-spacing: var(--itrela-caps-tracking) !important;
    word-spacing: var(--itrela-label-word-spacing);
    text-transform: uppercase !important;
    padding: 10px 22px !important;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%) !important;
}

.ops-table[b-508cgvphqy]  tbody td {
    height: 44px;
    padding: 10px 22px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.ops-table[b-508cgvphqy]  tbody tr:hover td {
    background: var(--mud-palette-table-striped);
}

/* Phone: three columns can't share 390px (Cadence clips mid-word, "What"
   wraps letter-per-line), so each row stacks: headline line first, the
   remaining cells flow beneath it. */
@media (max-width: 600px) {
    .ops-table[b-508cgvphqy]  table,
    .ops-table[b-508cgvphqy]  tbody {
        display: block;
        width: 100%;
    }

    .ops-table[b-508cgvphqy]  thead {
        display: none;
    }

    .ops-table[b-508cgvphqy]  tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 10px;
        row-gap: 2px;
        padding: 10px 0;
        border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
    }

    .ops-table[b-508cgvphqy]  tbody td {
        display: block;
        width: auto !important;
        min-width: 0;
        height: auto;
        padding: 0;
        border-bottom: 0 !important;
    }

    /* Sweeps: name on its own line, then "last run" chip + cadence. */
    .ops-table--sweeps[b-508cgvphqy]  tbody td:first-child {
        flex: 1 1 100%;
        font-weight: var(--itrela-weight-strong);
    }

    /* Errors: age + host chip inline, the message gets the full width. */
    .ops-table--errors[b-508cgvphqy]  tbody td:last-child {
        flex: 1 1 100%;
        padding-top: 2px;
    }
}
/* /Components/Pages/Settings/PortableExportPackageCard.razor.rz.scp.css */
.itrela-export-contents > summary[b-at6eqlls3k] {
    cursor: pointer;
    min-height: 44px;
    align-content: center;
    width: fit-content;
    font-weight: var(--itrela-weight-medium);
}

.itrela-export-contents[inert] > summary[b-at6eqlls3k] {
    color: var(--mud-palette-text-disabled);
}
/* /Components/Pages/Settings/PortalAnnouncements.razor.rz.scp.css */
/* Announcement card row: chips + title + meta on the left, action icons on
   the right (mirrors the MudStack layout it replaced). Below 600px the card
   restacks — chips row, then the title on its own full-width line, then body
   and meta, then a right-aligned action row — instead of squeezing the text
   into a sliver beside the icons. */

.pa-row[b-h0e2xb1kj7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.pa-main[b-h0e2xb1kj7] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pa-head[b-h0e2xb1kj7] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 4px;
}

.pa-title[b-h0e2xb1kj7] {
    min-width: 0;
}

.pa-actions[b-h0e2xb1kj7] {
    display: flex;
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .pa-row[b-h0e2xb1kj7] {
        flex-direction: column;
        align-items: stretch;
    }

    /* In column direction the grow/basis pair would size by free space —
       let the text block take its natural height. */
    .pa-main[b-h0e2xb1kj7] {
        flex: 0 0 auto;
    }

    /* Chips stay together on the first line; the title takes the next. */
    .pa-title[b-h0e2xb1kj7] {
        order: 10;
        flex-basis: 100%;
    }

    .pa-actions[b-h0e2xb1kj7] {
        justify-content: flex-end;
    }
}
/* /Components/Pages/Settings/ScheduleTypesSettings.razor.rz.scp.css */
/* Row action icons stay side by side; the cell never stacks them. */
.st-actions[b-6hk1siaap7] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    white-space: nowrap;
}

/* Color budget: routine delete icons ride the default ink and only turn
   red on hover (the confirm dialog carries the destructive warning). */
.st-actions[b-6hk1siaap7]  .st-delete:hover {
    color: var(--mud-palette-error);
}

/* Phone rows (app.css): the four row actions sit two by two at the row's
   end, beside both lines, so the name keeps its room. */
@media (max-width: 600px) {
    .st-actions[b-6hk1siaap7] {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 88px;
    }
}
/* /Components/Pages/Settings/ServiceDesk.razor.rz.scp.css */
/* Inter-card spacing comes from this container gap, never card margins
   (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
.settings-cards[b-1v64pcl9t2] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}
/* /Components/Pages/Settings/SignIn.razor.rz.scp.css */
/* Inter-card spacing comes from this container gap, never card margins
   (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
.settings-cards[b-979bdghx2z] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}

/* Provider cards stretch to equal height inside their MudGrid row. */
.signin-provider-card[b-979bdghx2z] {
    height: 100%;
}
/* /Components/Pages/Settings/TravelSettings.razor.rz.scp.css */
/* Preset buttons wrap on narrow screens rather than overflowing the card. */
.tv-presets[b-78karwxdrt] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* /Components/Pages/Settings/Users/Details.razor.rz.scp.css */
.member-detail-grid[b-94yaf9rp89] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--itrela-card-gap);
}

.member-section[b-94yaf9rp89] {
    min-width: 0;
}

.member-section--wide[b-94yaf9rp89] {
    grid-column: 1 / -1;
}

.security-methods[b-94yaf9rp89] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-method-badge[b-94yaf9rp89] {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.detail-method-badge--warning[b-94yaf9rp89] {
    border-color: color-mix(in oklab, var(--mud-palette-warning), transparent 55%);
    color: var(--mud-palette-warning-darken);
}

.member-action-list[b-94yaf9rp89] {
    display: flex;
    flex-direction: column;
}

.member-action-row[b-94yaf9rp89] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* The description shrinks and wraps; action buttons never break mid-word. */
.member-action-row > div:first-child[b-94yaf9rp89] {
    min-width: 0;
}

.member-action-row[b-94yaf9rp89]  .mud-button-root {
    flex-shrink: 0;
    white-space: nowrap;
}

.member-action-row:first-child[b-94yaf9rp89] {
    padding-top: 0;
    border-top: 0;
}

.member-signature-preview[b-94yaf9rp89] {
    margin: 0;
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 40%);
    font: inherit;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .member-detail-grid[b-94yaf9rp89] {
        grid-template-columns: 1fr;
    }

    .member-section--wide[b-94yaf9rp89] {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .member-action-row[b-94yaf9rp89] {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .member-action-row[b-94yaf9rp89]  .mud-button-root {
        width: 100%;
    }
}
/* /Components/Pages/Settings/Users/List.razor.rz.scp.css */
.user-command-bar[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.user-search[b-mn1h64kmh7] {
    flex: 1 1 320px;
    min-width: 220px;
}

.user-filters[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-filter[b-mn1h64kmh7] {
    width: 150px;
}

.users-grid[b-mn1h64kmh7] {
    /* The roster is min-content wide; if a width still can't fit it,
       scroll instead of clipping (the global container hides overflow). */
    overflow-x: auto;
}

.users-grid[b-mn1h64kmh7]  .mud-table-head .mud-table-cell {
    white-space: nowrap;
}

/* Tighter cell gutters so all six columns fit inside the card at 768+. */
.users-grid[b-mn1h64kmh7]  .mud-table-root .mud-table-cell {
    padding-inline: 8px;
}

.users-grid[b-mn1h64kmh7]  .mud-table-root .mud-table-cell:first-child {
    padding-inline-start: 16px;
}

.users-grid[b-mn1h64kmh7]  .mud-table-root .mud-table-cell:last-child {
    padding-inline: 4px;
}

.users-grid[b-mn1h64kmh7]  .mud-table-body .mud-table-cell {
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: middle;
}

.user-identity[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-avatar[b-mn1h64kmh7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 86%);
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
}

.user-identity-copy[b-mn1h64kmh7],
.user-security[b-mn1h64kmh7] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.user-display-name[b-mn1h64kmh7],
.user-role[b-mn1h64kmh7],
.user-last-login[b-mn1h64kmh7] {
    display: block;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.4;
}

.user-login[b-mn1h64kmh7],
.user-email[b-mn1h64kmh7],
.user-cell-secondary[b-mn1h64kmh7] {
    display: block;
    max-width: 28ch;
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-identity-copy[b-mn1h64kmh7]  .mud-chip {
    align-self: flex-start;
    height: 22px;
    margin-top: 3px;
}

.signin-badges[b-mn1h64kmh7] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 360px;
}

.signin-badge[b-mn1h64kmh7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.2;
}

.signin-badge--secure[b-mn1h64kmh7] {
    border-color: color-mix(in oklab, var(--mud-palette-success), transparent 55%);
    color: var(--mud-palette-success);
}

.signin-badge--warning[b-mn1h64kmh7] {
    border-color: color-mix(in oklab, var(--mud-palette-warning), transparent 55%);
    color: var(--mud-palette-warning-darken);
}

.signin-badge[b-mn1h64kmh7]  .mud-icon-root {
    font-size: 0.9rem;
}

.team-tabs[b-mn1h64kmh7]  .mud-tabs-panels {
    background: transparent;
}

.invitation-row[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 6px 2px;
}

.invitation-actions[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.user-status-control[b-mn1h64kmh7] {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

@media (max-width: 800px) {
    .user-command-bar[b-mn1h64kmh7] {
        align-items: stretch;
        flex-direction: column;
    }

    .user-search[b-mn1h64kmh7] {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }

    .user-filters[b-mn1h64kmh7] {
        width: 100%;
    }

    .user-filter[b-mn1h64kmh7] {
        flex: 1 1 0;
        width: auto;
    }
}

@media (max-width: 600px) {
    /* Phone rows (app.css): the name, then role and last sign-in on the
       quiet line; the active switch sits at the row's end (its label is
       its aria-label). The email, the profile chip and the sign-in badges
       wait on the member's page. */
    .users-grid[b-mn1h64kmh7]  :is(.itrela-phone-title .user-email, .itrela-phone-title .mud-chip, .itrela-phone-menu .user-status-control > span) {
        display: none;
    }

    .invitation-row[b-mn1h64kmh7] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .invitation-actions[b-mn1h64kmh7] {
        width: 100%;
        padding-left: 32px;
    }
}

@media (max-width: 420px) {
    .user-filters[b-mn1h64kmh7] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/Settings/Workspaces.razor.rz.scp.css */
/* Inter-card spacing comes from this container gap, never card margins
   (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
.settings-cards[b-23xdi1s950] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
}
/* /Components/Pages/Settings/WorkTypesSettings.razor.rz.scp.css */
/* Row action icons stay side by side; the cell never stacks them. */
.wt-actions[b-ucskv9p3cn] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    white-space: nowrap;
}

/* Color budget: routine delete icons ride the default ink and only turn
   red on hover (the confirm dialog carries the destructive warning). */
.wt-actions[b-ucskv9p3cn]  .wt-delete:hover {
    color: var(--mud-palette-error);
}

/* Internal-time categories: chips wrap freely; the add row caps its width so
   the input doesn't stretch the full card. */
.wt-cat-chips[b-ucskv9p3cn] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wt-cat-add[b-ucskv9p3cn] {
    max-width: 420px;
}

/* Phone rows (app.css): a work type without its own rate shows no figure,
   rather than a lone dash at the row's end. */
@media (max-width: 600px) {
    .wt-rate-none[b-ucskv9p3cn] {
        display: none;
    }
}
/* /Components/Pages/Setup/SetupBootstrapPanel.razor.rz.scp.css */
.setup-bootstrap-panel[b-5cm0ioo6gl] {
    width: 100%;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid rgba(232, 237, 237, 0.16);
    border-radius: var(--itrela-radius-surface);
    color: var(--itrela-chalk);
    background:
        radial-gradient(360px 240px at -10% 110%, var(--itrela-auth-glow), transparent 65%),
        linear-gradient(160deg, #1C2427 0%, #14191B 62%, #10191B 100%);
    box-shadow: none;
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .auth-head {
    margin-bottom: 20px;
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .auth-title {
    color: var(--itrela-chalk-bright);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .auth-subtitle,
.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-text-secondary,
.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-input-helper-text {
    color: var(--itrela-rail-text-dim) !important;
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .auth-form {
    gap: 15px;
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .auth-why {
    border-left-color: var(--itrela-rail-copper);
    color: rgba(232, 237, 237, 0.9);
    background: rgba(232, 237, 237, 0.08);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .setup-auth-step {
    border-color: rgba(232, 237, 237, 0.2);
    color: rgba(232, 237, 237, 0.8);
    background: rgba(232, 237, 237, 0.07);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-input,
.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-input-label,
.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-icon-root {
    color: var(--itrela-chalk);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-input-outlined-border {
    border-color: rgba(232, 237, 237, 0.28);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-input-control:hover .mud-input-outlined-border {
    border-color: rgba(232, 237, 237, 0.5);
}

.setup-bootstrap-panel[b-5cm0ioo6gl]  .mud-alert-outlined-error {
    color: #ffb4ab;
    background: rgba(179, 38, 30, 0.16);
}

@media (max-width: 620px) {
    .setup-bootstrap-panel[b-5cm0ioo6gl] {
        padding: 20px 16px;
        border-radius: var(--itrela-radius-surface);
    }
}
/* /Components/Pages/Setup/SetupWizard.razor.rz.scp.css */
.setup-wizard[b-34g2ksxmgn] {
    min-height: 100dvh;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.setup-wizard[b-34g2ksxmgn]  .setup-shell {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail {
    position: sticky;
    top: 0;
    min-width: 0;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 18px;
    color: var(--itrela-chalk);
    background:
        radial-gradient(420px 280px at -20% 110%, var(--itrela-auth-glow), transparent 65%),
        linear-gradient(160deg, #1C2427 0%, #14191B 62%, #10191B 100%);
    overflow-y: auto;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--itrela-chalk-bright);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--itrela-chalk);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand .setup-brand-curl {
    stroke: var(--itrela-rail-copper);
}

.setup-wizard[b-34g2ksxmgn]  .setup-foot-spacer {
    flex: 1;
}

.setup-wizard[b-34g2ksxmgn]  .setup-foot-note {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 38px;
    padding: 0 8px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-heading span {
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-heading strong {
    color: rgba(232, 237, 237, 0.92);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-progress {
    margin-top: 18px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-progress ol {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.setup-wizard[b-34g2ksxmgn]  .setup-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-control);
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-step-marker {
    width: 24px;
    height: 24px;
    display: grid;
    flex: none;
    place-items: center;
    border: 1px solid rgba(232, 237, 237, 0.22);
    border-radius: var(--itrela-radius-pill);
    color: inherit;
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-step--current {
    border-color: rgba(232, 237, 237, 0.16);
    color: var(--itrela-chalk-bright);
    background: rgba(232, 237, 237, 0.1);
}

.setup-wizard[b-34g2ksxmgn]  .setup-step--current .setup-step-marker {
    border-color: var(--itrela-rail-copper);
    color: var(--itrela-rail-copper-ink);
    background: var(--itrela-rail-copper);
}

.setup-wizard[b-34g2ksxmgn]  .setup-step--done {
    color: rgba(232, 237, 237, 0.88);
}

.setup-wizard[b-34g2ksxmgn]  .setup-step--done .setup-step-marker {
    border-color: color-mix(in oklab, var(--mud-palette-success), transparent 20%);
    color: var(--mud-palette-success);
    background: color-mix(in oklab, var(--mud-palette-success), transparent 88%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-reassurance {
    margin: 22px 8px 0;
    padding: 12px 13px;
    border: 1px solid rgba(232, 237, 237, 0.14);
    border-radius: var(--itrela-radius-surface);
    color: rgba(232, 237, 237, 0.72);
    background: rgba(232, 237, 237, 0.06);
    font-size: var(--itrela-text-12);
    line-height: 1.55;
}

.setup-wizard[b-34g2ksxmgn]  .setup-signed-in {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: auto;
    padding: 16px 8px 2px;
    border-top: 1px solid rgba(232, 237, 237, 0.12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-signed-in span {
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-signed-in strong {
    overflow: hidden;
    color: rgba(232, 237, 237, 0.92);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.setup-wizard[b-34g2ksxmgn]  .setup-main {
    display: grid;
    place-items: start center;
    min-width: 0;
    padding: 42px 32px 54px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-column {
    width: min(740px, 100%);
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-column--wide {
    width: min(1080px, 100%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-why {
    padding: 10px 14px;
    border-left: 3px solid var(--mud-palette-primary);
    border-radius: 0 var(--itrela-radius-control) var(--itrela-radius-control) 0;
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    font-size: var(--itrela-text-13);
    line-height: 1.55;
}

.setup-wizard[b-34g2ksxmgn]  .setup-card {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card);
    background: var(--mud-palette-surface);
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-head {
    padding: 18px 22px 5px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-head h1,
.setup-wizard[b-34g2ksxmgn]  .setup-complete-card h1 {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
    line-height: 1.3;
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-head p {
    margin: 3px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 22px 16px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 4px 22px 18px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-card-foot .mud-button-root {
    min-height: 38px;
    text-transform: none;
}

.setup-wizard[b-34g2ksxmgn]  .setup-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-head h2 {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-head p {
    margin: 3px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-label {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-help {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatch {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--itrela-radius-pill);
    cursor: pointer;
    transition: transform var(--itrela-motion-fast) var(--itrela-ease);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatch:hover:not(:disabled) {
    transform: scale(1.08);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatch--selected {
    border-color: var(--mud-palette-surface);
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatch:focus-visible {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-swatch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-logo-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-logo-tile);
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-logo-preview img {
    display: block;
    max-height: 32px;
    max-width: 160px;
    object-fit: contain;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-logo-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-brand-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-field-error {
    display: flex;
    gap: 6px;
    align-items: baseline;
    color: var(--mud-palette-error);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-field-error::before {
    content: "⚠";
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-13);
    line-height: 1.5;
}

.setup-wizard[b-34g2ksxmgn]  .setup-alert--error {
    border-color: color-mix(in oklab, var(--mud-palette-error), transparent 55%);
    color: var(--mud-palette-error);
    background: color-mix(in oklab, var(--mud-palette-error), transparent 94%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-alert--success {
    border-color: color-mix(in oklab, var(--mud-palette-success), transparent 55%);
    color: var(--mud-palette-success);
    background: color-mix(in oklab, var(--mud-palette-success), transparent 94%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-alert--warning {
    border-color: color-mix(in oklab, var(--mud-palette-warning), transparent 55%);
    color: var(--mud-palette-warning-darken);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 93%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-alert--info {
    border-color: color-mix(in oklab, var(--mud-palette-info), transparent 58%);
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--mud-palette-info), transparent 94%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-context-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 72%);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 95%);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.setup-wizard[b-34g2ksxmgn]  .setup-context-note .mud-icon-root {
    flex: none;
    margin-top: 1px;
    color: var(--mud-palette-primary);
}

.setup-wizard[b-34g2ksxmgn]  .setup-choice-list {
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-radius: 0;
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-surface);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.setup-wizard[b-34g2ksxmgn]  .setup-option:last-child {
    border-bottom: 0;
}

.setup-wizard[b-34g2ksxmgn]  .setup-option:hover,
.setup-wizard[b-34g2ksxmgn]  .setup-option:focus-visible {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option:focus-visible {
    position: relative;
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), transparent 35%);
    outline-offset: -2px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-provider-link:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), transparent 35%);
    outline-offset: 2px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-option--selected {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
    box-shadow: inset 3px 0 var(--mud-palette-primary);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option-radio {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 2px;
    border: 2px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option--selected .setup-option-radio {
    border-color: var(--mud-palette-primary);
    background: radial-gradient(circle, var(--mud-palette-primary) 0 4px, transparent 5px);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option > span:last-child {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-option b {
    font-size: var(--itrela-text-13);
}

.setup-wizard[b-34g2ksxmgn]  .setup-option small {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-section-label {
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.setup-wizard[b-34g2ksxmgn]  .setup-team-single {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 10px;
    align-items: end;
}

.setup-wizard[b-34g2ksxmgn]  .setup-team-single > .mud-button-root {
    justify-self: start;
}

.setup-wizard[b-34g2ksxmgn]  .setup-role-note {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.setup-wizard[b-34g2ksxmgn]  .setup-inline-actions,
.setup-wizard[b-34g2ksxmgn]  .setup-provider-actions,
.setup-wizard[b-34g2ksxmgn]  .setup-email-action,
.setup-wizard[b-34g2ksxmgn]  .setup-complete-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.setup-wizard[b-34g2ksxmgn]  .setup-provider-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 60%);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-primary);
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.setup-wizard[b-34g2ksxmgn]  .setup-provider-link:hover {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-team-cta--blocked {
    border-style: dashed;
}

.setup-wizard[b-34g2ksxmgn]  .setup-paste-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
}

.setup-wizard[b-34g2ksxmgn]  .setup-paste-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    font-size: var(--itrela-text-12);
}

/* Head fill mirrors .data-grid-container in app.css (the source of truth);
   the paste table wears its own wrap border, not that wrapper. */
.setup-wizard[b-34g2ksxmgn]  .setup-paste-table th {
    padding: 8px 10px;
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: var(--itrela-caps-tracking);
    word-spacing: var(--itrela-label-word-spacing);
    text-align: left;
    text-transform: uppercase;
}

.setup-wizard[b-34g2ksxmgn]  .setup-paste-table td {
    padding: 9px 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
    vertical-align: top;
}

.setup-wizard[b-34g2ksxmgn]  .setup-row-state {
    display: inline-flex;
    line-height: 1.4;
}

.setup-wizard[b-34g2ksxmgn]  .setup-row-state--ready {
    color: var(--mud-palette-success);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-row-state--needsfix {
    color: var(--mud-palette-error);
}

.setup-wizard[b-34g2ksxmgn]  .setup-row-state--duplicate {
    color: var(--mud-palette-warning-darken);
}

.setup-wizard[b-34g2ksxmgn]  .setup-bulk-failure {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-bulk-failure span {
    color: var(--mud-palette-text-secondary);
}

.setup-wizard[b-34g2ksxmgn]  .setup-modules-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    min-width: 0;
    gap: 22px;
    align-items: start;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-core {
    padding: 12px 14px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), transparent 38%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-core h2,
.setup-wizard[b-34g2ksxmgn]  .setup-module-section-head h2 {
    margin: 0;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-core p,
.setup-wizard[b-34g2ksxmgn]  .setup-module-section-head p {
    margin: 3px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-section-head {
    margin-bottom: 8px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 18%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-row > div:first-child {
    flex: 1;
    min-width: 0;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-name {
    display: block;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-description {
    display: block;
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-toggle {
    align-self: flex-end;
    min-width: 94px;
}

/* This tile's whole job is to show a first-time operator the rail they are
   about to get, so it wears the same graphite as .auth-brand in app.css (the
   reference) and the real rail: same three stops, this panel's own angle and
   stop positions. The ember is the rail accent, not a warm one. */
.setup-wizard[b-34g2ksxmgn]  .setup-rail-preview {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 260px;
    min-height: 520px;
    border-radius: var(--itrela-radius-card);
    color: var(--itrela-chalk);
    background:
        radial-gradient(360px 240px at -10% 110%, var(--itrela-auth-glow), transparent 65%),
        linear-gradient(160deg, #1C2427 0%, #14191B 62%, #10191B 100%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 16px 11px;
    color: var(--itrela-chalk-bright);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-brand svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--itrela-chalk);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-brand .setup-rail-curl {
    stroke: var(--itrela-rail-copper);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 0;
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-group > span {
    padding: 5px 6px 3px;
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-group > b {
    padding: 6px 9px;
    border-radius: var(--itrela-radius-control);
    color: rgba(232, 237, 237, 0.92);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-group:first-of-type > b:first-of-type {
    color: var(--itrela-chalk-bright);
    background: rgba(232, 237, 237, 0.11);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-note {
    margin: 12px 10px;
    padding: 9px 11px;
    border: 1px dashed rgba(232, 237, 237, 0.3);
    border-radius: var(--itrela-radius-control);
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-bottom {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(232, 237, 237, 0.12);
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-rail-bottom span {
    overflow: hidden;
    color: var(--itrela-rail-text-dim);
    font-size: var(--itrela-text-12);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.setup-wizard[b-34g2ksxmgn]  .setup-complete-card .setup-card-body {
    gap: 20px;
    padding: 30px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-complete-card h1 {
    font-size: 1.35rem;
}

.setup-wizard[b-34g2ksxmgn]  .setup-complete-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--itrela-radius-surface);
    color: var(--mud-palette-success);
    background: color-mix(in oklab, var(--mud-palette-success), transparent 88%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-complete-receipt > summary {
    padding: 8px 0;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    font-size: var(--itrela-text-14);
}

.setup-wizard[b-34g2ksxmgn]  .setup-complete-receipt > summary:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 4px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-tile > span {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-tile {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 18%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-tile > strong {
    overflow-wrap: anywhere;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.5;
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-tile--modules {
    grid-column: 1 / -1;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-receipt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-receipt {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 8px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), transparent 22%);
    font-size: var(--itrela-text-12);
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-receipt b {
    overflow-wrap: anywhere;
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-module-receipt small {
    flex: none;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-state--shown {
    color: var(--mud-palette-success);
}

.setup-wizard[b-34g2ksxmgn]  .setup-receipt-state--hidden {
    color: var(--mud-palette-text-secondary);
}

.setup-wizard[b-34g2ksxmgn]  .setup-best-next {
    display: grid;
    gap: 12px;
    padding: var(--itrela-card-pad);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 66%);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
}

.setup-wizard[b-34g2ksxmgn]  .setup-best-next h2 {
    margin: 2px 0 0;
    font-size: var(--itrela-text-16);
}

.setup-wizard[b-34g2ksxmgn]  .setup-best-next p {
    margin: 2px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.55;
}

.setup-loading[b-34g2ksxmgn] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--mud-palette-text-secondary);
}

.setup-loading--error[b-34g2ksxmgn] {
    color: var(--mud-palette-error);
}

@media (max-width: 900px) {
    .setup-wizard[b-34g2ksxmgn]  .setup-modules-grid {
        grid-template-columns: 1fr;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-rail-preview {
        width: 100%;
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .setup-wizard[b-34g2ksxmgn]  .setup-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-rail {
        position: static;
        min-height: 0;
        max-height: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-content: start;
        align-items: center;
        gap: 12px;
        padding: 16px;
        overflow: visible;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-rail-heading {
        margin: 0;
        padding: 0;
        text-align: right;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-progress {
        grid-column: 1 / -1;
        min-width: 0;
        margin: 0;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-progress ol {
        flex-direction: row;
        width: max-content;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-step {
        flex: none;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-rail-reassurance {
        grid-column: 1 / -1;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-signed-in {
        grid-column: 1 / -1;
        margin: 0;
        padding: 12px 0 0;
        font-size: var(--itrela-text-12);
        overflow-wrap: anywhere;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-main {
        padding: 24px 18px 38px;
    }
}

@media (max-width: 620px) {
    .setup-wizard[b-34g2ksxmgn]  .setup-main {
        padding: 18px 14px 32px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-card-head {
        padding: 16px 16px 5px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-card-body {
        padding: 8px 16px 14px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-card-foot {
        align-items: stretch;
        flex-direction: column;
        padding: 4px 16px 16px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-card-foot .mud-button-root {
        width: 100%;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-foot-spacer {
        display: none;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-team-single,
    .setup-wizard[b-34g2ksxmgn]  .setup-brand-contact-grid {
        grid-template-columns: 1fr;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-inline-actions,
    .setup-wizard[b-34g2ksxmgn]  .setup-provider-actions,
    .setup-wizard[b-34g2ksxmgn]  .setup-email-action {
        align-items: stretch;
        flex-direction: column;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-provider-link {
        justify-content: center;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-module-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-module-toggle {
        align-self: flex-end;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-module-list,
    .setup-wizard[b-34g2ksxmgn]  .setup-receipt-grid {
        grid-template-columns: 1fr;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-receipt-tile--modules {
        grid-column: auto;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-module-receipt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-module-receipt {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .setup-wizard[b-34g2ksxmgn]  .setup-complete-card .setup-card-body {
        padding: 22px 16px;
    }
}
/* /Components/Pages/TeamDayBoard.razor.rz.scp.css */
.cal-team-day-copy[b-w9tb1t4ur8] {
    margin: 0 0 8px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.cal-col-avatar[b-w9tb1t4ur8] {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--cal-team-avatar, var(--mud-palette-primary));
    color: #fff;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-col-name[b-w9tb1t4ur8] {
    overflow: hidden;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-col-load[b-w9tb1t4ur8] {
    margin-top: 1px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.cal-col-load--over[b-w9tb1t4ur8] {
    color: var(--itrela-status-warning);
    font-weight: var(--itrela-weight-strong);
}

.cal-travel-total[b-w9tb1t4ur8] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: var(--mud-palette-warning);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-travel-total[b-w9tb1t4ur8]  .mud-icon-root {
    font-size: 15px;
}

.cal-off-chip[b-w9tb1t4ur8] {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: var(--itrela-radius-control);
    color: var(--itrela-status-warning);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 92%);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-free[b-w9tb1t4ur8] {
    padding: 4px 6px;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--itrela-status-ok);
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 96%);
    font-size: var(--itrela-text-12);
}

.cal-team-day-holiday[b-w9tb1t4ur8] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-warning), transparent 60%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 93%);
    color: color-mix(in oklab, var(--mud-palette-warning), var(--mud-palette-text-primary) 35%);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-scroll[b-w9tb1t4ur8] {
    min-width: 0;
    max-height: min(72vh, 920px);
    overflow: auto;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    scrollbar-width: thin;
}

.cal-team-day-board[b-w9tb1t4ur8] {
    --cal-team-head-height: 116px;
    --cal-team-all-day-height: 58px;
    --cal-team-gutter-width: 68px;
    position: relative;
    display: grid;
    grid-template-columns: var(--cal-team-gutter-width) repeat(var(--cal-team-columns), minmax(160px, 1fr));
    grid-auto-flow: column;
    min-width: calc(var(--cal-team-gutter-width) + var(--cal-team-columns) * 160px);
}

.cal-team-day-gutter[b-w9tb1t4ur8],
.cal-team-day-track[b-w9tb1t4ur8] {
    min-width: 0;
}

.cal-team-day-gutter[b-w9tb1t4ur8] {
    position: sticky;
    left: 0;
    z-index: 8;
    background: var(--mud-palette-surface);
    box-shadow: 1px 0 0 color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
}

.cal-team-day-gutter-head[b-w9tb1t4ur8],
.cal-team-day-head[b-w9tb1t4ur8] {
    position: sticky;
    top: 0;
    z-index: 7;
    height: var(--cal-team-head-height);
    box-sizing: border-box;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
    background: color-mix(in oklab, var(--mud-palette-surface), var(--mud-palette-background) 16%);
}

.cal-team-day-gutter-head[b-w9tb1t4ur8] {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px 8px;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-head[b-w9tb1t4ur8] {
    padding: 0;
    border-right: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.cal-team-day-head[b-w9tb1t4ur8]  .cal-team-day-head-zone {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.cal-team-day-head-content[b-w9tb1t4ur8] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.cal-team-day-head[b-w9tb1t4ur8]  .cal-team-day-head-preview {
    position: absolute;
    z-index: 3;
    inset: auto 7px 7px;
    padding: 5px 7px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 45%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-surface) 91%);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-head-copy[b-w9tb1t4ur8] {
    min-width: 0;
}

.cal-team-day-gutter-all-day[b-w9tb1t4ur8],
.cal-team-day-all-day[b-w9tb1t4ur8] {
    height: var(--cal-team-all-day-height);
    box-sizing: border-box;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 64%);
}

.cal-team-day-gutter-all-day[b-w9tb1t4ur8] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-all-day[b-w9tb1t4ur8] {
    display: flex;
    gap: 4px;
    align-items: stretch;
    padding: 5px;
    overflow: auto hidden;
    border-right: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.cal-team-day-all-day-empty[b-w9tb1t4ur8] {
    margin: auto;
    color: var(--mud-palette-text-disabled);
}

.cal-team-day-all-day-item[b-w9tb1t4ur8] {
    flex: 0 0 min(180px, 100%);
    min-width: 0;
}

.cal-team-day-all-day-item[b-w9tb1t4ur8]  .cal-evt,
.cal-team-day-all-day-item[b-w9tb1t4ur8]  .mud-drop-item,
.cal-team-day-all-day-item[b-w9tb1t4ur8]  .cal-evt-menu,
.cal-team-day-all-day-item[b-w9tb1t4ur8]  .mud-menu,
.cal-team-day-all-day-item[b-w9tb1t4ur8]  .mud-menu-activator {
    width: 100%;
    height: 100%;
}

.cal-team-day-all-day-item[b-w9tb1t4ur8]  .cal-evt {
    padding: 4px 6px;
    overflow: hidden;
}

.cal-team-day-all-day-item[b-w9tb1t4ur8]  .e-client {
    display: none;
}

.cal-team-day-gutter-canvas[b-w9tb1t4ur8],
.cal-team-day-canvas[b-w9tb1t4ur8] {
    position: relative;
    height: var(--cal-team-canvas-height);
    min-height: 1px;
}

.cal-team-day-gutter-canvas[b-w9tb1t4ur8] {
    background: var(--mud-palette-surface);
}

.cal-team-day-hour[b-w9tb1t4ur8] {
    position: absolute;
    top: var(--cal-offset);
    right: 8px;
    transform: translateY(-50%);
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.cal-team-day-track[b-w9tb1t4ur8]  .cal-team-day-zone {
    display: block;
    min-height: 1px;
    border-right: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 42%);
}

.cal-team-day-track[b-w9tb1t4ur8]  .cal-can-drop {
    box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--mud-palette-primary), transparent 55%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}

.cal-team-day-track[b-w9tb1t4ur8]  .cal-can-drop .cal-drop-hint {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cal-team-day-canvas[b-w9tb1t4ur8] {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0 calc(var(--cal-team-half-hour-height) - 1px),
        color-mix(in oklab, var(--mud-palette-lines-default), transparent 67%) calc(var(--cal-team-half-hour-height) - 1px) var(--cal-team-half-hour-height));
}

.cal-team-day-shade[b-w9tb1t4ur8] {
    position: absolute;
    z-index: 0;
    inset-inline: 0;
    top: var(--cal-offset);
    height: var(--cal-duration);
    pointer-events: none;
    background: repeating-linear-gradient(
        -45deg,
        color-mix(in oklab, var(--mud-palette-text-secondary), transparent 96%) 0 7px,
        color-mix(in oklab, var(--mud-palette-text-secondary), transparent 91%) 7px 8px);
}

.cal-team-day-track--off .cal-team-day-shade[b-w9tb1t4ur8] {
    background: repeating-linear-gradient(
        -45deg,
        color-mix(in oklab, var(--mud-palette-warning), transparent 95%) 0 7px,
        color-mix(in oklab, var(--mud-palette-warning), transparent 88%) 7px 8px);
}

.cal-team-day-position[b-w9tb1t4ur8] {
    position: absolute;
    z-index: 2;
    top: calc(var(--cal-offset) + 2px);
    left: calc(var(--cal-lane-left) + 3px);
    width: calc(var(--cal-lane-width) - 6px);
    height: max(28px, calc(var(--cal-duration) - 4px));
    min-width: 0;
}

.cal-team-day-position[b-w9tb1t4ur8]  .cal-evt-menu,
.cal-team-day-position[b-w9tb1t4ur8]  .mud-drop-item,
.cal-team-day-position[b-w9tb1t4ur8]  .cal-evt-shell,
.cal-team-day-position[b-w9tb1t4ur8]  .mud-menu,
.cal-team-day-position[b-w9tb1t4ur8]  .mud-menu-activator,
.cal-team-day-position[b-w9tb1t4ur8]  .cal-evt {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.cal-team-day-position[b-w9tb1t4ur8]  .cal-evt {
    overflow: hidden;
}

.cal-team-day-summary-position[b-w9tb1t4ur8] {
    left: 3px;
    width: calc(100% - 6px);
}

.cal-team-day-summary-position[b-w9tb1t4ur8]  .cal-team-day-summary-menu,
.cal-team-day-summary-position[b-w9tb1t4ur8]  .mud-menu,
.cal-team-day-summary-position[b-w9tb1t4ur8]  .mud-menu-activator {
    display: block;
    width: 100%;
    height: 100%;
}

.cal-team-day-summary[b-w9tb1t4ur8] {
    width: 100%;
    height: 100%;
    border: 1px solid color-mix(in oklab, var(--mud-palette-warning), transparent 42%);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: var(--itrela-radius-control);
    padding: 7px 8px;
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 91%);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-align: left;
    cursor: pointer;
}

.cal-team-day-summary-pop[b-w9tb1t4ur8] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: min(360px, 82vw);
    padding: 10px;
}

.cal-conflict-note[b-w9tb1t4ur8] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--itrela-status-warning);
    font-size: var(--itrela-text-12);
}

.cal-team-day-summary-item[b-w9tb1t4ur8]  .cal-evt-menu,
.cal-team-day-summary-item[b-w9tb1t4ur8]  .mud-menu,
.cal-team-day-summary-item[b-w9tb1t4ur8]  .mud-menu-activator,
.cal-team-day-summary-item[b-w9tb1t4ur8]  .cal-evt {
    display: block;
    width: 100%;
}

.cal-team-day-now-line[b-w9tb1t4ur8] {
    position: absolute;
    z-index: 5;
    top: calc(var(--cal-team-head-height) + var(--cal-team-all-day-height) + var(--cal-offset));
    left: var(--cal-team-gutter-width);
    right: 0;
    border-top: 2px solid var(--mud-palette-error);
    pointer-events: none;
}

.cal-team-day-now-line span[b-w9tb1t4ur8] {
    position: absolute;
    top: -9px;
    left: 3px;
    padding: 0 4px;
    border-radius: var(--itrela-radius-small);
    background: var(--mud-palette-error);
    color: var(--mud-palette-error-text);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-no-hours[b-w9tb1t4ur8],
.cal-off-chip[b-w9tb1t4ur8],
.cal-free[b-w9tb1t4ur8] {
    display: block;
    width: fit-content;
    margin-top: 4px;
}

.cal-team-day-no-hours[b-w9tb1t4ur8] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-team-day-canvas > .cal-drop-hint[b-w9tb1t4ur8] {
    position: absolute;
    z-index: 4;
    inset: 8px;
    height: fit-content;
    pointer-events: none;
    display: none;
    padding: 14px;
    border: 1px dashed color-mix(in oklab, var(--mud-palette-primary), var(--mud-palette-lines-default) 20%);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 96%);
}

.cal-drop-hint-title[b-w9tb1t4ur8] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.cal-drop-hint-sub[b-w9tb1t4ur8] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.cal-drop-hint-travel[b-w9tb1t4ur8] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--mud-palette-warning);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.cal-drop-hint-over[b-w9tb1t4ur8] {
    color: var(--itrela-status-warning);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

@media (max-width: 900px) {
    .cal-team-day-scroll[b-w9tb1t4ur8] {
        max-height: none;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cal-team-day-board[b-w9tb1t4ur8] {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .cal-team-day-gutter[b-w9tb1t4ur8],
    .cal-team-day-shade[b-w9tb1t4ur8],
    .cal-team-day-now-line[b-w9tb1t4ur8] {
        display: none;
    }

    .cal-team-day-track[b-w9tb1t4ur8] {
        overflow: hidden;
        border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
        border-radius: var(--itrela-radius-control);
        background: var(--mud-palette-surface);
    }

    .cal-team-day-head[b-w9tb1t4ur8] {
        position: static;
        height: auto;
        min-height: 72px;
        border-right: 0;
    }

    .cal-team-day-all-day[b-w9tb1t4ur8] {
        height: auto;
        min-height: 0;
        overflow: visible;
        border-right: 0;
    }

    .cal-team-day-all-day:has(.cal-team-day-all-day-empty)[b-w9tb1t4ur8] {
        display: none;
    }

    .cal-team-day-track[b-w9tb1t4ur8]  .cal-team-day-zone,
    .cal-team-day-canvas[b-w9tb1t4ur8] {
        height: auto !important;
        min-height: 0;
    }

    .cal-team-day-canvas[b-w9tb1t4ur8] {
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding: 8px;
        background-image: none;
    }

    .cal-team-day-position[b-w9tb1t4ur8] {
        position: static;
        width: auto;
        height: auto;
    }

    .cal-team-day-position[b-w9tb1t4ur8]  .cal-evt,
    .cal-team-day-position[b-w9tb1t4ur8]  .cal-evt-menu,
    .cal-team-day-position[b-w9tb1t4ur8]  .mud-menu,
    .cal-team-day-position[b-w9tb1t4ur8]  .mud-menu-activator {
        height: auto;
    }

    .cal-team-day-canvas > .cal-drop-hint[b-w9tb1t4ur8] {
        position: static;
    }
}
/* /Components/Pages/Tickets/AlertBurstBanner.razor.rz.scp.css */
.alert-burst[b-t7x49ctpl2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.alert-burst__message[b-t7x49ctpl2],
.alert-burst__actions[b-t7x49ctpl2] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.alert-burst__message[b-t7x49ctpl2]  .mud-icon-root {
    color: var(--mud-palette-warning-darken);
}

@media (max-width: 959px) {
    .alert-burst[b-t7x49ctpl2] {
        align-items: flex-start;
        flex-direction: column;
    }

    .alert-burst__actions[b-t7x49ctpl2] {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/Tickets/AlertGroupHeader.razor.rz.scp.css */
.alert-group[b-2bpo2yjg3b] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    padding: 11px var(--itrela-workbench-row-pad);
    /* Head band over the grouped rows: fill and hairline follow
       .data-grid-container's head in app.css, which is the source of truth. */
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 42%);
}

.alert-group__toggle[b-2bpo2yjg3b],
.alert-group__actions[b-2bpo2yjg3b] {
    display: flex;
    align-items: center;
}

.alert-group__toggle[b-2bpo2yjg3b] {
    min-width: 0;
    gap: 0.65rem;
    border: 0;
    padding: 0.25rem;
    color: var(--mud-palette-text-primary);
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.alert-group__title[b-2bpo2yjg3b] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

/* Both icons render through MudIcon, whose root never carries this file's
   scope attribute — reach them from the toggle button (CSS-isolation rule). */
.alert-group__toggle[b-2bpo2yjg3b]  .alert-group__caret {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    font-size: 20px;
    color: var(--mud-palette-text-secondary);
}

.alert-group__toggle[b-2bpo2yjg3b]  .alert-group__plug {
    font-size: var(--itrela-text-16);
    color: var(--mud-palette-secondary);
}

.alert-group__meta[b-2bpo2yjg3b] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.alert-group__count[b-2bpo2yjg3b] {
    font-variant-numeric: tabular-nums;
    font-weight: var(--itrela-weight-strong);
}

.alert-group__actions[b-2bpo2yjg3b] {
    flex: 0 0 auto;
    gap: 0.25rem;
}

.alert-group__action[b-2bpo2yjg3b] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 34px;
    min-height: 34px;
    border: 0;
    padding: 0 8px;
    color: var(--mud-palette-primary);
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
    cursor: pointer;
}

.alert-group__action:hover[b-2bpo2yjg3b],
.alert-group__action:focus-visible[b-2bpo2yjg3b] {
    text-decoration: underline;
}

.alert-group__action:focus-visible[b-2bpo2yjg3b] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), transparent 45%);
    outline-offset: -2px;
}

.alert-group__action:disabled[b-2bpo2yjg3b] {
    color: var(--mud-palette-text-disabled);
    text-decoration: none;
    cursor: default;
}

@media (max-width: 700px) {
    .alert-group[b-2bpo2yjg3b] {
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        padding: 8px 12px;
    }

    .alert-group__toggle[b-2bpo2yjg3b] {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}
/* /Components/Pages/Tickets/Details.razor.rz.scp.css */
/* Top-level Ticket Detail orchestration styles.
   Header, triage strip, tasks strip, stream/composer, and context rail each own
   their scoped stylesheets. Tokens only — zero hardcoded hexes or white mixes. */

.ticket-detail[b-1rnvvvl383] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.ticket-triage-banner[b-1rnvvvl383] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    font-size: var(--itrela-text-13);
}

.ticket-triage-banner-actions[b-1rnvvvl383] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
}

.ticket-triage-suggestion[b-1rnvvvl383] {
    margin-top: var(--itrela-space-4);
    padding-top: var(--itrela-space-8);
    border-top: 1px solid color-mix(in oklab, var(--itrela-status-warning-bright), transparent 70%);
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
}

.ticket-triage-suggestion-chips[b-1rnvvvl383] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ticket-triage-suggestion-rationale[b-1rnvvvl383] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.ticket-group-banner[b-1rnvvvl383] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: var(--itrela-radius-surface);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-13);
}

.ticket-group-banner-copy[b-1rnvvvl383] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
    min-width: 0;
}
/* /Components/Pages/Tickets/Dialogs/AddTimeEntryDialog.razor.rz.scp.css */
.time-reply-note[b-7r0gphwiss] {
    padding: 10px 12px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 45%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    overflow-wrap: anywhere;
}

.time-quick-chips[b-7r0gphwiss] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* PARITY-2e: the read-only reply preview's key/value composition. */
.time-reply-note[b-7r0gphwiss] {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.time-reply-note-k[b-7r0gphwiss] {
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
}

.time-reply-note-v[b-7r0gphwiss] {
    font-style: italic;
    min-width: 0;
}

/* The ticket the dialog logs against, under the title. */
.time-context[b-7r0gphwiss] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-bottom: 10px;
}

/* Work-type suggestion: help line with quiet text links. */
.time-suggestion-hint[b-7r0gphwiss] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.time-why-link[b-7r0gphwiss],
.time-prefill-use[b-7r0gphwiss] {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.time-why-link:hover[b-7r0gphwiss],
.time-prefill-use:hover[b-7r0gphwiss] {
    text-decoration: underline;
}

.time-why-link:focus-visible[b-7r0gphwiss],
.time-prefill-use:focus-visible[b-7r0gphwiss] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
    border-radius: var(--itrela-radius-small);
}

.time-prefill-use[b-7r0gphwiss] {
    margin-left: 4px;
}

/* PARITY-2e round 1: drawn field labels with the required asterisk, and the
   "or type" hint riding the quick-chips row. */
.time-field-label[b-7r0gphwiss] {
    display: block;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    margin-bottom: 4px;
    color: var(--mud-palette-text-primary);
}

.time-req[b-7r0gphwiss] {
    color: var(--mud-palette-error);
}

.time-type-hint[b-7r0gphwiss] {
    align-self: center;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Tickets/Dialogs/AssignScheduleDialog.razor.rz.scp.css */
.assign-sched-form[b-iei4c3qw2y] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: min(420px, 100%);
}

.assign-sched-grid[b-iei4c3qw2y] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.assign-sched-person[b-iei4c3qw2y] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.assign-sched-avatar[b-iei4c3qw2y] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--assign-sched-bg, var(--mud-palette-primary));
    color: #fff;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
}

.assign-sched-load[b-iei4c3qw2y] {
    margin-left: auto;
    padding-left: 12px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .assign-sched-grid[b-iei4c3qw2y] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Tickets/Dialogs/CreateTicketDialog.razor.rz.scp.css */
/* Section captions — same voice as the service-desk sidebar titles. */
.ctd-section[b-qpgirqkzy6] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
    margin-bottom: 8px;
}

/* Duplicate-awareness hint under the client picker */
.ctd-hint[b-qpgirqkzy6] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 2px 8px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ctd-hint[b-qpgirqkzy6]  .mud-icon-root {
    font-size: 0.95rem;
    color: var(--mud-palette-info);
    flex: 0 0 auto;
    margin-top: 1px;
}

.ctd-hint-strong[b-qpgirqkzy6] {
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

/* Priority color dots in the dropdown — mirrors the list's priority pills. */
.ctd-dot[b-qpgirqkzy6] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--itrela-radius-pill);
    margin-right: 8px;
    vertical-align: baseline;
}

.ctd-dot--low[b-qpgirqkzy6] {
    background: var(--mud-palette-text-secondary);
    opacity: 0.6;
}

.ctd-dot--medium[b-qpgirqkzy6] {
    background: var(--mud-palette-secondary);
}

.ctd-dot--high[b-qpgirqkzy6] {
    background: var(--itrela-status-warning-bright);
}

.ctd-dot--critical[b-qpgirqkzy6] {
    background: var(--itrela-status-critical);
}

/* Assign row: select + "Assign to me" quick action */
.ctd-assign[b-qpgirqkzy6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctd-assign[b-qpgirqkzy6]  .ctd-assign-select {
    flex: 1 1 auto;
    min-width: 0;
}

.ctd-assign[b-qpgirqkzy6]  .ctd-assign-me {
    flex: 0 0 auto;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}
/* /Components/Pages/Tickets/Dialogs/DocLookupDialog.razor.rz.scp.css */
.doc-lookup-footer[b-ocv3euq9xt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    width: 100%;
}

.doc-lookup-footer[b-ocv3euq9xt]  .doc-lookup-record-error {
    margin-right: auto;
}

.doc-lookup-footer[b-ocv3euq9xt]  .doc-lookup-miss-button,
.doc-lookup-recorded[b-ocv3euq9xt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    height: 34px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.doc-lookup-recorded[b-ocv3euq9xt] {
    color: var(--itrela-status-ok);
}

.doc-lookup-row[b-ocv3euq9xt]  .doc-lookup-apply {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .doc-lookup-row[b-ocv3euq9xt] {
        flex-wrap: wrap;
    }

    .doc-lookup-row[b-ocv3euq9xt]  .doc-lookup-apply {
        margin-left: 28px;
    }

    .doc-lookup-footer[b-ocv3euq9xt] {
        flex-wrap: wrap;
    }

    .doc-lookup-footer[b-ocv3euq9xt]  .doc-lookup-record-error {
        flex-basis: 100%;
    }
}
/* /Components/Pages/Tickets/Dialogs/KnowledgeCaptureDialog.razor.rz.scp.css */
.knowledge-capture-dialog[b-fjibm44gcu] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-section-gap);
}

.knowledge-capture-label[b-fjibm44gcu] {
    margin-bottom: 5px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.knowledge-capture-built[b-fjibm44gcu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.knowledge-capture-facts[b-fjibm44gcu] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 11px 13px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.55;
}

.knowledge-capture-facts > span[b-fjibm44gcu] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.knowledge-capture-facts strong[b-fjibm44gcu] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.knowledge-capture-chips[b-fjibm44gcu] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.knowledge-capture-fields[b-fjibm44gcu] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

@media (max-width: 600px) {
    .knowledge-capture-fields[b-fjibm44gcu] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Tickets/Dialogs/ManageReplySnippetsDialog.razor.rz.scp.css */
.reply-snippet-list[b-0kjnn41tyi] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reply-snippet-row[b-0kjnn41tyi] {
    padding: 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
    border-radius: var(--itrela-radius-control);
}

.reply-snippet-row-heading[b-0kjnn41tyi] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.reply-snippet-title[b-0kjnn41tyi] {
    flex: 1;
}
/* /Components/Pages/Tickets/Dialogs/MoveEntryDialog.razor.rz.scp.css */
.move-entry-form[b-yim5924u04],
.move-entry-copy[b-yim5924u04],
.move-entry-conflicts[b-yim5924u04] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.move-entry-person[b-yim5924u04] {
    display: flex;
    align-items: baseline;
    gap: 5px;
    width: 100%;
}

.move-entry-load[b-yim5924u04] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.move-entry-copy p[b-yim5924u04] {
    margin: 0;
}

.move-entry-loading[b-yim5924u04] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.move-entry-conflicts[b-yim5924u04]  .mud-chip {
    align-self: flex-start;
    max-width: 100%;
    height: auto;
}
/* /Components/Pages/Tickets/Dialogs/ResolveTicketDialog.razor.rz.scp.css */
/* The line under the form: what resolving will do, in the command's words.
   It holds two lines of room from the start, so the sentence arriving (or a
   newer one replacing it) does not move the buttons. */
.resolve-preview[b-frx619dgk9],
.resolve-refusal[b-frx619dgk9] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-14);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.resolve-preview[b-frx619dgk9] {
    min-height: calc(2 * 1.45em + 20px);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 45%);
    color: var(--mud-palette-text-primary);
}

.resolve-preview[data-waiting][b-frx619dgk9] {
    color: var(--mud-palette-text-secondary);
}

.resolve-preview[data-refused][b-frx619dgk9] {
    color: var(--mud-palette-error);
}

.resolve-refusal[b-frx619dgk9] {
    margin-top: 8px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-error), transparent 60%);
    color: var(--mud-palette-error);
}

.resolve-preview[b-frx619dgk9]  .resolve-preview-icon,
.resolve-refusal[b-frx619dgk9]  .resolve-preview-icon {
    flex: 0 0 auto;
    margin-top: 1px;
}

/* Grouped resolve is not part of the command yet, so it gets its own fixed
   line under the command's sentence (R51). */
.resolve-grouped-note[b-frx619dgk9] {
    margin-top: 6px;
    padding: 0 12px;
    font-size: var(--itrela-text-13);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

/* The buttons sit in the dialog's own actions row; this wrapper only lets the
   busy look below reach Resolve. While a send runs, Resolve keeps the focus
   but looks and reads as disabled (R53). */
.resolve-actions[b-frx619dgk9] {
    display: contents;
}

.resolve-actions[b-frx619dgk9]  .mud-button-root[aria-disabled="true"] {
    color: var(--mud-palette-action-disabled);
    background-color: var(--mud-palette-action-disabled-background);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}
/* /Components/Pages/Tickets/Dialogs/RunJobDialog.razor.rz.scp.css */
.rj-title[b-g8f8o2tm6l] {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.rj-target[b-g8f8o2tm6l] {
    background: var(--mud-palette-background-grey);
    border-radius: var(--itrela-radius-control);
    padding: .6rem .75rem;
    margin-bottom: 1rem;
}

.rj-target-line[b-g8f8o2tm6l] {
    font-weight: var(--itrela-weight-medium);
}

.rj-target-lock[b-g8f8o2tm6l],
.rj-hint[b-g8f8o2tm6l] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    margin-top: .2rem;
}

.rj-section-label[b-g8f8o2tm6l] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    color: var(--mud-palette-text-secondary);
    margin-bottom: .35rem;
}

.rj-job[b-g8f8o2tm6l] {
    margin-bottom: .5rem;
}

.rj-job-what[b-g8f8o2tm6l] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
    margin-left: 2rem;
    margin-top: -.25rem;
}

.rj-approval[b-g8f8o2tm6l] {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    background: var(--mud-palette-background-grey);
    border-radius: var(--itrela-radius-control);
    padding: .6rem .75rem;
    margin-top: 1rem;
    font-size: var(--itrela-text-14);
}

.rj-billable[b-g8f8o2tm6l] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    margin-top: 1rem;
}
/* /Components/Pages/Tickets/Dialogs/TimeImportDialogContent.razor.rz.scp.css */
.time-import-source-select[b-sv7gd9k6p8] {
    max-width: 16rem;
}

.time-import-table-scroll[b-sv7gd9k6p8] {
    max-height: 27.5rem;
    overflow-y: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-small);
}

.time-import-results-scroll[b-sv7gd9k6p8] {
    max-height: 25rem;
}

.time-import-field-column[b-sv7gd9k6p8] {
    width: 13.75rem;
}

.time-import-required[b-sv7gd9k6p8],
.time-import-issue-codes[b-sv7gd9k6p8] {
    color: var(--mud-palette-error);
}
/* /Components/Pages/Tickets/LevelActionEvidence.razor.rz.scp.css */
.la-evidence[b-uz1bmxfz11] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: 1rem;
}

.la-ev-head[b-uz1bmxfz11] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: var(--itrela-weight-strong);
    margin-bottom: .75rem;
}

.la-ev-source[b-uz1bmxfz11] {
    display: flex;
    gap: .75rem;
    margin: .75rem 0;
}

.la-ev-num[b-uz1bmxfz11] {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--mud-palette-background-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.la-ev-line[b-uz1bmxfz11] {
    font-weight: var(--itrela-weight-medium);
}

.la-ev-warn[b-uz1bmxfz11] {
    color: var(--mud-palette-warning);
}

.la-ev-quote[b-uz1bmxfz11] {
    border-left: 3px solid var(--mud-palette-lines-default);
    padding-left: .6rem;
    margin: .35rem 0;
    font-variant-numeric: tabular-nums;
}

.la-ev-run[b-uz1bmxfz11] {
    font-family: var(--mud-typography-caption-family, monospace);
    word-spacing: normal;
}

.la-ev-step[b-uz1bmxfz11] {
    font-size: var(--itrela-text-14);
}

.la-ev-muted[b-uz1bmxfz11],
.la-ev-note[b-uz1bmxfz11] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.la-ev-note[b-uz1bmxfz11] {
    margin-top: .25rem;
}

.la-ev-verdict[b-uz1bmxfz11] {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.la-ev-machine-time[b-uz1bmxfz11] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    margin-top: .5rem;
}
/* /Components/Pages/Tickets/List.razor.rz.scp.css */
.sd-header[b-qx1w0226bs],
.sd-view-band[b-qx1w0226bs],
.sd-team-band[b-qx1w0226bs],
.sd-filter-band[b-qx1w0226bs],
.sd-alert-burst-band[b-qx1w0226bs],
.sd-monitoring-notice[b-qx1w0226bs],
.sd-bulkbar[b-qx1w0226bs],
.service-desk[b-qx1w0226bs],
.sd-footer[b-qx1w0226bs] {
    min-width: 0;
    width: 100%;
}

.sd-header[b-qx1w0226bs]  .page-header {
    width: 100%;
    align-items: center;
    padding-bottom: 0;
}

.sd-new-label-mobile[b-qx1w0226bs] {
    display: none;
}

.sd-team-toggle[b-qx1w0226bs] {
    display: none;
}

@media (max-width: 599.98px) {
    .sd-header[b-qx1w0226bs]  .page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .sd-header[b-qx1w0226bs]  .page-header-text {
        flex: 1 1 auto;
        min-width: 0;
        gap: 2px;
    }

    .sd-header[b-qx1w0226bs]  .page-subtitle {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sd-header[b-qx1w0226bs]  .page-header-actions {
        display: flex;
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        width: auto;
        gap: 6px;
    }

    .sd-header[b-qx1w0226bs]  .sd-header-secondary {
        display: none;
    }

    .sd-header[b-qx1w0226bs]  .sd-header-primary,
    .sd-header[b-qx1w0226bs]  .page-header-actions .mud-button-root {
        width: auto;
        margin: 0 !important;
    }

    .sd-new-label-desktop[b-qx1w0226bs] {
        display: none;
    }

    .sd-new-label-mobile[b-qx1w0226bs] {
        display: inline;
    }
}

.sd-muted[b-qx1w0226bs] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
    padding: 0;
}

.service-desk[b-qx1w0226bs] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* WorkbenchShell owns the frame, width and scroll region. This page-owned
   element only supplies the existing container query to the row list. */
.sd-main[b-qx1w0226bs] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    container-type: inline-size;
    container-name: sd-main;
}

/* ── List toolbar: search leads, filters disclosure beside it ─────── */
.sd-list-toolbar[b-qx1w0226bs] {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sd-search-wrap[b-qx1w0226bs] {
    position: relative;
    flex: 0 0 auto;
    width: 380px;
    max-width: 100%;
}

.sd-filter-band[b-qx1w0226bs]  .sd-search {
    width: 100%;
}

.sd-filter-band[b-qx1w0226bs]  .sd-search .mud-input-outlined {
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
}

.sd-filter-band[b-qx1w0226bs]  .sd-search .mud-input-outlined-border {
    border-radius: var(--itrela-radius-control);
    border-color: var(--mud-palette-lines-default) !important;
}

.sd-filter-band[b-qx1w0226bs]  .sd-search input {
    font-size: var(--itrela-text-13);
    /* Ellipsize a too-long placeholder/value instead of clipping mid-word. */
    text-overflow: ellipsis;
}

/* The resting-state "/" chip overlays the field's right edge; reserve its
   room (chip ≈ 20px at right: 10px) so the placeholder ellipsizes before
   the chip instead of running under it. */
.sd-search-wrap:has(.sd-search-kbd)[b-qx1w0226bs]  .sd-search input {
    padding-right: 36px;
}

/* The "/" shortcut hint chip inside the search box (resting state only). */
.sd-search-kbd[b-qx1w0226bs] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-family: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 10%);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    padding: 1px 5px;
    line-height: 1.5;
}

/* Hide desktop "/" search shortcut hint on phones and touch devices. */
@media (max-width: 599.98px), (hover: none) {
    .sd-search-kbd[b-qx1w0226bs] {
        display: none;
    }

    .sd-search-wrap:has(.sd-search-kbd)[b-qx1w0226bs]  .sd-search input {
        padding-right: 0;
    }
}

/* Steel-tinted notice band (Core Pages §M): the div paints the whole band —
   the WorkbenchBand root belongs to the shared component, so the tint goes
   on this page-owned element stretched over the band's padding. */
.sd-alert-visibility[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0.35rem;
    flex: 1 1 auto;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--itrela-workbench-band-pad));
    padding: 0 var(--itrela-workbench-band-pad);
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 93%);
    width: 100%;
}

.sd-alert-visibility[b-qx1w0226bs]  .sd-alert-visibility-icon {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: var(--mud-palette-secondary);
}

.sd-alert-visibility button[b-qx1w0226bs] {
    border: 0;
    padding: 0;
    color: var(--mud-palette-primary);
    background: transparent;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.sd-alert-visibility button:hover[b-qx1w0226bs] {
    text-decoration: underline;
}

.sd-alert-visibility button:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* Filter disclosure, sitting inside the toolbar next to the search box */
.sd-filter-disclosure[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 320px;
    min-width: 0;
    flex-wrap: wrap;
}

.sd-list-toolbar[b-qx1w0226bs]  .sd-sort-menu {
    flex: 0 0 auto;
    margin-left: auto;
}

.sd-sort-toggle[b-qx1w0226bs] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.sd-sort-caret[b-qx1w0226bs] {
    flex: 0 0 auto;
    line-height: 1;
}

.sd-sort-toggle:hover[b-qx1w0226bs] {
    border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 25%);
    color: var(--mud-palette-text-primary);
}

.sd-sort-toggle:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sd-filter-toggle[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.sd-filter-toggle:hover[b-qx1w0226bs] {
    border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 25%);
}

.sd-filter-toggle:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sd-filter-toggle-count[b-qx1w0226bs] {
    color: var(--mud-palette-text-secondary);
    font-weight: var(--itrela-weight-medium);
}

.sd-filter-band[b-qx1w0226bs]  .sd-filter-toggle .mud-icon-root,
.sd-filter-band[b-qx1w0226bs]  .sd-team-toggle .mud-icon-root {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
}

.sd-active-filters[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}

.sd-filter-band .sd-active-filters[b-qx1w0226bs]  .mud-chip {
    max-width: min(260px, 100%);
}

.sd-filter-band .sd-active-filters[b-qx1w0226bs]  .mud-chip-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-filter-band[b-qx1w0226bs]  .sd-active-filters-clear {
    margin-left: auto;
}

.sd-filterbar[b-qx1w0226bs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.sd-filter-band[b-qx1w0226bs]  .sd-filter {
    width: 145px;
    flex: 0 0 auto;
}

.sd-filter-band[b-qx1w0226bs]  .sd-filter--wide {
    width: 185px;
}

.sd-filter-band[b-qx1w0226bs]  .sd-filter .mud-input-outlined {
    background: color-mix(in oklab, var(--mud-palette-surface), #000 3%);
}

.sd-filter-band[b-qx1w0226bs]  .sd-filterbar-clear {
    margin-left: auto;
}

/* Search-active summary line under the toolbar */
.sd-search-summary[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 0;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-primary);
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.sd-search-summary strong[b-qx1w0226bs] {
    font-weight: var(--itrela-weight-strong);
}

.sd-search-clear[b-qx1w0226bs],
.sd-pager-link[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    padding: 0;
    color: var(--mud-palette-primary);
    background: transparent;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.sd-clear-glyph[b-qx1w0226bs] {
    font-size: var(--itrela-text-12);
    line-height: 1;
    opacity: 0.8;
}

.sd-search-clear:hover[b-qx1w0226bs],
.sd-pager-link:hover[b-qx1w0226bs] {
    text-decoration: underline;
}

/* Bulk action bar — teal-tinted strip of text links, per the mockup. */
.sd-bulkbar[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: var(--itrela-text-13);
}

.sd-bulkbar-count[b-qx1w0226bs] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
}

.sd-bulkbar-sep[b-qx1w0226bs] {
    color: var(--mud-palette-primary);
    opacity: 0.45;
}

.sd-bulkbar-link[b-qx1w0226bs] {
    border: 0;
    padding: 2px 0;
    background: transparent;
    font: inherit;
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.sd-bulkbar-link:hover:not(:disabled)[b-qx1w0226bs] {
    text-decoration: underline;
}

.sd-bulkbar-link:disabled[b-qx1w0226bs] {
    color: var(--mud-palette-text-secondary);
    opacity: 0.65;
    cursor: not-allowed;
}

.sd-bulkbar-link--muted[b-qx1w0226bs] {
    color: var(--mud-palette-text-secondary);
}

.sd-bulkbar-link:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* The Assign/Priority/Status menus wear the same text-link look. (Their menu
   items render in the popover portal, outside .sd-bulkbar.) */
.sd-bulkbar[b-qx1w0226bs]  .mud-button-root {
    min-width: 0;
    padding: 2px 4px;
    border: 0;
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.sd-bulkbar[b-qx1w0226bs]  .mud-button-root:hover {
    background: transparent;
    text-decoration: underline;
}

.sd-bulkbar[b-qx1w0226bs]  .mud-button-root:disabled {
    color: var(--mud-palette-text-secondary);
}

.sd-bulkbar-action-wrap[b-qx1w0226bs] {
    display: inline-flex;
}

/* ── Two-line ticket rows (the mockup's row composition) ─────────────
   checkbox | main (line 1: title + assign chip + status pill;
   line 2: TK-#### · contact · client · recency) | side (priority, due). */
.sd-rows[b-qx1w0226bs] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.sd-rows[b-qx1w0226bs]  .itrela-loading-region {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.sd-trow[b-qx1w0226bs] {
    box-sizing: border-box;
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 44px;
    padding: 2px var(--itrela-workbench-row-pad);
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    transition: background 0.12s ease;
}

.sd-rows > .sd-trow:first-child[b-qx1w0226bs] {
    border-top: none;
}

/* Group headers draw their own bottom border; don't double it on the row. */
.alert-group + .sd-trow[b-qx1w0226bs] {
    border-top: none;
}

.sd-trow:hover[b-qx1w0226bs] {
    /* Row-list hover is literally the table hover: --surface-q, which the
       theme carries as the table-striped token (striping itself is banned). */
    background: var(--mud-palette-table-striped);
}

.sd-trow:focus-visible[b-qx1w0226bs] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), transparent 45%);
    outline-offset: -2px;
}

/* Selected rows wear the accent tint — the same value as the bulk bar's
   accent band, so selection reads as one colour everywhere. */
.sd-trow--sel[b-qx1w0226bs],
.sd-trow--sel:hover[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

/* Members of an expanded alert group: no background change, just the drawn
   left keyline and indent (Core Pages §M2). */
.sd-trow--member[b-qx1w0226bs] {
    padding-left: 40px;
    border-left: 2px solid color-mix(in oklab, var(--mud-palette-secondary), transparent 60%);
}

.sd-trow-check[b-qx1w0226bs] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-top: 0;
}

.sd-trow-main[b-qx1w0226bs] {
    flex: 1 1 auto;
    min-width: 0;
}

.sd-trow-line1[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sd-trow-title[b-qx1w0226bs] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    /* Phone cards keep the full title; desktop pins and ellipsizes below. */
    white-space: normal;
    overflow-wrap: anywhere;
}

.sd-trow-title:hover[b-qx1w0226bs] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.sd-parent-ticket[b-qx1w0226bs] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.sd-trow-line2[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 3px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    min-width: 0;
}

.sd-trow-sep[b-qx1w0226bs] {
    opacity: 0.55;
}

.sd-ticket-id[b-qx1w0226bs] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-weight: var(--itrela-weight-strong);
    letter-spacing: normal;
    white-space: nowrap;
    flex: 0 0 auto;
}

.sd-trow-client[b-qx1w0226bs] {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sd-trow-client:hover[b-qx1w0226bs] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.sd-from-level[b-qx1w0226bs] {
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.sd-trow-machine[b-qx1w0226bs] {
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.sd-trow-recovered[b-qx1w0226bs] {
    color: var(--itrela-status-ok);
    font-weight: var(--itrela-weight-strong);
}

.sd-trow-schedule[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.sd-trow-schedule[b-qx1w0226bs]  .sd-trow-schedule-icon {
    width: 0.875rem;
    height: 0.875rem;
    font-size: 0.875rem;
    flex: 0 0 auto;
}

.sd-monitoring-notice[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sd-alerts-explainer[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.sd-freshness[b-qx1w0226bs] {
    flex: 0 0 auto;
}

.sd-alerts-explainer[b-qx1w0226bs]  .mud-icon-root {
    color: var(--mud-palette-secondary);
}

.sd-plug[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    color: var(--mud-palette-secondary);
    flex: 0 0 auto;
}

.sd-plug[b-qx1w0226bs]  .mud-icon-root {
    font-size: 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
}

.sd-trow-side[b-qx1w0226bs] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
}

/* Priority is always dot + word; pills remain reserved for status. */
.sd-priority-label[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
    min-width: 76px;
}

/* Status pills — pills are for status; dots are for priority. */
.sd-pill[b-qx1w0226bs] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1.5px 9px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-pill);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
    cursor: pointer;
    margin-top: 1px;
}

.sd-pill--new[b-qx1w0226bs] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 38%);
    background: transparent;
    color: var(--mud-palette-primary);
}

.sd-pill--inprogress[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 86%);
    color: var(--mud-palette-secondary);
}

.sd-pill--waiting[b-qx1w0226bs] {
    /* The bright amber grade carries tints; the text stays the text-grade
       --warn. The token lands with the priority-dot change — the fallback
       is its drawn value (#C2860B). */
    background: color-mix(in oklab, var(--itrela-status-warning-bright, #C2860B), transparent 86%);
    color: var(--mud-palette-warning);
}

.sd-pill--resolved[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--mud-palette-success), transparent 88%);
    color: color-mix(in oklab, var(--mud-palette-success), black 12%);
}

.sd-pill--closed[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 88%);
    color: var(--mud-palette-text-secondary);
}

.sd-pill:hover[b-qx1w0226bs],
.sd-pill:focus-visible[b-qx1w0226bs] {
    filter: brightness(0.96);
}

.sd-pill:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sd-caret[b-qx1w0226bs] {
    font-size: 0.5625rem;
    opacity: 0.55;
    margin-left: 2px;
}

/* Inline assignee chip: avatar + name + caret; dashed circle when unassigned. */
.sd-assign-chip[b-qx1w0226bs] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 7px 2px 3px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-pill);
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    cursor: pointer;
    margin-top: -1px;
}

.sd-assign-chip:hover[b-qx1w0226bs],
.sd-assign-chip:focus-visible[b-qx1w0226bs] {
    border-color: color-mix(in oklab, var(--mud-palette-lines-default), transparent 10%);
    background: var(--mud-palette-surface);
}

.sd-assign-chip:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sd-assign-avatar[b-qx1w0226bs] {
    width: 20px;
    height: 20px;
    border-radius: var(--itrela-radius-pill);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
    color: #fff;
    background: var(--sd-assign-bg, var(--mud-palette-primary));
    flex: 0 0 auto;
}

.sd-assign-avatar img[b-qx1w0226bs] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sd-assign-placeholder[b-qx1w0226bs] {
    width: 20px;
    height: 20px;
    border-radius: var(--itrela-radius-pill);
    border: 1.5px dashed color-mix(in oklab, var(--mud-palette-lines-default), var(--mud-palette-text-secondary) 35%);
    box-sizing: border-box;
    flex: 0 0 auto;
}

.sd-due[b-qx1w0226bs] {
    min-width: 118px;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    text-align: right;
}

.sd-due-label[b-qx1w0226bs] {
    font-weight: var(--itrela-weight-medium);
    opacity: 0.78;
}

.sd-due--over[b-qx1w0226bs] {
    color: var(--itrela-status-critical);
}

.sd-promote[b-qx1w0226bs] {
    width: 118px;
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-primary);
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}

.sd-promote:hover[b-qx1w0226bs] {
    text-decoration: underline;
}

.sd-promote:focus-visible[b-qx1w0226bs] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sd-trow-actions[b-qx1w0226bs] {
    flex: 0 0 auto;
}

/* SLA chips — response/resolution target attention (Phase 7.4).
   Inline at the end of line 2; absent on healthy tickets. */
.sd-badge[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid transparent;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
    word-spacing: var(--itrela-label-word-spacing);
    width: fit-content;
    white-space: nowrap;
}

.sd-sla[b-qx1w0226bs] {
    text-transform: none;
    letter-spacing: 0;
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
    font-size: var(--itrela-text-12);
    padding: 2px 8px;
}

.sd-sla--warn[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright, #C2860B), transparent 86%);
    border-color: color-mix(in oklab, var(--itrela-status-warning-bright, #C2860B), transparent 70%);
    color: var(--mud-palette-warning);
}

.sd-sla--overdue[b-qx1w0226bs] {
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 88%);
    border-color: color-mix(in oklab, var(--itrela-status-critical), transparent 74%);
    color: var(--itrela-status-critical);
}

/* Loading rows mirror the desktop checkbox | two-line main | side shape.
   LoadingSkeleton owns the shimmer; this page owns only its row geometry. */
.service-desk[b-qx1w0226bs]  .sd-loading-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 2px var(--itrela-workbench-row-pad);
}

.service-desk[b-qx1w0226bs]  .sd-loading-check {
    width: 14px;
    height: 14px;
    border-radius: var(--itrela-radius-small);
}

.service-desk[b-qx1w0226bs]  .sd-loading-main {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.service-desk[b-qx1w0226bs]  .sd-loading-title {
    width: min(68%, 560px);
}

.service-desk[b-qx1w0226bs]  .sd-loading-meta {
    width: min(44%, 360px);
    height: 8px;
}

.service-desk[b-qx1w0226bs]  .sd-loading-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-desk[b-qx1w0226bs]  .sd-loading-priority {
    width: 66px;
}

.service-desk[b-qx1w0226bs]  .sd-loading-due {
    width: 90px;
}

.sd-footer[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

/* Pager — one quiet footer line: "1–8 of 14 in “My queue” · Next →". */
.sd-pager[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Grouped Monitoring alerts card foot (the mockup's footer line). */
.sd-alerts-foot[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.sd-alerts-foot a[b-qx1w0226bs] {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.sd-alerts-foot a:hover[b-qx1w0226bs] {
    text-decoration: underline;
}

/* "…and N more" line at the end of an expanded alert-group preview — it
   wears the group's left keyline like the member rows above it. */
.sd-ag-more[b-qx1w0226bs] {
    padding: 9px var(--itrela-workbench-row-pad) 11px 40px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 40%);
    border-left: 2px solid color-mix(in oklab, var(--mud-palette-secondary), transparent 60%);
    font-size: var(--itrela-text-12);
}

.sd-ag-more-toggle[b-qx1w0226bs] {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.sd-ag-more-toggle:hover[b-qx1w0226bs] {
    text-decoration: underline;
}

.sd-muted-inline[b-qx1w0226bs] {
    color: var(--mud-palette-text-secondary);
}

.sd-card-foot-note[b-qx1w0226bs] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.sd-footer-spacer[b-qx1w0226bs] {
    flex: 1 1 auto;
}

.sd-keyboard-footer[b-qx1w0226bs] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.sd-keyboard-footer > span:not([aria-hidden])[b-qx1w0226bs] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sd-keyboard-footer .shortcut-help-key[b-qx1w0226bs] {
    min-width: 23px;
    padding: 0 5px;
    font-size: var(--itrela-text-12);
}

/* Height alone loses to nested control geometry: pin desktop rows at the
   drawn 44px and remove wrapping there. Phones keep the card layout and free
   wrapping below 701px, matching the measured-live Clients precedent. */
@media (min-width: 701px) {
    .sd-trow[b-qx1w0226bs] {
        height: 44px;
        overflow: hidden;
    }

    .sd-trow-line1[b-qx1w0226bs],
    .sd-trow-line2[b-qx1w0226bs] {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .sd-trow-title[b-qx1w0226bs],
    .sd-trow-contact[b-qx1w0226bs],
    .sd-trow-client[b-qx1w0226bs],
    .sd-trow-machine[b-qx1w0226bs],
    .sd-trow-recency[b-qx1w0226bs] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Desktop row columns (wider than the phone-card edge). Assignee, status,
   priority and due are fixed-width columns, all centred in the row like the
   checkbox and the row menu, so they start at the same x in every row
   whatever the assignee's name. Line 1 dissolves (display: contents): the
   title and line 2 stack as one block in the flexible track, and the two
   inline menus become grid items of .sd-trow-main. A long name ellipsizes;
   the chip's title keeps the full name. */
@container sd-main (width > 700px) {
    .sd-trow-main[b-qx1w0226bs] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 136px 120px;
        column-gap: 12px;
        align-items: center;
    }

    .sd-trow-line1[b-qx1w0226bs] {
        display: contents;
    }

    .sd-trow-title[b-qx1w0226bs] {
        grid-column: 1;
        grid-row: 1;
        line-height: 18px;
    }

    .sd-trow-line2[b-qx1w0226bs] {
        grid-column: 1;
        grid-row: 2;
        margin-top: 1px;
        line-height: 16px;
    }

    .sd-trow-line1[b-qx1w0226bs]  .mud-menu:has(.sd-assign-chip),
    .sd-trow-line1[b-qx1w0226bs]  .mud-menu:has(.sd-pill),
    .sd-trow-line1 > .sd-trow-recovered[b-qx1w0226bs] {
        grid-row: 1 / span 2;
        min-width: 0;
        max-width: 100%;
    }

    .sd-trow-line1[b-qx1w0226bs]  .mud-menu:has(.sd-assign-chip) {
        grid-column: 2;
    }

    .sd-trow-line1[b-qx1w0226bs]  .mud-menu:has(.sd-pill),
    .sd-trow-line1 > .sd-trow-recovered[b-qx1w0226bs] {
        grid-column: 3;
    }

    .sd-trow-line1[b-qx1w0226bs]  .mud-menu-activator {
        max-width: 100%;
    }

    .sd-assign-chip[b-qx1w0226bs],
    .sd-pill[b-qx1w0226bs] {
        max-width: 100%;
        margin-top: 0;
    }

    .sd-assign-chip > span:nth-child(2)[b-qx1w0226bs] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sd-priority-label[b-qx1w0226bs] {
        width: 76px;
    }

    .sd-due[b-qx1w0226bs] {
        text-align: left;
    }

    /* An SLA chip on line 2 keeps the line at its 16px height. */
    .sd-trow-line2 .sd-sla[b-qx1w0226bs] {
        padding-block: 0;
    }

    /* Line 2 is one line: its parts shrink and ellipsize together rather
       than one long fact squeezing the others to nothing or wrapping. */
    .sd-from-level[b-qx1w0226bs] {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .sd-trow-schedule[b-qx1w0226bs] {
        min-width: 0;
        overflow: hidden;
    }

    /* Who and for whom come first: when line 2 runs out of room the
       recency and schedule facts give way before the contact and client.
       The factor is that large so the contact and client lose less than a
       layout unit (no stray ellipsis) until the others are gone. */
    .sd-trow-recency[b-qx1w0226bs],
    .sd-trow-schedule[b-qx1w0226bs] {
        flex-shrink: 100000;
    }

    .sd-trow-schedule > span[b-qx1w0226bs] {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* A narrower desk (a half-screen window) gives the title block the room.
   The assignee shows its avatar and caret only: the name stays in the
   button for assistive technology and in the chip's title. Status, priority
   and due shrink to what their content needs (the longest status pill, the
   dot and "Medium", the date); an overdue date breaks onto a second line
   rather than losing its words. The checkbox and the row menu carry their
   own padding, so they need no extra gap. */
@container sd-main (700px < width < 1080px) {
    .sd-trow[b-qx1w0226bs] {
        gap: 0;
    }

    .sd-trow-main[b-qx1w0226bs] {
        grid-template-columns: minmax(0, 1fr) 40px 110px;
        column-gap: 8px;
    }

    /* The avatar chip ends in its own padding; the status pill sits close. */
    .sd-trow-line1[b-qx1w0226bs]  .mud-menu:has(.sd-pill),
    .sd-trow-line1 > .sd-trow-recovered[b-qx1w0226bs] {
        margin-left: -4px;
    }

    .sd-trow-side[b-qx1w0226bs] {
        gap: 10px;
        margin-left: 10px;
    }

    .sd-trow-actions[b-qx1w0226bs] {
        margin-left: -10px;
    }

    .sd-assign-chip[b-qx1w0226bs] {
        position: relative;
        padding-right: 3px;
    }

    .sd-assign-chip > span:nth-child(2)[b-qx1w0226bs] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .sd-priority-label[b-qx1w0226bs] {
        width: 58px;
        min-width: 0;
    }

    .sd-due[b-qx1w0226bs],
    .sd-promote[b-qx1w0226bs] {
        width: 72px;
        white-space: normal;
        line-height: 15px;
    }
}

@media (max-width: 700px) {
    /* No keyboard on a phone: hide the shortcut legend so the pager keeps the
       pinned footer to one line. Measured at 390px: the legend wrapped under
       the range label and the fixed-height footer clipped both. */
    .sd-keyboard-footer[b-qx1w0226bs] {
        display: none;
    }

    .sd-list-toolbar[b-qx1w0226bs] {
        padding-block: 8px;
    }

    .sd-search-wrap[b-qx1w0226bs] {
        width: 100%;
        flex: 1 0 100%;
    }

    .sd-filter-disclosure[b-qx1w0226bs] {
        flex-basis: 100%;
    }

    .sd-list-toolbar[b-qx1w0226bs]  .sd-sort-menu {
        display: none;
    }

    .sd-filterbar[b-qx1w0226bs] {
        padding-block: 8px;
    }

    .sd-filter-band[b-qx1w0226bs]  .sd-filter,
    .sd-filter-band[b-qx1w0226bs]  .sd-filter--wide {
        width: 100%;
        flex: 1 0 100%;
    }
}

/* ── Phone/tablet-card edge (<701px): full title, wrapping meta line,
   footer row with priority, status-adjacent chips, right-aligned due. ── */
@container sd-main (max-width: 700px) {

    .service-desk[b-qx1w0226bs]  .itrela-loading-skeleton {
        display: grid;
        gap: 10px;
        padding: 12px;
        background: var(--mud-palette-background);
    }

    .service-desk[b-qx1w0226bs]  .sd-loading-row {
        grid-template-columns: 20px minmax(0, 1fr);
        height: 86px;
        padding: 11px 13px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: var(--itrela-radius-surface);
        background: var(--mud-palette-surface);
    }

    .service-desk[b-qx1w0226bs]  .sd-loading-side {
        grid-column: 2;
        justify-content: space-between;
    }

    .sd-rows[b-qx1w0226bs] {
        gap: 10px;
        padding: 12px;
        background: var(--mud-palette-background);
    }

    .sd-trow[b-qx1w0226bs],
    .sd-trow--member[b-qx1w0226bs] {
        height: auto;
        min-height: 44px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 11px 13px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: var(--itrela-radius-surface);
        background: var(--mud-palette-surface);
    }

    .sd-trow--member[b-qx1w0226bs] {
        margin-left: 20px;
    }

    .sd-trow-main[b-qx1w0226bs] {
        flex: 1 1 calc(100% - 40px);
    }

    .sd-trow-line1[b-qx1w0226bs] {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .sd-trow-title[b-qx1w0226bs] {
        flex: 1 0 100%;
        white-space: normal;
    }

    .sd-trow-line2[b-qx1w0226bs] {
        flex-wrap: wrap;
    }

    .sd-trow-side[b-qx1w0226bs] {
        flex: 1 0 100%;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }

    .sd-due[b-qx1w0226bs],
    .sd-promote[b-qx1w0226bs] {
        width: auto;
        margin-left: auto;
    }

    .sd-priority-label[b-qx1w0226bs] {
        min-width: 0;
    }
}

/* Mobile compact toolbar (<=599.98px): keep search, Filters, and Team on one
   row so status view tabs + toolbar + header stay ~140px total and 3-4 ticket
   cards sit above the fold on 390x844. */
@media (max-width: 599.98px) {
    .sd-list-toolbar[b-qx1w0226bs] {
        min-height: 44px;
        gap: 6px;
        padding-block: 6px;
    }

    .sd-search-wrap[b-qx1w0226bs] {
        width: auto;
        flex: 1 1 130px;
        min-width: 0;
    }

    .sd-filter-disclosure[b-qx1w0226bs] {
        display: contents;
    }

    .sd-filter-toggle[b-qx1w0226bs],
    .sd-team-toggle[b-qx1w0226bs] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0 8px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: var(--itrela-radius-control);
        background: var(--mud-palette-surface);
        color: var(--mud-palette-text-primary);
        font: inherit;
        font-size: var(--itrela-text-12);
        font-weight: var(--itrela-weight-strong);
        white-space: nowrap;
        cursor: pointer;
    }

    .sd-filter-toggle--active[b-qx1w0226bs],
    .sd-team-toggle--active[b-qx1w0226bs] {
        border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 55%);
        background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
        color: var(--mud-palette-primary);
    }

    .sd-team-toggle:focus-visible[b-qx1w0226bs] {
        outline: 2px solid var(--mud-palette-primary);
        outline-offset: 2px;
    }

    .sd-active-filters[b-qx1w0226bs] {
        flex: 1 0 100%;
        order: 3;
    }
}
/* /Components/Pages/Tickets/RecurringTickets.razor.rz.scp.css */
/* Recurring tickets — WorkbenchShell owns the frame, band spacing and
   scrolling geometry. This file only connects the existing table to that
   chrome and hosts the empty state. */

/* The header band content fills the band. */
.recurring-header[b-6r4ekrao0h] {
    width: 100%;
    min-width: 0;
}

/* The list IS the workbench body: the shared data-grid standard stays, the
   container's card hairline and radius come off (the clients-grid idiom). */
.recurring-grid[b-6r4ekrao0h] {
    border: 0;
    border-radius: 0;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-col-cadence {
    width: 190px;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-col-due {
    width: 140px;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-col-assignee {
    width: 150px;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-col-ticket {
    width: 110px;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-col-actions {
    width: 120px;
}

.recurring-job-title[b-6r4ekrao0h] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
}

.recurring-window[b-6r4ekrao0h] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.recurring-window[b-6r4ekrao0h]  .mud-icon-root {
    flex: 0 0 auto;
}

.recurring-grid[b-6r4ekrao0h]  .recurring-actions-head,
.recurring-grid[b-6r4ekrao0h]  .recurring-actions {
    text-align: right;
    white-space: nowrap;
}

/* Phone rows (app.css): the job's client, site and template caption and its
   maintenance-window mark ride the quiet line or wait on the job, so the
   title cell keeps only the title. */
@media (max-width: 600px) {
    .recurring-grid[b-6r4ekrao0h]  .itrela-phone-title :is(.mud-typography-caption, .recurring-window) {
        display: none;
    }
}
/* /Components/Pages/Tickets/TicketAutoCloseNotice.razor.rz.scp.css */
.ticket-auto-close-notice[b-4q6gxajjtw] {
    flex: 1 0 100%;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.4;
}
/* /Components/Pages/Tickets/TicketComposerInput.razor.rz.scp.css */
/* The wrapper only carries the box's key and caret listeners; it takes no part
   in the composer's layout, so the picker and the box sit exactly where they did. */
.ticket-composer-input-host[b-qogk0nyqau] {
    display: contents;
}

/* ── Mentions (Phase 17.2) ─────────────────────────────────────────── */
/* Moved with the picker from Details.razor.css, with its values on the design
   tokens. The avatar repeats Details.razor.css's presence avatar, which styles
   the header's viewers; its initials use the mark size for text in a fixed box
   under 24px. */

.ticket-presence-avatar[b-qogk0nyqau] {
    width: 22px;
    height: 22px;
    border-radius: var(--itrela-radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
    color: white;
    background: color-mix(in oklab, var(--presence-color, var(--mud-palette-primary)), white 8%);
    border: 2px solid var(--mud-palette-surface);
    flex: 0 0 auto;
    cursor: default;
}

.ticket-mention-popup[b-qogk0nyqau] {
    display: flex;
    flex-direction: column;
    margin: var(--itrela-space-4) var(--itrela-space-12) 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    box-shadow: var(--itrela-shadow-float);
    overflow: hidden;
}

.ticket-mention-option[b-qogk0nyqau] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: 6px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: var(--mud-palette-text-primary);
}

.ticket-mention-option:hover[b-qogk0nyqau] {
    background: var(--mud-palette-action-default-hover);
}

/* The teammate Enter or Tab would choose: the keyboard's place in the list. */
.ticket-mention-option--active[b-qogk0nyqau],
.ticket-mention-option--active:hover[b-qogk0nyqau] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
}

.ticket-mention-name[b-qogk0nyqau] {
    font-weight: var(--itrela-weight-strong);
}

.ticket-mention-username[b-qogk0nyqau] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}
/* /Components/Pages/Tickets/TicketContextRail.razor.rz.scp.css */
.ticket-sidebar-wrap[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
    min-width: 0;
}

.ticket-sidebar-summary[b-vgl3gdm4t4] {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--itrela-radius-surface);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    text-align: left;
    cursor: pointer;
}

.ticket-sidebar-summary:focus-visible[b-vgl3gdm4t4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-sidebar-summary-hint[b-vgl3gdm4t4] {
    font-weight: var(--itrela-weight-regular);
    color: var(--mud-palette-text-secondary);
}

.ticket-sidebar[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.ticket-rail-card-head[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8);
    margin-bottom: var(--itrela-space-12);
}

.ticket-rail-heading[b-vgl3gdm4t4] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
}

.ticket-side-client[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ticket-side-avatar[b-vgl3gdm4t4] {
    width: 34px;
    height: 34px;
    border-radius: var(--itrela-radius-control);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
}

.ticket-side-avatar img[b-vgl3gdm4t4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-side-client-meta[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.ticket-rail-section[b-vgl3gdm4t4] {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--itrela-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-rail-section-head[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ticket-kv-k[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.ticket-kv[b-vgl3gdm4t4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
}

.ticket-kv-v[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
    text-align: right;
    overflow-wrap: anywhere;
}

.ticket-kv-link[b-vgl3gdm4t4] {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ticket-kv-link:focus-visible[b-vgl3gdm4t4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-small);
}

.ticket-side-person[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ticket-side-person-avatar[b-vgl3gdm4t4] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 84%);
    color: var(--mud-palette-text-primary);
}

.ticket-side-person-copy[b-vgl3gdm4t4] {
    min-width: 0;
    flex: 1 1 auto;
}

.ticket-side-person-name[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.ticket-side-sub[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-12);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.ticket-side-lines[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.ticket-side-line[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
    min-width: 0;
}

.ticket-side-link[b-vgl3gdm4t4] {
    color: var(--mud-palette-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ticket-side-link:hover[b-vgl3gdm4t4] {
    text-decoration: underline;
}

.ticket-side-empty[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
    line-height: 1.45;
}

.ticket-side-empty-inline[b-vgl3gdm4t4] {
    color: var(--mud-palette-text-secondary);
}

.ticket-asset-top[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ticket-asset-name[b-vgl3gdm4t4] {
    font-weight: var(--itrela-weight-strong);
}

.ticket-remote-row[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ticket-job-runs[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.ticket-job-run-line[b-vgl3gdm4t4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ticket-rail-lv-wrap[b-vgl3gdm4t4] {
    margin-inline: -16px;
}

.ticket-billing-sentence[b-vgl3gdm4t4] {
    margin-top: 4px;
}

.ticket-suggested-doc[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.ticket-group-rollup[b-vgl3gdm4t4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-group-list[b-vgl3gdm4t4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-group-row[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.ticket-group-row-copy[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.ticket-rail-foot[b-vgl3gdm4t4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
}

.ticket-rail-foot-note[b-vgl3gdm4t4] {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 960px) {
    .ticket-sidebar-summary[b-vgl3gdm4t4] {
        display: flex;
    }

    .ticket-sidebar-wrap:not(.ticket-sidebar-wrap--open) .ticket-sidebar[b-vgl3gdm4t4] {
        display: none;
    }
}
/* /Components/Pages/Tickets/TicketCredentialsCard.razor.rz.scp.css */
.ticket-credentials-card[b-zo08098081] {
    min-width: 0;
    padding: 15px 18px;
}

.ticket-credentials-head[b-zo08098081] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ticket-credentials-title[b-zo08098081] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
}

.ticket-credentials-foot[b-zo08098081] {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--itrela-line);
}

.ticket-credentials-count[b-zo08098081] {
    min-width: 0;
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-credentials-list[b-zo08098081] {
    display: grid;
}

.ticket-credential-entry + .ticket-credential-entry[b-zo08098081] {
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 52%);
}

.ticket-credential-row[b-zo08098081] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 2px;
    padding: 8px 0;
}

.ticket-credential-main[b-zo08098081] {
    min-width: 0;
    padding-right: 6px;
}

.ticket-credential-name-line[b-zo08098081] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-4) var(--itrela-space-8);
}

.ticket-credential-name[b-zo08098081] {
    min-width: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ticket-credential-username[b-zo08098081] {
    margin-top: 2px;
    overflow: hidden;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-credential-reveal[b-zo08098081] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 7px 9px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 55%);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
}

.ticket-credential-reveal code[b-zo08098081] {
    min-width: 0;
    flex: 1;
    color: var(--mud-palette-text-primary);
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-12);
    overflow-wrap: anywhere;
    user-select: all;
}

.ticket-credential-reveal span[b-zo08098081] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.ticket-credentials-card[b-zo08098081]  .ticket-credentials-all {
    display: inline-block;
    margin-top: 8px;
}
/* /Components/Pages/Tickets/TicketDetailHeader.razor.rz.scp.css */
.ticket-page-head[b-dkrunede9m] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    width: 100%;
    min-width: 0;
}

.ticket-breadcrumb[b-dkrunede9m] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.ticket-breadcrumb-sep[b-dkrunede9m] {
    opacity: 0.5;
}

.ticket-id-pill[b-dkrunede9m] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.ticket-header-status-trigger[b-dkrunede9m] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 4px 0 0;
    border: 0;
    border-radius: var(--itrela-radius-pill);
    background: transparent;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    transition: opacity var(--itrela-motion-fast) var(--itrela-ease);
}

.ticket-header-status-trigger:hover[b-dkrunede9m] {
    opacity: 0.85;
}

.ticket-header-status-trigger:focus-visible[b-dkrunede9m] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-header-status-trigger[b-dkrunede9m]  .ticket-header-status-caret {
    font-size: var(--itrela-text-14);
}

.ticket-main-actions[b-dkrunede9m] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
}

.ticket-timer-chip[b-dkrunede9m] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 10px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid color-mix(in oklab, var(--itrela-status-warning-bright), transparent 55%);
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 88%);
    color: var(--itrela-status-warning);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.ticket-presence-stack[b-dkrunede9m] {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}

.ticket-presence-avatar[b-dkrunede9m] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--itrela-chalk);
    background: var(--presence-color, var(--mud-palette-primary));
    border: 2px solid var(--mud-palette-surface);
    margin-left: -6px;
    user-select: none;
}

.ticket-presence-avatar:first-child[b-dkrunede9m] {
    margin-left: 0;
}

.ticket-presence-avatar--typing[b-dkrunede9m] {
    animation: ticket-presence-pulse-b-dkrunede9m 1.4s ease-in-out infinite;
}

@keyframes ticket-presence-pulse-b-dkrunede9m {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--presence-color, var(--mud-palette-primary)), transparent 45%); }
    50% { box-shadow: 0 0 0 4px transparent; }
}

.ticket-main-meta[b-dkrunede9m] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.ticket-dot[b-dkrunede9m] {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--mud-palette-lines-default);
}

.ticket-watch-link[b-dkrunede9m] {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 60%);
    transition: color var(--itrela-motion-fast) var(--itrela-ease);
}

.ticket-watch-link:hover[b-dkrunede9m] {
    color: var(--mud-palette-primary);
}

.ticket-watch-link:focus-visible[b-dkrunede9m] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-small);
}

@media (max-width: 599.98px) {
    .ticket-main-actions[b-dkrunede9m] {
        justify-content: flex-start;
        width: 100%;
    }
}
/* /Components/Pages/Tickets/TicketEpisodeEvidence.razor.rz.scp.css */
/* Machine entries: quiet, indented, behind a steel rule. Evidence in the
   ticket, never conversation — and never sent to the client.
   Steel, not the teal accent: these are annotation, not a brand moment, and
   not status. The rules used to name a --itrela-copper token with a hex fallback;
   that token was never defined anywhere, so the fallback — literal copper —
   is what had always rendered. */
.ep-pinned[b-d75tu4gpu0] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    margin: 0 0 10px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-left: 3px solid var(--mud-palette-secondary);
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 94%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-align: left;
    cursor: pointer;
}

.ep-pinned:hover[b-d75tu4gpu0] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 88%);
}

.ep-pinned-text[b-d75tu4gpu0] {
    flex: 1 1 auto;
    min-width: 0;
}

.ep-pinned[b-d75tu4gpu0]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-secondary);
}

.ep-block[b-d75tu4gpu0] {
    margin: 4px 0 12px;
    padding-left: 14px;
    border-left: 3px solid var(--mud-palette-secondary);
}

.ep-reading[b-d75tu4gpu0] {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 92%);
}

.ep-reading[b-d75tu4gpu0]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
}

.ep-reading-body[b-d75tu4gpu0] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ep-reading-text[b-d75tu4gpu0] {
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-primary);
}

.ep-reading-attrib[b-d75tu4gpu0] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ep-entries[b-d75tu4gpu0] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-entry-head[b-d75tu4gpu0] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.ep-entry-head--ok[b-d75tu4gpu0] {
    color: var(--itrela-status-ok);
}

.ep-entry-meta[b-d75tu4gpu0] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
}
/* /Components/Pages/Tickets/TicketJobRun.razor.rz.scp.css */
/* Composed chrome owns the column and the head band; this file styles only
   the job-run content inside them. */

/* ── Composed head: back link stacked over the PageHeader ──────────────
   No padding of its own: the shell holds the back link to the way back's
   one slot above the title, so this title starts where every other record
   page's does. */
.jr-chrome-head[b-2qbdbw0nxj] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.jr-back[b-2qbdbw0nxj] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: var(--itrela-text-14);
}

/* The composed column's gap owns the rhythm between blocks — no block here
   sets its own vertical margin. */

.jr-people[b-2qbdbw0nxj] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.jr-person[b-2qbdbw0nxj] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: var(--itrela-text-14);
}

.jr-reason[b-2qbdbw0nxj] {
    border-left: 3px solid var(--mud-palette-lines-default);
    margin: 0;
    padding: .25rem 0 .25rem .75rem;
    color: var(--mud-palette-text-primary);
    font-style: italic;
}

.jr-approve[b-2qbdbw0nxj],
.jr-note[b-2qbdbw0nxj],
.jr-live[b-2qbdbw0nxj],
.jr-outcome[b-2qbdbw0nxj] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    padding: .85rem 1rem;
}

.jr-approve-lapse[b-2qbdbw0nxj],
.jr-live-note[b-2qbdbw0nxj],
.jr-live-fine[b-2qbdbw0nxj] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
    margin-top: .35rem;
}

.jr-approve-actions[b-2qbdbw0nxj] {
    margin-top: .5rem;
}

.jr-timeline[b-2qbdbw0nxj] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.jr-tl-entry[b-2qbdbw0nxj] {
    display: flex;
    gap: .75rem;
}

.jr-tl-when[b-2qbdbw0nxj] {
    flex: 0 0 auto;
    width: 5.5rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-13);
}

.jr-tl-kind[b-2qbdbw0nxj] {
    font-weight: var(--itrela-weight-medium);
}

.jr-tl-detail[b-2qbdbw0nxj] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

.jr-outcome-head[b-2qbdbw0nxj] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: var(--itrela-weight-strong);
}

.jr-outcome-body[b-2qbdbw0nxj] {
    margin-top: .35rem;
}

.jr-outcome-actions[b-2qbdbw0nxj] {
    margin-top: .5rem;
    display: flex;
    gap: 1rem;
}

.jr-close-actions[b-2qbdbw0nxj] {
    display: flex;
    gap: 1.25rem;
}

.jr-outcome-warn[b-2qbdbw0nxj] {
    border-color: var(--mud-palette-warning);
}

.jr-outcome-unknown[b-2qbdbw0nxj] {
    border-color: var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
/* /Components/Pages/Tickets/TicketRatingCard.razor.rz.scp.css */
.ticket-rating-card[b-siq1ka5szd] {
    --ticket-rating-tone: var(--mud-palette-secondary);
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid color-mix(in oklab, var(--ticket-rating-tone), transparent 62%);
    border-radius: var(--itrela-radius-surface);
    background: color-mix(in oklab, var(--ticket-rating-tone), transparent 93%);
}

.ticket-rating-card--poor[b-siq1ka5szd] {
    --ticket-rating-tone: var(--itrela-status-critical);
}

.ticket-rating-card--great[b-siq1ka5szd] {
    --ticket-rating-tone: var(--itrela-status-ok);
}

.ticket-rating-card[b-siq1ka5szd]  .ticket-rating-icon {
    color: var(--ticket-rating-tone);
}

.ticket-rating-copy[b-siq1ka5szd] {
    min-width: 0;
}

.ticket-rating-title[b-siq1ka5szd] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.ticket-rating-comment[b-siq1ka5szd] {
    margin: 6px 0 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-rating-note[b-siq1ka5szd],
.ticket-rating-window[b-siq1ka5szd] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.ticket-rating-note[b-siq1ka5szd] {
    margin-top: 4px;
}

.ticket-rating-window[b-siq1ka5szd] {
    margin-top: 6px;
}
/* /Components/Pages/Tickets/TicketScheduleCard.razor.rz.scp.css */
/* Card internals only — the shared .ticket-side-* idiom comes from
   Details.razor.css ::deep rules. */

.ticket-rail-heading[b-l4nqiuov67] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
}

.ticket-side-title-row[b-l4nqiuov67] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ticket-side-empty[b-l4nqiuov67] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
    line-height: 1.45;
    margin-top: 6px;
}

.schedule-unbilled-line[b-l4nqiuov67] {
    margin-top: var(--itrela-space-8);
}

.ticket-side-lines[b-l4nqiuov67] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.ticket-side-line[b-l4nqiuov67] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.schedule-due-line[b-l4nqiuov67] {
    width: 100%;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.schedule-due-line:focus-visible[b-l4nqiuov67] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.schedule-due--hot[b-l4nqiuov67] {
    font-weight: var(--itrela-weight-strong);
}

.schedule-entry-line[b-l4nqiuov67] {
    align-items: flex-start;
}

.schedule-entry-body[b-l4nqiuov67] {
    flex: 1;
    min-width: 0;
}

.schedule-entry-title[b-l4nqiuov67] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow-wrap: anywhere;
}

.schedule-entry-sub[b-l4nqiuov67] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.schedule-entry-line[b-l4nqiuov67]  .schedule-repeat-icon {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Add and row-action menus are primary touch controls on the stacked mobile
   ticket sidebar. MudMenu's small icon default is only 26px. */
.ticket-side-title-row[b-l4nqiuov67]  .mud-menu-activator,
.ticket-side-title-row[b-l4nqiuov67]  .mud-icon-button,
.schedule-entry-line[b-l4nqiuov67]  .mud-menu-activator,
.schedule-entry-line[b-l4nqiuov67]  .mud-icon-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
}
/* /Components/Pages/Tickets/TicketScheduleOfferPanel.razor.rz.scp.css */
.schedule-offer-panel[b-e5aqegzlo1] {
    margin-top: 0.5rem;
}

.schedule-offer-state[b-e5aqegzlo1],
.schedule-offer-form[b-e5aqegzlo1] {
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
}

.schedule-offer-state--open[b-e5aqegzlo1] {
    border-color: var(--mud-palette-info-lighten);
}

.schedule-offer-state--booked[b-e5aqegzlo1] {
    border-color: var(--mud-palette-success-lighten);
}

.schedule-offer-state-title[b-e5aqegzlo1] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.schedule-offer-state-detail[b-e5aqegzlo1] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.35;
}

.schedule-offer-date-grid[b-e5aqegzlo1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.schedule-offer-actions[b-e5aqegzlo1] {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
}

@media (max-width: 700px) {
    .schedule-offer-date-grid[b-e5aqegzlo1] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Tickets/TicketStreamSection.razor.rz.scp.css */
/* Unified conversation-first surface: composer, inline work/cost summary,
   ChoiceSwitch filter bar, and activity feed share one crisp --mud-palette-surface
   card separated by --itrela-line hairlines. Tokens only (zero hardcoded hexes
   or white/black mixes so Light and Dark modes both read cleanly). */

.ticket-main[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--mud-palette-surface);
}

/* ── Resolution & AI brief banners ────────────────────────────────────── */

.ticket-resolution[b-4hdg1ub3o4] {
    padding: 14px 20px;
    border-bottom: 1px solid var(--itrela-line);
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 92%);
}

.ticket-resolution-head[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--itrela-status-ok);
    margin-bottom: 4px;
}

.ticket-resolution-title[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.ticket-resolution-when[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-left: auto;
}

.ticket-resolution-body[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-14);
    line-height: 1.5;
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-stream-banners[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
}

.ticket-ai-strip[b-4hdg1ub3o4] {
    padding: 12px 20px;
    border-bottom: 1px solid var(--itrela-line);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 95%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-ai-brief--dismissed[b-4hdg1ub3o4] {
    flex-direction: row;
    align-items: center;
    padding-block: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
}

.ticket-ai-strip-head[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--mud-palette-primary);
}

.ticket-ai-strip-title[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.ticket-ai-basis[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-ai-strip-actions[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.ticket-ai-link[b-4hdg1ub3o4] {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.ticket-ai-link:hover[b-4hdg1ub3o4] {
    text-decoration: underline;
}

.ticket-ai-link:focus-visible[b-4hdg1ub3o4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-small);
}

.ticket-ai-link--quiet[b-4hdg1ub3o4] {
    color: var(--mud-palette-text-secondary);
}

.ticket-ai-text[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-14);
    line-height: 1.55;
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-ai-brief-foot[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ticket-ai-why[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

/* ── Composer shell (flat hairline zone on the same card surface) ──────── */

.ticket-composer-shell[b-4hdg1ub3o4] {
    padding: 14px 20px;
    border-bottom: 1px solid var(--itrela-line);
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
}

.ticket-composer-status:empty[b-4hdg1ub3o4] {
    display: none;
}

.ticket-composer-docked[b-4hdg1ub3o4] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-14);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--itrela-motion-fast) var(--itrela-ease),
                background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.ticket-composer-docked:hover[b-4hdg1ub3o4] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
}

.ticket-composer-docked:focus-visible[b-4hdg1ub3o4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-composer-docked-avatar[b-4hdg1ub3o4] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
}

.ticket-composer-docked-label[b-4hdg1ub3o4] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-composer-docked-keys[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.ticket-composer-docked-keys kbd[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--itrela-radius-small);
    border: 1px solid var(--itrela-line-strong);
    background: var(--mud-palette-surface);
    font-family: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-primary);
}

.ticket-composer-zone[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-surface);
}

.ticket-composer-zone--internal[b-4hdg1ub3o4] {
    border-color: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 55%);
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 95%);
}

.ticket-composer-zone--side[b-4hdg1ub3o4] {
    border-color: color-mix(in oklab, var(--mud-palette-secondary), transparent 55%);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 95%);
}

.ticket-collision-strip[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--itrela-radius-control);
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 88%);
    color: var(--itrela-status-warning);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
}

.ticket-typing-line[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-composer-tabs[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--itrela-line);
    flex-wrap: wrap;
}

.ticket-ct[b-4hdg1ub3o4] {
    position: relative;
    padding: 4px 0 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    transition: color var(--itrela-motion-fast) var(--itrela-ease),
                border-color var(--itrela-motion-fast) var(--itrela-ease);
}

.ticket-ct:hover:not(:disabled)[b-4hdg1ub3o4] {
    color: var(--mud-palette-text-primary);
}

.ticket-ct:focus-visible[b-4hdg1ub3o4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-small);
}

.ticket-ct--active[b-4hdg1ub3o4] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    border-bottom-color: var(--mud-palette-primary);
}

.ticket-ct--internal.ticket-ct--active[b-4hdg1ub3o4] {
    color: var(--itrela-status-warning);
    border-bottom-color: var(--itrela-status-warning-bright);
}

.ticket-composer-tab--side.ticket-ct--active[b-4hdg1ub3o4] {
    color: var(--mud-palette-secondary);
    border-bottom-color: var(--mud-palette-secondary);
}

.ticket-tab-short[b-4hdg1ub3o4] {
    display: none;
}

.ticket-composer-audience[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ticket-composer-thread-label[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-primary);
    min-width: 0;
}

.ticket-thread-text[b-4hdg1ub3o4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-side-thread-picker[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.ticket-composer-hint[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-composer-hint--draft[b-4hdg1ub3o4] {
    color: var(--mud-palette-primary);
}

.ticket-signature-controls[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-signature-preview[b-4hdg1ub3o4] {
    padding: 12px;
    min-width: 240px;
    max-width: 360px;
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
}

.ticket-signature-preview-text[b-4hdg1ub3o4] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-13);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-composer-attachments[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ticket-ai-draft-panel[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-ai-draft-panel[b-4hdg1ub3o4]  .mud-input-control {
    flex: 1 1 220px;
}

.ticket-composer-footer[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-composer-tools[b-4hdg1ub3o4],
.ticket-composer-send[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-composer-send[b-4hdg1ub3o4] {
    margin-left: auto;
}

.ticket-snippet-item[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 280px;
}

.ticket-snippet-title[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.ticket-snippet-preview[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-log-chip-group[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid var(--itrela-line-strong);
    background: var(--mud-palette-background);
    overflow: hidden;
}

.ticket-log-chip-group--armed[b-4hdg1ub3o4] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 40%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 90%);
}

.ticket-log-chip[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
}

.ticket-log-chip:focus-visible[b-4hdg1ub3o4] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}

.ticket-log-chip--disarm[b-4hdg1ub3o4] {
    padding: 0 7px;
    border-left: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
}

.ticket-log-hint[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-composer-ai-note[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

/* ── Inline Work & Cost band ──────────────────────────────────────────── */

.ticket-work-band[b-4hdg1ub3o4] {
    min-width: 0;
}

.work-unlogged[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 50%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
    white-space: nowrap;
}

.work-unlogged:hover[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
}

.work-unlogged:focus-visible[b-4hdg1ub3o4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.work-tracked-pill[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-background);
    border: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    white-space: nowrap;
}

/* ── Single unified ChoiceSwitch stream header ────────────────────────── */

.ticket-stream-bar[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
    padding: 12px 20px;
    border-bottom: 1px solid var(--itrela-line);
}

.ticket-stream-heading[b-4hdg1ub3o4] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
}

/* ── Feed body & events ───────────────────────────────────────────────── */

.ticket-feed-body[b-4hdg1ub3o4] {
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.ticket-alert-payload[b-4hdg1ub3o4] {
    border: 1px solid var(--itrela-line);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-background);
    overflow: hidden;
}

.ticket-alert-payload-summary[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.ticket-alert-payload-body[b-4hdg1ub3o4] {
    margin: 0;
    padding: 10px 12px;
    border-top: 1px solid var(--itrela-line);
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-since-left[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 65%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 94%);
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.ticket-since-left-text[b-4hdg1ub3o4] {
    font-weight: var(--itrela-weight-medium);
}

.ticket-since-left-when[b-4hdg1ub3o4] {
    margin-left: auto;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-feed[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticket-empty[b-4hdg1ub3o4] {
    padding: 28px 16px;
    text-align: center;
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-secondary);
}

.ticket-empty--fresh[b-4hdg1ub3o4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-empty-title[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.ticket-empty-sub[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.ticket-event[b-4hdg1ub3o4] {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 12px;
    border-top: 1px solid color-mix(in oklab, var(--itrela-line), transparent 35%);
}

.ticket-event:first-child[b-4hdg1ub3o4] {
    border-top: 0;
}

.ticket-event--system[b-4hdg1ub3o4] {
    padding-block: 8px;
}

.ticket-event-avatar[b-4hdg1ub3o4] {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.ticket-event-user-avatar[b-4hdg1ub3o4] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 72%);
}

.ticket-event-user-avatar img[b-4hdg1ub3o4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-event-system-icon[b-4hdg1ub3o4] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-background);
    border: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
}

.ticket-event-body[b-4hdg1ub3o4] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-event-top[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-event-who[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    font-size: var(--itrela-text-13);
}

.ticket-event-author[b-4hdg1ub3o4] {
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.ticket-event-role[b-4hdg1ub3o4],
.ticket-event-separator[b-4hdg1ub3o4],
.ticket-event-when[b-4hdg1ub3o4],
.ticket-event-meta[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-event-thread[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 260px;
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-secondary);
}

/* private-thread Reply stays worded and visible on narrow screens too. */
.ticket-event-top-right[b-4hdg1ub3o4] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.ticket-event-badge[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    padding: 2px 8px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 86%);
    color: var(--itrela-status-warning);
    white-space: nowrap;
}

.ticket-event-badge--side[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 84%);
    color: var(--mud-palette-text-primary);
}

.ticket-event-badge--portal-only[b-4hdg1ub3o4],
.ticket-event-badge--auto[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 88%);
    color: var(--mud-palette-text-secondary);
}

.ticket-event-badge--retrying[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 84%);
    color: var(--itrela-status-warning);
}

.ticket-event-badge--failed[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 86%);
    color: var(--itrela-status-critical);
}

.ticket-event-bubble[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-14);
    line-height: 1.6;
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-event--system .ticket-event-bubble[b-4hdg1ub3o4] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
}

.ticket-event-bubble[b-4hdg1ub3o4]  .ticket-mention {
    display: inline-block;
    padding: 0 5px;
    border-radius: var(--itrela-radius-small);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-medium);
}

/* Theme-safe row tints (Light + Dark): amber internal notes, cool steel side
   conversations, critical failed deliveries — zero white/black/hex literals. */
.ticket-event--internal[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 92%);
    border-left: 3px solid var(--itrela-status-warning-bright);
    border-radius: var(--itrela-radius-control);
    margin-block: 4px;
    border-top: 0;
}

.ticket-event--internal .ticket-event-user-avatar[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 82%);
    color: var(--itrela-status-warning);
    border-color: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 60%);
}

.ticket-event--side[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 92%);
    border-left: 3px solid var(--mud-palette-secondary);
    border-radius: var(--itrela-radius-control);
    margin-block: 4px;
    border-top: 0;
}

.ticket-event--side .ticket-event-user-avatar[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 82%);
    color: var(--mud-palette-text-primary);
    border-color: color-mix(in oklab, var(--mud-palette-secondary), transparent 60%);
}

.ticket-event--failed[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 92%);
    border-left: 3px solid var(--itrela-status-critical);
    border-radius: var(--itrela-radius-control);
    margin-block: 4px;
    border-top: 0;
}

.ticket-event--retrying[b-4hdg1ub3o4] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 93%);
    border-left: 3px solid var(--itrela-status-warning-bright);
    border-radius: var(--itrela-radius-control);
    margin-block: 4px;
    border-top: 0;
}

.ticket-event--auto .ticket-event-bubble[b-4hdg1ub3o4] {
    color: var(--mud-palette-text-secondary);
}

.ticket-event-images[b-4hdg1ub3o4] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ticket-event-image-link[b-4hdg1ub3o4] {
    display: inline-block;
    border-radius: var(--itrela-radius-control);
    border: 1px solid var(--itrela-line);
    overflow: hidden;
    max-width: 240px;
}

.ticket-event-image[b-4hdg1ub3o4] {
    display: block;
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
}

.ticket-event-attachments[b-4hdg1ub3o4] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ticket-attachment-chip[b-4hdg1ub3o4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-12);
    text-decoration: none;
    max-width: 100%;
}

.ticket-attachment-chip:hover[b-4hdg1ub3o4] {
    border-color: var(--mud-palette-primary);
}

.ticket-attachment-name[b-4hdg1ub3o4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-attachment-size[b-4hdg1ub3o4] {
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

@media (max-width: 599.98px) {
    .ticket-composer-shell[b-4hdg1ub3o4],
    .ticket-stream-bar[b-4hdg1ub3o4],
    .ticket-feed-body[b-4hdg1ub3o4],
    .ticket-resolution[b-4hdg1ub3o4],
    .ticket-ai-strip[b-4hdg1ub3o4] {
        padding-inline: 14px;
    }

    .ticket-composer-docked-keys[b-4hdg1ub3o4] {
        display: none;
    }

    .ticket-tab-full[b-4hdg1ub3o4] {
        display: none;
    }

    .ticket-tab-short[b-4hdg1ub3o4] {
        display: inline;
    }

    .ticket-composer-send[b-4hdg1ub3o4] {
        width: 100%;
        justify-content: flex-end;
    }

    .ticket-event[b-4hdg1ub3o4] {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 8px;
    }

    .ticket-event-user-avatar[b-4hdg1ub3o4] {
        width: 26px;
        height: 26px;
    }
}
/* /Components/Pages/Tickets/TicketTasksStrip.razor.rz.scp.css */
.ticket-tasks-strip[b-sjgkosuin4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.ticket-tasks-head[b-sjgkosuin4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
    padding: 10px 16px;
}

.ticket-tasks-toggle[b-sjgkosuin4] {
    display: inline-flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: 4px 6px;
    margin: -4px -6px;
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    cursor: pointer;
}

.ticket-tasks-toggle:hover[b-sjgkosuin4] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
}

.ticket-tasks-toggle:focus-visible[b-sjgkosuin4] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-tasks-title[b-sjgkosuin4] {
    margin: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.ticket-tasks-head-actions[b-sjgkosuin4] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
}

.ticket-tasks-body[b-sjgkosuin4] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-12);
    padding: 12px 16px 14px;
    border-top: 1px solid var(--itrela-line);
}

.task-progress[b-sjgkosuin4] {
    display: flex;
    flex-direction: column;
}

.task-list[b-sjgkosuin4] {
    display: flex;
    flex-direction: column;
}

.task-row[b-sjgkosuin4] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding: 6px 0;
    border-top: 1px solid color-mix(in oklab, var(--itrela-line), transparent 40%);
}

.task-row:first-child[b-sjgkosuin4] {
    border-top: 0;
    padding-top: 0;
}

.task-description[b-sjgkosuin4] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--itrela-text-14);
    line-height: 1.45;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.task-row--done .task-description[b-sjgkosuin4] {
    text-decoration: line-through;
    color: var(--mud-palette-text-secondary);
}

.task-check[b-sjgkosuin4] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    text-decoration: none;
}

.task-add[b-sjgkosuin4] {
    padding-top: var(--itrela-space-4);
}

.ticket-ai-proposal[b-sjgkosuin4] {
    padding: 12px 14px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 72%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 95%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-ai-proposal-head[b-sjgkosuin4] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-primary);
}

.ticket-ai-proposal-title[b-sjgkosuin4] {
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.ticket-ai-proposal-actions[b-sjgkosuin4] {
    margin-left: auto;
}

.ticket-ai-steps[b-sjgkosuin4] {
    margin: 4px 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.ticket-ai-rationale[b-sjgkosuin4] {
    font-style: italic;
}
/* /Components/Pages/Tickets/TicketTeamBar.razor.rz.scp.css */
.ticket-team-solo[b-hoqyy4txsn],
.ticket-team-bar[b-hoqyy4txsn] {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ticket-team-solo[b-hoqyy4txsn] {
    padding: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.ticket-team-bar[b-hoqyy4txsn] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-team-solo a[b-hoqyy4txsn] {
    margin-left: 4px;
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.ticket-team-solo a:focus-visible[b-hoqyy4txsn] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.ticket-team-bar > summary[b-hoqyy4txsn] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    cursor: pointer;
    list-style: none;
}

.ticket-team-bar > summary[b-hoqyy4txsn]::-webkit-details-marker,
.ticket-team-overflow > summary[b-hoqyy4txsn]::-webkit-details-marker {
    display: none;
}

.ticket-team-bar > summary:focus-visible[b-hoqyy4txsn],
.ticket-team-overflow > summary:focus-visible[b-hoqyy4txsn],
.ticket-team-member:focus-visible[b-hoqyy4txsn],
.ticket-team-option:focus-visible[b-hoqyy4txsn],
.ticket-team-search input:focus-visible[b-hoqyy4txsn] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.ticket-team-caret[b-hoqyy4txsn] {
    display: inline-block;
    font-size: 0.625rem;
    opacity: 0.7;
    transition: transform 0.12s ease;
}

.ticket-team-bar:not([open]) .ticket-team-caret[b-hoqyy4txsn] {
    transform: rotate(-90deg);
}

.ticket-team-count[b-hoqyy4txsn] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    letter-spacing: 0;
    text-transform: none;
}

.ticket-team-help[b-hoqyy4txsn] {
    width: 18px;
    height: 18px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
    line-height: 1;
    cursor: help;
}

.ticket-team-help:hover[b-hoqyy4txsn],
.ticket-team-help:focus-visible[b-hoqyy4txsn] {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.ticket-team-body[b-hoqyy4txsn] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    padding: 0;
}

.ticket-team-member[b-hoqyy4txsn] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
}

.ticket-team-member:hover[b-hoqyy4txsn] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 58%);
}

.ticket-team-member--selected[b-hoqyy4txsn] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 68%);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    color: var(--itrela-accent-ink, var(--mud-palette-primary));
    font-weight: var(--itrela-weight-strong);
}

.ticket-team-avatar[b-hoqyy4txsn] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--ticket-team-avatar, var(--mud-palette-primary));
    /* White, not primary-text: the AvatarTints set is graded to clear 4.5:1
       against a white initial, and primary-text is dark ink in the dark theme,
       which would be illegible on those tints. */
    color: #FFFFFF;
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
}

.ticket-team-name[b-hoqyy4txsn] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-team-open[b-hoqyy4txsn] {
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.ticket-team-member--selected .ticket-team-open[b-hoqyy4txsn] {
    color: inherit;
    font-weight: var(--itrela-weight-strong);
    opacity: 0.8;
}

.ticket-presence-dot[b-hoqyy4txsn] {
    width: 6px;
    height: 6px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-lines-default);
}

.ticket-presence-dot--active[b-hoqyy4txsn] {
    background: var(--itrela-status-ok);
}

.ticket-presence-dot--away[b-hoqyy4txsn] {
    background: var(--itrela-status-warning-bright);
}

.ticket-presence-dot--offline[b-hoqyy4txsn] {
    /* A hollow ring: offline is an absence, not a dimmer shade of online. */
    background: transparent;
    border: 1.5px solid color-mix(in oklab, var(--mud-palette-text-secondary), transparent 30%);
}

.ticket-team-overflow[b-hoqyy4txsn] {
    /* Static, so the popover anchors to .ticket-team-body (position: relative)
       instead of the chip: right-aligned under the strip per the mockup, and
       never slid left under the fixed rail and clipped mid-glyph. */
    position: static;
    flex: 0 0 auto;
}

.ticket-team-overflow > summary[b-hoqyy4txsn] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    cursor: pointer;
    list-style: none;
}

.ticket-team-overflow[open] > summary[b-hoqyy4txsn],
.ticket-team-overflow > summary:hover[b-hoqyy4txsn] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.ticket-team-popover[b-hoqyy4txsn] {
    position: absolute;
    top: calc(100% + 7px);
    right: 12px;
    z-index: 20;
    width: min(350px, calc(100vw - 48px));
    padding: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    box-shadow: var(--itrela-shadow-float);
}

.ticket-team-search[b-hoqyy4txsn] {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
}

.ticket-team-search input[b-hoqyy4txsn] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-13);
}

.ticket-team-esc[b-hoqyy4txsn] {
    flex: 0 0 auto;
    font-family: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    padding: 0 5px;
    background: var(--mud-palette-surface);
}

.ticket-team-option-slot[b-hoqyy4txsn] {
    width: 14px;
    flex: 0 0 auto;
}

.ticket-team-group-title[b-hoqyy4txsn] {
    padding: 9px 8px 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.ticket-team-scroll[b-hoqyy4txsn] {
    max-height: 220px;
    overflow-y: auto;
}

.ticket-team-option[b-hoqyy4txsn] {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: 14px 26px minmax(0, 1fr) 8px auto;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-12);
    text-align: left;
    cursor: pointer;
}

.ticket-team-option:hover[b-hoqyy4txsn],
.ticket-team-option--selected[b-hoqyy4txsn] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.ticket-team-option--offline[b-hoqyy4txsn] {
    opacity: 0.58;
}

.ticket-team-option-count[b-hoqyy4txsn] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

.ticket-team-empty[b-hoqyy4txsn],
.ticket-team-popover-foot[b-hoqyy4txsn] {
    padding: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.ticket-team-popover-foot[b-hoqyy4txsn] {
    margin: 5px -8px -8px;
    border-top: 1px solid var(--mud-palette-lines-default);
    text-align: center;
}

.ticket-team-legend[b-hoqyy4txsn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 1 1 auto;
    justify-content: flex-end;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .ticket-team-bar[b-hoqyy4txsn] {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .ticket-team-bar > summary[b-hoqyy4txsn] {
        min-height: 34px;
    }

    .ticket-team-body[b-hoqyy4txsn] {
        align-items: stretch;
        flex-wrap: wrap;
        padding-bottom: 8px;
    }

    .ticket-team-member[b-hoqyy4txsn] {
        max-width: 100%;
    }

    .ticket-team-legend[b-hoqyy4txsn] {
        justify-content: flex-start;
        white-space: normal;
    }

    .ticket-team-popover[b-hoqyy4txsn] {
        position: fixed;
        top: 18vh;
        right: 16px;
        left: 16px;
        width: auto;
    }
}
/* /Components/Pages/Tickets/TicketTriageStrip.razor.rz.scp.css */
.ticket-statusbar[b-trcxo1137e] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    padding: 10px 14px;
    border-radius: var(--itrela-radius-surface);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-surface);
    min-width: 0;
}

.ticket-triage-row[b-trcxo1137e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    flex-wrap: wrap;
}

.ticket-qa-grid[b-trcxo1137e] {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.ticket-qa-cell[b-trcxo1137e],
.ticket-qa-field[b-trcxo1137e] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 6px 10px;
    border-radius: var(--itrela-radius-control);
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    font: inherit;
    color: var(--mud-palette-text-primary);
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease),
                border-color var(--itrela-motion-fast) var(--itrela-ease);
}

.ticket-qa-field[b-trcxo1137e] {
    cursor: pointer;
}

.ticket-qa-field:hover[b-trcxo1137e] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
    border-color: var(--itrela-line);
}

.ticket-qa-field:focus-visible[b-trcxo1137e] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-qa-label[b-trcxo1137e] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    line-height: 1.2;
    color: var(--mud-palette-text-secondary);
}

.ticket-qa-value[b-trcxo1137e] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: 1.3;
    color: var(--mud-palette-text-primary);
}

.ticket-triage-text[b-trcxo1137e],
.ticket-triage-link[b-trcxo1137e],
.ticket-triage-contact[b-trcxo1137e] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-triage-link[b-trcxo1137e] {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.ticket-triage-link:hover[b-trcxo1137e] {
    text-decoration: underline;
}

.ticket-triage-sep[b-trcxo1137e] {
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.ticket-triage-contact[b-trcxo1137e] {
    color: var(--mud-palette-text-secondary);
    font-weight: var(--itrela-weight-regular);
}

.ticket-priority-dot[b-trcxo1137e] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.ticket-priority-dot--critical[b-trcxo1137e] {
    background: var(--itrela-status-critical);
}

.ticket-priority-dot--high[b-trcxo1137e] {
    background: var(--itrela-status-warning-bright);
}

.ticket-priority-dot--medium[b-trcxo1137e] {
    background: var(--mud-palette-secondary);
}

.ticket-priority-dot--low[b-trcxo1137e] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 40%);
}

.ticket-assignee-avatar[b-trcxo1137e] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 86%);
    color: var(--mud-palette-primary);
}

.ticket-assignee-avatar img[b-trcxo1137e] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-tab-short[b-trcxo1137e] {
    display: none;
}

.ticket-statusbar-sla[b-trcxo1137e] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ticket-qa-sla[b-trcxo1137e],
.ticket-sla-chip[b-trcxo1137e] {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: var(--itrela-radius-pill);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 88%);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.ticket-qa-sla--ok[b-trcxo1137e] {
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 88%);
    color: var(--itrela-status-ok);
}

.ticket-qa-sla--warn[b-trcxo1137e],
.ticket-sla-chip--warn[b-trcxo1137e] {
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 86%);
    color: var(--itrela-status-warning);
}

.ticket-qa-sla--breach[b-trcxo1137e],
.ticket-sla-chip--overdue[b-trcxo1137e] {
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 88%);
    color: var(--itrela-status-critical);
}

.ticket-qa-sla--paused[b-trcxo1137e] {
    background: color-mix(in oklab, var(--mud-palette-text-secondary), transparent 88%);
    color: var(--mud-palette-text-secondary);
}

.ticket-triage-tags-bar[b-trcxo1137e] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    padding-top: var(--itrela-space-8);
    border-top: 1px solid var(--itrela-line);
    flex-wrap: wrap;
}

.ticket-tags-label[b-trcxo1137e] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.ticket-tags[b-trcxo1137e] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.ticket-tag-pill[b-trcxo1137e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 4px 0 9px;
    border-radius: var(--itrela-radius-pill);
    border: 1px solid var(--itrela-line);
    background: var(--mud-palette-background);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-primary);
}

.ticket-tag-remove[b-trcxo1137e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.ticket-tag-remove:hover[b-trcxo1137e] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 90%);
    color: var(--mud-palette-text-primary);
}

.ticket-tag-remove:focus-visible[b-trcxo1137e] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.ticket-tag-remove[b-trcxo1137e]  .mud-icon-root {
    font-size: var(--itrela-text-14);
}

.ticket-tag-input-wrap[b-trcxo1137e] {
    width: 180px;
    max-width: 100%;
}

/* Compact 2x2 triage grid on phone width (<= 599.98px) — replaces 4 stacked
   full-width dropdowns with a scannable two-column bar. */
@media (max-width: 599.98px) {
    .ticket-statusbar[b-trcxo1137e] {
        padding: 10px 12px;
    }

    .ticket-qa-grid[b-trcxo1137e] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }

    .ticket-qa-cell[b-trcxo1137e],
    .ticket-qa-field[b-trcxo1137e] {
        width: 100%;
        padding: 6px 8px;
        border-color: var(--itrela-line);
        background: var(--mud-palette-background);
    }

    .ticket-qa-grid[b-trcxo1137e]  .mud-menu {
        width: 100%;
    }

    .ticket-tab-full[b-trcxo1137e] {
        display: none;
    }

    .ticket-tab-short[b-trcxo1137e] {
        display: inline;
    }

    .ticket-triage-contact[b-trcxo1137e],
    .ticket-triage-sep[b-trcxo1137e] {
        display: none;
    }

    .ticket-statusbar-sla[b-trcxo1137e] {
        width: 100%;
    }
}
/* /Components/Pages/Tickets/TicketViewTabs.razor.rz.scp.css */
.ticket-view-tabs[b-w9q31q0meq] {
    display: flex;
    align-items: center;
    gap: 4px;
    width: calc(100% + 8px);
    height: 100%;
    min-width: 0;
    /* overflow-x: auto also clips vertically, and the strip's height is its
       content: 4px of padding all round gives a focused tab's outline (2px
       plus its 1px offset) room inside the scroller. The negative inline
       margin keeps the tabs where they sat; the band's 50px stays. */
    margin-inline: -4px;
    padding: 4px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: thin;
}

.ticket-view-tab-list[b-w9q31q0meq] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticket-view-tab-wrap[b-w9q31q0meq] {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

/* Drawn pill tabs (Core Pages §M): 32px, radius 9, quiet until selected.
   The active pill takes the accent hairline and raises to the surface. */
.ticket-view-tab[b-w9q31q0meq] {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border: 1px solid transparent;
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
    cursor: pointer;
}

.ticket-view-tab-wrap:has(.ticket-view-tab-menu) > .ticket-view-tab[b-w9q31q0meq] {
    padding-right: 30px;
}

.ticket-view-tab:hover:not(:disabled)[b-w9q31q0meq] {
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--mud-palette-surface), transparent 20%);
}

.ticket-view-tab:focus-visible[b-w9q31q0meq],
.ticket-view-tab-menu[b-w9q31q0meq]  .mud-button-root:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

.ticket-view-tab:disabled[b-w9q31q0meq] {
    cursor: not-allowed;
    opacity: 0.55;
}

/* Saved views are bordered surface chips with a bookmark glyph, set apart
   from the live views by the divider below. */
.ticket-view-tab--saved[b-w9q31q0meq] {
    border-color: var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    gap: 6px;
}

.ticket-view-tab--active[b-w9q31q0meq] {
    border-color: color-mix(in oklab, var(--mud-palette-primary), transparent 68%);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-primary);
    box-shadow: none;
}

.ticket-view-tab-divider[b-w9q31q0meq] {
    width: 1px;
    height: 18px;
    margin: 0 4px;
    flex: 0 0 auto;
    background: var(--mud-palette-lines-default);
}

/* MudIcon renders its own root without this file's scope attribute, so the
   bookmark is reached through the tab button (CSS-isolation rule). */
.ticket-view-tab[b-w9q31q0meq]  .ticket-view-tab-bookmark {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.ticket-view-tab--save[b-w9q31q0meq] {
    color: var(--mud-palette-primary);
}

.ticket-view-tab-count[b-w9q31q0meq] {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, currentColor, transparent 88%);
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-mark);
    text-align: center;
}

.ticket-view-tab-menu[b-w9q31q0meq] {
    position: absolute;
    top: 50%;
    right: 4px;
    z-index: 5;
    transform: translateY(-50%);
}

.ticket-view-tab-menu[b-w9q31q0meq]  .mud-button-root {
    min-width: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
}

.ticket-view-tab-menu[b-w9q31q0meq]  .mud-button-root:hover,
.ticket-view-tab-menu[b-w9q31q0meq]  .mud-button-root[aria-expanded="true"] {
    background: color-mix(in oklab, var(--mud-palette-background), transparent 18%);
    color: var(--mud-palette-text-primary);
}

/* Keep view tabs visible on phones as a compact single-row horizontal scroll
   strip so technicians can switch views directly without vertical wrapping. */
@media (max-width: 599.98px) {
    .ticket-view-tabs[b-w9q31q0meq] {
        margin-inline: 0;
        width: 100%;
        padding: 4px 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ticket-view-tabs[b-w9q31q0meq]::-webkit-scrollbar {
        display: none;
    }

    .ticket-view-tab[b-w9q31q0meq] {
        min-height: 30px;
        padding: 3px 9px;
        gap: 5px;
    }
}
/* /Components/Pages/Tickets/TicketWorkCostEvent.razor.rz.scp.css */
/* Rounded single-line cards in the feed (Improvements 2 §C), not flat
   hairline rows: quiet surface, line border, radius 12, tinted icon tile. */
.ticket-work-event[b-77oagx4fpr] {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 6px 8px;
    padding: 10px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-table-striped);
}

.ticket-work-event-icon[b-77oagx4fpr] {
    width: 30px;
    height: 30px;
    border-radius: var(--itrela-radius-control);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ticket-work-event--time .ticket-work-event-icon[b-77oagx4fpr] {
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 88%);
    color: var(--itrela-status-ok);
}

.ticket-work-event--expense .ticket-work-event-icon[b-77oagx4fpr] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    color: var(--mud-palette-primary);
}

.ticket-work-event-body[b-77oagx4fpr] {
    min-width: 0;
}

.ticket-work-event-top[b-77oagx4fpr],
.ticket-work-event-facts[b-77oagx4fpr],
.ticket-work-event-actions[b-77oagx4fpr] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-work-event-top[b-77oagx4fpr] {
    justify-content: space-between;
    flex-wrap: wrap;
}

.ticket-work-event-top strong[b-77oagx4fpr] {
    font-size: var(--itrela-text-14);
    line-height: 1.45;
}

.ticket-work-event-date[b-77oagx4fpr],
.ticket-work-event-facts[b-77oagx4fpr] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.ticket-work-event-date[b-77oagx4fpr],
.ticket-work-event-amount[b-77oagx4fpr] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The amount is a figure in a list row: mono. The date beside it is a date,
   so it stays in the UI face. */
.ticket-work-event-amount[b-77oagx4fpr] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
}

.ticket-work-event-facts[b-77oagx4fpr] {
    margin-top: 5px;
    flex-wrap: wrap;
}

/* The billing state is a pill: the ok outline while it will bill, a plain
   line border once an agreement or a rebill already covers it. */
.ticket-work-event-billing[b-77oagx4fpr] {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-pill);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.ticket-work-event-billing--ok[b-77oagx4fpr] {
    border-color: color-mix(in oklab, var(--itrela-status-ok), transparent 60%);
    background: color-mix(in oklab, var(--itrela-status-ok), transparent 90%);
    color: var(--itrela-status-ok);
    font-weight: var(--itrela-weight-strong);
}

.ticket-work-event-note[b-77oagx4fpr] {
    margin: var(--itrela-space-4) 0 0;
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.ticket-work-event-actions[b-77oagx4fpr] {
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* "Correct" is a quiet ink-2 text action, not an amber warning button. */
.ticket-work-event-actions[b-77oagx4fpr]  .ticket-work-event-correct {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

@media (max-width: 599.98px) {
    .ticket-work-event[b-77oagx4fpr] {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .ticket-work-event-actions[b-77oagx4fpr] {
        grid-column: 2;
        justify-content: flex-start;
    }
}
/* /Components/Pages/Tickets/TicketWorkCostStrip.razor.rz.scp.css */
/* Full-width band under the reply box, not a tile inside the panel: a
   hairline below and the surface fill. The figures are the shared bare
   FactStrip, whose first caption lines up with the band's 20px inset like
   the Activity heading under it. The figures and the actions share one row
   while both fit; when they don't, the actions wrap to their own row under
   the figures. */
.ticket-work-strip[b-c5nmkep83x] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding: var(--itrela-space-8) 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
}

/* 480px is where FactStrip keeps three facts on one line; below that the
   figures would go two to a row beside the actions, so the actions wrap
   first. On a phone the figures take the whole width and go two to a row. */
.ticket-work-facts[b-c5nmkep83x] {
    flex: 1 1 480px;
    min-width: 0;
}

.ticket-work-actions[b-c5nmkep83x] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
}

/* Both actions are the same drawn button: 30px, line border, radius 8. */
.ticket-work-actions[b-c5nmkep83x]  .mud-button-root {
    height: 30px;
    min-height: 30px;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.ticket-work-actions[b-c5nmkep83x]  .mud-button-outlined {
    border-color: var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

@media (max-width: 599.98px) {
    .ticket-work-strip[b-c5nmkep83x] {
        padding-inline: var(--itrela-space-12);
    }
}
/* /Components/Pages/Time/Index.razor.rz.scp.css */
/* Time page — WorkbenchShell owns the frame, width, band spacing, and the
   one scrolling body (UI_STYLE_GUIDE.md "Two page chromes"). What remains
   here is what the chrome does not: the toolbar, the notice strips, and the
   results (totals, results head, empty range, grouped rows). Rows pad from
   the shell's --itrela-workbench-row-pad token so they align with the bands. */

.time-toolbar[b-dkjeiqfh5f],
.time-notice[b-dkjeiqfh5f],
.time-body[b-dkjeiqfh5f] {
    width: 100%;
    min-width: 0;
}

/* ── Toolbar: the range leads, the filters follow on the same row ──────
   Each group wraps as a whole, so the filters move to a second row together
   only when the window is too narrow for one. */

.time-toolbar[b-dkjeiqfh5f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding-block: var(--itrela-space-8);
}

.time-range[b-dkjeiqfh5f] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    min-width: 0;
    max-width: 100%;
}

.time-custom-dates[b-dkjeiqfh5f],
.time-filters[b-dkjeiqfh5f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--itrela-space-8) var(--itrela-space-12);
    min-width: 0;
}

.time-custom-dates[b-dkjeiqfh5f]  .time-date {
    flex: 0 0 10.5rem;
    width: 10.5rem;
}

/* A MudSelect draws a wrapper around the field that carries its Class, so
   sizes go on the wrapper (.mud-select) the field fills. A width, not a
   flex basis, so the group's own width is the row it needs and the group
   wraps as a whole. */
.time-filters[b-dkjeiqfh5f]  .mud-select {
    flex: 0 1 auto;
    width: 11rem;
    min-width: 8rem;
}

.time-filters[b-dkjeiqfh5f]  .mud-select:has(.time-filter--destination) {
    width: 9.5rem;
}

/* The Filters button only exists for a phone, where the filters fold away. */
.time-filters-toggle[b-dkjeiqfh5f] {
    display: none;
    align-items: center;
    gap: var(--itrela-space-4);
    flex: 0 0 auto;
    height: var(--itrela-choice-height);
    padding: 0 var(--itrela-space-8) 0 var(--itrela-space-12);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    line-height: var(--itrela-leading-tight);
    white-space: nowrap;
    cursor: pointer;
}

.time-filters-toggle:focus-visible[b-dkjeiqfh5f] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.time-filters-toggle[b-dkjeiqfh5f]  .mud-icon-root {
    color: var(--mud-palette-text-secondary);
}

.time-filters-count[b-dkjeiqfh5f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--itrela-space-24);
    padding: 0 var(--itrela-space-4);
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-text-primary) 8%, transparent);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    font-variant-numeric: tabular-nums;
}

/* ── Notice strips (load error, truncation) ───────────────────────────
   The div paints the whole band — the WorkbenchBand root belongs to the
   shared component, so the tint goes on this page-owned element stretched
   over the band's padding (the Service Desk notice-strip idiom). */

.time-notice[b-dkjeiqfh5f] {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: .45rem;
    flex: 1 1 auto;
    margin: 0 calc(-1 * var(--itrela-workbench-band-pad));
    padding: 0 var(--itrela-workbench-band-pad);
    font-size: var(--itrela-text-12);
}

.time-notice[b-dkjeiqfh5f]  .mud-icon-root {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}

.time-notice--warning[b-dkjeiqfh5f] {
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 93%);
}

.time-notice--warning[b-dkjeiqfh5f]  .mud-icon-root {
    color: var(--mud-palette-warning-darken);
}

.time-notice--info[b-dkjeiqfh5f] {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 93%);
}

.time-notice--info[b-dkjeiqfh5f]  .mud-icon-root {
    color: var(--mud-palette-secondary);
}

/* Carries the page contract hook without adding a layout box around the
   protected TimeUnreviewedDaysStrip. The strip remains the band's flex item. */
.time-unreviewed-hook[b-dkjeiqfh5f] {
    display: contents;
}

/* ── Totals: the shared figure row (a bare FactStrip) in one full-bleed
   band. The band carries the rows' inset; the bare row pulls itself out by
   its facts' own padding, so the first label sits on the rows' left edge.
   The row goes two to a row by itself when the band is narrow. */

.time-totals[b-dkjeiqfh5f] {
    padding: var(--itrela-space-8) var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line-soft);
    background: var(--mud-palette-surface);
}

/* ── Results head: the dates covered, and the grouping on the right ─── */

.time-results-head[b-dkjeiqfh5f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--itrela-space-8) var(--itrela-space-16);
    padding: var(--itrela-space-8) var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line-soft);
}

.time-results-title[b-dkjeiqfh5f] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--itrela-space-4) var(--itrela-space-8);
    min-width: 0;
    margin: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.time-results-count[b-dkjeiqfh5f] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-regular);
}

.time-results-count[b-dkjeiqfh5f]::before {
    content: "·";
    margin-inline-end: var(--itrela-space-8);
}

.time-results-head[b-dkjeiqfh5f]  .mud-select {
    flex: 0 0 10rem;
    width: 10rem;
}

/* ── Group heads ──────────────────────────────────────────────────────
   They read as section rows on the quiet raise; TimeReviewRowItem owns
   the responsive row layout beneath them. */

.time-review-group-head[b-dkjeiqfh5f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem 1rem;
    flex-wrap: wrap;
    padding: .55rem var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line-soft);
    background: var(--itrela-workbench-quiet);
}

.time-review-group-head[b-dkjeiqfh5f]  .mud-typography-h6 {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.time-review-group-title[b-dkjeiqfh5f] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.time-review-wrapped[b-dkjeiqfh5f] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--itrela-status-ok);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

/* Wider than a phone, the range is the switch and Group by lives on the
   results head only; their phone twins are hidden. */
@media (min-width: 600px) {
    .time-range[b-dkjeiqfh5f]  .mud-select:has(.time-range-select),
    .time-filters[b-dkjeiqfh5f]  .mud-select:has(.time-groupby--phone) {
        display: none;
    }
}

/* ── Phone: the range is a compact select with the Filters button beside
   it (five options never fit a switch here without cutting one off); the
   custom dates sit under them; the filters (with Group by) open below on
   demand. The totals become two by two. ── */
@media (max-width: 599.98px) {
    .time-toolbar[b-dkjeiqfh5f] {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .time-range[b-dkjeiqfh5f]  .itrela-choice {
        display: none;
    }

    .time-range[b-dkjeiqfh5f]  .mud-select:has(.time-range-select) {
        flex: 1 1 auto;
        min-width: 0;
    }

    .time-filters-toggle[b-dkjeiqfh5f] {
        display: inline-flex;
    }

    .time-custom-dates[b-dkjeiqfh5f],
    .time-toolbar[data-filters-open] .time-filters[b-dkjeiqfh5f] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .time-custom-dates[b-dkjeiqfh5f]  .time-date {
        width: auto;
        min-width: 0;
    }

    .time-filters[b-dkjeiqfh5f] {
        display: none;
    }

    .time-filters[b-dkjeiqfh5f]  .mud-select,
    .time-filters[b-dkjeiqfh5f]  .mud-select:has(.time-filter--destination) {
        width: auto;
        min-width: 0;
    }

    .time-results-head[b-dkjeiqfh5f]  .mud-select {
        display: none;
    }
}
/* /Components/Pages/Time/TimeReviewRowItem.razor.rz.scp.css */
.time-review-row[b-284uz7p7k4] {
    display: grid;
    grid-template-columns: minmax(14rem, 2fr) 5rem minmax(16rem, 2fr) minmax(9rem, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .9rem var(--itrela-workbench-row-pad);
    border-bottom: 1px solid var(--itrela-workbench-line-soft);
}

.time-review-row--editable[b-284uz7p7k4] {
    cursor: pointer;
}

.time-review-row--editable:hover[b-284uz7p7k4],
.time-review-row--editable:focus-visible[b-284uz7p7k4] {
    background: var(--itrela-workbench-quiet);
    outline: none;
}

.time-review-note[b-284uz7p7k4] {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.time-review-person[b-284uz7p7k4],
.time-review-worktype[b-284uz7p7k4] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.time-review-duration[b-284uz7p7k4] {
    font-variant-numeric: tabular-nums;
    font-weight: var(--itrela-weight-strong);
}

.time-review-destination[b-284uz7p7k4] {
    min-width: 0;
}

.time-review-state[b-284uz7p7k4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.time-review-row[b-284uz7p7k4]  .time-review-edit-icon {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 900px) {
    .time-review-row[b-284uz7p7k4] {
        grid-template-columns: 1fr auto;
        gap: .35rem 1rem;
    }

    .time-review-note[b-284uz7p7k4],
    .time-review-destination[b-284uz7p7k4],
    .time-review-worktype[b-284uz7p7k4] {
        grid-column: 1;
    }

    .time-review-duration[b-284uz7p7k4],
    .time-review-state[b-284uz7p7k4] {
        grid-column: 2;
        grid-row: 1;
    }

    .time-review-state[b-284uz7p7k4] {
        grid-row: 2 / span 2;
    }
}

@media (max-width: 600px) {
    .time-review-row[b-284uz7p7k4] {
        grid-template-columns: 1fr;
    }

    .time-review-note[b-284uz7p7k4],
    .time-review-duration[b-284uz7p7k4],
    .time-review-destination[b-284uz7p7k4],
    .time-review-worktype[b-284uz7p7k4],
    .time-review-state[b-284uz7p7k4] {
        grid-column: 1;
        grid-row: auto;
    }

    .time-review-state[b-284uz7p7k4] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Time/TimeUnreviewedDaysStrip.razor.rz.scp.css */
/* The strip lives in a WorkbenchShell notice band. It paints the whole
   band — the WorkbenchBand root belongs to the shared component, so the
   tint goes on this element stretched over the band's padding (the Service
   Desk notice-strip idiom). */

.time-unreviewed-strip[b-8eqo9dycjg] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    align-self: stretch;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 calc(-1 * var(--itrela-workbench-band-pad));
    padding: .55rem var(--itrela-workbench-band-pad);
    background: color-mix(in oklab, var(--mud-palette-warning), var(--mud-palette-surface) 94%);
}

.time-unreviewed-strip[b-8eqo9dycjg]  .time-unreviewed-icon {
    color: var(--mud-palette-warning-darken);
    font-size: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .1rem;
}

.time-unreviewed-content[b-8eqo9dycjg] {
    min-width: 0;
}

.time-unreviewed-content h2[b-8eqo9dycjg] {
    margin: 0;
    font-size: var(--itrela-text-13);
    line-height: 1.35;
    font-weight: var(--itrela-weight-strong);
}

.time-unreviewed-content p[b-8eqo9dycjg] {
    margin: .15rem 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.time-unreviewed-days[b-8eqo9dycjg] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1rem;
    margin-top: .4rem;
    font-size: var(--itrela-text-12);
}

.time-unreviewed-days a[b-8eqo9dycjg] {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.time-unreviewed-days a:hover[b-8eqo9dycjg],
.time-unreviewed-days a:focus-visible[b-8eqo9dycjg] {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .time-unreviewed-days[b-8eqo9dycjg] {
        display: grid;
    }
}
/* /Components/Pages/Vault/Activity.razor.rz.scp.css */
/* Vault activity — WorkbenchShell owns the frame, band rhythm and scrolling. */
.vault-activity-header[b-qyclh2y6z8] {
    width: 100%;
    min-width: 0;
}

.vault-activity-filters[b-qyclh2y6z8] {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto auto 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.vault-activity-window[b-qyclh2y6z8] {
    justify-self: end;
    white-space: nowrap;
}

/* The event ledger is the workbench body, not a card. */
.vault-activity-grid[b-qyclh2y6z8] {
    border: 0;
    border-radius: 0;
}

.vault-activity-grid[b-qyclh2y6z8]  table {
    table-layout: fixed;
}

.vault-activity-grid[b-qyclh2y6z8]  th:first-child,
.vault-activity-grid[b-qyclh2y6z8]  td:first-child {
    width: 190px;
}

.vault-event-when[b-qyclh2y6z8] {
    white-space: nowrap;
    vertical-align: top;
}

.vault-event[b-qyclh2y6z8] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.vault-event-copy[b-qyclh2y6z8] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.vault-event-sentence[b-qyclh2y6z8] {
    min-width: 0;
    color: var(--mud-palette-text-primary);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vault-actor-avatar[b-qyclh2y6z8] {
    display: inline-grid;
    flex: 0 0 28px;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-secondary), white 82%);
    color: color-mix(in oklab, var(--mud-palette-secondary), black 12%);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.vault-activity-error[b-qyclh2y6z8] {
    border-radius: 0;
}

@media (max-width: 959px) {
    .vault-activity-filters[b-qyclh2y6z8] {
        grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) auto auto;
    }

    .vault-activity-window[b-qyclh2y6z8] {
        display: none;
    }

    .vault-activity-grid[b-qyclh2y6z8]  th:first-child,
    .vault-activity-grid[b-qyclh2y6z8]  td:first-child {
        width: 145px;
    }
}

@media (max-width: 599px) {
    .vault-activity-filters[b-qyclh2y6z8] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vault-activity-filters[b-qyclh2y6z8]  .mud-select,
    .vault-activity-filters[b-qyclh2y6z8]  .mud-input-control:first-child {
        grid-column: 1 / -1;
    }

    .vault-activity-grid[b-qyclh2y6z8]  th:first-child,
    .vault-activity-grid[b-qyclh2y6z8]  td:first-child {
        width: 112px;
    }

    .vault-event-copy[b-qyclh2y6z8] {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
/* /Components/Pages/Vault/Dialogs/VaultHistoryDialog.razor.rz.scp.css */
.vault-history[b-mw3dmgbgn7] {
    display: grid;
    gap: var(--itrela-space-12);
}

.vault-history-list[b-mw3dmgbgn7] {
    display: grid;
}

.vault-history-entry[b-mw3dmgbgn7] {
    display: grid;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-12) 0;
    border-top: 1px solid var(--itrela-line);
}

.vault-history-entry:last-child[b-mw3dmgbgn7] {
    border-bottom: 1px solid var(--itrela-line);
}

.vault-history-head[b-mw3dmgbgn7] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--itrela-space-4) var(--itrela-space-8);
    font-size: var(--itrela-text-13);
}

.vault-history-when[b-mw3dmgbgn7] {
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-primary);
}

.vault-history-who[b-mw3dmgbgn7] {
    color: var(--mud-palette-text-secondary);
}

.vault-history-field[b-mw3dmgbgn7] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
    min-width: 0;
}

.vault-history-field-name[b-mw3dmgbgn7] {
    min-width: 6rem;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.vault-history-value[b-mw3dmgbgn7] {
    font-size: var(--itrela-text-14);
    min-width: 0;
}

code.vault-history-value[b-mw3dmgbgn7] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    word-break: break-all;
    white-space: pre-wrap;
    user-select: all;
}

.vault-history-totp[b-mw3dmgbgn7] {
    font-size: var(--itrela-text-12);
}
/* /Components/Pages/Vault/Dialogs/VaultShareDialog.razor.rz.scp.css */
/* The share dialog's sees-box and public-address line (PARITY-2i). */
.share-sees-box[b-o9qekikx0p] {
    border: 1px solid color-mix(in oklab, var(--mud-palette-warning), transparent 55%);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 94%);
    border-radius: var(--itrela-radius-control);
    padding: 10px 12px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.share-public-line[b-o9qekikx0p] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-success);
}
/* /Components/Pages/Vault/Index.razor.rz.scp.css */
/* The header band content fills the band; WorkbenchShell owns everything
   else about the frame (band padding, title scale, action sizing). */
.vault-header[b-ved9z0tqei] {
    width: 100%;
    min-width: 0;
}
/* /Components/Pages/Vault/VaultCredentialsPanel.razor.rz.scp.css */

/* Desktop says the whole action; the phone keeps the short label (the
   mockup's mobile figure). */
.vault-copy-label--short[b-knsxx9v54g] {
    display: none;
}

@media (max-width: 599.98px) {
    .vault-copy-label--full[b-knsxx9v54g] {
        display: none;
    }

    .vault-copy-label--short[b-knsxx9v54g] {
        display: inline;
    }
}

/* ── PARITY-2i: the drawn vault list ────────────────────────────────── */

/* The workbench filter band's content row (the clients-filter-band idiom):
   one nowrap row that scrolls sideways rather than wrapping under 1000px. */
.vault-filter-band[b-knsxx9v54g] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.vault-saved-views[b-knsxx9v54g] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* The workbench body is the list's only surface: the shared data-grid
   standard stays, the container's card hairline and radius come off (the
   clients-grid idiom). */
.vault-grid[b-knsxx9v54g] {
    border: 0;
    border-radius: 0;
}

/* The drawn hygiene chip (Improvements 3 §G): "Not changed in 12 months"
   rests warn-tinted — it is a warning, not a neutral filter. */
.vault-saved-views[b-knsxx9v54g]  .mud-chip.vault-saved-view--warn {
    border-color: color-mix(in oklab, var(--itrela-status-warning-bright), var(--mud-palette-lines-default) 40%);
    background: color-mix(in oklab, var(--itrela-status-warning-bright), transparent 90%);
    color: var(--itrela-status-warning);
}

.vault-saved-views[b-knsxx9v54g]  .mud-chip.vault-saved-view--warn .mud-chip-icon {
    color: inherit;
}

/* Stale Changed values (drawn): a 6px dot plus colored 600 text — warning at
   12 months, critical at 2 years. Fresh rows keep the plain ink cell. The
   tone class sits on a MudText, so these selectors go deep under the two
   stamped grid wrappers (full page and client-tab embedded). */
.vault-grid[b-knsxx9v54g]  .vault-changed,
.vault-embedded-grid[b-knsxx9v54g]  .vault-changed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: var(--itrela-weight-strong);
}

.vault-grid[b-knsxx9v54g]  .vault-changed--warn,
.vault-embedded-grid[b-knsxx9v54g]  .vault-changed--warn {
    color: var(--itrela-status-warning);
}

.vault-grid[b-knsxx9v54g]  .vault-changed--crit,
.vault-embedded-grid[b-knsxx9v54g]  .vault-changed--crit {
    color: var(--itrela-status-critical);
}

.vault-changed-dot[b-knsxx9v54g] {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--itrela-status-warning-bright);
}

.vault-changed--crit .vault-changed-dot[b-knsxx9v54g] {
    background: var(--itrela-status-critical);
}

/* Search with the "/" kbd rendered inside the field, right-aligned
   (matching Service Desk, Clients, and Documentation). */
.vault-search-wrap[b-knsxx9v54g] {
    position: relative;
    flex: 1 1 280px;
    min-width: 220px;
}

.vault-search-wrap[b-knsxx9v54g]  .vault-search-control {
    width: 100%;
}

.vault-search-wrap[b-knsxx9v54g]  .vault-search-control input {
    text-overflow: ellipsis;
}

.vault-search-wrap:has(.vault-kbd)[b-knsxx9v54g]  .vault-search-control input {
    padding-right: 36px;
}

.vault-filter-band[b-knsxx9v54g]  .vault-filter-client,
.vault-embedded-filters[b-knsxx9v54g]  .vault-filter-client {
    max-width: 220px;
}

.vault-filter-band[b-knsxx9v54g]  .vault-filter-kind,
.vault-embedded-filters[b-knsxx9v54g]  .vault-filter-kind {
    max-width: 180px;
}

/* On a phone the filter row wraps instead of running off the edge: the
   search takes the whole first line, the client and kind pickers share the
   next, and the archived switch follows. */
@media (max-width: 600px) {
    .vault-filter-band[b-knsxx9v54g] {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-block: var(--itrela-space-8);
    }

    .vault-search-wrap[b-knsxx9v54g] {
        flex-basis: 100%;
        min-width: 0;
    }

    .vault-filter-band[b-knsxx9v54g]  :is(.vault-filter-client, .vault-filter-kind) {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
}

.vault-kbd[b-knsxx9v54g] {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 20px;
    padding: 1px 5px;
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: var(--itrela-radius-small);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    font-family: inherit;
    font-size: var(--itrela-text-12);
    line-height: 16px;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.vault-name-cell[b-knsxx9v54g] {
    min-width: 0;
}

.vault-name-sub[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

/* The inline reveal row (drawn). */
.vault-reveal-row td[b-knsxx9v54g] {
    background: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    padding: 12px 14px;
}

.vault-reveal-box[b-knsxx9v54g] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vault-reveal-kind[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.vault-reveal-secret[b-knsxx9v54g] {
    font-family: var(--mud-typography-caption-family, monospace);
    word-spacing: normal;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    background: var(--mud-palette-surface);
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 45%);
    border-radius: var(--itrela-radius-control);
    padding: 6px 12px;
    user-select: all;
    word-break: break-all;
}

.vault-reveal-notes[b-knsxx9v54g] {
    margin-top: 8px;
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-secondary);
    white-space: pre-wrap;
}

/* Extra fields an import kept: a short list under the secret, one copy
   control per field, re-masked with the reveal. */
.vault-more-fields[b-knsxx9v54g] {
    margin-top: var(--itrela-space-8);
    display: grid;
    gap: var(--itrela-space-4);
}

.vault-more-fields-title[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    color: var(--mud-palette-text-secondary);
}

.vault-more-field[b-knsxx9v54g] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
    flex-wrap: wrap;
    min-width: 0;
}

.vault-more-field-name[b-knsxx9v54g] {
    font-size: var(--itrela-text-13);
    color: var(--mud-palette-text-primary);
}

.vault-more-field-value[b-knsxx9v54g] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-13);
    word-break: break-all;
    white-space: pre-wrap;
    min-width: 0;
}

.vault-reveal-spacer[b-knsxx9v54g] {
    flex: 1;
}

.vault-reveal-note[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    color: color-mix(in oklab, var(--mud-palette-primary), black 15%);
}

/* Card foot pager + the standing history line. In the workbench body the
   strip aligns with the row inset; the client tab keeps its own padding. */
.vault-card-foot[b-knsxx9v54g] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px var(--itrela-workbench-row-pad, 14px);
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
}

.vault-muted[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
}

.vault-link-btn[b-knsxx9v54g] {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.vault-link-btn:hover[b-knsxx9v54g] {
    text-decoration: underline;
}

.vault-link-btn:focus-visible[b-knsxx9v54g] {
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
    border-radius: var(--itrela-radius-small);
}

/* Day-one empty on a client's Credentials tab (drawn); the vault page uses
   the shared EmptyState. */
.vault-empty[b-knsxx9v54g] {
    margin-top: var(--itrela-card-gap);
    padding: 32px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vault-empty-title[b-knsxx9v54g] {
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-primary);
}

.vault-empty-sub[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    max-width: 520px;
}

.vault-empty-actions[b-knsxx9v54g] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

@media (max-width: 599.98px) {
    /* Phone: the two actions stacked instead of squeezing side by side. */
    .vault-empty-actions[b-knsxx9v54g] {
        flex-direction: column;
        align-items: stretch;
    }
}

.vault-empty-tip[b-knsxx9v54g] {
    font-size: var(--itrela-text-12);
    color: var(--mud-palette-text-secondary);
    margin-top: 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
    padding-top: 12px;
    max-width: 520px;
}
/* /Components/Pages/YourDay/Index.razor.rz.scp.css */
/* Your day — ComposedShell owns the width, split, card edges and column rhythm.
   This file styles only the page's content inside that shared chrome. */

.yourday-rollover[b-b9b42avglj] {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.yourday-chrome-head[b-b9b42avglj] {
    width: 100%;
}

/* The head row is a PageHeader — it owns the title/actions flex row. This
   wrapper only keeps the vertical rhythm inside the pinned band: air under
   the title row, none above it, so the title starts where every other page
   title starts. */
.yourday-head[b-b9b42avglj] {
    padding-bottom: 14px;
}

/* The shell pins the whole header slot. This quiet second row is therefore
   pinned with it, without restating the shell's 30px inset. The band sits on
   the quiet raise (table-striped = the sheets' --surface-q), not a darker mix. */
.yourday-switch[b-b9b42avglj] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-inline: calc(-1 * var(--itrela-composed-pad));
    padding: 9px var(--itrela-composed-pad);
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
    background: var(--mud-palette-table-striped);
    font-size: var(--itrela-text-13);
}

.yourday-switch-cur[b-b9b42avglj] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.yourday-switch-spacer[b-b9b42avglj] {
    flex: 1;
}

.yourday-switch-note[b-b9b42avglj] {
    color: var(--mud-palette-text-secondary);
}

.yourday-ds-nav[b-b9b42avglj] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
}

.yourday-ds-nav:hover[b-b9b42avglj] {
    color: var(--mud-palette-primary);
}

/* The back-nav is the one accent word in the band; forward stays ink-2. */
.yourday-ds-nav--back[b-b9b42avglj],
.yourday-ds-nav--action[b-b9b42avglj] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
}

.yourday-ds-nav--action:hover[b-b9b42avglj] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yourday-ds-nav:focus-visible[b-b9b42avglj] {
    border-radius: var(--itrela-radius-small);
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
}

.yourday-main[b-b9b42avglj] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.yourday-card-host[b-b9b42avglj] {
    min-width: 0;
}

.yourday-review-backlog[b-b9b42avglj] {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 10px 12px;
    border-left: 3px solid color-mix(in oklab, var(--mud-palette-warning), transparent 35%);
    background: color-mix(in oklab, var(--mud-palette-warning), transparent 94%);
}

.yourday-review-backlog-label[b-b9b42avglj] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.yourday-backlog-link[b-b9b42avglj] {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
    text-align: left;
}

.yourday-backlog-link:hover[b-b9b42avglj] {
    color: var(--mud-palette-primary);
}

.yourday-tally[b-b9b42avglj] {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
}

.yourday-timer-context[b-b9b42avglj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* QuickNoteLooseEnds is a shared, independently interactive card that the
   sheet does not place. Keep its empty state as a quiet compact status badge
   instead of a full-width dashed banner so daily priorities stay above the fold. */
.yourday-loose-ends[b-b9b42avglj]  .quick-note-loose-ends {
    margin-bottom: 0;
}

.yourday-loose-ends[b-b9b42avglj]  .quick-note-loose-clear {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    margin-bottom: 0;
    padding: 4px 10px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 20%);
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12);
    line-height: 1.3;
}

.yourday-empty[b-b9b42avglj] {
    padding-block: 13px;
    text-align: center;
}

.yourday-empty-title[b-b9b42avglj] {
    margin-bottom: 4px;
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.yourday-empty-sub[b-b9b42avglj] {
    margin-bottom: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

@media (max-width: 599.98px) {
    .yourday-switch-spacer[b-b9b42avglj] {
        display: none;
    }

    .yourday-switch-note[b-b9b42avglj] {
        width: 100%;
    }

}
/* /Components/Pages/YourDay/ReviewDaySection.razor.rz.scp.css */
.yourday-review-section-intro[b-29to9tu3fc] {
    padding: 2px;
}

.yourday-review-section-label[b-29to9tu3fc] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.yourday-review-section-note[b-29to9tu3fc] {
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.yourday-review-section-note .yourday-ds-nav[b-29to9tu3fc] {
    margin-left: 6px;
}

.yourday-decide[b-29to9tu3fc] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

.yourday-card-host[b-29to9tu3fc] {
    min-width: 0;
}

.yourday-quiet-offer[b-29to9tu3fc] {
    min-width: 0;
}

.yourday-quiet-offer > summary[b-29to9tu3fc] {
    width: fit-content;
    color: var(--mud-palette-primary);
    cursor: pointer;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    list-style: none;
}

.yourday-quiet-offer > summary[b-29to9tu3fc]::-webkit-details-marker {
    display: none;
}

.yourday-quiet-arrow[b-29to9tu3fc] {
    display: inline-block;
    margin-left: 2px;
    transition: transform 120ms ease;
}

.yourday-quiet-offer[open] .yourday-quiet-arrow[b-29to9tu3fc] {
    transform: rotate(90deg);
}

.yourday-quiet-cards[b-29to9tu3fc] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    margin-top: var(--itrela-card-gap);
    min-width: 0;
}

.yourday-card-host[b-29to9tu3fc]  .yourday-minutes-field {
    width: 130px;
    flex: 0 0 130px;
}

.yourday-n-top[b-29to9tu3fc] {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

.yourday-n-main[b-29to9tu3fc] {
    flex: 1;
    min-width: 0;
}

.yourday-card-host[b-29to9tu3fc]  .yourday-n-title,
.yourday-n-title[b-29to9tu3fc] {
    display: block;
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}

.yourday-n-meta[b-29to9tu3fc] {
    display: block;
    margin-top: 1px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

/* The tracked-evidence line is plain inline text with a small adjust glyph —
   no box, no fill (§ N decision card). */
.yourday-n-track[b-29to9tu3fc] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.yourday-n-track[b-29to9tu3fc]  .mud-icon-root {
    font-size: 17px;
}

.yourday-n-dest[b-29to9tu3fc] {
    margin-top: 10px;
}

.yourday-n-actions[b-29to9tu3fc],
.yourday-confirm[b-29to9tu3fc] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.yourday-n-actions-spacer[b-29to9tu3fc],
.yourday-flip-spacer[b-29to9tu3fc] {
    flex: 1;
}

.yourday-or[b-29to9tu3fc],
.yourday-scraps-title[b-29to9tu3fc] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.yourday-dur-chips[b-29to9tu3fc] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.yourday-dur-chip[b-29to9tu3fc] {
    padding: 6px 12px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 30%);
    border-radius: var(--itrela-radius-control);
    background: transparent;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.yourday-dur-chip:hover:not(:disabled)[b-29to9tu3fc] {
    border-color: var(--mud-palette-primary);
}

.yourday-dur-chip:disabled[b-29to9tu3fc] {
    opacity: 0.55;
    cursor: default;
}

.yourday-dur-chip--suggested[b-29to9tu3fc] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: var(--itrela-weight-strong);
}

.yourday-dur-chip:focus-visible[b-29to9tu3fc],
.yourday-ds-nav:focus-visible[b-29to9tu3fc],
.yourday-flip-link:focus-visible[b-29to9tu3fc] {
    border-radius: var(--itrela-radius-small);
    outline: 2px solid color-mix(in oklab, var(--mud-palette-primary), white 55%);
    outline-offset: 1px;
}

.yourday-n-error[b-29to9tu3fc] {
    padding-top: 8px;
    color: var(--mud-palette-error);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
}

.yourday-mono[b-29to9tu3fc],
.yourday-scrap-dur[b-29to9tu3fc] {
    font-variant-numeric: tabular-nums;
}

/* The "Just logged" flip is a tighter, quieter card than the default composed
   one: 12px radius, 11px/16px padding, ok-edged but never ok-FILLED (§ N). */
.yourday-flip-card[b-29to9tu3fc]  .itrela-composed-card {
    border-color: color-mix(in oklab, var(--mud-palette-success), transparent 45%);
    border-radius: var(--itrela-radius-surface);
}

.yourday-flip-card[b-29to9tu3fc]  .itrela-composed-card-body {
    padding: 11px 16px;
}

.yourday-flip-line[b-29to9tu3fc] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
}

.yourday-flip-line[b-29to9tu3fc]  .yourday-flip-icon {
    flex: none;
}

.yourday-flip-link[b-29to9tu3fc],
.yourday-ds-nav[b-29to9tu3fc] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mud-palette-primary);
    cursor: pointer;
    font: inherit;
    font-size: var(--itrela-text-13);
}

.yourday-flip-link:hover[b-29to9tu3fc],
.yourday-ds-nav:hover[b-29to9tu3fc] {
    text-decoration: underline;
}

.yourday-confirm-q[b-29to9tu3fc] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
}

.yourday-scraps-head[b-29to9tu3fc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
}

.yourday-scraps-title[b-29to9tu3fc] {
    font-weight: var(--itrela-weight-strong);
}

.yourday-scrap-row[b-29to9tu3fc] {
    padding-block: 9px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 55%);
}

.yourday-scrap-row[b-29to9tu3fc]  .yourday-scrap-ticket {
    min-width: 0;
    overflow: hidden;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yourday-scrap-dur[b-29to9tu3fc] {
    flex: none;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.yourday-scrap-actions[b-29to9tu3fc] {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
}

.yourday-section-empty[b-29to9tu3fc] {
    padding: 13px;
    border: 1px dashed color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    text-align: center;
}

@media (max-width: 599.98px) {
    .yourday-card-host[b-29to9tu3fc]  .yourday-minutes-field {
        width: 100%;
        flex-basis: 100%;
    }

    .yourday-n-actions > .yourday-dur-chips:first-child[b-29to9tu3fc] {
        width: 100%;
    }

    .yourday-n-actions > .yourday-dur-chips:first-child .yourday-dur-chip--suggested[b-29to9tu3fc] {
        flex: 1;
        padding-block: 10px;
        text-align: center;
    }
}
/* /Components/Pages/YourDay/TicketActivityEditor.razor.rz.scp.css */
.yourday-activity[b-wz9t6g43v4] {
    margin-top: 8px;
}

.yourday-activity-heading[b-wz9t6g43v4],
.yourday-activity-empty[b-wz9t6g43v4] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.yourday-activity-list[b-wz9t6g43v4] {
    display: grid;
    gap: 3px;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
}

.yourday-activity-list li[b-wz9t6g43v4] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
}

.yourday-activity-list li[b-wz9t6g43v4]::before {
    content: "·";
    position: absolute;
}

.yourday-activity-list li > span[b-wz9t6g43v4] {
    padding-left: 12px;
}

.yourday-activity-list time[b-wz9t6g43v4],
.yourday-activity-context[b-wz9t6g43v4] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-variant-numeric: tabular-nums;
}

.yourday-activity-context[b-wz9t6g43v4] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.yourday-activity-empty[b-wz9t6g43v4] {
    margin-top: 8px;
    font-weight: var(--itrela-weight-medium);
}

[b-wz9t6g43v4] .yourday-activity-note {
    margin-top: 9px;
}

@media (max-width: 599.98px) {
    .yourday-activity-list li[b-wz9t6g43v4] {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .yourday-activity-list time[b-wz9t6g43v4] {
        padding-left: 12px;
    }
}
/* /Components/Pages/YourDay/TicketTimeArithmetic.razor.rz.scp.css */
.yourday-n-arithmetic[b-ji6x980272] {
    margin-top: 10px;
    color: var(--mud-palette-text-primary);
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    font-size: var(--itrela-text-13);
    font-variant-numeric: tabular-nums;
    font-weight: var(--itrela-weight-strong);
}
/* /Components/Pages/YourDay/WrapUpSectionFooter.razor.rz.scp.css */
.yourday-section-close[b-xxpmns7bfh] {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.yourday-section-close--blocked[b-xxpmns7bfh] {
    justify-content: flex-start;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}
/* /Components/Pages/YourDay/WrapUpSectionTitle.razor.rz.scp.css */
.yourday-review-section-head[b-ich9kzeduj] {
    padding: 2px 2px 0;
}

.yourday-review-section-head h2[b-ich9kzeduj] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
}
/* /Components/Pages/YourDay/WrapUpSummaryLine.razor.rz.scp.css */
.yourday-sub[b-8qy6gbp5yg] {
    margin-top: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}
/* /Components/Pages/YourDay/YourDayPlan.razor.rz.scp.css */
.yourday-card-head[b-ssftb96rcz] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 8px;
}

.yourday-card-title[b-ssftb96rcz] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: 0;
}

.yourday-card-sub[b-ssftb96rcz] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.yourday-plan-spacer[b-ssftb96rcz] {
    flex: 1;
}

/* Plan rows run full-bleed to the card edge on their own border-top
   hairlines (§ N "Today's plan"), cancelling the composed body padding. */
.yourday-sched-row[b-ssftb96rcz] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline: -18px;
    padding: 10px 18px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
}

.yourday-sched-row:last-child[b-ssftb96rcz] {
    margin-bottom: -15px;
}

.yourday-sched-main[b-ssftb96rcz] {
    flex: 1;
    min-width: 0;
}

.yourday-sched-title[b-ssftb96rcz] {
    display: block;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

.yourday-sched-meta[b-ssftb96rcz] {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.yourday-sched-side[b-ssftb96rcz] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
}

.yourday-sched-when[b-ssftb96rcz] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.yourday-sched-when--muted[b-ssftb96rcz] {
    font-family: inherit;
}

.yourday-sched-empty[b-ssftb96rcz] {
    padding-block: 6px 10px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.yourday-sched-divider[b-ssftb96rcz] {
    margin-inline: -18px;
    padding: 8px 18px 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.yourday-sched-divider + .yourday-sched-row[b-ssftb96rcz] {
    border-top: 0;
}

.yourday-plan-attention[b-ssftb96rcz] {
    padding: 7px 2px 0;
    font-size: var(--itrela-text-13);
}

.yourday-chip[b-ssftb96rcz] {
    padding: 1px 8px;
    border-radius: var(--itrela-radius-pill);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    white-space: nowrap;
}

.yourday-chip--ok[b-ssftb96rcz] {
    background: color-mix(in oklab, var(--mud-palette-success), transparent 86%);
    color: var(--itrela-status-ok);
}

.yourday-chip--steel[b-ssftb96rcz] {
    background: color-mix(in oklab, var(--mud-palette-secondary), transparent 86%);
    color: color-mix(in oklab, var(--mud-palette-secondary), black 12%);
}

@media (max-width: 599.98px) {
    .yourday-sched-row[b-ssftb96rcz] {
        align-items: flex-start;
        flex-direction: column;
    }

    .yourday-sched-side[b-ssftb96rcz] {
        justify-content: space-between;
        width: 100%;
    }
}
/* /Components/QuickNotes/QuickNoteClientStep.razor.rz.scp.css */
.quick-note-client-step[b-k0bqt86uzg] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quick-note-client-places[b-k0bqt86uzg] {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.quick-note-client-places legend[b-k0bqt86uzg] {
    margin-bottom: 6px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.quick-note-client-places label[b-k0bqt86uzg] {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 2px;
    border-top: 1px solid var(--mud-palette-lines-default);
    cursor: pointer;
}

.quick-note-client-places label:last-child[b-k0bqt86uzg] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.quick-note-client-places input[b-k0bqt86uzg] {
    margin-top: 3px;
    accent-color: var(--mud-palette-primary);
}

.quick-note-client-places span[b-k0bqt86uzg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-note-client-places strong[b-k0bqt86uzg] {
    font-size: var(--itrela-text-14);
}

.quick-note-client-places small[b-k0bqt86uzg] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

.quick-note-client-actions[b-k0bqt86uzg] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.quick-note-client-private[b-k0bqt86uzg] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}
/* /Components/QuickNotes/QuickNoteEditor.razor.rz.scp.css */
.quick-note-editor[b-cxjl4q72yf] {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.quick-note-time[b-cxjl4q72yf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quick-note-time strong[b-cxjl4q72yf] {
    color: var(--mud-palette-text-primary);
}

.quick-note-field-head[b-cxjl4q72yf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 6px;
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
}

.quick-note-save[b-cxjl4q72yf] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
}

.quick-note-save--failed[b-cxjl4q72yf] {
    color: var(--mud-palette-error);
}

.quick-note-editor[b-cxjl4q72yf]  .mud-input-control {
    flex: 0 0 auto;
}

.quick-note-editor[b-cxjl4q72yf]  textarea {
    min-height: 250px;
    max-height: min(48vh, 520px);
    overflow-y: auto;
}

.quick-note-timing[b-cxjl4q72yf] {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.5;
}

.quick-note-timing strong[b-cxjl4q72yf] {
    color: var(--mud-palette-text-primary);
}
/* /Components/QuickNotes/QuickNoteFinish.razor.rz.scp.css */
.quick-note-finish-actions[b-6h4hvmd1o1] {
    margin-top: 18px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.quick-note-finish-label[b-6h4hvmd1o1] {
    padding: 16px 0 8px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quick-note-finish-row[b-6h4hvmd1o1] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 2px;
    border: 0;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.quick-note-finish-row:hover[b-6h4hvmd1o1] {
    background: color-mix(in oklab, var(--mud-palette-background), transparent 45%);
}

.quick-note-finish-row:focus-visible[b-6h4hvmd1o1] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.quick-note-finish-row span[b-6h4hvmd1o1] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.quick-note-finish-row strong[b-6h4hvmd1o1] {
    font-size: var(--itrela-text-14);
}

.quick-note-finish-row small[b-6h4hvmd1o1] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

.quick-note-finish-row[b-6h4hvmd1o1]  .mud-icon-root {
    flex: 0 0 auto;
    color: var(--mud-palette-text-secondary);
}

.quick-note-finish-quiet[b-6h4hvmd1o1] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 25%);
}
/* /Components/QuickNotes/QuickNoteLooseEnds.razor.rz.scp.css */
.quick-note-loose-ends[b-9hoj69j8c4] {
    margin-bottom: 20px;
    padding: 18px 20px;
}

.quick-note-loose-clear[b-9hoj69j8c4] {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 20%);
    border-radius: var(--itrela-radius-pill);
    background: var(--mud-palette-surface);
    font-size: var(--itrela-text-12);
    line-height: 1.3;
}

.quick-note-loose-ends > header[b-9hoj69j8c4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.quick-note-loose-ends h2[b-9hoj69j8c4] {
    margin: 0;
    /* Explicit 600: brand moments are Archivo 600. Without this the UA's
       bold (700) wins on h2. */
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-16);
}

.quick-note-loose-ends header p[b-9hoj69j8c4] {
    margin: 3px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quick-note-loose-list[b-9hoj69j8c4] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.quick-note-loose-row[b-9hoj69j8c4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.quick-note-loose-row:last-child[b-9hoj69j8c4] {
    border-bottom: 0;
}

.quick-note-loose-row h3[b-9hoj69j8c4] {
    margin: 0;
    font-size: var(--itrela-text-14);
    line-height: 1.35;
}

.quick-note-loose-row p[b-9hoj69j8c4] {
    margin: 3px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

@media (max-width: 599.98px) {
    .quick-note-loose-ends[b-9hoj69j8c4] {
        padding: 16px;
    }

    .quick-note-loose-row[b-9hoj69j8c4] {
        align-items: flex-start;
    }
}
/* /Components/QuickNotes/QuickNoteWorkspace.razor.rz.scp.css */
.quick-note-panel[b-6rrjmpiy14] {
    position: fixed;
    /* Above the mobile app bar (1300), below navigation/help layers (1390/1400). */
    z-index: 1350;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(460px, calc(100vw - 72px));
    flex-direction: column;
    border-left: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-shadow: var(--itrela-shadow-float);
}

.quick-note-close[b-6rrjmpiy14] {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 35%);
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.quick-note-close:hover[b-6rrjmpiy14] {
    color: var(--mud-palette-text-primary);
}

.quick-note-close:focus-visible[b-6rrjmpiy14] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.quick-note-head[b-6rrjmpiy14] {
    flex: 0 0 auto;
    padding: 26px 66px 18px 26px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.quick-note-eyebrow[b-6rrjmpiy14] {
    margin-bottom: 3px;
    color: var(--mud-palette-primary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quick-note-head h2[b-6rrjmpiy14] {
    margin: 0;
    /* Explicit 600: brand moments are Archivo 600. Without this the UA's
       bold (700) wins on h2. */
    font-weight: var(--itrela-weight-strong);
    font-size: var(--itrela-text-28);
    line-height: 1.2;
}

.quick-note-head p[b-6rrjmpiy14] {
    margin: 5px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: 1.45;
}

.quick-note-body[b-6rrjmpiy14] {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px 26px;
}

.quick-note-summary[b-6rrjmpiy14] {
    padding-bottom: 4px;
}

.quick-note-summary h3[b-6rrjmpiy14] {
    margin: 0 0 4px;
    font-size: var(--itrela-text-16);
    line-height: 1.35;
}

.quick-note-summary div[b-6rrjmpiy14] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
}

.quick-note-summary p[b-6rrjmpiy14] {
    margin: 12px 0 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    line-height: 1.55;
}

.quick-note-footer[b-6rrjmpiy14] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 26px;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 45%);
}

.quick-note-footer > span[b-6rrjmpiy14] {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.4;
}

.quick-note-footer--quiet[b-6rrjmpiy14] {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 599.98px) {
    .quick-note-panel[b-6rrjmpiy14] {
        width: 100vw;
        border-left: 0;
    }

    .quick-note-head[b-6rrjmpiy14] {
        padding: 20px 60px 15px 18px;
    }

    .quick-note-close[b-6rrjmpiy14] {
        top: 13px;
        right: 13px;
    }

    .quick-note-body[b-6rrjmpiy14] {
        padding: 18px;
    }

    .quick-note-footer[b-6rrjmpiy14] {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 13px 18px max(13px, env(safe-area-inset-bottom));
    }
}
/* /Components/Shared/ChoiceSwitch.razor.rz.scp.css */
/* The choice switch. Tokens only. One outlined group, 32px tall; the
   selected option takes a faint ink tint, ink text and the strong weight;
   the rest are quiet text. No solid fill: the switch picks a view, it is
   not the page's primary action. */

.itrela-choice[b-ds818be2n4] {
    display: inline-flex;
    align-items: stretch;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    height: var(--itrela-choice-height);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    background: var(--mud-palette-surface);
    /* More options than the column holds (the quotes filter can show nine):
       the switch scrolls sideways inside itself, never the page. */
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    /* A thin bar where the platform draws one, so a mouse reader can see
       there is more; phones draw none. */
    scrollbar-width: thin;
}

.itrela-choice-option[b-ds818be2n4] {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 var(--itrela-space-12);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    line-height: var(--itrela-leading-tight);
    flex: 0 0 auto;
    gap: var(--itrela-space-4);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease),
        color var(--itrela-motion-fast) var(--itrela-ease);
}

/* A hairline between options, so each reads as its own target. */
.itrela-choice-option + .itrela-choice-option[b-ds818be2n4] {
    border-inline-start: 1px solid var(--itrela-line);
}

/* The group's border is 1px, so the options' outer corners sit 1px inside it. */
.itrela-choice-option:first-child[b-ds818be2n4] {
    border-start-start-radius: calc(var(--itrela-radius-control) - 1px);
    border-end-start-radius: calc(var(--itrela-radius-control) - 1px);
}

.itrela-choice-option:last-child[b-ds818be2n4] {
    border-start-end-radius: calc(var(--itrela-radius-control) - 1px);
    border-end-end-radius: calc(var(--itrela-radius-control) - 1px);
}

.itrela-choice-option:hover:not(:disabled)[b-ds818be2n4] {
    color: var(--mud-palette-text-primary);
    background: color-mix(in oklab, var(--mud-palette-text-primary) 3%, transparent);
}

.itrela-choice-option--selected[b-ds818be2n4],
.itrela-choice-option--selected:hover:not(:disabled)[b-ds818be2n4] {
    background: color-mix(in oklab, var(--mud-palette-text-primary) 7%, transparent);
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

/* Drawn inside the option: neighbours and scrolling bands cannot clip it. */
.itrela-choice-option:focus-visible[b-ds818be2n4] {
    z-index: 1;
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}

.itrela-choice-option:disabled[b-ds818be2n4] {
    color: var(--mud-palette-text-disabled);
    cursor: default;
}

/* Each label reserves the width of its strong (selected) weight with a
   hidden copy, so choosing an option never widens it: neighbours do not
   shift, and a sideways-scrolled switch keeps the chosen option in view. */
.itrela-choice-label[b-ds818be2n4] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.itrela-choice-label[b-ds818be2n4]::after {
    content: attr(data-label);
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: var(--itrela-weight-strong);
    user-select: none;
    pointer-events: none;
}

/* A dot before an option that needs a look ("Accepted, nothing since").
   Decorative: the option's words carry the meaning. */
.itrela-choice-dot[b-ds818be2n4] {
    flex: 0 0 auto;
    width: calc(var(--itrela-space-12) / 2);
    height: calc(var(--itrela-space-12) / 2);
    border-radius: var(--itrela-radius-pill);
    background: var(--itrela-status-warning);
}

/* Phone: four options fit the column with a tighter inset. */
@media (max-width: 599.98px) {
    .itrela-choice-option[b-ds818be2n4] {
        padding: 0 var(--itrela-space-8);
    }
}
/* /Components/Shared/ComposedCard.razor.rz.scp.css */
/* ── Composed card ────────────────────────────────────────────────────
   The label belongs to the block, not to the column: if it were a
   separate column child it would sit a full --itrela-card-gap above its own
   card and read as a heading for the gap. */

.itrela-composed-block[b-evx7i6e0wa] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* 13px of label + 6px of air = the 19px the side column reserves. */
.itrela-composed-label[b-evx7i6e0wa] {
    margin: 0 0 6px;
    font-size: var(--itrela-text-12);
    /* Weight and tracking both come from the sheet, not from the app's usual
       habits: "Itrela Core Pages.dc.html" line 694 draws this label at weight
       700 and tracking .08em, where the app more often uses 600 and .06em.
       That line is the composed "Your day" screen whose measurements
       ComposedShell builds; the same label repeats at 704 and 779. 700 is a
       real weight here, not a synthesised bold: Archivo ships as a variable
       file with a wght axis of 100-900. Cited so neither number is re-flagged
       as drift. */
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
    line-height: 13px;
    color: var(--mud-palette-text-secondary);
}

.itrela-composed-card[b-evx7i6e0wa] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-card, 14px);
    background: var(--mud-palette-surface);
}

.itrela-composed-card-body[b-evx7i6e0wa] {
    padding: 15px 18px;
    min-width: 0;
}

.itrela-composed-card-foot[b-evx7i6e0wa] {
    padding: 15px 18px;
    border-top: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 45%);
    font-size: var(--itrela-text-12);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Shared/ComposedShell.razor.rz.scp.css */
/* ── Composed shell — page chrome 2 ───────────────────────────────────
   The centred column's measurements live here and nowhere else. A page
   that restates 1250px has forked the chrome. */

.itrela-composed[b-ca49rupaht] {
    --itrela-composed-width: 1250px;
    --itrela-composed-pad: 30px;
    --itrela-composed-side-width: 400px;
    --itrela-composed-column-gap: var(--itrela-card-gap);

    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* Pinned: the header stays put while the column scrolls under it.
   Top-aligned, not centred: the title's top edge is the head's top padding,
   or one way-back line below it (see the way-back slot below). */
.itrela-composed-head[b-ca49rupaht] {
    position: sticky;
    top: var(--itrela-page-header-top, 0px);
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 60px;
    padding-block: 12px;
    padding-inline: var(--itrela-composed-pad);
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    background: var(--mud-palette-surface);
}

/* The composed head wears the one page-title tier (UI_STYLE_GUIDE.md
   "Settled numbers"): 20px/600 over a 14px subtitle, actions at the drawn
   34px idiom — the same as the workbench band and the index head. PageHeader's
   scoped base carries no title size — the shells own it, and the retired
   1.75rem must never surface here.
   Anchored on itrela-composed-head because ::deep only resolves through a
   plain element the shell renders itself (PageChromeContractTests). */
.itrela-composed-head[b-ca49rupaht]  .page-header {
    align-items: flex-start;
    width: 100%;
    padding-bottom: 0;
}

.itrela-composed-head[b-ca49rupaht]  .page-title {
    margin: 0;
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.itrela-composed-head[b-ca49rupaht]  .page-subtitle {
    font-size: var(--itrela-text-14);
}

/* The text block is top-aligned so the title never moves; the actions centre
   on it, and start level with the title when they are the taller of the two. */
.itrela-composed-head[b-ca49rupaht]  .page-header-actions {
    align-self: center;
}

/* A MudSwitch's thumb rides a .mud-button-root too; it keeps its own box. */
.itrela-composed-head[b-ca49rupaht]  .mud-button-root:not(.mud-switch-base) {
    box-sizing: border-box;
    min-height: 34px;
    height: auto;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

/* The way back has one slot above the title (UI_STYLE_GUIDE.md): a
   breadcrumb or back-link row a page writes just before its PageHeader is
   held to the same single 24px line as PageHeader's own Eyebrow link, with
   the same 4px gap under it. So a record page's
   title starts 28px below a list page's, and at the same height on every
   record page. The back arrow shrinks to the line: the drawn 34px size is
   for the actions beside the title, and a 34px arrow pushed some titles
   further down than others. */
.itrela-composed-head[b-ca49rupaht]  :has(+ .page-header) {
    min-height: 24px;
    margin-block: 0;
    padding-block: 0;
}

/* The column that stacks the two keeps PageHeader's own 4px gap and no
   padding of its own, whatever the page set. (:has cannot nest, hence the
   sibling form.) */
.itrela-composed-head[b-ca49rupaht]  :has(> * + .page-header) {
    row-gap: 4px;
    padding-block: 0;
}

.itrela-composed-head[b-ca49rupaht]  :has(+ .page-header) .mud-icon-button {
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 2px;
}

.itrela-composed-column[b-ca49rupaht] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-composed-column-gap);
    width: 100%;
    max-width: var(--itrela-composed-width);
    margin-inline: auto;
    /* Never lets a card touch the frame. */
    padding-inline: var(--itrela-composed-pad);
    padding-block: var(--itrela-card-gap);
}

.itrela-composed-column--split[b-ca49rupaht] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--itrela-composed-side-width);
    gap: var(--itrela-composed-column-gap);
    align-items: start;
}

/* Wide: no cap, so the cards start under the head's left edge (the client
   page, whose tab strip is in the head). */
.itrela-composed--wide[b-ca49rupaht] {
    --itrela-composed-width: none;
}

.itrela-composed-lead[b-ca49rupaht] {
    grid-column: 1 / -1;
    min-width: 0;
}

.itrela-composed-main[b-ca49rupaht],
.itrela-composed-side[b-ca49rupaht] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-card-gap);
    min-width: 0;
}

/* Below the split's natural width the side column stacks under the main
   one. Card gap stays --itrela-card-gap: columns may stack, cards never
   squish (UI_STYLE_GUIDE.md "Card spacing & alignment"). */
@media (max-width: 960px) {
    .itrela-composed-column--split[b-ca49rupaht] {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 700px) {
    .itrela-composed-head[b-ca49rupaht]  .page-header {
        align-items: stretch;
    }

    /* Stacked under the title on a phone: full width again. */
    .itrela-composed-head[b-ca49rupaht]  .page-header-actions {
        align-self: auto;
    }
}
/* /Components/Shared/EmptyState.razor.rz.scp.css */
/* The one empty state. Tokens only: a 40px soft tile around a 24px icon, a
   16px title, one 14px line and the actions, centred at reading width. The
   region around it (a list body, a card) decides the ground. */

.itrela-empty[b-81f69u5ydv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--itrela-space-8);
    box-sizing: border-box;
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
    padding: var(--itrela-space-48) var(--itrela-space-24);
    text-align: center;
    /* A table's empty row is a heading cell; none of its look carries in. */
    font-weight: var(--itrela-weight-regular);
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
}

/* The kit's soft icon: the accent ink on a faint wash of itself, around
   MudIcon's own 24px (Size.Medium). */
.itrela-empty-icon[b-81f69u5ydv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-bottom: var(--itrela-space-4);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-primary);
    background-color: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
}

.itrela-empty-title[b-81f69u5ydv] {
    margin: 0;
    font-family: var(--itrela-font-display);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.itrela-empty-text[b-81f69u5ydv] {
    margin: 0;
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.itrela-empty-actions[b-81f69u5ydv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--itrela-space-8);
    margin-top: var(--itrela-space-8);
}

/* The quiet tip under the actions: smaller and quieter than the line. */
.itrela-empty-hint[b-81f69u5ydv],
.itrela-empty-extra[b-81f69u5ydv] {
    margin: var(--itrela-space-8) 0 0;
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.itrela-empty-extra[b-81f69u5ydv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--itrela-space-8);
}

/* Phone: the same, with less air above and below. */
@media (max-width: 599.98px) {
    .itrela-empty[b-81f69u5ydv] {
        padding: var(--itrela-space-32) var(--itrela-space-16);
    }
}
/* /Components/Shared/Explainer.razor.rz.scp.css */
/* One line, the rest folded: the icon, the summary and its text button on
   the left, the page's controls on the right. The details open under the
   line, inside the same quiet surface. */
.itrela-explainer[b-il6rd75sxr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "line controls"
        "details details";
    align-items: center;
    column-gap: var(--itrela-space-16);
    padding: var(--itrela-space-8) var(--itrela-space-12);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--itrela-radius-surface);
    background: var(--mud-palette-surface);
}

.itrela-explainer-line[b-il6rd75sxr] {
    grid-area: line;
    display: flex;
    align-items: baseline;
    gap: var(--itrela-space-8);
    min-width: 0;
}

.itrela-explainer-line[b-il6rd75sxr]  .itrela-explainer-icon {
    flex: 0 0 auto;
    align-self: center;
    color: var(--mud-palette-primary);
}

.itrela-explainer-summary[b-il6rd75sxr] {
    min-width: 0;
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
}

/* A text button: the accent ink, no box, a real focus ring. */
.itrela-explainer-toggle[b-il6rd75sxr] {
    margin-inline-start: var(--itrela-space-4);
    padding: 0;
    border: 0;
    background: none;
    color: var(--mud-palette-primary);
    font: inherit;
    font-weight: var(--itrela-weight-medium);
    white-space: nowrap;
    cursor: pointer;
}

.itrela-explainer-toggle:hover[b-il6rd75sxr] {
    text-decoration: underline;
}

.itrela-explainer-toggle:focus-visible[b-il6rd75sxr] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
    border-radius: var(--itrela-radius-small);
}

.itrela-explainer-controls[b-il6rd75sxr] {
    grid-area: controls;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--itrela-space-8);
}

.itrela-explainer-details[b-il6rd75sxr] {
    grid-area: details;
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    max-width: 80ch;
    margin-top: var(--itrela-space-8);
    padding: var(--itrela-space-8) 0 var(--itrela-space-4) var(--itrela-space-24);
    border-top: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
}

.itrela-explainer-details[hidden][b-il6rd75sxr] {
    display: none;
}

.itrela-explainer-details[b-il6rd75sxr]  p {
    margin: 0;
}

@media (max-width: 760px) {
    .itrela-explainer[b-il6rd75sxr] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "line"
            "controls"
            "details";
        row-gap: var(--itrela-space-8);
    }

    .itrela-explainer-details[b-il6rd75sxr] {
        margin-top: 0;
    }
}
/* /Components/Shared/FactStrip.razor.rz.scp.css */
/* The figure row: an optional head, then the facts side by side. Tokens only.
   The row measures itself (a size container), so the same strip goes two to
   a row in a narrow column on a wide screen as well as on a phone. */

.itrela-fact-strip[b-eg4xry8yme] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    container: fact-strip / inline-size;
    /* Each fact's padding; the bare row pulls itself out by the side one. */
    --itrela-fact-pad-x: var(--itrela-space-16);
    --itrela-fact-pad-top: var(--itrela-space-12);
    --itrela-fact-pad-bottom: var(--itrela-space-16);
}

/* The bare row sits in a band or a card that is already a surface: no card
   of its own, the facts' words line up with the content around it, and the
   band's own padding is the air above and below. */
.itrela-fact-strip--bare[b-eg4xry8yme] {
    box-sizing: border-box;
    width: calc(100% + 2 * var(--itrela-fact-pad-x));
    margin-inline: calc(-1 * var(--itrela-fact-pad-x));
    --itrela-fact-pad-top: var(--itrela-space-4);
    --itrela-fact-pad-bottom: var(--itrela-space-4);
}

@media (max-width: 599.98px) {
    .itrela-fact-strip[b-eg4xry8yme] {
        --itrela-fact-pad-x: var(--itrela-space-12);
    }
}

.itrela-fact-strip-head[b-eg4xry8yme] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--itrela-space-12);
    padding: var(--itrela-space-16) var(--itrela-space-16) var(--itrela-space-12);
    border-bottom: 1px solid var(--itrela-line);
}

.itrela-fact-strip-title[b-eg4xry8yme] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.itrela-fact-strip-status[b-eg4xry8yme] {
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    text-align: right;
}

/* Equal columns, as many as there are facts. Every fact spans four rows
   (label, figure, two quiet lines) that it shares with the facts beside it,
   so a label that wraps never pushes its figure below the others. The
   hairlines between facts are FactStripItem's. */
.itrela-fact-strip-items[b-eg4xry8yme] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

/* Two to a row when one line of facts no longer fits: below 480px wide for
   two or three facts, 600px for four, 840px for five (a phone, or a narrow
   column on a wide screen). Then a hairline sits left of the second fact in
   each row and above every row after the first, and an odd fact out takes
   the whole last row. */
@container fact-strip (max-width: 479.98px) {
    .itrela-fact-strip-items[b-eg4xry8yme] {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        /* Rows of facts need their own air, bare or not. */
        --itrela-fact-pad-top: var(--itrela-space-12);
        --itrela-fact-pad-bottom: var(--itrela-space-12);
    }

    .itrela-fact-strip-items[b-eg4xry8yme]  .itrela-fact:nth-child(odd) {
        border-left: 0;
    }

    .itrela-fact-strip-items[b-eg4xry8yme]  .itrela-fact:nth-child(n + 3) {
        border-top: 1px solid var(--itrela-line);
    }

    .itrela-fact-strip-items[b-eg4xry8yme]  .itrela-fact:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
}

@container fact-strip (max-width: 599.98px) {
    .itrela-fact-strip-items:has(> :nth-child(4))[b-eg4xry8yme] {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        /* Rows of facts need their own air, bare or not. */
        --itrela-fact-pad-top: var(--itrela-space-12);
        --itrela-fact-pad-bottom: var(--itrela-space-12);
    }

    .itrela-fact-strip-items:has(> :nth-child(4))[b-eg4xry8yme]  .itrela-fact:nth-child(odd) {
        border-left: 0;
    }

    .itrela-fact-strip-items:has(> :nth-child(4))[b-eg4xry8yme]  .itrela-fact:nth-child(n + 3) {
        border-top: 1px solid var(--itrela-line);
    }

    .itrela-fact-strip-items:has(> :nth-child(4))[b-eg4xry8yme]  .itrela-fact:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
}

@container fact-strip (max-width: 839.98px) {
    .itrela-fact-strip-items:has(> :nth-child(5))[b-eg4xry8yme] {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        /* Rows of facts need their own air, bare or not. */
        --itrela-fact-pad-top: var(--itrela-space-12);
        --itrela-fact-pad-bottom: var(--itrela-space-12);
    }

    .itrela-fact-strip-items:has(> :nth-child(5))[b-eg4xry8yme]  .itrela-fact:nth-child(odd) {
        border-left: 0;
    }

    .itrela-fact-strip-items:has(> :nth-child(5))[b-eg4xry8yme]  .itrela-fact:nth-child(n + 3) {
        border-top: 1px solid var(--itrela-line);
    }

    .itrela-fact-strip-items:has(> :nth-child(5))[b-eg4xry8yme]  .itrela-fact:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
}
/* /Components/Shared/FactStripItem.razor.rz.scp.css */
/* One fact of the figure row. Tokens only: a 13px label, the figure at 20px
   (Plex Mono with even digits for money and numbers, the title face for
   words), and 12px quiet lines. The whole fact is the link when it leads
   somewhere. */

/* The fact and its link both sit on the strip's four shared rows. */
.itrela-fact[b-ox7bb9h6bz] {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

/* The hairlines between facts: a fact's own border, never one on the row's
   outer edge, so nothing has to be clipped away (a clipped line leaks on a
   1.25x screen). One row: a line left of every fact after the first;
   FactStrip redraws them when facts go two to a row. */
.itrela-fact:not(:first-child)[b-ox7bb9h6bz] {
    border-left: 1px solid var(--itrela-line);
}

.itrela-fact-link[b-ox7bb9h6bz] {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    /* A button centres its lines by default; a short quiet line sits at the top of its row. */
    align-items: start;
    row-gap: var(--itrela-space-4);
    min-width: 0;
    padding: var(--itrela-fact-pad-top, var(--itrela-space-12)) var(--itrela-fact-pad-x, var(--itrela-space-16))
        var(--itrela-fact-pad-bottom, var(--itrela-space-16));
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease);
}

a.itrela-fact-link:hover[b-ox7bb9h6bz],
button.itrela-fact-link:hover[b-ox7bb9h6bz] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
}

a.itrela-fact-link:focus-visible[b-ox7bb9h6bz],
button.itrela-fact-link:focus-visible[b-ox7bb9h6bz] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}

/* A fact that runs an action on this page is a button drawn as the fact. */
button.itrela-fact-link[b-ox7bb9h6bz] {
    margin: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.itrela-fact-label[b-ox7bb9h6bz] {
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.itrela-fact-value[b-ox7bb9h6bz] {
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    font-variant-numeric: tabular-nums;
    /* Words wrap between words, and only when the column is too narrow. */
    overflow-wrap: break-word;
}

/* A figure (money, a count, a duration) never breaks across lines: half an
   amount reads as two amounts. */
.itrela-fact-value--figure[b-ox7bb9h6bz] {
    font-family: var(--itrela-font-mono);
    word-spacing: normal;
    letter-spacing: normal;
    white-space: nowrap;
    overflow-wrap: normal;
}

.itrela-fact-value--attention[b-ox7bb9h6bz] {
    color: var(--itrela-status-warning);
}

.itrela-fact-sub[b-ox7bb9h6bz] {
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}
/* /Components/Shared/IndexShell.razor.rz.scp.css */
/* ── Index shell — Books and Billing's third arrangement ─────────────
   The index measurements live here and nowhere else. Navigation and
   header fragments are caller-owned markup, so rules that reach their
   class contract go through ::deep from an element this shell renders. */

.itrela-index[b-rm4lfrqexa] {
    --itrela-index-width: 222px;
    --itrela-index-pad-block: 20px;
    --itrela-index-pad-inline: 12px;
    --itrela-index-line: color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);
    --itrela-index-quiet: var(--mud-palette-background);
    --itrela-index-hover: color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-surface) 57%);
    --itrela-index-accent-tint: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    --itrela-index-accent-ink: var(--mud-palette-primary);

    display: grid;
    grid-template-areas:
        "head head"
        "nav body";
    grid-template-rows: minmax(62px, auto) minmax(0, 1fr);
    grid-template-columns: var(--itrela-index-width) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    background: var(--mud-palette-background);
}

.itrela-index--first-run[b-rm4lfrqexa] {
    grid-template-areas:
        "head"
        "body";
    grid-template-rows: minmax(62px, auto) minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
}

/* Top-aligned, not centred: the title's top edge is the head's top padding,
   the same place as every other title without a way back above it. */
.itrela-index-head[b-rm4lfrqexa] {
    grid-area: head;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding-inline: 26px;
    padding-block: 12px;
    border-bottom: 1px solid var(--itrela-index-line);
    background: var(--mud-palette-surface);
}

.itrela-index-heading[b-rm4lfrqexa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* The one page-title tier: 20px/600 over a 14px line, the same as the
   workbench band and the composed head (PageChromeContractTests). */
.itrela-index-heading[b-rm4lfrqexa]  h1 {
    margin: 0;
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.itrela-index-heading[b-rm4lfrqexa]  .itrela-index-subtitle {
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}

/* The heading is top-aligned so the title never moves; the actions centre
   on it, and start level with the title when they are the taller of the two. */
.itrela-index-actions[b-rm4lfrqexa] {
    display: flex;
    align-self: center;
    align-items: center;
    gap: 12px;
    margin-inline-start: auto;
    flex-wrap: wrap;
    min-width: 0;
}

/* A MudSwitch's thumb rides a .mud-button-root too; it keeps its own box. */
.itrela-index-actions[b-rm4lfrqexa]  button,
.itrela-index-actions[b-rm4lfrqexa]  .mud-button-root:not(.mud-switch-base) {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-height: 34px;
    height: auto;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    white-space: normal;
}

.itrela-index-nav[b-rm4lfrqexa] {
    box-sizing: border-box;
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: var(--itrela-index-width);
    min-height: 0;
    padding: var(--itrela-index-pad-block) var(--itrela-index-pad-inline);
    overflow-y: auto;
    border-inline-end: 1px solid var(--itrela-index-line);
    background: var(--itrela-index-quiet);
}

.itrela-index-nav-content[b-rm4lfrqexa] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-group-label {
    padding: 0 10px 7px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-medium);
    line-height: 1.2;
    text-decoration: none;
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link[data-work="true"] {
    color: var(--mud-palette-text-primary);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link:hover {
    background: var(--itrela-index-hover);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link[data-active="true"] {
    background: var(--itrela-index-accent-tint);
    color: var(--itrela-index-accent-ink);
    font-weight: var(--itrela-weight-strong);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-icon {
    flex: 0 0 auto;
    font-size: 18px;
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link-label {
    flex: 1 1 auto;
    min-width: 0;
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-badge {
    box-sizing: border-box;
    min-width: 20px;
    height: 18px;
    padding-inline: 6px;
    border: 1px solid color-mix(in oklab, var(--mud-palette-primary), transparent 68%);
    border-radius: var(--itrela-radius-control);
    background: var(--itrela-index-accent-tint);
    color: var(--itrela-index-accent-ink);
    font-size: var(--itrela-text-mark);
    font-weight: var(--itrela-weight-strong);
    line-height: 16px;
    text-align: center;
}

/* Urgency tiers. The default badge stays accent; warn and crit borrow the
   app's status tokens so the index says how urgent a number is, not just
   that it exists. */
.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-badge[data-tone="warn"] {
    border-color: color-mix(in oklab, var(--itrela-status-warning), transparent 62%);
    background: color-mix(in oklab, var(--itrela-status-warning), transparent 82%);
    color: var(--itrela-status-warning);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-badge[data-tone="crit"] {
    border-color: color-mix(in oklab, var(--itrela-status-critical), transparent 62%);
    background: color-mix(in oklab, var(--itrela-status-critical), transparent 82%);
    color: var(--itrela-status-critical);
}

.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    /* The bright accent grade (#12A0AC light) the shells draw for a ready
       marker; the text-grade primary is too quiet at 7px. */
    background: #12A0AC;
}

/* A count that is orientation, not urgency: plain mono, no pill (the drawn
   Reports count in BooksShell). Badges stay for numbers that need action. */
.itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-count {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    font-size: var(--itrela-text-12);
    opacity: 0.8;
}

.itrela-index-nav-foot[b-rm4lfrqexa] {
    margin: 0;
    margin-top: auto;
    padding-inline: 10px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: 1.55;
}

.itrela-index-body[b-rm4lfrqexa] {
    grid-area: body;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

/* The first move: the persistent index becomes the drawn horizontal
   section bar. Group labels and the foot drop out; destination words,
   badges and source order remain unchanged. */
@media (max-width: 1199.98px) {
    .itrela-index[b-rm4lfrqexa],
    .itrela-index--first-run[b-rm4lfrqexa] {
        grid-template-areas:
            "head"
            "nav"
            "body";
        grid-template-rows: minmax(62px, auto) auto minmax(0, 1fr);
        grid-template-columns: minmax(0, 1fr);
    }

    .itrela-index--first-run[b-rm4lfrqexa] {
        grid-template-areas:
            "head"
            "body";
        grid-template-rows: minmax(62px, auto) minmax(0, 1fr);
    }

    .itrela-index-nav[b-rm4lfrqexa] {
        width: 100%;
        padding: 0 20px;
        overflow-x: auto;
        overflow-y: hidden;
        border-inline-end: 0;
        border-bottom: 1px solid var(--itrela-index-line);
        background: var(--mud-palette-surface);
    }

    .itrela-index-nav-content[b-rm4lfrqexa] {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 4px;
        min-width: max-content;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-group {
        display: contents;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-group-label,
    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-icon,
    .itrela-index-nav-foot[b-rm4lfrqexa] {
        display: none;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link {
        position: relative;
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 12px;
        border-radius: 0;
        font-weight: var(--itrela-weight-strong);
        white-space: nowrap;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link-label {
        flex: 0 0 auto;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link[data-active="true"] {
        background: transparent;
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-link[data-active="true"]::after {
        box-sizing: border-box;
        position: absolute;
        right: 7px;
        bottom: -1px;
        left: 7px;
        height: 2px;
        border-radius: 2px 2px 0 0;
        background: var(--itrela-index-accent-ink);
        content: "";
    }

    .itrela-index-nav-content[b-rm4lfrqexa]  .itrela-index-badge {
        min-width: 19px;
        height: 17px;
        padding-inline: 5px;
        font-size: var(--itrela-text-mark);
        line-height: 15px;
    }
}

/* The second move coincides with MainLayout's mobile app bar. The title
   and its actions stack, and the section bar may wrap into readable rows
   instead of competing with the phone-width app chrome. */
@media (max-width: 959.98px) {
    .itrela-index[b-rm4lfrqexa],
    .itrela-index--first-run[b-rm4lfrqexa] {
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .itrela-index--first-run[b-rm4lfrqexa] {
        grid-template-rows: auto minmax(0, 1fr);
    }

    .itrela-index-head[b-rm4lfrqexa] {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .itrela-index-actions[b-rm4lfrqexa] {
        width: 100%;
        align-self: stretch;
        margin-inline-start: 0;
        flex-wrap: wrap;
    }

    .itrela-index-nav[b-rm4lfrqexa] {
        padding: 0 20px;
        overflow-x: visible;
    }

    .itrela-index-nav-content[b-rm4lfrqexa] {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* The third move, on a phone: the section bar goes back to one line that
   scrolls sideways inside itself (two wrapped rows took a second band of the
   screen). The active section is scrolled into view (accessibility.js
   keepActiveIndexNavVisible), and the right edge fades while there is more. */
@media (max-width: 599.98px) {
    .itrela-index-nav[b-rm4lfrqexa] {
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
        mask-image: linear-gradient(to left, transparent, black var(--itrela-space-24));
    }

    .itrela-index-nav[b-rm4lfrqexa]::-webkit-scrollbar {
        display: none;
    }

    .itrela-index-nav-content[b-rm4lfrqexa] {
        flex-wrap: nowrap;
        min-width: max-content;
        padding-inline-end: var(--itrela-space-24);
    }
}

@supports (animation-timeline: scroll()) {
    @media (max-width: 599.98px) {
        .itrela-index-nav[b-rm4lfrqexa] {
            scroll-timeline: --itrela-index-x inline;
            animation: itrela-index-nav-fade-b-rm4lfrqexa linear both;
            animation-timeline: --itrela-index-x;
        }
    }
}

@keyframes itrela-index-nav-fade-b-rm4lfrqexa {
    0%, 96% {
        mask-image: linear-gradient(to left, transparent, black var(--itrela-space-24));
    }

    100% {
        mask-image: none;
    }
}
/* /Components/Shared/LabelValueGroup.razor.rz.scp.css */
/* A label/value group. Tokens only. */

.itrela-lv-group[b-gia04556me] {
    margin: var(--itrela-space-16) 0 var(--itrela-space-4);
    padding-inline: var(--itrela-space-16);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.itrela-lv-items[b-gia04556me] {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* /Components/Shared/LabelValueList.razor.rz.scp.css */
/* The label/value list card. Tokens only. */

.itrela-lv[b-tkj7mmxn5x] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-block: var(--itrela-space-16) var(--itrela-space-8);
}

.itrela-lv-title[b-tkj7mmxn5x] {
    margin: 0;
    padding-inline: var(--itrela-space-16);
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.itrela-lv-foot[b-tkj7mmxn5x] {
    margin-top: var(--itrela-space-4);
    padding: var(--itrela-space-8) var(--itrela-space-16) 0;
    border-top: 1px solid var(--itrela-line);
}
/* /Components/Shared/LabelValueRow.razor.rz.scp.css */
/* One label/value row. Tokens only. */

.itrela-lv-row[b-9fli0riyz0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--itrela-space-12);
    align-items: baseline;
    padding: var(--itrela-space-8) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.itrela-lv-item:first-child > .itrela-lv-row[b-9fli0riyz0] {
    border-top: 0;
}

a.itrela-lv-row[href]:hover[b-9fli0riyz0] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
}

a.itrela-lv-row[href]:focus-visible[b-9fli0riyz0] {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
    border-radius: var(--itrela-radius-control);
}

.itrela-lv-label[b-9fli0riyz0] {
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
}

.itrela-lv-value[b-9fli0riyz0] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.itrela-lv-value--money[b-9fli0riyz0] {
    font-family: var(--itrela-font-mono);
    font-weight: var(--itrela-weight-medium);
    word-spacing: normal;
}

.itrela-lv-sub[b-9fli0riyz0] {
    grid-column: 1 / -1;
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}
/* /Components/Shared/LevelFreshnessStrip.razor.rz.scp.css */
.itrela-fresh[b-aix2rk7oz9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--itrela-radius-tile, 12px);
    font-size: var(--itrela-text-13);
    line-height: 1.35;
}

.itrela-fresh--ok[b-aix2rk7oz9] {
    color: var(--itrela-status-ok, #1E8E3E);
    background: color-mix(in srgb, var(--itrela-status-ok, #1E8E3E) 8%, transparent);
}

.itrela-fresh--ok[b-aix2rk7oz9]  .mud-icon-root {
    color: var(--itrela-status-ok, #1E8E3E);
}

.itrela-fresh--warn[b-aix2rk7oz9] {
    color: var(--itrela-status-warning, #CA8A04);
    background: color-mix(in srgb, var(--itrela-status-warning, #CA8A04) 10%, transparent);
}

.itrela-fresh--warn[b-aix2rk7oz9]  .mud-icon-root {
    color: var(--itrela-status-warning, #CA8A04);
}

.itrela-fresh[b-aix2rk7oz9]  .mud-icon-root {
    font-size: 1.05rem;
    flex: 0 0 auto;
}
/* /Components/Shared/LevelWitnessLine.razor.rz.scp.css */
.itrela-witness[b-50dpda6p0s] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--itrela-text-12);
    line-height: 1.3;
    color: var(--mud-palette-text-secondary);
}

.itrela-witness[b-50dpda6p0s]  .mud-icon-root {
    font-size: 0.95rem;
    color: var(--mud-palette-text-secondary);
    opacity: 0.75;
}

.itrela-witness-text[b-50dpda6p0s] {
    min-width: 0;
}
/* /Components/Shared/LoadingRegion.razor.rz.scp.css */
.itrela-loading-region[b-wq3hxcr7oj] {
    min-width: 0;
    min-height: 0;
}

.itrela-loading-announcement[b-wq3hxcr7oj] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.itrela-loading-slow[b-wq3hxcr7oj] {
    margin: 0;
    padding: 12px 16px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
}
/* /Components/Shared/LoadingSkeleton.razor.rz.scp.css */
.itrela-loading-skeleton[b-7uzub5lfqp] {
    width: 100%;
}

.itrela-loading-skeleton-row[b-7uzub5lfqp] {
    box-sizing: border-box;
    min-height: 44px;
    border-bottom: 1px solid color-mix(in oklab, var(--mud-palette-background), var(--mud-palette-lines-default) 52%);
}

.itrela-loading-skeleton[b-7uzub5lfqp]  .itrela-loading-skeleton-block {
    display: block;
    height: 10px;
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--mud-palette-lines-default), transparent 32%);
    animation: itrela-loading-pulse-b-7uzub5lfqp 1.35s ease-in-out infinite alternate;
}

@keyframes itrela-loading-pulse-b-7uzub5lfqp {
    from {
        opacity: 0.48;
    }

    to {
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .itrela-loading-skeleton[b-7uzub5lfqp]  .itrela-loading-skeleton-block {
        animation: none;
        opacity: 0.68;
    }
}
/* /Components/Shared/PageHeader.razor.rz.scp.css */
/* ── Page Header ────────────────────────────────────────────────────
   The header's base layout used to be a global block in app.css, left over
   from the retired legacy chrome. It moves here, scoped, so app.css carries
   no page-header rules at all. Title SIZING is deliberately absent: the
   two-tier title scale lives in the shells (1.0625rem in a workbench band,
   1.25rem in a composed head — PageChromeContractTests), and the legacy
   1.75rem title died with its chrome. */

.page-header[b-68v7c97j99] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 0;
    gap: 16px;
    padding-bottom: 4px;
}

.page-header-text[b-68v7c97j99] {
    min-width: 0;
    overflow-wrap: anywhere;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* The way back's one slot above the title: a single 24px line, then the
   column's 4px gap, so a title under a way back always starts 28px below
   where a title without one starts. ComposedShell holds a breadcrumb row a
   page writes before its PageHeader to the same line (UI_STYLE_GUIDE.md
   "The way back has one slot"). A line height, not a fixed height: on a
   phone a long line wraps to a second line instead of running under the
   title. */
.page-eyebrow[b-68v7c97j99] {
    margin: 0;
    font-size: var(--itrela-text-14);
    line-height: 24px;
    color: var(--mud-palette-text-secondary);
}

.page-eyebrow-link[b-68v7c97j99] {
    color: inherit;
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.page-eyebrow-link:hover[b-68v7c97j99] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.page-eyebrow-separator[b-68v7c97j99] {
    margin-inline: 6px;
}

.page-title[b-68v7c97j99] {
    margin: 0;
}

.page-subtitle[b-68v7c97j99] {
    margin: 0;
    font-size: var(--itrela-text-14);
    color: var(--mud-palette-text-secondary);
}

.page-header-actions[b-68v7c97j99] {
    min-width: 0;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Blazor's FocusOnNavigate focuses the first <h1> for accessibility. Don't show a loud focus outline on headers. */
.page-title:focus[b-68v7c97j99] {
    outline: none !important;
}

.page-title:focus-visible[b-68v7c97j99] {
    outline: none !important;
}

@media (max-width: 700px) {
    .page-header[b-68v7c97j99] {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header-actions[b-68v7c97j99] {
        width: 100%;
        flex-wrap: wrap;
    }

    /* Report headers commonly place two fixed-width date pickers and Apply
       in one flex row. At 390px that row was 14px wider than the viewport.
       Let header action groups wrap as a unit on phones. The actions are
       caller content, so this reaches them through ::deep. */
    .page-header-actions[b-68v7c97j99]  > .d-flex {
        width: 100%;
        flex-wrap: wrap;
    }
}
/* /Components/Shared/PortalPageHeader.razor.rz.scp.css */
/* The client portal's page header. Tokens only: the page title is the 20px
   strong ink title the staff app's composed heads use; the description is
   14px secondary text. No card, no tint: the header sits on the page ground. */

.portal-page-header[b-w2c3775sat] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-8);
    min-width: 0;
}

.portal-page-back[b-w2c3775sat] {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: var(--itrela-space-4);
    min-height: var(--itrela-button-min-height);
    margin-inline-start: calc(-1 * var(--itrela-space-8));
    padding-inline: var(--itrela-space-8);
    border-radius: var(--itrela-radius-control);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    text-decoration: none;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease),
        color var(--itrela-motion-fast) var(--itrela-ease);
}

.portal-page-back:hover[b-w2c3775sat] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.portal-page-back:focus-visible[b-w2c3775sat] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.portal-page-header-row[b-w2c3775sat] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--itrela-space-16);
    min-width: 0;
}

.portal-page-header-text[b-w2c3775sat] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    min-width: 0;
    overflow-wrap: anywhere;
}

.portal-page-title[b-w2c3775sat] {
    margin: 0;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

/* Navigation can move focus to the heading; it is not a control. */
.portal-page-title:focus[b-w2c3775sat],
.portal-page-title:focus-visible[b-w2c3775sat] {
    outline: none;
}

.portal-page-description[b-w2c3775sat] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-14);
    line-height: var(--itrela-leading-text);
}

.portal-page-header-actions[b-w2c3775sat] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--itrela-space-8);
    min-width: 0;
}

/* Phone: the actions drop under the title so the title keeps the width. */
@media (max-width: 599.98px) {
    .portal-page-header-row[b-w2c3775sat] {
        flex-direction: column;
        align-items: stretch;
        gap: var(--itrela-space-12);
    }

    .portal-page-header-actions[b-w2c3775sat] {
        justify-content: flex-start;
    }

    /* A page action is a full-width, thumb-sized button on a phone. */
    .portal-page-header-actions[b-w2c3775sat]  .mud-button-root:not(.mud-icon-button) {
        flex: 1 1 auto;
        min-height: 44px;
    }
}
/* /Components/Shared/QuoteChainNextPanel.razor.rz.scp.css */
.quote-chain-next[b-uuonoyuv0h] {
    padding: 14px 16px;
}

.quote-chain-next--flush-top[b-uuonoyuv0h] {
    margin-top: 0;
}

.quote-chain-next--embedded[b-uuonoyuv0h] {
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.quote-chain-next__label[b-uuonoyuv0h] {
    margin-bottom: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    word-spacing: var(--itrela-label-word-spacing);
}

.quote-chain-next__step[b-uuonoyuv0h] {
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-14);
}

.quote-chain-next__owner[b-uuonoyuv0h],
.quote-chain-next__trail[b-uuonoyuv0h] {
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-13);
}

.quote-chain-next__trail[b-uuonoyuv0h] {
    margin-top: 7px;
    font-weight: var(--itrela-weight-strong);
}

.quote-chain-next__actions[b-uuonoyuv0h] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
}
/* /Components/Shared/QuoteChainStrip.razor.rz.scp.css */
.quote-chain-strip[b-d1bhr10it8] {
    padding: 16px;
    overflow: hidden;
}

.quote-chain-strip__steps[b-d1bhr10it8] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quote-chain-strip__step[b-d1bhr10it8] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 24px 1fr;
    gap: 7px;
    min-width: 0;
    color: var(--mud-palette-text-secondary);
}

.quote-chain-strip__step:not(:last-child)[b-d1bhr10it8]::after {
    position: absolute;
    z-index: 0;
    top: 11px;
    left: 22px;
    width: calc(100% - 15px);
    height: 1px;
    background: var(--mud-palette-lines-default);
    content: "";
}

.quote-chain-strip__marker[b-d1bhr10it8] {
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 24px;
    min-height: 24px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
}

.quote-chain-strip__step--complete .quote-chain-strip__marker[b-d1bhr10it8] {
    color: var(--mud-palette-success);
}

.quote-chain-strip__step--pending .quote-chain-strip__marker[b-d1bhr10it8] {
    color: var(--mud-palette-primary);
}

.quote-chain-strip__content[b-d1bhr10it8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-right: 12px;
}

.quote-chain-strip__label[b-d1bhr10it8] {
    overflow-wrap: anywhere;
    color: var(--mud-palette-text-primary);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

a.quote-chain-strip__label:hover[b-d1bhr10it8] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.quote-chain-strip__fact[b-d1bhr10it8],
.quote-chain-strip__description[b-d1bhr10it8],
.quote-chain-strip__action[b-d1bhr10it8],
.quote-chain-strip__gap[b-d1bhr10it8] {
    overflow-wrap: anywhere;
    font-size: var(--itrela-text-12);
    line-height: 1.35;
}

.quote-chain-strip__fact[b-d1bhr10it8],
.quote-chain-strip__description[b-d1bhr10it8] {
    color: var(--mud-palette-text-secondary);
}

.quote-chain-strip__viewed[b-d1bhr10it8] {
    margin-top: 1px;
}

.quote-chain-strip__gap[b-d1bhr10it8] {
    color: var(--mud-palette-text-primary);
    font-weight: var(--itrela-weight-strong);
}

.quote-chain-strip__action[b-d1bhr10it8] {
    color: var(--mud-palette-primary);
    font-weight: var(--itrela-weight-strong);
    text-decoration: none;
}

.quote-chain-strip__action:hover[b-d1bhr10it8] {
    text-decoration: underline;
}

.quote-chain-strip__step--future .quote-chain-strip__label[b-d1bhr10it8],
.quote-chain-strip__step--notrequired .quote-chain-strip__label[b-d1bhr10it8] {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 760px) {
    .quote-chain-strip__steps[b-d1bhr10it8] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quote-chain-strip__step:not(:last-child)[b-d1bhr10it8]::after {
        top: 21px;
        bottom: -13px;
        left: 11px;
        width: 1px;
        height: auto;
    }

    .quote-chain-strip__step[b-d1bhr10it8] {
        grid-template-columns: 24px minmax(0, 1fr);
        grid-template-rows: auto;
    }

    .quote-chain-strip__content[b-d1bhr10it8] {
        padding-right: 0;
    }
}
/* /Components/Shared/RelatedItemsPanel.razor.rz.scp.css */
/* A linked password row: the name, then its username in the mono face and
   its client on one quiet line that wraps at phone width. */
.related-credential-main[b-b0icsm2tok] {
    flex: 1;
    min-width: 0;
}

.related-credential-meta[b-b0icsm2tok] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--itrela-space-8);
    color: var(--mud-palette-text-secondary);
    font-size: var(--itrela-text-12);
    line-height: var(--itrela-leading-text);
}

.related-credential-username[b-b0icsm2tok] {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-spacing: normal;
}
/* /Components/Shared/RowList.razor.rz.scp.css */
/* The row list card: title row, hairline rows, foot. Tokens only. */

.itrela-row-list[b-8b6b1wgcvj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.itrela-row-list-head[b-8b6b1wgcvj] {
    display: flex;
    align-items: baseline;
    gap: var(--itrela-space-8);
    padding: var(--itrela-space-16) var(--itrela-space-16) var(--itrela-space-12);
    border-bottom: 1px solid var(--itrela-line);
}

.itrela-row-list-title[b-8b6b1wgcvj] {
    margin: 0;
    font-size: var(--itrela-text-16);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
}

.itrela-row-list-count[b-8b6b1wgcvj] {
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-medium);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-secondary);
}

.itrela-row-list-items[b-8b6b1wgcvj] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.itrela-row-list-empty[b-8b6b1wgcvj] {
    display: flex;
    flex-direction: column;
    gap: var(--itrela-space-4);
    padding: var(--itrela-space-16);
}

.itrela-row-list-foot[b-8b6b1wgcvj] {
    padding: var(--itrela-space-8) var(--itrela-space-16) var(--itrela-space-12);
    border-top: 1px solid var(--itrela-line);
}
/* /Components/Shared/RowListItem.razor.rz.scp.css */
/* One row of a row list. Tokens only (UI_STYLE_GUIDE.md "The look in one
   page"): no per-row card, no accent stripe; rows are divided by hairlines. */

.itrela-row[b-p2tvi5kemg] {
    position: relative;
    display: grid;
    grid-template-columns: var(--itrela-space-12) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--itrela-space-12);
    padding: var(--itrela-space-12) var(--itrela-space-16);
    border-top: 1px solid var(--itrela-line);
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.itrela-row:first-child[b-p2tvi5kemg] {
    border-top: 0;
}

.itrela-row:hover[b-p2tvi5kemg] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), transparent 96%);
}

.itrela-row-dot[b-p2tvi5kemg] {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    /* Centre the dot on the bold "what" line: the kind line above it is one
       12px line tall. */
    margin-top: calc(var(--itrela-text-12) * var(--itrela-leading-text) + var(--itrela-space-4));
    height: calc(var(--itrela-text-14) * var(--itrela-leading-text));
}

/* A row without a kind word has no line above the what: the dot centres on
   the what line itself. */
.itrela-row--no-kind .itrela-row-dot[b-p2tvi5kemg] {
    margin-top: 0;
}

.itrela-row-text[b-p2tvi5kemg] {
    display: flex;
    flex-direction: column;
    gap: calc(var(--itrela-space-4) / 2);
    min-width: 0;
}

.itrela-row-kind[b-p2tvi5kemg] {
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-regular);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

/* Inline flow, so the record number stays on the line where the title
   starts and the title wraps under it only when it must. */
.itrela-row-what[b-p2tvi5kemg] {
    display: block;
    min-width: 0;
    font-size: var(--itrela-text-14);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* The what-link covers the whole row: the row is one target and one tab stop. */
.itrela-row-what[b-p2tvi5kemg]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--itrela-radius-control);
}

/* A row with nowhere to go: plain text, no stretched link. */
.itrela-row-what--plain[b-p2tvi5kemg]::after {
    content: none;
}

.itrela-row-what:focus-visible[b-p2tvi5kemg] {
    outline: none;
}

.itrela-row-what:focus-visible[b-p2tvi5kemg]::after {
    outline: var(--itrela-focus-ring);
    outline-offset: calc(-1 * var(--itrela-focus-offset));
}

.itrela-row-number[b-p2tvi5kemg] {
    margin-inline-end: var(--itrela-space-8);
    font-family: var(--itrela-font-mono);
    font-weight: var(--itrela-weight-medium);
    word-spacing: normal;
}

.itrela-row-why[b-p2tvi5kemg] {
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.itrela-row-hidden[b-p2tvi5kemg] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.itrela-row-side[b-p2tvi5kemg] {
    display: flex;
    align-items: center;
    gap: var(--itrela-space-8);
}

/* The row's own buttons sit above the stretched what-link. */
/* A row whose own buttons render nothing leaves no gap at the right edge. */
.itrela-row-own:empty[b-p2tvi5kemg] {
    display: none;
}

.itrela-row-own[b-p2tvi5kemg] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--itrela-space-4);
}

.itrela-row-meta[b-p2tvi5kemg] {
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

/* The quiet secondary button: the outlined style from the look, at its
   button height. A span when it goes where the row goes, a link when it goes
   somewhere else. */
.itrela-row-action[b-p2tvi5kemg] {
    display: inline-flex;
    align-items: center;
    min-height: var(--itrela-button-min-height);
    padding-inline: var(--itrela-space-12);
    border: 1px solid var(--itrela-line-strong);
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    line-height: var(--itrela-leading-tight);
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-surface);
    white-space: nowrap;
    text-decoration: none;
    transition: background-color var(--itrela-motion-fast) var(--itrela-ease);
}

.itrela-row:hover .itrela-row-action[b-p2tvi5kemg],
.itrela-row-action--link:hover[b-p2tvi5kemg] {
    background: color-mix(in oklab, var(--mud-palette-text-primary), var(--mud-palette-surface) 94%);
}

.itrela-row-action--link[b-p2tvi5kemg],
.itrela-row-secondary[b-p2tvi5kemg] {
    position: relative;
    z-index: 1;
}

.itrela-row-action--link:focus-visible[b-p2tvi5kemg],
.itrela-row-secondary:focus-visible[b-p2tvi5kemg] {
    outline: var(--itrela-focus-ring);
    outline-offset: var(--itrela-focus-offset);
}

.itrela-row-secondary[b-p2tvi5kemg] {
    min-height: var(--itrela-button-min-height);
    padding-inline: var(--itrela-space-8);
    border: 0;
    border-radius: var(--itrela-radius-control);
    background: none;
    font: inherit;
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.itrela-row-secondary:hover[b-p2tvi5kemg] {
    color: var(--mud-palette-text-primary);
}

/* A list with no dots at all: the text starts at the card's own inset. */
.itrela-row--dotless[b-p2tvi5kemg] {
    grid-template-columns: minmax(0, 1fr) auto;
}

.itrela-row--dotless .itrela-row-dot[b-p2tvi5kemg] {
    display: none;
}

/* Phone: the whole row is the link, so the action word is not drawn (the
   row stays one target, one tab stop and one name). What else sits on the
   right (meta text, a secondary button) drops under the text so the "what"
   keeps its width. */
@media (max-width: 599.98px) {
    .itrela-row[b-p2tvi5kemg] {
        grid-template-columns: var(--itrela-space-12) minmax(0, 1fr);
        row-gap: var(--itrela-space-8);
    }

    .itrela-row-action[b-p2tvi5kemg] {
        display: none;
    }

    .itrela-row--action-only .itrela-row-side[b-p2tvi5kemg] {
        display: none;
    }

    .itrela-row-side[b-p2tvi5kemg] {
        grid-column: 2;
    }

    /* A row without a dot reserves no dot column: its text starts at the
       card's own inset. */
    .itrela-row--no-dot[b-p2tvi5kemg] {
        grid-template-columns: minmax(0, 1fr);
    }

    .itrela-row--no-dot .itrela-row-dot[b-p2tvi5kemg] {
        display: none;
    }

    .itrela-row--no-dot .itrela-row-side[b-p2tvi5kemg] {
        grid-column: 1;
    }

    .itrela-row--dotless[b-p2tvi5kemg] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Shared/StatusChip.razor.rz.scp.css */
/* The one status chip. Tokens only: the six tones read the palette's inks,
   which ItrelaTheme.cs grades per theme, so each pairing holds in light and
   dark. The fill is a soft tint of the same ink; there is no outline. */

.itrela-status-chip[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--mud-palette-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--itrela-space-4);
    max-width: 100%;
    height: var(--itrela-chip-height);
    padding-inline: var(--itrela-space-8);
    border-radius: var(--itrela-radius-pill);
    background: color-mix(in oklab, var(--itrela-chip-ink) 12%, transparent);
    color: var(--itrela-chip-ink);
    font-size: var(--itrela-text-12);
    font-weight: var(--itrela-weight-medium);
    line-height: var(--itrela-leading-tight);
    white-space: nowrap;
    vertical-align: middle;
}

.itrela-status-chip-label[b-es4tvm6hkw] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itrela-status-chip[b-es4tvm6hkw]  .itrela-status-chip-icon {
    width: var(--itrela-text-14);
    height: var(--itrela-text-14);
    font-size: var(--itrela-text-14);
    color: inherit;
}

.itrela-status-chip--info[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--itrela-status-info);
}

.itrela-status-chip--good[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--itrela-status-ok);
}

.itrela-status-chip--warning[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--itrela-status-warning);
}

.itrela-status-chip--critical[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--itrela-status-critical);
}

.itrela-status-chip--accent[b-es4tvm6hkw] {
    --itrela-chip-ink: var(--mud-palette-primary);
}
/* /Components/Shared/TableFooter.razor.rz.scp.css */
/* The one table footer. Tokens only: the range in 13px quiet text, then the
   two page buttons, at the table's right edge under a hairline. */

.itrela-table-footer[b-8epjpz9ruy] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--itrela-space-8);
    width: 100%;
    min-width: 0;
    padding: var(--itrela-space-4) var(--itrela-space-12);
    border-top: 1px solid var(--itrela-line);
    font-size: var(--itrela-text-13);
    line-height: var(--itrela-leading-text);
    color: var(--mud-palette-text-secondary);
}

.itrela-table-footer-range[b-8epjpz9ruy] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.itrela-table-footer-nav[b-8epjpz9ruy] {
    display: inline-flex;
    align-items: center;
    gap: var(--itrela-space-4);
}

.itrela-table-footer--inline[b-8epjpz9ruy] {
    width: auto;
    padding: 0;
    border-top: 0;
}
/* /Components/Shared/WorkbenchBand.razor.rz.scp.css */
/* ── Workbench band ───────────────────────────────────────────────────
   Geometry only. The background comes from WorkbenchShell.razor.css,
   which alternates tones across the whole band stack — a band cannot
   know its own position, and the eye counts the stack, not the band. */

.itrela-workbench-band[b-13akvuy0jh] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--itrela-band-h, 56px);
    min-width: 0;
    padding-inline: var(--itrela-workbench-band-pad, 26px);
    /* Inner band dividers are the soft hairline; the frame rules (header,
       footer) take the solid --itrela-workbench-line in the shell. */
    border-bottom: 1px solid var(--itrela-workbench-line-soft, var(--mud-palette-lines-default));
    font-size: var(--itrela-text-13);
}
/* /Components/Shared/WorkbenchShell.razor.rz.scp.css */
/* ── Workbench shell — page chrome 1 ──────────────────────────────────
   Full-bleed frame. The width tokens live here and nowhere else: a page
   that restates 26px or 22px has forked the chrome.

   Band tones alternate through ::deep because WorkbenchBand renders its
   own root element, which never carries this file's isolation attribute
   (UI_STYLE_GUIDE.md "MudBlazor + CSS isolation — THE RULE"). The
   attribute lands on .itrela-workbench-bands instead, so one selector pair
   reaches the header band and every WorkbenchBand alike. */

.itrela-workbench[b-wvylvjxg88] {
    /* Published to the page: rows read --itrela-workbench-row-pad, never 22px. */
    --itrela-workbench-band-pad: 26px;
    --itrela-workbench-row-pad: 22px;

    /* The quiet band raise is --surface-q — the same value as the row and
       table hover, carried by the table-striped token (striping itself is
       banned, so the token's only jobs are this raise and the hover). */
    --itrela-workbench-surface: var(--mud-palette-surface);
    --itrela-workbench-quiet: var(--mud-palette-table-striped);
    --itrela-workbench-accent: color-mix(in oklab, var(--mud-palette-primary), transparent 92%);
    /* Frame rules (header band, footer) are the solid line; the dividers
       between inner bands are the soft hairline. */
    --itrela-workbench-line: var(--mud-palette-lines-default);
    --itrela-workbench-line-soft: color-mix(in oklab, var(--mud-palette-lines-default), transparent 35%);

    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Full-bleed to the frame: no max-width, no centring gutter. */
    width: 100%;
    background: var(--mud-palette-background);
}

.itrela-workbench-bands[b-wvylvjxg88] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Tone alternation. The header is band 1 and takes surface, so the first
   page-supplied band takes the quiet raise and they keep alternating. */
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band {
    background: var(--itrela-workbench-surface);
}

.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band:nth-child(even) {
    background: var(--itrela-workbench-quiet);
}

/* Order matters: the accent opt-in is declared last so it outranks the
   equal-specificity alternation above. Only the bulk bar asks for it. */
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band[data-tone="accent"] {
    background: var(--itrela-workbench-accent);
    border-bottom-color: color-mix(in oklab, var(--mud-palette-primary), transparent 55%);
}

/* Top-aligned, not centred: the title's top edge is the band's top padding
   on every page, whether or not a subtitle follows it. */
.itrela-workbench-band--header[b-wvylvjxg88] {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: var(--itrela-workbench-header-h, 60px);
    padding-block: 12px;
    padding-inline: var(--itrela-workbench-band-pad);
    border-bottom: 1px solid var(--itrela-workbench-line);
}

/* One page-title tier everywhere (UI_STYLE_GUIDE.md "Settled numbers"):
   20px/600 over a 14px subtitle, the same as ComposedShell's head and
   IndexShell's heading, so moving from a list to its record never changes
   the title's size or place. Only the title line grows on a dense list; the
   bands and rows below keep their room. PageHeader's scoped base carries no
   title size — the shells own it, pinned by PageChromeContractTests. The
   same rule covers the raw h1/h2 some pages put in the band instead of a
   PageHeader.
   Anchored on itrela-workbench-bands because ::deep only resolves through a
   plain element the shell renders itself (PageChromeContractTests). */
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-header {
    align-items: flex-start;
    width: 100%;
    padding-bottom: 0;
}

.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-title,
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header h1,
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header h2 {
    margin: 0;
    font-size: var(--itrela-text-20);
    font-weight: var(--itrela-weight-strong);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-subtitle {
    font-size: var(--itrela-text-14);
}

/* The text block is top-aligned so the title never moves; the actions centre
   on it as before. When the actions are the taller of the two (a title with
   no line under it), they start level with the title instead of pushing it
   down. */
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-header-actions {
    align-self: center;
}

/* Header actions follow the drawn 34px idiom (secondary line button,
   primary accent fill) — the same contract IndexShell already enforces
   for the Billing and Books module headers. A MudSwitch's thumb rides a
   .mud-button-root too; stretching it to 34px pushed the thumb off its
   track, so the switch keeps MudBlazor's own box. */
.itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .mud-button-root:not(.mud-switch-base) {
    box-sizing: border-box;
    min-height: 34px;
    height: auto;
    border-radius: var(--itrela-radius-control);
    font-size: var(--itrela-text-13);
    font-weight: var(--itrela-weight-strong);
}

/* The one scrolling region on the page. The frame above it is fixed to the
   viewport (app.css, "Workbench chrome: the frame is the page"), so the list
   scrolls here and the bands and the footer stay put. Outside that frame this
   is simply an element that never overflows, so the shell degrades to a
   normal block instead of breaking. */
.itrela-workbench-body[b-wvylvjxg88] {
    /* No padding: rows bleed to the frame so a selected row's tint reaches
       the edge. The page pads its own rows from --itrela-workbench-row-pad.
       Flex column + background ground ensures short/empty views never leave a
       white void beneath the content. */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background: var(--mud-palette-background);
}

/* The footer holds the bottom of the frame while the list scrolls past it.
   sticky, not fixed, so it stays inside the shell wherever the shell is. */
.itrela-workbench-foot[b-wvylvjxg88] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: var(--itrela-workbench-foot-h, 42px);
    padding-inline: var(--itrela-workbench-band-pad);
    border-top: 1px solid var(--itrela-workbench-line);
    background: var(--itrela-workbench-quiet);
    font-size: var(--itrela-text-13);
}

@media (max-width: 700px) {
    .itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-header {
        align-items: stretch;
    }

    /* Stacked under the title on a phone: full width again. */
    .itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band--header .page-header-actions {
        align-self: auto;
    }
}

@media (max-width: 599.98px) {
    .itrela-workbench[b-wvylvjxg88] {
        --itrela-workbench-band-pad: 12px;
        --itrela-workbench-row-pad: 12px;
    }

    .itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band:not(.itrela-workbench-band--header) {
        min-height: 40px;
    }

    .itrela-workbench-bands[b-wvylvjxg88]  .itrela-workbench-band:has(.sd-team-band--mobile-collapsed) {
        display: none;
    }
}
