    /* Styling variables and themes */
    :root {
        --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        --accent-color: #3182ce;
        --accent-hover: #2b6cb0;
        --bg-glass: rgba(255, 255, 255, 0.85);
        --border-glass: rgba(226, 232, 240, 0.8);
        --text-dark: #1a202c;
        --text-muted: #718096;
    }

    /* Welcome/Stats Banner */
    /* Compact Dashboard Header */
    .dashboard-header {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #4a5568;
        border-radius: 8px;
        padding: 8px 16px;
        margin-bottom: 16px;
        font-size: 0.85rem;
    }

    .page-hero {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 16px;
    }

    .page-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    /* Layout structure */
    .dashboard-layout {
        display: flex;
        gap: 20px;
        align-items: stretch;
        margin-bottom: 24px;
    }

    /* Filters sidebar (leftmost) */
    .filters-sidebar {
        flex: 0 0 240px;
        min-width: 0;
    }

    .filters-sidebar .filter-card {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    /* Middle column - Articles list */
    .articles-column {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Right column - Sticky preview */
    .preview-column {
        flex: 1 1 0;
        position: sticky;
        top: 80px;
        height: calc(100vh - 100px);
        min-height: 500px;
        min-width: 0;
    }

    /* Filter panel */
    .filter-card {
        background: var(--bg-glass);
        border: 1px solid var(--border-glass);
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    }

    /* Vertical filter layout inside sidebar */
    .filters-sidebar .filter-card .form-select,
    .filters-sidebar .filter-card .form-control {
        font-size: 0.82rem;
    }

    .filters-sidebar .filter-card label.sidebar-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #718096;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 2px;
        display: block;
    }

    .filter-actions .btn {
        white-space: nowrap;
    }

    /* Unified Button Heights, Control Heights, Radiuses and Icon Sizing */
    .btn:not(.rounded-circle):not(.rounded-pill):not(.btn-pill),
    .btn-sm:not(.rounded-circle):not(.rounded-pill):not(.btn-pill),
    .btn-icon:not(.rounded-circle):not(.rounded-pill):not(.btn-pill),
    .form-control,
    .form-control-sm,
    .form-select,
    .form-select-sm {
        border-radius: 8px;
    }

    /* Ensure input-group children maintain proper outer corner radiuses and square inner borders */
    .input-group > .btn:not(:first-child):not(:last-child),
    .input-group > .form-control:not(:first-child):not(:last-child),
    .input-group > .input-group-text:not(:first-child):not(:last-child) {
        border-radius: 0 !important;
    }
    .input-group > .btn:first-child,
    .input-group > .form-control:first-child,
    .input-group > .input-group-text:first-child {
        border-top-left-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .input-group > .btn:last-child,
    .input-group > .form-control:last-child,
    .input-group > .input-group-text:last-child {
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

    /* Standardize height parity for 32px controls */
    .form-control-sm,
    .form-select-sm,
    .input-group-sm > .form-control,
    .input-group-sm > .form-select,
    .input-group-sm > .input-group-text,
    .input-group-sm > .btn {
        height: 32px !important;
        min-height: 32px !important;
    }

    /* Consistent Icon Stroke for buttons and interactive controls */
    .btn i.bi,
    .btn .bi,
    .btn-icon i.bi,
    .btn-icon .bi,
    .input-group-text i.bi,
    .search-icon i.bi,
    i.bi.bi-search {
        -webkit-text-stroke: 0.45px currentColor;
        paint-order: stroke fill;
    }

    .btn svg,
    .btn-icon svg {
        stroke-width: 2.25px;
    }

    .btn-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }
    .btn-icon.btn-sm,
    .btn-sm.btn-icon,
    .btn-icon-32 {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
    }
    .btn-icon-38 {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }
    .btn-icon-28 {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }
    .btn-icon-24 {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }

    /* Mobile / WebKit tap & sticky hover contrast for light outline buttons and icon toggles */
    .btn-outline-secondary.bg-white,
    .btn-outline-secondary.btn-icon {
        --bs-btn-color: #475569;
        --bs-btn-bg: #ffffff;
        --bs-btn-border-color: #e2e8f0;
        --bs-btn-hover-color: #334155;
        --bs-btn-hover-bg: #f8fafc;
        --bs-btn-hover-border-color: #cbd5e1;
        --bs-btn-active-color: #0f172a;
        --bs-btn-active-bg: #f1f5f9;
        --bs-btn-active-border-color: #94a3b8;
        --bs-btn-focus-shadow-rgb: 100, 116, 139;
        color: #475569;
    }

    .btn-outline-secondary.bg-white:hover,
    .btn-outline-secondary.bg-white:focus,
    .btn-outline-secondary.bg-white:active,
    .btn-outline-secondary.bg-white[aria-expanded="true"],
    .btn-outline-secondary.btn-icon:hover,
    .btn-outline-secondary.btn-icon:focus,
    .btn-outline-secondary.btn-icon:active,
    .btn-outline-secondary.btn-icon[aria-expanded="true"] {
        color: #334155 !important;
        background-color: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }

    /* Preserve primary accent when active filters or tools are enabled */
    .btn-outline-secondary.border-primary:hover,
    .btn-outline-secondary.border-primary:focus,
    .btn-outline-secondary.border-primary:active,
    .btn-outline-secondary.border-primary[aria-expanded="true"] {
        color: var(--bs-primary) !important;
        border-color: var(--bs-primary) !important;
        background-color: #eff6ff !important;
    }

    /* Search Mode Toggles (Semantic + Precision stacked vertically) */
    .filter-toggle-stack,
    .filter-toggle-group {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        height: 32px;
        max-height: 32px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        user-select: none;
        line-height: 1;
        box-sizing: border-box;
    }

    .filter-toggle-row,
    .filter-toggle-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        height: 13px;
        max-height: 13px;
        margin: 0;
        padding: 0;
        cursor: pointer;
        user-select: none;
        line-height: 1;
        box-sizing: border-box;
    }

    #rerankSearchWrapper {
        display: flex;
        align-items: center;
        height: 13px;
        max-height: 13px;
        margin: 0;
        padding: 0;
        line-height: 1;
        box-sizing: border-box;
    }

    .filter-switch {
        position: relative;
        display: inline-block;
        width: 22px;
        height: 12px;
        max-height: 12px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        line-height: 1;
        box-sizing: border-box;
    }

    .filter-switch input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
        pointer-events: none;
    }

    .filter-switch-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #cbd5e1;
        border: 1px solid #94a3b8;
        border-radius: 9999px;
        transition: background-color 0.18s ease, border-color 0.18s ease;
        box-sizing: border-box;
    }

    .filter-switch-slider::before {
        position: absolute;
        content: "";
        height: 8px;
        width: 8px;
        left: 1px;
        top: 1px;
        background-color: #ffffff;
        border-radius: 50%;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .filter-switch input:checked + .filter-switch-slider {
        background-color: #2563eb;
        border-color: #1d4ed8;
    }

    .filter-switch input:focus-visible + .filter-switch-slider {
        outline: 2px solid #3b82f6;
        outline-offset: 1px;
    }

    .filter-switch input:checked + .filter-switch-slider::before {
        transform: translateX(10px);
    }

    .filter-toggle-label {
        font-size: 11px;
        font-weight: 500;
        color: #475569;
        letter-spacing: -0.01em;
        line-height: 1;
        margin: 0;
        padding: 0;
        cursor: pointer;
        white-space: nowrap;
        transition: color 0.15s ease;
    }

    .filter-toggle-row:hover .filter-toggle-label,
    .filter-toggle-item:hover .filter-toggle-label,
    .filter-switch input:checked ~ .filter-toggle-label {
        color: #0f172a;
    }

    /* Semantic Threshold Slider */
    .form-range.semantic-slider {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
        border-radius: 9999px;
        outline: none;
        margin: 6px 0;
    }

    .form-range.semantic-slider::-webkit-slider-runnable-track {
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
        border-radius: 9999px;
    }

    .form-range.semantic-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid #2563eb;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        margin-top: -5px;
        transition: transform 0.1s ease, border-color 0.1s ease;
    }

    .form-range.semantic-slider::-webkit-slider-thumb:hover {
        transform: scale(1.15);
    }

    .form-range.semantic-slider::-moz-range-track {
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
        border-radius: 9999px;
    }

    .form-range.semantic-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid #2563eb;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        transition: transform 0.1s ease;
    }

    /* Semantic Sort Tabs */
    .btn-sort-tab {
        font-size: 11px;
        line-height: 1.2;
        padding: 3px 8px;
        border: none;
        background: transparent;
        transition: all 0.15s ease;
        cursor: pointer;
    }

    .btn-check:checked + .btn-sort-tab {
        background-color: #ffffff !important;
        color: #2563eb !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
        font-weight: 600;
    }

    /* Pull to Refresh Indicator */
    .ptr-indicator {
        pointer-events: none;
        user-select: none;
        -webkit-user-select: none;
        will-change: height, opacity;
    }

    /* Scrollable list */
    .articles-scroll-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
        overscroll-behavior: contain;
    }

    /* Article item card states */
    .article-item-card {
        position: relative;
    }

    .article-item-card.active-article {
        background-color: #f8faff !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12) !important;
        border-color: #cbd5e1 !important;
        opacity: 1 !important;
    }

    .article-select-checkbox {
        accent-color: var(--accent-color);
    }

    .notes-trigger-btn {
        flex: 0 0 auto;
        font-size: 0.72rem;
        font-weight: 600;
        padding: 3px 8px;
        border-radius: 999px;
        border: 1px solid #cbd5e0;
        background: #fff;
        color: #4a5568;
        white-space: nowrap;
    }

    .notes-trigger-btn:hover {
        border-color: var(--accent-color);
        color: var(--accent-color);
        background: #f7fafc;
    }

    .preview-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
        min-width: 0;
        overflow: hidden;
    }

    .preview-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        width: 100%;
        gap: 12px;
        min-width: 0;
    }

    .preview-pane-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--text-dark);
        line-height: 1.4;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .preview-pane-meta {
        background: #f7fafc;
        border: 1px solid #edf2f7;
        border-radius: 8px;
        padding: 10px 14px;
        margin-bottom: 16px;
        font-size: 0.775rem;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .preview-pane-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        font-size: 0.875rem;
        color: #2d3748;
        line-height: 1.65;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
        padding-right: 6px;
        border-top: 1px solid #edf2f7;
        padding-top: 16px;
        min-width: 0;
    }

    .badge-ai-summary {
        color: #16a34a;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
    }

    .badge-sentiment,
    .preview-sentiment-pill {
        display: inline-block;
        padding: 2px 7px;
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 600;
        border: 1px solid #cbd5e1;
        color: #475569;
        background: #f1f5f9;
        text-transform: capitalize;
    }

    .badge-sentiment-positive,
    .sentiment-positive {
        background-color: #dcfce7 !important;
        color: #15803d !important;
        border-color: #bbf7d0 !important;
    }

    .badge-sentiment-neutral,
    .sentiment-neutral {
        background-color: #f1f5f9 !important;
        color: #475569 !important;
        border-color: #cbd5e1 !important;
    }

    .badge-sentiment-negative,
    .sentiment-negative {
        background-color: #fee2e2 !important;
        color: #b91c1c !important;
        border-color: #fecaca !important;
    }

    .notes-list {
        max-height: 240px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .badge-source {
        background-color: #ebf8ff;
        color: #2b6cb0;
        font-weight: 500;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .badge-source i {
        margin-right: 4px;
        opacity: 0.9;
    }

    /* Unread articles: clean modern prominent state */
    .unread-article .article-card-title {
        font-weight: 600;
        color: #0f172a;
    }

    /* Read articles: visually deprioritised */
    .article-item-card[data-read="true"]:not(.active-article),
    .article-item-card:not(.unread-article):not(.active-article) {
        opacity: 0.72 !important;
        background-color: #f8fafc !important;
    }

    .article-item-card[data-read="true"]:not(.active-article) .article-card-title,
    .article-item-card:not(.unread-article):not(.active-article) .article-card-title {
        font-weight: 500 !important;
        color: #64748b !important;
    }

    .article-item-card[data-read="true"]:not(.active-article) .article-card-snippet,
    .article-item-card:not(.unread-article):not(.active-article) .article-card-snippet {
        color: #94a3b8 !important;
    }

    /* Read articles on hover: restore full brightness */
    .article-item-card[data-read="true"]:hover,
    .article-item-card:not(.unread-article):hover {
        opacity: 1 !important;
        background-color: #ffffff !important;
    }

    .article-item-card[data-read="true"]:hover .article-card-title,
    .article-item-card:not(.unread-article):hover .article-card-title {
        color: #0f172a !important;
    }

    /* Active article: always full brightness and elevated */
    .article-item-card.active-article {
        opacity: 1 !important;
        background-color: #f8faff !important;
    }

    .article-item-card.active-article .article-card-title {
        font-weight: 600 !important;
        color: #0f172a !important;
    }

    /* AI Summary cached indicator */
    .preview-ai-summary-btn.has-ai-summary {
        border-color: #48bb78;
        color: #276749;
        background: #f0fff4;
    }

    .preview-ai-summary-btn.has-ai-summary:hover {
        background: #c6f6d5;
        border-color: #276749;
    }

    .badge-date {
        background-color: #f7fafc;
        color: #718096;
        padding: 2px 6px;
        border-radius: 4px;
        border: 1px solid #edf2f7;
    }

    .badge-pill-tag {
        display: inline-block;
        background: #edf2f7;
        color: #4a5568;
        padding: 2px 8px;
        font-size: 0.65rem;
        font-weight: 600;
        border-radius: 9999px;
        border: 1px solid #e2e8f0;
    }

    /* Empty state */
    .empty-state {
        text-align: center;
        padding: 48px 24px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        color: var(--text-muted);
    }

    .empty-state-icon {
        font-size: 3rem;
        color: #cbd5e0;
        margin-bottom: 12px;
    }

    /* Custom scrollbars */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    ::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #a0aec0;
    }

    /* Mobile media query */
    @media (max-width: 991px) {
        .page-hero {
            flex-direction: column;
            align-items: stretch;
        }
        .page-hero-actions {
            justify-content: flex-start;
        }
        .dashboard-layout {
            flex-direction: column;
        }
        /* On tablets/phones: preview-column hidden from normal flow,
           becomes a bottom sheet overlay instead */
        .preview-column {
            display: none;
        }
        .articles-scroll-container {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
        }
        .filter-actions {
            justify-content: flex-start;
        }
    }

    /* ── Mobile bottom-sheet preview ───────────────────────────── */
    .mobile-preview-sheet {
        display: none; /* hidden on desktop */
    }

    @media (max-width: 991px) {
        /* Sheet: fixed full-width panel sliding up from bottom */
        .mobile-preview-sheet {
            display: block;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 78vh;
            background: #fff;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
            z-index: 1050;
            transform: translateY(100%);
            transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .mobile-preview-sheet.sheet-open {
            transform: translateY(0);
        }
        /* Drag handle */
        .mobile-sheet-handle {
            width: 40px;
            height: 4px;
            background: #cbd5e0;
            border-radius: 2px;
            margin: 10px auto 4px;
            flex-shrink: 0;
            cursor: pointer;
        }
        .mobile-sheet-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 16px 10px;
            border-bottom: 1px solid #edf2f7;
            flex-shrink: 0;
        }
        .mobile-sheet-title {
            font-size: 0.8rem;
            font-weight: 600;
            color: #718096;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .mobile-sheet-close {
            background: #edf2f7;
            border: none;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #4a5568;
            cursor: pointer;
            line-height: 1;
        }
        .mobile-sheet-body {
            flex: 1;
            overflow-y: auto;
            padding: 14px 16px;
            -webkit-overflow-scrolling: touch;
        }
        /* Backdrop */
        .mobile-sheet-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 1049;
            backdrop-filter: blur(2px);
        }
        .mobile-sheet-backdrop.sheet-open {
            display: block;
        }
    }

    /* Extra-small screens (phones < 576px) */
    @media (max-width: 575.98px) {
        /* Bulk actions bar: two rows */
        .bulk-actions-bar {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
            padding: 8px;
        }
        .bulk-actions-bar > div:last-child {
            width: 100%;
            justify-content: flex-start;
        }

        /* Bulk actions bar: hide count text, keep icons only */
        #selected-count-wrapper { display: none; }

        /* Preview pane in sheet */
        .preview-pane-title { font-size: 1rem; }
        .preview-pane-meta { font-size: 0.7rem; padding: 8px 10px; }
    }

    /* Custom Tag Modal styles */
    .custom-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .custom-modal-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(2px);
    }
    .custom-modal-content {
        position: relative;
        background-color: #fff;
        border-radius: 8px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border: 1px solid #e2e8f0;
        display: flex;
        flex-direction: column;
        max-height: 80vh;
        animation: modalFadeIn 0.15s ease-out;
    }
    @keyframes modalFadeIn {
        from { transform: scale(0.95); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    .custom-modal-header {
        padding: 12px 16px;
        border-bottom: 1px solid #edf2f7;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .custom-modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #a0aec0;
        line-height: 1;
        padding: 0;
    }
    .custom-modal-close:hover {
        color: #4a5568;
    }
    .custom-modal-body {
        padding: 16px;
        overflow-y: auto;
    }
    .tag-picker-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .tag-picker-item {
        display: inline-block;
        padding: 4px 12px;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 9999px;
        border: 1px solid #e2e8f0;
        transition: all 0.15s ease;
    }
    .tag-picker-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        opacity: 0.9;
    }
    .db-tag-pill:hover {
        background-color: #feb2b2;
        color: #9b2c2c;
        border-color: #f56565;
        text-decoration: line-through;
    }
