/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Only the #blazor-error-ui element below exists in MainLayout.razor markup.
   The Blazor template leftovers (.page, .sidebar with its legacy gradient,
   .top-row, media queries) were dead CSS — the layout is MudBlazor
   (mud-appbar/mud-drawer, styled in wwwroot/app.css) — and were removed. */

#blazor-error-ui[b-ke8i6zitbl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ke8i6zitbl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4i1tin8svb],
.components-reconnect-repeated-attempt-visible[b-4i1tin8svb],
.components-reconnect-failed-visible[b-4i1tin8svb],
.components-pause-visible[b-4i1tin8svb],
.components-resume-failed-visible[b-4i1tin8svb],
.components-rejoining-animation[b-4i1tin8svb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-retrying[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-failed[b-4i1tin8svb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-4i1tin8svb] {
    display: block;
}


#components-reconnect-modal[b-4i1tin8svb] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-4i1tin8svb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-4i1tin8svb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-4i1tin8svb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-4i1tin8svb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-4i1tin8svb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-4i1tin8svb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-4i1tin8svb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-4i1tin8svb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-4i1tin8svb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-4i1tin8svb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-4i1tin8svb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4i1tin8svb] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4i1tin8svb] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-4i1tin8svb] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-4i1tin8svb] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4i1tin8svb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-4i1tin8svb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-4i1tin8svb {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home dashboard — compact, fits 1920x1080 without vertical scrolling.
   Every colour is a theme token, so all five themes and dark mode work unchanged.
   The selectors go through ::deep because the classes sit on MudBlazor components, whose
   markup this component does not own and which therefore carry no scope attribute. */

.home-dashboard[b-80oohtvnrd]  .home-kpi {
    height: 100%;
}

/* The KPI tiles fill the row in equal parts, however many the caller's permissions show (one to
   five), and wrap by the space the content area really has — a viewport breakpoint would squeeze
   five tiles next to an open drawer. The MudGrid spacing (item padding) is kept. */
.home-dashboard[b-80oohtvnrd]  .home-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.home-dashboard[b-80oohtvnrd]  .home-kpi-row > .mud-grid-item {
    max-width: none;
}

.home-dashboard[b-80oohtvnrd]  .home-kpi-body {
    min-width: 0;
}

/* Five tiles next to the drawer leave a narrow tile, where a caption may wrap to two lines. */
.home-dashboard[b-80oohtvnrd]  .home-kpi-body .mud-typography-caption {
    display: block;
    line-height: 1.3;
}

.home-dashboard[b-80oohtvnrd]  .home-kpi-value {
    font-weight: 700;
    line-height: 1.2;
}

.home-dashboard[b-80oohtvnrd]  .home-kpi-link {
    cursor: pointer;
    transition: box-shadow 120ms ease-in-out;
}

.home-dashboard[b-80oohtvnrd]  .home-kpi-link:hover,
.home-dashboard[b-80oohtvnrd]  .home-kpi-link:focus-visible {
    box-shadow: var(--mud-elevation-4);
}

.home-dashboard[b-80oohtvnrd]  .home-card {
    height: 100%;
}

/* The lists are the part that would push the page past one screen, so they are capped and
   scroll internally instead of growing the document. */
.home-dashboard[b-80oohtvnrd]  .home-list {
    max-height: 244px;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 0;
}

/* My work items: the card already stops at WorkItemRows (7) and links "show all", and each row
   carries a project line (WI-06546) — a scroll cap here would hide rows behind a second scroll. */
.home-dashboard[b-80oohtvnrd]  .home-list--uncapped {
    max-height: none;
}

.home-dashboard[b-80oohtvnrd]  .home-row {
    padding-top: 4px;
    padding-bottom: 4px;
}

.home-dashboard[b-80oohtvnrd]  .home-row-bar {
    width: 3px;
    align-self: stretch;
    min-height: 18px;
    border-radius: var(--mud-default-borderradius);
    flex-shrink: 0;
}

/* WI-06546: the text of a work item row — its main line and the project line under it — next to
   the type bar, which runs down both lines. */
.home-dashboard[b-80oohtvnrd]  .home-row-body {
    flex: 1 1 auto;
    min-width: 0;
}

.home-dashboard[b-80oohtvnrd]  .home-row-project {
    line-height: 1.3;
    color: var(--mud-palette-text-secondary);
}

.home-dashboard[b-80oohtvnrd]  .home-row-project-code {
    font-variant-numeric: tabular-nums;
    margin-right: 6px;
}

.home-dashboard[b-80oohtvnrd]  .home-row-code {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.home-dashboard[b-80oohtvnrd]  .home-row-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-dashboard[b-80oohtvnrd]  .home-row-state {
    flex-shrink: 0;
}

/* A phone row has room for code, title and due date only; the state is in the donut card. */
@media (max-width: 599.98px) {
    .home-dashboard[b-80oohtvnrd]  .home-row-state {
        display: none;
    }
}

.home-dashboard[b-80oohtvnrd]  .home-row-due {
    flex-shrink: 0;
    white-space: nowrap;
}

.home-dashboard[b-80oohtvnrd]  .home-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    text-align: center;
}
/* /Components/Pages/Sales/OpportunityDetail.razor.rz.scp.css */
/* Opportunity detail (WI-06770). The header, the sidebar headings/rows and the footer reuse the
   work item detail's global classes (app.css: wi-header*, wi-sidebar-*, wi-editable). Breakpoints:
   phone ≤ 600 px, touch layout ≤ 960 px (the action bar takes over the header actions there). */

/* ── Layout: desktop = next step + tabs left (2/3), attributes right (1/3); ≤ 960 px one column
      in the order next step → attributes → tabs. One render of each part, only the grid moves. ── */
.sales-detail-layout[b-cvxjdqej0d] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "next side"
        "tabs side";
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
}

.sales-detail-next[b-cvxjdqej0d] { grid-area: next; min-width: 0; }
.sales-detail-side[b-cvxjdqej0d] { grid-area: side; min-width: 0; }
.sales-detail-tabs[b-cvxjdqej0d] { grid-area: tabs; min-width: 0; }

@media (max-width: 960px) {
    .sales-detail-layout[b-cvxjdqej0d] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "next"
            "side"
            "tabs";
    }
}

/* ── Header ── */
.sales-title-editor[b-cvxjdqej0d] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 100%;
    min-width: 0;
}

.sales-title-editor[b-cvxjdqej0d]  .mud-input-control {
    flex: 1 1 18rem;
    min-width: 0;
}

/* ── Next step: a section like the work item's description ── */
.sales-nextstep-display[b-cvxjdqej0d] {
    padding: 4px 0;
    border-radius: var(--mud-default-borderradius);
}

.sales-nextstep-display[b-cvxjdqej0d]  .sales-nextstep-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.sales-nextstep-display[b-cvxjdqej0d]  .sales-nextstep-date-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.sales-nextstep-editor[b-cvxjdqej0d]  .sales-nextstep-date {
    max-width: 20rem;
}

/* ── Attributes: the collapsible header shows only in the touch layout ── */
.sales-attrs-toggle[b-cvxjdqej0d] {
    display: none;
}

@media (max-width: 960px) {
    .sales-attrs-toggle[b-cvxjdqej0d] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-height: 44px;
        padding: 0;
        margin-bottom: 4px;
        border: 0;
        background: none;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
        border-radius: var(--mud-default-borderradius);
    }

    .sales-attrs-toggle:focus-visible[b-cvxjdqej0d] {
        outline: 2px solid var(--mud-palette-primary);
        outline-offset: 2px;
    }

    .sales-attrs-body:not(.sales-attrs-expanded)[b-cvxjdqej0d] {
        display: none;
    }

    .sales-attrs-body.sales-attrs-expanded[b-cvxjdqej0d] {
        padding-top: 8px;
    }
}

.sales-attrs-toggle-text[b-cvxjdqej0d] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sales-attrs-toggle-title[b-cvxjdqej0d] {
    font-weight: 600;
}

.sales-attrs-summary[b-cvxjdqej0d] {
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.sales-attr-value[b-cvxjdqej0d] {
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.sales-value-row[b-cvxjdqej0d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9.5rem;
    gap: 8px;
    align-items: start;
}

.sales-lost-note[b-cvxjdqej0d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sales-lost-note[b-cvxjdqej0d]  p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.sales-detail-root[b-cvxjdqej0d]  .sales-partner-link-icon {
    width: 15px;
    height: 15px;
    opacity: 0.85;
}

/* Source callout (which public tender the opportunity came from). */
.sales-source-callout[b-cvxjdqej0d] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
    border-radius: var(--mud-default-borderradius);
    border-left: 3px solid var(--mud-palette-info);
    background: var(--mud-palette-info-hover);
}

.sales-source-callout[b-cvxjdqej0d]  .mud-chip {
    margin: 0;
    max-width: 100%;
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ── Tabs: icon + label + count; on a phone the label is visually hidden (still read out) ── */
.sales-detail-tabs[b-cvxjdqej0d]  .sales-tab-head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sales-detail-tabs[b-cvxjdqej0d]  .sales-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

@media (max-width: 600px) {
    .sales-detail-tabs[b-cvxjdqej0d]  .sales-tab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .sales-detail-tabs[b-cvxjdqej0d]  .mud-tab {
        min-width: 44px;
        min-height: 48px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Comment card (work item comment card pattern). */
.sales-detail-tabs[b-cvxjdqej0d]  .sales-comment-card {
    border: 1px solid var(--mud-palette-lines-default);
}

.sales-comment-head[b-cvxjdqej0d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--mud-palette-background);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Up to 960 px the new-comment editor is not sticky: pinned, it floated over the comments. */
@media (max-width: 960px) {
    .sales-comment-editor.comment-editor-sticky[b-cvxjdqej0d] {
        position: static;
        box-shadow: none;
    }
}

/* ── Touch targets: 44 px in the touch layout and on any coarse pointer ── */
@media (max-width: 960px), (pointer: coarse) {
    .sales-detail[b-cvxjdqej0d]  .sales-touch-target.mud-icon-button,
    .sales-detail[b-cvxjdqej0d]  .sales-touch-target.mud-button-root {
        min-width: 44px;
        min-height: 44px;
    }

    .sales-detail[b-cvxjdqej0d]  .sales-editor-actions .mud-button-root,
    .sales-detail[b-cvxjdqej0d]  .comment-editor-actions .mud-button-root,
    .sales-detail[b-cvxjdqej0d]  .sales-comment-card .mud-button-root {
        min-height: 44px;
    }

    .sales-detail[b-cvxjdqej0d]  .mud-input-control .mud-input-adornment .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ── Live changes (pattern WI-06685): a colleague's change is tinted, then fades out ── */
.sales-detail-root[b-cvxjdqej0d]  .wi-live-changed {
    --wi-live-tint: color-mix(in srgb, var(--mud-palette-warning) 22%, transparent);
    border-radius: var(--mud-default-borderradius);
    animation: sales-live-fade-b-cvxjdqej0d 4s ease-out 1 both;
}

@keyframes sales-live-fade-b-cvxjdqej0d {
    0%, 25% { background-color: var(--wi-live-tint); box-shadow: 0 0 0 4px var(--wi-live-tint); }
    100% { background-color: transparent; box-shadow: 0 0 0 4px transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .sales-detail-root[b-cvxjdqej0d]  .wi-live-changed {
        animation: none;
        background-color: var(--wi-live-tint);
    }
}

/* Footer links (same look as the work item sidebar). */
.sales-detail-root[b-cvxjdqej0d]  .wi-audit-link { color: inherit; text-decoration: underline dotted; }
.sales-detail-root[b-cvxjdqej0d]  .wi-audit-link:hover { color: var(--mud-palette-primary); text-decoration: underline; }

/* Phone: a smaller title (the WI: "Nadpis je menší"). */
@media (max-width: 600px) {
    .wi-header-title[b-cvxjdqej0d] {
        font-size: 1.25rem;
        line-height: 1.3;
    }
}

/* Touch layout: the partner link of the header and the comment order toggle are 44 px targets too. */
@media (max-width: 960px), (pointer: coarse) {
    .sales-header-link[b-cvxjdqej0d] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .sales-detail[b-cvxjdqej0d]  [data-testid='comment-sort-toggle'] {
        min-height: 44px;
    }
}
/* Touch layout: the panel's fields are 44 px tall (outlined dense is 40 px on a desktop). */
@media (max-width: 960px), (pointer: coarse) {
    .sales-detail[b-cvxjdqej0d]  .mud-input.mud-input-outlined {
        min-height: 44px;
    }

    .sales-detail[b-cvxjdqej0d]  .sales-touch-link {
        min-height: 44px;
    }
}
/* The title is a keyboard target too (Tab, then Enter or F2 opens its editor): visible focus ring. */
.sales-title-editable[b-cvxjdqej0d] {
    border-radius: var(--mud-default-borderradius);
}

.sales-title-editable:focus-visible[b-cvxjdqej0d] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}
@media (max-width: 960px), (pointer: coarse) {
    .sales-title-editable[b-cvxjdqej0d] {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
}
/* The four tabs with labels and counts need up to ~680 px (Czech labels, MudTabs padding). In a narrower tab column (a 1280 px window
   with the navigation open, a tablet) the labels give way to icon + count like on a phone — the
   label stays the accessible name and the tooltip — instead of MudTabs' scroll arrows hiding a tab. */
.sales-detail-tabs[b-cvxjdqej0d] {
    container-type: inline-size;
}

@container (max-width: 560px) {
    .sales-detail-tabs[b-cvxjdqej0d]  .sales-tab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
/* D4 (WI-06770): neighbouring touch targets stay ≥ 8 px apart in the touch layout — header row
   (back, copy link, copy code), the next step heading (copy, edit) and the comment card (edit, delete). */
@media (max-width: 960px), (pointer: coarse) {
    .wi-header-caption[b-cvxjdqej0d] {
        margin-top: 8px;
        column-gap: 8px;
        row-gap: 8px;
    }

    .wi-header-group[b-cvxjdqej0d] {
        gap: 8px;
    }

    .wi-section-heading[b-cvxjdqej0d] {
        gap: 8px;
    }

    .sales-comment-actions[b-cvxjdqej0d] {
        gap: 8px !important;
    }
}
/* INFO 6: between ~560 and 760 px of tab column (a tablet, a laptop with the navigation open) the
   labels still fit with tighter tab padding — shown rather than reduced to icons. */
@container (max-width: 760px) {
    .sales-detail-tabs[b-cvxjdqej0d]  .mud-tab {
        padding-left: 8px;
        padding-right: 8px;
        letter-spacing: 0;
    }

    .sales-detail-tabs[b-cvxjdqej0d]  .sales-tab-head {
        gap: 4px;
    }
}
/* /Components/Pages/Tenders/LeadDetail.razor.rz.scp.css */
/* WI-06770 — public tender lead detail. Layout classes (wi-header*, wi-sidebar*, wi-desc*) are the
   work item detail's global ones; only what is specific to the lead lives here. */

/* Portal texts (AI reasoning, description) arrive as plain text with line breaks. */
.tender-lead-text[b-lhtmg6dl70] {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* The facts panel: label left, value right, 36 px rows (the work item sidebar rhythm). */
.tender-lead-facts[b-lhtmg6dl70] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tender-lead-facts dt[b-lhtmg6dl70] {
    margin: 0;
    flex: 0 0 auto;
}

.tender-lead-facts dd[b-lhtmg6dl70] {
    margin: 0;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

/* "Poprvé viděno" opens History at the creation — styled like the work item's audit links. */
.tender-lead-audit-link[b-lhtmg6dl70] {
    color: inherit;
    text-decoration: underline dotted;
}

.tender-lead-audit-link:hover[b-lhtmg6dl70],
.tender-lead-audit-link:focus-visible[b-lhtmg6dl70] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

/* WI-06770 P4-B — phone and tablet (≤ 960 px): the facts first, then the reasoning, the description
   and the tabs; the header actions are in the bottom bar (MobileActionBar). Touch targets 44 px. */
@media (max-width: 959.98px) {
    .tender-lead-layout[b-lhtmg6dl70]  .tender-lead-side {
        order: -1;
    }
}

@media (max-width: 960px) {
    [b-lhtmg6dl70] .wi-header-caption .mud-icon-button,
    [b-lhtmg6dl70] .wi-header-back.mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }

    [b-lhtmg6dl70] .wi-header-caption a,
    .tender-lead-audit-link[b-lhtmg6dl70] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    [b-lhtmg6dl70] .tender-lead-tabs .mud-tab {
        min-height: 48px;
    }
}

@media (max-width: 960px) {
    [b-lhtmg6dl70] .mud-list-item {
        min-height: 44px;
    }
}

/* D4: 8 px between neighbouring touch targets of the caption (copy link, copy code, portal). */
@media (max-width: 960px) {
    [b-lhtmg6dl70] .wi-header-group {
        gap: 8px;
    }
}
/* /Components/Pages/TravelOrders/AccountingHandover.razor.rz.scp.css */
/* WI-06915 F6-C: the two filters keep their width on a wide screen and take the full row on a phone. */
.travel-handover-filters[b-els90jtv5i]  > * {
    flex: 0 1 240px;
}

@media (max-width: 600px) {
    .travel-handover-filters[b-els90jtv5i]  > * {
        flex: 1 1 100%;
    }
}
/* /Components/Pages/TravelOrders/Overview.razor.rz.scp.css */
/* WI-06915 F7: the overviews scroll inside their card on a narrow screen, never the page. */
.travel-overview[b-llzn813jua]  .travel-overview-table {
    overflow-x: auto;
}

.travel-overview[b-llzn813jua]  .travel-overview-table th,
.travel-overview[b-llzn813jua]  .travel-overview-table td {
    white-space: nowrap;
}

.travel-overview[b-llzn813jua]  .travel-overview-total td {
    border-top: 2px solid var(--mud-palette-lines-default);
}

.travel-overview[b-llzn813jua]  .travel-overview-kinds {
    max-width: 480px;
}

.travel-overview[b-llzn813jua]  .travel-overview-period {
    min-width: 160px;
    max-width: 200px;
}

.travel-overview[b-llzn813jua]  .travel-overview-rounding td {
    border-top: 1px dashed var(--mud-palette-lines-default);
}

/* Acceptance F7 MB7 (UX-09): touch targets of at least 44 px on a phone. */
@media (max-width: 960px) {
    .travel-overview[b-llzn813jua]  .mud-toggle-item {
        min-height: 44px;
    }

    .travel-overview[b-llzn813jua]  .travel-overview-link {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 44px;
        min-width: 44px;
    }
}
/* /Components/Pages/UserGuide.razor.rz.scp.css */
.user-guide[b-w8jybf9e6m] {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.user-guide__toc[b-w8jybf9e6m] {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 8px;
    border-right: 1px solid var(--mud-palette-lines-default);
}

.user-guide__toc-group + .user-guide__toc-group[b-w8jybf9e6m] {
    margin-top: 16px;
}

.user-guide__toc-group-title[b-w8jybf9e6m] {
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.user-guide__toc ul[b-w8jybf9e6m] {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.user-guide__toc li a[b-w8jybf9e6m] {
    display: block;
    padding: 3px 0 3px 8px;
    border-left: 2px solid transparent;
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.user-guide__toc li a:hover[b-w8jybf9e6m] {
    border-left-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.user-guide__group-heading[b-w8jybf9e6m] {
    margin: 40px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.user-guide__section[b-w8jybf9e6m] {
    /* The sticky app bar would otherwise cover the heading a fragment jump lands on. */
    scroll-margin-top: 88px;
    margin-bottom: 32px;
}

.user-guide__section[b-w8jybf9e6m]  img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
}

@media (max-width: 960px) {
    .user-guide[b-w8jybf9e6m] {
        grid-template-columns: minmax(0, 1fr);
    }

    .user-guide__toc[b-w8jybf9e6m] {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--mud-palette-lines-default);
        padding-bottom: 16px;
    }
}
/* /Components/Shared/ChangeHistory/ChangeHistoryPanel.razor.rz.scp.css */
/* WI-06587 — change history panel. Colours come from the MudBlazor theme variables, so the
   panel follows the selected theme and dark mode.
   Layout revision: a heading per day, one row per group (time · actor | changed fields), the
   old → new values visible without a click. A thin rail with a dot per group ties the times
   together. Below ~720 px of panel width (the work item column, the milestone dialog, a phone)
   the actor moves above the fields. */

.change-history[b-i6iuj0h80y] {
    padding: 8px 4px;
    container-type: inline-size;
}

.change-history-filters[b-i6iuj0h80y] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.change-history-filters[b-i6iuj0h80y]  .mud-select {
    min-width: 200px;
    flex: 1 1 200px;
    max-width: 320px;
}

/* ---- Day ---- */

.change-history-day[b-i6iuj0h80y] {
    position: relative;
}

.change-history-day + .change-history-day[b-i6iuj0h80y] {
    margin-top: 12px;
}

.change-history-day-head[b-i6iuj0h80y] {
    padding: 6px 0 4px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.change-history-day-head[b-i6iuj0h80y]::first-letter {
    text-transform: uppercase;
}

/* ---- Group row ---- */

.change-history-group[b-i6iuj0h80y] {
    --ch-time: 52px;
    --ch-who: 220px;
    position: relative;
    display: grid;
    grid-template-columns: calc(var(--ch-time) + var(--ch-who)) minmax(0, 1fr);
    column-gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.change-history-group:hover[b-i6iuj0h80y] {
    background: var(--mud-palette-action-default-hover);
}

/* WI-06756: the group a Created / Updated link points to. */
.change-history-group.is-target[b-i6iuj0h80y] {
    background: var(--mud-palette-action-default-hover);
    box-shadow: inset 3px 0 0 var(--mud-palette-primary);
}

/* The rail: a hairline through the time column, a dot at each group. */
.change-history-group[b-i6iuj0h80y]::before {
    content: "";
    position: absolute;
    left: calc(var(--ch-time) + 2px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--mud-palette-lines-default);
}

/* WI-06756: zero-height scroll targets of the work item detail's Created / Updated links. */
.change-history-anchor[b-i6iuj0h80y] {
    position: absolute;
    top: 0;
    height: 0;
    scroll-margin-top: 80px;
}

/* The pinned work item header (app.css, same breakpoint) covers the top of the view: land below it. */
@media (min-width: 960px) and (min-height: 760px) {
    .change-history-anchor[b-i6iuj0h80y] {
        scroll-margin-top: 190px;
    }
}

.change-history-head[b-i6iuj0h80y] {
    display: grid;
    grid-template-columns: var(--ch-time) minmax(0, 1fr);
    align-items: baseline;
    min-width: 0;
}

.change-history-time[b-i6iuj0h80y] {
    position: relative;
    padding-right: 10px;
    text-align: right;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
    cursor: default;
}

.change-history-time[b-i6iuj0h80y]::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 0.45em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    box-shadow: 0 0 0 2px var(--mud-palette-surface);
}

.change-history-who[b-i6iuj0h80y] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    padding-left: 14px;
    min-width: 0;
}

.change-history-actor[b-i6iuj0h80y] {
    font-size: 0.875rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.change-history-actor.is-system[b-i6iuj0h80y] {
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.change-history-channel[b-i6iuj0h80y] {
    padding: 0 6px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
    font-size: 0.6875rem;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

/* ---- Changed fields ---- */

.change-history-body[b-i6iuj0h80y] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.change-history-title[b-i6iuj0h80y] {
    font-size: 0.875rem;
    font-weight: 600;
}

.change-history-line[b-i6iuj0h80y] {
    display: grid;
    grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
    column-gap: 12px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.change-history-label[b-i6iuj0h80y] {
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

/* An event without a value ("Comment added"): the label is the whole message. */
.change-history-line.is-event .change-history-label[b-i6iuj0h80y] {
    grid-column: 1 / -1;
    color: var(--mud-palette-text-primary);
}

.change-history-values[b-i6iuj0h80y] {
    min-width: 0;
    overflow-wrap: break-word;
}

.change-history-values.is-clamped[b-i6iuj0h80y] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.change-history-old[b-i6iuj0h80y] {
    color: var(--mud-palette-text-secondary);
    text-decoration: line-through;
    text-decoration-color: var(--mud-palette-text-disabled);
}

.change-history-empty[b-i6iuj0h80y] {
    /* WI-06770 D3: a value marker, not a disabled control — readable (≥ 4.5:1) in both themes. */
    color: var(--mud-palette-text-secondary);
    font-style: italic;
}

.change-history-arrow[b-i6iuj0h80y] {
    margin: 0 6px;
    color: var(--mud-palette-text-secondary);
}

.change-history-new[b-i6iuj0h80y] {
    color: var(--mud-palette-text-primary);
}

.change-history-sign[b-i6iuj0h80y] {
    display: inline-block;
    width: 1em;
    font-weight: 600;
}

.change-history-sign.is-added[b-i6iuj0h80y] {
    color: var(--mud-palette-success);
}

.change-history-sign.is-removed[b-i6iuj0h80y] {
    color: var(--mud-palette-error);
}

.change-history-link[b-i6iuj0h80y] {
    grid-column: 2;
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--mud-palette-primary);
    cursor: pointer;
}

.change-history-link:hover[b-i6iuj0h80y] {
    text-decoration: underline;
}

.change-history-link:focus-visible[b-i6iuj0h80y] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.change-history-more[b-i6iuj0h80y] {
    align-self: flex-start;
    margin-top: 2px;
}

/* ---- Narrow panel: actor above the fields ---- */

@container (max-width: 720px) {
    .change-history-group[b-i6iuj0h80y] {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2px;
    }

    .change-history-body[b-i6iuj0h80y] {
        padding-left: calc(var(--ch-time) + 14px);
    }

    .change-history-line[b-i6iuj0h80y] {
        grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
    }
}

@container (max-width: 360px) {
    .change-history-line[b-i6iuj0h80y] {
        grid-template-columns: minmax(0, 1fr);
    }

    .change-history-link[b-i6iuj0h80y] {
        grid-column: 1;
    }
}
/* /Components/Shared/ClientAcceptances/ClientAcceptanceHeaderGrid.razor.rz.scp.css */
/* WI-06850 round 2 (D6.3, AC15): a field a blocking notice points at — warning label + icon,
   in the view (caption label) and in the editor (MudBlazor's own input label and helper text). */
.ca-header[b-h47zof8z2x]  .ca-field--missing .ca-field-label,
.ca-header[b-h47zof8z2x]  .ca-field--missing .mud-input-label,
.ca-header[b-h47zof8z2x]  .ca-field--missing .mud-input-helper-text {
    color: var(--mud-palette-warning);
}

.ca-header[b-h47zof8z2x]  .ca-field--missing .mud-input-outlined-border {
    border-color: var(--mud-palette-warning);
}

.ca-header[b-h47zof8z2x]  .ca-field-missing-icon {
    color: var(--mud-palette-warning);
    width: 16px;
    height: 16px;
}

/* Notes keep the user's line breaks; a long word must not push the grid sideways. */
.ca-header[b-h47zof8z2x]  .ca-multiline {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
/* /Components/Shared/ClientAcceptances/ProjectClientAcceptancesSection.razor.rz.scp.css */
/* WI-06916: a cancelled protocol stays in the project's list but steps back. The row's
   mud-text-disabled class does not reach the cells (MudTable gives each cell its own colour),
   so the cells themselves fade — text, status chip and the number link alike. */
.project-ca-table-wrap[b-tms1jmuxyv]  tr.project-ca-row-cancelled > td {
    opacity: 0.55;
}
/* /Components/Shared/Filters/PeriodFilterChip.razor.rz.scp.css */
/* WI-06913: "< [Period ▾] >". The chip copies the look of the time entries filter chips
   (TimeEntryFilterBar .te-chip) so it reads the same wherever it is placed. */
.pfc[b-a0cxk0x10p] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Holds an arrow's tooltip — a disabled button gets no hover (WI-06913 review). */
.pfc-arrow[b-a0cxk0x10p] {
    display: inline-flex;
}

.pfc-chip-wrap[b-a0cxk0x10p] {
    position: relative;
    display: inline-flex;
}

.pfc-chip[b-a0cxk0x10p] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    border: 1px dashed var(--mud-palette-lines-inputs);
    background: transparent;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
    white-space: nowrap;
    max-width: 320px;
}
.pfc-chip:hover:not(.is-active)[b-a0cxk0x10p] {
    background: rgba(var(--mud-palette-primary-rgb), .06);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}
.pfc-chip.is-active[b-a0cxk0x10p] {
    background: rgba(var(--mud-palette-primary-rgb), .12);
    border: 1px solid var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    font-weight: 600;
    padding: 0 6px 0 8px;
}
.pfc-chip[b-a0cxk0x10p]  .mud-icon-root {
    color: inherit;
    font-size: 1rem !important;
}
.pfc-chip-label[b-a0cxk0x10p] {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.pfc-chip-caret[b-a0cxk0x10p] {
    font-size: .7rem;
    opacity: .6;
    margin-left: 2px;
}
.pfc-chip-clear[b-a0cxk0x10p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    opacity: .65;
    cursor: pointer;
    transition: background .12s ease, opacity .12s ease;
}
.pfc-chip-clear:hover[b-a0cxk0x10p] {
    background: rgba(var(--mud-palette-primary-rgb), .2);
    opacity: 1;
}

/* Popover content (rendered in the popover provider, still scoped to this component) */
.pfc-pop[b-a0cxk0x10p] {
    padding: 12px;
    min-width: 380px;
}
.pfc-presets[b-a0cxk0x10p] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.pfc-preset[b-a0cxk0x10p] {
    background: transparent;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 0.78rem;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
}
.pfc-preset:hover[b-a0cxk0x10p] {
    background: rgba(var(--mud-palette-primary-rgb), .08);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}
.pfc-pickers[b-a0cxk0x10p] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.pfc-pickers[b-a0cxk0x10p] >  * {
    flex: 1 1 0;
}

.pfc-backdrop[b-a0cxk0x10p] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1290;
}

@media (max-width: 600px) {
    .pfc-pop[b-a0cxk0x10p] {
        min-width: 280px;
    }
    .pfc-pickers[b-a0cxk0x10p] {
        flex-direction: column;
    }
}
/* /Components/Shared/FormBackup/FormBackupDiffDialog.razor.rz.scp.css */
/* WI-06673: colours derive from the theme palette (color-mix), so the diff reads in light and dark.
   The layout follows the dialog's own width (container query): three columns on a desktop, one
   card per field (label, then current and backup values, each with its caption) in a narrow one. */

.form-backup-diff[b-sdog6keiwa] {
    container: form-backup-diff / inline-size;
}

/* Rows 37 px (norm 36–40); MudSimpleTable's dense cells are 33 px. */
.form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table th,
.form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td {
    padding: 8px 12px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.form-backup-diff__label[b-sdog6keiwa] {
    font-weight: 500;
    white-space: nowrap;
}

@container form-backup-diff (max-width: 559.98px) {
    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table table,
    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table tbody,
    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table tr,
    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td {
        display: block;
        width: 100%;
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table thead {
        display: none;
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table tr + tr {
        border-top: 1px solid var(--mud-palette-table-lines);
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td {
        border: none;
        padding: 2px 12px;
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td:first-child {
        padding-top: 8px;
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td:last-child {
        padding-bottom: 8px;
    }

    .form-backup-diff[b-sdog6keiwa]  .form-backup-diff__table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        line-height: 1.25rem;
        color: var(--mud-palette-text-secondary);
    }

    .form-backup-diff .form-backup-diff__label[b-sdog6keiwa] {
        white-space: normal;
    }
}

.form-backup-diff__row--differs td[b-sdog6keiwa] {
    background-color: color-mix(in srgb, var(--mud-palette-warning) 18%, transparent);
}

.form-backup-diff__text[b-sdog6keiwa] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 8px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    max-height: 50vh;
    overflow-y: auto;
}

.form-backup-diff__ins[b-sdog6keiwa] {
    text-decoration: none;
    background-color: color-mix(in srgb, var(--mud-palette-success) 25%, transparent);
    border-radius: 2px;
}

.form-backup-diff__del[b-sdog6keiwa] {
    text-decoration: line-through;
    background-color: color-mix(in srgb, var(--mud-palette-error) 20%, transparent);
    border-radius: 2px;
}

.form-backup-diff__legend[b-sdog6keiwa] {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
}

/* A removed word right next to an added one ("k výkazu" -> "upravená") would otherwise run together. */
.form-backup-diff__del + .form-backup-diff__ins[b-sdog6keiwa],
.form-backup-diff__ins + .form-backup-diff__del[b-sdog6keiwa] {
    margin-left: 0.3em;
}
/* /Components/Shared/Grid/GridActiveFilterBar.razor.rz.scp.css */
/* The conditions panel of a reference grid (TP-2697; reworked 2026-09-23).

   A column filter hides behind a funnel icon in a header the user may have scrolled past, or hidden
   altogether. This panel is the one place that always answers "why am I not seeing everything" — so
   it is a band of its own, not a line of text among the controls. Every colour is a theme token, so
   the background and the tonal chips switch with dark mode by themselves. */

.grid-active-filters[b-38wbmg6sea] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 4px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-background-gray);
}

.grid-active-filters-label[b-38wbmg6sea] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    margin-right: 4px;
}



.grid-active-filters-empty[b-38wbmg6sea] {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

/* The chip is MudBlazor's markup, so the class only reaches it through ::deep. Its own 4 px margin
   goes: it added itself to the panel's gap, so the distance between two chips came out at 14 px
   while the label sat 6 px from them — one panel, three different spacings. */
.grid-active-filters[b-38wbmg6sea]  .grid-active-filter-chip {
    border-radius: var(--mud-default-borderradius);
    margin: 0;
    height: 24px;
}

/* A condition added or changed on top of the stored filter: tonal, not a solid primary block — it
   is a difference to notice, not an alarm. */
.grid-active-filters[b-38wbmg6sea]  .grid-active-filter-chip--changed {
    background-color: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
    border: 1px solid var(--mud-palette-primary);
}

/* The two decisions about the conditions sit at the panel's far end, and wrap onto a line of their
   own (still right-aligned) when the chips need the room. */
.grid-active-filters-actions[b-38wbmg6sea] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* WI-06653: the editors of conditions without a column header (custom field filters) take a full
   row of their own under the chips; empty content leaves no gap behind. */
.grid-active-filters-editors[b-38wbmg6sea] {
    flex-basis: 100%;
    min-width: 0;
}

.grid-active-filters-editors:empty[b-38wbmg6sea] {
    display: none;
}

.grid-active-filters-actions[b-38wbmg6sea]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* Sentence case, like every other control above the grid — MudBlazor's own upper case made these
   buttons shout across a panel whose job is to be read, not noticed. */
.grid-active-filters[b-38wbmg6sea]  .mud-button-root {
    text-transform: none;
    height: 32px;
    border-radius: var(--mud-default-borderradius);
}

/* A chip never outgrows the panel: the column list is long, and on a phone it pushed the page into
   a sideways scroll. The text ends in an ellipsis and the chip's title carries all of it. */
.grid-active-filters[b-38wbmg6sea]  .grid-active-filter-chip {
    max-width: 100%;
}

.grid-active-filters[b-38wbmg6sea]  .grid-active-filter-chip .mud-chip-content {
    min-width: 0;
}

/* Only the text is cut short: the chip's close button sits inside the same content box, so clipping
   the box clipped the button too. */
.grid-active-filters[b-38wbmg6sea]  .grid-active-filter-chip-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/Grid/GridGroupHeader.razor.rz.scp.css */
/* The group header of a reference grid (TP-2697). It renders inside MudDataGrid's GroupTemplate but
   carries its own scope, so no ::deep is needed. Hiding MudDataGrid's native expander is the host's
   job — that class lands on the grid's own markup. */

.grid-group-toggle[b-7xytwl4fnn] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    padding: 2px 4px;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    border-radius: var(--mud-default-borderradius);
}

.grid-group-toggle:hover[b-7xytwl4fnn] {
    background-color: var(--mud-palette-action-default-hover);
}

.grid-group-toggle:focus-visible[b-7xytwl4fnn] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.grid-group-title[b-7xytwl4fnn] {
    font-weight: 600;
}

.grid-group-count[b-7xytwl4fnn] {
    margin-left: 8px;
    padding: 0 8px;
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    line-height: 1.5rem;
    font-variant-numeric: tabular-nums;
}
/* /Components/Shared/Grid/GridPlaceholder.razor.rz.scp.css */
/* The empty / no-match / error / capped state of a reference grid (TP-2697). It renders inside
   MudDataGrid's NoRecordsContent slot but carries its own scope, so no ::deep is needed. */

.grid-placeholder[b-sgpur7r461] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 220px;
    padding: 24px 16px;
    text-align: center;
}
/* /Components/Shared/Grid/GridSkeleton.razor.rz.scp.css */
/* The first-load skeleton of a reference grid (TP-2697). It covers the mounting grid, which is why
   it is absolutely positioned — the host wrapper carries `position: relative`. */

.grid-skeleton[b-tyqjny29pn] {
    position: absolute;
    inset: 0;
    padding: 16px;
    background-color: var(--mud-palette-surface);
    border-radius: var(--mud-default-borderradius);
    z-index: 2;
}
/* /Components/Shared/Grid/GridToolbar.razor.rz.scp.css */
/* The toolbar of a reference grid (TP-2697). Every colour and radius is a theme token, so light
   mode, dark mode and the tenant themes all work unchanged.

   The spacing rhythm is the whole point of this file. Controls that belong together sit
   --grid-gap-in-group apart, groups sit --grid-gap-between-groups apart, and the second number is
   deliberately more than three times the first: with one even gap everywhere the eye gets a row of
   unrelated controls in a line (Gestalt proximity — nearness is what says "these belong
   together"). The same two tokens are used by the saved-views band above, so the two rows share
   one rhythm instead of each inventing its own. */

.grid-toolbar[b-5afp8nnau8] {
    /* 32 px, the size every comparable product uses for a control in a toolbar (Jira, Azure
       DevOps, GitHub Primer "medium", Linear a touch smaller). It is above the WCAG 2.5.8 minimum
       target of 24 x 24 CSS px on its own, and the glyph buttons reach 32 x 32. */
    --grid-toolbar-control-height: 32px;
    --grid-gap-in-group: 8px;
    --grid-gap-between-groups: 24px;
    display: flex;
    align-items: center;
    /* Start, not space-between: the presets and the filter combo follow the search at the gap
       between groups, where the eye already is (PO, 2026-09-23 — centred they floated off on their
       own); only the table fittings are pushed right, by their own margin. */
    justify-content: flex-start;
    gap: var(--grid-gap-between-groups);
    flex-wrap: wrap;
}

/* Left: how the set of rows is narrowed. */
.grid-toolbar-narrow[b-5afp8nnau8] {
    display: flex;
    align-items: center;
    gap: var(--grid-gap-in-group);
    flex-wrap: wrap;
    min-width: 0;
}

/* The search field's place taken by the page's own content (the bulk actions over a selection):
   as wide as that content, on one line, at the band's height — the band must not grow a row. */
.grid-toolbar-narrow--replaced[b-5afp8nnau8] {
    flex-wrap: nowrap;
    min-height: var(--grid-toolbar-control-height);
}

/* Next to the search: what the grid is showing (the page's presets and saved filters, when it has them). */
.grid-toolbar-center[b-5afp8nnau8] {
    display: flex;
    align-items: center;
    gap: var(--grid-gap-in-group);
    flex-wrap: wrap;
    min-width: 0;
}

/* Right: how the surviving rows are arranged. It is pushed to the table's right edge on purpose —
   these controls change the table, so they stand over the table rather than in the filter queue. */
.grid-toolbar-tools[b-5afp8nnau8] {
    display: flex;
    align-items: center;
    gap: var(--grid-gap-in-group);
    flex: 0 0 auto;
    margin-left: auto;
}

/* The classes below land on markup MudBlazor owns, which carries no scope attribute of ours. */
.grid-toolbar[b-5afp8nnau8]  .grid-toolbar-search {
    min-width: 240px;
    max-width: 320px;
}

/* Without a floating label the field is free to be the same height as its neighbours. */
.grid-toolbar[b-5afp8nnau8]  .grid-toolbar-search .mud-input-root {
    height: var(--grid-toolbar-control-height);
    border-radius: var(--mud-default-borderradius);
}

.grid-toolbar[b-5afp8nnau8]  .mud-button-root {
    height: var(--grid-toolbar-control-height);
    border-radius: var(--mud-default-borderradius);
    text-transform: none;
}

/* A square target for a glyph: 32 x 32 keeps it well clear of the WCAG 2.5.8 minimum, and equal
   sides are what stops a row of icons from looking like a row of half-empty buttons. */
.grid-toolbar-tools[b-5afp8nnau8]  .grid-toolbar-tool {
    width: var(--grid-toolbar-control-height);
    height: var(--grid-toolbar-control-height);
    min-width: var(--grid-toolbar-control-height);
    padding: 0;
    border-radius: var(--mud-default-borderradius);
}

/* A MudTooltip wraps its trigger in a block-level div; inside it the button would sit on that
   div's baseline and ride above the middle of the row. */
.grid-toolbar[b-5afp8nnau8]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

@media (max-width: 600px) {
    /* The search field takes the row it needs; the fittings stay together on the next one, still
       against the right edge, so the corner they live in never moves. */
    .grid-toolbar[b-5afp8nnau8]  .grid-toolbar-search {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .grid-toolbar-narrow[b-5afp8nnau8] {
        width: 100%;
    }
}
/* /Components/Shared/Grid/GridTools.razor.rz.scp.css */
/* The tools in the top right corner of a reference grid (WI-06565 round 3): grouping · columns ·
   export · new entity, 32 px each, the house radius, --grid-gap-in-group apart. The glyphs are
   32 x 32 squares (WCAG 2.5.8 is 24 x 24); the create button is as tall and only as wide as its
   label. Theme tokens only, so dark mode and the tenant themes follow. */

.grid-tools[b-m9ksu1repq] {
    --grid-tools-height: var(--grid-toolbar-control-height, 32px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--grid-gap-in-group, 8px);
    flex: 0 0 auto;
    /* On a phone the row may not fit; it wraps inside its own box rather than pushing the page wider. */
    flex-wrap: wrap;
    min-width: 0;
}

.grid-tools[b-m9ksu1repq]  .grid-toolbar-tool {
    width: var(--grid-tools-height);
    height: var(--grid-tools-height);
    min-width: var(--grid-tools-height);
    padding: 0;
    border-radius: var(--mud-default-borderradius);
}

.grid-tools[b-m9ksu1repq]  .grid-tools-create {
    height: var(--grid-tools-height);
    min-height: var(--grid-tools-height);
    border-radius: var(--mud-default-borderradius);
    text-transform: none;
    white-space: nowrap;
}

/* A MudTooltip (and a MudMenu) wraps its trigger in a block-level element; inside it the button
   would sit on that element's baseline and ride above the middle of the row. */
.grid-tools[b-m9ksu1repq]  .mud-tooltip-root,
.grid-tools[b-m9ksu1repq]  .grid-tools-export {
    display: flex;
    align-items: center;
}
/* /Components/Shared/Grid/RowLink.razor.rz.scp.css */
/* A link in a row inherits the row's colour: the whole row is clickable anyway, so underlining
   every code and name would draw a ladder down the table. It announces itself on hover; the focus
   ring comes from the global a:focus-visible rule in app.css. */
.row-link[b-84z80mhvm7] {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.row-link:hover[b-84z80mhvm7] {
    text-decoration: underline;
}

.row-link-ellipsis[b-84z80mhvm7] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/HelpDrawer.razor.rz.scp.css */
.help-drawer__shell[b-shoa0o3kal] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--mud-palette-surface);
}

.help-drawer__header[b-shoa0o3kal] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 10px 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.help-drawer__header-title[b-shoa0o3kal] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.help-drawer__title[b-shoa0o3kal] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-drawer__body[b-shoa0o3kal] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    background: var(--mud-palette-background);
}

.help-drawer__empty[b-shoa0o3kal] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 48px;
    color: var(--mud-palette-text-disabled);
    text-align: center;
}

.help-drawer__see-also[b-shoa0o3kal] {
    padding: 10px 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.help-drawer__see-also-label[b-shoa0o3kal] {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.help-drawer__chips[b-shoa0o3kal] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.help-drawer__footer[b-shoa0o3kal] {
    padding: 6px 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

/* Screenshots inside the help text run full width of the panel — the drawer is
   narrow, so the guide's 1600px captures need to scale down, not overflow. */
.help-drawer__content[b-shoa0o3kal]  img {
    width: 100%;
    height: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
}

.help-drawer__content[b-shoa0o3kal]  table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

/* The rich-content rule lets a word break anywhere; in a table that lets a long second column squeeze the
   first one to a letter per line ("Od/esla/t"). Cells break between words only; the table scrolls instead. */
.help-drawer__content[b-shoa0o3kal]  th,
.help-drawer__content[b-shoa0o3kal]  td {
    word-break: normal;
    overflow-wrap: normal;
}
/* /Components/Shared/InvoiceRequests/ProjectInvoiceRequestsSection.razor.rz.scp.css */
/* WI-06965: a cancelled request stays in the project's list but steps back (same rule as the protocols). */
.project-irq-table-wrap[b-xj73tibfu4]  tr.project-irq-row-cancelled > td {
    opacity: 0.55;
}
/* /Components/Shared/PersonAvatar.razor.rz.scp.css */
/* WI-06783: one look for every person avatar. Fill and text are fixed (the colour comes inline
   from PersonAvatars), so the initials keep their contrast in light and dark mode alike. */
.person-avatar[b-eydt4wl8tc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
    background-color: var(--mud-palette-action-disabled-background);
    color: #fff;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    user-select: none;
    position: relative;
}

/* The photo covers the initials; when it cannot be loaded nothing is painted and the initials
   underneath stay visible (WI-06783). */
.person-avatar__photo[b-eydt4wl8tc] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* /Components/Shared/Projects/EconomicsTiles.razor.rz.scp.css */
/* WI-06690 — economics tiles. Layout and proportions follow the approved design attachment;
   every colour is derived from the theme palette (success / error / warning, surface, text,
   lines), so the tiles follow the selected theme and dark mode. The "light" tone is the tile
   colour mixed 40 % into the surface, exactly how the design's light green/red were made. */

.econ-tiles[b-twu1s1ufxm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

/* ── Toolbar: period filter (left) + view switch (right), WI-06916 ── */
.econ-toolbar[b-twu1s1ufxm] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.econ-toolbar-start[b-twu1s1ufxm] {
    display: flex;
    align-items: center;
}

/* ── View switch ── */
.econ-view-switch[b-twu1s1ufxm] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    margin-left: auto;
}

.econ-view-label[b-twu1s1ufxm] {
    color: var(--mud-palette-text-secondary);
    margin-right: 4px;
}

.econ-view-btn[b-twu1s1ufxm] {
    font: inherit;
    font-size: 14px;
    min-height: 32px;
    padding: 4px 14px;
    border-radius: var(--mud-default-borderradius, 4px);
    cursor: pointer;
    border: 1px solid var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-weight: 400;
}

.econ-view-btn:hover[b-twu1s1ufxm] {
    background: var(--mud-palette-action-default-hover);
}

.econ-view-btn.is-active[b-twu1s1ufxm] {
    background: var(--mud-palette-text-primary);
    color: var(--mud-palette-surface);
    font-weight: 600;
}

.econ-view-btn:focus-visible[b-twu1s1ufxm],
.econ-row:focus-visible[b-twu1s1ufxm] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

/* ── Tiles ── */
.econ-tiles-grid[b-twu1s1ufxm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.econ-tile[b-twu1s1ufxm] {
    --econ-c: var(--mud-palette-success);
    --econ-light: color-mix(in srgb, var(--econ-c) 40%, var(--mud-palette-surface));
    --econ-selected: color-mix(in srgb, var(--econ-c) 13%, transparent);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--econ-c);
    border-radius: var(--mud-default-borderradius, 4px);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.econ-tile--cost[b-twu1s1ufxm] {
    --econ-c: var(--mud-palette-error);
}

.econ-tile--margin[b-twu1s1ufxm] {
    --econ-c: var(--mud-palette-warning);
}

.econ-tile-title[b-twu1s1ufxm] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.econ-headline[b-twu1s1ufxm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.econ-caption[b-twu1s1ufxm] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.econ-headline-row[b-twu1s1ufxm] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 12px;
}

.econ-amount[b-twu1s1ufxm] {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--econ-c);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.econ-headline-percent[b-twu1s1ufxm] {
    font-size: 15px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

/* ── Composition bar ── */
.econ-bar[b-twu1s1ufxm],
.econ-bar-spacer[b-twu1s1ufxm] {
    height: 10px;
}

.econ-bar[b-twu1s1ufxm] {
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    background: color-mix(in srgb, var(--mud-palette-text-primary) 7%, transparent);
}

.econ-seg--actual[b-twu1s1ufxm] {
    background: var(--econ-c);
}

.econ-seg--pending[b-twu1s1ufxm] {
    background: repeating-linear-gradient(135deg, var(--econ-c) 0 3px, var(--econ-light) 3px 6px);
}

.econ-seg--planned[b-twu1s1ufxm] {
    background: var(--econ-light);
}

.econ-seg.is-dimmed[b-twu1s1ufxm] {
    opacity: 0.4;
}

/* ── Rows ── every row (button, static or placeholder) has the same box, so the rows of the
   three tiles line up at the same height. */
.econ-rows[b-twu1s1ufxm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}

.econ-row[b-twu1s1ufxm] {
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    border: 0;
    margin: 0 -8px;
    padding: 4px 8px;
    border-radius: var(--mud-default-borderradius, 4px);
    background: transparent;
    min-width: 0;
}

button.econ-row[b-twu1s1ufxm] {
    cursor: pointer;
}

button.econ-row:hover[b-twu1s1ufxm] {
    background: var(--mud-palette-action-default-hover);
}

.econ-row.is-selected[b-twu1s1ufxm],
button.econ-row.is-selected:hover[b-twu1s1ufxm] {
    background: var(--econ-selected);
}

.econ-row.is-dimmed[b-twu1s1ufxm] {
    opacity: 0.4;
}

.econ-row--placeholder[b-twu1s1ufxm] {
    visibility: hidden;
}

.econ-row--total[b-twu1s1ufxm],
.econ-row--total-plain[b-twu1s1ufxm] {
    border-top: 1px solid var(--mud-palette-lines-default);
    margin-top: 2px;
    padding: 6px 8px 4px;
    border-radius: 0 0 var(--mud-default-borderradius, 4px) var(--mud-default-borderradius, 4px);
}

/* The margin tile has no "Celkem" line — same box, invisible line. */
.econ-row--total-plain[b-twu1s1ufxm] {
    border-top-color: transparent;
    border-radius: var(--mud-default-borderradius, 4px);
}

/* One line per row whatever the tile width — a wrapped label would push that tile's rows out
   of line with the other two; the full text stays in the row's tooltip. */
.econ-row-label[b-twu1s1ufxm] {
    flex-grow: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.econ-row-value[b-twu1s1ufxm] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.econ-swatch[b-twu1s1ufxm] {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.econ-swatch--none[b-twu1s1ufxm] {
    background: transparent;
}
/* /Components/Shared/Projects/EconomicsViewSwitch.razor.rz.scp.css */
/* WI-06982 — the view switch of the Ekonomika overview, the look of the economics tiles' switch
   (EconomicsTiles.razor.css, WI-06690): theme colours only. */

.econ-view-switch[b-clb9ev8lmw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.econ-view-label[b-clb9ev8lmw] {
    color: var(--mud-palette-text-secondary);
    margin-right: 4px;
}

.econ-view-btn[b-clb9ev8lmw] {
    font: inherit;
    font-size: 14px;
    min-height: 32px;
    padding: 4px 14px;
    border-radius: var(--mud-default-borderradius, 4px);
    cursor: pointer;
    border: 1px solid var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-weight: 400;
}

.econ-view-btn:hover[b-clb9ev8lmw] {
    background: var(--mud-palette-action-default-hover);
}

.econ-view-btn.is-active[b-clb9ev8lmw] {
    background: var(--mud-palette-text-primary);
    color: var(--mud-palette-surface);
    font-weight: 600;
}

.econ-view-btn:focus-visible[b-clb9ev8lmw] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}
/* /Components/Shared/Projects/WorkItemWbsTree.razor.rz.scp.css */
/* WI-06663: hint on the left, buttons on the right. When the row is too narrow for both, the
   buttons wrap below the hint as one row; on a phone-width display, where even that row does not
   fit, the buttons wrap among themselves rather than run off the screen. */
.wbs-toolbar[b-qpflsqfzap] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wbs-toolbar[b-qpflsqfzap]  .wbs-toolbar-hint {
    flex: 1 1 240px;
    min-width: 0;
}

.wbs-toolbar-buttons[b-qpflsqfzap] {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
    margin-left: auto;
}

/* A button's own label never breaks; whole buttons move to the next row instead. */
.wbs-toolbar-buttons[b-qpflsqfzap]  .mud-button-root {
    white-space: nowrap;
}

.wbs-canvas[b-qpflsqfzap] {
    /* WI-06663: the whole panel width; the height reaches the bottom of the window with no
       fixed ceiling — wbs-tree-interop.js sets it from the canvas's top edge and the window
       height and follows window resizes. The value here only covers the moment before that.
       One batch of children (12 rows of ~40px) has to fit without the map shrinking to the
       minimum zoom, so the floor stays above that even when the window is short. */
    width: 100%;
    height: calc(100vh - 390px);
    min-height: 460px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-background);
    overflow: hidden;
}

/* Positioning context for the node action toolbar (pinned to the clicked node). */
.wbs-canvas-wrap[b-qpflsqfzap] {
    position: relative;
}

/* Reload in progress: a thin bar over the top edge of the canvas (no layout shift). */
.wbs-canvas-wrap[b-qpflsqfzap]  .wbs-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/* Node action toolbar (WI-06515): a compact icon bar centred on the node, sitting 6px above
   its top edge — or 6px below its bottom edge when the node is at the top of the canvas. */
.wbs-node-actions[b-qpflsqfzap] {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    transform: translate(-50%, calc(-100% - 6px));
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    box-shadow: var(--mud-elevation-4);
    white-space: nowrap;
}

.wbs-node-actions.wbs-node-actions-below[b-qpflsqfzap] {
    transform: translate(-50%, 6px);
}

/* Keyboard focus on a node: the rect has no CSS outline in SVG, so show it on the stroke. */
.wbs-canvas[b-qpflsqfzap]  .wbs-node-rect:focus {
    outline: none;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-rect:focus-visible {
    stroke: var(--mud-palette-primary);
    stroke-width: 2.5px;
}

.wbs-canvas[b-qpflsqfzap]  svg {
    display: block;
}

.wbs-canvas[b-qpflsqfzap]  svg.wbs-dragging-active,
.wbs-canvas[b-qpflsqfzap]  svg.wbs-dragging-active .wbs-node-rect {
    cursor: grabbing !important;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-link {
    fill: none;
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1.5px;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-rect {
    fill: var(--mud-palette-surface);
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1px;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node:hover .wbs-node-rect {
    stroke: var(--mud-palette-primary);
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-colorbar {
    stroke: none;
    /* Click and drag live on the node's rect underneath; the bar must not intercept them. */
    pointer-events: none;
}

/* Drag-and-drop reparenting (WI-06515): the grabbed subtree fades, legal targets get a
   dotted primary outline, the one under the pointer a solid green one, an illegal one a
   red one; the ghost is a translucent copy of the grabbed node following the pointer. */
.wbs-canvas[b-qpflsqfzap]  .wbs-dragging {
    opacity: 0.35;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-drop-candidate .wbs-node-rect {
    stroke: var(--mud-palette-primary);
    stroke-dasharray: 3 3;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-drop-target .wbs-node-rect {
    stroke: var(--mud-palette-success);
    stroke-width: 2.5px;
    stroke-dasharray: none;
    fill: var(--mud-palette-success-hover, var(--mud-palette-surface));
}

.wbs-canvas[b-qpflsqfzap]  .wbs-drop-invalid .wbs-node-rect {
    stroke: var(--mud-palette-error);
    stroke-width: 2px;
    stroke-dasharray: 2 2;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-drag-ghost {
    opacity: 0.85;
    pointer-events: none;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-drag-ghost .wbs-node-rect {
    stroke: var(--mud-palette-primary);
    stroke-width: 2px;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-label {
    fill: var(--mud-palette-text-primary);
    font-size: 0.8125rem;
    /* The click handler sits on the node's rect; without this the label swallows clicks
       aimed at the middle of a node (and at the "N more" node, which is mostly label). */
    pointer-events: none;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-done {
    opacity: 0.55;
}

/* "N more" node: reads as an affordance, not as a work item — dashed outline, no type
   colour bar. Keeps a real fill: an SVG shape with fill:none takes no pointer events, so
   a transparent-looking node would simply not be clickable. */
.wbs-canvas[b-qpflsqfzap]  .wbs-node-more .wbs-node-rect {
    fill: var(--mud-palette-background);
    stroke: var(--mud-palette-primary);
    stroke-dasharray: 4 3;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-more .wbs-node-colorbar {
    display: none;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-node-more .wbs-node-label {
    fill: var(--mud-palette-primary);
    font-style: italic;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-toggle circle {
    /* MudBlazor spells it "gray"; the "grey" variable does not exist, and an undefined
       var() here left the toggle painted with the SVG default (solid black). */
    fill: var(--mud-palette-background-gray);
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1px;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-toggle-icon {
    fill: var(--mud-palette-text-primary);
    font-size: 0.75rem;
    text-anchor: middle;
}

.wbs-canvas[b-qpflsqfzap]  .wbs-toggle-badge {
    fill: var(--mud-palette-primary);
    font-size: 0.625rem;
    font-weight: 600;
}
/* /Components/Shared/Sales/Detail/OpportunityContactDialog.razor.rz.scp.css */
.sales-contact-list[b-ejpt3c2o5b] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sales-contact-option[b-ejpt3c2o5b] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.sales-contact-option:hover[b-ejpt3c2o5b] {
    background-color: var(--mud-palette-action-default-hover);
}

.sales-contact-option:focus-visible[b-ejpt3c2o5b] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.sales-contact-text[b-ejpt3c2o5b] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sales-contact-name[b-ejpt3c2o5b] {
    font-weight: 500;
}

.sales-contact-detail[b-ejpt3c2o5b] {
    font-size: 0.8125rem;
}

.sales-contact-value[b-ejpt3c2o5b] {
    overflow-wrap: anywhere;
}
/* /Components/Shared/Sales/Detail/OpportunityContactRow.razor.rz.scp.css */
.sales-contact-entry[b-u8bo2hrvk5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 8px;
}

.sales-contact-who[b-u8bo2hrvk5] {
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.sales-contact-name[b-u8bo2hrvk5] {
    font-weight: 500;
}

.sales-contact-links[b-u8bo2hrvk5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.sales-contact-link[b-u8bo2hrvk5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    color: var(--mud-palette-primary);
    font-size: 0.875rem;
    text-decoration: none;
    overflow-wrap: anywhere;
    border-radius: var(--mud-default-borderradius);
}

.sales-contact-text-only[b-u8bo2hrvk5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.sales-contact-link:hover[b-u8bo2hrvk5] {
    text-decoration: underline;
}

.sales-contact-link:focus-visible[b-u8bo2hrvk5] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* Touch layout: every link is a 44 px target. */
@media (max-width: 960px), (pointer: coarse) {
    .sales-contact-link[b-u8bo2hrvk5] {
        min-height: 44px;
    }
}
/* /Components/Shared/Sales/Detail/OpportunityFooter.razor.rz.scp.css */
/* Footer links (WI-06770 D2/D4): in the touch layout each date link is a 44 px target and the two
   lines are 8 px apart; on a desktop with a mouse they stay caption-sized like the work item's. */
@media (max-width: 960px), (pointer: coarse) {
    .wi-audit-link[b-oqi7gftfll] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .wi-sidebar-audit[b-oqi7gftfll]  p + p {
        margin-top: 8px;
    }
}
/* /Components/Shared/Sales/SalesBoardCard.razor.rz.scp.css */
/* Pipeline board card (WI-06770) — the work item card of the project board, plus the Sales
   indicators. Every colour is a theme token, so light and dark mode work unchanged. */

.sales-card-host[b-80govnbh9t]  .sales-card {
    display: flex;
    margin-bottom: 8px;
}

/* Rotting (FS-1710): used to be opacity 0.6, which pulled the card's text under the 4.5 : 1 contrast
   DoD 11 asks for. A dashed error-coloured edge plus the hourglass marker keep the signal without
   dimming the text. */
.sales-card-host[b-80govnbh9t]  .sales-card-rotting {
    outline: 1px dashed var(--mud-palette-error);
    outline-offset: -1px;
}

.sales-card-stripe[b-80govnbh9t] {
    width: 4px;
    flex-shrink: 0;
}

.sales-card-body[b-80govnbh9t] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px;
}

.sales-card-head[b-80govnbh9t] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    min-height: 24px;
}

.sales-card-code-line[b-80govnbh9t] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}

/* Sized to the caption's line box so a marker never makes one card taller than its neighbours. */
.sales-card-code-line[b-80govnbh9t]  .sales-card-source-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ⋮: 24 px on a desktop card (it must not dominate it), 44 px wherever the pointer is a finger. */
.sales-card-menu[b-80govnbh9t] {
    flex: 0 0 auto;
    margin: -4px -4px 0 0;
}

.sales-card-menu[b-80govnbh9t]  .mud-icon-button {
    width: 28px;
    height: 28px;
    padding: 2px;
}

@media (max-width: 960px), (pointer: coarse) {
    .sales-card-menu[b-80govnbh9t] {
        margin: -8px -8px -4px 0;
    }

    .sales-card-menu[b-80govnbh9t]  .mud-icon-button {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
}

.sales-card-body[b-80govnbh9t]  .sales-card-title {
    font-weight: 500;
    margin: 2px 0 4px;
    overflow-wrap: anywhere;
}

/* Partner (PO feedback 2026-07-30): a "darker secondary" tone — stronger than plain secondary text,
   quieter than the title, in both themes. */
.sales-card-body[b-80govnbh9t]  .sales-card-partner {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: color-mix(in srgb, var(--mud-palette-text-secondary) 60%, var(--mud-palette-text-primary));
    overflow-wrap: anywhere;
}

.sales-card-foot[b-80govnbh9t] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
}

.sales-card-foot[b-80govnbh9t]  .sales-card-value {
    font-weight: 700;
    white-space: nowrap;
}

.sales-card-indicators[b-80govnbh9t] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    min-width: 0;
}

.sales-card-indicators[b-80govnbh9t]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

.sales-card-indicators[b-80govnbh9t]  .sales-card-badge {
    margin: 0;
}

.sales-card-step[b-80govnbh9t] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.sales-card-step[b-80govnbh9t]  .sales-card-step-icon {
    width: 18px;
    height: 18px;
}

.sales-card-indicators[b-80govnbh9t]  .sales-card-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
}
/* /Components/Shared/Sales/SalesFilterBar.razor.rz.scp.css */
/* The shared filter row of the pipeline (WI-06770). Desktop: 32 px controls in one row, 8 px inside
   a group and 24 px between the groups (view · search + presets · fields + clear) — the rhythm of
   the reference grid's toolbar (Components/Shared/Grid/README.md). Up to 960 px and on any coarse
   pointer the controls grow to 44 px touch targets. Phone: search + view switch, then
   "Filtry (n)" + presets; the remaining fields live in the full-screen panel. */

.sales-filter-bar[b-wxl631rdnd] {
    --sales-filter-control-height: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    min-width: 0;
}

.sales-filter-view[b-wxl631rdnd] { order: 0; margin-right: 16px; flex: 0 0 auto; }

.sales-filter-search[b-wxl631rdnd] { order: 1; flex: 1 1 220px; min-width: 200px; max-width: 280px; }

.sales-filter-presets[b-wxl631rdnd] { order: 2; flex: 0 0 auto; margin-right: 16px; }

.sales-filter-field[b-wxl631rdnd] { order: 3; flex: 1 1 160px; min-width: 140px; max-width: 240px; }

.sales-filter-clear[b-wxl631rdnd] { order: 4; flex: 0 0 auto; }

/* The grid's tools (WI-06837): last, at the row's right edge; when the row wraps they stay right. */
.sales-filter-tools[b-wxl631rdnd] {
    order: 5;
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    --grid-toolbar-control-height: var(--sales-filter-control-height);
}

.sales-filter-bar[b-wxl631rdnd]  .mobile-filter-open { order: 2; }

/* Placeholder-labelled fields (no floating label) can share the row's height. */
.sales-filter-bar[b-wxl631rdnd]  .mud-input-control { margin: 0; }

.sales-filter-bar[b-wxl631rdnd]  .mud-input-control > .mud-input-control-input-container > .mud-input-outlined,
.sales-filter-bar[b-wxl631rdnd]  .mud-input-outlined {
    min-height: var(--sales-filter-control-height);
}

.sales-filter-bar[b-wxl631rdnd]  .mud-input-outlined .mud-input-slot {
    padding-top: 0;
    padding-bottom: 0;
    min-height: calc(var(--sales-filter-control-height) - 2px);
}

.sales-filter-bar[b-wxl631rdnd]  .mud-input.mud-input-outlined {
    height: var(--sales-filter-control-height);
}

/* Multiselect text stays on one line; the full selection is in the open list. */
.sales-filter-bar[b-wxl631rdnd]  .mud-select .mud-input-slot {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-filter-bar[b-wxl631rdnd]  .mud-button-root {
    height: var(--sales-filter-control-height);
    text-transform: none;
}

.sales-filter-bar[b-wxl631rdnd]  .mud-icon-button {
    width: var(--sales-filter-control-height);
    height: var(--sales-filter-control-height);
    padding: 0;
}

.sales-filter-bar[b-wxl631rdnd]  .mud-tooltip-root { display: flex; align-items: center; }

/* Touch layout (tablet, phone) and any coarse pointer: 44 px targets. */
@media (max-width: 960px) {
    .sales-filter-bar[b-wxl631rdnd] { --sales-filter-control-height: 44px; }
    .sales-filter-presets[b-wxl631rdnd]  .mud-button-root { min-width: 64px; }

    /* Tablet: the four fields and "Zrušit filtry" share the second line (no lone icon on a third). */
    .sales-filter-field[b-wxl631rdnd] { flex: 1 1 140px; min-width: 120px; }
    /* Stav keeps room for "Otevřená" plus the arrow and the clear button (BB D12: "Otevř…"). */
    .sales-filter-field-status[b-wxl631rdnd] { flex-basis: 180px; min-width: 170px; }
}

@media (pointer: coarse) {
    .sales-filter-bar[b-wxl631rdnd] { --sales-filter-control-height: 44px; }
}

@media (max-width: 600px) {
    .sales-filter-bar[b-wxl631rdnd] { gap: 8px; }

    /* Basis = the row minus the two 44 px view buttons and the gap, so the search and the view switch
       share the first line and "Filtry (n)" + presets always wrap onto the second. */
    .sales-filter-search[b-wxl631rdnd] { order: 0; flex: 1 1 calc(100% - 104px); min-width: 0; max-width: none; }

    .sales-filter-view[b-wxl631rdnd] { order: 1; margin-right: 0; }

    .sales-filter-bar[b-wxl631rdnd]  .mobile-filter-open { order: 2; flex: 0 0 auto; }

    .sales-filter-presets[b-wxl631rdnd] { order: 3; margin-right: 0; flex: 1 1 auto; display: flex; justify-content: flex-end; }

    /* The tools follow the presets when they fit (the board's lone export), else a line of their own. */
    .sales-filter-tools[b-wxl631rdnd] { order: 4; }

    .sales-filter-field[b-wxl631rdnd],
    .sales-filter-clear[b-wxl631rdnd] { display: none; }
}

/* The phone's draft panel: the fields stack at their natural height, 16 px apart. */
.sales-filters-panel-fields[b-wxl631rdnd] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Every draft field spans the panel (BB D12: Fáze and Stav were 222 / 263 px of 358). */
.sales-filters-panel-fields[b-wxl631rdnd]  .mud-input-control,
.sales-filters-panel-fields[b-wxl631rdnd]  .mud-select,
.sales-filters-panel-fields[b-wxl631rdnd]  .mud-autocomplete {
    flex: 0 0 auto;
    width: 100%;
}
/* /Components/Shared/SavedViewBar.razor.rz.scp.css */
/* Saved and shared grid views (TP-2696; reworked 2026-09-23).
   Every colour is a theme token, so light mode, dark mode and the tenant themes all work
   unchanged — nothing here hard-codes a value. The bar wraps rather than scrolls, so at 390 px it
   becomes two short rows and the page never gains a horizontal scrollbar.

   Spacing follows the same two tokens as the toolbar it sits in: things that belong together sit
   --grid-gap-in-group apart, groups sit --grid-gap-between-groups apart. */

.saved-views[b-z77t8emzu3] {
    --saved-views-control-height: 32px;
    --grid-gap-in-group: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* Presets · rule · combo│funnel: one group of choices, so the in-group gap on both sides of
       the rule — at 24 px the rule floated between two strangers. */
    gap: var(--grid-gap-in-group);
    min-width: 0;
}

/* Every control in the band, whoever rendered it, is the same height and centres its own content —
   a MudTooltip around a label wraps it in a block-level div, whose line box would otherwise leave
   the icon and the text riding above the middle of the button. */
.saved-views[b-z77t8emzu3]  .mud-button-root {
    height: var(--saved-views-control-height);
    text-transform: none;
}

.saved-views[b-z77t8emzu3]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* ── The page's presets, at the head of the band ──────────────────────────────────────── */

.saved-views-leading[b-z77t8emzu3] {
    display: flex;
    align-items: center;
    gap: var(--grid-gap-in-group);
    min-width: 0;
}

/* Reads as "these are two different kinds of choice" — a preset, or a filter from the list. The
   input line token, not the default one: at 1 px wide the lighter token is invisible. */
.saved-views-divider[b-z77t8emzu3] {
    width: 1px;
    height: 20px;
    flex: 0 0 auto;
    background-color: var(--mud-palette-lines-inputs);
}

/* ── The combo and the funnel: one framed control ─────────────────────────────────────── */

/* The frame is drawn by a pseudo-element over the two buttons rather than as a border of this box:
   a border would take 2 px from the 32 px the page gives every button of the row, and the buttons
   would stick out of their own frame. */
.saved-views-current[b-z77t8emzu3] {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
    height: var(--saved-views-control-height);
}

.saved-views-current[b-z77t8emzu3]::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
    pointer-events: none;
}

.saved-views[b-z77t8emzu3]  .saved-views-combo {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
}

/* The activator is MudMenu's own button; the open filter's name is its label. The frame is the
   composite's, so the button itself draws none and only rounds the outer corners. */
.saved-views[b-z77t8emzu3]  .saved-views-combo > .mud-button-root {
    height: 100%;
    min-width: 180px;
    max-width: 280px;
    justify-content: space-between;
    border-radius: var(--mud-default-borderradius) 0 0 var(--mud-default-borderradius);
    white-space: nowrap;
}

/* A name too long for the bar is cut rather than pushing everything else off the row. */
.saved-views[b-z77t8emzu3]  .saved-views-combo > .mud-button-root .mud-button-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* On a preset the combo only invites a choice, so it reads as a placeholder. */
.saved-views[b-z77t8emzu3]  .saved-views-combo--placeholder > .mud-button-root {
    color: var(--mud-palette-text-secondary);
}

.saved-views-seam[b-z77t8emzu3] {
    width: 1px;
    flex: 0 0 auto;
    background-color: var(--mud-palette-lines-inputs);
}

.saved-views-toggle-wrap[b-z77t8emzu3] {
    position: relative;
    display: flex;
    align-items: stretch;
}

.saved-views[b-z77t8emzu3]  .saved-views-toggle {
    height: 100%;
    min-width: 52px;
    padding: 0 10px;
    border-radius: 0 var(--mud-default-borderradius) var(--mud-default-borderradius) 0;
}

/* Without a count the funnel is a square glyph target. */
.saved-views[b-z77t8emzu3]  .saved-views-toggle--bare {
    min-width: 32px;
    width: 32px;
    padding: 0;
}

.saved-views[b-z77t8emzu3]  .saved-views-toggle--bare .mud-button-icon-start {
    margin: 0;
}

.saved-views-count[b-z77t8emzu3] {
    font-variant-numeric: tabular-nums;
}

/* ── Unsaved changes ──────────────────────────────────────────────────────────────────── */

/* A dot on the funnel's top-right corner, taken out of the flow so the control is the same width
   with it and without it. A marker, not an alarm: a changed filter is ordinary work. The ring in
   the page's background colour lifts it off the frame in both themes. */
.saved-views-dirty[b-z77t8emzu3] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--mud-palette-warning);
    box-shadow: 0 0 0 2px var(--mud-palette-background);
    pointer-events: none;
}

@media (max-width: 600px) {
    /* The band wraps here, so the rule no longer stands between two groups — it would just be a
       stray mark at the end of a line. */
    .saved-views-divider[b-z77t8emzu3] {
        display: none;
    }

    .saved-views[b-z77t8emzu3] {
        width: 100%;
        row-gap: 12px;
    }

    /* Presets share a row half and half; the combo takes what the row leaves. */
    .saved-views-leading[b-z77t8emzu3] {
        flex: 1 1 100%;
    }

    .saved-views-leading[b-z77t8emzu3]  > * {
        flex: 1 1 0;
    }

    .saved-views-current[b-z77t8emzu3] {
        flex: 1 1 auto;
    }

    .saved-views[b-z77t8emzu3]  .saved-views-combo {
        flex: 1 1 auto;
    }

    .saved-views[b-z77t8emzu3]  .saved-views-combo > .mud-button-root {
        min-width: 160px;
        max-width: none;
        width: 100%;
    }
}
/* /Components/Shared/SavedViewManageDialog.razor.rz.scp.css */
/* The manage dialog of saved filters (2026-09-23). Rows are 40 px, actions are 32 x 32 glyph
   buttons 8 px apart; every colour is a theme token. */

.saved-view-manage[b-chiu30m692] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.saved-view-manage-section[b-chiu30m692] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 24px 0 8px;
}

.saved-view-manage-caption[b-chiu30m692] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.saved-view-manage-note[b-chiu30m692] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.saved-view-manage-list[b-chiu30m692] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
}

.saved-view-manage-row[b-chiu30m692] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 8px 4px 12px;
    min-width: 0;
}

.saved-view-manage-row + .saved-view-manage-row[b-chiu30m692] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.saved-view-manage-row:focus-visible[b-chiu30m692] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.saved-view-manage-name[b-chiu30m692] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-view-manage-owner[b-chiu30m692] {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.saved-view-manage-actions[b-chiu30m692] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}

.saved-view-manage-actions[b-chiu30m692]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

.saved-view-manage[b-chiu30m692]  .mud-icon-button {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--mud-default-borderradius);
}

.saved-view-manage-rename[b-chiu30m692] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.saved-view-manage-rename[b-chiu30m692]  .mud-input-control {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
/* /Components/Shared/TravelOrders/TravelRetentionSection.razor.rz.scp.css */
/* WI-06915 F7 (acceptance MB7, UX-09): touch targets of at least 44 px on a phone; D9: header text for screen readers. */
.sr-only[b-k2kbtbd021] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .travel-retention-filters[b-k2kbtbd021]  .mud-chip {
        min-height: 44px;
    }

    .travel-retention-section[b-k2kbtbd021]  .travel-retention-code {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
    }

    .travel-retention-actions[b-k2kbtbd021]  .mud-button-root {
        min-height: 44px;
    }
}
/* /Components/Shared/UserPresenceStatus.razor.rz.scp.css */
/* WI-06619: Online / Offline presence dot (Administration → Users). */
.user-presence[b-kfa1o80eck] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.user-presence-dot[b-kfa1o80eck] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
    background-color: var(--mud-palette-text-disabled);
}

.user-presence-dot--online[b-kfa1o80eck] {
    background-color: var(--mud-palette-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-success) 25%, transparent);
}
/* /Components/Shared/WorkItems/BulkEditWorkItemsDialog.razor.rz.scp.css */
/* Bulk change dialog (WI-06556). Theme tokens only — light and dark modes share this file. */

/* "Hromadná změna · N": the count in red, as the spec asks, so the size of what is about to change
   is the first thing read. */
.bulk-count[b-lzqox5bgce] {
    color: var(--mud-palette-error);
    font-weight: 600;
}

/* One field: the mode ("Beze změny / Nastavit / Vymazat") and, when set, its value beside it. */
.bulk-row[b-lzqox5bgce] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bulk-row[b-lzqox5bgce]  .bulk-mode {
    flex: 0 0 150px;
    min-width: 0;
}

.bulk-value[b-lzqox5bgce] {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 600px) {
    .bulk-row[b-lzqox5bgce] {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-row[b-lzqox5bgce]  .bulk-mode {
        flex-basis: auto;
    }
}
/* /Components/Shared/WorkItems/BulkFailureList.razor.rz.scp.css */
/* The failure block of the bulk dialogs (WI-06556). */
.bulk-failures-title[b-zkny7n2ctn] {
    font-weight: 600;
}

.bulk-failures-hint[b-zkny7n2ctn] {
    font-size: 0.8125rem;
    margin-bottom: 4px;
}

.bulk-failures-list[b-zkny7n2ctn] {
    margin: 4px 0 0 0;
    padding-left: 18px;
    max-height: 220px;
    overflow-y: auto;
}

.bulk-failures-list li[b-zkny7n2ctn] {
    font-size: 0.8125rem;
    line-height: 1.5;
}

.bulk-failures-code[b-zkny7n2ctn] {
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    margin-right: 4px;
}

.bulk-failures-reason[b-zkny7n2ctn] {
    margin-left: 4px;
}

.bulk-failures-more[b-zkny7n2ctn] {
    font-size: 0.8125rem;
    margin-top: 4px;
}
/* /Components/Shared/WorkItems/WorkItemList.razor.rz.scp.css */
/* Úkoly (TP-2695) — the reference grid.

   What is left here is what is about *tasks*: the preset buttons, the grouping picker, and how a row
   reads. Everything that is a property of a grid in general — the toolbar, the active-filter strip,
   the empty / error states, the first-load skeleton, the group header — moved into the shared
   components under Components/Shared/Grid, each with its own stylesheet (TP-2697).

   Every class below lands on markup MudBlazor owns (a MudDataGrid row, a group row, a header cell),
   which carries no scope attribute, so the selectors go through ::deep from the page's own wrapper.
   Every colour is a theme token, so light mode, dark mode and the tenant themes all work
   unchanged — nothing here hard-codes a hex value. */

.work-items[b-659bdwpm90] {
    /* The grid may be wider than the viewport on a phone; it scrolls inside its own container and
       never makes the whole page scroll sideways. */
    max-width: 100%;
}

/* ── Page header ──────────────────────────────────────────────────────────────────────── */

/* The only row on the page that is split left / right, and for the reason every page is: the title
   says where you are, the actions take you away from here. Everything below is left-aligned. */
.work-items-header[b-659bdwpm90] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

/* How many rows the filter matches, next to the name of the page. Quiet and lining-figured, so it
   reads as a measurement of the heading rather than as part of it. */
.work-items-count[b-659bdwpm90] {
    margin-left: 10px;
    font-size: 1rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
}

.work-items-header-actions[b-659bdwpm90] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* The header's own buttons kept MudBlazor's natural 36.5 px while every row below them was a
   different height — a third size on one page. */
.work-items-header[b-659bdwpm90]  .mud-button-root {
    height: 32px;
    min-height: 32px;
}

/* MudTooltip wraps the button in a block-level div, so without this the button sits on that div's
   baseline and ends up a few pixels above its unwrapped neighbour. */
.work-items-header[b-659bdwpm90]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* ── The control row ──────────────────────────────────────────────────────────────────── */

/* One row of five elements (PO, F2F 2026-09-23): the search · the presets · the filter combo with
   its funnel · grouping · columns. The combo and the funnel are one framed element, which is what
   keeps the row at five — the most a row can hold and still be read as groups.

   Reading order is DOM order — search, what I am looking at, how it is arranged — so no `order`
   and the focus order follows the eye (WCAG 2.4.3). */
.work-items-controls[b-659bdwpm90] {
    /* One flex row: the search against the left edge │ the choice of what to look at, right after it
       at the gap between groups │ the grid's fittings against the table's right edge. The choice used
       to be centred on the row, where it read as unrelated to the search it narrows together with
       (PO, 2026-09-23). A flex row rather than a grid because the search is what gives way when the
       row is tight: it starts at 440 px and shrinks to 240 px before anything else moves. */
    display: flex;
    align-items: center;
    column-gap: 24px;
    /* WI-06565 round 3: with export and "+ Úkol" the tools are wider; where the row has less room
       (the project tab beside the navigation at 1280 px) they wrap onto a second line, still at the
       right edge, instead of running past the panel's edge. A row that fits stays one row. */
    flex-wrap: wrap;
    row-gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

/* The shared toolbar contributes its three parts to this row directly, so they are placed by the
   row, not by the toolbar's own box. */
.work-items-controls[b-659bdwpm90]  .grid-toolbar {
    display: contents;
}

/* 440 px (PT-26 sec. 9: 280–440): wide enough for the bulk actions under their full names
   ("Upravit vybrané (N)", "Smazat vybrané (N)"), which take this slot while rows are ticked — the
   slot itself never changes its width with the selection. */
/* The slot is measured from its 240 px floor and grows up to 440 px with the room left, so a row
   that cannot hold the tools wraps them instead of overflowing; its width never depends on what it
   holds (search or bulk actions), so ticking a row moves nothing. */
.work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow {
    flex: 1 1 240px;
    min-width: 240px;
    max-width: 440px;
}

.work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow .grid-toolbar-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

/* On one row the presets and the combo never part (at 1280 px the combo used to drop onto a second
   line); the band inside wraps on its own by default, so it is held on one line too. */
.work-items-controls[b-659bdwpm90]  .grid-toolbar-center,
.work-items-controls[b-659bdwpm90]  .grid-toolbar-center .saved-views {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.work-items-controls[b-659bdwpm90]  .grid-toolbar-tools {
    margin-left: auto;
}

@media (max-width: 1279px) {
    /* Below lg the three columns cannot share a line (with the side navigation open a 1024 px window
       has some 740 px left): the row becomes a wrapping flex row, the search takes a line of its
       own, and the choice and the fittings share the next, the fittings still against the right
       edge. */
    .work-items-controls[b-659bdwpm90] {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar {
        display: flex;
        flex: 1 1 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 24px;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow {
        flex: 1 1 100%;
        width: auto;
        max-width: 480px;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow .grid-toolbar-search {
        max-width: none;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar-tools {
        margin-left: auto;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar-center,
    .work-items-controls[b-659bdwpm90]  .grid-toolbar-center .saved-views {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow {
        max-width: none;
    }

    .work-items-controls[b-659bdwpm90]  .grid-toolbar-narrow .grid-toolbar-search {
        min-width: 0;
    }

    /* The choice takes the row; the two fittings follow it on the combo's line or the next. */
    .work-items-controls[b-659bdwpm90]  .grid-toolbar-center {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* ── One height for every control in both rows ────────────────────────────────────────────
   Both shared components declare the variable on their own root, and a declaration on the element
   always wins over one inherited from an ancestor — so setting it on this wrapper, as this file
   used to, changed nothing at all. The value has to be set on the components themselves.

   32 px is what a control in a toolbar measures in every comparable product (Jira, Azure DevOps,
   GitHub Primer "medium"), it is Material's density level -2 from the 40 px default, and it clears
   the WCAG 2.5.8 minimum target of 24 x 24 CSS px on its own. */
.work-items-controls[b-659bdwpm90]  .saved-views,
.work-items-controls[b-659bdwpm90]  .grid-toolbar {
    --grid-control-height: 32px;
    --saved-views-control-height: var(--grid-control-height);
    --grid-toolbar-control-height: var(--grid-control-height);
}

/* Only real controls of the band, never the clear button inside the search field nor a menu's icon
   activator: those are round by MudBlazor's own rule, and a 32 px height on a 24 px width turned
   them into ellipses — a pill radius the house style does not allow anywhere. */
.work-items-controls[b-659bdwpm90]  .mud-button-root:not(.mud-icon-button) {
    height: var(--grid-control-height, 32px);
    min-height: var(--grid-control-height, 32px);
}

/* Height counted including the padding, not on top of it — the padding stays, so the text keeps
   sitting in the middle of the field instead of against its top edge. */
.work-items-controls[b-659bdwpm90]  .mud-input-control .mud-input-root {
    box-sizing: border-box;
    height: var(--grid-control-height, 32px);
    min-height: var(--grid-control-height, 32px);
}

/* Without a floating label there is nothing to reserve room above the frame for, so the field's
   own box is finally the same height as the frame in it — which is what used to leave the search
   sitting 2 px above everything else in the row. */
.work-items-controls[b-659bdwpm90]  .mud-input-control {
    margin: 0;
}

/* An input reserves a strip under itself for helper text even when it has none. Targeted at the
   search field rather than the whole band, so a validating field added here later still reports. */
.work-items-controls[b-659bdwpm90]  .grid-toolbar-search .mud-input-control-helper-container,
.work-items-controls[b-659bdwpm90]  .grid-toolbar-search .mud-input-helper-text {
    display: none;
}

/* ── Presets, in the view band's leading slot ─────────────────────────────────────────── */

.work-items[b-659bdwpm90]  .work-items-presets {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sentence case and the house radius; the height comes from the band. */
.work-items[b-659bdwpm90]  .work-items-preset {
    text-transform: none;
    white-space: nowrap;
    border-radius: var(--mud-default-borderradius);
}

/* Chosen, but changed since: tonal — the accent is kept, the solid fill is not, so "this is where
   you started" and "it is no longer exactly that" read at once. Tokens only, so dark mode follows. */
.work-items[b-659bdwpm90]  .work-items-preset--modified {
    background-color: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
    border: 1px solid var(--mud-palette-primary);
}

@media (max-width: 600px) {
    /* The presets share their row; three of them (the project tab) do not fit 375 px side by side,
       so they wrap onto a second line rather than push the whole band past the screen's edge
       (WI-06565 round 3 — the band was cut off on the right, already before this round). */
    .work-items[b-659bdwpm90]  .work-items-presets {
        width: 100%;
        flex-wrap: wrap;
    }

    .work-items[b-659bdwpm90]  .work-items-presets .mud-tooltip-root {
        flex: 1 1 auto;
        min-width: 0;
    }

    .work-items[b-659bdwpm90]  .work-items-presets .work-items-preset {
        width: 100%;
    }
}

/* ── Grouping, in the shared toolbar's tools slot ─────────────────────────────────────── */

/* The slot's content is rendered in this page's scope, so this is where it is sized. A square
   target, the same one the columns button gets, so the two fittings read as a pair. As a labelled
   select this was the widest control in the band at 200 px and the only one 52 px tall. */
.work-items[b-659bdwpm90]  .work-items-grouping > .mud-button-root {
    width: var(--grid-control-height, 32px);
    height: var(--grid-control-height, 32px);
    min-width: var(--grid-control-height, 32px);
    padding: 0;
    border-radius: var(--mud-default-borderradius);
}

/* The tooltip wrapper is a flex box for the same reason as in the toolbar (see
   Components/Shared/Grid/README.md, "Past"). */
.work-items[b-659bdwpm90]  .work-items-grouping-split {
    display: inline-flex;
    align-items: center;
}

.work-items[b-659bdwpm90]  .work-items-grouping-split .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* ── Expand / collapse all, in the code column's header (WI-06565 round 2, PO point 1) ──── */

/* The name and the glyph on one line; the glyph is a quiet 24 px target that does not make the
   header row taller than the others. */
.work-items[b-659bdwpm90]  .work-items-code-header {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.work-items[b-659bdwpm90]  .work-items-expansion,
.work-items[b-659bdwpm90]  .work-items-expansion .mud-tooltip-root {
    display: inline-flex;
    align-items: center;
}

.work-items[b-659bdwpm90]  .work-items-expansion-menu > .mud-button-root {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: var(--mud-default-borderradius);
    color: var(--mud-palette-text-secondary);
}

.work-items[b-659bdwpm90]  .work-items-expansion-menu > .mud-button-root .mud-icon-root {
    font-size: 1.125rem;
}

/* The heading of a section inside a menu: not an option, so it must not look like one. */
.work-items[b-659bdwpm90]  .work-items-menu-caption {
    opacity: 1;
    pointer-events: none;
}

.work-items[b-659bdwpm90]  .work-items-menu-caption-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-text-secondary);
}

/* The column filter editors themselves are styled in app.css, not here: MudBlazor's popover provider
   moves their markup out of this page's DOM subtree, where a scoped selector can never reach it. */

/* ── The funnel in the column header ──────────────────────────────────────────────────── */

/* A funnel on all fourteen columns is noise until one of them means something. The empty ones
   recede and come forward on hover or keyboard focus; a column that is actually filtering keeps its
   funnel at full strength in the accent colour, so an active filter reads at a glance. */
/* Dimmed by colour rather than by opacity: at 0.28 the funnel came out around 1.3 : 1 against the
   header, well under the 3 : 1 WCAG 1.4.11 asks of a control, and a touch device — which has no
   hover — never got it back. The disabled-text token is the quietest value that still passes. */
.work-items[b-659bdwpm90]  .mud-table-head .filter-button {
    color: var(--mud-palette-text-disabled);
    padding: 4px;
    transition: color 120ms ease-in-out;
}

.work-items[b-659bdwpm90]  .mud-table-head th:hover .filter-button,
.work-items[b-659bdwpm90]  .mud-table-head .filter-button:focus-visible {
    color: var(--mud-palette-text-primary);
}

.work-items[b-659bdwpm90]  .mud-table-head .filter-button.filtered {
    opacity: 1;
    color: var(--mud-palette-primary);
}

/* ── Rows ─────────────────────────────────────────────────────────────────────────────── */

/* One line per row. A wrapping title turned every second row into two lines, so the table ran at
   53 px a row where it needed 37 — a third of the screen spent on re-flowing text nobody reads in
   full from a list. The full text stays reachable: the cell carries it as a title attribute, and
   the detail is one click away. This is what Linear, Jira and Azure DevOps all do with a list.

   The right padding is MudBlazor's 24 px, which was sized for a table that has no resize handles;
   ours does, and the handle needs far less. */
/* Body cells only: the header carries the column's width (a saved view may have one stored for it)
   and must not be squeezed by the ellipsis trick. */
/* Table layout only — from 961 px up. Below that the grid is a list of cards (WI-06620, app.css
   "Work item cards"), where a zero-width, clipped cell is exactly what made every value vanish. */
@media (min-width: 961px) {
    .work-items[b-659bdwpm90]  .mud-table-dense .mud-table-body .mud-table-cell {
        /* 6 px lands the row on 37 px: Material's densest step for a list row, and the point where
           a row is still comfortably a click target. 4 px measured 33 px, which is tighter than any
           of the products this was compared against and would have been the opposite extreme. */
        padding: 6px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Column widths (PO, 2026-09-22: the name is the widest column by default; the project column got
   a proper width after sitting pressed against the state column).

   Every column but the name carries an explicit width on its header (the page's designed width, or
   the one the user dragged and saved); body cells have max-width 0, so their content never asks
   for width and is cut with an ellipsis instead. The name header asks for 100 %, which in an
   auto-layout table means "whatever the fixed columns leave", with a floor below which the table
   grows and scrolls inside its container rather than squeezing the name away.

   Not table-layout: fixed — that was tried first and it collapses the one width-less column to
   0 px the moment the fixed columns add up to more than the box (measured: 250 px at 1680, 10 px
   at 1440, 0 at 1280), and on a narrow window it did the opposite and let the name swallow the
   whole table. Auto layout honours the header widths and the floor, and overflows honestly. */
.work-items[b-659bdwpm90]  .mud-table-root {
    table-layout: auto;
    width: 100%;
}

@media (min-width: 961px) {
    .work-items[b-659bdwpm90]  .mud-table-dense .mud-table-body .mud-table-cell {
        max-width: 0;
    }
}

/* No width on the name at all: in auto layout the surplus over the columns' preferred widths goes
   to the width-less columns, so the fixed columns keep exactly their designed widths and the name
   gets the rest. Asking for 100 % instead made the name outrank them and squeezed the project
   column from 260 to 163 px. The floor is what stops the name from vanishing on a narrow window —
   past it the table scrolls inside its box. */
.work-items[b-659bdwpm90]  .mud-table-dense .mud-table-head th.work-items-col-title {
    min-width: 220px;
}

/* A header is as wide as what is in it, and MudDataGrid puts 52 px of invisible controls in every
   one: a sort glyph at opacity 0 (26 px) and a per-column "⋮" menu whose glyph is at opacity 0
   (26 px). Eight columns, 416 px reserved for nothing — measured: the "Priorita" header was 164 px
   for 47 px of text. That is why the designed widths were never reached and the name had nothing
   left to grow into.

   The per-column menu goes: everything in it (sort, hide, filter) is already a click on the header,
   the columns glyph or the funnel. The sort glyph takes no space until the column is actually
   sorted — an arrow next to the name of the sorted column is the whole point of it. */
.work-items[b-659bdwpm90]  .mud-table-head .column-options .mud-menu {
    display: none;
}

.work-items[b-659bdwpm90]  .mud-table-head .column-options .sort-direction-icon:not(.mud-direction-asc):not(.mud-direction-desc) {
    width: 0;
    min-width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* The header stays on one line: it is the column's ruler, and a ruler that wraps has no width.
   The name's header takes what the name takes. */
.work-items[b-659bdwpm90]  .mud-table-dense .mud-table-head .mud-table-cell {
    padding: 6px 12px;
    white-space: nowrap;
    vertical-align: middle;
}

/* A cell whose content is a chip or a dot must not clip it to an ellipsis. */
.work-items[b-659bdwpm90]  .mud-table-body .mud-table-cell > .mud-chip,
.work-items[b-659bdwpm90]  .mud-table-body .mud-table-cell > .work-items-state {
    max-width: 100%;
}

/* Code and title are the reading axis: the code is quiet and monospaced so the eye can scan a
   column of them, the title carries the weight. */
.work-items[b-659bdwpm90]  .work-items-code {
    font-family: var(--mud-typography-caption-family, ui-monospace, monospace);
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.work-items[b-659bdwpm90]  .work-items-title {
    font-weight: 500;
}

/* A link in a cell inherits the row's colour: the whole row is clickable anyway, so underlining
   every title would draw a ladder down the table. It announces itself on hover, and the focus ring
   from app.css makes it findable from the keyboard. */
.work-items[b-659bdwpm90]  .work-items-link {
    color: inherit;
    text-decoration: none;
}

.work-items[b-659bdwpm90]  .work-items-link:hover {
    text-decoration: underline;
}

.work-items[b-659bdwpm90]  .work-items-project {
    color: var(--mud-palette-text-secondary);
}

/* MudBlazor gives every chip a 4 px margin, which inside a dense cell is 8 px of row height that
   nothing needs: the type column is visible by default, so it made the whole table 8 px per row
   taller — 200 px on a full page. Set here rather than with `ma-0` on each chip, so the four
   columns cannot drift apart again. */
.work-items[b-659bdwpm90]  .work-items-chip {
    border-radius: var(--mud-default-borderradius);
    margin: 0;
}

/* A chip in a cell never runs past its column ("Řešitel + spolupracovník" did, at 140 px): the
   text ends in an ellipsis and the chip's title carries all of it. Only the text is clipped, so an
   icon or a close button inside the chip stays whole. */
.work-items[b-659bdwpm90]  .work-items-chip {
    max-width: 100%;
}

.work-items[b-659bdwpm90]  .work-items-chip .mud-chip-content {
    min-width: 0;
}

.work-items[b-659bdwpm90]  .work-items-chip-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The state reads as a dot plus the project's own state name — the dot carries the category, which
   is the only thing that means the same in every project. */
.work-items[b-659bdwpm90]  .work-items-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.work-items[b-659bdwpm90]  .work-items-state-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* The left edge of a row is the task's type, in the type's own colour from the code list. It is
   what let the type column leave the default set: the colour is on every row, and the code cell
   names it on hover for anyone who does not know the palette by heart. Rows of a type with no
   colour simply have no accent. */
@media (min-width: 961px) {
    .work-items[b-659bdwpm90]  .mud-table-body .mud-table-row td:first-child {
        box-shadow: inset 3px 0 0 0 var(--work-items-row-accent, transparent);
    }
}

/* On a card (≤ 960 px) the accent is the card's own left edge — see app.css "Work item cards". */

/* Overdue takes no styling here on purpose. The due-date cell already prints the date in the error
   colour and puts a mark beside it, which is the signal; the left edge belongs to the type now,
   and a row cannot have two left edges. The tint that used to sit here lost to MudBlazor's own
   striping rule on specificity anyway, so it showed on even rows and not on odd ones. The
   work-items-overdue-row class stays because the E2E suite and the row's own marker use it. */

/* ── Group headers ────────────────────────────────────────────────────────────────────── */

/* MudDataGrid's own expander raises no event, so the persisted expansion set could never follow it.
   It is hidden and the shared GridGroupHeader is the toggle. The class lands on the grid's own
   markup, which is why it stays here rather than travelling with that component. */
.work-items[b-659bdwpm90]  .work-items-group-row .mud-table-row-expander {
    display: none;
}

/* ── First load ───────────────────────────────────────────────────────────────────────── */

/* The strip's own distance from the table, set by the page that places it rather than baked into
   the shared component. */
.work-items[b-659bdwpm90]  .grid-active-filters {
    margin-bottom: 12px;
}

.work-items-shell[b-659bdwpm90] {
    position: relative;
    /* The shared skeleton is absolutely positioned, so the shell has to have a height of its own
       before the grid has rendered anything to give it one. */
    min-height: 360px;
}

/* ── Narrow screens ───────────────────────────────────────────────────────────────────── */

/* The table scrolls inside its own box at every width; the page itself must not gain a horizontal
   scrollbar. With the project column given a floor this stopped being a phone-only concern —
   at 1024 px the columns already ask for more than the window has. */
.work-items[b-659bdwpm90]  .mud-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* WI-06556: the bulk operation chip (a link from a notification) under the control row, at the
   table's left edge. WI-06565 round 2: the bulk actions live in the control row (in place of the
   search field); only a list without that row (subtasks, a milestone) has a row of its own over the
   table — the bulk actions on the left, the columns button on the right, 32 px tall whether or not
   anything is ticked, so ticking a row moves nothing. */
.work-items-bulk-operation[b-659bdwpm90] {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.work-items-selection-row[b-659bdwpm90] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin-bottom: 8px;
}

.work-items-selection-row[b-659bdwpm90]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* The tools (columns · export · new entity, GridTools) stay at the right edge, the bulk actions take what is left. */
.work-items-list-bar-tools[b-659bdwpm90] {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* In the control row the bulk actions stand in the search field's slot and keep its box exactly —
   the slot's own rules (440 px, giving way to 240 px) are not overridden, the compact bar fits into
   whatever width the slot has (WorkItemSelectionBar.Compact). So the presets, the combo and the
   fittings stay where they were, at every width (PT-26 sec. 6). No rule of its own here on purpose. */

.work-items-bulk-operation[b-659bdwpm90]  .mud-chip {
    margin: 0;
}

/* ── Tree mode (WI-06565) ─────────────────────────────────────────────────────────────── */

/* The code cell of a tree row: indentation (set inline per depth), the expander, the code. */
[b-659bdwpm90] .work-items-tree-cell {
    display: inline-flex;
    align-items: center;
    /* The expander's height on every row, so a leaf's code sits on the same line as a parent's. */
    min-height: 24px;
    vertical-align: middle;
    max-width: 100%;
    min-width: 0;
}

[b-659bdwpm90] .wi-tree-expander {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    border-radius: var(--mud-default-borderradius);
}

[b-659bdwpm90] .wi-tree-expander:hover,
[b-659bdwpm90] .wi-tree-expander:focus-visible {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

[b-659bdwpm90] .wi-tree-spacer {
    display: inline-block;
    width: 24px;
    flex: 0 0 24px;
}

/* A context ancestor only holds a matching subtask in place — drawn muted, as the tree table did. */
[b-659bdwpm90] tr.wi-row--context {
    opacity: .5;
}

/* The note above the grid when the tree is flattened by a sort, or shown as a paged list. */
/* WI-06914: the one sort chip of a list, in the control row or the list bar — one line, never wraps the bar. */
.work-items-sort-chip[b-659bdwpm90] {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 260px;
    margin: 0;
}

.work-items-sort-chip-text[b-659bdwpm90] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-items-tree-note[b-659bdwpm90] {
    display: flex;
    align-items: center;
    gap: var(--grid-gap-in-group, 8px);
    margin-bottom: 8px;
}

/* max-width keeps the wrapping row inside its column, so a label longer than the column ends in
   an ellipsis like every other chip in the grid (WI-06973) instead of running past the border. */
[b-659bdwpm90] .work-items-labels {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}

/* The code inside the type's chip (the chip look of the project tree, subtasks and milestone). */
[b-659bdwpm90] .work-items-chip-link {
    color: inherit;
    text-decoration: none;
}

[b-659bdwpm90] .work-items-chip-link:hover,
[b-659bdwpm90] .work-items-chip-link:focus-visible {
    text-decoration: underline;
}

/* A host's row action (the milestone's "remove") is an icon button — never cut with an ellipsis. */
.work-items[b-659bdwpm90]  .mud-table-dense .mud-table-body .mud-table-cell.work-items-action-cell {
    overflow: visible;
    text-overflow: clip;
}

/* WI-06565: a project-bound list (project tree, milestone, subtasks) is as tall as its rows. */
.work-items-shell.work-items-shell--fit[b-659bdwpm90] {
    min-height: 0;
}

.work-items-shell.work-items-shell--loading[b-659bdwpm90] {
    min-height: 140px;
}
/* /Components/Shared/WorkItems/WorkItemSelectionBar.razor.rz.scp.css */
/* The selection bar (WI-06556): 32 px controls 8 px apart, the density norm of the reference grid
   (PT-26 sec. 9). Colours are theme tokens only, so light and dark modes need nothing of their own. */
.wi-selection-bar[b-6touzlzh8y] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 32px;
}

.wi-selection-bar[b-6touzlzh8y]  .wi-selection-action {
    height: 32px;
    text-transform: none;
    border-radius: var(--mud-default-borderradius);
    white-space: nowrap;
}

.wi-selection-bar[b-6touzlzh8y]  .wi-selection-clear {
    width: 32px;
    height: 32px;
    padding: 0;
}

.wi-selection-bar[b-6touzlzh8y]  .mud-tooltip-root {
    display: flex;
    align-items: center;
}

/* WI-06565 round 2 — in the search field's slot: exactly the slot's width, one line, and nothing
   ever pushes past it (PT-26 sec. 6: the row does not move by a pixel when the first row is ticked).
   What gives way, in order: the over-cap note, then the buttons' words (ellipsis); the counts, the
   icons and the clear button keep their size. */
.wi-selection-bar--compact[b-6touzlzh8y] {
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    /* Its width is the slot's, never its content's — so it can be the container its own buttons
       ask about below. */
    container-type: inline-size;
}

/* The full names (PO: "Upravit vybrané (N)") by default; the short ones only in a slot narrower than
   the full names need (a narrower window — the Tasks section at 1280 px, the project tab). */
.wi-selection-full[b-6touzlzh8y] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wi-selection-short[b-6touzlzh8y] {
    display: none;
    min-width: 0;
    align-items: center;
}

@container (max-width: 409px) {
    .wi-selection-full[b-6touzlzh8y] {
        display: none;
    }

    .wi-selection-short[b-6touzlzh8y] {
        display: inline-flex;
    }
}

/* A slot squeezed towards its 240 px minimum (the project tab at 1280 px): the words matter more
   than the pencil and the bin, so the icons go first. */
@container (max-width: 300px) {
    .wi-selection-bar--compact[b-6touzlzh8y]  .wi-selection-action .mud-button-icon-start {
        display: none;
    }
}

.wi-selection-bar--compact[b-6touzlzh8y]  .wi-selection-action {
    flex: 0 1 auto;
    min-width: 0;
}

.wi-selection-bar--compact[b-6touzlzh8y]  .wi-selection-action .mud-button-label {
    min-width: 0;
    overflow: hidden;
}

.wi-selection-bar--compact[b-6touzlzh8y]  .mud-tooltip-root {
    flex: 0 0 auto;
}

.wi-selection-label[b-6touzlzh8y] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wi-selection-label-count[b-6touzlzh8y] {
    flex: 0 0 auto;
    margin-left: 0.3em;
    white-space: nowrap;
}

.wi-selection-bar--compact .wi-selection-note[b-6touzlzh8y] {
    flex: 0 1000 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wi-selection-count[b-6touzlzh8y] {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.wi-selection-note[b-6touzlzh8y] {
    font-size: 0.8125rem;
    color: var(--mud-palette-warning-darken);
}

.wi-selection-note--error[b-6touzlzh8y] {
    color: var(--mud-palette-error);
}
