.cj-photo-zoom{min-width:0;width:100%;align-self:start}.cj-photo-zoom-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px;background:#f1f5fa;border:1px solid #cfdae8;border-radius:9px 9px 0 0}.cj-photo-zoom-controls button{width:auto!important;margin:0!important;padding:8px 11px!important;font-size:13px}.cj-photo-zoom-controls input[type=range]{width:130px;margin:0;padding:0}.cj-photo-zoom-controls output{min-width:43px;font-weight:600;font-size:12px}.cj-photo-zoom-controls button[aria-pressed=true]{background:#175bd4;color:white}.cj-photo-zoom-hint{font-size:11px;line-height:1.4;color:#52677f;margin:7px 0}.cj-photo-zoom-viewport{position:relative;height:clamp(280px,60vh,700px);overflow:auto;overscroll-behavior:contain;background:#16283d;border:1px solid #aebfd1;touch-action:none;outline-offset:2px}.cj-photo-zoom-stage{position:relative;min-width:100%;min-height:100%}.cj-photo-zoom-stage>img,.cj-photo-zoom-stage>canvas{position:absolute;display:block;max-width:none!important;max-height:none!important;object-fit:fill;margin:0;padding:0;grid-area:auto!important}.cj-photo-zoom-viewport[data-mode=pan],.cj-photo-zoom-viewport[data-mode=pan] canvas,.cj-photo-zoom-viewport[data-space-pan=true] canvas{cursor:grab}.cj-photo-zoom-viewport:active[data-mode=pan]{cursor:grabbing}.cj-photo-zoom-viewport[data-mode=draw] canvas{cursor:crosshair}.cj-photo-zoom-viewport:focus-visible{outline:3px solid #4786d4}.cj-photo-preview{width:min(1300px,95vw)}
@media(min-width:900px){.cj-annotation-editor>.cj-photo-zoom{grid-column:1;grid-row:4/9}}
@media(max-width:760px){.cj-photo-zoom-controls{gap:5px}.cj-photo-zoom-controls input[type=range]{width:100px}.cj-photo-zoom-viewport{height:52vh}.cj-photo-zoom-controls button{font-size:12px!important}}
/* The combined action owns caption saves while the form is inside the editor. */
.cj-photo-editor-caption .cj-caption-editor form>button{display:none!important}
/* Photo editor: named tool groups and one consistent action row. */
.cj-annotation-editor .cj-annotation-toolbar{gap:12px;justify-content:space-between;margin:0}
.cj-editor-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:9px;border:1px solid #dce5ef;border-radius:10px;background:#f6f8fb}
.cj-editor-group>strong,.cj-photo-zoom-controls>strong{font-size:12px;color:#52677f;margin-right:5px}
.cj-annotation-editor .cj-editor-group button,.cj-annotation-editor .cj-editor-footer button{width:auto;margin:0;min-height:38px;padding:8px 12px;border-radius:7px;font-size:13px;font-weight:600}
.cj-annotation-editor .cj-editor-group button[aria-pressed=true]{background:#175bd4;color:white;border-color:#175bd4;box-shadow:0 0 0 2px #bdd3fa}
.cj-annotation-editor .cj-editor-group button:focus-visible,.cj-editor-footer button:focus-visible{outline:3px solid #80aaf0;outline-offset:2px}
.cj-annotation-editor .cj-editor-group .cj-editor-clear{background:transparent;color:#9d3940;border:1px solid #e3c6c8;font-weight:400;margin-left:6px}
.cj-editor-group input[type=color]{width:38px;height:38px;margin:0;cursor:pointer}
.cj-editor-group input[aria-label="Damage label"]{width:180px;min-width:120px;margin:0}
.cj-annotation-editor .cj-editor-tool-hint{font-size:13px;color:#52677f;margin:0;min-height:20px}
.cj-editor-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 0 0;border-top:1px solid #dce5ef;background:white}
.cj-annotation-editor .cj-editor-footer .cj-editor-save-close{background:#175bd4;color:white}
.cj-photo-zoom-stage canvas[data-tool=move]{cursor:move}
.cj-annotation-editor .cj-photo-zoom-hint{display:none}
@media(min-width:900px){.cj-annotation-editor>.cj-annotation-toolbar{grid-row:2}.cj-annotation-editor>.cj-editor-tool-hint{grid-row:3;grid-column:1/-1}.cj-annotation-editor>.cj-editor-footer{grid-column:2;grid-row:6;align-self:start}.cj-annotation-editor>p[role=status]{grid-column:2;grid-row:5}}
@media(max-width:899px){.cj-annotation-editor .cj-annotation-toolbar{align-items:stretch}.cj-editor-group{flex:1 1 auto}.cj-annotation-editor .cj-editor-tool-hint{margin:10px 0}.cj-editor-footer{position:sticky;bottom:-20px;padding-bottom:10px;z-index:2}.cj-editor-footer .cj-editor-save-close{flex:1}}
