.tool-tabs{display:flex;overflow-x:auto;gap:5px;padding:0 0 0 2px;max-width:1000px;margin:0 auto;justify-content:flex-start;scrollbar-color:#7d8c9c #e2e8f0;scrollbar-width:thin}.tool-tab{flex:none;padding:10px 17px;background:#e3e8ee;color:#344155;border:1px solid #d0d7e0;border-radius:9px 9px 0 0;font-size:15px;font-weight:750;white-space:nowrap}.tool-tab.selected{background:#20262e;color:#ffb4a0;border-color:#344251}.tool-tab:hover{color:#b52e43;text-decoration:none}.tool-tab.selected:hover{color:white}.home-tool{max-width:1000px}.workspace:has(.document-drop){background:#20262e;color:#eef3fa;max-width:1000px;border:1px solid #344251;border-radius:0 12px 12px 12px;padding:22px 28px;box-shadow:0 8px 24px #17223814}.upload-actions{display:flex;gap:14px;justify-content:center;margin:0 0 18px;align-items:center;flex-wrap:wrap}.upload-button,.clear-button{display:inline-block;font:inherit;font-weight:750;padding:10px 24px;border:1px solid transparent;border-radius:7px;cursor:pointer;min-width:142px;margin:0!important}.upload-button{background:#2365bc;color:white}.upload-button:hover{background:#19569f}.upload-actions:focus-within .upload-button{outline:3px solid #a4ceff;outline-offset:3px}.clear-button{background:#963c39;color:#fff}.clear-button:disabled{opacity:.45;cursor:not-allowed}.visually-hidden{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%)}.document-drop{min-height:235px;background:#181d24;border:2px dashed #7fa8d5;border-radius:10px;cursor:default;padding:16px;display:flex;align-items:center;justify-content:center}.document-drop.active{background:#253c51;border-color:#b5d9ff}.document-drop #empty-drop{display:grid;gap:3px;text-align:center}.document-drop #empty-drop[hidden]{display:none}.document-drop #empty-drop strong{color:#b6d8ff;font-size:21px}.document-drop #empty-drop span{color:#a8b6c8;font-size:14px}.document-drop #empty-drop .drop-icon{font-size:33px;color:#b6d8ff}.document-queue{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:12px;width:100%;margin:0;align-self:stretch}.document-queue:empty{display:none}.document-drop:has(.document-queue:not(:empty)){align-items:flex-start;justify-content:flex-start}.workspace .document-queue li{display:flex;flex-direction:column;justify-content:flex-start;gap:7px;padding:9px;border:1px solid #445362;background:#2b3440;border-radius:8px;text-align:left;min-width:0;overflow:hidden}.document-preview{width:100%;height:126px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:5px;background:#f5f7fa;color:#435268;font-weight:700;font-size:13px;position:relative}.document-preview img{max-width:100%;max-height:100%;object-fit:contain;display:block}.document-preview small{padding:10px;text-align:center}.document-name{width:100%;font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-meta{color:#c2cedc;font-size:12px;width:100%;white-space:nowrap}.workspace .document-queue li .document-controls{width:100%;display:flex;flex-wrap:wrap;gap:4px}.workspace .document-queue li button{background:#39495c;border-color:#5c7189;color:white;font-size:12px;padding:5px 7px;flex:1}.workspace .document-queue li button:disabled{opacity:.35;cursor:not-allowed}.workspace .document-queue li button.remove-file{color:#ffc3c3}.file-summary,.workspace .note,.workspace .merge-hint{color:#b9c7d9;font-size:14px;margin:12px 0}.file-summary:empty{display:none}.workspace:has(.document-drop) #run{background:#c92f49;color:white;min-width:180px;margin:8px 0}.workspace:has(.document-drop) #run:disabled{background:#39434e;color:#bdc7d4;box-shadow:none;opacity:.6}.workspace:has(.document-drop) #status:empty,.workspace:has(.document-drop) #downloads:empty{display:none}.workspace:has(.document-drop) #status{color:#dce9f7}.workspace:has(.document-drop) label:not(.upload-button){color:#eef3fa}.workspace:has(.document-drop) #downloads a{background:#197749;color:white}.workspace:has(.document-drop) .merge-hint{margin:6px 0}.workspace:has(.document-drop) #pages,.workspace:has(.document-drop) select{background:#fff;color:#172238}@media(max-width:600px){.workspace:has(.document-drop){padding:14px}.document-drop{padding:10px;min-height:210px}.document-queue{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.document-preview{height:110px}.upload-actions{gap:8px}.upload-button,.clear-button{min-width:110px;padding:9px 13px}.tool-tab{padding:9px 12px}.home-tool{margin-bottom:25px}}
.mobile-tool-picker{display:none}.document-drop:has(#empty-drop:not([hidden])){cursor:pointer}.document-drop #empty-drop{appearance:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;width:100%;min-height:200px;align-content:center;justify-items:center;border-radius:8px;padding:12px}.document-drop #empty-drop:focus-visible{outline:3px solid #81b8ff;outline-offset:3px}.document-drop:has(#empty-drop:not([hidden])):hover{border-color:#a6ceff}.document-drop #empty-drop[hidden]{display:none}
@media(max-width:700px){.mobile-tool-picker{display:flex;flex-direction:column;gap:6px;text-align:left;margin:0 auto 10px;max-width:1000px}.mobile-tool-picker label{font-size:14px;font-weight:700;color:#475569}.mobile-tool-picker select{appearance:none;font:inherit;font-weight:650;min-height:48px;width:100%;padding:10px 42px 10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' stroke='%23475569' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;color:#172238}.mobile-tool-picker+.tool-tabs{display:none}.workspace:has(.document-drop){border-radius:12px}.document-drop #empty-drop{min-height:170px}:root[data-theme=dark] .mobile-tool-picker label{color:#d5dfed}:root[data-theme=dark] .mobile-tool-picker select{background-color:#2c3643;color:#eef3fa;border-color:#536579}}
.form-fields{max-width:680px;margin:12px auto 20px;text-align:left;padding:16px;border:1px solid #8293aa66;border-radius:10px;display:grid;gap:12px;overflow-wrap:anywhere}.form-fields p{margin:0 0 5px}.form-fields label{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;min-width:0}.form-fields input:not([type=checkbox]),.form-fields select{width:100%;min-width:0;max-width:none;box-sizing:border-box}.form-fields input[type=checkbox]{width:22px;height:22px;accent-color:#be2345}.form-fields label:has(input[type=checkbox]){flex-direction:row;align-items:center;justify-content:space-between}
