:root {
    --bg: #0f1117;
    --surface: #1a1d27;
    --border: #2a2d3a;
    --text: #e1e4ed;
    --text-muted: #8b8fa3;
    --accent: #6c63ff;
    --accent-hover: #5a52e0;
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;

    /* GTD status colours */
    --inbox: #6c63ff;
    --next: #3b82f6;
    --waiting: #f59e0b;
    --later: #8b8fa3;
    --scheduled: #a78bfa;
    --now: #ec4899;
    --deferred: #f59e0b;
    --done: #22c55e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* ---- Layout ---- */

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.sidebar .brand-icon {
    width: 2rem;
    height: 2rem;
}

.sidebar .brand h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar .ws-indicator {
    margin-left: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: all 0.15s;
}

.sidebar-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav a.active {
    color: var(--text);
    background: rgba(108, 99, 255, 0.15);
}

.sidebar-nav .nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-nav .nav-dot.inbox { background: var(--inbox); }
.sidebar-nav .nav-dot.now { background: var(--now); }
.sidebar-nav .nav-dot.next { background: var(--next); }
.sidebar-nav .nav-dot.waiting { background: var(--waiting); }
.sidebar-nav .nav-dot.later { background: var(--later); }
.sidebar-nav .nav-dot.scheduled { background: var(--scheduled); }
.sidebar-nav .nav-dot.done { background: var(--done); }
.sidebar-nav .nav-dot.projects { background: var(--accent); }

.nav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--inbox);
    color: #fff;
    border-radius: 9px;
    padding: 0 0.35rem;
    min-width: 1.1rem;
    text-align: center;
    line-height: 1.1rem;
}

.sidebar-nav .nav-separator {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.content {
    flex: 1;
    margin-left: 240px;
    padding: 2rem 1.5rem;
    padding-bottom: 2rem;
    max-width: 1040px; /* 800 + 240 margin */
}

.content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ---- Bottom tabs (mobile) ---- */

.bottom-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-tabs-inner {
    display: flex;
}

.bottom-tabs a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    transition: color 0.15s;
    position: relative;
}

.tab-badge {
    position: absolute;
    top: 0.1rem;
    right: calc(50% - 1.4rem);
    font-size: 0.5rem;
    font-weight: 700;
    background: var(--inbox);
    color: #fff;
    border-radius: 8px;
    padding: 0 0.2rem;
    min-width: 0.8rem;
    text-align: center;
    line-height: 0.8rem;
}

.bottom-tabs a.active {
    color: var(--accent);
}

.bottom-tabs .tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bottom-tabs .tab-dot.inbox { background: var(--inbox); }
.bottom-tabs .tab-dot.now { background: var(--now); }
.bottom-tabs .tab-dot.next { background: var(--next); }
.bottom-tabs .tab-dot.deferred { background: var(--deferred); }
.bottom-tabs .tab-dot.projects { background: var(--accent); }
.bottom-tabs .tab-dot.more { background: var(--text-muted); }

/* ---- More tab / menu ---- */

.more-tab {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.more-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    cursor: pointer;
    width: 100%;
}

.more-tab.active .more-tab-btn {
    color: var(--accent);
}

.more-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
}

.more-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 160px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.more-menu a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: all 0.15s;
}

.more-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.more-menu a.active { color: var(--text); background: rgba(108, 99, 255, 0.15); }

.more-menu .menu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.more-menu .menu-dot.now { background: var(--now); }
.more-menu .menu-dot.waiting { background: var(--waiting); }
.more-menu .menu-dot.later { background: var(--later); }
.more-menu .menu-dot.scheduled { background: var(--scheduled); }

.more-menu a.update-menu-item {
    color: var(--accent);
}

.more-menu a.update-menu-item:hover {
    background: rgba(108, 99, 255, 0.1);
}

@media (max-width: 768px) {
    .sidebar { display: none; }
    .content {
        margin-left: 0;
        padding: 1rem;
        padding-bottom: 5rem; /* space for bottom tabs */
        max-width: 100%;
    }
    .bottom-tabs { display: block; }
}

/* ---- Task list ---- */

.task-list { display: flex; flex-direction: column; gap: 0.5rem; }

.task-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.15s;
}

.task-item:hover { border-color: var(--accent); }

.task-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    flex-wrap: wrap;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.inbox { background: var(--inbox); }
.status-dot.now { background: var(--now); }
.status-dot.next { background: var(--next); }
.status-dot.waiting { background: var(--waiting); }
.status-dot.later { background: var(--later); }
.status-dot.done { background: var(--done); }

.task-item-row .title {
    flex: 1;
    font-size: 0.9rem;
    min-width: 0;
}

.task-item-row .title.done {
    text-decoration: line-through;
    color: var(--text-muted);
}

.project-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--proj-color, #6c63ff) 15%, transparent);
    color: var(--proj-color, #6c63ff);
    white-space: nowrap;
    border: 1px solid color-mix(in srgb, var(--proj-color, #6c63ff) 30%, transparent);
}

.tag-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    background: rgba(108, 99, 255, 0.15);
    color: var(--accent);
    white-space: nowrap;
}

.defer-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.due-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.due-badge.overdue {
    color: var(--danger);
}

.waiting-badge {
    font-size: 0.7rem;
    color: var(--warning);
    white-space: nowrap;
}

.recurrence-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.age-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    background: rgba(255, 160, 0, 0.15);
    color: #ffa000;
    border: 1px solid rgba(255, 160, 0, 0.3);
    white-space: nowrap;
}

.task-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.task-actions button {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    transition: all 0.15s;
    white-space: nowrap;
}

.task-actions button:hover {
    color: var(--text);
    border-color: var(--accent);
}

.task-actions button.done-btn:hover {
    border-color: var(--success);
    color: var(--success);
}

.task-actions button.delete-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Mobile task layout */
@media (max-width: 768px) {
    .task-item-row {
        padding: 0.875rem 1rem;
        align-items: flex-start;
    }

    .status-dot {
        margin-top: 0.3rem;  /* Align with first line of text */
    }

    .task-item-row .title {
        /* Title grows but leaves room for status dot */
        flex: 1;
        min-width: 0;
    }

    /* All badges and actions get pushed to new lines */
    .project-badge,
    .tag-badge,
    .defer-badge,
    .due-badge,
    .waiting-badge,
    .recurrence-badge,
    .age-badge,
    .completed-at,
    .task-actions {
        margin-left: calc(10px + 0.75rem);  /* Indent to align with title (dot width + gap) */
    }

    .task-actions {
        /* Actions on their own full-width line */
        flex-basis: 100%;
        margin-top: 0.5rem;
        margin-left: 0;  /* Reset indent for actions */
        gap: 0.375rem;
        display: flex;
    }

    .task-actions button {
        flex: 1;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 38px;
    }

    /* Project filters wrap on mobile */
    .project-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .project-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: 38px;
    }

    /* Task detail form improvements */
    .task-detail .detail-row {
        flex-direction: column;
    }

    .task-detail .detail-row > * {
        min-width: 100%;
    }

    .task-detail .detail-actions {
        flex-direction: column-reverse;
    }

    .task-detail .detail-actions button {
        width: 100%;
        min-height: 44px;
    }

    /* Larger tap targets for all buttons and inputs */
    .btn, input, select {
        min-height: 44px;
    }

    /* Project items - better mobile layout */
    .project-item {
        padding: 1rem;
    }

    /* Filter chips wrap better */
    .filter-chips {
        gap: 0.5rem;
    }

    .filter-chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        min-height: 32px;
    }
}

/* ---- Task detail (expanded inline edit) ---- */

.task-detail {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-detail .detail-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.task-detail .detail-row > * {
    flex: 1;
    min-width: 150px;
}

.task-detail .detail-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.add-fields-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.add-fields-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.add-field-chip {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.add-field-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---- Quick capture bar ---- */

.toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.toolbar .add-input {
    flex: 1;
}

/* ---- Tag filter chips ---- */

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.filter-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(108, 99, 255, 0.1);
}

/* ---- Project list ---- */

.project-list { display: flex; flex-direction: column; gap: 0.5rem; }

.project-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.project-item:hover { border-color: var(--accent); }

.project-item .color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.project-item .project-info {
    flex: 1;
}

.project-item .project-name {
    font-weight: 500;
}

.project-item .project-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.project-status-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.project-status-badge.active { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.project-status-badge.completed { background: rgba(139, 143, 163, 0.15); color: var(--text-muted); }
.project-status-badge.onhold { background: rgba(245, 158, 11, 0.15); color: var(--warning); }

/* ---- Project filter tabs ---- */

.project-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-filter-btn {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.project-filter-btn:hover,
.project-filter-btn.active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(108, 99, 255, 0.1);
}

/* ---- Forms ---- */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: border-color 0.15s, transform 0.1s;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.selected {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--bg);
}

input, select, textarea {
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus { border-color: var(--accent); }

textarea { resize: vertical; min-height: 60px; }

.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-ghost {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--accent);
}

/* ---- Empty state ---- */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

/* ---- WS indicator ---- */

.ws-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ws-indicator.connected { background: var(--success); }
.ws-indicator.disconnected { background: var(--danger); }

/* ---- Settings / profiles ---- */

.profile-list { display: flex; flex-direction: column; gap: 0.5rem; }

.profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.profile-item:hover { border-color: var(--accent); }
.profile-item.active { border-color: var(--accent); background: rgba(108, 99, 255, 0.1); }

.profile-name { font-weight: 500; }
.profile-url { color: var(--text-muted); font-size: 0.8rem; }

/* ---- Toasts ---- */

.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    pointer-events: none;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 5rem; /* above bottom tabs */
    }
}

.toast {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    pointer-events: auto;
    animation: toast-in 0.3s ease-out;
    max-width: 400px;
}

.toast-error { background: rgba(239, 68, 68, 0.95); color: white; }
.toast-success { background: rgba(34, 197, 94, 0.95); color: white; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Auth gate ---- */

.auth-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.auth-icon { width: 4rem; height: 4rem; margin-bottom: 0.75rem; }
.auth-card h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.25rem; }
.auth-subtitle { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.auth-checking { color: var(--text-muted); font-size: 0.875rem; }

.auth-input-wrap { position: relative; margin-bottom: 0.75rem; }
.auth-input { width: 100%; padding-right: 3.5rem; }

.auth-toggle-vis {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
}

.auth-toggle-vis:hover { color: var(--text); }
.auth-error { color: var(--danger); font-size: 0.8rem; margin-bottom: 0.75rem; }
.auth-submit { width: 100%; }

/* ---- Delete button (standalone) ---- */

.delete-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.delete-btn:hover { color: var(--danger); }

/* ---- Pin button ---- */

.pin-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    font-size: 0.875rem;
    opacity: 0.4;
    transition: opacity 0.15s;
}
.pin-btn:hover { opacity: 0.8; }
.pin-btn.pinned { opacity: 1; color: var(--primary); }

/* ---- Pinned project links in sidebar ---- */

.sidebar-nav .pinned-project {
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

/* ---- Completed-at timestamp ---- */

.completed-at {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ---- Update indicator dot ---- */

.update-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.more-tab-btn {
    position: relative;
}

.more-tab-btn .update-dot {
    position: absolute;
    top: 0.3rem;
    right: calc(50% - 1.2rem);
    width: 6px;
    height: 6px;
}

/* ---- Settings page ---- */

.settings-section {
    margin-bottom: 2rem;
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.app-info-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.app-info-value {
    font-size: 0.875rem;
}

.app-up-to-date {
    color: var(--success);
}

.update-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
}

.update-banner-text {
    font-size: 0.875rem;
    color: var(--accent);
}

.update-progress {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- Inbox alert section ---- */

.inbox-alert {
    border: 1px solid var(--inbox);
    border-radius: 8px;
    background: rgba(108, 99, 255, 0.08);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.inbox-alert h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Section separator ---- */

.section-separator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.section-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.done-today-list {
    opacity: 0.65;
}
