        .dark { color-scheme: dark; }
        .glass {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .dark .glass { background: rgba(15, 23, 42, 0.85); border-bottom: 1px solid rgba(255,255,255,0.05); }
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        /* Word Editor Styles */
        #editor-content:empty:before {
            content: 'Start typing...';
            color: #94a3b8;
            cursor: text;
        }
        #editor-content h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; margin-top: 2rem; color: #0f172a; letter-spacing: -0.025em; }
        #editor-content h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; margin-top: 1.5rem; color: #0f172a; letter-spacing: -0.025em; }
        #editor-content p { margin-bottom: 1rem; line-height: 1.7; color: #334155; }
        #editor-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        #editor-content ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        
        /* Document Editor Dark Mode Overrides */
        .dark #editor-content h1 { color: #f8fafc; }
        .dark #editor-content h2 { color: #f1f5f9; }
        .dark #editor-content p { color: #cbd5e1; }
        .dark #editor-content ul { color: #cbd5e1; }
        .dark #editor-content ol { color: #cbd5e1; }
        .dark #editor-content:empty:before { color: #64748b; }
    