@layer prodajavto-predlog {
 html body #page-add #img-previews .photo-job{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;gap:6px!important;align-items:center!important}
 html body #page-add #img-previews .photo-job small{grid-column:1!important}
 html body #page-add #img-previews .photo-job .photo-drag315{grid-column:2!important;grid-row:1!important}
 html body #page-add #img-previews .photo-job .photo-edit359,html body #page-add #img-previews .photo-job .photo-remove359{min-height:36px!important;font-size:12px!important;padding:4px 8px!important;width:100%!important}
 html body #page-add #img-previews .photo-job .photo-edit359{grid-column:1!important}
 html body #page-add #img-previews .photo-job .photo-remove359{grid-column:1 / -1!important}
}
#photo-editor359{box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:18px;border:1px solid var(--g-line,#888);border-radius:8px;background:var(--g-surface,#fff);color:var(--g-ink,#182026);overflow:auto}
#photo-editor359::backdrop{background:#000a}
#photo-editor359 header,#photo-editor359 footer,.photo-editor-toolbar359{display:flex;gap:8px;align-items:center;justify-content:space-between}
#photo-editor359 h2{font:700 20px/1.3 Arial,sans-serif;margin:0}
.photo-editor-toolbar359{justify-content:flex-start;flex-wrap:wrap;margin:16px 0}
#photo-editor359 button,.photo-editor-replace359{box-sizing:border-box;min-height:40px;padding:8px 12px;border:1px solid var(--g-line,#888);border-radius:6px;background:var(--g-surface2,#eee);color:var(--g-ink,#182026);font:600 14px/1.2 Arial,sans-serif;cursor:pointer}
#photo-editor359 button[aria-pressed=true]{outline:2px solid var(--g-acc,#e71f24)}
#photo-editor359 button:disabled{opacity:.5;cursor:wait}
.photo-editor-stage359{display:grid;place-items:center;min-height:120px;background:#161616;overflow:hidden}
.photo-editor-stage359 canvas{display:block;max-width:100%;max-height:55dvh;width:auto;height:auto;touch-action:none}
.photo-editor-status359{min-height:20px;font:14px/1.4 Arial,sans-serif}
#photo-editor359 footer{justify-content:flex-end}
#photo-editor359 [data-photo-action=apply]{background:#e71f24;color:#fff;border-color:#e71f24}
#photo-editor359 :focus-visible{outline:2px solid var(--g-acc,#e71f24);outline-offset:2px}
