/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
#components-reconnect-modal[b-pjbo05e9pu] {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1400;
    overflow: hidden;
    background-color: transparent;
    border: none;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

    #components-reconnect-modal[b-pjbo05e9pu]::backdrop {
        background: rgba(10, 16, 28, 0.5);
    }

    #components-reconnect-modal.components-reconnect-show[b-pjbo05e9pu],
    #components-reconnect-modal[open][b-pjbo05e9pu],
    #components-reconnect-modal.components-reconnect-failed[b-pjbo05e9pu],
    #components-reconnect-modal.components-reconnect-repeated-attempt[b-pjbo05e9pu],
    #components-reconnect-modal.components-reconnect-paused[b-pjbo05e9pu],
    #components-reconnect-modal.components-reconnect-resume-failed[b-pjbo05e9pu],
    #components-reconnect-modal.components-pause[b-pjbo05e9pu],
    #components-reconnect-modal.components-resume-failed[b-pjbo05e9pu] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.components-reconnect-backdrop[b-pjbo05e9pu] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    background: radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--mud-palette-primary, #594AE2) 12%, transparent), transparent 60%), radial-gradient(80% 55% at 0% 100%, color-mix(in srgb, var(--mud-palette-info, #2196f3) 16%, transparent), transparent 62%), rgba(8, 12, 20, 0.5);
}

.components-reconnect-surface[b-pjbo05e9pu] {
    width: min(480px, 100%);
    border-radius: var(--mud-default-borderradius, 12px);
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default, #e0e0e0) 70%, transparent);
    background: var(--mud-palette-surface, #fff);
    box-shadow: var(--mud-elevation-24, 0 16px 30px rgba(0, 0, 0, 0.28));
    color: var(--mud-palette-text-primary, #1f2937);
    padding: 20px 20px 18px;
}

.components-reconnect-header[b-pjbo05e9pu] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .components-reconnect-header h2[b-pjbo05e9pu] {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.3;
    }

.components-reconnect-status-dot[b-pjbo05e9pu] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mud-palette-warning, #f59e0b);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--mud-palette-warning, #f59e0b) 25%, transparent);
}

.components-reconnect-supporting[b-pjbo05e9pu],
.components-reconnect-message[b-pjbo05e9pu] {
    margin: 0;
    line-height: 1.45;
    font-size: 0.95rem;
}

.components-reconnect-supporting[b-pjbo05e9pu] {
    color: var(--mud-palette-text-secondary, #52607a);
    margin-bottom: 14px;
}

.components-reconnect-message[b-pjbo05e9pu] {
    font-weight: 500;
}

.components-reconnect-danger[b-pjbo05e9pu] {
    color: var(--mud-palette-error, #b00020);
}

.components-reconnect-actions[b-pjbo05e9pu] {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.components-reconnect-first-attempt-visible[b-pjbo05e9pu],
.components-reconnect-repeated-attempt-visible[b-pjbo05e9pu],
.components-reconnect-failed-visible[b-pjbo05e9pu],
.components-pause-visible[b-pjbo05e9pu],
.components-resume-failed-visible[b-pjbo05e9pu] {
    display: none;
}

dialog[open].components-reconnect-show .components-reconnect-first-attempt-visible[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-show .components-rejoin-loader[b-pjbo05e9pu] {
    display: inline-flex;
}

dialog[open].components-reconnect-failed .components-reconnect-failed-visible[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-failed #components-reconnect-button[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-reconnect-repeated-attempt-visible[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-rejoin-loader[b-pjbo05e9pu] {
    display: inline-flex;
}

dialog[open].components-reconnect-paused .components-pause-visible[b-pjbo05e9pu],
dialog[open].components-pause .components-pause-visible[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-paused #components-resume-button[b-pjbo05e9pu],
dialog[open].components-pause #components-resume-button[b-pjbo05e9pu],
dialog[open].components-reconnect-resume-failed #components-resume-button[b-pjbo05e9pu],
dialog[open].components-resume-failed #components-resume-button[b-pjbo05e9pu] {
    display: block;
}

dialog[open].components-reconnect-resume-failed .components-resume-failed-visible[b-pjbo05e9pu],
dialog[open].components-resume-failed .components-resume-failed-visible[b-pjbo05e9pu] {
    display: block;
}

.components-rejoin-loader[b-pjbo05e9pu] {
    display: none;
    margin-bottom: 10px;
    gap: 8px;
}

    .components-rejoin-loader div[b-pjbo05e9pu] {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: var(--mud-palette-primary, #594AE2);
        animation: reconnect-pulse-b-pjbo05e9pu 1.2s infinite ease-in-out both;
    }

        .components-rejoin-loader div:nth-child(1)[b-pjbo05e9pu] {
            animation-delay: -0.24s;
        }

        .components-rejoin-loader div:nth-child(2)[b-pjbo05e9pu] {
            animation-delay: -0.12s;
        }

@keyframes reconnect-pulse-b-pjbo05e9pu {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

#components-reconnect-button[b-pjbo05e9pu],
#components-resume-button[b-pjbo05e9pu] {
    display: none;
    min-width: 92px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--mud-palette-primary, #594AE2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    transition: filter 140ms ease, transform 140ms ease;
}

    #components-reconnect-button:hover[b-pjbo05e9pu],
    #components-resume-button:hover[b-pjbo05e9pu] {
        filter: brightness(0.95);
    }

    #components-reconnect-button:active[b-pjbo05e9pu],
    #components-resume-button:active[b-pjbo05e9pu] {
        transform: translateY(1px);
    }

@media (max-width: 600px) {
    .components-reconnect-backdrop[b-pjbo05e9pu] {
        padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    }

    .components-reconnect-surface[b-pjbo05e9pu] {
        padding: 16px;
    }
}
/* /Components/Pages/Entries.razor.rz.scp.css */
/* Timesheet layout. Colours come from the MudBlazor palette so dark mode follows. */

/* ---------- Toolbar ---------- */
.tl-ts-bar[b-mz4auw806z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.tl-ts-nav[b-mz4auw806z] { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tl-ts-title[b-mz4auw806z] { min-width: 0; padding: 0 6px; }
.tl-ts-total[b-mz4auw806z] { margin-left: auto; text-align: right; }
.tl-ts-total .tl-mono[b-mz4auw806z] { font-size: 1.35rem; font-weight: 700; }

@media (max-width: 599.98px) {
    .tl-ts-modes[b-mz4auw806z] { width: 100%; }
    .tl-ts-modes[b-mz4auw806z]  .mud-toggle-group { width: 100%; }
    .tl-ts-modes[b-mz4auw806z]  .mud-toggle-item { flex: 1 1 0; }
    .tl-ts-nav[b-mz4auw806z] { flex: 1 1 100%; }
    .tl-ts-nav[b-mz4auw806z]  .mud-icon-button { padding: 6px; }
    .tl-ts-title[b-mz4auw806z] { flex: 1 1 auto; text-align: center; white-space: nowrap; }
    .tl-ts-total[b-mz4auw806z] {
        flex: 1 1 100%;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding-top: 10px;
        border-top: 1px solid var(--mud-palette-lines-default);
    }
}

/* ---------- Day cards ---------- */
.tl-days[b-mz4auw806z] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    align-items: start;
}

.tl-days.single[b-mz4auw806z] { grid-template-columns: minmax(0, 1fr); }

.tl-daycard[b-mz4auw806z] { overflow: hidden; min-width: 0; }
.tl-daycard.today[b-mz4auw806z] { border-color: var(--mud-palette-primary); box-shadow: 0 0 0 1px var(--mud-palette-primary); }

.tl-day-head[b-mz4auw806z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 8px 8px 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.tl-day-empty[b-mz4auw806z] { padding: 14px 16px; font-size: .85rem; }

/* ---------- Entries ---------- */
.tl-entry[b-mz4auw806z] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--mud-palette-table-lines);
}

.tl-day-head + .tl-entry[b-mz4auw806z] { border-top: 0; }
.tl-entry:hover[b-mz4auw806z] { background: var(--mud-palette-table-hover); }
.tl-entry > .tl-dot[b-mz4auw806z] { margin-top: 6px; }
.tl-entry-main[b-mz4auw806z] { flex: 1 1 auto; min-width: 0; }

.tl-entry-desc[b-mz4auw806z] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.tl-entry-side[b-mz4auw806z] { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.tl-entry-dur[b-mz4auw806z] { font-weight: 600; white-space: nowrap; }
.tl-entry-actions[b-mz4auw806z] { margin: 0 -6px -4px 0; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.tl-entry:hover .tl-entry-actions[b-mz4auw806z], .tl-entry:focus-within .tl-entry-actions[b-mz4auw806z] { opacity: 1; }

@media (hover: none) {
    .tl-entry-actions[b-mz4auw806z] { opacity: 1; }
}

/* ---------- Month grid ---------- */
.tl-month[b-mz4auw806z] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
}

.tl-month-dow[b-mz4auw806z] {
    padding: 8px 4px;
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.tl-month-cell[b-mz4auw806z] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 92px;
    padding: 8px 10px 10px;
    border: 0;
    border-top: 1px solid var(--mud-palette-table-lines);
    border-left: 1px solid var(--mud-palette-table-lines);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.tl-month-cell:nth-of-type(7n + 1)[b-mz4auw806z] { border-left: 0; }
.tl-month-cell:hover[b-mz4auw806z] { background: var(--mud-palette-table-hover); }
.tl-month-cell:focus-visible[b-mz4auw806z] { outline: 2px solid var(--mud-palette-primary); outline-offset: -2px; }
.tl-month-cell.out[b-mz4auw806z] { color: var(--mud-palette-text-disabled); background: color-mix(in srgb, var(--mud-palette-background-gray) 55%, transparent); }

.tl-month-num[b-mz4auw806z] { font-size: .9rem; font-weight: 600; line-height: 1; }

.tl-month-cell.today .tl-month-num[b-mz4auw806z] {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin: -4px 0 -4px -6px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

/* The total and the project lines under it stay together at the bottom when the row is taller than the cell's content. */
.tl-month-hours[b-mz4auw806z] { margin-top: auto; font-size: .95rem; font-weight: 700; }
.tl-month-cell.out .tl-month-hours[b-mz4auw806z] { font-weight: 500; }

.tl-month-bar[b-mz4auw806z] {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: var(--mud-palette-primary);
}

.tl-month-cell.out .tl-month-bar[b-mz4auw806z] { opacity: .35; }

/* One line per project under the day total; the underline is the project's colour (--tl-project, set per line),
   dotted while some of its time is unbilled, solid once all of it is billed. */
.tl-month-projects[b-mz4auw806z] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-self: stretch;
    min-width: 0;
    margin: 4px 0 2px;
}

.tl-month-project[b-mz4auw806z] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding-bottom: 1px;
    border-bottom: 2px dotted var(--tl-project);
    font-size: .72rem;
    line-height: 1.3;
}

.tl-month-project.billed[b-mz4auw806z] { border-bottom-style: solid; }
.tl-month-project .tl-dot[b-mz4auw806z] { width: 8px; height: 8px; }

.tl-month-project-name[b-mz4auw806z] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tl-month-project-hours[b-mz4auw806z] { flex-shrink: 0; color: var(--mud-palette-text-secondary); }
.tl-month-cell.out .tl-month-projects[b-mz4auw806z] { opacity: .55; }
.tl-month-cell.out .tl-month-project-hours[b-mz4auw806z] { color: inherit; }

/* A fixed-price job on a day: a small tag, never hours (the amount is on the day's list). */
.tl-month-job[b-mz4auw806z] {
    display: inline-flex; align-items: center; gap: 2px; margin-top: 2px;
    font-size: .72rem; font-weight: 700; color: var(--mud-palette-warning);
}
.tl-month-job .mud-icon-root[b-mz4auw806z] { width: 14px; height: 14px; }
.tl-job-chip[b-mz4auw806z] { margin-top: 4px; }

@media (max-width: 599.98px) {
    .tl-month-dow[b-mz4auw806z] { font-size: .65rem; padding: 6px 0; letter-spacing: 0; }
    .tl-month-cell[b-mz4auw806z] { min-height: 58px; padding: 6px 4px 8px; align-items: center; }
    .tl-month-hours[b-mz4auw806z] { font-size: .72rem; }
    .tl-month-cell.today .tl-month-num[b-mz4auw806z] { margin: -4px 0; }
    /* No room for names: each project line is a strip in its colour, with the same dotted or solid rule. */
    .tl-month-project[b-mz4auw806z] { padding-bottom: 0; }
    .tl-month-project .tl-dot[b-mz4auw806z], .tl-month-project-name[b-mz4auw806z], .tl-month-project-hours[b-mz4auw806z] { display: none; }
}

/* ---------- Lines layout ---------- */
.tl-lines[b-mz4auw806z] { padding: 0; overflow: hidden; }
.tl-line-day[b-mz4auw806z] {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 16px; font-weight: 600; font-size: .85rem;
    background: var(--mud-palette-background-gray); border-top: 1px solid var(--mud-palette-lines-default);
}
.tl-line-day:first-child[b-mz4auw806z] { border-top: 0; }
.tl-line-day.today[b-mz4auw806z] { color: var(--mud-palette-primary); }
.tl-line[b-mz4auw806z] {
    display: grid; grid-template-columns: 10px 110px minmax(120px, 1.2fr) minmax(0, 2fr) 96px 96px;
    align-items: center; gap: 10px; padding: 6px 16px; border-top: 1px solid var(--mud-palette-lines-default);
}
.tl-line-dur[b-mz4auw806z] { text-align: right; font-weight: 700; }
.tl-line-actions[b-mz4auw806z] { display: flex; justify-content: flex-end; }
@media (max-width: 719.98px) {
    .tl-line[b-mz4auw806z] { grid-template-columns: 10px 1fr auto; }
    .tl-line-project[b-mz4auw806z], .tl-line-desc[b-mz4auw806z] { grid-column: 2 / 3; }
    .tl-line-time[b-mz4auw806z] { grid-column: 2 / 3; font-size: .8rem; opacity: .8; }
    .tl-line-dur[b-mz4auw806z] { grid-column: 3 / 4; grid-row: 1; }
    .tl-line-actions[b-mz4auw806z] { grid-column: 3 / 4; grid-row: 2 / 4; align-self: start; }
}
/* /Components/Pages/Focus.razor.rz.scp.css */
/* The Focus page: one calm stage. The tint follows the phase (violet for focus, green for a short break, teal for a long
   one) and is mixed into the app's own surface colours, so it stays soft in light and dark mode alike. While a session is
   running the stage covers the whole window (".screen"), so the sidebar, app bar and bottom bar are out of sight. */

.tl-focus[b-h6wet1w50h] {
    --f-base: var(--mud-palette-primary);
    /* A little darker (light mode) or lighter (dark mode) than the palette colour, so thin lines keep their contrast. */
    --f-accent: color-mix(in srgb, var(--f-base) 78%, var(--mud-palette-text-primary));

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: clamp(520px, calc(100dvh - 240px), 640px);
    padding: 20px 20px 16px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--f-base) 16%, var(--mud-palette-lines-default));
    background: color-mix(in srgb, var(--f-base) 8%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    transition: background-color 1.2s ease, border-color 1.2s ease;
}

.tl-focus.short[b-h6wet1w50h] { --f-base: var(--mud-palette-success); }
.tl-focus.long[b-h6wet1w50h] { --f-base: var(--mud-palette-tertiary); }

.tl-focus.screen[b-h6wet1w50h] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--mud-zindex-appbar, 1300) + 10); /* over the app bar and drawer, still under dialogs (1400) and snackbars */
    min-height: 0;
    padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--f-base) 10%, var(--mud-palette-background));
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: tl-focus-in-b-h6wet1w50h .6s ease both;
}

@keyframes tl-focus-in-b-h6wet1w50h {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Top row ---------- */
.tl-focus-top[b-h6wet1w50h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.tl-focus-phases[b-h6wet1w50h] { display: flex; gap: 4px; min-width: 0; }

.tl-focus-pill[b-h6wet1w50h] {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
    transition: background-color .8s ease, color .8s ease;
}

.tl-focus-pill.on[b-h6wet1w50h] {
    background: color-mix(in srgb, var(--f-base) 16%, transparent);
    color: var(--mud-palette-text-primary);
}

.tl-focus-tools[b-h6wet1w50h] { display: flex; gap: 2px; flex: none; }
.tl-focus-tools[b-h6wet1w50h]  .mud-icon-button { color: var(--mud-palette-text-secondary); }

/* ---------- Clock ---------- */
.tl-focus-body[b-h6wet1w50h] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 420px;
    padding: 12px 0 8px;
}

.tl-focus-ring[b-h6wet1w50h] {
    position: relative;
    width: min(100%, 290px);
    aspect-ratio: 1;
    container-type: inline-size;
}

.screen .tl-focus-ring[b-h6wet1w50h] { width: min(100%, 52vh, 440px); }

.tl-focus-ring svg[b-h6wet1w50h] { display: block; width: 100%; height: 100%; }

.tl-focus-ring circle[b-h6wet1w50h] { fill: none; stroke-width: 1.7; stroke-linecap: round; }
.tl-focus-track[b-h6wet1w50h] { stroke: color-mix(in srgb, var(--f-base) 17%, transparent); transition: stroke 1.2s ease; }
.tl-focus-bar[b-h6wet1w50h] { stroke: var(--f-accent); transition: stroke-dashoffset 1s linear, stroke 1.2s ease; }
.tl-focus-bar.empty[b-h6wet1w50h] { visibility: hidden; }

.tl-focus-clock[b-h6wet1w50h] {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: .55em;
    text-align: center;
}

.tl-focus-time[b-h6wet1w50h] {
    font-size: clamp(2.6rem, 24cqw, 6.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.tl-focus-time.long[b-h6wet1w50h] { font-size: clamp(2rem, 16.5cqw, 4.5rem); }

.tl-focus-phase[b-h6wet1w50h] {
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--mud-palette-text-secondary);
}

/* ---------- Round, project, buttons ---------- */
.tl-focus-round[b-h6wet1w50h] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--mud-palette-text-secondary);
}

.tl-focus-dots[b-h6wet1w50h] { display: flex; gap: 6px; }

.tl-focus-dot[b-h6wet1w50h] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--f-accent) 55%, transparent);
    transition: background-color .8s ease, border-color .8s ease;
}

.tl-focus-dot.done[b-h6wet1w50h] { background: var(--f-accent); border-color: var(--f-accent); }
.tl-focus-dot.now[b-h6wet1w50h] { background: color-mix(in srgb, var(--f-accent) 35%, transparent); }

.tl-focus-slot[b-h6wet1w50h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 320px;
    min-height: 62px;
    text-align: center;
}

.tl-focus-slot[b-h6wet1w50h]  .tl-focus-select { width: 100%; }
.tl-focus-slot[b-h6wet1w50h]  .tl-focus-select { margin-top: 0; }
.tl-focus-slot[b-h6wet1w50h]  .tl-focus-select .mud-input-outlined-border { border-color: color-mix(in srgb, var(--f-base) 30%, transparent); }
.tl-focus-slot[b-h6wet1w50h]  .tl-focus-select .mud-input { background: color-mix(in srgb, var(--mud-palette-surface) 55%, transparent); border-radius: 12px; }

.tl-focus-chip[b-h6wet1w50h] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .9rem;
    background: color-mix(in srgb, var(--f-base) 13%, transparent);
}

.tl-focus-actions[b-h6wet1w50h] { display: flex; align-items: center; justify-content: center; gap: 18px; }

.tl-focus-actions[b-h6wet1w50h]  .tl-focus-main {
    min-width: 168px;
    height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 1.05rem;
    box-shadow: none;
    background: var(--mud-palette-text-primary);
    color: var(--mud-palette-surface);
    transition: opacity .3s ease;
}

.tl-focus-actions[b-h6wet1w50h]  .tl-focus-main:hover { opacity: .88; box-shadow: none; }
.tl-focus-actions[b-h6wet1w50h]  .tl-focus-main.mud-disabled { opacity: .35; background: var(--mud-palette-text-primary); color: var(--mud-palette-surface); }

.tl-focus-actions[b-h6wet1w50h]  .tl-focus-round-btn {
    width: 48px;
    height: 48px;
    color: var(--mud-palette-text-secondary);
    background: color-mix(in srgb, var(--mud-palette-text-primary) 7%, transparent);
}

.tl-focus-actions[b-h6wet1w50h]  .tl-focus-round-btn:hover { color: var(--mud-palette-text-primary); }
.tl-focus-actions[b-h6wet1w50h]  .tl-focus-round-btn.hidden { visibility: hidden; }

/* ---------- Music ---------- */
.tl-focus-music[b-h6wet1w50h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin-top: 8px;
}

.tl-focus-music-toggle[b-h6wet1w50h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    font: inherit;
    font-size: .85rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.tl-focus-music-toggle:hover[b-h6wet1w50h] { color: var(--mud-palette-text-primary); background: color-mix(in srgb, var(--mud-palette-text-primary) 6%, transparent); }

.tl-focus-music-panel[b-h6wet1w50h] { width: 100%; padding-top: 6px; text-align: center; animation: tl-focus-in-b-h6wet1w50h .4s ease both; }
.tl-focus-music-panel iframe[b-h6wet1w50h] { display: block; border: 0; border-radius: 12px; }
.tl-focus-music-panel p[b-h6wet1w50h] { margin: 10px 0 0; font-size: .78rem; line-height: 1.45; color: var(--mud-palette-text-secondary); }

/* ---------- Small screens ---------- */
@media (max-width: 599.98px) {
    .tl-focus[b-h6wet1w50h] { padding: 14px 14px 12px; border-radius: 20px; }
    .tl-focus.screen[b-h6wet1w50h] { padding-left: 14px; padding-right: 14px; }
    .tl-focus-pill[b-h6wet1w50h] { padding: 5px 9px; font-size: .72rem; }
    .tl-focus-body[b-h6wet1w50h] { gap: 14px; padding-top: 4px; }
    .tl-focus-ring[b-h6wet1w50h] { width: min(100%, 244px); }
    .screen .tl-focus-ring[b-h6wet1w50h] { width: min(100%, 300px, 46vh); }
    .tl-focus-actions[b-h6wet1w50h] { gap: 14px; }
    .tl-focus-actions[b-h6wet1w50h]  .tl-focus-main { min-width: 148px; }
}

/* ---------- No motion for people who asked for none ---------- */
@media (prefers-reduced-motion: reduce) {
    .tl-focus[b-h6wet1w50h], .tl-focus.screen[b-h6wet1w50h], .tl-focus-pill[b-h6wet1w50h], .tl-focus-dot[b-h6wet1w50h], .tl-focus-track[b-h6wet1w50h], .tl-focus-bar[b-h6wet1w50h],
    .tl-focus-music-panel[b-h6wet1w50h], .tl-focus-actions[b-h6wet1w50h]  .tl-focus-main {
        transition: none;
        animation: none;
    }
}
