.workspace .pro-pdf{display:grid;gap:18px;min-width:0}
.workspace .pro-pdf .notice,.workspace .pro-pdf .status{margin:0}
.workspace .pro-pdf fieldset{margin:0;display:grid;gap:16px;min-width:0}
.workspace .pro-pdf .dropzone{display:grid;gap:10px;padding:18px}
.workspace .pro-pdf .dropzone input{max-width:100%;min-width:0}
.workspace .pro-pdf .dropzone .hint{margin:0}
.workspace .pro-pdf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.workspace .pro-pdf-section-heading strong{overflow-wrap:anywhere;flex:1 1 180px}
.workspace .pro-pdf-arrange{min-width:0}
.workspace .pro-pdf-global-actions{margin:12px 0 18px}
.workspace .pro-pdf-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;list-style:none;padding:0;margin:18px 0 0}
.workspace .pro-pdf-page{display:flex;flex-direction:column;gap:9px;min-width:0;border:1px solid var(--line,#22334a);border-radius:12px;padding:12px;background:var(--panel,#0b1625)}
.workspace .pro-pdf-page-position{font-size:14px}
.workspace .pro-pdf-source{font-size:11px;line-height:1.5;color:var(--muted,#a7b7cd);overflow-wrap:anywhere;min-height:34px}
.workspace .pro-pdf button.pro-pdf-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:245px;padding:8px;overflow:hidden;background:#edf0f4;color:#293340;border-radius:8px;border:1px solid #526072}
.workspace .pro-pdf-thumb img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:white;box-shadow:0 1px 6px #0004}
.workspace .pro-pdf-thumb-message{padding:10px;font-size:12px;line-height:1.6}
.workspace .pro-pdf-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.workspace .pro-pdf-page-actions .secondary-button{padding:8px 6px;font-size:12px;min-height:40px;min-width:0}
.workspace .pro-pdf-move{display:grid;grid-template-columns:minmax(45px,1fr) auto;gap:6px;align-items:center;margin-top:auto}
.workspace .pro-pdf-move-label{grid-column:1/-1;font-size:11px;color:var(--muted,#a7b7cd)}
.workspace .pro-pdf-move input{width:100%;padding:7px;min-width:0;font-size:12px;min-height:40px}
.workspace .pro-pdf-move .secondary-button{padding:7px 9px;font-size:12px;min-height:40px}
.workspace .pro-pdf-number-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.workspace .pro-pdf-number-options .field{margin:0}
.workspace .pro-pdf-large-preview{margin:18px 0;padding:14px;background:var(--soft,#101f31);border:1px solid var(--line,#22334a);border-radius:12px;min-width:0}
.workspace .pro-pdf-large-preview>img{display:block;width:auto;max-width:100%;max-height:700px;margin:14px auto 0;background:white;object-fit:contain}
.workspace .pro-pdf-result{margin:0;padding-top:18px;overflow-wrap:anywhere}
.workspace .pro-pdf-result>button{margin-top:14px}
.workspace .pro-pdf-result .hint{margin-top:10px}
@media(max-width:520px){.workspace .pro-pdf-pages{grid-template-columns:minmax(0,1fr)}.workspace .pro-pdf button.pro-pdf-thumb{height:260px}.workspace .pro-pdf-number-options{grid-template-columns:minmax(0,1fr)}.workspace .pro-pdf .dropzone{padding:12px}.workspace .pro-pdf-section-heading .secondary-button{width:100%}}
