/* IBM Plex (TM-147), served from wwwroot/fonts under the SIL Open Font License 1.1 (fonts/OFL.txt). */
@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
}

/* Numbers line up in every table and figure (TM-147). */
html,
body {
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}

/* Light or dark before Blazor starts (TM-147): index.html sets data-theme; these repeat the page background and text of
   Theme/TimeItTheme.cs for the loading screen only. Once the theme provider renders, MudBlazor's body colors cover them. */
html[data-theme=light] {
    color-scheme: light;
    background-color: #F5F7FA;
    color: #1F2937;
    --timeit-loading-track: #E2E6EB;
    --timeit-loading-accent: #0F766E;
}

html[data-theme=dark] {
    color-scheme: dark;
    background-color: #121418;
    color: #E5E7EB;
    --timeit-loading-track: #2C313A;
    --timeit-loading-accent: #2DD4BF;
}

code,
.code {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-weight: 500;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--mud-palette-success);
}

.invalid {
    outline: 1px solid var(--mud-palette-error);
}

.validation-message {
    color: var(--mud-palette-error);
}

#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: var(--timeit-loading-track);
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--timeit-loading-accent);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* Machine setup command (TM-60): monospace so the code reads exactly. */
.setup-command textarea,
.setup-command input {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
}

/* Dashboard (TM-27): billable time against the cap, with a tick at the cap and a marker at the projection. */
.dashboard-bar {
    background: var(--mud-palette-action-disabled-background);
    border-radius: 4px;
    height: 12px;
    margin-top: 4px;
    position: relative;
}

.dashboard-bar-fill {
    background: var(--mud-palette-success);
    border-radius: 4px;
    height: 100%;
    max-width: 100%;
}

.dashboard-bar-cap,
.dashboard-bar-projection {
    bottom: -4px;
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    width: 2px;
}

.dashboard-bar-cap {
    background: var(--mud-palette-text-primary);
}

.dashboard-bar-projection {
    background: var(--mud-palette-success);
    width: 4px;
}

.dashboard-bar-projection-over {
    background: var(--mud-palette-error);
}

/* Sidebar (TM-148). Below 960 px a closed drawer only slides off screen, so its links stayed focusable and "visible";
   hide it once the slide ends. Opening shows it at once (the open state has no visibility transition). */
.mud-drawer.timeit-sidebar.mud-drawer-responsive.mud-drawer--closed:not(.mud-drawer--initial) {
    visibility: hidden;
    transition: left 225ms cubic-bezier(0, 0, 0.2, 1), visibility 0s linear 225ms;
}

/* Plain-text group headings over their links. */
.timeit-nav-group {
    padding-top: 8px;
}

.timeit-nav-group-heading {
    display: block;
    padding: 4px 16px 0;
    color: var(--mud-palette-text-secondary);
    line-height: 2;
}

/* The Flagged runs count beside the link's text: a small pill in the pending color (its class comes from BillingColors). */
.timeit-nav-count {
    display: inline-block;
    min-width: 20px;
    margin-inline-start: 8px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

/* Shared table style (TM-150, Theme/TableStyle.cs): compact rows, one header look, theme borders.
   MudTable cells carry .mud-table-cell, and MudBlazor's own cell rules outrank a plain td/th selector
   (".mud-table-dense * .mud-table-row .mud-table-cell:last-child" is 0,4,0; ".mud-table-root .mud-table-head .mud-table-cell"
   is 0,3,0). The extra :is() arguments lift these rules above them, so MudTable and MudSimpleTable render the same. */
.ti-table.mud-table-dense .mud-table-container :is(td, th, .mud-table-cell:last-child) {
    padding: 6px 12px;
}

.ti-table.mud-table-dense .mud-table-container :is(td, th) {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.ti-table .mud-table-container thead :is(th, th.mud-table-cell) {
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* Duration, count and money cells: right-aligned, tabular figures. */
.ti-table .mud-table-container :is(td, th).ti-num {
    text-align: end;
    font-variant-numeric: tabular-nums;
}

/* Wide screens: no scroll box inside the page, so a long table's header sticks under the app bar while the page scrolls.
   Narrower screens keep MudBlazor's sideways-scrolling container (the header scrolls with the page there).
   Collapsed table borders stay behind when a header cell sticks, so the line under the header is an inset shadow instead. */
@media (min-width: 960px) {
    .ti-table .mud-table-container {
        overflow: visible;
    }

    .ti-table .mud-table-container thead :is(th, th.mud-table-cell) {
        position: sticky;
        top: var(--mud-appbar-height);
        z-index: 1;
        background-color: var(--mud-palette-surface);
        border-bottom: none;
        box-shadow: inset 0 -1px 0 var(--mud-palette-table-lines);
    }

    /* Opt-out (TM-151): a table inside its own scroll box keeps its header in place. An open expansion panel scrolls
       (.mud-collapse-entered .mud-collapse-wrapper) and so does a dialog's content (.mud-dialog-content), so a header
       pinned at the app bar's height there would cover the first rows. The extra ancestor lifts this rule (0,4,2) above
       the sticky rule (0,3,2). */
    .mud-collapse-wrapper .ti-table .mud-table-container thead :is(th, th.mud-table-cell),
    .mud-dialog .ti-table .mud-table-container thead :is(th, th.mud-table-cell) {
        position: static;
    }
}

/* One toolbar layout above a table (TM-150, Components/TableToolbar.razor): filters left, actions right. */
.ti-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.ti-table-toolbar-filters,
.ti-table-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ti-table-toolbar-filters {
    flex: 1 1 260px;
}

.ti-table-toolbar-actions {
    margin-left: auto;
}

/* Client snapshot (TM-149): phone first (one column, large type, 44 px targets), centred with a max width on a desktop. */
.timeit-snapshot-shell {
    margin: 0 auto;
    max-width: 560px;
    min-height: 100vh;
    padding: 8px 16px 24px;
}

.timeit-snapshot-topline {
    align-items: center;
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.timeit-snapshot-back,
.timeit-snapshot-target {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
}

.timeit-snapshot-big {
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.timeit-snapshot-bar {
    height: 20px;
}

.dashboard-bar-fill-over {
    background: var(--mud-palette-error);
}

/* The Dashboard's client list and selected client (TM-171). Below 960 px the list sits above the card; at 960 px and
   wider (d-md-flex) it is a 320 px column beside it. min-width: 0 keeps a long name or table from widening the page. */
.dashboard-client-list {
    margin-bottom: 16px;
    min-width: 0;
}

.dashboard-panel {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 960px) {
    .dashboard-client-list {
        flex: 0 0 320px;
        margin-bottom: 0;
        margin-inline-end: 16px;
        width: 320px;
    }
}

.dashboard-client-row {
    align-items: stretch;
    background: none;
    border: 0;
    border-radius: var(--mud-default-borderradius);
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    gap: 4px;
    padding: 8px;
    text-align: start;
    width: 100%;
}

.dashboard-client-row:hover {
    background-color: var(--mud-palette-action-default-hover);
}

.dashboard-client-row:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* The selected client: a Primary tint, like the active sidebar link. */
.dashboard-client-row-selected,
.dashboard-client-row-selected:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.12);
}

.dashboard-client-row-head {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
}

.dashboard-client-row-name {
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-client-row-live,
.dashboard-client-row-figures {
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dashboard-client-row-live:not(.mud-success-text),
.dashboard-client-row-figures {
    color: var(--mud-palette-text-secondary);
}

/* A row's cap bar: used against the cap only (no cap or projection markers), colored by state through mud-theme-*. */
.dashboard-bar-mini {
    background: var(--mud-palette-action-disabled-background);
    border-radius: 3px;
    display: block;
    height: 6px;
    margin: 0;
    overflow: hidden;
}

.dashboard-bar-mini-fill {
    border-radius: 3px;
    display: block;
    height: 100%;
    max-width: 100%;
}

/* Tinted status chips (TM-170, Theme/ChipStyle.cs). A Variant.Text chip is colored text on var(--mud-palette-{color}-hover),
   too faint to read as a tint; raise it to 14% of the chip's color. Same specificity as MudBlazor's rule (0,2,0), later. */
.mud-chip-text.mud-chip-color-success {
    background-color: rgba(var(--mud-palette-success-rgb), 0.14);
}

.mud-chip-text.mud-chip-color-warning {
    background-color: rgba(var(--mud-palette-warning-rgb), 0.14);
}

.mud-chip-text.mud-chip-color-error {
    background-color: rgba(var(--mud-palette-error-rgb), 0.14);
}

.mud-chip-text.mud-chip-color-secondary {
    background-color: rgba(var(--mud-palette-secondary-rgb), 0.14);
}

.mud-chip-text.mud-chip-color-info {
    background-color: rgba(var(--mud-palette-info-rgb), 0.14);
}

.mud-chip-text.mud-chip-color-tertiary {
    background-color: rgba(var(--mud-palette-tertiary-rgb), 0.14);
}

/* Light mode: the plain colors fall just under AA (4.5:1) on their own tint, so the chip text is darkened (at least 5.0:1
   on the page background). Dark mode keeps the plain colors, which pass. data-theme is kept in sync by js/timeit.js. */
html[data-theme=light] .mud-chip-text.mud-chip-color-success {
    color: color-mix(in srgb, var(--mud-palette-success) 85%, black);
}

html[data-theme=light] .mud-chip-text.mud-chip-color-warning {
    color: color-mix(in srgb, var(--mud-palette-warning) 85%, black);
}

html[data-theme=light] .mud-chip-text.mud-chip-color-error {
    color: color-mix(in srgb, var(--mud-palette-error) 85%, black);
}

html[data-theme=light] .mud-chip-text.mud-chip-color-secondary {
    color: color-mix(in srgb, var(--mud-palette-secondary) 85%, black);
}

html[data-theme=light] .mud-chip-text.mud-chip-color-info {
    color: color-mix(in srgb, var(--mud-palette-info) 85%, black);
}

html[data-theme=light] .mud-chip-text.mud-chip-color-tertiary {
    color: color-mix(in srgb, var(--mud-palette-tertiary) 85%, black);
}

/* Active sidebar link (TM-170): MudNavMenu Color.Primary gives Primary text and icon; this gives it a Primary tint and
   weight 600. At 0,6,0 (0,8,0 with :hover) it outranks MudBlazor's 0,5,0 active rule and its 0,7,0 hover/focus rules.
   MudBlazor sets the active weight with !important (".mud-nav-link.active:not(.mud-nav-link-disabled){font-weight:500
   !important}"), so this weight must be !important too; the higher specificity then wins. */
.timeit-sidebar .mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled),
.timeit-sidebar .mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled):hover:not(.mud-nav-link-disabled),
.timeit-sidebar .mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled):focus-visible:not(.mud-nav-link-disabled) {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.12);
    font-weight: 600 !important;
}

/* App bar logo block (TM-170): the mark in the accent's contrast text on a 32 px rounded accent square. */
.timeit-logo-block {
    align-items: center;
    background-color: var(--mud-palette-primary);
    border-radius: 8px;
    color: var(--mud-palette-primary-text);
    display: inline-flex;
    flex: 0 0 auto;
    height: 32px;
    justify-content: center;
    width: 32px;
}

/* The client snapshot's top line: the mark (in the accent) and "TimeIt!". */
.timeit-snapshot-brand {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    margin-inline-start: 8px;
}

.timeit-snapshot-brand svg {
    color: var(--mud-palette-primary);
}

.timeit-snapshot-back {
    white-space: nowrap;
}

/* Phones: the back link, Refresh and the toggle need the whole line, so the mark and name get their own line above. */
@media (max-width: 479.98px) {
    .timeit-snapshot-topline {
        flex-wrap: wrap;
    }

    .timeit-snapshot-brand {
        flex-basis: 100%;
        margin-inline-start: 0;
        order: -1;
    }
}

/* Charts (TM-172): hand-drawn SVG in theme colors only, so light and dark both work. The SVG scales to its container's
   width (never wider, so nothing scrolls sideways at 390 px) up to a comfortable reading size. */
.timeit-chart {
    display: block;
    height: auto;
    max-width: 640px;
    overflow: visible;
    width: 100%;
}

.timeit-chart-grid {
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1;
}

.timeit-chart-label {
    fill: var(--mud-palette-text-secondary);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.timeit-chart-label-strong {
    fill: var(--mud-palette-text-primary);
    font-weight: 600;
}

.timeit-chart-hit {
    fill: transparent;
}

.timeit-burn-up-area {
    fill: var(--mud-palette-success);
    fill-opacity: 0.15;
}

.timeit-burn-up-line,
.timeit-burn-up-projection {
    fill: none;
    stroke: var(--mud-palette-success);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.timeit-burn-up-projection {
    stroke-dasharray: 6 4;
}

.timeit-burn-up-cap {
    stroke: var(--mud-palette-error);
    stroke-width: 2;
}

.timeit-burn-up-pace {
    stroke: var(--mud-palette-text-secondary);
    stroke-dasharray: 1 4;
    stroke-linecap: round;
    stroke-width: 2;
}

.timeit-burn-up-today {
    fill: var(--mud-palette-success);
    stroke: var(--mud-palette-surface);
    stroke-width: 2;
}

.timeit-burn-up-crossing {
    fill: var(--mud-palette-error);
    stroke: var(--mud-palette-surface);
    stroke-width: 2;
}

.timeit-recent-days-agent {
    background: var(--mud-palette-primary);
    fill: var(--mud-palette-primary);
}

.timeit-recent-days-human {
    background: var(--mud-palette-tertiary);
    fill: var(--mud-palette-tertiary);
}

.timeit-chart-legend {
    color: var(--mud-palette-text-secondary);
    display: flex;
    font-size: 0.8125rem;
    gap: 16px;
    margin-top: 4px;
}

.timeit-chart-legend > span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.timeit-chart-swatch {
    border-radius: 2px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

/* Month to date's drill-down charts (TM-173): the daily bars (flexible) beside the donut (220 px) from 960 px, stacked
   below that. Nothing is wider than its container, so nothing scrolls sideways at 390 px. */
.timeit-drill-charts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeit-drill-charts > section {
    min-width: 0;
}

@media (min-width: 960px) {
    .timeit-drill-charts {
        align-items: flex-start;
        flex-direction: row;
    }

    .timeit-drill-charts-bars {
        flex: 1 1 auto;
    }

    .timeit-drill-charts-donut {
        flex: 0 0 220px;
    }
}

.timeit-daily-bars-agent {
    background: var(--mud-palette-primary);
    fill: var(--mud-palette-primary);
}

.timeit-daily-bars-human {
    background: var(--mud-palette-success);
    fill: var(--mud-palette-success);
}

.timeit-daily-bars-empty {
    fill: var(--mud-palette-lines-default);
}

.timeit-hours-donut {
    max-width: 220px;
}

.timeit-hours-donut-chart {
    max-width: 220px;
}

.timeit-hours-donut-track,
.timeit-hours-donut-agent,
.timeit-hours-donut-human,
.timeit-hours-donut-pending,
.timeit-hours-donut-excluded {
    fill: none;
    stroke-width: 26;
}

.timeit-hours-donut-track {
    stroke: var(--mud-palette-lines-default);
    stroke-opacity: 0.5;
}

.timeit-hours-donut-agent {
    background: var(--mud-palette-primary);
    stroke: var(--mud-palette-primary);
}

.timeit-hours-donut-human {
    background: var(--mud-palette-success);
    stroke: var(--mud-palette-success);
}

.timeit-hours-donut-pending {
    background: var(--mud-palette-warning);
    stroke: var(--mud-palette-warning);
}

.timeit-hours-donut-excluded {
    background: var(--mud-palette-secondary);
    stroke: var(--mud-palette-secondary);
}

.timeit-hours-donut-total {
    fill: var(--mud-palette-text-primary);
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.timeit-hours-donut-legend {
    color: var(--mud-palette-text-primary);
    font-size: 0.875rem;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.timeit-hours-donut-legend > li {
    align-items: center;
    display: flex;
    gap: 8px;
    padding: 2px 0;
}

.timeit-hours-donut-legend-label {
    flex: 1 1 auto;
}

.timeit-hours-donut-legend-value {
    font-variant-numeric: tabular-nums;
}
