        /* MY DAY STYLES */
        .myday-header {
            background: linear-gradient(135deg, #fef9c3, #fef3c7);
            padding: 1rem 1.25rem;
            border-radius: var(--radius);
            margin-bottom: 0.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .myday-date {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .myday-date h2 {
            font-size: 1.15rem;
            margin: 0;
            color: var(--dark);
            font-weight: 700;
        }
        .myday-date-text {
            color: var(--gray);
            font-size: 0.85rem;
        }
        .myday-progress {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .myday-progress-bar {
            width: 100px;
            height: 6px;
            background: rgba(0,0,0,0.1);
            border-radius: 4px;
            overflow: hidden;
        }
        .myday-progress-fill {
            height: 100%;
            background: var(--success);
            border-radius: 4px;
            transition: width 0.3s;
        }
        .myday-progress-text {
            font-weight: 600;
            color: var(--dark);
            font-size: 0.85rem;
            white-space: nowrap;
        }
        .myday-content {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            padding-bottom: 100px;
        }

        /* ---- Секція ---- */
        .myday-section {
            background: white;
            border-radius: var(--radius);
            padding: 0.6rem 0.75rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        }
        .myday-section-title {
            font-size: 0.72rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            font-weight: 600;
        }

        /* ---- Картка завдання — компактна ---- */
        .myday-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.55rem 0.6rem;
            border-radius: 8px;
            background: transparent;
            margin-bottom: 0.15rem;
            cursor: pointer;
            transition: background 0.15s;
            min-height: 0;
            -webkit-tap-highlight-color: transparent;
            border-left: 3px solid transparent;
        }
        .myday-item:last-child { margin-bottom: 0; }
        .myday-item:hover { background: #f0fdf4; }
        .myday-item:active {
            background: #dcfce7;
            transform: scale(0.99);
        }
        .myday-item.done {
            background: transparent;
            opacity: 0.55;
        }
        .myday-item.done .myday-item-title {
            text-decoration: line-through;
            color: var(--gray);
        }
        .myday-item.overdue {
            background: #fff8f8;
            border-left: 3px solid #fca5a5;
        }

        /* ---- Чекбокс ---- */
        .myday-checkbox {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid #d1d5db;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: pointer;
            transition: all 0.15s;
            -webkit-tap-highlight-color: transparent;
        }
        .myday-checkbox:hover { border-color: var(--success); }
        .myday-checkbox:active { transform: scale(0.9); background: #dcfce7; }
        .myday-checkbox.checked {
            background: var(--success);
            border-color: var(--success);
            color: white;
        }

        /* ---- Контент ---- */
        .myday-item-content {
            flex: 1;
            min-width: 0;
        }
        .myday-item-title {
            font-weight: 500;
            color: var(--dark);
            font-size: 0.88rem;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .myday-item-meta {
            font-size: 0.72rem;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 0.35rem;
            flex-wrap: nowrap;
            overflow: hidden;
            margin-top: 0.15rem;
        }
        .myday-item-time {
            background: #f3f4f6;
            padding: 0 0.4rem;
            border-radius: 3px;
            font-size: 0.7rem;
            font-weight: 600;
            color: #374151;
            flex-shrink: 0;
        }
        .myday-item-tag {
            font-size: 0.65rem;
            padding: 0 0.4rem;
            border-radius: 3px;
            background: #dbeafe;
            color: #1d4ed8;
            flex-shrink: 0;
            line-height: 1.6;
        }
        .myday-item-tag.regular {
            background: #f3e8ff;
            color: #7c3aed;
        }
        .myday-empty {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--gray);
        }
        .myday-empty-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        .myday-all-done {
            text-align: center;
            padding: 1.5rem 1rem;
            background: linear-gradient(135deg, #dcfce7, #d1fae5);
            border-radius: var(--radius);
        }
        .myday-all-done-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        .myday-all-done h3 {
            color: var(--success);
            margin-bottom: 0.25rem;
            font-size: 1rem;
        }
        .myday-refresh-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: rgba(0,0,0,0.05);
            color: var(--gray);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .myday-refresh-btn:hover { background: rgba(0,0,0,0.1); color: var(--dark); }
        .myday-refresh-btn:active { transform: scale(0.9); }
        .myday-refresh-btn.spinning .icon { animation: spin 0.5s linear; }
        @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

        /* ---- AI кнопка в картці ---- */
        .myday-ai-btn {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            padding: 2px 6px;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 5px;
            font-size: 0.65rem;
            color: #16a34a;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .myday-ai-btn:hover { background: #dcfce7; }

        /* ---- Mobile ---- */
        @media (max-width: 767px) {
            .myday-header {
                padding: 0.5rem 0.75rem;
                margin: 0 -0.5rem 0.75rem -0.5rem;
                border-radius: 0;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                flex-wrap: nowrap;
                gap: 0.4rem;
                min-height: 48px;
            }
            .myday-date {
                flex-direction: row;
                align-items: center;
                gap: 0.4rem;
                min-width: 0;
                flex-shrink: 1;
            }
            .myday-date h2 {
                font-size: 0.88rem;
                white-space: nowrap;
            }
            .myday-date-text {
                display: none; /* ховаємо дату на мобільному — економимо місце */
            }
            /* Іконка сонця менша */
            .myday-date .icon-lg {
                width: 18px !important;
                height: 18px !important;
            }
            /* Кнопки компактніші */
            #nextTaskBtn, #focusModeBtn {
                padding: 0.3rem 0.55rem !important;
                font-size: 0.78rem !important;
            }
            /* Прогрес компактніший */
            .myday-progress {
                gap: 0.3rem;
            }
            .myday-progress-bar {
                width: 48px;
            }
            .myday-progress-text {
                font-size: 0.72rem;
                white-space: nowrap;
            }
            .myday-progress { gap: 0.4rem; flex-shrink: 0; }
            .myday-progress-bar { width: 60px; }
            .myday-progress-text { font-size: 0.75rem; }
            .myday-section {
                border-radius: 8px;
                padding: 0.5rem 0.6rem;
            }
            .myday-item {
                padding: 0.5rem 0.5rem;
                gap: 0.55rem;
                margin-bottom: 0.1rem;
            }
            .myday-item:active {
                background: #dcfce7;
                transform: scale(0.99);
                transition: all 0.1s;
            }
            .myday-item-title { font-size: 0.86rem; }
            .myday-checkbox {
                width: 24px;
                height: 24px;
                position: relative;
            }
            .myday-checkbox::before {
                content: '';
                position: absolute;
                top: -8px; right: -8px; bottom: -8px; left: -8px;
            }
            /* AI label ховаємо на мобайлі — тільки іконка */
            .myday-ai-label { display: none; }
            .myday-ai-btn { padding: 2px 4px; }
        }
        
        .controls { 
            background: var(--white); 
            padding: 1rem; 
            border-radius: 0 0 var(--radius) var(--radius); 
            box-shadow: var(--shadow); 
            margin-bottom: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .controls-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
        
        .btn { 
            background: var(--info); 
            color: white; 
            border: none; 
            padding: 0.7rem 1rem; 
            border-radius: var(--radius-sm); 
            cursor: pointer; 
            font-size: 0.85rem; 
            font-weight: 500;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: all 0.2s;
        }
        
        .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
        .btn:active { transform: translateY(0); }
        .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .btn-success { background: var(--success); color: white; }
        .btn-success:hover { background: var(--primary-dark); }
        .btn-danger { background: var(--danger); color: white; }
        .btn-warning { background: var(--warning); color: white; }
        .btn-clear { background: var(--gray); color: white; }
        .btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
        .btn-outline:hover { background: var(--primary); color: white; }
        .btn-dark { background: var(--dark); color: white; }
        .btn-small { padding: 0.4rem 0.6rem; font-size: 0.8rem; min-height: 36px; }
        
        .btn-google {
            background: white;
            color: #444;
            border: 2px solid #e5e7eb;
            font-weight: 600;
        }
        
        .btn-google:hover {
            background: #f9fafb;
            border-color: #d1d5db;
        }
        
        .btn-google img {
            width: 20px;
            height: 20px;
        }
        
        .filters { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; }
        
        .filter-select { 
            padding: 0.6rem; 
            border: 2px solid #e5e7eb; 
            border-radius: var(--radius-sm); 
            background: var(--white); 
            font-size: 0.85rem;
            min-height: 44px;
            flex: 1;
            min-width: 100px;
        }
        
        .filter-select:focus { outline: none; border-color: var(--info); }
        
