/* /Components/Account/Pages/Manage/Components/PushNotificationsCard.razor.rz.scp.css */
/* Push notifications card — matches the profile page's .card design language, theme-aware via
   --mud-palette-* variables. The "current device" accent uses the primary palette colour. */

.push-card[b-dd5ph1wawx] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 12px;
    padding: 20px 24px;
    font-family: 'Inter', sans-serif;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.push-head[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.push-head[b-dd5ph1wawx]  .push-head-icon {
    font-size: 16px;
    color: var(--mud-palette-text-secondary);
}

.push-title[b-dd5ph1wawx] {
    font-weight: 600;
    font-size: 15px;
    color: var(--mud-palette-text-primary);
}

.push-desc[b-dd5ph1wawx] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    margin-top: 6px;
    line-height: 1.55;
    max-width: 580px;
}

/* ── Status pill ────────────────────────────────────────────────────── */
.push-pill[b-dd5ph1wawx] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.push-pill[b-dd5ph1wawx]  .push-pill-icon {
    font-size: 12px;
}

.push-pill-sub[b-dd5ph1wawx] {
    font-weight: 500;
    opacity: 0.85;
}

.push-pill.success[b-dd5ph1wawx] {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.push-pill.warn[b-dd5ph1wawx] {
    background: rgba(217, 119, 6, 0.14);
    color: #d97706;
}

.push-pill.neutral[b-dd5ph1wawx] {
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-divider);
}

/* ── Body ───────────────────────────────────────────────────────────── */
.push-body[b-dd5ph1wawx] {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Banners ────────────────────────────────────────────────────────── */
.push-banner[b-dd5ph1wawx] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid;
}

.push-banner.info[b-dd5ph1wawx] {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.30);
}

.push-banner.warn[b-dd5ph1wawx] {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.35);
    border-left: 3px solid #d97706;
}

.push-banner[b-dd5ph1wawx]  .push-banner-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.push-banner.info[b-dd5ph1wawx]  .push-banner-icon { color: #2563eb; }
.push-banner.warn[b-dd5ph1wawx]  .push-banner-icon { color: #d97706; }

.push-banner-body[b-dd5ph1wawx] { flex: 1; min-width: 0; }

.push-banner-title[b-dd5ph1wawx] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.push-banner-msg[b-dd5ph1wawx] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
    line-height: 1.5;
}

/* ── Enable-on-this-device toggle row ───────────────────────────────── */
.push-toggle-row[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-background);
}

.push-toggle-row.active[b-dd5ph1wawx] {
    border-color: rgba(var(--mud-palette-primary-rgb), 0.40);
    background: rgba(var(--mud-palette-primary-rgb), 0.05);
}

.push-toggle-text[b-dd5ph1wawx] { flex: 1; min-width: 0; }

.push-toggle-heading[b-dd5ph1wawx] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.push-toggle-hint[b-dd5ph1wawx] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    margin-top: 2px;
    line-height: 1.5;
}

/* ── Send test + inline feedback ────────────────────────────────────── */
.push-test-block[b-dd5ph1wawx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.push-test-row[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.push-test-hint[b-dd5ph1wawx] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.push-feedback[b-dd5ph1wawx] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid;
}

.push-feedback.ok[b-dd5ph1wawx] {
    background: rgba(22, 163, 74, 0.10);
    border-color: rgba(22, 163, 74, 0.30);
}

.push-feedback.err[b-dd5ph1wawx] {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.28);
}

.push-feedback[b-dd5ph1wawx]  .push-feedback-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.push-feedback.ok[b-dd5ph1wawx]  .push-feedback-icon { color: #16a34a; }
.push-feedback.err[b-dd5ph1wawx]  .push-feedback-icon { color: #dc2626; }

.push-feedback-msg[b-dd5ph1wawx] {
    flex: 1;
    font-size: 12.5px;
    color: var(--mud-palette-text-primary);
    line-height: 1.5;
}

.push-feedback[b-dd5ph1wawx]  .push-feedback-close { margin: -4px -4px -4px 0; }

/* ── Device list ────────────────────────────────────────────────────── */
.push-list[b-dd5ph1wawx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.push-list-head[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.push-list-label[b-dd5ph1wawx] {
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.push-count-chip[b-dd5ph1wawx] {
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    padding: 1px 7px;
    background: var(--mud-palette-background);
    border-radius: 10px;
}

.push-device-row[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 9px;
    border: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    flex-wrap: wrap;
    transition: opacity 0.2s;
}

.push-device-row.current[b-dd5ph1wawx] {
    border-color: rgba(var(--mud-palette-primary-rgb), 0.40);
    background: rgba(var(--mud-palette-primary-rgb), 0.05);
}

.push-device-row.removing[b-dd5ph1wawx] { opacity: 0.5; }

.push-device-icon[b-dd5ph1wawx] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-secondary);
}

.push-device-row.current .push-device-icon[b-dd5ph1wawx] {
    background: rgba(var(--mud-palette-primary-rgb), 0.12);
    color: var(--mud-palette-primary);
}

.push-device-main[b-dd5ph1wawx] { flex: 1 1 180px; min-width: 0; }

.push-device-name-row[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.push-device-name[b-dd5ph1wawx] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.push-this-chip[b-dd5ph1wawx] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(var(--mud-palette-primary-rgb), 0.12);
    color: var(--mud-palette-primary);
    font-size: 11px;
    font-weight: 600;
}

.push-device-meta[b-dd5ph1wawx] {
    font-size: 11.5px;
    color: var(--mud-palette-text-disabled);
    margin-top: 2px;
}

.push-device-actions[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* ── Empty / only-device / skeleton ─────────────────────────────────── */
.push-empty[b-dd5ph1wawx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    border-radius: 9px;
    border: 1px dashed var(--mud-palette-divider);
    background: var(--mud-palette-background);
}

.push-empty[b-dd5ph1wawx]  .push-empty-icon { font-size: 18px; color: var(--mud-palette-text-disabled); flex-shrink: 0; }

.push-empty-text[b-dd5ph1wawx] {
    font-size: 12.5px;
    color: var(--mud-palette-text-secondary);
    line-height: 1.5;
}

.push-only-note[b-dd5ph1wawx] {
    font-size: 11.5px;
    color: var(--mud-palette-text-disabled);
    padding: 2px 2px 0;
    line-height: 1.5;
}

.push-skeleton[b-dd5ph1wawx] {
    height: 60px;
    border-radius: 9px;
    background: var(--mud-palette-background);
    border: 1px solid var(--mud-palette-divider);
    animation: push-pulse-b-dd5ph1wawx 1.4s ease-in-out infinite;
}

@keyframes push-pulse-b-dd5ph1wawx {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
/* /Components/Account/Pages/Manage/Index.razor.rz.scp.css */
.profile-page[b-14hu6mdf4q] {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: 'Inter', sans-serif;
}

.page-header[b-14hu6mdf4q] {
    margin-bottom: 2px;
}

.page-title[b-14hu6mdf4q] {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--mud-palette-text-primary);
    margin: 0;
}

.page-subtitle[b-14hu6mdf4q] {
    font-size: 13px;
    color: var(--mud-palette-text-disabled);
    margin-top: 3px;
}

/* ── Card ─────────────────────────────────────────────────────────── */
.card[b-14hu6mdf4q] {
    /* Reset Bootstrap's global `.card { display: flex; flex-direction: column; }` */
    display: block;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 12px;
    padding: 20px 24px;
}

.card-title[b-14hu6mdf4q] {
    /* Bootstrap adds margin-bottom: 0.5rem to .card-title; we manage spacing manually */
    margin-bottom: 0;
}

.card-pad-large[b-14hu6mdf4q] {
    padding: 24px;
}

.card-title[b-14hu6mdf4q] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--mud-palette-text-primary);
}

.card-help[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    margin-top: 4px;
    line-height: 1.55;
}

.card-managed-tag[b-14hu6mdf4q] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    padding: 3px 8px;
    background: var(--mud-palette-background);
    border-radius: 5px;
    border: 1px solid var(--mud-palette-divider);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Banner stack ─────────────────────────────────────────────────── */
.banner[b-14hu6mdf4q] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
}

.banner.danger[b-14hu6mdf4q] {
    background: rgba(220, 38, 38, 0.07);
    border-color: rgba(220, 38, 38, 0.35);
    border-left: 3px solid #dc2626;
}

.banner.warn[b-14hu6mdf4q] {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.35);
    border-left: 3px solid #d97706;
}

.banner-body[b-14hu6mdf4q] {
    flex: 1;
    min-width: 0;
}

.banner-title[b-14hu6mdf4q] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.banner-msg[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
    line-height: 1.5;
}

.banner[b-14hu6mdf4q]  .banner-icon.danger {
    color: #dc2626;
}

.banner[b-14hu6mdf4q]  .banner-icon.warn {
    color: #d97706;
}

/* ── Header card with avatar ──────────────────────────────────────── */
.header-card[b-14hu6mdf4q] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

@media (max-width: 720px) {
    .header-card[b-14hu6mdf4q] {
        flex-wrap: wrap;
    }
}

/* Force MudIcon SVGs inside pills to the design's 12x12 */
.pill[b-14hu6mdf4q]  .mud-icon-root,
.pill[b-14hu6mdf4q]  svg {
    width: 12px !important;
    height: 12px !important;
    font-size: 12px !important;
}

/* Anchors the overlay and the remove badge to the circle. The frame is exactly the circle's size, so the
   header card is the same width it was before any of this existed. */
.avatar-frame[b-14hu6mdf4q] {
    position: relative;
    flex-shrink: 0;
    /* The label is inline; without this the line box leaves a few pixels under the circle and the badge
       pinned to its rim sits crooked. */
    line-height: 0;
}

.avatar-img[b-14hu6mdf4q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* The camera over a dimmed circle — the same gesture every other system uses, so it needs no label. */
.avatar-overlay[b-14hu6mdf4q] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Dark enough that whatever is underneath stops competing with the icon. Initials are the harder case,
       not photographs: two large letters read straight through a light scrim and the camera lands on top of
       them as noise rather than as an instruction. */
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    opacity: 0;
    transition: opacity 140ms ease;
}

/* :focus-within on the frame rather than :hover alone. A label is not focusable, but the input it points at
   still is — it is moved off screen, not removed from the tab order — so tabbing to it lights the circle the
   same way the pointer does. An affordance only a mouse can find is one a keyboard user does not have. */
.avatar-frame:hover .avatar-overlay[b-14hu6mdf4q],
.avatar-frame:focus-within .avatar-overlay[b-14hu6mdf4q] {
    opacity: 1;
}

/* The ring belongs on the circle, not on the 1px box the input actually occupies. ::deep for the same
   reason as below — the input is InputFile's markup, so an unprefixed selector would never match it. */
.avatar-frame[b-14hu6mdf4q]  .avatar-input:focus-visible + .avatar {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .avatar-overlay[b-14hu6mdf4q] {
        transition: none;
    }
}

/* Sits on the rim rather than inside the circle, so it never covers the face it removes. Only when there is
   something to remove, and only once the pointer is on the block — otherwise every visit to this page shows
   a delete button nobody came for. */
.avatar-remove[b-14hu6mdf4q] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid var(--mud-palette-surface);
    border-radius: 50%;
    background: var(--mud-palette-error);
    color: var(--mud-palette-error-text);
    cursor: pointer;
    opacity: 0;
    transition: opacity 140ms ease;
}

.avatar-frame:hover .avatar-remove[b-14hu6mdf4q],
.avatar-frame:focus-within .avatar-remove[b-14hu6mdf4q] {
    opacity: 1;
}

/* Touch has no hover, so the badge would never appear on a phone. */
@media (hover: none) {
    .avatar-remove[b-14hu6mdf4q] {
        opacity: 1;
    }
}

/* ::deep is load-bearing, not decoration. The element carrying this class is rendered by InputFile, and
   scoped CSS only stamps its attribute onto markup written in this file — a plain `.avatar-input` rule
   matches nothing, and the raw file input shows up above the circle with its "Choose file" button.

   Off screen rather than display:none, because a label cannot open a file dialog for an input the browser
   has never laid out — and an input that is not laid out is also out of the tab order. */
.avatar-frame[b-14hu6mdf4q]  .avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Now a <label>, so it also has to say it can be clicked and clip the overlay to its own rim. The frame
   above sets line-height to zero to stop the inline label leaving a gap under the circle, so the initials
   get theirs back here. */
.avatar[b-14hu6mdf4q] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    line-height: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, oklch(0.58 0.13 200), oklch(0.48 0.13 200));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.header-main[b-14hu6mdf4q] {
    flex: 1 1 240px;
    min-width: 0;
}

.header-name[b-14hu6mdf4q] {
    font-size: 22px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    line-height: 1.2;
}

.header-sub[b-14hu6mdf4q] {
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

.header-pills[b-14hu6mdf4q] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.header-meta[b-14hu6mdf4q] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    text-align: right;
    line-height: 1.6;
    flex-shrink: 0;
}

.header-meta-value[b-14hu6mdf4q] {
    color: var(--mud-palette-text-secondary);
    font-size: 12px;
    font-weight: 500;
}

/* ── Status pills ─────────────────────────────────────────────────── */
.pill[b-14hu6mdf4q] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.5;
}

.pill .dot[b-14hu6mdf4q] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pill.success[b-14hu6mdf4q] {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.pill.success .dot[b-14hu6mdf4q] {
    background: #16a34a;
}

.pill.danger[b-14hu6mdf4q] {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.pill.danger .dot[b-14hu6mdf4q] {
    background: #dc2626;
}

.pill.warn[b-14hu6mdf4q] {
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
}

.pill.warn .dot[b-14hu6mdf4q] {
    background: #d97706;
}

.pill.neutral[b-14hu6mdf4q] {
    background: rgba(100, 116, 139, 0.13);
    color: #64748b;
}

.pill.neutral .dot[b-14hu6mdf4q] {
    background: #64748b;
}

.pill .pill-sub[b-14hu6mdf4q] {
    opacity: 0.65;
    font-weight: 500;
    margin-left: 2px;
}

/* ── Body grid ────────────────────────────────────────────────────── */
.body-grid[b-14hu6mdf4q] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .body-grid[b-14hu6mdf4q] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.security-col[b-14hu6mdf4q] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Info card grid ───────────────────────────────────────────────── */
.info-grid[b-14hu6mdf4q] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    margin-top: 6px;
}

.info-row[b-14hu6mdf4q] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.info-row-label[b-14hu6mdf4q] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-row-value[b-14hu6mdf4q] {
    font-size: 14px;
    color: var(--mud-palette-text-primary);
}

.info-row-value.mono[b-14hu6mdf4q] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 500;
}

.info-row-empty[b-14hu6mdf4q] {
    color: var(--mud-palette-text-disabled);
    font-style: italic;
}

/* ── Card header rows ─────────────────────────────────────────────── */
.card-head-row[b-14hu6mdf4q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.card-head-row.align-start[b-14hu6mdf4q] {
    align-items: flex-start;
}

/* ── 2FA card extras ──────────────────────────────────────────────── */
.recovery-box[b-14hu6mdf4q] {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--mud-palette-background);
    border-radius: 7px;
    border: 1px solid var(--mud-palette-divider);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.recovery-count-label[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.recovery-count[b-14hu6mdf4q] {
    font-size: 18px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-top: 2px;
}

.recovery-count.warn[b-14hu6mdf4q] {
    color: #d97706;
}

.recovery-count-of[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    font-weight: 400;
}

.recovery-bar[b-14hu6mdf4q] {
    width: 120px;
    height: 5px;
    background: var(--mud-palette-divider);
    border-radius: 3px;
    overflow: hidden;
}

.recovery-bar-fill[b-14hu6mdf4q] {
    height: 100%;
    background: var(--mud-palette-primary);
    transition: width 0.25s;
}

.recovery-bar-fill.warn[b-14hu6mdf4q] {
    background: #d97706;
}

.recovery-actions[b-14hu6mdf4q] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.link-btn[b-14hu6mdf4q] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mud-palette-primary);
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    padding: 0;
}

.link-btn:hover[b-14hu6mdf4q] {
    text-decoration: underline;
}

.enforcement-note[b-14hu6mdf4q] {
    margin-top: 14px;
    padding: 9px 12px;
    background: rgba(217, 119, 6, 0.07);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 7px;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Change password panel ────────────────────────────────────────── */
.cp-panel[b-14hu6mdf4q] {
    animation: slideDown-b-14hu6mdf4q 0.22s ease both;
    /* clip, not hidden: while slideDown grows the panel it is shorter than its content, and a hidden box is a scroll
       container — the page's own focus on the current-password box scrolled it 13 px, and the growth scrolled it back
       under the pointer (the sister of known-debt T.93). A clipped box cuts the same edge and cannot be scrolled; the
       focus still scrolls the page down to the panel. */
    overflow: clip;
}

/* Outside .body-grid the panel has the whole page to itself, and a password field a screen and a half
   wide reads as a mistake. The cap is the width the same field has inside the two-column layout. */
.cp-panel-forced[b-14hu6mdf4q] {
    max-width: 560px;
}

.cp-panel-form[b-14hu6mdf4q] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp-panel-help[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    margin-top: 3px;
}

.cp-server-error[b-14hu6mdf4q] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 7px;
    color: #dc2626;
    font-size: 13px;
}

.cp-info-note[b-14hu6mdf4q] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    line-height: 1.6;
    padding: 8px 12px;
    background: var(--mud-palette-background);
    border-radius: 6px;
    border: 1px solid var(--mud-palette-divider);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-actions[b-14hu6mdf4q] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Field ────────────────────────────────────────────────────────── */
.field[b-14hu6mdf4q] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-14hu6mdf4q] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.field-error[b-14hu6mdf4q] {
    font-size: 12px;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Footer note ──────────────────────────────────────────────────── */
.footer-note[b-14hu6mdf4q] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    padding: 0 4px;
    line-height: 1.6;
}

.footer-note .accent[b-14hu6mdf4q] {
    color: var(--mud-palette-primary);
    font-weight: 500;
}

@keyframes slideDown-b-14hu6mdf4q {
    from {
        opacity: 0;
        transform: translateY(-6px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}
/* /Components/Account/Shared/LoginLanguageSwitcher.razor.rz.scp.css */
.ls-wrap[b-vhd9vk8t1y] { position: relative; display: inline-block; }

.ls-details summary[b-vhd9vk8t1y] { list-style: none; }
.ls-details summary[b-vhd9vk8t1y]::-webkit-details-marker { display: none; }

.ls-btn[b-vhd9vk8t1y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: inherit;
    user-select: none;
    transition: background 150ms;
    font-family: inherit;
}

.ls-btn:hover[b-vhd9vk8t1y] { background: rgba(128, 128, 128, .12); }

.ls-label[b-vhd9vk8t1y] { margin: 0 2px; }

.ls-arrow[b-vhd9vk8t1y] {
    font-size: 0.65rem;
    opacity: .6;
    color: inherit;
}

.ls-menu[b-vhd9vk8t1y] {
    position: absolute;
    right: 0;
    top: calc(100% + 2px);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2),
                0 8px 10px 1px rgba(0, 0, 0, .14),
                0 3px 14px 2px rgba(0, 0, 0, .12);
    min-width: 148px;
    z-index: 1300;
    padding: 6px 0;
    overflow: hidden;
}

.ls-item[b-vhd9vk8t1y] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: rgba(0, 0, 0, .87);
    font-size: 0.875rem;
    font-family: inherit;
    transition: background 120ms;
    white-space: nowrap;
}

.ls-item:hover[b-vhd9vk8t1y] { background: rgba(0, 0, 0, .04); }

.ls-item.ls-active[b-vhd9vk8t1y] { color: #594ae2; }

.ls-details:not([open]) .ls-menu[b-vhd9vk8t1y] { display: none; }
/* /Components/Account/Shared/PasswordRequirementList.razor.rz.scp.css */
/* ── The password policy as a checklist ───────────────────────────────
   One dot per requirement. Dashed and grey while nothing is typed (idle), ticked green when the typed password meets it
   (met), plain when it is typed and does not (unmet). The state is the data-state of the rule — drawn by the component
   on a circuit, set by wwwtsgPasswordPolicy in js/app.js on a page with none — so the sheet reads one thing for both. */
.policy[b-qwseihdj58] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 4px 14px;
    padding: 10px 12px;
    background: var(--mud-palette-background);
    border-radius: 7px;
    border: 1px solid var(--mud-palette-divider);
}

.policy-title[b-qwseihdj58] {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.policy-rule[b-qwseihdj58] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.policy-rule[data-state="met"][b-qwseihdj58] {
    color: #16a34a;
}

.policy-rule[data-state="idle"][b-qwseihdj58] {
    color: var(--mud-palette-text-disabled);
}

.policy-dot[b-qwseihdj58] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid var(--mud-palette-divider);
}

.policy-rule[data-state="idle"] .policy-dot[b-qwseihdj58] {
    border-style: dashed;
}

.policy-rule[data-state="met"] .policy-dot[b-qwseihdj58] {
    background: rgba(22, 163, 74, 0.18);
    border: none;
}

/* The tick is always in the markup and shown only for a met rule, so the script changes one attribute and creates nothing:
   an element it made would carry no scope attribute and this sheet would not reach it. */
.policy-dot[b-qwseihdj58]  .policy-tick {
    display: none;
    font-size: 9px;
    color: #16a34a;
}

.policy-rule[data-state="met"] .policy-dot[b-qwseihdj58]  .policy-tick {
    display: block;
}
/* /Components/Layout/AppHeader.razor.rz.scp.css */
/* Елементът, който компонентът пише около логото: MudLink се рисува от MudBlazor и не носи обхвата
   на този стил, затова правилата му минават през ::deep оттук. Без своя кутия — връзката остава
   flex елемент на лентата. До 17.10.2026 правилата сочеха връзката направо и не падаха върху нищо
   (дълг W.89). */
.appbar-logo-host[b-xfnr06cqjo] {
    display: contents;
}

/* Логото е връзка (MudLink) към Home: <a> е inline по подразбиране, а MudLink налага
   primary цвят и подчертаване — и трите се връщат тук, за да изглежда логото непроменено. */
.appbar-logo-host[b-xfnr06cqjo]  .appbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.appbar-logo-host[b-xfnr06cqjo]  .appbar-logo:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.appbar-logo-img[b-xfnr06cqjo] {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
/* /Components/Layout/ChatDock.razor.rz.scp.css */
/* The launcher and the panel it opens. Both are fixed to the bottom-right corner, above everything the page
   itself draws but below MudBlazor's dialogs and snackbars — a conversation must not cover the confirmation
   somebody is reading. */

.chat-launcher[b-gc4mc0qso0] {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.chat-launcher__btn[b-gc4mc0qso0] {
    position: relative;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.chat-launcher__btn:hover[b-gc4mc0qso0] {
    background: var(--mud-palette-primary-darken);
}

.chat-launcher__badge[b-gc4mc0qso0] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--mud-palette-error);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    /* The ring is what keeps the badge readable over the button it sits on. */
    border: 2px solid var(--mud-palette-background);
}

.chat-launcher__card[b-gc4mc0qso0] {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 330px;
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
}

.chat-launcher__card-body[b-gc4mc0qso0] {
    min-width: 0;
}

.chat-launcher__card-who[b-gc4mc0qso0] {
    font-size: 12px;
    font-weight: 700;
}

.chat-launcher__card-text[b-gc4mc0qso0] {
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

/* ── The panel ─────────────────────────────────────────────────────────────── */

.chat-dock[b-gc4mc0qso0] {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    width: 352px;
    /* Tall enough to hold a conversation, short enough to stay off a laptop's own chrome. */
    height: min(470px, calc(100vh - 140px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
}

.chat-dock__head[b-gc4mc0qso0] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.chat-dock__title[b-gc4mc0qso0] {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-dock__body[b-gc4mc0qso0] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background: var(--mud-palette-background);
}

.chat-dock__body--thread[b-gc4mc0qso0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.chat-dock__empty[b-gc4mc0qso0] {
    padding: 20px 14px;
    text-align: center;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.chat-dock__row[b-gc4mc0qso0] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.chat-dock__row:hover[b-gc4mc0qso0] {
    background: var(--mud-palette-action-default-hover);
}

.chat-dock__row-body[b-gc4mc0qso0] {
    flex: 1;
    min-width: 0;
}

.chat-dock__row-name[b-gc4mc0qso0] {
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-dock__row-preview[b-gc4mc0qso0] {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.chat-dock__badge[b-gc4mc0qso0] {
    flex-shrink: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-dock__line[b-gc4mc0qso0] {
    display: flex;
}

.chat-dock__line--mine[b-gc4mc0qso0] {
    justify-content: flex-end;
}

.chat-dock__bubble[b-gc4mc0qso0] {
    max-width: 230px;
    padding: 8px 11px;
    border-radius: 11px 11px 11px 3px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    font-size: 12.5px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-dock__bubble--mine[b-gc4mc0qso0] {
    border-radius: 11px 11px 3px 11px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: transparent;
}

.chat-dock__who[b-gc4mc0qso0] {
    display: block;
    margin-bottom: 2px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
}

.chat-dock__notice[b-gc4mc0qso0] {
    align-self: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    text-align: center;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
}

.chat-dock__composer[b-gc4mc0qso0] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* On a phone the panel is the screen; a 352px card floating over a 360px viewport is neither. */
@media (max-width: 599px) {
    .chat-dock[b-gc4mc0qso0] {
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
        border: none;
    }
}
/* /Components/Layout/LoginBackground.razor.rz.scp.css */
.login-bg-svg[b-r1xh0dzych] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.login-overlay[b-r1xh0dzych] {
    position: absolute;
    inset: 0;
}

.login-overlay--dark[b-r1xh0dzych] {
    background: rgba(0, 0, 0, 0.55);
}

.login-overlay--light[b-r1xh0dzych] {
    background: rgba(0, 0, 0, 0.35);
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
:global(html)[b-enz22qruyu], :global(body)[b-enz22qruyu] {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.login-scene[b-enz22qruyu] {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-card-wrapper[b-enz22qruyu] {
    position: relative;
    z-index: 10;
    width: min(90vw, 420px);
    padding: 16px;
}

.login-card[b-enz22qruyu] {
    border-radius: 14px;
    padding: 36px 32px;
}

.login-card--dark[b-enz22qruyu] {
    background: rgba(13, 15, 23, 0.80);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    color: #e2e4ea;
}

.login-card--light[b-enz22qruyu] {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    color: #111827;
}

.login-logo-area[b-enz22qruyu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.login-logo-img[b-enz22qruyu] {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-07w32f7h2w] {
    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-07w32f7h2w] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-container[b-5wtvnx21xr] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}


/* ── Nav body ─────────────────────────────────────────────────────────────── */
.nav-body[b-5wtvnx21xr] {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 4px;
    scrollbar-width: thin;
}

/* ── Footer (copyright + version) ─────────────────────────────────────────── */
/* ::deep е нужен, защото MudLink/MudText рендират <a>/<p>, които не получават
   scoped атрибута (b-xxxxx) на компонента. */
.nav-container[b-5wtvnx21xr]  .nav-footer-text {
    font-size: 0.625rem;
    line-height: 1.125rem;
    color: #6F6F6F !important;
}
/* /Components/Layout/NavMenuItem.razor.rz.scp.css */
/* Live counter on a navigation item — unread chat today, whatever comes next later.

   This lives here rather than in NavMenu.razor.css because Blazor's scoped CSS is per component: a rule in
   the parent's file never reaches markup rendered by this one. */

.nav-badge[b-t0nnpt3py8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 8px;
    border-radius: 9px;
    background: var(--mud-palette-error);
    color: var(--mud-palette-error-text);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}
/* /Components/Layout/NavUserPanel.razor.rz.scp.css */
.nav-user[b-v9iqqvgn9a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--mud-palette-divider);
    flex-shrink: 0;
}

.nav-user-link[b-v9iqqvgn9a] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    padding: 4px 6px;
    margin: -4px -6px;
    border-radius: 6px;
    transition: background-color 120ms ease;
}

.nav-user-link:hover[b-v9iqqvgn9a] {
    background-color: var(--mud-palette-action-default-hover);
    text-decoration: none;
}

.nav-user-avatar[b-v9iqqvgn9a] {
    color: var(--mud-palette-text-secondary);
    display: flex;
    flex-shrink: 0;
}

.nav-user-info[b-v9iqqvgn9a] {
    flex: 1;
    overflow: hidden;
}

.nav-user-name[b-v9iqqvgn9a] {
    font-size: 12px;
    font-weight: 500;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-role[b-v9iqqvgn9a] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

.nav-logout-form[b-v9iqqvgn9a] {
    flex-shrink: 0;
    display: flex;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9a0hobebjn],
.components-reconnect-repeated-attempt-visible[b-9a0hobebjn],
.components-reconnect-failed-visible[b-9a0hobebjn],
.components-pause-visible[b-9a0hobebjn],
.components-resume-failed-visible[b-9a0hobebjn],
.components-rejoining-animation[b-9a0hobebjn] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-retrying[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-failed[b-9a0hobebjn],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9a0hobebjn] {
    display: block;
}


#components-reconnect-modal[b-9a0hobebjn] {
    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-9a0hobebjn 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9a0hobebjn 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9a0hobebjn 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9a0hobebjn]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9a0hobebjn 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9a0hobebjn {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9a0hobebjn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9a0hobebjn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9a0hobebjn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9a0hobebjn] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9a0hobebjn] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9a0hobebjn] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9a0hobebjn] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9a0hobebjn] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9a0hobebjn] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9a0hobebjn 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9a0hobebjn] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9a0hobebjn {
    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/Layout/UserProfileMenu.razor.rz.scp.css */
.user-avatar[b-b7rfev64q3] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mud-palette-background-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    flex-shrink: 0;
}

/* On phones/tablets (< 960px) the name + arrow are hidden, so drop the
   avatar's trailing gap to keep the icon-only button centered. */
@media (max-width: 959.98px) {
    .user-avatar[b-b7rfev64q3] {
        margin-right: 0;
    }
}

.profile-menu[b-b7rfev64q3] {
    min-width: 220px;
    overflow: hidden;
}

/* Fills the 24px circle the icon otherwise sits inside, rather than sitting inside it too. */
.user-avatar-img[b-b7rfev64q3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-header[b-b7rfev64q3] {
    padding: 12px 16px 10px;
    border-bottom: 1px solid var(--mud-palette-divider);
}

/* ::deep, because the circle is drawn by UserAvatar and scoped CSS otherwise stops at this component. */
.profile-header[b-b7rfev64q3]  .profile-header-avatar {
    margin-bottom: 8px;
}

.profile-role[b-b7rfev64q3] {
    margin-top: 7px;
}

.profile-footer[b-b7rfev64q3] {
    border-top: 1px solid var(--mud-palette-divider);
    padding: 4px 0;
}
/* /Components/Pages/Test/Signature/TestSignatureH420X.razor.rz.scp.css */
.h420x-surface[b-8qvlrrpv5f] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h420x-canvas[b-8qvlrrpv5f] {
    display: block;
    width: 100%;
    /* Match the H420X active area (106 × 66 mm ≈ 8:5) so the pen maps without distortion. */
    aspect-ratio: 8 / 5;
    height: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background-color: #ffffff;
    cursor: crosshair;
    /* Stop the browser from scrolling/zooming while drawing with the pen/touch. */
    touch-action: none;
}

.h420x-surface__actions[b-8qvlrrpv5f] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Full screen: the surface fills the display and the 8:5 canvas grows to the full
   height (letterboxed at the sides). With the Huion driver's "Keep aspect ratio"
   mapping, the whole pad then corresponds to the whole signing box. */
.h420x-surface:fullscreen[b-8qvlrrpv5f] {
    justify-content: center;
    align-items: center;
    background-color: var(--mud-palette-surface);
    padding: 16px;
}

.h420x-surface:fullscreen .h420x-canvas[b-8qvlrrpv5f] {
    width: auto;
    height: 88vh;
    max-width: 100vw;
    border-radius: 0;
}

.h420x-surface:fullscreen .h420x-surface__actions[b-8qvlrrpv5f] {
    position: fixed;
    right: 24px;
    bottom: 24px;
}

.h420x-panel[b-8qvlrrpv5f] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Verdict: only the message matching the panel's current state is shown. */
.h420x-verdict[b-8qvlrrpv5f] {
    font-weight: 500;
}

.h420x-verdict__msg[b-8qvlrrpv5f] {
    display: none;
}

.h420x-panel[data-verdict-state="waiting"] .h420x-verdict__msg[data-verdict="waiting"][b-8qvlrrpv5f],
.h420x-panel[data-verdict-state="mouse"] .h420x-verdict__msg[data-verdict="mouse"][b-8qvlrrpv5f],
.h420x-panel[data-verdict-state="penNoPressure"] .h420x-verdict__msg[data-verdict="penNoPressure"][b-8qvlrrpv5f],
.h420x-panel[data-verdict-state="ok"] .h420x-verdict__msg[data-verdict="ok"][b-8qvlrrpv5f] {
    display: inline;
}

.h420x-panel[data-verdict-state="ok"] .h420x-verdict__msg[data-verdict="ok"][b-8qvlrrpv5f] {
    color: var(--mud-palette-success);
}

.h420x-panel[data-verdict-state="penNoPressure"] .h420x-verdict__msg[data-verdict="penNoPressure"][b-8qvlrrpv5f] {
    color: var(--mud-palette-warning);
}

.h420x-grid[b-8qvlrrpv5f] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 16px;
    align-items: center;
    font-family: var(--mud-typography-default-family);
}

.h420x-grid__label[b-8qvlrrpv5f] {
    color: var(--mud-palette-text-secondary);
}

.h420x-grid__value[b-8qvlrrpv5f] {
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: 8px;
}

.h420x-bar[b-8qvlrrpv5f] {
    display: inline-block;
    width: 120px;
    height: 8px;
    border-radius: 4px;
    background-color: var(--mud-palette-lines-default);
    overflow: hidden;
}

.h420x-bar__fill[b-8qvlrrpv5f] {
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--mud-palette-primary);
    transition: width 40ms linear;
}
/* /Components/Pages/Test/Voice/TestVoiceCommand.razor.rz.scp.css */
/* The equaliser is what makes a voice command visibly do something: the snackbar and the log say a command
   was matched, this says the page acted on it. */

.voice-anim[b-md9olk7a8x] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 64px;
    padding: 8px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-background-gray);
}

.voice-anim span[b-md9olk7a8x] {
    display: block;
    width: 10px;
    height: 16px;
    border-radius: 3px;
    background-color: var(--mud-palette-primary);
    /* Declared always, paused by default — stopping freezes the bars instead of hiding them, so the
       "stopped" state stays visible rather than turning into an empty box. */
    animation: voice-anim-bounce-b-md9olk7a8x 0.9s ease-in-out infinite;
    animation-play-state: paused;
}

.voice-anim.running span[b-md9olk7a8x] {
    animation-play-state: running;
}

/* Staggered by roughly an eighth of the cycle, so the eight bars read as one wave travelling across the
   box rather than as eight bars bouncing together. */
.voice-anim span:nth-child(2)[b-md9olk7a8x] {
    animation-delay: 0.11s;
}

.voice-anim span:nth-child(3)[b-md9olk7a8x] {
    animation-delay: 0.22s;
}

.voice-anim span:nth-child(4)[b-md9olk7a8x] {
    animation-delay: 0.33s;
}

.voice-anim span:nth-child(5)[b-md9olk7a8x] {
    animation-delay: 0.44s;
}

.voice-anim span:nth-child(6)[b-md9olk7a8x] {
    animation-delay: 0.55s;
}

.voice-anim span:nth-child(7)[b-md9olk7a8x] {
    animation-delay: 0.66s;
}

.voice-anim span:nth-child(8)[b-md9olk7a8x] {
    animation-delay: 0.77s;
}

@keyframes voice-anim-bounce-b-md9olk7a8x {
    0%, 100% {
        height: 16px;
        opacity: 0.55;
    }

    50% {
        height: 48px;
        opacity: 1;
    }
}

/* Respect a reduced-motion preference: the state chip and the button label already carry the state. */
@media (prefers-reduced-motion: reduce) {
    .voice-anim.running span[b-md9olk7a8x] {
        animation-play-state: paused;
    }
}
/* /Components/Shared/Addresses/AddressMap.razor.rz.scp.css */
.tsg-map[b-lmg09xk1sf] {
    width: 100%;
    /* Leaflet positions every pane absolutely and patches this onto the container itself at startup. Stated
       here as well because that patch is an inline style, and an inline style loses to any global rule marked
       !important — which is exactly how this map once ended up painted over the page header. */
    position: relative;
    border-radius: var(--mud-default-borderradius);
    overflow: hidden;
    background: var(--mud-palette-background-gray);
    /* Leaflet paints panes at z-index 400+, which is above a MudBlazor dialog's own content but below its
       overlay. Containing it here keeps the map from painting over the dialog's action bar. */
    isolation: isolate;
    z-index: 0;
}

/* A map nobody may touch should not invite touching, and should not swallow a scroll through the page. */
.tsg-map-static[b-lmg09xk1sf] {
    pointer-events: none;
}

/* The OSM standard layer has no dark counterpart, so the dark theme inverts the tiles. Only the tile pane is
   touched — the pin, the zoom control and the attribution keep their own colours, which is the whole reason
   this is not a filter on the container. */
.tsg-map-dark[b-lmg09xk1sf]  .leaflet-tile-pane {
    filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.9);
}
/* /Components/Shared/Addresses/AddressMapPickerDialog.razor.rz.scp.css */
.map-picker[b-n3l588eqze] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-picker-panel[b-n3l588eqze] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-background-gray);
    /* Fixed so the dialog does not jump every time the reverse lookup swaps a spinner for a two-line address. */
    min-height: 92px;
}

.map-picker-panel[b-n3l588eqze]  .map-picker-address {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.map-picker-panel[b-n3l588eqze]  .map-picker-coords {
    font-family: var(--mud-typography-caption-family, monospace);
}
/* /Components/Shared/Addresses/AddressSearchBox.razor.rz.scp.css */
.address-search[b-eowbaksfgh] {
    position: relative;
    width: 100%;
}

.address-search[b-eowbaksfgh]  .address-search-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    /* Above a dialog's content but below its overlay, so the menu is not clipped by the dialog body while
       still not escaping the dialog. */
    z-index: 1400;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 0;
}

.address-search-row[b-eowbaksfgh] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.address-search-row:hover[b-eowbaksfgh] {
    background: var(--mud-palette-action-default-hover);
}

.address-search-row[b-eowbaksfgh]  .address-search-icon {
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.address-search-text[b-eowbaksfgh] {
    min-width: 0;
}

/* The whole display name is long and repetitive at the tail; two lines is enough to tell hits apart. */
.address-search-text[b-eowbaksfgh]  .mud-typography-caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.address-search-status[b-eowbaksfgh] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
}
/* /Components/Shared/Addresses/AddressSummary.razor.rz.scp.css */
.address-summary[b-nfk491e3po] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-summary-head[b-nfk491e3po] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-summary-head[b-nfk491e3po]  .address-summary-icon {
    margin-top: 2px;
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.address-summary-text[b-nfk491e3po] {
    min-width: 0;
}
/* /Components/Shared/Addresses/TsgAddressField.razor.rz.scp.css */
.address-field[b-2rcswo3shg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.address-field-row[b-2rcswo3shg] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-field-row[b-2rcswo3shg]  .address-search,
.address-field-row[b-2rcswo3shg]  .address-field-plain {
    flex: 1 1 auto;
    min-width: 0;
}

/* Lines the map button up with the middle of a dense outlined field rather than with its label. */
.address-field-row[b-2rcswo3shg]  .mud-icon-button {
    margin-top: 2px;
    flex: 0 0 auto;
}

.address-field-status[b-2rcswo3shg] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 2px;
    min-height: 24px;
}

.address-field-status[b-2rcswo3shg]  .address-field-clear {
    margin-left: auto;
}

@media (max-width: 600px) {
    .address-field-status[b-2rcswo3shg] {
        flex-wrap: wrap;
    }

    .address-field-status[b-2rcswo3shg]  .address-field-clear {
        margin-left: 0;
    }
}
/* /Components/Shared/Attachments/AttachmentAvatar.razor.rz.scp.css */
/* Fills its parent — sizing is the parent's responsibility (a square tile in
   a table cell, a 16:9 hero in a card, …). Component owns the click surface,
   the image/placeholder swap, and the hover-overlay affordance. */
.att-avatar[b-k3p96y8e3z] {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.att-avatar img[b-k3p96y8e3z] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.att-avatar-placeholder[b-k3p96y8e3z] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-text-secondary);
}

/* Bottom-right count pill — only meaningful when there is more than one
   picture (otherwise it would always read "1"). */
.att-avatar-count-badge[b-k3p96y8e3z] {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    line-height: 16px;
}

/* Click-to-enlarge affordance. */
.att-avatar.is-clickable[b-k3p96y8e3z] {
    cursor: zoom-in;
}

.att-avatar-overlay[b-k3p96y8e3z] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.att-avatar-overlay-count[b-k3p96y8e3z] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.att-avatar.is-clickable:hover .att-avatar-overlay[b-k3p96y8e3z],
.att-avatar.is-clickable:focus-visible .att-avatar-overlay[b-k3p96y8e3z] {
    opacity: 1;
}

.att-avatar.is-clickable:focus-visible[b-k3p96y8e3z] {
    box-shadow: inset 0 0 0 2px var(--mud-palette-primary);
}

[b-k3p96y8e3z] .att-avatar-overlay .mud-icon-root {
    color: #fff;
}
/* /Components/Shared/Attachments/AttachmentEditor.razor.rz.scp.css */
.attachment-editor[b-6t88zmqf5m] {
    display: flex;
    flex-direction: column;
}

.avatar-meta[b-6t88zmqf5m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.avatar-label[b-6t88zmqf5m] {
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    font-weight: 600;
}

.avatar-hint[b-6t88zmqf5m] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    line-height: 1.5;
}

.field-caption[b-6t88zmqf5m] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.field-caption-sub[b-6t88zmqf5m] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    font-weight: 400;
}

.picture-hint[b-6t88zmqf5m] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    line-height: 1.5;
}
/* /Components/Shared/Attachments/AttachmentFileList.razor.rz.scp.css */
/* A document list reads like a list: one row per file, name first, everything else subordinate. Colours come
   from the theme only. */

.file-list-root[b-9jztm2gybz] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* MudFileUpload wraps its input in a element of its own; this makes that wrapper size to the drop zone so the
   whole area is clickable rather than just the text. */
[b-9jztm2gybz] .mud-file-upload.file-list-upload {
    width: 100%;
    margin: 0;
}

.file-drop[b-9jztm2gybz] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 9px;
    border: 1.5px dashed var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-grey);
    cursor: pointer;
}

[b-9jztm2gybz] .mud-file-upload.file-list-upload:hover .file-drop {
    border-color: var(--mud-palette-primary);
}

.file-drop.disabled[b-9jztm2gybz] {
    opacity: 0.6;
    cursor: default;
}

.file-drop[b-9jztm2gybz]  .file-drop-icon {
    color: var(--mud-palette-text-secondary);
}

.file-drop-main[b-9jztm2gybz] {
    font-size: 0.82rem;
    color: var(--mud-palette-text-primary);
}

.file-drop-link[b-9jztm2gybz] {
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.file-drop-hint[b-9jztm2gybz] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

.file-empty[b-9jztm2gybz] {
    font-size: 0.78rem;
    color: var(--mud-palette-text-disabled);
    padding: 2px 2px 4px;
}

.file-rows[b-9jztm2gybz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-row[b-9jztm2gybz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
}

/* Freshly added in this dialog, so the eye can find what it just dropped. */
.file-row.just-added[b-9jztm2gybz] {
    border-color: var(--mud-palette-success);
}

.file-row.pending[b-9jztm2gybz] {
    opacity: 0.75;
}

/* The extension stands in for a thumbnail — the one glance-able "what kind of file is this". */
.file-badge[b-9jztm2gybz] {
    flex: 0 0 auto;
    min-width: 38px;
    text-align: center;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--mud-palette-error);
    background: var(--mud-palette-error-hover);
    border: 1px solid var(--mud-palette-error);
}

.file-row[b-9jztm2gybz]  .file-badge-spinner {
    flex: 0 0 auto;
    min-width: 38px;
}

.file-meta[b-9jztm2gybz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.file-name[b-9jztm2gybz] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.file-name:hover[b-9jztm2gybz] {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.file-size[b-9jztm2gybz] {
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Shared/Attachments/AttachmentLightbox.razor.rz.scp.css */
/* ── Backdrop ───────────────────────────────────────────────────────────── */
.att-lightbox-backdrop[b-ciy8q58kbd] {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(8, 10, 14, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    outline: none;
    animation: att-lightbox-fade-in-b-ciy8q58kbd 0.18s ease both;
}

@keyframes att-lightbox-fade-in-b-ciy8q58kbd {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Shell (modal-ish container) ────────────────────────────────────────── */
.att-lightbox-shell[b-ciy8q58kbd] {
    display: flex;
    width: min(960px, 100%);
    max-height: 100%;
    background: #161921;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    color: #e2e4ea;
}

/* ── Stage (left) ───────────────────────────────────────────────────────── */
.att-lightbox-stage[b-ciy8q58kbd] {
    flex: 1;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    min-width: 0;
    min-height: 420px;
}

.att-lightbox-stage-stripe[b-ciy8q58kbd] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0.85;
}

.att-lightbox-image[b-ciy8q58kbd] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* ── Stage chrome (counter, nav, thumbs) ────────────────────────────────── */
.att-lightbox-counter[b-ciy8q58kbd] {
    position: absolute;
    top: 18px;
    left: 20px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.att-lightbox-nav[b-ciy8q58kbd] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.att-lightbox-nav:hover[b-ciy8q58kbd] {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 255, 255, 0.32);
}

.att-lightbox-nav-left[b-ciy8q58kbd]  { left: 14px; }
.att-lightbox-nav-right[b-ciy8q58kbd] { right: 14px; }

[b-ciy8q58kbd] .att-lightbox-nav .mud-icon-root {
    color: #fff;
}

.att-lightbox-thumbs[b-ciy8q58kbd] {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 60px;
    flex-wrap: wrap;
}

.att-lightbox-thumb[b-ciy8q58kbd] {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    flex-shrink: 0;
    transition: transform 0.15s, border-color 0.15s;
}

.att-lightbox-thumb:hover[b-ciy8q58kbd] {
    border-color: rgba(255, 255, 255, 0.4);
}

.att-lightbox-thumb.is-active[b-ciy8q58kbd] {
    border-color: var(--mud-palette-primary);
    transform: scale(1.05);
}

.att-lightbox-thumb img[b-ciy8q58kbd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Info panel (right) ─────────────────────────────────────────────────── */
.att-lightbox-panel[b-ciy8q58kbd] {
    width: 320px;
    display: flex;
    flex-direction: column;
    background: #161921;
    color: #e2e4ea;
    flex-shrink: 0;
    border-left: 1px solid #252836;
}

.att-lightbox-panel-header[b-ciy8q58kbd] {
    padding: 16px 18px 14px;
    border-bottom: 1px solid #1e2130;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.att-lightbox-panel-icon[b-ciy8q58kbd] {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    flex-shrink: 0;
    border: 1px solid #252836;
    display: flex;
    align-items: center;
    justify-content: center;
}

.att-lightbox-panel-titles[b-ciy8q58kbd] {
    flex: 1;
    min-width: 0;
}

.att-lightbox-panel-title[b-ciy8q58kbd] {
    font-size: 14px;
    font-weight: 700;
    color: #e2e4ea;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-lightbox-panel-subtitle[b-ciy8q58kbd] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* Override MudIconButton chrome to fit the dark panel header. The class
   lands on the button root, so we re-tint background, border, and icon
   colour without disturbing the ripple / focus behaviour. */
[b-ciy8q58kbd] .att-lightbox-close {
    background: #1a1d27;
    border: 1px solid #252836;
    color: #c9cdd8;
    border-radius: 6px;
    transition: background 0.15s, border-color 0.15s;
}

[b-ciy8q58kbd] .att-lightbox-close:hover {
    background: #232633;
    border-color: #2f3344;
}

[b-ciy8q58kbd] .att-lightbox-close .mud-icon-root {
    color: #c9cdd8;
}

.att-lightbox-panel-body[b-ciy8q58kbd] {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    overflow-y: auto;
}

.att-lightbox-section-label[b-ciy8q58kbd] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.att-lightbox-meta[b-ciy8q58kbd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.att-lightbox-meta-row[b-ciy8q58kbd] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.att-lightbox-meta-key[b-ciy8q58kbd] {
    color: #6b7280;
}

.att-lightbox-meta-value[b-ciy8q58kbd] {
    color: #c9cdd8;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-lightbox-meta-value.mono[b-ciy8q58kbd] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.att-lightbox-meta-accent[b-ciy8q58kbd] {
    color: var(--mud-palette-primary);
}

.att-lightbox-panel-footer[b-ciy8q58kbd] {
    padding: 14px;
    border-top: 1px solid #1e2130;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.att-lightbox-kb-hints[b-ciy8q58kbd] {
    margin-top: 4px;
    font-size: 10.5px;
    color: #6b7280;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 4px;
}

.att-lightbox-kb-hint[b-ciy8q58kbd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.att-lightbox-kbd[b-ciy8q58kbd] {
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 10px;
    color: #c9cdd8;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .att-lightbox-shell[b-ciy8q58kbd] {
        flex-direction: column;
        max-width: 100%;
    }

    .att-lightbox-panel[b-ciy8q58kbd] {
        width: 100%;
        border-left: none;
        border-top: 1px solid #252836;
        max-height: 40%;
    }
}
/* /Components/Shared/Attachments/GalleryGrid.razor.rz.scp.css */
.gallery-root[b-b6iror45z0] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* MudBlazor's inner containers are display:contents; the root needs a
   positioning context so the transparent overlay input (mud-file-upload-dragover,
   position:absolute) sizes itself to the drop-zone. */
[b-b6iror45z0] .mud-file-upload.gallery-upload {
    position: relative;
}

.drop-zone[b-b6iror45z0] {
    border: 1.5px dashed var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-gray);
    border-radius: 9px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

/* Hover is driven from the MudFileUpload root: the cursor sits over the
   transparent overlay input, not the drop-zone itself, so .drop-zone:hover
   would never fire — but the root is its ancestor. */
[b-b6iror45z0] .mud-file-upload.gallery-upload:hover .drop-zone {
    border-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, var(--mud-palette-background-gray));
}

.drop-zone.disabled[b-b6iror45z0] {
    cursor: not-allowed;
    opacity: 0.6;
}

.drop-zone-icon[b-b6iror45z0] {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    color: var(--mud-palette-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drop-zone-text[b-b6iror45z0] {
    display: flex;
    flex-direction: column;
}

.drop-zone-main[b-b6iror45z0] {
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    font-weight: 500;
}

.drop-zone-link[b-b6iror45z0] {
    color: var(--mud-palette-primary);
    font-weight: 600;
    margin-left: 4px;
}

.drop-zone-hint[b-b6iror45z0] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    margin-top: 1px;
}

.tile-grid[b-b6iror45z0] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .tile-grid[b-b6iror45z0] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.picture-tile.queued[b-b6iror45z0] {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px dashed var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-gray);
}

.picture-tile.queued .queued-overlay[b-b6iror45z0] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
}

.picture-tile.queued .queued-label[b-b6iror45z0] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 8px;
    line-height: 1.3;
}

.picture-tile.queued .queued-remove[b-b6iror45z0] {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.15s;
}

.picture-tile.queued:hover .queued-remove[b-b6iror45z0] {
    opacity: 1;
}

.picture-tile.queued .filename-strip[b-b6iror45z0] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0));
    padding: 14px 6px 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.picture-tile.queued .filename[b-b6iror45z0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.picture-tile.queued .filesize[b-b6iror45z0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.picture-tile.pending[b-b6iror45z0] {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
    animation: pulseFade-b-b6iror45z0 1.6s ease-in-out infinite;
}

.picture-tile.pending .pending-overlay[b-b6iror45z0] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--mud-palette-text-secondary);
}

.picture-tile.pending .pending-label[b-b6iror45z0] {
    font-size: 10px;
    font-weight: 600;
}

.picture-tile.pending .filename-strip[b-b6iror45z0] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
    padding: 14px 6px 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.picture-tile.pending .filename[b-b6iror45z0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.picture-tile.pending .filesize[b-b6iror45z0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

@keyframes pulseFade-b-b6iror45z0 {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}
/* /Components/Shared/Attachments/PictureTile.razor.rz.scp.css */
.picture-tile[b-9bywzvrzaj] {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.picture-tile.is-primary[b-9bywzvrzaj] {
    border: 2px solid var(--mud-palette-primary);
}

.picture-tile.just-added[b-9bywzvrzaj] {
    border: 2px solid var(--mud-palette-success);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mud-palette-success) 13%, transparent);
}

.picture-tile img[b-9bywzvrzaj] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.picture-tile .filename-strip[b-9bywzvrzaj] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
    padding: 14px 6px 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.picture-tile .filename[b-9bywzvrzaj] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.picture-tile .filesize[b-9bywzvrzaj] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.picture-tile .avatar-badge[b-9bywzvrzaj] {
    position: absolute;
    top: 5px;
    left: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 1;
}

.picture-tile .just-added-badge[b-9bywzvrzaj] {
    position: absolute;
    top: 5px;
    left: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--mud-palette-success);
    color: var(--mud-palette-success-text, #fff);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--mud-palette-success) 35%, transparent);
    z-index: 1;
}

/* Always-visible action cluster (no hover dependency → works on touch). */
.picture-tile .tile-actions[b-9bywzvrzaj] {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.picture-tile .tile-action-btn[b-9bywzvrzaj] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: background 0.15s, transform 0.1s;
}

.picture-tile .tile-action-btn:hover[b-9bywzvrzaj] {
    transform: scale(1.08);
}

.picture-tile .tile-action-btn.is-avatar[b-9bywzvrzaj] {
    background: var(--mud-palette-warning, #f5b301);
    color: var(--mud-palette-warning-text, #fff);
}

.picture-tile .tile-action-btn.is-delete:hover[b-9bywzvrzaj] {
    background: var(--mud-palette-error, #d32f2f);
}
/* /Components/Shared/Chat/ChatFileBubble.razor.rz.scp.css */
.chat-file[b-4diiz4980j] {
    min-width: 280px;
    max-width: 380px;
    padding: 10px 12px 8px;
    border-radius: 12px 12px 12px 4px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

.chat-file--mine[b-4diiz4980j] {
    border-radius: 12px 12px 4px 12px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: transparent;
}

.chat-file__row[b-4diiz4980j] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

/* One row per file, separated rather than boxed — several documents in one message should read as a list,
   not as a stack of cards. */
.chat-file__row + .chat-file__row[b-4diiz4980j] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.chat-file__icon[b-4diiz4980j] {
    width: 34px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: color-mix(in srgb, currentColor 14%, transparent);
}

.chat-file__body[b-4diiz4980j] {
    flex: 1;
    min-width: 0;
}

.chat-file__name[b-4diiz4980j] {
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-file__meta[b-4diiz4980j] {
    margin-top: 2px;
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, currentColor 70%, transparent);
}

.chat-file__action[b-4diiz4980j] {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.chat-file__action:hover[b-4diiz4980j] {
    background: color-mix(in srgb, currentColor 22%, transparent);
    color: inherit;
}

.chat-file__caption[b-4diiz4980j] {
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-file__stamp[b-4diiz4980j] {
    display: block;
    margin-top: 4px;
    text-align: right;
    font-size: 10px;
    color: color-mix(in srgb, currentColor 70%, transparent);
}
/* /Components/Shared/Chat/ChatLightbox.razor.rz.scp.css */
/* Fixed, not absolute: the viewer covers the app, not the chat shell — a photo opened from a thread should not
   be boxed inside the column it came from. Dark in both themes, because a picture is judged against black. */
.chat-lightbox[b-9855geqe6n] {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    background: rgba(8, 10, 16, .92);
    backdrop-filter: blur(3px);
    color: #fff;
    outline: none;
    /* The surround closes the viewer, so it says so under the pointer. */
    cursor: zoom-out;
}

/* Everything that does something of its own reverts, or the whole screen would look like a way out. */
.chat-lightbox__head[b-9855geqe6n],
.chat-lightbox__strip[b-9855geqe6n],
.chat-lightbox__frame img[b-9855geqe6n] {
    cursor: default;
}

.chat-lightbox__head[b-9855geqe6n] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
}

.chat-lightbox__who[b-9855geqe6n] {
    flex: 1;
    min-width: 0;
}

.chat-lightbox__sender[b-9855geqe6n] {
    font-size: 13px;
    font-weight: 600;
}

.chat-lightbox__when[b-9855geqe6n] {
    margin-top: 1px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .6);
}

.chat-lightbox__btn[b-9855geqe6n] {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .1);
}

.chat-lightbox__btn:hover[b-9855geqe6n] {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.chat-lightbox__stage[b-9855geqe6n] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
}

.chat-lightbox__frame[b-9855geqe6n] {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-lightbox__frame img[b-9855geqe6n] {
    max-width: 100%;
    max-height: 100%;
    /* Contain, unlike the grid: here the whole frame matters — the damage is often at the edge. */
    object-fit: contain;
    border-radius: 10px;
}

.chat-lightbox__nav[b-9855geqe6n] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.chat-lightbox__nav:hover[b-9855geqe6n] {
    background: rgba(255, 255, 255, .22);
}

.chat-lightbox__strip[b-9855geqe6n] {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 14px 18px 18px;
    overflow-x: auto;
}

.chat-lightbox__thumb[b-9855geqe6n] {
    width: 74px;
    height: 54px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    opacity: .6;
    background: rgba(255, 255, 255, .1);
}

.chat-lightbox__thumb img[b-9855geqe6n] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-lightbox__thumb--on[b-9855geqe6n] {
    opacity: 1;
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

@media (max-width: 700px) {
    /* The strip is the first thing to go: on a phone it costs more height than it saves taps. */
    .chat-lightbox__strip[b-9855geqe6n] {
        display: none;
    }
}
/* /Components/Shared/Chat/ChatPhotoBubble.razor.rz.scp.css */
/* Padding is 4px, not the 9/12 a text bubble uses: pictures are the content here, and a wide frame around
   them reads as chrome nobody asked for. */
.chat-photo[b-lzmmwqv8eo] {
    padding: 4px;
    border-radius: 12px 12px 12px 4px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

.chat-photo--mine[b-lzmmwqv8eo] {
    border-radius: 12px 12px 4px 12px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: transparent;
}

.chat-photo__grid[b-lzmmwqv8eo] {
    display: grid;
    gap: 3px;
    width: 340px;
    max-width: 100%;
}

/* Two split the bubble, three give the first the tall half, four make a square — the arrangement every
   messenger converged on, because it keeps the bubble a predictable size whatever arrives.

   A LONE picture is the exception: it takes its own shape instead of a fixed box, so a portrait photo of a
   damaged pallet is shown whole and merely scaled down. Cropping the only picture in a message hides the
   thing the sender framed, and letterboxing it into a 340×240 box wraps it in grey bars. */
.chat-photo__grid--1[b-lzmmwqv8eo] {
    grid-template-columns: 1fr;
    width: auto;
    /* Enough that a caption and the timestamp still have a line to sit on under a narrow photo. */
    min-width: 150px;
}

.chat-photo__grid--1 .chat-photo__tile[b-lzmmwqv8eo] {
    background: none;
    /* Holds the bubble open until the picture has loaded, so the thread does not jump as it arrives. */
    min-height: 120px;
}

.chat-photo__grid--1 img[b-lzmmwqv8eo] {
    width: auto;
    height: auto;
    max-width: 340px;
    max-height: 320px;
    object-fit: contain;
}

.chat-photo__grid--2[b-lzmmwqv8eo] {
    grid-template-columns: 1fr 1fr;
    height: 170px;
}

.chat-photo__grid--3[b-lzmmwqv8eo] {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 212px;
}

.chat-photo__grid--3 .chat-photo__tile:first-child[b-lzmmwqv8eo] {
    grid-row: span 2;
}

.chat-photo__grid--4[b-lzmmwqv8eo] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 240px;
}

.chat-photo__tile[b-lzmmwqv8eo] {
    position: relative;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    background: var(--mud-palette-background-gray);
}

/* Two or more share a fixed grid, so each tile is scaled to fit inside its cell rather than cropped to
   fill it. The tile's own background shows through where the aspect ratios differ — the whole picture is
   visible in the thread, and the viewer still opens it full size. */
.chat-photo__tile img[b-lzmmwqv8eo] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.chat-photo__tile:hover img[b-lzmmwqv8eo] {
    filter: brightness(.92);
}

/* The rest of the set, which the viewer still opens on. */
.chat-photo__more[b-lzmmwqv8eo] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: rgba(8, 10, 16, .55);
}

.chat-photo__caption[b-lzmmwqv8eo] {
    padding: 7px 8px 3px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-photo__meta[b-lzmmwqv8eo] {
    float: right;
    margin-left: 10px;
    transform: translateY(5px);
    font-size: 10px;
    white-space: nowrap;
    color: color-mix(in srgb, currentColor 70%, transparent);
}

/* With no caption there is no text for the float to settle onto, so it becomes a line of its own. */
.chat-photo__meta--bare[b-lzmmwqv8eo] {
    float: none;
    display: block;
    margin: 2px 4px 0 0;
    transform: none;
    text-align: right;
}
/* /Components/Shared/Chat/ChatRail.razor.rz.scp.css */
/* The context rail. Quieter than the thread on purpose: it is reference material, consulted between
   messages, and everything in it competing for attention with the conversation would be the wrong trade. */

.chat-rail[b-epyab29q5b] {
    width: 264px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 14px 18px;
    background: var(--mud-palette-surface);
    border-left: 1px solid var(--mud-palette-lines-default);
}

.chat-rail__section[b-epyab29q5b] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-rail__head[b-epyab29q5b] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-rail__title[b-epyab29q5b] {
    flex: 1;
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

.chat-rail__aside[b-epyab29q5b] {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.chat-rail__empty[b-epyab29q5b] {
    font-size: 11.5px;
    color: var(--mud-palette-text-secondary);
}

/* ── Linked record ─────────────────────────────────────────────────────────── */

.chat-rail__record[b-epyab29q5b] {
    padding: 11px 12px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
}

.chat-rail__record-title[b-epyab29q5b] {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    word-break: break-word;
}

/* ── Photos & files ────────────────────────────────────────────────────────── */

.chat-rail__grid[b-epyab29q5b] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.chat-rail__tile[b-epyab29q5b] {
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    background: var(--mud-palette-background-gray);
}

.chat-rail__tile img[b-epyab29q5b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-rail__tile:hover[b-epyab29q5b] {
    border-color: var(--mud-palette-primary);
}

.chat-rail__doc[b-epyab29q5b] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    text-decoration: none;
    color: inherit;
}

.chat-rail__doc:hover[b-epyab29q5b] {
    border-color: var(--mud-palette-primary);
}

.chat-rail__doc-name[b-epyab29q5b] {
    flex: 1;
    min-width: 0;
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-primary);
}

.chat-rail__doc-size[b-epyab29q5b] {
    flex-shrink: 0;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-disabled);
}

/* ── Members ───────────────────────────────────────────────────────────────── */

.chat-rail__member[b-epyab29q5b] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 2px;
}

/* The dot rides on the avatar rather than beside the name: presence belongs to the face, and a row that
   states it twice reads as two facts. */
.chat-rail__avatar[b-epyab29q5b] {
    position: relative;
    flex-shrink: 0;
    display: flex;
}

.chat-rail__dot[b-epyab29q5b] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-text-disabled);
    border: 2px solid var(--mud-palette-surface);
}

.chat-rail__dot--on[b-epyab29q5b] {
    background: var(--mud-palette-success);
}

.chat-rail__member-body[b-epyab29q5b] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chat-rail__member-name[b-epyab29q5b] {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-rail__member-you[b-epyab29q5b] {
    font-weight: 400;
    color: var(--mud-palette-text-disabled);
}

.chat-rail__member-sub[b-epyab29q5b] {
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
}

/* ── Actions ───────────────────────────────────────────────────────────────── */

.chat-rail__actions[b-epyab29q5b] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.chat-rail__action[b-epyab29q5b] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 6px;
    border: none;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    text-align: left;
    color: var(--mud-palette-text-secondary);
}

.chat-rail__action:hover[b-epyab29q5b] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

/* Leaving is the one action here that cannot be undone with the same click, so it does not look like the
   three switches above it. */
.chat-rail__action--danger[b-epyab29q5b],
.chat-rail__action--danger:hover[b-epyab29q5b] {
    color: var(--mud-palette-error);
}

/* Only on hover, and only in the row it belongs to: a column of crosses beside every colleague's name turns
   a member list into a list of people you might get rid of. Kept reachable by keyboard regardless — :focus-within
   brings it back for anybody tabbing through. */
.chat-rail__member[b-epyab29q5b]  .chat-rail__member-remove {
    opacity: 0;
    transition: opacity 120ms ease;
}

.chat-rail__member:hover[b-epyab29q5b]  .chat-rail__member-remove,
.chat-rail__member:focus-within[b-epyab29q5b]  .chat-rail__member-remove {
    opacity: 1;
}

/* No breakpoint rule here on purpose. Which shape this takes — a third column or a sheet over the thread —
   is decided by the page, which renders one or the other through MudHidden; a display:none in here would
   also hide the sheet, since it is the same element. */
/* /Components/Shared/Chat/ChatVoiceBubble.razor.rz.scp.css */
/* Same bubble geometry as a text message — a recording is a message, not a widget dropped into the thread.
   The player inside brings its own layout; this sheet only frames it. */
.chat-voice[b-tvb7ulc94m] {
    min-width: 300px;
    max-width: 360px;
    padding: 10px 12px 8px;
    border-radius: 12px 12px 12px 4px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

.chat-voice--mine[b-tvb7ulc94m] {
    border-radius: 12px 12px 4px 12px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: transparent;
}

/* What makes a spoken note worth as much as a typed one: the same words search will find. */
.chat-voice__transcript[b-tvb7ulc94m] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.chat-voice__transcript-head[b-tvb7ulc94m] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: color-mix(in srgb, currentColor 65%, transparent);
}

.chat-voice__transcript-head[b-tvb7ulc94m]  .mud-icon-root {
    font-size: 11px;
}

.chat-voice__transcript-body[b-tvb7ulc94m] {
    font-size: 12.5px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    color: color-mix(in srgb, currentColor 92%, transparent);
}

.chat-voice__meta[b-tvb7ulc94m] {
    display: block;
    margin-top: 4px;
    text-align: right;
    font-size: 10px;
    color: color-mix(in srgb, currentColor 70%, transparent);
}
/* /Components/Shared/Chat/ChatVoicePlayer.razor.rz.scp.css */
/* Colours come from whatever hosts the player — a bubble on the primary background, a preview bar on the
   composer's surface — so every rule here is expressed against currentColor. One sheet covers both sides of
   the thread and both themes. */
.chat-player[b-mzc6mejkqn] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.chat-player__play[b-mzc6mejkqn] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    background: color-mix(in srgb, currentColor 14%, transparent);
}

.chat-player__play:hover[b-mzc6mejkqn] {
    background: color-mix(in srgb, currentColor 24%, transparent);
}

.chat-player__wave[b-mzc6mejkqn] {
    flex: 1;
    min-width: 0;
    height: 26px;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Each bar knows its own position along the recording (--chat-audio-at) and compares it to how far playback
   has got (--chat-audio-progress, written by the audio module). The comparison is done in CSS so the fill
   advances at the browser's frame rate without the server being told anything. */
.chat-player__bar[b-mzc6mejkqn] {
    flex: 1;
    min-width: 1px;
    border-radius: 2px;
    background: currentColor;
    opacity: clamp(0.32, (var(--chat-audio-progress, 0) - var(--chat-audio-at)) * 1000, 1);
}

.chat-player__time[b-mzc6mejkqn] {
    flex-shrink: 0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, currentColor 75%, transparent);
}

.chat-player__rate[b-mzc6mejkqn] {
    flex-shrink: 0;
    padding: 2px 5px;
    border: none;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    color: inherit;
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.chat-player__rate:hover[b-mzc6mejkqn] {
    background: color-mix(in srgb, currentColor 22%, transparent);
}
/* /Components/Shared/Dialogs/ChangesDiscardDialog.razor.rz.scp.css */
/* Discard-changes guard — design "centred alert · smart summary".
   Surfaces/text track the MudBlazor palette so light/dark both work; the amber
   (#d97706) and green (#16a34a) accents are the design's own semantic colors. */

.guard[b-baeu33fvws] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
    min-width: 320px;
}

.guard-head[b-baeu33fvws] {
    display: flex;
    gap: 14px;
}

.guard-icon[b-baeu33fvws] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(217, 119, 6, 0.16);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guard-title[b-baeu33fvws] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.25;
    color: var(--mud-palette-text-primary);
}

.guard-body[b-baeu33fvws] {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.55;
    margin: 5px 0 0;
}

/* ── changed-fields summary panel ─────────────────────────────── */
.guard-summary[b-baeu33fvws] {
    border-radius: 10px;
    border: 1px solid var(--mud-palette-lines-default);
    overflow: hidden;
}

.guard-summary-head[b-baeu33fvws] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.guard-dot[b-baeu33fvws] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d97706;
}

.guard-summary-label[b-baeu33fvws] {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.guard-summary-count[b-baeu33fvws] {
    margin-left: auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.66rem;
    font-weight: 600;
    color: #d97706;
}

.guard-row[b-baeu33fvws] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.guard-row:last-child[b-baeu33fvws] {
    border-bottom: none;
}

.guard-row-label[b-baeu33fvws] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    margin-bottom: 3px;
}

.guard-row-diff[b-baeu33fvws] {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
}

.guard-from[b-baeu33fvws] {
    color: var(--mud-palette-text-disabled);
    text-decoration: line-through;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
}

.guard-to[b-baeu33fvws] {
    color: #d97706;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── reassurance: autosaved images survive ────────────────────── */
.guard-note[b-baeu33fvws] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 8px;
    align-self: flex-start;
    background: rgba(22, 163, 74, 0.11);
    border: 1px solid rgba(22, 163, 74, 0.26);
}

.guard-note span[b-baeu33fvws] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #16a34a;
}
/* /Components/Shared/Forms/ActiveCallout.razor.rz.scp.css */
.active-callout[b-xijggpnpro] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 7px;
}

.active-callout-text[b-xijggpnpro] {
    flex: 1;
    min-width: 0;
}

.active-callout-title[b-xijggpnpro] {
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    font-weight: 500;
}

.active-callout-hint[b-xijggpnpro] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    margin-top: 1px;
    line-height: 1.4;
}
/* /Components/Shared/Forms/AutosaveChip.razor.rz.scp.css */
.autosave-chip[b-jz3ial7ewi] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px 2px 6px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    animation: autosaveChipFadeIn-b-jz3ial7ewi 0.2s ease both;
}

.autosave-chip.saved[b-jz3ial7ewi] {
    background: color-mix(in srgb, var(--mud-palette-success) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-success) 25%, transparent);
    color: var(--mud-palette-success);
}

.autosave-chip.saving[b-jz3ial7ewi] {
    background: color-mix(in srgb, var(--mud-palette-warning) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 25%, transparent);
    color: var(--mud-palette-warning);
}

@keyframes autosaveChipFadeIn-b-jz3ial7ewi {
    from { opacity: 0; transform: translateY(-2px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/Shared/Forms/AutosaveSmartFooter.razor.rz.scp.css */
.required-hint[b-ucmax4k3cd] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
}

/*
    Phones (below MudBlazor's md, 960px): the footer stacks. The hint goes on top, and the buttons become full-width
    thumb targets in REVERSE document order, so the primary action — last in the markup — is the first under the
    thumb, then the secondary, then Cancel. The !important is owed to the utility classes on the root (d-flex,
    align-center), which carry it themselves.
*/
@media (max-width: 959.98px) {
    .asf-root[b-ucmax4k3cd] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
    }

    .asf-actions[b-ucmax4k3cd] {
        flex-direction: column-reverse !important;
    }

    .asf-actions[b-ucmax4k3cd]  .mud-button-root {
        width: 100%;
        min-height: 44px;
    }
}
/* /Components/Shared/Forms/AvatarSlot.razor.rz.scp.css */
.avatar-slot[b-zmi5qmtmep] {
    border-radius: 10px;
    border: 1px solid var(--mud-palette-lines-default);
    overflow: hidden;
    background: var(--mud-palette-background-gray);
    flex-shrink: 0;
}

.avatar-slot.is-empty[b-zmi5qmtmep] {
    border: 1.5px dashed var(--mud-palette-lines-inputs);
}

.avatar-slot img[b-zmi5qmtmep] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-empty[b-zmi5qmtmep] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--mud-palette-text-disabled);
}

.avatar-initials[b-zmi5qmtmep] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
/* /Components/Shared/Forms/ChoiceChip.razor.rz.scp.css */
/* The one stylesheet of the choice chip. It lands because ChoiceChip writes the <button> itself; until 16.10.2026 it
   stood in 39 copies, and six components drew the chips with none (known-debt W.64). */

.type-chip[b-hggbx9hdqg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    background: var(--mud-palette-background-gray);
    border: 1.5px solid var(--mud-palette-lines-inputs);
    color: var(--mud-palette-text-primary);
    transition: all 0.15s;
}

.type-chip:hover[b-hggbx9hdqg] {
    border-color: var(--mud-palette-primary-lighten);
}

.type-chip.on[b-hggbx9hdqg] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.type-chip.disabled[b-hggbx9hdqg],
.type-chip:disabled[b-hggbx9hdqg] {
    cursor: default;
    opacity: 0.6;
}

.type-chip.disabled:hover[b-hggbx9hdqg],
.type-chip:disabled:hover[b-hggbx9hdqg] {
    border-color: var(--mud-palette-lines-inputs);
}

.type-chip.on.disabled[b-hggbx9hdqg],
.type-chip.on:disabled[b-hggbx9hdqg] {
    opacity: 0.75;
}

/* Round for one of a set, square for independent ticks — the radio button and the check box. */
.type-chip-indicator[b-hggbx9hdqg] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--mud-palette-lines-inputs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.type-chip.many .type-chip-indicator[b-hggbx9hdqg] {
    border-radius: 3px;
}

.type-chip.on .type-chip-indicator[b-hggbx9hdqg] {
    background: var(--mud-palette-primary-text);
    border-color: var(--mud-palette-primary-text);
    color: var(--mud-palette-primary);
}
/* /Components/Shared/Forms/DialogHeader.razor.rz.scp.css */
.dialog-icon[b-lydszr7jrl] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    color: var(--mud-palette-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* /Components/Shared/Forms/PhoneInput.razor.rz.scp.css */
.phone-row[b-omcdi2qels] {
    display: flex;
    align-items: stretch;
}

/* Remove MudMenu's default wrapper padding */
[b-omcdi2qels] .phone-code-menu {
    display: flex;
}

.phone-code-btn[b-omcdi2qels] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px 0 10px;
    min-width: 74px;
    height: 56px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-right: none;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    background: transparent;
    user-select: none;
    transition: border-color 150ms ease;
    box-sizing: border-box;
}

.phone-code-btn:hover[b-omcdi2qels] {
    border-color: var(--mud-palette-text-primary);
}

.phone-flag[b-omcdi2qels] {
    border-radius: 2px;
    flex-shrink: 0;
}

.phone-dial[b-omcdi2qels] {
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
}

.phone-code-btn[b-omcdi2qels]  .phone-arrow {
    color: var(--mud-palette-text-secondary);
    font-size: 18px !important;
    flex-shrink: 0;
}

[b-omcdi2qels] .phone-local-input {
    flex: 1;
}

[b-omcdi2qels] .phone-local-input .mud-input-outlined-border {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* /Components/Shared/Forms/SectionHeader.razor.rz.scp.css */
.section-header[b-hmbktazi8g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-hmbktazi8g] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-hmbktazi8g] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.section-header-right[b-hmbktazi8g] {
    display: inline-flex;
    align-items: center;
}
/* /Components/Shared/Forms/SignaturePad.razor.rz.scp.css */
.signature-pad[b-4xmrh6joej] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 500px;
}

/* Locked at 5 : 2 — the 500 × 200 a computer has always shown — rather than a fixed 200px height (the owner's decision
   of 13.11.2026): every signature box of the printed documents is wider than the pad and the drawing is scaled to the
   box's HEIGHT, so a narrower proportion came out narrower on paper — a phone's pad (~1.6 : 1) signed about half as wide
   as a computer's. Locked, a signature is equally wide on paper from every device; the price is a lower pad on a phone
   held upright. */
.signature-pad__canvas[b-4xmrh6joej] {
    width: 100%;
    aspect-ratio: 5 / 2;
    height: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background-color: #ffffff;
    cursor: crosshair;
    /* Stop the browser from scrolling/zooming while drawing with touch. */
    touch-action: none;
}

.signature-pad__actions[b-4xmrh6joej] {
    display: flex;
    justify-content: flex-end;
}
/* /Components/Shared/Forms/TsgDateTimeField.razor.rz.scp.css */
/* The two halves of a moment side by side: the day takes what is left, the time of day what "23:59" and its clock
   need. It lands because TsgDateTimeField writes the <div> itself. */

.date-time-field[b-v886tz22dp] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 7.5rem);
    gap: 8px;
    align-items: start;
}
/* /Components/Shared/Forms/WbField.razor.rz.scp.css */
.wb-field-labelline[b-001ovsx34k] {
    display: inline-flex;
    align-items: baseline;
}

/* The mock's field: a label above the control, an optional note opposite it, the hint underneath. Lived as a
   copy in two dialog stylesheets before it became a component; the copies are gone. */

.wb-field[b-001ovsx34k] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wb-field-head[b-001ovsx34k] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.wb-field-label[b-001ovsx34k] {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--mud-palette-text-secondary);
}

.wb-req[b-001ovsx34k] {
    margin-left: 3px;
    color: var(--mud-palette-error);
}

.wb-field-sub[b-001ovsx34k] {
    font-size: 0.7rem;
    color: var(--mud-palette-text-disabled);
}

.wb-field-hint[b-001ovsx34k] {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--mud-palette-text-disabled);
}

.wb-field-error[b-001ovsx34k] {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--mud-palette-error);
}

/* The controls sit right under their label, so MudBlazor's own top margin for a floating label goes away.
   ::deep because the control is child content and carries its own scope, not this component's. */
.wb-field[b-001ovsx34k]  .mud-input-control {
    margin-top: 0;
}

.wb-field[b-001ovsx34k]  .mud-input-control .mud-input.mud-input-outlined {
    margin-top: 0;
}
/* /Components/Shared/Lists/AuditActionPill.razor.rz.scp.css */
.ah-pill[b-9vbd7is2g2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px 3px 6px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: var(--ah-act);
    background: color-mix(in srgb, var(--ah-act) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--ah-act) 30%, transparent);
}
.ah-pill--sm[b-9vbd7is2g2] { font-size: 10.5px; padding: 2px 7px 2px 5px; }
/* /Components/Shared/Lists/AuditDiffCard.razor.rz.scp.css */
.ah-diff-card[b-lxj0mayv6i] {
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    padding: 10px 14px;
}
.ah-diff-field[b-lxj0mayv6i] { margin-bottom: 8px; font-size: 12.5px; color: var(--mud-palette-text-primary); font-weight: 700; }
.ah-diff-cols[b-lxj0mayv6i] { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.ah-diff-cell[b-lxj0mayv6i] {
    padding: 8px 11px;
    border-radius: 6px;
    min-height: 38px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ah-diff-cell--before[b-lxj0mayv6i] {
    background: color-mix(in srgb, var(--mud-palette-error) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-error) 30%, transparent);
}
.ah-diff-cell--after[b-lxj0mayv6i] {
    background: color-mix(in srgb, var(--mud-palette-success) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-success) 30%, transparent);
}
.ah-diff-cell-label[b-lxj0mayv6i] { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.ah-diff-cell--before .ah-diff-cell-label[b-lxj0mayv6i] { color: var(--mud-palette-error); }
.ah-diff-cell--after  .ah-diff-cell-label[b-lxj0mayv6i] { color: var(--mud-palette-success); }
.ah-diff-arrow[b-lxj0mayv6i] { display: flex; align-items: center; justify-content: center; color: var(--mud-palette-text-disabled); }
/* /Components/Shared/Lists/AuditEntryDetail.razor.rz.scp.css */
.ah-detail-head[b-p7hdbed49b] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mud-palette-divider);
}
.ah-detail-head-text[b-p7hdbed49b] { flex: 1; min-width: 0; }
.ah-detail-when[b-p7hdbed49b] { font-size: 13.5px; color: var(--mud-palette-text-primary); font-weight: 600; }
.ah-detail-meta[b-p7hdbed49b] { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ah-detail-user[b-p7hdbed49b] { font-size: 12.5px; color: var(--mud-palette-text-secondary); }
.ah-detail-id[b-p7hdbed49b] { font-size: 11px; color: var(--mud-palette-text-disabled); }

.ah-stats[b-p7hdbed49b] { display: flex; gap: 8px; margin-bottom: 16px; }
.ah-stat[b-p7hdbed49b] {
    padding: 8px 14px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    min-width: 90px;
}
.ah-stat-label[b-p7hdbed49b] {
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 2px;
}
.ah-stat-value[b-p7hdbed49b] { font-size: 15px; font-weight: 700; color: var(--mud-palette-text-primary); }
.ah-stat-value--accent[b-p7hdbed49b] { color: var(--ah-act); }

.ah-diff-list[b-p7hdbed49b] { display: flex; flex-direction: column; gap: 8px; }

.ah-create-card[b-p7hdbed49b] {
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    padding: 12px 14px;
}
.ah-create-label[b-p7hdbed49b] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ah-create-grid[b-p7hdbed49b] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 2px; }
.ah-create-row[b-p7hdbed49b] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid var(--mud-palette-divider);
    min-width: 0;
}
.ah-create-field[b-p7hdbed49b] { min-width: 92px; font-size: 11.5px; color: var(--mud-palette-text-secondary); font-weight: 600; }

.ah-detail-empty[b-p7hdbed49b] {
    padding: 30px 20px;
    text-align: center;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: 10px;
    color: var(--mud-palette-text-disabled);
    font-size: 13px;
}
/* /Components/Shared/Lists/AuditHistoryDialog.razor.rz.scp.css */
/*
    Split-view history popup — shell layout only. Presentational atoms (action pill, value
    chip, avatar, diff card) and the detail pane carry their own scoped styles. The per-action
    accent colour (--ah-act) and the .ah-mono utility are defined globally in app.css.
*/

.ah-root[b-g93dxnr5yu] {
    display: flex;
    flex-direction: column;
    height: 72vh;
    max-height: 760px;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.ah-header[b-g93dxnr5yu] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 14px;
    border-bottom: 1px solid var(--mud-palette-divider);
}
.ah-header-icon[b-g93dxnr5yu] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
    color: var(--mud-palette-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ah-header-text[b-g93dxnr5yu] { min-width: 0; }
.ah-title[b-g93dxnr5yu] {
    font-size: 16px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    letter-spacing: -0.2px;
    line-height: 1.2;
}
.ah-subtitle[b-g93dxnr5yu] {
    font-size: 12.5px;
    color: var(--mud-palette-text-disabled);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.ah-subtitle-id[b-g93dxnr5yu]   { color: var(--mud-palette-text-secondary); font-weight: 600; }
.ah-subtitle-sep[b-g93dxnr5yu]  { color: var(--mud-palette-text-disabled); }
.ah-subtitle-name[b-g93dxnr5yu] {
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ah-header-actions[b-g93dxnr5yu] { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* ── Toolbar ─────────────────────────────────────────────────────────── */
.ah-toolbar[b-g93dxnr5yu] {
    padding: 10px 22px;
    border-bottom: 1px solid var(--mud-palette-divider);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--mud-palette-background-gray);
}
.ah-search[b-g93dxnr5yu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    min-width: 240px;
    flex: 0 1 320px;
}
.ah-search-input[b-g93dxnr5yu] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    color: var(--mud-palette-text-primary);
    font-size: 12.5px;
    font-family: inherit;
}
.ah-search-input[b-g93dxnr5yu]::placeholder { color: var(--mud-palette-text-disabled); }
.ah-search-clear[b-g93dxnr5yu] {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    padding: 0;
}
.ah-chips[b-g93dxnr5yu] { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ah-chip[b-g93dxnr5yu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px 3px 7px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
}
.ah-chip-dot[b-g93dxnr5yu] { width: 6px; height: 6px; border-radius: 50%; background: var(--ah-act); }
.ah-chip-count[b-g93dxnr5yu] { font-weight: 700; font-size: 11px; color: var(--mud-palette-text-disabled); }
.ah-chip--active[b-g93dxnr5yu] {
    color: var(--ah-act);
    background: color-mix(in srgb, var(--ah-act) 16%, transparent);
    border-color: color-mix(in srgb, var(--ah-act) 38%, transparent);
}
.ah-chip--active .ah-chip-count[b-g93dxnr5yu] { color: var(--ah-act); }

/* ── Body / split ────────────────────────────────────────────────────── */
.ah-body[b-g93dxnr5yu] { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.ah-split[b-g93dxnr5yu] { display: grid; grid-template-columns: 300px 1fr; height: 100%; min-height: 0; }

.ah-rail[b-g93dxnr5yu] {
    border-right: 1px solid var(--mud-palette-divider);
    overflow-y: auto;
    background: var(--mud-palette-background-gray);
}
.ah-rail-item[b-g93dxnr5yu] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid var(--mud-palette-divider);
    border-left: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.ah-rail-item:hover[b-g93dxnr5yu] { background: var(--mud-palette-action-default-hover); }
.ah-rail-item--active[b-g93dxnr5yu] {
    background: var(--mud-palette-surface);
    border-left-color: var(--ah-act);
}
.ah-rail-top[b-g93dxnr5yu] { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ah-rail-time[b-g93dxnr5yu] { margin-left: auto; font-size: 11px; color: var(--mud-palette-text-disabled); }
.ah-rail-summary[b-g93dxnr5yu] {
    font-size: 12.5px;
    color: var(--mud-palette-text-primary);
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ah-rail-user[b-g93dxnr5yu] { display: flex; align-items: center; gap: 6px; }
.ah-rail-user-name[b-g93dxnr5yu] {
    font-size: 11.5px;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ah-detail[b-g93dxnr5yu] { overflow-y: auto; padding: 20px 24px; background: var(--mud-palette-surface); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.ah-footer[b-g93dxnr5yu] {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    border-top: 1px solid var(--mud-palette-divider);
    gap: 10px;
    background: var(--mud-palette-background-gray);
}
.ah-footer-count[b-g93dxnr5yu] { font-size: 12px; color: var(--mud-palette-text-disabled); }

/* ── Empty states ────────────────────────────────────────────────────── */
.ah-empty-state[b-g93dxnr5yu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    padding: 40px;
    text-align: center;
}
.ah-empty-state[b-g93dxnr5yu]  .ah-empty-icon { color: var(--mud-palette-text-disabled); opacity: 0.5; }
.ah-empty-title[b-g93dxnr5yu] { font-size: 14px; font-weight: 600; color: var(--mud-palette-text-secondary); }
.ah-empty-body[b-g93dxnr5yu]  { font-size: 12.5px; color: var(--mud-palette-text-disabled); }
/* /Components/Shared/Lists/AuditUserAvatar.razor.rz.scp.css */
.ah-avatar[b-gbql80c5fg] {
    width: var(--ah-size);
    height: var(--ah-size);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--ah-size) * 0.42);
    font-weight: 700;
    flex-shrink: 0;
    background: color-mix(in oklch, oklch(60% 0.12 var(--ah-hue)) 22%, transparent);
    color: oklch(80% 0.12 var(--ah-hue));
    border: 1px solid color-mix(in oklch, oklch(60% 0.12 var(--ah-hue)) 32%, transparent);
}
/* /Components/Shared/Lists/AuditValue.razor.rz.scp.css */
.ah-val[b-b8o597ze6s] {
    display: inline-block;
    vertical-align: middle;
    font-size: 12.5px;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.ah-val--dim[b-b8o597ze6s]  { color: var(--mud-palette-text-secondary); }
.ah-val--null[b-b8o597ze6s] { color: var(--mud-palette-text-disabled); letter-spacing: 0.5px; }

.ah-bool[b-b8o597ze6s] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 7px 1px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
.ah-bool--true[b-b8o597ze6s]  { color: var(--mud-palette-success); background: color-mix(in srgb, var(--mud-palette-success) 12%, transparent); }
.ah-bool--false[b-b8o597ze6s] { color: var(--mud-palette-error);   background: color-mix(in srgb, var(--mud-palette-error) 12%, transparent); }
.ah-bool-dot[b-b8o597ze6s] { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
/* /Components/Shared/Lists/EntityRowActions.razor.rz.scp.css */
.actions-cell[b-k7bpmhiwy5] {
    gap: 2px;
    flex-wrap: nowrap;
}
/* /Components/Shared/Lists/FilterBarShell.razor.rz.scp.css */
.filter-panel[b-x3npc58nek] {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-background-grey);
}

/* From MudBlazor's md (960px) up the search takes the room the buttons leave. Not on phones: there it keeps
   MudBlazor's own sizing, see below. */
@media (min-width: 960px) {
    .filter-toolbar[b-x3npc58nek]  .filter-search {
        flex: 1;
    }
}

/*
    Phones, below MudBlazor's md (960px). The toolbar wraps: the search shares the first row with the filter toggle,
    the buttons wrap onto the second, and the everyday controls (a labelled switch) take a row of their own. A rule
    that kept the create button and the recycle bin on the first row was written before the export button and never
    reached the search; reaching it, it left the bin alone on a row, so it went (known-debt W.89, the owner's
    decision of 17.10.2026). The advanced panel becomes a bottom sheet. Its z-index sits ABOVE the drawer (1100) and
    BELOW the popover layer (1200) on purpose: a select or a date picker inside the sheet opens in that layer, and a
    sheet stacked higher would cover its own dropdowns.
*/
@media (max-width: 959.98px) {
    .filter-toolbar[b-x3npc58nek] {
        flex-wrap: wrap;
    }

    .filter-toolbar-slot:not(:empty)[b-x3npc58nek] {
        order: 10;
        flex: 1 1 100%;
    }

    .filter-sheet-scrim[b-x3npc58nek] {
        position: fixed;
        inset: 0;
        z-index: 1149;
        background: rgba(15, 17, 23, 0.4);
    }

    .filter-panel[b-x3npc58nek] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1150;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        padding: 8px 16px 16px;
        border-top: none;
        border-radius: 16px 16px 0 0;
        background: var(--mud-palette-surface);
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
    }

    .filter-sheet-head[b-x3npc58nek] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 8px;
    }

    .filter-sheet-grip[b-x3npc58nek] {
        width: 38px;
        height: 4px;
        border-radius: 2px;
        background: var(--mud-palette-lines-default);
        align-self: center;
    }

    .filter-sheet-foot[b-x3npc58nek] {
        position: sticky;
        bottom: -16px;
        display: flex;
        gap: 10px;
        margin: 14px -16px -16px;
        padding: 12px 16px 16px;
        background: var(--mud-palette-surface);
        border-top: 1px solid var(--mud-palette-divider);
    }

    .filter-sheet-foot[b-x3npc58nek]  .mud-button-root {
        flex: 1;
        min-height: 44px;
    }
}
/* /Components/Shared/Lists/ResponsiveListView.razor.rz.scp.css */
/*
    Wide screens: the table is the list; the cards do not exist. Phones (below MudBlazor's md, 960px): the table is
    hidden by display — NOT removed, see the component's own comment — and the cards take its place and its height.
    The three height rules keep the grid filling a FullHeightPage exactly as it did when its paper was the row's own
    grid item: the wrapper now is, and hands the height down.
*/
.rlv[b-x89mtnl2iz],
.rlv-table[b-x89mtnl2iz] {
    height: 100%;
    min-height: 0;
}

.rlv-table[b-x89mtnl2iz]  > .mud-paper {
    height: 100%;
}

.rlv-cards[b-x89mtnl2iz] {
    display: none;
}

@media (max-width: 959.98px) {
    .rlv-table[b-x89mtnl2iz] {
        display: none;
    }

    .rlv-cards[b-x89mtnl2iz] {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;
        min-height: 0;
        overflow-y: auto;
        padding: 2px 2px 12px;
    }

    /* The table floor holds for the cards too (app.css, --tsg-table-min-height; plans/plan-common-ui-design-fix-01.md):
       in a short window the page grows and the content field scrolls, and the cards keep scrolling inside, as before.
       contain: size for the reason the grid has it — without it the cards would answer "all of me" and the page would
       grow to them. Here, not in app.css: the rule above weighs as much as one there and is loaded after it. Only in a
       FullHeightPage, as measured — the gallery's demo stands in none and keeps the height of its cards. */
    .full-height-page .rlv-cards[b-x89mtnl2iz] {
        contain: size;
        min-height: var(--tsg-table-min-height);
    }

    .rlv-card[b-x89mtnl2iz] {
        background: var(--mud-palette-surface);
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 12px;
        padding: 12px 14px;
        flex-shrink: 0;
    }

    .rlv-pager[b-x89mtnl2iz] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 4px 0;
        flex-shrink: 0;
    }

    .rlv-pager-label[b-x89mtnl2iz] {
        font-size: 12.5px;
        color: var(--mud-palette-text-secondary);
        min-width: 120px;
        text-align: center;
    }
}
/* /Components/Shared/Lists/TriStateBoolFilter.razor.rz.scp.css */
.tristate-outlined[b-r2fhqmmfjs] {
    display: inline-flex;
    align-items: center;
    width: 200px;
    flex: 0 0 auto;
    height: 40px;
    padding: 0 8px 0 4px;
    vertical-align: middle;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius, 4px);
    background: transparent;
    box-sizing: border-box;
    transition: border-color 0.15s;
    cursor: pointer;
    user-select: none;
}

    .tristate-outlined:hover[b-r2fhqmmfjs] {
        border-color: var(--mud-palette-action-default);
    }

    .tristate-outlined:focus-within[b-r2fhqmmfjs] {
        border-color: var(--mud-palette-primary);
    }

    /* Let the wrapper own all click handling so the entire box is clickable. */
    .tristate-outlined[b-r2fhqmmfjs]  .mud-checkbox {
        margin: 0;
        align-self: center;
        width: 100%;
        min-width: 0;
        pointer-events: none;
    }

    .tristate-outlined[b-r2fhqmmfjs]  .mud-checkbox > label {
        width: 100%;
        min-width: 0;
    }

    .tristate-outlined[b-r2fhqmmfjs]  .mud-checkbox .mud-typography {
        font-size: 0.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
/* /Components/Shared/Page/FullHeightPage.razor.rz.scp.css */
/*
    Three explicit rows: page header, filter bar, scrollable content. This means the page expects EXACTLY THREE
    grid items — and a Blazor child component contributes its own root elements directly, with no wrapper of its
    own, so a filter-bar component that renders two roots silently shifts the content into an implicit fourth row: the
    third row — now the filter bar's second root — stretches over what is left, and the content lands under it, out of
    the window (until 20.11.2026, when the page had a fixed height, `overflow: hidden` cut it away). Give each of the
    three slots a single root element.

    The page is AT LEAST as tall as the content field (the layout's .tsg-page, app.css), not exactly as tall: in a tall
    window it fills the field and the third row takes what the first two leave; in a short one the page grows to its
    rows and the field scrolls (plans/plan-common-ui-design-fix-01.md, 20.11.2026). A table keeps its floor
    (--tsg-table-min-height, app.css), so the page grows rather than the table shrinking.
    Until then the height was `calc(100vh - 112px)` (`calc(100dvh - 88px)` on a phone), and in a short window the third
    row got what was left, down to 0 px — and the grid squeezed the filter bar as well: its paper is `overflow: hidden`
    for the rounded corners, which gives a grid item an automatic minimum height of 0, so it cut its own fields. The 112
    was MudBlazor's default 64 px app bar and the padding, while the theme in use has an 80 px one, so the page was
    16 px taller than its room in every window. The height is no longer computed from the window at all: the field
    already is the window under the app bar.

    overflow: clip, not hidden (owner's decision of 20.11.2026): both cut the same edge — whatever still reaches past
    the page — but hidden made the page a scroll container, and a sticky box sticks to its nearest one. The side card of
    the service offer, order and protocol details (position: sticky; top: 16px) stuck to the page, which does not
    scroll, and went up with it; with clip it sticks to the content field. Measured with a probe on 20.11.2026: 300 px
    above the field's top with hidden, 40 px below it with clip.

    The page is never wider than the content field (owner's decision of 20.11.2026, stage 3 of the plan): an implicit
    column is auto, as wide as the widest minimum in it, so a page header whose actions could not wrap, or the five tabs
    of at least 120 px of a vehicle's details, made the whole page that wide and overflow: clip cut it on the right —
    the cards, not only the buttons; measured on a phone upright over the 62 details pages the E2E seed reaches, every
    one, by up to 515 px. With minmax(0, 1fr) wide content overflows its own box only, and MudTabs draws its scroll
    buttons, because its bar is now narrower than its tabs.
*/
.full-height-page[b-vu38e953f4] {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    min-height: 100%;
    overflow: clip;
}
/* /Components/Shared/Page/PageHeader.razor.rz.scp.css */
/* The title yields first (owner's decision of 21.11.2026, known-debt W.163). A wrapping row breaks its line on what each
   item asks on one line, and the title with its subtitle is one item: from stage 3 of plans/plan-common-ui-design-fix-01.md
   on, the old ERP's long names sent the actions under the title on a wide window too — at 1900 × 905, 1 129 of the
   1 242 service protocols (laid out with their nine buttons), 1 982 of the 5 550 articles and 1 of the 291 companies,
   measured on 21.11.2026 with the names of the first seed written into this header.

   So the title asks the lesser of its one-line width and 15rem. A short title keeps the actions beside it exactly as
   before; a long one wraps its words beside them down to 15rem, and only then do they take a line under it. Measured the
   same day: at 1900 × 905 none of the three goes under, at 1600 × 900 no company, and over the 62 details pages the E2E
   seed reaches and the 28 other headers with actions, at five sizes from a phone up, nothing stands worse than before.

   calc-size() is Chromium 129 and later — the Chrome and Edge the company works in (known-debt T.96). Where it is not,
   the basis is dropped and the row wraps as stage 3 left it. A floor instead — flex-basis 0 and min-width 15rem — was
   measured and refused: it sends the actions under SHORT titles they fitted beside — the vehicle, the condition document
   and the fuel supplier at 1366 × 768, the article at 1600 × 900, and three lists and a dashboard on a phone upright. */
.page-header-title[b-uld9dh094w] {
    flex-grow: 1;
    flex-basis: calc-size(max-content, min(size, 15rem));
}
/* /Components/Shared/Pickers/CompanyEmployeeOrTextPicker.razor.rz.scp.css */
/* One input tall in every state. The mode switch sits inside the input rather than above it, and the helper
   row is always rendered — together that is what keeps the field beside this one from jumping when the user
   changes their mind about where the name comes from. */
.mol-picker[b-5s919pm3cj] {
    position: relative;
}

/* Room for the mode switch at the right end of the input, so a long name never runs under it. The padding
   goes on the inner slot, never on the control: on the control it would pull the outlined border inwards and
   leave the switch hanging outside the field. */
.mol-picker[b-5s919pm3cj]  .mud-input-root {
    padding-right: 84px;
}

/* MudField sizes to its content unless told otherwise, and a field narrower than its neighbours is the one
   thing this design set out to avoid. */
.mol-picker[b-5s919pm3cj]  .mud-field {
    width: 100%;
}

.mol-picker__mode[b-5s919pm3cj] {
    position: absolute;
    top: 12px;
    right: 8px;
    z-index: 2;
}

/* Dense enough to live inside a 56px input: icon-only items, hairline border from the theme. */
.mol-picker__mode[b-5s919pm3cj]  .mud-toggle-group {
    height: 32px;
    border-color: var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
}

.mol-picker__mode[b-5s919pm3cj]  .mud-toggle-item {
    width: 34px;
    min-width: 34px;
    padding: 0;
    color: var(--mud-palette-action-default);
}

/* A tint, not a fill: the selected mode has to read as quieter than the picked-person chip, which is the
   one thing in this field allowed to look solid. */
.mol-picker__mode[b-5s919pm3cj]  .mol-picker__mode-on {
    background-color: color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
    color: var(--mud-palette-primary);
}

.mol-picker__help[b-5s919pm3cj] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
    padding: 4px 14px 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--mud-palette-text-secondary);
}

.mol-picker__help--error[b-5s919pm3cj] {
    color: var(--mud-palette-error);
}

.mol-picker__help b[b-5s919pm3cj] {
    font-weight: 500;
    color: var(--mud-palette-text-primary);
}

.mol-picker__help[b-5s919pm3cj]  .mud-icon-root {
    font-size: 14px;
}

/* MudField carries no value of its own, so nothing lifts its label off the chip. This is MudBlazor's own
   shrink transform, copied rather than invented, so the three states notch the outline identically. */
.mol-picker[b-5s919pm3cj]  .mud-field .mud-input-label-outlined {
    transform: translate(14px, -6px) scale(0.75);
}

/* The picked person is the only filled shape inside the field — that is the whole signal that this name is a
   record rather than something somebody typed. */
.mol-picker[b-5s919pm3cj]  .mud-field-inner .mud-chip {
    margin: 0;
}
/* /Components/Shared/Pickers/PickedEntityCard.razor.rz.scp.css */
/* Mirrors the company-affiliation card in the sub-entity dialogs, so a picked record reads the same everywhere. */
.picked-entity-card[b-v3zcq83rgd] {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Slightly tighter than the sub-entity dialogs': here the card sits where an input was, so the closer its
       height is to a field's, the less the form jumps when a party is picked. */
    padding: 8px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.picked-entity-card-icon[b-v3zcq83rgd] {
    color: var(--mud-palette-primary);
    display: flex;
}

.picked-entity-card-body[b-v3zcq83rgd] {
    flex: 1;
    min-width: 0;
}

.picked-entity-card-name[b-v3zcq83rgd] {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.picked-entity-card-sub[b-v3zcq83rgd] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.35;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/Print/PrintFormDialog.razor.rz.scp.css */
.print-form[b-otenz67r9r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.print-form-toolbar[b-otenz67r9r] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.print-form-zoom[b-otenz67r9r] {
    min-width: 48px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* The pages scroll inside the dialog, never the page under it. A block, not a centring flexbox: a sheet zoomed wider
   than the dialog must still scroll to its left edge, and a centred flex item overflows on both sides. */
.print-form-pages[b-otenz67r9r] {
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    border-radius: 4px;
    background: var(--mud-palette-background-gray);
}

/* "Save image" can only be made harder: no selection, and no long-press menu on an iPhone. */
.print-form-page[b-otenz67r9r] {
    display: block;
    max-width: none;
    margin: 0 auto 12px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
/* /Components/Shared/Voice/VoiceMicButton.razor.rz.scp.css */
/* The pulse says that listening is live, beside the icon and the colour, which change with it: the Web Speech API has
   no visible affordance of its own, and the operating system's microphone indicator is off-screen for most users.

   MudIconButton draws the button, and a scoped stylesheet reaches only the elements its own component writes — so the
   rules go through ::deep from the span this component writes, which takes no box of its own and leaves the button the
   host's flex item it always was. Until 16.10.2026 they named the button directly and never landed (known-debt W.89). */

.voice-mic-host[b-rs3v5nd9ii] {
    display: contents;
}

.voice-mic-host[b-rs3v5nd9ii]  .voice-mic--listening {
    animation: voice-mic-pulse-b-rs3v5nd9ii 1.4s ease-in-out infinite;
}

@keyframes voice-mic-pulse-b-rs3v5nd9ii {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-error-rgb), 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(var(--mud-palette-error-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-error-rgb), 0);
    }
}

/* Respect a reduced-motion preference: the colour and icon change already carry the state. */
@media (prefers-reduced-motion: reduce) {
    .voice-mic-host[b-rs3v5nd9ii]  .voice-mic--listening {
        animation: none;
    }
}
/* /Components/TSG/AdminItem/Leave/LeaveApplicationStatus/LeaveApplicationStatusEditDialog.razor.rz.scp.css */
.required-star[b-0m8q11az52] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-0m8q11az52] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Leave/LeaveReason/LeaveReasonEditDialog.razor.rz.scp.css */
.required-star[b-1ef8327c9c] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-1ef8327c9c] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Leave/LeaveType/LeaveTypeEditDialog.razor.rz.scp.css */
.required-star[b-v8p43iv3js] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-v8p43iv3js] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceBillingBasis/ServiceBillingBasisEditDialog.razor.rz.scp.css */
.required-star[b-kb8lctcc0r] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-kb8lctcc0r] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceCallSource/ServiceCallSourceEditDialog.razor.rz.scp.css */
.required-star[b-2uliwq3fpl] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-2uliwq3fpl] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceCallStatus/ServiceCallStatusEditDialog.razor.rz.scp.css */
.required-star[b-uyv9vll1ic] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-uyv9vll1ic] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceIncomingEmailStatus/ServiceIncomingEmailStatusEditDialog.razor.rz.scp.css */
.required-star[b-7t307e741g] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-7t307e741g] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceOfferStatus/ServiceOfferStatusEditDialog.razor.rz.scp.css */
.required-star[b-cs6q309zj6] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-cs6q309zj6] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceOrderStatus/ServiceOrderStatusEditDialog.razor.rz.scp.css */
.required-star[b-emkbnu8g8y] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-emkbnu8g8y] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceProblemStatus/ServiceProblemStatusEditDialog.razor.rz.scp.css */
.required-star[b-nqq9b0ednw] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-nqq9b0ednw] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Service/ServiceProtocolStatus/ServiceProtocolStatusEditDialog.razor.rz.scp.css */
.required-star[b-9gy6ppms2e] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-9gy6ppms2e] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/ArticleRepairStatus/ArticleRepairStatusEditDialog.razor.rz.scp.css */
.required-star[b-jsu2iuudrn] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-jsu2iuudrn] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreOrderStatus/StoreOrderStatusEditDialog.razor.rz.scp.css */
.required-star[b-my6tzd4wqf] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-my6tzd4wqf] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreOrderType/StoreOrderTypeEditDialog.razor.rz.scp.css */
.required-star[b-0apgf7s9my] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-0apgf7s9my] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreProtocolReason/StoreProtocolReasonEditDialog.razor.rz.scp.css */
.required-star[b-7zsc39ozb7] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-7zsc39ozb7] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreProtocolStatus/StoreProtocolStatusEditDialog.razor.rz.scp.css */
.required-star[b-60ih38lv31] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-60ih38lv31] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreProtocolType/StoreProtocolTypeEditDialog.razor.rz.scp.css */
.required-star[b-m25jopsh6i] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-m25jopsh6i] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreRequestStatus/StoreRequestStatusEditDialog.razor.rz.scp.css */
.required-star[b-1znw9m91di] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-1znw9m91di] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Store/StoreRequestType/StoreRequestTypeEditDialog.razor.rz.scp.css */
.required-star[b-pfmbp0a267] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-pfmbp0a267] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportFuelPayType/TransportFuelPayTypeEditDialog.razor.rz.scp.css */
.required-star[b-9k39dvpos2] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-9k39dvpos2] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportFuelType/TransportFuelTypeEditDialog.razor.rz.scp.css */
.required-star[b-ntd2dlgeya] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-ntd2dlgeya] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportProtocolReason/TransportProtocolReasonEditDialog.razor.rz.scp.css */
.required-star[b-e516qen1cj] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-e516qen1cj] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportProtocolStatus/TransportProtocolStatusEditDialog.razor.rz.scp.css */
.required-star[b-rb46mm5e69] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-rb46mm5e69] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportStopPointType/TransportStopPointTypeEditDialog.razor.rz.scp.css */
.required-star[b-q162wo64dr] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-q162wo64dr] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportTicketStatus/TransportTicketStatusEditDialog.razor.rz.scp.css */
.required-star[b-aryji45iq0] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-aryji45iq0] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportVehicleConditionProtocolType/TransportVehicleConditionProtocolTypeEditDialog.razor.rz.scp.css */
.required-star[b-vrwl5aryba] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-vrwl5aryba] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportVehicleEquipmentProtocolType/TransportVehicleEquipmentProtocolTypeEditDialog.razor.rz.scp.css */
.required-star[b-dr2qexq713] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-dr2qexq713] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/AdminItem/Transport/TransportVehicleProtocolType/TransportVehicleProtocolTypeEditDialog.razor.rz.scp.css */
.required-star[b-75f870dchh] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-75f870dchh] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
/* /Components/TSG/Chat/ChatBrowse.razor.rz.scp.css */
/* Chat is a full-bleed screen: the app chrome, then straight into the columns — no page header, no filter
   bar. That is why it does NOT use FullHeightPage: that component is a three-row grid
   (auto / auto / minmax(0,1fr)) and its own comment warns it expects exactly three children. Handing it a
   single shell puts the shell in the first `auto` row, where it gets content height and stops short of the
   viewport. The shell is exactly as tall as the content field — the layout's .tsg-page (app.css), which already is
   the window under the app bar, less its padding. Until 20.11.2026 it was calc(100vh - 112px): MudBlazor's default
   64 px app bar and the padding, while the theme in use has an 80 px bar, so the shell was 16 px taller than its room
   (plans/plan-common-ui-design-fix-01.md, stage 2; NoHeightIsTheWindowLessPixelsTests keeps such a number out). */

.chat-shell[b-smfblhw04i] {
    display: flex;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* ── Conversation list ─────────────────────────────────────────────────────── */

.chat-list[b-smfblhw04i] {
    width: 322px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
}

.chat-list__head[b-smfblhw04i] {
    flex-shrink: 0;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.chat-list__title[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Segmented control: one pill track, the active option lifted out of it. Reads as a single control rather
   than four loose chips, which is what the mockup shows and what keeps the row visually tight. */
.chat-seg[b-smfblhw04i] {
    display: flex;
    gap: 2px;
    padding: 2px;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
}

.chat-seg__opt[b-smfblhw04i] {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 4px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.chat-seg__opt:hover[b-smfblhw04i] {
    color: var(--mud-palette-text-primary);
}

.chat-seg__opt--on[b-smfblhw04i] {
    background: var(--mud-palette-surface);
    color: var(--mud-palette-primary);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.chat-list__scroll[b-smfblhw04i] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.chat-list__foot[b-smfblhw04i] {
    flex-shrink: 0;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* A row is avatar + a column that must be allowed to shrink, or long names push the time off the edge.
   min-width:0 on the body is what makes text-overflow work inside a flex child. */
.chat-row[b-smfblhw04i] {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    position: relative;
}

.chat-row:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
}

.chat-row--active[b-smfblhw04i] {
    background: var(--mud-palette-primary-hover);
    box-shadow: inset 2px 0 0 var(--mud-palette-primary);
}

.chat-row__body[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-row__line[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.chat-row__name[b-smfblhw04i] {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-row__time[b-smfblhw04i] {
    font-size: 10px;
    flex-shrink: 0;
    color: var(--mud-palette-text-disabled);
}

.chat-row__time--unread[b-smfblhw04i] {
    color: var(--mud-palette-primary);
}

.chat-row__preview[b-smfblhw04i] {
    font-size: 11.5px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.chat-row__badge[b-smfblhw04i] {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-row__meta[b-smfblhw04i] {
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
}

/* ── Search results ────────────────────────────────────────────────────────── */

.chat-sect[b-smfblhw04i] {
    padding: 9px 14px 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

.chat-hit[b-smfblhw04i] {
    display: flex;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.chat-hit:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
}

.chat-hit__body[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
}

.chat-hit__line[b-smfblhw04i] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.chat-hit__who[b-smfblhw04i] {
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Which conversation it was said in — the question a messenger's search does not have to answer and this one
   does, so it is on the same line as the name rather than tucked under it. */
.chat-hit__where[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-disabled);
}

.chat-hit__time[b-smfblhw04i] {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--mud-palette-text-disabled);
}

.chat-hit__text[b-smfblhw04i] {
    margin-top: 2px;
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.chat-hit__text[b-smfblhw04i]  .chat-hit__kind {
    font-size: 13px !important;
    vertical-align: text-bottom;
    color: var(--mud-palette-text-disabled);
}

.chat-hit__mark[b-smfblhw04i] {
    padding: 0 1px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--mud-palette-warning) 30%, transparent);
    color: var(--mud-palette-text-primary);
}

/* The thread is showing the past, opened from a search result. */
.chat-past[b-smfblhw04i] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 16px;
    font-size: 11.5px;
    background: color-mix(in srgb, var(--mud-palette-warning) 10%, transparent);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
}

/* ── Thread ────────────────────────────────────────────────────────────────── */

.chat-thread[b-smfblhw04i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--mud-palette-background);
}

.chat-thread__head[b-smfblhw04i] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 16px;
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* One line and no more: the topic explains the group, it does not become a second header. */
.chat-thread__head[b-smfblhw04i]  .chat-thread__topic {
    display: block;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-disabled) !important;
}

/* Pushes the rail toggle to the far end of the header, so it stays put whatever the title's length. */
.chat-thread__spacer[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
}

.chat-thread__scroll[b-smfblhw04i] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-thread__composer[b-smfblhw04i] {
    flex-shrink: 0;
    padding: 10px 16px 12px;
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.chat-empty[b-smfblhw04i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── Messages ──────────────────────────────────────────────────────────────── */

.chat-line[b-smfblhw04i] {
    display: flex;
    gap: 9px;
    align-items: flex-end;
}

.chat-line--mine[b-smfblhw04i] {
    justify-content: flex-end;
}

.chat-line__col[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 560px;
}

.chat-line--mine .chat-line__col[b-smfblhw04i] {
    align-items: flex-end;
}

.chat-line__who[b-smfblhw04i] {
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 4px;
    padding: 0 2px;
    color: var(--mud-palette-text-secondary);
}

/* The gutter that keeps grouped messages aligned under the first one's avatar. */
.chat-line__gutter[b-smfblhw04i] {
    width: 30px;
    flex-shrink: 0;
}

.chat-bubble[b-smfblhw04i] {
    padding: 9px 12px;
    border-radius: 12px 12px 12px 4px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    font-size: 13.5px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-bubble--mine[b-smfblhw04i] {
    border-radius: 12px 12px 4px 12px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: transparent;
}

/* Floated so a short message keeps the timestamp on the same line and the bubble stays small; a block
   element here is what made "ор" render as a large empty box. The float must precede the text in source
   order for the text to wrap around it. */
.chat-bubble__meta[b-smfblhw04i] {
    float: right;
    margin-left: 10px;
    transform: translateY(5px);
    font-size: 10px;
    /* Dimmed through the colour, not through opacity: opacity composites the whole span as one layer, so a
       child that asks for full strength — the read tick — cannot get it back. */
    color: color-mix(in srgb, currentColor 70%, transparent);
    white-space: nowrap;
}

/* Status ticks ride inside the floated meta, so they inherit its 10px size and the bubble's own colour —
   which is what keeps them legible on the primary background without a second set of rules per theme. The
   negative tracking is what makes the two glyphs read as one double tick rather than two singles. */
.chat-tick[b-smfblhw04i] {
    margin-left: 3px;
    letter-spacing: -3px;
    padding-right: 3px;
}

/* Read is the one state worth a colour: the sender is scanning for it, and opacity alone cannot carry the
   difference from "delivered" at this size. */
.chat-tick--seen[b-smfblhw04i] {
    color: var(--mud-palette-info);
    font-weight: 700;
}

/* The kind icon that stands in front of a preview with no words of its own. ::deep because MudIcon renders
   its own root element, which never carries this component's scope attribute. */
.chat-row__line[b-smfblhw04i]  .chat-row__kind {
    flex-shrink: 0;
    font-size: 13px !important;
    color: var(--mud-palette-text-disabled);
}

/* Recording bar. Red because it is a state you must be able to notice you are in — the failure this prevents
   is a three-second accident nobody meant to send. */
.chat-rec[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--mud-palette-error) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-error) 30%, transparent);
}

.chat-rec__dot[b-smfblhw04i] {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--mud-palette-error);
    animation: chat-rec-pulse-b-smfblhw04i 1.1s infinite;
}

@keyframes chat-rec-pulse-b-smfblhw04i {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.chat-rec__clock[b-smfblhw04i] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-error);
}

.chat-rec__wave[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
    height: 26px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.chat-rec__bar[b-smfblhw04i] {
    flex: 1;
    min-width: 1px;
    border-radius: 2px;
    background: var(--mud-palette-error);
    /* Transitioned so the meter reads as a level rather than as a strobe: ticks arrive five times a second,
       which is fast enough to flicker and slow enough to look stepped without this. */
    transition: height .18s ease-out;
}

.chat-rec__label[b-smfblhw04i] {
    flex-shrink: 0;
    font-size: 11.5px;
    color: var(--mud-palette-text-secondary);
}

.chat-rec__slide[b-smfblhw04i] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Armed: letting go now throws the take away, and the reader has to be able to see that before they do. */
.chat-rec__slide--armed[b-smfblhw04i] {
    font-weight: 700;
    color: var(--mud-palette-error);
}

.chat-composer__mic--cancel[b-smfblhw04i] {
    background: color-mix(in srgb, var(--mud-palette-error) 18%, transparent);
    color: var(--mud-palette-error);
}

@media (max-width: 900px) {
    /* The sentence is the first thing to go on a narrow screen; the clock and the level still say everything
       that matters. */
    .chat-rec__label[b-smfblhw04i] {
        display: none;
    }
}

/* Review bar. Neutral, not red: the microphone is off and nothing is at stake yet — the only decision left is
   whether this take is worth sending. */
.chat-review[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
}

.chat-review[b-smfblhw04i]  .chat-player {
    flex: 1;
    min-width: 0;
}

.chat-review__transcript[b-smfblhw04i] {
    margin-top: 6px;
    padding: 0 4px;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
}

.chat-review__transcript-label[b-smfblhw04i] {
    margin-right: 6px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

/* Staging tray. Everything picked sits here until the caption is written and Send is pressed — the same
   principle as the voice review bar: nothing leaves the machine before its author has looked at it. */
.chat-stage[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
}

.chat-stage__head[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-stage__count[b-smfblhw04i] {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-stage__size[b-smfblhw04i] {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
}

.chat-stage__tiles[b-smfblhw04i] {
    display: flex;
    gap: 9px;
    /* Scrolls rather than wraps: ten thumbnails wrapping would push the composer off a laptop screen. */
    overflow-x: auto;
    padding-bottom: 2px;
}

.chat-stage__tile[b-smfblhw04i] {
    position: relative;
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.chat-stage__tile img[b-smfblhw04i] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Anything without a picture to show — a PDF, or a photo too large to preview inline. */
.chat-stage__doc[b-smfblhw04i] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px;
    color: var(--mud-palette-text-secondary);
}

.chat-stage__docname[b-smfblhw04i] {
    max-width: 100%;
    font-size: 9.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-stage__remove[b-smfblhw04i] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: rgba(8, 10, 16, .55);
}

.chat-stage__remove:hover[b-smfblhw04i] {
    background: rgba(8, 10, 16, .8);
}

/* The upload wrapper is a flex item in the tile row; without this it stretches and the dashed box with it. */
.chat-stage__tiles[b-smfblhw04i]  .chat-stage__add-wrap {
    flex-shrink: 0;
}

.chat-stage__add[b-smfblhw04i] {
    width: 96px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 8px;
    border: 1.5px dashed var(--mud-palette-lines-inputs);
    cursor: pointer;
    font-size: 10.5px;
    color: var(--mud-palette-text-secondary);
}

.chat-stage__add:hover[b-smfblhw04i] {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.chat-stage__foot[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Quotes, reactions, notices ────────────────────────────────────────────── */

/* The quoted line sits above the bubble and inside the same column, so it moves with the reply rather than
   reading as a message of its own. */
.chat-quote[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 4px;
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 2px solid var(--mud-palette-primary);
}

.chat-quote__who[b-smfblhw04i] {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--mud-palette-primary);
}

.chat-quote__text[b-smfblhw04i] {
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.chat-reactions[b-smfblhw04i] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.chat-reaction[b-smfblhw04i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    border-radius: 10px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    line-height: 1.6;
    color: var(--mud-palette-text-secondary);
}

.chat-reaction:hover[b-smfblhw04i] {
    border-color: var(--mud-palette-primary);
}

/* Mine is tinted rather than merely outlined: the chip is also the control that takes it back, and the one
   thing the reader has to know before clicking is whether they are already in the count. */
.chat-reaction--mine[b-smfblhw04i] {
    background: var(--mud-palette-primary-hover);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.chat-reaction__n[b-smfblhw04i] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Reply and react. Hidden until the line is hovered — available on every message, taking width from none. */
.chat-line__tools[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 2px;
    align-self: flex-end;
    opacity: 0;
    transition: opacity .12s ease;
}

.chat-line:hover .chat-line__tools[b-smfblhw04i],
.chat-line__tools:focus-within[b-smfblhw04i] {
    opacity: 1;
}

/* On the sender's own line the tools belong on the far side of the bubble, which means before it. */
.chat-line--mine .chat-line__tools[b-smfblhw04i] {
    order: -1;
}

.chat-line__tool[b-smfblhw04i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
}

.chat-line__tool:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.chat-emoji[b-smfblhw04i] {
    display: flex;
    gap: 2px;
    padding: 4px 6px;
}

.chat-emoji__opt[b-smfblhw04i] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.chat-emoji__opt:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
}

/* A notice wears the day separator's clothes: both are the thread talking about itself rather than somebody
   talking in it. */
.chat-system[b-smfblhw04i] {
    max-width: 80%;
    text-align: center;
}

.chat-system__time[b-smfblhw04i] {
    font-variant-numeric: tabular-nums;
}

/* The reply being written, above the composer. */
.chat-replybar[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 2px solid var(--mud-palette-primary);
    color: var(--mud-palette-text-secondary);
}

.chat-replybar__body[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chat-replybar__who[b-smfblhw04i] {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--mud-palette-primary);
}

.chat-replybar__text[b-smfblhw04i] {
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Somebody is writing. Green like presence, because both are facts about right now rather than about what
   was said. */
.chat-typing[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 4px;
    font-size: 11.5px;
    color: var(--mud-palette-success);
}

.chat-typing__dots[b-smfblhw04i] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.chat-typing__dots span[b-smfblhw04i] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: chat-typing-pulse-b-smfblhw04i 1.1s infinite;
}

.chat-typing__dots span:nth-child(2)[b-smfblhw04i] {
    animation-delay: .18s;
}

.chat-typing__dots span:nth-child(3)[b-smfblhw04i] {
    animation-delay: .36s;
}

@keyframes chat-typing-pulse-b-smfblhw04i {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}

.chat-row__preview--typing[b-smfblhw04i] {
    color: var(--mud-palette-success);
    font-weight: 500;
}

.chat-daymark[b-smfblhw04i] {
    align-self: center;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
}

/* ── Composer ──────────────────────────────────────────────────────────────── */

.chat-composer__row[b-smfblhw04i] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chat-composer__row[b-smfblhw04i]  .chat-composer__field {
    flex: 1;
    min-width: 0;
}

.chat-composer__row[b-smfblhw04i]  .chat-composer__attach {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* The file inputs the attach menu's labels point at, taken out of the layout as a group.

   Off-screen rather than display:none, because a label cannot open a picker for an input the browser has not
   laid out. On the wrapper rather than on the inputs, because those are rendered by InputFile and scoped CSS
   only ever stamps its scope attribute onto elements written in this component's own markup — a rule aimed at
   them would compile to a selector that matches nothing, which is exactly how three "Choose File" buttons
   ended up sitting above the composer. */
.chat-composer__files[b-smfblhw04i] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.chat-attach[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px;
    min-width: 262px;
}

.chat-attach__opt[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
}

.chat-attach__opt:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
}

.chat-attach__icon[b-smfblhw04i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 7px;
    background: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
}

.chat-attach__body[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-attach__title[b-smfblhw04i] {
    font-size: 12.5px;
    font-weight: 600;
}

.chat-attach__hint[b-smfblhw04i] {
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
}

/* ── Mentions ──────────────────────────────────────────────────────────────── */

.chat-mention[b-smfblhw04i] {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.chat-mention__head[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-disabled);
}

.chat-mention__query[b-smfblhw04i] {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.chat-mention__opt[b-smfblhw04i] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 11px;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.chat-mention__opt:hover[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
}

.chat-mention__name[b-smfblhw04i] {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-primary);
}

.chat-mention__sub[b-smfblhw04i] {
    flex-shrink: 0;
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
}

/* A mention inside a bubble. Tinted rather than bold: the point is that the eye finds its own name while
   skimming, which colour does and weight does not. */
.chat-mentioned[b-smfblhw04i] {
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 600;
    background: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
}

.chat-bubble--mine .chat-mentioned[b-smfblhw04i] {
    background: rgba(255, 255, 255, .22);
    color: inherit;
}

/* The three round controls share a shape and differ only in weight: the attach and mic are quiet, the send is
   the one the eye should land on. */
.chat-composer__icon[b-smfblhw04i],
.chat-composer__mic[b-smfblhw04i],
.chat-composer__send[b-smfblhw04i] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    color: var(--mud-palette-text-secondary);
}

.chat-composer__icon[b-smfblhw04i] {
    width: 34px;
    height: 34px;
    margin-bottom: 3px;
}

.chat-composer__icon:hover:not(:disabled)[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.chat-composer__mic[b-smfblhw04i] {
    width: 38px;
    height: 38px;
    background: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
}

.chat-composer__mic:hover:not(:disabled)[b-smfblhw04i] {
    background: color-mix(in srgb, var(--mud-palette-primary) 22%, transparent);
}

.chat-composer__send[b-smfblhw04i] {
    width: 38px;
    height: 38px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.chat-composer__send:hover:not(:disabled)[b-smfblhw04i] {
    background: var(--mud-palette-primary-darken);
}

/* Nothing to send yet: the button stays in place so the row does not jump, but stops inviting a click. */
.chat-composer__send:disabled[b-smfblhw04i] {
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-disabled);
    cursor: default;
}

.chat-composer__icon:disabled[b-smfblhw04i],
.chat-composer__mic:disabled[b-smfblhw04i] {
    color: var(--mud-palette-text-disabled);
    cursor: default;
}

.chat-composer__hint[b-smfblhw04i] {
    font-size: 10.5px;
    color: var(--mud-palette-text-disabled);
    margin-top: 7px;
    /* Lines up under the box rather than under the paperclip, the way the design has it. */
    padding-left: 44px;
}

/* ── Narrow screens ────────────────────────────────────────────────────────── */

/* Below md the list and the thread share one column: the list IS the screen until a conversation is opened,
   then the thread takes over. Two fixed columns on a phone would leave nothing usable for either. */
@media (max-width: 959px) {
    .chat-list[b-smfblhw04i] {
        width: 100%;
        border-right: none;
    }

    .chat-shell--open .chat-list[b-smfblhw04i] {
        display: none;
    }

    .chat-shell:not(.chat-shell--open) .chat-thread[b-smfblhw04i] {
        display: none;
    }

    /* Room for the thumb, and clear of whatever the phone draws over the bottom of its own screen. */
    .chat-thread__composer[b-smfblhw04i] {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .chat-composer__mic[b-smfblhw04i],
    .chat-composer__send[b-smfblhw04i] {
        width: 44px;
        height: 44px;
    }
}

/* ── The rail as a sheet ───────────────────────────────────────────────────── */

/* On a narrow screen the details are a screen of their own rather than a column: there is no width to spare,
   and leaving them unreachable — which hiding the column outright did — is worse than covering the thread
   while they are being read. */
.chat-rail-sheet[b-smfblhw04i] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    background: var(--mud-palette-surface);
}

.chat-rail-sheet__head[b-smfblhw04i] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.chat-rail-sheet__title[b-smfblhw04i] {
    font-size: 13px;
    font-weight: 700;
}

/* The rail inside the sheet is the whole width and has no column to be a column of. ::deep because the class
   belongs to ChatRail's own scope, not this page's. */
.chat-rail-sheet[b-smfblhw04i]  .chat-rail {
    width: 100%;
    flex: 1;
    border-left: none;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
/* /Components/TSG/Chat/ChatConversationCreateDialog.razor.rz.scp.css */
/* The dialog is one column until the answer is "several people", then two: what the group is on the left, who
   is in it on the right. The right half is the only half a direct thread needs, so it is the one that is
   always there. */

.newchat[b-lll2ejvm92] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-width: 340px;
}

.newchat--group[b-lll2ejvm92] {
    grid-template-columns: 1fr 268px;
    min-width: 640px;
}

.newchat__about[b-lll2ejvm92] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.newchat__section[b-lll2ejvm92] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newchat__section-head[b-lll2ejvm92] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

.newchat__hint[b-lll2ejvm92] {
    font-size: 11px;
    line-height: 1.5;
    color: var(--mud-palette-text-disabled);
}

/* ── Who is in it ──────────────────────────────────────────────────────────── */

.newchat__people[b-lll2ejvm92] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.newchat--group .newchat__people[b-lll2ejvm92] {
    padding-left: 14px;
    border-left: 1px solid var(--mud-palette-lines-default);
}

.newchat__people-head[b-lll2ejvm92] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.newchat__people-title[b-lll2ejvm92] {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

.newchat__people-count[b-lll2ejvm92] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

.newchat__list[b-lll2ejvm92] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: 44vh;
    overflow-y: auto;
}

.newchat__row[b-lll2ejvm92] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.newchat__row:hover[b-lll2ejvm92] {
    background: var(--mud-palette-action-default-hover);
}

/* Picked rows are tinted rather than ticked only: with twenty names on screen the eye should find the four
   that are in without reading a column of boxes. */
.newchat__row--on[b-lll2ejvm92] {
    background: var(--mud-palette-primary-hover);
}

.newchat__avatar[b-lll2ejvm92] {
    position: relative;
    flex-shrink: 0;
    display: flex;
}

.newchat__dot[b-lll2ejvm92] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-text-disabled);
    border: 2px solid var(--mud-palette-surface);
}

.newchat__dot--on[b-lll2ejvm92] {
    background: var(--mud-palette-success);
}

.newchat__name[b-lll2ejvm92] {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newchat__check[b-lll2ejvm92] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-primary);
}

.newchat__required[b-lll2ejvm92] {
    flex: 1;
    padding-left: 8px;
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
}

@media (max-width: 899px) {
    .newchat--group[b-lll2ejvm92] {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .newchat--group .newchat__people[b-lll2ejvm92] {
        padding-left: 0;
        border-left: none;
    }
}
/* /Components/TSG/Chat/ChatGroup/ChatGroupEditDialog.razor.rz.scp.css */
.groupedit[b-f824gq7y9a] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* The one rule the system actually honours, set apart from the two free-text fields above it so it does not
   read as a third thing to fill in. */
.groupedit__rules[b-f824gq7y9a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--mud-palette-divider);
}

.groupedit__hint[b-f824gq7y9a] {
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

/* Pushed against the buttons' left edge, the way the create dialog does it. */
.groupedit__required[b-f824gq7y9a] {
    margin-right: auto;
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
}
/* /Components/TSG/Chat/ChatParticipantAddDialog.razor.rz.scp.css */
/* Deliberately the same row as the create dialog's picker: choosing a colleague should look identical
   whether the group is being opened or added to, and a second visual language for the same act is how a
   familiar list starts feeling like a different screen. */

.addmembers[b-i7d329gjvy] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.addmembers__head[b-i7d329gjvy] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.addmembers__count[b-i7d329gjvy] {
    font-size: 11px;
    color: var(--mud-palette-text-disabled);
}

.addmembers__list[b-i7d329gjvy] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: 44vh;
    overflow-y: auto;
}

.addmembers__row[b-i7d329gjvy] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.addmembers__row:hover[b-i7d329gjvy] {
    background: var(--mud-palette-action-default-hover);
}

/* Picked rows are tinted rather than ticked only: with twenty names on screen the eye should find the four
   that are in without reading a column of boxes. */
.addmembers__row--on[b-i7d329gjvy] {
    background: var(--mud-palette-primary-hover);
}

.addmembers__avatar[b-i7d329gjvy] {
    position: relative;
    flex-shrink: 0;
    display: flex;
}

.addmembers__dot[b-i7d329gjvy] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-text-disabled);
    border: 2px solid var(--mud-palette-surface);
}

.addmembers__dot--on[b-i7d329gjvy] {
    background: var(--mud-palette-success);
}

.addmembers__name[b-i7d329gjvy] {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.addmembers__check[b-i7d329gjvy] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-primary);
}
/* /Components/TSG/Definition/Articles/ArticleGroup/ArticleGroupBrowse.razor.rz.scp.css */
.ag-card-grid[b-lww0zae017] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    /* Cards size to their content; rows pack to the top of the container instead
       of stretching to fill the full-height-page row. Also lets the container
       scroll its own overflow when there are many cards. */
    grid-auto-rows: min-content;
    align-content: start;
    align-items: start;
    gap: 16px;
    padding: 4px 0;
    overflow-y: auto;
    min-height: 0;
}

/* Sizing wrapper for the AttachmentAvatar inside the table's avatar cell —
   the shared component fills 100% of this 44×44 box. */
.ag-row-avatar[b-lww0zae017] {
    width: 44px;
    height: 44px;
}
/* /Components/TSG/Definition/Articles/ArticleGroup/ArticleGroupCard.razor.rz.scp.css */
.ag-card[b-o081y3nkjl] {
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-lines-default);
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.ag-card:hover[b-o081y3nkjl] {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    border-color: var(--mud-palette-primary-lighten);
}

.ag-card.is-inactive[b-o081y3nkjl] {
    opacity: 0.7;
}

.ag-card-stripe[b-o081y3nkjl] {
    height: 3px;
}

/* Hero is just a sizing wrapper now — aspect ratio + a little padding around
   the AttachmentAvatar that fills it. The avatar itself owns image rendering,
   the count badge, and the hover-to-preview affordance. */
.ag-card-hero[b-o081y3nkjl] {
    padding: 16px;
    aspect-ratio: 16 / 9;
    /* Flex children default to min-height: auto, so the hero would grow to the
       avatar image's intrinsic height (tall for portrait shots) and override
       the aspect-ratio — making cards taller/shorter depending on orientation.
       min-height: 0 lets it honour the 16:9 box; overflow clips as a safety net. */
    min-height: 0;
    overflow: hidden;
}

.ag-card-body[b-o081y3nkjl] {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--mud-palette-lines-default);
    flex: 1;
}

.ag-card-name-row[b-o081y3nkjl] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.ag-card-short-name[b-o081y3nkjl] {
    font-size: 14px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    letter-spacing: -0.1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ag-card-code[b-o081y3nkjl] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: var(--mud-palette-text-disabled);
    font-weight: 500;
}

.ag-card-full-name[b-o081y3nkjl] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 34px;
}

.ag-card-stats[b-o081y3nkjl] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--mud-palette-lines-default);
}

.ag-card-stat[b-o081y3nkjl] {
    display: flex;
    flex-direction: column;
}

.ag-card-stat-number[b-o081y3nkjl] {
    font-size: 18px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    line-height: 1;
}

.ag-card-stat-label[b-o081y3nkjl] {
    font-size: 10px;
    color: var(--mud-palette-text-disabled);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
}

.ag-card-grow[b-o081y3nkjl] {
    flex: 1;
}

.ag-card-actions[b-o081y3nkjl] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

/* Primary "View articles" button fills the row; deep selector reaches the
   MudButton root so it ignores MudBlazor's intrinsic width. */
.ag-card-actions[b-o081y3nkjl]  .ag-card-view-button {
    flex: 1;
    text-transform: none;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 10px;
    min-width: 0;
}

/* Icon buttons sit flush at 32×32 to match the design's secondary affordances. */
.ag-card-actions[b-o081y3nkjl]  .mud-icon-button {
    width: 32px;
    height: 32px;
}

/* /Components/TSG/Definition/Articles/ArticleGroup/ArticleGroupEditDialog.razor.rz.scp.css */
/* Layout/typography is owned by the extracted shared components (DialogHeader, SectionHeader, ActiveCallout, AvatarSlot, AutosaveChip, AutosaveSmartFooter, AttachmentEditor). */

/* ── Possible-duplicate warning (mirrors the contact / company dialog) ───── */
.duplicate-warning[b-ooh26w7ltb] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 35%, transparent);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: 8px;
}

.duplicate-icon[b-ooh26w7ltb] {
    color: var(--mud-palette-warning);
    flex-shrink: 0;
    margin-top: 1px;
}

.duplicate-title[b-ooh26w7ltb] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-body[b-ooh26w7ltb] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

.duplicate-match[b-ooh26w7ltb] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.duplicate-avatar[b-ooh26w7ltb] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.duplicate-match-name[b-ooh26w7ltb] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-match-sub[b-ooh26w7ltb] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}
/* /Components/TSG/Definition/Articles/Article/ArticleBrowse.razor.rz.scp.css */
.ar-card-grid[b-z97hqvaoh7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: min-content;
    align-content: start;
    align-items: start;
    gap: 16px;
    padding: 4px 0;
    overflow-y: auto;
    min-height: 0;
}

.ar-row-avatar[b-z97hqvaoh7] {
    width: 44px;
    height: 44px;
}
/* /Components/TSG/Definition/Articles/Article/ArticleCard.razor.rz.scp.css */
.ar-card[b-m4xtaw3ycg] {
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-lines-default);
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.ar-card:hover[b-m4xtaw3ycg] {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    border-color: var(--mud-palette-primary-lighten);
}

.ar-card.is-inactive[b-m4xtaw3ycg] {
    opacity: 0.7;
}

.ar-card-stripe[b-m4xtaw3ycg] {
    height: 3px;
}

.ar-card-hero[b-m4xtaw3ycg] {
    padding: 16px;
    aspect-ratio: 16 / 9;
    /* Flex children default to min-height: auto, so the hero would grow to the
       avatar image's intrinsic height (tall for portrait shots) and override
       the aspect-ratio — making cards taller/shorter depending on orientation.
       min-height: 0 lets it honour the 16:9 box; overflow clips as a safety net. */
    min-height: 0;
    overflow: hidden;
}

.ar-card-body[b-m4xtaw3ycg] {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--mud-palette-lines-default);
    flex: 1;
}

.ar-card-name-row[b-m4xtaw3ycg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.ar-card-short-name[b-m4xtaw3ycg] {
    font-size: 14px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    letter-spacing: -0.1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ar-card-code[b-m4xtaw3ycg] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: var(--mud-palette-text-disabled);
    font-weight: 500;
}

.ar-card-full-name[b-m4xtaw3ycg] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 34px;
}

.ar-card-meta-row[b-m4xtaw3ycg] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

.ar-card-group[b-m4xtaw3ycg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ar-card-partcode[b-m4xtaw3ycg] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 500;
}

.ar-card-stats[b-m4xtaw3ycg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--mud-palette-lines-default);
    min-height: 34px;
}

.ar-card-stat[b-m4xtaw3ycg] {
    display: flex;
    flex-direction: column;
}

.ar-card-stat-number[b-m4xtaw3ycg] {
    font-size: 18px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    line-height: 1;
}

.ar-card-stat-label[b-m4xtaw3ycg] {
    font-size: 10px;
    color: var(--mud-palette-text-disabled);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
}

.ar-card-grow[b-m4xtaw3ycg] {
    flex: 1;
}

.ar-card-actions[b-m4xtaw3ycg] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.ar-card-actions[b-m4xtaw3ycg]  .ar-card-edit-button {
    flex: 1;
    text-transform: none;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 10px;
    min-width: 0;
}

.ar-card-actions[b-m4xtaw3ycg]  .mud-icon-button {
    width: 32px;
    height: 32px;
}
/* /Components/TSG/Definition/Articles/Article/ArticleDetails.razor.rz.scp.css */
.ad-thumb[b-sxmmx0wpo1] {
    position: relative;
    width: 96px;
    height: 96px;
    padding: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    overflow: hidden;
    background: var(--mud-palette-background-grey);
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}

.ad-thumb:hover[b-sxmmx0wpo1] {
    border-color: var(--mud-palette-primary);
    transform: translateY(-1px);
}

.ad-thumb img[b-sxmmx0wpo1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-thumb-primary[b-sxmmx0wpo1] {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #ffd54f;
}

.ad-thumb-primary[b-sxmmx0wpo1]  .mud-icon-root {
    font-size: 14px;
}
/* /Components/TSG/Definition/Articles/Article/ArticleEditDialog.razor.rz.scp.css */
.article-group-card[b-pm2fqmbz7c] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.article-group-card-icon[b-pm2fqmbz7c] {
    color: var(--mud-palette-primary);
    display: flex;
}

.article-group-card-body[b-pm2fqmbz7c] {
    flex: 1;
    min-width: 0;
}

.article-group-card-name[b-pm2fqmbz7c] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.article-group-card-sub[b-pm2fqmbz7c] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Possible-duplicate warning (mirrors the contact / company dialog) ───── */
.duplicate-warning[b-pm2fqmbz7c] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 35%, transparent);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: 8px;
}

.duplicate-icon[b-pm2fqmbz7c] {
    color: var(--mud-palette-warning);
    flex-shrink: 0;
    margin-top: 1px;
}

.duplicate-title[b-pm2fqmbz7c] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-body[b-pm2fqmbz7c] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

.duplicate-match[b-pm2fqmbz7c] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.duplicate-avatar[b-pm2fqmbz7c] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.duplicate-match-name[b-pm2fqmbz7c] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-match-sub[b-pm2fqmbz7c] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}
/* /Components/TSG/Definition/Companies/CompanyContact/CompanyContactEditDialog.razor.rz.scp.css */
.section-header[b-rxd6bqrwa1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-rxd6bqrwa1] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-rxd6bqrwa1] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.company-card[b-rxd6bqrwa1] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-rxd6bqrwa1] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-rxd6bqrwa1] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-rxd6bqrwa1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-rxd6bqrwa1] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.duplicate-warning[b-rxd6bqrwa1] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 35%, transparent);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: 8px;
    margin-top: 8px;
}

.duplicate-icon[b-rxd6bqrwa1] {
    color: var(--mud-palette-warning);
    flex-shrink: 0;
    margin-top: 1px;
}

.duplicate-title[b-rxd6bqrwa1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-body[b-rxd6bqrwa1] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

.duplicate-match[b-rxd6bqrwa1] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.duplicate-avatar[b-rxd6bqrwa1] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.duplicate-match-name[b-rxd6bqrwa1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-match-sub[b-rxd6bqrwa1] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}
/* /Components/TSG/Definition/Companies/CompanyEmployeeSign/CompanyEmployeeSignApplyTick.razor.rz.scp.css */
/* The tick that lays the signed-in person's own signature on the document's line, beside the dialog's Save, and the
   picture of what will land there. */

.apply-my-sign[b-i9hvs6tknp] {
    display: flex;
    flex-direction: column;
}

.apply-my-sign-row[b-i9hvs6tknp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* The stored drawing is black on white; the frame keeps it legible on the dark theme too, as in the confirmation. */
.apply-my-sign-image[b-i9hvs6tknp] {
    display: block;
    max-width: 120px;
    max-height: 36px;
    background: #ffffff;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 6px;
    padding: 2px;
}

/* Unticked, the picture stays to be seen but says it will not land. */
.apply-my-sign-image--off[b-i9hvs6tknp] {
    opacity: 0.35;
}
/* /Components/TSG/Definition/Companies/CompanyEmployeeSign/CompanyEmployeeSignCard.razor.rz.scp.css */
/* "My signature" card on the profile — the profile's .card design language, as the push notifications card. */

.sign-card[b-4xs4dc2lov] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
}

.sign-head[b-4xs4dc2lov] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-head[b-4xs4dc2lov]  .sign-head-icon {
    font-size: 16px;
    color: var(--mud-palette-text-secondary);
}

.sign-title[b-4xs4dc2lov] {
    font-weight: 600;
    font-size: 15px;
    color: var(--mud-palette-text-primary);
}

.sign-desc[b-4xs4dc2lov] {
    font-size: 12px;
    color: var(--mud-palette-text-disabled);
    margin-top: 6px;
    line-height: 1.55;
    max-width: 580px;
}

.sign-body[b-4xs4dc2lov] {
    margin-top: 14px;
}

/* The stored drawing is black on white; the frame keeps it legible on the dark theme too. */
.sign-image[b-4xs4dc2lov] {
    display: block;
    max-width: 320px;
    max-height: 120px;
    background: #ffffff;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 6px;
    padding: 4px;
}

.sign-meta[b-4xs4dc2lov],
.sign-none[b-4xs4dc2lov] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 6px;
}

.sign-actions[b-4xs4dc2lov] {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
/* /Components/TSG/Definition/Companies/CompanyEmployeeSign/CompanyEmployeeSignConfirmDialog.razor.rz.scp.css */
/* The tick that lays the signed-in person's own signature, and the picture of what will land on the line. */

.sign-confirm[b-wpcl0dlyod] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* The stored drawing is black on white; the frame keeps it legible on the dark theme too, as on the profile's card. */
.sign-confirm-image[b-wpcl0dlyod] {
    display: block;
    max-width: 180px;
    max-height: 56px;
    background: #ffffff;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 6px;
    padding: 3px;
}

/* Unticked, the picture stays to be seen but says it will not land. */
.sign-confirm-image--off[b-wpcl0dlyod] {
    opacity: 0.35;
}
/* /Components/TSG/Definition/Companies/CompanyEmployee/CompanyEmployeeEditDialog.razor.rz.scp.css */
.section-header[b-th2244dy93] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-th2244dy93] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-th2244dy93] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-th2244dy93] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-th2244dy93] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-th2244dy93] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-th2244dy93] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-th2244dy93] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-th2244dy93] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyEquipmentGroup/CompanyEquipmentGroupEditDialog.razor.rz.scp.css */
.company-card[b-r6ejbdhier] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-r6ejbdhier] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-r6ejbdhier] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-r6ejbdhier] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-r6ejbdhier] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyEquipment/CompanyEquipmentEditDialog.razor.rz.scp.css */
.company-card[b-oerw3v87oj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-oerw3v87oj] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-oerw3v87oj] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-oerw3v87oj] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-oerw3v87oj] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyOffice/CompanyOfficeEditDialog.razor.rz.scp.css */
.section-header[b-ld2hnqnieb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-ld2hnqnieb] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-ld2hnqnieb] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-ld2hnqnieb] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-ld2hnqnieb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-ld2hnqnieb] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-ld2hnqnieb] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-ld2hnqnieb] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-ld2hnqnieb] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyPriceList/CompanyPriceListBrowse.razor.rz.scp.css */
/*
    Single root for FullHeightPage's third (scrollable content) grid row — see FullHeightPage.razor.css.
    The row is `minmax(0, 1fr)`, so this wrapper gets the leftover height and hands it to the paper: the
    optional "inherited prices" banner takes its natural height and the data grid absorbs the rest.
    Without `min-height: 0` the flex child would refuse to shrink below its content and the grid's own
    internal scroll (app.css: .full-height-page .mud-data-grid) would never engage.
*/
.pricelist-content[b-go2uo51tuy] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* ::deep is required: MudPaper renders its own root element, so CSS isolation does not stamp this
   component's scope attribute onto it and a plain `.pricelist-content > .mud-paper` would never match. */
.pricelist-content[b-go2uo51tuy] >  .mud-paper {
    flex: 1 1 auto;
    min-height: 0;
}
/* /Components/TSG/Definition/Companies/CompanyService/CompanyServiceEditDialog.razor.rz.scp.css */
.section-header[b-p5490lprvf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-p5490lprvf] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-p5490lprvf] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-p5490lprvf] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-p5490lprvf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-p5490lprvf] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-p5490lprvf] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-p5490lprvf] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-p5490lprvf] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanySite/CompanySiteEditDialog.razor.rz.scp.css */
.section-header[b-a1dzc1lqtc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-a1dzc1lqtc] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-a1dzc1lqtc] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-a1dzc1lqtc] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-a1dzc1lqtc] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-a1dzc1lqtc] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-a1dzc1lqtc] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-a1dzc1lqtc] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-a1dzc1lqtc] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyStore/CompanyStoreEditDialog.razor.rz.scp.css */
.section-header[b-ie5gceaa3q] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-ie5gceaa3q] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-ie5gceaa3q] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-ie5gceaa3q] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-ie5gceaa3q] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-ie5gceaa3q] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-ie5gceaa3q] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-ie5gceaa3q] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-ie5gceaa3q] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/CompanyVehicleEditDialog.razor.rz.scp.css */
.section-header[b-n47iy8anak] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-n47iy8anak] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-n47iy8anak] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-n47iy8anak] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-n47iy8anak] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-n47iy8anak] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-n47iy8anak] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-n47iy8anak] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.company-card-sub[b-n47iy8anak] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/Tabs/CompanyVehicleConditionsTab.razor.rz.scp.css */
/* Numbers and dates are read against a paper document, so they are monospaced like every other code in the app.
   Colours come from the theme only. */

.cond-mono[b-rypulan1cn] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 600;
}

.cond-muted[b-rypulan1cn] {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

/* The end of the period carries the warning, because that is the date somebody has to act on. */
.cond-expiring[b-rypulan1cn] {
    color: var(--mud-palette-warning);
}

.cond-expired[b-rypulan1cn] {
    color: var(--mud-palette-error);
}

/* The full name is the quieter second line under the short one, skipped when the two are the same. */
.vehicle-conditions[b-rypulan1cn]  .cond-fullname {
    display: block;
    color: var(--mud-palette-text-secondary);
}

/* The note is a single truncated line; the whole text lives in the tooltip. */
.vehicle-conditions[b-rypulan1cn]  .cond-note {
    display: block;
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

/* A kind archived after the document was recorded keeps its chip, drawn faded. */
.vehicle-conditions[b-rypulan1cn]  .cond-archived {
    opacity: 0.55;
}

.cond-footnote[b-rypulan1cn] {
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/Tabs/CompanyVehicleConditionStrip.razor.rz.scp.css */
/* The strip wraps rather than scrolls — the nomenclature is five kinds or so, and a tile that scrolled out of
   sight would defeat the point of a strip you read at a glance. Colours come from the theme only. */

.cond-strip[b-xwlq7hygqp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.cond-strip-tile[b-xwlq7hygqp] {
    padding: 12px 13px 13px;
    border-radius: 11px;
    min-width: 0;
    border: 1px solid transparent;
}

.cond-strip-kind[b-xwlq7hygqp] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.cond-strip-headline[b-xwlq7hygqp] {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 9px;
}

.cond-strip-note[b-xwlq7hygqp] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
}

.cond-strip-mono[b-xwlq7hygqp] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
}

/* The number is the least important line on the tile and must not compete with the deadline. */
.cond-strip-number[b-xwlq7hygqp] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.75;
}

.cond-strip-tile-valid[b-xwlq7hygqp] {
    background: var(--mud-palette-success-hover);
    border-color: var(--mud-palette-success);
}

.cond-strip-tile-valid .cond-strip-headline[b-xwlq7hygqp] {
    color: var(--mud-palette-success);
}

.cond-strip-tile-expiring[b-xwlq7hygqp] {
    background: var(--mud-palette-warning-hover);
    border-color: var(--mud-palette-warning);
}

.cond-strip-tile-expiring .cond-strip-headline[b-xwlq7hygqp] {
    color: var(--mud-palette-warning);
}

.cond-strip-tile-expired[b-xwlq7hygqp] {
    background: var(--mud-palette-error-hover);
    border-color: var(--mud-palette-error);
}

.cond-strip-tile-expired .cond-strip-headline[b-xwlq7hygqp] {
    color: var(--mud-palette-error);
}

/* Dashed and colourless: nothing has gone wrong yet, but nothing has been issued either. */
.cond-strip-tile-never[b-xwlq7hygqp] {
    border: 1.5px dashed var(--mud-palette-lines-default);
    background: transparent;
}

.cond-strip-tile-never .cond-strip-kind[b-xwlq7hygqp],
.cond-strip-tile-never .cond-strip-headline[b-xwlq7hygqp],
.cond-strip-tile-never .cond-strip-note[b-xwlq7hygqp] {
    color: var(--mud-palette-text-disabled);
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/Tabs/CompanyVehicleEquipmentsTab.razor.rz.scp.css */
/* Colours come from the theme only. */

/* The element the tab writes around its paper, so the rules below have something of this component to start
   from; no box of its own. */
.vehicle-equipments-host[b-r9q2q4h5w9] {
    display: contents;
}

.vehicle-equipment-date[b-r9q2q4h5w9] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    color: var(--mud-palette-text-secondary);
}

/* An equipment type archived after the row was written keeps its chip, drawn faded. */
.vehicle-equipments-host[b-r9q2q4h5w9]  .vehicle-equipment-archived {
    opacity: 0.55;
}

/* The full name is a second line under the short one — quieter, and skipped when the two are the same. */
.vehicle-equipments-host[b-r9q2q4h5w9]  .vehicle-equipment-fullname {
    color: var(--mud-palette-text-secondary);
}

.vehicle-equipments-host[b-r9q2q4h5w9]  .vehicle-equipment-note {
    color: var(--mud-palette-text-secondary);
    display: inline-block;
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/Tabs/CompanyVehicleFuelCardsTab.razor.rz.scp.css */
/* A card number is read digit by digit against a physical card, so it is monospaced like every other code in
   the app. Colours come from the theme only. */

/* The element the tab writes around its paper, so the rules below have something of this component to start
   from; no box of its own. */
.vehicle-cards-host[b-53vima2h8b] {
    display: contents;
}

.vehicle-card-number[b-53vima2h8b] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vehicle-card-date[b-53vima2h8b] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    color: var(--mud-palette-text-secondary);
}

/* Amber inside the warning window, red once past — the same three states the status is derived into. */
.vehicle-card-date-expiring[b-53vima2h8b] {
    color: var(--mud-palette-warning);
    font-weight: 600;
}

.vehicle-card-date-expired[b-53vima2h8b] {
    color: var(--mud-palette-error);
    font-weight: 600;
}

/* The full name is the secondary line under the card's own name — see the ShortName / FullName convention. */
.vehicle-cards-host[b-53vima2h8b]  .vehicle-card-fullname {
    display: block;
    color: var(--mud-palette-text-secondary);
}

/* The note is one line in the grid and whole in its tooltip. */
.vehicle-cards-host[b-53vima2h8b]  .vehicle-card-note {
    display: block;
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

/* An supplier archived after the card was issued keeps its chip, drawn faded. */
.vehicle-cards-host[b-53vima2h8b]  .vehicle-card-archived {
    opacity: 0.55;
}

.vehicle-card-footnote[b-53vima2h8b] {
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
/* /Components/TSG/Definition/Companies/CompanyVehicle/Tabs/CompanyVehicleFuelsTab.razor.rz.scp.css */
/* Colours come from the theme only. */

/* The element the tab writes around its paper, so the rules below have something of this component to start
   from; no box of its own. */
.vehicle-fuels-host[b-dwa5pqzwsr] {
    display: contents;
}

/* A fuel archived after the row was written keeps its chip, drawn faded. */
.vehicle-fuels-host[b-dwa5pqzwsr]  .vehicle-fuel-archived {
    opacity: 0.55;
}

/* The full name is a second line under the short one — quieter, and skipped when the two are the same. */
.vehicle-fuels-host[b-dwa5pqzwsr]  .vehicle-fuel-fullname {
    color: var(--mud-palette-text-secondary);
}

.vehicle-fuel-unit[b-dwa5pqzwsr] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    color: var(--mud-palette-text-secondary);
}
/* /Components/TSG/Definition/Companies/Company/CompanyEditDialog.razor.rz.scp.css */
.required-star[b-ascm4mugf6] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.section-header[b-ascm4mugf6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 12px;
}

.section-header-icon[b-ascm4mugf6] {
    color: var(--mud-palette-text-secondary);
    display: flex;
}

.section-header-title[b-ascm4mugf6] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex: 1;
}

.field-caption[b-ascm4mugf6] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

/* ── Possible-duplicate warning (mirrors the contact dialog) ───────────── */
.duplicate-warning[b-ascm4mugf6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 35%, transparent);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: 8px;
    margin-top: 16px;
}

.duplicate-icon[b-ascm4mugf6] {
    color: var(--mud-palette-warning);
    flex-shrink: 0;
    margin-top: 1px;
}

.duplicate-title[b-ascm4mugf6] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-body[b-ascm4mugf6] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

.duplicate-match[b-ascm4mugf6] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.duplicate-avatar[b-ascm4mugf6] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.duplicate-match-name[b-ascm4mugf6] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.duplicate-match-sub[b-ascm4mugf6] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}
/* /Components/TSG/Definition/Companies/ServiceProblemCategory/ServiceProblemCategoryEditDialog.razor.rz.scp.css */
.required-star[b-nj13a25c2t] {
    color: var(--mud-palette-error);
    margin-left: 3px;
}

.field-caption[b-nj13a25c2t] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.company-card[b-nj13a25c2t] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
    border-radius: 7px;
}

.company-card-icon[b-nj13a25c2t] {
    color: var(--mud-palette-primary);
    display: flex;
}

.company-card-body[b-nj13a25c2t] {
    flex: 1;
    min-width: 0;
}

.company-card-name[b-nj13a25c2t] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

/* One window of one weekday: the switch, then "from" over "to". The fields take their width from this cell, never
   from their Style — MudPicker hands its Style to the clock face's popover as well (MudPicker.razor.cs:61 in MudBlazor
   9.4.0), and a max-width:110px there cut the clock face to 110 px (known-debt W.112). */
.window-cell[b-nj13a25c2t] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-times[b-nj13a25c2t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.company-card-sub[b-nj13a25c2t] {
    font-family: ui-monospace, "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/TSG/Help/HelpItem/HelpItemView.razor.rz.scp.css */
/*
    Styling for the stored HTML, applied from the outside.

    This is why the sanitizer strips every class and style attribute: the author writes Markdown and the
    application decides what it looks like, so a guide cannot drift out of the theme and an author cannot
    smuggle CSS in through a class name. Everything below is scoped to .help-body, i.e. to the one place
    where rendered help HTML is emitted.
*/

.help-body[b-0u5nlkrw9y] {
    line-height: 1.7;
    overflow-wrap: break-word;
}

.help-body[b-0u5nlkrw9y]  h1,
.help-body[b-0u5nlkrw9y]  h2,
.help-body[b-0u5nlkrw9y]  h3,
.help-body[b-0u5nlkrw9y]  h4,
.help-body[b-0u5nlkrw9y]  h5,
.help-body[b-0u5nlkrw9y]  h6 {
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
    font-weight: 500;
}

.help-body[b-0u5nlkrw9y]  h1 { font-size: 1.6rem; }
.help-body[b-0u5nlkrw9y]  h2 { font-size: 1.35rem; }
.help-body[b-0u5nlkrw9y]  h3 { font-size: 1.15rem; }

.help-body[b-0u5nlkrw9y]  p {
    margin: 0 0 1rem;
}

.help-body[b-0u5nlkrw9y]  ul,
.help-body[b-0u5nlkrw9y]  ol {
    margin: 0 0 1rem;
    padding-inline-start: 1.5rem;
}

.help-body[b-0u5nlkrw9y]  li {
    margin-bottom: 0.35rem;
}

.help-body[b-0u5nlkrw9y]  a {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.help-body[b-0u5nlkrw9y]  a:hover {
    text-decoration: underline;
}

.help-body[b-0u5nlkrw9y]  code {
    font-family: var(--mud-typography-caption-family, monospace);
    font-size: 0.875em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background-color: var(--mud-palette-background-grey);
}

.help-body[b-0u5nlkrw9y]  pre {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background-color: var(--mud-palette-background-grey);
    /* A wide code block scrolls inside itself rather than pushing the page sideways. */
    overflow-x: auto;
}

.help-body[b-0u5nlkrw9y]  pre code {
    padding: 0;
    background: none;
}

.help-body[b-0u5nlkrw9y]  blockquote {
    margin: 0 0 1rem;
    padding: 0.25rem 0 0.25rem 1rem;
    border-inline-start: 3px solid var(--mud-palette-primary);
    color: var(--mud-palette-text-secondary);
}

/* Same rule as the code block: the table scrolls, the page does not. */
.help-body[b-0u5nlkrw9y]  table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 0 1rem;
    border-collapse: collapse;
}

.help-body[b-0u5nlkrw9y]  th,
.help-body[b-0u5nlkrw9y]  td {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--mud-palette-table-lines);
    text-align: start;
    vertical-align: top;
}

.help-body[b-0u5nlkrw9y]  th {
    font-weight: 500;
    background-color: var(--mud-palette-background-grey);
}

.help-body[b-0u5nlkrw9y]  hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid var(--mud-palette-divider);
}
/* /Components/TSG/Identity/User/UserBrowse.razor.rz.scp.css */
.filter-panel[b-pkr9v0r6kq] {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-background-grey);
}

.actions-cell[b-pkr9v0r6kq] {
    gap: 2px;
    flex-wrap: nowrap;
}
/* /Components/TSG/Leave/Report/LeaveCalendarReportBrowse.razor.rz.scp.css */
/* The calendar grid. Colour comes from the theme's own variables only, never a literal, so the report follows the
   light and dark themes the way every other screen does. */

.leave-calendar[b-etbxrcsof2] {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.8125rem;
}

.leave-calendar th[b-etbxrcsof2],
.leave-calendar td[b-etbxrcsof2] {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 4px 2px;
    text-align: center;
}

/* The name column is the only wide one and stays readable while the days scroll past it. */
.leave-calendar-name[b-etbxrcsof2] {
    text-align: left !important;
    padding-left: 10px !important;
    white-space: nowrap;
    min-width: 190px;
    font-weight: 500;
}

.leave-calendar-day[b-etbxrcsof2] {
    width: 24px;
    min-width: 24px;
}

.leave-calendar-total[b-etbxrcsof2] {
    min-width: 64px;
    font-weight: 600;
}

/* Weekends are shaded rather than skipped: leave runs through them, and a gap in the grid would read as "back at
   work". */
.leave-calendar thead th[b-etbxrcsof2] {
    background-color: var(--mud-palette-background-grey);
    font-weight: 600;
}

.leave-calendar .weekend[b-etbxrcsof2] {
    background-color: var(--mud-palette-action-default-hover);
}

/* A day somebody is away on. The title attribute carries the kind of leave, so one hover answers "on what". */
.leave-calendar .away[b-etbxrcsof2] {
    background-color: var(--mud-palette-primary);
    opacity: 0.75;
}
/* /Components/TSG/Project/Workflow/Board/ProjectBoardBrowse.razor.rz.scp.css */
/* Everything the board draws is rendered by MudBlazor components, which never receive this component's scoped
   CSS attribute. So the host div below is the only element that carries the scope, and every board rule is a
   ::deep descendant of it — the same shape CompanyBrowse uses for its MudDataGrid row class. */

.project-board-host[b-d7d0zqvocx] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* The board is a horizontally scrolling row of fixed-width lanes; only the lanes scroll vertically, so the page
   itself never grows a second scrollbar. */
[b-d7d0zqvocx] .project-board {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    min-height: 0;
}

[b-d7d0zqvocx] .project-board-lane {
    display: flex;
    flex-direction: column;
    /* Fixed width and no shrinking — that is what keeps the lanes side by side instead of stacking. */
    flex: 0 0 300px;
    width: 300px;
    max-height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--mud-palette-background-grey);
}

[b-d7d0zqvocx] .project-board-lane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 8px 8px 12px;
    background: var(--mud-palette-surface);
}

[b-d7d0zqvocx] .project-board-lane-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

/* The drop zone keeps a minimum height so an empty lane is still a target you can drop onto. */
[b-d7d0zqvocx] .project-board-zone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    min-height: 80px;
    overflow-y: auto;
}

[b-d7d0zqvocx] .project-board-card {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    cursor: grab;
}

[b-d7d0zqvocx] .project-board-card:hover {
    border-color: var(--mud-palette-primary);
}

[b-d7d0zqvocx] .project-board-card-dragging {
    opacity: 0.6;
    transform: rotate(1deg);
}

[b-d7d0zqvocx] .project-board-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

[b-d7d0zqvocx] .project-board-card-sub {
    margin-top: 2px;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[b-d7d0zqvocx] .project-board-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

[b-d7d0zqvocx] .project-board-card-due {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

[b-d7d0zqvocx] .project-board-card-due.overdue {
    color: var(--mud-palette-error);
    font-weight: 600;
}

[b-d7d0zqvocx] .project-board-card-assignee {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin-left: auto;
}

[b-d7d0zqvocx] .project-board-add {
    justify-content: flex-start;
    text-transform: none;
}
/* /Components/TSG/Service/Workflow/ServiceCall/ServiceCallEditDialog.razor.rz.scp.css */
/* The call's own fields, one to a row: on a phone the column takes the whole width, from MudBlazor's sm breakpoint
   (600px) up it takes half, and the right half stays empty (owner's decisions of 11.11.2026,
   plans/plan-tsg-service-call-editor-tweaks.md). It lands because the dialog writes the <div> itself. */

.call-header-fields[b-715di4pios] {
    width: 100%;
}

@media (min-width: 600px) {
    .call-header-fields[b-715di4pios] {
        max-width: 50%;
    }
}

/* The faults: one <tr> each, the number and the delete at the top of the fault's four lines, and a line in the
   theme's own colour under every fault, so one fault's fields do not run into the next one's (owner's decision Р3).
   The <tr> and <td> are the dialog's own markup, so the scoped selectors reach them. */

.call-fault > td[b-715di4pios] {
    vertical-align: top;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.call-fault-number[b-715di4pios] {
    width: 36px;
}

.call-fault-delete[b-715di4pios] {
    width: 48px;
}

/* A call registered from a letter (stage 3 of plans/plan-tsg-service-new-call-from-email.md): the form and the panel
   "Information from the letter" side by side, the form the wider; where both do not fit — a phone — the panel wraps under
   the form. The two <div>s are the dialog's own markup, so the scoped selectors reach them. */

.call-from-email[b-715di4pios] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.call-from-email-form[b-715di4pios] {
    flex: 2 1 560px;
    min-width: 0;
}

.call-from-email-panel[b-715di4pios] {
    flex: 1 1 300px;
    min-width: 0;
}
/* /Components/TSG/Store/Workflow/StoreRequest/StoreRequestDetails.razor.rz.scp.css */
/* The lifecycle line: created → approved → completed, a step every 130px, joined by 2px links. */
.sr-timeline[b-bjo89pg7uq] {
    overflow-x: auto;
}

.sr-link[b-bjo89pg7uq] {
    flex: 1;
    height: 2px;
    margin-top: 13px;
    min-width: 24px;
}

.sr-step[b-bjo89pg7uq] {
    width: 130px;
    flex-shrink: 0;
    gap: 6px;
}

/*
    Phones, below MudBlazor's md (960px): the action buttons become a two-column grid of thumb targets, and the
    lifecycle line stands up — the links turn into short vertical stems under each avatar and every step reads as a
    row (avatar, state, date). The !important on the grid is owed to the d-flex utility on the same element.
*/
@media (max-width: 959.98px) {
    .sr-actions[b-bjo89pg7uq] {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .sr-actions[b-bjo89pg7uq]  .mud-button-root {
        min-height: 44px;
        width: 100%;
    }

    .sr-timeline[b-bjo89pg7uq] {
        flex-direction: column !important;
        overflow-x: visible;
    }

    .sr-link[b-bjo89pg7uq] {
        flex: none;
        width: 2px;
        height: 18px;
        min-width: 0;
        margin: 4px 0 4px 11px;
    }

    .sr-step[b-bjo89pg7uq] {
        flex-direction: row !important;
        align-items: center !important;
        width: auto;
        gap: 10px;
    }

    .sr-step[b-bjo89pg7uq]  .mud-typography {
        text-align: left;
    }
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketCrewChip.razor.rz.scp.css */
.wb-crew[b-i2rrayf1tf] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}

.wb-crew-driver[b-i2rrayf1tf] {
    border-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent);
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.wb-crew[b-i2rrayf1tf]  .wb-crew-icon {
    font-size: 0.85rem !important;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketDerivedDistance.razor.rz.scp.css */
.wb-km[b-nno2qa4axa] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.wb-km-eq[b-nno2qa4axa] {
    font-size: 0.7rem;
    color: var(--mud-palette-text-disabled);
}

.wb-km-value[b-nno2qa4axa] {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.wb-km-idle[b-nno2qa4axa] {
    color: var(--mud-palette-text-primary);
}

.wb-km-live[b-nno2qa4axa] {
    color: var(--mud-palette-primary);
}

.wb-km-done[b-nno2qa4axa] {
    color: var(--mud-palette-success);
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketDerivedStartMileage.razor.rz.scp.css */
.wb-derived[b-ngh2re16o2] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
    border: 1px dashed var(--mud-palette-lines-inputs);
}

.wb-derived-empty[b-ngh2re16o2] {
    display: block;
    padding: 14px;
}

.wb-derived-icon[b-ngh2re16o2] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
}

.wb-derived-body[b-ngh2re16o2] {
    min-width: 0;
    flex: 1;
}

.wb-derived-value[b-ngh2re16o2] {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mud-palette-text-primary);
}

.wb-derived-loading[b-ngh2re16o2] {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mud-palette-text-disabled);
}

.wb-derived-source[b-ngh2re16o2] {
    margin-top: 4px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
}

/* The day is already taken by another ticket of this vehicle — the reading is meaningless until the date changes. */
.wb-derived-blocked[b-ngh2re16o2] {
    border-color: color-mix(in srgb, var(--mud-palette-warning) 45%, transparent);
}

.wb-derived-blocked .wb-derived-icon[b-ngh2re16o2] {
    color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 12%, transparent);
}

.wb-derived-blocked .wb-derived-source[b-ngh2re16o2] {
    color: var(--mud-palette-warning);
    font-weight: 500;
}

.wb-derived-blocked .wb-derived-value[b-ngh2re16o2] {
    color: var(--mud-palette-text-disabled);
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketEditDialog.razor.rz.scp.css */
/* The reading is a number to be compared with the one beside it, so it is set in the same face as the derived one. */
.wb-cell-end-mileage[b-7apxkfcxnw]  input {
    font-family: monospace;
    font-weight: 600;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketFuelsTable.razor.rz.scp.css */
/* The route table's shell with this table's own track list from the mock:
   26 | 118 | 128 | 132 | 88 | 92 | 96 | 100 | 1fr | 30. */
.wb-grid[b-ieuqx5n2wc] {
    --wb-cols: 26px 118px 128px 132px 88px 92px 96px 100px minmax(96px, 1fr) 34px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    overflow: hidden;
    background: var(--mud-palette-surface);
    margin-top: 8px;
}

.wb-grid-head[b-ieuqx5n2wc],
.wb-grid-row[b-ieuqx5n2wc] {
    display: grid;
    grid-template-columns: var(--wb-cols);
    gap: 8px;
}

.wb-grid-head[b-ieuqx5n2wc] {
    padding: 8px 10px;
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.wb-grid-row[b-ieuqx5n2wc] {
    padding: 8px 10px;
    align-items: start;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.wb-stripe[b-ieuqx5n2wc] {
    background: var(--mud-palette-background-gray);
}

.wb-right[b-ieuqx5n2wc] {
    text-align: right;
}

.wb-rowno[b-ieuqx5n2wc] {
    padding-top: 8px;
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--mud-palette-text-disabled);
}

.wb-grid-total[b-ieuqx5n2wc] {
    align-items: center;
    background: var(--mud-palette-background-gray);
    border-top: 1px solid var(--mud-palette-lines-default);
    border-bottom: none;
}

.wb-total-label[b-ieuqx5n2wc] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-total-value[b-ieuqx5n2wc] {
    text-align: right;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.wb-grid-foot[b-ieuqx5n2wc] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.wb-grid-foot-note[b-ieuqx5n2wc] {
    margin-left: auto;
    color: var(--mud-palette-text-disabled);
    text-align: right;
}

.wb-grid-empty[b-ieuqx5n2wc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 18px;
    text-align: center;
}

.wb-grid-empty-title[b-ieuqx5n2wc] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-grid-empty-body[b-ieuqx5n2wc] {
    max-width: 420px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--mud-palette-text-secondary);
}

/* Cell controls at the mock's size — 30px tall, 12px type — rather than the app's form-sized fields. */
.wb-grid-row[b-ieuqx5n2wc]  .mud-input-control {
    margin-top: 0;
}

.wb-grid-row[b-ieuqx5n2wc]  .mud-input-slot,
.wb-grid-row[b-ieuqx5n2wc]  .mud-select-input .mud-input-slot {
    min-height: 32px;
    font-size: 0.75rem;
}

.wb-grid-row[b-ieuqx5n2wc]  input {
    font-size: 0.75rem;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wb-grid-row[b-ieuqx5n2wc]  .mud-input-adornment .mud-icon-button {
    padding: 3px;
}

.wb-grid-row[b-ieuqx5n2wc]  .mud-input-helper-text {
    font-size: 0.62rem;
    line-height: 1.3;
    margin-top: 2px;
}

.wb-fuel-hint[b-ieuqx5n2wc] {
    display: block;
    margin-top: 2px;
    font-family: monospace;
    font-size: 0.62rem;
    line-height: 1.3;
    color: var(--mud-palette-text-disabled);
}

/* The amount is computed, so the cell is a boxed value rather than a field — dashed, like the mock's. */
.wb-fuel-amount[b-ieuqx5n2wc] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px dashed var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-gray);
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.wb-grid-readonly .wb-grid-row[b-ieuqx5n2wc] {
    align-items: center;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketLiveDistance.razor.rz.scp.css */
.wb-live[b-p7n87rcotb] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
}

.wb-live-ok[b-p7n87rcotb] {
    border-color: color-mix(in srgb, var(--mud-palette-success) 26%, transparent);
}

.wb-live-bad[b-p7n87rcotb] {
    border-color: color-mix(in srgb, var(--mud-palette-error) 26%, transparent);
}

.wb-live-num[b-p7n87rcotb] {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

.wb-live-end[b-p7n87rcotb] {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.wb-live[b-p7n87rcotb]  .wb-live-arrow {
    color: var(--mud-palette-text-disabled);
}

.wb-live-eq[b-p7n87rcotb] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-disabled);
}

.wb-live-total[b-p7n87rcotb] {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--mud-palette-success);
}

.wb-live-bad .wb-live-total[b-p7n87rcotb] {
    color: var(--mud-palette-error);
}

.wb-live-hint[b-p7n87rcotb] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-disabled);
}

.wb-live-bad .wb-live-hint[b-p7n87rcotb] {
    color: var(--mud-palette-error);
    font-weight: 600;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketMileageHero.razor.rz.scp.css */
.wb-hero[b-gyp34xgu55] {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.wb-hero-main[b-gyp34xgu55] {
    flex: 1.2 1 240px;
    min-width: 0;
    padding: 16px 18px;
}

.wb-hero-cell[b-gyp34xgu55] {
    flex: 1 1 180px;
    min-width: 0;
    padding: 16px 18px;
    border-left: 1px solid var(--mud-palette-divider);
}

.wb-hero-idle[b-gyp34xgu55] {
    background: var(--mud-palette-background-gray);
}

.wb-hero-live[b-gyp34xgu55] {
    background: color-mix(in srgb, var(--mud-palette-primary) 7%, transparent);
}

.wb-hero-done[b-gyp34xgu55] {
    background: color-mix(in srgb, var(--mud-palette-success) 7%, transparent);
}

.wb-hero-label[b-gyp34xgu55] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.wb-hero-live .wb-hero-label[b-gyp34xgu55] {
    color: var(--mud-palette-primary);
}

.wb-hero-done .wb-hero-label[b-gyp34xgu55] {
    color: var(--mud-palette-success);
}

.wb-hero-value[b-gyp34xgu55] {
    margin-top: 5px;
    font-family: monospace;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--mud-palette-text-primary);
}

.wb-hero-live .wb-hero-value[b-gyp34xgu55] {
    color: var(--mud-palette-primary);
}

.wb-hero-done .wb-hero-value[b-gyp34xgu55] {
    color: var(--mud-palette-success);
}

.wb-hero-unit[b-gyp34xgu55] {
    margin-left: 6px;
    font-size: 1.05rem;
    font-weight: 600;
}

.wb-hero-num[b-gyp34xgu55] {
    margin-top: 7px;
    font-family: monospace;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--mud-palette-text-primary);
}

.wb-hero-sub[b-gyp34xgu55] {
    margin-top: 6px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketRouteStory.razor.rz.scp.css */
.wb-route[b-absakr4aab] {
    padding: 4px 4px 8px;
}

.wb-route-stop[b-absakr4aab] {
    display: grid;
    grid-template-columns: 58px 22px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
}

.wb-route-time[b-absakr4aab] {
    padding-top: 10px;
    text-align: right;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.wb-route-rail[b-absakr4aab] {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.wb-route-rail-up[b-absakr4aab] {
    flex: 0 0 11px;
    width: 2px;
    background: var(--mud-palette-divider);
}

.wb-route-rail-down[b-absakr4aab] {
    flex: 1;
    width: 2px;
    background: var(--mud-palette-divider);
}

.wb-route-rail-blank[b-absakr4aab] {
    background: transparent;
}

.wb-route-node[b-absakr4aab] {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.wb-route-node-start[b-absakr4aab] {
    border: 2px solid var(--mud-palette-text-secondary);
    background: var(--mud-palette-text-secondary);
}

.wb-route-node-mid[b-absakr4aab] {
    border: 2px solid var(--mud-palette-primary);
    background: var(--mud-palette-surface);
}

.wb-route-node-end[b-absakr4aab] {
    border: 2px solid var(--mud-palette-success);
    background: var(--mud-palette-success);
}

.wb-route-body[b-absakr4aab] {
    min-width: 0;
    padding: 6px 0 14px;
}

.wb-route-head[b-absakr4aab] {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.wb-route-place[b-absakr4aab] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-route-tag[b-absakr4aab] {
    font-size: 0.7rem;
    color: var(--mud-palette-text-disabled);
}

.wb-route-tag-end[b-absakr4aab] {
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 10%, transparent);
}

.wb-route-odo[b-absakr4aab] {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.wb-route-leg[b-absakr4aab] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.wb-route-leg-text[b-absakr4aab] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.wb-route-leg-km[b-absakr4aab] {
    font-family: monospace;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-route-note[b-absakr4aab] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.wb-route-wait[b-absakr4aab] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--mud-palette-background-gray);
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}

.wb-route-empty[b-absakr4aab] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 26px 18px;
    text-align: center;
}

.wb-route-empty[b-absakr4aab]  .wb-route-empty-body {
    max-width: 420px;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketRunCrewDialog.razor.rz.scp.css */
/* The picker at the top carries the dialog's one field, in the same label-above shape the ticket dialog uses, with
   the add button beside it — aligned to the control, not to the hint under it. */
.wb-crew-add[b-8pv87ra6m3] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
}

/* The wrapper is WbField's own element now, so this reaches it through ::deep. */
.wb-crew-add[b-8pv87ra6m3]  .wb-field {
    flex: 1;
    min-width: 0;
}

.wb-crew-add[b-8pv87ra6m3]  .mud-button-root {
    margin-top: 21px;
    white-space: nowrap;
}

.wb-crew-card[b-8pv87ra6m3] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    overflow: hidden;
    background: var(--mud-palette-surface);
}

.wb-crew-card-head[b-8pv87ra6m3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-divider);
}

.wb-crew-card-title[b-8pv87ra6m3] {
    flex: 1;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.wb-crew-card-note[b-8pv87ra6m3] {
    font-size: 0.65rem;
    color: var(--mud-palette-text-disabled);
}

.wb-crew-row[b-8pv87ra6m3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.wb-crew-row-driver[b-8pv87ra6m3] {
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
}

.wb-crew-person[b-8pv87ra6m3] {
    flex: 1;
    min-width: 0;
}

.wb-crew-name[b-8pv87ra6m3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-crew-sub[b-8pv87ra6m3] {
    margin-top: 3px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.wb-crew-badge[b-8pv87ra6m3] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wb-crew-badge[b-8pv87ra6m3]  .mud-icon-root {
    font-size: 0.8rem;
}

/* A radio drawn as a button — the mock's control for "who drove this leg". */
.wb-crew-pick[b-8pv87ra6m3] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 11px 0 8px;
    border-radius: 7px;
    border: 1px solid var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.wb-crew-pick:disabled[b-8pv87ra6m3] {
    cursor: default;
    opacity: 0.6;
}

.wb-crew-pick.on[b-8pv87ra6m3] {
    border-color: var(--mud-palette-primary);
    background: transparent;
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.wb-crew-radio[b-8pv87ra6m3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--mud-palette-lines-inputs);
}

.wb-crew-pick.on .wb-crew-radio[b-8pv87ra6m3] {
    border-color: var(--mud-palette-primary);
}

.wb-crew-radio-dot[b-8pv87ra6m3] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
}

.wb-crew-foot[b-8pv87ra6m3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

.wb-crew-state[b-8pv87ra6m3] {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--mud-palette-text-disabled);
}

.wb-crew-empty[b-8pv87ra6m3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 18px;
    text-align: center;
}

.wb-crew-empty-title[b-8pv87ra6m3] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-crew-empty-body[b-8pv87ra6m3] {
    max-width: 400px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--mud-palette-text-secondary);
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketRunsTable.razor.rz.scp.css */
/* The mock's own shell and track list: 26 | 1.15fr | 96 | 1.15fr | 96 | 104 | 116 | 1fr | 30.
   The two clock columns are 96 rather than the mock's 74, because ours keeps the picker's clock button. */
.wb-grid[b-trx2odu8xf] {
    --wb-cols: 26px minmax(120px, 1.15fr) 96px minmax(120px, 1.15fr) 96px 104px 116px minmax(110px, 1fr) 34px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    overflow: hidden;
    background: var(--mud-palette-surface);
    margin-top: 8px;
}

.wb-grid-head[b-trx2odu8xf],
.wb-grid-row[b-trx2odu8xf] {
    display: grid;
    grid-template-columns: var(--wb-cols);
    gap: 8px;
}

.wb-grid-head[b-trx2odu8xf] {
    padding: 8px 10px;
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.wb-grid-row[b-trx2odu8xf] {
    padding: 8px 10px;
    align-items: start;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.wb-stripe[b-trx2odu8xf] {
    background: var(--mud-palette-background-gray);
}

.wb-right[b-trx2odu8xf] {
    text-align: right;
}

.wb-rowno[b-trx2odu8xf] {
    padding-top: 8px;
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--mud-palette-text-disabled);
}

.wb-grid-foot[b-trx2odu8xf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.wb-grid-foot-note[b-trx2odu8xf] {
    margin-left: auto;
    color: var(--mud-palette-text-disabled);
    text-align: right;
}

.wb-grid-empty[b-trx2odu8xf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 18px;
    text-align: center;
}

.wb-grid-empty-title[b-trx2odu8xf] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-grid-empty-body[b-trx2odu8xf] {
    max-width: 420px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--mud-palette-text-secondary);
}

/* The cell controls are the mock's: 30px tall, 12px type, 7px radius — not the app's form-sized fields. */
.wb-grid-row[b-trx2odu8xf]  .mud-input-control {
    margin-top: 0;
}

.wb-grid-row[b-trx2odu8xf]  .mud-input-slot,
.wb-grid-row[b-trx2odu8xf]  .mud-select-input .mud-input-slot {
    min-height: 32px;
    font-size: 0.75rem;
}

.wb-grid-row[b-trx2odu8xf]  .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-radius: 7px;
}

.wb-grid-row[b-trx2odu8xf]  input {
    font-size: 0.75rem;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wb-grid-row[b-trx2odu8xf]  .mud-input-adornment .mud-icon-button {
    padding: 3px;
}

.wb-grid-row[b-trx2odu8xf]  .mud-input-helper-text {
    font-size: 0.62rem;
    line-height: 1.3;
    margin-top: 2px;
}

/* The hint under a cell — what the chain allows there — and the row's own small print. */
.wb-run-hint[b-trx2odu8xf] {
    display: block;
    margin-top: 2px;
    font-family: monospace;
    font-size: 0.62rem;
    line-height: 1.3;
    color: var(--mud-palette-text-disabled);
}

.wb-run-crew[b-trx2odu8xf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* The time is a figure read down its column and must stay on one line in a narrow cell. */
.wb-cell-time[b-trx2odu8xf]  input {
    font-family: monospace;
    text-align: center;
    padding-left: 4px;
    padding-right: 2px;
}

.wb-cell-time[b-trx2odu8xf]  .mud-input-adornment {
    margin-left: 0;
}

/* One line, whatever the count says — a wrapped label makes every row in the grid taller. */
.wb-cell-crew[b-trx2odu8xf]  .mud-button-root {
    min-width: 0;
    height: 32px;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0.72rem;
}

.wb-cell-crew[b-trx2odu8xf]  .mud-button-root span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Read-only (the detail page): the values are text, so the rows lose the input chrome and tighten up. */
.wb-grid-readonly .wb-grid-row[b-trx2odu8xf] {
    align-items: center;
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketStateBand.razor.rz.scp.css */
.wb-band[b-1pkm19gv7l] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    padding: 15px 18px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.wb-band-steps[b-1pkm19gv7l] {
    display: flex;
    align-items: flex-start;
    flex: 1 1 320px;
    min-width: 0;
}

.wb-band-step[b-1pkm19gv7l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 104px;
    flex-shrink: 0;
}

.wb-band-line[b-1pkm19gv7l] {
    flex: 1;
    min-width: 16px;
    height: 2px;
    margin-top: 12px;
    border-radius: 2px;
    background: var(--mud-palette-divider);
}

.wb-band-line-on[b-1pkm19gv7l] {
    background: color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
}

.wb-band-dot[b-1pkm19gv7l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--mud-palette-lines-inputs);
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-disabled);
}

.wb-band-index[b-1pkm19gv7l] {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
}

.wb-band-name[b-1pkm19gv7l] {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    color: var(--mud-palette-text-disabled);
}

.wb-tone-idle[b-1pkm19gv7l] {
    --wb-tone: var(--mud-palette-text-secondary);
}

.wb-tone-live[b-1pkm19gv7l] {
    --wb-tone: var(--mud-palette-primary);
}

.wb-tone-done[b-1pkm19gv7l] {
    --wb-tone: var(--mud-palette-success);
}

.wb-band-done .wb-band-dot[b-1pkm19gv7l] {
    border-color: var(--wb-tone);
    color: var(--wb-tone);
    background: color-mix(in srgb, var(--wb-tone) 12%, transparent);
}

.wb-band-current .wb-band-dot[b-1pkm19gv7l] {
    border-color: var(--wb-tone);
    color: var(--mud-palette-primary-text);
    background: var(--wb-tone);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--wb-tone) 14%, transparent);
}

.wb-band-done .wb-band-name[b-1pkm19gv7l],
.wb-band-current .wb-band-name[b-1pkm19gv7l] {
    font-weight: 600;
    color: var(--wb-tone);
}

.wb-band-divider[b-1pkm19gv7l] {
    width: 1px;
    align-self: stretch;
    min-height: 44px;
    background: var(--mud-palette-divider);
}

.wb-band-next[b-1pkm19gv7l] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.wb-band-next-text[b-1pkm19gv7l] {
    min-width: 0;
    max-width: 340px;
}

.wb-band-next-title[b-1pkm19gv7l] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.wb-band-next-hint[b-1pkm19gv7l] {
    margin-top: 3px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 700px) {
    .wb-band-divider[b-1pkm19gv7l] {
        display: none;
    }
}
/* /Components/TSG/Transport/Document/TransportVehicleTicket/TransportVehicleTicketStatusChip.razor.rz.scp.css */
.wb-status[b-95vb4b4fuc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px 3px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.wb-status-lg[b-95vb4b4fuc] {
    padding: 5px 12px 5px 9px;
    font-size: 0.8rem;
}

.wb-status-dot[b-95vb4b4fuc] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.wb-status-lg .wb-status-dot[b-95vb4b4fuc] {
    width: 7px;
    height: 7px;
}

.wb-status-idle[b-95vb4b4fuc] {
    color: var(--mud-palette-text-secondary);
}

.wb-status-live[b-95vb4b4fuc] {
    color: var(--mud-palette-primary);
}

.wb-status-done[b-95vb4b4fuc] {
    color: var(--mud-palette-success);
}
/* /Components/TSG/Transport/Shared/CompanyVehicleCell.razor.rz.scp.css */
/* A plate is read character by character against a vehicle, so it is monospaced and bold. */

.fleet-plate[b-yu1dqyu69i] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: 0.02em;
}
/* /Components/TSG/Transport/Shared/FleetCounterTiles.razor.rz.scp.css */
/* Counters that are also the filter. One row of equal weights, so the eye compares the numbers rather than the
   boxes, and they size to their own content — never to the leftover height of the page. */

.fleet-tiles[b-jn5j5ipz05] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    align-items: start;
}

.fleet-tile[b-jn5j5ipz05] {
    padding: 12px 14px;
    border-radius: 11px;
    cursor: pointer;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    transition: border-color 0.12s, background 0.12s;
}

.fleet-tile:hover[b-jn5j5ipz05] {
    background: var(--mud-palette-action-default-hover);
}

.fleet-tile-label[b-jn5j5ipz05] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.fleet-tile-value[b-jn5j5ipz05] {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
}

/* Selected is outlined rather than filled: it is a filter that is on, not a value that changed. */
.fleet-tile-selected[b-jn5j5ipz05] {
    border-width: 2px;
}

.fleet-tile-total .fleet-tile-value[b-jn5j5ipz05] { color: var(--mud-palette-text-primary); }

.fleet-tile-valid .fleet-tile-value[b-jn5j5ipz05] { color: var(--mud-palette-success); }
.fleet-tile-valid.fleet-tile-selected[b-jn5j5ipz05] { border-color: var(--mud-palette-success); }

.fleet-tile-expiring .fleet-tile-value[b-jn5j5ipz05] { color: var(--mud-palette-warning); }
.fleet-tile-expiring.fleet-tile-selected[b-jn5j5ipz05] { border-color: var(--mud-palette-warning); }

.fleet-tile-expired .fleet-tile-value[b-jn5j5ipz05] { color: var(--mud-palette-error); }
.fleet-tile-expired.fleet-tile-selected[b-jn5j5ipz05] { border-color: var(--mud-palette-error); }

/* Undated rows are not a warning — they are simply outside the question, and read that way. */
.fleet-tile-undated .fleet-tile-value[b-jn5j5ipz05] { color: var(--mud-palette-text-secondary); }
.fleet-tile-undated.fleet-tile-selected[b-jn5j5ipz05] { border-color: var(--mud-palette-text-secondary); }
/* /Components/TSG/Transport/Shared/FleetValidityDate.razor.rz.scp.css */
/* Dates are compared down a column, so they are monospaced. The colour is the derived state, nothing else. */

.fleet-date[b-6gyxjci9hx] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 600;
}

.fleet-date-muted[b-6gyxjci9hx] {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.fleet-date-expiring[b-6gyxjci9hx] {
    color: var(--mud-palette-warning);
}

.fleet-date-expired[b-6gyxjci9hx] {
    color: var(--mud-palette-error);
}

.fleet-date-none[b-6gyxjci9hx] {
    color: var(--mud-palette-text-disabled);
    font-weight: 500;
}
/* /Components/TSG/Transport/Workflow/FleetCondition/FleetConditionBrowse.razor.rz.scp.css */
/* Four counters that are also the filter. They read as one row of equal weights, so the eye compares the numbers
   rather than the boxes. Colours come from the theme only. */

/* The single element FullHeightPage's third row expects: counters and grid together, scrolling as one. */
.fleet-content[b-qyo1k5hej1] {
    overflow-y: auto;
    min-height: 0;
}

.fleet-tiles[b-qyo1k5hej1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    /* Counters are a readout, not a panel — they size to their own content and never stretch. */
    align-items: start;
}

.fleet-tile[b-qyo1k5hej1] {
    padding: 12px 14px;
    border-radius: 11px;
    cursor: pointer;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    transition: border-color 0.12s, background 0.12s;
}

.fleet-tile:hover[b-qyo1k5hej1] {
    background: var(--mud-palette-action-default-hover);
}

.fleet-tile-label[b-qyo1k5hej1] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.fleet-tile-value[b-qyo1k5hej1] {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
}

/* The selected tile is outlined rather than filled: it is a filter that is on, not a value that changed. */
.fleet-tile-selected[b-qyo1k5hej1] {
    border-width: 2px;
}

.fleet-tile-valid .fleet-tile-value[b-qyo1k5hej1] { color: var(--mud-palette-success); }
.fleet-tile-valid.fleet-tile-selected[b-qyo1k5hej1] { border-color: var(--mud-palette-success); }

.fleet-tile-expiring .fleet-tile-value[b-qyo1k5hej1] { color: var(--mud-palette-warning); }
.fleet-tile-expiring.fleet-tile-selected[b-qyo1k5hej1] { border-color: var(--mud-palette-warning); }

.fleet-tile-expired .fleet-tile-value[b-qyo1k5hej1] { color: var(--mud-palette-error); }
.fleet-tile-expired.fleet-tile-selected[b-qyo1k5hej1] { border-color: var(--mud-palette-error); }

.fleet-tile-total .fleet-tile-value[b-qyo1k5hej1] { color: var(--mud-palette-text-primary); }

.fleet-mono[b-qyo1k5hej1] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 600;
}

.fleet-muted[b-qyo1k5hej1] {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.fleet-expiring[b-qyo1k5hej1] { color: var(--mud-palette-warning); }
.fleet-expired[b-qyo1k5hej1] { color: var(--mud-palette-error); }

.fleet-sortnote[b-qyo1k5hej1] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.fleet-footnote[b-qyo1k5hej1] {
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
/* /Components/TSG/Transport/Workflow/FleetEquipment/FleetEquipmentBrowse.razor.rz.scp.css */
/* The single element FullHeightPage's third row expects: counters and grid together, scrolling as one. */
.fleet-content[b-8sbqqofzrh] {
    overflow-y: auto;
    min-height: 0;
}

.fleet-sortnote[b-8sbqqofzrh] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
/* /Components/TSG/Transport/Workflow/FleetFuelCard/FleetFuelCardBrowse.razor.rz.scp.css */
/* The single element FullHeightPage's third row expects: counters and grid together, scrolling as one. */
.fleet-content[b-fpauigbc0m] {
    overflow-y: auto;
    min-height: 0;
}

.fleet-sortnote[b-fpauigbc0m] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* A card number is read digit by digit against a physical card. */
.fleet-card-number[b-fpauigbc0m] {
    font-family: var(--mud-typography-caption-family), ui-monospace, monospace;
    font-weight: 600;
    letter-spacing: 0.02em;
}
/* /Components/TSG/Transport/Workflow/FleetFuel/FleetFuelBrowse.razor.rz.scp.css */
/* No counters on this list, so the grid is the third row FullHeightPage expects and needs no extra wrapper. */

.fleet-sortnote[b-21m38vnw0e] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
/* /Components/TSG/WorkTime/Document/WorkTimeSheet/WorkTimeSheetGrid.razor.rz.scp.css */
/* The attendance grid. Colour comes from the theme's own variables only, never a literal, so both faces follow the
   light and dark themes the way every other screen does. */

/* A month is up to 31 columns wide and a department up to two dozen, so whichever face is on screen scrolls inside its
   own box rather than pushing the page sideways. */
.wt-scroll[b-wjmp1kwnu5] {
    overflow-x: auto;
    max-width: 100%;
}

.wt-grid[b-wjmp1kwnu5] {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.8125rem;
}

.wt-grid th[b-wjmp1kwnu5],
.wt-grid td[b-wjmp1kwnu5] {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 3px 4px;
    text-align: center;
    white-space: nowrap;
}

.wt-grid thead th[b-wjmp1kwnu5] {
    background-color: var(--mud-palette-background-grey);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.wt-grid tfoot td[b-wjmp1kwnu5] {
    background-color: var(--mud-palette-background-grey);
    font-weight: 600;
}

/* The identity columns are the only wide ones and stay readable while the days scroll past them. */
.wt-grid .wt-name[b-wjmp1kwnu5] {
    text-align: left;
    padding-left: 10px;
    min-width: 190px;
}

.wt-grid .wt-name-main[b-wjmp1kwnu5] {
    font-weight: 500;
}

.wt-grid .wt-name-sub[b-wjmp1kwnu5] {
    font-size: 0.6875rem;
    color: var(--mud-palette-text-secondary);
}

.wt-grid .wt-rownum[b-wjmp1kwnu5],
.wt-grid .wt-daynum[b-wjmp1kwnu5] {
    width: 40px;
    min-width: 40px;
    color: var(--mud-palette-text-secondary);
}

.wt-grid .wt-weekday[b-wjmp1kwnu5] {
    width: 56px;
    min-width: 56px;
    color: var(--mud-palette-text-secondary);
}

.wt-grid .wt-grade[b-wjmp1kwnu5] {
    width: 64px;
    min-width: 64px;
}

.wt-grid .wt-person[b-wjmp1kwnu5] {
    min-width: 76px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-grid .wt-total[b-wjmp1kwnu5] {
    min-width: 58px;
    font-weight: 500;
}

.wt-grid .wt-total.strong[b-wjmp1kwnu5] {
    font-weight: 700;
}

.wt-grid .wt-actions[b-wjmp1kwnu5] {
    width: 84px;
    min-width: 84px;
}

/* One day cell. Narrow on purpose: the common case is empty, which on a working day means "worked to the norm". */
.wt-grid .wt-day[b-wjmp1kwnu5] {
    width: 44px;
    min-width: 44px;
}

/* Rest days and holidays are shaded rather than skipped: work happens on them, and a gap in the grid would read as
   "nothing can be written here". The holiday is the darker of the two, because it is the more specific fact. */
.wt-grid .wt-day.rest[b-wjmp1kwnu5],
.wt-grid tbody tr.rest td[b-wjmp1kwnu5] {
    background-color: var(--mud-palette-action-default-hover);
}

.wt-grid .wt-day.holiday[b-wjmp1kwnu5],
.wt-grid tbody tr.holiday td[b-wjmp1kwnu5] {
    background-color: var(--mud-palette-warning-hover);
}

/* A cell that says something. Weight rather than colour, so the two shadings above stay readable underneath it. */
.wt-grid .wt-day.filled[b-wjmp1kwnu5] {
    font-weight: 600;
}

/* A cell drawn from an approved leave application rather than typed. The underline says "this came from somewhere
   else"; typing over it makes it the operator's own and composing will not overwrite it again. */
.wt-grid .wt-day.inherited[b-wjmp1kwnu5] {
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

.wt-grid .wt-day.editable[b-wjmp1kwnu5] {
    cursor: pointer;
}

.wt-grid .wt-day.editable:hover[b-wjmp1kwnu5] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}
/* /Components/TSG/WorkTime/Workflow/MyWorkTime/MyWorkTimeBrowse.razor.rz.scp.css */
/* The day strip: only the days that departed from the plan, so it is short by design — a month that went entirely to
   plan shows a sentence instead. Colour comes from the theme's own variables only, never a literal. */

.wtm-days[b-e767itb2mo] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.wtm-day[b-e767itb2mo] {
    min-width: 54px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    padding: 4px 6px;
    text-align: center;
}

.wtm-day-num[b-e767itb2mo] {
    font-size: 0.6875rem;
    color: var(--mud-palette-text-secondary);
}

.wtm-day-value[b-e767itb2mo] {
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Rest days and holidays are shaded the way they are in the manager's grid, so the two screens read alike. The
   holiday is the darker of the two, because it is the more specific fact. */
.wtm-day.rest[b-e767itb2mo] {
    background-color: var(--mud-palette-action-default-hover);
}

.wtm-day.holiday[b-e767itb2mo] {
    background-color: var(--mud-palette-warning-hover);
}
