.xom-photo-thumbnail{display:block;padding:0;border:0;border-radius:10px;overflow:hidden;flex-shrink:0;background:var(--xom-bg);cursor:zoom-in!important}.xom-photo-thumbnail:focus-visible{outline:3px solid var(--xom-green);outline-offset:3px}.xom-photo-thumbnail img{display:block}.xom-photo-editor-item .xom-photo-thumbnail{width:100%}.xom-photo-upload-item{flex-shrink:0}.xom-photo-overlay{z-index:120}.xom-photo-dialog{z-index:121;max-width:720px}.xom-photo-dialog .xom-dialog-header{margin-bottom:12px}.xom-photo-dialog .xom-note{display:block}.xom-crop-stage{position:relative;overflow:hidden;max-width:100%;margin:16px auto;background:var(--xom-bg);touch-action:none;cursor:grab;border:1px solid var(--xom-border);border-radius:8px}.xom-crop-stage:active{cursor:grabbing}.xom-crop-stage>img{max-width:none;max-height:none;-o-object-fit:fill;object-fit:fill;-webkit-user-select:none;-moz-user-select:none;user-select:none}.xom-crop-grid,.xom-crop-stage>img{position:absolute;pointer-events:none}.xom-crop-grid{inset:0;background:linear-gradient(90deg,transparent 33.1%,rgb(255 255 255/.65) 0,rgb(255 255 255/.65) 33.5%,transparent 0,transparent 66.4%,rgb(255 255 255/.65) 0,rgb(255 255 255/.65) 66.8%,transparent 0),linear-gradient(180deg,transparent 33.1%,rgb(255 255 255/.65) 0,rgb(255 255 255/.65) 33.5%,transparent 0,transparent 66.4%,rgb(255 255 255/.65) 0,rgb(255 255 255/.65) 66.8%,transparent 0)}.xom-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:12px 0}.xom-photo-dialog input[type=range]{padding:0;width:100%;accent-color:var(--xom-green);min-height:36px}.xom-photo-actions{flex-wrap:wrap}.xom-photo-viewer{max-width:1100px}.xom-photo-full{display:flex;align-items:flex-start;justify-content:center;height:min(65dvh,720px);overflow:auto;background:var(--xom-bg);border-radius:12px}.xom-photo-full>img{display:block;flex-shrink:0;max-width:100%;max-height:100%;width:auto;height:auto;-o-object-fit:contain;object-fit:contain;margin:auto}.xom-photo-full:has(>img[style]){justify-content:flex-start}.xom-photo-viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.xom-photo-viewer-controls output{min-width:44px;text-align:center;font-size:13px}.xom-photo-dialog .xom-icon-button{min-width:40px;min-height:40px}.xom-photo-editor-controls button{min-width:30px}@media (max-width:480px){.xom-photo-dialog{width:calc(100% - 16px);padding:18px 14px}.xom-crop-controls{gap:10px}.xom-photo-actions .xom-button{flex:1;padding:10px}.xom-photo-viewer-controls .xom-button span{display:none}.xom-photo-full{height:60dvh}}@media print{.xom-photo-dialog,.xom-photo-overlay{display:none!important}}