#pdf-page-canvas{width:100%;height:auto;border:1px solid #cad5df;margin:16px 0}#pdf-region-list input{min-width:65px;width:80px;padding:6px}#pdf-region-list table{font-size:14px}.pdf-crop-dialog{max-width:95vw;max-height:92vh;padding:20px}.pdf-crop-dialog img{display:block;max-width:100%;height:auto;margin-top:15px}.pdf-crop-dialog button{padding:10px 20px}.pdf-crop-dialog::backdrop{background:#0008}

#modal:has(#pdf-file){width:min(1500px,96vw);max-width:96vw}#pdf-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);gap:16px}#pdf-workspace[hidden]{display:none}#pdf-workspace>.row-actions,#pdf-workspace>.hint,#pdf-workspace>.ocr-check,#pdf-workspace>button{grid-column:1/-1}.pdf-page-wrap{max-height:65vh;overflow:auto;position:sticky;top:0}#pdf-page-canvas{touch-action:none;cursor:crosshair;margin:0}#pdf-region-list{max-height:65vh;overflow:auto}@media(max-width:850px){#pdf-workspace{display:block}.pdf-page-wrap{position:relative;max-height:55vh}#pdf-region-list{max-height:35vh}}
