/* /Components/Layout/CalendarStrip.razor.rz.scp.css */
.calendar-strip[b-hoknlolep4] {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 0 8px 4px;
}

.month[b-hoknlolep4] {
    position: sticky;
    top: 0;
    z-index: 1;
    margin-top: 8px;
    padding: 4px 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-primary);
    background: var(--mud-palette-drawer-background);
}

.day[b-hoknlolep4] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--mud-palette-drawer-text);
    cursor: pointer;
}

/* The day shown in the open day panel. */
.day.shown[b-hoknlolep4] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* Marks a day with dated tasks; hollow when they are all done. */
.dot[b-hoknlolep4] {
    align-self: center;
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--mud-palette-primary);
}

.dot.all-done[b-hoknlolep4] {
    background: none;
    box-shadow: inset 0 0 0 1.5px var(--mud-palette-primary);
}

.today .dot[b-hoknlolep4] {
    background: var(--mud-palette-primary-text);
}

.today .dot.all-done[b-hoknlolep4] {
    background: none;
    box-shadow: inset 0 0 0 1.5px var(--mud-palette-primary-text);
}

.day:hover[b-hoknlolep4] {
    background: var(--mud-palette-action-default-hover);
}

.weekday[b-hoknlolep4] {
    width: 3ch;
    font-size: 12px;
    opacity: 0.7;
}

.number[b-hoknlolep4] {
    font-size: 15px;
}

.weekend .weekday[b-hoknlolep4],
.weekend .number[b-hoknlolep4] {
    color: var(--mud-palette-error);
}

.past[b-hoknlolep4] {
    opacity: 0.55;
}

.today[b-hoknlolep4] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: 600;
}

.today:hover[b-hoknlolep4] {
    background: var(--mud-palette-primary-darken);
}

.today .weekday[b-hoknlolep4],
.today .number[b-hoknlolep4] {
    color: inherit;
    opacity: 1;
}

.more[b-hoknlolep4] {
    display: block;
    width: 100%;
    margin: 4px 0;
    padding: 4px;
    border: none;
    border-radius: 4px;
    background: none;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.more:hover[b-hoknlolep4] {
    background: var(--mud-palette-action-default-hover);
}

/* The open day's tasks, in a panel to the left of the calendar drawer (160px wide, see MainLayout). */
.day-details[b-hoknlolep4] {
    position: fixed;
    top: calc(var(--mud-appbar-height, 64px) + 8px);
    right: calc(160px + 8px);
    z-index: 1300;
    width: min(320px, calc(100vw - 160px - 16px));
    max-height: calc(100vh - var(--mud-appbar-height, 64px) - 16px);
    overflow-y: auto;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.details-header[b-hoknlolep4] {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.details-weekday[b-hoknlolep4] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-primary);
}

.details-date[b-hoknlolep4] {
    font-size: 18px;
    font-weight: 500;
}

.details-lines[b-hoknlolep4] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.details-lines li[b-hoknlolep4] {
    padding: 6px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
    overflow-wrap: anywhere;
}

.details-lines li.done[b-hoknlolep4] {
    text-decoration: line-through;
    opacity: 0.55;
}

.details-empty[b-hoknlolep4] {
    font-size: 14px;
    opacity: 0.6;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
#components-reconnect-modal[b-ixc9nrwv9r] {
    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-ixc9nrwv9r]::backdrop {
        background: rgba(10, 16, 28, 0.5);
    }

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

.components-reconnect-backdrop[b-ixc9nrwv9r] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--mud-palette-primary, #1E88E5) 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-ixc9nrwv9r] {
    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-ixc9nrwv9r] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

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

.components-reconnect-status-dot[b-ixc9nrwv9r] {
    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-ixc9nrwv9r],
.components-reconnect-message[b-ixc9nrwv9r] {
    margin: 0;
    line-height: 1.45;
    font-size: 0.95rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#components-reconnect-button[b-ixc9nrwv9r],
#components-resume-button[b-ixc9nrwv9r] {
    display: none;
    min-width: 92px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--mud-palette-primary, #1E88E5);
    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-ixc9nrwv9r],
    #components-resume-button:hover[b-ixc9nrwv9r] {
        filter: brightness(0.95);
    }

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

@media (max-width: 600px) {
    .components-reconnect-backdrop[b-ixc9nrwv9r] {
        padding: 14px;
    }

    .components-reconnect-surface[b-ixc9nrwv9r] {
        padding: 16px;
    }
}
/* /Components/Shared/Outliner.razor.rz.scp.css */
/* Task list centered horizontally, with search and add inputs above it. */
.outliner-page[b-8v7qmpkfmc] {
    max-width: 900px;
    margin: 0 auto;
    /* The list grows to fill the page so the action bar sits at the bottom even for a short list. */
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 80px);
}

.toolbar[b-8v7qmpkfmc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.add[b-8v7qmpkfmc] {
    display: flex;
    gap: 8px;
}

/* Dictation button next to the add field; red and pulsing while listening. */
.mic[b-8v7qmpkfmc] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
}

.mic:hover[b-8v7qmpkfmc] {
    border-color: #007acc;
}

.mic.listening[b-8v7qmpkfmc] {
    color: #fff;
    background: #c42b1c;
    border-color: #c42b1c;
    animation: mic-pulse-b-8v7qmpkfmc 1.2s ease-in-out infinite;
}

@keyframes mic-pulse-b-8v7qmpkfmc {
    50% {
        opacity: 0.6;
    }
}

.field[b-8v7qmpkfmc] {
    flex: 1;
    min-width: 0;
    font-family: "JetBrains Mono", Consolas, "Cascadia Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
    background: #1e1e1e;
    color: #d4d4d4;
    caret-color: #aeafad;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    padding: 6px 1ch;
    outline: none;
}

.field:focus[b-8v7qmpkfmc] {
    border-color: #007acc;
}

.field[b-8v7qmpkfmc]::placeholder {
    color: #6e6e6e;
}

.outliner[b-8v7qmpkfmc] {
    flex: 1;
    font-family: "JetBrains Mono", Consolas, "Cascadia Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 4px;
    padding: 8px 1ch;
}

.line:focus-within[b-8v7qmpkfmc],
.line.is-selected[b-8v7qmpkfmc] {
    background: #2a2d2e;
}

/* The text fills the line; the indent is the line's own inline padding-left, in ch */
.text[b-8v7qmpkfmc] {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font: inherit;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    caret-color: #aeafad;
}

/* Search field with the "Show done" filter beside it. */
.search-row[b-8v7qmpkfmc] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.show-done[b-8v7qmpkfmc] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d4d4d4;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.show-done input[b-8v7qmpkfmc],
.done[b-8v7qmpkfmc] {
    accent-color: #1e88e5;
    cursor: pointer;
}

/* Checkbox in front of each line; the indent stays inside the text input. */
.line[b-8v7qmpkfmc] {
    display: flex;
    align-items: center;
    gap: 1ch;
}

/* Collapse/expand arrow in front of a line with sub-lines; an empty slot of the same width on other lines. */
.fold[b-8v7qmpkfmc] {
    flex: none;
    width: 2ch;
    margin-right: -1ch;
    background: none;
    border: none;
    color: #6e6e6e;
    font: inherit;
    padding: 0;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
}

span.fold[b-8v7qmpkfmc] {
    cursor: default;
}

.fold:hover:not(:disabled)[b-8v7qmpkfmc] {
    color: #d4d4d4;
}

.fold:disabled[b-8v7qmpkfmc] {
    opacity: 0.4;
    cursor: default;
}

/* A collapsed line's arrow is lit, so hidden sub-lines are noticed. */
.line.is-collapsed .fold[b-8v7qmpkfmc] {
    color: #1e88e5;
}

.done[b-8v7qmpkfmc] {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
}

.line.is-done .text[b-8v7qmpkfmc] {
    text-decoration: line-through;
    color: #6e6e6e;
}

/* Delete (×) / restore (↺) button at the end of each line. */
.remove[b-8v7qmpkfmc] {
    flex: none;
    width: 24px;
    background: none;
    border: none;
    color: #6e6e6e;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.remove:hover[b-8v7qmpkfmc] {
    color: #f48771;
}

.line.is-deleted .text[b-8v7qmpkfmc] {
    text-decoration: line-through;
    color: #6e6e6e;
    font-style: italic;
}

.search-row .field[b-8v7qmpkfmc] {
    min-width: 12ch;
}

/* Bottom bar with the shortcut actions for the selected line; the only way to move lines on a touchscreen. */
.actions[b-8v7qmpkfmc] {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    background: #1a1a27;
    z-index: 5;
}

.actions .row[b-8v7qmpkfmc] {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.actions button[b-8v7qmpkfmc] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 1;
    max-width: 64px;
    min-height: 44px;
    font-family: inherit;
    font-size: 20px;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.actions button:hover:not(:disabled)[b-8v7qmpkfmc] {
    border-color: #007acc;
}

.actions button:active:not(:disabled)[b-8v7qmpkfmc] {
    background: #2a2d2e;
}

.actions button:disabled[b-8v7qmpkfmc] {
    opacity: 0.4;
    cursor: default;
}

/* Done (green) sits next to Delete (red, set apart by a gap) at the end of the row. */
.actions button.ok[b-8v7qmpkfmc] {
    color: #81c784;
}

.actions button.danger[b-8v7qmpkfmc] {
    color: #f48771;
    margin-left: 16px;
}

.actions button.dictate.listening[b-8v7qmpkfmc] {
    color: #fff;
    background: #c42b1c;
    border-color: #c42b1c;
    animation: mic-pulse-b-8v7qmpkfmc 1.2s ease-in-out infinite;
}

/* Keyboard button: only where touch is the main input; lit while the keyboard is allowed. */
.actions button.kbd[b-8v7qmpkfmc] {
    display: none;
}

@media (pointer: coarse) {
    .actions button.kbd[b-8v7qmpkfmc] {
        display: flex;
    }
}

.actions button.kbd.active[b-8v7qmpkfmc] {
    color: #fff;
    background: #1e88e5;
    border-color: #1e88e5;
}
