/* /Components/AppLoadingScreen.razor.rz.scp.css */
/* The one shared loading state fills the viewport (issue #2147). Kept in scoped CSS rather than an
   inline Style; the centring itself stays with the MudStack inside. */
.app-loading-screen[b-j3jvkz13fo] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* /Components/Blades/SourceOwnershipStep.razor.rz.scp.css */
.ownership-tiles[b-ajnznasn4o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ownership-tile[b-ajnznasn4o] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 16px;
    text-align: left;
    font: inherit;
    color: inherit;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    cursor: pointer;
}

.ownership-tile:hover[b-ajnznasn4o] {
    border-color: var(--mud-palette-primary);
}

.ownership-tile:focus-visible[b-ajnznasn4o] {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.ownership-tile[aria-pressed="true"][b-ajnznasn4o] {
    border-color: var(--mud-palette-primary);
    border-width: 2px;
    padding: 15px;
}

.ownership-tile[aria-disabled="true"][b-ajnznasn4o] {
    cursor: progress;
    color: var(--mud-palette-text-disabled);
}

.ownership-tile__body[b-ajnznasn4o] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ownership-tile__title[b-ajnznasn4o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.ownership-tile__badge[b-ajnznasn4o] {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: var(--mud-typography-caption-size);
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
}

.ownership-tile__text[b-ajnznasn4o] {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Dashboard/SankeyWidget.razor.rz.scp.css */
/* MudBlazor draws Sankey labels as white text with a black outline on a 25% black plate (2 to 3.5:1).
 * CSS beats the SVG presentation attributes, so labels use the palette text on a surface plate (7:1). */
.sb-sankey[b-9f3tkw9ycb]  .svg-tooltip rect {
    fill: var(--mud-palette-surface);
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1px;
}

.sb-sankey[b-9f3tkw9ycb]  .svg-tooltip text {
    fill: var(--mud-palette-text-primary);
    stroke: none;
    filter: none;
}
/* /Components/Docs/DocsChatWidget.razor.rz.scp.css */
/* All selectors below use ::deep because every element they target (MudFab, MudPaper, MudStack,
   etc.) is rendered by a MudBlazor component, not written as plain HTML in this file — Blazor's
   CSS isolation only stamps its scope attribute onto elements literally authored in the .razor
   file, so an unscoped ".docs-chat-panel { }" rule would never match anything. ::deep drops that
   requirement for the target selector while still scoping the whole rule to this component via
   the .docs-chat-root ancestor (a plain div, so it does carry the scope attribute). */

/* Chat panel — fixed positioning, the slide-in/out transition, width, elevation/shadow, and
   z-index are all owned by MudDrawer natively (Anchor.Right + DrawerVariant.Temporary); only the
   internal flex layout (d-flex flex-column, set via the component's Class attribute rather than
   here) and border-radius override remain component-specific. */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-panel {
    border-radius: 0;
    overflow: hidden;
}

/* Panel header — info-colour background with its contrast text */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-header {
    background: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
    flex-shrink: 0;
}

.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-header .mud-icon-root,
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-header .mud-typography,
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-header .mud-icon-button {
    color: var(--mud-palette-info-text);
}

/* Message list — grows to fill available panel height, scrolls independently */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-messages-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* User message bubble */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-user-bubble {
    background: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
    padding: 8px 12px;
    border-radius: var(--mud-default-borderradius) var(--mud-default-borderradius) 0 var(--mud-default-borderradius);
    max-width: 85%;
}

/* Bot message wrapper — constrains width */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-bot-message {
    max-width: 90%;
}

/* Bot message bubble */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-bot-bubble {
    background: var(--mud-palette-surface);
    padding: 8px 12px;
    border-radius: var(--mud-default-borderradius) var(--mud-default-borderradius) var(--mud-default-borderradius) 0;
}

/* Suggestion buttons (starter questions, clarification options, follow-ups) and CTA links
   (Learn more, Try again, Browse docs, Contact support) — full-width and left-aligned so a
   stacked list of them reads as a clean vertical list rather than a cramped, wrapping row. */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-suggestion-btn,
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-cta-btn {
    width: 100%;
    justify-content: flex-start;
    text-transform: none;
}

/* Loading indicator bubble */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-loading-bubble {
    background: var(--mud-palette-surface);
    padding: 8px 12px;
    border-radius: var(--mud-default-borderradius) var(--mud-default-borderradius) var(--mud-default-borderradius) 0;
}

/* Loading progress bar — constrained width to look like a typing indicator */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-progress {
    width: 80px;
}

/* Input area — divider border above the text field row */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-input-area {
    border-top: 1px solid var(--mud-palette-divider);
    flex-shrink: 0;
}

/* MudBlazor's default placeholder (42% opacity white) reads as barely-visible grey against this
   panel's dark background — raise contrast to the theme's (much brighter) secondary text colour. */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-input-area input::placeholder {
    color: var(--mud-palette-text-secondary);
    opacity: 1;
}

/* Same low-contrast issue on the outline itself — brighten it so the field reads as clearly
   interactive against the dark panel background instead of blending into it. */
.docs-chat-root[b-5kd5wfxy4h]  .docs-chat-input-area .mud-input-outlined-border {
    border-color: var(--mud-palette-text-secondary);
}
/* /Components/PermissionGate.razor.rz.scp.css */
/* The inert placeholder a PermissionGate shows while a scope switch settles (issue #2147 task 7.2).
   `inert` on the element already blocks focus, clicks and assistive tech; pointer-events is belt and
   braces for engines that ignore it, and the dimming tells the user the control is not live yet. */
.permission-gate-pending[b-uni0eynd57] {
    opacity: 0.5;
    pointer-events: none;
}
/* /Components/SandboxedHtmlPreview.razor.rz.scp.css */
/*
    The preview used to render inline, so it grew with the blade and the page scrolled it.
    An iframe cannot size itself to its content here: `sandbox=""` withholds script, which is
    what a self-measuring frame would need, and that restriction is the whole point of the
    component. So the height is set generously and made user-adjustable rather than guessed —
    a short notification wastes a little space, a long one scrolls internally or can be dragged
    taller, and neither case hides content with no way to reach it.
*/
.sandboxed-html-preview[b-230mts0xzq] {
    width: 100%;
    height: 420px;
    min-height: 240px;
    border: 0;
    display: block;
    resize: vertical;
    overflow: auto;

    /* Deliberately opaque white, not a theme token: this shows how the mail will look in a
       recipient's client, which is not themed by our application. */
    background-color: #ffffff;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* The inert, dimmed treatment @Body gets while a scope switch is in flight (issue #2147 Stage 4
   round-2 deferral item 10) -- the whole-page-body counterpart of PermissionGate.razor.css's
   per-control placeholder (issue #2160). `inert` already blocks focus, clicks and assistive tech;
   pointer-events is belt and braces for engines that ignore it, and the dimming tells the user the
   page's content is not live yet. */
.main-body-pending[inert][b-x1ikdpgsyx] {
    opacity: 0.5;
    pointer-events: none;
}
/* /Pages/Config/Policies/Policies.razor.rz.scp.css */
/* Filter-bar sizing — kept here instead of inline style="" per frontend/mudblazor-usage.md. */
.filter-label[b-hquovmgj4o] {
    min-width: fit-content;
}

.filter-select[b-hquovmgj4o] {
    min-width: 140px;
}

.filter-select-wide[b-hquovmgj4o] {
    min-width: 160px;
}
/* /Pages/Config/ResourceTypes/ResourceTypes.razor.rz.scp.css */
/* Monospace pattern cell — kept here instead of inline style="" per frontend/mudblazor-usage.md. */
.pattern-cell[b-xpxexan8i7] {
    font-family: var(--mud-typography-monospace, monospace);
}
/* /Pages/Error/AccessDenied.razor.rz.scp.css */
/* The permission-denied heading takes programmatic focus (tabindex="-1", never in the tab order)
   so screen readers announce it; the browser's focus ring on a non-interactive heading is noise.
   Kept here instead of inline style="" per frontend/mudblazor-usage.md. */
.access-denied-heading:focus[b-xkjcg8idey] {
    outline: none;
}
