        :root {
            --bg-color: #ffffff;
            --sidebar-bg: #f0f4f9;
            --text-primary: #1f1f1f;
            --text-secondary: #444746;
            --border-color: #e0e3e1;
            --hover-bg: #dfe4ea;
            --accent-blue: #0b57d0;
            --font-main: 'Outfit', sans-serif;
            --font-serif: 'Georgia', serif;
            
            --tag-bg: #e0e7ff;
            --tag-text: #3730a3;
            --green-bg: #ecfdf5;
            --green-text: #065f46;
        }

        * { box-sizing: border-box; }
        body { margin: 0; font-family: var(--font-main); background: var(--bg-color); color: var(--text-primary); height: 100vh; display: flex; overflow: hidden; }

        /* Scrollbar  */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #c4c7c5; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #8e918f; }

        /*Logo*/
        .top-logo {
            position: absolute;
            top: 24px;
            right: 32px;
            font-family: var(--font-mono);
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
            z-index: 100;
            letter-spacing: -0.5px;
        }

        .logo-accent { color: var(--accent-blue); }

        /* Sidebar */
        #sidebar { 
            width: 280px; 
            background: var(--sidebar-bg); 
            display: flex; 
            flex-direction: column; 
            flex-shrink: 0; 
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
            z-index: 50; 
            overflow: hidden;
            white-space: nowrap;
        }
        body.sidebar-collapsed #sidebar { width: 0; }
        
        /* Mobile Overlay */
        #mobile-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 40; display: none; }
        body.mobile-sidebar-open #mobile-overlay { display: block; }
        
        @media (max-width: 1024px) {
            #sidebar { position: fixed; height: 100%; left: 0; top: 0; transform: translateX(-100%); width: 280px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
            body.mobile-sidebar-open #sidebar { transform: translateX(0); }
            body.sidebar-collapsed #sidebar { width: 280px; }
        }

        /* Sidebar Elements */
        .sidebar-header { padding: 16px; display: flex; align-items: center; min-height: 64px; }
        .btn-icon { background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
        .btn-icon:hover { background: var(--hover-bg); }
        .brand-text { margin-left: 8px; font-weight: 500; color: var(--text-secondary); opacity: 1; }
        
        /* Category List */
        .category-container { flex: 1; overflow-y: auto; padding: 8px; }
        .category-label { padding: 8px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; }
        .category-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 50px; cursor: pointer; font-size: 14px; margin-bottom: 2px; color: var(--text-primary); transition: all 0.2s; }
        .category-item:hover { background: var(--hover-bg); }
        .category-item.active { background: #dbeafe; color: var(--accent-blue); font-weight: 600; }
        .category-item svg { flex-shrink: 0; width: 18px; height: 18px; }

        /* Main Content */
        main { flex: 1; display: flex; flex-direction: column; width: 100%; position: relative; }
        header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; background: rgba(255,255,255,0.95); z-index: 10; border-bottom: 1px solid transparent; }
        .header-title { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--text-secondary); }
        .user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
        
        #content-scroll { flex: 1; overflow-y: auto; padding-bottom: 40px; }
        .container { max-width: 900px; margin: 0 auto; padding: 24px; width: 100%; }
        .page-header { text-align: center; margin-bottom: 40px; }
        .date-badge { display: inline-block; background: #eff6ff; color: var(--accent-blue); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 12px; }
        .main-headline { font-size: 32px; font-weight: 500; margin: 0; line-height: 1.2; }

        /* Bulletin Card Style */
        .bulletin-card { background: white; border: 1px solid var(--border-color); border-radius: 20px; padding: 40px; margin-bottom: 32px; position: relative; overflow: hidden; }
        
        /* Hero Section inside Card */
        .news-hero { padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; margin-bottom: 24px; }
        .news-hero h2 { font-family: var(--font-serif); font-size: 28px; color: #111; margin-top: 0; margin-bottom: 16px; line-height: 1.3; }
        .news-hero p { font-size: 16px; line-height: 1.7; color: #4b5563; margin: 0; margin-bottom: 16px; }
        
        .source-link-btn {
            display: inline-flex; align-items: center; gap: 6px;
            background-color: var(--accent-blue); color: white;
            padding: 8px 16px; border-radius: 50px;
            text-decoration: none; font-size: 13px; font-weight: 500;
            transition: background-color 0.2s;
        }
        .source-link-btn:hover { background-color: #0842a0; }

        /* Round Up Section */
        .roundup-section { margin-bottom: 30px; }
        .section-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; margin-bottom: 16px; }
        
        .bullet-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed #f0f0f0; }
        .bullet-item:last-child { border-bottom: none; }
        
        .bullet-tag { 
            background: var(--tag-bg); color: var(--tag-text); 
            padding: 4px 10px; border-radius: 6px; 
            font-size: 11px; font-weight: 600; text-transform: uppercase; 
            min-width: 80px; text-align: center; margin-top: 2px;
        }
        .bullet-text { font-size: 15px; color: #374151; line-height: 1.5; flex: 1; }
        
        .bullet-link-icon {
            color: #9ca3af; transition: color 0.2s;
            display: flex; align-items: center; padding: 2px;
        }
        .bullet-link-icon:hover { color: var(--accent-blue); }

        /* Stat Box */
        .stat-box { 
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); 
            padding: 24px; border-radius: 16px; text-align: center; 
            border: 1px solid #bbf7d0; 
            margin-top: 20px;
            position: relative;
            cursor: help; /* Interaction hint */
            overflow: hidden;
        }
        .stat-val { font-size: 36px; font-weight: 700; color: #166534; display: block; margin-bottom: 4px; transition: transform 0.3s; }
        .stat-label { font-size: 13px; font-weight: 600; text-transform: uppercase; color: #15803d; letter-spacing: 0.5px; transition: transform 0.3s; }

        /* Stat Hover Overlay */
        .stat-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #166534; /* Solid dark green */
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            transition: opacity 0.3s ease;
            text-align: center;
            font-size: 15px;
            line-height: 1.5;
            pointer-events: none; /* Let clicks pass through if needed, though cursor is help */
        }
        
        .stat-box:hover .stat-overlay { opacity: 1; }

        .disclaimer { text-align: center; font-size: 12px; color: #9ca3af; padding-bottom: 32px; margin-top: 40px; }

        /* --- NOTEPAD & HIGHLIGHTER STYLES (Copied for consistency) --- */
        .fab-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 16px; z-index: 90; align-items: center; }
        .fab { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); cursor: pointer; transition: transform 0.2s; color: white; }
        .fab:hover { transform: scale(1.05); }
        #notepad-fab { background-color: var(--accent-blue); }
        #pdf-fab { background-color: #3b82f6; }
        
        #notepad-container { position: fixed; bottom: 170px; right: 30px; width: 320px; height: 450px; background: white; border-radius: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); display: flex; flex-direction: column; z-index: 90; transform: scale(0.9) translateY(20px); opacity: 0; pointer-events: none; transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid var(--border-color); }
        #notepad-container.active { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
        .notepad-header { padding: 16px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border-radius: 20px 20px 0 0; }
        .notepad-title { font-weight: 600; color: var(--text-primary); font-size: 16px; }
        .notepad-actions button { background: none; border: none; cursor: pointer; color: var(--text-secondary); padding: 4px; margin-left: 4px; }
        #notepad-area { flex: 1; border: none; padding: 16px; font-family: 'Roboto', sans-serif; font-size: 14px; resize: none; outline: none; background: #fff; }

        /* Highlighter Tooltip */
        #highlight-tooltip { position: absolute; background: white; padding: 8px 12px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: flex; gap: 8px; z-index: 80; opacity: 0; pointer-events: none; transition: opacity 0.2s; border: 1px solid var(--border-color); }
        #highlight-tooltip.active { opacity: 1; pointer-events: auto; }
        .color-btn { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform 0.1s; }
        .color-btn:hover { transform: scale(1.2); border-color: #ddd; }
        .color-btn.remove { background: #fff; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #666; }
        .highlight-span { border-radius: 4px; padding: 2px 0; cursor: pointer; transition: background-color 0.2s; }
        .highlight-span:hover { filter: brightness(0.95); }

        /* Save Button Style */
        .btn-save {
            background: transparent;
            border: 1px solid #d1d5db;
            color: #64748b;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-left: auto; /* Pushes it to the right */
        }
        
        .btn-save:hover {
            background: #f1f5f9;
            color: #0b57d0;
            border-color: #0b57d0;
        }
        
        /* State when article is saved */
        .btn-save.active {
            background: #eff6ff;
            color: #0b57d0;
            border-color: #0b57d0;
        }
        
        .btn-save.active svg {
            fill: currentColor; /* Fills the icon */
        }

