*{margin:0;padding:0;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--theme-border) var(--theme-panel-bg)}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:var(--theme-panel-bg)}*::-webkit-scrollbar-thumb{background:var(--theme-border)}*::-webkit-scrollbar-thumb:hover{background:var(--theme-text-secondary)}.title-bar,.title-bar *,.ribbon-container,.ribbon-container *,.status-bar,.status-bar *,.left-panel,.left-panel *,.properties-panel,.properties-panel *,.app-menu-overlay,.app-menu-overlay *,.context-menu,.context-menu *,.document-tabs,.document-tabs *{cursor:default!important}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:var(--theme-bg);height:100vh;display:flex;flex-direction:column;overflow:hidden}#app-root{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}[lang=ar],[lang=fa]{font-family:Segoe UI,Geeza Pro,SF Arabic,Tahoma,Arial,sans-serif}[lang=ur]{font-family:Segoe UI,Geeza Pro,SF Arabic,Noto Nastaliq Urdu,Tahoma,sans-serif}[lang=he]{font-family:Segoe UI,Arial Hebrew,SF Hebrew,Tahoma,Arial,sans-serif}[lang=zh]{font-family:Microsoft YaHei,PingFang SC,Hiragino Sans GB,Noto Sans SC,WenQuanYi Micro Hei,sans-serif}[lang=ja]{font-family:Yu Gothic UI,Meiryo,Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif}[lang=ko]{font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,sans-serif}[lang=hi]{font-family:Nirmala UI,Kohinoor Devanagari,Devanagari MT,Noto Sans Devanagari,Mangal,sans-serif}[lang=bn]{font-family:Nirmala UI,Kohinoor Bangla,Bangla MN,Noto Sans Bengali,Vrinda,sans-serif}[lang=ta]{font-family:Nirmala UI,Kohinoor Tamil,Tamil MN,Noto Sans Tamil,Latha,sans-serif}[lang=th]{font-family:Leelawadee UI,Thonburi,Noto Sans Thai,Tahoma,sans-serif}[lang=vi],[lang=id],[lang=ms],[lang=ru],[lang=uk],[lang=bg],[lang=sr],[lang=el]{font-family:Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}[lang=de],[lang=fr],[lang=es],[lang=pt],[lang=it],[lang=nl]{font-family:Segoe UI,SF Pro Text,Noto Sans,Helvetica Neue,Arial,sans-serif}[lang=pl],[lang=cs],[lang=sk],[lang=ro],[lang=hu],[lang=hr]{font-family:Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}[lang=ca]{font-family:Segoe UI,SF Pro Text,Noto Sans,Helvetica Neue,Arial,sans-serif}[lang=tr],[lang=fi],[lang=sv],[lang=da],[lang=nb],[lang=sw]{font-family:Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}:root,[data-theme=dark]{--theme-bg: #1a1a2e;--theme-surface: #16213e;--theme-border: #0f3460;--theme-text: #eaeaea;--theme-text-secondary: #8b8b8b;--theme-accent: #a82d6e;--theme-accent-hover: #922560;--theme-hover: #334155;--theme-active: #3b82f6;--theme-titlebar-bg-start: #16213e;--theme-titlebar-bg-end: #1a1a2e;--theme-titlebar-border: #0f3460;--theme-titlebar-text: #eaeaea;--theme-titlebar-text-secondary: #8b8b8b;--theme-titlebar-btn-color: #eaeaea;--theme-titlebar-btn-hover: #334155;--theme-titlebar-btn-active: #475569;--theme-titlebar-btn-disabled: #64748b;--theme-window-btn-color: #eaeaea;--theme-window-btn-hover: rgba(255, 255, 255, .1);--theme-file-tab-bg: #a82d6e;--theme-file-tab-hover: #922560;--theme-file-tab-text: #ffffff;--theme-ribbon-bg-start: #1e293b;--theme-ribbon-bg-end: #172033;--theme-ribbon-border: #0f3460;--theme-ribbon-tabs-bg-start: #1e293b;--theme-ribbon-tabs-bg-end: #1a2436;--theme-ribbon-content-bg: #172033;--theme-ribbon-text: #8b8b8b;--theme-ribbon-text-hover: #eaeaea;--theme-ribbon-tab-hover: #334155;--theme-ribbon-tab-active-bg: #172033;--theme-ribbon-tab-active-border: #0f3460;--theme-ribbon-btn-hover: #334155;--theme-ribbon-btn-hover-border: #475569;--theme-ribbon-btn-active-bg: #1e3a5f;--theme-ribbon-btn-active-border: #60a5fa;--theme-ribbon-btn-active-text: #93c5fd;--theme-ribbon-icon-stroke: #8b8b8b;--theme-ribbon-group-label: #64748b;--theme-ribbon-group-border: #0f3460;--theme-ribbon-input-bg: #0f172a;--theme-ribbon-input-border: #0f3460;--theme-ribbon-input-text: #eaeaea;--theme-ribbon-input-focus-border: #a82d6e;--theme-ribbon-input-focus-bg: #0f172a;--theme-ribbon-input-label: #8b8b8b;--theme-ribbon-dropdown-arrow: #8b8b8b;--theme-ctx-tab-border: #a82d6e;--theme-ctx-tab-text: #a82d6e;--theme-ctx-tab-hover-bg: rgba(168, 45, 110, .15);--theme-ctx-tab-active-text: #c94d8a;--theme-app-menu-bg: #1e293b;--theme-app-menu-sidebar: #16213e;--theme-app-menu-sidebar-border: #0f3460;--theme-app-menu-text: #eaeaea;--theme-app-menu-item-hover: #334155;--theme-app-menu-item-hover-text: #ffffff;--theme-app-menu-icon: #8b8b8b;--theme-app-menu-shortcut: #64748b;--theme-app-menu-shortcut-hover: #8b8b8b;--theme-app-menu-divider: #0f3460;--theme-tab-bg: #16213e;--theme-tab-border: #0f3460;--theme-tab-hover: #1e293b;--theme-tab-active-bg: #1a1a2e;--theme-tab-active-accent: #a82d6e;--theme-tab-text: #8b8b8b;--theme-tab-active-text: #eaeaea;--theme-tab-close-color: #8b8b8b;--theme-tab-modified: #a82d6e;--theme-tab-empty-text: #64748b;--theme-tab-add-color: #8b8b8b;--theme-tab-add-border: #0f3460;--theme-tab-add-hover: #334155;--theme-content-bg: #2a2a4a;--theme-panel-bg: #16213e;--theme-panel-border: #0f3460;--theme-panel-tab-bg: #1a1a2e;--theme-panel-tab-text: #8b8b8b;--theme-panel-tab-hover: #334155;--theme-panel-tab-hover-text: #eaeaea;--theme-panel-tab-active-bg: #16213e;--theme-panel-tab-active-text: #eaeaea;--theme-panel-accent: #a82d6e;--theme-panel-header-text: #eaeaea;--theme-panel-toggle-bg: #334155;--theme-panel-toggle-hover: #475569;--theme-panel-toggle-text: #eaeaea;--theme-panel-resize: #0f3460;--theme-panel-resize-hover: #a82d6e;--theme-thumbnail-bg: #1a1a2e;--theme-thumbnail-hover: #334155;--theme-thumbnail-active-bg: #1e293b;--theme-thumbnail-active-border: #a82d6e;--theme-thumbnail-selected-bg: #2a2a4e;--theme-thumbnail-selected-border: #6b3a7d;--theme-thumbnail-selected-label: #c0c0c0;--theme-thumbnail-label: #8b8b8b;--theme-thumbnail-active-label: #eaeaea;--theme-status-bg: #16213e;--theme-status-border: #0f3460;--theme-status-text: #8b8b8b;--theme-status-text-label: rgba(255, 255, 255, .8);--theme-status-text-value: #eaeaea;--theme-status-hover: rgba(255, 255, 255, .12);--theme-status-separator: rgba(255, 255, 255, .2);--theme-status-nav-text: #eaeaea;--theme-status-nav-hover: rgba(255, 255, 255, .15);--theme-placeholder-text: #8b8b8b;--theme-placeholder-heading: #eaeaea;--theme-bookmarks-empty: #8b8b8b;--theme-notifbar-bg: #1e3a5f;--theme-notifbar-border: #2c5282;--theme-notifbar-text: #93c5fd;--theme-notifbar-icon: #60a5fa;--theme-notifbar-btn-bg: #16213e;--theme-notifbar-btn-border: #2c5282;--theme-notifbar-btn-text: #93c5fd;--theme-notifbar-btn-hover-bg: #2c5282;--theme-notifbar-btn-hover-border: #60a5fa;--theme-notifbar-close: #8b8b8b;--theme-pdfabar-bg: #3b1c1c;--theme-pdfabar-border: #5c2d2d;--theme-pdfabar-text: #f0a0a0;--theme-pdfabar-icon: #e06060;--theme-pdfabar-btn-bg: #16213e;--theme-pdfabar-btn-border: #5c2d2d;--theme-pdfabar-btn-text: #f0a0a0;--theme-pdfabar-btn-hover-bg: #5c2d2d;--theme-pdfabar-btn-hover-border: #e06060;--theme-pdfabar-close: #8b8b8b}[data-theme=light]{--theme-bg: #f5f5f5;--theme-surface: #ffffff;--theme-border: #d1d5db;--theme-text: #1f2937;--theme-text-secondary: #6b7280;--theme-accent: #a82d6e;--theme-accent-hover: #922560;--theme-hover: #e5e7eb;--theme-active: #3b82f6;--theme-titlebar-bg-start: #ffffff;--theme-titlebar-bg-end: #f5f5f5;--theme-titlebar-border: #d1d5db;--theme-titlebar-text: #1f2937;--theme-titlebar-text-secondary: #6b7280;--theme-titlebar-btn-color: #1f2937;--theme-titlebar-btn-hover: #e5e7eb;--theme-titlebar-btn-active: #d1d5db;--theme-titlebar-btn-disabled: #9ca3af;--theme-window-btn-color: #1f2937;--theme-window-btn-hover: rgba(0, 0, 0, .08);--theme-file-tab-bg: #a82d6e;--theme-file-tab-hover: #922560;--theme-file-tab-text: #ffffff;--theme-ribbon-bg-start: #ffffff;--theme-ribbon-bg-end: #f5f5f5;--theme-ribbon-border: #d1d5db;--theme-ribbon-tabs-bg-start: #f5f5f5;--theme-ribbon-tabs-bg-end: #eeeeee;--theme-ribbon-content-bg: #ffffff;--theme-ribbon-text: #6b7280;--theme-ribbon-text-hover: #1f2937;--theme-ribbon-tab-hover: #e5e7eb;--theme-ribbon-tab-active-bg: #ffffff;--theme-ribbon-tab-active-border: #d1d5db;--theme-ribbon-btn-hover: #e5e7eb;--theme-ribbon-btn-hover-border: #d1d5db;--theme-ribbon-btn-active-bg: #dbeafe;--theme-ribbon-btn-active-border: #93c5fd;--theme-ribbon-btn-active-text: #1d4ed8;--theme-ribbon-icon-stroke: #6b7280;--theme-ribbon-group-label: #9ca3af;--theme-ribbon-group-border: #d1d5db;--theme-ribbon-input-bg: #ffffff;--theme-ribbon-input-border: #d1d5db;--theme-ribbon-input-text: #1f2937;--theme-ribbon-input-focus-border: #a82d6e;--theme-ribbon-input-focus-bg: #ffffff;--theme-ribbon-input-label: #9ca3af;--theme-ribbon-dropdown-arrow: #9ca3af;--theme-ctx-tab-border: #a82d6e;--theme-ctx-tab-text: #8a2258;--theme-ctx-tab-hover-bg: rgba(168, 45, 110, .1);--theme-ctx-tab-active-text: #8a2258;--theme-app-menu-bg: #fafafa;--theme-app-menu-sidebar: #f5f5f5;--theme-app-menu-sidebar-border: #d1d5db;--theme-app-menu-text: #1f2937;--theme-app-menu-item-hover: #e5e7eb;--theme-app-menu-item-hover-text: #1f2937;--theme-app-menu-icon: #6b7280;--theme-app-menu-shortcut: #9ca3af;--theme-app-menu-shortcut-hover: #6b7280;--theme-app-menu-divider: #e5e7eb;--theme-tab-bg: #f5f5f5;--theme-tab-border: #d1d5db;--theme-tab-hover: #e5e7eb;--theme-tab-active-bg: #ffffff;--theme-tab-active-accent: #a82d6e;--theme-tab-text: #6b7280;--theme-tab-active-text: #1f2937;--theme-tab-close-color: #6b7280;--theme-tab-modified: #a82d6e;--theme-tab-empty-text: #9ca3af;--theme-tab-add-color: #6b7280;--theme-tab-add-border: #d1d5db;--theme-tab-add-hover: #e5e7eb;--theme-content-bg: #e0e0e0;--theme-panel-bg: #ffffff;--theme-panel-border: #d1d5db;--theme-panel-tab-bg: #f5f5f5;--theme-panel-tab-text: #6b7280;--theme-panel-tab-hover: #e5e7eb;--theme-panel-tab-hover-text: #1f2937;--theme-panel-tab-active-bg: #ffffff;--theme-panel-tab-active-text: #1f2937;--theme-panel-accent: #a82d6e;--theme-panel-header-text: #1f2937;--theme-panel-toggle-bg: #e5e7eb;--theme-panel-toggle-hover: #d1d5db;--theme-panel-toggle-text: #1f2937;--theme-panel-resize: #d1d5db;--theme-panel-resize-hover: #a82d6e;--theme-thumbnail-bg: #f5f5f5;--theme-thumbnail-hover: #e5e7eb;--theme-thumbnail-active-bg: #e5e7eb;--theme-thumbnail-active-border: #a82d6e;--theme-thumbnail-selected-bg: #e8e0f0;--theme-thumbnail-selected-border: #b07cc8;--theme-thumbnail-selected-label: #4a3560;--theme-thumbnail-label: #6b7280;--theme-thumbnail-active-label: #1f2937;--theme-status-bg: #f5f5f5;--theme-status-border: #d1d5db;--theme-status-text: #6b7280;--theme-status-text-label: #4b5563;--theme-status-text-value: #1f2937;--theme-status-hover: rgba(0, 0, 0, .06);--theme-status-separator: rgba(0, 0, 0, .12);--theme-status-nav-text: #1f2937;--theme-status-nav-hover: rgba(0, 0, 0, .08);--theme-placeholder-text: #9ca3af;--theme-placeholder-heading: #6b7280;--theme-bookmarks-empty: #9ca3af;--theme-notifbar-bg: #dbeafe;--theme-notifbar-border: #93c5fd;--theme-notifbar-text: #1f2937;--theme-notifbar-icon: #2563eb;--theme-notifbar-btn-bg: #ffffff;--theme-notifbar-btn-border: #93c5fd;--theme-notifbar-btn-text: #1d4ed8;--theme-notifbar-btn-hover-bg: #bfdbfe;--theme-notifbar-btn-hover-border: #60a5fa;--theme-notifbar-close: #6b7280;--theme-pdfabar-bg: #f8d7da;--theme-pdfabar-border: #e8a0a8;--theme-pdfabar-text: #1f2937;--theme-pdfabar-icon: #b02a37;--theme-pdfabar-btn-bg: #ffffff;--theme-pdfabar-btn-border: #e8a0a8;--theme-pdfabar-btn-text: #b02a37;--theme-pdfabar-btn-hover-bg: #f1b0b7;--theme-pdfabar-btn-hover-border: #b02a37;--theme-pdfabar-close: #6b7280}[data-theme=blue]{--theme-bg: #0d1b2a;--theme-surface: #1b263b;--theme-border: #2c4a6b;--theme-text: #e0e1dd;--theme-text-secondary: #98c1d9;--theme-accent: #0077b6;--theme-accent-hover: #005f8a;--theme-hover: #3d5a80;--theme-active: #0077b6;--theme-titlebar-bg-start: #1b263b;--theme-titlebar-bg-end: #0d1b2a;--theme-titlebar-border: #2c4a6b;--theme-titlebar-text: #e0e1dd;--theme-titlebar-text-secondary: #98c1d9;--theme-titlebar-btn-color: #e0e1dd;--theme-titlebar-btn-hover: #3d5a80;--theme-titlebar-btn-active: #2c4a6b;--theme-titlebar-btn-disabled: #778da9;--theme-window-btn-color: #e0e1dd;--theme-window-btn-hover: rgba(255, 255, 255, .1);--theme-file-tab-bg: #0077b6;--theme-file-tab-hover: #005f8a;--theme-file-tab-text: #ffffff;--theme-ribbon-bg-start: #253a52;--theme-ribbon-bg-end: #1b263b;--theme-ribbon-border: #2c4a6b;--theme-ribbon-tabs-bg-start: #253a52;--theme-ribbon-tabs-bg-end: #1f3044;--theme-ribbon-content-bg: #1b263b;--theme-ribbon-text: #98c1d9;--theme-ribbon-text-hover: #e0e1dd;--theme-ribbon-tab-hover: #3d5a80;--theme-ribbon-tab-active-bg: #1b263b;--theme-ribbon-tab-active-border: #2c4a6b;--theme-ribbon-btn-hover: #3d5a80;--theme-ribbon-btn-hover-border: #4a7aaa;--theme-ribbon-btn-active-bg: #1a3f5c;--theme-ribbon-btn-active-border: #48cae4;--theme-ribbon-btn-active-text: #90e0ef;--theme-ribbon-icon-stroke: #98c1d9;--theme-ribbon-group-label: #778da9;--theme-ribbon-group-border: #2c4a6b;--theme-ribbon-input-bg: #0d1b2a;--theme-ribbon-input-border: #2c4a6b;--theme-ribbon-input-text: #e0e1dd;--theme-ribbon-input-focus-border: #00b4d8;--theme-ribbon-input-focus-bg: #0d1b2a;--theme-ribbon-input-label: #778da9;--theme-ribbon-dropdown-arrow: #778da9;--theme-ctx-tab-border: #00b4d8;--theme-ctx-tab-text: #48cae4;--theme-ctx-tab-hover-bg: rgba(0, 180, 216, .15);--theme-ctx-tab-active-text: #90e0ef;--theme-app-menu-bg: #1b263b;--theme-app-menu-sidebar: #0d1b2a;--theme-app-menu-sidebar-border: #2c4a6b;--theme-app-menu-text: #e0e1dd;--theme-app-menu-item-hover: #3d5a80;--theme-app-menu-item-hover-text: #ffffff;--theme-app-menu-icon: #98c1d9;--theme-app-menu-shortcut: #778da9;--theme-app-menu-shortcut-hover: #98c1d9;--theme-app-menu-divider: #2c4a6b;--theme-tab-bg: #1b263b;--theme-tab-border: #2c4a6b;--theme-tab-hover: #253a52;--theme-tab-active-bg: #0d1b2a;--theme-tab-active-accent: #00b4d8;--theme-tab-text: #98c1d9;--theme-tab-active-text: #e0e1dd;--theme-tab-close-color: #778da9;--theme-tab-modified: #00b4d8;--theme-tab-empty-text: #778da9;--theme-tab-add-color: #778da9;--theme-tab-add-border: #2c4a6b;--theme-tab-add-hover: #3d5a80;--theme-content-bg: #1b3a4a;--theme-panel-bg: #1b263b;--theme-panel-border: #2c4a6b;--theme-panel-tab-bg: #0d1b2a;--theme-panel-tab-text: #778da9;--theme-panel-tab-hover: #3d5a80;--theme-panel-tab-hover-text: #e0e1dd;--theme-panel-tab-active-bg: #1b263b;--theme-panel-tab-active-text: #e0e1dd;--theme-panel-accent: #00b4d8;--theme-panel-header-text: #e0e1dd;--theme-panel-toggle-bg: #3d5a80;--theme-panel-toggle-hover: #4a6a90;--theme-panel-toggle-text: #e0e1dd;--theme-panel-resize: #2c4a6b;--theme-panel-resize-hover: #00b4d8;--theme-thumbnail-bg: #0d1b2a;--theme-thumbnail-hover: #3d5a80;--theme-thumbnail-active-bg: #253a52;--theme-thumbnail-active-border: #00b4d8;--theme-thumbnail-selected-bg: #1a3550;--theme-thumbnail-selected-border: #0090b0;--theme-thumbnail-selected-label: #b0d8e8;--theme-thumbnail-label: #98c1d9;--theme-thumbnail-active-label: #e0e1dd;--theme-status-bg: #0d1b2a;--theme-status-border: #2c4a6b;--theme-status-text: #98c1d9;--theme-status-text-label: rgba(255, 255, 255, .8);--theme-status-text-value: #e0e1dd;--theme-status-hover: rgba(255, 255, 255, .1);--theme-status-separator: rgba(255, 255, 255, .2);--theme-status-nav-text: #e0e1dd;--theme-status-nav-hover: rgba(255, 255, 255, .12);--theme-placeholder-text: #778da9;--theme-placeholder-heading: #98c1d9;--theme-bookmarks-empty: #778da9;--theme-notifbar-bg: #0d3056;--theme-notifbar-border: #1a5276;--theme-notifbar-text: #90e0ef;--theme-notifbar-icon: #48cae4;--theme-notifbar-btn-bg: #0d1b2a;--theme-notifbar-btn-border: #1a5276;--theme-notifbar-btn-text: #90e0ef;--theme-notifbar-btn-hover-bg: #1a5276;--theme-notifbar-btn-hover-border: #48cae4;--theme-notifbar-close: #778da9;--theme-pdfabar-bg: #2a1015;--theme-pdfabar-border: #4a2030;--theme-pdfabar-text: #e0a0a0;--theme-pdfabar-icon: #d06060;--theme-pdfabar-btn-bg: #0d1b2a;--theme-pdfabar-btn-border: #4a2030;--theme-pdfabar-btn-text: #e0a0a0;--theme-pdfabar-btn-hover-bg: #4a2030;--theme-pdfabar-btn-hover-border: #d06060;--theme-pdfabar-close: #778da9}[data-theme=highContrast]{--theme-bg: #000000;--theme-surface: #0a0a0a;--theme-border: #ffffff;--theme-text: #ffffff;--theme-text-secondary: #cccccc;--theme-accent: #ffff00;--theme-accent-hover: #ffcc00;--theme-hover: #333333;--theme-active: #ffff00;--theme-titlebar-bg-start: #141414;--theme-titlebar-bg-end: #0a0a0a;--theme-titlebar-border: #ffffff;--theme-titlebar-text: #ffffff;--theme-titlebar-text-secondary: #cccccc;--theme-titlebar-btn-color: #ffffff;--theme-titlebar-btn-hover: #333333;--theme-titlebar-btn-active: #444444;--theme-titlebar-btn-disabled: #999999;--theme-window-btn-color: #ffffff;--theme-window-btn-hover: #333333;--theme-file-tab-bg: #ffff00;--theme-file-tab-hover: #ffcc00;--theme-file-tab-text: #000000;--theme-ribbon-bg-start: #141414;--theme-ribbon-bg-end: #0a0a0a;--theme-ribbon-border: #ffffff;--theme-ribbon-tabs-bg-start: #141414;--theme-ribbon-tabs-bg-end: #0d0d0d;--theme-ribbon-content-bg: #0a0a0a;--theme-ribbon-text: #ffffff;--theme-ribbon-text-hover: #ffff00;--theme-ribbon-tab-hover: #333333;--theme-ribbon-tab-active-bg: #0a0a0a;--theme-ribbon-tab-active-border: #ffffff;--theme-ribbon-btn-hover: #333333;--theme-ribbon-btn-hover-border: #ffffff;--theme-ribbon-btn-active-bg: #ffff00;--theme-ribbon-btn-active-border: #ffff00;--theme-ribbon-btn-active-text: #000000;--theme-ribbon-icon-stroke: #ffffff;--theme-ribbon-group-label: #cccccc;--theme-ribbon-group-border: #ffffff;--theme-ribbon-input-bg: #000000;--theme-ribbon-input-border: #ffffff;--theme-ribbon-input-text: #ffffff;--theme-ribbon-input-focus-border: #ffff00;--theme-ribbon-input-focus-bg: #000000;--theme-ribbon-input-label: #cccccc;--theme-ribbon-dropdown-arrow: #ffffff;--theme-ctx-tab-border: #ffff00;--theme-ctx-tab-text: #ffff00;--theme-ctx-tab-hover-bg: rgba(255, 255, 0, .15);--theme-ctx-tab-active-text: #ffff00;--theme-app-menu-bg: #000000;--theme-app-menu-sidebar: #0a0a0a;--theme-app-menu-sidebar-border: #ffffff;--theme-app-menu-text: #ffffff;--theme-app-menu-item-hover: #333333;--theme-app-menu-item-hover-text: #ffff00;--theme-app-menu-icon: #ffffff;--theme-app-menu-shortcut: #cccccc;--theme-app-menu-shortcut-hover: #ffff00;--theme-app-menu-divider: #ffffff;--theme-tab-bg: #0a0a0a;--theme-tab-border: #ffffff;--theme-tab-hover: #333333;--theme-tab-active-bg: #000000;--theme-tab-active-accent: #ffff00;--theme-tab-text: #ffffff;--theme-tab-active-text: #ffff00;--theme-tab-close-color: #ffffff;--theme-tab-modified: #ffff00;--theme-tab-empty-text: #cccccc;--theme-tab-add-color: #ffffff;--theme-tab-add-border: #ffffff;--theme-tab-add-hover: #333333;--theme-content-bg: #333333;--theme-panel-bg: #0a0a0a;--theme-panel-border: #ffffff;--theme-panel-tab-bg: #000000;--theme-panel-tab-text: #cccccc;--theme-panel-tab-hover: #333333;--theme-panel-tab-hover-text: #ffffff;--theme-panel-tab-active-bg: #0a0a0a;--theme-panel-tab-active-text: #ffff00;--theme-panel-accent: #ffff00;--theme-panel-header-text: #ffffff;--theme-panel-toggle-bg: #333333;--theme-panel-toggle-hover: #555555;--theme-panel-toggle-text: #ffffff;--theme-panel-resize: #ffffff;--theme-panel-resize-hover: #ffff00;--theme-thumbnail-bg: #000000;--theme-thumbnail-hover: #333333;--theme-thumbnail-active-bg: #0a0a0a;--theme-thumbnail-active-border: #ffff00;--theme-thumbnail-selected-bg: #1a1a00;--theme-thumbnail-selected-border: #999900;--theme-thumbnail-selected-label: #cccc00;--theme-thumbnail-label: #ffffff;--theme-thumbnail-active-label: #ffff00;--theme-status-bg: #000000;--theme-status-border: #ffffff;--theme-status-text: #ffffff;--theme-status-text-label: #ffffff;--theme-status-text-value: #ffff00;--theme-status-hover: rgba(255, 255, 255, .15);--theme-status-separator: #ffffff;--theme-status-nav-text: #ffffff;--theme-status-nav-hover: rgba(255, 255, 255, .2);--theme-placeholder-text: #999999;--theme-placeholder-heading: #ffffff;--theme-bookmarks-empty: #999999;--theme-notifbar-bg: #000080;--theme-notifbar-border: #ffffff;--theme-notifbar-text: #ffffff;--theme-notifbar-icon: #ffff00;--theme-notifbar-btn-bg: #000000;--theme-notifbar-btn-border: #ffffff;--theme-notifbar-btn-text: #ffffff;--theme-notifbar-btn-hover-bg: #333333;--theme-notifbar-btn-hover-border: #ffff00;--theme-notifbar-close: #ffffff;--theme-pdfabar-bg: #800000;--theme-pdfabar-border: #ffffff;--theme-pdfabar-text: #ffffff;--theme-pdfabar-icon: #ffff00;--theme-pdfabar-btn-bg: #000000;--theme-pdfabar-btn-border: #ffffff;--theme-pdfabar-btn-text: #ffffff;--theme-pdfabar-btn-hover-bg: #333333;--theme-pdfabar-btn-hover-border: #ffff00;--theme-pdfabar-close: #ffffff}[data-theme=openaec-brown]{--theme-bg: #3E3636;--theme-surface: #4a4242;--theme-border: rgba(217, 119, 6, .25);--theme-text: #F5F0EB;--theme-text-secondary: rgba(245, 240, 235, .6);--theme-accent: #D97706;--theme-accent-hover: #B45309;--theme-hover: rgba(217, 119, 6, .1);--theme-active: #D97706;--theme-titlebar-bg-start: #4a4242;--theme-titlebar-bg-end: #3E3636;--theme-titlebar-border: rgba(217, 119, 6, .25);--theme-titlebar-text: #F5F0EB;--theme-titlebar-text-secondary: rgba(245, 240, 235, .6);--theme-titlebar-btn-color: #F5F0EB;--theme-titlebar-btn-hover: rgba(217, 119, 6, .15);--theme-titlebar-btn-active: rgba(217, 119, 6, .25);--theme-titlebar-btn-disabled: rgba(245, 240, 235, .4);--theme-window-btn-color: #F5F0EB;--theme-window-btn-hover: rgba(217, 119, 6, .15);--theme-file-tab-bg: #D97706;--theme-file-tab-hover: #B45309;--theme-file-tab-text: #3E3636;--theme-ribbon-bg-start: #4a4242;--theme-ribbon-bg-end: #3E3636;--theme-ribbon-border: rgba(217, 119, 6, .25);--theme-ribbon-tabs-bg-start: #4a4242;--theme-ribbon-tabs-bg-end: #443c3c;--theme-ribbon-content-bg: #3E3636;--theme-ribbon-text: rgba(245, 240, 235, .6);--theme-ribbon-text-hover: #F5F0EB;--theme-ribbon-tab-hover: rgba(217, 119, 6, .1);--theme-ribbon-tab-active-bg: #3E3636;--theme-ribbon-tab-active-border: rgba(217, 119, 6, .25);--theme-ribbon-btn-hover: rgba(217, 119, 6, .15);--theme-ribbon-btn-hover-border: rgba(217, 119, 6, .3);--theme-ribbon-btn-active-bg: rgba(217, 119, 6, .2);--theme-ribbon-btn-active-border: rgba(217, 119, 6, .4);--theme-ribbon-btn-active-text: #D97706;--theme-ribbon-icon-stroke: rgba(245, 240, 235, .6);--theme-ribbon-group-label: rgba(217, 119, 6, .8);--theme-ribbon-group-border: rgba(217, 119, 6, .15);--theme-ribbon-input-bg: rgba(217, 119, 6, .05);--theme-ribbon-input-border: rgba(217, 119, 6, .2);--theme-ribbon-input-text: #F5F0EB;--theme-ribbon-input-focus-border: #D97706;--theme-ribbon-input-focus-bg: rgba(217, 119, 6, .08);--theme-ribbon-input-label: rgba(245, 240, 235, .5);--theme-ribbon-dropdown-arrow: rgba(245, 240, 235, .5);--theme-ctx-tab-border: #D97706;--theme-ctx-tab-text: #D97706;--theme-ctx-tab-hover-bg: rgba(217, 119, 6, .15);--theme-ctx-tab-active-text: #D97706;--theme-app-menu-bg: #4a4242;--theme-app-menu-sidebar: #3E3636;--theme-app-menu-sidebar-border: rgba(217, 119, 6, .2);--theme-app-menu-text: #F5F0EB;--theme-app-menu-item-hover: rgba(217, 119, 6, .1);--theme-app-menu-item-hover-text: #F5F0EB;--theme-app-menu-icon: rgba(245, 240, 235, .6);--theme-app-menu-shortcut: rgba(245, 240, 235, .5);--theme-app-menu-shortcut-hover: rgba(217, 119, 6, .7);--theme-app-menu-divider: rgba(217, 119, 6, .15);--theme-tab-bg: #332d2d;--theme-tab-border: rgba(217, 119, 6, .2);--theme-tab-hover: rgba(217, 119, 6, .1);--theme-tab-active-bg: #3E3636;--theme-tab-active-accent: #D97706;--theme-tab-text: rgba(245, 240, 235, .6);--theme-tab-active-text: #F5F0EB;--theme-tab-close-color: rgba(245, 240, 235, .5);--theme-tab-modified: #D97706;--theme-tab-empty-text: rgba(245, 240, 235, .4);--theme-tab-add-color: rgba(245, 240, 235, .5);--theme-tab-add-border: rgba(217, 119, 6, .2);--theme-tab-add-hover: rgba(217, 119, 6, .1);--theme-content-bg: #2e2828;--theme-panel-bg: #4a4242;--theme-panel-border: rgba(217, 119, 6, .2);--theme-panel-tab-bg: #3E3636;--theme-panel-tab-text: rgba(245, 240, 235, .6);--theme-panel-tab-hover: rgba(217, 119, 6, .1);--theme-panel-tab-hover-text: #F5F0EB;--theme-panel-tab-active-bg: #4a4242;--theme-panel-tab-active-text: #F5F0EB;--theme-panel-accent: #D97706;--theme-panel-header-text: #F5F0EB;--theme-panel-toggle-bg: rgba(217, 119, 6, .1);--theme-panel-toggle-hover: rgba(217, 119, 6, .18);--theme-panel-toggle-text: #F5F0EB;--theme-panel-resize: rgba(217, 119, 6, .2);--theme-panel-resize-hover: #D97706;--theme-thumbnail-bg: #3E3636;--theme-thumbnail-hover: rgba(217, 119, 6, .1);--theme-thumbnail-active-bg: #4a4242;--theme-thumbnail-active-border: #D97706;--theme-thumbnail-selected-bg: rgba(217, 119, 6, .12);--theme-thumbnail-selected-border: #B45309;--theme-thumbnail-selected-label: #D97706;--theme-thumbnail-label: rgba(245, 240, 235, .6);--theme-thumbnail-active-label: #F5F0EB;--theme-status-bg: #D97706;--theme-status-border: #D97706;--theme-status-text: #3E3636;--theme-status-text-label: rgba(62, 54, 54, .7);--theme-status-text-value: #3E3636;--theme-status-hover: rgba(62, 54, 54, .15);--theme-status-separator: rgba(62, 54, 54, .25);--theme-status-nav-text: #3E3636;--theme-status-nav-hover: rgba(62, 54, 54, .15);--theme-placeholder-text: rgba(245, 240, 235, .5);--theme-placeholder-heading: #F5F0EB;--theme-bookmarks-empty: rgba(245, 240, 235, .5);--theme-notifbar-bg: rgba(217, 119, 6, .15);--theme-notifbar-border: rgba(217, 119, 6, .3);--theme-notifbar-text: #F5F0EB;--theme-notifbar-icon: #D97706;--theme-notifbar-btn-bg: #3E3636;--theme-notifbar-btn-border: rgba(217, 119, 6, .3);--theme-notifbar-btn-text: #D97706;--theme-notifbar-btn-hover-bg: rgba(217, 119, 6, .2);--theme-notifbar-btn-hover-border: #D97706;--theme-notifbar-close: rgba(245, 240, 235, .5);--theme-pdfabar-bg: #3b1c1c;--theme-pdfabar-border: #5c2d2d;--theme-pdfabar-text: #f0a0a0;--theme-pdfabar-icon: #e06060;--theme-pdfabar-btn-bg: #3E3636;--theme-pdfabar-btn-border: #5c2d2d;--theme-pdfabar-btn-text: #f0a0a0;--theme-pdfabar-btn-hover-bg: #5c2d2d;--theme-pdfabar-btn-hover-border: #e06060;--theme-pdfabar-close: rgba(245, 240, 235, .5)}[data-theme=openaec-dark]{--theme-bg: #1a1a2e;--theme-surface: #242445;--theme-border: rgba(217, 119, 6, .2);--theme-text: #C4B199;--theme-text-secondary: rgba(196, 177, 153, .6);--theme-accent: #D97706;--theme-accent-hover: #B45309;--theme-hover: rgba(217, 119, 6, .1);--theme-active: #D97706;--theme-titlebar-bg-start: #242445;--theme-titlebar-bg-end: #1a1a2e;--theme-titlebar-border: rgba(217, 119, 6, .2);--theme-titlebar-text: #C4B199;--theme-titlebar-text-secondary: rgba(196, 177, 153, .6);--theme-titlebar-btn-color: #C4B199;--theme-titlebar-btn-hover: rgba(217, 119, 6, .15);--theme-titlebar-btn-active: rgba(217, 119, 6, .25);--theme-titlebar-btn-disabled: rgba(196, 177, 153, .4);--theme-window-btn-color: #C4B199;--theme-window-btn-hover: rgba(217, 119, 6, .15);--theme-file-tab-bg: #D97706;--theme-file-tab-hover: #B45309;--theme-file-tab-text: #1a1a2e;--theme-ribbon-bg-start: #242445;--theme-ribbon-bg-end: #1a1a2e;--theme-ribbon-border: rgba(217, 119, 6, .2);--theme-ribbon-tabs-bg-start: #242445;--theme-ribbon-tabs-bg-end: #1f1f3a;--theme-ribbon-content-bg: #1a1a2e;--theme-ribbon-text: rgba(196, 177, 153, .6);--theme-ribbon-text-hover: #C4B199;--theme-ribbon-tab-hover: rgba(217, 119, 6, .1);--theme-ribbon-tab-active-bg: #1a1a2e;--theme-ribbon-tab-active-border: rgba(217, 119, 6, .2);--theme-ribbon-btn-hover: rgba(217, 119, 6, .15);--theme-ribbon-btn-hover-border: rgba(217, 119, 6, .3);--theme-ribbon-btn-active-bg: rgba(217, 119, 6, .2);--theme-ribbon-btn-active-border: rgba(217, 119, 6, .4);--theme-ribbon-btn-active-text: #D97706;--theme-ribbon-icon-stroke: rgba(196, 177, 153, .6);--theme-ribbon-group-label: rgba(217, 119, 6, .8);--theme-ribbon-group-border: rgba(217, 119, 6, .15);--theme-ribbon-input-bg: rgba(217, 119, 6, .05);--theme-ribbon-input-border: rgba(217, 119, 6, .2);--theme-ribbon-input-text: #C4B199;--theme-ribbon-input-focus-border: #D97706;--theme-ribbon-input-focus-bg: rgba(217, 119, 6, .08);--theme-ribbon-input-label: rgba(196, 177, 153, .5);--theme-ribbon-dropdown-arrow: rgba(196, 177, 153, .5);--theme-ctx-tab-border: #D97706;--theme-ctx-tab-text: #D97706;--theme-ctx-tab-hover-bg: rgba(217, 119, 6, .15);--theme-ctx-tab-active-text: #D97706;--theme-app-menu-bg: #242445;--theme-app-menu-sidebar: #1a1a2e;--theme-app-menu-sidebar-border: rgba(217, 119, 6, .2);--theme-app-menu-text: #C4B199;--theme-app-menu-item-hover: rgba(217, 119, 6, .1);--theme-app-menu-item-hover-text: #C4B199;--theme-app-menu-icon: rgba(196, 177, 153, .6);--theme-app-menu-shortcut: rgba(196, 177, 153, .5);--theme-app-menu-shortcut-hover: rgba(217, 119, 6, .7);--theme-app-menu-divider: rgba(217, 119, 6, .15);--theme-tab-bg: #2a1f0a;--theme-tab-border: rgba(217, 119, 6, .2);--theme-tab-hover: rgba(217, 119, 6, .1);--theme-tab-active-bg: #1a1a2e;--theme-tab-active-accent: #D97706;--theme-tab-text: rgba(196, 177, 153, .6);--theme-tab-active-text: #C4B199;--theme-tab-close-color: rgba(196, 177, 153, .5);--theme-tab-modified: #D97706;--theme-tab-empty-text: rgba(196, 177, 153, .4);--theme-tab-add-color: rgba(196, 177, 153, .5);--theme-tab-add-border: rgba(217, 119, 6, .2);--theme-tab-add-hover: rgba(217, 119, 6, .1);--theme-content-bg: #12122a;--theme-panel-bg: #242445;--theme-panel-border: rgba(217, 119, 6, .2);--theme-panel-tab-bg: #1a1a2e;--theme-panel-tab-text: rgba(196, 177, 153, .6);--theme-panel-tab-hover: rgba(217, 119, 6, .1);--theme-panel-tab-hover-text: #C4B199;--theme-panel-tab-active-bg: #242445;--theme-panel-tab-active-text: #C4B199;--theme-panel-accent: #D97706;--theme-panel-header-text: #C4B199;--theme-panel-toggle-bg: rgba(217, 119, 6, .1);--theme-panel-toggle-hover: rgba(217, 119, 6, .15);--theme-panel-toggle-text: #C4B199;--theme-panel-resize: rgba(217, 119, 6, .2);--theme-panel-resize-hover: #D97706;--theme-thumbnail-bg: #1a1a2e;--theme-thumbnail-hover: rgba(217, 119, 6, .1);--theme-thumbnail-active-bg: #242445;--theme-thumbnail-active-border: #D97706;--theme-thumbnail-selected-bg: rgba(217, 119, 6, .12);--theme-thumbnail-selected-border: #B45309;--theme-thumbnail-selected-label: #D97706;--theme-thumbnail-label: rgba(196, 177, 153, .6);--theme-thumbnail-active-label: #C4B199;--theme-status-bg: #D97706;--theme-status-border: #D97706;--theme-status-text: #1a1a2e;--theme-status-text-label: rgba(26, 26, 46, .7);--theme-status-text-value: #1a1a2e;--theme-status-hover: rgba(26, 26, 46, .15);--theme-status-separator: rgba(26, 26, 46, .25);--theme-status-nav-text: #1a1a2e;--theme-status-nav-hover: rgba(26, 26, 46, .15);--theme-placeholder-text: rgba(196, 177, 153, .5);--theme-placeholder-heading: #C4B199;--theme-bookmarks-empty: rgba(196, 177, 153, .5);--theme-notifbar-bg: rgba(217, 119, 6, .15);--theme-notifbar-border: rgba(217, 119, 6, .3);--theme-notifbar-text: #C4B199;--theme-notifbar-icon: #D97706;--theme-notifbar-btn-bg: #1a1a2e;--theme-notifbar-btn-border: rgba(217, 119, 6, .3);--theme-notifbar-btn-text: #D97706;--theme-notifbar-btn-hover-bg: rgba(217, 119, 6, .2);--theme-notifbar-btn-hover-border: #D97706;--theme-notifbar-close: rgba(196, 177, 153, .5);--theme-pdfabar-bg: #3b1c1c;--theme-pdfabar-border: #5c2d2d;--theme-pdfabar-text: #f0a0a0;--theme-pdfabar-icon: #e06060;--theme-pdfabar-btn-bg: #1a1a2e;--theme-pdfabar-btn-border: #5c2d2d;--theme-pdfabar-btn-text: #f0a0a0;--theme-pdfabar-btn-hover-bg: #5c2d2d;--theme-pdfabar-btn-hover-border: #e06060;--theme-pdfabar-close: rgba(196, 177, 153, .5)}[data-theme=deep-forge]{--theme-bg: #36363E;--theme-surface: #44444C;--theme-border: rgba(217, 119, 6, .25);--theme-text: #FAFAF9;--theme-text-secondary: rgba(250, 250, 249, .6);--theme-accent: #D97706;--theme-accent-hover: #EA580C;--theme-hover: rgba(217, 119, 6, .1);--theme-active: #D97706;--theme-titlebar-bg-start: #44444C;--theme-titlebar-bg-end: #36363E;--theme-titlebar-border: rgba(217, 119, 6, .25);--theme-titlebar-text: #FAFAF9;--theme-titlebar-text-secondary: rgba(250, 250, 249, .6);--theme-titlebar-btn-color: #FAFAF9;--theme-titlebar-btn-hover: rgba(217, 119, 6, .15);--theme-titlebar-btn-active: rgba(217, 119, 6, .25);--theme-titlebar-btn-disabled: rgba(250, 250, 249, .4);--theme-window-btn-color: #FAFAF9;--theme-window-btn-hover: rgba(217, 119, 6, .15);--theme-file-tab-bg: #D97706;--theme-file-tab-hover: #EA580C;--theme-file-tab-text: #36363E;--theme-ribbon-bg-start: #44444C;--theme-ribbon-bg-end: #36363E;--theme-ribbon-border: rgba(217, 119, 6, .25);--theme-ribbon-tabs-bg-start: #44444C;--theme-ribbon-tabs-bg-end: #3E3E46;--theme-ribbon-content-bg: #36363E;--theme-ribbon-text: rgba(250, 250, 249, .6);--theme-ribbon-text-hover: #FAFAF9;--theme-ribbon-tab-hover: rgba(217, 119, 6, .1);--theme-ribbon-tab-active-bg: #36363E;--theme-ribbon-tab-active-border: rgba(217, 119, 6, .25);--theme-ribbon-btn-hover: rgba(217, 119, 6, .15);--theme-ribbon-btn-hover-border: rgba(217, 119, 6, .3);--theme-ribbon-btn-active-bg: rgba(217, 119, 6, .2);--theme-ribbon-btn-active-border: rgba(217, 119, 6, .4);--theme-ribbon-btn-active-text: #D97706;--theme-ribbon-icon-stroke: rgba(250, 250, 249, .6);--theme-ribbon-group-label: rgba(217, 119, 6, .8);--theme-ribbon-group-border: rgba(250, 250, 249, .15);--theme-ribbon-input-bg: rgba(217, 119, 6, .05);--theme-ribbon-input-border: rgba(217, 119, 6, .2);--theme-ribbon-input-text: #FAFAF9;--theme-ribbon-input-focus-border: #D97706;--theme-ribbon-input-focus-bg: rgba(217, 119, 6, .08);--theme-ribbon-input-label: rgba(250, 250, 249, .5);--theme-ribbon-dropdown-arrow: rgba(250, 250, 249, .5);--theme-ctx-tab-border: #D97706;--theme-ctx-tab-text: #D97706;--theme-ctx-tab-hover-bg: rgba(217, 119, 6, .15);--theme-ctx-tab-active-text: #D97706;--theme-app-menu-bg: #44444C;--theme-app-menu-sidebar: #36363E;--theme-app-menu-sidebar-border: rgba(217, 119, 6, .2);--theme-app-menu-text: #FAFAF9;--theme-app-menu-item-hover: rgba(217, 119, 6, .1);--theme-app-menu-item-hover-text: #FAFAF9;--theme-app-menu-icon: rgba(250, 250, 249, .6);--theme-app-menu-shortcut: rgba(250, 250, 249, .5);--theme-app-menu-shortcut-hover: rgba(217, 119, 6, .7);--theme-app-menu-divider: rgba(217, 119, 6, .15);--theme-tab-bg: #2E2E36;--theme-tab-border: rgba(217, 119, 6, .2);--theme-tab-hover: rgba(217, 119, 6, .1);--theme-tab-active-bg: #36363E;--theme-tab-active-accent: #D97706;--theme-tab-text: rgba(250, 250, 249, .6);--theme-tab-active-text: #FAFAF9;--theme-tab-close-color: rgba(250, 250, 249, .5);--theme-tab-modified: #D97706;--theme-tab-empty-text: rgba(250, 250, 249, .4);--theme-tab-add-color: rgba(250, 250, 249, .5);--theme-tab-add-border: rgba(217, 119, 6, .2);--theme-tab-add-hover: rgba(217, 119, 6, .1);--theme-content-bg: #2E2E36;--theme-panel-bg: #44444C;--theme-panel-border: rgba(217, 119, 6, .2);--theme-panel-tab-bg: #36363E;--theme-panel-tab-text: rgba(250, 250, 249, .6);--theme-panel-tab-hover: rgba(217, 119, 6, .1);--theme-panel-tab-hover-text: #FAFAF9;--theme-panel-tab-active-bg: #44444C;--theme-panel-tab-active-text: #FAFAF9;--theme-panel-accent: #D97706;--theme-panel-header-text: #FAFAF9;--theme-panel-toggle-bg: rgba(217, 119, 6, .1);--theme-panel-toggle-hover: rgba(217, 119, 6, .18);--theme-panel-toggle-text: #FAFAF9;--theme-panel-resize: rgba(217, 119, 6, .2);--theme-panel-resize-hover: #D97706;--theme-thumbnail-bg: #36363E;--theme-thumbnail-hover: rgba(217, 119, 6, .1);--theme-thumbnail-active-bg: #44444C;--theme-thumbnail-active-border: #D97706;--theme-thumbnail-selected-bg: rgba(217, 119, 6, .12);--theme-thumbnail-selected-border: #EA580C;--theme-thumbnail-selected-label: #D97706;--theme-thumbnail-label: rgba(250, 250, 249, .6);--theme-thumbnail-active-label: #FAFAF9;--theme-status-bg: #36363E;--theme-status-border: #27272A;--theme-status-text: #A1A1AA;--theme-status-text-label: rgba(161, 161, 170, .7);--theme-status-text-value: #FAFAF9;--theme-status-hover: rgba(250, 250, 249, .1);--theme-status-separator: rgba(250, 250, 249, .15);--theme-status-nav-text: #FAFAF9;--theme-status-nav-hover: rgba(250, 250, 249, .1);--theme-placeholder-text: rgba(250, 250, 249, .5);--theme-placeholder-heading: #FAFAF9;--theme-bookmarks-empty: rgba(250, 250, 249, .5);--theme-notifbar-bg: rgba(217, 119, 6, .15);--theme-notifbar-border: rgba(217, 119, 6, .3);--theme-notifbar-text: #FAFAF9;--theme-notifbar-icon: #D97706;--theme-notifbar-btn-bg: #36363E;--theme-notifbar-btn-border: rgba(217, 119, 6, .3);--theme-notifbar-btn-text: #D97706;--theme-notifbar-btn-hover-bg: rgba(217, 119, 6, .2);--theme-notifbar-btn-hover-border: #D97706;--theme-notifbar-close: rgba(250, 250, 249, .5);--theme-pdfabar-bg: #3b1c1c;--theme-pdfabar-border: #5c2d2d;--theme-pdfabar-text: #f0a0a0;--theme-pdfabar-icon: #e06060;--theme-pdfabar-btn-bg: #36363E;--theme-pdfabar-btn-border: #5c2d2d;--theme-pdfabar-btn-text: #f0a0a0;--theme-pdfabar-btn-hover-bg: #5c2d2d;--theme-pdfabar-btn-hover-border: #e06060;--theme-pdfabar-close: rgba(250, 250, 249, .5)}.title-bar{background:linear-gradient(to bottom,var(--theme-titlebar-bg-start) 0%,var(--theme-titlebar-bg-end) 100%);border-bottom:1px solid var(--theme-titlebar-border);padding:0;display:flex;align-items:center;justify-content:space-between;height:30px;flex-shrink:0;-webkit-app-region:drag;-webkit-user-select:none;user-select:none;cursor:default;position:relative;z-index:1001}.title-bar.dialogs-open{-webkit-app-region:no-drag}.title-bar.dialogs-open .quick-access-btn,.title-bar.dialogs-open .send-feedback-btn{pointer-events:none;opacity:.5}.title-bar.dialogs-open .window-btn{pointer-events:none}.title-bar.dialogs-open .window-btn:disabled{color:var(--theme-window-btn-color);opacity:.5}.title-bar-left{display:flex;align-items:center;gap:0;height:100%;-webkit-app-region:no-drag}.app-icon{width:18px;height:18px;pointer-events:none;-webkit-user-select:none;user-select:none}.quick-access-toolbar{display:flex;align-items:center;gap:2px;margin-left:8px;height:100%}.quick-access-btn{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:2px;cursor:pointer;color:var(--theme-titlebar-btn-color);padding:0}.quick-access-btn:hover{background:var(--theme-titlebar-btn-hover)}.quick-access-btn:active{background:var(--theme-titlebar-btn-active)}.quick-access-btn:disabled{color:var(--theme-titlebar-btn-disabled);cursor:default}.quick-access-btn:disabled:hover{background:transparent}.quick-access-btn svg{width:18px;height:18px}.quick-access-separator{width:1px;height:16px;background:var(--theme-titlebar-border);margin:0 4px}.title-bar-center{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;pointer-events:none}.app-title{font-size:12px;font-weight:600;color:var(--theme-titlebar-text)}.file-name{font-size:11px;color:var(--theme-titlebar-text-secondary)}.title-bar-actions{display:flex;gap:8px}.title-btn{background:#2563eb;color:#fff;border:none;padding:6px 16px;font-size:12px;border-radius:3px;cursor:pointer;transition:background .2s;font-weight:500}.title-btn:hover{background:#1d4ed8}.title-btn.secondary{background:#6b7280}.title-btn.secondary:hover{background:#4b5563}.send-feedback-btn{background:none;border:none;font-size:11px;color:var(--theme-text-secondary, #666);cursor:pointer;padding:0 4px;margin-right:12px;font-family:inherit;-webkit-app-region:no-drag;transition:color .15s}.send-feedback-btn:hover{color:var(--theme-active, #0078d7)}.window-controls{display:flex;-webkit-app-region:no-drag}.window-btn{width:40px;height:30px;border:none;background:transparent;color:var(--theme-window-btn-color);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .1s}.window-btn:hover{background:var(--theme-window-btn-hover)}.window-btn-close:hover{background:#e81123;color:#fff}.app-menu-overlay{position:fixed;inset:30px 0 0;z-index:1000;display:none;flex-direction:row;background:var(--theme-app-menu-bg)}.app-menu-overlay.visible{display:flex;-webkit-user-select:none;user-select:none}.app-menu-sidebar{width:260px;background:var(--theme-app-menu-sidebar);display:flex;flex-direction:column;border-right:1px solid var(--theme-app-menu-sidebar-border);flex-shrink:0}.app-menu-back{display:flex;align-items:center;gap:10px;padding:14px 20px;background:var(--theme-file-tab-bg);border:none;color:var(--theme-file-tab-text);font-size:15px;font-weight:600;cursor:pointer;transition:background .15s}.app-menu-back:hover{background:var(--theme-file-tab-hover)}.app-menu-back svg{flex-shrink:0}.app-menu-items{display:flex;flex-direction:column;padding:8px 0;overflow-y:auto;flex:1}.app-menu-item{display:flex;align-items:center;gap:12px;padding:10px 20px;background:transparent;border:none;color:var(--theme-app-menu-text);font-size:13px;cursor:pointer;transition:background .1s;text-align:left;width:100%}.app-menu-item:hover{background:var(--theme-app-menu-item-hover);color:var(--theme-app-menu-item-hover-text)}.app-menu-item.active{background:var(--theme-app-menu-item-hover);color:var(--theme-app-menu-item-hover-text);border-left:3px solid #3b82f6;padding-left:17px}.app-menu-item.active .app-menu-item-icon svg{stroke:var(--theme-app-menu-item-hover-text)}.app-menu-item-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.app-menu-item-icon svg{stroke:var(--theme-app-menu-icon)}.app-menu-item:hover .app-menu-item-icon svg{stroke:var(--theme-app-menu-item-hover-text)}.app-menu-item-label{flex:1}.app-menu-item-shortcut{font-size:11px;color:var(--theme-app-menu-shortcut);margin-left:auto}.app-menu-item:hover .app-menu-item-shortcut{color:var(--theme-app-menu-shortcut-hover)}.app-menu-divider{height:1px;background:var(--theme-app-menu-divider);margin:4px 16px}.app-menu-content{flex:1;background:var(--theme-app-menu-bg);padding:40px;overflow-y:auto;color:var(--theme-app-menu-text)}.open-panel{display:flex;flex-direction:row;height:100%;margin:-40px}.open-panel-nav{width:200px;flex-shrink:0;display:flex;flex-direction:column;padding:12px 0;border-right:1px solid var(--theme-app-menu-divider);background:var(--theme-app-menu-bg)}.open-panel-nav-item{display:flex;align-items:center;gap:10px;padding:10px 16px;background:transparent;border:none;color:var(--theme-app-menu-text);font-size:13px;cursor:pointer;text-align:left;width:100%}.open-panel-nav-item:hover:not(:disabled){background:var(--theme-app-menu-item-hover)}.open-panel-nav-item:disabled{opacity:.45;cursor:default}.open-panel-nav-item.active{background:#cde6fc;color:#000}.open-panel-nav-item svg{flex-shrink:0;stroke:var(--theme-app-menu-icon)}.open-panel-nav-item.active svg{stroke:#000}.open-panel-content{flex:1;display:flex;flex-direction:column;padding:20px 24px;overflow-y:auto;min-width:0}.open-panel-title{font-size:22px;font-weight:400;margin:0 0 12px;color:var(--theme-app-menu-text)}.open-panel-search{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--theme-app-menu-divider);background:var(--theme-bg, #fff);margin-bottom:8px;max-width:600px}.open-panel-search svg{flex-shrink:0;stroke:var(--theme-app-menu-shortcut)}.open-panel-search-input{flex:1;border:none;outline:none;font-size:12px;background:transparent;color:var(--theme-app-menu-text);padding:2px 0}.open-panel-search-input::placeholder{color:var(--theme-app-menu-shortcut)}.open-panel-groups{flex:1;overflow-y:auto;max-width:600px}.open-panel-group{margin-bottom:2px}.open-panel-group-header{display:flex;align-items:center;gap:6px;padding:4px;background:var(--theme-app-menu-bg);border:none;border-bottom:1px solid var(--theme-app-menu-divider);color:var(--theme-app-menu-shortcut);font-size:11px;cursor:pointer;width:100%;text-align:left}.open-panel-group-header:hover{color:var(--theme-app-menu-text)}.open-panel-chevron{transition:transform .15s}.open-panel-chevron.collapsed{transform:rotate(-90deg)}.open-panel-group-list{display:flex;flex-direction:column}.open-panel-empty{padding:12px 8px;color:var(--theme-app-menu-shortcut);font-size:12px;font-style:italic}.recent-file-item{display:flex;align-items:center;gap:10px;padding:6px 8px;cursor:pointer;border:1px solid transparent}.recent-file-item:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-divider)}.recent-file-icon{flex-shrink:0;width:20px;height:24px;display:flex;align-items:center;justify-content:center}.recent-file-info{flex:1;min-width:0;overflow:hidden}.recent-file-name{font-size:13px;font-weight:600;color:var(--theme-app-menu-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-file-path{font-size:11px;color:var(--theme-app-menu-shortcut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.recent-file-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.recent-file-action-btn{display:flex;align-items:center;justify-content:center;width:22px;height:22px;background:transparent;border:none;cursor:pointer;color:var(--theme-app-menu-shortcut);padding:0}.recent-file-action-btn:hover,.recent-file-action-btn.pinned{color:var(--theme-accent)}.recent-file-action-btn.remove:hover{color:#e81123}.session-save-form{display:flex;gap:8px;max-width:600px}.session-name-input{flex:1;padding:4px 8px;border:1px solid var(--theme-app-menu-divider);background:var(--theme-bg, #fff);color:var(--theme-app-menu-text);font-size:12px;outline:none}.session-name-input:focus{border-color:var(--theme-accent)}.session-save-btn{padding:4px 14px;background:var(--theme-accent);color:#fff;border:none;font-size:12px;cursor:pointer}.session-save-btn:hover:not(:disabled){background:var(--theme-accent-hover)}.session-save-btn:disabled{opacity:.5;cursor:default}.session-item{display:flex;align-items:center;gap:10px;padding:6px 8px;cursor:pointer;border:1px solid transparent}.session-item:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-divider)}.session-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:var(--theme-app-menu-shortcut)}.session-info{flex:1;min-width:0;overflow:hidden}.session-name{font-size:13px;font-weight:600;color:var(--theme-app-menu-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-meta{font-size:11px;color:var(--theme-app-menu-shortcut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.url-form{display:flex;gap:8px;max-width:600px}.url-input{flex:1;padding:4px 8px;border:1px solid var(--theme-app-menu-divider);background:var(--theme-bg, #fff);color:var(--theme-app-menu-text);font-size:12px;outline:none}.url-input:focus{border-color:var(--theme-accent)}.url-input:disabled{opacity:.6}.url-open-btn{padding:4px 14px;background:var(--theme-accent);color:#fff;border:none;font-size:12px;cursor:pointer;white-space:nowrap}.url-open-btn:hover:not(:disabled){background:var(--theme-accent-hover)}.url-open-btn:disabled{opacity:.5;cursor:default}.url-error{color:#e81123;font-size:12px;margin-top:8px;max-width:600px}.places-add-btn{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;background:var(--theme-accent);color:#fff;border:none;font-size:12px;cursor:pointer}.places-add-btn:hover{background:var(--theme-accent-hover)}.place-wrapper{border:1px solid transparent}.place-item{display:flex;align-items:center;gap:10px;padding:6px 8px;cursor:pointer}.place-item:hover{background:var(--theme-app-menu-item-hover)}.place-wrapper:hover{border-color:var(--theme-app-menu-divider)}.place-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:var(--theme-app-menu-shortcut)}.place-info{flex:1;min-width:0;overflow:hidden}.place-name{font-size:13px;font-weight:600;color:var(--theme-app-menu-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.place-path{font-size:11px;color:var(--theme-app-menu-shortcut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.place-files{padding-left:38px;border-top:1px solid var(--theme-app-menu-divider)}.place-file-item{display:flex;align-items:center;gap:8px;padding:4px 8px;cursor:pointer;border:1px solid transparent}.place-file-item:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-divider)}.place-file-name{font-size:12px;color:var(--theme-app-menu-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ribbon-tab.file-tab{background:var(--theme-file-tab-bg);color:var(--theme-file-tab-text);font-weight:600;border-color:var(--theme-file-tab-bg)}.ribbon-tab.file-tab:hover{background:var(--theme-file-tab-hover);color:var(--theme-file-tab-text)}.ribbon-container{background:linear-gradient(to bottom,var(--theme-ribbon-bg-start) 0%,var(--theme-ribbon-bg-end) 100%);border-bottom:1px solid var(--theme-ribbon-border);flex-shrink:0;-webkit-user-select:none;user-select:none;cursor:default}.ribbon-tabs{background:linear-gradient(to bottom,var(--theme-ribbon-tabs-bg-start) 0%,var(--theme-ribbon-tabs-bg-end) 100%);border-bottom:1px solid var(--theme-ribbon-border);display:flex;padding:0 2px;gap:2px;height:28px;align-items:flex-end}.ribbon-tab{padding:6px 16px;font-size:12px;background:transparent;border:none;color:var(--theme-ribbon-text);font-weight:500;border-radius:4px 4px 0 0;transition:all .15s ease;position:relative;border:1px solid transparent;border-bottom:none}.ribbon-tab:hover{background:var(--theme-ribbon-tab-hover);color:var(--theme-ribbon-text-hover)}.ribbon-tab.active{background:var(--theme-ribbon-tab-active-bg);color:var(--theme-ribbon-text-hover);border-color:var(--theme-ribbon-tab-active-border);border-bottom:1px solid var(--theme-ribbon-tab-active-bg);margin-bottom:-1px}.contextual-tabs{display:none!important}.contextual-tabs.visible{display:inline-block!important}.contextual-tabs.visible.ribbon-content{display:none!important}.contextual-tabs.visible.ribbon-content.active{display:block!important}.ribbon-tab-separator.contextual-tabs.visible{display:inline-block!important;width:1px;height:20px;background:var(--theme-ribbon-border);margin:4px 6px;vertical-align:middle}.ribbon-tab.contextual-tab{color:var(--theme-ctx-tab-text);border-top:2px solid var(--theme-ctx-tab-border)}.ribbon-tab.contextual-tab:hover{background:var(--theme-ctx-tab-hover-bg);color:var(--theme-ctx-tab-text)}.ribbon-tab.contextual-tab.active{background:var(--theme-ribbon-tab-active-bg);color:var(--theme-ctx-tab-active-text);border-top:2px solid var(--theme-ctx-tab-border);border-bottom:1px solid var(--theme-ribbon-tab-active-bg)}.ribbon-content{background:var(--theme-ribbon-content-bg);padding:4px 8px 0 2px;display:none;height:94px}.ribbon-content.active{display:flex;align-items:stretch}.ribbon-groups{display:flex;align-items:stretch;height:100%;flex-shrink:0}.ribbon-group{display:flex;flex-direction:column;padding:0 6px;border-right:1px solid var(--theme-ribbon-group-border);min-width:50px;height:100%}.ribbon-group:last-child{border-right:none}.ribbon-group-label{font-size:9px;color:var(--theme-ribbon-group-label);text-align:center;font-weight:500;padding:2px 0;margin-top:auto;white-space:nowrap;text-transform:uppercase;letter-spacing:.3px}.ribbon-group-content{display:flex;gap:1px;align-items:flex-start;flex:1;padding:1px 0}.ribbon-btn-stack{display:flex;flex-direction:column;gap:1px;height:100%;justify-content:flex-start}.ribbon-btn{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:3px 3px 1px;background:transparent;border:1px solid transparent;border-radius:2px;cursor:pointer;transition:all .15s ease;min-width:44px;gap:1px;height:66px}.ribbon-btn:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-btn.active{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border)}.ribbon-btn:disabled{opacity:.4;pointer-events:none}.ribbon-btn-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ribbon-btn-icon svg{width:24px;height:24px;stroke:var(--theme-ribbon-icon-stroke)}.ribbon-btn:hover .ribbon-btn-icon svg{stroke:var(--theme-ribbon-text-hover)}.ribbon-btn.active .ribbon-btn-icon svg{stroke:var(--theme-ribbon-btn-active-text)}.ribbon-btn-label{font-size:10px;color:var(--theme-ribbon-text);text-align:center;line-height:1.15;max-width:58px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:keep-all;overflow-wrap:normal}.ribbon-btn:hover .ribbon-btn-label{color:var(--theme-ribbon-text-hover)}.ribbon-btn.active .ribbon-btn-label{color:var(--theme-ribbon-btn-active-text);font-weight:500}.ribbon-btn.small{flex-direction:row;min-width:70px;height:22px;padding:2px 8px 2px 4px;gap:6px;justify-content:flex-start;border-radius:1px}.ribbon-btn.small .ribbon-btn-icon{width:16px;height:16px}.ribbon-btn.small .ribbon-btn-icon svg{width:14px;height:14px}.ribbon-btn.small .ribbon-btn-label{font-size:11px;text-align:left;max-width:none;white-space:nowrap}.ribbon-btn.medium{flex-direction:row;min-width:70px;height:33px;padding:2px 8px 2px 4px;gap:6px;justify-content:flex-start;border-radius:1px}.ribbon-btn.medium .ribbon-btn-icon{width:20px;height:20px}.ribbon-btn.medium .ribbon-btn-icon svg{width:18px;height:18px}.ribbon-btn.medium .ribbon-btn-label{font-size:11px;text-align:left;max-width:none;white-space:nowrap}.ribbon-grid-col{display:flex;flex-direction:column;gap:1px}.ribbon-grid-spacer{height:22px}.ribbon-row-btn{display:flex;align-items:center;gap:4px;height:22px;padding:1px 6px;background:transparent;border:1px solid transparent;cursor:pointer;font-size:11px;color:var(--theme-ribbon-text);white-space:nowrap}.ribbon-row-btn:hover:not(:disabled){background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-row-btn:disabled,.ribbon-style-item.disabled{opacity:.4;cursor:default;pointer-events:none}.ribbon-row-btn svg{width:16px;height:16px;flex-shrink:0}.ribbon-row-btn .dropdown-arrow{width:8px;height:5px;margin-left:2px}.ribbon-dropdown-btn{font-size:10px;color:#666}.ribbon-big-icon{display:flex;align-items:center;justify-content:center;width:40px;height:66px}.ribbon-big-icon svg{width:36px;height:36px}.ribbon-transform-grid{display:flex;flex-direction:column;gap:3px;padding:4px 0}.ribbon-transform-row{display:flex;align-items:center;gap:3px}.ribbon-transform-row label{font-size:11px;color:var(--theme-ribbon-text);min-width:12px;text-align:right}.ribbon-transform-input{width:62px;height:20px;font-size:11px;padding:0 3px;border:1px solid #ccc;background:#fff}.ribbon-transform-input:focus{border-color:#06c;outline:none}.ribbon-transform-unit{font-size:10px;color:#888;margin-right:4px}.ribbon-group-wide .ribbon-group-content{max-width:520px}.ribbon-style-gallery{display:flex;gap:2px;overflow:hidden;padding:2px 0}.ribbon-style-item{display:flex;flex-direction:column;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid transparent;min-width:48px}.ribbon-style-item:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-style-preview{width:40px;height:36px;border:2px solid;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;font-family:serif;background:#fff}.ribbon-style-preview.ribbon-style-cloudy{border-style:dashed;border-width:2px}.ribbon-style-label{font-size:9px;color:var(--theme-ribbon-text);text-align:center;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60px}.ribbon-gallery-more{display:flex;align-items:center;justify-content:center;width:18px;background:transparent;border:1px solid transparent;cursor:pointer;color:#666;flex-shrink:0}.ribbon-gallery-more:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-gallery-more svg{width:8px;height:14px}.ribbon-color-preview-block{display:flex;align-items:center;justify-content:center;padding:4px}.ribbon-color-swatch{position:relative;width:48px;height:48px}.ribbon-color-fill{position:absolute;top:0;left:0;width:34px;height:34px;border:1px solid #ccc}.ribbon-color-stroke{position:absolute;bottom:0;right:0;width:34px;height:34px;border:3px solid;background:transparent}.ribbon-color-indicator{width:12px;height:12px;flex-shrink:0}.ribbon-form-grid{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:3px 4px;padding:4px 0}.ribbon-form-grid-2col{grid-template-columns:auto 1fr}.ribbon-form-row{display:contents}.ribbon-form-row label{font-size:11px;color:var(--theme-ribbon-text);white-space:nowrap}.ribbon-form-select{height:20px;font-size:11px;padding:0 2px;border:1px solid #ccc;background:#fff;min-width:60px}.ribbon-form-select-sm{min-width:50px}.ribbon-form-select:disabled{opacity:.4;pointer-events:none}.ribbon-form-select:focus{border-color:#06c;outline:none}.ribbon-split-btn{position:relative;display:flex;flex-direction:column;align-items:center;height:66px}.ribbon-split-btn>.ribbon-btn{flex:1;min-width:54px;border-bottom:none;padding-bottom:0}.ribbon-split-btn-arrow{display:flex;align-items:center;justify-content:center;width:100%;height:14px;padding:0;border:1px solid transparent;background:none;cursor:pointer;color:var(--theme-ribbon-dropdown-arrow)}.ribbon-split-btn-arrow:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-split-btn-arrow svg{stroke:var(--theme-ribbon-dropdown-arrow)}.ribbon-split-btn-arrow:hover svg{stroke:var(--theme-ribbon-text-hover)}.ribbon-split-btn-menu{display:none;position:absolute;top:100%;left:0;z-index:1000;background:var(--theme-ribbon-content-bg);border:1px solid var(--theme-ribbon-btn-hover-border);box-shadow:0 2px 8px #00000040;min-width:130px;padding:2px 0}.ribbon-split-btn-menu.show{display:block}.ribbon-split-btn-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:5px 12px;border:none;background:none;font-size:11px;color:var(--theme-ribbon-text);cursor:pointer;white-space:nowrap;text-align:left}.ribbon-split-btn-menu-item:hover{background:var(--theme-ribbon-btn-hover)}.ribbon-split-btn-menu-item svg{stroke:var(--theme-ribbon-icon-stroke);flex-shrink:0}.ribbon-dropdown{position:relative}.ribbon-dropdown-arrow{position:absolute;right:2px;bottom:2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--theme-ribbon-dropdown-arrow)}.ribbon-btn:hover .ribbon-dropdown-arrow{border-top-color:var(--theme-ribbon-text-hover)}.ribbon-color-picker-wrapper{position:relative}.ribbon-color-dd-arrow{width:8px;height:5px;margin-left:auto;flex-shrink:0;color:var(--theme-ribbon-text)}.ribbon-color-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1000;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);box-shadow:0 4px 12px #0003;padding:6px;min-width:170px}.ribbon-color-dropdown.show{display:block}.ribbon-color-palette{display:flex;gap:2px;padding:2px}.ribbon-color-palette .color-column{display:flex;flex-direction:column;gap:1px}.ribbon-color-palette .color-swatch{width:18px;height:18px;border:1px solid rgba(0,0,0,.15);cursor:pointer}.ribbon-color-palette .color-swatch:hover{transform:scale(1.2);z-index:1;position:relative;border-color:#333}.ribbon-color-dropdown-actions{display:flex;gap:4px;margin-top:6px;padding-top:6px;border-top:1px solid var(--theme-border, #ddd)}.ribbon-color-none-btn,.ribbon-color-custom-btn{flex:1;padding:3px 6px;font-size:11px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);color:var(--theme-text, #333);cursor:pointer}.ribbon-color-none-btn:hover,.ribbon-color-custom-btn:hover{background:var(--theme-ribbon-btn-hover, #e8e8e8)}.ribbon-input-group{display:flex;flex-direction:column;gap:2px;padding:2px}.ribbon-input-label{font-size:9px;color:var(--theme-ribbon-input-label);font-weight:500;text-transform:uppercase;letter-spacing:.3px}.ribbon-input{width:50px;padding:3px 6px;border:1px solid var(--theme-ribbon-input-border);border-radius:1px;font-size:11px;background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text)}.ribbon-input:focus{outline:none;border-color:var(--theme-ribbon-input-focus-border);background:var(--theme-ribbon-input-focus-bg)}.ribbon-color-input{width:32px;height:24px;border:1px solid var(--theme-ribbon-input-border);border-radius:1px;cursor:pointer;padding:2px;background:var(--theme-ribbon-input-bg)}.ribbon-color-input:hover{border-color:var(--theme-ribbon-input-focus-border)}.ribbon-input-row{display:flex;align-items:center;gap:6px;height:22px}.ribbon-input-row .ribbon-input-label{min-width:35px;color:var(--theme-ribbon-input-text)}.ribbon-input-row .ribbon-input{width:45px}.theme-picker{position:relative;display:inline-block}.theme-picker-toggle{display:flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid var(--theme-ribbon-input-border);background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text);font-size:11px;cursor:pointer;min-width:130px}.theme-picker-toggle:hover{border-color:var(--theme-ribbon-input-focus-border)}.theme-picker-swatches{display:flex;gap:2px}.theme-swatch{display:inline-block;width:12px;height:12px;border:1px solid rgba(128,128,128,.4)}.theme-picker-label{flex:1;text-align:left}.theme-picker-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1000;min-width:170px;border:1px solid var(--theme-ribbon-input-border);background:var(--theme-ribbon-input-bg);padding:2px 0;box-shadow:0 4px 12px #0000004d}.theme-picker-dropdown.open{display:block}.theme-picker-option{display:flex;align-items:center;gap:8px;padding:5px 10px;cursor:pointer;color:var(--theme-ribbon-input-text);font-size:11px}.theme-picker-option:hover{background:var(--theme-ribbon-btn-hover)}.theme-picker-option.selected{background:var(--theme-ribbon-btn-active-bg);color:var(--theme-ribbon-btn-active-text)}.theme-picker-option-swatches{display:flex;gap:2px}.theme-picker-option-label{flex:1}.document-tabs{display:flex;background:var(--theme-tab-bg);border-bottom:1px solid var(--theme-tab-border);height:28px;min-height:28px;overflow-x:auto;overflow-y:hidden;-webkit-user-select:none;user-select:none}.document-tabs::-webkit-scrollbar{height:4px}.document-tabs::-webkit-scrollbar-thumb{background:var(--theme-tab-close-color)}.document-tab{display:flex;align-items:center;padding:0 4px 0 5px;height:100%;background:var(--theme-tab-bg);border-right:1px solid var(--theme-tab-border);min-width:140px;max-width:240px;-webkit-user-select:none;user-select:none}.document-tab:hover{background:var(--theme-tab-hover)}.document-tab.active{background:var(--theme-tab-active-bg);border-bottom:2px solid var(--theme-tab-active-accent)}.document-tab-title{flex:1;font-size:12px;color:var(--theme-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px}.document-tab.active .document-tab-title{color:var(--theme-tab-active-text)}.document-tab-close{width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:2px;opacity:0;color:var(--theme-tab-close-color);font-size:14px;line-height:1;flex-shrink:0}.document-tab:hover .document-tab-close,.document-tab.active .document-tab-close{opacity:1}.document-tab-close:hover{background:var(--theme-app-menu-item-hover);color:var(--theme-app-menu-item-hover-text)}.document-tab-modified{color:var(--theme-tab-modified);font-weight:700;margin-right:4px}.document-tab-rename-input{flex:1;font-size:12px;color:var(--theme-tab-active-text);background:var(--theme-tab-active-bg);border:1px solid var(--theme-tab-active-accent);outline:none;padding:0 2px;margin-right:8px;height:20px;min-width:0;font-family:inherit}.document-tab.dragging{opacity:.4}.document-tab.drop-target{border-left:2px solid var(--theme-tab-active-accent)}.document-tabs-empty{display:flex;align-items:center;padding:0 12px;color:var(--theme-tab-empty-text);font-size:12px;font-style:italic}.document-tabs-add{display:flex;align-items:center;justify-content:center;width:28px;height:100%;color:var(--theme-tab-add-color);font-size:18px;font-weight:300;border-left:1px solid var(--theme-tab-add-border)}.document-tabs-add:hover{background:var(--theme-tab-add-hover);color:var(--theme-tab-active-text)}.content{flex:1;display:flex;position:relative;overflow:hidden;background:var(--theme-content-bg);min-height:0}#left-panel-root{display:contents}.left-panel{width:200px;min-width:0;background:var(--theme-panel-bg);border-right:none;display:flex;flex-direction:row;flex-shrink:0;transition:width .15s ease;cursor:default;-webkit-user-select:none;user-select:none}.panel-resize-handle{width:4px;background:var(--theme-panel-resize);flex-shrink:0;position:relative}.panel-resize-handle:hover,.panel-resize-handle.dragging{background:var(--theme-panel-resize-hover)}.left-panel.collapsed{width:32px}.left-panel.collapsed+.panel-resize-handle{display:none}.left-panel-tabs{display:flex;flex-direction:column;background:var(--theme-panel-tab-bg);border-right:1px solid var(--theme-panel-border);flex-shrink:0;width:32px}.left-panel-tab{padding:8px;font-size:11px;color:var(--theme-panel-tab-text);cursor:pointer;border:none;background:transparent;display:flex;align-items:center;justify-content:center;transition:all .15s;white-space:nowrap}.left-panel-tab .tab-label{display:none}.left-panel-tab:hover{background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text)}.left-panel-tab.active{background:var(--theme-panel-tab-active-bg);color:var(--theme-panel-tab-active-text);border-left:2px solid var(--theme-panel-accent)}.left-panel-tab svg{width:16px;height:16px;flex-shrink:0}.left-panel-body{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.left-panel.collapsed .left-panel-body{display:none}.left-panel-content{flex:1;overflow:hidden;display:none}.left-panel-content.active{display:flex;flex-direction:column}.left-panel.collapsed .left-panel-content{display:none!important}.left-panel-header{padding:6px 3px;font-size:11px;font-weight:600;color:var(--theme-panel-header-text);letter-spacing:.2px;background:var(--theme-panel-bg);border-bottom:1px solid var(--theme-panel-border);display:flex;justify-content:space-between;align-items:center}.left-panel-toggle{position:absolute;bottom:8px;left:6px;width:20px;height:20px;background:var(--theme-panel-toggle-bg);border:none;border-radius:3px;color:var(--theme-panel-toggle-text);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10}.left-panel-toggle:hover{background:var(--theme-panel-toggle-hover)}.left-panel-toggle svg{width:12px;height:12px;transition:transform .2s}.left-panel.collapsed .left-panel-toggle svg{transform:rotate(180deg)}.thumbnails-container{flex:1;overflow-y:auto;padding:4px;display:flex;flex-direction:column;gap:4px;outline:none}.thumbnail-item{display:flex;flex-direction:column;align-items:center;padding:4px;background:var(--theme-thumbnail-bg);border:2px solid transparent;border-radius:4px;cursor:pointer;transition:all .15s}.thumbnail-item:hover{background:var(--theme-thumbnail-hover)}.thumbnail-item.selected{background:var(--theme-thumbnail-selected-bg);border-color:var(--theme-thumbnail-selected-border)}.thumbnail-item.selected .thumbnail-label{color:var(--theme-thumbnail-selected-label)}.thumbnail-item.active{border-color:var(--theme-thumbnail-active-border);background:var(--theme-thumbnail-active-bg)}.thumbnail-item.active.selected{border-color:var(--theme-thumbnail-active-border)}.thumbnail-canvas{max-width:100%;height:auto;background:#fff;box-shadow:0 2px 4px #0000004d}.thumbnail-loading{display:flex;align-items:center;justify-content:center;background:#e0e0e0}.thumbnail-spinner{width:24px;height:24px;border:3px solid #ccc;border-top:3px solid #666;border-radius:50%;animation:spin 1s linear infinite}.thumbnail-label{margin-top:6px;font-size:11px;color:var(--theme-thumbnail-label)}.thumbnail-item.active .thumbnail-label{color:var(--theme-thumbnail-active-label)}.thumbnail-item.dragging{opacity:.4}.thumbnail-item.drop-before{border-top:3px solid #0078d7}.thumbnail-item.drop-after{border-bottom:3px solid #0078d7}.bookmarks-container{flex:1;overflow-y:auto;padding:8px}.bookmarks-empty{padding:20px;text-align:center;color:var(--theme-bookmarks-empty);font-size:12px}.main-view{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative}.main-view>#form-fields-bar-root,.main-view>#pdfa-bar-root{flex-shrink:0}.main-view>#pdf-container.visible,.main-view>#placeholder{flex:1;min-height:0;overflow:auto;padding:20px}.main-view>#pdf-container.visible{align-items:flex-start;justify-content:center}#placeholder{text-align:center;color:var(--theme-placeholder-text);display:flex;flex-direction:column;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}#placeholder svg{width:100px;height:100px;margin-bottom:20px;opacity:.5}#placeholder h2{font-size:24px;margin-bottom:8px;font-weight:600;color:var(--theme-placeholder-heading)}#placeholder p{font-size:16px;opacity:.8}#pdf-container{display:none}#pdf-container.visible{display:flex}#canvas-wrapper{display:flex;flex-direction:column;align-items:center;width:100%;margin-top:0}#canvas-container{position:relative;margin:0 auto;display:inline-block}#canvas-container.hidden{display:none}.continuous-container{display:none;flex-direction:column;gap:20px;align-items:center;padding-top:20px;width:100%}.continuous-container.active{display:flex!important}.page-wrapper{position:relative;display:inline-block;margin-bottom:20px}.page-number-label{position:absolute;top:-25px;left:0;background:#000000b3;color:#fff;padding:4px 8px;border-radius:3px;font-size:12px;font-weight:500}#pdf-canvas{display:block;box-shadow:0 4px 12px #0000004d;background:#fff}#annotation-canvas{position:absolute;top:0;left:0}.continuous-container canvas{display:block;box-shadow:0 4px 12px #0000004d;background:#fff}.continuous-container .annotation-canvas{position:absolute;top:0;left:0}.edit-text-block-hover{background:#0078d726;outline:1px solid rgba(0,120,215,.3)}.pdf-text-editor{box-sizing:border-box;border:1px solid #0078d7;background:#fff;padding:4px;margin:0;resize:none;overflow:hidden;outline:none;color:#000;white-space:pre-wrap;word-break:break-word;box-shadow:0 0 0 1px #0078d74d}.textLayer{position:absolute;text-align:initial;inset:0;overflow:clip;opacity:.25;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:5;pointer-events:none;--min-font-size: 1;--text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv: calc(1 / var(--min-font-size))}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%;pointer-events:none}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height: 0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x: 1;--rotate: 0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}.textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none;pointer-events:none}.textLayer .endOfContent.active{top:0}.textLayer ::selection{background:#00f;background:AccentColor}.textLayer br::selection{background:transparent}.textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa66;border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:#006400}.linkLayer{position:absolute;top:0;left:0;overflow:visible;z-index:10;pointer-events:none}.linkLayer .pdf-link{display:block;position:absolute;pointer-events:auto;cursor:pointer;text-decoration:none;background:transparent;border:none;outline:none;z-index:10}.linkLayer .pdf-link:hover{background:#ffff004d}.formLayer{position:absolute;inset:0;z-index:7;overflow:clip;pointer-events:none;transform-origin:0 0}.formLayer.annotationLayer{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--total-scale-factor: var(--scale-factor, 1);--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black}.formLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}.formLayer .textWidgetAnnotation :is(input,textarea),.formLayer .choiceWidgetAnnotation select,.formLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor, 1)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.formLayer .choiceWidgetAnnotation select option{padding:0}.formLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.formLayer .textWidgetAnnotation textarea{resize:none}.formLayer .textWidgetAnnotation [disabled]:is(input,textarea),.formLayer .choiceWidgetAnnotation select[disabled],.formLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.formLayer .textWidgetAnnotation :is(input,textarea):hover,.formLayer .choiceWidgetAnnotation select:hover,.formLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.formLayer .textWidgetAnnotation :is(input,textarea):focus,.formLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.formLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.formLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.formLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.formLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.formLayer .buttonWidgetAnnotation.checkBox input:checked:before,.formLayer .buttonWidgetAnnotation.checkBox input:checked:after,.formLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.formLayer .buttonWidgetAnnotation.checkBox input:checked:before,.formLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.formLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.formLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.formLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:25%;top:25%;width:50%}.formLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.formLayer .textWidgetAnnotation input.comb:focus{width:103%}.formLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.form-fields-bar{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#deeaf6;border-bottom:1px solid #b8d4e8;font-size:12px;color:#1a1a1a;flex-shrink:0;-webkit-user-select:none;user-select:none}.form-fields-bar svg{flex-shrink:0}.form-fields-bar span{flex:1}.form-fields-bar button{background:none;border:none;font-size:16px;color:#666;cursor:pointer;padding:0 4px;line-height:1}.form-fields-bar button:hover{color:#e81123}.pdfa-bar{display:flex;align-items:center;gap:10px;padding:3px 32px 3px 12px;position:relative;background:var(--theme-pdfabar-bg);border-bottom:1px solid var(--theme-pdfabar-border);font-size:12px;color:var(--theme-pdfabar-text);flex-shrink:0;-webkit-user-select:none;user-select:none}.pdfa-bar svg{flex-shrink:0;color:var(--theme-pdfabar-icon)}.pdfa-bar span{flex:1}.pdfa-bar .pdfa-bar-action{background:var(--theme-pdfabar-btn-bg);border:1px solid var(--theme-pdfabar-btn-border);font-size:11px;color:var(--theme-pdfabar-btn-text);cursor:pointer;padding:4px 14px;line-height:1;font-weight:500}.pdfa-bar .pdfa-bar-action:hover{background:var(--theme-pdfabar-btn-hover-bg);border-color:var(--theme-pdfabar-btn-hover-border)}.pdfa-bar .pdfa-bar-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:16px;color:var(--theme-pdfabar-close);cursor:pointer;padding:0 4px;line-height:1}.pdfa-bar .pdfa-bar-close:hover{color:#e81123}.notification-bar{display:flex;align-items:center;gap:10px;padding:3px 32px 3px 12px;position:relative;background:var(--theme-notifbar-bg);border-bottom:1px solid var(--theme-notifbar-border);font-size:12px;color:var(--theme-notifbar-text);flex-shrink:0;-webkit-user-select:none;user-select:none}.notification-bar svg{flex-shrink:0;color:var(--theme-notifbar-icon)}.notification-bar span{flex:1}.notification-bar .notification-bar-action{background:var(--theme-notifbar-btn-bg);border:1px solid var(--theme-notifbar-btn-border);font-size:11px;color:var(--theme-notifbar-btn-text);cursor:pointer;padding:4px 14px;line-height:1;font-weight:500}.notification-bar .notification-bar-action:hover{background:var(--theme-notifbar-btn-hover-bg);border-color:var(--theme-notifbar-btn-hover-border)}.notification-bar .notification-bar-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:16px;color:var(--theme-notifbar-close);cursor:pointer;padding:0 4px;line-height:1}.notification-bar .notification-bar-close:hover{color:#e81123}.form-validation-overlay{z-index:2000;display:flex}.form-validation-dialog{width:380px}.form-validation-body{display:flex;align-items:flex-start;gap:12px;padding:16px 15px}.form-validation-icon{flex-shrink:0}.form-validation-text{font-size:12px;font-family:Segoe UI,sans-serif;color:#333;line-height:1.5;padding-top:6px}.form-validation-footer{justify-content:center}.form-validation-ok-btn{padding:5px 30px;font-size:12px;border:1px solid #d4d4d4;background:#fff;cursor:pointer;font-family:Segoe UI,sans-serif}.form-validation-ok-btn:hover{background:#e5e5e5}.form-validation-ok-btn:focus{outline:1px dotted #333;outline-offset:-3px}#annotation-canvas,.annotation-canvas{z-index:6;pointer-events:auto}.properties-panel-outer{width:300px;min-width:300px;background:var(--theme-panel-bg);border-left:1px solid var(--theme-panel-border);flex-shrink:0;overflow:hidden;transition:width .15s ease,min-width .15s ease}.properties-panel-outer.collapsed{width:28px;min-width:28px;background:var(--theme-panel-tab-bg);cursor:pointer}.properties-panel-outer.collapsed:hover{background:var(--theme-hover)}.properties-panel{width:300px;min-width:300px;background:var(--theme-panel-bg);border-radius:0;padding:0;display:none;overflow-y:scroll;height:100%}.properties-panel.visible{display:block}.properties-panel-collapsed-content{display:flex;align-items:flex-start;justify-content:center;padding-top:12px;height:100%;-webkit-user-select:none;user-select:none}.properties-panel-collapsed-text{writing-mode:vertical-rl;text-orientation:mixed;font-size:11px;font-weight:600;color:var(--theme-text-secondary);letter-spacing:.5px;white-space:nowrap}.properties-panel h3,.property-section-header{-webkit-user-select:none;user-select:none}.properties-panel h3{margin:0;font-size:13px;color:var(--theme-panel-header-text);font-weight:600;border-radius:0}.prop-panel-header{display:flex;align-items:center;margin:0;background:linear-gradient(to bottom,var(--theme-panel-tab-bg) 0%,var(--theme-panel-bg) 100%);padding:0 4px 0 0;border-bottom:1px solid var(--theme-panel-border)}.prop-panel-collapse-btn{background:none;border:none;cursor:pointer;color:var(--theme-text-secondary);width:28px;height:28px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:0;transition:background .1s}.prop-panel-collapse-btn:hover{background:var(--theme-hover);color:var(--theme-text)}.prop-info-value{font-size:12px;color:var(--theme-text)}.prop-info-secondary{font-size:11px;color:var(--theme-text-secondary)}.prop-hint-text{padding:12px 4px;text-align:center;color:var(--theme-text-secondary);font-size:11px;font-style:italic}.prop-replies-list{max-height:150px;overflow-y:auto;margin-bottom:8px;padding:0 8px}.prop-reply-row{display:flex;gap:4px;padding:0 8px}.prop-reply-input{flex:1;padding:4px 8px;border:1px solid var(--theme-border);font-size:12px;background:var(--theme-surface);color:var(--theme-text)}.prop-reply-add-btn{padding:4px 8px;border:1px solid var(--theme-active);background:var(--theme-active);color:#fff;cursor:pointer;font-size:12px;border-radius:0}.prop-reply-add-btn:hover{opacity:.9}.property-group{display:flex;flex-direction:row;align-items:center;gap:4px;margin-bottom:3px;padding:0 8px}.property-group label{font-size:11px;color:var(--theme-text-secondary);font-weight:500;text-align:right;width:70px;flex-shrink:0;-webkit-user-select:none;user-select:none}.property-group input[type=color],.property-group input[type=number],.property-group input[type=text],.property-group textarea,.property-group select{flex:1;padding:2px 4px;border:1px solid var(--theme-border);border-radius:2px;font-size:11px;font-family:inherit;background-color:var(--theme-surface);color:var(--theme-text);box-sizing:border-box;margin:0}.property-group textarea{resize:vertical;min-height:40px;height:auto}.property-group-full{grid-template-columns:1fr}.property-group-full label{text-align:left;margin-bottom:4px}.property-actions{display:flex;gap:8px;margin-top:0;padding:8px;border-top:1px solid var(--theme-border)}.property-section{margin:0;padding:0 0 4px}.property-section:first-of-type{padding-top:0}.property-section:first-of-type .property-section-header{border-top:none}.property-section:last-of-type{margin:0}.property-section-header{font-size:11px;font-weight:600;color:var(--theme-text);text-transform:uppercase;letter-spacing:.5px;margin:0;padding:4px 8px;background:linear-gradient(to bottom,var(--theme-panel-tab-bg) 0%,var(--theme-hover) 100%);border-top:1px solid var(--theme-border);border-bottom:1px solid var(--theme-border);border-left:none;border-right:none;border-radius:0;cursor:pointer;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none}.property-section-header .collapse-arrow{font-size:8px;transition:transform .15s;color:var(--theme-text-secondary)}.property-section.collapsed .property-section-header .collapse-arrow{transform:rotate(-90deg)}.property-section-content{overflow:visible}.property-section.collapsed .property-section-content{display:none}.property-group-row{display:grid;grid-template-columns:90px 1fr;gap:8px;margin-bottom:8px;padding:0 8px}.property-group-row>label{font-size:12px;color:var(--theme-text-secondary);font-weight:500;text-align:right;padding-right:4px;align-self:start;padding-top:4px}.property-group-row .property-dates-values{display:flex;flex-direction:column;gap:4px}.property-half{display:flex;align-items:center;gap:6px}.property-half label{font-size:11px;color:var(--theme-text-secondary);font-weight:500;min-width:50px}.property-half input{flex:1;padding:3px 6px;border:1px solid var(--theme-border);border-radius:3px;font-size:11px;font-family:inherit;background:var(--theme-surface);color:var(--theme-text)}.prop-date{background:var(--theme-panel-tab-bg);color:var(--theme-text-secondary);font-size:10px!important}.text-style-buttons{display:flex;gap:4px}.text-style-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;cursor:pointer;font-size:13px;font-family:Georgia,serif;color:var(--theme-text);transition:all .15s}.text-style-btn:hover{background:var(--theme-hover);border-color:var(--theme-text-secondary)}.text-style-btn.active{background:var(--theme-active);border-color:var(--theme-active);color:#fff}.text-align-buttons{display:flex;gap:4px}.text-align-btn{width:32px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;cursor:pointer;transition:all .15s}.text-align-btn svg{width:16px;height:16px;stroke:var(--theme-text)}.text-align-btn:hover{background:var(--theme-hover);border-color:var(--theme-text-secondary)}.text-align-btn.active{background:var(--theme-active);border-color:var(--theme-active)}.text-align-btn.active svg{stroke:#fff}.color-input-wrapper{display:flex;align-items:center;gap:8px}.color-input-wrapper input[type=color]{width:40px;height:28px;padding:2px;border:1px solid var(--theme-border);border-radius:3px;cursor:pointer}.color-hex{font-size:11px;color:var(--theme-text-secondary);font-family:Consolas,Monaco,monospace}.color-palette-wrapper{position:relative;flex:1}.color-picker-button{display:flex;align-items:center;gap:6px;padding:2px 6px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:2px;cursor:pointer;transition:border-color .15s;width:100%;height:22px}.color-picker-button:hover{border-color:var(--theme-text-secondary)}.color-picker-button:disabled{opacity:.5;cursor:not-allowed}.color-picker-button:disabled:hover{border-color:var(--theme-border)}.color-picker-button .color-preview{width:16px;height:14px;border:1px solid rgba(0,0,0,.2);border-radius:2px;flex-shrink:0}.color-picker-button .color-hex{font-size:11px;color:var(--theme-text);font-family:Consolas,Monaco,monospace;flex:1}.color-picker-button .dropdown-arrow{width:12px;height:12px;color:var(--theme-text-secondary)}.color-palette-dropdown{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;box-shadow:0 4px 12px #00000026;padding:6px;z-index:100;display:none}.color-palette-dropdown .color-palette{justify-content:center}.color-palette-dropdown.show{display:block}.color-palette{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;margin-bottom:8px}.color-swatch{width:100%;aspect-ratio:1;border:1px solid rgba(0,0,0,.15);border-radius:2px;cursor:pointer;transition:transform .1s,box-shadow .1s}.color-swatch:hover{transform:scale(1.15);box-shadow:0 2px 4px #0003;z-index:1;position:relative}.color-swatch.selected{border:2px solid var(--theme-active);box-shadow:0 0 0 1px var(--theme-surface),0 0 0 3px var(--theme-active)}.color-custom-btn{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 8px;background:var(--theme-hover);border:1px solid var(--theme-border);border-radius:3px;cursor:pointer;font-size:11px;color:var(--theme-text-secondary);transition:background .15s;width:100%}.color-custom-btn:hover{background:var(--theme-panel-tab-bg)}.color-custom-btn svg{width:12px;height:12px}.color-none-btn{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 8px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:3px;cursor:pointer;font-size:11px;color:var(--theme-text-secondary);transition:background .15s;width:100%;margin-bottom:6px}.color-none-btn:hover{background:var(--theme-hover)}.color-none-btn svg{width:14px;height:14px;stroke:var(--theme-text-secondary)}.color-palette-wrapper input[type=color]{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.opacity-slider-wrapper{display:flex;align-items:center;gap:8px;flex:1}.opacity-slider-wrapper input[type=range]{flex:1;height:4px;-webkit-appearance:none;appearance:none;background:var(--theme-hover);border-radius:2px;outline:none}.opacity-slider-wrapper input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;background:var(--theme-active);border-radius:50%;cursor:pointer;border:1px solid var(--theme-surface);box-shadow:0 1px 2px #0003}.opacity-slider-wrapper input[type=range]::-moz-range-thumb{width:12px;height:12px;background:var(--theme-active);border-radius:50%;cursor:pointer;border:1px solid var(--theme-surface);box-shadow:0 1px 2px #0003}#prop-opacity-value{font-size:11px;color:var(--theme-text);min-width:32px;text-align:right}.property-group input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--theme-active);justify-self:start}.property-group select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;background-size:12px 12px;padding-right:24px}[data-theme=dark] .property-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b8b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}[data-theme=blue] .property-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398c1d9' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}[data-theme=highContrast] .property-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}.property-group select:focus,.property-group input:focus{outline:none;border-color:var(--theme-active);box-shadow:0 0 0 1px #2563eb1a}.prop-action-btn{flex:1;padding:2px 6px;border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);cursor:pointer;font-size:11px;font-family:inherit;height:22px;border-radius:2px}.prop-action-btn:hover{background:var(--theme-hover);border-color:var(--theme-text-secondary)}.prop-action-btn:disabled{opacity:.5;cursor:not-allowed}.annotations-toolbar{display:flex;gap:2px;padding:4px 8px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.annotations-toolbar-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-panel-tab-text);cursor:pointer;padding:0}.annotations-toolbar-btn:hover{background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text);border-color:var(--theme-panel-border)}.annotations-toolbar-btn.active{background:var(--theme-panel-tab-hover);border-color:var(--theme-panel-border)}.annotations-toolbar-btn svg{width:14px;height:14px}.annotations-toolbar-spacer{flex:1}.annotations-toolbar-menu-wrapper{position:relative}.annotations-menu{position:fixed;background:#fff;border:1px solid #c0c0c0;box-shadow:2px 2px 8px #0003;min-width:160px;padding:2px 0;z-index:10000;font-size:12px;-webkit-user-select:none;user-select:none}.annotations-menu-section{padding:4px 12px 2px;font-size:10px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px}.annotations-menu-item{display:flex;align-items:center;padding:4px 12px 4px 8px;cursor:pointer;color:#333;gap:4px;position:relative}.annotations-menu-item:hover{background:#e5f3ff}.annotations-menu-item.disabled{color:#aaa;cursor:default}.annotations-menu-item.disabled:hover{background:none}.annotations-menu-check{width:16px;text-align:center;color:#333;font-weight:700;font-size:12px}.annotations-menu-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#555}.annotations-menu-icon svg{width:14px;height:14px}.annotations-menu-item.disabled .annotations-menu-icon{opacity:.4}.annotations-menu-label{flex:1;white-space:nowrap}.annotations-menu-arrow{width:12px;height:12px;flex-shrink:0;opacity:.6}.annotations-menu-shortcut{color:#999;font-size:11px;margin-left:16px;white-space:nowrap}.annotations-menu-separator{height:1px;background:#e0e0e0;margin:4px 8px}.annotations-menu-submenu-trigger{position:relative}.annotations-submenu{display:none;position:absolute;top:-2px;left:100%;background:#fff;border:1px solid #c0c0c0;box-shadow:2px 2px 8px #0003;min-width:200px;padding:2px 0;z-index:10001}.annotations-menu-submenu-trigger:hover>.annotations-submenu{display:block}.annotations-list-content{flex:1;overflow-y:auto;padding:4px 8px}.annotation-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.annotation-list-item:hover{background:var(--theme-thumbnail-hover)}.annotation-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.annotation-list-color{width:12px;height:12px;border-radius:50%;flex-shrink:0;border:1px solid var(--theme-panel-border)}.annotation-list-info{flex:1;min-width:0;overflow:hidden}.annotation-list-info .annotation-list-type{font-size:12px;font-weight:500;color:var(--theme-panel-header-text)}.annotation-list-info .annotation-list-preview{font-size:11px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.annotation-list-info .annotation-list-meta{font-size:10px;color:var(--theme-panel-tab-text)}.annotations-list-page-header{padding:6px 8px;font-weight:600;font-size:11px;color:var(--theme-panel-header-text);background:var(--theme-panel-tab-bg);border-bottom:1px solid var(--theme-panel-border);cursor:pointer;margin-bottom:4px;display:flex;align-items:center;gap:4px;-webkit-user-select:none;user-select:none}.annotations-list-page-header:hover{background:var(--theme-panel-tab-hover)}.annotations-group-chevron{width:14px;height:14px;flex-shrink:0;opacity:.7}.annotations-list-color-header{display:flex;align-items:center;gap:6px}.annotations-list-color-swatch{display:inline-block;width:12px;height:12px;border:1px solid var(--theme-panel-border)}.annotations-list-empty{text-align:center;padding:20px;color:var(--theme-panel-tab-text);font-style:italic;font-size:12px}.annotations-list-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.attachments-toolbar{display:flex;gap:2px;padding:4px 8px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.attachments-toolbar-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-panel-tab-text);cursor:pointer;padding:0}.attachments-toolbar-btn:hover:not(:disabled){background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text);border-color:var(--theme-panel-border)}.attachments-toolbar-btn:disabled{opacity:.35;cursor:default}.attachments-toolbar-btn svg{width:14px;height:14px}.attachments-container{flex:1;overflow-y:auto;padding:4px 8px}.attachments-container.drag-over{outline:2px dashed var(--theme-panel-accent);outline-offset:-4px;background:var(--theme-thumbnail-hover)}.attachments-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.attachment-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.attachment-list-item:hover{background:var(--theme-thumbnail-hover)}.attachment-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.attachment-list-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text)}.attachment-list-icon svg{width:16px;height:16px}.attachment-list-info{flex:1;min-width:0;overflow:hidden}.attachment-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-list-desc{font-size:10px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.attachment-list-meta{font-size:10px;color:var(--theme-panel-tab-text)}.attachments-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmarks-toolbar{display:flex;gap:2px;padding:4px 8px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmarks-toolbar-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-panel-tab-text);cursor:pointer;padding:0}.bookmarks-toolbar-btn:hover:not(:disabled){background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text);border-color:var(--theme-panel-border)}.bookmarks-toolbar-btn:disabled{opacity:.35;cursor:default}.bookmarks-toolbar-btn svg{width:14px;height:14px}.bookmarks-container{flex:1;overflow-y:auto;padding:4px 0}.bookmarks-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.bookmark-item{display:flex;align-items:center;padding:3px 8px 3px 0;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:22px}.bookmark-item:hover{background:var(--theme-thumbnail-hover)}.bookmark-item.selected{background:var(--theme-thumbnail-active-bg)}.bookmark-arrow{width:14px;height:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text);font-size:8px;cursor:pointer}.bookmark-arrow.has-children:hover{color:var(--theme-panel-header-text)}.bookmark-arrow.empty{visibility:hidden}.bookmark-icon{width:14px;height:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:4px;color:var(--theme-panel-tab-text)}.bookmark-icon svg{width:12px;height:12px}.bookmark-title{flex:1;font-size:12px;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.bookmark-title.bold{font-weight:700}.bookmark-title.italic{font-style:italic}.bookmark-children{display:block}.bookmark-children.collapsed{display:none}.bookmarks-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmark-dialog-overlay{z-index:10000}.bookmark-dialog{width:360px;max-width:90vw}.bookmark-dialog-body label{display:block;font-size:11px;color:#333;margin-bottom:4px;font-weight:500}.bookmark-dialog-body input[type=text],.bookmark-dialog-body input[type=number]{width:100%;padding:4px 6px;font-size:12px;border:1px solid #d4d4d4;background:#fff;color:#333;box-sizing:border-box;margin-bottom:12px}.bookmark-dialog-body input[type=text]:focus,.bookmark-dialog-body input[type=number]:focus{outline:none;border-color:#0078d4}.bookmark-dialog-footer{justify-content:flex-end;gap:8px;padding:10px 16px}.bookmark-dialog-footer button{padding:4px 20px;font-size:12px;border:1px solid #d4d4d4;background:#fff;color:#333;cursor:pointer}.bookmark-dialog-footer button:hover{background:#e8e8e8}.bookmark-dialog-footer button.primary{background:#0078d4;color:#fff;border-color:#0078d4}.bookmark-dialog-footer button.primary:hover{background:#006cbd}.signatures-container{flex:1;overflow-y:auto;padding:4px 8px}.signatures-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.signature-list-item{display:flex;align-items:flex-start;gap:8px;padding:8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;background:var(--theme-thumbnail-bg)}.signature-list-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.signature-list-icon svg{width:18px;height:18px}.signature-list-icon.valid{color:#22c55e}.signature-list-icon.invalid{color:#ef4444}.signature-list-icon.unknown{color:var(--theme-panel-tab-text)}.signature-list-info{flex:1;min-width:0;overflow:hidden}.signature-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text)}.signature-list-detail{font-size:10px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signature-list-status{font-size:11px;font-weight:500;margin-top:2px}.signature-list-status.valid{color:#22c55e}.signature-list-status.invalid{color:#ef4444}.signature-list-status.unknown{color:var(--theme-panel-tab-text)}.signatures-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.layers-container{flex:1;overflow-y:auto;padding:4px 8px}.layers-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.layer-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;background:var(--theme-thumbnail-bg)}.layer-list-item:hover{background:var(--theme-thumbnail-hover)}.layer-list-item input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:var(--theme-panel-accent, #2563eb);flex-shrink:0}.layer-list-name{font-size:12px;color:var(--theme-panel-header-text);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layers-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.form-fields-container{flex:1;overflow-y:auto;padding:4px 8px}.form-fields-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.form-fields-page-header{padding:6px 8px;font-weight:600;font-size:11px;color:var(--theme-panel-header-text);background:var(--theme-panel-tab-bg);border-bottom:1px solid var(--theme-panel-border);cursor:pointer;margin-bottom:4px}.form-fields-page-header:hover{background:var(--theme-panel-tab-hover)}.form-field-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.form-field-list-item:hover{background:var(--theme-thumbnail-hover)}.form-field-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.form-field-list-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text)}.form-field-list-icon svg{width:14px;height:14px}.form-field-list-info{flex:1;min-width:0;overflow:hidden}.form-field-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.form-field-list-type{font-size:10px;color:var(--theme-panel-tab-text)}.form-field-list-value{font-size:10px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.form-fields-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.destinations-container{flex:1;overflow-y:auto;padding:4px 8px}.destinations-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.destination-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.destination-list-item:hover{background:var(--theme-thumbnail-hover)}.destination-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.destination-list-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text)}.destination-list-icon svg{width:14px;height:14px}.destination-list-info{flex:1;min-width:0;overflow:hidden}.destination-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.destination-list-detail{font-size:10px;color:var(--theme-panel-tab-text)}.destinations-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.tags-container{flex:1;overflow-y:auto;padding:4px 8px}.tags-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.tag-tree-item{display:flex;align-items:flex-start;gap:4px;padding:2px 0}.tag-tree-toggle{width:16px;height:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;color:var(--theme-panel-tab-text);background:none;border:none;padding:0;font-size:10px}.tag-tree-toggle:hover{color:var(--theme-panel-header-text)}.tag-tree-toggle.leaf{visibility:hidden}.tag-tree-label{font-size:12px;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.tag-tree-type{font-size:10px;color:var(--theme-panel-tab-text);background:var(--theme-panel-tab-bg);padding:0 4px;border:1px solid var(--theme-panel-border);flex-shrink:0}.tag-tree-children{padding-left:16px}.tag-tree-children.collapsed{display:none}.tags-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.links-filter select{font-size:11px;padding:2px 4px;border:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);color:var(--theme-panel-header-text)}.links-toolbar{display:flex;gap:2px;padding:4px 8px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.links-toolbar-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-panel-tab-text);cursor:pointer;padding:0}.links-toolbar-btn:hover:not(:disabled){background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text);border-color:var(--theme-panel-border)}.links-toolbar-btn:disabled{opacity:.35;cursor:default}.links-toolbar-btn svg{width:14px;height:14px}.links-container{flex:1;overflow-y:auto;padding:4px 8px}.links-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.links-page-group{margin-bottom:2px}.links-page-header{display:flex;align-items:center;gap:4px;padding:6px 8px;font-weight:600;font-size:11px;color:var(--theme-panel-header-text);background:var(--theme-panel-tab-bg);border-bottom:1px solid var(--theme-panel-border);cursor:pointer;margin-bottom:4px;-webkit-user-select:none;user-select:none}.links-page-header:hover{background:var(--theme-panel-tab-hover)}.links-page-header .collapse-arrow{font-size:9px;flex-shrink:0;width:12px;text-align:center}.links-page-items.collapsed{display:none}.link-list-item{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.link-list-item:hover{background:var(--theme-thumbnail-hover)}.link-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.link-list-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text);margin-top:1px}.link-list-icon svg{width:14px;height:14px}.link-list-icon.external{color:#2563eb}.link-list-icon.internal{color:#16a34a}.link-list-info{flex:1;min-width:0;overflow:hidden}.link-list-url{font-size:12px;font-weight:500;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.link-list-detail{font-size:10px;color:var(--theme-panel-tab-text)}.link-list-appearance{font-size:10px;color:var(--theme-panel-tab-text);display:flex;align-items:center;gap:6px;margin-top:1px}.link-list-border-color{width:10px;height:10px;border:1px solid var(--theme-panel-border);flex-shrink:0}.links-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.page-controls{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:#1f2937f2;color:#fff;padding:8px 16px;border-radius:6px;display:none;align-items:center;gap:12px;z-index:100;box-shadow:0 4px 12px #0000004d}.page-controls.visible{display:flex}.page-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:6px 12px;border-radius:3px;cursor:pointer;font-size:12px;transition:background .2s}.page-btn:hover:not(:disabled){background:#fff3}.page-btn:disabled{opacity:.3;cursor:not-allowed}.page-info{font-size:13px;min-width:80px;text-align:center}.zoom-controls{display:flex;gap:8px;align-items:center;padding-left:12px;border-left:1px solid rgba(255,255,255,.2)}.context-menu{position:fixed;background:#fff;border:1px solid #c0c0c0;border-radius:0;box-shadow:2px 2px 8px #0003;min-width:220px;padding:2px 0;z-index:10000;display:none;font-size:12px;-webkit-user-select:none;user-select:none}.context-menu.visible{display:block}.context-menu-item{display:flex;align-items:center;padding:4px 12px 4px 8px;cursor:pointer;color:#333;gap:8px}.context-menu-item:hover{background:#e5f3ff}.context-menu-item.disabled{color:#999;cursor:default}.context-menu-item.disabled:hover{background:transparent}.context-menu-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.context-menu-icon svg{width:14px;height:14px;color:#666}.context-menu-label{flex:1;white-space:nowrap}.context-menu-shortcut{color:#888;font-size:11px;margin-left:20px}.context-menu-arrow{color:#666;font-size:8px;margin-left:8px}.context-menu-check{width:16px;text-align:center;color:#333;font-weight:700}.context-menu-checkbox .context-menu-check{visibility:hidden}.context-menu-checkbox.checked .context-menu-check{visibility:visible}.context-menu-value{font-weight:500}.context-menu-separator{height:1px;background:#e0e0e0;margin:4px 8px}.context-menu-submenu{position:relative}.context-menu-submenu:hover>.context-menu-submenu-content{display:block}.context-menu-submenu-content{display:none;position:absolute;left:100%;top:-2px;background:#fff;border:1px solid #c0c0c0;border-radius:0;box-shadow:2px 2px 8px #0003;min-width:150px;padding:2px 0}.context-menu-submenu-content .context-menu-item{padding:4px 12px}.arrange-icon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:4px 6px}.arrange-icon-btn{width:32px;height:32px;border:1px solid transparent;background:transparent;border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px}.arrange-icon-btn:hover{background:#e5f3ff;border-color:#cce4f7}.arrange-icon-btn:active{background:#cce4f7}.arrange-icon-btn svg{width:24px;height:24px}.modal-overlay{position:fixed;inset:0;background:#0000004d;display:none;align-items:center;justify-content:center;z-index:2000}.modal-overlay.visible{display:flex}.modal-dialog{background:var(--theme-surface, #ffffff);border-radius:0;box-shadow:0 2px 10px #0000004d;border:1px solid var(--theme-border, #d4d4d4);display:flex;flex-direction:column;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:0 0 0 10px;border-bottom:1px solid var(--theme-border, #d4d4d4);background:linear-gradient(to bottom,var(--theme-surface, #ffffff) 0%,var(--theme-bg, #f5f5f5) 100%);height:30px;-webkit-user-select:none;user-select:none;cursor:default}.modal-header h2,.modal-header span{margin:0;font-size:12px;font-weight:600;color:var(--theme-text, #333)}.modal-close-btn{background:none;border:none;color:var(--theme-text, #333);cursor:pointer;padding:0;margin:0;line-height:1;width:30px;height:100%;align-self:stretch;display:flex;align-items:center;justify-content:center;border-radius:0;transition:background .1s;flex-shrink:0}.modal-close-btn:hover{background:#e81123;color:#fff}.modal-body{padding:15px}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-top:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5)}@keyframes modal-header-flash{0%{filter:brightness(1)}40%{filter:brightness(1.15)}to{filter:brightness(1)}}@keyframes modal-shadow-pulse{0%{box-shadow:0 2px 10px #0000004d}40%{box-shadow:0 4px 20px #00000080}to{box-shadow:0 2px 10px #0000004d}}.modal-dialog.bump{animation:modal-shadow-pulse .15s ease-out}.modal-dialog.bump>.modal-header{animation:modal-header-flash .15s ease-out}.doc-props-value,.update-notes,#text-annot-input,.pref-row input[type=text],.pref-row input[type=number],.new-doc-input,.bs-export-input{-webkit-user-select:text;user-select:text}.doc-props-dialog{width:450px}.doc-props-content{max-height:400px;overflow-y:auto}.doc-props-row{display:flex;margin-bottom:8px;font-size:12px}.doc-props-label{width:120px;color:#666;flex-shrink:0}.doc-props-value{color:#333;word-break:break-all;flex:1}.doc-props-section{margin-bottom:15px}.doc-props-section h3{font-size:12px;font-weight:600;color:#333;margin:0 0 10px;padding-bottom:5px;border-bottom:1px solid #e5e5e5}.doc-props-footer{justify-content:flex-end}.doc-props-footer button{padding:5px 20px;font-size:12px;border:1px solid #d4d4d4;background:#fff;cursor:pointer}.doc-props-footer button:hover{background:#e5e5e5}[data-theme=dark] .doc-props-label{color:#999}[data-theme=dark] .doc-props-value{color:#e0e0e0}[data-theme=dark] .doc-props-section h3{color:#e0e0e0;border-bottom-color:#555}[data-theme=dark] .doc-props-footer button{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .doc-props-footer button:hover{background:#505050}.preferences-dialog{width:600px;height:520px}.preferences-body-wrapper{padding:0;flex:1;overflow:hidden}.preferences-content{height:100%;overflow:hidden;display:flex;flex-direction:row}.pref-tabs{background:var(--theme-bg, #f5f5f5);border-right:1px solid var(--theme-border, #d4d4d4);display:flex;flex-direction:column;padding:8px 0;gap:2px;width:140px;flex-shrink:0}.pref-tab{padding:8px 12px;font-size:11px;background:transparent;border:none;color:var(--theme-text-secondary, #555);font-weight:500;border-radius:0;transition:all .15s ease;text-align:left;border-right:3px solid transparent;display:flex;align-items:center;gap:6px;cursor:pointer}.pref-tab:hover{background:var(--theme-hover, #e8e8e8);color:var(--theme-text, #333)}.pref-tab.active{background:var(--theme-surface, rgba(0, 120, 215, .08));color:var(--theme-active, #0078d7);border-right-color:var(--theme-active, #0078d7)}.pref-tab-icon{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.pref-tab-icon svg{width:14px;height:14px}.pref-tab-content{display:none;padding:16px;flex:1;overflow-y:auto;background:var(--theme-surface, #ffffff)}.pref-tab-content.active{display:block}.pref-tab-content:has(.pref-subtab-wrapper){overflow-y:hidden;padding:0}.pref-color-wrapper{position:relative;width:140px}.pref-color-wrapper .color-picker-button{width:100%}.pref-color-wrapper .color-palette-dropdown{right:0;left:auto;width:200px}.pref-color-wrapper input[type=color]{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.pref-fieldset{border:1px solid var(--theme-border, #d4d4d4);border-radius:0;padding:8px 10px 10px;margin:0 0 16px}.pref-fieldset:last-child{margin-bottom:0}.pref-fieldset legend{font-size:11px;font-weight:600;color:var(--theme-text, #333);padding:0 4px}.pref-fieldset-nested{border-color:var(--theme-border, #e0e0e0);padding:6px 8px 8px;margin:0 0 8px}.pref-fieldset-nested:last-child{margin-bottom:0}.pref-fieldset-nested legend{font-weight:500;font-size:10.5px;color:var(--theme-text-secondary, #555)}.pref-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.pref-row:last-child{margin-bottom:0}.pref-row label{font-size:11px;color:var(--theme-text, #333)}.pref-row input[type=text],.pref-row input[type=number]{width:100px;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.pref-row input[type=text]:focus,.pref-row input[type=number]:focus{outline:none;border-color:var(--theme-active, #0078d7)}.pref-row input[type=color]{width:50px;height:22px;padding:1px;border:1px solid var(--theme-border, #acacac);border-radius:0;cursor:pointer}.pref-select-display{flex:1;min-width:0;display:flex;align-items:center;padding:0 2px 0 6px;font-size:11px;font-family:inherit;color:var(--theme-text, #333);cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pref-subtab-wrapper{display:flex;flex-direction:column;height:100%}.pref-subtabs{display:flex;border-bottom:1px solid var(--theme-border, #d4d4d4);gap:0;flex-shrink:0;padding:12px 16px 0;background:var(--theme-surface, #ffffff)}.pref-subtab{padding:5px 12px;font-size:11px;font-family:inherit;background:none;border:none;border-bottom:2px solid transparent;color:var(--theme-text-secondary, #666);cursor:pointer;white-space:nowrap}.pref-subtab:hover{color:var(--theme-text, #333);background:var(--theme-hover, rgba(0,0,0,.04))}.pref-subtab.active{color:var(--theme-active, #0078d7);border-bottom-color:var(--theme-active, #0078d7);font-weight:600}.pref-subtab-content{flex:1;overflow-y:auto;padding:16px}.pref-checkbox-row{justify-content:flex-start}.pref-checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:11px;color:var(--theme-text, #333)}.pref-checkbox-label input[type=checkbox]{width:13px;height:13px;cursor:pointer;accent-color:var(--theme-active, #0078d7)}.pref-checkbox-label span{-webkit-user-select:none;user-select:none}.pref-combo{position:relative;display:inline-flex;align-items:stretch;width:100px;height:22px;border:1px solid var(--theme-border, #acacac);background:var(--theme-surface, #fff);border-radius:2px}.pref-combo:focus-within{border-color:var(--theme-active, #0078d7)}.property-group .pref-combo{flex:1;width:auto}.pref-combo.disabled{opacity:.5;pointer-events:none}.pref-combo input[type=text].pref-combo-input,.pref-row .pref-combo input[type=text].pref-combo-input{flex:1;min-width:0;width:0;height:100%;border:none;outline:none;padding:0 2px 0 6px;font-size:11px;font-family:inherit;background:transparent;color:var(--theme-text, #333);text-align:left;box-sizing:border-box}.pref-combo-suffix{display:flex;align-items:center;font-size:10px;color:var(--theme-text-secondary, #666);padding-right:2px;-webkit-user-select:none;user-select:none;flex-shrink:0}.pref-combo-arrow{display:flex;align-items:center;justify-content:center;width:auto;height:100%;border:none;background:transparent;cursor:pointer;padding:0 6px 0 0;flex-shrink:0;border-radius:0}.pref-combo-arrow svg{width:12px;height:12px;color:var(--theme-text-secondary, #666)}.pref-combo-dropdown{display:none;z-index:9999;border:1px solid var(--theme-border, #acacac);background:var(--theme-surface, #fff);box-shadow:0 2px 6px #00000026;overflow-y:auto}.pref-combo-dropdown.show{display:block}.pref-combo-option{padding:3px 8px;font-size:11px;cursor:pointer;color:var(--theme-text, #333);text-align:left;white-space:nowrap}.pref-combo-option:hover{background:var(--theme-active, #0078d7);color:#fff}.pref-combo-option.selected{font-weight:600;background:var(--theme-active, #0078d7);color:#fff}.pref-combo-option.selected:hover{background:var(--theme-active, #0078d7);color:#fff}.lang-select-dropdown{display:none;flex-direction:column}.lang-select-dropdown.show{display:flex}.lang-select-search{padding:4px;border-bottom:1px solid var(--theme-border, #acacac);flex-shrink:0}.lang-select-search input{width:100%;box-sizing:border-box;padding:3px 6px;font-size:11px;font-family:inherit;border:1px solid var(--theme-border, #acacac);background:var(--theme-surface, #fff);color:var(--theme-text, #333);outline:none}.lang-select-search input:focus{border-color:var(--theme-active, #0078d7)}.lang-select-list{overflow-y:auto;flex:1}.modal-footer.preferences-footer{padding:8px 12px}.pref-footer-right{display:flex;gap:6px}.pref-btn{padding:5px 20px;border:1px solid var(--theme-border, #acacac);border-radius:2px;font-size:11px;font-weight:400;cursor:pointer;transition:background .1s,border-color .1s;min-width:75px;background:var(--theme-hover, #e1e1e1);color:var(--theme-text, #333)}.pref-btn-primary{border-color:var(--theme-active, #0078d7);box-shadow:inset 0 0 0 1px var(--theme-active, #0078d7)}.pref-btn-primary:hover{background:var(--theme-bg, #d4e9fc);border-color:var(--theme-active, #0078d7)}.pref-btn-secondary:hover{background:var(--theme-bg, #d4d4d4);border-color:var(--theme-text-secondary, #808080)}.bs-about-panel{max-width:520px}.bs-about-title{font-size:22px;font-weight:300;color:var(--theme-app-menu-text);margin:0 0 24px}.bs-about-app{display:flex;align-items:center;gap:16px;margin-bottom:20px}.bs-about-logo{width:64px;height:64px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.bs-about-logo img{width:64px;height:64px;object-fit:contain}.bs-about-app-info{display:flex;flex-direction:column}.bs-about-app-name{font-size:22px;font-weight:600;color:var(--theme-app-menu-text);margin:0 0 2px}.bs-about-version{font-size:12px;color:var(--theme-app-menu-shortcut);margin:0 0 4px}.bs-about-tagline{font-size:12px;color:var(--theme-app-menu-icon);margin:0}.bs-about-description{font-size:13px;line-height:1.7;color:var(--theme-app-menu-shortcut);margin:0 0 20px}.bs-about-features{display:flex;gap:8px;margin-bottom:20px}.bs-about-feature{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;background:var(--theme-app-menu-sidebar);border:1px solid var(--theme-app-menu-sidebar-border);text-align:center}.bs-about-feature svg{width:20px;height:20px;color:#3b82f6;flex-shrink:0}.bs-about-feature span{font-size:11px;color:var(--theme-app-menu-shortcut);line-height:1.3}.bs-about-company{background:var(--theme-app-menu-sidebar);border:1px solid var(--theme-app-menu-sidebar-border);padding:14px 16px;margin-bottom:20px}.bs-about-company-name{font-size:14px;font-weight:600;color:var(--theme-app-menu-text);margin:0 0 6px;display:flex;align-items:center;gap:8px}.bs-about-company-name:before{content:"";width:3px;height:14px;background:#3b82f6;flex-shrink:0}.bs-about-company-desc{font-size:11px;color:var(--theme-app-menu-shortcut);margin:0;line-height:1.5}.bs-about-links{display:flex;gap:8px;margin-bottom:20px}.bs-about-link{background:var(--theme-app-menu-sidebar);border:1px solid var(--theme-app-menu-sidebar-border);color:var(--theme-app-menu-icon);padding:8px 14px;font-size:12px;cursor:pointer;transition:background .1s,border-color .1s;text-decoration:none;display:flex;align-items:center;gap:6px}.bs-about-link:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-shortcut);color:var(--theme-app-menu-item-hover-text)}.bs-about-link svg{width:14px;height:14px}.bs-about-footer{padding-top:12px;border-top:1px solid var(--theme-app-menu-sidebar-border)}.bs-about-copyright{font-size:10px;color:var(--theme-app-menu-shortcut);margin:0 0 2px}.bs-about-license{font-size:10px;color:var(--theme-app-menu-shortcut);margin:0}.extensions-dialog{width:550px;height:450px}.extensions-dialog .dialog-body{display:flex;flex-direction:column;overflow:hidden;height:100%}.extensions-dialog .bs-export-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}.extensions-dialog .bs-export-title{display:none}.extensions-dialog .ext-install-section,.extensions-dialog .ext-divider,.extensions-dialog .ext-section-title,.extensions-dialog .ext-message,.extensions-dialog .ext-empty{flex-shrink:0}.extensions-dialog .ext-list{flex:1;overflow-y:auto;min-height:0}.confirm-dialog{width:380px}.confirm-dialog-body{display:flex;align-items:flex-start;gap:12px;padding:8px 0}.confirm-dialog-icon{flex-shrink:0}.confirm-dialog-message{font-size:13px;color:var(--theme-text);line-height:1.5;margin:4px 0 0}.confirm-dialog-checkbox{display:flex;align-items:center;gap:6px;padding:8px 0;font-size:12px;color:var(--theme-text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.confirm-dialog-checkbox input{margin:0;cursor:pointer}.confirm-dialog-buttons{display:flex;justify-content:flex-end;gap:8px;padding:8px 0 0;border-top:1px solid var(--theme-border)}.confirm-dialog-btn{padding:5px 20px;font-size:12px;border:1px solid var(--theme-border);cursor:pointer;background:var(--theme-surface);color:var(--theme-text)}.confirm-dialog-btn:hover{background:var(--theme-hover)}.confirm-dialog-btn-yes{background:var(--theme-accent);color:#fff;border-color:var(--theme-accent)}.confirm-dialog-btn-yes:hover{background:var(--theme-accent-hover)}.title-block-dialog{width:450px}.title-block-fields{display:flex;flex-direction:column;gap:6px;padding:8px 0;max-height:350px;overflow-y:auto}.title-block-field-row{display:flex;align-items:center;gap:8px}.title-block-field-label{font-size:12px;color:var(--theme-text);min-width:100px;text-align:right}.title-block-field-input{flex:1;padding:3px 6px;font-size:12px;border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}.title-block-field-input:focus{border-color:var(--theme-accent);outline:none}.title-block-buttons{display:flex;justify-content:flex-end;gap:8px;padding:8px 0 0;border-top:1px solid var(--theme-border)}.about-dialog{width:480px}.about-dialog .bs-about-panel{max-width:none}.about-dialog .bs-about-title{display:none}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:none;justify-content:center;align-items:center;z-index:10000}.loading-overlay.visible{display:flex}.loading-content{background:#fff;padding:24px 40px;border-radius:0;display:flex;flex-direction:column;align-items:center;gap:16px;box-shadow:0 4px 20px #0000004d}.loading-spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{font-size:14px;color:#374151;font-weight:500}.text-annot-overlay{z-index:20000}.text-annot-dialog{width:520px}.text-annot-body{display:flex;flex-direction:column;gap:8px}.text-annot-toolbar{display:flex;align-items:center;gap:4px;padding:4px 6px;background:#f5f5f5;border:1px solid #d4d4d4}.text-annot-toolbar-group{display:flex;align-items:center;gap:2px}.text-annot-toolbar-separator{width:1px;height:22px;background:#ccc;margin:0 4px}.text-annot-toolbar select{height:26px;border:1px solid #ccc;background:#fff;font-size:11px;padding:0 4px;border-radius:0;outline:none}.text-annot-toolbar select:focus{border-color:#0078d7}#text-annot-font-family{width:160px}#text-annot-font-size{width:52px}.text-annot-toolbar-btn{width:28px;height:26px;border:1px solid transparent;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;border-radius:0;padding:0}.text-annot-toolbar-btn:hover{background:#e0e0e0;border-color:silver}.text-annot-toolbar-btn.active{background:#cce4f7;border-color:#0078d7}.text-annot-color-picker{display:flex;align-items:center}.text-annot-color-picker label{display:flex;align-items:center;cursor:pointer;position:relative}.text-annot-color-swatch{width:22px;height:22px;border:1px solid #999;cursor:pointer}.text-annot-color-picker input[type=color]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}#text-annot-input{width:100%;height:120px;resize:vertical;border:1px solid #ccc;padding:8px;font-size:14px;font-family:Arial,sans-serif;line-height:1.4;outline:none;border-radius:0}#text-annot-input:focus{border-color:#0078d7}.text-annot-preview-label{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:.5px}.text-annot-preview{min-height:48px;max-height:100px;overflow:auto;border:1px solid #e0e0e0;background:#fafafa;padding:8px;word-wrap:break-word;white-space:pre-wrap}.text-annot-footer{padding:8px 10px}.text-annot-char-count{font-size:10px;color:#888}.text-annot-footer-right{display:flex;gap:6px}[data-theme=dark] .text-annot-toolbar{background:#333;border-color:#555}[data-theme=dark] .text-annot-toolbar select{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .text-annot-toolbar-btn{color:#e0e0e0}[data-theme=dark] .text-annot-toolbar-btn:hover{background:#444;border-color:#666}[data-theme=dark] .text-annot-toolbar-btn.active{background:#1a3a5c;border-color:#0078d7}[data-theme=dark] .text-annot-color-swatch{border-color:#666}[data-theme=dark] #text-annot-input{background:#1e1e1e;color:#e0e0e0;border-color:#555}[data-theme=dark] #text-annot-input:focus{border-color:#0078d7}[data-theme=dark] .text-annot-preview{background:#1e1e1e;border-color:#444;color:#e0e0e0}.update-overlay{z-index:20000}.update-dialog{width:460px}.update-body{display:flex;gap:15px}.update-icon{flex-shrink:0;width:40px;height:40px}.update-info{flex:1;min-width:0}.update-message{margin:0 0 10px;font-size:12px;color:#333;font-weight:500}.update-versions{margin-bottom:10px}.update-version-row{display:flex;gap:8px;margin-bottom:3px;font-size:11px}.update-version-label{color:#666;width:100px;flex-shrink:0}.update-version-value{color:#333}.update-version-new{font-weight:600;color:#0078d7}.update-notes-section{margin-top:8px}.update-notes-label{font-size:11px;color:#666;display:block;margin-bottom:4px}.update-notes{font-size:11px;color:#333;line-height:1.5;max-height:120px;overflow-y:auto;border:1px solid #e0e0e0;background:#fafafa;padding:6px 8px}.update-progress-section{padding:0 15px 12px}.update-progress-bar-track{width:100%;height:18px;background:#e5e5e5;border:1px solid #d4d4d4}.update-progress-bar-fill{height:100%;width:0%;background:#0078d7;transition:width .2s}.update-progress-text{font-size:10px;color:#666;margin-top:4px;display:block}.update-footer-right{display:flex;gap:6px}.update-btn{padding:5px 16px;font-size:11px;border:1px solid #acacac;border-radius:0;cursor:pointer;min-width:75px}.update-btn-primary{background:#e1e1e1;color:#333;border-color:#0078d7;box-shadow:inset 0 0 0 1px #0078d7}.update-btn-primary:hover{background:#d4e9fc;border-color:#0078d7}.update-btn-primary:disabled{opacity:.6;cursor:default}.update-btn-secondary{background:#e1e1e1;color:#333}.update-btn-secondary:hover{background:#d4d4d4;border-color:gray}[data-theme=dark] .update-message{color:#e0e0e0}[data-theme=dark] .update-version-label{color:#999}[data-theme=dark] .update-version-value{color:#e0e0e0}[data-theme=dark] .update-version-new{color:#4da6ff}[data-theme=dark] .update-notes-label{color:#999}[data-theme=dark] .update-notes{background:#1e1e1e;border-color:#444;color:#e0e0e0}[data-theme=dark] .update-progress-bar-track{background:#3c3c3c;border-color:#555}[data-theme=dark] .update-progress-text{color:#999}[data-theme=dark] .update-btn-primary{background:#3c3c3c;color:#e0e0e0}[data-theme=dark] .update-btn-primary:hover{background:#1a3a5c}[data-theme=dark] .update-btn-secondary{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .update-btn-secondary:hover{background:#444;border-color:#666}.new-doc-dialog{width:460px}.new-doc-content{display:flex;gap:20px}.new-doc-form{flex:1;display:flex;flex-direction:column;gap:10px}.new-doc-row{display:flex;align-items:center;gap:8px}.new-doc-label{font-size:11px;color:#333;width:80px;flex-shrink:0}.new-doc-label-inline{width:auto;margin-left:4px}.new-doc-select{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background-color:#fff;cursor:pointer}.new-doc-select:focus{outline:none;border-color:#0078d7}.new-doc-input{width:60px;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.new-doc-input:focus{outline:none;border-color:#0078d7}.new-doc-custom-row{flex-wrap:wrap}.new-doc-radio-group{display:flex;gap:12px}.new-doc-radio-label{font-size:11px;color:#333;display:flex;align-items:center;gap:4px;cursor:pointer}.new-doc-radio-label input[type=radio]{margin:0;accent-color:#0078d7}.new-doc-preview-area{display:flex;flex-direction:column;align-items:center;gap:8px}.new-doc-preview-box{width:120px;height:150px;background:#f0f0f0;border:1px solid #d4d4d4;display:flex;align-items:center;justify-content:center}.new-doc-preview-page{background:#fff;border:1px solid #999;box-shadow:1px 1px 3px #00000026}.new-doc-preview-text{font-size:10px;color:#666;text-align:center;white-space:nowrap}.new-doc-footer-right{display:flex;gap:6px}[data-theme=dark] .new-doc-label,[data-theme=dark] .new-doc-radio-label{color:#e0e0e0}[data-theme=dark] .new-doc-select,[data-theme=dark] .new-doc-input{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .new-doc-preview-box{background:#1e1e1e;border-color:#555}[data-theme=dark] .new-doc-preview-page{background:#fff;border-color:#999}[data-theme=dark] .new-doc-preview-text{color:#999}.sig-overlay{z-index:10001}.sig-dialog{width:460px}.sig-content{padding:15px}.sig-tabs{display:flex;gap:0;margin-bottom:8px;border-bottom:1px solid #ddd}.sig-tab{padding:6px 16px;border:none;background:none;cursor:pointer;font-size:12px;color:#666;border-bottom:2px solid transparent}.sig-tab.active{font-weight:700;color:#0078d4;border-bottom-color:#0078d4}#sig-canvas{border:1px solid #ccc;cursor:crosshair;background:#fff;display:block;width:430px;height:150px}.sig-saved-panel{min-height:150px}.sig-saved-empty{padding:20px;text-align:center;color:#888;font-style:italic;font-size:12px}.sig-saved-grid{display:flex;flex-wrap:wrap;gap:8px}.sig-saved-item{position:relative;border:1px solid #ddd;cursor:pointer;padding:4px}.sig-saved-item:hover{border-color:#0078d4}.sig-saved-item img{width:120px;height:50px;object-fit:contain;display:block}.sig-saved-del{position:absolute;top:2px;right:2px;border:none;background:#ff0000b3;color:#fff;cursor:pointer;font-size:12px;width:16px;height:16px;padding:0;line-height:16px;text-align:center}.sig-saved-del:hover{background:#ff0000e6}.sig-footer{padding:8px 12px}.sig-footer-left{display:flex;align-items:center;gap:6px}.sig-color-label{font-size:12px;color:#333}.sig-color-input{width:30px;height:24px;border:1px solid #ccc;padding:0;cursor:pointer}.sig-footer-right{display:flex;gap:6px}[data-theme=dark] .sig-content{background:#2b2b2b}[data-theme=dark] .sig-tabs{border-color:#555}[data-theme=dark] .sig-tab{color:#999}[data-theme=dark] .sig-tab.active{color:#4da6ff;border-bottom-color:#4da6ff}[data-theme=dark] #sig-canvas{background:#1e1e1e;border-color:#555}[data-theme=dark] .sig-saved-empty{color:#999}[data-theme=dark] .sig-saved-item{border-color:#555}[data-theme=dark] .sig-saved-item:hover{border-color:#4da6ff}[data-theme=dark] .sig-saved-item img{filter:invert(0)}[data-theme=dark] .sig-color-label{color:#e0e0e0}[data-theme=dark] .sig-color-input{border-color:#555}.bs-export-panel{max-width:600px}.bs-export-title{font-size:22px;font-weight:300;color:var(--theme-app-menu-text);margin:0 0 24px}.bs-export-cards{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.bs-export-card{display:flex;align-items:center;gap:16px;padding:14px 16px;background:var(--theme-app-menu-sidebar);border:1px solid var(--theme-app-menu-sidebar-border);border-radius:0;cursor:pointer;transition:background .1s,border-color .1s}.bs-export-card:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-shortcut)}.bs-export-card.active{border-color:#3b82f6;background:var(--theme-app-menu-item-hover)}.bs-export-card-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.bs-export-card-icon svg{stroke:var(--theme-app-menu-icon)}.bs-export-card:hover .bs-export-card-icon svg,.bs-export-card.active .bs-export-card-icon svg{stroke:var(--theme-app-menu-item-hover-text)}.bs-export-card-info h3{margin:0 0 4px;font-size:13px;font-weight:600;color:var(--theme-app-menu-text)}.bs-export-card-info p{margin:0;font-size:11px;color:var(--theme-app-menu-shortcut)}.bs-export-card:hover .bs-export-card-info h3,.bs-export-card.active .bs-export-card-info h3{color:var(--theme-app-menu-item-hover-text)}.bs-export-options{border-top:1px solid var(--theme-app-menu-sidebar-border);padding-top:16px}.bs-export-options-title{font-size:14px;font-weight:600;color:var(--theme-app-menu-text);margin:0 0 16px}.bs-export-option-group{margin-bottom:14px}.bs-export-option-label{display:block;font-size:11px;font-weight:600;color:var(--theme-app-menu-shortcut);margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.bs-export-radio-group{display:flex;flex-direction:column;gap:5px;margin-bottom:6px}.bs-export-radio{font-size:12px;color:var(--theme-app-menu-text);display:flex;align-items:center;gap:6px;cursor:pointer}.bs-export-radio input[type=radio]{margin:0;accent-color:#3b82f6}.bs-export-input{width:220px;padding:4px 8px;border:1px solid var(--theme-app-menu-sidebar-border);border-radius:0;font-size:12px;font-family:inherit;background:var(--theme-app-menu-sidebar);color:var(--theme-app-menu-text);margin-left:20px;-webkit-user-select:text;user-select:text}.bs-export-input:focus{outline:none;border-color:#3b82f6}.bs-export-input:disabled{opacity:.4}.bs-export-select{width:220px;padding:4px 8px;border:1px solid var(--theme-app-menu-sidebar-border);border-radius:0;font-size:12px;font-family:inherit;background:var(--theme-app-menu-sidebar);color:var(--theme-app-menu-text);cursor:pointer}.bs-export-select:focus{outline:none;border-color:#3b82f6}.bs-export-range-row{display:flex;align-items:center;gap:8px}.bs-export-range{width:180px;accent-color:#3b82f6}.bs-export-range-value{font-size:12px;color:var(--theme-app-menu-text);width:36px;text-align:right}.bs-export-btn{margin-top:18px;padding:8px 28px;font-size:12px;font-weight:500;border:1px solid #3b82f6;background:#3b82f6;color:#fff;cursor:pointer;border-radius:0;transition:background .1s}.bs-export-btn:hover{background:#2563eb;border-color:#2563eb}.insert-page-dialog{width:400px}.insert-page-form{display:flex;flex-direction:column;gap:10px}.insert-page-row{display:flex;align-items:center;gap:8px}.insert-page-label{font-size:11px;color:#333;width:80px;flex-shrink:0}.insert-page-select{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background-color:#fff;cursor:pointer}.insert-page-select:focus{outline:none;border-color:#0078d7}.insert-page-input{width:60px;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.insert-page-input:focus{outline:none;border-color:#0078d7}.insert-page-footer-right{display:flex;gap:6px}[data-theme=dark] .insert-page-label{color:#e0e0e0}[data-theme=dark] .insert-page-select,[data-theme=dark] .insert-page-input{background:#3c3c3c;color:#e0e0e0;border-color:#555}.crop-margins-dialog{width:400px}.crop-margins-form{display:flex;flex-direction:column;gap:10px}.crop-margins-row{display:flex;align-items:center;gap:8px}.crop-margins-label{font-size:11px;color:#333;width:80px;flex-shrink:0}.crop-margins-select{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background-color:#fff;cursor:pointer}.crop-margins-select:focus{outline:none;border-color:#0078d7}.crop-margins-input{width:60px;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.crop-margins-input:focus{outline:none;border-color:#0078d7}.crop-margins-input-wide{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.crop-margins-input-wide:focus{outline:none;border-color:#0078d7}.crop-margins-slider{flex:1;height:4px;cursor:pointer}.crop-margins-threshold-value{font-size:11px;color:#666;width:28px;text-align:right}.crop-margins-info{font-size:10px;color:#888;line-height:1.5;padding-top:4px}.crop-margins-footer-right{display:flex;gap:6px}[data-theme=dark] .crop-margins-label{color:#e0e0e0}[data-theme=dark] .crop-margins-select,[data-theme=dark] .crop-margins-input,[data-theme=dark] .crop-margins-input-wide{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .crop-margins-threshold-value{color:#aaa}[data-theme=dark] .crop-margins-info{color:#999}.extract-pages-dialog{width:420px}.extract-pages-form{display:flex;flex-direction:column;gap:10px}.extract-pages-row{display:flex;align-items:center;gap:8px}.extract-pages-label{font-size:11px;color:#333;width:80px;flex-shrink:0}.extract-pages-input-wide{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff;-webkit-user-select:text;user-select:text}.extract-pages-input-wide:focus{outline:none;border-color:#0078d7}.extract-pages-info{font-size:10px;color:#666;padding-left:88px}.extract-pages-checkbox-row{margin-top:4px}.extract-pages-checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:11px;color:#333}.extract-pages-checkbox-label input[type=checkbox]{width:13px;height:13px;cursor:pointer;accent-color:#0078d7}.extract-pages-footer-right{display:flex;gap:6px}[data-theme=dark] .extract-pages-label{color:#e0e0e0}[data-theme=dark] .extract-pages-input-wide{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .extract-pages-info{color:#999}[data-theme=dark] .extract-pages-checkbox-label{color:#e0e0e0}.merge-pdfs-dialog{width:500px}.merge-pdfs-form{display:flex;flex-direction:column;gap:10px}.merge-pdfs-row{display:flex;align-items:center;gap:8px}.merge-pdfs-label{font-size:11px;color:#333;width:60px;flex-shrink:0}.merge-pdfs-select{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background-color:#fff;cursor:pointer}.merge-pdfs-select:focus{outline:none;border-color:#0078d7}.merge-pdfs-file-section{display:flex;flex-direction:column}.merge-pdfs-file-toolbar{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;background:#f5f5f5;border:1px solid #d4d4d4;border-bottom:none}.merge-pdfs-file-toolbar-label{font-size:11px;color:#333;font-weight:500}.merge-pdfs-file-toolbar-btns{display:flex;gap:2px}.merge-pdfs-toolbar-btn{width:26px;height:24px;border:1px solid transparent;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;border-radius:0;padding:0}.merge-pdfs-toolbar-btn:hover{background:#e0e0e0;border-color:silver}.merge-pdfs-file-list{border:1px solid #d4d4d4;min-height:150px;max-height:250px;overflow-y:auto;background:#fff}.merge-pdfs-empty{padding:40px 20px;text-align:center;color:#999;font-size:11px;font-style:italic}.merge-pdfs-file-item{display:flex;align-items:center;gap:8px;padding:5px 8px;font-size:11px;color:#333;cursor:pointer;border-bottom:1px solid #f0f0f0}.merge-pdfs-file-item:last-child{border-bottom:none}.merge-pdfs-file-item:hover{background:#e8f0fe}.merge-pdfs-file-item.selected{background:#cce4f7}.merge-pdfs-file-icon{flex-shrink:0;width:16px;height:16px;color:#666}.merge-pdfs-file-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-pdfs-file-pages{flex-shrink:0;color:#888;font-size:10px}.merge-pdfs-file-count{font-size:10px;color:#666}.merge-pdfs-footer-right{display:flex;gap:6px}[data-theme=dark] .merge-pdfs-label{color:#e0e0e0}[data-theme=dark] .merge-pdfs-select{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .merge-pdfs-file-toolbar{background:#333;border-color:#555}[data-theme=dark] .merge-pdfs-file-toolbar-label{color:#e0e0e0}[data-theme=dark] .merge-pdfs-toolbar-btn{color:#ccc}[data-theme=dark] .merge-pdfs-toolbar-btn:hover{background:#444;border-color:#666}[data-theme=dark] .merge-pdfs-file-list{background:#1e1e1e;border-color:#555}[data-theme=dark] .merge-pdfs-empty{color:#777}[data-theme=dark] .merge-pdfs-file-item{color:#e0e0e0;border-color:#333}[data-theme=dark] .merge-pdfs-file-item:hover{background:#333}[data-theme=dark] .merge-pdfs-file-item.selected{background:#1a3a5c}[data-theme=dark] .merge-pdfs-file-icon{color:#999}[data-theme=dark] .merge-pdfs-file-pages{color:#777}[data-theme=dark] .merge-pdfs-file-count{color:#999}.print-dialog{width:820px}.print-body{display:flex;flex:1;overflow:hidden}.print-settings{flex:1;padding:8px 10px;overflow-y:auto}.print-group{border:1px solid #b0b0b0;border-radius:0;padding:6px 8px 8px;margin:0 0 6px;background:#f0f0f0}.print-group legend{font-size:11px;font-weight:600;color:#333;padding:0 4px}.print-row{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:11px}.print-label{font-size:11px;color:#333;width:52px;flex-shrink:0;text-align:right}.print-select{flex:1;padding:2px 4px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.print-select:focus{outline:none;border-color:#0078d7}.print-printer-layout{display:flex;gap:8px;margin-bottom:4px}.print-printer-left{flex:1;min-width:0}.print-printer-right{display:flex;flex-direction:column;gap:3px;flex-shrink:0}.print-printer-action-btn{min-width:0;width:90px;padding:3px 4px;font-size:11px;text-align:center}.print-input{width:50px;padding:2px 4px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.print-input:focus{outline:none;border-color:#0078d7}.print-printer-detail-row{margin-bottom:2px}.print-printer-status,.print-printer-type{font-size:10px;color:#666}.print-printer-sep{font-size:10px;color:#bbb}.print-page-btns,.print-subset-btns{display:flex;gap:0}.print-page-btn,.print-subset-btn{background:#fff;border:1px solid #acacac;border-right-width:0;padding:2px 10px;font-size:11px;cursor:pointer;color:#333}.print-page-btn:last-child,.print-subset-btn:last-child{border-right-width:1px}.print-page-btn.active,.print-subset-btn.active{background:#0078d7;color:#fff;border-color:#0068c0}.print-page-btn:hover:not(.active),.print-subset-btn:hover:not(.active){background:#e8e8e8}.print-custom-row{margin-left:52px}.print-custom-input{flex:1;padding:2px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff;-webkit-user-select:text;user-select:text}.print-custom-input:focus{outline:none;border-color:#0078d7}.print-checkbox-row{padding-left:58px}.print-checkbox-label{display:flex;align-items:center;gap:4px;cursor:pointer;font-size:11px;color:#333;white-space:nowrap}.print-checkbox-label input[type=checkbox]{width:13px;height:13px;cursor:pointer;accent-color:#0078d7;margin:0}.print-collate-label{margin-left:12px}.print-zoom-row{margin-left:58px}.print-pages-row{margin-bottom:4px}.print-preview-panel{width:340px;flex-shrink:0;border-left:1px solid #b0b0b0;background:#e0e0e0;display:flex;flex-direction:column}.print-preview-header{padding:4px 8px;font-size:10px;color:#333;border-bottom:1px solid #b0b0b0;background:#d8d8d8}.print-preview-container{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;min-height:350px;background:silver}#print-preview-canvas{max-width:100%;max-height:340px;box-shadow:0 1px 6px #0000004d;background:#fff}.print-preview-footer{padding:4px 8px;font-size:10px;color:#333;border-top:1px solid #b0b0b0;background:#d8d8d8;display:flex;align-items:center;justify-content:space-between}.print-preview-nav{display:flex;gap:1px}.print-preview-nav-btn{background:#f0f0f0;border:1px solid #acacac;border-radius:0;width:28px;height:22px;font-size:10px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:#333;font-family:Segoe UI Symbol,Segoe UI,sans-serif}.print-preview-nav-btn:hover:not(:disabled){background:#d4e8fc;border-color:#84b8e8}.print-preview-nav-btn:active:not(:disabled){background:#b8d4f0}.print-preview-nav-btn:disabled{opacity:.35;cursor:default}.print-status{margin-top:6px;padding:4px 8px;font-size:11px;border:1px solid #d4d4d4;background:#f9f9f9}.print-status.error{color:#c00;border-color:#c00;background:#fff0f0}.print-status.success{color:#080;border-color:#080;background:#f0fff0}.print-footer{padding:8px 12px;border-top:1px solid #b0b0b0;background:#f0f0f0}.print-footer-left{font-size:10px;color:#666}.print-footer-right{display:flex;gap:6px}.print-page-info{font-size:10px;color:#666}[data-theme=dark] .print-group{border-color:#555;background:#2b2b2b}[data-theme=dark] .print-group legend,[data-theme=dark] .print-label{color:#e0e0e0}[data-theme=dark] .print-select,[data-theme=dark] .print-input,[data-theme=dark] .print-custom-input{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .print-checkbox-label{color:#e0e0e0}[data-theme=dark] .print-printer-status,[data-theme=dark] .print-printer-type{color:#aaa}[data-theme=dark] .print-page-btn,[data-theme=dark] .print-subset-btn{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .print-page-btn.active,[data-theme=dark] .print-subset-btn.active{background:#0078d7;color:#fff;border-color:#0068c0}[data-theme=dark] .print-page-btn:hover:not(.active),[data-theme=dark] .print-subset-btn:hover:not(.active){background:#4a4a4a}[data-theme=dark] .print-preview-panel{border-color:#555;background:#333}[data-theme=dark] .print-preview-header{background:#3c3c3c;border-color:#555;color:#ccc}[data-theme=dark] .print-preview-container{background:#444}[data-theme=dark] .print-preview-footer{background:#3c3c3c;border-color:#555;color:#ccc}[data-theme=dark] .print-preview-nav-btn{background:#3c3c3c;border-color:#555;color:#e0e0e0}[data-theme=dark] .print-preview-nav-btn:hover:not(:disabled){background:#2a4a6a;border-color:#5a8ab8}[data-theme=dark] .print-preview-nav-btn:active:not(:disabled){background:#1e3a5a}[data-theme=dark] .print-status{background:#1e1e1e;border-color:#555;color:#e0e0e0}[data-theme=dark] .print-status.error{color:#ff6b6b;border-color:#ff6b6b;background:#2b1a1a}[data-theme=dark] .print-status.success{color:#6bff6b;border-color:#6bff6b;background:#1a2b1a}[data-theme=dark] .print-footer-left,[data-theme=dark] .print-page-info{color:#aaa}.page-setup-overlay{z-index:2100}.page-setup-dialog{width:380px}.page-setup-preview-box{display:flex;align-items:center;justify-content:center;margin-bottom:12px;padding:10px;border:1px solid #d4d4d4;background:#fff;height:200px}#page-setup-preview-canvas{display:block}.page-setup-group{border:1px solid #d4d4d4;border-radius:0;padding:8px 10px 10px;margin:0 0 10px}.page-setup-group legend{font-size:11px;font-weight:600;color:#333;padding:0 4px}.page-setup-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.page-setup-row:last-child{margin-bottom:0}.page-setup-label{font-size:11px;color:#333;width:50px;flex-shrink:0;text-align:right}.page-setup-select{flex:1;padding:3px 6px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff;cursor:pointer}.page-setup-select:focus{outline:none;border-color:#0078d7}.page-setup-bottom{display:flex;gap:10px}.page-setup-orientation-group{width:110px;flex-shrink:0}.page-setup-radio-label{display:flex;align-items:center;gap:5px;font-size:11px;color:#333;cursor:pointer;margin-bottom:6px}.page-setup-radio-label:last-child{margin-bottom:0}.page-setup-radio-label input[type=radio]{margin:0;accent-color:#0078d7}.page-setup-margins-group{flex:1}.page-setup-margins-grid{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:6px 8px;align-items:center}.page-setup-margin-label{font-size:11px;color:#666;text-align:right}.page-setup-margin-input{width:50px;padding:2px 4px;border:1px solid #acacac;border-radius:0;font-size:11px;font-family:inherit;background:#fff}.page-setup-margin-input:focus{outline:none;border-color:#0078d7}.page-setup-footer-right{display:flex;gap:6px}[data-theme=dark] .page-setup-content{color:#e0e0e0}[data-theme=dark] .page-setup-preview-box{background:#1e1e1e;border-color:#555}[data-theme=dark] .page-setup-group{border-color:#555}[data-theme=dark] .page-setup-group legend,[data-theme=dark] .page-setup-label{color:#e0e0e0}[data-theme=dark] .page-setup-select{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .page-setup-radio-label{color:#e0e0e0}[data-theme=dark] .page-setup-margin-label{color:#aaa}[data-theme=dark] .page-setup-margin-input{background:#3c3c3c;color:#e0e0e0;border-color:#555}.watermark-dialog{width:440px}.header-footer-dialog{width:520px}.manage-wm-dialog{width:500px}.watermark-content,.header-footer-content,.manage-wm-content{max-height:500px;overflow-y:auto}.watermark-tabs{display:flex;border-bottom:1px solid #d4d4d4;margin-bottom:10px}.watermark-tab{background:none;border:none;border-bottom:2px solid transparent;padding:6px 16px;font-size:12px;color:#666;cursor:pointer}.watermark-tab:hover{color:#333}.watermark-tab.active{color:#0078d4;border-bottom-color:#0078d4}.watermark-tab-content{display:none}.watermark-tab-content.active{display:block}.watermark-form{display:flex;flex-direction:column;gap:8px}.watermark-row{display:flex;align-items:center;gap:8px;font-size:12px}.watermark-label{width:80px;flex-shrink:0;color:#333;font-size:12px}.watermark-input{flex:1;padding:4px 6px;border:1px solid #d4d4d4;border-radius:0;font-size:12px;background:#fff;color:#333}.watermark-input-sm{flex:0;width:70px}.watermark-select{flex:1;padding:4px 6px;border:1px solid #d4d4d4;border-radius:0;font-size:12px;background:#fff;color:#333}.watermark-color{width:50px;height:24px;padding:0;border:1px solid #d4d4d4;border-radius:0;cursor:pointer}.watermark-slider{flex:1;cursor:pointer}.watermark-slider-val{width:40px;text-align:right;font-size:11px;color:#666}.watermark-img-preview{max-width:150px;max-height:80px;border:1px solid #d4d4d4;object-fit:contain}.watermark-footer{padding:8px 15px}.watermark-footer-left,.watermark-footer-right{display:flex;gap:6px}.hf-section-label{font-size:12px;font-weight:600;color:#333;margin:4px 0 2px;padding-bottom:2px;border-bottom:1px solid #eee}.hf-row-triple{display:flex;gap:8px;margin-bottom:4px}.hf-field{flex:1;display:flex;flex-direction:column;gap:2px}.hf-field label{font-size:11px;color:#666}.hf-input{padding:4px 6px;border:1px solid #d4d4d4;border-radius:0;font-size:12px;background:#fff;color:#333;width:100%;box-sizing:border-box}.hf-variables{display:flex;align-items:center;gap:4px;font-size:11px;color:#666;margin:6px 0;flex-wrap:wrap}.hf-var-btn{background:#f0f0f0;border:1px solid #d4d4d4;border-radius:0;padding:2px 8px;font-size:11px;cursor:pointer;color:#333}.hf-var-btn:hover{background:#e0e0e0}.hf-margins{display:flex;gap:8px;align-items:flex-start;font-size:12px}.hf-margin-fields{display:flex;gap:8px;flex-wrap:wrap}.hf-margin-fields label{font-size:11px;color:#666;display:flex;align-items:center;gap:4px}.manage-wm-list{min-height:100px;max-height:350px;overflow-y:auto}.manage-wm-empty{text-align:center;color:#999;font-size:12px;padding:30px 0}.manage-wm-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid #eee;font-size:12px}.manage-wm-item:hover{background:#f5f5f5}.manage-wm-item-icon{width:20px;color:#666;flex-shrink:0;text-align:center;font-size:14px}.manage-wm-item-desc{flex:1;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage-wm-item-type{color:#999;font-size:11px;margin-left:4px}.manage-wm-item-actions{display:flex;align-items:center;gap:4px}.manage-wm-toggle{cursor:pointer;width:14px;height:14px}.manage-wm-btn{background:none;border:1px solid #d4d4d4;border-radius:0;padding:2px 8px;font-size:11px;cursor:pointer;color:#333}.manage-wm-btn:hover{background:#e0e0e0}.manage-wm-btn.delete:hover{background:#e81123;color:#fff;border-color:#e81123}[data-theme=dark] .watermark-tabs{border-color:#555}[data-theme=dark] .watermark-tab{color:#aaa}[data-theme=dark] .watermark-tab:hover{color:#e0e0e0}[data-theme=dark] .watermark-tab.active{color:#4da6ff;border-bottom-color:#4da6ff}[data-theme=dark] .watermark-label{color:#e0e0e0}[data-theme=dark] .watermark-input,[data-theme=dark] .watermark-select,[data-theme=dark] .hf-input{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .watermark-color{border-color:#555}[data-theme=dark] .watermark-slider-val{color:#aaa}[data-theme=dark] .hf-section-label{color:#e0e0e0;border-color:#444}[data-theme=dark] .hf-field label{color:#aaa}[data-theme=dark] .hf-var-btn{background:#3c3c3c;border-color:#555;color:#e0e0e0}[data-theme=dark] .hf-var-btn:hover{background:#4a4a4a}[data-theme=dark] .hf-margin-fields label{color:#aaa}[data-theme=dark] .manage-wm-empty{color:#777}[data-theme=dark] .manage-wm-item{border-color:#444}[data-theme=dark] .manage-wm-item:hover{background:#3c3c3c}[data-theme=dark] .manage-wm-item-icon{color:#aaa}[data-theme=dark] .manage-wm-item-desc{color:#e0e0e0}[data-theme=dark] .manage-wm-item-type{color:#777}[data-theme=dark] .manage-wm-btn{border-color:#555;color:#e0e0e0}[data-theme=dark] .manage-wm-btn:hover{background:#4a4a4a}[data-theme=dark] .manage-wm-btn.delete:hover{background:#e81123;color:#fff;border-color:#e81123}[data-theme=dark] .watermark-img-preview{border-color:#555}.stamp-picker-overlay{z-index:10001}.stamp-picker-dialog{width:360px}.calibration-overlay{z-index:10001}.calibration-dialog{width:320px}.calibration-tabs{display:flex;border-bottom:1px solid #e0e0e0;margin-bottom:12px}.calibration-tab{padding:6px 16px;border:none;border-bottom:2px solid transparent;background:transparent;cursor:pointer;font-size:12px;font-weight:400;color:inherit}.calibration-tab.active{border-bottom:2px solid #0078d4;font-weight:600;color:#0078d4}.calibration-help{font-size:12px;color:#666;margin:0 0 12px}.calibration-row{display:flex;gap:8px;align-items:center;margin-bottom:12px}.calibration-label{font-size:13px;min-width:110px}.calibration-label-inline{font-size:13px}.calibration-input{width:100px;padding:4px;border:1px solid #acacac;border-radius:0;font-size:12px;background:#fff;color:#333}.calibration-input:focus{outline:none;border-color:#0078d7}.calibration-input-narrow{width:80px}.calibration-select{padding:4px;border:1px solid #acacac;border-radius:0;font-size:12px;background:#fff;color:#333}.calibration-select:focus{outline:none;border-color:#0078d7}.calibration-select-wide{width:120px}.calibration-unit{font-size:12px;color:#888}.calibration-page-size{font-size:12px;color:#888;margin-bottom:8px}.calibration-detect-section{margin-top:4px;border-top:1px solid #e0e0e0;padding-top:10px}.calibration-detect-btn{padding:5px 14px;border:1px solid #0078d4;background:#f0f7ff;cursor:pointer;font-size:12px;border-radius:0;color:#0078d4}.calibration-detect-btn:disabled{cursor:wait}.calibration-detect-btn:hover:not(:disabled){background:#d4e9fc}.calibration-detect-found{font-size:12px;color:#107c10;margin-left:8px}.calibration-detect-notfound{font-size:12px;color:#d83b01;margin-left:8px}.calibration-footer-right{display:flex;gap:8px}[data-theme=dark] .calibration-tabs{border-color:#555}[data-theme=dark] .calibration-tab{color:#e0e0e0}[data-theme=dark] .calibration-tab.active{color:#4da3e8;border-bottom-color:#4da3e8}[data-theme=dark] .calibration-help{color:#999}[data-theme=dark] .calibration-label,[data-theme=dark] .calibration-label-inline{color:#e0e0e0}[data-theme=dark] .calibration-input,[data-theme=dark] .calibration-select{background:#3c3c3c;color:#e0e0e0;border-color:#555}[data-theme=dark] .calibration-unit{color:#aaa}[data-theme=dark] .calibration-page-size{color:#999}[data-theme=dark] .calibration-detect-section{border-color:#555}[data-theme=dark] .calibration-detect-btn{background:#2a3a4a;border-color:#4da3e8;color:#4da3e8}[data-theme=dark] .calibration-detect-btn:hover:not(:disabled){background:#3a4a5a}.feedback-dialog{width:550px}.feedback-dialog .modal-body{overflow-y:auto}.feedback-form{display:flex;flex-direction:column;height:100%}.feedback-section{margin-bottom:12px}.feedback-field-row{margin-bottom:8px}.feedback-field-label{display:block;font-size:11px;color:var(--theme-text, #333);margin-bottom:3px}.feedback-required{color:#e81123}.feedback-input{width:100%;box-sizing:border-box;padding:5px 6px;font-size:12px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);font-family:inherit}.feedback-input:focus{outline:none;border-color:var(--theme-active, #0078d7)}.feedback-label{font-size:11px;color:var(--theme-text-secondary, #666);margin-bottom:4px;margin-top:4px}.feedback-categories{display:flex;gap:4px;margin-bottom:4px}.feedback-category-btn{padding:6px 16px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);cursor:pointer;font-size:12px;font-family:inherit;border-radius:0}.feedback-category-btn:hover{background:var(--theme-bg, #f5f5f5)}.feedback-category-btn.active{background:var(--theme-active, #0078d7);color:#fff;border-color:var(--theme-active, #0078d7)}.feedback-message{width:100%;min-height:120px;max-height:300px;resize:vertical;border:1px solid var(--theme-border, #d4d4d4);padding:8px;font-size:12px;font-family:inherit;background:var(--theme-surface, #fff);color:var(--theme-text, #333);border-radius:0;box-sizing:border-box}.feedback-message:focus{outline:none;border-color:var(--theme-active, #0078d7)}.feedback-char-count{text-align:right;font-size:11px;color:var(--theme-text-secondary, #666);margin-top:2px}.feedback-char-count.warning{color:#f44}.feedback-images{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}.feedback-image-thumb{position:relative;width:64px;height:64px;border:1px solid var(--theme-border, #d4d4d4);overflow:hidden}.feedback-image-thumb img{width:100%;height:100%;object-fit:cover}.feedback-image-remove{position:absolute;top:-1px;right:-1px;width:18px;height:18px;background:#e81123;color:#fff;border:none;cursor:pointer;font-size:14px;line-height:18px;text-align:center;padding:0;display:none;border-radius:0}.feedback-image-thumb:hover .feedback-image-remove{display:block}.feedback-attach-btn{padding:4px 12px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);cursor:pointer;font-size:11px;font-family:inherit;border-radius:0}.feedback-attach-btn:hover{background:var(--theme-bg, #f5f5f5)}.feedback-sentiment{display:flex;gap:8px;margin-top:4px}.feedback-sentiment-btn{padding:6px 12px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);cursor:pointer;font-size:16px;border-radius:0}.feedback-sentiment-btn:hover{background:var(--theme-bg, #f5f5f5)}.feedback-sentiment-btn.active{border-color:var(--theme-active, #0078d7);background:var(--theme-bg, #f5f5f5)}.feedback-submit-btn{width:100%;padding:8px;border:1px solid var(--theme-active, #0078d7);background:var(--theme-active, #0078d7);color:#fff;cursor:pointer;font-size:13px;font-family:inherit;border-radius:0}.feedback-submit-btn:hover{opacity:.9}.feedback-submit-btn:disabled{opacity:.5;cursor:not-allowed}.feedback-success{text-align:center;padding:20px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.feedback-success h3{margin:0 0 8px;font-size:16px;color:var(--theme-text, #333)}.feedback-success p{margin:0 0 16px;color:var(--theme-text-secondary, #666);font-size:12px}.feedback-error{color:#f44;font-size:12px;margin-top:8px;text-align:center}.message-dialog-overlay{z-index:3000}.message-dialog{min-width:320px;max-width:460px}.message-dialog-body{padding:16px 20px;font-size:13px;line-height:1.5;color:var(--theme-text, #1a1a1a)}.message-dialog-body p{margin:0}.message-dialog-footer{display:flex;justify-content:flex-end;gap:8px}.sticky-popup{position:fixed;z-index:9000;border:1px solid #b0a000;box-shadow:0 2px 8px #0000004d;border-radius:8px;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;transition:opacity .2s;overflow:hidden}.sticky-popup-header{display:flex;align-items:center;height:24px;border-bottom:1px solid inherit;cursor:default;flex-shrink:0;padding:0 2px 0 6px;gap:4px}.sticky-popup-title-row{flex:1;display:flex;align-items:center;gap:8px;overflow:hidden;min-width:0}.sticky-popup-label{font-size:11px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticky-popup-label b{font-weight:700}.sticky-popup-date{font-size:11px;color:#555;white-space:nowrap;flex-shrink:0}.sticky-popup-close{background:none;border:none;color:#333;cursor:pointer;padding:0;margin:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;transition:background .1s}.sticky-popup-close:hover{background:#e81123;color:#fff}.sticky-popup-textarea{flex:1;border:none;outline:none;resize:none;padding:6px 8px;margin:0 3px;font-size:13px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#1a1a1a;-webkit-user-select:text;user-select:text;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.25) transparent}.sticky-popup-textarea::-webkit-scrollbar{width:6px}.sticky-popup-textarea::-webkit-scrollbar-track{background:transparent}.sticky-popup-textarea::-webkit-scrollbar-thumb{background:#00000040;border-radius:3px}.sticky-popup-textarea::-webkit-scrollbar-thumb:hover{background:#0006}.sticky-popup-footer{display:flex;align-items:center;justify-content:space-between;height:26px;border-top:1px solid inherit;padding:0 4px;flex-shrink:0}.sticky-popup-footer-left{display:flex;gap:2px}.sticky-popup-reply-btn{background:none;border:1px solid;font-size:11px;padding:2px 10px;cursor:pointer;color:#333}.sticky-popup-reply-btn:hover{background:#0000000f}.sticky-popup-menu-btn{background:none;border:none;font-size:16px;font-weight:700;letter-spacing:1px;padding:0 4px;cursor:pointer;color:#555;line-height:1}.sticky-popup-menu-btn:hover{color:#000;background:#00000014}.sticky-popup-lock-btn{background:none;border:none;font-size:12px;line-height:1;padding:0 2px;cursor:pointer;opacity:.7}.sticky-popup-lock-btn:hover{opacity:1}.sticky-popup-edge{position:absolute}.edge-t{top:0;left:5px;right:5px;height:4px;cursor:ns-resize}.edge-b{bottom:0;left:5px;right:5px;height:4px;cursor:ns-resize}.edge-l{left:0;top:5px;bottom:5px;width:4px;cursor:ew-resize}.edge-r{right:0;top:5px;bottom:5px;width:4px;cursor:ew-resize}.edge-tl{top:0;left:0;width:5px;height:5px;cursor:nwse-resize}.edge-tr{top:0;right:0;width:5px;height:5px;cursor:nesw-resize}.edge-bl{bottom:0;left:0;width:5px;height:5px;cursor:nesw-resize}.edge-br{bottom:0;right:0;width:5px;height:5px;cursor:nwse-resize}.shortcuts-dialog{width:650px}.shortcuts-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.shortcuts-category{margin-bottom:16px}.shortcuts-category h3{font-size:12px;font-weight:700;margin:0 0 8px;padding-bottom:4px;border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text, #333);text-transform:uppercase;letter-spacing:.5px}.shortcuts-row{display:flex;justify-content:space-between;align-items:center;padding:3px 0;font-size:12px}.shortcuts-action{color:var(--theme-text, #333)}.shortcuts-keys{display:flex;gap:3px;flex-shrink:0;margin-left:12px}.shortcuts-keys kbd{display:inline-block;padding:1px 6px;font-size:11px;font-family:Segoe UI,Consolas,monospace;background:var(--theme-bg, #f0f0f0);border:1px solid var(--theme-border, #ccc);border-radius:3px;color:var(--theme-text, #333);line-height:18px;min-width:20px;text-align:center;box-shadow:0 1px #0000001a}.ext-install-section{margin-bottom:16px}.ext-install-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;font-size:12px;font-family:inherit;background:#3b82f6;color:#fff;border:1px solid #3b82f6;cursor:pointer}.ext-install-btn:hover{background:#2563eb;border-color:#2563eb}.ext-install-btn:disabled{opacity:.6;cursor:default}.ext-install-btn svg{stroke:#fff}.ext-install-hint{margin:6px 0 0;font-size:11px;color:var(--theme-app-menu-shortcut)}.ext-divider{height:1px;background:var(--theme-app-menu-sidebar-border);margin:16px 0}.ext-section-title{font-size:13px;font-weight:600;color:var(--theme-app-menu-text);margin:0 0 12px}.ext-empty{font-size:12px;color:var(--theme-app-menu-shortcut);margin:0}.ext-list{display:flex;flex-direction:column;gap:6px}.ext-card{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--theme-app-menu-sidebar-border);background:var(--theme-app-menu-bg, #fff)}.ext-card:hover{background:var(--theme-app-menu-item-hover)}.ext-card-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:var(--theme-app-menu-icon)}.ext-card-info{flex:1;min-width:0}.ext-card-header{display:flex;align-items:baseline;gap:8px}.ext-card-name{margin:0;font-size:13px;font-weight:600;color:var(--theme-app-menu-text)}.ext-card-version{font-size:11px;color:var(--theme-app-menu-shortcut)}.ext-card-desc{margin:2px 0 0;font-size:11px;color:var(--theme-app-menu-text)}.ext-card-author{margin:2px 0 0;font-size:10px;color:var(--theme-app-menu-shortcut)}.ext-uninstall-btn{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-app-menu-shortcut);cursor:pointer;padding:0}.ext-uninstall-btn:hover{color:#e81123;border-color:#e81123}.ext-card-actions{display:flex;gap:2px;flex-shrink:0}.ext-reload-btn{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-app-menu-shortcut);cursor:pointer;padding:0}.ext-reload-btn:hover{color:#0078d4;border-color:#0078d4}.ext-message{padding:8px 12px;margin-bottom:12px;font-size:12px}.ext-message-success{background:#f0fdf4;border:1px solid #86efac;color:#166534}.ext-message-error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}[data-theme=dark] .ext-message-success{background:#14532d;border-color:#166534;color:#86efac}[data-theme=dark] .ext-message-error{background:#450a0a;border-color:#991b1b;color:#fca5a5}.scale-dialog{width:360px}.scale-dialog .modal-body{padding:0}.scale-dialog-body{padding:12px 16px}.scale-current-value{font-size:12px;color:var(--theme-text, #333);margin-bottom:12px;padding:6px 8px;background:var(--theme-bg, #f5f5f5);border:1px solid var(--theme-border, #d4d4d4)}.scale-input-label{display:block;font-size:12px;color:var(--theme-text, #333);margin-bottom:4px}.scale-input{width:100%;box-sizing:border-box;padding:5px 6px;font-size:13px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);font-family:inherit}.scale-input:focus{outline:none;border-color:var(--theme-active, #0078d7)}.scale-hint{font-size:10px;color:var(--theme-text-secondary, #888);margin-top:4px}.scale-error{font-size:11px;color:#e81123;margin-top:6px}.scale-dialog-footer{display:flex;justify-content:flex-end;gap:6px}.scale-btn{padding:4px 16px;font-size:12px;font-family:inherit;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);cursor:pointer}.scale-btn:hover{background:var(--theme-bg, #f5f5f5)}.scale-btn:disabled{opacity:.5;cursor:default}.scale-btn-ok{background:var(--theme-active, #0078d7);color:#fff;border-color:var(--theme-active, #0078d7)}.scale-btn-ok:hover{background:#006cc1}.scale-btn-ok:disabled{background:var(--theme-active, #0078d7);opacity:.5}.tp-btn{width:30px;height:28px;border:1px solid transparent;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:var(--theme-ribbon-icon-stroke);flex-shrink:0;margin:1px 2px}.tp-btn svg{width:18px;height:18px}.tp-btn:hover:not(:disabled){background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border);color:var(--theme-ribbon-text-hover)}.tp-btn.active{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border);color:var(--theme-ribbon-btn-active-text)}.tp-btn.active:hover:not(:disabled){background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border);color:var(--theme-ribbon-btn-active-text);filter:brightness(1.1)}.tp-btn:disabled{opacity:.3;cursor:default}.tp-sep{width:22px;height:1px;background:var(--theme-border);margin:3px auto;flex-shrink:0}.tp-docked{display:flex;flex-direction:column;align-items:center;background:var(--theme-surface, #ffffff);padding:0 0 2px;-webkit-user-select:none;user-select:none;overflow:hidden}.tp-ext.tp-docked,.tp-ext.tp-float{background:#fff}.tp-docked-tools{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0;overflow:hidden}.tp-logo{padding:4px 2px 2px;border-bottom:1px solid var(--theme-border);flex-shrink:0;overflow:hidden;width:0;min-width:100%}.tp-logo img{width:100%;height:auto;display:block}.tp-docked-tools.two-col{display:grid;grid-template-columns:auto auto;align-content:start;justify-items:center}.tp-docked-tools.two-col .tp-sep{grid-column:1 / -1;width:100%}.tp-docked::-webkit-scrollbar{display:none}.tp-docked-left{border-right:1px solid var(--theme-border)}.tp-docked-right{border-left:1px solid var(--theme-border)}.tp-grip{width:100%;display:flex;align-items:center;justify-content:center;padding:3px 0;cursor:grab;color:var(--theme-text-secondary);border-bottom:1px solid var(--theme-border);margin-bottom:2px}.tp-grip:hover{background:var(--theme-hover);color:var(--theme-ribbon-icon-stroke)}.tp-grip:active{cursor:grabbing}.tp-close{width:24px;height:20px;border:1px solid transparent;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:var(--theme-text-secondary);flex-shrink:0;margin:2px}.tp-close:hover{background:#e81123;color:#fff}.tp-float{position:fixed;z-index:950;background:var(--theme-surface, #ffffff);border:1px solid var(--theme-border);box-shadow:0 4px 16px #00000038,0 1px 4px #0000001f;-webkit-user-select:none;user-select:none}.tp-float-header{display:flex;align-items:center;justify-content:space-between;padding:3px 4px;background:linear-gradient(to bottom,var(--theme-ribbon-bg-start),var(--theme-ribbon-bg-end));border-bottom:1px solid var(--theme-border);cursor:default}.tp-float-title{font-size:11px;font-weight:600;color:var(--theme-text);padding-left:2px}.tp-float-close{width:18px;height:18px;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:var(--theme-text-secondary)}.tp-float-close:hover{background:#e81123;color:#fff}.tp-float-body{display:grid;grid-template-columns:repeat(2,1fr);padding:3px;gap:0}.tp-float-body .tp-sep{grid-column:1 / -1;width:100%!important;margin:3px 0}.tp-dock-target{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface);border:1px solid var(--theme-border);z-index:998;pointer-events:none;opacity:0;transition:opacity .15s,border-color .15s}.tp-dock-target.visible{opacity:1}.tp-dock-target.active{border-color:var(--theme-accent);background:#a82d6e14}.tp-dock-target-left{left:6px}.tp-dock-target-right{right:6px}.tp-dock-target-icon{color:var(--theme-text-secondary);display:flex}.tp-dock-target.active .tp-dock-target-icon{color:var(--theme-accent)}.tp-dock-preview{position:absolute;top:0;bottom:0;width:34px;background:var(--theme-accent);opacity:0;z-index:997;pointer-events:none;transition:opacity .15s}.tp-dock-preview.active{opacity:.12}.tp-dock-preview-left{left:0}.tp-dock-preview-right{right:0}.tp-large .tp-btn{width:42px;height:40px;margin:1px 2px}.tp-large .tp-btn svg{width:28px;height:28px}.tp-large .tp-sep{width:34px}.tp-ctx-menu{position:fixed;z-index:10000;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);box-shadow:0 2px 8px #00000040;padding:2px 0;min-width:130px}.tp-ctx-menu-item{display:flex;align-items:center;gap:6px;padding:5px 12px;font-size:11px;color:var(--theme-text, #333);cursor:pointer;white-space:nowrap}.tp-ctx-menu-item:hover{background:var(--theme-hover, #e8e8e8)}.tp-ctx-check{width:14px;text-align:center;font-size:12px}.status-bar{background:var(--theme-status-bg);border-top:1px solid var(--theme-status-border);padding:0 12px;display:flex;align-items:center;justify-content:space-between;height:22px;font-size:12px;color:var(--theme-status-text);flex-shrink:0;-webkit-user-select:none;user-select:none;cursor:default}.status-bar-left{display:flex;align-items:center;gap:16px;flex:1}.status-bar-center{display:flex;align-items:center;gap:2px;justify-content:center}.status-bar-right{display:flex;align-items:center;gap:16px;flex:1;justify-content:flex-end}.status-item{display:flex;align-items:center;gap:4px;padding:0 6px;height:22px;cursor:default;transition:background .1s}.status-item:hover{background:var(--theme-status-hover)}.status-separator{width:1px;height:14px;background:var(--theme-status-separator)}.status-item-label{color:var(--theme-status-text-label)}.status-item-value{color:var(--theme-status-text-value);font-weight:500}.status-nav-btn{background:transparent;border:none;padding:2px;cursor:pointer;font-size:11px;color:var(--theme-status-nav-text);border-radius:2px;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.status-nav-btn:hover:not(:disabled){background:var(--theme-status-nav-hover)}.status-nav-btn:disabled{opacity:.4;cursor:not-allowed}.status-nav-btn svg{width:12px;height:12px;stroke:var(--theme-status-nav-text)}.status-page-info{font-size:12px;color:var(--theme-status-text-value);text-align:center;display:flex;align-items:center;gap:4px;margin:0 2px}.status-page-input{width:36px;background:var(--theme-status-nav-hover);border:1px solid var(--theme-status-separator);border-radius:3px;color:var(--theme-status-nav-text);font-size:12px;text-align:center;padding:2px 4px;outline:none}.status-page-input:focus{background:#ffffff40;border-color:#ffffff80}.status-page-input::-webkit-inner-spin-button,.status-page-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.status-zoom-controls{display:flex;align-items:center;gap:4px;margin-left:8px;padding-left:8px;border-left:1px solid var(--theme-status-separator)}.status-zoom-level{font-size:12px;color:var(--theme-status-text-value);min-width:40px;text-align:center}.status-zoom-input{width:45px;background:var(--theme-status-nav-hover);border:1px solid var(--theme-status-separator);border-radius:3px;color:var(--theme-status-nav-text);font-size:12px;text-align:center;padding:2px 4px;outline:none}.status-zoom-input:focus{background:#ffffff40;border-color:#ffffff80}.status-zoom-input::-webkit-inner-spin-button,.status-zoom-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.find-bar{display:none;position:absolute;top:8px;right:8px;z-index:1000;background:#fff;border:1px solid #d4d4d4;box-shadow:0 2px 8px #00000026;padding:8px 12px;align-items:center;gap:8px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:12px}.find-bar.visible{display:flex}.find-close-btn{width:20px;height:20px;border:none;background:transparent;font-size:16px;color:#666;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.find-close-btn:hover{color:#e81123}.find-input-container{flex-shrink:0}.find-input{width:200px;padding:4px 8px;border:1px solid #d4d4d4;font-size:12px;font-family:inherit}.find-input:focus{outline:none;border-color:#0078d4}.find-input.not-found{border-color:#e81123;background-color:#fff5f5}.find-nav-buttons{display:flex;gap:2px;flex-shrink:0}.find-nav-btn{width:24px;height:24px;border:1px solid #d4d4d4;background:#f5f5f5;display:flex;align-items:center;justify-content:center;padding:0}.find-nav-btn:hover:not(:disabled){background:#e5e5e5}.find-nav-btn:active:not(:disabled){background:#d5d5d5}.find-nav-btn:disabled{opacity:.5}.find-nav-btn svg{width:14px;height:14px}.find-results-count{font-size:11px;color:#666;white-space:nowrap;min-width:60px}.find-message{font-size:11px;color:#666;white-space:nowrap}.find-message.not-found{color:#e81123}.find-options{display:flex;gap:12px;margin-left:8px;padding-left:8px;border-left:1px solid #d4d4d4}.find-option{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.find-option input[type=checkbox]{margin:0}.search-highlight{position:absolute;background-color:#ff06;pointer-events:none;mix-blend-mode:multiply}.search-highlight.current{background-color:#ffa50099;outline:2px solid #ff8c00}[dir=rtl]{direction:rtl;text-align:right}[dir=rtl] .left-panel{border-right:none;border-left:none}[dir=rtl] .properties-panel{border-left:none;border-right:1px solid var(--theme-panel-border)}[dir=rtl] #pdf-container{direction:ltr;text-align:left}[dir=rtl] .title-bar{direction:ltr}[dir=rtl] .ribbon-content{direction:rtl}[dir=rtl] .ribbon-group{border-right:none;border-left:1px solid var(--theme-ribbon-group-border);margin-right:0;margin-left:8px}[dir=rtl] .ribbon-group:last-child{border-left:none;margin-left:0}[dir=rtl] .app-menu-overlay{direction:rtl}[dir=rtl] .app-menu-sidebar{border-right:none;border-left:1px solid var(--theme-app-menu-border)}[dir=rtl] .app-menu-back svg{transform:scaleX(-1)}[dir=rtl] .app-menu-item{text-align:right}[dir=rtl] .app-menu-item.active{border-left:none;padding-left:20px;border-right:3px solid #3b82f6;padding-right:17px}[dir=rtl] .app-menu-item-shortcut,[dir=rtl] .app-menu-menu-item .shortcut{margin-left:0;margin-right:auto}[dir=rtl] .doc-tab .tab-close{margin-left:0;margin-right:6px}[dir=rtl] .status-bar-center{direction:ltr}[dir=rtl] .context-menu{text-align:right}[dir=rtl] .context-menu .menu-item .shortcut{margin-left:0;margin-right:auto;padding-left:0;padding-right:16px}[dir=rtl] .context-menu .submenu-arrow{transform:scaleX(-1)}[dir=rtl] .left-panel-tabs{border-right:none;border-left:1px solid var(--theme-panel-border)}[dir=rtl] .thumbnails-container,[dir=rtl] .bookmarks-container,[dir=rtl] .annotations-list-content,[dir=rtl] .attachments-container,[dir=rtl] .signatures-container,[dir=rtl] .layers-container,[dir=rtl] .form-fields-container,[dir=rtl] .destinations-container,[dir=rtl] .tags-container,[dir=rtl] .links-container{direction:ltr}[dir=rtl] .thumbnails-container>*,[dir=rtl] .bookmarks-container>*,[dir=rtl] .annotations-list-content>*,[dir=rtl] .attachments-container>*,[dir=rtl] .signatures-container>*,[dir=rtl] .layers-container>*,[dir=rtl] .form-fields-container>*,[dir=rtl] .destinations-container>*,[dir=rtl] .tags-container>*,[dir=rtl] .links-container>*{direction:rtl;text-align:right}[dir=rtl] .find-bar input[type=text]{text-align:right}[dir=rtl] .pref-tabs{border-right:none;border-left:1px solid var(--theme-pref-border)}[dir=rtl] .pref-row label,[dir=rtl] .prop-row label{text-align:right}[dir=rtl] #first-page .ribbon-btn-icon,[dir=rtl] #prev-page-ribbon .ribbon-btn-icon,[dir=rtl] #next-page-ribbon .ribbon-btn-icon,[dir=rtl] #last-page .ribbon-btn-icon{transform:scaleX(-1)}[dir=rtl] .modal-header{padding-left:0;padding-right:10px}[dir=rtl] .modal-footer{direction:rtl}[dir=rtl] .pref-tab{text-align:right;border-right:none;border-left:3px solid transparent}[dir=rtl] .pref-tab.active{border-right:none;border-left-color:var(--theme-active, #0078d7)}[dir=rtl] .print-custom-row{margin-left:0;margin-right:52px}[dir=rtl] .print-checkbox-row{padding-left:0;padding-right:58px}[dir=rtl] .print-collate-label{margin-left:0;margin-right:12px}[dir=rtl] .print-zoom-row{margin-left:0;margin-right:58px}[dir=rtl] .print-preview-panel{border-left:none;border-right:1px solid #b0b0b0}[dir=rtl] .doc-props-label{text-align:right}[dir=rtl] .signature-color-label{margin-left:0;margin-right:4px}[dir=rtl] .stamp-grid{direction:ltr}[dir=rtl] .message-dialog-body{text-align:right}[dir=rtl] .message-dialog-footer{justify-content:flex-start}[dir=rtl] ::-webkit-scrollbar{direction:ltr}.mobile-app{--bg-primary: var(--theme-surface, #ffffff);--bg-secondary: var(--theme-bg, #f5f5f5);--text-primary: var(--theme-text, #1a1a1a);--text-secondary: var(--theme-text-secondary, #666);--border-color: var(--theme-border, #d4d4d4);--hover-bg: var(--theme-hover, rgba(0, 0, 0, .08));--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden;background:var(--bg-primary);color:var(--text-primary)}.mobile-topbar{display:flex;align-items:center;height:48px;min-height:48px;padding:0 4px;padding-top:var(--sat);background:var(--bg-secondary);border-bottom:1px solid var(--border-color);gap:4px;-webkit-user-select:none;user-select:none}.mobile-topbar-title{flex:1;font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.mobile-topbar-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:none;background:transparent;color:var(--text-primary);border-radius:4px;cursor:default}.mobile-topbar-btn:active{background:var(--hover-bg)}.mobile-main{flex:1;overflow:auto;position:relative;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.mobile-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-secondary);gap:16px;padding:32px;text-align:center}.mobile-placeholder svg{opacity:.4}.mobile-placeholder p{font-size:15px}.mobile-open-btn{padding:12px 32px;font-size:16px;font-weight:500;background:#0078d4;color:#fff;border:none;border-radius:4px;min-height:44px;cursor:default}.mobile-open-btn:active{background:#006cbd}.mobile-app #pdf-container{display:none;width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mobile-app #pdf-container.visible{display:block}.mobile-app #canvas-wrapper{margin:auto;min-width:min-content;min-height:min-content}.mobile-bottombar{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 8px;padding-bottom:var(--sab);background:var(--bg-secondary);border-top:1px solid var(--border-color);gap:2px;-webkit-user-select:none;user-select:none;position:relative;transition:min-height .2s ease}.mobile-bottombar.collapsed{min-height:24px;overflow:hidden}.mobile-bottombar.collapsed .mobile-toolbar-btn,.mobile-bottombar.collapsed .mobile-page-info,.mobile-bottombar.collapsed .mobile-toolbar-separator{display:none}.mobile-toolbar-collapse-handle{position:absolute;top:0;left:50%;transform:translate(-50%);width:48px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--text-secondary);cursor:default;padding:0;z-index:1}.mobile-toolbar-collapse-handle:active{background:var(--hover-bg)}.mobile-toolbar-content{display:flex;align-items:center;justify-content:center;gap:2px;padding-top:4px}.mobile-toolbar-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:none;background:transparent;color:var(--text-primary);border-radius:4px;cursor:default}.mobile-toolbar-btn:active:not(:disabled){background:var(--hover-bg)}.mobile-toolbar-btn:disabled{opacity:.35}.mobile-page-info{font-size:13px;min-width:60px;text-align:center;font-variant-numeric:tabular-nums;border:none;background:transparent;color:var(--text-primary);cursor:default;padding:4px 8px;border-radius:4px}.mobile-page-info:active{background:var(--hover-bg)}.mobile-toolbar-separator{width:1px;height:28px;background:var(--border-color);margin:0 4px}.mobile-tools-overlay{position:fixed;inset:0;z-index:900;background:#0000004d}.mobile-tools-menu{position:absolute;bottom:calc(56px + var(--sab));right:8px;background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:0 -4px 16px #00000026;min-width:180px;padding:4px 0}.mobile-tools-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;border:none;background:transparent;color:var(--text-primary);font-size:15px;text-align:left;min-height:44px;cursor:default}.mobile-tools-item:active{background:var(--hover-bg)}.mobile-drawer-overlay{position:fixed;inset:0;z-index:1000;background:#0006;opacity:0;pointer-events:none;transition:opacity .2s ease}.mobile-drawer-overlay.open{opacity:1;pointer-events:auto}.mobile-drawer{position:absolute;top:0;left:0;bottom:0;width:280px;max-width:80vw;background:var(--bg-primary);box-shadow:4px 0 16px #0003;transform:translate(-100%);transition:transform .2s ease;display:flex;flex-direction:column}.mobile-drawer.open{transform:translate(0)}.mobile-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:0 16px;padding-top:var(--sat);height:56px;min-height:56px;border-bottom:1px solid var(--border-color);font-size:16px;font-weight:600}.mobile-drawer-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;background:transparent;color:var(--text-primary);border-radius:4px;cursor:default}.mobile-drawer-close:active{background:var(--hover-bg)}.mobile-drawer-items{flex:1;overflow-y:auto;padding:8px 0}.mobile-drawer-item{display:flex;align-items:center;gap:16px;width:100%;padding:12px 20px;border:none;background:transparent;color:var(--text-primary);font-size:15px;text-align:left;min-height:48px;cursor:default}.mobile-drawer-item:active{background:var(--hover-bg)}.mobile-drawer-divider{height:1px;background:var(--border-color);margin:8px 16px}.mobile-drawer-section-label{padding:8px 20px 4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary)}.mobile-recent-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 20px;border:none;background:transparent;color:var(--text-primary);font-size:14px;text-align:left;min-height:44px;cursor:default}.mobile-recent-item:active{background:var(--hover-bg)}.mobile-recent-item svg{flex-shrink:0;color:var(--text-secondary)}.mobile-recent-item-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-recent-clear{display:flex;align-items:center;gap:12px;width:100%;padding:8px 20px;border:none;background:transparent;color:var(--text-secondary);font-size:13px;text-align:left;cursor:default}.mobile-recent-clear:active{background:var(--hover-bg)}.mobile-goto-overlay{position:fixed;inset:0;z-index:950;background:#0006;display:flex;align-items:center;justify-content:center}.mobile-goto-dialog{background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:0 8px 32px #0000004d;padding:20px;min-width:260px;max-width:90vw}.mobile-goto-dialog h3{margin:0 0 16px;font-size:16px;font-weight:600}.mobile-goto-dialog input{width:100%;padding:10px 12px;font-size:16px;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);box-sizing:border-box;outline:none}.mobile-goto-dialog input:focus{border-color:#0078d4}.mobile-goto-buttons{display:flex;gap:8px;margin-top:16px;justify-content:flex-end}.mobile-goto-buttons button{padding:8px 20px;font-size:14px;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);min-height:36px;cursor:default}.mobile-goto-buttons button:active{background:var(--hover-bg)}.mobile-goto-buttons button.primary{background:#0078d4;color:#fff;border-color:#0078d4}.mobile-goto-buttons button.primary:active{background:#006cbd}.mobile-copy-fab{position:fixed;bottom:calc(64px + var(--sab));right:16px;z-index:800;display:flex;align-items:center;gap:8px;padding:10px 18px;background:#0078d4;color:#fff;border:none;border-radius:4px;box-shadow:0 4px 12px #0000004d;font-size:14px;font-weight:500;min-height:44px;cursor:default}.mobile-copy-fab:active{background:#006cbd}.mobile-app.fullscreen .mobile-topbar,.mobile-app.fullscreen .mobile-bottombar{display:none}.mobile-app.fullscreen .mobile-main{height:100vh}.mobile-app.fullscreen .mobile-copy-fab{bottom:16px}.mobile-fullscreen-tap{position:fixed;inset:0;z-index:50;background:transparent}.mobile-app.fullscreen.bars-visible .mobile-topbar,.mobile-app.fullscreen.bars-visible .mobile-bottombar{display:flex}.mobile-app.fullscreen.bars-visible .mobile-main{height:calc(100vh - 48px - 52px - var(--sat) - var(--sab))}.mobile-prefs-page{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;background:var(--bg-primary, #ffffff);color:var(--text-primary, #1a1a1a)}.mobile-prefs-header{display:flex;align-items:center;height:48px;min-height:48px;padding:0 4px;padding-top:var(--sat);background:var(--bg-secondary, #f5f5f5);border-bottom:1px solid var(--border-color, #d4d4d4);gap:4px}.mobile-prefs-title{flex:1;font-size:16px;font-weight:600}.mobile-prefs-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 0}.mobile-prefs-section{padding:12px 16px;border-bottom:1px solid var(--border-color, #d4d4d4)}.mobile-prefs-section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary, #666);margin-bottom:10px}.mobile-prefs-section select{width:100%;padding:10px 12px;font-size:16px;border:1px solid var(--border-color, #d4d4d4);background:var(--bg-secondary, #f5f5f5);color:var(--text-primary, #1a1a1a);box-sizing:border-box;appearance:auto}.mobile-prefs-section>input[type=text]{width:100%;padding:10px 12px;font-size:16px;border:1px solid var(--border-color, #d4d4d4);background:var(--bg-secondary, #f5f5f5);color:var(--text-primary, #1a1a1a);box-sizing:border-box}.mobile-prefs-section>input:focus,.mobile-prefs-section>select:focus{border-color:#0078d4;outline:none}.mobile-prefs-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;gap:12px}.mobile-prefs-row label{font-size:14px;flex:1}.mobile-prefs-row input[type=number]{width:64px;padding:8px 10px;font-size:15px;border:1px solid var(--border-color, #d4d4d4);background:var(--bg-secondary, #f5f5f5);color:var(--text-primary, #1a1a1a);text-align:center}.mobile-prefs-row input[type=color]{width:44px;height:36px;border:1px solid var(--border-color, #d4d4d4);padding:2px;cursor:default}.mobile-prefs-row input[type=range]{flex:1;min-width:0}.mobile-prefs-range-value{font-size:13px;min-width:36px;text-align:right;color:var(--text-secondary, #666)}.mobile-prefs-toggle{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:14px;cursor:default}.mobile-prefs-toggle input[type=checkbox]{width:20px;height:20px;flex-shrink:0}
