dialog:has(.media-editor,.media-batch){border-radius:18px;width:min(94vw,660px);max-height:94dvh}dialog:has(.media-editor,.media-batch) .dialogbody{padding:0}dialog:has(.media-editor,.media-batch) .close{z-index:2;top:12px;right:14px}.media-editor,.media-batch{color:#242231;border-radius:inherit;background:#fff}.media-editor>header,.media-batch>header{align-items:center;gap:9px;min-height:64px;padding:15px 58px 15px 20px;display:flex}.media-editor>header>span{color:#5d45a9;background:#eee9fe;border-radius:9px;place-items:center;width:33px;height:33px;display:grid}.media-editor>header svg{width:18px;height:18px}.media-editor h2,.media-batch h2{font:700 1.35rem/1.18 var(--sans);letter-spacing:-.035em;margin:0}.edit-stage{background:#201f26;justify-content:center;align-items:center;height:clamp(178px,37dvh,346px);min-height:132px;padding:10px;display:flex;overflow:hidden}.edit-stage video{object-fit:contain;width:100%;height:100%}.crop-frame{justify-content:center;align-items:center;max-width:100%;max-height:100%;display:flex;position:relative}.crop-frame canvas{background:repeating-conic-gradient(#282830 0% 25%,#33333b 0% 50%) 0 0/18px 18px;width:auto;max-width:100%;height:auto;max-height:calc(clamp(178px,37dvh,346px) - 20px);display:block}.crop-frame canvas:focus-visible{outline-offset:2px;outline:2px solid #b5a8ed}.crop-frame.is-moving:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000 33%,#ffffff8a 33.3%,#0000 33.6% 66%,#ffffff8a 66.5%,#0000 67%),linear-gradient(#0000 33%,#ffffff8a 33.3%,#0000 33.6% 66%,#ffffff8a 66.5%,#0000 67%);position:absolute;inset:0}.media-edit-tools{gap:12px;padding:14px 20px 16px;display:grid}.media-edit-tools small{font:400 .82rem/1.3 var(--sans);color:#595565}.media-edit-tools button,.media-editor-footer button,.batch-tile button{font:650 .88rem/1.2 var(--sans);color:#322c42;cursor:pointer;background:#fff;border:1px solid #dad7e3;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px 12px;display:inline-flex}.media-edit-tools button[aria-pressed=true],.media-edit-tools button:hover{color:#4b3678;background:#eeeafa;border-color:#b9a9df}.media-edit-tools button:disabled,.media-editor-footer button:disabled{opacity:.5;cursor:default}.media-edit-tools svg,.media-editor-footer svg,.batch-tile svg{width:18px;height:18px}.crop-ratios,.clip-buttons,.edit-transforms{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.crop-ratios>button{flex:auto}.photo-adjust{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.edit-transforms button{width:42px;padding:0}.media-editor label.edit-zoom{font:600 .86rem var(--sans);flex:1;align-items:center;gap:10px;display:flex}.media-editor input[type=range]{accent-color:#7155ac;width:100%;min-width:60px;max-width:none;height:32px;box-shadow:none;border:0;padding:0}.media-editor-footer{border-top:1px solid #e9e6ed;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;display:flex}.media-editor-footer button.edit-apply{color:#fff;background:#4d397b;border-color:#4d397b;padding:10px 18px}.media-editor-footer button.edit-reset{border-color:#0000}.media-editor [role=alert],.media-batch [role=alert]{color:#9b3443;margin:5px 0;font-size:.9rem}.media-editor>p,.media-batch>p{padding:14px 20px}.clip-buttons>strong{font:600 .94rem var(--sans);font-variant-numeric:tabular-nums;margin-left:auto}.clip-times{grid-template-columns:1fr 1fr;gap:20px;display:grid}.clip-times label{font:600 .87rem var(--sans);gap:2px;display:grid}.clip-times label span{justify-content:space-between;align-items:center;display:flex}.clip-times output{font-variant-numeric:tabular-nums;color:#634b89}.clip-progress{flex-wrap:wrap;align-items:center;gap:8px;font-size:.8rem;display:flex}.clip-progress progress{accent-color:#7654b9;flex:1}.batch-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;padding:4px 18px 18px;display:grid}.batch-tile{min-width:0;position:relative}.batch-tile>button{text-align:left;width:100%;padding:0;display:grid;overflow:hidden}.batch-tile img,.batch-tile video{object-fit:cover;background:#ece9f0;width:100%;height:84px;display:block}.batch-tile span{justify-content:space-between;align-items:center;width:100%;padding:4px 8px 7px;display:flex}.batch-tile svg{width:15px}.media-edit-link{align-items:center;gap:5px;display:inline-flex}@media (max-width:460px){dialog:has(.media-editor,.media-batch){width:calc(100vw - 12px)}.media-edit-tools{padding:12px}.media-editor-footer{padding:9px 12px}.crop-ratios{gap:3px}.crop-ratios>button{padding:6px 4px;font-size:.78rem}.photo-adjust{gap:9px}.edit-transforms{gap:3px}.edit-transforms button{width:37px}.clip-times{gap:12px}}
