*{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}:root{--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;--ui-font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", "Courier New", monospace}button,input,select,textarea,optgroup{font-family:inherit}body{font-family:var(--ui-font);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}:root:lang(ar),:root:lang(fa){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Geeza Pro", "SF Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif}:root:lang(ur){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Geeza Pro", "SF Arabic", "Noto Nastaliq Urdu", "Noto Sans Arabic", Tahoma, sans-serif}:root:lang(he){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial Hebrew", "SF Hebrew", "Noto Sans Hebrew", Tahoma, Arial, sans-serif}:root:lang(zh){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif}:root:lang(ja){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Yu Gothic UI", "Meiryo UI", Meiryo, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", sans-serif}:root:lang(ko){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", sans-serif}:root:lang(hi){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Nirmala UI", "Kohinoor Devanagari", "Devanagari MT", "Noto Sans Devanagari", Mangal, sans-serif}:root:lang(bn){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Nirmala UI", "Kohinoor Bangla", "Bangla MN", "Noto Sans Bengali", Vrinda, sans-serif}:root:lang(ta){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Nirmala UI", "Kohinoor Tamil", "Tamil MN", "Noto Sans Tamil", Latha, sans-serif}:root:lang(th){--ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Leelawadee UI", Thonburi, "Noto Sans Thai", Tahoma, sans-serif}:root,[data-theme=default]{--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)}[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=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=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=amber-navy]{--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=warm-ember]{--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=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}.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}.send-feedback-btn:disabled{opacity:.5;color:var(--theme-text-secondary, #666)}.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-signin-prompt{display:flex;align-items:center;gap:14px;padding:0 16px;height:100%;width:100%;background:var(--theme-ribbon-content-bg)}.ribbon-signin-icon{width:36px;height:36px;color:var(--theme-accent, #0078d4);flex-shrink:0;display:flex;align-items:center;justify-content:center}.ribbon-signin-icon svg{width:100%;height:100%}.ribbon-signin-text{display:flex;flex-direction:column;min-width:0;flex:1;max-width:520px}.ribbon-signin-title{font-size:13px;font-weight:600;color:var(--theme-text, #1f1f1f);line-height:1.25}.ribbon-signin-sub{font-size:11px;color:var(--theme-text-secondary, #6b6b6b);line-height:1.35;margin-top:2px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ribbon-signin-btn{flex-shrink:0;padding:6px 18px;background:var(--theme-accent, #0078d4);color:#fff;border:1px solid var(--theme-accent, #0078d4);font-size:12px;font-weight:500;cursor:default}.ribbon-signin-btn:hover{background:var(--theme-accent-hover, #106ebe)}.ribbon-signin-hint{flex-shrink:0;font-size:11px;color:#b91c1c;margin-left:4px}.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:background-color .15s ease,border-color .15s ease,color .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:normal;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.active{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-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;flex:1 1 auto;min-width: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 var(--theme-ribbon-input-border);background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text);min-width:60px}.ribbon-form-select option{background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text)}.ribbon-form-select-sm{min-width:50px}.ribbon-form-select:disabled{opacity:.4;pointer-events:none}.ribbon-form-select:focus{border-color:var(--theme-ribbon-input-focus-border);background:var(--theme-ribbon-input-focus-bg);outline:none}.ribbon-form-number{height:20px;font-size:11px;padding:0 2px;border:1px solid var(--theme-ribbon-input-border);background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text);min-width:60px;font-variant-numeric:tabular-nums}.ribbon-form-number:disabled{opacity:.4;pointer-events:none}.ribbon-form-number:focus{border-color:var(--theme-ribbon-input-focus-border);background:var(--theme-ribbon-input-focus-bg);outline:none}.ribbon-slider-number{height:18px;width:34px;font-size:11px;padding:0 2px;border:1px solid var(--theme-ribbon-input-border);background:var(--theme-ribbon-input-bg);color:var(--theme-ribbon-input-text);text-align:right;font-variant-numeric:tabular-nums}.ribbon-slider-number:focus{border-color:var(--theme-ribbon-input-focus-border);background:var(--theme-ribbon-input-focus-bg);outline:none}.ribbon-slider-unit{font-size:11px;color:var(--theme-ribbon-text)}.ribbon-slider-grid{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:4px 2px}.ribbon-slider-row{display:flex;align-items:center;gap:4px;height:20px}.ribbon-slider-row label{font-size:11px;color:var(--theme-ribbon-text);white-space:nowrap;min-width:58px}.ribbon-slider-icon{display:inline-flex;width:14px;height:14px}.ribbon-slider-icon svg{width:14px;height:14px}.ribbon-slider{width:96px;height:4px;margin:0;cursor:default;accent-color:#0066cc}.ribbon-slider:disabled{opacity:.4;pointer-events:none}.ribbon-slider-value{font-size:11px;color:var(--theme-ribbon-text);min-width:34px;text-align:right;font-variant-numeric:tabular-nums}.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:fixed;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:fixed;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-menu-wrapper{position:relative}.ribbon-grid-col .ribbon-menu-wrapper{display:flex}.ribbon-menu-wrapper>.ribbon-row-btn{flex:1;width:100%}.ribbon-menu-dropdown{display:none;position:fixed;z-index:1000;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);box-shadow:0 4px 12px #0003;padding:2px;min-width:180px}.ribbon-menu-dropdown.show{display:block}.ribbon-menu-item{display:flex;align-items:center;gap:6px;width:100%;padding:4px 8px;font-size:11px;text-align:left;background:transparent;border:none;color:var(--theme-text, #333);cursor:default;white-space:nowrap}.ribbon-menu-item:hover:not(:disabled){background:var(--theme-ribbon-btn-hover, #e8e8e8)}.ribbon-menu-item:disabled{color:#999}.ribbon-menu-sep{height:1px;background:var(--theme-border, #ddd);margin:2px 0}.ribbon-menu-check{width:12px;flex-shrink:0;text-align:center}.ribbon-style-gallery-wrap{position:relative;display:flex;max-width:100%;min-width:0}.ribbon-style-more-popup{display:none;position:fixed;z-index:1000;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);box-shadow:0 4px 12px #0003;padding:6px;width:300px}.ribbon-style-more-popup.show{display:block}.ribbon-style-more-grid{display:flex;flex-wrap:wrap;gap:2px}.ribbon-style-more-presets{display:flex;flex-direction:column}.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}.measure-scale-row{display:flex;align-items:center;gap:4px;padding:1px 2px}.measure-calib-group{display:flex;flex-direction:column;gap:2px;width:132px;flex-shrink:0}.measure-hint-text{font-size:9px;height:12px;color:var(--theme-ribbon-text-secondary, var(--theme-text-secondary, #888))}.measure-label-text{font-size:9px;color:var(--theme-ribbon-text-secondary, var(--theme-text-secondary, #888))}.measure-value-text{font-size:10px;color:var(--theme-ribbon-text, var(--theme-text, #333))}.measure-section-divider{display:flex;flex-direction:column;gap:2px;margin-left:4px;border-left:1px solid var(--theme-ribbon-separator, var(--theme-border, #d4d4d4));padding-left:4px}.measure-apply-btn{height:20px;font-size:10px;cursor:default;background:var(--theme-accent, #0078d4);color:#fff;border:1px solid var(--theme-accent, #006cc1)}.measure-apply-btn:hover{filter:brightness(.9)}.measure-apply-btn:disabled{opacity:.4;background:var(--theme-ribbon-btn-bg, var(--theme-bg, #e0e0e0));color:var(--theme-text-secondary, #888);border-color:var(--theme-border, #ccc)}.measure-status-success,.ribbon-ext-tone-success{font-size:9px;color:#16a34a}.measure-status-error,.ribbon-ext-tone-error{font-size:9px;color:#dc2626}.measure-status-warning,.ribbon-ext-tone-warning{font-size:9px;color:var(--theme-accent, #d97706)}.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, #d4d4d4);background:var(--theme-ribbon-input-bg, #ffffff);color:var(--theme-ribbon-input-text, #333);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:fixed;z-index:1000;min-width:170px;border:1px solid var(--theme-ribbon-input-border, #d4d4d4);background:var(--theme-ribbon-input-bg, #ffffff);background-color:var(--theme-ribbon-input-bg, #ffffff);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}.ribbon-group-compact .ribbon-btn-label{display:none}.ribbon-group-compact .ribbon-btn{min-width:26px;width:26px;height:26px;padding:1px;margin:0}.ribbon-group-compact .ribbon-btn.medium,.ribbon-group-compact .ribbon-btn.small{width:26px;height:26px;min-width:26px;padding:1px;margin:0}.ribbon-group-compact .ribbon-btn-icon{width:18px;height:18px}.ribbon-group-compact .ribbon-group-content{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;padding:0;width:182px;align-content:flex-start}.ribbon-group-compact .ribbon-btn-stack{gap:0}.ribbon-group-compact{padding:0 4px}.ribbon-group-compact .ribbon-group-label{margin-top:auto;margin-bottom:0;text-align:center}.ribbon-groups-icon-only .ribbon-btn-label{display:none}.ribbon-groups-icon-only .ribbon-btn{min-width:0}.ribbon-groups-icon-only .ribbon-btn.small,.ribbon-groups-icon-only .ribbon-btn.medium{min-width:26px;width:26px;height:26px;padding:1px;gap:0;justify-content:center}.ribbon-groups-icon-only .ribbon-btn.small .ribbon-btn-icon,.ribbon-groups-icon-only .ribbon-btn.medium .ribbon-btn-icon{width:18px;height:18px}.ribbon-groups-icon-only .ribbon-btn-stack{gap:0}.ribbon-btn.icon-only .ribbon-btn-label,.ribbon-group-icon-only .ribbon-btn-label{display:none}.ribbon-btn.icon-only:not(.small):not(.medium),.ribbon-group-icon-only .ribbon-btn:not(.small):not(.medium){justify-content:center;min-width:34px}.ribbon-btn.small.icon-only,.ribbon-btn.medium.icon-only,.ribbon-group-icon-only .ribbon-btn.small,.ribbon-group-icon-only .ribbon-btn.medium{min-width:26px;width:26px;height:24px;padding:1px;gap:0;justify-content:center}.ribbon-btn.small.icon-only .ribbon-btn-icon,.ribbon-btn.medium.icon-only .ribbon-btn-icon,.ribbon-group-icon-only .ribbon-btn.small .ribbon-btn-icon,.ribbon-group-icon-only .ribbon-btn.medium .ribbon-btn-icon{width:18px;height:18px}.ribbon-group-icon-only .ribbon-btn-stack{gap:0}.ribbon-collapse-toggle{margin-left:auto;align-self:center;display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;background:transparent;border:1px solid transparent;border-radius:2px;color:var(--theme-ribbon-text, #333);cursor:pointer}.ribbon-collapse-toggle:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-groups-adaptive{flex:1 1 auto;width:100%;min-width:0;overflow:hidden;position:relative}.ribbon-groups-adaptive .ribbon-group{flex:0 0 auto}.ribbon-group-overflow{min-width:60px;position:relative}.ribbon-group-overflow .ribbon-group-content{justify-content:center}.ribbon-overflow-btn{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:56px;height:60px;padding:4px 2px 2px;background:transparent;border:1px solid transparent;cursor:default;font-size:11px;color:var(--theme-text, #1f1f1f);gap:2px}.ribbon-overflow-btn:hover,.ribbon-overflow-btn.open{background:var(--theme-ribbon-btn-hover-bg, #e5f1fb);border-color:var(--theme-ribbon-btn-hover-border, #b8d6ef)}.ribbon-overflow-btn-icon{display:flex;align-items:center;justify-content:center;height:22px}.ribbon-overflow-btn-label{font-size:11px;line-height:1.1}.ribbon-overflow-btn-chevron{display:flex;align-items:center;justify-content:center;height:6px}.ribbon-overflow-flyout{position:fixed;z-index:1000;background:var(--theme-ribbon-content-bg, #fff);border:1px solid var(--theme-ribbon-group-border, #d4d4d4);box-shadow:2px 2px 6px #0000002e;padding:6px 8px;min-width:120px;max-width:90vw}.ribbon-overflow-flyout-inner{display:flex;align-items:stretch;gap:0}.ribbon-overflow-flyout-inner>.ribbon-group{border-right:1px solid var(--theme-ribbon-group-border, #d4d4d4);height:86px}.ribbon-overflow-flyout-inner>.ribbon-group:last-child{border-right:none}.ribbon-checkbox-option{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;align-self:center;font-size:11px;color:var(--theme-ribbon-group-label, #333);white-space:nowrap;cursor:default;-webkit-user-select:none;user-select:none}.ribbon-checkbox-option input[type=checkbox]{width:13px;height:13px;margin:0;border-radius:0;cursor:pointer;flex:0 0 auto}.ribbon-checkbox-option span{cursor:pointer}.ribbon-ext-tabs{display:flex;align-items:flex-end;gap:2px;flex:0 1 auto;min-width:0;height:100%;overflow:hidden}.ribbon-ext-tab{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;max-width:120px}.ribbon-ext-tab-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ribbon-ext-tab-icon{display:inline-flex;flex:0 0 12px;width:12px;height:12px}.ribbon-ext-tab-icon svg{width:12px;height:12px}.ribbon-ext-tab-verborgen{display:none!important}.ribbon-ext-more{align-self:center;display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;margin:0 1px;padding:0;background:transparent;border:1px solid transparent;border-radius:0;color:var(--theme-ribbon-text)}.ribbon-ext-more:hover,.ribbon-ext-more.open{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.ribbon-ext-menu{display:flex;flex-direction:column;padding:2px;min-width:140px}.ribbon-ext-menu-item{display:flex;align-items:center;gap:6px;max-width:240px;padding:3px 8px;font-size:12px;text-align:start;white-space:nowrap;background:transparent;border:1px solid transparent;border-radius:0;color:var(--theme-ribbon-text)}.ribbon-ext-menu-item:hover,.ribbon-ext-menu-item:focus-visible{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border);outline:none}.ribbon-ext-menu-label{overflow:hidden;text-overflow:ellipsis}.ribbon-ext-kolom{display:flex;flex-direction:column;justify-content:center;align-self:stretch;gap:2px;padding:0 2px}.ribbon-ext-row{height:22px}.ribbon-ext-status-text{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.ribbon-ext-tone-neutral{color:var(--theme-ribbon-input-text)}.ribbon-ext-fout{align-self:center;padding:0 12px;font-size:11px;color:var(--theme-ribbon-text)}.ribbon-tabs .ribbon-tab:focus-visible,.ribbon-ext-more:focus-visible,.ribbon-ext-content .ribbon-btn:focus-visible,.ribbon-ext-content .ribbon-form-select:focus-visible{outline:1px solid var(--theme-ribbon-tab-active-border);outline-offset:-1px}.document-tabs{display:flex;position:relative;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-recovered{font-size:10px;padding:0 4px;margin-right:4px;border:1px solid var(--theme-active, #0078d7);color:var(--theme-active, #0078d7);white-space:nowrap}.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.drag-dock-target{background:#0078d71f;box-shadow:inset 0 0 0 2px var(--theme-tab-active-accent, #0078d7)}.document-tabs.drag-dock-target:after{content:"Sleep hier om te koppelen";position:absolute;left:50%;transform:translate(-50%);top:4px;padding:2px 10px;background:var(--theme-tab-active-accent, #0078d7);color:#fff;font-size:11px;white-space:nowrap;pointer-events:none;z-index:50}.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}.element-visibility-panel{width:230px;flex-shrink:0;background:var(--theme-panel-bg);border-right:1px solid var(--theme-panel-border);display:flex;flex-direction:column;overflow:hidden;cursor:default;-webkit-user-select:none;user-select:none;font-size:11px}.ev-panel-header{display:flex;align-items:center;justify-content:space-between;padding:5px 6px;font-weight:600;color:var(--theme-panel-header-text);background:linear-gradient(to bottom,#fff,#f5f5f5);border-bottom:1px solid #d4d4d4}.ev-panel-header-actions{display:flex;align-items:center;gap:4px}.ev-panel-reset{font-size:10px;padding:2px 6px;border:1px solid var(--theme-panel-border);background:var(--theme-panel-toggle-bg, #f0f0f0);color:var(--theme-panel-header-text);cursor:pointer}.ev-panel-reset:hover{background:var(--theme-panel-toggle-hover, #e5e5e5)}.ev-panel-close{width:18px;height:18px;line-height:16px;text-align:center;border:none;background:transparent;color:var(--theme-panel-header-text);cursor:pointer;font-size:14px}.ev-panel-close:hover{background:#e81123;color:#fff}.ev-panel-body{flex:1;overflow-y:auto;padding:4px}.ev-panel-empty{padding:12px 8px;color:var(--theme-panel-tab-text);opacity:.7;text-align:center}.ev-column-head{display:grid;grid-template-columns:1fr 34px 28px 30px;gap:2px;padding:2px 4px 4px;font-size:9.5px;text-transform:uppercase;letter-spacing:.3px;color:var(--theme-panel-tab-text);opacity:.75;border-bottom:1px solid var(--theme-panel-border)}.ev-col-count,.ev-col-vis,.ev-col-half{text-align:center}.ev-row{border-bottom:1px solid var(--theme-panel-border);padding:3px 2px}.ev-row-hidden .ev-type-name{opacity:.5;text-decoration:line-through}.ev-row-main{display:grid;grid-template-columns:28px 1fr 34px 30px;align-items:center;gap:2px}.ev-vis-toggle,.ev-half-toggle{display:flex;align-items:center;justify-content:center;margin:0}.ev-type-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-panel-header-text)}.ev-type-count{text-align:center;opacity:.8}.ev-half-controls{display:flex;flex-direction:column;gap:3px;padding:4px 2px 2px 30px}.ev-half-color,.ev-half-opacity{display:flex;align-items:center;gap:5px}.ev-half-color>span,.ev-half-opacity>span{width:34px;opacity:.8}.ev-half-color input[type=color]{width:26px;height:16px;padding:0;border:1px solid var(--theme-panel-border);background:none;cursor:pointer}.ev-half-clear{width:16px;height:16px;line-height:14px;text-align:center;border:1px solid var(--theme-panel-border);background:var(--theme-panel-toggle-bg, #f0f0f0);cursor:pointer;font-size:11px}.ev-half-opacity input[type=range]{flex:1;min-width:0}.ev-half-opacity-val{width:30px;text-align:right;opacity:.8}.annotation-layers-panel{width:250px;flex-shrink:0;background:var(--theme-panel-bg);border-right:1px solid var(--theme-panel-border);display:flex;flex-direction:column;overflow:hidden;cursor:default;-webkit-user-select:none;user-select:none;font-size:11px}.al-panel-header{display:flex;align-items:center;justify-content:space-between;padding:5px 6px;font-weight:600;color:var(--theme-panel-header-text);background:linear-gradient(to bottom,#fff,#f5f5f5);border-bottom:1px solid #d4d4d4}.al-panel-close{width:18px;height:18px;line-height:16px;text-align:center;border:none;background:transparent;color:var(--theme-panel-header-text);cursor:default;font-size:14px}.al-panel-close:hover{background:#e81123;color:#fff}.al-toolbar{display:flex;align-items:center;gap:2px;padding:3px 4px;border-bottom:1px solid var(--theme-panel-border)}.al-tool{width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;background:transparent;color:var(--theme-panel-header-text);cursor:default}.al-tool:hover:not(:disabled){border-color:var(--theme-panel-border);background:var(--theme-panel-toggle-hover, #e5e5e5)}.al-tool:disabled{opacity:.4}.al-tool-sep{width:1px;height:16px;margin:0 3px;background:var(--theme-panel-border)}.al-column-head,.al-row{display:grid;grid-template-columns:22px 1fr 34px 24px 24px 24px;align-items:center;gap:2px}.al-column-head{padding:3px 4px;font-size:9.5px;text-transform:uppercase;letter-spacing:.3px;color:var(--theme-panel-tab-text);opacity:.75;border-bottom:1px solid var(--theme-panel-border)}.al-col-cur,.al-col-count,.al-col-flag{text-align:center}.al-panel-body{flex:1;overflow-y:auto;padding:2px 0}.al-row{padding:2px 4px;border-bottom:1px solid var(--theme-panel-border);color:var(--theme-panel-header-text)}.al-row-selected{background:var(--theme-panel-toggle-hover, #e5e5e5)}.al-row-current .al-name{font-weight:600}.al-row-hidden .al-name{opacity:.5}.al-cell-center{display:flex;align-items:center;justify-content:center;margin:0}.al-name-cell{display:flex;align-items:center;gap:4px;min-width:0}.al-swatch{width:14px;height:14px;flex-shrink:0;padding:0;border:1px solid var(--theme-panel-border);background:none;cursor:default}.al-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.al-name-input{flex:1;min-width:0;height:18px;padding:0 3px;font-size:11px;border:1px solid var(--theme-panel-border);background:var(--theme-bg, #fff);color:inherit}.al-count{text-align:center;opacity:.8}.al-error{padding:4px 6px;color:#c42b1c}.al-delete-body{display:flex;flex-direction:column;gap:6px;min-width:320px}.al-delete-choice{display:flex;align-items:center;gap:6px}.al-delete-target{margin-left:22px}.flatten-all-body{display:flex;flex-direction:column;gap:6px;width:400px;max-width:100%}.flatten-all-body p{margin:0}.flatten-all-choice{display:flex;align-items:center;gap:6px}.flatten-all-hint{margin-left:22px;opacity:.8}.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);cursor:col-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:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-content:start;gap:4px;scrollbar-gutter:stable;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{width:100%;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-label.named{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thumbnail-label-input{margin-top:4px;width:100%;box-sizing:border-box;padding:1px 4px;font-size:11px;font-family:inherit;border:1px solid var(--theme-accent, #0078d7);border-radius:0;background:var(--theme-surface, #fff);color:var(--theme-text, #333);outline:none}.thumbnails-header-btn{width:20px;height:18px;margin:-2px 2px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:0;color:var(--theme-panel-header-text);cursor:default}.thumbnails-header-btn:hover:not(:disabled){background:var(--theme-panel-tab-hover);border-color:var(--theme-panel-border)}.thumbnails-header-btn:disabled{opacity:.35}.thumbnails-header-btn svg{width:14px;height:14px}.thumbnail-item.dragging{opacity:.4}.thumbnail-item.drop-before:not(.drop-side){border-top:3px solid #0078d7}.thumbnail-item.drop-after:not(.drop-side){border-bottom:3px solid #0078d7}.thumbnail-item.drop-side.drop-before{border-left:3px solid #0078d7}.thumbnail-item.drop-side.drop-after{border-right: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}.main-view>#placeholder{padding:20px}.main-view>#pdf-container.visible{align-items:flex-start;justify-content:flex-start;position:relative;overflow-anchor:none}.canvas-scrollbar{position:absolute;background:#f0f0f0;border:1px solid #d4d4d4;z-index:30;-webkit-user-select:none;user-select:none;touch-action:none}.canvas-scrollbar-h{left:0;bottom:0;right:0;height:14px}.canvas-scrollbar-v{top:0;right:0;bottom:0;width:14px}.canvas-scrollbar-thumb{position:absolute;background:silver;border:1px solid #a0a0a0;cursor:default}.canvas-scrollbar-h .canvas-scrollbar-thumb{top:0;bottom:0;left:0;height:100%}.canvas-scrollbar-v .canvas-scrollbar-thumb{left:0;right:0;top:0;width:100%}.canvas-scrollbar-thumb:hover{background:#a0a0a0;border-color:#707070}.canvas-scrollbar-thumb:active{background:#707070;border-color:#505050}#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}#placeholder p.placeholder-note{font-size:13px;opacity:.65;margin-top:10px;max-width:420px}#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;isolation:isolate}#canvas-container.hidden{display:none}.continuous-container{display:none;flex-direction:column;gap:20px;align-items:center;padding-top:20px;width:max-content;min-width:100%}.continuous-container.active{display:flex!important}#canvas-wrapper.continuous-mode{width:max-content;min-width:100%;flex-shrink:0}.continuous-container.book-spread{grid-template-columns:repeat(2,max-content);grid-auto-flow:row;justify-content:center;align-items:start}.continuous-container.book-spread .page-wrapper:first-child{grid-column:2}.continuous-container.book-spread .page-wrapper:nth-child(odd){justify-self:start}.continuous-container.book-spread .page-wrapper:nth-child(2n){justify-self:end}.continuous-container.facing-spread{grid-template-columns:repeat(2,max-content);grid-auto-flow:row;justify-content:center;align-items:start}.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;transform:translateZ(0);will-change:transform}#annotation-canvas{position:absolute;top:0;left:0;z-index:3;transform:translateZ(0);will-change:transform}body[data-aanraak=tekenen] #annotation-canvas,body[data-aanraak=tekenen] .canvas-container-cont{touch-action:none}#text-highlight-canvas{position:absolute;top:0;left:0;pointer-events:none;mix-blend-mode:multiply}body.pdf-cursor-override .main-view *,body.pdf-cursor-override #canvas-container *{cursor:inherit!important}.continuous-container canvas{display:block;box-shadow:0 4px 12px #0000004d;background:#fff}.continuous-container .annotation-canvas{position:absolute;top:0;left:0;background:transparent}.edit-text-block-hover{background:#0078d726;outline:1px solid rgba(0,120,215,.3)}.pdf-text-editor{box-sizing:border-box;border:0;outline:1px solid #0078d7;background:transparent;padding:0;margin:0;resize:none;overflow:hidden;color:#000;white-space:pre;word-break:normal;box-shadow:0 0 0 1px #0078d74d}.text-edit-delete-btn{width:100%;padding:4px 8px;border:1px solid #d4d4d4;background:#f5f5f5;color:#b00020;cursor:pointer;font-size:12px}.text-edit-delete-btn:hover{background:#e81123;border-color:#e81123;color:#fff}.textLayer{position:absolute;text-align:initial;inset:0;overflow:clip;opacity:1;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:auto;mix-blend-mode:multiply;--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));--scale-round-x: 1px;--scale-round-y: 1px}.textLayer[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}.textLayer[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}.textLayer[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%;pointer-events:auto}.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:#b8d8ff;color:transparent}.textLayer br::selection{background:transparent!important}.textLayer span[data-ws]::-moz-selection{background:transparent!important}.textLayer span[data-ws]::selection{background:transparent!important}.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}.proofread-input{position:fixed;z-index:10050;box-sizing:border-box;min-width:80px;max-width:480px;height:22px;padding:1px 4px;margin:0;border:1px solid #0066FF;border-radius:0;background:#fff;color:#000;font-size:13px;font-family:var(--ui-font);outline:none;box-shadow:none}.proofread-input.replace{border-color:#90c}.formLayer{--annotation-field-opaque-bg: #e5eafc;--annotation-field-focus-bg: #ffffff;--annotation-field-disabled-bg: #f3f3f3;position:absolute;inset:0;z-index:7;overflow:clip;pointer-events:none;transform-origin:0 0;--scale-round-x: 1px;--scale-round-y: 1px}.formLayer[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}.formLayer[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}.formLayer[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.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-color:var(--annotation-field-opaque-bg);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:var(--annotation-field-disabled-bg);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:var(--annotation-field-focus-bg);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:var(--ui-font);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:var(--ui-font)}.form-validation-ok-btn:hover{background:#e5e5e5}.form-validation-ok-btn:focus{outline:1px dotted #333;outline-offset:-3px}.handtekening-bar{display:flex;align-items:flex-start;gap:10px;padding:3px 32px 3px 12px;position:relative;background:var(--theme-surface, #f3f3f3);border-bottom:1px solid var(--theme-border, #d4d4d4);border-left:3px solid #9e9e9e;font-size:12px;color:var(--theme-text, #1a1a1a);flex-shrink:0;-webkit-user-select:none;user-select:none}.handtekening-bar-goed{border-left-color:#22c55e}.handtekening-bar-waarschuwing{border-left-color:#e6a700}.handtekening-bar-fout{border-left-color:#ef4444}.handtekening-bar>svg{flex-shrink:0;margin-top:3px}.handtekening-bar-regels{flex:1;min-width:0;max-height:120px;overflow-y:auto}.handtekening-bar-regel{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;min-height:22px}.handtekening-bar-stip{width:8px;height:8px;flex-shrink:0;background:#9e9e9e}.handtekening-bar-stip.goed{background:#22c55e}.handtekening-bar-stip.waarschuwing{background:#e6a700}.handtekening-bar-stip.fout{background:#ef4444}.handtekening-bar-tekst{flex:1 1 0;min-width:min(100%,16em);display:flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:22px}.handtekening-bar-status{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.handtekening-bar-naam{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:pre}.handtekening-bar-acties{display:flex;gap:8px;flex-shrink:0;margin-inline-start:auto}.handtekening-bar .handtekening-bar-actie{background:var(--theme-bg, #ffffff);border:1px solid var(--theme-border, #d4d4d4);font-size:11px;color:var(--theme-text, #1a1a1a);padding:2px 10px;line-height:1.4;flex-shrink:0}.handtekening-bar .handtekening-bar-actie:hover{background:var(--theme-hover, #e5e5e5)}.handtekening-bar .handtekening-bar-close{position:absolute;right:8px;top:4px;background:none;border:none;font-size:16px;color:var(--theme-text-secondary, #666666);padding:0 4px;line-height:1}.handtekening-bar .handtekening-bar-close:hover{color:#e81123}.doc-props-dialog.handtekening-detail-dialog{width:560px}.handtekening-detail-dialog .doc-props-label{width:140px}.handtekening-detail-dialog .doc-props-value{word-break:normal;overflow-wrap:anywhere;min-width:0}.handtekening-detail-signaal{margin:2px 0;margin-inline-start:150px;font-size:12px;color:var(--theme-text, #1a1a1a);overflow-wrap:anywhere}.handtekening-detail-technisch{margin:6px 0 0;font-size:11px;color:var(--theme-text-secondary, #666666)}.handtekening-detail-technisch summary{-webkit-user-select:none;user-select:none}.handtekening-detail-technisch-regel{margin:2px 0 0;margin-inline-start:12px;font-family:var(--ui-font-mono);-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}.handtekening-detail-waarschuwing{margin:4px 0;padding:4px 8px;background:#fff8e1;border-left:3px solid #e6a700;color:#1a1a1a;font-size:12px}.handtekening-detail-intrekking{margin:4px 0 0;font-size:11px;color:var(--theme-text-secondary, #666666)}.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[data-getal],.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 input.papier-maat-invoer{min-width:0}.property-group select.papier-eenheid-keuze{flex:0 0 48px;width:48px;padding-right:16px;background-position:right 3px center}.property-group .papier-eenheid-label{flex:0 0 48px;width:48px;box-sizing:border-box;padding-left:5px;font-size:11px;color:var(--theme-text-secondary);-webkit-user-select:none;user-select:none}.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:var(--ui-font-mono)}.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:var(--ui-font-mono);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:var(--select-chevron, 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}.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}.style-preset-row{display:flex;gap:4px;min-width:0}.style-preset-row select{flex:1;min-width:0}.style-preset-manage-btn{flex:0 0 auto;width:24px;padding:2px 0;border-radius:0}.style-preset-actions{display:flex;gap:4px;padding:2px 8px}.style-preset-btn{flex:1;border-radius:0}.style-preset-dialog{width:340px}.style-preset-name-row{display:flex;align-items:center;gap:8px;padding:4px 0}.style-preset-name-row label{flex:0 0 auto;font-size:12px}.style-preset-name-row input{flex:1;min-width:0;height:22px;padding:2px 4px;border:1px solid var(--theme-border);border-radius:0;background:var(--theme-surface);color:var(--theme-text);font-size:12px}.style-preset-list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow-y:auto}.style-preset-list-row{display:flex;align-items:center;gap:6px}.style-preset-list-row input{flex:1;min-width:0;height:22px;padding:2px 4px;border:1px solid var(--theme-border);border-radius:0;background:var(--theme-surface);color:var(--theme-text);font-size:12px}.style-preset-empty{font-size:12px;color:var(--theme-text-secondary);padding:6px 0}.scoped-instance-panel-body{min-width:0}.scoped-instance-panel-actions{display:flex;justify-content:flex-end;gap:4px;padding:4px 0 2px}.scoped-instance-panel-actions button{min-width:64px;height:22px;padding:0 8px;border:1px solid var(--theme-border);border-radius:0;background:var(--theme-surface);color:var(--theme-text);font-family:inherit;font-size:11px;cursor:default}.scoped-instance-panel-actions button:hover:not(:disabled){background:var(--theme-hover);border-color:var(--theme-text-secondary)}.scoped-instance-panel-actions button:disabled{opacity:.5}.scoped-instance-panel-message{padding:2px 0;font-size:11px;color:var(--theme-text-secondary)}.scoped-instance-panel-message.failed{color:#dc2626}.spatial-location{color:var(--theme-text);font-size:11px;padding:4px 8px}.spatial-location p{margin:4px 0 8px;overflow-wrap:anywhere}.spatial-location .property-group{flex-direction:column;align-items:stretch;padding:0;gap:4px}.spatial-location .property-group label{width:auto;text-align:left}.spatial-location button{font:inherit;color:var(--theme-text);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:0;padding:4px;white-space:normal;max-width:100%}.spatial-location button:disabled{opacity:.5}.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:var(--theme-surface, #ffffff);border:1px solid var(--theme-border, #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:var(--theme-text-secondary, #888);text-transform:uppercase;letter-spacing:.5px}.annotations-menu-item{display:flex;align-items:center;padding:4px 12px 4px 8px;cursor:pointer;color:var(--theme-text, #333);gap:4px;position:relative}.annotations-menu-item:hover{background:var(--theme-hover, rgba(127, 127, 127, .2))}.annotations-menu-item.disabled{color:#aaa;cursor:default}.annotations-menu-item.disabled:hover{background:none}.annotations-menu-check{width:16px;text-align:center;color:var(--theme-text, #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:var(--theme-surface, #ffffff);border:1px solid var(--theme-border, #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-search{flex:1;min-width:50px;max-width:180px;height:19px;margin:-3px 0 -3px 8px;padding:0 4px;font-size:11px;font-weight:400;border:1px solid var(--theme-panel-border);border-radius:0;background:var(--theme-bg, #fff);color:var(--theme-panel-header-text);box-sizing:border-box}.bookmarks-search:focus{outline:none;border-color:var(--theme-panel-accent)}.bookmarks-search.no-match{border-color:#e81123}.bookmarks-search:disabled{opacity:.5}.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-item.current{background:var(--theme-thumbnail-hover)}.bookmark-item.found{box-shadow:inset 3px 0 0 var(--theme-thumbnail-active-border)}.bookmarks-container:focus{outline:none}.bookmark-item{position:relative}.bookmark-item.dragging{opacity:.4}.bookmark-item.drop-before:before,.bookmark-item.drop-after:after{content:"";position:absolute;left:var(--bm-indent, 0);right:0;height:2px;background:#0078d7;pointer-events:none}.bookmark-item.drop-before:before{top:-1px}.bookmark-item.drop-after:after{bottom:-1px}.bookmark-item.drop-inside{background:var(--theme-thumbnail-active-bg);box-shadow:inset 0 0 0 1px #0078d7}.bookmarks-container.drop-end{box-shadow:inset 0 -2px #0078d7}.bookmark-drag-image{position:fixed;left:-1000px;top:0;padding:2px 8px;font-size:12px;background:#fff;color:#333;border:1px solid #0078d7}.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[data-getal]{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[data-getal]: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}.bookmark-dialog-colors{display:flex;align-items:center;gap:4px;margin-bottom:12px}.bookmark-swatch{width:20px;height:20px;padding:0;border:1px solid #a0a0a0;cursor:default}.bookmark-swatch.selected,.bookmark-swatch-custom.selected{outline:2px solid #0078d4;outline-offset:1px}.bookmark-swatch-default{background:linear-gradient(to top right,#fff calc(50% - 1px),#e81123 50%,#fff calc(50% + 1px))}.bookmark-swatch-custom{width:28px;height:22px;padding:0 1px;border:1px solid #a0a0a0;background:#fff;margin-left:6px}.bookmark-dialog-style{display:flex;gap:16px;margin-bottom:4px}.bookmark-dialog-body label.bookmark-dialog-check{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:400;margin-bottom:0}.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;margin:0;cursor:default;accent-color:var(--theme-panel-accent, #2563eb);flex-shrink:0}.layer-list-toggle{display:flex;flex-shrink:0}.layer-list-kop{background:transparent;border-color:transparent}.layer-list-kop:hover{background:transparent}.layer-list-kop .layer-list-name{font-weight:600}.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}.measurements-section{border-bottom:1px solid var(--theme-panel-border)}.measurements-section-header{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--theme-text-secondary, #888);background:var(--theme-panel-tab-bg, #f5f5f5)}.measurements-count{font-weight:400;font-size:10px;color:var(--theme-text-secondary, #999)}.measurements-scale-display{padding:6px 10px}.measurements-scale-value{font-size:13px;font-weight:600;color:var(--theme-text, #333)}.measurements-empty{padding:8px 10px;font-size:11px;color:var(--theme-text-secondary, #999);font-style:italic}.measurements-group{border-top:1px solid var(--theme-panel-border)}.measurements-group:first-child{border-top:none}.measurements-group-header{display:flex;justify-content:space-between;align-items:center;padding:4px 10px;font-size:10px;font-weight:600;color:var(--theme-text-secondary, #666);background:var(--theme-panel-tab-bg, #fafafa)}.measurements-group-total{font-weight:400;font-size:10px;color:var(--theme-text-secondary, #999);font-variant-numeric:tabular-nums}.measurements-item{display:flex;align-items:center;gap:8px;padding:4px 10px;cursor:default;font-size:11px}.measurements-item:hover{background:var(--theme-panel-tab-hover, #e8e8e8)}.measurements-item.selected{background:var(--theme-active, #0078d4);color:#fff}.measurements-item.selected .measurements-item-detail{color:#ffffffb3}.measurements-item-icon{font-size:14px;width:18px;text-align:center;flex-shrink:0;color:var(--theme-text-secondary, #888)}.measurements-item-info{flex:1;min-width:0}.measurements-item-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.measurements-item-detail{font-size:9px;color:var(--theme-text-secondary, #999);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.measurements-item-delete{background:none;border:none;color:var(--theme-text-secondary, #999);font-size:14px;cursor:default;padding:0 2px;display:none}.measurements-item:hover .measurements-item-delete{display:block}.measurements-item-delete:hover{color:#e81123}.schedules-add{display:flex;gap:4px;padding:6px 10px;border-bottom:1px solid var(--theme-panel-border)}.schedules-tpl-select{flex:1;min-width:0;font-size:11px;padding:2px 4px;border:1px solid var(--theme-input-border, #ccc);border-radius:0;background:var(--theme-input-bg, #fff);color:var(--theme-text, #000)}.schedules-add-btn{flex-shrink:0;width:22px;border:1px solid var(--theme-input-border, #ccc);border-radius:0;background:var(--theme-panel-tab-bg, #fafafa);color:var(--theme-text, #000);font-size:14px;line-height:1;cursor:default}.schedules-add-btn:hover{background:var(--theme-panel-tab-hover, #e8e8e8)}.schedules-hint{padding:4px 10px;font-size:10px;font-style:italic;color:var(--theme-text-secondary, #999)}.schedules-item{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 6px;font-size:11px;cursor:grab;border-top:1px solid var(--theme-panel-border)}.schedules-item:hover{background:var(--theme-panel-tab-hover, #e8e8e8)}.schedules-grip{flex-shrink:0;display:inline-flex;color:var(--theme-text-secondary, #aaa)}.schedules-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedules-rename-input{flex:1;min-width:0;font-size:11px;padding:1px 3px;border:1px solid var(--theme-active, #0078d4);border-radius:0;background:var(--theme-input-bg, #fff);color:var(--theme-text, #000)}.schedules-item-btn{flex-shrink:0;width:18px;height:18px;border:none;background:transparent;color:var(--theme-text-secondary, #888);font-size:12px;line-height:1;cursor:default;opacity:0}.schedules-item:hover .schedules-item-btn{opacity:1}.schedules-item-btn:hover{color:var(--theme-text, #000)}.schedules-item-del:hover{color:#e81123}.schedules-entry{border-top:1px solid var(--theme-panel-border)}.schedules-entry .schedules-item{border-top:none}.schedules-expand{opacity:1!important;width:14px;font-size:10px}.schedules-preview{padding:4px 6px 8px;overflow-x:auto;background:var(--theme-panel-bg, #fff)}.schedules-preview-table{border-collapse:collapse;width:100%;font-size:10px;color:var(--theme-text, #000)}.schedules-preview-table th,.schedules-preview-table td{border:1px solid var(--theme-panel-border, #ddd);padding:1px 4px;text-align:left;white-space:nowrap;vertical-align:middle}.schedules-preview-table th{background:var(--theme-panel-tab-bg, #f0f0f0);font-weight:600}.schedules-preview-table .sp-num{text-align:right}.schedules-preview-table .sp-group td{background:#eef2f7;font-weight:600}.schedules-preview-table .sp-count{color:var(--theme-text-secondary, #888);font-weight:400}.schedules-preview-table .sp-total td{background:var(--theme-panel-tab-bg, #f4f4f4);font-weight:600}.schedules-preview-table .sp-grand td{background:var(--theme-panel-tab-hover, #e6e6e6)}.sp-thumb{display:block;max-width:40px;max-height:34px;width:auto;height:auto;object-fit:contain;image-rendering:auto}.schedules-preview-foot{margin-top:3px;font-size:10px;color:var(--theme-text-secondary, #888)}.schedule-wizard{width:560px;max-width:92vw}.sched-wizard-steps{flex-wrap:wrap}.sched-wizard-footer{display:flex;gap:6px;justify-content:flex-end}.sched-wizard-done{font-weight:600}.threed-view{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column;background:var(--theme-panel-bg, #2b2b30);color:var(--theme-panel-header-text, #ddd);outline:none;cursor:default}.threed-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:5px 10px;font-size:12px;border-bottom:1px solid var(--theme-panel-border, #444)}.threed-toolbar label{display:inline-flex;align-items:center;gap:5px}.threed-toolbar select,.threed-toolbar button{font-size:12px;padding:2px 8px;cursor:default;background:var(--theme-thumbnail-bg, #3a3a40);color:inherit;border:1px solid var(--theme-panel-border, #555);border-radius:0}.threed-toolbar button.active{border-color:var(--theme-thumbnail-active-border, #d97706)}.threed-toolbar button:disabled,.threed-toolbar select:disabled{opacity:.5;cursor:default}.threed-title{font-weight:600}.threed-stats,.threed-hint{opacity:.65}.threed-notice{color:#b45309;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}.threed-view.compact .threed-notice{color:#fbbf24}.threed-close{font-size:16px!important;line-height:1;padding:0 8px!important}.threed-body{flex:1;display:flex;min-height:0}.threed-tree{width:260px;overflow:auto;font-size:12px;padding:4px 0;border-right:1px solid var(--theme-panel-border, #444)}.threed-tree-row{display:flex;align-items:center;gap:4px;padding:1px 6px;white-space:nowrap}.threed-tree-row:hover{background:var(--theme-thumbnail-hover)}.threed-tree-model{padding-left:34px}.threed-tree-arrow{width:14px;font-size:8px;cursor:default;text-align:center;flex-shrink:0}.threed-tree-name{overflow:hidden;text-overflow:ellipsis;flex:1}.threed-tree-count{opacity:.55;font-size:11px}.threed-canvas{flex:1;position:relative;min-width:0;background:#fff;cursor:default}.threed-canvas canvas{display:block}.threed-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#444;font-size:13px;text-align:center;padding:20px}.threed-error{color:#b91c1c}.threed-inline-clip{position:fixed;overflow:hidden;pointer-events:none;z-index:40}.threed-inline{position:absolute;pointer-events:auto}.threed-view.compact{z-index:auto;background:transparent}.threed-view.compact .threed-toolbar{padding:3px 6px;gap:6px;font-size:11px;background:#28282ed9;color:#eee}.threed-view.compact .threed-toolbar select,.threed-view.compact .threed-toolbar button{font-size:11px;padding:1px 6px}.threed-view.compact .threed-tree{width:220px;background:#28282eeb;color:#eee}.threed-activate{position:absolute;top:8px;left:8px;padding:4px 12px;font-size:12px;cursor:default;background:#d97706;color:#fff;border:1px solid #b45309;border-radius:0}.threed-dock{position:absolute;top:0;left:0;right:0;z-index:2;pointer-events:auto;display:flex;flex-direction:column;cursor:default}.threed-dock-toolbar .threed-toolbar{background:var(--theme-panel-bg, #2b2b30);color:var(--theme-panel-header-text, #ddd);border-bottom:1px solid var(--theme-panel-border, #444)}.threed-dock.off .threed-dock-toolbar{display:none}.threed-dock-header{display:flex;justify-content:space-between;gap:20px;padding:3px 12px;font-size:11px;background:#ffffffeb;color:#222;border-bottom:1px solid rgba(0,0,0,.15)}.threed-dock-left,.threed-dock-right{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.threed-dock-left{font-weight:600}.threed-tree-dock{position:absolute;left:0;bottom:0;z-index:2;pointer-events:auto;display:flex;cursor:default}.threed-tree-dock:empty{display:none}.threed-tree-dock .threed-tree{width:260px;height:100%;background:var(--theme-panel-bg, #2b2b30);color:var(--theme-panel-header-text, #ddd);border-right:1px solid var(--theme-panel-border, #444)}.threed-snapshot-bar{background:#1e3a5f;color:#e0ecff}.threed-toolbar button.threed-markup-btn{border-color:#e11d48}.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[data-getal],.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:var(--theme-text-secondary, #666);flex-shrink:0}.doc-props-value{color:var(--theme-text, #333);word-break:break-all;flex:1}.doc-props-section{margin-bottom:15px}.doc-props-section h3{font-size:12px;font-weight:600;color:var(--theme-text, #333);margin:0 0 10px;padding-bottom:5px;border-bottom:1px solid var(--theme-border, #e5e5e5)}.doc-props-footer{justify-content:flex-end}.doc-props-footer button{padding:5px 20px;font-size:12px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #ffffff);color:var(--theme-text, #333);cursor:pointer}.doc-props-footer button:hover{background:var(--theme-hover, #e5e5e5)}.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 .pref-status-text{flex:1;min-width:0;font-size:11px;color:var(--theme-text, #333);padding-right:8px}.pref-inline-buttons{display:flex;gap:6px;flex-shrink:0}.pref-inline-buttons .pref-btn{min-width:0;padding:3px 10px}.pref-inline-buttons .pref-btn:disabled,.screen-cal-row .pref-btn:disabled{opacity:.5;cursor:default}.screen-calibration-dialog{min-width:460px;max-width:92vw}.screen-cal-body{font-size:11px;color:var(--theme-text, #333)}.screen-cal-text{margin:0 0 10px;line-height:1.4;max-width:520px}.screen-cal-note{margin:10px 0 0;opacity:.75}.screen-cal-row{display:flex;align-items:center;gap:6px;margin-bottom:8px}.screen-cal-row>label{min-width:70px}.screen-cal-ruler-wrap{overflow-x:auto;padding:6px 0 10px;margin-bottom:8px}.screen-cal-ruler{position:relative;height:28px;box-sizing:border-box;background:var(--theme-surface, #fff);border:1px solid var(--theme-text, #000)}.screen-cal-tick{position:absolute;top:0;width:1px;height:8px;margin-left:-1px;background:var(--theme-text, #000)}.screen-cal-tick.long{height:14px}.screen-cal-slider{flex:1;min-width:120px}.screen-cal-number{width:64px;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 .pref-hint{font-size:11px;opacity:.7;color:var(--theme-text, #333)}.pref-row input[type=text],.pref-row input[data-getal]{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[data-getal]: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;white-space:pre-line}.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:var(--theme-surface, white);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:var(--theme-text, #374151);font-weight:500}.loading-progress{width:280px;height:14px;border:1px solid #bcbcbc;background:#e6e6e6}.loading-progress-fill{height:100%;background:#06b025}.loading-cancel{min-width:80px;padding:3px 12px;border:1px solid #adadad;border-radius:0;background:#e1e1e1;color:#000;font-size:12px}.loading-cancel:hover:not(:disabled){border-color:#0078d7;background:#e5f1fb}.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:var(--theme-bg, #f5f5f5);border:1px solid var(--theme-border, #d4d4d4)}.text-annot-toolbar-group{display:flex;align-items:center;gap:2px}.text-annot-toolbar-separator{width:1px;height:22px;background:var(--theme-border, #ccc);margin:0 4px}.text-annot-toolbar select{height:26px;border:1px solid var(--theme-border, #ccc);background:var(--theme-surface, #fff);color:var(--theme-text, inherit);font-size:11px;padding:0 4px;border-radius:0;outline:none}.text-annot-toolbar select:focus{border-color:var(--theme-accent, #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:var(--theme-text, #333);border-radius:0;padding:0}.text-annot-toolbar-btn:hover{background:var(--theme-hover, #e0e0e0);border-color:var(--theme-border, #c0c0c0)}.text-annot-toolbar-btn.active{background:var(--theme-active, #cce4f7);border-color:var(--theme-accent, #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 var(--theme-border, #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 var(--theme-border, #ccc);background:var(--theme-surface, #fff);color:var(--theme-text, inherit);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:var(--theme-accent, #0078d7)}.text-annot-preview-label{font-size:10px;color:var(--theme-text-secondary, #888);text-transform:uppercase;letter-spacing:.5px}.text-annot-preview{min-height:48px;max-height:100px;overflow:auto;border:1px solid var(--theme-border, #e0e0e0);background:var(--theme-bg, #fafafa);color:var(--theme-text, inherit);padding:8px;word-wrap:break-word;white-space:pre-wrap}.text-annot-footer{padding:8px 10px}.text-annot-char-count{font-size:10px;color:var(--theme-text-secondary, #888)}.text-annot-footer-right{display:flex;gap:6px}.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:var(--theme-text, #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:var(--theme-text-secondary, #666);width:100px;flex-shrink:0}.update-version-value{color:var(--theme-text, #333)}.update-version-new{font-weight:600;color:var(--theme-accent, #0078d7)}.update-notes-section{margin-top:8px}.update-notes-label{font-size:11px;color:var(--theme-text-secondary, #666);display:block;margin-bottom:4px}.update-notes{font-size:11px;color:var(--theme-text, #333);line-height:1.5;max-height:120px;overflow-y:auto;border:1px solid var(--theme-border, #e0e0e0);background:var(--theme-bg, #fafafa);padding:6px 8px}.update-progress-section{padding:0 15px 12px}.update-progress-bar-track{width:100%;height:18px;background:var(--theme-hover, #e5e5e5);border:1px solid var(--theme-border, #d4d4d4)}.update-progress-bar-fill{height:100%;width:0%;background:#0078d7;transition:width .2s}.update-progress-text{font-size:10px;color:var(--theme-text-secondary, #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:var(--theme-surface, #e1e1e1);color:var(--theme-text, #333);border-color:var(--theme-accent, #0078d7);box-shadow:inset 0 0 0 1px var(--theme-accent, #0078d7)}.update-btn-primary:hover{background:var(--theme-hover, #d4e9fc);border-color:var(--theme-accent, #0078d7)}.update-btn-primary:disabled{opacity:.6;cursor:default}.update-btn-secondary{background:var(--theme-surface, #e1e1e1);color:var(--theme-text, #333)}.update-btn-secondary:hover{background:var(--theme-hover, #d4d4d4);border-color:var(--theme-border, #808080)}.new-doc-dialog{width:560px}.new-doc-content{display:flex;gap:20px;align-items:flex-start}.new-doc-form{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:10px}.new-doc-row{display:flex;align-items:center;gap:8px}.new-doc-label{font-size:11px;color:var(--theme-text, #333);width:80px;flex-shrink:0}.new-doc-label-inline{width:auto;margin-left:4px}.new-doc-select{flex:1;padding:3px 24px 3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background-color:var(--theme-surface, white);color:var(--theme-text, inherit);cursor:pointer;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--theme-text, #fafaf9) 50%),linear-gradient(135deg,var(--theme-text, #fafaf9) 50%,transparent 50%);background-position:calc(100% - 14px) center,calc(100% - 9px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.new-doc-select option,.new-doc-select optgroup{background-color:var(--theme-surface, white);color:var(--theme-text, inherit)}.new-doc-select:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.new-doc-input{width:60px;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, inherit)}.new-doc-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.new-doc-custom-row{flex-wrap:wrap}.new-doc-radio-group{display:flex;gap:12px}.new-doc-radio-label{font-size:11px;color:var(--theme-text, #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{flex:0 0 200px;width:200px;display:flex;flex-direction:column;align-items:center;gap:8px}.new-doc-preview-box{position:relative;width:200px;height:250px;box-sizing:border-box;background:var(--theme-bg, #f0f0f0);border:1px solid var(--theme-border, #d4d4d4);display:flex;align-items:center;justify-content:center;overflow:hidden}.new-doc-preview-page{background:#fff;border:1px solid var(--theme-border, #999);box-shadow:1px 1px 3px #00000026;box-sizing:border-box}.new-doc-preview-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid var(--theme-border, #999);box-shadow:1px 1px 3px #00000026;box-sizing:border-box}.new-doc-preview-text{font-size:11px;color:var(--theme-text-secondary, #666);text-align:center;width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}.new-doc-footer-right{display:flex;gap:6px}.sig-overlay{z-index:10001}.sig-dialog{width:460px}.sig-content{padding:15px;background:var(--theme-surface, inherit)}.sig-tabs{display:flex;gap:0;margin-bottom:8px;border-bottom:1px solid var(--theme-border, #ddd)}.sig-tab{padding:6px 16px;border:none;background:none;cursor:pointer;font-size:12px;color:var(--theme-text-secondary, #666);border-bottom:2px solid transparent}.sig-tab.active{font-weight:700;color:var(--theme-accent, #0078d4);border-bottom-color:var(--theme-accent, #0078d4)}#sig-canvas{border:1px solid var(--theme-border, #ccc);cursor:crosshair;background:var(--theme-surface, #fff);display:block;width:430px;height:150px}.sig-saved-panel{min-height:150px}.sig-saved-empty{padding:20px;text-align:center;color:var(--theme-text-secondary, #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 var(--theme-border, #ddd);cursor:pointer;padding:4px}.sig-saved-item:hover{border-color:var(--theme-accent, #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:var(--theme-text, #333)}.sig-color-input{width:30px;height:24px;border:1px solid var(--theme-border, #ccc);padding:0;cursor:pointer}.sig-footer-right{display:flex;gap:6px}.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;font:inherit;color:var(--theme-app-menu-icon);text-align:left;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.geen-webvariant,.bs-export-card.geen-webvariant:hover{opacity:.45;cursor:default;background:none;border-color:var(--theme-border, #d4d4d4)}.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:var(--theme-text, #333);width:80px;flex-shrink:0}.insert-page-select{flex:1;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background-color:var(--theme-surface, white);color:var(--theme-text, inherit);cursor:pointer}.insert-page-select:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.insert-page-input{width:60px;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, inherit)}.insert-page-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.insert-page-footer-right{display:flex;gap:6px}.protect-pdf-dialog{width:440px}.protect-pdf-dialog .pref-fieldset{margin:0;padding:6px 10px 8px;display:flex;flex-direction:column;gap:6px}.protect-pdf-dialog .protect-pdf-label{width:110px}.protect-pdf-hint{font-size:11px;line-height:1.35;color:var(--theme-text-secondary, #666)}.protect-pdf-rechten{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.protect-pdf-fout{font-size:11px;color:#e81123}.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:var(--theme-text, #333);width:80px;flex-shrink:0}.crop-margins-select{flex:1;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background-color:var(--theme-surface, white);color:var(--theme-text, inherit);cursor:pointer}.crop-margins-select:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.crop-margins-input{width:60px;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, inherit)}.crop-margins-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.crop-margins-input-wide{flex:1;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, inherit)}.crop-margins-input-wide:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.crop-margins-slider{flex:1;height:4px;cursor:pointer}.crop-margins-threshold-value{font-size:11px;color:var(--theme-text-secondary, #666);width:28px;text-align:right}.crop-margins-info{font-size:10px;color:var(--theme-text-secondary, #888);line-height:1.5;padding-top:4px}.crop-margins-footer-right{display:flex;gap:6px}.screenshot-dialog{width:420px}.screenshot-preview{display:flex;align-items:center;justify-content:center;height:210px;border:1px solid var(--theme-border, #acacac);background:var(--theme-surface-alt, #e8e8e8);overflow:hidden}.screenshot-preview canvas{box-shadow:0 0 0 1px #00000026;background:#fff}.screenshot-unit{font-size:11px;color:var(--theme-text, #333);white-space:nowrap}.screenshot-warning{color:var(--theme-error, #c42b1c)}.screenshot-status{font-size:11px;color:var(--theme-text-secondary, #666)}.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:var(--theme-text, #333);width:80px;flex-shrink:0}.extract-pages-input-wide{flex:1;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, inherit);-webkit-user-select:text;user-select:text}.extract-pages-input-wide:focus{outline:none;border-color:#0078d7}.extract-pages-info{font-size:10px;color:var(--theme-text-secondary, #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:var(--theme-text, #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}.split-doc-dialog{width:460px}.split-doc-form{display:flex;flex-direction:column;gap:8px}.split-doc-group{border:1px solid var(--theme-border, #b0b0b0);border-radius:0;padding:6px 8px 8px;margin:0;display:flex;flex-direction:column;gap:6px}.split-doc-group legend{font-size:11px;font-weight:600;color:var(--theme-text, #333);padding:0 4px}.split-doc-radio{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--theme-text, #333);cursor:default;min-height:22px}.split-doc-radio.disabled{color:var(--theme-text-secondary, #888)}.split-doc-radio input[type=radio]{margin:0;cursor:default;accent-color:#0078d7}.split-doc-number{width:56px;padding:2px 4px;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, inherit);-webkit-user-select:text;user-select:text}.split-doc-number:focus,.split-doc-input-wide:focus{outline:none;border-color:#0078d7}.split-doc-hint{color:var(--theme-text-secondary, #666)}.split-doc-row{display:flex;align-items:center;gap:6px}.split-doc-label{font-size:11px;color:var(--theme-text, #333);width:90px;flex-shrink:0}.split-doc-input-wide{flex:1;min-width:0;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, inherit);-webkit-user-select:text;user-select:text}.split-doc-browse{flex-shrink:0}.split-doc-info{font-size:10px;color:var(--theme-text-secondary, #666);line-height:1.4}.split-doc-info.split-doc-indent{padding-left:96px}.split-doc-summary{font-size:11px;color:var(--theme-text, #333);border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5);padding:6px 8px}.split-doc-names{margin:4px 0 0;padding-left:18px;color:var(--theme-text-secondary, #555);-webkit-user-select:text;user-select:text}.split-doc-warning{font-size:11px;color:#a4262c;line-height:1.4}.split-doc-footer-right{display:flex;gap:6px}.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:var(--theme-text, #333);width:60px;flex-shrink:0}.merge-pdfs-select{flex:1;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background-color:var(--theme-surface, white);color:var(--theme-text, inherit);cursor:pointer}.merge-pdfs-select:focus{outline:none;border-color:var(--theme-accent, #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:var(--theme-bg, #f5f5f5);border:1px solid var(--theme-border, #d4d4d4);border-bottom:none}.merge-pdfs-file-toolbar-label{font-size:11px;color:var(--theme-text, #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:var(--theme-text, #333);border-radius:0;padding:0}.merge-pdfs-toolbar-btn:hover{background:var(--theme-hover, #e0e0e0);border-color:var(--theme-border, #c0c0c0)}.merge-pdfs-file-list{border:1px solid var(--theme-border, #d4d4d4);min-height:150px;max-height:250px;overflow-y:auto;background:var(--theme-surface, #fff)}.merge-pdfs-warning{margin-top:6px;font-size:11px;line-height:1.4;color:var(--theme-warning, #9a6700)}.merge-pdfs-empty{padding:40px 20px;text-align:center;color:var(--theme-text-secondary, #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:var(--theme-text, #333);cursor:pointer;border-bottom:1px solid var(--theme-border, #f0f0f0)}.merge-pdfs-file-item:last-child{border-bottom:none}.merge-pdfs-file-item:hover{background:var(--theme-hover, #e8f0fe)}.merge-pdfs-file-item.selected{background:var(--theme-active, #cce4f7)}.merge-pdfs-file-icon{flex-shrink:0;width:16px;height:16px;color:var(--theme-text-secondary, #666)}.merge-pdfs-file-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-pdfs-file-pages{flex-shrink:0;color:var(--theme-text-secondary, #888);font-size:10px}.merge-pdfs-file-count{font-size:10px;color:var(--theme-text-secondary, #666)}.merge-pdfs-footer-right{display:flex;gap:6px}.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 var(--theme-border, #b0b0b0);border-radius:0;padding:6px 8px 8px;margin:0 0 6px;background:var(--theme-bg, #f0f0f0)}.print-group legend{font-size:11px;font-weight:600;color:var(--theme-text, #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:var(--theme-text, #333);width:52px;flex-shrink:0;text-align:right}.print-select{flex:1;padding:2px 4px;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, inherit)}.print-select:focus{outline:none;border-color:var(--theme-accent, #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 var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background:var(--theme-surface, #fff);color:var(--theme-text, inherit)}.print-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.print-printer-detail-row{margin-bottom:2px}.print-printer-status,.print-printer-type{font-size:10px;color:var(--theme-text-secondary, #666)}.print-printer-sep{font-size:10px;color:#bbb}.print-printer-error{font-size:10px;color:#c42b1c;margin-top:2px;word-break:break-word}.print-printer-hint{font-size:10px;color:var(--theme-text-secondary, #666);margin-top:2px;word-break:break-word}.print-page-btns,.print-subset-btns{display:flex;gap:0}.print-page-btn,.print-subset-btn{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #acacac);border-right-width:0;padding:2px 10px;font-size:11px;cursor:pointer;color:var(--theme-text, #333)}.print-page-btn:last-child,.print-subset-btn:last-child{border-right-width:1px}.print-page-btn.active,.print-subset-btn.active{background:var(--theme-accent, #0078d7);color:#fff;border-color:var(--theme-accent-hover, #0068c0)}.print-page-btn:hover:not(.active),.print-subset-btn:hover:not(.active){background:var(--theme-hover, #e8e8e8)}.print-custom-row{margin-left:52px}.print-custom-input{flex:1;padding:2px 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, inherit);-webkit-user-select:text;user-select:text}.print-custom-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.print-checkbox-row{padding-left:58px}.print-checkbox-label{display:flex;align-items:center;gap:4px;cursor:pointer;font-size:11px;color:var(--theme-text, #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-note{font-size:11px;color:var(--theme-text-secondary)}.print-mode-btns{flex-wrap:wrap;row-gap:2px}.print-mode-btns .print-page-btn{padding:2px 7px}.print-order-btn{padding:2px 5px;line-height:0}.print-order-icon{flex-shrink:0;color:inherit}.print-placement-group .print-label{width:96px}.print-placement-group .print-checkbox-row{padding-left:102px}.print-placement-group .print-zoom-row{margin-left:0}.print-placement-group .print-note{padding-left:102px}.print-pages-row{margin-bottom:4px}.print-preview-panel{width:340px;flex-shrink:0;border-left:1px solid var(--theme-border, #b0b0b0);background:var(--theme-bg, #e0e0e0);display:flex;flex-direction:column}.print-preview-header{padding:4px 8px;font-size:10px;color:var(--theme-text, #333);border-bottom:1px solid var(--theme-border, #b0b0b0);background:var(--theme-hover, #d8d8d8)}.print-preview-scale.changed{font-weight:600}.print-preview-note{margin-top:2px;color:var(--theme-text-secondary, #666)}.print-preview-container{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;min-height:350px;background:var(--theme-hover, #c0c0c0)}#print-preview-canvas{max-width:100%;max-height:340px;box-shadow:0 1px 6px #0000004d;background:#fff}.print-preview-warning{padding:3px 8px;font-size:10px;color:#c42b1c;border-top:1px solid var(--theme-border, #b0b0b0);background:var(--theme-hover, #d8d8d8)}.print-preview-footer{padding:4px 8px;font-size:10px;color:var(--theme-text, #333);border-top:1px solid var(--theme-border, #b0b0b0);background:var(--theme-hover, #d8d8d8);display:flex;align-items:center;justify-content:space-between}.print-preview-nav{display:flex;gap:1px}.print-preview-nav-btn{background:var(--theme-surface, #f0f0f0);border:1px solid var(--theme-border, #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:var(--theme-text, #333);font-family:inherit}.print-preview-nav-btn:hover:not(:disabled){background:var(--theme-hover, #d4e8fc);border-color:var(--theme-accent, #84b8e8)}.print-preview-nav-btn:active:not(:disabled){background:var(--theme-active, #b8d4f0)}.print-preview-nav-btn:disabled{opacity:.35;cursor:default}.print-status{margin-top:6px;padding:4px 8px;font-size:11px;color:var(--theme-text, inherit);border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #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 var(--theme-border, #b0b0b0);background:var(--theme-bg, #f0f0f0);display:flex;flex-direction:column;gap:6px}.print-footer-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}.print-footer-left{font-size:10px;color:var(--theme-text-secondary, #666)}.print-footer-right{display:flex;gap:6px;justify-content:flex-end}.print-page-info{font-size:10px;color:var(--theme-text-secondary, #666)}.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 var(--theme-border, #d4d4d4);background:var(--theme-surface, #ffffff);height:200px}#page-setup-preview-canvas{display:block}.page-setup-group{border:1px solid var(--theme-border, #d4d4d4);border-radius:0;padding:8px 10px 10px;margin:0 0 10px}.page-setup-group legend{font-size:11px;font-weight:600;color:var(--theme-text, #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:var(--theme-text, #333);width:50px;flex-shrink:0;text-align:right}.page-setup-select{flex:1;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, inherit);cursor:pointer}.page-setup-select:focus{outline:none;border-color:var(--theme-accent, #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:var(--theme-text, #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:var(--theme-text-secondary, #666);text-align:right}.page-setup-margin-input{width:50px;padding:2px 4px;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, inherit)}.page-setup-margin-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.page-setup-footer-right{display:flex;gap:6px}.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 var(--theme-border, #d4d4d4);margin-bottom:10px}.watermark-tab{background:none;border:none;border-bottom:2px solid transparent;padding:6px 16px;font-size:12px;color:var(--theme-text-secondary, #666);cursor:pointer}.watermark-tab:hover{color:var(--theme-text, #333)}.watermark-tab.active{color:var(--theme-accent, #0078d4);border-bottom-color:var(--theme-accent, #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:var(--theme-text, #333);font-size:12px}.watermark-input{flex:1;padding:4px 6px;border:1px solid var(--theme-border, #d4d4d4);border-radius:0;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.watermark-input-sm{flex:0;width:70px}.watermark-select{flex:1;padding:4px 6px;border:1px solid var(--theme-border, #d4d4d4);border-radius:0;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.watermark-color{width:50px;height:24px;padding:0;border:1px solid var(--theme-border, #d4d4d4);border-radius:0;cursor:pointer}.watermark-slider{flex:1;cursor:pointer}.watermark-slider-val{width:40px;text-align:right;font-size:11px;color:var(--theme-text-secondary, #666)}.watermark-img-preview{max-width:150px;max-height:80px;border:1px solid var(--theme-border, #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:var(--theme-text, #333);margin:4px 0 2px;padding-bottom:2px;border-bottom:1px solid var(--theme-border, #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:var(--theme-text-secondary, #666)}.hf-input{padding:4px 6px;border:1px solid var(--theme-border, #d4d4d4);border-radius:0;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #333);width:100%;box-sizing:border-box}.hf-variables{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--theme-text-secondary, #666);margin:6px 0;flex-wrap:wrap}.hf-var-btn{background:var(--theme-bg, #f0f0f0);border:1px solid var(--theme-border, #d4d4d4);border-radius:0;padding:2px 8px;font-size:11px;cursor:pointer;color:var(--theme-text, #333)}.hf-var-btn:hover{background:var(--theme-hover, #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:var(--theme-text-secondary, #666);display:flex;align-items:center;gap:4px}.hf-bates{margin:6px 0}.hf-bates-example{align-self:center;font-family:var(--ui-font-mono);font-size:11px;color:var(--theme-text-secondary, #666)}.manage-wm-list{min-height:100px;max-height:350px;overflow-y:auto}.manage-wm-empty{text-align:center;color:var(--theme-text-secondary, #999);font-size:12px;padding:30px 0}.manage-wm-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid var(--theme-border, #eee);font-size:12px}.manage-wm-item:hover{background:var(--theme-hover, #f5f5f5)}.manage-wm-item-icon{width:20px;color:var(--theme-text-secondary, #666);flex-shrink:0;text-align:center;font-size:14px}.manage-wm-item-desc{flex:1;color:var(--theme-text, #333);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage-wm-item-type{color:var(--theme-text-secondary, #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 var(--theme-border, #d4d4d4);border-radius:0;padding:2px 8px;font-size:11px;cursor:pointer;color:var(--theme-text, #333)}.manage-wm-btn:hover{background:var(--theme-hover, #e0e0e0)}.manage-wm-btn.delete:hover{background:#e81123;color:#fff;border-color:#e81123}.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 var(--theme-border, #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 var(--theme-accent, #0078d4);font-weight:600;color:var(--theme-accent, #0078d4)}.calibration-help{font-size:12px;color:var(--theme-text-secondary, #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 var(--theme-border, #acacac);border-radius:0;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.calibration-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.calibration-input-narrow{width:80px}.calibration-select{padding:4px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.calibration-select:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.calibration-select-wide{width:120px}.calibration-unit{font-size:12px;color:var(--theme-text-secondary, #888)}.calibration-page-size{font-size:12px;color:var(--theme-text-secondary, #888);margin-bottom:8px}.calibration-detect-section{margin-top:4px;border-top:1px solid var(--theme-border, #e0e0e0);padding-top:10px}.calibration-detect-btn{padding:5px 14px;border:1px solid var(--theme-accent, #0078d4);background:var(--theme-bg, #f0f7ff);cursor:pointer;font-size:12px;border-radius:0;color:var(--theme-accent, #0078d4)}.calibration-detect-btn:disabled{cursor:wait}.calibration-detect-btn:hover:not(:disabled){background:var(--theme-hover, #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}.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;white-space:pre-line}.message-dialog-address{display:block;width:100%;box-sizing:border-box;margin-top:10px;padding:3px 6px;font:inherit;font-size:12px;border:1px solid var(--theme-border, #acacac);border-radius:0;background:var(--theme-surface, #fff);color:var(--theme-text, #333);-webkit-user-select:text;user-select:text}.message-dialog-address:focus{outline:none;border-color:var(--theme-active, #0078d7)}.message-dialog-footer{display:flex;justify-content:flex-end;gap:8px}.sticky-popup{position:fixed;z-index:1500;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:var(--ui-font);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:var(--ui-font);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-card-badge{padding:0 4px;font-size:10px;border:1px solid var(--theme-app-menu-divider);color:var(--theme-app-menu-shortcut);white-space:nowrap}.ext-card-status{margin:2px 0 0;font-size:11px;color:var(--theme-error-text, #991b1b);word-break:break-word}.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:var(--theme-success-bg, #f0fdf4);border:1px solid var(--theme-success-border, #86efac);color:var(--theme-success-text, #166534)}.ext-message-error{background:var(--theme-error-bg, #fef2f2);border:1px solid var(--theme-error-border, #fca5a5);color:var(--theme-error-text, #991b1b)}.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}.cmp-dialog{display:flex;flex-direction:column;gap:14px;min-width:540px;padding:4px 2px}.cmp-dialog-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 24px;min-width:380px;color:var(--theme-text-secondary, #555)}.cmp-dialog-empty-msg{font-size:13px;text-align:center;max-width:320px}.cmp-dialog-footer{display:flex;justify-content:flex-end;gap:8px}.cmp-doc-row{display:flex;align-items:stretch;gap:8px}.cmp-doc-col{flex:1;display:flex;flex-direction:column;gap:6px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #fafafa);padding:8px 10px}.cmp-doc-label{display:flex;align-items:center;gap:6px;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--theme-text, #444)}.cmp-color-dot{display:inline-block;width:10px;height:10px;border:1px solid rgba(0,0,0,.2)}.cmp-doc-select{width:100%;height:24px;padding:2px 6px;font-size:12px;border:1px solid var(--theme-border, #c4c4c4);background:var(--theme-surface, white);color:var(--theme-text, #333)}.cmp-page-row{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--theme-text-secondary, #555)}.cmp-page-label{font-size:11px}.cmp-page-input{width:50px;height:22px;padding:1px 4px;font-size:11px;border:1px solid var(--theme-border, #c4c4c4);background:var(--theme-surface, white);color:var(--theme-text, #333)}.cmp-page-of{font-size:11px;color:var(--theme-text-secondary, #777)}.cmp-vs{align-self:center;padding:0 4px;color:var(--theme-text-secondary, #999)}.cmp-swap-btn{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #c4c4c4);width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:default;color:var(--theme-text-secondary, #555);transition:background .1s,border-color .1s,color .1s}.cmp-swap-btn:hover{background:var(--theme-hover, #e6f1fb);border-color:var(--theme-accent, #0078d4);color:var(--theme-accent, #0078d4)}.cmp-swap-btn:active{background:var(--theme-hover, #d4e6f7)}.cmp-mode-row{display:flex;gap:8px}.cmp-mode-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);text-align:center;transition:background .1s,border-color .1s}.cmp-mode-card:hover{background:var(--theme-hover, #f0f6ff);border-color:var(--theme-accent, #6aa9e9)}.cmp-mode-card.active{background:var(--theme-hover, #e6f1fb);border-color:var(--theme-accent, #0078d4);box-shadow:inset 0 0 0 1px var(--theme-accent, #0078d4)}.cmp-mode-card input[type=radio]{display:none}.cmp-mode-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center}.cmp-mode-title{font-size:12px;font-weight:600;color:var(--theme-text, #333)}.cmp-mode-desc{font-size:10px;color:var(--theme-text-secondary, #666);line-height:1.2}.cmp-legend{display:flex;gap:14px;padding:6px 10px;background:var(--theme-bg, #f5f5f5);border:1px solid var(--theme-border, #e0e0e0);font-size:11px;color:var(--theme-text-secondary, #555)}.cmp-legend-item{display:flex;align-items:center;gap:5px}.whats-new-dialog{width:720px;height:600px}.whats-new-dialog .modal-body.whats-new-body{padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}.whats-new-dialog .wn-tabs{display:flex;gap:0;padding:6px 10px 0;background:var(--theme-bg, #f5f5f5);border-bottom:1px solid var(--theme-border, #d4d4d4);flex:0 0 auto}.whats-new-dialog .wn-tab{background:var(--theme-surface, #ffffff);color:var(--theme-text, #333);border:1px solid var(--theme-border, #d4d4d4);border-bottom:none;border-radius:0;padding:5px 14px;font-size:12px;cursor:pointer;margin-right:-1px;position:relative;top:1px}.whats-new-dialog .wn-tab.active{background:var(--theme-surface, #ffffff);font-weight:600;border-bottom:1px solid var(--theme-surface, #ffffff);z-index:1}.whats-new-dialog .wn-tab:hover:not(.active){background:var(--theme-hover, #eaeaea)}.whats-new-dialog .wn-content{flex:1 1 auto;overflow-y:auto;padding:14px 18px;-webkit-user-select:text;user-select:text;font-size:12px;line-height:1.45;color:var(--theme-text, #333);background:var(--theme-surface, #ffffff)}.whats-new-dialog .wn-loading,.whats-new-dialog .wn-error,.whats-new-dialog .wn-empty{text-align:center;color:var(--theme-text-secondary, #888);padding:40px 0;font-style:italic}.whats-new-dialog .wn-lang-fallback{margin:0 0 6px;color:var(--theme-text-secondary, #888);font-size:11px;font-style:italic}.whats-new-dialog .wn-release{margin-bottom:22px;padding-bottom:14px;border-bottom:1px dashed var(--theme-border, #d4d4d4)}.whats-new-dialog .wn-release:last-child{border-bottom:none}.whats-new-dialog .wn-release-header{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}.whats-new-dialog .wn-release-tag{display:inline-block;background:#1f6feb;color:#fff;padding:1px 8px;font-weight:600;font-size:11px;border-radius:0}.whats-new-dialog .wn-release-date{color:var(--theme-text-secondary, #888);font-size:11px}.whats-new-dialog .wn-release-body h1,.whats-new-dialog .wn-release-body h2,.whats-new-dialog .wn-release-body h3,.whats-new-dialog .wn-release-body h4{margin:10px 0 4px;font-weight:600}.whats-new-dialog .wn-release-body h1{font-size:15px}.whats-new-dialog .wn-release-body h2{font-size:14px}.whats-new-dialog .wn-release-body h3{font-size:13px}.whats-new-dialog .wn-release-body h4{font-size:12px}.whats-new-dialog .wn-release-body p{margin:4px 0}.whats-new-dialog .wn-release-body ul.wn-list,.whats-new-dialog .wn-release-body ol.wn-list{margin:4px 0;padding-left:22px}.whats-new-dialog .wn-release-body li{margin:2px 0}.whats-new-dialog .wn-release-body a{color:#1f6feb;text-decoration:none}.whats-new-dialog .wn-release-body a:hover{text-decoration:underline}.whats-new-dialog .wn-release-body .wn-inline-code{background:var(--theme-hover, #f0f0f0);color:var(--theme-text, #333);padding:1px 4px;font-family:var(--ui-font-mono);font-size:11px}.whats-new-dialog .wn-release-body .wn-code{background:var(--theme-bg, #f6f8fa);color:var(--theme-text, #333);border:1px solid var(--theme-border, #e0e0e0);padding:8px 10px;margin:6px 0;font-family:var(--ui-font-mono);font-size:11px;overflow-x:auto;white-space:pre}.whats-new-dialog .wn-release-body hr{border:none;border-top:1px solid var(--theme-border, #e0e0e0);margin:8px 0}.whats-new-footer{gap:12px}.whats-new-footer .wn-dont-show{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-text, #333);-webkit-user-select:none;user-select:none;cursor:pointer}.whats-new-footer .wn-close-btn{background:var(--theme-surface, #ffffff);color:var(--theme-text, #333);border:1px solid var(--theme-border, #b8b8b8);border-radius:0;padding:4px 18px;font-size:12px;cursor:pointer}.whats-new-footer .wn-close-btn:hover{background:var(--theme-hover, #eaeaea)}.style-type-editor-dialog .modal-body{padding:0}.ste-table{min-width:640px;max-height:440px;overflow-y:auto;padding:0 12px 8px;color:var(--theme-text, #333)}.ste-row{display:grid;gap:8px;align-items:center;padding:5px 2px;border-bottom:1px solid var(--theme-border, #e0e0e0)}.ste-row:last-child{border-bottom:none}.ste-row.ste-head{position:sticky;top:0;z-index:1;background:var(--theme-surface, #fff);padding:8px 2px 5px}.ste-col-lbl{font-size:11px;color:var(--theme-text-secondary, #666);white-space:nowrap}.ste-field{width:100%;box-sizing:border-box;height:24px;padding:3px 6px;font-size:11px;font-family:inherit;border:1px solid var(--theme-border, #acacac);border-radius:0;background:var(--theme-surface, #fff);color:var(--theme-text, #333);-webkit-user-select:text;user-select:text}.ste-field:focus{outline:none;border-color:var(--theme-active, #0078d7)}select.ste-field{padding:2px 4px;cursor:pointer}.ste-color{width:100%;height:24px;padding:1px;box-sizing:border-box;border:1px solid var(--theme-border, #acacac);border-radius:0;background:var(--theme-surface, #fff);cursor:pointer}.ste-bg-cell{display:flex;align-items:center;gap:4px}.ste-bg-cell .ste-color{width:26px;flex-shrink:0}.ste-action-btn{width:100%;height:24px;padding:0;font-size:12px;line-height:1;border:1px solid transparent;border-radius:0;background:none;color:var(--theme-text-secondary, #777);cursor:pointer}.ste-action-btn:hover{border-color:var(--theme-border, #acacac);background:var(--theme-hover, #e8e8e8);color:var(--theme-text, #333)}.ste-action-btn.ste-delete:hover{color:#e81123;border-color:#e81123;background:none}.print-progress-toast{position:fixed;right:18px;bottom:18px;width:280px;padding:12px 14px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #d4d4d4);box-shadow:0 4px 14px #00000038;z-index:3000;color:var(--theme-text, #1f1f1f)}.print-progress-label{font-size:12px;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.print-progress-track{height:6px;background:var(--theme-bg, #ececec);border-radius:3px;overflow:hidden}.print-progress-fill{height:100%;background:var(--theme-accent, #0078d4);transition:width .2s ease}.print-progress-error .print-progress-fill{background:#c62828}.print-progress-actions{display:flex;justify-content:flex-end;margin-top:8px}.pq-window{--pq-border: var(--theme-border, #d4d4d4);--pq-sel-bg: color-mix(in srgb, var(--theme-active, #0078d7) 22%, var(--theme-surface, #ffffff));--pq-sel-border: color-mix(in srgb, var(--theme-active, #0078d7) 55%, var(--theme-surface, #ffffff));--pq-hover-bg: color-mix(in srgb, var(--theme-active, #0078d7) 9%, var(--theme-surface, #ffffff));--pq-focus: var(--theme-text, #1f1f1f);--pq-stage-bg: color-mix(in srgb, var(--theme-bg, #f5f5f5) 88%, var(--theme-text, #000000));position:fixed;inset:0;display:flex;flex-direction:column;background:var(--theme-bg, #f5f5f5);color:var(--theme-text, #1f1f1f);font-family:var(--ui-font);font-size:12px;cursor:default;-webkit-user-select:none;user-select:none}.pq-window *,.pq-window *:before,.pq-window *:after{cursor:default}.pq-window button{font-family:inherit}.pq-icon{flex:0 0 auto;display:block}.pq-toolbar{flex:0 0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:3px 6px;background:linear-gradient(to bottom,var(--theme-surface, #ffffff) 0%,var(--theme-bg, #f5f5f5) 100%);border-bottom:1px solid var(--pq-border)}.pq-toolbar-spacer{flex:1 1 auto}.pq-sep{width:1px;align-self:stretch;margin:3px 4px;background:var(--pq-border)}.pq-tool{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 8px;border:1px solid transparent;border-radius:0;background:transparent;color:var(--theme-text, #1f1f1f);font-size:12px;white-space:nowrap}.pq-tool-icon{padding:0 5px}.pq-tool:hover:not(:disabled){background:var(--pq-hover-bg);border-color:var(--pq-sel-border)}.pq-tool:active:not(:disabled){background:var(--pq-sel-bg)}.pq-tool:disabled{opacity:.45}.pq-window button:focus-visible,.pq-window input:focus-visible{outline:1px dotted var(--pq-focus);outline-offset:-3px}.pq-btn{flex:0 0 auto;min-width:75px;min-height:24px;padding:2px 12px;white-space:nowrap;border:1px solid var(--pq-border);border-radius:0;background:var(--theme-hover, #e1e1e1);color:var(--theme-text, #1f1f1f);font-size:12px}.pq-btn:hover:not(:disabled){border-color:var(--theme-active, #0078d7);background:var(--pq-hover-bg)}.pq-btn:disabled{opacity:.5}.pq-btn-danger{border-color:var(--theme-active, #0078d7);box-shadow:inset 0 0 0 1px var(--theme-active, #0078d7)}.pq-main{position:relative;flex:1 1 auto;display:flex;min-height:0}.pq-list{flex:1 1 55%;min-width:260px;overflow-y:auto;background:var(--theme-surface, #ffffff);border-inline-end:1px solid var(--pq-border);outline:none}.pq-row{display:flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border:1px solid transparent;border-bottom-color:color-mix(in srgb,var(--pq-border) 60%,transparent)}.pq-row:hover{background:var(--pq-hover-bg)}.pq-row-sel,.pq-row-sel:hover{background:var(--pq-sel-bg);border-color:var(--pq-sel-border)}.pq-list:focus-visible .pq-row-focus{outline:1px dotted var(--pq-focus);outline-offset:-3px}.pq-row-drag{opacity:.5}.pq-drop-before{box-shadow:inset 0 2px 0 0 var(--theme-active, #0078d7)}.pq-drop-after{box-shadow:inset 0 -2px 0 0 var(--theme-active, #0078d7)}.pq-pos{flex:0 0 22px;text-align:end;font-size:11px;color:var(--theme-text-secondary, #666);font-variant-numeric:tabular-nums}.pq-check{flex:0 0 auto;margin:0}.pq-thumb{flex:0 0 auto;width:64px;height:84px;display:flex;align-items:center;justify-content:center}.pq-thumb img{max-width:60px;max-height:80px;display:block;background:#fff;border:1px solid var(--pq-border);box-shadow:1px 1px #0000001f}.pq-thumb-ph{width:46px;height:62px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--pq-border);color:var(--theme-text-secondary, #888)}.pq-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.pq-name{font-weight:600;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pq-name-time{font-weight:400;font-style:italic}.pq-meta{font-size:11px;color:var(--theme-text-secondary, #666);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pq-preview{flex:1 1 45%;min-width:220px;display:flex;flex-direction:column;background:var(--theme-bg, #f5f5f5)}.pq-preview-head{flex:0 0 auto;display:flex;gap:8px;align-items:baseline;padding:5px 8px;border-bottom:1px solid var(--pq-border)}.pq-preview-label{font-weight:600}.pq-preview-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text-secondary, #666)}.pq-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--pq-stage-bg)}.pq-canvas{display:block;background:#fff;box-shadow:0 0 0 1px var(--pq-border),2px 2px 4px #0000002e}.pq-stage-note{padding:16px;color:var(--theme-text-secondary, #666);text-align:center}.pq-pager{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:3px 6px;border-top:1px solid var(--pq-border);background:linear-gradient(to bottom,var(--theme-surface, #ffffff) 0%,var(--theme-bg, #f5f5f5) 100%)}.pq-pager-text{min-width:90px;text-align:center;font-variant-numeric:tabular-nums}.pq-pager-paper{margin-inline-start:auto;color:var(--theme-text-secondary, #666);white-space:nowrap}@media(max-width:620px){.pq-preview{display:none}.pq-list{border-inline-end:0}}.pq-statusbar{flex:0 0 auto;display:flex;align-items:center;gap:16px;height:22px;padding:0 8px;border-top:1px solid var(--pq-border);background:var(--theme-bg, #f0f0f0);font-size:11px;color:var(--theme-text-secondary, #555)}.pq-status-summary{white-space:pre}.pq-status-msg{flex:1 1 auto;min-width:0;text-align:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text, #1f1f1f)}.pq-status-busy{font-style:italic}.pq-status-error{color:#c62828}[data-theme]:not([data-theme=light]) .pq-status-error{color:#ff8a80}.pq-empty{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;align-items:center;padding:28px 24px;background:var(--theme-surface, #ffffff);text-align:center;line-height:1.5}.pq-empty-art{color:var(--theme-text-secondary, #888);margin-bottom:8px}.pq-empty-title{margin:0 0 6px;font-size:15px;font-weight:600}.pq-empty-intro{margin:0 0 14px;max-width:520px;color:var(--theme-text-secondary, #555)}.pq-steps{margin:0 0 12px;padding-inline-start:22px;max-width:520px;text-align:start}.pq-steps li{margin:3px 0}.pq-empty-drop{margin:0 0 12px;max-width:520px;color:var(--theme-text-secondary, #555)}.pq-notice{display:flex;align-items:center;gap:8px;max-width:560px;margin:0 0 14px;padding:8px 10px;border:1px solid #e0b252;background:#fff8e1;color:#5d4300;text-align:start}.pq-notice span{flex:1 1 auto}.pq-notice .pq-icon{color:#b26a00}[data-theme]:not([data-theme=light]) .pq-notice{background:#e0b2521f;color:var(--theme-text, #eee);border-color:#e0b2528c}[data-theme]:not([data-theme=light]) .pq-notice .pq-icon{color:#e0b252}.pq-extdrop .pq-main{outline:2px dashed var(--theme-active, #0078d7);outline-offset:-4px}.pq-drop-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--theme-active, #0078d7) 12%,transparent);font-size:14px;font-weight:600;pointer-events:none}.pq-modal-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0000002e;z-index:10}.pq-modal{width:min(420px,calc(100vw - 32px));background:var(--theme-surface, #ffffff);border:1px solid var(--pq-border);box-shadow:0 6px 18px #00000040}.pq-modal-title{display:flex;align-items:center;justify-content:space-between;height:30px;padding-inline-start:10px;background:linear-gradient(to bottom,var(--theme-surface, #ffffff) 0%,var(--theme-bg, #f5f5f5) 100%);border-bottom:1px solid var(--pq-border);font-weight:600}.pq-modal-close{width:30px;height:29px;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:none;color:var(--theme-text, #333)}.pq-modal-close:hover{background:#e81123;color:#fff}.pq-modal-body{padding:16px 14px;line-height:1.5;white-space:pre-wrap;-webkit-user-select:text;user-select:text}.pq-modal-foot{display:flex;justify-content:flex-end;gap:6px;padding:8px 12px;border-top:1px solid var(--pq-border);background:var(--theme-bg, #f5f5f5)}.vp-tab .vp-description{font-size:11px;color:var(--theme-text-secondary, #555);margin:0 0 10px;line-height:1.4}.vp-state{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;margin-bottom:10px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #ffffff)}.vp-state-icon{flex:0 0 auto;margin-top:1px;color:var(--theme-text-secondary, #777)}.vp-state-active .vp-state-icon{color:#2e7d32}.vp-state-dialog .vp-state-icon{color:#b26a00}.vp-state-error .vp-state-icon{color:#c62828}[data-theme]:not([data-theme=light]) .vp-state-active .vp-state-icon{color:#81c784}[data-theme]:not([data-theme=light]) .vp-state-dialog .vp-state-icon{color:#ffb74d}[data-theme]:not([data-theme=light]) .vp-state-error .vp-state-icon{color:#ff8a80}.vp-state-active{border-inline-start:3px solid #2e7d32}.vp-state-dialog{border-inline-start:3px solid #b26a00}.vp-state-error{border-inline-start:3px solid #c62828}.vp-state-title{font-size:12px;font-weight:600;color:var(--theme-text, #333)}.vp-state-detail{font-size:11px;color:var(--theme-text-secondary, #555);margin-top:2px;line-height:1.4}.vp-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.vp-buttons .pref-btn{cursor:default}.vp-how-title{font-size:11px;font-weight:600;color:var(--theme-text, #333);margin-bottom:4px}.vp-how-steps{margin:0 0 10px;padding-inline-start:20px;font-size:11px;line-height:1.5;color:var(--theme-text, #333)}.vp-note{font-size:10px;color:var(--theme-text-secondary, #888);margin:0;line-height:1.4}.scale-region-dialog .ai-login-field{margin-bottom:8px}.scale-region-dialog .ai-login-field label{display:block;font-size:11px;color:var(--theme-text, #333);margin-bottom:2px;white-space:nowrap}.scale-region-dialog .ai-login-field>div{font-size:12px}.stavenreeks-inline-editor,.parametric-label-inline-editor{display:flex;gap:6px;align-items:flex-end;padding:5px 6px;background:var(--theme-panel-bg, #f5f5f5);border:1px solid var(--theme-border, #808080);box-shadow:2px 2px 6px #00000059;border-radius:0;font-size:11px;font-family:inherit;color:var(--theme-text, #1f1f1f)}.stavenreeks-inline-editor .sr-inline-field,.parametric-label-inline-editor .parametric-label-inline-field{display:flex;flex-direction:column;gap:2px}.stavenreeks-inline-editor .sr-inline-field>span,.parametric-label-inline-editor .parametric-label-inline-field>span{font-size:10px;font-weight:500;white-space:nowrap;color:var(--theme-text-secondary, #555)}.stavenreeks-inline-editor input,.stavenreeks-inline-editor select,.parametric-label-inline-editor input{font-size:12px;font-family:inherit;height:22px;padding:1px 4px;border:1px solid var(--theme-border, #7a7a7a);border-radius:0;background-color:var(--theme-surface, #ffffff);color:var(--theme-text, #1f1f1f);box-sizing:border-box;margin:0}.stavenreeks-inline-editor input{width:58px}.stavenreeks-inline-editor select{width:76px;cursor:pointer}.parametric-label-inline-editor{transform:translate(-50%,8px)}.parametric-label-inline-editor input{width:82px}.pdf-password-dialog{width:380px;max-width:calc(100vw - 32px)}.pdf-password-body{display:flex;flex-direction:column;gap:10px;font-size:12px;cursor:default}.pdf-password-message{margin:0;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.pdf-password-row{display:flex;align-items:center;gap:8px}.pdf-password-row input{flex:1;height:22px;padding:0 4px;border:1px solid var(--theme-border, #ababab);border-radius:0;font-size:12px;background:var(--theme-surface, #ffffff);color:var(--theme-text, #333)}.pdf-password-error{color:#c42b1c}.pdf-password-footer{display:flex;justify-content:flex-end;gap:6px;width:100%}.pdf-password-footer .pref-btn{cursor:default}.cad-dialog{width:600px}.cad-dialog.cad-dialog-import{width:720px}.cad-dialog{max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);box-sizing:border-box}.cad-body{padding:10px 15px 12px;flex:1 1 auto;min-height:0;overflow-y:auto}.cad-footer{gap:10px}.cad-tabs{display:flex;border-bottom:1px solid var(--theme-border, #d4d4d4);margin-bottom:10px}.cad-tab{background:none;border:1px solid transparent;border-bottom:none;border-radius:0;padding:4px 14px;margin-bottom:-1px;font-size:11px;font-family:inherit;color:var(--theme-text-secondary, #666)}.cad-tab:hover{color:var(--theme-text, #333)}.cad-tab.active{color:var(--theme-text, #333);background:var(--theme-surface, #fff);border-color:var(--theme-border, #d4d4d4)}.cad-fieldset{border:none;margin:0;padding:0;min-width:0}.cad-tab-content{display:none;flex-direction:column;gap:8px;min-height:330px}.cad-tab-content.active{display:flex}.cad-row{display:flex;align-items:center;gap:8px}.cad-row-top{align-items:flex-start}.cad-row-top>.cad-label{padding-top:3px}.cad-label{font-size:11px;color:var(--theme-text, #333);width:150px;flex-shrink:0}.cad-label-short{width:auto;margin-inline-start:8px}.cad-stack{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.cad-radio,.cad-check{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--theme-text, #333)}.cad-disabled{color:var(--theme-text-secondary, #888)}.cad-select,.cad-input{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, inherit)}.cad-select{flex:1;min-width:0}.cad-select-short{flex:0 0 auto;width:auto;min-width:90px;max-width:210px;text-overflow:ellipsis}.cad-input{width:110px}.cad-input-short{width:70px}.cad-input-wide{flex:1;width:auto;min-width:0}.cad-select:focus,.cad-input:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.cad-note{font-size:10px;color:var(--theme-text-secondary, #777);line-height:1.5}.cad-note-warn{color:var(--theme-warning, #9a6700)}.cad-small-btn{min-width:0;padding:3px 10px}.cad-dialog .pref-btn:disabled{opacity:.5}.cad-dialog .pref-btn:disabled:hover{background:var(--theme-hover, #e1e1e1);border-color:var(--theme-border, #acacac)}.cad-dialog .pref-btn-primary:disabled,.cad-dialog .pref-btn-primary:disabled:hover{border-color:var(--theme-border, #acacac);box-shadow:none}.cad-link-btn{min-width:0;padding:2px 8px;margin-inline-start:6px;white-space:nowrap;flex:none}.cad-layer-tools{gap:6px}.cad-layer-list{border:1px solid var(--theme-border, #acacac);background:var(--theme-surface, #fff);height:190px;overflow-y:auto;font-size:11px}.cad-layer-head,.cad-layer-row{display:flex;align-items:center;gap:6px;padding:2px 6px}.cad-layer-head{position:sticky;top:0;background:var(--theme-bg, #f5f5f5);border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text-secondary, #666)}.cad-layer-row:hover{background:var(--theme-hover, #e5f3ff)}.cad-col-check{width:18px;flex-shrink:0;display:flex}.cad-col-color{width:16px;flex-shrink:0;display:flex}.cad-col-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cad-col-count{width:70px;text-align:end;flex-shrink:0}.cad-col-source{width:90px;flex-shrink:0;color:var(--theme-text-secondary, #666)}.cad-col-state{width:110px;flex-shrink:0;color:var(--theme-text-secondary, #666)}.cad-swatch{width:12px;height:12px;border:1px solid var(--theme-border, #999);display:inline-block}.cad-file-row{margin-bottom:8px}.cad-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--theme-text, #333)}.cad-file-info{flex-shrink:0;white-space:nowrap}.cad-import-bottom{margin-top:10px;padding-top:8px;border-top:1px solid var(--theme-border, #d4d4d4)}.cad-import-presets{margin-top:6px;gap:6px}.cad-select-target{flex:0 0 auto;width:260px}.cad-warnings{margin-top:6px;display:flex;flex-wrap:wrap;gap:2px 12px}.cad-externals{margin-top:4px;display:flex;flex-direction:column;gap:2px;min-width:0}.cad-externals-row{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cad-tab-scroll{max-height:330px;overflow-y:auto;padding-inline-end:6px}.cad-tab-scroll>*{flex-shrink:0}.cad-dialog.cad-dialog-import.cad-dialog-voorbeeld{width:1040px}.cad-main{display:flex;gap:12px;align-items:stretch}.cad-panels{flex:1 0 380px;min-width:0}.cad-voorbeeld{flex:0 1 300px;width:300px;min-width:160px;display:flex;flex-direction:column;gap:4px}.cad-voorbeeld-kop{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:11px;font-weight:600;color:var(--theme-text, #333)}.cad-voorbeeld-kop .cad-note{font-weight:400}.cad-voorbeeld-vak{flex:1;min-height:300px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f0f0f0)}.cad-voorbeeld-beeld{display:block;border:1px solid #9a9a9a;box-sizing:content-box;touch-action:none}.cad-voorbeeld-beeld.cad-voorbeeld-leeg{visibility:hidden}.cad-voorbeeld-schakelaar{margin-inline-start:auto}.cad-import-underlay{margin-top:6px;gap:6px 12px;flex-wrap:wrap}.cad-import-underlay .cad-check{white-space:nowrap}.cad-note-indent{margin-inline-start:158px}.cad-label-wide{width:auto}.cad-subtable{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.cad-sublist{display:flex;flex-direction:column;gap:3px;max-height:112px;overflow-y:auto;padding:3px 4px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff)}.cad-subrow{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--theme-text, #333);min-width:0}.cad-subhead{padding:0 5px;font-size:10px;color:var(--theme-text-secondary, #777)}.cad-col-font{width:170px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cad-color{width:34px;height:22px;padding:0;flex-shrink:0;border:1px solid var(--theme-border, #acacac);border-radius:0;background:var(--theme-surface, #fff)}.cad-color:disabled{opacity:.5}.cad-input-code{width:66px;font-family:var(--ui-font-mono);text-transform:uppercase}.cad-path{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:rtl;text-align:left}.cad-details{border-top:1px solid var(--theme-border, #d4d4d4);padding-top:6px}.cad-summary-line{font-size:11px;color:var(--theme-text, #333)}.cad-summary-line:focus-visible{outline:1px dotted var(--theme-text, #333)}.cad-details-body{display:flex;flex-direction:column;gap:8px;padding:8px 0 2px 14px}.cad-sort{background:none;border:none;border-radius:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cad-sort:hover{color:var(--theme-text, #333);text-decoration:underline}.cad-footer-status{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-size:11px}.cad-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cad-status-fout{color:var(--theme-error, #c42b1c);white-space:normal}.cad-status-ok{color:var(--theme-text, #333);white-space:normal}.cad-progress{width:140px;height:10px;border:1px solid var(--theme-border, #acacac);background:var(--theme-surface, #fff);flex-shrink:0}.cad-progress-bar{height:100%;background:var(--theme-accent, #0078d7)}.cad-question{margin-top:10px;padding:8px 10px;border:1px solid var(--theme-border, #acacac);background:var(--theme-bg, #f5f5f5);font-size:11px;display:flex;flex-direction:column;gap:6px}.cad-question-title{font-weight:600}.cad-question-buttons{display:flex;gap:6px}.cad-preview{border:1px solid var(--theme-border, #acacac);background:var(--theme-bg, #f0f0f0);display:flex;align-items:center;justify-content:center;overflow:hidden}.cad-preview img{max-width:100%;max-height:100%;display:block}.cad-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.cad-summary{font-size:11px;padding:4px 6px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5)}.page-labels-dialog{width:560px;max-width:94vw}.page-labels-body{display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--theme-text, #333)}.page-labels-intro{color:var(--theme-text-secondary, #666);line-height:1.5}.page-labels-row{display:flex;align-items:center;gap:6px}.page-labels-label{flex-shrink:0}.page-labels-field{flex:1;min-width:0;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:12px;font-family:var(--ui-font-mono);background:var(--theme-surface, #fff);color:var(--theme-text, inherit);-webkit-user-select:text;user-select:text}.page-labels-field:focus{outline:none;border-color:var(--theme-accent, #0078d7)}.page-labels-regions{display:flex;flex-direction:column;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff)}.page-labels-region{display:flex;align-items:center;gap:8px;padding:2px 4px 2px 6px;min-width:0}.page-labels-region+.page-labels-region{border-top:1px solid var(--theme-border, #e5e5e5)}.page-labels-token{width:56px;flex-shrink:0;font-family:var(--ui-font-mono);color:var(--theme-accent, #0078d7)}.page-labels-sample{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.page-labels-sample.empty{font-weight:400;color:var(--theme-text-secondary, #888)}.page-labels-region-page{flex-shrink:0;color:var(--theme-text-secondary, #888)}.page-labels-remove{width:18px;height:18px;padding:0;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:0;color:var(--theme-text-secondary, #666)}.page-labels-remove:hover{background:#e81123;color:#fff}.page-labels-example{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-labels-check{display:flex;align-items:center;gap:6px}.page-labels-check input{margin:0}.page-labels-actions{display:flex;align-items:center;gap:8px;min-height:24px}.page-labels-progress{color:var(--theme-text-secondary, #666)}.page-labels-table-wrap{max-height:260px;overflow-y:auto;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff)}.page-labels-table{width:100%;border-collapse:collapse}.page-labels-table th{position:sticky;top:0;padding:3px 6px;text-align:start;font-weight:600;background:var(--theme-bg, #f5f5f5);border-bottom:1px solid var(--theme-border, #d4d4d4)}.page-labels-table td{padding:1px 6px;border-bottom:1px solid var(--theme-border, #eeeeee)}.page-labels-col-page{width:70px;white-space:nowrap;color:var(--theme-text-secondary, #666)}.page-labels-ocr{margin-inline-start:6px;padding:0 3px;font-size:9px;border:1px solid #c27c0e;color:#c27c0e}.page-labels-table td input{width:100%;box-sizing:border-box;padding:2px 4px;border:1px solid transparent;border-radius:0;font-size:11px;font-family:inherit;background:transparent;color:var(--theme-text, inherit);-webkit-user-select:text;user-select:text}.page-labels-table td input:focus{outline:none;border-color:var(--theme-accent, #0078d7);background:var(--theme-surface, #fff)}.page-labels-legend{color:var(--theme-text-secondary, #888)}.page-labels-footer-right{display:flex;gap:6px}.page-labels-body .pref-btn:disabled,.page-labels-footer-right .pref-btn:disabled{opacity:.5}.page-label-pick-bar{position:fixed;top:40px;left:50%;transform:translate(-50%);z-index:1500;padding:5px 12px;font-size:12px;background:var(--theme-notifbar-bg, #fff4ce);border:1px solid var(--theme-notifbar-border, #e1c16e);color:var(--theme-notifbar-text, #333);box-shadow:0 1px 4px #0003;pointer-events:none;white-space:nowrap}.recovery-body{display:flex;flex-direction:column;gap:8px;min-width:480px;max-width:640px;font-size:12px;color:var(--theme-text, #1a1a1a)}.recovery-intro,.recovery-note{margin:0}.recovery-note{color:var(--theme-text-secondary, #666)}.recovery-list{display:flex;flex-direction:column;border:1px solid var(--theme-border, #d4d4d4);max-height:320px;overflow-y:auto}.recovery-row{display:flex;align-items:center;gap:12px;padding:8px;border-bottom:1px solid var(--theme-border, #d4d4d4)}.recovery-row:last-child{border-bottom:none}.recovery-info{flex:1;min-width:0}.recovery-title{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recovery-path,.recovery-meta{color:var(--theme-text-secondary, #666);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recovery-warning{color:#a4262c;font-size:11px}.recovery-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.recovery-actions .pref-btn,.recovery-footer .pref-btn{min-width:0;padding:4px 12px}.recovery-confirm-text{font-size:11px}.recovery-footer{align-items:center}.hidden-information{font-size:12px;color:var(--theme-text)}.hidden-information p{overflow-wrap:anywhere}.hidden-information button{font:inherit;color:var(--theme-text);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:0;padding:5px 8px;margin:4px 0;white-space:normal}.hidden-information button:disabled{opacity:.5}.print-preflight{font-size:12px;color:var(--theme-text)}.print-preflight p{overflow-wrap:anywhere;margin:6px 0}.print-preflight label{display:block;margin:4px 0}.print-preflight button,.print-preflight select,.print-preflight input{font:inherit;color:var(--theme-text);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:0;padding:3px;max-width:100%;box-sizing:border-box;white-space:normal}.print-preflight button{margin:4px 4px 4px 0}.print-preflight button:disabled{opacity:.5}.ocr-review{font-size:12px;color:var(--theme-text)}.ocr-review canvas{display:block;margin:8px 0}.ocr-review input,.ocr-review button{font:inherit;color:var(--theme-text);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:0;padding:4px;max-width:100%;box-sizing:border-box}.ocr-review button{margin:4px}.ocr-review button:disabled{opacity:.5}.portfolio-dialog{color:var(--theme-text, #333);font-size:13px;width:min(900px,95vw);max-height:90vh;overflow:auto}.portfolio-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.portfolio-controls label{display:flex;flex-direction:column;gap:4px}.portfolio-table{width:100%;border-collapse:collapse}.portfolio-table td,.portfolio-table th{text-align:start;padding:6px;border-bottom:1px solid var(--theme-border, #888);overflow-wrap:anywhere}.portfolio-table tr[aria-selected=true]{background:var(--theme-bg-hover, #666)}.portfolio-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.portfolio-controls input,.portfolio-controls select{background:var(--theme-bg, #fff);color:var(--theme-text, #333);border:1px solid var(--theme-border, #888);padding:5px}.portfolio-controls{align-items:end}.portfolio-dialog .modal-body{overflow:auto}.form-recognition-dialog{width:min(1000px,96vw);max-height:92vh;color:var(--theme-text, #333);font-size:13px}.form-recognition-dialog .modal-body{overflow:auto}.form-recognition-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-block:10px}.form-recognition-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,2fr);gap:16px}.form-recognition-grid canvas{max-width:100%;height:auto}.form-recognition-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-block-start:12px}.form-recognition-dialog label{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:3px}.form-recognition-dialog input,.form-recognition-dialog select{color:var(--theme-text, #333);background:var(--theme-bg, #fff);border:1px solid var(--theme-border, #888);padding:5px;min-width:0;max-width:100%}.form-recognition-grid>div>select{width:100%}@media(max-width:650px){.form-recognition-grid{grid-template-columns:1fr}}.form-recognition-editor input:not([type=checkbox]){width:100%;box-sizing:border-box}.symbol-search-dialog{width:min(1050px,96vw);max-height:92vh;color:var(--theme-text, #333);font-size:13px}.symbol-search-dialog .modal-body{overflow:auto}.symbol-search-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-block:10px}.symbol-search-controls label{display:flex;flex-direction:column;gap:3px;max-width:160px}.symbol-search-dialog input,.symbol-search-dialog select{color:var(--theme-text, #333);background:var(--theme-bg, #fff);border:1px solid var(--theme-border, #888);padding:5px;max-width:100%;box-sizing:border-box}.symbol-search-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(250px,3fr);gap:12px}.symbol-search-grid select{width:100%}.symbol-search-grid canvas{max-width:100%;height:auto;touch-action:none}@media(max-width:600px){.symbol-search-grid{grid-template-columns:1fr}}.workbook-bindings-dialog{width:min(1000px,96vw);max-height:90vh;color:var(--theme-text, #333);font-size:13px}.workbook-bindings-dialog .modal-body{overflow:auto}.workbook-binding-controls{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-block:12px}.workbook-binding-controls label{display:flex;flex-direction:column;gap:4px;max-width:260px}.workbook-binding-controls input,.workbook-binding-controls select{padding:5px;color:var(--theme-text, #333);background:var(--theme-bg, #fff);border:1px solid var(--theme-border, #888);max-width:100%}.workbook-binding-row{border-block-start:1px solid var(--theme-border, #888);padding-block:10px;margin-block-start:12px;overflow-wrap:anywhere}.workbook-binding-row button{margin:3px}.document-workflows-dialog{width:min(820px,94vw);max-height:92vh;color:var(--theme-text);font-size:13px}.document-workflows-dialog .crop-margins-content{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:10px}.document-workflows-dialog p{margin:0;line-height:1.5}.document-workflows-dialog fieldset{padding:10px;border:1px solid var(--theme-border)}.document-workflows-dialog label{display:inline-flex;flex-direction:column;gap:4px;margin-inline-end:8px;margin-bottom:6px}.document-workflows-dialog input,.document-workflows-dialog select{color:var(--theme-text);background:var(--theme-bg);border:1px solid var(--theme-border);padding:5px;max-width:100%}.document-workflows-dialog fieldset input{width:140px}.document-workflows-dialog ul{overflow-wrap:anywhere}.drawing-sets-dialog{width:min(1100px,95vw);max-height:92vh;color:var(--theme-text);font-size:13px}.drawing-sets-dialog .crop-margins-content{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:10px}.drawing-sets-dialog p{margin:0;line-height:1.5;overflow-wrap:anywhere}.drawing-sets-dialog label{display:inline-flex;gap:5px;align-items:center}.drawing-sets-dialog input,.drawing-sets-dialog select{background:var(--theme-bg);color:var(--theme-text);border:1px solid var(--theme-border);padding:5px;max-width:100%}.drawing-sets-dialog th{text-align:start}.drawing-set-table{overflow:auto}.drawing-set-table input{width:120px}.drawing-set-preview{display:grid;grid-template-columns:1fr 1fr;gap:8px}.drawing-set-preview canvas{max-width:100%;background:#fff}.sheet-links-dialog{width:min(1100px,95vw);max-height:92vh;color:var(--theme-text);font-size:13px}.sheet-links-dialog .crop-margins-content{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:10px}.sheet-links-dialog p{margin:0;line-height:1.5}.sheet-links-dialog label{display:inline-flex;gap:6px;align-items:center}.sheet-links-dialog input,.sheet-links-dialog select{background:var(--theme-bg);color:var(--theme-text);border:1px solid var(--theme-border);padding:5px;max-width:100%}.sheet-links-table{overflow:auto}.sheet-links-table input[type=text]{width:100px}.sheet-links-dialog th{text-align:start}.sheet-links-hit{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sheet-links-hit span{flex:1}.sheet-links-preview{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sheet-links-preview canvas{max-width:100%;background:#fff}.sheet-links-table{flex-shrink:0;max-height:280px}.approval-routing-dialog{width:min(1050px,95vw);max-height:92vh;color:var(--theme-text);font-size:13px}.approval-routing-dialog .crop-margins-content{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:10px}.approval-routing-dialog p{margin:0;line-height:1.5;overflow-wrap:anywhere}.approval-routing-dialog label{display:inline-flex;align-items:center;gap:6px}.approval-routing-dialog input,.approval-routing-dialog select,.approval-routing-dialog textarea{background:var(--theme-bg);color:var(--theme-text);border:1px solid var(--theme-border);padding:5px;max-width:100%}.approval-recipient,.approval-field{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.approval-field input{width:65px}.approval-routing-dialog canvas{max-width:100%;align-self:flex-start;flex-shrink:0}.tp-btn{width:36px;height:34px;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:22px;height:22px}.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:28px;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, #ccc);opacity:.7;flex-shrink:0;margin:2px}.tp-close:hover{background:#e81123;color:#fff;opacity:1}.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:48px;height:46px;margin:1px 2px}.tp-large .tp-btn svg{width:34px;height:34px}.tp-large .tp-sep{width:40px}.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}.tp-btn.has-sub{position:relative}.tp-btn-group-wrap{position:relative;display:inline-flex}.tp-btn-chevron{position:absolute;right:2px;bottom:1px;font-size:8px;line-height:1;opacity:.6;pointer-events:none;color:var(--theme-ribbon-icon-stroke)}.tp-submenu{background:var(--theme-surface, #2a2a2a);border:1px solid var(--theme-border, transparent);border-radius:6px;padding:4px;display:flex;gap:2px;box-shadow:0 4px 12px #0000004d;z-index:1000}.tp-submenu .tp-btn{width:32px;height:32px}.sp-panel{display:flex;flex-direction:column;background:var(--theme-surface, #2a2a2a);-webkit-user-select:none;user-select:none;overflow:hidden;width:220px;color:var(--theme-text, #e0e0e0)}.sp-docked{border-right:1px solid var(--theme-border);height:100%}.sp-docked-right{border-right:none;border-left:1px solid var(--theme-border)}.sp-float{position:fixed;z-index:950;border:1px solid var(--theme-border);box-shadow:0 4px 16px #00000038,0 1px 4px #0000001f;width:240px;max-height:70vh}.sp-float-header{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;background:linear-gradient(to bottom,var(--theme-ribbon-bg-start),var(--theme-ribbon-bg-end));border-bottom:1px solid var(--theme-border);cursor:default}.sp-float-title{font-size:11px;font-weight:600;color:var(--theme-text)}.sp-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, #ccc);opacity:.7}.sp-float-close:hover{background:#e81123;color:#fff;opacity:1}.sp-header{display:flex;align-items:center;gap:4px;padding:4px 6px;border-bottom:1px solid var(--theme-border);background:linear-gradient(to bottom,var(--theme-ribbon-bg-start),var(--theme-ribbon-bg-end));flex-shrink:0}.sp-grip{cursor:grab;color:var(--theme-text-secondary);display:flex;align-items:center;padding:2px}.sp-grip:hover{color:var(--theme-ribbon-icon-stroke)}.sp-grip:active{cursor:grabbing}.sp-title{font-size:11px;font-weight:600;color:var(--theme-text);flex:1}.sp-settings-btn{width:20px;height:20px;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:var(--theme-text-secondary)}.sp-settings-btn:hover{color:var(--theme-text);background:var(--theme-hover)}.sp-close-btn{width:20px;height:20px;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:var(--theme-text, #ccc);opacity:.7}.sp-close-btn:hover{background:#e81123;color:#fff;opacity:1}.sp-search{padding:4px 6px;border-bottom:1px solid var(--theme-border);flex-shrink:0;background:var(--theme-surface)}.sp-search input{width:100%;height:24px;font-size:11px;background:var(--theme-surface, #fff);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:3px;padding:0 6px 0 24px;box-sizing:border-box;outline:none}.sp-search input:focus{border-color:var(--theme-accent, #a82d6e)}.sp-search-wrap{position:relative}.sp-search-icon{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:12px;height:12px;color:var(--theme-text-secondary);pointer-events:none}.sp-categories{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.sp-cat-header{display:flex;align-items:center;gap:6px;padding:5px 8px;cursor:pointer;font-size:11px;font-weight:600;color:var(--theme-text);background:var(--theme-surface);border-bottom:1px solid var(--theme-border);-webkit-user-select:none;user-select:none}.sp-cat-header:hover{background:var(--theme-hover)}.sp-cat-arrow{width:10px;height:10px;transition:transform .15s;flex-shrink:0;color:var(--theme-text-secondary)}.sp-cat-arrow.expanded{transform:rotate(90deg)}.sp-cat-icon{width:14px;height:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sp-cat-icon svg{width:14px;height:14px}.sp-cat-name{flex:1}.sp-cat-count{font-size:9px;color:var(--theme-text-secondary);font-weight:400}.sp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:4px}.sp-symbol-btn{width:100%;aspect-ratio:1;border:1px solid transparent;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:3px;border-radius:3px}.sp-symbol-btn svg{width:100%;height:100%}.sp-symbol-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.sp-symbol-icon svg{width:100%;height:100%}.sp-symbol-btn.sp-symbol-named{grid-column:1 / -1;aspect-ratio:auto;flex-direction:column;gap:2px;padding:4px 3px}.sp-symbol-btn.sp-symbol-named .sp-symbol-icon{height:34px}.sp-symbol-name{font-size:10px;line-height:1.2;color:var(--theme-text);text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.sp-symbol-btn:hover{background:var(--theme-ribbon-btn-hover);border-color:var(--theme-ribbon-btn-hover-border)}.sp-symbol-btn.active{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border)}.sp-empty{padding:16px 8px;text-align:center;font-size:11px;color:var(--theme-text-secondary)}.sp-settings-overlay{position:fixed;inset:0;background:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center}.sp-settings-dialog{background:var(--theme-surface, #2a2a2a);border:1px solid var(--theme-border);border-radius:6px;width:400px;max-height:500px;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006}.sp-settings-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--theme-border)}.sp-settings-header h3{margin:0;font-size:13px;font-weight:600;color:var(--theme-text)}.sp-settings-locale{display:flex;gap:10px;padding:10px 14px;border-bottom:1px solid var(--theme-border)}.sp-settings-locale-field{display:flex;flex-direction:column;gap:3px;flex:1}.sp-settings-locale-field>span{font-size:10px;color:var(--theme-text-muted, #999)}.sp-settings-locale-field select{height:26px;font-size:12px;color:var(--theme-text, inherit);background-color:var(--theme-surface, #fff);border:1px solid var(--theme-border, #acacac);border-radius:0;padding:0 22px 0 6px;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--theme-text, #333) 50%),linear-gradient(135deg,var(--theme-text, #333) 50%,transparent 50%);background-position:calc(100% - 12px) center,calc(100% - 8px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.sp-settings-locale-field select option,.sp-settings-locale-field select optgroup{background-color:var(--theme-surface, #fff);color:var(--theme-text, inherit)}.sp-settings-locale-field select:focus{border-color:var(--theme-accent);outline:none}.sp-settings-download{display:flex;align-items:center;gap:8px;padding:7px 14px;border-bottom:1px solid var(--theme-border);font-size:11px;color:var(--theme-text)}.sp-settings-download-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-settings-download-note{font-size:10px;color:var(--theme-text-muted, #999)}.sp-settings-download-error{color:#e81123;font-size:10px}.sp-settings-body{flex:1;overflow-y:auto;padding:10px 14px}.sp-settings-group{padding:8px 0;border-bottom:1px solid var(--theme-border)}.sp-settings-group:last-child{border-bottom:none}.sp-settings-group-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.sp-settings-group-name{font-size:12px;font-weight:600;color:var(--theme-text)}.sp-settings-group-badge{font-size:9px;color:var(--theme-text-secondary);background:#80808026;padding:1px 6px;border-radius:8px}.sp-settings-symbols{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.sp-settings-symbol{width:32px;height:32px;border:1px solid var(--theme-border);border-radius:3px;display:flex;align-items:center;justify-content:center;padding:2px;position:relative}.sp-settings-symbol svg{width:100%;height:100%}.sp-settings-footer{display:flex;align-items:center;gap:6px;padding:10px 14px;border-top:1px solid var(--theme-border)}.sp-settings-footer input{flex:1;height:28px;font-size:12px;background:var(--theme-surface, #fff);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:3px;padding:0 8px;outline:none}.sp-settings-footer input:focus{border-color:var(--theme-accent)}.sp-settings-btn-add{height:28px;padding:0 12px;font-size:11px;background:var(--theme-accent, #a82d6e);color:#fff;border:none;border-radius:3px;cursor:pointer}.sp-settings-btn-add:hover{filter:brightness(1.15)}.sp-settings-btn-add:disabled{opacity:.5;cursor:default}.sp-settings-btn-remove{height:22px;padding:0 8px;font-size:10px;background:transparent;color:#e81123;border:1px solid #e81123;border-radius:3px;cursor:pointer}.sp-settings-btn-remove:hover{background:#e81123;color:#fff}.sp-categories::-webkit-scrollbar{width:6px}.sp-categories::-webkit-scrollbar-track{background:transparent}.sp-categories::-webkit-scrollbar-thumb{background:#8080804d;border-radius:3px}.sp-categories::-webkit-scrollbar-thumb:hover{background:#80808080}.ste-overlay{position:fixed;inset:0;background:#0000008c;z-index:11000;display:flex;align-items:center;justify-content:center;outline:none}.ste-window{background:var(--theme-surface, #2a2a2a);border:1px solid #d4d4d4;border-radius:0;width:760px;max-width:95vw;max-height:92vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #00000080}.ste-header{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:linear-gradient(#fff,#f5f5f5);border-bottom:1px solid #d4d4d4;color:#1a1a1a}.ste-title{font-size:12px;font-weight:600}.ste-close{display:inline-flex;align-items:center;justify-content:center;width:26px;height:20px;border:none;background:transparent;color:#444;cursor:pointer}.ste-close:hover{background:#e81123;color:#fff}.ste-body{display:flex;gap:16px;padding:16px;background:var(--theme-bg, #1f1f1f);overflow:auto}.ste-canvas-wrap{flex:0 0 auto;background:#fff;border:1px solid #d4d4d4;padding:4px}.ste-canvas{display:block;touch-action:none}.ste-vertex{cursor:grab}.ste-vertex:active{cursor:grabbing}.ste-mid{cursor:copy}.ste-sidebar{flex:1 1 auto;min-width:180px;display:flex;flex-direction:column;gap:12px;color:var(--theme-text, #e0e0e0)}.ste-field{display:flex;flex-direction:column;gap:4px;font-size:11px}.ste-field>span{color:var(--theme-text-secondary, #aaa)}.ste-field input[type=text],.ste-field select{height:24px;background:var(--theme-surface, #fff);color:var(--theme-text, #e0e0e0);border:1px solid var(--theme-border, #555);border-radius:0;padding:0 6px;font-size:12px}.ste-field select{appearance:none;-webkit-appearance:none;padding-right:22px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,var(--theme-text, #333) 50%),linear-gradient(135deg,var(--theme-text, #333) 50%,transparent 50%);background-position:calc(100% - 12px) center,calc(100% - 8px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.ste-field select option{background-color:var(--theme-surface, #fff);color:var(--theme-text, inherit)}.ste-field input[type=color]{width:40px;height:24px;padding:0;border:1px solid var(--theme-border, #555);background:transparent;cursor:pointer}.ste-hint{margin-top:auto;font-size:10px;line-height:1.5;color:var(--theme-text-secondary, #999)}.ste-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;background:var(--theme-surface, #2a2a2a);border-top:1px solid var(--theme-border, #444)}.ste-btn{min-width:78px;height:26px;border:1px solid var(--theme-border, #acacac);background:var(--theme-bg, #f0f0f0);color:var(--theme-text, #1a1a1a);border-radius:0;font-size:12px;cursor:pointer}.ste-btn:hover{background:var(--theme-hover, #454545)}.ste-btn-primary{background:#0067c0;border-color:#0067c0;color:#fff}.ste-btn-primary:hover{background:#0078d4}.sp-scale{display:flex;align-items:center;gap:6px;padding:4px 8px 6px;font-size:12px}.sp-scale label{color:var(--text-secondary, #666)}.sp-scale .sp-scale-combo{width:72px}.schedule-modeless{position:fixed;inset:120px 20px auto auto;transform:none;width:440px;max-height:55vh;z-index:900;display:flex;flex-direction:column;font-size:11px;color:var(--theme-text, #333);resize:both;overflow:hidden}.schedule-header-btn{height:100%;padding:0 8px;font-size:10px;font-weight:600;background:transparent;color:var(--theme-text-secondary, #666);border:none;cursor:default}.schedule-header-btn:hover{background:var(--theme-hover, rgba(0,0,0,.06));color:var(--theme-text, #333)}.schedule-templates{padding:6px 10px;border-bottom:1px solid var(--theme-border, #ddd);background:var(--theme-bg, #fafafa)}.schedule-template-row{display:flex;align-items:center;justify-content:space-between;padding:2px 0}.schedule-template-name{cursor:default;color:var(--theme-accent, #0066cc)}.schedule-template-name:hover{text-decoration:underline}.schedule-btn-sm{height:20px;padding:0 8px;font-size:10px;background:var(--theme-bg, #e8e8e8);color:var(--theme-text, #333);border:1px solid var(--theme-border, #ccc);cursor:default}.schedule-btn-sm:hover{background:var(--theme-hover, #ddd)}.schedule-btn-sm:disabled{opacity:.4;cursor:default}.schedule-btn-xs{width:16px;height:16px;font-size:10px;background:transparent;color:var(--theme-text-secondary, #999);border:none;cursor:default;display:flex;align-items:center;justify-content:center}.schedule-btn-xs:hover{color:#e81123}.schedule-filters{display:flex;gap:4px;padding:6px 10px;border-bottom:1px solid var(--theme-border, #ddd);flex-shrink:0}.schedule-select{height:22px;font-size:10px;background:var(--theme-surface, #fff);color:var(--theme-text, #333);border:1px solid var(--theme-border, #ccc);padding:0 4px}.schedule-input{height:22px;font-size:10px;background:var(--theme-surface, #fff);color:var(--theme-text, #333);border:1px solid var(--theme-border, #ccc);padding:0 6px;outline:none;min-width:0}.schedule-input:focus{border-color:var(--theme-accent, #0078d4)}.schedule-body{flex:1;overflow-y:auto;min-height:0}.schedule-empty{padding:20px;text-align:center;color:var(--theme-text-secondary, #999)}.schedule-group{border-bottom:1px solid var(--theme-border, #eee)}.schedule-group-header{display:flex;align-items:center;justify-content:space-between;padding:4px 10px;background:var(--theme-bg, #f8f8f8);font-weight:600;font-size:10px;color:var(--theme-text-secondary, #555);text-transform:uppercase;letter-spacing:.5px}.schedule-group-count{font-weight:400;color:var(--theme-text-secondary, #999)}.schedule-table{width:100%;border-collapse:collapse}.schedule-table th{text-align:left;padding:3px 8px;font-size:9px;font-weight:600;color:var(--theme-text-secondary, #888);text-transform:uppercase;border-bottom:1px solid var(--theme-border, #eee);background:var(--theme-bg, #fcfcfc)}.schedule-table td{padding:3px 8px;border-bottom:1px solid var(--theme-border, #f5f5f5)}.schedule-table tr:hover td{background:var(--theme-hover, #f0f7ff)}.schedule-val{text-align:right;font-variant-numeric:tabular-nums}.schedule-total-row td{font-weight:600;border-top:1px solid var(--theme-border, #ddd);background:var(--theme-bg, #f8f8f8)}.schedule-footer{padding:4px 10px;border-top:1px solid var(--theme-border, #ddd);background:var(--theme-bg, #f5f5f5);font-size:10px;color:var(--theme-text-secondary, #888);flex-shrink:0}.schedule-body::-webkit-scrollbar{width:6px}.schedule-body::-webkit-scrollbar-track{background:transparent}.schedule-body::-webkit-scrollbar-thumb{background:#8080804d;border-radius:3px}.schedule-body::-webkit-scrollbar-thumb:hover{background:#80808080}.q-title{padding:6px 10px 4px;font-weight:600;font-size:12px;text-align:center;border-bottom:1px solid var(--theme-border, #ddd)}.q-table.q-gridlines th,.q-table.q-gridlines td{border:1px solid var(--theme-border, #e2e2e2)}.q-table.q-outline{outline:1px solid var(--theme-border, #bbb)}.q-group-row td{background:var(--theme-bg, #eef2f7);font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:var(--theme-text-secondary, #556);padding:3px 8px}.q-stripe td{background:var(--theme-bg, #fafbfc)}.q-grand td{border-top:2px solid var(--theme-border, #aaa);background:var(--theme-bg, #eef0f3)}.q-props-dialog{position:fixed;top:80px;left:50%;transform:translate(-50%);width:560px;max-height:70vh;z-index:950;display:flex;flex-direction:column;font-size:11px;color:var(--theme-text, #333);overflow:hidden}.q-tabs{display:flex;gap:0;border-bottom:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5);flex-shrink:0}.q-tab{padding:5px 12px;font-size:11px;background:transparent;border:none;border-right:1px solid var(--theme-border, #e0e0e0);cursor:default;color:var(--theme-text-secondary, #555)}.q-tab:hover{background:var(--theme-hover, rgba(0,0,0,.04))}.q-tab.active{background:var(--theme-surface, #fff);color:var(--theme-text, #222);font-weight:600;box-shadow:inset 0 -2px 0 var(--theme-accent, #0078d4)}.q-tab-body{flex:1;overflow-y:auto;padding:10px 12px;min-height:200px}.q-row-label{font-weight:600;margin:6px 0 4px;color:var(--theme-text-secondary, #555)}.q-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 12px;margin-bottom:10px}.q-check{display:flex;align-items:center;gap:5px;cursor:default;padding:2px 0}.q-check input{cursor:default}.q-fields-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:stretch}.q-fields-arrows{display:flex;flex-direction:column;justify-content:center;gap:4px}.q-listbox{border:1px solid var(--theme-border, #ccc);background:var(--theme-surface, #fff);height:180px;overflow-y:auto}.q-listitem{padding:2px 6px;cursor:default}.q-listitem:hover{background:var(--theme-hover, #f0f7ff)}.q-listitem.sel{background:var(--theme-accent, #0078d4);color:#fff}.q-filter-row{display:grid;grid-template-columns:64px 1.4fr 1.4fr 1fr;gap:6px;align-items:center;margin-bottom:4px}.q-and{text-align:right;color:var(--theme-text-secondary, #777)}.q-sep{height:1px;background:var(--theme-border, #ddd);margin:8px 0}.q-format-table{width:100%;border-collapse:collapse}.q-format-table th{text-align:left;font-size:9px;text-transform:uppercase;color:var(--theme-text-secondary, #888);padding:2px 4px;border-bottom:1px solid var(--theme-border, #eee)}.q-format-table td{padding:2px 4px}.q-format-table .schedule-input{width:100%}.q-narrow{width:48px!important}.q-props-footer{padding:6px 12px;border-top:1px solid var(--theme-border, #ddd);background:var(--theme-bg, #f5f5f5);text-align:right;flex-shrink:0}.chat-fab{position:fixed;bottom:36px;right:20px;width:48px;height:48px;border-radius:50%;border:none;background:#d97706;color:#fff;font-size:22px;cursor:pointer;box-shadow:0 4px 12px #00000040;z-index:1000;display:flex;align-items:center;justify-content:center;transition:transform .15s}.chat-fab:hover{transform:scale(1.1);background:#b45309}.chat-floating{position:fixed;bottom:36px;right:20px;width:380px;height:500px;z-index:1000;border-radius:12px;overflow:hidden;box-shadow:0 8px 32px #0000004d}.chat-panel{width:100%;height:100%;display:flex;flex-direction:column;border:1px solid var(--theme-border, #d4d4d4);border-radius:12px;background:var(--theme-bg, #fff)}.chat-header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--theme-border, #d4d4d4);background:linear-gradient(135deg,#d977061a,#f59e0b0a),var(--theme-surface, #f5f5f5)}.chat-header-titles{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.chat-title{font-size:13px;font-weight:700;font-family:var(--ui-font);color:var(--theme-text, #1e1e1e);white-space:nowrap}.chat-subtitle{font-size:10.5px;color:var(--theme-text-secondary, #6b6b6b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-credits{font-size:10.5px;font-weight:600;color:var(--theme-accent, #d97706);background:#d977061f;border-radius:9999px;padding:3px 9px;white-space:nowrap;flex-shrink:0}.chat-close{border:none;background:none;color:var(--theme-text-muted, #9b9b9b);cursor:pointer;font-size:14px;padding:2px 6px;border-radius:3px}.chat-close:hover{background:var(--theme-border, #d4d4d4);color:var(--theme-text, #1e1e1e)}.chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.chat-message{display:flex}.chat-user{justify-content:flex-end}.chat-bubble{max-width:85%;padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.5;word-wrap:break-word;user-select:text;-webkit-user-select:text;cursor:text}.chat-bubble code{background:#0000001a;padding:1px 4px;border-radius:3px;font-size:12px}.chat-user .chat-bubble{background:#d97706;color:#fff;border-bottom-right-radius:4px}.chat-assistant .chat-bubble{background:var(--theme-surface, #f5f5f5);color:var(--theme-text, #1e1e1e);border:1px solid var(--theme-border, #d4d4d4);border-bottom-left-radius:4px}.chat-typing{color:var(--theme-text-muted, #9b9b9b);font-style:italic}.chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}.chat-chip{border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #f5f5f5);color:var(--theme-text-secondary, #6b6b6b);border-radius:9999px;padding:5px 11px;font-size:11.5px;cursor:pointer;transition:all .12s ease;text-align:left}.chat-chip:hover{border-color:var(--theme-accent, #d97706);color:var(--theme-accent, #d97706);background:#d977060f}.chat-input-area{display:flex;gap:6px;padding:8px 12px;border-top:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #f5f5f5)}.chat-input{flex:1;border:1px solid var(--theme-border, #d4d4d4);border-radius:8px;padding:8px 10px;font-size:13px;font-family:inherit;resize:none;background:var(--theme-bg, #fff);color:var(--theme-text, #1e1e1e);outline:none}.chat-input:focus{border-color:#d97706}.chat-input::placeholder{color:var(--theme-text-muted, #9b9b9b)}.chat-send{border:none;background:#d97706;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;align-self:flex-end;flex-shrink:0}.chat-send:hover{background:#b45309}.chat-send:disabled{background:var(--theme-border, #d4d4d4);cursor:not-allowed}.chat-keyrow{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #f5f5f5)}.chat-keyinput{flex:1;border:1px solid var(--theme-border, #d4d4d4);border-radius:6px;padding:6px 8px;font-size:12px;background:var(--theme-bg, #fff);color:var(--theme-text, #1e1e1e);outline:none}.chat-keyinput:focus{border-color:#d97706}.chat-keysave{border:none;background:#d97706;color:#fff;border-radius:6px;padding:6px 12px;font-size:12px;cursor:pointer;flex-shrink:0}.chat-keysave:hover{background:#b45309}.minilog{position:fixed;right:12px;bottom:38px;background:var(--theme-surface, #1e1e1e);border:1px solid var(--theme-border, #d4d4d4);border-radius:0;box-shadow:0 2px 8px #00000059;font-family:var(--ui-font);font-size:11px;z-index:1500;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;overflow:hidden}.minilog--collapsed{width:auto;max-width:360px;min-width:140px}.minilog--expanded{width:300px;height:200px}.minilog-header{display:flex;align-items:center;gap:6px;height:22px;padding:0 0 0 6px;background:linear-gradient(to bottom,#fff,#f5f5f5);border-bottom:1px solid #d4d4d4;color:#333;cursor:default;flex-shrink:0}.minilog-header:hover{background:linear-gradient(to bottom,#fff,#ececec)}.minilog-chevron{font-size:10px;line-height:1;color:#555;width:10px;text-align:center;flex-shrink:0}.minilog-title{font-weight:600;font-size:11px;color:#333;flex-shrink:0}.minilog-preview{font-family:var(--ui-font-mono);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}.minilog-count{font-family:var(--ui-font-mono);font-size:10px;color:#777;margin-left:auto;padding-right:4px}.minilog-close{background:none;border:none;color:#333;cursor:pointer;padding:0;margin:0;line-height:1;width:22px;height:100%;align-self:stretch;display:flex;align-items:center;justify-content:center;border-radius:0;flex-shrink:0;transition:background .1s}.minilog-close:hover{background:#e81123;color:#fff}.minilog-body{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;padding:4px 6px;background:#1e1e1e;font-family:var(--ui-font-mono);font-size:10.5px;line-height:1.35;color:#d4d4d4}.minilog-body::-webkit-scrollbar{width:8px}.minilog-body::-webkit-scrollbar-track{background:#2a2a2a}.minilog-body::-webkit-scrollbar-thumb{background:#555;border-radius:0}.minilog-body::-webkit-scrollbar-thumb:hover{background:#777}.minilog-row{display:flex;gap:6px;padding:1px 0;word-break:break-word}.minilog-time{color:#6b7280;flex-shrink:0;font-variant-numeric:tabular-nums}.minilog-text{flex:1 1 auto;white-space:pre-wrap;overflow-wrap:anywhere}.minilog-empty{color:#6b7280;font-style:italic;text-align:center;padding:8px 0}.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}.status-nav-btn.status-render-findings{width:auto;white-space:nowrap;flex-shrink:0;padding:0 6px}.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.active{background:var(--theme-status-nav-hover);box-shadow:inset 0 0 0 1px var(--theme-status-separator)}.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-label{margin-inline-start:4px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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-viewmode-controls{display:flex;align-items:center;gap:2px;margin-left:8px;padding-left:8px;border-left:1px solid var(--theme-status-separator)}.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-view-rotation{display:flex;align-items:center;gap:3px;margin-left:8px;padding:0 6px;height:20px;background:var(--theme-status-nav-hover);border:none;border-left:1px solid var(--theme-status-separator);border-radius:0;box-shadow:inset 0 0 0 1px var(--theme-status-separator);color:var(--theme-status-nav-text);font-size:11px;cursor:default}.status-view-rotation:hover{background:var(--theme-status-separator)}.status-view-rotation svg{width:12px;height:12px;stroke:var(--theme-status-nav-text)}.status-watch{margin-left:0;margin-right:8px}.status-watch-error{color:#a4262c}.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:4px;right:12px;z-index:1000;background:var(--theme-surface, #ffffff);border:1px solid var(--theme-border, #d4d4d4);box-shadow:0 2px 8px #0003;padding:4px;align-items:flex-start;gap:2px;font-family:var(--ui-font);font-size:12px}.find-bar.visible{display:flex}.find-bar{max-width:calc(100% - 24px);box-sizing:border-box}.find-expand-btn{width:18px;height:18px;border:none;background:transparent;color:var(--theme-text-secondary, #888);display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;cursor:default;align-self:flex-start;margin-top:3px}.find-expand-btn:hover{color:var(--theme-text, #333);background:var(--theme-hover, #e5e5e5)}.find-rows{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.find-row{display:flex;align-items:center;gap:2px}.find-input-wrapper{display:flex;align-items:center;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #ffffff);flex-shrink:1;min-width:90px;height:24px}.find-input-wrapper:focus-within{border-color:var(--theme-accent, #0078d4)}.find-input-wrapper.not-found{border-color:#e81123;background:#e811230f}.find-input{width:180px;min-width:0;padding:0 6px;border:none;background:transparent;font-size:12px;font-family:inherit;color:var(--theme-text, #333);height:100%;outline:none}.find-input::placeholder{color:var(--theme-text-secondary, #999)}.find-count-inline{font-size:10px;color:var(--theme-text-secondary, #888);white-space:nowrap;padding:0 6px;flex-shrink:0;-webkit-user-select:none;user-select:none;min-width:50px;text-align:right}.find-count-inline.is-searching{color:var(--theme-accent, #0078d4)}.replace-input-wrapper{height:24px}.replace-input-wrapper .find-input{width:180px}.find-btn{width:22px;height:22px;border:none;background:transparent;color:var(--theme-text-secondary, #888);display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;cursor:default}.find-btn:hover:not(:disabled){background:var(--theme-hover, #e5e5e5);color:var(--theme-text, #333)}.find-btn:active:not(:disabled){background:var(--theme-active, #d5d5d5)}.find-btn:disabled{opacity:.35}.replace-btn,.replace-all-btn{width:22px;height:22px}.find-separator{width:1px;height:16px;background:var(--theme-border, #d4d4d4);margin:0 2px;flex-shrink:0}.find-toggle-btn{width:24px;height:22px;border:1px solid transparent;background:transparent;color:var(--theme-text-secondary, #888);display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;font-size:12px;font-weight:600;cursor:default;font-family:inherit}.find-toggle-btn:hover{background:var(--theme-hover, #e5e5e5);color:var(--theme-text, #333)}.find-toggle-btn.active{background:var(--theme-accent, #0078d4);color:#fff;border-color:var(--theme-accent, #0078d4)}.find-toggle-btn.active:hover{opacity:.9}.find-close-btn{width:22px;height:22px;border:none;background:transparent;color:var(--theme-text-secondary, #888);display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;margin-left:2px;cursor:default}.find-close-btn:hover{background:#e81123;color:#fff}.find-sources{gap:10px;padding:0 2px}.find-check{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--theme-text, #333);-webkit-user-select:none;user-select:none;cursor:default}.find-check input{width:13px;height:13px;margin:0;cursor:default}.find-sources-hint{font-size:10px;color:var(--theme-text-secondary, #888);white-space:nowrap}.find-results{border-top:1px solid var(--theme-border, #d4d4d4);margin-top:2px;display:flex;flex-direction:column}.find-results-header{display:flex;align-items:center;gap:4px;border:none;background:transparent;color:var(--theme-text, #333);font-family:inherit;font-size:11px;font-weight:600;text-align:left;padding:3px 2px;cursor:default}.find-results-header:hover{background:var(--theme-hover, #e5e5e5)}.find-results-caret{font-size:9px;width:10px;color:var(--theme-text-secondary, #888)}.find-results-list{max-height:max(150px,40vh);overflow-y:auto;display:flex;flex-direction:column}.find-results-row{display:flex;flex-shrink:0;overflow:hidden;align-items:baseline;gap:6px;border:none;border-left:3px solid transparent;background:transparent;color:var(--theme-text, #333);font-family:inherit;font-size:11px;text-align:left;padding:2px 6px 2px 4px;white-space:nowrap;cursor:default}.find-results-row:hover{background:var(--theme-hover, #e5e5e5)}.find-results-row.current{border-left-color:#ff8c00;background:#ffa50024;font-weight:600}.find-results-count,.find-results-kinds{color:var(--theme-text-secondary, #888);font-weight:400}.find-message{position:absolute;top:100%;right:0;margin-top:2px;font-size:11px;color:#e81123;background:var(--theme-surface, #ffffff);border:1px solid #e81123;padding:2px 8px;white-space:nowrap}.search-highlight{position:absolute;background-color:#ff06;pointer-events:none;mix-blend-mode:multiply}.search-highlight.current{background-color:#ffa50099;outline:2px solid #ff8c00}.search-highlight-annotation{background-color:#ffff002e;outline:2px solid rgba(214,187,0,.9);outline-offset:1px}.search-highlight-annotation.current{background-color:#ffa50040;outline-color:#ff8c00}.document-search{min-width:0;max-width:680px;color:var(--theme-text, #222)}.document-search .find-row{flex-wrap:wrap;gap:6px}.document-search section{padding:6px 0;border-top:1px solid var(--theme-border, #d4d4d4)}.document-search section button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}.document-search p{margin:4px 0}.document-search button,.document-search select{color:var(--theme-text, #222);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #d4d4d4);border-radius:0;padding:3px 6px;font:inherit}.document-search button:disabled{opacity:.5}.document-search button:not(:disabled):hover{background:var(--theme-hover, #eee)}[dir=rtl]{direction:rtl;text-align:right}[dir=rtl] input[data-getal]{direction:ltr;text-align:right}[dir=rtl] input:not([data-getal])::placeholder,[dir=rtl] textarea::placeholder{unicode-bidi:plaintext;text-align:start}[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{text-align:right}[dir=rtl] .pref-combo input[type=text].pref-combo-input{direction:ltr;text-align:right;padding:0 6px 0 2px}[dir=rtl] .pref-combo-suffix{padding-right:0;padding-left:2px}[dir=rtl] .pref-combo-arrow{padding:0 0 0 6px}[dir=rtl] .pref-combo-option,[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] .scale-input{direction:ltr;text-align:right}[dir=rtl] .signature-color-label{margin-left:0;margin-right:4px}[dir=rtl] .cad-path{text-align:right}[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 4px;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:space-between;gap:0;padding-top:4px;flex:1 1 auto;min-width:0;max-width:480px}.mobile-toolbar-btn{display:flex;align-items:center;justify-content:center;flex:1 1 0;width:auto;height:44px;min-width:32px;max-width:48px;padding:0;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{flex:0 0 auto;white-space:nowrap;font-size:13px;min-width:48px;text-align:center;font-variant-numeric:tabular-nums;border:none;background:transparent;color:var(--text-primary);cursor:default;padding:4px;border-radius:4px}.mobile-page-info:active{background:var(--hover-bg)}.mobile-toolbar-separator{flex:0 0 1px;width:1px;height:28px;background:var(--border-color);margin:0 2px}.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-tools-item.active{color:#0078d4}.mobile-drawer-item:disabled{opacity:.45}.mobile-app .modal-dialog{max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto}.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[data-getal]{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}
