.image-pdf-tool .image-pdf-workspace { border: 1px solid #dfe6f0; border-radius: 18px; padding: 28px; box-shadow: 0 8px 30px #23395f0a; }
.image-pdf-tool .pdf-dropzone { background: #f6f9ff; text-align: center; }
.image-pdf-tool input[type="file"] { max-width: 100%; padding: 10px; background: white; border: 1px solid #d9e3f3; border-radius: 10px; }
.image-pdf-tool .board-help { font-size: 12px; }
.image-pdf-summary { font-size: 13px; color: #637894; }
.image-pdf-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.image-pdf-list li { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 12px 18px; padding: 15px; border: 1px solid #e0e7f2; border-radius: 12px; background: #fff; }
.image-pdf-thumb { width: 66px; aspect-ratio: 210/297; padding: 2px; display: grid; place-items: center; background: white; border: 1px solid #dbe3f0; font-size: 10px; color: #7b899d; }
.image-pdf-thumb img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-pdf-file { min-width: 0; }
.image-pdf-file strong { display: block; overflow-wrap: anywhere; font-size: 14px; }
.image-pdf-file p { font-size: 12px; color: #72839b; margin: 5px 0 0; }
.image-pdf-file .image-pdf-error { color: #b13843; }
.image-pdf-row-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.image-pdf-row-actions button { border: 1px solid #d6e1f1; border-radius: 7px; background: #f8faff; color: #33598f; padding: 7px 12px; font-size: 12px; min-width: 38px; }
.image-pdf-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.image-pdf-actions button.download-button { border: 1px solid #2563eb; font-weight: 650; padding: 12px 18px; }
#image-pdf-status { font-size: 13px; color: #3663a6; overflow-wrap: anywhere; }
#image-pdf-frame { width: 100%; height: 620px; border: 1px solid #e0e7f2; border-radius: 10px; background: #f6f8fb; }
.image-pdf-next { color: #2563eb; font-weight: 650; text-decoration: none; }
.image-pdf-preview { width: min(680px, 94vw); max-height: 92vh; border: 1px solid #dbe3f0; border-radius: 16px; padding: 20px; }
.image-pdf-preview::backdrop { background: #13243d80; }
.image-pdf-preview > div:first-child { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.image-pdf-preview h2 { font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.image-pdf-paper { width: min(100%, 420px); aspect-ratio: 210/297; padding: 3%; background: #fff; border: 1px solid #dbe3f0; margin: auto; display: grid; place-items: center; }
.image-pdf-paper img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (max-width: 600px) {
  .image-pdf-tool .image-pdf-workspace { padding: 18px; }
  .image-pdf-tool .tool-intro p { font-size: 13px; }
  .image-pdf-list li { padding: 12px; gap: 10px; }
  .image-pdf-row-actions { grid-column: 1/-1; }
  #image-pdf-frame { height: 440px; }
  .image-pdf-actions .download-button { width: 100%; text-align: center; }
}
