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

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

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


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

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

}

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

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

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

@keyframes components-reconnect-modal-fadeInOpacity-b-5mhtddbz49 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Portal/Absence/AbsenceCalendarGrid.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════════════════════
   The absence calendar colour table. THE ONE PLACE IT EXISTS.

   Ported verbatim from legacy GetAbsenceColor, which lived in
   UI/Absense/AbsenseCalendar.aspx.vb:65-99 and, duplicated character for character,
   in UI/Absense/AbsenseCalendarUpcoming.ascx.vb. Both built the value as a
   concatenated style attribute in Visual Basic inside the rendering loop.

   The keywords are legacy's own - `lightgrey`, `darkgray`, `green`, `blue`, `red`,
   `orange`, and `#fff` for the masked half of a half day. They are deliberately not
   swapped for Radzen theme variables: this screen's whole value is that a colour
   means the same thing it meant in the old application, to the same people, and a
   theme variable would move with the theme.

   AbsenceCalendarGrid.razor's CellClass is what chooses between them, from the
   CalendarCellKind, AbsenceType and HalfDayPart that AbsenceCalendarService resolved.
   Nothing else may name a colour.
   ══════════════════════════════════════════════════════════════════════════════ */

.calendar-cell[b-sivors5bz4] {
    display: block;
    width: 100%;
    min-width: 1.125rem;
    height: 1.375rem;
    border-radius: 2px;

    /* A working day nobody is away on. The gradient slot is reset as well, so a cell
       cannot inherit a half-day mask from anywhere. */
    background-color: transparent;
    background-image: none;
}

/* ── Precedence 1 and 2: the day off, whoever's leave it falls inside ────────── */

.calendar-cell-weekend[b-sivors5bz4] {
    background-color: lightgrey;
}

.calendar-cell-holiday[b-sivors5bz4] {
    background-color: darkgray;
}

/* ── Precedence 3: leave ─────────────────────────────────────────────────────── */

.calendar-cell-approved[b-sivors5bz4] {
    background-color: green;
}

.calendar-cell-approved-wfh[b-sivors5bz4] {
    background-color: blue;
}

.calendar-cell-pending[b-sivors5bz4] {
    background-color: red;
}

.calendar-cell-pending-wfh[b-sivors5bz4] {
    background-color: orange;
}

/* ── Half days ───────────────────────────────────────────────────────────────────
   The base colour above stays as the background-COLOUR and the mask arrives as a
   background-IMAGE, so the two compose without either knowing about the other -
   which is why CellClass emits two class names and never a computed colour.

   Morning leaves the left half showing the base colour and whites out the right;
   afternoon is the mirror. Both are legacy's gradients unchanged.
   ────────────────────────────────────────────────────────────────────────────── */

.calendar-cell-morning[b-sivors5bz4] {
    background-image: linear-gradient(to right, transparent 50%, #fff 50%);
}

.calendar-cell-afternoon[b-sivors5bz4] {
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
}

/* ── The today marker ────────────────────────────────────────────────────────────
   An outline rather than a background, so it is visible on all six colours above
   and on an empty cell. Legacy had no equivalent - you counted columns.
   ────────────────────────────────────────────────────────────────────────────── */

.calendar-cell-today[b-sivors5bz4] {
    outline: 2px solid var(--rz-primary, #1a73e8);
    outline-offset: -1px;
}

/* ── Column headings ─────────────────────────────────────────────────────────── */

.calendar-head[b-sivors5bz4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.calendar-head-dow[b-sivors5bz4] {
    font-size: 0.625rem;
    text-transform: uppercase;
    opacity: 0.6;
}

.calendar-head-day[b-sivors5bz4] {
    font-size: 0.8125rem;
    font-weight: 600;
}

.calendar-head-today[b-sivors5bz4] {
    color: var(--rz-primary, #1a73e8);
}

.calendar-head-today .calendar-head-dow[b-sivors5bz4] {
    opacity: 1;
}

/* ── Chrome ──────────────────────────────────────────────────────────────────────
   Thirty-one day columns plus a 200px name column overflow any sensible container,
   so the matrix scrolls sideways inside its own box. The employee column is
   Frozen on the grid, which is position: sticky - it sticks to this container.
   ────────────────────────────────────────────────────────────────────────────── */

.calendar-scroll[b-sivors5bz4] {
    overflow-x: auto;
    max-width: 100%;
}

/* ── The legend ──────────────────────────────────────────────────────────────────
   Its swatches carry the cell classes above, so a colour cannot be labelled one
   thing here and painted another in the grid.
   ────────────────────────────────────────────────────────────────────────────── */

.calendar-swatch[b-sivors5bz4] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* ── Printing ────────────────────────────────────────────────────────────────────
   This screen gets pinned to a wall, and every one of the colours above is a
   background - which browsers drop from a print by default, so the calendar would
   come out as an empty grid. print-color-adjust keeps them, and the scroller has to
   stop scrolling or the columns past the fold are simply not printed.
   ────────────────────────────────────────────────────────────────────────────── */

@media print {
    .calendar-cell[b-sivors5bz4],
    .calendar-swatch[b-sivors5bz4] {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .calendar-scroll[b-sivors5bz4] {
        overflow-x: visible;
    }
}
/* /Components/Pages/Reporting/InvoiceReportGrid.razor.rz.scp.css */
/*
    One rule, and it is about Radzen rather than about reports.

    RadzenDataGrid renders its grouped rows only when AllowGrouping is true - which also renders the
    "drag a column header here to group" panel above the grid. On a report the grouping is the
    report: it comes from the catalogue, there is a picker for it, and dragging a column would put
    the screen and its CSV export into two different shapes. So the panel goes.

    ::deep, because the panel is Radzen's markup rather than this component's, and scoped CSS would
    otherwise not reach it.
*/

[b-e6gxmmz6wk] .rz-group-header {
    display: none;
}
/* /Components/Pages/Reporting/InvoiceSalesPivotGrid.razor.rz.scp.css */
/*
    The pivot grid. Two things are going on here: the grouping panel goes, for InvoiceReportGrid's
    reason, and a pivot is wide in a way a detail listing is not.

    ::deep throughout, because everything selected below is Radzen's markup rather than this
    component's, and scoped CSS would otherwise not reach it.
*/

/*
    RadzenDataGrid renders its grouped rows only when AllowGrouping is true - which also renders the
    "drag a column header here to group" panel. On a report the grouping is the report: it comes from
    the catalogue, there is a picker for it, and dragging a column would put the screen and its CSV
    export into two different shapes.
*/
[b-3sv9fsf779] .rz-group-header {
    display: none;
}

/*
    A year's range is thirteen columns and rows two lines deep. Scroll the grid rather than the page:
    the dimension names stay where the eye expects them, and the report heading above does not slide
    off to the left.
*/
[b-3sv9fsf779] .rz-data-grid {
    overflow-x: auto;
}

/* Two-line headings - the month, and the month it is compared against. */
.pivot-head[b-3sv9fsf779] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.pivot-head-prior[b-3sv9fsf779] {
    font-size: 0.75em;
    font-weight: 400;
    opacity: 0.6;
    white-space: nowrap;
}

/*
    The total column. A rule of its own so the range's total is findable without counting columns from
    the right - which is the one figure people scroll a wide pivot to find.
*/
[b-3sv9fsf779] .pivot-total-column {
    border-left: 2px solid var(--rz-base-300, #ccc);
    font-weight: 600;
}
/* /Components/Pages/Reporting/PivotCell.razor.rz.scp.css */
/*
    Two figures stacked in one grid cell: this period on top, the same period last year under it.

    The comparison has to be readable at a glance across a dozen columns, so the difference between
    the two lines is size and weight rather than colour - the application has a dark theme and a WCAG
    theme, and a colour chosen against one of them is wrong in the other. currentColor with reduced
    opacity is right in all four.
*/

.pivot-cell[b-b2nfrdt5mc] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
    white-space: nowrap;
}

.pivot-now[b-b2nfrdt5mc] {
    font-variant-numeric: tabular-nums;
}

/*
    Last year. Tabular figures too, so the two lines' digits sit in the same columns and the eye can
    compare them without reading them.
*/
.pivot-prior[b-b2nfrdt5mc] {
    font-size: 0.78em;
    opacity: 0.62;
    font-variant-numeric: tabular-nums;
}

/* Nothing either year. The dashes stay, faintly, so the row still reads as a row. */
.pivot-cell-empty[b-b2nfrdt5mc] {
    opacity: 0.4;
}
/* /Components/Pages/Reporting/ServiceReportGrid.razor.rz.scp.css */
/*
    The same one rule InvoiceReportGrid.razor.css carries, and for the same reason: RadzenDataGrid
    renders grouped rows only when AllowGrouping is true, which also renders the "drag a column
    header here to group" panel. On a report the grouping is the report - it comes from the catalogue
    and there is a picker for it - and dragging a column would put the screen and its CSV export into
    two different shapes. So the panel goes.

    Scoped CSS is per component, so this is a duplicate file rather than a shared one; the shell's
    own stylesheet is not scoped to a grid and could not reach ::deep into either.
*/

[b-wlyhjz7b7h] .rz-group-header {
    display: none;
}
