@import '_content/BlazorBasics.RichTextEditor/BlazorBasics.RichTextEditor.bvjmeb7cg9.bundle.scp.css';
@import '_content/CkEditor5.Blazor/CkEditor5.Blazor.ipspgp9u6k.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Common/EntroGrid/Columns/EntroChipColumn.razor.rz.scp.css */
/* Chip styling matches the .chip rules in wwwroot/css/grid-page.css, but lives here so the column
   works in any grid instead of only inside a .grid-page wrapper. */
.entro-chip[b-1s4x3ao0xf] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, .08);
    background: var(--neutral-fill-secondary-rest);
    color: rgba(0, 0, 0, .75);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}

/* text-overflow has no effect on a flex container, so the label is truncated on its own inline
   box instead. min-width lets that box shrink below its content width, which a flex item does
   not do by default. */
.entro-chip-label[b-1s4x3ao0xf] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entro-chip-empty[b-1s4x3ao0xf] {
    color: var(--neutral-foreground-hint);
}

/* Lookup tables such as the work item statuses store fully saturated colours, which are too
   strong for a dense list. The legacy work item grid toned them down in exactly this way. */
.entro-chip-muted[b-1s4x3ao0xf] {
    filter: saturate(.55) brightness(1.08);
}
/* /Components/Common/EntroGrid/Columns/MoneyColumn.razor.rz.scp.css */
.entro-grid-money[b-2hyabuxoqh] {
    white-space: nowrap;
}

.entro-grid-money.negative[b-2hyabuxoqh] {
    color: var(--error, #c50f1f);
    font-weight: 600;
}
/* /Components/Common/EntroGrid/Columns/TagsColumn.razor.rz.scp.css */
/* Pills stay on one line and are clipped by the cell, so a long tag list never breaks the row. */
.entro-tags-cell[b-6h5r0s89hq] {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

/* Same shape as the tag pills used elsewhere in the app, so a tag looks identical in the cell,
   in the dropdown and as a selected chip. */
.entro-tag-pill[b-6h5r0s89hq] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.entro-tag-more[b-6h5r0s89hq] {
    background-color: var(--neutral-fill-secondary-rest, #e5e5e5);
    color: var(--neutral-foreground-hint, #707070);
}

/* The autocomplete renders its own dropdown, so the panel only needs room for it. */
.entro-tags-filter[b-6h5r0s89hq] {
    min-width: 260px;
    margin-bottom: 8px;
    overflow: visible;
}

.entro-tags-empty[b-6h5r0s89hq] {
    display: block;
    padding: 6px 0;
    font-size: 11px;
    text-align: center;
    color: var(--neutral-foreground-hint, #707070);
}
/* /Components/Common/EntroGrid/EntroDataGrid.razor.rz.scp.css */
.entro-grid[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    position: relative;
    /* Height of one text line in a cell. Reserving whole lines is what lets UniformRowHeight
       keep every row the same height, so this has to be an explicit value. */
    --entro-grid-line-height: 20px;
}

    /* Fill mode: the grid takes the height of its container and the table area absorbs
       whatever is left over, so the pager and the footer end up at the bottom even when
       there are only a few rows. */
    .entro-grid.fill-height[b-y898d4rm9l] {
        height: 100%;
        min-height: 0;
    }

        .entro-grid.fill-height .entro-grid-body[b-y898d4rm9l] {
            flex: 1 1 auto;
            /* Without this a flex item refuses to shrink below its content height. */
            min-height: 0;
        }

        .entro-grid.fill-height .entro-grid-scroll[b-y898d4rm9l],
        .entro-grid.fill-height .entro-grid-side[b-y898d4rm9l] {
            /* The body row already claimed the height, these just fill it. */
            height: 100%;
            min-height: 0;
        }

.entro-grid-toolbar[b-y898d4rm9l] {
    display: flex;
    /* Not space-between: the leading group grows to claim the free space instead, which is what
       keeps the trailing buttons hard right without an auto margin competing for it. */
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.entro-grid-toolbar-start[b-y898d4rm9l],
.entro-grid-toolbar-end[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

    /* Grows into whatever the buttons leave, which pushes the trailing group hard right without
       an auto margin competing for the same free space. */
    .entro-grid-toolbar-start[b-y898d4rm9l] {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Keeps its natural size, and fills its rows from the right so a wrapped row leaves its gap
       before the first button rather than after the last one. */
    .entro-grid-toolbar-end[b-y898d4rm9l] {
        flex: 0 1 auto;
        justify-content: flex-end;
    }

/* Secondary toolbar buttons show their icon only and name themselves through a tooltip, so the
   toolbar keeps a fixed footprint. An expanding label was tried instead, but a button that grows
   on hover reflows the row and can push a neighbour onto a second line mid interaction.

   The icon is deliberately not in the start slot: that slot carries a fixed margin-inline-end in
   the shadow root, which a scoped selector cannot reach, and it would leave a gap to the right of
   the icon with no text to separate from. */
.entro-grid-button-content[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    /* The button reserves a minimum width, so the content has to claim it and centre itself in
       it. Left to its own size the icon would sit against the start padding instead. */
    justify-content: center;
    width: 100%;
}

.entro-grid-search[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .entro-grid-search[b-y898d4rm9l]  fluent-text-field {
        min-width: 240px;
    }

/* Body of the columns popover. The border, background and corners belong to the popover, so only
   the scrolling and the width of the list are set here. */
.entro-grid-column-panel[b-y898d4rm9l] {
    min-width: 240px;
    max-height: 320px;
    overflow: auto;
}

.entro-grid-column-panel-row[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.entro-grid-column-panel-title[b-y898d4rm9l] {
    flex: 1;
}

/* The tags live in a second header row, directly above the first record, so the active filters
   read as part of the grid rather than as a floating strip above it. */
.entro-grid-filter-tags[b-y898d4rm9l] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    /* Pinned to the left edge of the scroll container. The cell it sits in spans the whole table,
       which can be far wider than the container, so without this the tags would slide out of view
       as soon as the columns are scrolled sideways. */
    position: sticky;
    left: 0;

    /* The horizontal inset belongs here rather than on the cell. A sticky element is clamped to
       the padding box of its container, so cell padding would let the tags drift by exactly that
       many pixels before locking. Padding on the sticky element travels with it instead. */
    padding-inline: 8px;

    /* Shrink to the tags themselves, but never past the width of the table, so a long list wraps
       instead of stretching the cell. border-box keeps the inset inside the max-width. */
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
}

.entro-grid-table thead tr.entro-grid-filter-row > th[b-y898d4rm9l] {
    /* No horizontal padding here, see the sticky note above. */
    padding: 6px 0;
    font-weight: 400;

    /* Deliberately not sticky, even when the header is: it belongs to the records, so it scrolls
       up under the column titles rather than stacking on top of them. */
    position: static;
}

.entro-grid-filter-tag[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px 3px 10px;
    border-radius: 14px;
    background: var(--neutral-fill-secondary-rest);
    border: 1px solid var(--neutral-base-color);
    font-size: 12px;
}

/* A locked tag has no remove button, so the right padding matches the left again. The dashed
   border sets it apart from the tags the user can act on. */
.entro-grid-filter-tag.locked[b-y898d4rm9l] {
    padding-right: 10px;
    border-style: dashed;
    opacity: 0.85;
}

/* A hidden condition is only shown in debug mode, so it borrows the warning colours the rest of
   the debug surfaces use and stays visibly different from a normal locked tag. */
.entro-grid-filter-tag.locked.debug-hidden[b-y898d4rm9l] {
    border-style: dashed;
    border-color: var(--warning-foreground, #835c00);
    background: var(--warning-fill-rest, #fff4ce);
    color: var(--warning-foreground, #835c00);
    opacity: 1;
    font-style: italic;
}

/* A tag that stands for a whole filter set is highlighted, because clicking it expands the set. */
.entro-grid-filter-tag-set[b-y898d4rm9l] {
    background: var(--accent-fill-rest);
    border-color: var(--accent-fill-rest);
    color: var(--neutral-fill-rest);
    padding-left: 12px;
    transition: background 0.1s ease-in-out;
}

    .entro-grid-filter-tag-set:hover[b-y898d4rm9l] {
        background: var(--accent-fill-hover);
        border-color: var(--accent-fill-hover);
    }

/* An expanded set wraps its conditions, so the set name is shown once instead of on every tag. */
.entro-grid-filter-set-group[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 4px 3px 4px;
    border: 1px solid var(--accent-fill-rest);
    border-radius: 16px;
    background: var(--neutral-layer-2);
}

.entro-grid-filter-set-group-label[b-y898d4rm9l] {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: none;
    border-radius: 13px;
    background: var(--accent-fill-rest);
    color: var(--neutral-fill-rest);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s ease-in-out;
}

    .entro-grid-filter-set-group-label:hover[b-y898d4rm9l] {
        background: var(--accent-fill-hover);
    }

    .entro-grid-filter-set-group-label:active[b-y898d4rm9l] {
        background: var(--accent-fill-active);
    }

.entro-grid-filter-set-group-items[b-y898d4rm9l] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Marks a set whose conditions no longer match the stored definition. */
.entro-grid-filter-set-modified[b-y898d4rm9l] {
    margin-left: 2px;
    font-weight: 700;
}

/* Matches the typography of the group label, so a set reads the same collapsed or expanded. */
.entro-grid-filter-set-name[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.entro-grid-filter-set-count[b-y898d4rm9l] {
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 11px;
}

/* Plain button, because a Fluent button cannot be made this small without fighting its shadow DOM. */
.entro-grid-tag-remove[b-y898d4rm9l] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: inherit;
    /* The glyph is hidden and the cross is drawn instead. A text character can never be centred
       reliably here: flex centres the line box, while the glyph itself sits on the baseline, so
       the cross always looks low. Two rotated bars have no font metrics to fight. */
    font-size: 0;
    line-height: 0;
    opacity: 0.6;
    cursor: pointer;
}

    .entro-grid-tag-remove[b-y898d4rm9l]::before,
    .entro-grid-tag-remove[b-y898d4rm9l]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 9px;
        height: 1.5px;
        border-radius: 1px;
        background: currentColor;
    }

    .entro-grid-tag-remove[b-y898d4rm9l]::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .entro-grid-tag-remove[b-y898d4rm9l]::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .entro-grid-tag-remove:hover[b-y898d4rm9l] {
        opacity: 1;
        background: var(--neutral-fill-stealth-hover);
    }

    /* On the accent pill a neutral fill is invisible, so a translucent white is used instead. */
    .entro-grid-filter-tag-set .entro-grid-tag-remove:hover[b-y898d4rm9l] {
        background: rgba(255, 255, 255, 0.25);
    }

/* Sits on the panel background rather than on an accent pill. */
.entro-grid-tag-remove-set[b-y898d4rm9l] {
    margin-right: 2px;
}

/* Body of the filter sets popover, see the columns panel above for why there is no chrome here. */
.entro-grid-filterset-panel[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 320px;
    max-height: 360px;
    overflow: auto;
}

/* Stays in view while the list of sets scrolls underneath it. */
.entro-grid-filterset-actions[b-y898d4rm9l] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    gap: 8px;
    background: var(--neutral-layer-1);
}

.entro-grid-filterset-form[b-y898d4rm9l] {
    position: sticky;
    top: 46px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    background: var(--neutral-layer-1);
}

.entro-grid-filterset-form-actions[b-y898d4rm9l] {
    display: flex;
    gap: 8px;
}

.entro-grid-filterset-row[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.entro-grid-filterset-apply[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 2px;
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

    .entro-grid-filterset-apply:hover[b-y898d4rm9l] {
        background: var(--neutral-fill-secondary-hover);
    }

.entro-grid-filterset-name[b-y898d4rm9l] {
    font-weight: 600;
}

.entro-grid-filterset-meta[b-y898d4rm9l],
.entro-grid-filterset-empty[b-y898d4rm9l],
.entro-grid-filterset-message[b-y898d4rm9l] {
    font-size: 11px;
    color: var(--neutral-foreground-hint);
}

.entro-grid-filterset-message[b-y898d4rm9l] {
    padding: 2px 0;
}

.entro-grid-filterset-drop[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px;
    font-size: 11px;
    color: var(--neutral-foreground-hint);
}

/* Row that holds the scrolling body and the optional side panel. Without it the panel would be a
   block in the column layout of the grid and end up under the rows. */
.entro-grid-body[b-y898d4rm9l] {
    display: flex;
    align-items: stretch;
    min-height: 0;
    min-width: 0;
}

    /* With a side panel the frame moves up to this row, so the panel sits inside the same border
       as the rows. The inner containers give up their own border below. */
    .entro-grid-body.framed[b-y898d4rm9l] {
        border: 1px solid var(--neutral-stroke-rest);
        border-radius: 6px;
        background: var(--neutral-layer-1);
        /* Keeps the corners of the children inside the rounded frame. */
        overflow: hidden;
    }

    /* The rows take whatever the panel leaves. min-width is what actually allows the table to
       shrink: a flex item defaults to the width of its content and would push the panel away. */
    .entro-grid-body > .entro-grid-scroll[b-y898d4rm9l] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .entro-grid-body.framed > .entro-grid-scroll[b-y898d4rm9l] {
        border: 0;
        border-radius: 0;
    }

/* The panel is a sibling of the scrollport, so it never scrolls with the rows. It scrolls inside
   itself once its own content is taller than the grid. Only the edge facing the rows is drawn,
   the outer edges belong to the frame of the body row. */
.entro-grid-side[b-y898d4rm9l] {
    overflow: auto;
    background: var(--neutral-layer-1);
    padding: 12px;
    min-height: 0;
    border-left: 1px solid var(--neutral-stroke-rest);
}

.entro-grid-side.left[b-y898d4rm9l] {
    order: -1;
    border-left: 0;
    border-right: 1px solid var(--neutral-stroke-rest);
}

.entro-grid-scroll[b-y898d4rm9l] {
    overflow: auto;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    background: var(--neutral-layer-1);
    /* A column layout lets the below-grid bar claim the leftover height with margin-top:auto
       instead of trailing the last row. */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Shadows that reveal columns hidden off screen, without any script.
       Four layers: two opaque "cover" patches attached to the container and two shadows
       attached to the content. When the content is scrolled to an edge the cover sits on top of
       the shadow and hides it; as soon as the content moves away the shadow becomes visible.
       The covers must come first so they paint over the shadows. */
    background-image:
        linear-gradient(to right, var(--neutral-layer-1), transparent 12px),
        linear-gradient(to left, var(--neutral-layer-1), transparent 12px),
        linear-gradient(to right, rgba(0, 0, 0, 0.18), transparent 10px),
        linear-gradient(to left, rgba(0, 0, 0, 0.18), transparent 10px);
    background-position: left center, right center, left center, right center;
    background-repeat: no-repeat;
    background-size: 24px 100%, 24px 100%, 10px 100%, 10px 100%;
    background-attachment: local, local, scroll, scroll;
}

    /* Sticky has to be set on the cells themselves, a sticky thead is ignored by most
       browsers when the table uses border-collapse. The filter row is excluded: it belongs to the
       records, so it scrolls away rather than stacking underneath the column titles. */
    .entro-grid-scroll.sticky-header thead tr:not(.entro-grid-filter-row) > th[b-y898d4rm9l] {
        position: sticky;
        top: 0;
        z-index: 3;
    }

        /* A collapsed border scrolls away with the rows, so the line is drawn as a shadow. */
        .entro-grid-scroll.sticky-header thead tr:not(.entro-grid-filter-row) > th[b-y898d4rm9l]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            border-bottom: 1px solid var(--neutral-stroke-rest);
        }

/* Sibling of the table, not a tfoot: a tfoot only reaches the bottom of the container once the
   rows overflow, and making a td flex would break its colspan width. */
.entro-grid-below[b-y898d4rm9l] {
    position: sticky;
    bottom: 0;
    /* Also pinned horizontally: the columns may be wider than the container, and the bar should
       stay put while they scroll underneath it. */
    left: 0;
    width: 100%;
    z-index: 3;
    background: var(--neutral-layer-1);
    padding: 6px 8px;
    /* The status line sits left, anything the page adds is pushed to the right. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* Absorbs the leftover height of the scroll container, so the bar sits against the bottom
       border even when there are too few rows to overflow. */
    margin-top: auto;
    border-top: 1px solid var(--neutral-stroke-rest);
    /* The table may be wider than the container when columns overflow; without this the bar
       would only span the visible width and detach while scrolling sideways. */
    flex: 0 0 auto;
}

.entro-grid-export-panel[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    min-width: 220px;
}

.entro-grid-export-title[b-y898d4rm9l] {
    font-weight: 600;
}

.entro-grid-export-hint[b-y898d4rm9l] {
    font-size: 11px;
    color: var(--neutral-foreground-hint);
}

.entro-grid-status[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--neutral-foreground-hint);
    white-space: nowrap;
}

.entro-grid-status-sep[b-y898d4rm9l] {
    opacity: .5;
}

.entro-grid-below-custom[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

    .entro-grid-table[b-y898d4rm9l] {
    border-collapse: collapse;
    table-layout: fixed;
    /* With a fixed layout the declared column widths are used as-is; the leftover space goes
       to the width-less filler column instead of being spread over the resizable columns.
       If the columns together are wider than the grid, the table grows and the container
       scrolls. */
    width: 100%;
    /* Reboot gives every table a bottom margin. That margin sits outside the table box, so a
       tfoot stuck to bottom:0 would float 1rem above the scroll container. */
    margin-bottom: 0;
}

.entro-grid-filler[b-y898d4rm9l] {
    padding: 0;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

thead .entro-grid-filler[b-y898d4rm9l] {
    background: var(--neutral-layer-1);
}

/* Add column affordance, living in the leftover space after the last column. It stays quiet
   until the header is hovered, so it does not read as another column. */
.entro-grid-add-column[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 4px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--neutral-foreground-rest);
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.1s ease-in-out, background 0.1s ease-in-out;
}

    .entro-grid-table thead:hover .entro-grid-add-column[b-y898d4rm9l],
    .entro-grid-add-column:focus-visible[b-y898d4rm9l] {
        opacity: 1;
    }

    .entro-grid-add-column:hover[b-y898d4rm9l] {
        opacity: 1;
        background: var(--neutral-fill-stealth-hover);
    }

.entro-grid-table thead th[b-y898d4rm9l] {
    position: relative;
    text-align: left;
    font-weight: 600;
    padding: 6px 8px;
    border-bottom: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-layer-1);
    user-select: none;
}

.entro-grid-header-content[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;

    /* Anchor for the filter button, which overlays the right edge instead of taking part in the
       layout. */
    position: relative;

    /* Same layer as the header strip, the sort affordance comes from the title hover instead. */
    background: var(--neutral-layer-1);
    padding: 2px 10px;
    border-radius: 5px;
    /* Keeps the header the same height when the filter button is not rendered. */
    min-height: 36px;
    transition: background 0.1s ease-in-out;
}

    /* The whole block toggles the sort, not just the text. */
    .entro-grid-header-content.sortable[b-y898d4rm9l] {
        cursor: pointer;
    }

    /* The whole header block reacts, even though only the title toggles the sort. */
    .entro-grid-header-content:hover[b-y898d4rm9l] {
        background: var(--neutral-fill-stealth-hover);
    }

/* The filter button is chrome, not content. Reserving room for it would cost every column the
   width of a button it shows only on hover, so it is taken out of the flow and laid over the
   right edge of the header instead. The title therefore gets the full width, and its ellipsis
   moves out of the way on hover because the button is opaque and covers the last few pixels. */
.entro-grid-filter-button-holder[b-y898d4rm9l] {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    opacity: 0;
    /* Out of the flow means it would still swallow clicks meant for the title underneath. */
    pointer-events: none;
    border-radius: 5px;
    /* Masks the text it covers, so a long title does not read through the icon. */
    background: inherit;
    transition: opacity 120ms ease-in-out;
}

    .entro-grid-header-cell:hover .entro-grid-filter-button-holder[b-y898d4rm9l],
    .entro-grid-filter-button-holder:focus-within[b-y898d4rm9l] {
        opacity: 1;
        pointer-events: auto;
    }

    /* A column that is actually filtered, or whose panel is open, keeps its button: it is the only
       per column sign that the column narrows the result. That one does take part in the layout,
       because it is there whether the pointer is or not. */
    .entro-grid-filter-button-holder.pinned[b-y898d4rm9l] {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    /* The title keeps the full width, so the padding only has to be trimmed for the pinned case. */
    .entro-grid-header-content:has(.entro-grid-filter-button-holder.pinned)[b-y898d4rm9l] {
        padding-right: 2px;
    }

/* The sort arrow sits at the same right edge the filter button overlays, so it would disappear
   underneath it on hover. An arrow is only rendered while the column is actually sorted, so the
   header reserves a button width in that case only: unsorted columns keep the full title width. */
.entro-grid-sort-indicator[b-y898d4rm9l] {
    display: inline-flex;
    flex: 0 0 auto;
}

    .entro-grid-header-content:has(.entro-grid-sort-indicator):hover[b-y898d4rm9l] {
        padding-right: 34px;
    }

    /* Pinned already takes part in the flow, so the arrow is pushed aside rather than covered. */
    .entro-grid-header-content:has(.entro-grid-filter-button-holder.pinned):hover[b-y898d4rm9l] {
        padding-right: 2px;
    }

.entro-grid-header-title[b-y898d4rm9l] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ---- Column reorder drag feedback ------------------------------------- */

/* The column being dragged fades, so it reads as "picked up". */
.entro-grid-table thead th.entro-grid-header-cell.dragging .entro-grid-header-content[b-y898d4rm9l] {
    opacity: 0.4;
}

/* The column the drop would land on is highlighted as a whole block. */
.entro-grid-table thead th.entro-grid-header-cell.drop-target .entro-grid-header-content[b-y898d4rm9l] {
    background: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
}

.entro-grid-resizer[b-y898d4rm9l] {
    position: absolute;
    top: 0;
    right: -5px;
    width: 11px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* A thin visible grip that highlights on hover so the handle can be found.
       It is drawn as a border on a box that is snapped to the column edge, because a
       centred element lands on half pixels and then renders thinner on some columns. */
    .entro-grid-resizer[b-y898d4rm9l]::before {
        content: "";
        position: absolute;
        right: 5px;
        top: 20%;
        height: 60%;
        width: 0;
        border-right: 1px solid var(--neutral-stroke-rest);
        transition: border-color 0.12s ease, top 0.12s ease, height 0.12s ease;
    }

    .entro-grid-resizer:hover[b-y898d4rm9l]::before {
        top: 15%;
        height: 70%;
        border-right-color: var(--accent-fill-rest);
    }

.entro-grid.resizing[b-y898d4rm9l] {
    cursor: col-resize;
    user-select: none;
}

    /* While dragging only the active handle stays highlighted, the others keep their
       resting look. */
    .entro-grid-resizer.active[b-y898d4rm9l]::before {
        top: 15%;
        height: 70%;
        border-right-color: var(--accent-fill-rest);
    }

    /* The cursor may leave the handle during the drag, so hover cannot be relied on. */
    .entro-grid.resizing .entro-grid-resizer:not(.active):hover[b-y898d4rm9l]::before {
        top: 20%;
        height: 60%;
        border-right-color: var(--neutral-stroke-rest);
    }

.entro-grid-filter-panel-fields[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 260px;
    overflow: visible;
}

/* The two ends of a date or time range, told apart by the separator between them rather than by a
   label on every picker. Stacked rather than side by side: the popover starts at 320px wide, so two
   pickers on one row leave neither of them readable. */
.entro-grid-filter-range[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* A date paired with its optional time. */
.entro-grid-filter-range-end[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.entro-grid-filter-range-separator[b-y898d4rm9l] {
    color: var(--neutral-foreground-hint);
}

/* Checkbox list of an In filter. Scrolls once a column has many predefined options. */
.entro-grid-filter-option-list[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
}

/* Separates the shortcuts of a filter template from the built in editor below them. */
.entro-grid-filter-panel-divider[b-y898d4rm9l] {
    height: 1px;
    margin: 12px 0;
    background: var(--neutral-stroke-divider-rest);
}

/* Reveals the condition dropdown. Deliberately understated: the value field is the primary
   control, the operators are for the occasional power user. */
.entro-grid-filter-advanced-toggle[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
    border: none;
    background: transparent;
    color: var(--neutral-foreground-hint, #707070);
    font: inherit;
    font-size: var(--type-ramp-minus-1-font-size, 12px);
    white-space: nowrap;
    cursor: pointer;
}

    .entro-grid-filter-advanced-toggle:hover[b-y898d4rm9l] {
        color: var(--accent-fill-rest);
    }

        .entro-grid-filter-advanced-toggle:hover[b-y898d4rm9l]  svg {
            fill: var(--accent-fill-rest);
        }

/* The popup layers have to win from the header and the rows underneath them. */
[b-y898d4rm9l] fluent-anchored-region {
    z-index: 1000;
}

.entro-grid-filter-panel-actions[b-y898d4rm9l] {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    /* Longer translations push the toggle and the two buttons past the panel width. Wrapping drops
       the actions onto a second line rather than squeezing every label into an ellipsis. */
    flex-wrap: wrap;
    row-gap: 8px;
}

    /* Buttons size to their label. Without this the flex parent shrinks them below their content
       and the text clips, which is what made the Dutch footer look cramped. */
    .entro-grid-filter-panel-actions[b-y898d4rm9l]  fluent-button {
        flex: 0 0 auto;
    }

    /* Keeps the toggle on the left while the buttons stay right aligned. */
    .entro-grid-filter-panel-actions .entro-grid-filter-advanced-toggle[b-y898d4rm9l] {
        margin-right: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

.entro-grid-table tbody td[b-y898d4rm9l] {
    padding: 2px 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
    vertical-align: middle;
    /* No clipping here: an editor or dropdown inside the cell must be able to escape. */
    overflow: visible;
}

.entro-grid-cell-content[b-y898d4rm9l] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Ties a line of text to the variable the reserved height is calculated from. */
    line-height: var(--entro-grid-line-height);
    /* Floor for the row height, set by the MinRowHeight parameter. An empty cell forms no line
       box, so line-height alone does not apply to it and the row collapses to its padding. The
       fallback of 0 keeps grids that do not set a minimum exactly as they were. */
    min-height: var(--entro-grid-min-row-height, 0);
}

/* Wrapping cell. The row grows with the tallest cell, because no row height is fixed. */
.entro-grid-cell-content.multiline[b-y898d4rm9l] {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Cuts the text off after MaxLines lines, which is set as an inline style. The box model with
   -webkit prefixes is the only cross browser way to clamp on a line count. */
.entro-grid-cell-content.multiline.clamped[b-y898d4rm9l] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entro-grid-cell.editing .entro-grid-cell-content[b-y898d4rm9l] {
    overflow: visible;
    white-space: normal;
}

/* Translucent rather than the opaque stealth token: the scroll shadows are painted on the
   container behind the table, so an opaque row background would hide them while hovering. */
.entro-grid-row:hover[b-y898d4rm9l] {
    background: color-mix(in srgb, var(--neutral-fill-stealth-hover) 55%, transparent);
}

/* A tint of the theme accent rather than a neutral fill, so a selected row reads as selected
   instead of merely shaded. color-mix keeps it in step with the configured accent colour. */
.entro-grid-row.selected[b-y898d4rm9l] {
    background: color-mix(in srgb, var(--accent-fill-rest) 14%, transparent);
}

    /* Hover has to stay distinguishable on top of the selected tint. */
    .entro-grid-row.selected:hover[b-y898d4rm9l] {
        background: color-mix(in srgb, var(--accent-fill-rest) 22%, transparent);
    }

/* Rows only look interactive when the caller listens for clicks. */
.entro-grid-row.clickable[b-y898d4rm9l] {
    cursor: pointer;
}

/* Once ctrl or shift click picks rows, the native text selection of the browser gets in the way:
   ctrl click starts a cell range and shift click highlights the text between two clicks. Editors
   and anchors keep their own selection so typing and copying a link still work. */
.entro-grid.row-selectable tbody[b-y898d4rm9l] {
    user-select: none;
}

    .entro-grid.row-selectable tbody input[b-y898d4rm9l],
    .entro-grid.row-selectable tbody textarea[b-y898d4rm9l],
    .entro-grid.row-selectable tbody a[b-y898d4rm9l],
    .entro-grid.row-selectable tbody .entro-grid-cell.editing[b-y898d4rm9l] {
        user-select: text;
    }

/* Row context menu. Positioned with fixed coordinates at the pointer, so it is never clipped
   by the scrolling container. The backdrop catches the click that dismisses it. */
.entro-grid-context-backdrop[b-y898d4rm9l] {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.entro-grid-context-menu[b-y898d4rm9l] {
    position: fixed;
    z-index: 1101;
    min-width: 180px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    /* The column picker grows with the number of hidden columns, so a long list scrolls inside
       the menu instead of running past the bottom of the window. The 16px matches the margin the
       placement script keeps on each side. */
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    background: var(--neutral-layer-floating, #fff);
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.entro-grid-context-item[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--neutral-foreground-rest);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .entro-grid-context-item:hover:not(:disabled)[b-y898d4rm9l] {
        background: var(--neutral-fill-secondary-hover);
    }

    /* Singles out the primary action of the menu. */
    .entro-grid-context-item.highlight[b-y898d4rm9l] {
        color: var(--accent-fill-rest);
    }

        .entro-grid-context-item.highlight[b-y898d4rm9l]  svg {
            fill: var(--accent-fill-rest);
        }

        .entro-grid-context-item.highlight:hover:not(:disabled)[b-y898d4rm9l] {
            color: var(--accent-fill-hover);
        }

    .entro-grid-context-item:disabled[b-y898d4rm9l] {
        color: var(--neutral-foreground-hint, #707070);
        cursor: default;
    }

        /* Fluent icons paint themselves, so the disabled state has to be dimmed instead. */
        .entro-grid-context-item:disabled[b-y898d4rm9l]  svg {
            opacity: 0.5;
        }

.entro-grid-context-separator[b-y898d4rm9l] {
    height: 1px;
    margin: 4px 2px;
    background: var(--neutral-stroke-rest);
}

/* The header and body cells use different horizontal padding (6px 8px against 2px 16px), so a
   checkbox centred with text-align would land in a different spot in each. The padding is
   dropped and the content is centred with flex instead, keeping both on the column axis. */
.entro-grid-table thead th.entro-grid-select-cell[b-y898d4rm9l],
.entro-grid-table tbody td.entro-grid-select-cell[b-y898d4rm9l],
.entro-grid-table thead th.entro-grid-expand-cell[b-y898d4rm9l],
.entro-grid-table tbody td.entro-grid-expand-cell[b-y898d4rm9l] {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

    .entro-grid-table thead th.entro-grid-select-cell > *[b-y898d4rm9l],
    .entro-grid-table tbody td.entro-grid-select-cell > *[b-y898d4rm9l] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* The checkbox only appears when the row is hovered, selected or keyboard focused. Opacity is
   used instead of visibility or display so the cell keeps its width and the columns next to it
   do not shift when it fades in. :focus-within keeps it reachable when tabbing through the grid.
   The opacity sits on the cell rather than on the checkbox: scoped css appends the scope
   attribute to the last element of the selector, and a "> *" child is the root of FluentCheckbox,
   which never carries this component's scope attribute. */
.entro-grid-table tbody td.entro-grid-select-cell[b-y898d4rm9l] {
    opacity: 0;
    transition: opacity 120ms ease-in-out;
}

.entro-grid-table tbody tr:hover td.entro-grid-select-cell[b-y898d4rm9l],
.entro-grid-table tbody tr.selected td.entro-grid-select-cell[b-y898d4rm9l],
.entro-grid-table tbody td.entro-grid-select-cell:focus-within[b-y898d4rm9l] {
    opacity: 1;
}

/* Plain button instead of FluentButton: the stealth appearance carries a fixed 32px control
   height from the design tokens, which dwarfs a small chevron. This keeps the hit area at 24px
   and lets the row stay compact. The chevron is sized through the FluentIcon Width parameter,
   since a scoped selector cannot reach the svg that FluentIcon renders. */
.entro-grid-table tbody td.entro-grid-expand-cell .entro-grid-expand-button[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: none;
    color: inherit;
    cursor: pointer;
    line-height: 0;
}

    .entro-grid-table tbody td.entro-grid-expand-cell .entro-grid-expand-button:hover[b-y898d4rm9l] {
        background: rgba(0, 0, 0, 0.06);
    }

    .entro-grid-table tbody td.entro-grid-expand-cell .entro-grid-expand-button:focus-visible[b-y898d4rm9l] {
        outline: 1px solid var(--accent-fill-rest);
        outline-offset: 1px;
    }

    /* A collapsed row that holds a search result: the chevron takes the accent colour and sits on
       a faint accent background, so the eye is pointed at the branch the match lives in. */
    .entro-grid-table tbody td.entro-grid-expand-cell .entro-grid-expand-button.leads-to-match[b-y898d4rm9l] {
        color: var(--accent-fill-rest);
        background: color-mix(in srgb, var(--accent-fill-rest) 12%, transparent);
    }

/* The rows a search matched, kept subtle so the surrounding branch stays readable. Selection and
   hover are tinted with the same accent and have to stay recognisable, so the match tint steps
   aside for a selected row and deepens while hovering. */
.entro-grid-row.search-match:not(.selected)[b-y898d4rm9l] {
    background: color-mix(in srgb, var(--accent-fill-rest) 7%, transparent);
}

    .entro-grid-row.search-match:not(.selected):hover[b-y898d4rm9l] {
        background: color-mix(in srgb, var(--neutral-fill-stealth-hover) 55%, color-mix(in srgb, var(--accent-fill-rest) 7%, transparent));
    }

/* Sticky on the left edge with the width of the visible area, so the message stays centred on
   screen instead of centring inside a table that is wider than the container. */
.entro-grid-message[b-y898d4rm9l] {
    position: sticky;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

    /* Reloading on top of an existing result: the old rows keep the grid at its height and the
       indicator floats over them, so nothing collapses and springs back. Taken out of the flow
       so it does not add its own height either. It starts below the column headers rather than
       being stacked under them, so the headers stay readable and keep working. */
    .entro-grid-message.overlay[b-y898d4rm9l] {
        position: absolute;
        inset: 0;
        padding: 0;
        z-index: 4;
        /* The overlay spans the whole scrollable height, so the indicator is pinned to the top
           instead of centred in content that may be scrolled out of view. */
        align-items: flex-start;
        background: color-mix(in srgb, var(--neutral-layer-1) 65%, transparent);
        /* The rows underneath must stay unclickable while they are being replaced. */
        cursor: progress;
    }

        /* Sticky keeps the indicator in view no matter how far the rows are scrolled. The overlay
           itself is absolute, so it scrolls with the content and cannot hold a fixed offset; the
           sticky wrapper is measured against the visible area and is the only reliable place to
           keep the indicator clear of the column headers. The header height is reserved with
           padding rather than a sticky offset, otherwise the sticky box starts below the visible
           area and the indicator is clipped. */
        .entro-grid-message.overlay > .entro-grid-message-inner[b-y898d4rm9l] {
            position: sticky;
            top: 0;
            display: flex;
            justify-content: center;
            width: 100%;
            padding: 24px;
        }

    /* Clear the sticky column headers. Override the variable when a header template makes the
       header taller. */
    .entro-grid-scroll.sticky-header .entro-grid-message.overlay > .entro-grid-message-inner[b-y898d4rm9l] {
        padding-top: calc(var(--entro-grid-header-offset, 38px) + 24px);
    }

/* Anchor for the loading overlay. */
.entro-grid-scroll[b-y898d4rm9l] {
    position: relative;
}

.entro-grid-detail-row > td[b-y898d4rm9l] {
    background: var(--neutral-layer-2);
    white-space: normal;
}

/* Opt in through DetailCellClass="flush" when the detail content should run edge to edge,
   for example a nested grid that has to line up with the columns of the outer grid. */
.entro-grid-detail-cell.flush[b-y898d4rm9l] {
    padding: 0;
}

.entro-grid-bottom[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.entro-grid-pager[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Keeps the bulk bar on the right even when the pager is hidden. */
.entro-grid-bulk-bar[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
    background: var(--neutral-layer-2);
}

.entro-grid-bulk-count[b-y898d4rm9l] {
    font-size: 12px;
    font-weight: 600;
}

.entro-grid-bulk-divider[b-y898d4rm9l] {
    width: 1px;
    align-self: stretch;
    min-height: 20px;
    background: var(--neutral-stroke-rest);
}

.entro-grid-bulk-custom[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.entro-grid-bulk-menu[b-y898d4rm9l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    min-width: 320px;
}

.entro-grid-bulk-row[b-y898d4rm9l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entro-grid-bulk-label[b-y898d4rm9l] {
    font-size: 12px;
    opacity: .8;
    min-width: 110px;
}

.entro-grid-bulk-editor[b-y898d4rm9l] {
    flex: 1 1 auto;
    min-width: 0;
}

.entro-grid-bulk-busy[b-y898d4rm9l] {
    width: 18px;
    height: 18px;
}

.entro-grid-pager-info[b-y898d4rm9l],
.entro-grid-pager-page[b-y898d4rm9l] {
    font-size: 12px;
    opacity: .8;
}

/* The indicator is a button so it can be clicked to jump to a page, but it has to keep reading as
   the plain label it was, so the button chrome is stripped back off. */
.entro-grid-pager-page[b-y898d4rm9l] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: none;
    border-radius: 4px;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

    /* A single page has nowhere to jump to, so it falls back to looking like a label. */
    .entro-grid-pager-page:disabled[b-y898d4rm9l] {
        cursor: default;
    }

    .entro-grid-pager-page:hover:not(:disabled)[b-y898d4rm9l] {
        background: var(--neutral-fill-stealth-hover);
    }

.entro-grid-pager-page-input[b-y898d4rm9l] {
    width: 48px;
    padding: 2px 4px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    background: var(--neutral-fill-input-rest);
    color: inherit;
    font: inherit;
    text-align: right;
}

.entro-grid-segment[b-y898d4rm9l] {
    background: var(--neutral-layer-1);
    border-radius: 5px;
    padding: 4px;
    border: 1px solid lightgray;
}

.entro-grid-segment-wide-padding[b-y898d4rm9l] {
    padding: 4px 8px;
}
/* /Components/Common/EntroMenuButton/EntroMenuButton.razor.rz.scp.css */
.entro-menu-button[b-3xrn6epc2r] {
    display: inline-flex;
    align-items: stretch;
}

[b-3xrn6epc2r] .entro-menu-button-primary::part(control) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

[b-3xrn6epc2r] .entro-menu-button-chevron::part(control) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-width: 32px;
    padding-inline: 4px;
}

/* Mirrored layout: the chevron moves to the left of the primary button. */
.entro-menu-button-chevron-left[b-3xrn6epc2r]  .entro-menu-button-chevron {
    order: 1;
}

.entro-menu-button-chevron-left[b-3xrn6epc2r]  .entro-menu-button-primary {
    order: 2;
}

.entro-menu-button-chevron-left[b-3xrn6epc2r]  .entro-menu-button-chevron::part(control) {
    border-radius: var(--control-corner-radius, 4px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.entro-menu-button-chevron-left[b-3xrn6epc2r]  .entro-menu-button-primary::part(control) {
    border-radius: var(--control-corner-radius, 4px);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

[b-3xrn6epc2r] .entro-menu-button-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
    padding: 4px;
}

/* FluentPopover puts 1rem of padding on its body, which is far too much for a menu list. */
[b-3xrn6epc2r] .entro-menu-button-popover,
[b-3xrn6epc2r] .entro-menu-button-popover .fluent-popover-body,
[b-3xrn6epc2r] .entro-menu-button-popover .fluent-popover-content {
    padding: 0;
}

/* Without this the options shrink to fit inside MenuMaxHeight instead of overflowing, which
   makes a long list render as thin rows and never shows a scrollbar. */
[b-3xrn6epc2r] .entro-menu-button-option {
    flex: 0 0 auto;
}

[b-3xrn6epc2r] .entro-menu-button-option::part(control) {
    justify-content: flex-start;
    width: 100%;
}

[b-3xrn6epc2r] .entro-menu-button-option-selected::part(control) {
    font-weight: 600;
}
/* /Components/Dialogs/SMSLAModelDialog.razor.rz.scp.css */
.sla-tab-content[b-ygon8s3hbh] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.sla-section[b-ygon8s3hbh] {
    background: var(--neutral-layer-1);
    border: 1px solid var(--neutral-stroke-divider-rest);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px 20px 20px;
}

.sla-section-header[b-ygon8s3hbh] {
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 8px;
}

.sla-subsection[b-ygon8s3hbh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sla-weekly-schedule[b-ygon8s3hbh] {
    border-collapse: collapse;
    font-size: 13px;
    min-width: 100%;
    table-layout: fixed;
}

.sla-weekly-schedule th[b-ygon8s3hbh],
.sla-weekly-schedule td[b-ygon8s3hbh] {
    border: 1px solid var(--neutral-stroke-divider-rest);
    padding: 5px 8px;
    text-align: center;
    white-space: nowrap;
}

.sla-weekly-schedule thead th[b-ygon8s3hbh] {
    font-weight: 600;
}

.sla-weekly-schedule th:first-child[b-ygon8s3hbh] {
    text-align: left;
    width: 64px;
}

.sla-weekly-schedule input[type="time"][b-ygon8s3hbh] {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    min-width: 90px;
    padding: 2px;
    width: 100%;
}
.sla-time-cell[b-ygon8s3hbh] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.sla-time-cell input[type="time"][b-ygon8s3hbh] {
    flex: 1;
    cursor: pointer;
}

.sla-time-clear[b-ygon8s3hbh] {
    border: 0;
    background: transparent;
    color: var(--neutral-foreground-hint);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.sla-time-clear:hover[b-ygon8s3hbh] {
    color: var(--error);
}

/* /Components/Layout/ImpersonateBar.razor.rz.scp.css */
.impersonation-bar[b-kft7oi322u] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.impersonation-active[b-kft7oi322u] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.impersonation-label[b-kft7oi322u] {
    font-size: 0.9rem;
}

.impersonation-btn[b-kft7oi322u] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-weight: 500;
    cursor: pointer;
}

.impersonation-btn:hover[b-kft7oi322u] {
    background: rgba(255,255,255,0.15);
}

.impersonation-select[b-kft7oi322u] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.impersonate-btn[b-kft7oi322u] {
    white-space: nowrap;
}
/* /Components/Modules/HR/TimePlanner/TimePlannerActivityPanel.razor.rz.scp.css */
.tp-panel-header[b-e3n6v36l4a] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-panel-header h3[b-e3n6v36l4a] {
    margin: 0;
    flex: 1 1 auto;
    font-size: 15px;
}

.tp-swatch[b-e3n6v36l4a] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tp-color, #2563eb);
    flex: 0 0 auto;
}

.tp-panel-body[b-e3n6v36l4a] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-form-field[b-e3n6v36l4a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tp-field-label[b-e3n6v36l4a] {
    font-size: 12px;
    line-height: 1;
}

.tp-panel-row[b-e3n6v36l4a] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tp-panel-row .tp-form-field[b-e3n6v36l4a] {
    flex: 1 1 0;
}

.tp-panel-readonly[b-e3n6v36l4a] {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    opacity: 0.75;
}

.tp-panel-footer[b-e3n6v36l4a] {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.tp-picked[b-e3n6v36l4a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 10px;
    border: 1px solid var(--accent-fill-rest);
    border-radius: 6px;
}

.tp-picked-name[b-e3n6v36l4a] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
}

.tp-results[b-e3n6v36l4a] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
}

.tp-result[b-e3n6v36l4a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

.tp-result:hover[b-e3n6v36l4a] {
    background: var(--neutral-fill-stealth-hover);
}

.tp-result-meta[b-e3n6v36l4a] {
    font-size: 11px;
    opacity: 0.75;
}

.tp-results-empty[b-e3n6v36l4a] {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    opacity: 0.75;
}
/* /Components/Modules/HR/TimePlanner/TimePlannerBoard.razor.rz.scp.css */
.tp-root[b-bu74xt54us] {
    display: grid;
    grid-template-columns: 280px 1fr;
    /* The palette stretches to the calendar height and scrolls internally. */
    align-items: stretch;
    gap: 16px;
    position: relative;
    /* Keep the planner's internal z-indexes (now line, drag preview) inside the
       planner, so host overlays such as widget settings stay on top. */
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
    /* Chrome otherwise starts a native drag and stops sending pointermove. */
    touch-action: none;
    /* Fill the host (page or dashboard widget) instead of shrinking to content. */
    width: 100%;
    min-width: 0;
    /* Never grow past the host: the calendar and the palette scroll internally. */
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    box-sizing: border-box;
}

/* ─── Palette ─────────────────────────────────────────────── */
.tp-palette[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    border-radius: 10px;
    background: var(--neutral-layer-1, #fff);
    /* Stretch to the calendar's height instead of growing with the number of
       activities, so a long list can never push content out of the widget. */
    min-height: 0;
    min-width: 0;
    max-height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.tp-palette-header[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.tp-palette-title[b-bu74xt54us] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Compact palette ──────────────────────────────────────────────────────
   Narrows the activity box to a strip showing a truncated name with the
   duration underneath. Dragging keeps working unchanged. */
.tp-compact[b-bu74xt54us] {
    grid-template-columns: 64px 1fr;
}

.tp-compact .tp-palette[b-bu74xt54us] {
    padding: 8px 6px;
    align-items: stretch;
}

.tp-compact .tp-palette-header[b-bu74xt54us] {
    flex-direction: column;
    gap: 4px;
}

.tp-compact .tp-palette-title[b-bu74xt54us] {
    display: none;
}

/* Name on top, duration underneath; the colour is carried by the left border.
   The drag preview is excluded: it keeps the full size appearance. */
.tp-compact .tp-palette-item:not(.tp-floating)[b-bu74xt54us] {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 2px 4px;
    border-left-width: 3px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.tp-compact .tp-palette-item:not(.tp-floating) .tp-swatch[b-bu74xt54us],
.tp-compact .tp-trash-label[b-bu74xt54us],
.tp-compact .tp-palette-remove[b-bu74xt54us],
.tp-compact .tp-palette-item[b-bu74xt54us]  fluent-button {
    display: none;
}

/* Remove icon only shows on hover/focus, so it does not compete with the item. */
.tp-palette-remove[b-bu74xt54us] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.tp-palette-item:hover .tp-palette-remove[b-bu74xt54us],
.tp-palette-remove:focus-visible[b-bu74xt54us] {
    opacity: 0.6;
}

.tp-palette-remove:hover[b-bu74xt54us] {
    opacity: 1;
    background: var(--neutral-fill-stealth-hover, rgba(0, 0, 0, 0.06));
}

.tp-compact .tp-palette-item:not(.tp-floating) .tp-palette-name[b-bu74xt54us],
.tp-compact .tp-palette-item:not(.tp-floating) .tp-palette-duration[b-bu74xt54us] {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-compact .tp-palette-item:not(.tp-floating) .tp-palette-name[b-bu74xt54us] {
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1.15;
}

.tp-compact .tp-palette-item:not(.tp-floating) .tp-palette-duration[b-bu74xt54us] {
    font-size: 9px;
    line-height: 1.15;
}

/* The hover lift would stick out of the scrolling list and get clipped. */
.tp-compact .tp-palette-item:not(.tp-floating):hover[b-bu74xt54us],
.tp-compact .tp-palette-item:not(.tp-floating):active[b-bu74xt54us] {
    transform: none;
}

.tp-compact .tp-trash[b-bu74xt54us] {
    padding: 10px 4px;
}

.tp-compact .tp-palette-list[b-bu74xt54us] {
    gap: 3px;
}

.tp-palette-hint[b-bu74xt54us] {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}

.tp-trash[b-bu74xt54us] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border: 2px dashed var(--neutral-stroke-divider-rest, #cbd5e1);
    border-radius: 8px;
    font-size: 13px;
    color: var(--neutral-foreground-hint, #64748b);
    background: var(--neutral-layer-2, #fafafa);
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.tp-trash-active[b-bu74xt54us] {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

/* FluentIcon writes an inline fill on its own <svg>, so the colour is set via
   the component's Color/CustomColor parameters in the markup instead. */

.tp-palette-header[b-bu74xt54us],
.tp-palette-hint[b-bu74xt54us],
.tp-trash[b-bu74xt54us],
.tp-palette-add[b-bu74xt54us] {
    flex: 0 0 auto;
}

.tp-palette-list[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    /* Only the activity list scrolls; the header and the add form stay put. */
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    /* Inner breathing room so the drop shadow is not clipped by the scroller. */
    padding: 4px 4px 8px 4px;
}

.tp-palette-item[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    border-left: 4px solid var(--tp-color, #2563eb);
    border-radius: 6px;
    cursor: grab;
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--tp-color, #2563eb) 10%, #fff) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 2px 3px rgba(0, 0, 0, 0.14);
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.tp-palette-item:hover[b-bu74xt54us] {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 6px 10px rgba(0, 0, 0, 0.18);
}

.tp-palette-item:active[b-bu74xt54us] {
    transform: translateY(1px);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.12);
}

.tp-palette-item:active[b-bu74xt54us] {
    cursor: grabbing;
}

/* The blank activity keeps a solid card; a faint diagonal hatch reads as an
   unfilled canvas without the noise of a dashed outline. */
.tp-palette-item-blank[b-bu74xt54us] {
    background: repeating-linear-gradient( 135deg, var(--neutral-layer-1, #fff) 0 6px, color-mix(in srgb, var(--tp-color, #94a3b8) 14%, var(--neutral-layer-1, #fff)) 6px 12px );
}

/* Separates the pinned blank activity from the defined activities. */
.tp-palette-divider[b-bu74xt54us] {
    flex: 0 0 auto;
    height: 1px;
    margin: 2px 0;
    background: var(--neutral-stroke-divider-rest, #e5e7eb);
}

.tp-swatch[b-bu74xt54us] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tp-color, #2563eb);
    flex: 0 0 auto;
}

.tp-palette-name[b-bu74xt54us] {
    flex: 1 1 auto;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-palette-duration[b-bu74xt54us] {
    font-size: 11px;
    opacity: 0.65;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-palette-add[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tp-palette-add-row[b-bu74xt54us] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tp-palette-add-actions[b-bu74xt54us] {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-palette-add-actions[b-bu74xt54us]  .tp-more-toggle {
    margin-right: auto;
}

.tp-palette-more[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tp-palette-more .tp-picked[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 2px 2px 8px;
    border: 1px solid var(--accent-fill-rest);
    border-radius: 6px;
}

.tp-palette-more .tp-picked-name[b-bu74xt54us] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
}

.tp-palette-more .tp-results[b-bu74xt54us] {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 6px;
}

.tp-palette-more .tp-result[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    cursor: pointer;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

.tp-palette-more .tp-result:hover[b-bu74xt54us] {
    background: var(--neutral-fill-stealth-hover);
}

.tp-palette-more .tp-result-meta[b-bu74xt54us] {
    font-size: 11px;
    opacity: 0.75;
}

.tp-palette-more .tp-results-empty[b-bu74xt54us] {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    opacity: 0.75;
}

/* Every field in the add form uses the same label-above-control layout, so the
   form gap only separates whole fields and never a label from its input. */
.tp-form-field[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tp-color-field[b-bu74xt54us] {
    flex: 0 0 auto;
}

.tp-field-label[b-bu74xt54us] {
    font-size: 12px;
    line-height: 1;
}

.tp-color-input[b-bu74xt54us] {
    width: 36px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

/* ─── Calendar ────────────────────────────────────────────── */
.tp-calendar[b-bu74xt54us] {
    border: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    border-radius: 10px;
    background: var(--neutral-layer-1, #fff);
    overflow: hidden;
    min-width: 0;
    width: 100%;
    /* Toolbar and day headers keep their height; the hour grid scrolls. */
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
}

.tp-toolbar[b-bu74xt54us] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.tp-segmented[b-bu74xt54us],
.tp-navigator[b-bu74xt54us],
.tp-total[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tp-period[b-bu74xt54us] {
    font-weight: 600;
    min-width: 180px;
    text-align: center;
}

.tp-dayheaders[b-bu74xt54us],
.tp-grid[b-bu74xt54us] {
    display: grid;
    grid-template-columns: 60px repeat(var(--tp-days), minmax(0, 1fr));
}

.tp-dayheaders[b-bu74xt54us] {
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    background: var(--neutral-layer-2, #fafafa);
    flex: 0 0 auto;
}

.tp-dayhead[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    border-left: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    font-size: 12px;
}

.tp-dayhead-today[b-bu74xt54us] {
    background: rgba(37, 99, 235, 0.08);
}

.tp-dayhead-name[b-bu74xt54us] {
    font-weight: 600;
    text-transform: capitalize;
}

.tp-dayhead-date[b-bu74xt54us] {
    opacity: 0.7;
}

.tp-dayhead-total[b-bu74xt54us] {
    font-size: 11px;
    opacity: 0.6;
}

.tp-scroll[b-bu74xt54us] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 640px;
    overflow-y: auto;
}

/* Current time indicator: a faint line across the whole week, accented on today. */
.tp-now[b-bu74xt54us] {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px dashed rgba(220, 38, 38, 0.45);
    z-index: 40;
    pointer-events: none;
}

.tp-now-today[b-bu74xt54us] {
    border-top: 2px solid #dc2626;
}

/* The marker dot only sits on the first visible day, so it reads as the start
   of the line instead of floating in the middle of the week. */
.tp-now-first[b-bu74xt54us]::before {
    content: "";
    position: absolute;
    left: -5px;
    top: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
}

.tp-gutter-cell[b-bu74xt54us] {
    display: flex;
    justify-content: flex-end;
    padding-right: 6px;
    font-size: 11px;
    opacity: 0.6;
    border-top: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
    box-sizing: border-box;
}

.tp-day[b-bu74xt54us] {
    position: relative;
    border-left: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
}

.tp-menu-backdrop[b-bu74xt54us] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.tp-menu-host[b-bu74xt54us] {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 100;
}


.tp-slot[b-bu74xt54us] {
    box-sizing: border-box;
    border-top: 1px dashed rgba(0, 0, 0, 0.05);
}

.tp-slot-hour[b-bu74xt54us] {
    border-top: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
}

.tp-slot:hover[b-bu74xt54us] {
    background: rgba(37, 99, 235, 0.06);
}

/* ─── Events ──────────────────────────────────────────────── */
.tp-event[b-bu74xt54us] {
    position: absolute;
    box-sizing: border-box;
    border-radius: 6px;
    border-left: 4px solid var(--tp-color, #2563eb);
    background: linear-gradient(180deg, color-mix(in srgb, var(--tp-color, #2563eb) 10%, white) 0%, color-mix(in srgb, var(--tp-color, #2563eb) 28%, white) 100%);
    cursor: grab;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -2px 0 color-mix(in srgb, var(--tp-color, #2563eb) 35%, transparent), 0 2px 4px rgba(0, 0, 0, 0.22);
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.tp-event:hover[b-bu74xt54us] {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -2px 0 color-mix(in srgb, var(--tp-color, #2563eb) 35%, transparent), 0 6px 10px rgba(0, 0, 0, 0.24);
}

.tp-event:active[b-bu74xt54us] {
    cursor: grabbing;
}

.tp-event-selected[b-bu74xt54us] {
    outline: 2px solid var(--tp-color, #2563eb);
    outline-offset: -1px;
}

/* Activity that flows over midnight: square, dashed edge where it continues. */
.tp-event-cont-before[b-bu74xt54us] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 2px dashed var(--tp-color, #2563eb);
}

.tp-event-cont-after[b-bu74xt54us] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 2px dashed var(--tp-color, #2563eb);
}

.tp-event-body[b-bu74xt54us] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 2px 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    line-height: 1.25;
    pointer-events: none;
}

/* Preview that follows the cursor while dragging outside the grid. It reuses
   .tp-palette-item for its appearance, so only positioning and elevation are
   defined here. Positioned relative to .tp-root, because dashboard widgets can
   create a containing block that makes `fixed` resolve against the widget
   instead of the viewport. */
.tp-floating[b-bu74xt54us] {
    position: absolute;
    z-index: 950;
    box-sizing: border-box;
    /* Centre the card on the cursor vertically, regardless of its own height. */
    transform: translateY(-50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 10px 16px rgba(0, 0, 0, 0.3);
    cursor: grabbing;
    pointer-events: none;
    opacity: 0.95;
}

/* While dragging, no activity may block the slots underneath, otherwise an
   occupied spot is only reachable through the gaps around its blocks. */
.tp-grid-dragging .tp-event[b-bu74xt54us] {
    pointer-events: none;
}

/* The block being dragged must let the slots underneath receive the hover,
   otherwise it blocks its own target area. */
.tp-event.tp-dragging[b-bu74xt54us] {
    pointer-events: none;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 16px rgba(0, 0, 0, 0.3);
}

.tp-event-title[b-bu74xt54us],
.tp-event-time[b-bu74xt54us],
.tp-event-meta[b-bu74xt54us] {
    flex: 0 0 auto;
}

.tp-event-title[b-bu74xt54us] {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-event-time[b-bu74xt54us],
.tp-event-meta[b-bu74xt54us] {
    font-size: 10px;
    opacity: 0.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-handle[b-bu74xt54us] {
    height: 6px;
    flex: 0 0 auto;
    cursor: ns-resize;
}

/* In a 15/30 minute block there is only room for the title, so give the
   text all remaining space and keep the grab handles minimal. */
.tp-event-short .tp-event-body[b-bu74xt54us] {
    padding: 0 6px;
}

.tp-event-short .tp-event-time[b-bu74xt54us],
.tp-event-short .tp-event-meta[b-bu74xt54us] {
    display: none;
}

.tp-event-short .tp-event-title[b-bu74xt54us] {
    font-size: 11px;
    line-height: 1.1;
}

.tp-event-short .tp-handle[b-bu74xt54us] {
    height: 4px;
}

/* A 15 minute block has no vertical room at all: let the handles float on top
   of the text instead of taking their own height. */
.tp-event-tiny[b-bu74xt54us] {
    position: absolute;
}

.tp-event-tiny .tp-handle[b-bu74xt54us] {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
}

.tp-event-tiny .tp-handle-top[b-bu74xt54us] {
    top: 0;
}

.tp-event-tiny .tp-handle-bottom[b-bu74xt54us] {
    bottom: 0;
}

.tp-event-tiny .tp-event-body[b-bu74xt54us] {
    flex: 1 1 auto;
    padding: 0 6px;
    justify-content: center;
}

.tp-event-tiny .tp-event-title[b-bu74xt54us] {
    font-size: 10px;
    line-height: 1;
}

.tp-handle:hover[b-bu74xt54us] {
    background: rgba(0, 0, 0, 0.15);
}

/* While resizing the blocks must not swallow pointer events,
   so the slots underneath can report the hovered time. */
.tp-resizing .tp-event[b-bu74xt54us] {
    pointer-events: none;
}

/* ─── Detail panel ────────────────────────────────────────── */
.tp-overlay[b-bu74xt54us] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 900;
}

.tp-panel[b-bu74xt54us] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 100%;
    background: var(--neutral-layer-1, #fff);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.18);
    z-index: 901;
    display: flex;
    flex-direction: column;
}

.tp-panel-header[b-bu74xt54us] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
}

.tp-panel-header h3[b-bu74xt54us] {
    margin: 0;
    flex: 1 1 auto;
    font-size: 15px;
}

.tp-panel-body[b-bu74xt54us] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-panel-row[b-bu74xt54us] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tp-panel-row .tp-form-field[b-bu74xt54us] {
    flex: 1 1 0;
}

.tp-panel-readonly[b-bu74xt54us] {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    opacity: 0.75;
}

.tp-panel-footer[b-bu74xt54us] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--neutral-stroke-divider-rest, #e5e7eb);
}

/* No container-type anywhere on the planner: it would create a containing
   block for the fixed-position drag preview, which must stay relative to the
   viewport regardless of where the widget sits on the dashboard. */
@media (max-width: 900px) {
    .tp-root[b-bu74xt54us] {
        grid-template-columns: 1fr;
    }

    .tp-palette[b-bu74xt54us] {
        position: static;
    }
}
/* /Components/Modules/SALES/SalesDashboard.razor.rz.scp.css */
/* Sales and marketing dashboard, ported from the MarketingSalesDashboard project.
   Scoped to this page, so the global html/body rules of the original are replaced by .sales-dashboard. */

.sales-dashboard[b-pg51ddr3m6] {
  --app-header-bg: #15324b;
  --app-card-radius: 14px;
  --app-card-shadow: 0 2px 10px rgba(21, 50, 75, 0.1);
  --app-card-shadow-hover: 0 4px 16px rgba(21, 50, 75, 0.16);
  background-color: #f4f6f9;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.app-picker-input[b-pg51ddr3m6] {
  width: 100%;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #dfe5eb;
  border-radius: 6px;
  box-sizing: border-box;
}

.app-picker-apply[b-pg51ddr3m6] {
  width: 100%;
  margin-top: 1rem;
  padding: 0.35rem 0;
  border: none;
  border-radius: 6px;
  background-color: var(--app-header-bg);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-body[b-pg51ddr3m6] {
  padding-inline: 1.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-header[b-pg51ddr3m6] {
  background-color: var(--app-header-bg);
  box-shadow: 0 2px 10px rgba(21, 50, 75, 0.25);
  margin-bottom: 1.5rem;
}

.app-header-inner[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem;
  min-height: 84px;
}

.app-header-title[b-pg51ddr3m6] {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  text-decoration: none;
}

.app-header-title:hover[b-pg51ddr3m6],
.app-header-title:focus[b-pg51ddr3m6] {
  color: #fff;
  opacity: 0.85;
}

/* Takes the free space so the controls stay pinned to the right. */
.app-header-services[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.app-service-status[b-pg51ddr3m6] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.app-service-name[b-pg51ddr3m6] {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
}

.app-status-dot[b-pg51ddr3m6] {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #9aa7b2;
}

.app-status-dot.is-online[b-pg51ddr3m6] {
  background-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.app-status-dot.is-offline[b-pg51ddr3m6] {
  background-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.app-header-controls[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.app-header-controls form[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-header-picker[b-pg51ddr3m6] {
  position: relative;
}

/* Dropdown for the period and currency pickers. */
.app-picker-panel[b-pg51ddr3m6] {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 1050;
  width: 260px;
  padding: 1rem;
  background-color: #fff;
  border-radius: var(--app-card-radius);
  box-shadow: 0 8px 24px rgba(21, 50, 75, 0.2);
}

.app-picker-panel.is-open[b-pg51ddr3m6] {
  display: block;
}

.app-picker-panel-narrow[b-pg51ddr3m6] {
  width: 160px;
}

.app-picker-tabs[b-pg51ddr3m6] {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.app-picker-tab[b-pg51ddr3m6] {
  flex: 1 1 0;
  border: 1px solid #dfe5eb;
  background-color: #fff;
  color: #6b7a88;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0;
  border-radius: 8px;
  cursor: pointer;
}

.app-picker-tab.is-active[b-pg51ddr3m6] {
  background-color: var(--app-header-bg);
  border-color: var(--app-header-bg);
  color: #fff;
}

/* Only the pane of the active mode is shown. */
.app-picker-pane[b-pg51ddr3m6] {
  display: none;
}

.app-picker-pane.is-active[b-pg51ddr3m6] {
  display: block;
}

.app-picker-label[b-pg51ddr3m6] {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7a88;
  margin-bottom: 0.25rem;
}

.app-header-chip[b-pg51ddr3m6] {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.app-header-chip:hover[b-pg51ddr3m6] {
  background-color: rgba(255, 255, 255, 0.18);
}

/* Dashboard card grids
   ------------------------------------------------------------------ */

/* Single row of compact summary cards, each card can span a different width. */
.stat-row[b-pg51ddr3m6] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
  /* Keeps its own height, the panel grid below takes the remaining space. */
  flex: 0 0 auto;
}

.stat-card[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 0.875rem 1rem;
  background-color: #fff;
  box-shadow: var(--app-card-shadow);
  /* Square on the accent side, rounded on the right. */
  border-radius: 0 var(--app-card-radius) var(--app-card-radius) 0;
  border-left: 8px solid var(--stat-accent, #15324b);
  /* Six cards per row are narrow, so the content may not force the card wider. */
  min-width: 0;
  overflow: hidden;
}

.stat-card-label[b-pg51ddr3m6] {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7a88;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-card-label[b-pg51ddr3m6] {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7a88;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-card-value[b-pg51ddr3m6] {
  font-size: 1.6rem;
  font-weight: bolder;
  text-transform: uppercase;
  color: #15324b;
  line-height: 1.2;
}

.metric-card-value[b-pg51ddr3m6] {
  font-size: 1.6rem;
  font-weight: bolder;
  text-transform: uppercase;
  color: #15324b;
  line-height: 1.2;
}

/* Grid for the larger content cards, fills the rest of the page.
   Exactly two rows that split the leftover height between them. The rows have no
   minimum height on purpose: a minimum would let the content push the grid past the
   bottom of the page, which is what causes the whole dashboard to scroll. Cards that
   hold more than fits scroll internally instead, see .panel-card-content. */
.panel-grid[b-pg51ddr3m6] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 1.5rem;
}

.panel-card[b-pg51ddr3m6] {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  padding-left: 1.3rem;
  background-color: #fff;
  border-radius: var(--app-card-radius);
  box-shadow: var(--app-card-shadow);
  /* The grid row decides the height, the card just fills it. */
  min-height: 0;
  overflow: hidden;
}

.panel-card-title[b-pg51ddr3m6] {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b7a88;
    text-transform: uppercase;
}

.panel-card-placeholder[b-pg51ddr3m6] {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa7b2;
  font-size: 0.8125rem;
  border: 1px dashed #dfe5eb;
  border-radius: 10px;
}

/* Holds the content of a stat card, filled in after the data is fetched. */
.stat-card-body[b-pg51ddr3m6] {
  min-width: 0;
  flex: 1 1 auto;
}

/* Scrolls inside the card when the content is taller than the row, so a long list
   never makes the card itself grow. */
.panel-card-content[b-pg51ddr3m6] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* For content that sizes itself to the card instead of scrolling, e.g. a list whose
   rows divide the available height between them. */
.panel-card-content.is-fill[b-pg51ddr3m6] {
  overflow: hidden;
}

/* Horizontal bar chart. Label, bar and value sit on one line; the rows divide the
   card height so the chart always fills the card without making it grow. */
.kpi-bar-chart[b-pg51ddr3m6] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  min-height: 0;
}

.kpi-bar-row[b-pg51ddr3m6] {
    display: grid;
    /* Fixed label and value columns keep every bar starting and ending in line. */
    grid-template-columns: minmax(0, 9.3rem) auto minmax(0, 7rem);
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.kpi-bar-label[b-pg51ddr3m6] {
  color: #6b7a88;
  font-size: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
}

.kpi-bar-track[b-pg51ddr3m6] {
  display: block;
  min-width: 0;
  height: 1.5rem;
  border-radius: 999px;
  background-color: #f0f3f6;
  overflow: hidden;
}

.kpi-bar-fill[b-pg51ddr3m6] {
  display: block;
  height: 100%;
  border-radius: 999px;
  /* Grows out on first paint so the chart reads as it is drawn. */
  animation: kpi-bar-grow-b-pg51ddr3m6 0.45s ease-out;
}

@keyframes kpi-bar-grow-b-pg51ddr3m6 {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

.kpi-bar-value[b-pg51ddr3m6] {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  white-space: nowrap;
}

.kpi-bar-number[b-pg51ddr3m6] {
  font-size: 1.1rem;
  font-weight: bold;
  color: #15324b;
}

/* Beside the value, like the other cards, so it does not add a line. */
.kpi-bar-value .kpi-trend[b-pg51ddr3m6] {
  margin-top: 0;
  font-size: 0.9rem;
}

/* Plain totals under the bars. They are counts rather than rates, so they are listed
   as numbers. The row wraps and may not grow the card, which has a fixed height. */
.kpi-bar-stats[b-pg51ddr3m6] {
  display: flex;
  flex-wrap: wrap;
/*  gap: 0.25rem 1rem;*/
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eef1f4;
  min-height: 0;
  width: 100%;
  justify-content: space-between;
}

.kpi-bar-stat[b-pg51ddr3m6] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kpi-bar-stat-value[b-pg51ddr3m6] {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: #15324b;
  white-space: nowrap;
}

/* Beside the number rather than under it, so a stat stays two lines tall. */
.kpi-bar-stat-value .kpi-trend[b-pg51ddr3m6] {
  margin-top: 0;
  font-size: 0.75rem;
  font-weight: normal;
}

.kpi-bar-stat-label[b-pg51ddr3m6] {
  font-size: 1rem;
  color: #9aa7b2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi-bar-footnote[b-pg51ddr3m6] {
  margin-top: 0.25rem;
  font-size: 1rem;
  color: #9aa7b2;
}

/* Several figures of one source in two columns, styled like the single KPI cards.
   The rows share the card height evenly so the block always fills the card without
   making it grow. */
.kpi-metric-grid[b-pg51ddr3m6] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  height: 100%;
  min-height: 0;
}

.kpi-metric-cell[b-pg51ddr3m6] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    border-bottom: 1px solid #f0f3f6;
}

/* The value may shrink a little here, six figures share the height of one card. */
.kpi-metric-cell .stat-card-value[b-pg51ddr3m6] {
  font-size: 1.35rem;
}

/* Value and trend sit on one line, so the comparison reads next to the number
   instead of under it. */
.kpi-metric-value[b-pg51ddr3m6] {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  white-space: nowrap;
}

/* Lets one panel hold several small KPIs side by side. */
.panel-card-split[b-pg51ddr3m6] {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Each KPI in a split panel gets an equal share and may shrink below its text. */
.panel-card-split > .stat-card-body[b-pg51ddr3m6] {
  flex: 1 1 0;
  min-width: 0;
}

/* Direction and size of the change against the previous period. */
.kpi-trend[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: bold;
}

.kpi-trend.is-up[b-pg51ddr3m6] { color: #1e9e5a; }
.kpi-trend.is-down[b-pg51ddr3m6] { color: #d1434a; }

/* Inside a metric row the trend sits beside the value, so it must not add a gap above. */
.kpi-metric-value .kpi-trend[b-pg51ddr3m6] {
  margin-top: 0;
  font-size: 0.8125rem;
  font-size: 1.1rem;
}

/* Reserves the same height as a real trend so cards stay aligned. */
.kpi-trend.is-empty[b-pg51ddr3m6] { visibility: hidden; }

.kpi-trend-arrow[b-pg51ddr3m6] { font-size: 1rem; line-height: 1; }

.kpi-note[b-pg51ddr3m6] {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #9aa7b2;
}

/* Ranked search terms, numbered without showing any metric. */
.kpi-ranked-list[b-pg51ddr3m6] {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ten terms as two columns of five, filling the full card height. A grid is used
   instead of CSS columns because columns cannot stretch their rows: here the five
   rows divide the height evenly, which gives long terms the room to wrap. The order
   fills down the first column before the second, so 1-5 sit left and 6-10 right. */
.kpi-ranked-list.is-two-column[b-pg51ddr3m6] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  grid-auto-flow: column;
  column-gap: 1rem;
  height: 100%;
  min-height: 0;
}

.kpi-ranked-list li[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid #f0f3f6;
  min-width: 0;
}

.kpi-ranked-list li:last-child[b-pg51ddr3m6] { border-bottom: none; }

/* In the two column layout the last item of each column ends the column, so the
   border is removed per column rather than only on the final item. */
.kpi-ranked-list.is-two-column li:nth-child(5n)[b-pg51ddr3m6] { border-bottom: none; }

.kpi-rank[b-pg51ddr3m6] {
  flex: 0 0 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f0f3f6;
  color: #6b7a88;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: auto;
  margin-bottom: auto;
}

.kpi-rank.gold[b-pg51ddr3m6]{
    background-color: #ffd700;
    color: #6b7a88;
}

.kpi-rank.silver[b-pg51ddr3m6]{
    background-color: #c0c0c0;
    color: white;
}

.kpi-rank.bronze[b-pg51ddr3m6]{
    background-color: #cd7f32;
    color: white;
}

/* The badge keeps its place next to the first line when the term wraps. */
.kpi-ranked-list.is-two-column .kpi-rank[b-pg51ddr3m6] {
  align-self: flex-start;
}

/* Ten pages in a single column, each row taking an equal share of the card height so
   the list fills the card the same way the two column variant does. */
.kpi-ranked-list.is-valued[b-pg51ddr3m6] {
  display: grid;
  grid-template-rows: repeat(10, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
}

/* The label takes the leftover width, so the count stays aligned on the right
   regardless of how long the page title is. */
.kpi-ranked-list.is-valued .kpi-rank-label[b-pg51ddr3m6] {
  flex: 1 1 auto;
}

.kpi-rank-value[b-pg51ddr3m6] {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-left: auto;
  white-space: nowrap;
  color: #15324b;
  font-weight: bold;
  font-size: 0.9rem;
  min-width: 4.5rem; 
}

.kpi-rank-trend[b-pg51ddr3m6] {
  font-size: 0.75rem;
  font-weight: normal;
  color: #9aa7b2;
}

.kpi-rank-trend.is-up[b-pg51ddr3m6] { color: #2ecc71; }
.kpi-rank-trend.is-down[b-pg51ddr3m6] { color: #e74c3c; }

.kpi-rank-label[b-pg51ddr3m6] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #15324b;
  font-weight: bold;
  font-size: 0.9rem;
}

/* The rows share the card height, so a long search term may use that space and wrap
   over several lines instead of being cut off. Clamped so an extreme term still
   cannot push the row past its share of the height. */
.kpi-ranked-list.is-two-column .kpi-rank-label[b-pg51ddr3m6] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Pipeline donut: the chart on the left, its legend on the right. The chart keeps a
   fixed share of the width so the legend gets the rest for the relation names. */
.kpi-donut[b-pg51ddr3m6] {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 0;
}

.kpi-donut-chart[b-pg51ddr3m6] {
  min-width: 0;
}

.kpi-donut-chart svg[b-pg51ddr3m6] {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
}

/* The empty ring behind the slices, which is all that shows when there is no pipeline. */
.kpi-donut-track[b-pg51ddr3m6] {
  fill: none;
  stroke: #eef1f4;
  stroke-width: 24;
}

/* The wedge is drawn as a stroke, so its width is the thickness of the ring. */
.kpi-donut-slice[b-pg51ddr3m6] {
  fill: none;
  stroke-width: 24;
}

/* Takes the place of the legend when there is nothing to list. */
.kpi-donut-empty[b-pg51ddr3m6] {
  color: #9aa7b2;
  font-size: 0.8rem;
}

.kpi-donut-total[b-pg51ddr3m6] {
  fill: #15324b;
  font-size: 1rem;
  font-weight: bold;
}

.kpi-donut-caption[b-pg51ddr3m6] {
  fill: #9aa7b2;
  font-size: 0.6rem;
}

.kpi-donut-legend[b-pg51ddr3m6] {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
}

.kpi-donut-legend li[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
  min-width: 0;
}

.kpi-donut-swatch[b-pg51ddr3m6] {
  flex: 0 0 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
}

/* The name takes the leftover width, so the amounts stay aligned on the right no
   matter how long a relation is called. */
.kpi-donut-label[b-pg51ddr3m6] {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #15324b;
  font-size: 1rem;
  font-weight: bold;
}

.kpi-donut-value[b-pg51ddr3m6] {
  white-space: nowrap;
  color: #15324b;
  font-weight: bold;
  font-size: 0.9rem;
}

.kpi-donut-share[b-pg51ddr3m6] {
    flex: 0 0 2.75rem;
    text-align: right;
    color: #616161;
    font-size: 0.9rem;
}

/* Shown while a card is still loading, replaced by the real content afterwards. */
.kpi-skeleton[b-pg51ddr3m6] {
  height: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef1f4 25%, #e3e8ed 37%, #eef1f4 63%);
  background-size: 400% 100%;
  animation: kpi-shimmer-b-pg51ddr3m6 1.2s ease-in-out infinite;
}

.kpi-skeleton.is-value[b-pg51ddr3m6] { height: 1.5rem; width: 60%; }
.kpi-skeleton.is-label[b-pg51ddr3m6] { width: 40%; }

@keyframes kpi-shimmer-b-pg51ddr3m6 {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* A card whose source could not be reached at all. */
.kpi-error[b-pg51ddr3m6] {
  font-size: 0.8125rem;
  color: #9aa7b2;
}

/* Latest sales orders, a customer and date on the left and the amount on the right. */
.kpi-order-list[b-pg51ddr3m6] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kpi-order-list li[b-pg51ddr3m6] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid #f0f3f6;
}

.kpi-order-list li:last-child[b-pg51ddr3m6] { border-bottom: none; }

.kpi-order-main[b-pg51ddr3m6] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kpi-order-name[b-pg51ddr3m6] {
  color: #15324b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi-order-meta[b-pg51ddr3m6] {
  font-size: 0.75rem;
  color: #9aa7b2;
}

.kpi-order-amount[b-pg51ddr3m6] {
  flex: 0 0 auto;
  font-weight: bold;
  color: #15324b;
}

/* Column spans, applied to both grids. */
.span-2[b-pg51ddr3m6] { grid-column: span 2; }.span-3[b-pg51ddr3m6] { grid-column: span 3; }
.span-4[b-pg51ddr3m6] { grid-column: span 4; }
.span-5[b-pg51ddr3m6] { grid-column: span 5; }
.span-6[b-pg51ddr3m6] { grid-column: span 6; }
.span-7[b-pg51ddr3m6] { grid-column: span 7; }
.span-8[b-pg51ddr3m6] { grid-column: span 8; }
.span-12[b-pg51ddr3m6] { grid-column: span 12; }

/* Kiosk mode (opened with the secret): fills the whole browser window, no EntroPS chrome. */
.sales-dashboard.is-kiosk[b-pg51ddr3m6] {
  position: fixed;
  inset: 0;
  min-height: 0;
  overflow: auto;
  padding-bottom: 1.5rem;
}

/* Inside EntroPS: no dark bar, but a light toolbar with the service status and pickers. */
.sales-dashboard.is-embedded[b-pg51ddr3m6] {
  background-color: transparent;
}

.sales-dashboard.is-embedded .app-header[b-pg51ddr3m6] {
  background-color: transparent;
  box-shadow: none;
  margin-bottom: 1rem;
}

.sales-dashboard.is-embedded .app-header-inner[b-pg51ddr3m6] {
  padding: 0.5rem 1.5rem 0;
  min-height: 0;
}

.sales-dashboard.is-embedded .app-service-name[b-pg51ddr3m6] {
  color: #4a5a68;
}

.sales-dashboard.is-embedded .app-header-chip[b-pg51ddr3m6] {
  border-color: #dfe5eb;
  background-color: #fff;
  color: #15324b;
}

.sales-dashboard.is-embedded .app-header-chip:hover[b-pg51ddr3m6] {
  background-color: #eef2f6;
}

/* Stack everything below the large breakpoint so the cards stay readable. */
@media (max-width: 1399.98px) {
  /* Six narrow cards no longer fit, fall back to three per row. */
  .stat-row > *[b-pg51ddr3m6] {
    grid-column: span 4;
  }
}

@media (max-width: 991.98px) {
  .stat-row > *[b-pg51ddr3m6] {
    grid-column: span 6;
  }

  .panel-grid > *[b-pg51ddr3m6] {
    grid-column: span 12;
  }

  /* Stacked panels would be squashed by a half height row, so let them grow
     and have the page scroll instead. */
  .panel-grid[b-pg51ddr3m6] {
    grid-template-rows: none;
    grid-auto-rows: minmax(260px, auto);
    flex: 0 0 auto;
  }
}

@media (max-width: 575.98px) {
  .stat-row > *[b-pg51ddr3m6] {
    grid-column: span 12;
  }
}

/* /Components/Pages/Admin/BackgroundServices.razor.rz.scp.css */
/* /Components/Pages/Admin/CertificateDomains.razor.rz.scp.css */
/* ── Layout ─────────────────────────────────────────────────────────────────── */

.cert-container[b-mfo466baao] {
    padding: 24px 28px 40px 28px;
    max-width: 1680px;
    margin: 0 auto;
}

/* ── Page head ──────────────────────────────────────────────────────────────── */

.cert-page-head[b-mfo466baao] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
}

.cert-page-head-left[b-mfo466baao] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cert-page-icon[b-mfo466baao] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--neutral-fill-secondary-rest);
}

.cert-page-head h1[b-mfo466baao] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.cert-subtitle[b-mfo466baao] {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: var(--neutral-foreground-hint);
}

.cert-page-head-right[b-mfo466baao] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Summary strip ──────────────────────────────────────────────────────────── */

.cert-stats[b-mfo466baao] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 20px 0 16px 0;
}

.cert-stat[b-mfo466baao] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color 120ms ease, background 120ms ease;
}

    .cert-stat:hover[b-mfo466baao] {
        background: var(--neutral-fill-stealth-hover);
    }

    .cert-stat.is-active[b-mfo466baao] {
        border-color: var(--accent-fill-rest);
        box-shadow: inset 0 0 0 1px var(--accent-fill-rest);
    }

.cert-stat-value[b-mfo466baao] {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--neutral-foreground-rest);
}

.cert-stat-label[b-mfo466baao] {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neutral-foreground-hint);
}

.cert-stat.tone-ok .cert-stat-value[b-mfo466baao] {
    color: #107c10;
}

.cert-stat.tone-warn .cert-stat-value[b-mfo466baao] {
    color: #bc4b09;
}

.cert-stat.tone-bad .cert-stat-value[b-mfo466baao] {
    color: #c50f1f;
}

/* ── Toolbar ────────────────────────────────────────────────────────────────── */

.cert-toolbar[b-mfo466baao] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.cert-result-count[b-mfo466baao],
.cert-next-check[b-mfo466baao] {
    font-size: 0.8rem;
    color: var(--neutral-foreground-hint);
}

/* ── States ─────────────────────────────────────────────────────────────────── */

.cert-loading[b-mfo466baao] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 64px 0;
    color: var(--neutral-foreground-hint);
}

.cert-empty[b-mfo466baao] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 64px 24px;
    border: 1px dashed var(--neutral-stroke-rest);
    border-radius: 10px;
    text-align: center;
}

.cert-empty-icon[b-mfo466baao] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--neutral-fill-secondary-rest);
}

.cert-empty h3[b-mfo466baao] {
    margin: 4px 0 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.cert-empty p[b-mfo466baao] {
    margin: 0 0 8px 0;
    max-width: 440px;
    font-size: 0.85rem;
    color: var(--neutral-foreground-hint);
}

/* ── Card grid ──────────────────────────────────────────────────────────────── */

.cert-grid[b-mfo466baao] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    align-items: start;
}

.cert-card[b-mfo466baao] {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 10px;
    background: var(--neutral-layer-1);
    overflow: hidden;
    transition: box-shadow 140ms ease;
}

    .cert-card:hover[b-mfo466baao] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

.cert-card-strip[b-mfo466baao] {
    height: 3px;
    width: 100%;
    background: var(--tone-color);
}

/* Tone tokens drive the strip, pill and progress colours in one place. */
.cert-card.tone-ok[b-mfo466baao] {
    --tone-color: #107c10;
    --tone-soft: rgba(16, 124, 16, 0.12);
}

.cert-card.tone-warn[b-mfo466baao] {
    --tone-color: #bc4b09;
    --tone-soft: rgba(188, 75, 9, 0.12);
}

.cert-card.tone-bad[b-mfo466baao] {
    --tone-color: #c50f1f;
    --tone-soft: rgba(197, 15, 31, 0.12);
}

.cert-card.tone-unknown[b-mfo466baao] {
    --tone-color: #8a8886;
    --tone-soft: rgba(138, 136, 134, 0.14);
}

/* ── Card header ────────────────────────────────────────────────────────────── */

.cert-card-header[b-mfo466baao] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px 10px 16px;
}

.cert-card-title[b-mfo466baao] {
    min-width: 0;
}

    .cert-card-title h3[b-mfo466baao] {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.cert-card-sub[b-mfo466baao] {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--neutral-foreground-hint);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-dot[b-mfo466baao] {
    margin: 0 4px;
}

.cert-pill[b-mfo466baao] {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--tone-color);
    background: var(--tone-soft);
}

/* ── Hero / progress ────────────────────────────────────────────────────────── */

.cert-hero[b-mfo466baao] {
    padding: 2px 16px 14px 16px;
}

.cert-hero-main[b-mfo466baao] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.cert-hero-value[b-mfo466baao] {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    color: var(--tone-color);
}

.cert-hero-unit[b-mfo466baao] {
    font-size: 0.8rem;
    color: var(--neutral-foreground-hint);
}

.cert-progress[b-mfo466baao] {
    height: 6px;
    width: 100%;
    border-radius: 999px;
    background: var(--neutral-fill-secondary-rest);
    overflow: hidden;
}

.cert-progress-fill[b-mfo466baao] {
    height: 100%;
    border-radius: 999px;
    background: var(--tone-color);
    transition: width 240ms ease;
}

.cert-progress-labels[b-mfo466baao] {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.7rem;
    color: var(--neutral-foreground-hint);
}

/* ── Error row ──────────────────────────────────────────────────────────────── */

.cert-error[b-mfo466baao] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 16px 12px 16px;
    padding: 9px 11px;
    border-radius: 6px;
    background: var(--tone-soft);
    font-size: 0.78rem;
    line-height: 1.4;
    word-break: break-word;
}

/* ── Details ────────────────────────────────────────────────────────────────── */

.cert-details[b-mfo466baao] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid var(--neutral-stroke-divider-rest);
}

.cert-detail[b-mfo466baao] {
    min-width: 0;
}

    .cert-detail dt[b-mfo466baao] {
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--neutral-foreground-hint);
    }

    .cert-detail dd[b-mfo466baao] {
        margin: 1px 0 0 0;
        font-size: 0.82rem;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* ── Chips ──────────────────────────────────────────────────────────────────── */

.cert-chips[b-mfo466baao] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px 16px;
}

.cert-chip[b-mfo466baao] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--neutral-stroke-rest);
    font-size: 0.73rem;
    color: var(--neutral-foreground-hint);
}

    .cert-chip.is-on[b-mfo466baao] {
        border-color: var(--accent-fill-rest);
        color: var(--neutral-foreground-rest);
    }

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.cert-card-footer[b-mfo466baao] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: auto;
    padding: 6px 10px;
    border-top: 1px solid var(--neutral-stroke-divider-rest);
    background: var(--neutral-layer-2);
}

/* ── Dialog internals ───────────────────────────────────────────────────────── */

.cert-reminder-own[b-mfo466baao] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 8px;
    background: var(--neutral-layer-2);
}

.cert-reminder-list[b-mfo466baao] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.cert-reminder-row[b-mfo466baao] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--neutral-stroke-divider-rest);
    border-radius: 6px;
}

.cert-reminder-name[b-mfo466baao] {
    font-weight: 600;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-reminder-sent[b-mfo466baao] {
    font-size: 0.72rem;
    color: var(--neutral-foreground-hint);
}
/* /Components/Portal/Details.razor.rz.scp.css */
.details-page[b-bhhenpsadn] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.details-header[b-bhhenpsadn] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, #e0e0e0);
}

.details-section[b-bhhenpsadn] {
    padding: 24px !important;
    border-radius: 12px;
}

.section-title[b-bhhenpsadn] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
}

.details-grid[b-bhhenpsadn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.detail-field[b-bhhenpsadn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label[b-bhhenpsadn] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-foreground-hint, #707070);
}

.detail-value[b-bhhenpsadn] {
    font-size: 0.95rem;
    color: var(--neutral-foreground-rest);
    word-break: break-word;
}

.contact-list[b-bhhenpsadn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item[b-bhhenpsadn] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--neutral-layer-2, #f5f5f5);
}

.contact-type[b-bhhenpsadn] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 80px;
    color: var(--accent-fill-rest, #0078d4);
}

.contact-value[b-bhhenpsadn] {
    font-size: 0.95rem;
    color: var(--neutral-foreground-rest);
}

.contact-note[b-bhhenpsadn] {
    font-size: 0.8rem;
    color: var(--neutral-foreground-hint, #707070);
    font-style: italic;
}

.details-tabs[b-bhhenpsadn] {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px;
    background: var(--neutral-layer-2, #f5f5f5);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.details-tab[b-bhhenpsadn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-foreground-hint, #707070);
    cursor: pointer;
    transition: all 0.2s ease;
}

.details-tab:hover[b-bhhenpsadn] {
    background: var(--neutral-layer-3, #e8e8e8);
    color: var(--neutral-foreground-rest);
}

.details-tab.active[b-bhhenpsadn] {
    background: var(--accent-fill-rest, #0078d4);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.25);
}
/* /Components/Shared/DaysOfWeekPicker.razor.rz.scp.css */
.days-of-week-picker[b-rblpcip1sb] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.days-of-week-picker__day[b-rblpcip1sb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 34px;
    padding: 4px 2px;
    border: 1px solid var(--neutral-stroke-rest, #d1d1d1);
    border-radius: 4px;
}

.days-of-week-picker__label[b-rblpcip1sb] {
    font-size: var(--type-ramp-minus-1-font-size, 12px);
    font-weight: 600;
    user-select: none;
}
/* /Components/Shared/FooterBlock.razor.rz.scp.css */
/* ============================================================================ */
/* PROFESSIONAL MODERN FOOTER - ENTROPS STYLE */
/* ============================================================================ */

.professional-footer[b-aud9xz9ht6] {
    background: linear-gradient(135deg, #001a4d 0%, #0d2d66 50%, #001a4d 100%);
    color: #e8e8e8;
    padding: 80px 40px 40px;
    margin-top: 100px;
    border-top: 3px solid #ff8c00;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer-container[b-aud9xz9ht6] {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column[b-aud9xz9ht6] {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.company-logo[b-aud9xz9ht6] {
    margin-bottom: 15px;
}

.company-name[b-aud9xz9ht6] {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline[b-aud9xz9ht6] {
    font-size: 11px;
    letter-spacing: 3px;
    color: #ff8c00;
    margin: 8px 0 0 0;
    font-weight: 600;
    text-transform: uppercase;
}

.company-description[b-aud9xz9ht6] {
    font-size: 14px;
    line-height: 1.8;
    color: #b8b8b8;
    margin: 0;
    text-align: justify;
}

.footer-title[b-aud9xz9ht6] {
    font-size: 15px;
    font-weight: 700;
    color: #ff8c00;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title[b-aud9xz9ht6]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff8c00;
}

.contact-info[b-aud9xz9ht6] {
    margin: 0;
}

.contact-label[b-aud9xz9ht6] {
    font-size: 12px;
    color: #ff8c00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 4px 0;
}

.contact-info p[b-aud9xz9ht6] {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #d0d0d0;
}

.contact-info a[b-aud9xz9ht6] {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover[b-aud9xz9ht6] {
    color: #ffb366;
    text-decoration: underline;
}

.legal-links[b-aud9xz9ht6],
.quick-links[b-aud9xz9ht6],
.support-links[b-aud9xz9ht6] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links li[b-aud9xz9ht6],
.quick-links li[b-aud9xz9ht6],
.support-links li[b-aud9xz9ht6] {
    margin: 0;
}

.legal-links a[b-aud9xz9ht6],
.quick-links a[b-aud9xz9ht6],
.support-links a[b-aud9xz9ht6] {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.legal-links a:hover[b-aud9xz9ht6],
.quick-links a:hover[b-aud9xz9ht6],
.support-links a:hover[b-aud9xz9ht6] {
    color: #ff8c00;
    padding-left: 5px;
}

.company-details[b-aud9xz9ht6] {
    background-color: rgba(255, 140, 0, 0.05);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #ff8c00;
    margin: 0;
}

.detail-item[b-aud9xz9ht6] {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-item:last-child[b-aud9xz9ht6] {
    margin-bottom: 0;
}

.detail-item .label[b-aud9xz9ht6] {
    color: #ff8c00;
    font-weight: 600;
    min-width: 80px;
}

.detail-item .value[b-aud9xz9ht6] {
    color: #d0d0d0;
    font-family: "Courier New", monospace;
}

.social-links[b-aud9xz9ht6] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.social-link[b-aud9xz9ht6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 140, 0, 0.15);
    border: 2px solid #ff8c00;
    border-radius: 50%;
    color: #ff8c00;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-link:hover[b-aud9xz9ht6] {
    background-color: #ff8c00;
    color: #001a4d;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.3);
}

.footer-bottom[b-aud9xz9ht6] {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright[b-aud9xz9ht6] {
    font-size: 13px;
    color: #888888;
    margin: 0;
}

.footer-credit[b-aud9xz9ht6] {
    font-size: 13px;
    color: #888888;
    margin: 0;
}

.accent[b-aud9xz9ht6] {
    color: #ff8c00;
}

@media (max-width: 1024px) {
    .professional-footer[b-aud9xz9ht6] {
        padding: 60px 30px 30px;
        margin-top: 80px;
    }

    .footer-container[b-aud9xz9ht6] {
        gap: 40px;
        margin-bottom: 40px;
    }

    .company-name[b-aud9xz9ht6] {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .professional-footer[b-aud9xz9ht6] {
        padding: 50px 20px 25px;
        margin-top: 60px;
    }

    .footer-container[b-aud9xz9ht6] {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-column[b-aud9xz9ht6] {
        gap: 20px;
    }

    .company-name[b-aud9xz9ht6] {
        font-size: 22px;
    }

    .company-description[b-aud9xz9ht6] {
        text-align: left;
        font-size: 13px;
    }

    .footer-bottom[b-aud9xz9ht6] {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }

    .legal-links[b-aud9xz9ht6],
    .quick-links[b-aud9xz9ht6],
    .support-links[b-aud9xz9ht6] {
        gap: 8px;
    }

    .social-links[b-aud9xz9ht6] {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .professional-footer[b-aud9xz9ht6] {
        padding: 40px 15px 20px;
        margin-top: 50px;
        padding-top: 50px;
    }

    .footer-container[b-aud9xz9ht6] {
        gap: 25px;
        margin-bottom: 25px;
    }

    .company-name[b-aud9xz9ht6] {
        font-size: 20px;
    }

    .footer-title[b-aud9xz9ht6] {
        font-size: 13px;
    }

    .company-description[b-aud9xz9ht6] {
        font-size: 12px;
        line-height: 1.6;
    }

    .contact-info p[b-aud9xz9ht6],
    .legal-links a[b-aud9xz9ht6],
    .quick-links a[b-aud9xz9ht6],
    .support-links a[b-aud9xz9ht6] {
        font-size: 13px;
    }
}

.professional-footer a[b-aud9xz9ht6] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.professional-footer *:focus[b-aud9xz9ht6] {
    outline: 2px solid #ff8c00;
    outline-offset: 2px;
}
