:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202b40;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;background:#f5f7fb}*{box-sizing:border-box}html,body{height:100%;margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled,input:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible{outline:3px solid #9bbefa;outline-offset:2px}button,input,dialog{color:inherit}[hidden]{display:none!important}.app-shell{height:100dvh;min-height:300px;display:flex;flex-direction:column;overflow:hidden;background:#f6f8fc}.topbar{z-index:3;position:relative;height:54px;min-height:54px;flex:0 0 54px;background:#fff;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;gap:10px;flex-wrap:nowrap;padding:6px 14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;box-shadow:0 1px 4px #1e2b4806}.topbar::-webkit-scrollbar{display:none}.brand{display:flex;align-items:center;flex:0 0 auto;gap:7px;margin-right:4px;position:sticky;left:0;z-index:2;padding-right:6px;background:#fff}.menu-button{background:#f2f5fa;color:#344862}.menu-button svg{width:20px;height:20px}.brand-title{font-size:22px;letter-spacing:-1.3px;font-weight:790}.brand-dot{color:#466bee}.file-group{display:flex;align-items:center;gap:8px;min-width:0;flex:0 0 auto}.workspace-chip{border:1px solid #e2e9f7;background:#f1f5fd;color:#3858a9;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:750;white-space:nowrap}.primary-button{height:38px;min-width:82px;padding:0 15px;border:1px solid #3055d4;border-radius:9px;background:#345ce6;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;font-size:13px;box-shadow:0 3px 9px #345ce626;transition:background .15s,transform .15s}.primary-button:hover{background:#2447ca}.primary-button:active{transform:translateY(1px)}.primary-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.file-label{color:#56647d;font-size:12px;font-weight:550;white-space:nowrap;flex:0 0 auto}.icon-button.file-info-button{width:27px;height:27px;padding:4px;flex:0 0 27px;border:1px solid #e2e9f7;background:#f8faff;color:#6079b3;border-radius:50%}.icon-button.file-info-button svg{width:16px;height:16px}.toolbar-spacer{flex:1 0 5px}.toolbar-group{display:flex;gap:4px;align-items:center;white-space:nowrap;flex:0 0 auto}.toolbar-divider{align-self:stretch;margin:6px 1px;width:1px;min-height:22px;background:#e7eaf1}.icon-button{width:34px;height:34px;padding:7px;border:1px solid transparent;background:transparent;border-radius:8px;display:inline-grid;place-items:center;color:#5b6980;transition:background .15s,color .15s}.icon-button:hover:not(:disabled){background:#edf2fc;color:#3157db}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-button[aria-pressed=false]{color:#a3aab8}.page-field,.zoom-field{height:34px;display:flex;align-items:center;border:1px solid #e3e8f1;background:#f8fafd;border-radius:7px;padding:0 8px;font-size:12px}.page-field{gap:4px;width:max-content;min-width:0;flex:0 0 auto;justify-content:center;padding:0 7px;white-space:nowrap;font-variant-numeric:tabular-nums}.page-field input{width:2ch;min-width:0;padding:0;border:0;outline:0;background:transparent;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;appearance:textfield}.page-field span{color:#8791a2}.page-divider{font-size:15px}.zoom-field{gap:1px;padding:0 7px}.zoom-field input{width:33px;border:0;padding:0;outline:0;background:transparent;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;appearance:textfield}.zoom-field span{color:#66748b}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#zoomRange{width:clamp(60px,7vw,104px);height:4px;margin:0 4px;accent-color:#4267e7;cursor:pointer}.view-controls{gap:4px}.view-menu-button{width:43px;height:34px;padding:5px 4px 5px 6px;border:1px solid #e5eaf3;border-radius:8px;background:#f8fafd;color:#5b6980;display:inline-flex;align-items:center;justify-content:center;gap:2px;transition:background .15s,border-color .15s,color .15s}.view-menu-button:hover:not(:disabled),.view-menu-button[aria-expanded=true]{background:#eaf0ff;border-color:#b9cafa;color:#3157dc}.view-menu-button .view-current-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.view-menu-button .view-menu-chevron{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fit-icon-width,.fit-icon-height,.fit-icon-page,.thumb-icon-left,.thumb-icon-bottom,.thumb-icon-hidden{display:none}.app-shell.fit-width .fit-icon-width,.app-shell.fit-height-mode .fit-icon-height,.app-shell.fit-page .fit-icon-page,.app-shell.fit-custom .fit-icon-page,.app-shell.thumbs-left:not(.thumbs-hidden) .thumb-icon-left,.app-shell.thumbs-bottom:not(.thumbs-hidden) .thumb-icon-bottom,.app-shell.thumbs-hidden .thumb-icon-hidden{display:inline}.direction-button .direction-horizontal,.app-shell.flow-horizontal .direction-button .direction-vertical{display:none}.app-shell.flow-horizontal .direction-button .direction-horizontal{display:inline}.view-dropdown-panel{position:fixed;z-index:110;width:max-content;min-width:186px;max-width:calc(100vw - 16px);max-height:min(70vh,300px);overflow-y:auto;padding:5px;border:1px solid #dfe6f3;border-radius:11px;background:#fff;box-shadow:0 13px 32px #172b4d27,0 2px 8px #172b4d12}.view-dropdown-panel>button{width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#485b76;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;white-space:nowrap;font-size:12px;font-weight:650}.view-dropdown-panel>button:hover,.view-dropdown-panel>button:focus-visible{background:#f1f5fe;color:#345ddd}.view-dropdown-panel>button[aria-pressed=true]{background:#edf2ff;color:#2d56d4}.view-option-check{visibility:hidden;color:#3766e4;font-size:15px;font-weight:800}.view-dropdown-panel>button[aria-pressed=true] .view-option-check{visibility:visible}.workspace{flex:1;min-height:0;display:grid;position:relative;overflow:hidden}.app-shell.thumbs-left:not(.thumbs-hidden) .workspace{grid-template-columns:208px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.app-shell.thumbs-bottom:not(.thumbs-hidden) .workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 166px}.app-shell.thumbs-hidden .workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.thumbs-pane{background:#fff;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.app-shell.thumbs-left .thumbs-pane{border-right:1px solid #e5eaf3}.app-shell.thumbs-bottom .thumbs-pane{border-top:1px solid #e5eaf3;grid-row:2}.app-shell.thumbs-hidden .thumbs-pane,.app-shell:not(.has-document) .thumbs-pane{display:none}.app-shell:not(.has-document) .workspace{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}.pane-heading{display:flex;align-items:center;justify-content:center;gap:7px;padding:14px 6px 10px;color:#485873;font-size:12px;font-weight:750}.thumb-filter{display:flex;justify-content:center;gap:3px;padding:3px;min-width:0;background:#f0f3f9;border-radius:9px}.thumb-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:7px;padding:7px;white-space:nowrap;background:transparent;color:#758299;font-size:11px;font-weight:750}.thumb-filter-button.active{color:#3157dc;background:#fff;box-shadow:0 1px 4px #1d30501d}.thumb-filter-button:hover:not(.active){color:#334869;background:#e8edf7}.thumb-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;padding:2px 5px;border-radius:999px;color:#65748b;background:#e1e7f1;font-size:10px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}.thumb-filter-button.active .thumb-tab-count{color:#3157dc;background:#edf2ff}.thumb-empty{margin:18px 8px;padding:15px 10px;text-align:center;color:#8894a8;font-size:11px;line-height:1.55;background:#f7f9fd;border:1px dashed #e0e6f1;border-radius:9px}.thumb-entry[hidden],.thumb-empty[hidden]{display:none!important}.thumb-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:6px 22px 24px;display:flex;flex-direction:column;align-items:center;gap:15px;scrollbar-width:thin}.thumb-entry{position:relative;flex:0 0 auto;width:146px;border-radius:10px}.thumb-item{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;border:0;padding:7px;background:transparent;border-radius:10px;color:#77849a}.thumb-remove{position:absolute;z-index:3;top:4px;right:4px;width:26px;height:26px;display:grid;place-items:center;border:1px solid #f2c6ce;border-radius:8px;background:#fff;color:#bd4054;font-size:17px;line-height:1;box-shadow:0 2px 8px #1f34522c;opacity:0;pointer-events:none}.thumb-entry:hover .thumb-remove,.thumb-entry:focus-within .thumb-remove{opacity:1;pointer-events:auto}.thumb-remove:hover{background:#ffe9ee;color:#a7233b}.thumb-drag-handle{position:absolute;z-index:3;bottom:4px;right:4px;width:24px;height:24px;display:grid;place-items:center;border:1px solid #ccdaf8;border-radius:7px;color:#5873b9;background:#fff;font-size:13px;font-weight:800;opacity:0;pointer-events:none;touch-action:none;cursor:grab}.thumb-entry:hover .thumb-drag-handle,.thumb-entry:focus-within .thumb-drag-handle{opacity:1;pointer-events:auto}.thumb-drag-handle:active{cursor:grabbing}.thumb-entry.dragging{opacity:.42}.thumb-entry.drag-over{outline:2px dashed #416ae5;outline-offset:1px;background:#edf2ff}.app-shell.bookmark-mode .thumb-entry{cursor:grab}.thumb-item:hover{background:#f0f4fc}.thumb-item.active{background:#eaf0ff;color:#315bdf}.thumb-item.bookmarked .thumb-preview:after{content:"★";position:absolute;z-index:2;top:4px;right:4px;display:grid;place-items:center;width:19px;height:19px;color:#fff;background:#375edb;border-radius:6px;font-size:12px;box-shadow:0 1px 4px #1b315d47}.thumb-preview{position:relative;width:112px;height:150px;display:grid;place-items:center;background:#fff;border:1px solid #dde4ef;border-radius:3px;box-shadow:0 2px 6px #1a294219;overflow:hidden}.thumb-item.active .thumb-preview{border:2px solid #4c72ef;box-shadow:0 0 0 2px #4c72ef1c}.thumb-preview canvas{display:block;width:100%;height:100%;object-fit:contain}.thumb-number{font-size:11px;font-weight:650}.app-shell.thumbs-bottom .thumbs-pane{flex-direction:row;align-items:stretch}.app-shell.thumbs-bottom .pane-heading{align-items:stretch;flex:0 0 145px;flex-direction:column;justify-content:center;padding:10px 9px 10px 11px;border-right:1px solid #eaf0f7}.app-shell.thumbs-bottom .thumb-filter{flex:1 1 auto;min-height:0;flex-direction:column;width:100%;padding:4px;gap:4px;border-radius:12px}.app-shell.thumbs-bottom .thumb-filter-button{flex:1 1 0;min-height:0;justify-content:space-between;gap:4px;padding:8px 9px;text-align:left;border:1px solid transparent;border-radius:9px;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.app-shell.thumbs-bottom .thumb-filter-button.active{border-color:#dce6fb;box-shadow:0 2px 7px #1d30501a}.app-shell.thumbs-bottom .thumb-list{flex-direction:row;align-items:flex-start;padding:12px 22px 8px;gap:15px;overflow:auto hidden}.app-shell.thumbs-bottom .thumb-entry{width:92px}.app-shell.thumbs-bottom .thumb-item{padding:4px;gap:4px}.app-shell.thumbs-bottom .thumb-remove{top:0;right:0}.app-shell.thumbs-bottom .thumb-preview{height:103px;width:78px}.app-shell.thumbs-bottom .thumb-number{font-size:10px}.document-panel{min-height:0;min-width:0;position:relative;overflow:hidden;display:flex}.viewer{min-height:0;min-width:0;flex:1;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-color:#c1cbda transparent;scrollbar-width:thin;background-color:#ecf0f7;background-image:radial-gradient(#e0e6f1 .8px,transparent .8px);background-size:19px 19px}.viewer:focus{outline:0}.viewer .page-surface,.viewer .textLayer{cursor:grab}.viewer .textLayer span{cursor:text}.viewer.is-dragging,.viewer.is-dragging *{cursor:grabbing!important;user-select:none!important}.pages{display:flex;align-items:center;min-width:min-content;min-height:100%;gap:40px;padding:34px 40px 52px}.pages.vertical{flex-direction:column;width:100%}.pages.horizontal{flex-direction:row;height:100%;width:max-content}.pages.fit-height{padding-top:0;padding-bottom:0}.pages.fit-height.vertical{gap:0}.pages.bookmarks-empty{justify-content:center;min-width:100%}.bookmark-pages-empty{flex:0 0 auto;width:min(360px,calc(100vw - 95px));display:flex;flex-direction:column;gap:10px;align-items:center;padding:28px 22px;border:1px solid #dce4f1;border-radius:14px;background:#fff;box-shadow:0 5px 24px #1e34500e;color:#75829a;text-align:center;font-size:13px;line-height:1.55}.bookmark-pages-empty strong{color:#3a4e70;font-size:15px}.page-shell{flex:0 0 auto;position:relative;border:1px solid #d5dce8;background:#fff;box-shadow:0 5px 25px #1e345023,0 1px 4px #1e345015;transition:box-shadow .15s}.page-surface{position:relative;width:100%;height:100%;overflow:hidden;background:#fff}.page-surface canvas{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:0}.textLayer{position:absolute;inset:0;z-index:2;overflow:clip;text-align:initial;line-height:1;letter-spacing:normal;word-spacing:normal;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;--min-font-size: 1;--text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv: calc(1 / var(--min-font-size))}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%;user-select:text}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){--font-height: 0;--scale-x: 1;--rotate: 0deg;font-size:calc(var(--text-scale-factor) * var(--font-height));transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.textLayer span[role=img]{user-select:none;cursor:default}.textLayer ::selection{background:#3c72ee47;color:transparent}.textLayer br::selection{background:transparent}.page-highlight-layer{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}.page-highlight{position:absolute;background:#ffd13b6b;box-shadow:inset 0 0 0 1px #c48e0a1f;border-radius:2px;mix-blend-mode:multiply}.highlight-remove{position:fixed;z-index:12;display:grid;place-items:center;width:26px;height:26px;border:1px solid #f4bdc9;border-radius:8px;color:#b92b47;background:#fff;font-size:19px;line-height:1;box-shadow:0 3px 12px #15263d44}.highlight-remove:hover{color:#9f1635;background:#fff0f3}.app-shell:not(.has-document) .viewer{display:grid;place-items:center;background:#f7f9fd;background-image:none}.empty-state{text-align:center;padding:36px 24px 68px;max-width:550px;display:flex;flex-direction:column;align-items:center}.welcome-icon{height:98px;width:98px;display:grid;place-items:center;color:#486be3;background:#ecf1ff;border:1px solid #dfe8ff;border-radius:27px;margin-bottom:29px;box-shadow:0 8px 30px #345ce60c}.welcome-icon svg{width:63px;height:63px}.eyebrow{color:#4770e8;font-size:10px;letter-spacing:.17em;font-weight:800}.empty-state h1{margin:13px 0 12px;color:#1d2b44;letter-spacing:-.05em;line-height:1.19;font-size:clamp(28px,3.2vw,39px);font-weight:770}.empty-state p{color:#79869a;font-size:14px;line-height:1.8;margin:0;max-width:420px}.empty-open{margin:25px 0 14px;background:#345ce6;border:0;border-radius:11px;color:#fff;font-size:13px;font-weight:700;padding:14px 22px;display:flex;align-items:center;gap:20px;box-shadow:0 7px 17px #345ce62b}.empty-open:hover{background:#244acc}.empty-open span{font-size:18px}.drop-hint{font-size:11px;color:#a1acbd}.loading-indicator{position:absolute;left:50%;top:21px;transform:translate(-50%);display:flex;gap:9px;align-items:center;padding:11px 15px;border:1px solid #e5ebf5;border-radius:11px;background:#fff;box-shadow:0 5px 20px #192a431c;color:#50617c;font-size:12px;font-weight:650;z-index:4}.loading-spinner{width:15px;height:15px;border-radius:50%;border:2px solid #dbe5ff;border-top-color:#345ce6;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-dialog{width:min(430px,calc(100vw - 30px));max-height:min(690px,calc(100dvh - 26px));overflow:auto;border:1px solid #e5eaf2;border-radius:18px;background:#fff;box-shadow:0 25px 80px #14274230;padding:24px;margin:auto}.settings-dialog::backdrop{background:#101c31a1;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.dialog-top h2{margin:7px 0 0;font-size:23px;letter-spacing:-.04em}.dialog-top .icon-button{background:#f2f5fa}.pdf-info-dialog{width:min(540px,calc(100vw - 30px))}.pdf-info-dialog .dialog-top{margin-bottom:12px}.pdf-info-file-name{margin:0 0 14px;padding:11px 13px;background:#f5f7fc;border:1px solid #e8edf5;border-radius:10px;color:#465774;font-size:12px;font-weight:700;overflow-wrap:anywhere}.pdf-info-details{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);margin:0}.pdf-info-details dt,.pdf-info-details dd{padding:10px 3px;border-bottom:1px solid #edf0f6;line-height:1.5}.pdf-info-details dt{color:#7d8ca2;font-size:11px;font-weight:700}.pdf-info-details dd{margin:0;color:#33435d;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.pdf-info-details dt:last-of-type,.pdf-info-details dd:last-of-type{border-bottom:0}.drop-overlay{position:fixed;z-index:20;inset:0;padding:24px;display:grid;place-items:center;pointer-events:none;background:#e9eff9de;border:4px dashed #7b96ef}.drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:10px;color:#2950ce}.drop-icon{font-size:70px}.drop-overlay strong{font-size:22px}.drop-overlay small{font-size:13px;color:#6f80a0}.toast{position:fixed;z-index:30;left:50%;bottom:50px;transform:translate(-50%);background:#23334b;color:#fff;padding:12px 17px;border-radius:10px;box-shadow:0 8px 26px #17284648;font-size:12px;max-width:min(90vw,550px);text-align:center}.sidebar-backdrop{position:fixed;inset:0;z-index:40;background:#111e3673;backdrop-filter:blur(2px)}.workspace-sidebar{position:fixed;z-index:41;inset:0 auto 0 0;width:min(362px,94vw);display:flex;flex-direction:column;gap:12px;padding:22px 18px 18px;background:#fff;box-shadow:10px 0 45px #13264826;transform:translate(-105%);transition:transform .2s ease;overflow:hidden}.workspace-sidebar.is-open{transform:translate(0)}.sidebar-header{display:flex;align-items:flex-start;justify-content:space-between}.sidebar-header h2{font-size:23px;margin:6px 0 2px;letter-spacing:-.04em}.sidebar-header .icon-button{background:#f3f6fb}.sidebar-section-heading{display:flex;justify-content:space-between;align-items:center;color:#566783;font-size:11px;font-weight:800;letter-spacing:.025em}.sidebar-section-heading span:last-child{color:#8290a4;font-weight:650}.workspace-list{display:flex;flex-direction:column;gap:5px;overflow:auto;min-height:0;flex:1 1 auto;scrollbar-width:thin}.workspace-row{display:flex;align-items:stretch;gap:5px}.workspace-row .workspace-choice{flex:1;min-width:0;width:0}.workspace-open,.workspace-delete{flex:0 0 33px;display:grid;place-items:center;border:1px solid #e6eaf2;border-radius:9px;background:#fff}.workspace-open{color:#4568d8;background:#f1f5ff;border-color:#dce5fc}.workspace-open:hover{color:#284bc0;background:#e3ebff;border-color:#bbcdff}.workspace-open svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.workspace-delete{color:#a1aabc;font-size:18px;line-height:1}.workspace-delete:hover{background:#fff0f2;color:#c3425b;border-color:#f4c7cf}.workspace-choice{width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:9px;text-align:left;padding:9px 11px;background:#f7f9fd;color:#53647b}.workspace-choice:hover{background:#edf2fd}.workspace-choice.active{background:#ebf1ff;border-color:#b7c8fc;color:#2f54cc}.workspace-choice .workspace-number{height:26px;width:26px;flex:0 0 26px;display:grid;place-items:center;background:#fff;border:1px solid #dce5f6;border-radius:7px;font-size:11px;font-weight:800}.workspace-choice .workspace-meta{min-width:0;flex:1}.workspace-choice strong,.workspace-choice small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-choice strong{font-size:12px}.workspace-choice small{font-size:10px;color:#8995a7;margin-top:2px}.create-workspace{border:1px dashed #bac9e7;border-radius:9px;color:#3256c6;background:#f8faff;padding:10px;font-size:12px;font-weight:750;flex:0 0 auto}.create-workspace:hover:not(:disabled){background:#edf2ff}.sidebar-privacy{margin:0;flex:0 0 auto;font-size:10px;line-height:1.4;color:#9aa5b7;border-top:1px solid #eef1f6;padding-top:11px}.replace-dialog{width:min(460px,calc(100vw - 30px))}.replace-dialog .dialog-top{margin-bottom:12px}.replace-dialog p{margin:0 0 24px;color:#66768d;font-size:13px;line-height:1.65}.replace-actions{display:flex;justify-content:flex-end;gap:10px}.danger-button{border:1px solid #c43f52;background:#cc465d;color:#fff;border-radius:9px;padding:9px 16px;font-size:12px;font-weight:750}.danger-button:hover:not(:disabled){background:#b92c45}.danger-button:disabled{opacity:.55;cursor:wait}.secondary-button{border:1px solid #dce3ef;background:#f7f9fc;border-radius:9px;padding:9px 16px;font-size:12px;font-weight:700}.secondary-button:hover{background:#edf2f9}.selection-menu{position:fixed;z-index:70;width:216px;padding:5px;background:#fff;border:1px solid #dfe6f2;border-radius:10px;box-shadow:0 12px 36px #15263d30}.selection-menu button{border:0;background:transparent;color:#33445d;width:100%;padding:11px 12px;border-radius:7px;text-align:left;font-size:12px;font-weight:650}.selection-menu button:hover{background:#eff3fc;color:#2e56cb}@media(hover:none){.app-shell.bookmark-mode .thumb-remove,.app-shell.bookmark-mode .thumb-drag-handle{opacity:1;pointer-events:auto}}@media(max-width:1350px){.topbar{gap:8px;padding:6px 12px}.toolbar-divider{margin:6px 0}}@media(max-width:1050px){.toolbar-spacer{flex-basis:5px}.page-controls,.last-controls{margin-left:0}}@media(max-width:670px){.topbar{gap:7px;padding:6px 10px}.brand-title{font-size:20px}.menu-button{width:32px;height:32px}.toolbar-group{gap:1px}.toolbar-divider{display:none}#zoomRange{width:65px}.page-controls{margin-left:0}.last-controls{margin-left:auto}.app-shell.thumbs-left:not(.thumbs-hidden) .workspace{grid-template-columns:117px minmax(0,1fr)}.app-shell.thumbs-bottom:not(.thumbs-hidden) .workspace{grid-template-rows:minmax(0,1fr) 136px}.thumb-list{padding:5px 8px;gap:9px}.thumb-entry{width:100px}.thumb-item{padding:4px}.thumb-preview{width:82px;height:110px}.pane-heading{flex-direction:column;align-items:stretch;gap:5px;padding:11px 6px 8px}.thumb-filter{flex-direction:column}.thumb-filter-button{padding:5px 4px;font-size:10px}.app-shell.thumbs-bottom .pane-heading{flex-basis:108px;padding:8px 5px 8px 7px}.app-shell.thumbs-bottom .thumb-filter{padding:3px;gap:3px}.app-shell.thumbs-bottom .thumb-filter-button{padding:5px;font-size:10px}.app-shell.thumbs-bottom .thumb-list{padding:9px 12px}.app-shell.thumbs-bottom .thumb-preview{width:63px;height:82px}.app-shell.thumbs-bottom .thumb-entry{width:72px}.pages{padding:24px 28px 40px;gap:36px}}@media(max-width:430px){.brand{margin-right:2px}.empty-state{padding:16px 16px 36px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important}}
