@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Syne:wght@700;800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
    --dp-bg: #03101a;
    --dp-surface: #071d2b;
    --dp-raised: #0c2638;
    --dp-border: rgba(255,255,255,0.09);
    --dp-teal: #22d3ee;
    --dp-green: #10b981;
    --dp-amber: #f59e0b;
    --dp-red: #ef4444;
    --dp-purple: #a855f7;
    --dp-slate: #94a3b8;
    --dp-dim: #3d5a72;
    --dp-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
    --dp-shadow-up: 0 8px 40px rgba(0,0,0,0.6), 0 2px 12px rgba(34,211,238,0.08);
}

body {
    font-family: 'Figtree', 'Segoe UI', sans-serif !important;
}

header {
    background: linear-gradient(135deg, #0d2d42, #08202f) !important;
    border: 1px solid rgba(34,211,238,0.13) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45) !important;
}

.header-title h1 {
    font-family: 'Syne', sans-serif !important;
    font-size: 1.1rem !important;
    letter-spacing: -0.01em !important;
    color: #eaf4f8 !important;
}

.header-title p {
    font-size: 0.67rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

.tech-info {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.8rem !important;
    background: rgba(34,211,238,0.07) !important;
    border: 1px solid rgba(34,211,238,0.2) !important;
    color: #7dd3fc !important;
}

.nav-tabs-bar {
    background: #03101a !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    padding: 3px !important;
}

.nav-tab {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.81rem !important;
    font-weight: 600 !important;
    color: #2e5068 !important;
    border-radius: 9px !important;
    transition: all 0.18s !important;
}

    .nav-tab:hover {
        color: #5a8a9f !important;
        background: rgba(255,255,255,0.04) !important;
    }

    .nav-tab[data-view="mo"].active {
        background: linear-gradient(135deg,#7c3aed,#6d28d9) !important;
        color: #fff !important;
        box-shadow: 0 2px 12px rgba(109,40,217,0.35) !important;
    }

    .nav-tab[data-view="sr"].active {
        background: linear-gradient(135deg,#0e7490,#0891b2) !important;
        color: #fff !important;
        box-shadow: 0 2px 12px rgba(8,145,178,0.35) !important;
    }

    .nav-tab[data-view="overdue"].active {
        background: linear-gradient(135deg,#991b1b,#b91c1c) !important;
        color: #fff !important;
        box-shadow: 0 2px 12px rgba(185,28,28,0.35) !important;
    }

.section-title {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #1e4d66 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.quick-search-bar {
    background: #04111b !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    transition: all 0.2s !important;
}

    .quick-search-bar:focus-within {
        border-color: rgba(34,211,238,0.38) !important;
        box-shadow: 0 0 0 3px rgba(34,211,238,0.07) !important;
    }

    .quick-search-bar input {
        font-family: 'Figtree', sans-serif !important;
        font-size: 0.87rem !important;
    }

.quick-search-results {
    background: #04111b !important;
    border: 1px solid rgba(34,211,238,0.15) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.75) !important;
}

.quick-search-item:hover {
    background: rgba(34,211,238,0.05) !important;
}

.search-item-title {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 600 !important;
    color: #dde6f0 !important;
}

.month-card {
    background: linear-gradient(160deg, #0b1e2d 0%, #071622 100%) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 12px !important;
    box-shadow: var(--dp-shadow) !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
}

    .month-card:hover {
        transform: translateY(-4px) !important;
        border-color: rgba(34,211,238,0.3) !important;
        box-shadow: var(--dp-shadow-up) !important;
    }

.month-card-header h3 {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    color: #3d5a72 !important;
    font-weight: 700 !important;
}

.month-card-total-num {
    font-family: 'Syne',sans-serif !important;
    font-weight: 800 !important;
}

.month-card-total-lbl {
    letter-spacing: 0.08em !important;
    color: #1e3a4f !important;
    font-size: 0.59rem !important;
}

.msp-num {
    font-family: 'Syne',sans-serif !important;
    font-weight: 700 !important;
}

.msp-lbl {
    font-size: 0.57rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
}

.month-stat-pill {
    background: rgba(0,0,0,0.35) !important;
    border-radius: 6px !important;
}

.month-card-footer {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    background: rgba(0,0,0,0.35) !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.month-modal-content {
    background: #03101a !important;
    border: 1px solid rgba(34,211,238,0.13) !important;
    border-radius: 16px !important;
    box-shadow: 0 40px 120px rgba(0,0,0,0.9) !important;
}

.month-modal-header {
    background: linear-gradient(135deg, #0b2336, #071a27) !important;
    border-bottom: 1px solid rgba(34,211,238,0.1) !important;
    padding: 18px 24px !important;
}

#monthModalTitle {
    font-family: 'Syne', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #eaf4f8 !important;
}

#monthModalSubtitle {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.72rem !important;
    color: #2a4d64 !important;
    margin-top: 3px !important;
}

.month-modal-body {
    padding: 14px 16px !important;
}

.month-view-filters {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.filter-select {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    background: #071d2b !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 7px !important;
    color: #5a8a9f !important;
    padding: 7px 11px !important;
    transition: all 0.15s !important;
}

    .filter-select:focus {
        border-color: rgba(34,211,238,0.38) !important;
        color: #94a3b8 !important;
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(34,211,238,0.08) !important;
    }

.month-search-input {
    font-family: 'Figtree', sans-serif !important;
    font-size: 0.8rem !important;
    background: #071d2b !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 7px !important;
    color: #94a3b8 !important;
    padding: 7px 11px !important;
}

    .month-search-input:focus {
        border-color: rgba(34,211,238,0.38) !important;
        color: #dde6f0 !important;
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(34,211,238,0.08) !important;
    }

.month-tasks-table {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    border: none !important;
}

.task-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    padding: 2px;
}

.task-cards-grid .task-card {
    animation: tcIn 0.22s ease both;
}
.task-cards-grid .task-card:nth-child(1) { animation-delay: .00s }
.task-cards-grid .task-card:nth-child(2) { animation-delay: .04s }
.task-cards-grid .task-card:nth-child(3) { animation-delay: .08s }
.task-cards-grid .task-card:nth-child(4) { animation-delay: .12s }
.task-cards-grid .task-card:nth-child(5) { animation-delay: .16s }
.task-cards-grid .task-card:nth-child(n+6) { animation-delay: .20s }

@keyframes tcIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.task-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2px;
}

    .task-cards-list .tc {
        animation: tcIn 0.22s ease both;
    }

        .task-cards-list .tc:nth-child(1) {
            animation-delay: .00s
        }

        .task-cards-list .tc:nth-child(2) {
            animation-delay: .05s
        }

        .task-cards-list .tc:nth-child(3) {
            animation-delay: .10s
        }

        .task-cards-list .tc:nth-child(4) {
            animation-delay: .15s
        }

        .task-cards-list .tc:nth-child(n+5) {
            animation-delay: .18s
        }

@keyframes tcIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tc {
    border: 1.5px solid var(--tc-accent, rgba(255,255,255,0.12));
    border-left: 4px solid var(--tc-accent, #0e7490);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #060f19;
    box-shadow: 0 2px 12px rgba(0,0,0,0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .tc:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.6), 0 2px 8px rgba(34,211,238,0.07);
        border-color: rgba(34,211,238,0.45);
        border-left-color: var(--tc-accent, #22d3ee);
    }

    .tc:active {
        transform: translateY(0);
    }

.tc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px 10px;
    background: rgba(255,255,255,0.025);

.tc__mo {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #e2eef6;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc__pill {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1.5px solid currentColor;
    background: transparent;
    font-family: 'Figtree', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tc__pill--pending {
    color: #fbbf24;
}

.tc__pill--overdue {
    color: #f87171;
    animation: overdue-pulse 2s infinite;
}

.tc__pill--completed {
    color: #34d399;
}

.tc__pill--delayed {
    color: #c084fc;
}

.tc__sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0;
}

.tc__body {
    padding: 8px 14px 10px;
    background: #060f19;
    display: flex;
    flex-direction: column;
}

.tc__row {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.035);
}

    .tc__row:last-child {
        border-bottom: none;
    }

.tc__lbl {
    font-family: 'Figtree', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #1d607d;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    width: 108px;
    flex-shrink: 0;
}

.tc__colon {
    font-size: 0.72rem;
    color: #1d607d;
    margin-right: 8px;
    flex-shrink: 0;
}

.tc__val {
    font-family: 'Figtree', sans-serif;
    font-size: 0.82rem;
    color: #7dafc9;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc__val--mono {
    font-family: 'DM Mono', monospace;
    color: #2dd4a0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.tc__val--overdue {
    color: #f87171 !important;
    font-weight: 700;
}

.tc__empty {
    color: rgba(255,255,255,0.15);
    font-style: italic;
}

.modal-content {
    background: #03101a !important;
    border: 1px solid rgba(34,211,238,0.13) !important;
    border-radius: 16px !important;
    box-shadow: 0 40px 120px rgba(0,0,0,0.9) !important;
    font-family: 'Figtree', sans-serif !important;
}

.modal-header {
    background: linear-gradient(135deg, #0b2336, #071a27) !important;
    border-bottom: 1px solid rgba(34,211,238,0.1) !important;
    padding: 16px 22px !important;
    border-radius: 14px 14px 0 0 !important;
}

    .modal-header h2 {
        font-family: 'Syne', sans-serif !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        color: #eaf4f8 !important;
        margin: 0 !important;
    }

.modal-close {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 7px !important;
    color: #3d5a72 !important;
    font-size: 1.1rem !important;
    width: 30px !important;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s !important;
}

    .modal-close:hover {
        background: rgba(239,68,68,0.14) !important;
        border-color: rgba(239,68,68,0.3) !important;
        color: #ef4444 !important;
    }

.modal-body {
    padding: 20px !important;
    color: #94a3b8 !important;
}

.td-header-banner {
    background: linear-gradient(135deg, #0b2336, #071a27) !important;
    border: 1px solid rgba(34,211,238,0.14) !important;
    border-left: 3px solid #22d3ee !important;
    border-radius: 10px !important;
    padding: 15px 18px !important;
    margin-bottom: 12px !important;
}

.td-number {
    font-family: 'Syne',sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #eaf4f8 !important;
}

.td-info-card {
    background: linear-gradient(160deg, #0c2638, #081e2b) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4) !important;
    margin-bottom: 10px !important;
}

.td-card-header {
    background: linear-gradient(135deg, #0b2336, #071a27) !important;
    padding: 9px 14px !important;
    border-bottom: 1px solid rgba(34,211,238,0.08) !important;
}

    .td-card-header h3 {
        font-family: 'Figtree',sans-serif !important;
        font-size: 0.74rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: #1e4d66 !important;
    }

    .td-card-header.collapsible:hover {
        background: linear-gradient(135deg,#0f2d44,#0a2235) !important;
    }

.td-info-label {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.57rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    color: #1a6a8a !important;
    text-transform: uppercase !important;
}

.td-info-value {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.83rem !important;
    color: #6a8da5 !important;
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
    line-height: 1.5 !important;
    display: block !important;
}

    .td-info-value.td-highlight {
        background: rgba(14,116,144,0.07) !important;
        border-color: rgba(34,211,238,0.14) !important;
        color: #7dd3fc !important;
    }

.td-note-item {
    border-left: 2px solid #1a6a8a !important;
    background: rgba(0,0,0,0.25) !important;
    border-radius: 6px !important;
    padding: 9px 11px !important;
    margin-bottom: 8px !important;
}

.td-note-header strong {
    font-family: 'Figtree',sans-serif !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
}

.td-note-content {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.81rem !important;
    color: #6a8da5 !important;
}

.td-modern-input {
    font-family: 'Figtree',sans-serif !important;
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 7px !important;
    color: #dde6f0 !important;
    font-size: 0.83rem !important;
}

    .td-modern-input:focus {
        border-color: rgba(34,211,238,0.35) !important;
        box-shadow: 0 0 0 2px rgba(34,211,238,0.07) !important;
        outline: none !important;
    }

.td-btn-add-note {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.81rem !important;
    background: linear-gradient(135deg,#155e32,#166534) !important;
    border-radius: 7px !important;
}

.task-detail-overlay-content {
    background: #03101a !important;
    border: 1px solid rgba(34,211,238,0.13) !important;
    border-radius: 14px !important;
    box-shadow: 0 40px 120px rgba(0,0,0,0.9) !important;
}

.task-detail-overlay-header {
    background: linear-gradient(135deg,#0b2336,#071a27) !important;
    border-bottom: 1px solid rgba(34,211,238,0.1) !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 12px 18px !important;
}

.btn-back-overlay {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.79rem !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 6px !important;
    transition: all 0.15s !important;
}

    .btn-back-overlay:hover {
        background: rgba(255,255,255,0.1) !important;
    }

.task-detail-overlay-body {
    padding: 20px !important;
    color: #94a3b8 !important;
}

.badge {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    display: inline-block;
}

    .badge.pending {
        background: rgba(245,158,11,0.1) !important;
        color: #fbbf24 !important;
        border: 1px solid rgba(245,158,11,0.27) !important;
    }

    .badge.completed {
        background: rgba(16,185,129,0.1) !important;
        color: #34d399 !important;
        border: 1px solid rgba(16,185,129,0.25) !important;
    }

    .badge.completed-delayed {
        background: rgba(168,85,247,0.1) !important;
        color: #c084fc !important;
        border: 1px solid rgba(168,85,247,0.25) !important;
    }

    .badge.overdue {
        background: rgba(239,68,68,0.1) !important;
        color: #f87171 !important;
        border: 1px solid rgba(239,68,68,0.27) !important;
        animation: overdue-pulse 2s infinite !important;
    }

.overdue-task-card {
    background: linear-gradient(160deg,#0c2638,#081e2b) !important;
    border: 1px solid rgba(127,29,29,0.5) !important;
    border-radius: 12px !important;
    box-shadow: var(--dp-shadow) !important;
    transition: transform 0.2s,box-shadow 0.2s !important;
}

    .overdue-task-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 32px rgba(239,68,68,0.16),0 2px 8px rgba(0,0,0,0.5) !important;
    }

.overdue-badge {
    background: linear-gradient(135deg,#7f1d1d,#991b1b) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.overdue-days {
    font-family: 'Syne',sans-serif !important;
    font-weight: 800 !important;
}

.overdue-label {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.63rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
}

.overdue-task-title {
    font-family: 'Syne',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

.overdue-meta-label {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.67rem !important;
    font-weight: 700 !important;
    color: #1e4d66 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.side-drawer {
    background: #030d14 !important;
}

.drawer-header {
    background: #04111b !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.drawer-header-text h2 {
    font-family: 'Syne',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    color: #eaf4f8 !important;
}

.drawer-header-text p {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.65rem !important;
    color: #1a6a8a !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.drawer-nav-item {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #1e4d66 !important;
    border-left: 2px solid transparent !important;
}

    .drawer-nav-item:hover {
        background: rgba(255,255,255,0.02) !important;
        color: #5a8a9f !important;
    }

    .drawer-nav-item.active {
        background: rgba(34,211,238,0.04) !important;
        color: #22d3ee !important;
        border-left-color: #22d3ee !important;
    }

.drawer-user-box {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 9px !important;
}

.drawer-user-name {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    color: #eaf4f8 !important;
}

.drawer-user-role {
    font-family: 'Figtree',sans-serif !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #1a3d52 !important;
}

.btn-drawer-logout {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(127,29,29,0.45) !important;
    color: #f87171 !important;
    transition: all 0.18s !important;
}

    .btn-drawer-logout:hover {
        background: rgba(127,29,29,0.38) !important;
        border-color: rgba(185,28,28,0.65) !important;
    }

.btn-upload {
    font-family: 'Figtree',sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    padding: 10px 22px;
    background: linear-gradient(135deg,#0e7490,#0891b2);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(14,116,144,0.3);
    transition: all 0.2s;
}

    .btn-upload:hover {
        box-shadow: 0 4px 20px rgba(14,116,144,0.45);
        transform: translateY(-1px);
    }

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(130px,1fr));
    gap: 10px;
}

.photo-item {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    position: relative;
    transition: border-color 0.18s;
}

    .photo-item:hover { border-color: rgba(34,211,238,0.28); }

    .photo-item img {
        width: 100%;
        height: 115px;
        object-fit: cover;
        cursor: pointer;
        display: block;
    }

    .photo-item small {
        display: block;
        padding: 6px 8px;
        background: rgba(0,0,0,0.35);
        color: #3d5a72;
        font-size: 0.67rem;
        font-family: 'Figtree',sans-serif !important;
        line-height: 1.4;
    }

.empty-state {
    background: linear-gradient(160deg,#0c2638,#081e2b) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
}

    .empty-state h3 {
        font-family: 'Syne',sans-serif !important;
        font-weight: 700 !important;
    }

.tc--onhold {
    border-left-color: #0ea5e9;
    border-color: rgba(14,165,233,0.25);
}

.tc__pill--onhold {
    color: #38bdf8;
}

.tc-pill--onhold {
    color: #38bdf8;
}

.badge.onhold {
    background: rgba(14,165,233,0.1) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14,165,233,0.27) !important;
}

@keyframes overdue-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

.modal-body::-webkit-scrollbar,
.month-modal-body::-webkit-scrollbar { width: 4px; }

.modal-body::-webkit-scrollbar-thumb,
.month-modal-body::-webkit-scrollbar-thumb {
    background: #1a4d66;
    border-radius: 3px;
}

@media (max-width: 640px) {
    .task-cards-grid { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .task-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
    .task-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.tc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2px;
}


    .tc-list .tc-card {
        animation: tcCardIn 0.2s ease both;
    }

        .tc-list .tc-card:nth-child(1) {
            animation-delay: .00s
        }

        .tc-list .tc-card:nth-child(2) {
            animation-delay: .05s
        }

        .tc-list .tc-card:nth-child(3) {
            animation-delay: .09s
        }

        .tc-list .tc-card:nth-child(4) {
            animation-delay: .13s
        }

        .tc-list .tc-card:nth-child(n+5) {
            animation-delay: .16s
        }

@keyframes tcCardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tc-card {
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-left-width: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #060f19;
    box-shadow: 0 2px 14px rgba(0,0,0,0.5);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .tc-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.65);
    }

    .tc-card:active {
        transform: translateY(0);
    }

.tc--pending {
    border-left-color: #f59e0b;
    border-color: rgba(245,158,11,0.25);
}

.tc--completed {
    border-left-color: #10b981;
    border-color: rgba(16,185,129,0.22);
}

.tc--delayed {
    border-left-color: #ef4444;
    border-color: rgba(239,68,68,0.28);
}

.tc--cd {
    border-left-color: #a855f7;
    border-color: rgba(168,85,247,0.28);
}

.tc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.025);
}

.tc-title {
    font-family: 'Syne', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #e2eef6;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-pill {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 4px;
    border: 1.5px solid currentColor;
    background: transparent;
    font-family: 'Figtree', 'Segoe UI', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tc-pill--pending {
    color: #fbbf24;
}

.tc-pill--completed {
    color: #34d399;
}

.tc-pill--delayed {
    color: #f87171;
    animation: tcPulse 2s infinite;
}

.tc-pill--cd {
    color: #c084fc;
}

@keyframes tcPulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.tc-divider {
    height: 1px;
    background: rgba(255,255,255,0.065);
}

.tc-body {
    padding: 8px 14px 10px;
    background: #060f19;
    display: flex;
    flex-direction: column;
}

.tc-row {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    gap: 0;
}

    .tc-row:last-child {
        border-bottom: none;
    }

.tc-lbl {
    font-family: 'Figtree', 'Segoe UI', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    color: #1d607d;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    width: 110px;
    flex-shrink: 0;
}

.tc-colon {
    font-size: 0.75rem;
    color: #1d607d;
    flex-shrink: 0;
    margin-right: 8px;
}

.tc-val {
    font-family: 'Figtree', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    color: #7dafc9;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-val--mono {
    font-family: 'DM Mono', 'Courier New', monospace;
    color: #2dd4a0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.tc-val--overdue {
    color: #f87171 !important;
    font-weight: 700;
}

.tc-empty {
    color: rgba(255,255,255,0.18);
    font-style: normal;
}