html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Sidebar menu colors: light by default, dark when Settings → Menü sets data-nav-theme="dark"
   on <html> (see the tbNavTheme script in App.razor). */
:root {
    --nav-bg: #ffffff;
    --nav-border: #e5e7eb;
    --nav-topbar-bg: transparent;
    --nav-brand: #0f172a;
    --nav-brand-accent: #4f46e5;
    --nav-text: #334155;
    --nav-text-strong: #0f172a;
    --nav-muted: #64748b;
    --nav-hover-bg: #f1f5f9;
    --nav-active-bg: #4f46e5;
    --nav-active-text: #ffffff;
    --nav-card-bg: #f8fafc;
    --nav-avatar-bg: #e0e7ff;
    --nav-avatar-text: #3730a3;
    --nav-exit-bg: #f1f5f9;
    --nav-exit-text: #475569;
    --nav-exit-hover-bg: #fee2e2;
    --nav-exit-hover-text: #b91c1c;
    --nav-badge-bg: #fee2e2;
    --nav-badge-text: #b91c1c;
    --nav-bar: #6366f1;
    --nav-bar-nb: #e2e8f0;
    --nav-bar-nb-stripe: rgba(100, 116, 139, 0.45);
    --nav-bar-empty: #e2e8f0;
    --nav-warn-bg: #fef3c7;
    --nav-warn-text: #92400e;
    --nav-dot-ring: #ffffff;
    --tb-ev-frame: rgba(15, 23, 42, 0.32);
}

:root[data-nav-theme="dark"] {
    --nav-bg: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --nav-border: rgba(255, 255, 255, 0.08);
    --nav-topbar-bg: rgba(0, 0, 0, 0.3);
    --nav-brand: #e2e8f0;
    --nav-brand-accent: #a5b4fc;
    --nav-text: #cbd5e1;
    --nav-text-strong: #f1f5f9;
    --nav-muted: #94a3b8;
    --nav-hover-bg: rgba(255, 255, 255, 0.07);
    --nav-active-bg: rgba(99, 102, 241, 0.3);
    --nav-active-text: #e0e7ff;
    --nav-card-bg: rgba(255, 255, 255, 0.05);
    --nav-avatar-bg: #334155;
    --nav-avatar-text: #e2e8f0;
    --nav-exit-bg: rgba(255, 255, 255, 0.08);
    --nav-exit-text: #cbd5e1;
    --nav-exit-hover-bg: rgba(239, 68, 68, 0.22);
    --nav-exit-hover-text: #fca5a5;
    --nav-badge-bg: #dc3545;
    --nav-badge-text: #ffffff;
    --nav-bar: #818cf8;
    --nav-bar-nb: rgba(255, 255, 255, 0.12);
    --nav-bar-nb-stripe: rgba(255, 255, 255, 0.28);
    --nav-bar-empty: rgba(255, 255, 255, 0.1);
    --nav-warn-bg: rgba(251, 191, 36, 0.18);
    --nav-warn-text: #fcd34d;
    --nav-dot-ring: #1e293b;
}

a, .btn-link {
    color: var(--tb-x-6366f1);
}

.btn-primary {
    color: #fff;
    background-color: #6366f1;
    border-color: #4f46e5;
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4338ca;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(99, 102, 241, 0.4);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #059669;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

/* ──────────────────────────────────────────────
   Radzen component overrides
   ────────────────────────────────────────────── */

/* Compact, well-centered buttons */
.rz-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
}

.rz-button .rz-button-text {
    line-height: 1 !important;
}

.rz-button.rz-primary {
    background-color: #6366f1 !important;
    border-color: #4f46e5 !important;
}
.rz-button.rz-primary:hover {
    background-color: #4f46e5 !important;
}

/* ──────────────────────────────────────────────
   FullCalendar overrides
   ────────────────────────────────────────────── */

.fc {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
}

/* Toolbar strip */
.fc .fc-toolbar.fc-header-toolbar {
    padding: 0.4rem 0.75rem;
    margin-bottom: 0 !important;
    background: var(--tb-surface-2);
    border-bottom: 1px solid var(--tb-border);
    gap: 0.5rem;
}

/* All FC buttons — flat, clean */
.fc .fc-button,
.fc .fc-button-primary {
    background-color: transparent !important;
    border: 1px solid var(--tb-border) !important;
    color: var(--tb-text-2) !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 6px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.12s, border-color 0.12s !important;
}

.fc .fc-button:hover,
.fc .fc-button-primary:hover {
    background-color: var(--tb-subtle) !important;
    border-color: var(--tb-border-strong) !important;
    color: var(--tb-n-1e293b) !important;
}

/* Active view button */
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background-color: #6366f1 !important;
    border-color: #4f46e5 !important;
    color: #fff !important;
}

/* Today button — outlined accent */
.fc .fc-today-button {
    border-color: #6366f1 !important;
    color: var(--tb-x-6366f1) !important;
}
.fc .fc-today-button:not(:disabled):hover {
    background-color: rgba(99, 102, 241, 0.08) !important;
}
.fc .fc-today-button:disabled {
    opacity: 0.45 !important;
}

/* Focus ring */
.fc .fc-button:focus,
.fc .fc-button-primary:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.3) !important;
}

/* Toolbar title */
.fc .fc-toolbar-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--tb-n-1e293b) !important;
    letter-spacing: -0.01em;
}

/* Column day headers */
.fc .fc-col-header-cell {
    background-color: var(--tb-surface-2);
    border-bottom: 2px solid var(--tb-border) !important;
    padding: 0.3rem 0;
}
.fc .fc-col-header-cell-cushion {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tb-muted);
    text-decoration: none !important;
}
.fc .fc-day-today .fc-col-header-cell-cushion {
    color: var(--tb-x-6366f1);
}

/* Today column — subtle indigo tint */
.fc .fc-day-today {
    background-color: rgba(99, 102, 241, 0.03) !important;
}

/* Time gutter labels */
.fc .fc-timegrid-slot-label-cushion {
    font-size: 0.7rem;
    color: var(--tb-faint);
    font-variant-numeric: tabular-nums;
    padding-right: 0.5rem;
}

/* Slot row height — set by calendarInterop._fitSlots so the configured hours fill the grid.
   line-height 0: FullCalendar puts a " " into empty slots, whose text line would otherwise keep
   every row at least ~21px tall; the hour label sets its own line-height below. */
.fc .fc-timegrid-slot {
    height: var(--tb-slot-height, 1.6rem);
    line-height: 0;
}

.fc .fc-timegrid-slot-label-cushion {
    line-height: 1;
}

/* Hour lines — solid, clearly visible */
.fc .fc-timegrid-slot:not(.fc-timegrid-slot-minor) {
    border-top-color: var(--tb-border-strong) !important;
    border-top-style: solid !important;
}

/* 30-min lines — dashed, medium visibility */
.fc-timegrid-slots tr:nth-child(4n+3) .fc-timegrid-slot-lane {
    border-top-style: dashed !important;
    border-top-color: var(--tb-grid-half) !important;
}

/* 15-min lines (all minor) — dotted, very faint */
.fc .fc-timegrid-slot-minor {
    border-top-style: dotted !important;
    border-top-color: var(--tb-grid-minor) !important;
}

/* Now indicator — indigo */
.fc .fc-timegrid-now-indicator-line {
    border-color: #6366f1;
    border-width: 2px;
}
.fc .fc-timegrid-now-indicator-arrow {
    border-color: #6366f1;
}

/* Event cards */
.fc-event {
    border-radius: 5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
}
.fc-event:hover {
    filter: brightness(0.97);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14) !important;
}

/* Event card layout (content built in calendarInterop eventContent). The card's own height picks
   the rows: one line "€ 09:00 Title ●" by default (also the month view, which has no size
   container), then time range + title, then project · task, then a two-line title.
   Colors: background tint + left bar = customer (billable) or gray (non-billable, hatched);
   the dot on the right = sync state; a lock = TimeCard no longer "On Hold". */
/* Left bar in the event's color (set inline by FullCalendar) plus a thin dark frame on the other
   sides, so back-to-back entries — especially hatched gray ones — read as separate cards. The
   frame colors need !important to beat FullCalendar's inline border-color. */
.fc-timegrid-event.fc-v-event {
    border-width: 1px 1px 1px 3px;
    border-top-color: var(--tb-ev-frame) !important;
    border-right-color: var(--tb-ev-frame) !important;
    border-bottom-color: var(--tb-ev-frame) !important;
}

/* One pixel of air between stacked cards, on top of FullCalendar's own 1px */
.fc-timegrid-event-harness > .fc-timegrid-event {
    bottom: 1px !important;
}

.tb-ev {
    height: 100%;
    overflow: hidden;
}

/* Rows stack in a column whose gap, line height and padding grow with the card (container
   queries below — they can only style children of the container, hence this wrapper); small
   cards stay tight so a 15-min entry still fits one row. */
.tb-ev-body {
    height: 100%;
    box-sizing: border-box;
    padding: 0 3px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fc-daygrid-event .tb-ev-body {
    display: block;
}

/* FullCalendar pads the card by 1px; every pixel counts for the one-line 15-min card */
.fc-timegrid-event .fc-event-main {
    padding: 0;
}

.fc-timegrid-event .tb-ev {
    container: tb-ev / size;
}

/* Non-billable entries: always gray, hatched */
.fc-timegrid-event.tb-nonbillable,
.cal-legend-swatch.tb-nonbillable,
.hours-stat__swatch.tb-nonbillable {
    background-image: repeating-linear-gradient(135deg,
        var(--tb-ev-stripe) 0 4px, transparent 4px 9px);
}

/* Month view entries are links that FullCalendar doesn't give the event's text color */
.fc-daygrid-event .tb-ev {
    color: var(--tb-n-212529);
}

.tb-ev-head {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 0.72rem;
    white-space: nowrap;
}

/* May shrink (clipped) in narrow side-by-side cards, so the status dot and lock stay visible */
.tb-ev-time {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
    color: var(--tb-text-2);
    font-variant-numeric: tabular-nums;
}

.tb-ev-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.tb-ev-title-inline {
    flex: 1;
}

.tb-ev-euro {
    flex: none;
    color: var(--tb-x-059669);
    font-weight: 700;
}

.tb-ev-flags {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

.tb-ev-lock {
    width: 10px;
    height: 10px;
    color: var(--tb-text-2);
}

.tb-ev-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #adb5bd;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9);
}

/* Same colors as the sync-status legend on the Calendar page */
.tb-st-New       { background: #6c757d; }
.tb-st-Modified  { background: #6366f1; }
.tb-st-Synced    { background: #059669; }
.tb-st-OutOfSync { background: #fd7e14; }
.tb-st-Error     { background: #dc3545; }
.tb-st-Overlap   { background: #eab308; }

/* Month view: no card, so a small square carries the customer color */
.tb-ev-swatch {
    display: none;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.fc-daygrid-event .tb-ev-swatch {
    display: inline-block;
}

.tb-ev-title-block {
    font-size: 0.78rem;
}

.tb-ev-project {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
    color: var(--tb-text-2);
}

.tb-ev-time-end,
.tb-ev-title-block,
.tb-ev-project {
    display: none;
}

@container tb-ev (min-height: 26px) {
    .tb-ev-time-end { display: inline; }
    .tb-ev-title-inline { display: none; }
    .tb-ev-title-block { display: block; }
}

@container tb-ev (min-height: 39px) {
    .tb-ev-project { display: block; }
}

@container tb-ev (min-height: 54px) {
    .tb-ev-title-block {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
}

/* Taller cards: more air between the rows, the more room there is */
@container tb-ev (min-height: 60px) {
    .tb-ev-body { padding: 1px 4px; gap: 2px; line-height: 1.15; }
}

@container tb-ev (min-height: 68px) {
    .tb-ev-body { padding: 2px 4px; gap: 3px; line-height: 1.2; }
}

@container tb-ev (min-height: 96px) {
    .tb-ev-body { padding: 4px 5px; gap: 5px; line-height: 1.3; }
    .tb-ev-title-block { -webkit-line-clamp: 3; }
}

@container tb-ev (min-height: 140px) {
    .tb-ev-body { padding: 6px 6px; gap: 7px; line-height: 1.35; }
    .tb-ev-title-block { -webkit-line-clamp: 4; font-size: 0.8rem; }
    .tb-ev-project { font-size: 0.72rem; }
}

/* Overlapping entries can't be synced until resolved */
.fc-event.tb-overlap {
    outline: 2px dashed #eab308;
    outline-offset: -2px;
}

/* Ctrl/Cmd+click multi-select highlight (wins over the overlap outline) */
.fc-event.fc-event-selected {
    outline: 2px solid #6366f1;
    outline-offset: -2px;
}

/* Resize handle */
.fc-event .fc-event-resizer-end {
    cursor: s-resize;
    height: 10px;
    bottom: 0;
}

/* Selection mirror (drag-to-create preview) */
.fc .fc-highlight {
    background: rgba(99, 102, 241, 0.1);
}

/* Scrollbar in time grid */
.fc .fc-scroller::-webkit-scrollbar {
    width: 5px;
}
.fc .fc-scroller::-webkit-scrollbar-track {
    background: var(--tb-surface-2);
}
.fc .fc-scroller::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.fc .fc-scroller::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── Entry preview popup + time entry editor dialog (shared) ───────────────── */

.ep-icon {
    flex: none;
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ep-icon-sm {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--tb-text-2);
}

/* Header: color bar (customer / non-billable gray) + title + status pill + close */
.ep-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px 12px 16px;
}

.ep-bar {
    flex: none;
    align-self: stretch;
    width: 4px;
    border-radius: 2px;
    transition: background-color 0.15s;
}

.ep-subject {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ep-pill {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background: var(--tb-subtle);
    color: var(--tb-text-2);
}

    .ep-pill .tb-ev-status {
        box-shadow: none;
    }

.ep-pill-Synced    { background: var(--tb-x-ecfdf5); color: var(--tb-x-047857); }
.ep-pill-Modified  { background: var(--tb-x-eef2ff); color: var(--tb-x-4338ca); }
.ep-pill-OutOfSync { background: var(--tb-x-fff7ed); color: var(--tb-x-c2410c); }
.ep-pill-Error     { background: var(--tb-x-fef2f2); color: var(--tb-x-b91c1c); }
.ep-pill-Overlap   { background: var(--tb-x-fefce8); color: var(--tb-x-a16207); }

.ep-close {
    flex: none;
    width: 28px;
    height: 28px;
    margin: -4px -2px 0 0;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--tb-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .ep-close:hover {
        background: var(--tb-subtle);
        color: var(--tb-text-strong);
    }

/* Notices under the header (locked amber; the popup adds a red sync-error variant) */
.ep-notice {
    margin: 0 16px 12px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.4;
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

    .ep-notice > .ep-icon {
        margin-top: 1px;
    }

.ep-notice-locked {
    background: var(--tb-x-fffbeb);
    border: 1px solid var(--tb-x-fde68a);
    color: var(--tb-x-92400e);
}

/* Actions: primary first, Delete pushed to the right */
.ep-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-top: 1px solid var(--tb-border);
}

.ep-btn {
    height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--tb-text);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
}

    .ep-btn:hover:not(:disabled) {
        background: var(--tb-subtle);
    }

    .ep-btn:disabled {
        color: var(--tb-faint);
        cursor: not-allowed;
    }

.ep-btn-primary {
    background: #4f46e5;
    color: #ffffff;
    font-weight: 600;
}

    .ep-btn-primary:hover:not(:disabled) {
        background: #4338ca;
    }

    .ep-btn-primary:disabled {
        background: #c7d2fe;
        color: #ffffff;
    }

.ep-btn-danger {
    color: var(--tb-x-b91c1c);
}

    .ep-btn-danger:hover:not(:disabled) {
        background: var(--tb-x-fef2f2);
    }

.ep-push-right {
    margin-left: auto;
}

.ep-spin {
    animation: ep-spin 0.9s linear infinite;
}

@keyframes ep-spin {
    to { transform: rotate(360deg); }
}

/* Time entry editor: Radzen dialog without its own title bar; the editor draws the header */
.rz-dialog.tb-entry-dialog {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

    .rz-dialog.tb-entry-dialog > .rz-dialog-content {
        padding: 0;
    }
