.pdf-page-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;max-height:430px;overflow:auto}.pdf-page-list li{border:1px solid #dce2f1;border-radius:14px;padding:12px;background:#fafbff;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pdf-page-list span,.pdf-page-list small{width:100%;overflow-wrap:anywhere}.pdf-page-list small{color:#69768b}.pdf-page-list button{border:1px solid #d7d8fb;background:white;color:#4e46d8;border-radius:8px;min-width:36px;min-height:36px;cursor:pointer}.pdf-page-list button[aria-pressed=true]{background:#6254eb;color:white}.pdf-page-list button:disabled{opacity:.35;cursor:default}#pdf-edit-form input[type=text]{min-width:0;width:100%}#pdf-status.error{color:#c52e47}#pdf-source-name{overflow-wrap:anywhere}

#pdf-edit-form .drop-zone{min-height:150px}#pdf-edit-form .options{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#pdf-edit-form .field{font-size:14px}#pdf-edit-form .field input,#pdf-edit-form .field select{border-radius:10px;padding:12px;font-size:16px}#pdf-page-list button{min-width:44px;min-height:44px}

.pdf-edit-fields{border:0;padding:0;margin:0;min-width:0}

#pdf-results textarea{display:block;box-sizing:border-box;width:100%;min-height:260px;resize:vertical;border:1px solid #dce2f1;border-radius:12px;padding:14px;font:16px/1.6 system-ui,sans-serif;color:#172139;background:#fafbff}#pdf-results .button+.button{margin-left:8px}#pdf-results dl{overflow-wrap:anywhere}#pdf-results dd{margin:4px 0 14px;color:#56637b}#pdf-results ol{padding-left:24px}#pdf-edit-form input[type=checkbox]{width:22px;height:22px}

#pdf-results img{display:block;max-width:100%;max-height:220px;width:auto;height:auto;margin:12px 0;border:1px solid #e1e5ef}#pdf-results .button{margin:8px 0;max-width:100%;overflow-wrap:anywhere}#pdf-meta-current{overflow-wrap:anywhere;font-size:14px}#pdf-meta-current dd{margin:0 0 12px;color:#657088}#pdf-results p{overflow-wrap:anywhere}

.pdf-image-view{display:none}
@media(max-width:760px){
 body[data-tool-id="pdf-to-images"] #pdf-page-list{max-height:110px;grid-template-columns:repeat(2,minmax(0,1fr));font-size:12px}
 body[data-tool-id="pdf-to-images"] .pdf-image-feedback{min-width:0;grid-column:1/-1}
 body[data-tool-id="pdf-to-images"] #pdf-status{font-size:14px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}
 body[data-tool-id="pdf-to-images"] .pdf-image-view{display:inline-flex;min-height:44px}
 body[data-tool-id="pdf-to-images"] #pdf-results{display:flex;flex-direction:column;gap:12px}
 body[data-tool-id="pdf-to-images"] .pdf-images-zip{order:-1;min-height:44px}
 body[data-tool-id="pdf-to-images"] .pdf-image-result{display:flex;flex-direction:column;min-width:0}
 body[data-tool-id="pdf-to-images"] .pdf-image-result img{order:1}
 body[data-tool-id="pdf-to-images"] .pdf-image-result a{min-height:44px}
}

.pdf-image-feedback:empty{display:none}

@media(max-width:760px){#pdf-edit-form.pdf-image-selected .drop-zone{min-height:80px;padding:12px;gap:8px}}

/* Only the four individually reviewed selection flows. */
.pdf-selection-feedback .drop-zone{min-width:0;max-width:100%}
.pdf-selection-feedback .drop-zone.has-pdf{min-height:90px!important;padding:14px;gap:8px}
.pdf-selection-feedback .pdf-selection-name,.pdf-selection-feedback .pdf-selection-count{margin:0;max-width:100%;overflow-wrap:anywhere}
.pdf-selection-feedback .pdf-selection-next,.pdf-selection-feedback .pdf-selection-view{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:8px 0}
.pdf-selection-feedback .pdf-selection-status{min-width:0;overflow-wrap:anywhere}
.pdf-selection-feedback #pdf-status{margin:8px 0;overflow-wrap:anywhere}
.pdf-selection-result{padding-bottom:180px!important}
@media(max-width:760px){.pdf-selection-feedback #pdf-page-list{max-height:120px;grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-selection-feedback .options{grid-template-columns:minmax(0,1fr)}}
