.orez-dialog { width:min(1080px,94vw);max-height:92dvh;overflow:auto;border:1px solid var(--line,#aaa);border-radius:12px;padding:24px;background:var(--panel,#fff);color:var(--bone,#222);box-sizing:border-box; }
.orez-dialog::backdrop { background:#0009; }
.orez-dialog h2 { margin-top:0; }
.orez-panely { display:grid;grid-template-columns:1fr 1fr;gap:24px; }
.orez-panel canvas { width:100%;display:block;touch-action:none;cursor:grab;background:#ddd;border-radius:4px; }
.orez-panel canvas:active { cursor:grabbing; }
.orez-panel label { display:block;margin:14px 0; }
.orez-panel input { display:block;width:100%;min-height:28px;margin:0; }
.orez-panel output { float:right;font-variant-numeric:tabular-nums; }
.orez-akce { display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px; }
.orez-akce button,.orez-panel button { min-height:44px; }
.orez-preview-detail { aspect-ratio:3/2;width:100%;object-fit:cover;display:block;border-radius:4px; }
@media(max-width:680px) { .orez-panely{grid-template-columns:1fr;gap:12px}.orez-dialog{padding:16px}.orez-akce{position:sticky;bottom:0;background:var(--panel,#fff);padding:12px 0} }
