:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#242424;background:transparent;font-synthesis:none}*{box-sizing:border-box}html,body,#root{background:transparent}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{max-width:1280px;margin:0 auto;padding:28px 28px 56px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.brand{display:flex;align-items:center;gap:14px}.brand-mark{width:66px;height:66px;border-radius:16px;display:grid;place-items:center;background:transparent;color:#b8342d;font-weight:800;font-size:14px;letter-spacing:.4px;box-shadow:none;overflow:hidden;flex:0 0 auto}.brand-mark img{display:block;width:66px;height:66px;object-fit:contain}h1{font-size:24px;margin:0 0 3px}.brand p{margin:0;color:#686868;font-size:14px}.privacy-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #b8dcc5;background:#effaf2;border-radius:999px;color:#24613b;font-size:13px;font-weight:700;white-space:nowrap}.privacy-dot{width:8px;height:8px;border-radius:999px;background:#2b9a50;box-shadow:0 0 0 4px #2b9a501f}.dropzone{border:2px dashed #c7c7cb;border-radius:18px;min-height:230px;display:grid;place-items:center;align-content:center;padding:34px;background:#fff;text-align:center;transition:border-color .15s,background .15s}.dropzone:hover{border-color:#e53935;background:snow}.drop-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e53935;color:#fff;font-size:30px;line-height:1;margin-bottom:10px}.dropzone h2{margin:4px 0 6px;font-size:20px}.dropzone p{margin:0;color:#707070;max-width:600px;font-size:14px}.toolbar{position:sticky;top:0;z-index:8;margin:20px 0 14px;padding:12px;border:1px solid #dedee3;border-radius:14px;background:#fffffff5;backdrop-filter:blur(10px);display:flex;align-items:center;gap:14px;box-shadow:0 5px 18px #0000000d}.segmented{display:inline-flex;padding:3px;background:#efeff2;border-radius:9px}.segmented button{border:0;background:transparent;padding:7px 12px;border-radius:7px;color:#666}.segmented button.active{background:#fff;color:#222;box-shadow:0 1px 4px #0000001a;font-weight:700}.summary{color:#6c6c6c;font-size:13px;margin-right:auto}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ghost,.primary{border-radius:9px;padding:9px 14px;border:1px solid #d4d4d8;background:#fff}.ghost:hover:not(:disabled){background:#f5f5f5}.ghost.danger{color:#a52925}.icon-text{display:inline-flex;gap:5px;align-items:center}.primary{border-color:#d92e2a;background:#e53935;color:#fff;font-weight:750;padding-inline:18px}.primary:hover:not(:disabled){background:#d9322e}.memory-warning{margin:0 0 14px;border:1px solid #e5c879;background:#fff9e9;color:#664f13;border-radius:11px;padding:11px 14px;font-size:13px;line-height:1.45}.file-list-shell{display:grid;gap:8px}.file-list-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px;color:#5f5f63;font-size:12px}.file-list-meta strong{color:#3f3f43;font-size:13px}.file-list-meta span{color:#6c6c70}.file-list{display:grid;gap:10px}.file-list.file-list-scroll{max-height:min(56vh,540px);overflow-y:auto;overflow-x:hidden;padding:2px 8px 2px 2px;scrollbar-gutter:stable;overscroll-behavior:contain;scroll-behavior:smooth}.file-list.file-list-scroll::-webkit-scrollbar{width:11px}.file-list.file-list-scroll::-webkit-scrollbar-track{background:#f1f1f3;border-radius:999px}.file-list.file-list-scroll::-webkit-scrollbar-thumb{background:#b9b9bf;border:2px solid #f1f1f3;border-radius:999px}.file-list.file-list-scroll::-webkit-scrollbar-thumb:hover{background:#96969d}.file-row{position:relative;display:flex;align-items:center;gap:14px;padding:13px 14px;background:#fff;border:1px solid #dedee3;border-radius:12px;box-shadow:0 2px 6px #00000009;cursor:grab}.file-row:active{cursor:grabbing}.file-row.drop-before:before,.file-row.drop-after:after,.group-heading.drop-before:before,.group-heading.drop-after:after{content:"";position:absolute;left:8px;right:8px;height:4px;border-radius:999px;background:#e53935;z-index:7;pointer-events:none;box-shadow:0 0 0 2px #e539351a}.file-row.drop-before:before{top:-8px}.file-row.drop-after:after{bottom:-8px}.group-heading.drop-before:before{top:0}.group-heading.drop-after:after{bottom:0}.drag-handle{color:#686868;cursor:grab;user-select:none;letter-spacing:-3px;font-weight:800}.file-number{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#f0f0f2;color:#555;font-size:13px;font-weight:700}.file-info{display:grid;gap:3px;min-width:0;flex:1}.file-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info span,.group-heading span{color:#747474;font-size:12px}.icon-button{width:32px;height:32px;border:0;background:transparent;color:#686868;border-radius:50%;padding:0;display:grid;place-items:center;line-height:1}.icon-button:hover{background:#f3e5e5;color:#a42320}.selection-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:11px 12px;margin-bottom:5px;border:1px solid #dedee3;background:#fff;border-radius:12px}.selection-left,.selected-actions,.range-select{display:flex;align-items:center;gap:7px}.selection-left{margin-right:auto}.selection-toolbar button{border:1px solid #d5d5da;background:#fafafa;border-radius:7px;padding:7px 9px;color:#444}.selection-toolbar button:hover:not(:disabled){background:#f1f1f3}.range-select label{font-size:12px;color:#666}.range-select input{width:145px;border:1px solid #cfcfd4;border-radius:7px;padding:7px 9px;outline:none}.range-select input:focus{border-color:#888;box-shadow:0 0 0 3px #0000000f}.danger-action{color:#a52925!important}.selection-help{margin:0 4px 12px;color:#686868;font-size:12px}.page-groups{display:grid;gap:15px}.page-group{background:#fff;border:1px solid #dedee3;border-radius:14px;overflow:hidden}.group-heading{position:relative;display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #ececef;background:#fafafa}.group-heading>div:nth-child(2){min-width:0;display:grid;gap:2px;flex:1}.group-heading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-button{border:0;background:transparent;color:#9c2c28;padding:6px 8px}.text-button:hover{text-decoration:underline}.page-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px;padding:16px;min-height:90px;transition:background .12s}.page-grid.group-drop-active{background:#fff7f7}.empty-group{grid-column:1 / -1;display:grid;place-items:center;min-height:58px;border:1px dashed #c9c9cd;border-radius:9px;color:#686868;font-size:13px}.page-card{position:relative;border:2px solid transparent;outline:1px solid #d8d8dc;border-radius:11px;background:#f8f8f9;padding:9px;cursor:pointer;transition:transform .12s,box-shadow .12s,border-color .12s,outline-color .12s;min-width:0}.page-card:hover{transform:translateY(-1px);outline-color:#bfbfc4;box-shadow:0 5px 14px #00000014}.page-card.selected{border-color:#4f78d1;outline-color:#4f78d1;background:#f2f6ff;box-shadow:0 0 0 2px #4f78d11f}.page-card.drop-before:before,.page-card.drop-after:after{content:"";position:absolute;top:-4px;bottom:-4px;width:4px;border-radius:999px;background:#e53935;z-index:5;pointer-events:none}.page-card.drop-before:before{left:-10px}.page-card.drop-after:after{right:-10px}.output-number{position:absolute;z-index:4;top:6px;left:6px;padding:3px 6px;border-radius:6px;background:#232323d1;color:#fff;font-size:11px;font-weight:750}.page-actions{position:absolute;top:5px;right:5px;z-index:5;display:flex;gap:3px;opacity:0;transition:opacity .12s}.page-card:hover .page-actions,.page-card.selected .page-actions{opacity:1}.page-actions button{width:27px;height:27px;display:grid;place-items:center;border:1px solid #d8d8dc;background:#fffffff0;color:#555;border-radius:6px;padding:0;line-height:1}.page-actions button svg,.icon-button svg,.modal-close svg,.preview-nav svg{display:block;flex:0 0 auto}.page-actions button:hover{background:#fff;border-color:#aaa}.page-actions .remove-control:hover{color:#a42320;background:#fff1f1;border-color:#e7b4b2}.page-preview{aspect-ratio:.76;width:100%;background:#e9e9ec;border-radius:6px;overflow:hidden;display:grid;place-items:center}.page-preview img{width:100%;height:100%;object-fit:contain;background:#fff;transition:transform .15s}.skeleton{width:70%;height:82%;background:linear-gradient(110deg,#eeeeef 8%,#f8f8f9 18%,#eeeeef 33%);background-size:200% 100%;animation:shimmer 1.3s linear infinite;border-radius:3px}@keyframes shimmer{to{background-position-x:-200%}}.page-caption{display:flex;align-items:center;gap:5px;padding-top:7px;font-size:11px;color:#5d5d5d;min-width:0}.page-caption span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mini-grip{color:#686868;letter-spacing:-3px;flex:0 0 auto}.output-panel{margin-top:18px;padding:18px;border:1px solid #d9d9de;border-radius:14px;background:#fff;display:grid;grid-template-columns:minmax(220px,1fr) minmax(270px,390px) auto;align-items:end;gap:18px;box-shadow:0 3px 12px #0000000a}.output-copy h2{margin:0 0 4px;font-size:18px}.output-copy p{margin:0;color:#6c6c6c;font-size:13px}.filename-field{display:grid;gap:5px;font-size:12px;color:#555}.filename-field>span{font-weight:700}.filename-input-wrap{display:flex;align-items:center;border:1px solid #cfcfd4;border-radius:9px;overflow:hidden;background:#fff}.filename-input-wrap:focus-within{border-color:#888;box-shadow:0 0 0 3px #0000000f}.filename-input-wrap input{min-width:0;width:100%;border:0;outline:0;padding:9px 10px}.filename-input-wrap span{padding:9px 10px 9px 0;color:#686868}.filename-field small{color:#686868;overflow-wrap:anywhere}.merge-button{min-height:42px}.progress-track{grid-column:1 / -1;height:7px;border-radius:999px;overflow:hidden;background:#ececef}.progress-track span{display:block;height:100%;background:#e53935;transition:width .15s}.privacy-panel{margin-top:22px;border:1px solid #cfe4d5;background:#f4fbf6;border-radius:14px;padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.privacy-intro{min-width:0;flex:1}.privacy-panel h3{margin:0 0 5px;font-size:16px;color:#265f39}.privacy-panel p{margin:0;max-width:900px;color:#496452;font-size:13px;line-height:1.55}.privacy-list{display:grid;gap:5px;color:#306543;font-size:12px;white-space:nowrap;padding-top:2px}.verify-privacy{margin-top:13px;border-top:1px solid #d4e8da;padding-top:12px}.verify-privacy summary{cursor:pointer;color:#245d38;font-weight:800;font-size:13px;user-select:none}.verify-content{margin-top:12px;display:grid;gap:12px}.verify-content .verify-lead{color:#31573d}.verify-method{border-left:3px solid #abd2b7;padding-left:12px}.verify-method h4{margin:0 0 5px;color:#2d5e3b;font-size:13px}.verify-method p+p{margin-top:5px}.verify-content code{background:#e5f2e9;border-radius:4px;padding:1px 4px;color:#214d30;font-size:12px}.verify-note{padding:10px 12px;border-radius:8px;background:#eaf6ed}.modal-backdrop{position:fixed;inset:0;z-index:40;background:#00000094;display:grid;place-items:center;padding:24px}.preview-modal{width:min(1000px,96vw);max-height:94vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 70px #00000052}.preview-modal header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;border-bottom:1px solid #e4e4e7}.preview-modal header>div{min-width:0;display:grid;gap:2px}.preview-modal header span{color:#717171;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-close{width:34px;height:34px;border:0;border-radius:50%;background:#f0f0f2;padding:0;display:grid;place-items:center;line-height:1}.large-preview{position:relative;min-height:300px;overflow:auto;background:#e7e7ea;padding:28px 76px;display:grid;place-items:center}.large-preview img{display:block;max-width:88%;max-height:72vh;object-fit:contain;background:#fff;box-shadow:0 6px 24px #0000002e;transition:transform .15s}.preview-nav{position:absolute;top:50%;z-index:8;width:48px;height:48px;margin:0;transform:translateY(-50%);border:0;border-radius:50%;background:#fffffff0;color:#333;padding:0;display:grid;place-items:center;line-height:1;box-shadow:0 4px 18px #0000002e}.preview-nav:hover:not(:disabled){background:#fff;transform:translateY(-50%) scale(1.04)}.preview-nav:disabled{opacity:.28}.preview-nav-left{left:18px}.preview-nav-right{right:18px}.preview-loading{color:#666;font-size:14px}.preview-modal footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e4e4e7}.preview-modal footer button{border:1px solid #d4d4d8;background:#fff;border-radius:8px;padding:8px 11px}.status{position:fixed;right:22px;bottom:22px;z-index:60;max-width:min(560px,calc(100vw - 44px));background:#262626;color:#fff;padding:11px 14px;border-radius:10px;font-size:13px;box-shadow:0 7px 24px #00000040}@media(max-width:980px){.output-panel{grid-template-columns:1fr 1fr}.merge-button{grid-column:1 / -1}.selection-left{width:100%}}@media(max-width:760px){.app-shell{padding:18px 14px 46px}.topbar{align-items:flex-start;flex-direction:column}.toolbar{align-items:stretch;flex-wrap:wrap}.summary{width:100%;order:3}.toolbar-actions{width:100%;justify-content:flex-start}.icon-text span{display:none}.selection-toolbar{align-items:stretch}.selection-left,.range-select,.selected-actions{width:100%;flex-wrap:wrap}.range-select input{flex:1;width:auto;min-width:130px}.privacy-panel{flex-direction:column}.large-preview{padding:20px 52px}.preview-nav{width:40px;height:40px;font-size:32px}.preview-nav-left{left:8px}.preview-nav-right{right:8px}.privacy-list{white-space:normal}.output-panel{grid-template-columns:1fr}.merge-button,.progress-track{grid-column:1}.page-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));padding:12px;gap:11px}.page-actions{opacity:1;flex-wrap:wrap;max-width:65px;justify-content:flex-end}.large-preview{padding:14px}.large-preview img{max-width:96%}}.preview-refining{position:absolute;left:50%;bottom:18px;transform:translate(-50%);z-index:4;background:#262626e6;color:#fff;padding:7px 11px;border-radius:999px;font-size:12px;line-height:1;pointer-events:none;box-shadow:0 3px 12px #0000002e}@media(max-width:700px){.file-list-meta{align-items:flex-start;flex-direction:column;gap:2px}.file-list.file-list-scroll{max-height:52vh}}.topbar-controls{display:flex;align-items:center;gap:8px;position:relative}.image-settings-wrap{position:relative}.settings-gear{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #b8dcc5;border-radius:50%;background:#fff;color:#24613b;font-size:18px;line-height:1;box-shadow:0 2px 7px #0000000d}.settings-gear:hover,.settings-gear.active{background:#effaf2;border-color:#7db991}.image-settings-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:30;width:min(360px,calc(100vw - 36px));padding:16px;border:1px solid #d6d6da;border-radius:13px;background:#fff;box-shadow:0 14px 38px #0000002e}.image-settings-menu:before{content:"";position:absolute;top:-7px;right:12px;width:12px;height:12px;background:#fff;border-left:1px solid #d6d6da;border-top:1px solid #d6d6da;transform:rotate(45deg)}.image-settings-menu h3{margin:0 0 12px;font-size:15px}.image-settings-menu p{margin:9px 0 12px;color:#666;font-size:12px;line-height:1.45}.image-settings-menu small{display:block;margin-top:10px;color:#777;font-size:11px;line-height:1.4}.settings-toggle{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:750}.settings-toggle input{width:17px;height:17px;accent-color:#2b7a4b}.numbering-summary{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:11px 0 10px;padding:9px 10px;border-radius:8px;background:#f6f6f7;font-size:12px}.numbering-summary span{color:#777;text-align:right}.settings-actions{display:grid;gap:7px}.settings-actions button{width:100%;border:1px solid #d4d4d8;background:#fff;border-radius:8px;padding:8px 10px;text-align:left;color:#333}.settings-actions button:hover:not(:disabled){background:#f5f5f5}.settings-actions button:nth-child(2){border-color:#b8dcc5;background:#f3fbf5;color:#245d38;font-weight:700}.filename-sort-actions{display:inline-flex;align-items:center;gap:5px;padding-right:3px}.filename-sort-actions>span{color:#777;font-size:11px;font-weight:700}.ghost.compact-sort{padding:7px 9px;font-size:12px}.file-page-number{min-width:68px;display:grid;justify-items:center;gap:1px;padding:5px 8px;border:1px solid #cfe0d4;background:#f5fbf7;border-radius:8px;color:#265f39}.file-page-number span{font-size:10px;text-transform:uppercase;letter-spacing:.04em}.file-page-number strong{font-size:13px;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-page-number.duplicate{border-color:#e2b456;background:#fff8e7;color:#76530b}.preview-numbering-bar{display:grid;grid-template-columns:minmax(210px,1fr) auto auto auto;align-items:end;gap:10px;padding:12px 16px;border-top:1px solid #e4e4e7;background:#fbfcfb}.preview-numbering-bar label{display:grid;gap:4px;color:#555;font-size:11px;font-weight:700}.preview-numbering-bar input{width:100%;border:1px solid #bfc5c1;border-radius:8px;padding:9px 10px;font-size:15px;outline:none;background:#fff}.preview-numbering-bar input:focus{border-color:#4a8d62;box-shadow:0 0 0 3px #4a8d621f}.preview-numbering-status{display:grid;gap:2px;align-self:center;min-width:145px;font-size:11px;color:#666}.preview-numbering-status strong{color:#355a41}.duplicate-warning{color:#9a6500;font-weight:700}.preview-numbering-bar>button{border:1px solid #d4d4d8;background:#fff;border-radius:8px;padding:9px 11px;white-space:nowrap}.preview-numbering-bar>button.primary-numbering{border-color:#397a50;background:#2f7047;color:#fff;font-weight:700}.preview-numbering-bar small{grid-column:1 / -1;color:#777;font-size:10px}.preview-modal{grid-template-rows:auto minmax(0,1fr) auto auto}@media(max-width:760px){.topbar-controls{width:100%;justify-content:flex-end}.image-settings-menu{right:0}.filename-sort-actions{width:100%}.preview-numbering-bar{grid-template-columns:1fr 1fr;align-items:stretch}.preview-numbering-bar label,.preview-numbering-status{grid-column:1 / -1}.preview-numbering-bar>button{width:100%}}.file-list-meta>div:first-child{display:grid;gap:2px}.file-multiselect-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.file-multiselect-controls>strong{color:#2f7047;font-size:12px;margin-right:2px}.file-multiselect-controls button{border:1px solid #d4d4d8;background:#fff;border-radius:8px;padding:7px 9px;color:#333;font-size:12px}.file-multiselect-controls button:hover:not(:disabled){background:#f5f5f5}.file-multiselect-controls button:first-of-type{border-color:#b8dcc5;color:#245d38}.file-row.file-row-selected{border-color:#6aa77d;background:#f3faf5;box-shadow:0 0 0 2px #4a8d621a}.file-select-check{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;cursor:pointer}.file-select-check input{width:17px;height:17px;accent-color:#2f7047;cursor:pointer}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:760px){.file-multiselect-controls{width:100%;justify-content:flex-start}}.recovery-wrap{position:relative}.recovery-button{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #cfd3d0;border-radius:999px;background:#fff;color:#3e5145;font-size:12px;font-weight:750;white-space:nowrap;box-shadow:0 2px 7px #0000000a}.recovery-button:hover,.recovery-button.active{background:#f5faf6;border-color:#8db89b}.recovery-button>span:first-child{font-size:16px;line-height:1}.recovery-button i{width:7px;height:7px;border-radius:50%;background:#2b9a50;box-shadow:0 0 0 3px #2b9a501f}.recovery-button.has-save{border-color:#b8dcc5;color:#24613b}.recovery-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:35;width:min(390px,calc(100vw - 36px));padding:16px;border:1px solid #d6d6da;border-radius:13px;background:#fff;box-shadow:0 14px 38px #0000002e}.recovery-menu:before{content:"";position:absolute;top:-7px;right:18px;width:12px;height:12px;background:#fff;border-left:1px solid #d6d6da;border-top:1px solid #d6d6da;transform:rotate(45deg)}.recovery-menu h3{margin:0 0 8px;font-size:15px}.recovery-menu>p{margin:0 0 12px;color:#666;font-size:12px;line-height:1.45}.recovery-menu>small{display:block;margin-top:11px;color:#707070;font-size:10.5px;line-height:1.45}.recovery-summary{display:grid;gap:3px;padding:10px 11px;margin-bottom:11px;border-radius:9px;background:#f2f8f4;border:1px solid #d7e9dc;font-size:11px}.recovery-summary.empty{background:#f7f7f8;border-color:#e2e2e5}.recovery-summary strong{color:#315b3e;font-size:12px}.recovery-summary.empty strong{color:#555}.recovery-summary span,.recovery-summary small{color:#67676b;line-height:1.35}.recovery-toggle{margin:5px 0 12px;align-items:flex-start}.recovery-toggle span{line-height:1.35}.recovery-actions button:first-child{border-color:#8db89b;background:#f3fbf5;color:#245d38;font-weight:750}.recovery-actions button:nth-child(2){border-color:#d4d4d8;background:#fff;color:#333;font-weight:600}.recovery-actions button.recovery-clear{color:#9f2f2a;background:snow;border-color:#e4c4c2}@media(max-width:760px){.topbar-controls{flex-wrap:wrap}.recovery-menu{right:-46px}.recovery-button>span:nth-child(2){display:none}.recovery-button{width:38px;padding:0;justify-content:center}}.pages-display-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0 7px;padding:9px 11px;border:1px solid #dedee3;border-radius:11px;background:#fafafa}.pages-layout-choice,.grid-zoom-controls{display:flex;align-items:center;gap:8px}.pages-layout-choice>span,.grid-zoom-controls>span{color:#666;font-size:12px;font-weight:750}.compact-segmented button{padding:6px 10px;font-size:12px}.grid-zoom-controls button{width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid #d4d4d8;border-radius:7px;background:#fff;color:#444;font-size:18px;line-height:1}.grid-zoom-controls button:hover:not(:disabled){background:#f1f1f3}.grid-zoom-controls input[type=range]{width:150px;accent-color:#2f7047}.flat-page-grid{--page-card-size: 160px;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--page-card-size),1fr));align-items:start;gap:12px;min-height:120px;padding:14px;border:1px solid #dedee3;border-radius:14px;background:#fff}.grid-page-card{min-width:0}.grid-page-card .page-preview{aspect-ratio:.76}.grid-page-caption{padding-right:2px}.selection-count-badge{position:absolute;z-index:6;left:6px;bottom:34px;padding:3px 6px;border-radius:999px;background:#4f78d1eb;color:#fff;font-size:9px;font-weight:800;pointer-events:none}@media(max-width:700px){.pages-display-toolbar{align-items:stretch}.pages-layout-choice,.grid-zoom-controls{width:100%;justify-content:space-between}.grid-zoom-controls input[type=range]{flex:1;width:auto}.flat-page-grid{grid-template-columns:repeat(auto-fill,minmax(min(var(--page-card-size),100%),1fr));padding:10px;gap:10px}}
