.seal-application-tabs { flex-wrap:wrap; gap:14px; }
.seal-application-table { min-width:1000px; table-layout:fixed; }
.seal-application-table th:first-child { width:56px; }
.seal-application-table td { height:108px; vertical-align:middle; }
.seal-application-table th:last-child { width:150px; }
.seal-application-table td:last-child { width:150px; white-space:normal; }
.seal-application-table .order-link,.seal-application-table td>b { display:block; max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#editor:has(.seal-application-content) { width:min(1180px,calc(100vw - 28px)); }
.seal-application-workspace { display:grid; grid-template-columns:310px minmax(0,1fr); gap:22px; align-items:start; }
.seal-application-settings { display:grid; gap:16px; min-width:0; }
.seal-application-settings .customer-section { gap:10px; }
.seal-application-settings input[type=file] { width:100%; }
.seal-application-document { min-width:0; padding:14px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface-2); }
.seal-application-document .small { line-height:1.6; }
.seal-presets { display:flex; gap:6px; flex-wrap:wrap; }
.seal-placement-summary { min-height:40px; margin:0 0 10px; line-height:1.6; color:var(--text-2); }
.seal-page-navigation { display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap; margin:0 0 12px; }
.seal-page-navigation label { display:flex; gap:8px; align-items:center; }
.seal-page-navigation .select { width:108px; }
.seal-source-paper { display:block; position:relative; width:100%; padding:0; border:0; box-shadow:0 0 0 1px var(--line); background:white; cursor:crosshair; overflow:hidden; }
.seal-source-paper:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }
.seal-source-page { display:block; width:100%; height:auto; pointer-events:none; }
.seal-position-marker { position:absolute; display:grid; place-items:center; width:66px; height:66px; transform:translate(-50%,-50%); border:2px dashed #b91c1c; border-radius:50%; color:#b91c1c; background:rgba(255,255,255,.75); font-size:11px; pointer-events:none; }
.seal-seam-marker { position:absolute; top:45%; display:grid; place-items:center; width:18px; height:90px; border:1px dashed #b91c1c; color:#b91c1c; background:rgba(255,255,255,.75); font-size:10px; line-height:1.2; writing-mode:vertical-rl; pointer-events:none; }
.seal-seam-marker.is-left { left:0; }
.seal-seam-marker.is-right { right:0; }
@media(max-width:800px) { .seal-application-workspace { grid-template-columns:1fr; } .seal-application-document { padding:10px; } .seal-application-tabs { gap:10px; } }
