:root{--green:#087f8c;--green-hover:#066b76;--navy:#153862;--border:#e2e8ef;color:#263346;background:#fff}
.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}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#43adb8}
.site-header{max-width:none;height:64px;padding:0 30px;border-bottom:1px solid #edf0f3;background:#fff}
.brand{font-size:23px}.brand-mark{background:var(--navy);width:36px;height:36px;border-radius:9px}.brand-sub{font-size:12px}
.privacy{color:#72808b}.privacy svg{color:#087f8c}
body:not(.has-document) main{max-width:1000px;margin:44px auto 0;padding:0 24px}
body:not(.has-document) .heading-row{justify-content:center;text-align:center;margin-bottom:28px}
body:not(.has-document) h1{font-size:34px;color:#202936;margin-bottom:12px}
body:not(.has-document) .intro{font-size:16px;color:#6f7a86}
body:not(.has-document) .workspace{border:0;border-radius:10px;box-shadow:none;overflow:visible}
body:not(.has-document) .toolbar,body:not(.has-document) .workspace-footer{display:none}
body:not(.has-document) .empty-state{margin:0;min-height:310px;background:#10aab5;border:0;border-radius:10px;position:relative;padding:35px;color:#fff}
body:not(.has-document) .empty-state::before{content:'';position:absolute;inset:8px;border:1px dashed #ffffff60;border-radius:6px;pointer-events:none}
body:not(.has-document) .upload-illustration{margin-bottom:18px;border-radius:0;background:none;color:#e0fbff;width:64px;height:68px}
body:not(.has-document) .upload-illustration svg{width:52px;height:60px;stroke-width:1.1}
body:not(.has-document) .upload-button{margin:0 0 15px;color:#243548;border:0;background:white;min-width:174px;padding:13px 23px;font-size:16px;box-shadow:0 2px 4px #00495215}
body:not(.has-document) .upload-button:hover{background:#ecfbfd}
body:not(.has-document) .empty-state>p{font-size:14px;color:#e0f8fa}
body:not(.has-document) .sample-button{margin-top:16px;color:white;font-size:13px}
body:not(.has-document) .upload-meta{margin-top:16px;font-size:12px;color:#d6f4f7}
body:not(.has-document) .workflow{justify-content:space-between;max-width:none;margin:30px 0 42px;gap:24px}
body:not(.has-document) .workflow>div{gap:12px}.step-number{background:#edf8fa;border-color:#d7eff2;color:#168593}.workflow small{font-size:13px;color:#7e8995}.workflow strong{font-size:14px}.step-line{display:none}
body:not(.has-document) .site-footer{max-width:952px;padding-top:22px;color:#85909c}
@media(max-width:600px){.site-header{padding:0 18px;height:58px}.brand-sub{display:none}.privacy{font-size:12px;max-width:155px}body:not(.has-document) main{margin-top:34px;padding:0 16px}body:not(.has-document) h1{font-size:29px}body:not(.has-document) .intro{font-size:14px;max-width:none}body:not(.has-document) .empty-state{min-height:310px;padding:30px 16px}body:not(.has-document) .workflow{gap:16px;margin-top:26px}.workflow>div{flex:1}.workflow small{font-size:12px}.site-footer{margin:0 16px}}
body.has-document{height:100dvh;overflow:hidden;background:#eff4fc}
body.has-document .site-header{height:52px;padding:0 22px}
body.has-document .brand{font-size:20px;gap:9px}.has-document .brand-mark{width:30px;height:30px;border-radius:7px}.has-document .brand-mark svg{width:21px;height:21px}
body.has-document main{height:calc(100dvh - 52px);max-width:none;margin:0;padding:0;display:flex;min-height:0}
.has-document .heading-row,.has-document .workflow,.has-document .site-footer{display:none}
.has-document .workspace{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}
.has-document .filebar{padding:9px 22px;border-bottom:1px solid #edf0f5;min-height:55px;flex-shrink:0;flex-direction:row;align-items:center;gap:16px}
.has-document .file-info{gap:9px}.has-document .file-info>div{gap:4px}.has-document .file-info strong{max-width:550px;font-size:14px;color:#344660}.has-document #file-meta{font-size:12px;color:#8a97a6}.has-document .file-symbol{background:#f0f5fc;color:#315681;padding:7px;border-radius:6px}.has-document .filebar>.button{min-height:34px;padding:7px 12px;font-size:13px}
.has-document .toolbar{padding:10px 22px;min-height:58px;flex-wrap:nowrap;flex-shrink:0;border-bottom:1px solid #dde6f3;gap:14px}
.has-document .toolbar-group{gap:6px}.has-document .toolbar-group:first-child{width:auto;flex-wrap:nowrap}.has-document .toolbar-group:last-child{width:auto;margin-left:auto}.has-document .toolbar .button{border-color:#e3e8ef;min-height:36px;padding:8px 12px;color:#3f5068;font-size:14px;background:white}.has-document .toolbar .primary{background:var(--navy);border-color:var(--navy);color:#fff}.has-document .toolbar .primary:hover{background:#234c7d}.has-document .toolbar .danger-subtle{border-color:transparent}.has-document .toolbar .danger-subtle:hover{color:#ba514c;background:#fff2f1}.has-document .icon-button{color:#657a95}.has-document .icon-button:hover:not(:disabled){background:#eaf1fa}
.editor-layout{display:grid;grid-template-columns:196px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
.page-sidebar{background:#e9f1fe;border-right:1px solid #dce6f5;display:flex;flex-direction:column;min-height:0;min-width:0}
.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 18px 12px;color:#3e587a;font-size:14px}.sidebar-heading strong{font-weight:600}.sidebar-heading>span{font-size:12px;color:#8296b0}
.has-document .selection-controls{padding:0 14px 10px;gap:8px;min-height:28px;flex-wrap:wrap;flex-shrink:0;width:100%;font-size:12px;color:#7f90a6}.has-document .selection-controls label{color:#657b98;font-size:12px}.has-document .selection-controls input{width:14px;height:14px}.has-document .selection-controls .text-button{font-size:12px;padding:0}
.has-document .page-grid{display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;overflow:auto;min-height:0;padding:8px 18px 12px;background:transparent;scrollbar-width:thin;scrollbar-color:#b9cae3 transparent;overscroll-behavior:contain}
.has-document .page-card{width:100%;flex-shrink:0}.has-document .page-surface{padding:8px;background:transparent;border:2px solid transparent;border-radius:6px;cursor:grab}.has-document .page-surface:hover{background:#dde9fa}.has-document .page-card.current .page-surface{border-color:#3c75b9;background:#e0eaff}.has-document .page-card.selected .page-surface{background:#dcefeb}.has-document .page-card.current.selected .page-surface{border-color:#3c75b9}.has-document .thumbnail{box-shadow:0 1px 5px #17386218}.has-document .page-checkbox{top:12px;left:12px;padding:2px;border-radius:3px}.has-document .page-checkbox input{width:14px;height:14px}.has-document .page-caption{padding:4px 8px 0;gap:5px}.has-document .page-caption-text small{display:none}.has-document .page-number{font-size:12px;color:#637a9a}.has-document .page-actions .icon-button{width:24px;height:25px}.has-document .page-drag-handle{width:21px;height:25px;color:#8da2be}.has-document .page-drag-handle svg{width:12px;height:15px}
.page-insert{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:8px auto 0;background:#c5d9f8;color:#517eb8;border:0;border-radius:50%;padding:0}.page-insert svg{width:16px;height:16px}.page-insert:hover{background:#a9c8f4;color:#264f88}
.sidebar-add{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;margin:12px 17px 0;padding:9px;border:1px solid #c8d8ef;border-radius:6px;background:#f7faff;color:#42648d;font-size:13px}.sidebar-add svg{width:16px;height:16px}.sidebar-add:hover{background:white;border-color:#92b1d7}.sidebar-tip{font-size:12px;color:#8b9eb9;text-align:center;margin:10px 4px 12px}
.document-view{min-width:0;min-height:0;position:relative;display:flex;background:#f1f5fd}
.reader-scroll{flex:1;min-width:0;min-height:0;overflow:auto;padding:32px 36px 85px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bccadd transparent}
.reader-paper{position:relative;background:white;margin:0 auto;box-shadow:0 2px 10px #1d3c6020;flex-shrink:0;transition:width .1s;text-align:center;color:#7f8ba0;line-height:1.8}
.reader-paper canvas{display:block;width:100%;height:auto}.reader-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:14px;background:#fff}
.viewer-controls{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:6px 8px;background:#fff;border:1px solid #e0e6f0;border-radius:8px;box-shadow:0 2px 12px #17345c18;font-size:13px;color:#53677f;white-space:nowrap;z-index:2}
.viewer-controls .icon-button{width:30px;height:30px}.viewer-controls .icon-button svg{width:17px;height:17px}.viewer-controls input[type=number]{width:45px;min-height:30px;height:30px;padding:4px;border:1px solid transparent;background:#f6f8fc;border-radius:4px;text-align:center;font-size:13px;appearance:textfield;-moz-appearance:textfield}.viewer-controls input::-webkit-inner-spin-button{display:none}.viewer-controls select{width:112px;min-height:30px;height:30px;padding:3px 6px;border:0;font-size:13px;background:#fff}.viewer-controls .divider{margin:0 4px;height:21px}.has-document .workspace-footer{padding:8px 18px;min-height:32px;border-top:1px solid #e4eaf3;font-size:12px;background:#fff;flex-shrink:0;color:#8492a4}.has-document .document-empty{min-height:100%;justify-content:center}.has-document .drop-overlay{border-radius:0}
.has-document .drop-before::before,.has-document .drop-after::after{width:100%;height:3px;left:0;right:0;bottom:auto;background:#3c75b9}.has-document .drop-before::before{top:-6px}.has-document .drop-after::after{top:auto;bottom:-6px}.has-document .drag-ghost{background:#e9f1fe;border-radius:6px}
@media(max-width:1050px){.has-document .toolbar{padding:10px 14px;gap:8px}.has-document .toolbar .button{padding:8px 9px;font-size:13px}.has-document .toolbar-group{gap:4px}.editor-layout{grid-template-columns:174px minmax(0,1fr)}.has-document .page-grid{padding-left:14px;padding-right:14px}.has-document .filebar{padding-left:17px;padding-right:17px}.has-document .file-info strong{max-width:400px}.has-document .toolbar .divider{margin:0 3px}}
@media(max-width:800px){.has-document .toolbar{flex-wrap:wrap}.has-document .toolbar-group:last-child{margin-left:auto}.has-document .file-info strong{max-width:calc(100vw - 195px)}.editor-layout{grid-template-columns:150px minmax(0,1fr)}.has-document .page-grid{padding-left:10px;padding-right:10px}.reader-scroll{padding:24px 24px 80px}}
@media(max-width:600px){.has-document .site-header{height:44px;padding:0 14px}.has-document .brand{font-size:18px}.has-document .brand-mark{width:26px;height:26px}.has-document .privacy{font-size:12px;max-width:none;line-height:1.4}.has-document .privacy svg{width:13px;height:13px;margin:0}.has-document main{height:calc(100dvh - 44px)}.has-document .filebar{padding:8px 12px;min-height:54px;gap:8px}.has-document .file-symbol{display:none}.has-document .file-info strong{font-size:13px;max-width:calc(100vw - 130px)}.has-document #file-meta{font-size:12px}.has-document .filebar>.button{font-size:12px;padding:7px 9px}.has-document .filebar>.button svg{width:14px;height:14px}.has-document .toolbar{padding:7px 10px;gap:5px;min-height:90px}.has-document .toolbar-group:first-child{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;padding:2px 0}.has-document .toolbar-group:first-child>.button{flex-shrink:0}.has-document .toolbar .button{font-size:12px;padding:8px;gap:5px;min-height:32px}.has-document .toolbar .button svg{width:14px;height:14px}.has-document .toolbar-group:last-child{width:auto;gap:4px;margin-left:auto}.has-document .toolbar .icon-button{width:28px;height:28px}.editor-layout{grid-template-columns:1fr;grid-template-rows:166px minmax(0,1fr)}.page-sidebar{border-right:0;border-bottom:1px solid #dce6f5}.sidebar-heading,.sidebar-tip,.sidebar-add{display:none}.has-document .selection-controls{padding:5px 12px 0;min-height:24px;gap:10px;flex-wrap:nowrap}.has-document .page-grid{flex-direction:row;align-items:flex-start;gap:10px;overflow-x:auto;overflow-y:hidden;padding:5px 12px 8px}.has-document .page-card{width:73px;height:126px;flex-shrink:0}.has-document .page-surface{padding:4px;border-width:1.5px}.has-document .page-checkbox{top:6px;left:6px}.has-document .page-checkbox input{width:12px;height:12px}.has-document .page-caption{padding:3px 0;gap:1px}.has-document .page-number{font-size:12px}.has-document .page-actions .icon-button{width:18px;height:20px}.has-document .page-actions svg{width:12px;height:12px}.has-document .page-drag-handle{width:13px;height:20px}.has-document .page-drag-handle svg{width:10px;height:13px}.has-document .page-caption-text{flex:1}.has-document .page-actions .icon-button:first-child{display:none}.page-insert{display:none}.reader-scroll{padding:16px 14px 74px}.viewer-controls{gap:2px;padding:5px 6px;bottom:10px;max-width:calc(100% - 12px);font-size:12px}.viewer-controls .icon-button{width:25px;height:28px}.viewer-controls input[type=number]{width:30px;font-size:12px}.viewer-controls select{width:91px;padding:3px;font-size:12px}.viewer-controls .divider{margin:0 2px;height:20px}.has-document .workspace-footer{font-size:12px;padding:7px 12px;min-height:28px}.has-document .drop-before::before,.has-document .drop-after::after{width:3px;height:100%;top:0;bottom:0;left:auto;right:auto}.has-document .drop-before::before{left:-5px}.has-document .drop-after::after{right:-5px}}
@media(max-width:600px){.has-document .toolbar-group:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;width:100%;gap:5px}.has-document .toolbar-group:first-child .button{font-size:13px}.has-document .toolbar{min-height:118px}.editor-layout{grid-template-rows:154px minmax(0,1fr)}.has-document .page-card{width:65px;height:114px}}
.page-number-short{display:none}@media(max-width:600px){.page-number-long{display:none}.page-number-short{display:inline}.has-document .page-caption-text{text-align:center}}

/* Continuous reading: stable page slots, with one active editing surface. */
.reader-scroll{position:relative;overflow-anchor:none}
.reader-stack{display:flex;flex-direction:column;align-items:center;width:max-content;min-width:100%;padding-top:24px}
.reader-page-slot{position:relative;flex:none;margin:0 auto 48px}
.reader-page-slot>.reader-paper{width:100%;height:100%;transition:none;overflow:hidden}
.reader-page-slot.current>.reader-paper{box-shadow:0 0 0 2px #80a5d0,0 3px 14px #1d3c6020}
.reader-page-label{position:absolute;top:-26px;left:0;border:0;padding:2px 0;background:transparent;color:#7c8da2;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.reader-page-slot.current>.reader-page-label{color:#245c93;font-weight:600}
.reader-page-label:focus-visible{outline:2px solid #3d78b5;outline-offset:2px}
.reader-passive{cursor:pointer}
@media(max-width:600px){.reader-page-slot{margin-bottom:40px}.reader-page-label{font-size:11px}}

/* Fixed-size editor chrome and a dedicated, shared page organizer. */
.has-document .site-header{height:44px;padding:0 18px}
.has-document main{height:calc(100dvh - 44px)}
.has-document .filebar{position:relative;min-height:52px;padding:6px 18px;display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(120px,1fr)}
.has-document .filebar>.button{justify-self:end}
.has-document .file-info{min-width:0}.has-document .file-info>div{min-width:0}.has-document .file-info strong{max-width:100%;font-size:13px}.has-document #file-meta{font-size:11px}
.workspace-modes{display:flex;align-items:center;gap:8px}
.workspace-modes button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:#f0f4fa;border-radius:24px;padding:9px 17px;white-space:nowrap;font:inherit;font-size:14px;font-weight:600;color:#43536a}
.workspace-modes button[aria-pressed=true]{background:#153862;color:white}.workspace-modes svg{width:18px;height:18px}
.has-document .toolbar{min-height:52px;padding:8px 18px;gap:12px;flex-wrap:nowrap}
.has-document .toolbar .button{height:36px;min-height:36px;padding:7px 10px;font-size:13px;gap:6px;border-radius:5px;white-space:nowrap;flex-shrink:0}
.has-document .toolbar .button svg{width:17px;height:17px}
.has-document .toolbar .edit-tools,.has-document .toolbar .organize-tools{min-width:0;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;width:auto;display:flex}
.has-document .toolbar .history-actions{flex-shrink:0;gap:5px}
.has-document .toolbar .organize-tools{display:none}
.has-document .editor-layout{grid-template-columns:216px minmax(0,1fr)}
.has-document .sidebar-heading{padding:12px 16px 9px}.has-document .page-sidebar .selection-controls{padding-bottom:6px}
.has-document .page-grid{padding:8px 12px 16px;gap:16px}
.has-document .page-card{width:178px;position:relative;height:auto}
.has-document .page-surface{display:flex;align-items:center;justify-content:center;padding:9px 6px 22px;height:242px;border-radius:5px}
.has-document .thumbnail{width:150px;height:212px;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;background:transparent;box-shadow:none}
.has-document .thumbnail canvas{max-width:100%;max-height:100%;height:auto;width:auto;box-shadow:0 1px 4px #17386219}
.has-document .thumbnail:has(.blank-label){background:white;box-shadow:0 1px 4px #17386219}
.has-document .page-caption{height:25px;padding:3px 8px;justify-content:center}
.has-document .page-caption-text{flex:none;text-align:center}.has-document .page-number-long{display:none}.has-document .page-number-short{display:inline}
.has-document .page-actions{position:absolute;top:220px;left:50%;transform:translateX(-50%);background:white;border:1px solid #edf0f5;border-radius:5px;box-shadow:0 2px 4px #17386212;padding:3px 5px;gap:6px}
.has-document .page-actions .icon-button{height:28px;width:28px}.has-document .page-actions svg{width:17px;height:17px}
.has-document .page-actions .page-preview{display:none}
.has-document .page-drag-handle{position:absolute;left:12px;bottom:34px}
.has-document .page-checkbox{top:12px;left:14px}
.has-document .page-insert{width:26px;height:26px;margin:9px auto 0;background:#aacafa;color:white}
.has-document .reader-scroll{padding:24px 32px 76px}
.has-document .workspace-footer{min-height:25px;padding:5px 16px;font-size:11px}
.organizer-view{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f1f5fd}
.organizer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;color:#7a8ba0;font-size:12px}
.organizer-heading .selection-controls{padding:0;min-height:20px;width:auto}
.organizer-heading>span{white-space:nowrap}
.has-document.organizing .editor-layout{display:flex}
.organizing .page-sidebar,.organizing .document-view{display:none}
.organizing .organizer-view{flex:1}
.has-document.organizing .toolbar .edit-tools{display:none}
.has-document.organizing .toolbar .organize-tools{display:flex}
.has-document.organizing .page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:282px;align-items:start;align-content:start;justify-items:center;gap:20px 14px;padding:8px 34px 30px;overflow:auto}
.has-document.organizing .page-card{width:178px}
.has-document.organizing .page-insert{position:absolute;left:calc(100% + 11px);top:108px;margin:0}
.has-document.organizing .page-drag-handle{bottom:0}
.has-document.organizing .page-surface{cursor:grab}
.has-document.organizing .drop-before::before,.has-document.organizing .drop-after::after{width:3px;height:242px;top:0;bottom:auto;right:auto;left:-12px}
.has-document.organizing .drop-after::after{left:auto;right:-12px}
@media(max-width:1100px){.has-document .history-button{font-size:0!important;gap:0!important;padding:7px 9px!important}.has-document .file-info strong{max-width:280px}.workspace-modes button{padding:8px 12px;font-size:13px}}
@media(max-width:700px){.has-document .filebar{grid-template-columns:minmax(0,1fr) auto;gap:8px}.workspace-modes{grid-column:1/-1;grid-row:2;justify-content:center}.has-document .file-info strong{max-width:100%}.has-document .toolbar{padding:7px 10px;gap:6px}.has-document .toolbar .button{font-size:12px;padding:7px 8px}.has-document .toolbar .divider{display:none}.has-document .editor-layout{grid-template-columns:150px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.has-document .page-sidebar{border-right:1px solid #dce6f5;border-bottom:0}.has-document .page-grid{flex-direction:column;overflow:auto;align-items:center}.has-document .page-card{width:124px}.has-document .page-surface{height:175px;padding:6px 4px 18px}.has-document .thumbnail{width:108px;height:153px}.has-document .page-actions{top:153px;gap:2px;padding:2px 3px}.has-document .page-actions .icon-button{display:flex;width:25px;height:25px}.has-document .page-actions .page-preview{display:none}.has-document .page-actions svg{width:15px;height:15px}.has-document .page-caption{height:28px;padding-top:8px}.has-document .page-drag-handle{display:none}.has-document .page-insert{display:flex;width:24px;height:24px}.has-document .selection-controls{flex-wrap:wrap;padding:8px;gap:5px}.has-document .reader-scroll{padding:20px 16px 72px}.has-document.organizing .page-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:221px;gap:14px;padding:8px 25px 20px}.has-document.organizing .page-card{width:124px}.has-document.organizing .page-insert{left:calc(100% + 4px);top:70px}.organizer-heading{padding:10px 14px;align-items:flex-start}.organizer-heading>span{white-space:normal;max-width:140px;font-size:11px}.has-document.organizing .drop-before::before,.has-document.organizing .drop-after::after{height:175px}.has-document .footer-tip{display:none}}

@media(max-width:700px){.has-document .page-drag-handle{display:flex;left:4px;bottom:34px;width:21px;height:25px;touch-action:none}.has-document.organizing .page-drag-handle{bottom:0}}
@media(max-width:600px){.has-document:not(.organizing) .drop-before::before,.has-document:not(.organizing) .drop-after::after{width:100%;height:3px;left:0;right:0;top:-6px;bottom:auto}.has-document:not(.organizing) .drop-after::after{top:auto;bottom:-6px}}

.start-document-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:15px}
.conversion-home{max-width:1100px;margin:38px auto 0}.conversion-home-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:18px}.conversion-home-heading h2{font-size:22px;margin:0;color:#213a53}.conversion-home-heading p{font-size:13px;color:#81909c;margin:0}.conversion-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.conversion-card{position:relative;text-align:left;background:#fff;border:1px solid #dee5eb;border-radius:14px;padding:24px 20px;min-height:194px;cursor:pointer;color:#213a53;transition:transform .15s,border-color .15s,box-shadow .15s}.conversion-card:hover{transform:translateY(-3px);border-color:#75afa7;box-shadow:0 8px 22px #1739540a}.conversion-card:focus-visible{outline:3px solid #088d95;outline-offset:3px}.conversion-card strong{display:block;font-size:18px;margin:18px 0 9px}.conversion-card small{display:block;font-size:12px;line-height:1.7;color:#7b899a;max-width:180px}.conversion-card-arrow{position:absolute;right:19px;top:24px;font-size:21px;color:#91a2af}.conversion-badge{display:grid;place-items:center;width:43px;height:46px;border-radius:8px;font-size:25px;font-weight:700;flex-shrink:0;background:#edf3fb;color:#366ba2}.conversion-badge.word{background:#e9f0fc;color:#3665a5}.conversion-badge.ppt{background:#fff0e8;color:#d15d35}.conversion-badge.excel{background:#e7f4e8;color:#378153}.conversion-badge.image{background:#fff8d7;color:#b39415}.conversion-badge img{width:100%;height:100%;object-fit:contain;border-radius:6px}.has-document .conversion-home{display:none}.conversion-dialog{width:610px;max-height:90dvh;overflow:auto}.conversion-dialog .dialog-heading p{font-size:13px}.conversion-files li{gap:12px;padding:10px 5px}.conversion-files .conversion-badge{font-size:20px}.conversion-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.conversion-settings select{font-size:13px}.conversion-dialog .field-label{margin-top:16px}.conversion-dialog .field-hint{font-size:12px;line-height:1.7;color:#8492a0}.conversion-progress{font-size:13px;color:#23746f;line-height:1.6;margin-top:18px}.conversion-service{font-size:12px;color:#886523;line-height:1.6;background:#fff8e7;border-radius:7px;padding:10px 12px}.conversion-dialog .dialog-actions{flex-wrap:wrap}.conversion-dialog .dialog-actions .button{font-size:13px}.conversion-dialog [hidden]{display:none!important}
@media(max-width:800px){.conversion-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.conversion-home{margin:28px 16px 0}.conversion-home-heading{display:block}.conversion-home-heading p{margin-top:8px}}@media(max-width:500px){.conversion-card{min-height:178px;padding:18px 14px}.conversion-card strong{font-size:16px}.conversion-dialog{padding:20px;max-width:calc(100vw - 24px)}.conversion-settings{gap:7px}.conversion-settings select{font-size:12px;padding:8px}.conversion-dialog .dialog-actions{gap:7px}.conversion-dialog .dialog-actions .button{padding:10px;font-size:12px}}
body:not(.has-document) .start-document-actions .upload-button{margin:0}
body:not(.has-document) .new-document-button{background:transparent;border:1px solid #ffffffad;color:white;padding:12px 22px;min-height:46px;font-size:15px}
body:not(.has-document) .new-document-button:hover{background:#ffffff20;border-color:white}
.file-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;justify-self:end}
.has-document .file-actions .button{min-height:34px;padding:7px 10px;font-size:12px}
.document-tools-dialog{max-height:90dvh;overflow:auto;width:520px}
.document-tools-dialog .dialog-heading h2{font-size:22px}.document-tools-dialog .dialog-heading p{font-size:13px;line-height:1.7}
.new-pdf-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.document-tools-dialog .field-label{margin-top:17px}
.document-tools-dialog .field-hint{font-size:12px;line-height:1.6;color:#8492a0}
.merge-pick{width:100%;margin:2px 0 12px}
.merge-empty{padding:26px 22px;text-align:center;line-height:1.8;background:#f3f7fb;border:1px dashed #d8e2eb;border-radius:8px;font-size:13px;color:#7b899b}
.merge-files{list-style:none;margin:0;padding:0;max-height:270px;overflow:auto}
.merge-files li{display:flex;align-items:center;gap:10px;padding:11px 6px;border-bottom:1px solid #edf1f5}
.merge-file-number{display:grid;place-items:center;flex-shrink:0;border-radius:6px;background:#edf3fb;color:#456c96;width:27px;height:32px;font-size:12px}
.merge-file-info{flex:1;min-width:0}.merge-file-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;color:#334861}.merge-file-info small{display:block;color:#8a97a6;font-size:11px;margin-top:5px}
.merge-file-actions{display:flex;flex-shrink:0;gap:2px}.merge-file-actions .icon-button{width:29px;height:30px;font-size:18px}
@media(max-width:700px){.file-actions .button{gap:5px!important;padding:7px!important}.file-actions .button svg{width:14px;height:14px}.has-document .filebar{grid-template-columns:minmax(0,1fr) auto}.has-document .filebar .file-info strong{max-width:100%}.start-document-actions{gap:8px}body:not(.has-document) .start-document-actions .upload-button{min-width:130px;padding:12px 16px}body:not(.has-document) .new-document-button{padding:12px 16px;font-size:14px}.document-tools-dialog{max-width:calc(100vw - 24px);padding:20px}.new-pdf-fields{gap:10px}.document-tools-dialog .dialog-actions .button{font-size:13px;padding:9px 12px}}
