*{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)}body *:not(.main-view,#pdf-container,#pdf-container *,.compare-view,.compare-view *),.compare-toolbar,.compare-toolbar *{cursor:default!important}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:var(--theme-bg);height:100vh;display:flex;flex-direction:column;overflow:hidden}#app-root{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}[lang=ar],[lang=fa]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Geeza Pro,SF Arabic,Tahoma,Arial,sans-serif}[lang=ur]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Geeza Pro,SF Arabic,Noto Nastaliq Urdu,Tahoma,sans-serif}[lang=he]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial Hebrew,SF Hebrew,Tahoma,Arial,sans-serif}[lang=zh]{font-family:Microsoft YaHei,PingFang SC,Hiragino Sans GB,Noto Sans SC,WenQuanYi Micro Hei,sans-serif}[lang=ja]{font-family:Yu Gothic UI,Meiryo,Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif}[lang=ko]{font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,sans-serif}[lang=hi]{font-family:Nirmala UI,Kohinoor Devanagari,Devanagari MT,Noto Sans Devanagari,Mangal,sans-serif}[lang=bn]{font-family:Nirmala UI,Kohinoor Bangla,Bangla MN,Noto Sans Bengali,Vrinda,sans-serif}[lang=ta]{font-family:Nirmala UI,Kohinoor Tamil,Tamil MN,Noto Sans Tamil,Latha,sans-serif}[lang=th]{font-family:Leelawadee UI,Thonburi,Noto Sans Thai,Tahoma,sans-serif}[lang=vi],[lang=id],[lang=ms],[lang=ru],[lang=uk],[lang=bg],[lang=sr],[lang=el]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}[lang=de],[lang=fr],[lang=es],[lang=pt],[lang=it],[lang=nl]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro Text,Noto Sans,Helvetica Neue,Arial,sans-serif}[lang=pl],[lang=cs],[lang=sk],[lang=ro],[lang=hu],[lang=hr]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}[lang=ca]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro Text,Noto Sans,Helvetica Neue,Arial,sans-serif}[lang=tr],[lang=fi],[lang=sv],[lang=da],[lang=nb],[lang=sw]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro Text,Noto Sans,Arial,sans-serif}:root,[data-theme=light]{--theme-bg: #f7f7f7;--theme-surface: #ffffff;--theme-border: #d4d4d4;--theme-text: #141414;--theme-text-secondary: #5c5c5c;--theme-accent: #7a3d63;--theme-accent-hover: #632f50;--theme-hover: #e6e6e6;--theme-active: #7a3d63;--theme-titlebar-bg-start: #ececec;--theme-titlebar-bg-end: #ececec;--theme-titlebar-border: #d4d4d4;--theme-titlebar-text: #141414;--theme-titlebar-text-secondary: #5c5c5c;--theme-titlebar-btn-color: #3d3d3d;--theme-titlebar-btn-hover: #e6e6e6;--theme-titlebar-btn-active: #dadada;--theme-titlebar-btn-disabled: #7f7f7f;--theme-window-btn-color: #3d3d3d;--theme-window-btn-hover: #e6e6e6;--theme-file-tab-bg: #7a3d63;--theme-file-tab-hover: #632f50;--theme-file-tab-text: #ffffff;--theme-ribbon-bg-start: #ececec;--theme-ribbon-bg-end: #ececec;--theme-ribbon-border: #d4d4d4;--theme-ribbon-tabs-bg-start: #ececec;--theme-ribbon-tabs-bg-end: #ececec;--theme-ribbon-content-bg: #ececec;--theme-ribbon-text: #141414;--theme-ribbon-text-hover: #141414;--theme-ribbon-tab-hover: #e6e6e6;--theme-ribbon-tab-active-bg: #ffffff;--theme-ribbon-tab-active-border: #d4d4d4;--theme-ribbon-btn-hover: #e6e6e6;--theme-ribbon-btn-hover-border: #e6e6e6;--theme-ribbon-btn-active-bg: #f4e9f0;--theme-ribbon-btn-active-border: #d3afc4;--theme-ribbon-btn-active-text: #6b3157;--theme-ribbon-icon-stroke: #3d3d3d;--theme-ribbon-group-label: #5c5c5c;--theme-ribbon-group-border: #e6e6e6;--theme-ribbon-input-bg: #ffffff;--theme-ribbon-input-border: #d4d4d4;--theme-ribbon-input-text: #141414;--theme-ribbon-input-focus-border: #7a3d63;--theme-ribbon-input-focus-bg: #ffffff;--theme-ribbon-input-label: #5c5c5c;--theme-ribbon-dropdown-arrow: #7f7f7f;--theme-ctx-tab-border: #7a3d63;--theme-ctx-tab-text: #6b3157;--theme-ctx-tab-hover-bg: #f4e9f0;--theme-ctx-tab-active-text: #6b3157;--theme-app-menu-bg: #f7f7f7;--theme-app-menu-sidebar: #ececec;--theme-app-menu-sidebar-border: #d4d4d4;--theme-app-menu-text: #141414;--theme-app-menu-item-hover: #e6e6e6;--theme-app-menu-item-hover-text: #141414;--theme-app-menu-icon: #5c5c5c;--theme-app-menu-shortcut: #888888;--theme-app-menu-shortcut-hover: #5c5c5c;--theme-app-menu-divider: #e6e6e6;--theme-tab-bg: #ececec;--theme-tab-border: #d4d4d4;--theme-tab-hover: #e6e6e6;--theme-tab-active-bg: #ffffff;--theme-tab-active-accent: #7a3d63;--theme-tab-text: #5c5c5c;--theme-tab-active-text: #141414;--theme-tab-close-color: #5c5c5c;--theme-tab-modified: #7a3d63;--theme-tab-empty-text: #5c5c5c;--theme-tab-add-color: #5c5c5c;--theme-tab-add-border: #d4d4d4;--theme-tab-add-hover: #e6e6e6;--theme-content-bg: #dadada;--theme-panel-bg: #ffffff;--theme-panel-border: #d4d4d4;--theme-panel-tab-bg: #ececec;--theme-panel-tab-text: #5c5c5c;--theme-panel-tab-hover: #e6e6e6;--theme-panel-tab-hover-text: #141414;--theme-panel-tab-active-bg: #ffffff;--theme-panel-tab-active-text: #141414;--theme-panel-accent: #7a3d63;--theme-panel-header-text: #141414;--theme-panel-toggle-bg: #e6e6e6;--theme-panel-toggle-hover: #dadada;--theme-panel-toggle-text: #141414;--theme-panel-resize: #d4d4d4;--theme-panel-resize-hover: #7a3d63;--theme-thumbnail-bg: #f7f7f7;--theme-thumbnail-hover: #e6e6e6;--theme-thumbnail-active-bg: #f4e9f0;--theme-thumbnail-active-border: #7a3d63;--theme-thumbnail-selected-bg: #f4e9f0;--theme-thumbnail-selected-border: #d3afc4;--theme-thumbnail-selected-label: #4a2140;--theme-thumbnail-label: #5c5c5c;--theme-thumbnail-active-label: #141414;--theme-status-bg: #ececec;--theme-status-border: #d4d4d4;--theme-status-text: #5c5c5c;--theme-status-text-label: #5c5c5c;--theme-status-text-value: #141414;--theme-status-hover: #e6e6e6;--theme-status-separator: #e6e6e6;--theme-status-nav-text: #141414;--theme-status-nav-hover: #e6e6e6;--theme-placeholder-text: #5c5c5c;--theme-placeholder-heading: #5c5c5c;--theme-bookmarks-empty: #7f7f7f;--theme-notifbar-bg: #f4e9f0;--theme-notifbar-border: #d3afc4;--theme-notifbar-text: #141414;--theme-notifbar-icon: #7a3d63;--theme-notifbar-btn-bg: #ffffff;--theme-notifbar-btn-border: #d4d4d4;--theme-notifbar-btn-text: #6b3157;--theme-notifbar-btn-hover-bg: #e6e6e6;--theme-notifbar-btn-hover-border: #d3afc4;--theme-notifbar-close: #5c5c5c;--theme-pdfabar-bg: #fdeceb;--theme-pdfabar-border: #f2b8b5;--theme-pdfabar-text: #141414;--theme-pdfabar-icon: #c4282f;--theme-pdfabar-btn-bg: #ffffff;--theme-pdfabar-btn-border: #f2b8b5;--theme-pdfabar-btn-text: #c4282f;--theme-pdfabar-btn-hover-bg: #fadad8;--theme-pdfabar-btn-hover-border: #c4282f;--theme-pdfabar-close: #5c5c5c;--theme-accent-soft: #f4e9f0;--theme-accent-text: #6b3157;--theme-on-accent: #ffffff;--theme-input-border: #d4d4d4;--theme-input-bg: #ffffff;--theme-text-muted: #5c5c5c;--theme-ribbon-text-secondary: #5c5c5c;--theme-ribbon-separator: #e6e6e6;--theme-ribbon-btn-bg: transparent;--theme-ribbon-btn-hover-bg: #e6e6e6;--theme-success-bg: #e8f7ee;--theme-success-border: #a8dcb9;--theme-success-text: #1e7a43;--theme-error-bg: #fdeceb;--theme-error-border: #f2b8b5;--theme-error-text: #b42318;--theme-error: #d70015;--theme-warning: #b25000;--theme-app-menu-border: #d4d4d4;--theme-pref-border: #d4d4d4}[data-theme=dark],[data-theme=default],[data-theme=blue],[data-theme=amber-navy],[data-theme=warm-ember]{--theme-bg: #181818;--theme-surface: #141414;--theme-border: #333333;--theme-text: #f5f5f5;--theme-text-secondary: #a3a3a3;--theme-accent: #9c5f83;--theme-accent-hover: #b07799;--theme-hover: #2b2b2b;--theme-active: #9c5f83;--theme-titlebar-bg-start: #1c1c1c;--theme-titlebar-bg-end: #1c1c1c;--theme-titlebar-border: #333333;--theme-titlebar-text: #f5f5f5;--theme-titlebar-text-secondary: #a3a3a3;--theme-titlebar-btn-color: #d4d4d4;--theme-titlebar-btn-hover: #2b2b2b;--theme-titlebar-btn-active: #3a3a3a;--theme-titlebar-btn-disabled: #707070;--theme-window-btn-color: #d4d4d4;--theme-window-btn-hover: #2b2b2b;--theme-file-tab-bg: #9c5f83;--theme-file-tab-hover: #b07799;--theme-file-tab-text: #ffffff;--theme-ribbon-bg-start: #1c1c1c;--theme-ribbon-bg-end: #1c1c1c;--theme-ribbon-border: #333333;--theme-ribbon-tabs-bg-start: #1c1c1c;--theme-ribbon-tabs-bg-end: #1c1c1c;--theme-ribbon-content-bg: #1c1c1c;--theme-ribbon-text: #f5f5f5;--theme-ribbon-text-hover: #f5f5f5;--theme-ribbon-tab-hover: #2b2b2b;--theme-ribbon-tab-active-bg: #141414;--theme-ribbon-tab-active-border: #333333;--theme-ribbon-btn-hover: #2b2b2b;--theme-ribbon-btn-hover-border: #262626;--theme-ribbon-btn-active-bg: #3f2736;--theme-ribbon-btn-active-border: #8e5a79;--theme-ribbon-btn-active-text: #e2c3d5;--theme-ribbon-icon-stroke: #d4d4d4;--theme-ribbon-group-label: #a3a3a3;--theme-ribbon-group-border: #262626;--theme-ribbon-input-bg: #141414;--theme-ribbon-input-border: #333333;--theme-ribbon-input-text: #f5f5f5;--theme-ribbon-input-focus-border: #c48fae;--theme-ribbon-input-focus-bg: #141414;--theme-ribbon-input-label: #a3a3a3;--theme-ribbon-dropdown-arrow: #707070;--theme-ctx-tab-border: #c48fae;--theme-ctx-tab-text: #e2c3d5;--theme-ctx-tab-hover-bg: #3f2736;--theme-ctx-tab-active-text: #e2c3d5;--theme-app-menu-bg: #181818;--theme-app-menu-sidebar: #1c1c1c;--theme-app-menu-sidebar-border: #333333;--theme-app-menu-text: #f5f5f5;--theme-app-menu-item-hover: #2b2b2b;--theme-app-menu-item-hover-text: #f5f5f5;--theme-app-menu-icon: #a3a3a3;--theme-app-menu-shortcut: #8f8f8f;--theme-app-menu-shortcut-hover: #a3a3a3;--theme-app-menu-divider: #262626;--theme-tab-bg: #1c1c1c;--theme-tab-border: #333333;--theme-tab-hover: #2b2b2b;--theme-tab-active-bg: #141414;--theme-tab-active-accent: #c48fae;--theme-tab-text: #a3a3a3;--theme-tab-active-text: #f5f5f5;--theme-tab-close-color: #a3a3a3;--theme-tab-modified: #c48fae;--theme-tab-empty-text: #a3a3a3;--theme-tab-add-color: #a3a3a3;--theme-tab-add-border: #333333;--theme-tab-add-hover: #2b2b2b;--theme-content-bg: #0b0b0b;--theme-panel-bg: #141414;--theme-panel-border: #333333;--theme-panel-tab-bg: #1c1c1c;--theme-panel-tab-text: #a3a3a3;--theme-panel-tab-hover: #2b2b2b;--theme-panel-tab-hover-text: #f5f5f5;--theme-panel-tab-active-bg: #141414;--theme-panel-tab-active-text: #f5f5f5;--theme-panel-accent: #c48fae;--theme-panel-header-text: #f5f5f5;--theme-panel-toggle-bg: #2b2b2b;--theme-panel-toggle-hover: #3a3a3a;--theme-panel-toggle-text: #f5f5f5;--theme-panel-resize: #333333;--theme-panel-resize-hover: #c48fae;--theme-thumbnail-bg: #181818;--theme-thumbnail-hover: #2b2b2b;--theme-thumbnail-active-bg: #3f2736;--theme-thumbnail-active-border: #c48fae;--theme-thumbnail-selected-bg: #3f2736;--theme-thumbnail-selected-border: #8e5a79;--theme-thumbnail-selected-label: #f0dce8;--theme-thumbnail-label: #a3a3a3;--theme-thumbnail-active-label: #f5f5f5;--theme-status-bg: #1c1c1c;--theme-status-border: #333333;--theme-status-text: #a3a3a3;--theme-status-text-label: #a3a3a3;--theme-status-text-value: #f5f5f5;--theme-status-hover: #2b2b2b;--theme-status-separator: #262626;--theme-status-nav-text: #f5f5f5;--theme-status-nav-hover: #2b2b2b;--theme-placeholder-text: #a3a3a3;--theme-placeholder-heading: #a3a3a3;--theme-bookmarks-empty: #707070;--theme-notifbar-bg: #3f2736;--theme-notifbar-border: #8e5a79;--theme-notifbar-text: #f5f5f5;--theme-notifbar-icon: #9c5f83;--theme-notifbar-btn-bg: #141414;--theme-notifbar-btn-border: #333333;--theme-notifbar-btn-text: #e2c3d5;--theme-notifbar-btn-hover-bg: #2b2b2b;--theme-notifbar-btn-hover-border: #8e5a79;--theme-notifbar-close: #a3a3a3;--theme-pdfabar-bg: #3a1d1f;--theme-pdfabar-border: #6b2b30;--theme-pdfabar-text: #f5f5f5;--theme-pdfabar-icon: #ff6b6b;--theme-pdfabar-btn-bg: #141414;--theme-pdfabar-btn-border: #6b2b30;--theme-pdfabar-btn-text: #ff6b6b;--theme-pdfabar-btn-hover-bg: #4a2428;--theme-pdfabar-btn-hover-border: #ff6b6b;--theme-pdfabar-close: #a3a3a3;color-scheme:dark;--theme-accent-soft: #3f2736;--theme-accent-text: #d6a6c2;--theme-on-accent: #ffffff;--theme-input-border: #333333;--theme-input-bg: #141414;--theme-text-muted: #a3a3a3;--theme-ribbon-text-secondary: #a3a3a3;--theme-ribbon-separator: #262626;--theme-ribbon-btn-bg: transparent;--theme-ribbon-btn-hover-bg: #2b2b2b;--theme-success-bg: #13301f;--theme-success-border: #2c6b43;--theme-success-text: #6fd99a;--theme-error-bg: #3a1d1f;--theme-error-border: #6b2b30;--theme-error-text: #ff8a8a;--theme-error: #ff6961;--theme-warning: #ffb340;--theme-app-menu-border: #333333;--theme-pref-border: #333333}[data-theme=highContrast]{color-scheme:dark;--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;--theme-accent-soft: #003a8c;--theme-accent-text: #ffff00;--theme-on-accent: #000000;--theme-input-border: #ffffff;--theme-input-bg: #1f1f21;--theme-text-muted: #ffff00;--theme-ribbon-text-secondary: #ffffff;--theme-ribbon-separator: #323235;--theme-ribbon-btn-bg: transparent;--theme-ribbon-btn-hover-bg: #38383b;--theme-success-bg: #13301f;--theme-success-border: #2c6b43;--theme-success-text: #6fd99a;--theme-error-bg: #3a1d1f;--theme-error-border: #6b2b30;--theme-error-text: #ff8a8a;--theme-error: #ff6961;--theme-warning: #ffb340;--theme-app-menu-border: #ffffff;--theme-pref-border: #ffffff}.platform-mac[data-theme=light]{--mac-accent: #7a3d63;--mac-accent-hover: #632f50;--mac-accent-soft: rgba(122, 61, 99, .12)}.platform-mac[data-theme=dark]{--mac-accent: #9c5f83;--mac-accent-hover: #b07799;--mac-accent-soft: rgba(196, 143, 174, .18)}.platform-mac[data-theme=light],.platform-mac[data-theme=dark]{--theme-accent: var(--mac-accent);--theme-accent-hover: var(--mac-accent-hover);--theme-file-tab-bg: var(--mac-accent);--theme-file-tab-hover: var(--mac-accent-hover);--theme-ribbon-input-focus-border: var(--mac-accent);--theme-ctx-tab-border: var(--mac-accent);--theme-ctx-tab-hover-bg: var(--mac-accent-soft);--theme-tab-active-accent: var(--mac-accent);--theme-tab-modified: var(--mac-accent);--theme-panel-accent: var(--mac-accent);--theme-panel-resize-hover: var(--mac-accent);--theme-thumbnail-active-border: var(--mac-accent)}.platform-mac[data-theme=dark]{--theme-ctx-tab-text: #e2c3d5;--theme-tab-modified: #c48fae;--theme-tab-active-accent: #c48fae;--theme-thumbnail-active-border: #c48fae;--theme-panel-accent: #c48fae;--theme-ctx-tab-border: #c48fae}.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{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:.6}.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:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);border:none;padding:6px 16px;font-size:12px;border-radius:3px;cursor:pointer;transition:background .2s;font-weight:500}.title-btn:hover{background:var(--theme-accent, #7a3d63)}.title-btn.secondary{background:var(--theme-bg, #6b7280)}.title-btn.secondary:hover{background:#4b5563}.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}.platform-mac .title-bar .window-controls{display:none}.platform-mac .title-bar .title-bar-left{padding-left:76px}.platform-mac .title-bar{height:34px}@media(max-width:1100px){.title-bar-center{position:static;transform:none;flex:1;min-width:0;justify-content:center;overflow:hidden;padding:0 12px}.title-bar-center .file-name,.title-bar-center .app-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-bar-left,.window-controls{flex-shrink:0}}.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 var(--theme-accent, #7a3d63);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:.6;cursor:default}.open-panel-nav-item.active{background:var(--theme-ribbon-btn-active-bg, #cde6fc);color:var(--theme-text, #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-text)}.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:var(--theme-on-accent);border:none;font-size:12px;cursor:pointer}.session-save-btn:hover:not(:disabled){background:var(--theme-accent-hover)}.session-save-btn:disabled{opacity:.6;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:var(--theme-on-accent);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:.6;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:var(--theme-on-accent);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-text);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, #7a3d63);color:var(--theme-on-accent);border:1px solid var(--theme-accent, #7a3d63);font-size:12px;font-weight:500;cursor:default}.ribbon-signin-btn:hover{background:var(--theme-accent-hover, #7a3d63)}.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:.6;pointer-events:none}.ribbon-btn-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ribbon-btn-icon svg{width:32px;height:32px;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:.6;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:var(--theme-text-secondary, #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 var(--theme-border, #ccc);background:var(--theme-surface, #fff)}.ribbon-transform-input:focus{border-color:var(--theme-accent, #7a3d63);outline:none}.ribbon-transform-unit{font-size:10px;color:var(--theme-text-secondary, #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:var(--theme-text-secondary, #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 var(--theme-border, #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:.6;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:.6;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:var(--theme-accent)}.ribbon-slider:disabled{opacity:.6;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:absolute;top:100%;left:0;z-index:1000;background:var(--theme-ribbon-content-bg);border:1px solid var(--theme-ribbon-btn-hover-border);box-shadow:0 2px 8px #00000040;min-width:130px;padding:2px 0}.ribbon-split-btn-menu.show{display:block}.ribbon-split-btn-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:5px 12px;border:none;background:none;font-size:11px;color:var(--theme-ribbon-text);cursor:pointer;white-space:nowrap;text-align:left}.ribbon-split-btn-menu-item:hover{background:var(--theme-ribbon-btn-hover)}.ribbon-split-btn-menu-item svg{stroke:var(--theme-ribbon-icon-stroke);flex-shrink:0}.ribbon-dropdown{position:relative}.ribbon-dropdown-arrow{position:absolute;right:2px;bottom:2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--theme-ribbon-dropdown-arrow)}.ribbon-btn:hover .ribbon-dropdown-arrow{border-top-color:var(--theme-ribbon-text-hover)}.ribbon-color-picker-wrapper{position:relative}.ribbon-color-dd-arrow{width:8px;height:5px;margin-left:auto;flex-shrink:0;color:var(--theme-ribbon-text)}.ribbon-color-dropdown{display:none;position: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 var(--theme-border, 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:absolute;top:100%;left:0;z-index:1000;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #ccc);box-shadow:0 4px 12px #0003;padding: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:var(--theme-text-secondary, #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:absolute;top:100%;right:0;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, #7a3d63);color:var(--theme-on-accent);border:1px solid var(--theme-accent, #006cc1)}.measure-apply-btn:hover{filter:brightness(.9)}.measure-apply-btn:disabled{opacity:.6;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{font-size:9px;color:#16a34a}.measure-status-error{font-size:9px;color:#dc2626}.measure-status-warning{font-size:9px;color:var(--theme-accent-text)}.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 var(--theme-border, rgba(128, 128, 128, .4))}.theme-picker-label{flex:1;text-align:left}.theme-picker-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1000;min-width:170px;border:1px solid var(--theme-ribbon-input-border, #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-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, #f4e9f0);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-btn-icon svg.disc-sym *,.disc-gallery-icon svg.disc-sym *{vector-effect:non-scaling-stroke}.ribbon-btn-icon svg.disc-sym *,.disc-gallery-icon svg.disc-sym *{stroke-width:1.3px}.disc-gallery{position:fixed;z-index:1001;width:440px;max-height:60vh;display:flex;flex-direction:column;background:var(--theme-ribbon-content-bg, #fff);color:var(--theme-ribbon-text, #222);border:1px solid var(--theme-ribbon-group-border, #d4d4d4);box-shadow:2px 2px 8px #00000040;font-size:12px}.disc-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid var(--theme-ribbon-group-border, #d4d4d4);font-weight:600}.disc-gallery-head input{width:170px;padding:3px 6px;font:inherit;font-weight:400;background:var(--theme-ribbon-input-bg, #fff);color:var(--theme-ribbon-input-text, #222);border:1px solid var(--theme-ribbon-input-border, #c8c8c8)}.disc-gallery-list{overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:4px}.disc-gallery-item{display:flex;align-items:center;gap:8px;padding:4px 6px;border:1px solid transparent;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.disc-gallery-item:hover:not(:disabled){background:var(--theme-ribbon-btn-hover, #f4e9f0);border-color:var(--theme-ribbon-btn-hover-border, #f4e9f0)}.disc-gallery-item.active{background:var(--theme-ribbon-btn-active-bg, #f4e9f0)}.disc-gallery-icon{flex:0 0 34px;height:26px;display:flex;align-items:center;justify-content:center}.disc-gallery-icon svg{max-width:34px;max-height:26px;width:34px;height:26px;stroke:currentColor}.disc-gallery-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.disc-gallery-empty{padding:10px;color:var(--theme-text-secondary, #666)}.platform-mac .ribbon-btn-icon svg:not(.disc-lt):not(.disc-sym) *{vector-effect:non-scaling-stroke;stroke-width:1.5px}.platform-mac .ribbon-btn.small .ribbon-btn-icon svg:not(.disc-lt):not(.disc-sym) *{stroke-width:1.3px}.mac-toolbar{display:flex;align-items:center;gap:12px;padding:6px 12px;background:var(--theme-ribbon-content-bg, var(--theme-surface, #f6f6f6));border-bottom:1px solid var(--theme-border, rgba(0, 0, 0, .12));min-height:40px;-webkit-app-region:no-drag}.mac-toolbar-spacer{flex:1}.mac-segmented,.mac-discipline-switch{display:inline-flex;padding:2px;gap:2px;border-radius:7px;background:var(--theme-hover, rgba(0, 0, 0, .06));border:.5px solid var(--theme-border, rgba(0, 0, 0, .12));flex-wrap:nowrap}.mac-segment{border:none;background:transparent;color:var(--theme-ribbon-text, var(--theme-text, #1d1d1f));font:inherit;font-size:12.5px;padding:3px 12px;border-radius:5px;cursor:pointer;white-space:nowrap}.mac-segment:hover{background:var(--theme-ribbon-btn-hover, rgba(0, 0, 0, .06))}.mac-segment.active{background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f);font-weight:600;box-shadow:0 .5px 2px #00000040}.mac-segment-ctx{color:var(--theme-accent-text)}.mac-toolbar-group{display:inline-flex;align-items:center;gap:2px}.mac-tb-btn{min-width:26px;height:26px;border:none;border-radius:6px;background:transparent;color:var(--theme-ribbon-text, var(--theme-text, #1d1d1f));font-size:16px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.mac-tb-btn:hover{background:var(--theme-ribbon-btn-hover, rgba(0, 0, 0, .07))}.mac-tb-text{font-size:12.5px;color:var(--theme-ribbon-text, var(--theme-text, #1d1d1f));font-variant-numeric:tabular-nums;min-width:52px;text-align:center}.mac-tb-zoom{min-width:56px}.mac-search{display:inline-flex;align-items:center;gap:6px;width:180px;height:26px;padding:0 9px;border-radius:7px;border:.5px solid var(--theme-border, rgba(0, 0, 0, .15));background:var(--theme-ribbon-input-bg, rgba(0, 0, 0, .04));color:var(--theme-text-secondary, #8e8e93);font:inherit;font-size:12.5px;cursor:text}.mac-discipline-switch .mac-segment{font-size:12px;padding:4px 10px}@media(max-width:1100px){.mac-search{width:110px}}.disc-status-switch{display:flex;flex-direction:column;gap:1px;padding:0}.disc-status-option{display:flex;align-items:center;gap:6px;height:21px;padding:0 8px 0 4px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--theme-ribbon-text, var(--theme-text));font:inherit;font-size:11.5px;cursor:pointer;white-space:nowrap}.disc-status-option:hover{background:var(--theme-ribbon-btn-hover)}.disc-status-option.active{background:var(--theme-ribbon-btn-active-bg, var(--theme-hover));color:var(--theme-ribbon-btn-active-text, var(--theme-text));border-color:var(--theme-accent);font-weight:600}.disc-status-icon{display:inline-flex;width:22px;height:12px}.disc-status-icon svg{width:22px;height:12px;stroke:currentColor}.disc-tile{display:inline-flex;align-items:center;justify-content:center;color:var(--theme-ribbon-icon-stroke, var(--theme-ribbon-text));flex:none}.ribbon-btn-icon:has(.disc-tile){width:auto;height:auto}.ribbon-btn:not(.small) .disc-tile{width:38px;height:30px}.ribbon-btn.small .disc-tile{width:24px;height:18px}.ribbon-btn .disc-tile svg,.disc-gallery-icon .disc-tile svg{width:92%;height:92%;max-width:none;max-height:none}.disc-tile svg.disc-lt{width:100%;height:100%}.disc-gallery-icon .disc-tile{width:40px;height:30px}.disc-tile svg[stroke="#000"],.disc-tile svg [stroke="#000"]{stroke:currentColor}.disc-tile svg [fill="#000"]{fill:currentColor}.disc-tile svg [fill="#fff"]{fill:var(--theme-ribbon-content-bg, transparent)}.disc-tile svg [stroke="#fff"]{stroke:var(--theme-ribbon-content-bg, transparent)}.disc-tile svg.disc-sym *{vector-effect:non-scaling-stroke;stroke-width:1.5px}.ribbon-btn.small .disc-tile svg.disc-sym *{stroke-width:1.2px}.disc-tile svg.disc-sym text{font-weight:600;stroke:none}.ribbon-btn.active .disc-tile{color:var(--theme-ribbon-btn-active-text, var(--theme-accent))}.disc-tab .ribbon-btn:not(.small){width:64px;min-width:64px}.disc-tab .ribbon-btn:not(.small) .ribbon-btn-label{max-width:62px}.disc-tab .ribbon-btn:not(.small) .disc-tile{width:40px;height:32px}.disc-tab .ribbon-btn:not(.small) .ribbon-btn-icon:not(:has(.disc-tile)){height:32px}.disc-tile svg.disc-tool{width:80%;height:80%}.disc-tile svg.disc-tool *{vector-effect:non-scaling-stroke}.disc-system-switch{display:grid;grid-template-columns:auto auto;column-gap:2px}.disc-system-dot{width:10px;height:10px;border-radius:50%;flex:none;box-shadow:0 0 0 1px #0003}.disc-tab .ribbon-btn:not(.small) .ribbon-btn-label{font-size:10px;-webkit-hyphens:auto;hyphens:auto}.ribbon-group-collapsed{flex:none}.ribbon-collapsed-btn{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;min-width:64px;height:66px;padding:3px 6px 1px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--theme-ribbon-text);font:inherit;cursor:pointer}.ribbon-collapsed-btn:hover{background:var(--theme-ribbon-btn-hover)}.ribbon-collapsed-btn.open{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border)}.ribbon-collapsed-icon{display:flex;flex:none;width:36px;height:36px;align-items:center;justify-content:center;color:var(--theme-ribbon-icon-stroke, currentColor)}.ribbon-collapsed-icon svg{width:32px;height:32px;stroke:var(--theme-ribbon-icon-stroke)}.ribbon-collapsed-btn:hover .ribbon-collapsed-icon svg{stroke:var(--theme-ribbon-text-hover)}.platform-mac .ribbon-collapsed-icon svg:not(.disc-lt):not(.disc-sym) *{stroke-width:1.5px}.ribbon-collapsed-icon .disc-tile{width:38px;height:30px}.ribbon-collapsed-icon .disc-tile svg{width:100%;height:100%}.disc-tab .ribbon-collapsed-icon,.disc-tab .ribbon-collapsed-icon .disc-tile{width:40px;height:32px}.ribbon-collapsed-text{display:flex;align-items:center;gap:3px}.ribbon-collapsed-label{font-size:10px;line-height:1.15;text-align:center;white-space:nowrap}.ribbon-collapsed-chevron{display:flex;flex:none;opacity:.8}.ribbon-collapsed-chevron svg{width:6px;height:5px}.mac-ai-btn{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;margin-inline-end:6px;border-radius:7px;border:.5px solid var(--theme-border);background:var(--theme-ribbon-input-bg);color:var(--theme-text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.mac-ai-btn:hover{background:var(--theme-hover)}.mac-ai-btn.active{color:var(--theme-on-accent);background:var(--theme-accent);border-color:var(--theme-accent)}.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-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:var(--theme-hover, rgba(0, 120, 215, .12));box-shadow:inset 0 0 0 2px var(--theme-tab-active-accent, #7a3d63)}.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, #7a3d63);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)}.document-tabs-row{display:flex;flex:none;min-width:0;background:var(--theme-tab-bg)}.document-tabs-row>.document-tabs{flex:1;min-width:0}.document-save-status{display:flex;align-items:center;gap:8px;padding:0 8px;flex:none;max-width:55%;font-size:11px;color:var(--theme-text);border-bottom:1px solid var(--theme-tab-border);border-left:1px solid var(--theme-tab-border)}.document-save-status>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-save-status button{cursor:default;flex:none;font:inherit;color:var(--theme-text);background:var(--theme-bg);border:1px solid var(--theme-border);padding:2px 7px;border-radius:0}.document-save-status[data-state=unsaved],.document-save-status[data-state=new]{font-weight:600}.document-save-status[data-state=failed],.document-save-status .backup-warning{color:var(--theme-error, #c0392b);font-weight:600}.document-save-status button:focus-visible{outline:2px solid var(--theme-accent, #0078d4);outline-offset:1px}.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,var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #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,var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #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:.6}.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}.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:flex;flex-direction:column;gap:4px;outline:none}.thumbnail-item{display:flex;flex-direction:column;align-items:center;padding:4px;background:var(--theme-thumbnail-bg);border:2px solid transparent;border-radius:4px;cursor:pointer;transition:all .15s}.thumbnail-item:hover{background:var(--theme-thumbnail-hover)}.thumbnail-item.selected{background:var(--theme-thumbnail-selected-bg);border-color:var(--theme-thumbnail-selected-border)}.thumbnail-item.selected .thumbnail-label{color:var(--theme-thumbnail-selected-label)}.thumbnail-item.active{border-color:var(--theme-thumbnail-active-border);background:var(--theme-thumbnail-active-bg)}.thumbnail-item.active.selected{border-color:var(--theme-thumbnail-active-border)}.thumbnail-canvas{display:block;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:var(--theme-hover, #e0e0e0)}.thumbnail-spinner{width:24px;height:24px;border:3px solid var(--theme-border, #ccc);border-top:3px solid #666;border-radius:50%;animation:spin 1s linear infinite}.thumbnail-label{margin-top:6px;font-size:11px;color:var(--theme-thumbnail-label)}.thumbnail-item.active .thumbnail-label{color:var(--theme-thumbnail-active-label)}.thumbnail-item.dragging{opacity:.4}.thumbnail-item.drop-before{border-top:3px solid var(--theme-accent, #7a3d63)}.thumbnail-item.drop-after{border-bottom:3px solid var(--theme-accent, #7a3d63)}.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:var(--theme-bg, #f0f0f0);border:1px solid var(--theme-border, #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:var(--theme-bg, #c0c0c0);border:1px solid var(--theme-border, #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:var(--theme-hover, #a0a0a0);border-color:#707070}.canvas-scrollbar-thumb:active{background:var(--theme-bg, #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;color:var(--theme-text-secondary)}#placeholder h2{font-size:24px;margin-bottom:8px;font-weight:600;color:var(--theme-placeholder-heading)}#placeholder p{font-size:16px}#placeholder p.placeholder-note{font-size:13px;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:var(--theme-hover, rgba(0, 0, 0, .7));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}#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}.continuous-container canvas.pdf-canvas-sharp{box-shadow:none}.edit-text-block-hover{background:#7a3d6326;outline:1px solid rgba(122,61,99,.3)}.pdf-text-editor{box-sizing:border-box;border:0;outline:1px solid var(--theme-accent);background:#fff;padding:0;margin:0;resize:none;overflow:hidden;color:#000;white-space:pre;word-break:normal;box-shadow:0 0 0 1px #7a3d634d}.text-edit-delete-btn{width:100%;padding:4px 8px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5);color:#b00020;cursor:pointer;font-size:12px}.text-edit-delete-btn:hover{background:#e81123;border-color:#e81123;color:#fff}.start-actions{margin-top:22px;display:flex;flex-direction:column;align-items:center;gap:18px;-webkit-user-select:none;user-select:none}.start-buttons{display:flex;gap:10px}.start-btn{min-width:120px;padding:7px 18px;font:inherit;font-size:13px;color:var(--theme-text, #222);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #c8c8c8);cursor:pointer}.start-btn:hover{border-color:var(--theme-accent, #7a3d63)}.start-btn-primary{background:var(--theme-accent, #7a3d63);border-color:var(--theme-accent, #7a3d63);color:var(--theme-on-accent)}.start-btn-primary:hover{background:var(--theme-accent-hover, #7a3d63)}.start-recent{width:min(520px,80vw);display:flex;flex-direction:column;text-align:left}.start-recent-title{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:0 8px 4px}.start-recent-item{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:5px 8px;font:inherit;color:var(--theme-text, #222);background:transparent;border:1px solid transparent;cursor:pointer;text-align:left;min-width:0}.start-recent-item:hover{background:var(--theme-hover, rgba(0, 120, 215, .08));border-color:var(--theme-border, #c8c8c8)}.start-recent-name{font-size:13px}.start-recent-folder{font-size:11px;color:var(--theme-text-secondary, #6e6e73);max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;direction:rtl}.platform-mac .left-panel-toggle{top:6px;bottom:auto}.platform-mac .left-panel-tabs{padding-top:30px}.page-badge{position:fixed;transform:translate(-50%,6px);padding:5px 12px;border-radius:999px;background:#1e1e20d1;color:#fff;font-size:12.5px;font-weight:500;letter-spacing:.01em;pointer-events:none;z-index:900;opacity:0;transition:opacity .16s ease-out,transform .16s ease-out;box-shadow:0 2px 8px #00000040;white-space:nowrap}.page-badge.visible{opacity:1;transform:translate(-50%)}@media(prefers-reduced-motion:reduce){.page-badge{transition:none}}input::placeholder,textarea::placeholder{color:var(--theme-text-secondary);opacity:1}.continuous-container.zoom-in-progress .textLayer{content-visibility:hidden}.workspace-panel-strip{display:flex;flex:none;gap:2px;height:34px;box-sizing:border-box;overflow-x:auto;padding:2px 6px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-bg)}.workspace-panel-strip button{flex:none;padding:3px 10px;border:1px solid transparent;border-radius:0;background:transparent;color:var(--theme-text);font:inherit;font-size:12px;cursor:default;white-space:nowrap}.workspace-panel-strip button.active{border-color:var(--theme-accent);background:var(--theme-accent-soft);color:var(--theme-accent-text)}.workspace-panel-strip button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:-2px}.workspace-panel-strip .workspace-panel-close{margin-left:auto;font-size:18px}.workspace-panel-close:hover{background:#e81123;color:#fff}.content.compact-workspace>[data-workspace-panel]{display:none!important}.content.compact-workspace>[data-workspace-panel][data-compact-active]{display:flex!important;flex-direction:column;position:absolute!important;z-index:40;inset:0 0 0 auto!important;width:min(340px,calc(100% - 48px))!important;min-width:0!important;max-width:calc(100% - 48px)!important;height:100%!important;margin:0!important;box-shadow:-3px 0 10px #0003;background:var(--theme-panel-bg);border-left:1px solid var(--theme-panel-border);overflow:auto;transition:none}.content.compact-workspace>.left-panel[data-compact-active]{flex-direction:row}.content.compact-workspace>.properties-panel-outer .properties-panel{width:100%;min-width:0}.content.compact-workspace>.chat-floating .chat-panel{width:100%;height:100%}.content.compact-workspace .kp-resize-sida,.content.compact-workspace .sp-grip,.content.compact-workspace .tp-grip{display:none}.content.compact-workspace>[data-workspace-panel] .panel-resize-handle{display:none}.content.compact-workspace>.panel-resize-handle{display:none}.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;--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:#0078ff47}.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}.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:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--theme-text, #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 var(--theme-border, #d4d4d4);background:var(--theme-surface, #ffffff);color:var(--theme-text, #1d1d1f);cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.form-validation-ok-btn:hover{background:var(--theme-hover, #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:Consolas,Courier New,monospace;-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:var(--theme-on-accent);cursor:pointer;font-size:12px;border-radius:0}.prop-reply-add-btn:hover{opacity:.9}.property-group{display:flex;flex-direction:row;align-items:center;gap:4px;margin-bottom:3px;padding:0 8px}.property-group label{font-size:11px;color:var(--theme-text-secondary);font-weight:500;text-align:right;width:70px;flex-shrink:0;-webkit-user-select:none;user-select:none}.property-group input[type=color],.property-group input[type=number],.property-group input[type=text],.property-group textarea,.property-group select{flex:1;padding:2px 4px;border:1px solid var(--theme-border);border-radius:2px;font-size:11px;font-family:inherit;background-color:var(--theme-surface);color:var(--theme-text);box-sizing:border-box;margin:0}.property-group textarea{resize:vertical;min-height:40px;height:auto}.property-group-full{grid-template-columns:1fr}.property-group-full label{text-align:left;margin-bottom:4px}.property-actions{display:flex;gap:8px;margin-top:0;padding:8px;border-top:1px solid var(--theme-border)}.property-section{margin:0;padding:0 0 4px}.property-section:first-of-type{padding-top:0}.property-section:first-of-type .property-section-header{border-top:none}.property-section:last-of-type{margin:0}.property-section-header{font-size:11px;font-weight:600;color:var(--theme-text);text-transform:uppercase;letter-spacing:.5px;margin:0;padding:4px 8px;background:linear-gradient(to bottom,var(--theme-panel-tab-bg) 0%,var(--theme-hover) 100%);border-top:1px solid var(--theme-border);border-bottom:1px solid var(--theme-border);border-left:none;border-right:none;border-radius:0;cursor:pointer;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none}.property-section-header .collapse-arrow{font-size:8px;transition:transform .15s;color:var(--theme-text-secondary)}.property-section.collapsed .property-section-header .collapse-arrow{transform:rotate(-90deg)}.property-section-content{overflow:visible}.property-section.collapsed .property-section-content{display:none}.property-group-row{display:grid;grid-template-columns:90px 1fr;gap:8px;margin-bottom:8px;padding:0 8px}.property-group-row>label{font-size:12px;color:var(--theme-text-secondary);font-weight:500;text-align:right;padding-right:4px;align-self:start;padding-top:4px}.property-group-row .property-dates-values{display:flex;flex-direction:column;gap:4px}.property-half{display:flex;align-items:center;gap:6px}.property-half label{font-size:11px;color:var(--theme-text-secondary);font-weight:500;min-width:50px}.property-half input{flex:1;padding:3px 6px;border:1px solid var(--theme-border);border-radius:3px;font-size:11px;font-family:inherit;background:var(--theme-surface);color:var(--theme-text)}.prop-date{background:var(--theme-panel-tab-bg);color:var(--theme-text-secondary);font-size:10px!important}.text-style-buttons{display:flex;gap:4px}.text-style-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;cursor:pointer;font-size:13px;font-family:Georgia,serif;color:var(--theme-text);transition:all .15s}.text-style-btn:hover{background:var(--theme-hover);border-color:var(--theme-text-secondary)}.text-style-btn.active{background:var(--theme-active);border-color:var(--theme-active);color:var(--theme-on-accent)}.text-align-buttons{display:flex;gap:4px}.text-align-btn{width:32px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;cursor:pointer;transition:all .15s}.text-align-btn svg{width:16px;height:16px;stroke:var(--theme-text)}.text-align-btn:hover{background:var(--theme-hover);border-color:var(--theme-text-secondary)}.text-align-btn.active{background:var(--theme-active);border-color:var(--theme-active)}.text-align-btn.active svg{stroke:#fff}.color-input-wrapper{display:flex;align-items:center;gap:8px}.color-input-wrapper input[type=color]{width:40px;height:28px;padding:2px;border:1px solid var(--theme-border);border-radius:3px;cursor:pointer}.color-hex{font-size:11px;color:var(--theme-text-secondary);font-family:Consolas,Monaco,monospace}.color-palette-wrapper{position:relative;flex:1}.color-picker-button{display:flex;align-items:center;gap:6px;padding:2px 6px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:2px;cursor:pointer;transition:border-color .15s;width:100%;height:22px}.color-picker-button:hover{border-color:var(--theme-text-secondary)}.color-picker-button:disabled{opacity:.6;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 var(--theme-border, rgba(0, 0, 0, .2));border-radius:2px;flex-shrink:0}.color-picker-button .color-hex{font-size:11px;color:var(--theme-text);font-family:Consolas,Monaco,monospace;flex:1}.color-picker-button .dropdown-arrow{width:12px;height:12px;color:var(--theme-text-secondary)}.color-palette-dropdown{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:4px;box-shadow:0 4px 12px #00000026;padding:6px;z-index:100;display:none}.color-palette-dropdown .color-palette{justify-content:center}.color-palette-dropdown.show{display:block}.color-palette{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;margin-bottom:8px}.color-swatch{width:100%;aspect-ratio:1;border:1px solid var(--theme-border, 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:.6;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}.prop-path{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;direction:rtl;text-align:left}.platform-mac .property-section-header{text-transform:none;letter-spacing:0;font-size:12px;font-weight:700;background:transparent;border-top:1px solid var(--theme-border);border-bottom:none;padding:10px 10px 4px}.platform-mac .property-group{margin-bottom:5px;padding:0 10px}.platform-mac .property-group label{font-size:12px;width:84px}.platform-mac .property-group input[type=number],.platform-mac .property-group input[type=text],.platform-mac .property-group textarea,.platform-mac .property-group select{font-size:12px;border-radius:5px;padding:3px 6px}.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:var(--theme-text-secondary, #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:var(--theme-text, #555)}.annotations-menu-icon svg{width:14px;height:14px}.annotations-menu-item.disabled .annotations-menu-icon{opacity:.6}.annotations-menu-label{flex:1;white-space:nowrap}.annotations-menu-arrow{width:12px;height:12px;flex-shrink:0;opacity:.6}.annotations-menu-shortcut{color:var(--theme-text-secondary, #999);font-size:11px;margin-left:16px;white-space:nowrap}.annotations-menu-separator{height:1px;background:var(--theme-hover, #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:.75;cursor:default}.attachments-toolbar-btn svg{width:14px;height:14px}.attachments-container{flex:1;overflow-y:auto;padding:4px 8px}.attachments-container.drag-over{outline:2px dashed var(--theme-panel-accent);outline-offset:-4px;background:var(--theme-thumbnail-hover)}.attachments-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.attachment-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;cursor:pointer;transition:background .15s;background:var(--theme-thumbnail-bg)}.attachment-list-item:hover{background:var(--theme-thumbnail-hover)}.attachment-list-item.selected{background:var(--theme-thumbnail-active-bg);border-color:var(--theme-thumbnail-active-border)}.attachment-list-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text)}.attachment-list-icon svg{width:16px;height:16px}.attachment-list-info{flex:1;min-width:0;overflow:hidden}.attachment-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-list-desc{font-size:10px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.attachment-list-meta{font-size:10px;color:var(--theme-panel-tab-text)}.attachments-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmarks-toolbar{display:flex;gap:2px;padding:4px 8px;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmarks-toolbar-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-panel-tab-text);cursor:pointer;padding:0}.bookmarks-toolbar-btn:hover:not(:disabled){background:var(--theme-panel-tab-hover);color:var(--theme-panel-tab-hover-text);border-color:var(--theme-panel-border)}.bookmarks-toolbar-btn:disabled{opacity:.75;cursor:default}.bookmarks-toolbar-btn svg{width:14px;height:14px}.bookmarks-container{flex:1;overflow-y:auto;padding:4px 0}.bookmarks-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.bookmark-item{display:flex;align-items:center;padding:3px 8px 3px 0;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:22px}.bookmark-item:hover{background:var(--theme-thumbnail-hover)}.bookmark-item.selected{background:var(--theme-thumbnail-active-bg)}.bookmark-arrow{width:14px;height:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--theme-panel-tab-text);font-size:8px;cursor:pointer}.bookmark-arrow.has-children:hover{color:var(--theme-panel-header-text)}.bookmark-arrow.empty{visibility:hidden}.bookmark-icon{width:14px;height:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:4px;color:var(--theme-panel-tab-text)}.bookmark-icon svg{width:12px;height:12px}.bookmark-title{flex:1;font-size:12px;color:var(--theme-panel-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.bookmark-title.bold{font-weight:700}.bookmark-title.italic{font-style:italic}.bookmark-children{display:block}.bookmark-children.collapsed{display:none}.bookmarks-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.bookmark-dialog-overlay{z-index:10000}.bookmark-dialog{width:360px;max-width:90vw}.bookmark-dialog-body label{display:block;font-size:11px;color:var(--theme-text, #333);margin-bottom:4px;font-weight:500}.bookmark-dialog-body input[type=text],.bookmark-dialog-body input[type=number]{width:100%;padding:4px 6px;font-size:12px;border:1px solid var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);box-sizing:border-box;margin-bottom:12px}.bookmark-dialog-body input[type=text]:focus,.bookmark-dialog-body input[type=number]:focus{outline:none;border-color:var(--theme-accent, #7a3d63)}.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 var(--theme-border, #d4d4d4);background:var(--theme-surface, #fff);color:var(--theme-text, #333);cursor:pointer}.bookmark-dialog-footer button:hover{background:var(--theme-hover, #e8e8e8)}.bookmark-dialog-footer button.primary{background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);border-color:var(--theme-accent, #7a3d63)}.bookmark-dialog-footer button.primary:hover{background:var(--theme-accent, #006cbd)}.signatures-container{flex:1;overflow-y:auto;padding:4px 8px}.signatures-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.signature-list-item{display:flex;align-items:flex-start;gap:8px;padding:8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;background:var(--theme-thumbnail-bg)}.signature-list-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.signature-list-icon svg{width:18px;height:18px}.signature-list-icon.valid{color:#22c55e}.signature-list-icon.invalid{color:#ef4444}.signature-list-icon.unknown{color:var(--theme-panel-tab-text)}.signature-list-info{flex:1;min-width:0;overflow:hidden}.signature-list-name{font-size:12px;font-weight:500;color:var(--theme-panel-header-text)}.signature-list-detail{font-size:10px;color:var(--theme-panel-tab-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signature-list-status{font-size:11px;font-weight:500;margin-top:2px}.signature-list-status.valid{color:#22c55e}.signature-list-status.invalid{color:#ef4444}.signature-list-status.unknown{color:var(--theme-panel-tab-text)}.signatures-count{font-size:11px;color:var(--theme-panel-tab-text);padding:6px 12px;border-top:1px solid var(--theme-panel-border);background:var(--theme-panel-tab-bg);flex-shrink:0}.layers-container{flex:1;overflow-y:auto;padding:4px 8px}.layers-empty{padding:20px;text-align:center;color:var(--theme-panel-tab-text);font-size:12px}.layer-list-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--theme-panel-border);margin-bottom:4px;background:var(--theme-thumbnail-bg)}.layer-list-item:hover{background:var(--theme-thumbnail-hover)}.layer-list-item input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:var(--theme-panel-accent, #7a3d63);flex-shrink:0}.layer-list-toggle{display:flex;flex-shrink:0}.layer-list-item input[type=checkbox]:disabled{cursor:default;margin: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:.75;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:var(--theme-accent-text)}.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, #7a3d63);color:var(--theme-on-accent)}.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, #7a3d63);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:var(--theme-ribbon-btn-active-bg, #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}.page-controls{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--theme-hover, rgba(31, 41, 55, .95));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 var(--theme-border, 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:.6;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 var(--theme-border, rgba(255, 255, 255, .2))}.context-menu{position:fixed;background:var(--theme-surface, #ffffff);border:1px solid var(--theme-border, #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:var(--theme-text, #333);gap:8px}.context-menu-item:hover{background:var(--theme-ribbon-btn-active-bg, #e5f3ff)}.context-menu-item.disabled{color:var(--theme-text-secondary, #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:var(--theme-text-secondary, #666)}.context-menu-label{flex:1;white-space:nowrap}.context-menu-shortcut{color:var(--theme-text-secondary, #888);font-size:11px;margin-left:20px}.context-menu-arrow{color:var(--theme-text-secondary, #666);font-size:8px;margin-left:8px}.context-menu-check{width:16px;text-align:center;color:var(--theme-text, #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:var(--theme-hover, #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:var(--theme-surface, #ffffff);border:1px solid var(--theme-border, #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:var(--theme-ribbon-btn-active-bg, #e5f3ff);border-color:var(--theme-ribbon-btn-active-border, #f4e9f0)}.arrange-icon-btn:active{background:var(--theme-ribbon-btn-active-bg, #f4e9f0)}.arrange-icon-btn svg{width:24px;height:24px}.platform-mac .context-menu{background:var(--theme-surface, #f6f6f6);border:.5px solid var(--theme-border, rgba(0, 0, 0, .2));border-radius:8px;box-shadow:0 8px 24px #00000040;padding:5px;font-size:13px;min-width:200px}.platform-mac .context-menu-item{color:var(--theme-text, #1d1d1f);border-radius:4px;padding:3px 10px 3px 8px}.platform-mac .context-menu-item:hover{background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent)}.platform-mac .context-menu-item:hover .context-menu-icon{color:#fff}.platform-mac .context-menu-item.disabled{display:none}.platform-mac .context-menu-separator{margin:5px 8px}.platform-mac .context-menu-separator+.context-menu-separator,.platform-mac .context-menu>.context-menu-separator:first-child,.platform-mac .context-menu>.context-menu-separator:last-child{display:none}.modal-overlay{position:fixed;inset:0;background:var(--theme-hover, rgba(0, 0, 0, .3));display:none;align-items:center;justify-content:center;z-index:2000}.modal-overlay.visible{display:flex}.modal-dialog{background:var(--theme-surface, #ffffff);border-radius:0;box-shadow:0 2px 10px #0000004d;border:1px solid var(--theme-border, #d4d4d4);display:flex;flex-direction:column;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:0 0 0 10px;border-bottom:1px solid var(--theme-border, #d4d4d4);background:linear-gradient(to bottom,var(--theme-surface, #ffffff) 0%,var(--theme-bg, #f5f5f5) 100%);height:30px;-webkit-user-select:none;user-select:none;cursor:default}.modal-header h2,.modal-header span{margin:0;font-size:12px;font-weight:600;color:var(--theme-text, #333)}.modal-close-btn{background:none;border:none;color:var(--theme-text, #333);cursor:pointer;padding:0;margin:0;line-height:1;width:30px;height:100%;align-self:stretch;display:flex;align-items:center;justify-content:center;border-radius:0;transition:background .1s;flex-shrink:0}.modal-close-btn:hover{background:#e81123;color:#fff}.modal-body{padding:15px}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-top:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f5f5f5)}@keyframes modal-header-flash{0%{filter:brightness(1)}40%{filter:brightness(1.15)}to{filter:brightness(1)}}@keyframes modal-shadow-pulse{0%{box-shadow:0 2px 10px #0000004d}40%{box-shadow:0 4px 20px #00000080}to{box-shadow:0 2px 10px #0000004d}}.modal-dialog.bump{animation:modal-shadow-pulse .15s ease-out}.modal-dialog.bump>.modal-header{animation:modal-header-flash .15s ease-out}.doc-props-value,.update-notes,#text-annot-input,.pref-row input[type=text],.pref-row input[type=number],.new-doc-input,.bs-export-input{-webkit-user-select:text;user-select:text}.doc-props-dialog{width:450px}.doc-props-content{max-height:400px;overflow-y:auto}.doc-props-row{display:flex;margin-bottom:8px;font-size:12px}.doc-props-label{width:120px;color: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-accent-text);border-right-color:var(--theme-active, #7a3d63)}.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-hint{font-size:11px;opacity:.7;color:var(--theme-text, #333)}.pref-row input[type=text],.pref-row input[type=number]{width:100px;padding:3px 6px;border:1px solid var(--theme-border, #acacac);border-radius:0;font-size:11px;font-family:inherit;background:var(--theme-surface, #fff);color:var(--theme-text, #333)}.pref-row input[type=text]:focus,.pref-row input[type=number]:focus{outline:none;border-color:var(--theme-active, #7a3d63)}.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-accent-text);border-bottom-color:var(--theme-active, #7a3d63);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, #7a3d63)}.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, #7a3d63)}.property-group .pref-combo{flex:1;width:auto}.pref-combo.disabled{opacity:.6;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, #7a3d63);color:var(--theme-on-accent)}.pref-combo-option.selected{font-weight:600;background:var(--theme-active, #7a3d63);color:var(--theme-on-accent)}.pref-combo-option.selected:hover{background:var(--theme-active, #7a3d63);color:var(--theme-on-accent)}.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, #7a3d63)}.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, #7a3d63);box-shadow:inset 0 0 0 1px var(--theme-active, #7a3d63)}.pref-btn-primary:hover{background:var(--theme-bg, #d4e9fc);border-color:var(--theme-active, #7a3d63)}.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-text-secondary);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-text-secondary);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:var(--theme-accent-text);flex-shrink:0}.bs-about-feature span{font-size:11px;color:var(--theme-text-secondary);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:var(--theme-accent, #7a3d63);flex-shrink:0}.bs-about-company-desc{font-size:11px;color:var(--theme-text-secondary);margin:0;line-height:1.5}.bs-about-links{display:flex;gap:8px;margin-bottom:20px}.bs-about-link{background:var(--theme-app-menu-sidebar);border:1px solid var(--theme-app-menu-sidebar-border);color:var(--theme-app-menu-icon);padding:8px 14px;font-size:12px;cursor:pointer;transition:background .1s,border-color .1s;text-decoration:none;display:flex;align-items:center;gap:6px}.bs-about-link:hover{background:var(--theme-app-menu-item-hover);border-color:var(--theme-app-menu-shortcut);color:var(--theme-app-menu-item-hover-text)}.bs-about-link svg{width:14px;height:14px}.bs-about-footer{padding-top:12px;border-top:1px solid var(--theme-app-menu-sidebar-border)}.bs-about-copyright{font-size:10px;color:var(--theme-app-menu-shortcut);margin:0 0 2px}.bs-about-license{font-size:10px;color:var(--theme-app-menu-shortcut);margin:0}.extensions-dialog{width:550px;height:450px}.extensions-dialog .dialog-body{display:flex;flex-direction:column;overflow:hidden;height:100%}.extensions-dialog .bs-export-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}.extensions-dialog .bs-export-title{display:none}.extensions-dialog .ext-install-section,.extensions-dialog .ext-divider,.extensions-dialog .ext-section-title,.extensions-dialog .ext-message,.extensions-dialog .ext-empty{flex-shrink:0}.extensions-dialog .ext-list{flex:1;overflow-y:auto;min-height:0}.confirm-dialog{width:380px}.confirm-dialog-body{display:flex;align-items:flex-start;gap:12px;padding:8px 0}.confirm-dialog-icon{flex-shrink:0}.confirm-dialog-message{font-size:13px;color:var(--theme-text);line-height:1.5;margin:4px 0 0}.confirm-dialog-checkbox{display:flex;align-items:center;gap:6px;padding:8px 0;font-size:12px;color:var(--theme-text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.confirm-dialog-checkbox input{margin:0;cursor:pointer}.confirm-dialog-buttons{display:flex;justify-content:flex-end;gap:8px;padding:8px 0 0;border-top:1px solid var(--theme-border)}.confirm-dialog-btn{padding:5px 20px;font-size:12px;border:1px solid var(--theme-border);cursor:pointer;background:var(--theme-surface);color:var(--theme-text)}.confirm-dialog-btn:hover{background:var(--theme-hover)}.confirm-dialog-btn-yes{background:var(--theme-accent);color:var(--theme-on-accent);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:var(--theme-hover, rgba(0, 0, 0, .5));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 var(--theme-border, #e5e7eb);border-top:4px solid var(--theme-accent, #7a3d63);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}.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, #7a3d63)}#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, #f4e9f0);border-color:var(--theme-accent, #7a3d63)}.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, #7a3d63)}.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-text)}.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:var(--theme-accent, #7a3d63);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 var(--theme-border, #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, #7a3d63);box-shadow:inset 0 0 0 1px var(--theme-accent, #7a3d63)}.update-btn-primary:hover{background:var(--theme-hover, #d4e9fc);border-color:var(--theme-accent, #7a3d63)}.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, #7a3d63)}.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, #7a3d63)}.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:var(--theme-accent)}.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-text);border-bottom-color:var(--theme-accent, #7a3d63)}#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, #7a3d63)}.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;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:var(--theme-accent, #7a3d63);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:var(--theme-accent)}.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:var(--theme-accent, #7a3d63)}.bs-export-input:disabled{opacity:.6}.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:var(--theme-accent, #7a3d63)}.bs-export-range-row{display:flex;align-items:center;gap:8px}.bs-export-range{width:180px;accent-color:var(--theme-accent)}.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 var(--theme-accent, #7a3d63);background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);cursor:pointer;border-radius:0;transition:background .1s}.bs-export-btn:hover{background:var(--theme-accent, #7a3d63);border-color:var(--theme-accent, #7a3d63)}.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, #7a3d63)}.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, #7a3d63)}.insert-page-footer-right{display:flex;gap:6px}.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, #7a3d63)}.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, #7a3d63)}.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, #7a3d63)}.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}.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:var(--theme-accent, #7a3d63)}.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:var(--theme-accent)}.extract-pages-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, #7a3d63)}.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-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, #f4e9f0)}.merge-pdfs-file-item.selected{background:var(--theme-active, #f4e9f0)}.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, #7a3d63)}.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, #7a3d63)}.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:var(--theme-text-secondary, #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, #7a3d63);color:var(--theme-on-accent);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, #7a3d63)}.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:var(--theme-accent);margin:0}.print-collate-label{margin-left:12px}.print-zoom-row{margin-left:58px}.print-pages-row{margin-bottom:4px}.print-preview-panel{width:340px;flex-shrink:0;border-left:1px solid 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:Segoe UI Symbol,Segoe UI,sans-serif}.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:.6;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, #7a3d63)}.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:var(--theme-accent)}.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, #7a3d63)}.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-text);border-bottom-color:var(--theme-accent, #7a3d63)}.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}.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:460px}.stamp-pick{display:flex;flex-direction:column;gap:6px;max-height:70vh;overflow-y:auto}.stamp-pick-heading{font-size:12px;font-weight:600;color:var(--theme-text-secondary);margin-top:4px}.stamp-pick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.stamp-pick-btn{border:2px solid var(--stamp-color);background:transparent;color:color-mix(in srgb,var(--stamp-color) 70%,var(--theme-text));padding:7px 10px;cursor:pointer;font-weight:700;font-size:12px;letter-spacing:1px;text-align:center;border-radius:0}.stamp-pick-btn:hover{background:color-mix(in srgb,var(--stamp-color) 12%,transparent)}.stamp-pick-review{display:flex;gap:8px;align-items:stretch}.stamp-pick-review>.stamp-pick-btn{flex:1}.stamp-pick-review-fields{display:flex;flex-direction:column;gap:4px;flex:1}.stamp-pick-review-fields label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-text)}.stamp-pick-review-fields input{flex:1;min-width:0}.stamp-pick-custom{border:2px dashed var(--theme-border);background:transparent;padding:8px 12px;cursor:pointer;font-size:12px;color:var(--theme-text-secondary);border-radius:0;margin-top:4px}.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, #7a3d63);font-weight:600;color:var(--theme-accent-text)}.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, #7a3d63)}.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, #7a3d63)}.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, #7a3d63);background:var(--theme-bg, #f0f7ff);cursor:pointer;font-size:12px;border-radius:0;color:var(--theme-accent-text)}.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, #7a3d63)}.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, #7a3d63);color:var(--theme-on-accent);border-color:var(--theme-active, #7a3d63)}.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, #7a3d63)}.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, #7a3d63);background:var(--theme-bg, #f5f5f5)}.feedback-submit-btn{width:100%;padding:8px;border:1px solid var(--theme-active, #7a3d63);background:var(--theme-active, #7a3d63);color:var(--theme-on-accent);cursor:pointer;font-size:13px;font-family:inherit;border-radius:0}.feedback-submit-btn:hover{opacity:.9}.feedback-submit-btn:disabled{opacity:.6;cursor:not-allowed}.feedback-success{text-align:center;padding:20px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.feedback-success h3{margin:0 0 8px;font-size:16px;color:var(--theme-text, #333)}.feedback-success p{margin:0 0 16px;color:var(--theme-text-secondary, #666);font-size:12px}.feedback-error{color:#f44;font-size:12px;margin-top:8px;text-align:center}.message-dialog-overlay{z-index:3000}.message-dialog{min-width:320px;max-width:460px}.message-dialog-body{padding:16px 20px;font-size:13px;line-height:1.5;color:var(--theme-text, #1a1a1a)}.message-dialog-body p{margin:0}.message-dialog-footer{display:flex;justify-content:flex-end;gap:8px}.sticky-popup{position:fixed;z-index: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:var(--theme-text, #333);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticky-popup-label b{font-weight:700}.sticky-popup-date{font-size:11px;color:var(--theme-text, #555);white-space:nowrap;flex-shrink:0}.sticky-popup-close{background:none;border:none;color:var(--theme-text, #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:-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--theme-text, #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:var(--theme-hover, rgba(0,0,0,.25));border-radius:3px}.sticky-popup-textarea::-webkit-scrollbar-thumb:hover{background:var(--theme-hover, rgba(0,0,0,.4))}.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:var(--theme-text, #333)}.sticky-popup-reply-btn:hover{background:var(--theme-hover, rgba(0,0,0,.06))}.sticky-popup-menu-btn{background:none;border:none;font-size:16px;font-weight:700;letter-spacing:1px;padding:0 4px;cursor:pointer;color:var(--theme-text, #555);line-height:1}.sticky-popup-menu-btn:hover{color:var(--theme-text, #000);background:var(--theme-hover, rgba(0,0,0,.08))}.sticky-popup-lock-btn{background:none;border:none;font-size:12px;line-height:1;padding:0 2px;cursor:pointer;opacity:.7}.sticky-popup-lock-btn:hover{opacity:1}.sticky-popup-edge{position:absolute}.edge-t{top:0;left:5px;right:5px;height:4px;cursor:ns-resize}.edge-b{bottom:0;left:5px;right:5px;height:4px;cursor:ns-resize}.edge-l{left:0;top:5px;bottom:5px;width:4px;cursor:ew-resize}.edge-r{right:0;top:5px;bottom:5px;width:4px;cursor:ew-resize}.edge-tl{top:0;left:0;width:5px;height:5px;cursor:nwse-resize}.edge-tr{top:0;right:0;width:5px;height:5px;cursor:nesw-resize}.edge-bl{bottom:0;left:0;width:5px;height:5px;cursor:nesw-resize}.edge-br{bottom:0;right:0;width:5px;height:5px;cursor:nwse-resize}.shortcuts-dialog{width:650px}.shortcuts-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.shortcuts-category{margin-bottom:16px}.shortcuts-category h3{font-size:12px;font-weight:700;margin:0 0 8px;padding-bottom:4px;border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text, #333);text-transform:uppercase;letter-spacing:.5px}.shortcuts-row{display:flex;justify-content:space-between;align-items:center;padding:3px 0;font-size:12px}.shortcuts-action{color:var(--theme-text, #333)}.shortcuts-keys{display:flex;gap:3px;flex-shrink:0;margin-left:12px}.shortcuts-keys kbd{display:inline-block;padding:1px 6px;font-size:11px;font-family:Segoe UI,Consolas,monospace;background:var(--theme-bg, #f0f0f0);border:1px solid var(--theme-border, #ccc);border-radius:3px;color:var(--theme-text, #333);line-height:18px;min-width:20px;text-align:center;box-shadow:0 1px #0000001a}.ext-install-section{margin-bottom:16px}.ext-install-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;font-size:12px;font-family:inherit;background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);border:1px solid var(--theme-accent, #7a3d63);cursor:pointer}.ext-install-btn:hover{background:var(--theme-accent, #7a3d63);border-color:var(--theme-accent, #7a3d63)}.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-text-secondary)}.ext-divider{height:1px;background:var(--theme-app-menu-sidebar-border);margin:16px 0}.ext-section-title{font-size:13px;font-weight:600;color:var(--theme-app-menu-text);margin:0 0 12px}.ext-empty{font-size:12px;color:var(--theme-app-menu-shortcut);margin:0}.ext-list{display:flex;flex-direction:column;gap:6px}.ext-card{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--theme-app-menu-sidebar-border);background:var(--theme-app-menu-bg, #fff)}.ext-card:hover{background:var(--theme-app-menu-item-hover)}.ext-card-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:var(--theme-app-menu-icon)}.ext-card-info{flex:1;min-width:0}.ext-card-header{display:flex;align-items:baseline;gap:8px}.ext-card-name{margin:0;font-size:13px;font-weight:600;color:var(--theme-app-menu-text)}.ext-card-version{font-size:11px;color:var(--theme-app-menu-shortcut)}.ext-card-desc{margin:2px 0 0;font-size:11px;color:var(--theme-app-menu-text)}.ext-card-author{margin:2px 0 0;font-size:10px;color:var(--theme-app-menu-shortcut)}.ext-uninstall-btn{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-app-menu-shortcut);cursor:pointer;padding:0}.ext-uninstall-btn:hover{color:#e81123;border-color:#e81123}.ext-card-actions{display:flex;gap:2px;flex-shrink:0}.ext-reload-btn{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--theme-app-menu-shortcut);cursor:pointer;padding:0}.ext-reload-btn:hover{color:var(--theme-accent-text);border-color:var(--theme-accent, #7a3d63)}.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, #7a3d63)}.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:.6;cursor:default}.scale-btn-ok{background:var(--theme-active, #7a3d63);color:var(--theme-on-accent);border-color:var(--theme-active, #7a3d63)}.scale-btn-ok:hover{background:var(--theme-accent, #006cc1)}.scale-btn-ok:disabled{background:var(--theme-active, #7a3d63);opacity:.6}.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 var(--theme-border, 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, #7a3d63);color:var(--theme-accent-text)}.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);cursor:pointer;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, #7a3d63);box-shadow:inset 0 0 0 1px var(--theme-accent, #7a3d63)}.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}.cmp-dialog{max-height:calc(100vh - 160px);overflow:auto}.cmp-note{font-size:11px;color:var(--theme-text-secondary, #666);line-height:1.35}.cmp-fieldset{border:1px solid var(--theme-border, #d4d4d4);margin:0;padding:6px 10px 8px;display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--theme-text, #333)}.cmp-fieldset legend{padding:0 4px;font-size:11px;font-weight:600;color:var(--theme-text-secondary, #555)}.cmp-radio{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-text, #333)}.cmp-inline{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-text, #333)}.cmp-range-input{width:120px}.cmp-mode-row .cmp-mode-card{padding:6px 8px}.cmp-align-dialog{width:min(1100px,calc(100vw - 40px))}.cmp-align{display:flex;flex-direction:column;gap:8px}.cmp-align-bar{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--theme-text, #333)}.cmp-align-status{margin-left:12px;color:var(--theme-text-secondary, #555)}.cmp-align-row{display:flex;gap:8px}.cmp-align-col{flex:1 1 50%;min-width:0;display:flex;flex-direction:column;border:1px solid var(--theme-border, #d4d4d4)}.cmp-align-head{display:flex;align-items:center;gap:6px;padding:4px 6px;background:linear-gradient(#fff,#f5f5f5);border-bottom:1px solid #d4d4d4;font-size:12px;color:#222}.cmp-align-title{font-weight:600}.cmp-align-sub{color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-align-pane{height:min(60vh,520px);overflow:auto;background:#6b6b6b;padding:8px}.cmp-align-mark{position:absolute;width:18px;height:18px;margin:-10px 0 0 -10px;border:2px solid;pointer-events:none;line-height:1}.cmp-align-mark:before,.cmp-align-mark:after{content:"";position:absolute;background:currentColor}.cmp-align-mark:before{left:7px;top:-6px;width:1px;height:26px}.cmp-align-mark:after{top:7px;left:-6px;height:1px;width:26px}.cmp-align-mark span{position:absolute;left:16px;top:-14px;font:700 12px sans-serif;background:#fff;padding:0 2px}.cmp-align-hint{font-size:11px;color:var(--theme-text-secondary, #666)}.ovl-dialog{min-width:700px}.ovl-table{border-collapse:collapse;width:100%;font-size:12px;color:var(--theme-text, #333)}.ovl-table th{text-align:left;font-weight:600;font-size:11px;padding:3px 4px;border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text-secondary, #555)}.ovl-table td{padding:3px 4px;vertical-align:middle;white-space:nowrap}.ovl-table td .cmp-doc-select{min-width:200px}.ovl-num,.ovl-actions{white-space:nowrap}.ovl-actions .pref-btn{padding:1px 6px}.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:var(--theme-accent, #1f6feb);color:var(--theme-on-accent);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:var(--theme-accent-text);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:Consolas,Courier New,monospace;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:Consolas,Courier New,monospace;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, #7a3d63)}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-queue-dialog{width:560px}.print-queue-empty{padding:28px 18px;color:var(--theme-text-secondary, #666);font-size:12px}.print-queue-list{max-height:360px;overflow-y:auto;padding:6px 10px}.print-queue-row{display:flex;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px solid var(--theme-border, #e2e2e2)}.print-queue-info{flex:1;min-width:0}.print-queue-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.print-queue-meta{font-size:11px;color:var(--theme-text-secondary, #666)}.print-queue-actions{display:flex;gap:4px}.print-queue-actions .pref-btn{padding:2px 7px}.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, #7a3d63);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{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--theme-surface, #fff);color:var(--theme-text, #1f1f1f);font-size:12px}.pq-titlebar{flex:0 0 auto;padding:8px 12px;background:linear-gradient(var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #d4d4d4);font-weight:600}.pq-title{font-size:12px;color:var(--theme-text, #333)}.pq-body{flex:1 1 auto;overflow-y:auto}.pq-empty{padding:40px 24px;text-align:center;color:var(--theme-text-secondary, #666);line-height:1.6}.pq-list{padding:6px 10px}.pq-row{display:flex;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px solid var(--theme-border, #e2e2e2)}.pq-info{flex:1;min-width:0}.pq-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pq-meta{font-size:11px;color:var(--theme-text-secondary, #666)}.pq-actions{display:flex;gap:4px;flex-shrink:0}.pq-actions .pref-btn{padding:2px 7px}.pq-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-top:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f7f7f7)}.pq-status{font-size:11px;color:var(--theme-text-secondary, #666);flex:1}.pq-footer-btns{display:flex;gap:6px}.pq-toolbar{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:6px 12px;border-bottom:1px solid var(--theme-border, #d4d4d4);background:var(--theme-bg, #f7f7f7)}.pq-selectall{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-text, #1f1f1f);cursor:pointer;-webkit-user-select:none;user-select:none}.pq-toolbar-spacer{flex:1 1 auto}.pq-body{position:relative}.pq-grip{flex:0 0 auto;cursor:grab;color:var(--theme-text-secondary, #888);font-size:13px;line-height:1;padding:0 2px}.pq-row-drag{opacity:.45}.pq-row-over{box-shadow:inset 0 2px 0 0 var(--theme-accent)}.pq-tile{flex:0 0 auto;width:46px;height:62px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--theme-border, #d4d4d4);overflow:hidden}.pq-tile img{max-width:100%;max-height:100%;display:block}.pq-tile-ph{font-size:10px;color:#6e6e73}.pq-extdrop{outline:2px dashed var(--theme-accent);outline-offset:-6px}.pq-drop-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--theme-hover, rgba(0, 120, 212, .12));color:var(--theme-text, #1f1f1f);font-size:14px;font-weight:600;pointer-events:none}.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}.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, #7a3d63)}.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:.6}.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 var(--theme-border, #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:.6}.cad-input-code{width:66px;font-family:Consolas,Courier New,monospace;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, #7a3d63)}.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-tool-dialog{min-width:420px}.page-tool-form{display:flex;flex-direction:column;gap:8px}.page-tool-radio{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--theme-text)}.page-tool-radio.disabled{color:var(--theme-text-secondary)}.page-tool-radio .extract-pages-input-wide{flex:1;min-width:0}.page-tool-select{height:26px}.page-tool-num{width:64px}.page-tool-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow:auto}.page-tool-footer-note{font-size:11.5px;color:var(--theme-text-secondary);max-width:260px}.cmp-points-missing{color:var(--theme-warning, #b25000);font-size:11px;margin-inline-start:4px}@media(max-width:800px){.system-types-layout{flex-direction:column;overflow-y:auto}.system-types-layout>div{min-width:0!important;flex-shrink:0}.system-types-layout canvas{max-width:100%;height:auto;align-self:flex-start}.system-types-layout input{min-width:0}}.camera-dialog{width:640px;max-width:96vw}.camera-stage{background:#111;min-height:200px;display:flex;align-items:center;justify-content:center}.camera-video{width:100%;max-height:60vh;object-fit:contain;background:#000}.camera-note{color:#ddd;font-size:13px;padding:24px;margin:0;text-align:center;white-space:pre-line}.camera-strip{display:flex;gap:6px;padding:8px 0 0;overflow-x:auto}.camera-thumb{height:52px;width:auto;border:1px solid var(--theme-border)}.camera-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:8px 0 0}.camera-select{font-size:12px;max-width:220px;margin-inline-end:auto}.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:.6;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:var(--theme-surface, #ffffff)}.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-text)}.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::placeholder{color:var(--theme-text-secondary);opacity:1}.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;color:var(--theme-text)}.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:var(--theme-hover, rgba(0,0,0,.5));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:var(--theme-on-accent);border:none;border-radius:3px;cursor:pointer}.sp-settings-btn-add:hover{filter:brightness(1.15)}.sp-settings-btn-add:disabled{opacity:.6;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:var(--theme-hover, rgba(0, 0, 0, .55));z-index:11000;display:flex;align-items:center;justify-content:center;outline:none}.ste-window{background:var(--theme-surface, #2a2a2a);border:1px solid var(--theme-border, #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(var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text, #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:var(--theme-text, #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 var(--theme-border, #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:var(--theme-accent, #7a3d63);border-color:var(--theme-accent, #7a3d63);color:var(--theme-on-accent)}.ste-btn-primary:hover{background:var(--theme-accent, #7a3d63)}.sp-scale{display:flex;align-items:center;gap:6px;padding:4px 8px 6px;font-size:12px}.sp-scale label{color:var(--theme-text-secondary, #6e6e73)}.sp-scale select{flex:0 0 auto}.sp-scale .sp-scale-eigen{width:62px}:is(.sp-symbol-icon,.disc-tile) :is(svg,svg *):is([stroke="#000"],[stroke="#000000"],[stroke=black],[stroke="#1a1a1a"],[stroke="#3c3c3c"],[stroke="#404040"]){stroke:var(--theme-text)}:is(.sp-symbol-icon,.disc-tile) :is(svg,svg *):is([fill="#000"],[fill="#000000"],[fill=black],[fill="#1a1a1a"]){fill:var(--theme-text)}:is(.sp-symbol-icon,.disc-tile) :is(svg,svg *):is([fill="#fff"],[fill="#ffffff"],[fill=white]){fill:var(--theme-surface)}:is([data-theme=dark],[data-theme=default],[data-theme=blue],[data-theme=amber-navy],[data-theme=warm-ember],[data-theme=highContrast]) :is(.sp-symbol-icon,.disc-tile) :is(svg image,img){filter:invert(1) hue-rotate(180deg)}.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-text)}.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:.6;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, #7a3d63)}.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, #7a3d63)}.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, #7a3d63);color:var(--theme-on-accent)}.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}.markups-table{position:relative;flex-shrink:0;display:flex;flex-direction:column;min-height:120px;background:var(--theme-panel-bg);border-top:1px solid var(--theme-panel-border);color:var(--theme-text);font-size:11px;cursor:default}.mt-resize{position:absolute;top:-3px;left:0;right:0;height:6px;cursor:ns-resize;z-index:2}.mt-resize:hover{background:var(--theme-panel-resize-hover, rgba(0, 120, 215, .4))}.mt-header{position:relative;display:flex;align-items:center;gap:4px;padding:3px 6px;background:linear-gradient(to bottom,var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #d4d4d4);color:var(--theme-text, #1e1e1e)}.mt-title{font-weight:600;margin-right:6px}.mt-spacer{flex:1}.mt-search{width:180px;height:20px;padding:0 4px;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;font-size:11px}.mt-btn{height:20px;padding:0 8px;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;background:var(--theme-bg, #fdfdfd);color:var(--theme-text, #1e1e1e);font-size:11px;cursor:default}.mt-btn:hover:not(:disabled){background:var(--theme-ribbon-btn-active-bg, #f4e9f0);border-color:var(--theme-accent, #7a3d63)}.mt-btn.active{background:var(--theme-ribbon-btn-active-bg, #f4e9f0);border-color:var(--theme-accent, #7a3d63)}.mt-btn:disabled{opacity:.6}.mt-close{width:20px;height:20px;border:none;background:transparent;font-size:14px;line-height:18px;cursor:default;color:var(--theme-text, #1e1e1e)}.mt-close:hover{background:#e81123;color:#fff}.mt-menu{position:absolute;top:22px;left:0;z-index:20;min-width:200px;max-height:320px;overflow:auto;padding:4px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #a0a0a0);box-shadow:2px 2px 4px #0003;color:var(--theme-text, #1e1e1e)}.mt-anchor{position:relative;display:inline-flex}.mt-menu-columns{min-width:260px}.mt-menu-row{display:flex;align-items:center;gap:6px}.mt-menu-item{display:flex;align-items:center;gap:6px;padding:2px 4px;flex:1}.mt-menu-item:hover{background:var(--theme-ribbon-btn-active-bg, #f4e9f0)}.mt-menu-sep{height:1px;background:var(--theme-hover, #d4d4d4);margin:4px 0}.mt-menu-note{padding:4px;color:var(--theme-text-secondary, #666)}.mt-link{border:none;background:none;color:var(--theme-accent-text);font-size:11px;cursor:default;padding:0 2px}.mt-link:hover{text-decoration:underline}.mt-status-dot{display:inline-block;width:8px;height:8px;border:1px solid var(--theme-border, #999)}.mt-form{display:flex;flex-direction:column;gap:4px}.mt-form label{display:flex;flex-direction:column;gap:2px}.mt-form input,.mt-form select{height:20px;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;font-size:11px}.mt-form-buttons{display:flex;gap:4px;justify-content:flex-end}.mt-scroll{flex:1;overflow:auto}.mt-table{border-collapse:collapse;width:100%;table-layout:auto}.mt-table th,.mt-table td{padding:2px 6px;border-right:1px solid var(--theme-panel-border);border-bottom:1px solid var(--theme-panel-border);white-space:nowrap;text-align:left;max-width:320px;overflow:hidden;text-overflow:ellipsis}.mt-table thead th{position:sticky;top:0;z-index:1;background:var(--theme-panel-tab-bg, #f0f0f0);color:var(--theme-panel-header-text);font-weight:600;-webkit-user-select:none;user-select:none}.mt-table thead tr.mt-filter-row th{top:21px;padding:1px 2px}.mt-filter{width:100%;min-width:40px;height:18px;box-sizing:border-box;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;font-size:11px;padding:0 3px}.mt-table tbody tr:hover{background:var(--theme-hover)}.mt-table tbody tr.selected{background:var(--theme-ribbon-btn-active-bg, #f4e9f0);color:var(--theme-text, #000)}.mt-col-page,.mt-col-replies,.mt-col-measurement{text-align:right}.mt-text{display:block;overflow:hidden;text-overflow:ellipsis}.mt-swatch{display:inline-block;width:14px;height:10px;border:1px solid var(--theme-border, #888);vertical-align:middle}.mt-cell-select,.mt-cell-input{height:18px;font-size:11px;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;background:var(--theme-surface, #fff);color:var(--theme-text, #1e1e1e)}.mt-cell-input{width:100%;min-width:80px;box-sizing:border-box;padding:0 3px}.mt-cell-plain{border-color:transparent;background:transparent;color:inherit}.mt-cell-plain:hover,.mt-cell-plain:focus{border-color:var(--theme-border, #c8c8c8);background:var(--theme-hover, #fff);color:var(--theme-text, #1e1e1e)}.mt-empty{padding:12px;color:var(--theme-text-secondary)}.mt-footer{display:flex;gap:16px;padding:2px 8px;border-top:1px solid var(--theme-panel-border);color:var(--theme-text-secondary)}.mt-total{color:var(--theme-text)}.kalkyl-panel{position:relative;display:flex;flex-direction:column;flex-shrink:0;min-height:160px;background:var(--theme-panel-bg);border-top:1px solid var(--theme-panel-border);color:var(--theme-text);font-size:11px;cursor:default;outline:none}.kp-resize{position:absolute;top:-3px;left:0;right:0;height:6px;cursor:ns-resize;z-index:2}.kp-resize:hover{background:var(--theme-panel-resize-hover)}.kp-header,.kp-footer{display:flex;align-items:center;gap:6px;padding:3px 6px;background:linear-gradient(var(--theme-surface),var(--theme-bg));border-bottom:1px solid var(--theme-panel-border);white-space:nowrap;overflow:hidden}.kp-footer{border-bottom:none;border-top:1px solid var(--theme-panel-border);gap:14px}.kp-title{font-weight:600;color:var(--theme-panel-header-text)}.kp-dim{color:var(--theme-text-secondary)}.kp-spacer{flex:1}.kp-sep{width:1px;height:16px;background:var(--theme-panel-border)}.kp-namn{width:220px;height:20px;padding:0 4px;font-size:11px;background:var(--theme-input-bg);border:1px solid var(--theme-input-border);color:var(--theme-text)}.kp-btn{height:20px;padding:0 8px;font-size:11px;border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);border-radius:0}.kp-btn:hover:not(:disabled){background:var(--theme-hover)}.kp-btn:disabled{opacity:.45}.kp-btn.active{background:var(--theme-ribbon-btn-active-bg);border-color:var(--theme-ribbon-btn-active-border)}.kp-close{border:none;background:none;color:var(--theme-text-secondary);font-size:12px;width:22px;height:20px}.kp-close:hover{background:#e81123;color:#fff}.kp-meddelande{color:var(--theme-accent);max-width:420px;overflow:hidden;text-overflow:ellipsis}.kp-body{flex:1;display:flex;min-height:0}.kp-scroll{flex:1;overflow:auto;min-width:0}.kp-table{border-collapse:collapse;width:max(100%,1320px);table-layout:fixed}.kp-table th{position:sticky;top:0;z-index:1;text-align:left;font-weight:600;padding:3px 4px;background:var(--theme-panel-tab-bg);color:var(--theme-panel-header-text);border-bottom:1px solid var(--theme-panel-border);border-right:1px solid var(--theme-panel-border);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kp-table td{padding:1px 4px;height:19px;border-bottom:1px solid var(--theme-border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kp-table tbody tr:hover{background:var(--theme-hover)}.kp-table tr.selected{background:var(--theme-ribbon-btn-active-bg)}.kp-c-tog{width:18px;text-align:center;color:var(--theme-text-secondary)}.kp-c-kod{width:78px;color:var(--theme-text-secondary)}.kp-c-ben{width:auto;min-width:200px}.kp-c-enh{width:38px}.kp-c-num{width:76px;text-align:right;font-variant-numeric:tabular-nums}.kp-table th.kp-c-num{text-align:right}.kp-table th.kp-c-ben{width:34%;min-width:280px}.kp-rubrik td{font-weight:600;background:color-mix(in srgb,var(--theme-surface) 70%,transparent)}.kp-rubrik.kp-niva-1 td{background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-panel-bg))}.kp-rubrik .kp-c-tog{cursor:default}.kp-sum{color:var(--theme-text)}.kp-post .kp-c-tog{font-weight:600}.kp-recept-rubrik td{font-size:10px;color:var(--theme-text-secondary);background:var(--theme-bg);border-bottom:1px solid var(--theme-border)}.kp-recept td{background:var(--theme-bg);font-size:10.5px}.kp-recept.avvald td{color:var(--theme-text-secondary);text-decoration:line-through}.kp-recept.avvald td:first-child{text-decoration:none}.kp-recept input[type=checkbox]{margin:0}.kp-edit{display:block;min-height:16px}.kp-edit:hover{outline:1px dashed var(--theme-border)}.kp-input{width:100%;height:17px;box-sizing:border-box;padding:0 3px;font-size:11px;border:1px solid var(--theme-accent);background:var(--theme-input-bg);color:var(--theme-text)}.kp-input.kp-num{text-align:right}.kp-text{display:block;overflow:hidden;text-overflow:ellipsis}.kp-tom{padding:18px;color:var(--theme-text-secondary);white-space:normal;text-align:center}.kp-bok{position:relative;display:flex;flex-direction:column;border-left:1px solid var(--theme-panel-border);background:var(--theme-panel-bg);min-width:220px}.kp-bok-resize{position:absolute;left:-3px;top:0;bottom:0;width:6px;cursor:ew-resize;z-index:2}.kp-bok-resize:hover{background:var(--theme-panel-resize-hover)}.kp-bok-header{display:flex;justify-content:space-between;align-items:center;padding:3px 6px;background:linear-gradient(var(--theme-surface),var(--theme-bg));border-bottom:1px solid var(--theme-panel-border)}.kp-sok{margin:4px 6px;height:21px;padding:0 5px;font-size:11px;border:1px solid var(--theme-input-border);background:var(--theme-input-bg);color:var(--theme-text)}.kp-bok-lista{flex:1;overflow:auto}.kp-bok-rad{position:relative;padding:3px 26px 3px 6px;border-bottom:1px solid var(--theme-border)}.kp-bok-rad:hover{background:var(--theme-hover)}.kp-bok-ben{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kp-bok-info{display:flex;gap:8px;color:var(--theme-text-secondary);font-size:10px}.kp-bok-lagg{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:18px;height:18px;padding:0;border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);border-radius:0}.kp-bok-lagg:hover{background:var(--theme-accent);color:var(--theme-accent-text)}.kp-footer-netto b,.kp-anbud{color:var(--theme-accent)}.kp-anbud{font-size:12px}.kalkyl-panel.kp-sida{border-top:none;border-left:1px solid var(--theme-panel-border);min-width:420px;max-width:75vw;min-height:0}.kp-resize-sida{position:absolute;left:-3px;top:0;bottom:0;width:6px;cursor:ew-resize;z-index:2}.kp-resize-sida:hover{background:var(--theme-panel-resize-hover)}.kp-sida .kp-header{flex-wrap:wrap;white-space:normal;row-gap:3px}.kp-sida .kp-namn{width:160px}.kp-sida .kp-bok{display:none}.kp-dock{height:20px;font-size:11px;border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);border-radius:0}.kp-c-mat{width:22px;text-align:center;padding:0!important}.kp-c-kalla{width:84px}.kp-farg{display:inline-block;width:8px;height:8px;vertical-align:middle}.kp-sikte{width:18px;height:16px;padding:0;font-size:12px;line-height:14px;border:1px solid transparent;background:none;color:var(--theme-text-secondary);border-radius:0}.kp-sikte:hover{color:var(--postfarg);border-color:var(--theme-border)}.kp-sikte.aktiv{background:var(--postfarg);color:#fff;border-color:var(--postfarg)}.kp-fran-ritning{display:block;text-align:right;color:var(--theme-accent)}.kp-lank{border:none;background:none;padding:0;font-size:11px;color:var(--theme-accent);text-decoration:underline}.kp-lossa{border:none;background:none;padding:0 3px;font-size:11px;color:var(--theme-text-secondary)}.kp-lossa:hover{color:#e81123}.kp-flikar{display:inline-flex;margin-left:6px;border:1px solid var(--theme-border)}.kp-flik{height:20px;padding:0 10px;font-size:11px;border:none;border-right:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);border-radius:0}.kp-flik:last-child{border-right:none}.kp-flik:hover{background:var(--theme-hover)}.kp-flik.active{background:var(--theme-ribbon-btn-active-bg);color:var(--theme-text);font-weight:600;box-shadow:inset 0 -2px 0 var(--theme-accent)}.kp-ikon{padding:0 6px;min-width:22px}.kp-verktygsrad{display:flex;align-items:center;gap:5px;padding:3px 6px;flex-wrap:wrap;border-bottom:1px solid var(--theme-panel-border);background:var(--theme-panel-bg)}.kp-tips{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.kp-meny{position:relative}.kp-meny-lista{position:absolute;top:22px;left:0;z-index:50;min-width:250px;padding:3px 0;background:var(--theme-panel-bg);border:1px solid var(--theme-panel-border);box-shadow:0 4px 14px #00000059}.kp-meny-post{display:flex;justify-content:space-between;gap:16px;width:100%;padding:4px 12px;font-size:11px;text-align:left;border:none;background:none;color:var(--theme-text);border-radius:0}.kp-meny-post:hover:not(:disabled){background:var(--theme-ribbon-btn-active-bg)}.kp-meny-post:disabled{opacity:.45}.kp-meny-sep{height:1px;margin:3px 0;background:var(--theme-panel-border)}.kp-header{flex-wrap:wrap;row-gap:3px}.kp-varningschip{height:18px;padding:0 8px;font-size:10.5px;border:1px solid #c92a2a;background:color-mix(in srgb,#c92a2a 18%,transparent);color:var(--theme-text);border-radius:0}.kp-anbud.kp-lank{cursor:pointer;text-decoration:none}.kp-anbud.kp-lank:hover{text-decoration:underline}.kp-post.kp-tom-post .kp-c-num:nth-last-child(-n+4){color:var(--theme-text-secondary)}.kp-table td .kp-edit:focus{outline:1px solid var(--theme-accent);outline-offset:-1px}.kp-las,.kp-c-tog{cursor:default}.kp-recept-rad>td{padding:0 0 6px 40px!important;height:auto!important;background:var(--theme-bg);white-space:normal}.kp-recept-box{position:sticky;left:40px;border-left:2px solid var(--theme-accent);padding:2px 0 0 6px;width:min(1100px,calc(var(--kp-vy, 1100px) - 56px));box-sizing:border-box}.kp-rtab{border-collapse:collapse;width:100%;table-layout:fixed}.kp-rtab th{font-size:10px;font-weight:600;text-align:left;color:var(--theme-text-secondary);padding:2px 4px;border-bottom:1px solid var(--theme-border)}.kp-rtab td{padding:1px 4px;height:19px;border-bottom:1px solid color-mix(in srgb,var(--theme-border) 60%,transparent);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kp-rtab tr.avvald td{color:var(--theme-text-secondary);text-decoration:line-through}.kp-rtab tr.saknas td{color:#e03131}.kp-r-akt,.kp-r-fast{width:44px;text-align:center}.kp-rtab th.kp-r-akt,.kp-rtab td.kp-r-akt{width:22px}.kp-r-typ{width:74px}.kp-r-ben{width:auto}.kp-r-num{width:70px;text-align:right;font-variant-numeric:tabular-nums}.kp-rtab th.kp-r-num{text-align:right}.kp-r-enh{width:44px}.kp-r-x{width:22px;text-align:center}.kp-rsel{width:100%;height:17px;font-size:10.5px;padding:0;border:1px solid transparent;background:transparent;color:var(--theme-text);border-radius:0}.kp-rsel:hover,.kp-rsel:focus{border-color:var(--theme-border);background:var(--theme-input-bg)}.kp-rsel option{background:var(--theme-panel-bg);color:var(--theme-text)}.kp-r-direkt td{color:var(--theme-text-secondary)}.kp-direkt{display:flex;gap:12px;align-items:center}.kp-direkt label{display:inline-flex;gap:4px;align-items:center}.kp-direkt .kp-edit,.kp-kap .kp-edit{min-width:48px;display:inline-block;text-align:right}.kp-recept-verktyg{display:flex;align-items:center;gap:5px;padding:4px 0 0;flex-wrap:wrap}.kp-recept-verktyg .kp-btn{height:19px;padding:0 7px;font-size:10.5px}.kp-resurs-val{width:220px;height:19px;margin:0}.kp-kap{display:inline-flex;gap:4px;align-items:center;font-size:10.5px}.kp-flik-innehall{flex:1;display:flex;flex-direction:column;min-height:0}.kp-restab{width:100%;min-width:640px}.kp-restab th{cursor:default}.kp-c-typ{width:84px}.kp-restab tr.kp-varning td{background:color-mix(in srgb,#c92a2a 14%,transparent)}.kp-slutsida-kropp{flex:1;display:flex;min-height:0}.kp-cellnamn{min-width:38px;height:20px;line-height:20px;padding:0 6px;text-align:center;border:1px solid var(--theme-border);background:var(--theme-input-bg);font-weight:600}.kp-formelfalt{flex:1;min-width:160px;height:20px;padding:0 6px;font:11px ui-monospace,Menlo,monospace;border:1px solid var(--theme-input-border);background:var(--theme-input-bg);color:var(--theme-text)}.kp-formelfalt:disabled{color:var(--theme-text-secondary);font-family:inherit}.kp-ark{outline:none}.kp-ark-tab{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.kp-ark-tab th{position:sticky;top:0;z-index:1;min-width:34px;padding:1px 4px;font-weight:500;font-size:10px;color:var(--theme-text-secondary);background:var(--theme-panel-tab-bg);border:1px solid var(--theme-panel-border);text-align:center}.kp-ark-tab tbody th{position:sticky;left:0;width:34px}.kp-ark-tab th.vald{background:color-mix(in srgb,var(--theme-accent) 35%,var(--theme-panel-tab-bg));color:var(--theme-text)}.kp-ark-tab td{width:110px;max-width:260px;height:19px;padding:1px 5px;border:1px solid color-mix(in srgb,var(--theme-border) 70%,transparent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kp-ark-tab td:first-of-type{width:260px}.kp-ark-tab td.tal{text-align:right}.kp-ark-tab td.text{text-align:left}.kp-ark-tab td.formel{color:var(--theme-text)}.kp-ark-tab td.koppling{background:color-mix(in srgb,var(--theme-accent) 10%,transparent);color:var(--theme-accent);text-align:right}.kp-ark-tab td.anbud{font-weight:700;background:color-mix(in srgb,var(--theme-accent) 22%,transparent)}.kp-ark-tab td.vald{outline:2px solid var(--theme-accent);outline-offset:-2px}.kp-ark-input{width:100%;height:16px;box-sizing:border-box;padding:0 2px;font:11px ui-monospace,Menlo,monospace;border:none;background:var(--theme-input-bg);color:var(--theme-text);outline:none}.kp-paslag{width:240px;flex-shrink:0;padding:8px 10px;border-left:1px solid var(--theme-panel-border);overflow:auto;display:flex;flex-direction:column;gap:4px}.kp-paslag-rubrik{margin-top:6px;font-weight:600;color:var(--theme-panel-header-text)}.kp-anbud-stort{font-size:20px;font-weight:700;color:var(--theme-accent);font-variant-numeric:tabular-nums}.kp-faktor{display:flex;justify-content:space-between;align-items:center;gap:6px}.kp-faktor .kp-input{width:70px}.kp-hjalp{margin-top:8px;font-size:10px;line-height:1.4}.kp-projekt{flex-direction:row;overflow:auto}.kp-projekt-form{flex:1;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px 14px;padding:10px 12px;align-content:start}.kp-pfalt{display:flex;flex-direction:column;gap:2px}.kp-pfalt>span{font-size:10px;color:var(--theme-text-secondary)}.kp-pfalt .kp-input{height:22px}.kp-pfalt-hel{grid-column:1 / -1}.kp-anteckning{height:90px!important;resize:vertical;padding:4px;font-family:inherit}.kp-nyckeltal{width:260px;flex-shrink:0;padding:10px 12px;border-left:1px solid var(--theme-panel-border);display:flex;flex-direction:column;gap:6px}.kp-nt{display:flex;justify-content:space-between;gap:8px}.kp-sida .kp-paslag,.kp-sida .kp-nyckeltal{width:200px}.kp-sida .kp-tips{display:none}.kp-recept-box{container-type:inline-size}@container (max-width: 760px){.kp-rtab .kp-r-smal{display:none}.kp-rtab .kp-r-typ{width:62px}.kp-rtab .kp-r-num{width:58px}}.kp-r-direkt td{white-space:normal}.kp-direkt{flex-wrap:wrap;row-gap:2px}.kp-kryss{display:inline-flex;align-items:center;gap:4px;font-size:11px}.kp-bokmarke{font-size:10px;color:var(--theme-text-secondary)}.kp-c-anv{width:96px}.kp-fler{margin:6px}.tool-chest-panel{width:230px;flex-shrink:0;display:flex;flex-direction:column;background:var(--theme-panel-bg);border-left:1px solid var(--theme-panel-border);color:var(--theme-text);font-size:11px;cursor:default;-webkit-user-select:none;user-select:none;overflow:hidden}.tc-header{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;font-weight:600;color:var(--theme-text, #1e1e1e);background:linear-gradient(to bottom,var(--theme-surface, #ffffff),var(--theme-bg, #f5f5f5));border-bottom:1px solid var(--theme-border, #d4d4d4)}.tc-close{width:18px;height:18px;line-height:16px;border:none;background:transparent;font-size:14px;cursor:default;color:var(--theme-text, #1e1e1e)}.tc-close:hover{background:#e81123;color:#fff}.tc-toolbar{display:flex;flex-wrap:wrap;gap:3px;padding:4px;border-bottom:1px solid var(--theme-panel-border)}.tc-btn{height:20px;padding:0 6px;font-size:11px;border:1px solid var(--theme-border, #c8c8c8);border-radius:0;background:var(--theme-bg, #fdfdfd);color:var(--theme-text, #1e1e1e);cursor:default}.tc-btn:hover:not(:disabled){background:var(--theme-ribbon-btn-active-bg, #f4e9f0);border-color:var(--theme-accent, #7a3d63)}.tc-btn:disabled{opacity:.6}.tc-list{flex:1;overflow-y:auto}.tc-set{border-bottom:1px solid var(--theme-panel-border)}.tc-set.tc-drop{outline:2px solid var(--theme-accent);outline-offset:-2px}.tc-set-header{display:flex;align-items:center;gap:4px;padding:3px 4px;background:var(--theme-panel-tab-bg, rgba(0, 0, 0, .04));font-weight:600}.tc-set-header.target .tc-set-name:after{content:" ●";color:var(--theme-accent-text);font-size:9px}.tc-caret{width:12px;text-align:center}.tc-set-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-count{color:var(--theme-text-secondary);font-weight:400}.tc-empty{padding:6px 8px 6px 22px;color:var(--theme-text-secondary)}.tc-tool{display:flex;align-items:center;gap:6px;padding:2px 4px 2px 18px;border:1px solid transparent}.tc-tool:hover{background:var(--theme-hover)}.tc-tool.active{background:var(--theme-ribbon-btn-active-bg, #f4e9f0);border-color:var(--theme-accent, #7a3d63);color:var(--theme-text, #000)}.tc-thumb{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--theme-border, #d4d4d4)}.tc-thumb img{max-width:30px;max-height:30px}.tc-thumb-empty{width:16px;height:16px;border:1px dashed var(--theme-border, #aaa)}.tc-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-mode{flex-shrink:0;padding:0 3px;font-size:9px;line-height:13px;border:1px solid var(--theme-accent, #7a3d63);color:var(--theme-accent-text);background:var(--theme-surface, #fff)}.tc-mode.drawing{border-color:#8a5a00;color:#8a5a00}.tc-mode:not(.fixed):hover{background:var(--theme-ribbon-btn-active-bg, #f4e9f0)}.tc-rename{flex:1;min-width:0;height:18px;font-size:11px;border:1px solid var(--theme-accent, #7a3d63);border-radius:0;padding:0 3px}.tc-menu{position:fixed;z-index:1000;min-width:170px;padding:2px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #a0a0a0);box-shadow:2px 2px 4px #0003;color:var(--theme-text, #1e1e1e)}.tc-menu button{display:block;width:100%;text-align:left;padding:3px 20px;font-size:11px;border:none;background:transparent;color:var(--theme-text, #1e1e1e);cursor:default;position:relative}.tc-menu button:hover:not(:disabled){background:var(--theme-ribbon-btn-active-bg, #f4e9f0)}.tc-menu button:disabled{color:var(--theme-text-secondary, #999)}.tc-menu button.checked:before{content:"●";position:absolute;left:6px;font-size:8px;top:5px}.tc-menu button.tc-indent{padding-left:30px}.tc-menu-label{padding:3px 20px;color:var(--theme-text-secondary, #666)}.tc-menu-sep{height:1px;background:var(--theme-hover, #d4d4d4);margin:2px 0}.chat-floating{flex:0 0 360px;width:360px;min-width:0;display:flex;border-inline-start:1px solid var(--theme-border, #d2d2d7);background:var(--theme-surface, #fff)}.chat-panel{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f);overflow:hidden;font-size:13px}.chat-working{display:flex;align-items:center;gap:6px}.chat-steps{margin:6px 0 0;padding-inline-start:16px;font-size:12px;color:var(--theme-text-secondary)}.chat-steps li{margin:2px 0}.chat-steps li.done{opacity:.75}.chat-steps li:last-child{color:var(--theme-text);font-weight:600}.chat-selection{align-self:flex-start;margin-top:3px;font-size:11px;padding:1px 6px;color:var(--theme-accent-text);background:var(--theme-accent-soft);border:1px solid var(--theme-accent)}.chat-header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--theme-border, #d2d2d7);background:var(--theme-bg, #f5f5f7)}.chat-header-titles{flex:1;min-width:0;display:flex;flex-direction:column}.chat-title{font-weight:600;font-size:13px}.chat-subtitle{font-size:11.5px;color:var(--theme-text-secondary, #6e6e73);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-textbtn{border:1px solid var(--theme-border, #d2d2d7);background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f);border-radius:5px;font:inherit;font-size:12px;padding:2px 8px;cursor:pointer}.chat-close{width:22px;height:22px;border:none;border-radius:5px;background:transparent;color:var(--theme-text-secondary, #6e6e73);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.chat-close:hover,.chat-textbtn:hover{background:var(--theme-hover, #e5e5ea)}.chat-keyrow{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--theme-border, #d2d2d7)}.chat-keyinput{flex:1;min-width:0;font:inherit;font-size:12px;padding:4px 6px;border:1px solid var(--theme-border, #d2d2d7);border-radius:5px;background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f)}.chat-keysave{font:inherit;font-size:12px;padding:4px 10px;border:none;border-radius:5px;background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);cursor:pointer}.chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.chat-message{display:flex}.chat-user{justify-content:flex-end}.chat-bubble{max-width:88%;line-height:1.45;overflow-wrap:anywhere}.chat-assistant .chat-bubble{color:var(--theme-text, #1d1d1f)}.chat-user .chat-bubble{background:var(--theme-hover, #e5e5ea);padding:6px 10px;border-radius:8px}.chat-bubble code{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px}.chat-typing{color:var(--theme-text-secondary, #6e6e73);font-style:italic}.chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;border-top:1px solid var(--theme-border, #d2d2d7)}.chat-chip{font:inherit;font-size:12px;padding:3px 10px;border:1px solid var(--theme-border, #d2d2d7);border-radius:5px;background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f);cursor:pointer}.chat-chip:hover{background:var(--theme-hover, #e5e5ea)}.chat-input-area{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--theme-border, #d2d2d7)}.chat-input{flex:1;min-width:0;resize:none;font:inherit;font-size:13px;padding:6px 8px;border:1px solid var(--theme-border, #d2d2d7);border-radius:6px;background:var(--theme-surface, #fff);color:var(--theme-text, #1d1d1f)}.chat-input:focus{outline:2px solid var(--theme-accent, #7a3d63);outline-offset:-1px}.chat-send{font:inherit;font-size:12.5px;padding:6px 12px;border:none;border-radius:6px;background:var(--theme-accent, #7a3d63);color:var(--theme-on-accent);cursor:pointer}.chat-send:disabled{opacity:.6;cursor:default}.chat-stop{margin-left:8px}.auth-gate{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:var(--theme-content-bg, #141414)}.auth-card{width:min(436px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px 28px 22px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 12px 40px #00000059;text-align:center}.auth-logo{width:64px;height:64px}.auth-title{margin:8px 0 4px;font-size:20px;font-weight:700}.auth-sub{margin:0 0 16px;font-size:13px;color:var(--theme-text-secondary)}.auth-form{display:flex;flex-direction:column;gap:10px;text-align:start}.auth-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--theme-text-secondary)}.auth-form input{height:32px;padding:0 10px;font-size:14px;background:var(--theme-input-bg, var(--theme-surface));color:var(--theme-text);border:1px solid var(--theme-input-border, var(--theme-border))}.auth-form input:focus{outline:2px solid var(--theme-accent);outline-offset:-1px}.auth-btn{height:34px;margin-top:4px;border:none;cursor:pointer;font-size:14px;font-weight:600;background:var(--theme-accent);color:var(--theme-on-accent)}.auth-btn:disabled{opacity:.7;cursor:default}.auth-error{font-size:12px;color:var(--theme-error-text, #c4282f)}.auth-help{margin:14px 0 0;font-size:11.5px;color:var(--theme-text-secondary)}.account{position:relative;display:inline-flex;align-items:center;gap:6px;margin-inline-end:6px}.account-avatar{width:26px;height:26px;border-radius:50%;border:2px solid var(--theme-surface);background:var(--avatar);color:#fff;font-size:11px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.account-offline{font-size:11px;padding:2px 6px;color:var(--theme-warning, #b25000);border:1px solid currentColor}.account-menu{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:5000;width:280px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 8px 24px #00000040;display:flex;flex-direction:column;padding:6px}.account-head{padding:6px 8px 8px;border-bottom:1px solid var(--theme-border);margin-bottom:4px}.account-name{font-weight:600;font-size:13px}.account-mail{font-size:11.5px;color:var(--theme-text-secondary)}.account-menu>button[role=menuitem]{text-align:start;padding:7px 8px;border:none;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.account-menu>button[role=menuitem]:hover{background:var(--theme-hover)}.account-form{display:flex;flex-direction:column;gap:8px;padding:6px 4px}.account-form label{display:flex;flex-direction:column;gap:3px;font-size:11.5px;color:var(--theme-text-secondary)}.account-form input:not([type=checkbox]){height:28px;padding:0 8px;background:var(--theme-input-bg, var(--theme-surface));color:var(--theme-text);border:1px solid var(--theme-border)}.account-check{flex-direction:row!important;align-items:center;gap:6px!important}.account-msg{font-size:12px;padding:6px 8px;color:var(--theme-text);background:var(--theme-accent-soft);margin-top:4px;-webkit-user-select:text;user-select:text}.presence-stack{display:inline-flex;align-items:center;margin-inline-end:8px}.presence-stack .account-avatar{width:24px;height:24px;font-size:10px;margin-inline-start:-6px;cursor:default}.presence-stack .presence-more{font-size:11px;color:var(--theme-text-secondary);margin-inline-start:4px}.live-cursors{position:fixed;inset:0;pointer-events:none;z-index:900}.live-cursor{position:absolute;left:0;top:0;will-change:transform;transition:transform 80ms linear}.live-cursor svg{display:block;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}.live-cursor-name{position:absolute;left:14px;top:16px;white-space:nowrap;padding:1px 6px;font-size:11px;font-weight:600;color:#fff;background:var(--cursor)}.title-bar-account{display:inline-flex;align-items:center;-webkit-app-region:no-drag}.collab-panel{flex:0 0 380px;width:380px;min-width:0;display:flex;flex-direction:column;border-inline-start:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);font-size:13px}.collab-head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--theme-border);background:var(--theme-bg)}.collab-title{font-weight:600}.collab-select{flex:1;min-width:0}.collab-new{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--theme-border)}.collab-new input{flex:1;min-width:0;height:26px;padding:0 8px;background:var(--theme-input-bg, var(--theme-surface));color:var(--theme-text);border:1px solid var(--theme-border)}.collab-live{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;background:var(--theme-accent-soft);border-bottom:1px solid var(--theme-border)}.collab-live.error{color:var(--theme-error-text, #c4282f)}.collab-dot{width:8px;height:8px;border-radius:50%;background:#1f9d3a;flex:none}.collab-live.error .collab-dot{background:#d92020}.collab-live .chat-textbtn{margin-inline-start:auto}.collab-tabs{display:flex;border-bottom:1px solid var(--theme-border)}.collab-tabs button{flex:1;padding:7px 4px;border:none;border-bottom:2px solid transparent;background:transparent;color:var(--theme-text-secondary);font:inherit;font-size:12px;cursor:pointer}.collab-tabs button.on{color:var(--theme-text);border-bottom-color:var(--theme-accent);font-weight:600}.collab-sub{padding:6px 12px;font-size:11.5px;color:var(--theme-text-secondary)}.collab-body{flex:1;overflow-y:auto;padding:4px 12px 12px;display:flex;flex-direction:column;gap:8px}.collab-wide{width:100%}.collab-item{border:1px solid var(--theme-border);padding:8px;display:flex;flex-direction:column;gap:6px}.collab-item.closed{opacity:.75}.collab-item-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.collab-badge{font-size:11px;padding:1px 6px;border:1px solid var(--theme-border);color:var(--theme-text-secondary)}.collab-badge.ok{color:#1f9d3a;border-color:currentColor}.collab-badge.warn{color:var(--theme-warning, #b25000);border-color:currentColor}.collab-actions{display:flex;gap:6px;flex-wrap:wrap}.collab-versions summary{cursor:pointer;font-size:12px;color:var(--theme-text-secondary)}.collab-version{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;padding:3px 0}.collab-meta{font-size:11.5px;color:var(--theme-text-secondary)}.collab-avatars{display:flex;gap:2px}.collab-avatars .account-avatar,.collab-version .account-avatar{width:22px;height:22px;font-size:9.5px;cursor:default;vertical-align:middle}.collab-form{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px dashed var(--theme-border)}.collab-form label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--theme-text-secondary)}.collab-form input,.collab-form select,.collab-version select{min-height:26px;padding:0 6px;background:var(--theme-input-bg, var(--theme-surface));color:var(--theme-text);border:1px solid var(--theme-border)}.collab-form-label{font-size:11.5px;font-weight:600;color:var(--theme-text-secondary);margin-top:4px}.collab-check{flex-direction:row!important;align-items:center;gap:6px!important;color:var(--theme-text)!important}.collab-empty{color:var(--theme-text-secondary);font-size:12px}.collab-chat{display:flex;flex-direction:column;gap:8px}.collab-msg{max-width:90%;padding:6px 8px;background:var(--theme-bg);border:1px solid var(--theme-border);align-self:flex-start}.collab-msg.mine{align-self:flex-end;background:var(--theme-accent-soft)}.collab-msg-who{display:block;font-size:11px;color:var(--theme-text-secondary)}.collab-msg-text{white-space:pre-wrap;-webkit-user-select:text;user-select:text}.collab-log{font-size:12px;padding:4px 0;border-bottom:1px solid var(--theme-border)}.collab-status{padding:6px 12px;font-size:12px;border-top:1px solid var(--theme-border)}.collab-status.error{color:var(--theme-error-text, #c4282f)}.notif{position:relative;margin-inline-end:6px}.notif-btn{position:relative;width:28px;height:26px;border:.5px solid var(--theme-border);background:var(--theme-ribbon-input-bg);color:var(--theme-text);border-radius:7px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.notif-count{position:absolute;top:-5px;inset-inline-end:-5px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#d92020;color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.notif-menu{width:320px}.notif-menu button.unread{font-weight:600}.auth-password-toggle{align-self:flex-start;padding:0;border:0;background:none;color:var(--theme-accent-text);font:inherit;font-size:12px;cursor:default}.auth-password-toggle:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}.collab-realtime{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:11px;color:var(--theme-text-secondary);border-bottom:1px solid var(--theme-border)}.collab-realtime>span{flex:1}.auth-subtitle{margin:12px 0 8px;font-size:17px}.auth-recovery{text-align:start}.auth-back{display:block;margin:16px auto 0;padding:3px;border:0;background:none;color:var(--theme-accent-text);font-size:12px;cursor:default}.auth-back:disabled{opacity:.6}.auth-back:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}.auth-success{font-size:13px;padding:10px;background:var(--theme-accent-soft);color:var(--theme-text);border:1px solid var(--theme-border)}.auth-recovery .auth-btn{width:100%}.auth-recovery .auth-error{margin:12px 0 0}.auth-link-help{margin-top:16px;font-size:12px}.auth-link-help summary{cursor:default}.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:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;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:Consolas,Courier New,monospace;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}.minilog-count{font-family:Consolas,Courier New,monospace;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:Consolas,Courier New,monospace;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-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:.55;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-input:focus{background:#ffffff40;border-color:var(--theme-border, rgba(255, 255, 255, .5))}.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-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:var(--theme-border, rgba(255, 255, 255, .5))}.status-zoom-input::-webkit-inner-spin-button,.status-zoom-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.status-bar-center .status-nav-btn{width:24px;height:22px}.status-bar-center .status-nav-btn svg{width:14px;height:14px}.status-page-total{font-weight:600}.status-text-btn{height:22px;padding:0 6px;border:none;border-radius:4px;background:transparent;color:var(--theme-status-nav-text);font:inherit;font-size:11.5px;cursor:pointer}.status-text-btn:hover{background:var(--theme-status-nav-hover)}.status-item,.status-page-info{white-space:nowrap}.status-bar-left{min-width:0;overflow:hidden}.status-toggle{background:transparent;border:1px solid transparent;color:var(--theme-status-text);font-size:11px;padding:0 6px;height:18px;margin:0 1px;cursor:pointer}.status-toggle:hover{background:var(--theme-status-hover)}.status-toggle.on{color:var(--theme-accent-text);border-color:var(--theme-accent);background:var(--theme-accent-soft);font-weight:600}.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:-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;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, #7a3d63)}.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-text)}.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:.75}.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, #7a3d63);color:var(--theme-on-accent);border-color:var(--theme-accent, #7a3d63)}.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:150px;overflow-y:auto;display:flex;flex-direction:column}.find-results-row{display:flex;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}[dir=rtl]{direction:rtl;text-align:right}[dir=rtl] input[type=number]{direction:ltr;text-align:right}[dir=rtl] input:not([type=number])::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 var(--theme-accent, #7a3d63);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, #7a3d63)}[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 var(--theme-border, #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:var(--theme-accent);color:var(--theme-on-accent);border:none;border-radius:4px;min-height:44px;cursor:default}.mobile-open-btn:active{background:var(--theme-accent-hover)}.mobile-app #pdf-container{display:none;width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mobile-app #pdf-container.visible{display:block}.mobile-app #canvas-wrapper{margin:auto;min-width:min-content;min-height:min-content}.mobile-bottombar{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 8px;padding-bottom:var(--sab);background:var(--bg-secondary);border-top:1px solid var(--border-color);gap:2px;-webkit-user-select:none;user-select:none;position:relative;transition:min-height .2s ease}.mobile-bottombar.collapsed{min-height:24px;overflow:hidden}.mobile-bottombar.collapsed .mobile-toolbar-btn,.mobile-bottombar.collapsed .mobile-page-info,.mobile-bottombar.collapsed .mobile-toolbar-separator{display:none}.mobile-toolbar-collapse-handle{position:absolute;top:0;left:50%;transform:translate(-50%);width:48px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--text-secondary);cursor:default;padding:0;z-index:1}.mobile-toolbar-collapse-handle:active{background:var(--hover-bg)}.mobile-toolbar-content{display:flex;align-items:center;justify-content:center;gap:2px;padding-top:4px}.mobile-toolbar-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:none;background:transparent;color:var(--text-primary);border-radius:4px;cursor:default}.mobile-toolbar-btn:active:not(:disabled){background:var(--hover-bg)}.mobile-toolbar-btn:disabled{opacity:.6}.mobile-page-info{font-size:13px;min-width:60px;text-align:center;font-variant-numeric:tabular-nums;border:none;background:transparent;color:var(--text-primary);cursor:default;padding:4px 8px;border-radius:4px}.mobile-page-info:active{background:var(--hover-bg)}.mobile-toolbar-separator{width:1px;height:28px;background:var(--border-color);margin:0 4px}.mobile-tools-overlay{position:fixed;inset:0;z-index:900;background:#0000004d}.mobile-tools-menu{position:absolute;bottom:calc(56px + var(--sab));right:8px;background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:0 -4px 16px #00000026;min-width:180px;padding:4px 0}.mobile-tools-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;border:none;background:transparent;color:var(--text-primary);font-size:15px;text-align:left;min-height:44px;cursor:default}.mobile-tools-item:active{background:var(--hover-bg)}.mobile-drawer-overlay{position:fixed;inset:0;z-index:1000;background:#0006;opacity:0;pointer-events:none;transition:opacity .2s ease}.mobile-drawer-overlay.open{opacity:1;pointer-events:auto}.mobile-drawer{position:absolute;top:0;left:0;bottom:0;width:280px;max-width:80vw;background:var(--bg-primary);box-shadow:4px 0 16px #0003;transform:translate(-100%);transition:transform .2s ease;display:flex;flex-direction:column}.mobile-drawer.open{transform:translate(0)}.mobile-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:0 16px;padding-top:var(--sat);height:56px;min-height:56px;border-bottom:1px solid var(--border-color);font-size:16px;font-weight:600}.mobile-drawer-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;background:transparent;color:var(--text-primary);border-radius:4px;cursor:default}.mobile-drawer-close:active{background:var(--hover-bg)}.mobile-drawer-items{flex:1;overflow-y:auto;padding:8px 0}.mobile-drawer-item{display:flex;align-items:center;gap:16px;width:100%;padding:12px 20px;border:none;background:transparent;color:var(--text-primary);font-size:15px;text-align:left;min-height:48px;cursor:default}.mobile-drawer-item:active{background:var(--hover-bg)}.mobile-drawer-divider{height:1px;background:var(--border-color);margin:8px 16px}.mobile-drawer-section-label{padding:8px 20px 4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary)}.mobile-recent-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 20px;border:none;background:transparent;color:var(--text-primary);font-size:14px;text-align:left;min-height:44px;cursor:default}.mobile-recent-item:active{background:var(--hover-bg)}.mobile-recent-item svg{flex-shrink:0;color:var(--text-secondary)}.mobile-recent-item-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-recent-clear{display:flex;align-items:center;gap:12px;width:100%;padding:8px 20px;border:none;background:transparent;color:var(--text-secondary);font-size:13px;text-align:left;cursor:default}.mobile-recent-clear:active{background:var(--hover-bg)}.mobile-goto-overlay{position:fixed;inset:0;z-index:950;background:#0006;display:flex;align-items:center;justify-content:center}.mobile-goto-dialog{background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:0 8px 32px #0000004d;padding:20px;min-width:260px;max-width:90vw}.mobile-goto-dialog h3{margin:0 0 16px;font-size:16px;font-weight:600}.mobile-goto-dialog input{width:100%;padding:10px 12px;font-size:16px;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);box-sizing:border-box;outline:none}.mobile-goto-dialog input:focus{border-color:var(--theme-accent)}.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:var(--theme-accent);color:var(--theme-on-accent);border-color:var(--theme-accent)}.mobile-goto-buttons button.primary:active{background:var(--theme-accent-hover)}.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:var(--theme-accent);color:var(--theme-on-accent);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:var(--theme-accent-hover)}.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:var(--theme-accent);outline:none}.mobile-prefs-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;gap:12px}.mobile-prefs-row label{font-size:14px;flex:1}.mobile-prefs-row input[type=number]{width:64px;padding:8px 10px;font-size:15px;border:1px solid var(--border-color, #d4d4d4);background:var(--bg-secondary, #f5f5f5);color:var(--text-primary, #1a1a1a);text-align:center}.mobile-prefs-row input[type=color]{width:44px;height:36px;border:1px solid var(--border-color, #d4d4d4);padding:2px;cursor:default}.mobile-prefs-row input[type=range]{flex:1;min-width:0}.mobile-prefs-range-value{font-size:13px;min-width:36px;text-align:right;color:var(--text-secondary, #666)}.mobile-prefs-toggle{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:14px;cursor:default}.mobile-prefs-toggle input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.platform-mac .modal-overlay{background:#0000002e;align-items:flex-start}.platform-mac .modal-dialog{top:38px;transform:translate(-50%);border-radius:12px;border:.5px solid var(--theme-border, rgba(0, 0, 0, .2));box-shadow:0 18px 50px #00000059,0 0 0 .5px #00000026;overflow:hidden;max-height:calc(100vh - 56px)}.platform-mac .modal-header{background:transparent;border-bottom:none;height:38px;padding-left:0;justify-content:center;position:relative}.platform-mac .modal-header h2,.platform-mac .modal-header span{font-size:13px;font-weight:600}.platform-mac .modal-close-btn{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--theme-text-secondary, rgba(0, 0, 0, .25));color:transparent;opacity:.55}.platform-mac .modal-close-btn:hover{background:#ff5f57;color:#0009;opacity:1}.platform-mac .modal-close-btn svg{width:7px;height:7px}.platform-mac .modal-body{padding:4px 20px 16px}.platform-mac .modal-footer{background:transparent;border-top:none;justify-content:flex-end;gap:10px;padding:4px 20px 18px}.platform-mac .pref-btn{border-radius:6px;font-size:13px;padding:4px 16px;min-width:80px;background:var(--theme-surface, #fff);border:.5px solid var(--theme-border, rgba(0, 0, 0, .25));box-shadow:0 .5px 1.5px #00000026}.platform-mac .pref-btn-primary{background:var(--theme-accent, #7a3d63);border-color:transparent;color:var(--theme-on-accent);box-shadow:0 .5px 1.5px #0003}.platform-mac .pref-btn-primary:hover{background:var(--theme-accent-hover, #0062cc);border-color:transparent}:root{--ui-text: 12px;--ui-caption: 11px;--ui-line-height: 1.35;--ui-control-height: 28px;--ui-space: 8px}.ribbon-btn,.ribbon-collapsed-btn{border-radius:0;transition:none;cursor:default;flex-shrink:0;min-width:76px;height:auto;min-height:66px;padding:4px 8px;gap:4px}.ribbon-btn .ribbon-btn-label,.disc-tab .ribbon-btn:not(.small) .ribbon-btn-label{display:block;font-size:var(--ui-text);line-height:var(--ui-line-height);max-width:144px;overflow:visible;-webkit-line-clamp:unset;white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:none;hyphens:none}.disc-tab .ribbon-btn:not(.small){width:auto;min-width:76px}.ribbon-btn.small,.ribbon-btn.medium{min-height:22px;gap:6px}.ribbon-btn.small .ribbon-btn-label,.ribbon-btn.medium .ribbon-btn-label{max-width:none;white-space:nowrap}.ribbon-collapsed-label{font-size:var(--ui-text);line-height:var(--ui-line-height)}.ribbon-group-label{font-size:var(--ui-caption);letter-spacing:.2px}.ribbon-content{height:auto;min-height:100px}.ribbon-group-content{gap:4px}.ribbon-group{height:auto}.ribbon-groups-adaptive{overflow-x:auto;overflow-y:hidden}.ribbon-tabs{overflow-x:auto;overflow-y:hidden;height:auto;min-height:32px}.ribbon-tab{flex:none;white-space:nowrap;border-radius:0;transition:none}.mac-toolbar{flex-wrap:wrap;gap:6px 10px}.mac-toolbar .mac-segmented{max-width:100%;overflow-x:auto}.mac-segment{flex-shrink:0}.mac-toolbar-spacer{min-width:0}.ribbon-overflow-flyout{width:max-content;max-width:min(640px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:8px}.ribbon-overflow-flyout-inner{min-width:0}.ribbon-overflow-flyout-inner>.ribbon-group{height:auto;min-width:0;width:100%;padding:0}.ribbon-overflow-flyout .ribbon-group-content{flex-wrap:wrap;align-items:stretch;gap:4px}.ribbon-overflow-flyout .ribbon-btn,.ribbon-overflow-flyout.disc-tab .ribbon-btn:not(.small){flex-direction:row;justify-content:flex-start;align-items:center;width:196px;max-width:100%;min-width:0;min-height:40px;height:auto;padding:6px 8px;gap:8px}.ribbon-overflow-flyout .ribbon-btn .ribbon-btn-label{max-width:none;min-width:0;text-align:start;white-space:normal}.ribbon-overflow-flyout .ribbon-btn-stack{height:auto}.ribbon-overflow-flyout .ribbon-group-label{text-align:start;order:-1;margin:0 0 6px;padding:2px 8px 6px;border-bottom:1px solid var(--theme-border);white-space:normal}.modal-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);min-width:0;font-size:var(--ui-text)}.modal-header{flex-shrink:0;height:auto;min-height:34px;gap:12px}.modal-header>:is(h2,span){padding-block:8px;min-width:0;overflow-wrap:anywhere;line-height:var(--ui-line-height)}.modal-close-btn{min-height:34px}.platform-mac .modal-close-btn{min-height:14px}.platform-mac .modal-header>:is(h2,span){max-width:calc(100% - 76px)}.modal-body{min-height:0;overflow:auto}.modal-footer{flex-shrink:0;flex-wrap:wrap;gap:8px}.modal-footer button{min-height:var(--ui-control-height);white-space:normal;line-height:var(--ui-line-height)}.modal-footer>div{flex-wrap:wrap;gap:8px}.modal-dialog :is(label,legend){line-height:var(--ui-line-height);overflow-wrap:anywhere}.modal-dialog :is(input,select,textarea,button){font-family:inherit}.preferences-content,.pref-tab-content{min-width:0;min-height:0}.pref-tabs{width:160px;overflow-y:auto}.pref-tab{font-size:var(--ui-text);line-height:var(--ui-line-height);min-height:36px}.pref-row{flex-wrap:wrap;gap:6px 10px}.pref-fieldset{min-width:0}.pref-fieldset legend{font-size:var(--ui-text)}.property-group,.property-group-row{gap:8px;margin-bottom:6px}.property-group>label{width:88px;font-size:var(--ui-text);line-height:var(--ui-line-height);overflow-wrap:anywhere}.property-group>:not(label){min-width:0}.property-group:has(.prop-info-value,.prop-info-secondary){align-items:baseline}.prop-info-value,.prop-info-secondary{overflow-wrap:anywhere;line-height:var(--ui-line-height)}.property-group-row{grid-template-columns:88px minmax(0,1fr)}.property-section-header{min-height:30px;font-size:var(--ui-text);text-transform:none;letter-spacing:0}.properties-panel .property-group :is(input:not([type=checkbox]):not([type=color]),select){min-height:var(--ui-control-height);font-size:var(--ui-text);border-radius:0}.properties-panel-outer{transition:none}.prop-path{flex:1}.left-panel,.left-panel-body{min-height:0}.left-panel-tabs{overflow-y:auto}.left-panel-header{overflow-wrap:anywhere;line-height:var(--ui-line-height)}.kp-header,.kp-footer{flex-wrap:wrap;white-space:normal;overflow:visible;row-gap:6px;padding:6px 8px}.kp-header .kp-btn,.kp-header .kp-namn,.kp-header .kp-dock{min-height:var(--ui-control-height);font-size:var(--ui-text)}.kp-header .kp-namn{min-width:100px;max-width:100%}.kp-header{position:relative;padding-inline-end:36px}.kp-header .kp-namn{flex:1 1 140px;width:auto;max-width:220px}.kp-header .kp-close{position:absolute;top:6px;inset-inline-end:6px;height:28px}.kp-flikar{flex-wrap:wrap}.kp-flik{min-height:var(--ui-control-height);font-size:var(--ui-text)}.kp-empty-state{position:sticky;left:0;width:100%;line-height:1.5;white-space:normal}.kp-bok{max-width:45%}.kp-meddelande{white-space:normal;overflow-wrap:anywhere}.mt-header{flex-wrap:wrap;gap:6px;padding:6px 8px}.mt-header :is(.mt-btn,.mt-search){min-height:var(--ui-control-height);font-size:var(--ui-text)}.mt-search{min-width:100px;max-width:100%}.mt-menu{top:100%}.sp-title,.sp-float-title,.tp-float-title,.tc-set-name,.tc-name{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:var(--ui-line-height)}.sp-cat-name{min-width:0;overflow-wrap:anywhere}.sp-cat-header{min-height:32px;height:auto}.collab-tabs{flex-wrap:wrap}.collab-tabs button{min-width:80px;line-height:var(--ui-line-height)}.collab-body,.collab-msg,.collab-item{min-width:0;overflow-wrap:anywhere}.collab-version{flex-wrap:wrap}.schedule-modeless{max-width:calc(100vw - 40px)}.schedule-template-row{gap:8px}.schedule-template-name{min-width:0;overflow-wrap:anywhere}.chat-subtitle{white-space:normal;overflow-wrap:anywhere}.annotations-menu-label{min-width:0;white-space:normal;overflow-wrap:anywhere}.annotations-menu,.context-menu{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}:is(.ribbon-container,.modal-dialog,.properties-panel,.left-panel,.kalkyl-panel) :is(button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--theme-accent);outline-offset:-2px}@media(max-width:600px){.pref-tabs{width:124px}.pref-tab{padding:8px}.pref-tab-content{padding:10px}.ribbon-overflow-flyout .ribbon-btn{flex:1 1 180px}}.duct-bar{--duct-control-height: 24px;position:fixed;z-index:50;left:50%;bottom:46px;transform:translate(-50%);width:min(720px,calc(100vw - 16px));max-height:calc(100dvh - 170px);overflow:auto;box-sizing:border-box;padding:6px 8px;border:1px solid var(--theme-border, #ccc);background:var(--theme-ribbon-content-bg, #f7f7f7);color:var(--theme-text, #222);box-shadow:0 10px 26px #0003,0 2px 5px #0002;font:12px/1.35 var(--theme-font-family, "Segoe UI", sans-serif)}.duct-bar *,.duct-bar *:before,.duct-bar *:after{box-sizing:border-box}.duct-bar button,.duct-bar select,.duct-bar input:not([type=checkbox]){height:var(--duct-control-height);min-height:var(--duct-control-height);margin:0;padding:1px 6px;border:1px solid transparent;border-radius:0;background-color:transparent;color:var(--theme-text, #222);font:inherit;line-height:18px;box-shadow:none;cursor:default}.duct-bar button{flex-shrink:0;white-space:nowrap}.duct-bar button:hover,.duct-bar select:hover{background-color:var(--theme-hover, #eaeaea)}.duct-bar button[aria-pressed=true],.duct-bar button[aria-expanded=true]{background:var(--theme-ribbon-btn-active-bg, #eee3ea);color:var(--theme-ribbon-btn-active-text, #61304f);border-color:transparent;font-weight:600}.duct-bar :is(button,select,input):focus-visible{outline:2px solid var(--theme-accent, #7a3d63);outline-offset:1px}.duct-bar select{min-width:0;padding-inline-end:25px;appearance:none;text-overflow:ellipsis;background-image:linear-gradient(45deg,transparent 50%,var(--theme-text-secondary, #777) 50%),linear-gradient(135deg,var(--theme-text-secondary, #777) 50%,transparent 50%);background-position:right 11px center,right 7px center;background-size:4px 4px;background-repeat:no-repeat}.duct-bar input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--theme-accent, #7a3d63);flex-shrink:0;cursor:default}.duct-bar__primary,.duct-bar__system,.duct-bar__dimensions,.duct-bar__inline-field,.duct-bar__height-group,.duct-bar__options{display:flex;align-items:center;gap:6px;min-width:0}.duct-bar__primary{flex-wrap:wrap;gap:4px 8px}.duct-bar__system{gap:8px;padding-inline-end:10px;border-inline-end:1px solid var(--theme-border, #ddd)}.duct-bar__system select{width:140px}.duct-bar--selection .duct-bar__system{padding-inline-end:0;border-inline-end:0}.duct-bar__inline-field{color:var(--theme-text-secondary, #777);font-size:11px;white-space:nowrap}.duct-bar__title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;white-space:nowrap}.duct-bar__swatch{width:3px;height:14px;background:var(--duct-system-color, #7a3d63)}.duct-bar__geometry,.duct-bar__segment,.duct-bar__value{display:inline-flex;align-items:center;flex-shrink:0}.duct-bar__geometry{gap:12px}.duct-bar__segment{gap:2px}.duct-bar__segment button{padding-inline:9px}.duct-bar__dimensions{margin-inline-start:2px}.duct-bar__value{height:var(--duct-control-height);border:1px solid var(--theme-border, #ccc);background:var(--theme-ribbon-input-bg, #fff)}.duct-bar .duct-bar__value>:is(button,input,select){height:calc(var(--duct-control-height) - 2px);min-height:calc(var(--duct-control-height) - 2px);border:0;background-color:transparent}.duct-bar__value select{width:82px;font-weight:600}.duct-bar input.duct-bar__number{width:66px;min-width:0;font-variant-numeric:tabular-nums;background-color:var(--theme-ribbon-input-bg, #fff);border-color:var(--theme-border, #ccc)}.duct-bar .duct-bar__value input.duct-bar__number{border:0;background:none}.duct-bar__pipes{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0}.duct-bar--stacked .duct-bar__pipes{order:2;flex:1 0 100%}.duct-bar--stacked .duct-bar__system{border-inline-end:0}.duct-bar__pipe{display:inline-flex;align-items:center;gap:6px;min-width:0}.duct-bar__pipe .duct-bar__value select+select{border-inline-start:1px solid var(--theme-border, #ccc)}.duct-bar__value select.duct-bar__serie{width:104px;font-weight:400}.duct-bar__value select.duct-bar__dim{width:64px}.duct-bar input.duct-bar__number--short{width:52px}.duct-bar--pipes .duct-bar__system select{width:156px}.duct-bar__actions{display:flex;align-items:center;gap:4px;margin-inline-start:auto}.duct-bar .duct-bar__settings-button{display:inline-flex;align-items:center;gap:7px;color:var(--theme-text-secondary, #777);font-size:11px}.duct-bar__settings-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.duct-bar__settings-button span{display:inline-block;width:8px;height:4px;font-size:0;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:0 0,4px 0;background-size:4px 4px;background-repeat:no-repeat}.duct-bar__settings-button .is-open{transform:rotate(180deg)}.duct-bar .duct-bar__help-button{width:26px;padding:0;font-size:13px;color:var(--theme-text-secondary, #777)}.duct-bar__height-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:5px;padding-top:5px;border-top:1px solid var(--theme-border, #ddd)}.duct-bar__height-group+.duct-bar__height-group{padding-inline-start:12px;border-inline-start:1px solid var(--theme-border, #ddd)}.duct-bar__height-row .duct-bar__pick{margin-inline-start:auto;color:var(--theme-text-secondary, #777)}.duct-bar__reference{width:58px}.duct-bar__unit,.duct-bar__caption{font-size:11px;color:var(--theme-text-secondary, #777);white-space:nowrap}.duct-bar__drawer{margin-top:6px;padding-top:6px;border-top:1px solid var(--theme-border, #ddd)}.duct-bar__properties{display:grid;grid-template-columns:1.35fr .9fr 1fr 1.35fr;gap:8px;padding:0 0 6px}.duct-bar__field{display:flex;flex-direction:column;gap:2px;min-width:0}.duct-bar__field>span{color:var(--theme-text-secondary, #666);font-size:11px}.duct-bar__field select{width:100%;border-color:var(--theme-border, #ccc);background-color:var(--theme-ribbon-input-bg, #fff)}.duct-bar__branch{display:flex;align-items:flex-end;gap:8px;min-width:0}.duct-bar__branch .duct-bar__field{flex:1}.duct-bar__check,.duct-bar .duct-dim-toggle{display:inline-flex;align-items:center;gap:6px!important;min-height:var(--duct-control-height);margin:0!important;white-space:nowrap}.duct-bar__levels{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:6px}.duct-bar__options{gap:18px;flex-wrap:wrap}.duct-bar__component{flex:1}.duct-bar__component select{max-width:100%}.duct-bar__help{margin-top:6px;padding-top:5px;border-top:1px solid var(--theme-border, #ddd);color:var(--theme-text-secondary, #666);font-size:11px}.duct-bar__help p{margin:0;line-height:1.45}.duct-bar__notice{margin:5px 0 0;color:var(--theme-accent, #7a3d63)}.duct-bar--selection .duct-bar__properties{grid-template-columns:1.35fr 1fr 1fr;padding-top:6px}.duct-bar--wide{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}.duct-bar--wide>.duct-bar__primary{display:contents}.duct-bar--wide>.duct-bar__height-row{order:1;flex-wrap:nowrap;margin-top:0;padding-top:0;border-top:0;padding-inline-start:12px;border-inline-start:1px solid var(--theme-border, #ddd)}.duct-bar--wide .duct-bar__height-row .duct-bar__pick{margin-inline-start:0}.duct-bar--wide .duct-bar__actions{order:2}.duct-bar--wide>:is(.duct-bar__drawer,.duct-bar__help,.duct-bar__notice){order:3;flex:1 0 100%}.duct-bar--medium .duct-bar__height-group+.duct-bar__height-group{padding-inline-start:0;border:0}.duct-bar--medium .duct-bar__properties,.duct-bar--medium.duct-bar--selection .duct-bar__properties{grid-template-columns:repeat(2,minmax(0,1fr))}.duct-bar--narrow{padding-inline:6px;max-height:min(65dvh,calc(100dvh - 130px))}.duct-bar--narrow .duct-bar__system{flex:1 0 100%;padding:0;border:0}.duct-bar--narrow.duct-bar--selection .duct-bar__system{flex-wrap:wrap}.duct-bar--narrow.duct-bar--selection .duct-bar__title{flex-basis:100%}.duct-bar--narrow .duct-bar__system select{flex:1;width:auto}.duct-bar--narrow.duct-bar--pipes .duct-bar__system{flex:1 1 0}.duct-bar--narrow .duct-bar__height-group+.duct-bar__height-group{padding-inline-start:0;border:0}.duct-bar--narrow .duct-bar__component{flex-wrap:wrap}.duct-bar--narrow .duct-bar__branch{flex-wrap:wrap;gap:2px}.duct-bar--narrow .duct-bar__branch .duct-bar__field{flex-basis:100%}
