/* =========================================================
   FAST WORKSPACE - ULTRA HIGH CONTRAST LIGHT THEME
   (static/css/fast_light_theme.css)
   Claude Warm Canvas Style: Tajam, Bersih & Kontras Tinggi
   ========================================================= */

/* 1. Kontainer Latar Utama */
html:not(.dark) body, 
html:not(.dark) main, 
html:not(.dark) #main-content, 
html:not(.dark) #view-chat, 
html:not(.dark) #view-home, 
html:not(.dark) #view-project, 
html:not(.dark) #project-workspace-view, 
html:not(.dark) #project-chat-view, 
html:not(.dark) #projects-catalog-view, 
html:not(.dark) #view-artifacts, 
html:not(.dark) #view-customize, 
html:not(.dark) #view-chats-all { 
    background-color: #f7f6f2 !important; 
    color: #18181b !important; 
}

/* 2. Header & Navigasi Atas */
html:not(.dark) #main-header {
    background-color: #f7f6f2 !important;
    border-color: #ded9cd !important;
}
html:not(.dark) #header-chat-title {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #mode-select-header,
html:not(.dark) #dev-studio-btn,
html:not(.dark) #main-header button,
html:not(.dark) #main-header select {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #main-header button:hover,
html:not(.dark) #dev-studio-btn:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #main-header [onclick*="openShortcutsModal"] span {
    background-color: #edebe4 !important;
    color: #52525b !important;
}
html:not(.dark) #export-dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}
html:not(.dark) #export-dropdown-menu button {
    color: #18181b !important;
}
html:not(.dark) #export-dropdown-menu button:hover {
    background-color: #f4f2eb !important;
}

/* Tuning Popover Adaptasi Light Theme Presisi */
html:not(.dark) #tuning-popover,
html:not(.dark) #home-tuning-popover {
    background-color: #ffffff !important;
    border: 1px solid #ded9cd !important;
    color: #18181b !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #tuning-popover .border-b,
html:not(.dark) #home-tuning-popover .border-b {
    border-color: #ede9df !important;
}
html:not(.dark) #tuning-popover .text-gray-100,
html:not(.dark) #home-tuning-popover .text-gray-100,
html:not(.dark) #tuning-popover label,
html:not(.dark) #home-tuning-popover label {
    color: #18181b !important;
}
html:not(.dark) #tuning-popover select,
html:not(.dark) #home-tuning-popover select {
    background-color: #f7f6f2 !important;
    border-color: #dcd7cb !important;
    color: #18181b !important;
}
html:not(.dark) #tuning-popover select option,
html:not(.dark) #home-tuning-popover select option {
    background-color: #ffffff !important;
    color: #18181b !important;
}
html:not(.dark) #tuning-popover .tuning-desc-title,
html:not(.dark) #home-tuning-popover .tuning-desc-title {
    color: #18181b !important;
}
html:not(.dark) #tuning-popover .tuning-desc-row,
html:not(.dark) #home-tuning-popover .tuning-desc-row {
    color: #52525b !important;
}
html:not(.dark) #tuning-popover .tuning-rec-row,
html:not(.dark) #home-tuning-popover .tuning-rec-row {
    color: #b45309 !important;
}
html:not(.dark) #tuning-popover .tuning-rec-label,
html:not(.dark) #home-tuning-popover .tuning-rec-label {
    color: #71717a !important;
}

html:not(.dark) .tuning-single-note {
    color: #71717a !important;
}

html:not(.dark) select:disabled,
html:not(.dark) input:disabled {
    background-color: #f4f4f5 !important;
    border-color: #e4e4e7 !important;
    color: #a1a1aa !important;
    cursor: not-allowed !important;
}

/* 3. Sidebar Kontras Tinggi */
html:not(.dark) #main-sidebar { 
    background-color: #edebe4 !important; 
    border-color: #dcd8cd !important; 
}
html:not(.dark) #main-sidebar div,
html:not(.dark) #main-sidebar span,
html:not(.dark) #main-sidebar a,
html:not(.dark) #main-sidebar button {
    color: #18181b !important;
}
html:not(.dark) #main-sidebar .text-fast-muted,
html:not(.dark) #main-sidebar .text-gray-400,
html:not(.dark) #main-sidebar .text-gray-500,
html:not(.dark) #main-sidebar .font-mono {
    color: #52525b !important;
}
/* Kotak New Chat dan Tombol Sembunyikan Sidebar */
html:not(.dark) #main-sidebar button[onclick*="startNewChat"],
html:not(.dark) #main-sidebar button[onclick*="toggleSidebar"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #main-sidebar button[onclick*="startNewChat"]:hover,
html:not(.dark) #main-sidebar button[onclick*="toggleSidebar"]:hover {
    background-color: #f4f2eb !important;
    border-color: #cfcac0 !important;
}
html:not(.dark) #main-sidebar button[onclick*="startNewChat"] .sidebar-kbd {
    background-color: #f4f2eb !important;
    color: #52525b !important;
    border: 1px solid #dcd8cd !important;
}
/* Bulatan Inisial FA dan Profil Pengguna di Sidebar */
html:not(.dark) #sidebar-user-avatar {
    background-color: #ffffff !important;
    border: 1.5px solid #cfcac0 !important;
    color: #18181b !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}
html:not(.dark) #sidebar-user-name {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #sidebar-user-role {
    color: #71717a !important;
}
html:not(.dark) #user-profile-btn:hover {
    background-color: #ded9cd !important;
}
/* Navigasi Sidebar (Projects, Artifacts, Customize, Pinned, Chat list hover halus bening) */
html:not(.dark) #main-sidebar nav a,
html:not(.dark) #main-sidebar a {
    color: #18181b !important;
}
html:not(.dark) #main-sidebar nav a:hover,
html:not(.dark) #main-sidebar a:hover,
html:not(.dark) #main-sidebar .hover\:bg-fast-hover:hover,
html:not(.dark) #main-sidebar button:not(#btn-new-chat):hover {
    background-color: #ded9cd !important;
    color: #18181b !important;
}
html:not(.dark) #main-sidebar nav a:hover i,
html:not(.dark) #main-sidebar a:hover i,
html:not(.dark) #main-sidebar .hover\:bg-fast-hover:hover i,
html:not(.dark) #main-sidebar button:not(#btn-new-chat):hover i {
    color: #18181b !important;
}
html:not(.dark) #main-sidebar a.bg-fast-hover {
    background-color: #ded9cd !important;
    color: #18181b !important;
}
html:not(.dark) #main-sidebar [data-chat-id] {
    color: #18181b !important;
}
html:not(.dark) #main-sidebar [data-chat-id]:hover {
    background-color: #ded9cd !important;
}
html:not(.dark) #main-sidebar [data-chat-id].bg-\[\#2a2a26\],
html:not(.dark) #main-sidebar [data-chat-id].active,
html:not(.dark) #main-sidebar [data-chat-id].bg-fast-hover {
    background-color: #d8d3c5 !important;
    color: #da6942 !important;
    font-weight: 600 !important;
}
html:not(.dark) #main-sidebar i {
    color: #3f3f46 !important;
}
html:not(.dark) #main-sidebar i.text-fast-accent {
    color: #da6942 !important;
}
html:not(.dark) #main-sidebar i.text-amber-400 {
    color: #d97706 !important;
}
html:not(.dark) #sidebar-profile-card,
html:not(.dark) #user-profile-menu-btn {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

/* 4. Sidebar Filter Dropdown & Sub-Menu Flyouts */
html:not(.dark) #chats-filter-dropdown,
html:not(.dark) #sub-type,
html:not(.dark) #sub-status,
html:not(.dark) #sub-activity,
html:not(.dark) #sub-group,
html:not(.dark) #sub-sort,
html:not(.dark) #sub-groupby,
html:not(.dark) #sub-sortby {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}
html:not(.dark) #chats-filter-dropdown *,
html:not(.dark) #sub-type *,
html:not(.dark) #sub-status *,
html:not(.dark) #sub-activity *,
html:not(.dark) #sub-group *,
html:not(.dark) #sub-sort *,
html:not(.dark) #sub-groupby *,
html:not(.dark) #sub-sortby * {
    color: #18181b !important;
}
html:not(.dark) #chats-filter-dropdown [onclick]:hover,
html:not(.dark) #chats-filter-dropdown .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-type [onclick]:hover,
html:not(.dark) #sub-type .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-status [onclick]:hover,
html:not(.dark) #sub-status .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-activity [onclick]:hover,
html:not(.dark) #sub-activity .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-group [onclick]:hover,
html:not(.dark) #sub-group .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-sort [onclick]:hover,
html:not(.dark) #sub-sort .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-groupby [onclick]:hover,
html:not(.dark) #sub-groupby .hover\:bg-\[\#32322e\]:hover,
html:not(.dark) #sub-sortby [onclick]:hover,
html:not(.dark) #sub-sortby .hover\:bg-\[\#32322e\]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #chats-filter-dropdown .border-t,
html:not(.dark) #chats-filter-dropdown .border-\[\#383834\],
html:not(.dark) #sub-group .border-t,
html:not(.dark) #sub-group .border-\[\#383834\],
html:not(.dark) #sub-sort .border-\[\#383834\] {
    border-color: #edebe4 !important;
}

/* 5. Floating Composer & Area Obrolan Mengambang */
html:not(.dark) .chat-floating-bar-wrapper {
    background: linear-gradient(to top, #f7f6f2 65%, rgba(247, 246, 242, 0.85) 85%, transparent) !important;
    border: none !important;
}
html:not(.dark) .chat-composer-container .bg-fast-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #chat-input,
html:not(.dark) #main-prompt-input,
html:not(.dark) #project-chat-input {
    color: #111827 !important;
}
html:not(.dark) #chat-input::placeholder,
html:not(.dark) #main-prompt-input::placeholder,
html:not(.dark) #project-chat-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #chat-model-select,
html:not(.dark) #main-model-select {
    color: #3f3f46 !important;
}

/* 6. Gelembung Pesan Pengguna (User Message Bubble) */
html:not(.dark) #chat-thread .bg-fast-card,
html:not(.dark) #chat-thread [data-raw-content] .bg-fast-card,
html:not(.dark) #project-chat-thread-body .bg-fast-accent\/10 {
    background-color: #f0ede6 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #chat-thread .bg-fast-card *,
html:not(.dark) #chat-thread [data-raw-content] *,
html:not(.dark) #project-chat-thread-body .bg-fast-accent\/10 * {
    color: #18181b !important;
}
html:not(.dark) #chat-thread .text-gray-100 {
    color: #18181b !important;
}

/* 7. Markdown Teks Asisten, Headings & Tipografi */
html:not(.dark) .prose,
html:not(.dark) .prose-invert {
    --tw-prose-body: #18181b !important;
    --tw-prose-headings: #18181b !important;
    --tw-prose-lead: #52525b !important;
    --tw-prose-links: #da6942 !important;
    --tw-prose-bold: #18181b !important;
    --tw-prose-counters: #52525b !important;
    --tw-prose-bullets: #71717a !important;
    --tw-prose-hr: #e4e0d5 !important;
    --tw-prose-quotes: #18181b !important;
    --tw-prose-quote-borders: #da6942 !important;
    --tw-prose-captions: #71717a !important;
    --tw-prose-code: #18181b !important;
    --tw-prose-pre-code: #18181b !important;
    --tw-prose-pre-bg: #f4f2eb !important;
    --tw-prose-th-borders: #dcd8cd !important;
    --tw-prose-td-borders: #edebe4 !important;
    --tw-prose-invert-body: #18181b !important;
    --tw-prose-invert-headings: #18181b !important;
    --tw-prose-invert-lead: #52525b !important;
    --tw-prose-invert-links: #da6942 !important;
    --tw-prose-invert-bold: #18181b !important;
    --tw-prose-invert-counters: #52525b !important;
    --tw-prose-invert-bullets: #71717a !important;
    --tw-prose-invert-hr: #e4e0d5 !important;
    --tw-prose-invert-quotes: #18181b !important;
    --tw-prose-invert-quote-borders: #da6942 !important;
    --tw-prose-invert-captions: #71717a !important;
    --tw-prose-invert-code: #18181b !important;
    --tw-prose-invert-pre-code: #18181b !important;
    --tw-prose-invert-pre-bg: #f4f2eb !important;
    --tw-prose-invert-th-borders: #dcd8cd !important;
    --tw-prose-invert-td-borders: #edebe4 !important;
}
html:not(.dark) ::selection {
    background-color: #fed7aa !important;
    color: #18181b !important;
}
html:not(.dark) #chat-thread .prose,
html:not(.dark) #chat-thread .prose-invert,
html:not(.dark) #project-chat-thread-body .prose,
html:not(.dark) .message-assistant-body,
html:not(.dark) .project-content-text,
html:not(.dark) .mobile-msg-ai {
    color: #18181b !important;
}
html:not(.dark) .prose h1, html:not(.dark) .mobile-msg-ai h1, html:not(.dark) .project-content-text h1,
html:not(.dark) .prose h2, html:not(.dark) .mobile-msg-ai h2, html:not(.dark) .project-content-text h2,
html:not(.dark) .prose h3, html:not(.dark) .mobile-msg-ai h3, html:not(.dark) .project-content-text h3,
html:not(.dark) .prose h4, html:not(.dark) .mobile-msg-ai h4, html:not(.dark) .project-content-text h4,
html:not(.dark) .prose-invert h1, html:not(.dark) .prose-invert h2,
html:not(.dark) .prose-invert h3, html:not(.dark) .prose-invert h4 {
    color: #111827 !important;
    font-weight: 700 !important;
}
html:not(.dark) .prose p,
html:not(.dark) .prose span,
html:not(.dark) .prose li,
html:not(.dark) .prose ul,
html:not(.dark) .prose ol,
html:not(.dark) .prose strong,
html:not(.dark) .prose-invert p,
html:not(.dark) .prose-invert span,
html:not(.dark) .prose-invert li,
html:not(.dark) .prose-invert ul,
html:not(.dark) .prose-invert ol,
html:not(.dark) .prose-invert strong {
    color: #18181b !important;
}
html:not(.dark) .prose blockquote,
html:not(.dark) .prose-invert blockquote {
    background-color: #faf5f0 !important;
    color: #18181b !important;
    border-left: 3px solid #da6942 !important;
}
html:not(.dark) .prose-invert pre,
html:not(.dark) .prose pre {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) .prose-invert pre code,
html:not(.dark) .prose pre code {
    color: #1f2937 !important;
}
html:not(.dark) .prose-invert code:not(pre code),
html:not(.dark) .prose :not(pre) > code {
    background-color: #eae6dc !important;
    color: #b45309 !important;
    border: 1px solid #ded9cd !important;
}

/* 8. Format Tabel Markdown Terang & Responsif (Minimalis Modern Tanpa Pembatas Kaku) */
html:not(.dark) .table-responsive-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html:not(.dark) table,
html:not(.dark) .prose table,
html:not(.dark) .mobile-msg-ai table,
html:not(.dark) .project-content-text table,
html:not(.dark) .table-interactive-form {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
}
html:not(.dark) thead,
html:not(.dark) .prose thead,
html:not(.dark) .table-interactive-form thead {
    background-color: transparent !important;
    border: none !important;
}
html:not(.dark) th,
html:not(.dark) th *,
html:not(.dark) thead th,
html:not(.dark) thead th *,
html:not(.dark) table th,
html:not(.dark) table th *,
html:not(.dark) table thead th,
html:not(.dark) table thead th *,
html:not(.dark) .prose th,
html:not(.dark) .prose th *,
html:not(.dark) .prose thead th,
html:not(.dark) .prose thead th *,
html:not(.dark) .prose-invert th,
html:not(.dark) .prose-invert th *,
html:not(.dark) .prose-invert thead th,
html:not(.dark) .prose-invert thead th *,
html:not(.dark) .mobile-msg-ai th,
html:not(.dark) .mobile-msg-ai th *,
html:not(.dark) .mobile-msg-ai thead th,
html:not(.dark) .mobile-msg-ai thead th *,
html:not(.dark) .project-content-text th,
html:not(.dark) .project-content-text th *,
html:not(.dark) .project-content-text thead th,
html:not(.dark) .project-content-text thead th *,
html:not(.dark) .table-interactive-form th,
html:not(.dark) .table-interactive-form th *,
html:not(.dark) .table-interactive-form thead th,
html:not(.dark) .table-interactive-form thead th *,
html:not(.dark) .table-form-th,
html:not(.dark) .table-form-th *,
html:not(.dark) .table-interactive-th,
html:not(.dark) .table-interactive-th * {
    background-color: #edebe4 !important;
    color: #18181b !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #dcd8cd !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}
html:not(.dark) .text-\[\#e0e0ce\],
html:not(.dark) #chat-thread .text-\[\#e0e0ce\],
html:not(.dark) .prose.text-\[\#e0e0ce\] {
    color: #18181b !important;
}
html:not(.dark) td,
html:not(.dark) td *,
html:not(.dark) table td,
html:not(.dark) .prose td,
html:not(.dark) .mobile-msg-ai td,
html:not(.dark) .project-content-text td,
html:not(.dark) .table-interactive-form td {
    color: #18181b !important;
    background-color: transparent !important;
    border-bottom: 1px solid #edebe4 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}
html:not(.dark) tr:last-child td,
html:not(.dark) .prose tr:last-child td,
html:not(.dark) .table-interactive-form tr:last-child td {
    border-bottom: none !important;
}
html:not(.dark) tbody tr:nth-child(even),
html:not(.dark) .prose tbody tr:nth-child(even),
html:not(.dark) .mobile-msg-ai tbody tr:nth-child(even),
html:not(.dark) .project-content-text tbody tr:nth-child(even),
html:not(.dark) .table-interactive-form tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02) !important;
}
html:not(.dark) tbody tr:hover,
html:not(.dark) .prose tbody tr:hover,
html:not(.dark) .mobile-msg-ai tbody tr:hover,
html:not(.dark) .project-content-text tbody tr:hover,
html:not(.dark) .table-interactive-form tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

/* Kolom Jawaban & Formulir Interaktif */
html:not(.dark) .table-form-input,
html:not(.dark) textarea.table-form-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) .table-form-input::placeholder,
html:not(.dark) textarea.table-form-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) .table-form-input:focus,
html:not(.dark) textarea.table-form-input:focus {
    background-color: #ffffff !important;
    border-color: #da6942 !important;
    box-shadow: 0 0 0 2px rgba(218, 105, 66, 0.2) !important;
}
html:not(.dark) .table-form-action-wrapper {
    border-top: 1px solid #e4e0d5 !important;
}
html:not(.dark) .table-form-action-wrapper span {
    color: #52525b !important;
}
html:not(.dark) .btn-submit-table-form {
    background-color: #da6942 !important;
    color: #ffffff !important;
}
html:not(.dark) .btn-submit-table-form * {
    color: #ffffff !important;
}

/* 9. Accordion Penalaran (Thinking) & Blok Kode */
html:not(.dark) .thinking-accordion {
    background-color: #edebe4 !important;
    border-color: #dcd8cd !important;
}
html:not(.dark) .thinking-label {
    color: #27272a !important;
    font-weight: 600 !important;
}
html:not(.dark) .thinking-body {
    background-color: #fdfcfb !important;
    color: #3f3f46 !important;
    border-color: #dcd8cd !important;
}
html:not(.dark) .code-accordion {
    background-color: #f4f2eb !important;
    border-color: #dcd8cd !important;
}
html:not(.dark) .code-accordion summary {
    background-color: #eae6dc !important;
    color: #27272a !important;
}
html:not(.dark) .code-accordion div {
    background-color: #ffffff !important;
    border-color: #dcd8cd !important;
    color: #1f2937 !important;
}

/* 10. Tombol Aksi di Bawah Pesan Asisten */
html:not(.dark) .assistant-action-bar,
html:not(.dark) .assistant-action-bar button {
    color: #52525b !important;
}
html:not(.dark) .assistant-action-bar button:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}

/* 11. Action Menu (+) Popover & Flyout Submenu */
html:not(.dark) #action-menu-popover {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}
html:not(.dark) #action-menu-popover button,
html:not(.dark) #action-menu-popover span {
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover button:hover,
html:not(.dark) #action-menu-popover [data-am-action]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
/* Baris Web Search di Popover Menu (+) */
html:not(.dark) #action-menu-popover [data-am-action="toggle-web"] {
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover [data-am-action="toggle-web"]:hover {
    background-color: #f4f2eb !important;
}
html:not(.dark) #action-menu-popover [data-am-action="toggle-web"] span {
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover [data-am-action="toggle-web"] .bg-fast-border {
    background-color: #dcd8cd !important;
}
html:not(.dark) #action-menu-popover [data-am-action="toggle-web"] .bg-emerald-500\/80 {
    background-color: #10b981 !important;
}
/* Opsi flyout submenu item */
html:not(.dark) #action-menu-popover [data-am-action="pick"] {
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover [data-am-action="pick"]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover [data-am-action="clear-project"] {
    color: #b45309 !important;
}
html:not(.dark) #action-menu-popover [data-am-action="clear-project"]:hover {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}
html:not(.dark) #action-menu-popover [data-am-action="add-files"] span.font-mono {
    background-color: #edebe4 !important;
    color: #52525b !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #action-menu-popover .group\/sub > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    color: #18181b !important;
}
html:not(.dark) #action-menu-popover .group\/sub > div * {
    color: #18181b !important;
}

/* 12. Halaman Beranda (Home View) */
html:not(.dark) #view-home h1 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #view-home .bg-fast-card\/60,
html:not(.dark) #view-home .bg-fast-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}
html:not(.dark) #home-tuning-btn,
html:not(.dark) #view-home button {
    color: #3f3f46 !important;
}
html:not(.dark) #view-home button:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #view-home button[onclick*="openShortcutsModal"],
html:not(.dark) #view-home .home-shortcut-btn {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #3f3f46 !important;
}
html:not(.dark) #view-home button[onclick*="openShortcutsModal"]:hover,
html:not(.dark) #view-home .home-shortcut-btn:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #view-home button[onclick*="openShortcutsModal"] span,
html:not(.dark) #view-home .home-shortcut-pill,
html:not(.dark) #view-home .bg-fast-bg {
    background-color: #edebe4 !important;
    color: #52525b !important;
    border: 1px solid #dcd8cd !important;
}
/* Model & Mode Selector Pill di Halaman Home */
html:not(.dark) #view-home .bg-\[\#1a1a18\]\/60,
html:not(.dark) #view-home .border-\[\#2e2e2a\]\/50,
html:not(.dark) #view-home .home-model-pill-container {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #view-home #mode-select-main,
html:not(.dark) #view-home #main-model-select {
    color: #18181b !important;
    font-weight: 500 !important;
}
html:not(.dark) #view-home #mode-select-main:hover,
html:not(.dark) #view-home #main-model-select:hover {
    color: #da6942 !important;
}
html:not(.dark) #view-home #mode-select-main option,
html:not(.dark) #view-home #main-model-select option,
html:not(.dark) #view-home select option {
    background-color: #ffffff !important;
    color: #18181b !important;
}
html:not(.dark) #view-home .text-\[\#383834\] {
    color: #cfcac0 !important;
}
/* Tombol Send di Halaman Home Tetap Oranye Solid Kontras */
html:not(.dark) #view-home #main-send-btn {
    background-color: #da6942 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(218, 105, 66, 0.3) !important;
}
html:not(.dark) #view-home #main-send-btn:hover {
    background-color: #c85a35 !important;
    color: #ffffff !important;
}
html:not(.dark) #view-home #main-send-btn i {
    color: #ffffff !important;
}
html:not(.dark) #home-tuning-popover {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}
html:not(.dark) #home-tuning-popover * {
    color: #18181b !important;
}

/* 13. Halaman Semua Obrolan (Chats Catalog View) */
html:not(.dark) #view-chats-all h1 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #view-chats-all input[type="text"] {
    color: #18181b !important;
}
html:not(.dark) #view-chats-all .bg-fast-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #chats-all-list > div,
html:not(.dark) #view-chats-all .bg-\[\#242421\] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #chats-all-list h4,
html:not(.dark) #view-chats-all h4 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #chats-all-list span,
html:not(.dark) #view-chats-all span {
    color: #52525b !important;
}
html:not(.dark) #chats-all-list span.font-mono {
    color: #71717a !important;
}
html:not(.dark) #chats-all-list [onclick*="triggerChatMenu"] {
    color: #52525b !important;
}
html:not(.dark) #chats-all-list [onclick*="triggerChatMenu"]:hover {
    color: #18181b !important;
    background-color: #f4f2eb !important;
}
html:not(.dark) #page-chats-filter-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}
html:not(.dark) #page-chats-filter-dropdown button {
    color: #18181b !important;
}
html:not(.dark) #page-chats-filter-dropdown button:hover,
html:not(.dark) #page-chats-filter-dropdown .hover\:bg-\[\#2a2a26\]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #page-chats-filter-dropdown .text-fast-muted {
    color: #71717a !important;
}
html:not(.dark) #page-chats-filter-dropdown .border-t,
html:not(.dark) #page-chats-filter-dropdown .border-\[\#383834\] {
    border-color: #edebe4 !important;
}

/* 14. Halaman Katalog Proyek (Projects View) */
html:not(.dark) #projects-catalog-view h1 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #projects-catalog-view button {
    color: #3f3f46 !important;
}
html:not(.dark) #projects-catalog-view .bg-\[\#1b1b19\] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #projects-catalog-view h3 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #projects-catalog-view .text-gray-400,
html:not(.dark) #projects-catalog-view .text-fast-muted {
    color: #52525b !important;
}
html:not(.dark) #projects-catalog-view .border-t {
    border-color: #edebe4 !important;
}

/* Pencarian & Tombol di Toolbar Katalog Proyek */
html:not(.dark) #project-search-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-search-input::placeholder {
    color: #a1a1aa !important;
}
html:not(.dark) #projects-catalog-view button[title="Urutkan"] {
    color: #52525b !important;
}
html:not(.dark) #projects-catalog-view button[title="Urutkan"]:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}

/* Tombol Select / Batal di Katalog Proyek */
html:not(.dark) #project-select-btn {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-select-btn:hover {
    background-color: #e5e2d9 !important;
    color: #18181b !important;
}
html:not(.dark) #project-select-btn[class*="bg-red-500"],
html:not(.dark) #project-select-btn[class*="border-red"] {
    background-color: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}

/* Floating Action Bar Seleksi Proyek (#project-bulk-action-bar) */
html:not(.dark) #project-bulk-action-bar {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    color: #18181b !important;
}
html:not(.dark) #project-bulk-action-bar,
html:not(.dark) #project-bulk-action-bar div,
html:not(.dark) #project-bulk-action-bar span:not(#project-selected-count) {
    color: #18181b !important;
}
html:not(.dark) #project-selected-count {
    color: #da6942 !important;
}
html:not(.dark) #project-bulk-action-bar button:not([class*="bg-red"]) {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-bulk-action-bar button:not([class*="bg-red"]):hover {
    background-color: #e5e2d9 !important;
    color: #18181b !important;
}

/* Hover Kartu Proyek */
html:not(.dark) #projects-grid-list > div:hover {
    background-color: #fbfaf7 !important;
}

/* Universal Context Dropdown (Menu Titik Tiga Proyek & Obrolan) */
html:not(.dark) #universal-context-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    color: #18181b !important;
}
html:not(.dark) #universal-context-dropdown button {
    color: #18181b !important;
}
html:not(.dark) #universal-context-dropdown button:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #universal-context-dropdown button[class*="text-red"] {
    color: #dc2626 !important;
}
html:not(.dark) #universal-context-dropdown button[class*="text-red"]:hover {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
}

/* 14B. Project Workspace View & Project Chat View */
html:not(.dark) #project-workspace-view,
html:not(.dark) #project-chat-view {
    background-color: #f7f6f2 !important;
    color: #18181b !important;
}

/* Header Project Workspace */
html:not(.dark) #project-workspace-view .border-b,
html:not(.dark) #project-chat-view .border-b {
    border-color: #edebe4 !important;
}
html:not(.dark) #project-title-display {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #project-scope-label {
    color: #da6942 !important;
    font-weight: 600 !important;
}

/* Cards di Kolom Kiri & Kanan Workspace */
html:not(.dark) #project-workspace-view .bg-fast-card\/40,
html:not(.dark) #project-workspace-view .bg-fast-card\/30,
html:not(.dark) #project-workspace-view .col-span-7 > div,
html:not(.dark) #project-workspace-view .col-span-5 > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    color: #18181b !important;
}
html:not(.dark) #project-workspace-view h3,
html:not(.dark) #project-workspace-view .text-gray-200,
html:not(.dark) #project-workspace-view .text-gray-300 {
    color: #18181b !important;
    font-weight: 600 !important;
}

/* Textarea Perintah Proyek */
html:not(.dark) #project-prompt-input {
    background-color: #faf9f5 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-prompt-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #project-model-select {
    color: #3f3f46 !important;
}
html:not(.dark) #project-workspace-view .border-t {
    border-color: #edebe4 !important;
}

/* Riwayat Obrolan Proyek Ini */
html:not(.dark) #project-chats-list > div {
    background-color: #faf9f6 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #project-chats-list > div:hover {
    background-color: #ded9cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-chats-list > div.bg-\[\#2a2a26\],
html:not(.dark) #project-chats-list > div[data-chat-id].active {
    background-color: #d8d3c5 !important;
    color: #da6942 !important;
    font-weight: 600 !important;
}
html:not(.dark) #project-chats-list .proj-chat-menu-btn {
    color: #52525b !important;
}
html:not(.dark) #project-chats-list .proj-chat-menu-btn:hover {
    color: #18181b !important;
    background-color: #ded9cd !important;
}

/* Instructions & Context Vault */
html:not(.dark) #instructions-view-mode {
    background-color: #faf9f5 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #project-instructions-input {
    background-color: #faf9f5 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #project-context-grid > div {
    background-color: #faf9f5 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #project-context-grid > div:hover {
    border-color: #cfcac0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #project-context-grid .text-gray-200 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #project-context-grid .text-fast-muted {
    color: #52525b !important;
    border-color: #dcd8cd !important;
}

/* 2. RUANG OBROLAN PROYEK (#project-chat-view) */
html:not(.dark) #project-chat-view button[onclick*="backToProjectWorkspace"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #da6942 !important;
}
html:not(.dark) #project-chat-view button[onclick*="backToProjectWorkspace"]:hover {
    background-color: #f4f2eb !important;
}
html:not(.dark) #project-active-chat-title {
    color: #18181b !important;
    font-weight: 600 !important;
}

/* Container Thread Obrolan Proyek */
html:not(.dark) #project-chat-view .bg-fast-card\/20 {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
}

/* Gelembung Pesan Obrolan Proyek */
html:not(.dark) #project-chat-thread-body .bg-fast-bg\/80 {
    background-color: #f7f6f2 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #project-chat-thread-body .bg-fast-bg\/80 .text-gray-200,
html:not(.dark) #project-chat-thread-body .bg-fast-bg\/80 .leading-relaxed {
    color: #18181b !important;
}
html:not(.dark) #project-chat-thread-body .assistant-action-bar {
    border-color: #edebe4 !important;
    color: #52525b !important;
}
html:not(.dark) #project-chat-thread-body .assistant-action-bar button {
    color: #52525b !important;
}
html:not(.dark) #project-chat-thread-body .assistant-action-bar button:hover {
    color: #18181b !important;
    background-color: #f4f2eb !important;
}

/* Input Bar Bawah Obrolan Proyek */
html:not(.dark) #project-chat-view .bg-fast-card.border.border-fast-border.rounded-2xl {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}
html:not(.dark) #project-chat-input {
    background-color: transparent !important;
    color: #18181b !important;
}
html:not(.dark) #project-chat-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #project-chat-view .border-t {
    border-color: #edebe4 !important;
}
html:not(.dark) #project-chat-view .action-menu-btn {
    color: #52525b !important;
}
html:not(.dark) #project-chat-view .action-menu-btn:hover {
    color: #18181b !important;
    background-color: #f4f2eb !important;
}
html:not(.dark) #project-chat-model-select {
    color: #3f3f46 !important;
}

/* Sidebar Ringkas Obrolan Proyek */
html:not(.dark) #project-chat-view .w-72 .bg-fast-card\/40 {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #compact-instructions-text {
    color: #3f3f46 !important;
}
html:not(.dark) #compact-vault-grid > div {
    background-color: #faf9f5 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #compact-vault-grid > div .text-fast-muted {
    color: #71717a !important;
}

/* 15. Halaman Kustomisasi (Customize View) */
html:not(.dark) #view-customize {
    background-color: #f7f6f2 !important;
    color: #18181b !important;
}
html:not(.dark) #view-customize > div.sticky,
html:not(.dark) #view-customize .sticky {
    background-color: rgba(247, 246, 242, 0.95) !important;
    border-bottom: 1px solid #e4e0d5 !important;
}
/* Banner pemberitahuan role pembatasan di Customize View */
html:not(.dark) #customize-role-notice {
    background-color: #fefce8 !important;
    border: 1px solid #fde047 !important;
    color: #92400e !important;
    font-weight: 500 !important;
}
html:not(.dark) #view-customize h1,
html:not(.dark) #view-customize h2,
html:not(.dark) #view-customize h3 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #view-customize .bg-\[\#1e1e1c\] {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #view-customize .cat-pill,
html:not(.dark) #view-customize .lens-pill {
    color: #52525b !important;
}
html:not(.dark) #view-customize .cat-pill.active,
html:not(.dark) #view-customize .lens-pill.active {
    background-color: #ffffff !important;
    color: #da6942 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}
html:not(.dark) #view-customize #customize-search-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #view-customize #customize-search-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #view-customize button[onclick*="toggleFilterDrawer"],
html:not(.dark) #view-customize button[onclick*="toggleSortOrder"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #3f3f46 !important;
}
html:not(.dark) #view-customize [onclick*="toggleAddDropdown"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
}
html:not(.dark) #view-customize [onclick*="toggleAddDropdown"] * {
    color: #ffffff !important;
}
html:not(.dark) #add-menu-popover {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}
html:not(.dark) #add-menu-popover * {
    color: #18181b !important;
}
html:not(.dark) #add-menu-popover button:hover {
    background-color: #f4f2eb !important;
}

/* Bagian Installed & Created by You (Tab Yours) */
html:not(.dark) #view-customize .bg-\[\#191917\]\/50,
html:not(.dark) #view-customize [class*="bg-[#191917]"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #view-customize .divide-\[\#242421\] > * {
    border-color: #edebe4 !important;
}
html:not(.dark) #view-customize .border-\[\#242421\],
html:not(.dark) #view-customize .border-\[\#2e2e2a\],
html:not(.dark) #view-customize .border-\[\#262624\],
html:not(.dark) #view-customize .border-\[\#282825\] {
    border-color: #dcd8cd !important;
}
html:not(.dark) #view-customize .hover\:bg-\[\#1f1f1d\]:hover,
html:not(.dark) #view-customize .hover\:bg-\[\#20201d\]:hover {
    background-color: #faf9f6 !important;
}
html:not(.dark) #view-customize .bg-\[\#242421\],
html:not(.dark) #view-customize .bg-\[\#181816\] {
    background-color: #f4f3ef !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #view-customize .bg-\[\#262624\] {
    background-color: #edebe4 !important;
    border: 1px solid #d5d0c3 !important;
    color: #27272a !important;
    font-weight: 500 !important;
}
html:not(.dark) #view-customize h3.text-gray-300,
html:not(.dark) #view-customize h3.text-gray-400,
html:not(.dark) #view-customize h3 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #view-customize .text-gray-100,
html:not(.dark) #view-customize span.text-gray-100,
html:not(.dark) #view-customize div.text-gray-100,
html:not(.dark) #view-customize .text-gray-200,
html:not(.dark) #view-customize .plugin-title {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #view-customize p.text-gray-400 {
    color: #3f3f46 !important;
}
html:not(.dark) #view-customize button.text-red-400 {
    color: #dc2626 !important;
}
html:not(.dark) #view-customize button.text-red-400:hover {
    background-color: #fef2f2 !important;
}
html:not(.dark) #fast-system-hub-banner,
html:not(.dark) #view-customize .bg-\[\#1b1b19\] {
    background: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    color: #18181b !important;
}
html:not(.dark) #fast-zip-dropzone {
    background-color: #faf9f5 !important;
    border-color: #c8c2b4 !important;
    color: #18181b !important;
}
html:not(.dark) #fast-zip-dropzone * {
    color: #18181b !important;
}
html:not(.dark) #view-customize .text-gray-400 {
    color: #52525b !important;
}

/* 16. Modal Pengaturan Master (Settings Modal) */
html:not(.dark) #fast-master-settings-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .md\:w-60 {
    background-color: #edebe4 !important;
    border-color: #dcd8cd !important;
}
html:not(.dark) #fast-master-settings-modal .settings-nav-btn {
    color: #3f3f46 !important;
}
html:not(.dark) #fast-master-settings-modal .settings-nav-btn:hover {
    background-color: #ded9cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .settings-nav-btn.bg-\[\#252522\] {
    background-color: #d8d3c5 !important;
    color: #da6942 !important;
    font-weight: 600 !important;
}
html:not(.dark) #fast-master-settings-modal #settings-search-nav {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal #settings-search-nav::placeholder {
    color: #71717a !important;
}
html:not(.dark) #fast-master-settings-modal .flex-1.bg-\[\#181816\] {
    background-color: #faf9f5 !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal h3,
html:not(.dark) #fast-master-settings-modal h4 {
    color: #111827 !important;
    font-weight: 600 !important;
}
html:not(.dark) #fast-master-settings-modal .text-gray-100,
html:not(.dark) #fast-master-settings-modal .text-gray-200,
html:not(.dark) #fast-master-settings-modal .text-gray-300 {
    color: #1f2937 !important;
}
html:not(.dark) #fast-master-settings-modal .text-gray-400,
html:not(.dark) #fast-master-settings-modal .text-gray-500 {
    color: #52525b !important;
}
html:not(.dark) #fast-master-settings-modal .border-\[\#252522\],
html:not(.dark) #fast-master-settings-modal .border-\[\#2b2b28\],
html:not(.dark) #fast-master-settings-modal .border-\[\#232320\] {
    border-color: #e4e0d5 !important;
}
html:not(.dark) #fast-master-settings-modal select,
html:not(.dark) #fast-master-settings-modal input[type="text"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .bg-\[\#131312\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#141413\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#181816\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#1a1a18\] {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #fast-master-settings-modal .bg-\[\#252522\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#262623\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#20201d\] {
    background-color: #ded9cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .bg-\[\#262623\].text-white {
    background-color: #ffffff !important;
    color: #da6942 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* 17. Kartu Metrik Developer (Sisa Requests, Sisa Tokens, Reset Req, Reset Token) */
html:not(.dark) .metrics-grid > div,
html:not(.dark) .metric-box {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) .metrics-grid .metric-lbl,
html:not(.dark) .metrics-grid .text-gray-500,
html:not(.dark) .metrics-grid .text-gray-400 {
    color: #52525b !important;
    font-weight: 600 !important;
}
html:not(.dark) .metrics-grid .metric-val,
html:not(.dark) .metrics-grid .text-gray-200,
html:not(.dark) .metrics-grid .text-gray-100 {
    color: #18181b !important;
    font-weight: 700 !important;
}

/* 18. Kartu Download Dokumen & Trigger Artefak di Chat (Desktop & Mobile) */
html:not(.dark) .generated-doc-card,
html:not(.dark) .artifact-trigger-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) .generated-doc-card:hover,
html:not(.dark) .artifact-trigger-card:hover {
    border-color: #da6942 !important;
    box-shadow: 0 4px 12px rgba(218, 105, 66, 0.12) !important;
}
html:not(.dark) .generated-doc-card .text-gray-200,
html:not(.dark) .artifact-trigger-card .text-gray-200 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) .generated-doc-card .text-fast-muted,
html:not(.dark) .artifact-trigger-card .text-fast-muted {
    color: #71717a !important;
}
html:not(.dark) .generated-doc-card .bg-fast-bg {
    background-color: #faf9f6 !important;
    border-color: #edebe4 !important;
    color: #52525b !important;
}
html:not(.dark) .generated-doc-card button[data-act="save-as"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) .generated-doc-card button[data-act="save-as"]:hover {
    background-color: #edebe4 !important;
    border-color: #cfcac0 !important;
}
html:not(.dark) .generated-doc-card button[data-act="download"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
}
html:not(.dark) .generated-doc-card button[data-act="download"] i,
html:not(.dark) .generated-doc-card button[data-act="download"] span {
    color: #ffffff !important;
}

/* 18B. Halaman Katalog Artefak (Artifacts View) */
html:not(.dark) #view-artifacts {
    background-color: #f7f6f2 !important;
    color: #18181b !important;
}
html:not(.dark) #view-artifacts .sticky.top-0 {
    background-color: rgba(247, 246, 242, 0.95) !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #view-artifacts h1 {
    color: #18181b !important;
}
html:not(.dark) #view-artifacts .bg-\[\#1e1e1c\] {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #view-artifacts .art-pill {
    color: #52525b !important;
}
html:not(.dark) #view-artifacts .art-pill:hover {
    color: #18181b !important;
}
html:not(.dark) #view-artifacts .art-pill.active {
    background-color: #ffffff !important;
    color: #18181b !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
html:not(.dark) #artifacts-search-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #artifacts-search-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #view-artifacts button[onclick*="toggleArtifactLayout"],
html:not(.dark) #view-artifacts button[onclick*="sortArtifactsList"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #3f3f46 !important;
}
html:not(.dark) #view-artifacts button[onclick*="toggleArtifactLayout"]:hover,
html:not(.dark) #view-artifacts button[onclick*="sortArtifactsList"]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #view-artifacts button[onclick*="createNewBlankArtifact"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
}
html:not(.dark) #view-artifacts button[onclick*="createNewBlankArtifact"] * {
    color: #ffffff !important;
}

/* List View Container Artefak */
html:not(.dark) #view-artifacts .bg-\[\#191917\]\/50 {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #view-artifacts .divide-\[\#242421\] > * {
    border-color: #edebe4 !important;
}
html:not(.dark) #view-artifacts .hover\:bg-\[\#1f1f1d\]:hover {
    background-color: #f4f2eb !important;
}
html:not(.dark) #view-artifacts [id^="artifact-row-"] {
    border-color: #edebe4 !important;
}
html:not(.dark) #view-artifacts [id^="artifact-row-"]:hover {
    background-color: #f4f2eb !important;
}
html:not(.dark) #view-artifacts [id^="art-title-text-"] {
    color: #18181b !important;
}
html:not(.dark) #view-artifacts .bg-\[\#242421\] {
    background-color: #faf9f6 !important;
    border: 1px solid #edebe4 !important;
}
html:not(.dark) #view-artifacts .text-gray-200 {
    color: #18181b !important;
}
html:not(.dark) #view-artifacts .text-gray-400,
html:not(.dark) #view-artifacts .text-gray-500 {
    color: #71717a !important;
}
html:not(.dark) #view-artifacts [onclick*="toggleCanvasActionMenu"] {
    color: #71717a !important;
}
html:not(.dark) #view-artifacts [onclick*="toggleCanvasActionMenu"]:hover {
    color: #18181b !important;
}

/* Grid View Cards Artefak */
html:not(.dark) #view-artifacts .grid [id^="artifact-card-"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #view-artifacts .grid [id^="artifact-card-"]:hover {
    border-color: #da6942 !important;
    box-shadow: 0 6px 16px rgba(218, 105, 66, 0.12) !important;
}
html:not(.dark) #view-artifacts .grid [id^="artifact-card-"] .border-t {
    border-color: #edebe4 !important;
}

/* 18C. Panel Canvas Artifacts & Fullscreen Artifact */
html:not(.dark) #canvas-panel {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: #dcd8cd !important;
    color: #18181b !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12) !important;
}
html:not(.dark) #canvas-panel .bg-fast-card\/60 {
    background-color: #faf9f6 !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #canvas-filename {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #canvas-panel .bg-fast-bg {
    background-color: #f4f2eb !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #canvas-tab-group button {
    color: #52525b !important;
}
html:not(.dark) #canvas-tab-group button:hover {
    color: #18181b !important;
}
html:not(.dark) #canvas-tab-group button.active,
html:not(.dark) #canvas-tab-group button.bg-fast-card {
    background-color: #ffffff !important;
    color: #da6942 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}
html:not(.dark) #canvas-panel .bg-\[\#121211\] {
    background-color: #faf9f6 !important;
}
html:not(.dark) #canvas-html-input,
html:not(.dark) #canvas-css-input,
html:not(.dark) #canvas-js-input,
html:not(.dark) #canvas-python-input {
    background-color: #ffffff !important;
    color: #18181b !important;
    border: 1px solid #edebe4 !important;
}
html:not(.dark) #canvas-panel .border-t.border-fast-border.bg-\[\#181816\] {
    background-color: #f4f2eb !important;
    border-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #canvas-panel #canvas-console-output {
    color: #27272a !important;
}
html:not(.dark) #canvas-export-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}
html:not(.dark) #canvas-export-dropdown button {
    color: #18181b !important;
}
html:not(.dark) #canvas-export-dropdown button:hover {
    background-color: #f4f2eb !important;
}

/* Fullscreen Artifact View (#view-artifact-fullscreen) */
html:not(.dark) #view-artifact-fullscreen {
    background-color: #f7f6f2 !important;
    color: #18181b !important;
}
html:not(.dark) #view-artifact-fullscreen .h-14 {
    background-color: #ffffff !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #view-artifact-fullscreen button[onclick*="closeFullscreenArtifact"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #view-artifact-fullscreen #fs-artifact-title {
    color: #18181b !important;
}
html:not(.dark) #view-artifact-fullscreen #fs-back-to-chat-btn {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #da6942 !important;
}
html:not(.dark) #view-artifact-fullscreen :not(#fs-group-backend-panel):not(#fs-group-backend-panel *) .bg-\[\#1e1e1c\] {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #view-artifact-fullscreen button[onclick*="exportCurrentArtifact"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
}
html:not(.dark) #view-artifact-fullscreen button[onclick*="exportCurrentArtifact"] * {
    color: #ffffff !important;
}

/* 18D. Komponen Artefak & Dokumen Mobile */
html:not(.dark) #view-mobile-artifacts {
    background-color: #f7f6f2 !important;
    color: #18181b !important;
}
html:not(.dark) #view-mobile-artifacts h2 {
    color: #18181b !important;
}
html:not(.dark) #mobile-artifacts-container > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #mobile-artifact-modal > div {
    background-color: #ffffff !important;
    border-color: #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #mobile-artifact-modal pre {
    background-color: #faf9f6 !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
}

/* 19. Sub-Modals Umum (MCP Config, API Keys, Model Change, User Account, Dev Studio) */
html:not(.dark) #mcp-config-modal > div,
html:not(.dark) #api-key-add-modal > div,
html:not(.dark) #model-change-modal > div,
html:not(.dark) #fast-user-account-modal > div,
html:not(.dark) #dev-studio-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
html:not(.dark) #mcp-json-editor {
    background-color: #faf9f5 !important;
    border: 1px solid #dcd8cd !important;
    color: #047857 !important;
}

/* Modal Tambah API Key (#api-key-add-modal) & Ganti Model Target (#model-change-modal) */
html:not(.dark) #api-key-add-modal h4,
html:not(.dark) #model-change-modal h4 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #api-key-add-modal label,
html:not(.dark) #model-change-modal label {
    color: #3f3f46 !important;
    font-weight: 600 !important;
}
html:not(.dark) #api-key-add-modal select,
html:not(.dark) #api-key-add-modal input[type="text"],
html:not(.dark) #api-key-add-modal input[type="password"],
html:not(.dark) #model-change-modal select,
html:not(.dark) #model-change-modal input[type="text"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset !important;
}
html:not(.dark) #api-key-add-modal input::placeholder,
html:not(.dark) #model-change-modal input::placeholder {
    color: #a1a1aa !important;
}
html:not(.dark) #api-key-add-modal select option,
html:not(.dark) #model-change-modal select option {
    background-color: #ffffff !important;
    color: #18181b !important;
}
html:not(.dark) #api-key-add-modal select:focus,
html:not(.dark) #api-key-add-modal input:focus,
html:not(.dark) #model-change-modal select:focus,
html:not(.dark) #model-change-modal input:focus {
    border-color: #da6942 !important;
    background-color: #ffffff !important;
}
html:not(.dark) #api-key-add-modal .border-t,
html:not(.dark) #model-change-modal .border-t {
    border-color: #edebe4 !important;
}
html:not(.dark) #api-key-add-modal button.bg-\[\#252522\],
html:not(.dark) #model-change-modal button.bg-\[\#252522\] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}
html:not(.dark) #api-key-add-modal button.bg-\[\#252522\]:hover,
html:not(.dark) #model-change-modal button.bg-\[\#252522\]:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #api-key-add-modal button[onclick*="classList.add('hidden')"],
html:not(.dark) #model-change-modal button[onclick*="classList.add('hidden')"] {
    color: #71717a !important;
}
html:not(.dark) #api-key-add-modal button[onclick*="classList.add('hidden')"]:hover,
html:not(.dark) #model-change-modal button[onclick*="classList.add('hidden')"]:hover {
    color: #18181b !important;
}

/* 20. Panel Profil Pengguna Popover (#user-menu-popover) */
html:not(.dark) #user-menu-popover {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) #user-menu-popover #popover-user-name {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #user-menu-popover #popover-user-role {
    color: #71717a !important;
}
html:not(.dark) #user-menu-popover .border-b,
html:not(.dark) #user-menu-popover .border-\[\#2e2e2a\],
html:not(.dark) #user-menu-popover .h-px {
    border-color: #edebe4 !important;
    background-color: #edebe4 !important;
}
html:not(.dark) #user-menu-popover button {
    color: #18181b !important;
}
html:not(.dark) #user-menu-popover button:hover {
    background-color: #f4f2eb !important;
}
html:not(.dark) #user-menu-popover button span {
    color: #18181b !important;
}
html:not(.dark) #user-menu-popover #menu-item-profile span.text-emerald-400 {
    background-color: #ecfdf5 !important;
    color: #059669 !important;
}
html:not(.dark) #user-menu-popover #menu-item-settings span.font-mono,
html:not(.dark) #user-menu-popover #menu-item-shortcuts span.font-mono {
    color: #71717a !important;
}
html:not(.dark) #user-menu-popover #menu-item-recycle-bin,
html:not(.dark) #user-menu-popover #menu-item-recycle-bin span {
    color: #dc2626 !important;
}
html:not(.dark) #user-menu-popover #menu-item-recycle-bin span.bg-red-500\/20 {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
}
html:not(.dark) #user-menu-popover button[onclick*="handleUserLogout"],
html:not(.dark) #user-menu-popover button[onclick*="handleUserLogout"] span {
    color: #dc2626 !important;
}
html:not(.dark) #user-menu-popover button[onclick*="handleUserLogout"]:hover {
    background-color: #fef2f2 !important;
}

/* 21. Modal Pencarian Obrolan Terpadu (#chat-search-modal) */
html:not(.dark) #chat-search-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
html:not(.dark) #chat-search-modal .bg-\[\#242421\] {
    background-color: #faf9f6 !important;
    border-bottom: 1px solid #edebe4 !important;
}
html:not(.dark) #chat-search-modal input#chat-search-modal-input {
    color: #18181b !important;
}
html:not(.dark) #chat-search-modal input#chat-search-modal-input::placeholder {
    color: #71717a !important;
}
html:not(.dark) #chat-search-modal button[onclick*="closeChatSearchModal"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #52525b !important;
}
html:not(.dark) #chat-search-modal button[onclick*="closeChatSearchModal"]:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #chat-search-results .text-gray-500 {
    color: #71717a !important;
    font-weight: 600 !important;
}
html:not(.dark) #chat-search-results .text-gray-400 {
    color: #52525b !important;
}
html:not(.dark) #chat-search-results .text-gray-200 {
    color: #18181b !important;
}
html:not(.dark) #chat-search-results > div[data-search-idx] {
    border-color: transparent !important;
    color: #18181b !important;
}
html:not(.dark) #chat-search-results > div[data-search-idx].bg-\[\#282824\],
html:not(.dark) #chat-search-results > div[data-search-idx][class*="bg-[#282824]"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #chat-search-results > div[data-search-idx]:hover {
    background-color: #faf9f6 !important;
}
html:not(.dark) #chat-search-results .bg-black\/40 {
    background-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #chat-search-results .bg-black\/25 {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
    color: #52525b !important;
}
html:not(.dark) #chat-search-modal .bg-\[\#161615\] {
    background-color: #faf9f6 !important;
    border-top: 1px solid #edebe4 !important;
    color: #71717a !important;
}
html:not(.dark) #chat-search-modal kbd {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

/* 22. Modal Pintasan Keyboard & Modal Proyek */
html:not(.dark) #shortcuts-modal > div,
html:not(.dark) #create-project-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
html:not(.dark) #shortcuts-modal h3,
html:not(.dark) #create-project-modal h3 {
    color: #18181b !important;
}
html:not(.dark) #shortcuts-modal .text-gray-300,
html:not(.dark) #create-project-modal .text-gray-300 {
    color: #3f3f46 !important;
}
html:not(.dark) #shortcuts-modal kbd {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #da6942 !important;
    font-weight: 600 !important;
}
html:not(.dark) #shortcuts-modal .border-b,
html:not(.dark) #create-project-modal .border-b,
html:not(.dark) #create-project-modal .border-t {
    border-color: #edebe4 !important;
}
html:not(.dark) #create-project-modal input,
html:not(.dark) #create-project-modal textarea {
    background-color: #faf9f5 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #create-project-modal .bg-\[\#141413\] {
    background-color: #faf9f6 !important;
}

/* User Message Reference Accordion (Lihat isi yang dibaca AI) */
html:not(.dark) .user-ref-accordion {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) .user-ref-accordion summary {
    color: #18181b !important;
}
html:not(.dark) .user-ref-accordion summary:hover {
    background-color: #edebe4 !important;
}
html:not(.dark) .user-ref-accordion .user-ref-label,
html:not(.dark) .user-ref-accordion summary span {
    color: #18181b !important;
}
html:not(.dark) .user-ref-accordion .user-ref-body {
    background-color: #ffffff !important;
    border-top: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

/* 23. Developer Mode Studio (#dev-studio-modal & #diff-viewer-modal) */
html:not(.dark) #dev-studio-modal > div,
html:not(.dark) #diff-viewer-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal .bg-\[\#20201d\],
html:not(.dark) #diff-viewer-modal .bg-\[\#20201d\] {
    background-color: #faf9f6 !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #dev-studio-modal h2,
html:not(.dark) #dev-studio-modal h3,
html:not(.dark) #diff-viewer-modal h3 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #dev-studio-modal p,
html:not(.dark) #diff-viewer-modal p {
    color: #52525b !important;
}
html:not(.dark) #dev-studio-modal .bg-\[\#171715\],
html:not(.dark) #dev-studio-modal .bg-\[\#1a1a18\] {
    background-color: #fdfcfb !important;
    border-color: #edebe4 !important;
}
html:not(.dark) #dev-studio-modal .bg-\[\#1c1c19\],
html:not(.dark) #dev-studio-modal .bg-\[\#1e1e1b\],
html:not(.dark) #dev-studio-modal #history-container > div,
html:not(.dark) #dev-studio-modal #patches-container > div,
html:not(.dark) #dev-studio-modal #radar-anomalies-container > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #dev-studio-modal .bg-\[\#141413\],
html:not(.dark) #dev-studio-modal #dev-chat-messages {
    background-color: #faf9f5 !important;
    border-color: #dcd8cd !important;
}
html:not(.dark) #dev-studio-modal .border-\[\#2e2e2a\],
html:not(.dark) #dev-studio-modal .border-\[\#2a2a26\],
html:not(.dark) #dev-studio-modal .border-\[\#343430\],
html:not(.dark) #dev-studio-modal .border-\[\#383834\],
html:not(.dark) #dev-studio-modal .border-\[\#3e3e38\] {
    border-color: #edebe4 !important;
}
html:not(.dark) #dev-studio-modal code {
    background-color: #f4f2eb !important;
    color: #18181b !important;
    border: 1px solid #dcd8cd !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 4px !important;
}
html:not(.dark) #dev-studio-modal #tab-btn-radar,
html:not(.dark) #dev-studio-modal #tab-btn-chat,
html:not(.dark) #dev-studio-modal #tab-btn-patches,
html:not(.dark) #dev-studio-modal #tab-btn-history {
    color: #52525b !important;
}
html:not(.dark) #dev-studio-modal #tab-btn-radar:hover,
html:not(.dark) #dev-studio-modal #tab-btn-chat:hover,
html:not(.dark) #dev-studio-modal #tab-btn-patches:hover,
html:not(.dark) #dev-studio-modal #tab-btn-history:hover {
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal [id^="tab-btn-"].border-fast-accent {
    color: #da6942 !important;
    border-color: #da6942 !important;
}
html:not(.dark) #dev-studio-modal select,
html:not(.dark) #dev-studio-modal input[type="text"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal input[type="text"]::placeholder {
    color: #71717a !important;
}
html:not(.dark) #dev-studio-modal #api-keys-battery-bar > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal .text-gray-100,
html:not(.dark) #dev-studio-modal .text-gray-200,
html:not(.dark) #dev-studio-modal .text-gray-300 {
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal .text-gray-400,
html:not(.dark) #dev-studio-modal .text-gray-500 {
    color: #52525b !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="injectDevChatPill"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="injectDevChatPill"]:hover {
    background-color: #edebe4 !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="triggerRollback"] {
    background-color: #f3e8ff !important;
    border: 1px solid #d8b4fe !important;
    color: #7e22ce !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="triggerRollback"]:hover {
    background-color: #7e22ce !important;
    color: #ffffff !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="triggerWhitelist"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #dev-studio-modal button[onclick*="triggerWhitelist"]:hover {
    background-color: #edebe4 !important;
}
html:not(.dark) #diff-viewer-modal #diff-lines-container {
    background-color: #fdfcfb !important;
    color: #18181b !important;
}

/* 24. Pengaturan Akun & Manajemen Pengguna (Settings > Account) */
html:not(.dark) #fast-master-settings-modal .settings-profile-input,
html:not(.dark) #fast-master-settings-modal input#acc-super-password,
html:not(.dark) #fast-master-settings-modal textarea#acc-custom-inst {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal input#acc-super-password::placeholder,
html:not(.dark) #fast-master-settings-modal textarea#acc-custom-inst::placeholder {
    color: #71717a !important;
}
html:not(.dark) #fast-master-settings-modal input#acc-super-password:focus,
html:not(.dark) #fast-master-settings-modal textarea#acc-custom-inst:focus {
    border-color: #da6942 !important;
    background-color: #ffffff !important;
}
html:not(.dark) #fast-master-settings-modal .settings-user-avatar {
    background-color: #edebe4 !important;
    border: 1.5px solid #cfcac0 !important;
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-master-settings-modal .divide-y > div:hover,
html:not(.dark) #fast-master-settings-modal .hover\:bg-\[\#1a1a18\]:hover,
html:not(.dark) .hover\:bg-\[\#1a1a18\]:hover,
html:not(.dark) #account-user-accounts-container > div:hover,
html:not(.dark) #account-device-sessions-container > div:hover {
    background-color: #edebe4 !important;
}
html:not(.dark) #account-user-accounts-container > div:hover span:not(.font-mono),
html:not(.dark) #account-device-sessions-container > div:hover span:not(.font-mono) {
    color: #18181b !important;
}
html:not(.dark) #account-user-accounts-container > div:hover .text-gray-500,
html:not(.dark) #account-device-sessions-container > div:hover .text-gray-500 {
    color: #71717a !important;
}

/* 25. Time and Focus (Quiet Hours & Screen Break) */
html:not(.dark) #fast-master-settings-modal .settings-time-focus-box {
    background-color: #faf9f5 !important;
    border: 1px solid #dcd8cd !important;
}
html:not(.dark) #fast-master-settings-modal .settings-time-input,
html:not(.dark) #fast-master-settings-modal input[type="time"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    color-scheme: light !important;
}
html:not(.dark) #fast-master-settings-modal .settings-select-input,
html:not(.dark) #fast-master-settings-modal select {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    color-scheme: light !important;
}

/* 26. Kartu Konektor & Registri di Customize View */
html:not(.dark) .connector-item-card,
html:not(.dark) #view-customize .connector-item-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) .connector-icon-box,
html:not(.dark) #view-customize .connector-icon-box,
html:not(.dark) #view-customize .w-9.h-9.bg-fast-card,
html:not(.dark) #view-customize .w-8.h-8.bg-fast-card {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #d97706 !important;
}
html:not(.dark) .connector-title,
html:not(.dark) #view-customize .connector-title {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) .connector-desc,
html:not(.dark) #view-customize .connector-desc {
    color: #52525b !important;
}
html:not(.dark) .connector-type,
html:not(.dark) #view-customize .connector-type {
    color: #71717a !important;
}
html:not(.dark) .connector-action-btn,
html:not(.dark) #view-customize .connector-action-btn {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) .connector-action-btn:hover,
html:not(.dark) #view-customize .connector-action-btn:hover {
    background-color: #edebe4 !important;
}

/* 27. Modal Tambah / Edit Akun Pengguna (#fast-user-account-modal) & Edit Memori (#fast-edit-memory-modal) */
html:not(.dark) #fast-user-account-modal > div,
html:not(.dark) #fast-edit-memory-modal > div,
html:not(.dark) .user-account-modal-box {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    color: #18181b !important;
}
html:not(.dark) #fast-user-account-modal .border-b,
html:not(.dark) #fast-user-account-modal .border-t,
html:not(.dark) #fast-edit-memory-modal .border-b,
html:not(.dark) #fast-edit-memory-modal .border-t,
html:not(.dark) .user-account-modal-header,
html:not(.dark) .user-account-modal-footer {
    border-color: #edebe4 !important;
}
html:not(.dark) #fast-user-account-modal #user-modal-title,
html:not(.dark) #fast-user-account-modal .text-gray-100,
html:not(.dark) #fast-edit-memory-modal .text-gray-100,
html:not(.dark) .user-account-modal-title {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-user-account-modal label,
html:not(.dark) #fast-edit-memory-modal label,
html:not(.dark) .user-account-modal-label {
    color: #3f3f46 !important;
    font-weight: 600 !important;
}
html:not(.dark) #fast-user-account-modal input[type="text"],
html:not(.dark) #fast-user-account-modal input[type="password"],
html:not(.dark) #fast-user-account-modal textarea,
html:not(.dark) #fast-edit-memory-modal input[type="text"],
html:not(.dark) #fast-edit-memory-modal textarea,
html:not(.dark) .user-account-modal-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset !important;
}
html:not(.dark) #fast-user-account-modal input::placeholder,
html:not(.dark) #fast-user-account-modal textarea::placeholder,
html:not(.dark) #fast-edit-memory-modal input::placeholder,
html:not(.dark) #fast-edit-memory-modal textarea::placeholder,
html:not(.dark) .user-account-modal-input::placeholder {
    color: #a1a1aa !important;
}
html:not(.dark) #fast-user-account-modal input:focus,
html:not(.dark) #fast-user-account-modal textarea:focus,
html:not(.dark) #fast-edit-memory-modal input:focus,
html:not(.dark) #fast-edit-memory-modal textarea:focus,
html:not(.dark) .user-account-modal-input:focus {
    border-color: #da6942 !important;
    background-color: #ffffff !important;
}
html:not(.dark) #fast-user-account-modal .bg-\[\#141413\],
html:not(.dark) #fast-edit-memory-modal .bg-\[\#141413\],
html:not(.dark) .user-account-modal-footer {
    background-color: #faf9f6 !important;
}
html:not(.dark) #fast-user-account-modal button[onclick*="closeUserAccountModal"],
html:not(.dark) #fast-edit-memory-modal button[onclick*="closeEditMemoryModal"] {
    color: #52525b !important;
}
html:not(.dark) #fast-user-account-modal button[onclick*="closeUserAccountModal"]:hover,
html:not(.dark) #fast-edit-memory-modal button[onclick*="closeEditMemoryModal"]:hover {
    color: #18181b !important;
}
html:not(.dark) #fast-user-account-modal button.bg-\[\#242421\],
html:not(.dark) #fast-edit-memory-modal button.bg-\[\#242421\],
html:not(.dark) .user-account-modal-cancel {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}
html:not(.dark) #fast-user-account-modal button.bg-\[\#242421\]:hover,
html:not(.dark) #fast-edit-memory-modal button.bg-\[\#242421\]:hover,
html:not(.dark) .user-account-modal-cancel:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}

/* 28. Modal Customize: Create Custom Skill (#modal-create-manual) & Create with AI (#modal-create-ai) */
html:not(.dark) #modal-create-manual > div,
html:not(.dark) #modal-create-ai > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
html:not(.dark) #modal-create-manual h3,
html:not(.dark) #modal-create-ai h3 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #modal-create-manual .border-b,
html:not(.dark) #modal-create-manual .border-t,
html:not(.dark) #modal-create-ai .border-b,
html:not(.dark) #modal-create-ai .border-t {
    border-color: #edebe4 !important;
}
html:not(.dark) #modal-create-manual label,
html:not(.dark) #modal-create-ai p {
    color: #3f3f46 !important;
    font-weight: 600 !important;
}
html:not(.dark) #modal-create-manual input[type="text"],
html:not(.dark) #modal-create-manual textarea,
html:not(.dark) #modal-create-ai textarea,
html:not(.dark) #modal-create-manual .bg-\[\#121211\],
html:not(.dark) #modal-create-ai .bg-\[\#121211\] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset !important;
}
html:not(.dark) #modal-create-manual input::placeholder,
html:not(.dark) #modal-create-manual textarea::placeholder,
html:not(.dark) #modal-create-ai textarea::placeholder {
    color: #a1a1aa !important;
}
html:not(.dark) #modal-create-manual input:focus,
html:not(.dark) #modal-create-manual textarea:focus {
    border-color: #da6942 !important;
    background-color: #ffffff !important;
}
html:not(.dark) #modal-create-ai textarea:focus {
    border-color: #d97706 !important;
    background-color: #ffffff !important;
}
html:not(.dark) #modal-create-manual button[onclick*="closeModals"],
html:not(.dark) #modal-create-ai button[onclick*="closeModals"] {
    color: #71717a !important;
}
html:not(.dark) #modal-create-manual button[onclick*="closeModals"]:hover,
html:not(.dark) #modal-create-ai button[onclick*="closeModals"]:hover {
    color: #18181b !important;
}
html:not(.dark) #modal-create-manual button.bg-\[\#242421\],
html:not(.dark) #modal-create-ai button.bg-\[\#242421\] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}
html:not(.dark) #modal-create-manual button.bg-\[\#242421\]:hover,
html:not(.dark) #modal-create-ai button.bg-\[\#242421\]:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #modal-create-manual button[onclick*="submitManualSkill"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
    border: 1px solid #da6942 !important;
}
html:not(.dark) #modal-create-manual button[onclick*="submitManualSkill"]:hover {
    background-color: #c85a35 !important;
    color: #ffffff !important;
}

/* 29. Modal Tempat Sampah (Recycle Bin - #recycle-bin-modal) */
html:not(.dark) #recycle-bin-modal > div {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
html:not(.dark) #recycle-bin-modal h3 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #recycle-bin-modal p {
    color: #71717a !important;
}
html:not(.dark) #recycle-bin-modal .border-b,
html:not(.dark) #recycle-bin-modal .border-t {
    border-color: #edebe4 !important;
}
html:not(.dark) #recycle-bin-modal .bg-\[\#141413\] {
    background-color: #faf9f6 !important;
}
html:not(.dark) #recycle-bin-modal #trash-filter-buttons .trash-tab {
    color: #52525b !important;
}
html:not(.dark) #recycle-bin-modal #trash-filter-buttons .trash-tab:hover {
    background-color: #edebe4 !important;
    color: #18181b !important;
}
html:not(.dark) #recycle-bin-modal #trash-filter-buttons .trash-tab.bg-\[\#2a2a26\] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #da6942 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #recycle-bin-modal #trash-search-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #recycle-bin-modal #trash-search-input::placeholder {
    color: #a1a1aa !important;
}
html:not(.dark) #recycle-bin-modal #trash-search-input:focus {
    border-color: #da6942 !important;
}
html:not(.dark) #recycle-bin-modal #trash-select-toggle-btn {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}
html:not(.dark) #recycle-bin-modal #trash-select-toggle-btn:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}
html:not(.dark) #recycle-bin-modal #trash-items-container > div,
html:not(.dark) #recycle-bin-modal .trash-item-row {
    background-color: #ffffff !important;
    border: 1px solid #edebe4 !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}
html:not(.dark) #recycle-bin-modal #trash-items-container > div:hover,
html:not(.dark) #recycle-bin-modal .trash-item-row:hover {
    background-color: #faf9f6 !important;
    border-color: #cfcac0 !important;
}
html:not(.dark) #recycle-bin-modal #trash-items-container .text-gray-200,
html:not(.dark) #recycle-bin-modal #trash-items-container .text-gray-100 {
    color: #18181b !important;
}
html:not(.dark) #recycle-bin-modal #trash-items-container .text-fast-muted {
    color: #71717a !important;
}
html:not(.dark) #recycle-bin-modal .bg-emerald-500\/10 {
    background-color: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}
html:not(.dark) #recycle-bin-modal .bg-black\/40 {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="restoreSingleItem"] {
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
    font-weight: 600 !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="restoreSingleItem"]:hover {
    background-color: #d1fae5 !important;
    color: #047857 !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="deleteSingleItem"],
html:not(.dark) #recycle-bin-modal button[onclick*="deleteSinglePermanentItem"] {
    color: #a1a1aa !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="deleteSingleItem"]:hover,
html:not(.dark) #recycle-bin-modal button[onclick*="deleteSinglePermanentItem"]:hover {
    color: #ef4444 !important;
    background-color: #fef2f2 !important;
}
html:not(.dark) #recycle-bin-modal #trash-bulk-bar {
    background-color: #faf9f6 !important;
    border-top: 1px solid #edebe4 !important;
}
html:not(.dark) #recycle-bin-modal #trash-bulk-bar .text-gray-300 {
    color: #27272a !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="closeRecycleBinModal"] {
    color: #71717a !important;
}
html:not(.dark) #recycle-bin-modal button[onclick*="closeRecycleBinModal"]:hover {
    color: #18181b !important;
}


/* ==========================================================================
   SECTION 18: KARTU DOWNLOAD DOKUMEN & TRIGGER ARTIFACT CHAT (LIGHT MODE)
   Memperbaiki Lampiran 1: .generated-doc-card & .artifact-trigger-card
   ========================================================================== */
html:not(.dark) .generated-doc-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .generated-doc-card .w-9.h-9,
html:not(.dark) .generated-doc-card .bg-fast-accent\/10 {
    background-color: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
}

html:not(.dark) .generated-doc-card .text-gray-200 {
    color: #18181b !important;
    font-weight: 600 !important;
}

html:not(.dark) .generated-doc-card .font-mono.bg-fast-bg {
    background-color: #f4f2eb !important;
    border-color: #dcd8cd !important;
    color: #52525b !important;
}

html:not(.dark) .generated-doc-card .text-fast-muted {
    color: #71717a !important;
}

html:not(.dark) .generated-doc-card button[data-act="save-as"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #27272a !important;
}

html:not(.dark) .generated-doc-card button[data-act="save-as"]:hover {
    background-color: #edebe4 !important;
    color: #09090b !important;
}

html:not(.dark) .generated-doc-card button[data-act="download"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(218, 105, 66, 0.2) !important;
}

html:not(.dark) .generated-doc-card button[data-act="download"]:hover {
    filter: brightness(1.08) !important;
}

/* Kartu Trigger Artifact di dalam Chat Bubble */
html:not(.dark) .artifact-trigger-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .artifact-trigger-card:hover {
    background-color: #fdfcfb !important;
    border-color: #da6942 !important;
    box-shadow: 0 4px 14px rgba(218, 105, 66, 0.12) !important;
}

html:not(.dark) .artifact-trigger-card .w-8.h-8,
html:not(.dark) .artifact-trigger-card .bg-fast-accent\/10 {
    background-color: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
}

html:not(.dark) .artifact-trigger-card .text-gray-200 {
    color: #18181b !important;
    font-weight: 600 !important;
}

html:not(.dark) .artifact-trigger-card .text-fast-muted {
    color: #71717a !important;
}

html:not(.dark) .artifact-trigger-card i {
    color: #71717a !important;
}

html:not(.dark) .artifact-trigger-card:hover i {
    color: #da6942 !important;
}

/* ==========================================================================
   SECTION 18B: KATALOG ARTIFACTS (#view-artifacts) (LIGHT MODE)
   Memperbaiki Lampiran 2: Katalog Artefak Bersih, Kontras Tinggi & Hangat
   ========================================================================== */
html:not(.dark) #view-artifacts {
    background-color: #f8f7f4 !important;
    color: #18181b !important;
}

html:not(.dark) #view-artifacts .sticky.top-0,
html:not(.dark) #view-artifacts > div:first-child {
    background-color: rgba(248, 247, 244, 0.96) !important;
    border-bottom: 1px solid #edebe4 !important;
}

html:not(.dark) #view-artifacts h1 {
    color: #18181b !important;
}

/* Tabs & Filter Pill di Header Artifacts */
html:not(.dark) #view-artifacts .bg-\[\#1e1e1c\] {
    background-color: #edebe4 !important;
    border-color: #dcd8cd !important;
}

html:not(.dark) #view-artifacts .art-pill {
    color: #52525b !important;
}

html:not(.dark) #view-artifacts .art-pill:hover {
    color: #18181b !important;
}

html:not(.dark) #view-artifacts .art-pill.active,
html:not(.dark) #view-artifacts .art-pill.bg-\[\#282825\] {
    background-color: #ffffff !important;
    color: #18181b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    font-weight: 600 !important;
}

/* Input Pencarian Artifacts */
html:not(.dark) #artifacts-search-input {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

html:not(.dark) #artifacts-search-input:focus {
    border-color: #da6942 !important;
}

html:not(.dark) #artifacts-search-input::placeholder {
    color: #a1a1aa !important;
}

/* Tombol Aksi Header */
html:not(.dark) #view-artifacts #btn-toggle-artifact-select {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) #view-artifacts #btn-toggle-artifact-select:hover {
    background-color: #f4f2eb !important;
    border-color: #c4c0b3 !important;
    color: #09090b !important;
}

html:not(.dark) #view-artifacts #btn-toggle-artifact-select-label {
    color: #18181b !important;
    font-weight: 600 !important;
}

html:not(.dark) #view-artifacts #btn-toggle-artifact-select.art-select-active,
html:not(.dark) #view-artifacts #btn-toggle-artifact-select[class*="bg-amber"] {
    background-color: #fef3c7 !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.25) !important;
}

html:not(.dark) #view-artifacts #btn-toggle-artifact-select.art-select-active #btn-toggle-artifact-select-label,
html:not(.dark) #view-artifacts #btn-toggle-artifact-select[class*="bg-amber"] #btn-toggle-artifact-select-label {
    color: #92400e !important;
    font-weight: 700 !important;
}

/* Bilah Aksi Massal Melayang (#artifact-bulk-action-bar) */
html:not(.dark) #artifact-bulk-action-bar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e5e3db !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    color: #18181b !important;
}

html:not(.dark) #artifact-bulk-action-bar label,
html:not(.dark) #artifact-bulk-action-bar span {
    color: #18181b !important;
}

html:not(.dark) #artifact-selected-counter {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 700 !important;
}

html:not(.dark) #btn-bulk-share-artifacts {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

html:not(.dark) #btn-bulk-share-artifacts:hover:not(:disabled) {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

html:not(.dark) #btn-bulk-delete-artifacts {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

html:not(.dark) #btn-bulk-delete-artifacts:hover:not(:disabled) {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}

html:not(.dark) #artifact-bulk-action-bar button[onclick*="toggleArtifactSelectMode(false)"] {
    background-color: #ffffff !important;
    color: #52525b !important;
    border: 1px solid #dcd8cd !important;
}

html:not(.dark) #artifact-bulk-action-bar button[onclick*="toggleArtifactSelectMode(false)"]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}

/* Checkbox di Tema Terang */
html:not(.dark) #chk-select-all-artifacts,
html:not(.dark) .art-select-checkbox,
html:not(.dark) .share-user-checkbox {
    background-color: #ffffff !important;
    border: 1.5px solid #a1a1aa !important;
    accent-color: #d97706 !important;
}

/* Modal Berbagi Artefak (#custom-share-artifact-modal) */
html:not(.dark) #custom-share-artifact-modal {
    background-color: rgba(0, 0, 0, 0.45) !important;
}

html:not(.dark) #custom-share-artifact-modal .bg-\[\#1b1b19\] {
    background-color: #ffffff !important;
    border: 1px solid #edebe4 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

html:not(.dark) #custom-share-artifact-modal h3,
html:not(.dark) #custom-share-artifact-modal h3 span {
    color: #18181b !important;
    font-weight: 700 !important;
}

html:not(.dark) #custom-share-artifact-modal p {
    color: #52525b !important;
}

html:not(.dark) #custom-share-artifact-modal p b {
    color: #18181b !important;
}

html:not(.dark) #custom-share-artifact-modal .border-b,
html:not(.dark) #custom-share-artifact-modal .border-t,
html:not(.dark) #custom-share-artifact-modal .border-\[\#2e2e2a\] {
    border-color: #edebe4 !important;
}

html:not(.dark) #custom-share-artifact-modal label {
    background-color: #fbfaf8 !important;
    border: 1px solid #edebe4 !important;
}

html:not(.dark) #custom-share-artifact-modal label:hover {
    background-color: #f4f2eb !important;
    border-color: #dcd8cd !important;
}

html:not(.dark) #custom-share-artifact-modal .text-gray-200,
html:not(.dark) #custom-share-artifact-modal .text-gray-900 {
    color: #18181b !important;
    font-weight: 600 !important;
}

html:not(.dark) #custom-share-artifact-modal .text-gray-500,
html:not(.dark) #custom-share-artifact-modal .text-gray-600 {
    color: #71717a !important;
}

html:not(.dark) #custom-share-artifact-modal button[onclick*="closeShareModal"] {
    background-color: #edebe4 !important;
    color: #3f3f46 !important;
}

html:not(.dark) #custom-share-artifact-modal button[onclick*="closeShareModal"]:hover {
    background-color: #dcd8cd !important;
    color: #18181b !important;
}

html:not(.dark) #btn-save-share-artifact {
    background-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

html:not(.dark) #btn-save-share-artifact:hover {
    background-color: #1d4ed8 !important;
}

/* Highlight Kartu & Baris Terpilih di Light Mode */
html:not(.dark) [id^="artifact-card-"].art-card-selected,
html:not(.dark) [id^="artifact-card-"][class*="border-amber"] {
    background-color: #fffbeb !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 0 0 1.5px rgba(245, 158, 11, 0.35), 0 2px 8px rgba(245, 158, 11, 0.12) !important;
}

html:not(.dark) [id^="artifact-row-"].art-row-selected,
html:not(.dark) [id^="artifact-row-"][class*="border-amber"] {
    background-color: #fffbeb !important;
    border-left: 4px solid #f59e0b !important;
}

/* Tombol Aksi Header */
html:not(.dark) #view-artifacts button[onclick*="toggleArtifactLayout"],
html:not(.dark) #view-artifacts button[onclick*="sortArtifactsList"] {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #52525b !important;
}

html:not(.dark) #view-artifacts button[onclick*="toggleArtifactLayout"]:hover,
html:not(.dark) #view-artifacts button[onclick*="sortArtifactsList"]:hover {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}

html:not(.dark) #view-artifacts button[onclick*="createNewBlankArtifact"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 4px rgba(218, 105, 66, 0.25) !important;
}

html:not(.dark) #view-artifacts button[onclick*="createNewBlankArtifact"]:hover {
    filter: brightness(1.08) !important;
}

/* List View Container & Rows */
html:not(.dark) #artifacts-list-container .text-gray-400 {
    color: #71717a !important;
}

html:not(.dark) #artifacts-list-container .bg-\[\#191917\]\/50,
html:not(.dark) #artifacts-list-container .border-\[\#242421\] {
    background-color: #ffffff !important;
    border-color: #edebe4 !important;
}

html:not(.dark) #artifacts-list-container .divide-\[\#242421\] > :not([hidden]) ~ :not([hidden]) {
    border-color: #edebe4 !important;
}

html:not(.dark) #artifacts-list-container [id^="artifact-row-"] {
    background-color: #ffffff !important;
}

html:not(.dark) #artifacts-list-container [id^="artifact-row-"]:hover {
    background-color: #fbfaf8 !important;
}

html:not(.dark) #artifacts-list-container [id^="artifact-row-"] .bg-\[\#242421\] {
    background-color: #fff7ed !important;
    border-color: #fed7aa !important;
}

html:not(.dark) #artifacts-list-container [id^="artifact-row-"] .text-amber-400 {
    color: #ea580c !important;
}

html:not(.dark) #artifacts-list-container [id^="art-title-text-"] {
    color: #18181b !important;
    font-weight: 500 !important;
}

html:not(.dark) #artifacts-list-container [id^="art-title-text-"]:hover {
    color: #da6942 !important;
}

html:not(.dark) #artifacts-list-container .text-gray-500 {
    color: #71717a !important;
}

/* Grid View Cards */
html:not(.dark) [id^="artifact-card-"] {
    background-color: #ffffff !important;
    border: 1px solid #edebe4 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) [id^="artifact-card-"]:hover {
    background-color: #fbfaf8 !important;
    border-color: #dcd8cd !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) [id^="artifact-card-"] .bg-\[\#242421\] {
    background-color: #fff7ed !important;
    border-color: #fed7aa !important;
}

html:not(.dark) [id^="artifact-card-"] .border-t.border-\[\#242421\] {
    border-color: #edebe4 !important;
}

/* ==========================================================================
   SECTION 18C: FULLSCREEN ARTIFACT & SIDE CANVAS PANEL (LIGHT MODE)
   Memperbaiki Lampiran 3: Editor & Pratinjau Artefak Layar Penuh & Side Panel
   ========================================================================== */
html:not(.dark) #view-artifact-fullscreen {
    background-color: #f8f7f4 !important;
    color: #18181b !important;
}

html:not(.dark) #view-artifact-fullscreen > div:first-child,
html:not(.dark) #view-artifact-fullscreen .bg-\[\#191917\] {
    background-color: #ffffff !important;
    border-bottom: 1px solid #edebe4 !important;
}

html:not(.dark) #view-artifact-fullscreen button[onclick*="closeFullscreenArtifact"] {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

html:not(.dark) #view-artifact-fullscreen button[onclick*="closeFullscreenArtifact"]:hover {
    background-color: #edebe4 !important;
}

html:not(.dark) #view-artifact-fullscreen #fs-title-dropdown-btn:hover {
    background-color: #f4f2eb !important;
}

html:not(.dark) #fs-artifact-title {
    color: #18181b !important;
}

html:not(.dark) #fs-back-to-chat-btn {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #da6942 !important;
}

html:not(.dark) #fs-back-to-chat-btn:hover {
    background-color: #edebe4 !important;
}

html:not(.dark) #view-artifact-fullscreen button[onclick*="exportCurrentArtifact"] {
    background-color: #da6942 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

html:not(.dark) #fs-artifact-code-view {
    background-color: #ffffff !important;
    color: #18181b !important;
}

/* Panel Canvas Melayang di Samping Chat (#canvas-panel) */
html:not(.dark) #canvas-panel {
    background-color: #ffffff !important;
    border-left: 1px solid #edebe4 !important;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) #canvas-panel > div:first-child {
    background-color: #faf9f6 !important;
    border-bottom: 1px solid #edebe4 !important;
}

html:not(.dark) #canvas-filename {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}

html:not(.dark) #canvas-panel .bg-fast-bg {
    background-color: #faf9f6 !important;
    border-color: #edebe4 !important;
}

html:not(.dark) #canvas-tab-group button {
    color: #71717a !important;
}

html:not(.dark) #canvas-tab-group button.active,
html:not(.dark) #canvas-tab-group button.bg-fast-card {
    background-color: #ffffff !important;
    color: #18181b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) #canvas-panel .bg-\[\#121211\] {
    background-color: #ffffff !important;
}

html:not(.dark) #canvas-html-input,
html:not(.dark) #canvas-css-input,
html:not(.dark) #canvas-js-input,
html:not(.dark) #canvas-python-input {
    color: #18181b !important;
    background-color: #ffffff !important;
}

html:not(.dark) #canvas-panel .border-t.border-fast-border.bg-\[\#181816\] {
    background-color: #f8f7f4 !important;
    border-top: 1px solid #edebe4 !important;
}

html:not(.dark) #canvas-output {
    color: #27272a !important;
}

/* ==========================================================================
   SECTION 18D: POPOVER ACTION MENU ARTIFACTS (#canvas-flyout-popover) (LIGHT MODE)
   Memperbaiki Lampiran 3: Dropdown Menu Aksi Artefak di Tema Terang Desktop
   ========================================================================== */
html:not(.dark) #canvas-flyout-popover {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
    color: #18181b !important;
}

html:not(.dark) #canvas-flyout-popover .text-gray-100 {
    color: #18181b !important;
    font-weight: 600 !important;
}

html:not(.dark) #canvas-flyout-popover .border-b,
html:not(.dark) #canvas-flyout-popover .border-t {
    border-color: #edebe4 !important;
}

html:not(.dark) #canvas-flyout-popover button {
    color: #27272a !important;
}

html:not(.dark) #canvas-flyout-popover button:hover,
html:not(.dark) #canvas-flyout-popover button.hover\:bg-\[\#282825\]:hover {
    background-color: #f4f2eb !important;
    color: #09090b !important;
}

html:not(.dark) #canvas-flyout-popover button i {
    color: #52525b !important;
}

html:not(.dark) #canvas-flyout-popover button:hover i {
    color: #da6942 !important;
}

html:not(.dark) #canvas-flyout-popover button.text-red-400 {
    color: #dc2626 !important;
}

html:not(.dark) #canvas-flyout-popover button.text-red-400:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
}

html:not(.dark) #canvas-flyout-popover button.text-red-400 i {
    color: #dc2626 !important;
}


/* ==========================================================================
   PERBAIKAN TEMA TERANG / PUTIH (LIGHT MODE)
   1. Badge Ekstensi File Artefak ([HTML], [PY], [CSV], [JSON], dsb)
   2. Google Gemini Waterfall & Real-Time RPD Monitor di Pengaturan Developer
   ========================================================================== */

/* 1. Badge Ekstensi File Artefak & Dokumen (.ext di kartu chat) */
html:not(.dark) .artifact-ext-badge,
html:not(.dark) .artifact-trigger-card .bg-fast-bg,
html:not(.dark) .artifact-trigger-card span.bg-fast-bg,
html:not(.dark) .artifact-trigger-card .font-mono.bg-fast-bg,
html:not(.dark) .generated-doc-card .bg-fast-bg,
html:not(.dark) .generated-doc-card span.bg-fast-bg,
html:not(.dark) .generated-doc-card .font-mono.bg-fast-bg {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
    font-weight: 700 !important;
}

/* 2. Google Gemini Waterfall Panel - Kotak Ringkasan & Countdown */
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-box {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-box .text-gray-400 {
    color: #52525b !important;
}

/* 3. Bar Alur Estafet Hierarkis */
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar {
    background-color: #f7f6f2 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar span {
    color: #27272a !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar span.text-amber-400 {
    color: #d97706 !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar span.text-emerald-400 {
    color: #059669 !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar span.text-gray-400 {
    color: #52525b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-waterfall-flow-bar span.text-gray-600 {
    color: #a1a1aa !important;
}

/* 4. Kontainer Daftar Model Gemini */
html:not(.dark) #fast-master-settings-modal .gemini-models-container {
    background-color: #edebe4 !important;
    border: 1px solid #dcd8cd !important;
}

/* 5. Kartu Model Gemini Tiap Tier */
html:not(.dark) #fast-master-settings-modal .gemini-model-card {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-model-card.border-rose-950\/40,
html:not(.dark) #fast-master-settings-modal .gemini-model-card.bg-\[\#161313\] {
    background-color: #fffaf9 !important;
    border: 1px solid #fecdd3 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-model-card .text-gray-100 {
    color: #18181b !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-model-card .text-gray-400,
html:not(.dark) #fast-master-settings-modal .gemini-model-card .text-gray-500 {
    color: #52525b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-model-card b.text-blue-400 {
    color: #0284c7 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-model-card b.text-emerald-400 {
    color: #059669 !important;
}

/* 6. Baris Detail Kunci (Google AI - 01 / Google AI-02) di Dalam Model */
html:not(.dark) #fast-master-settings-modal .gemini-key-detail-row {
    background-color: #f7f6f2 !important;
    border: 1px solid #e5e2d8 !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-key-detail-row .text-gray-300 {
    color: #18181b !important;
    font-weight: 600 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-key-detail-row .text-gray-400 {
    color: #52525b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-key-detail-row .text-emerald-400 {
    color: #059669 !important;
    font-weight: 700 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-key-detail-row .text-rose-400 {
    color: #e11d48 !important;
    font-weight: 700 !important;
}

/* 7. Tombol Aksi di Panel Gemini */
html:not(.dark) #fast-master-settings-modal .gemini-btn-probe,
html:not(.dark) #fast-master-settings-modal #btn-probe-gemini {
    background-color: #ffffff !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-probe:hover,
html:not(.dark) #fast-master-settings-modal #btn-probe-gemini:hover {
    background-color: #edebe4 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-reset {
    background-color: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    color: #e11d48 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-reset:hover {
    background-color: #ffe4e6 !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-assign {
    background-color: #f4f2eb !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-assign:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
html:not(.dark) #fast-master-settings-modal .gemini-btn-assign:hover i,
html:not(.dark) #fast-master-settings-modal .gemini-btn-assign:hover span {
    color: #ffffff !important;
}

/* 8. Fallback untuk elemen background gelap spesifik di dalam settings modal */
html:not(.dark) #fast-master-settings-modal .bg-\[\#1a1a17\],
html:not(.dark) #fast-master-settings-modal .bg-\[\#1b1b19\] {
    background-color: #f7f6f2 !important;
    border: 1px solid #dcd8cd !important;
    color: #18181b !important;
}


/* ==========================================================================
   DROPDOWN SELECT & OPTION UNTUK TEMA TERANG / PUTIH (LIGHT MODE)
   ========================================================================== */
html:not(.dark) select,
html:not(.dark) .model-select-input,
html:not(.dark) #chat-model-select,
html:not(.dark) #main-model-select,
html:not(.dark) #project-model-select,
html:not(.dark) #project-chat-model-select,
html:not(.dark) #mobile-model-select,
html:not(.dark) #mode-select-header,
html:not(.dark) #mode-select-main {
    background-color: #ffffff !important;
    color: #18181b !important;
}

/* Khusus select input di dalam toolbar prompt/chat: latar transparan dengan teks abu-abu gelap */
html:not(.dark) .model-select-input,
html:not(.dark) #chat-model-select,
html:not(.dark) #project-chat-model-select,
html:not(.dark) #project-model-select {
    background-color: transparent !important;
    color: #3f3f46 !important;
}
html:not(.dark) .model-select-input:hover,
html:not(.dark) #chat-model-select:hover,
html:not(.dark) #project-chat-model-select:hover,
html:not(.dark) #project-model-select:hover {
    color: #18181b !important;
}

/* Seluruh opsi dropdown (option) di tema terang wajib berlatar putih bersih */
html:not(.dark) select option,
html:not(.dark) option,
html:not(.dark) .model-select-input option,
html:not(.dark) #chat-model-select option,
html:not(.dark) #main-model-select option,
html:not(.dark) #project-model-select option,
html:not(.dark) #project-chat-model-select option,
html:not(.dark) #mobile-model-select option,
html:not(.dark) #mode-select-header option,
html:not(.dark) #mode-select-main option,
html:not(.dark) .model-opt {
    background-color: #ffffff !important;
    color: #18181b !important;
}

/* Status hover, focus, dan checked pada opsi dropdown */
html:not(.dark) select option:hover,
html:not(.dark) select option:focus,
html:not(.dark) select option:checked,
html:not(.dark) option:checked {
    background-color: #f4f2eb !important;
    color: #18181b !important;
}

/* Opsi spesifik Gemini Waterfall di tema terang (warna hijau emerald terbaca jelas) */
html:not(.dark) select option.text-emerald-400,
html:not(.dark) .model-select-input option.text-emerald-400,
html:not(.dark) option[value*='gemini-3.8'],
html:not(.dark) .model-opt-gemini-waterfall {
    background-color: #ffffff !important;
    color: #047857 !important;
    font-weight: 600 !important;
}

/* Opsi spesifik Gemini Flash Lite di tema terang (warna biru langit terbaca jelas) */
html:not(.dark) select option.text-cyan-400,
html:not(.dark) .model-select-input option.text-cyan-400,
html:not(.dark) option[value*='gemini-3.5'],
html:not(.dark) .model-opt-gemini-lite {
    background-color: #ffffff !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
}
