table.stripes > tbody > tr:nth-child(2n + 1) {
    background-color: var(--surface);
}
dialog {
    max-block-size: 90%;
}
dialog#form_dialog {
    /*min-block-size: 50%;*/
}
.scroll > table,
table :is(thead, th) {
    color: var(--primary);
}
table {
    --outline: var(--outline-variant);
}
table tbody tr:hover {
    background-color: var(--surface-container);
}
table tfoot tr td {
    border-top: solid 1px var(--outline);
}
[hidden] {
    display: none !important;
}
@media screen and (max-width: 600px) {
    .bottom-fab {
        margin-bottom: 4rem;
    }
    dialog.large-width {
        max-width: 95%;
    }
}
.grid.tiny-space {
    --_gap: 0.5rem;
}
.hidden {
    display: none !important;
}
.textarea.min {
    min-block-size: 2.5lh;
}
.textarea.min.chat {
    min-block-size: 1.8lh;
}
.tabs.chat > a {
    min-block-size: 2rem;
}
.data-form .field {
    margin-top: 0.25rem !important;
}

.slots article {
    background-color: var(--surface-container-lowest);
    margin-top: 4px !important;
    padding: 0.25rem;
    text-align: center;
    cursor: pointer;
}

.slots article[data-off] {
    background-color: var(--surface-dim);
    cursor: not-allowed;
    pointer-events: none;
}
.slots article[selected] {
    background-color: var(--primary);
    color: var(--on-primary);
}

.button.tiny {
    --_size: 2rem;
    font-size: 0.7rem;
}
.task_outer_grid,
.chat_outer_grid {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    overflow: hidden;
}

.task_inner_grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr min(360px, 100%);
    gap: 1rem;
    overflow: auto;
}
.chat_inner_grid {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 1rem;
    overflow: hidden;
}
.task-badge {
    --_padding: 0.6rem;
    min-block-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--_padding) !important;
    --_round: 2rem;
    border-radius: var(--_round) !important;
    font-size: 0.65rem;
    font-weight: medium;
}
.img-object {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tiny-input {
    width: 15ch;
}
.tiny-input > label {
    font-size: 0.75rem !important;
}

/* Status - Light variant */
.status-todo {
    background-color: #e2e8f0;
    color: #475569;
}
.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}
.status-in-progress {
    background-color: #dbeafe;
    color: #1e40af;
}
.status-exhausted {
    background-color: #fee2e2;
    color: #7f1d1d;
}
.status-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}
.status-declined {
    background-color: #ffedd5;
    color: #9a3412;
}
.status-rescheduled {
    background-color: #ede9fe;
    color: #5b21b6;
}
.status-default {
    background-color: #e2e8f0;
    color: #475569;
}

/* Status */
body.dark .status-todo {
    background-color: #64748b;
    color: #ffffff;
}
body.dark .status-completed {
    background-color: #10b981;
    color: #ffffff;
}
body.dark .status-in-progress {
    background-color: #3b82f6;
    color: #ffffff;
}
body.dark .status-exhausted {
    background-color: #991b1b;
    color: #ffffff;
}
body.dark .status-rejected {
    background-color: #dc2626;
    color: #ffffff;
}
body.dark .status-declined {
    background-color: #f97316;
    color: #ffffff;
}
body.dark .status-rescheduled {
    background-color: #8b5cf6;
    color: #ffffff;
}
body.dark .status-default {
    background-color: #64748b;
    color: #ffffff;
}
.small-text {
    font-size: 0.7rem;
}
.tiny-text {
    font-size: 0.7em;
}
.chip.tiny {
    --_size: 1.5rem;
}
.equal-height {
    height: calc(100% - 34px);
}
