.pc-dialog{box-sizing:border-box;width:760px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:0;border-radius:18px;background:#fff;color:#183b32;overflow:auto;font:15px/1.5 system-ui,-apple-system,sans-serif;box-shadow:0 20px 80px #10282055}.pc-dialog::backdrop{background:#102820b8}.pc-dialog *{box-sizing:border-box}.pc-dialog [hidden]{display:none!important}.pc-dialog.pc-fallback{display:block;position:fixed;z-index:2147483646;top:12px;right:12px;bottom:12px;left:12px;box-shadow:0 0 0 100vmax #102820b8}.pc-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pc-head h2{margin:0;font-size:20px}.pc-dialog button{font:inherit;min-height:42px;border:1px solid #bed0c8;background:#f4f8f5;color:#234d43;border-radius:9px;padding:8px 13px;cursor:pointer}.pc-dialog button:disabled{opacity:.45;cursor:default}.pc-dialog button:focus-visible,.pc-dialog input:focus-visible,.pc-dialog summary:focus-visible{outline:3px solid #e3ab34;outline-offset:2px}.pc-head button{font-size:24px;line-height:1;padding:5px 13px}.pc-help{margin:10px 0;color:#486258}.pc-stage{display:flex;justify-content:center;align-items:center;min-height:120px;background:#142d27;border-radius:10px;overflow:hidden;width:100%}.pc-empty{color:#e0eee7;text-align:center;padding:22px}.pc-frame{position:relative;flex:none;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}.pc-frame video,.pc-frame canvas{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.pc-selection{position:absolute;border:2px solid #ffe18c;box-shadow:0 0 0 3000px #001b1666;pointer-events:none;cursor:move;min-width:1px;min-height:1px}.pc-move{pointer-events:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:4px 8px;border-radius:5px;background:#19392cbb;color:#fff;font-size:12px;white-space:nowrap;cursor:move}.pc-corner{pointer-events:auto;position:absolute;width:22px;height:22px;background:#fff5ca;border:2px solid #8c6518;border-radius:50%;z-index:1}.pc-corner[data-corner=lt]{left:-9px;top:-9px;cursor:nwse-resize}.pc-corner[data-corner=rt]{right:-9px;top:-9px;cursor:nesw-resize}.pc-corner[data-corner=lb]{left:-9px;bottom:-9px;cursor:nesw-resize}.pc-corner[data-corner=rb]{right:-9px;bottom:-9px;cursor:nwse-resize}.pc-status{margin:8px 0;min-height:23px;font-size:14px}.pc-status.pc-error{color:#a53026}.pc-tools,.pc-actions{display:flex;gap:8px;flex-wrap:wrap}.pc-tools button{font-size:13px;padding:6px 10px}.pc-actions{justify-content:flex-end;padding-top:10px;border-top:1px solid #e1e9e4}.pc-actions .pc-primary{background:#235849;border-color:#235849;color:#fff}.pc-privacy{font-size:12px;color:#5d7066;margin:10px 0}.pc-fine{margin:10px 0}.pc-fine summary{cursor:pointer;font-size:14px}.pc-ranges{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;padding:10px 0}.pc-ranges label{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.pc-ranges input{min-width:0;width:100%;accent-color:#235849}@media(max-width:480px){.pc-dialog{max-width:calc(100vw - 12px);max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);padding:14px;border-radius:12px}.pc-head h2{font-size:18px}.pc-help{font-size:13px}.pc-actions button{flex-grow:1}.pc-tools{gap:5px}.pc-tools button{font-size:12px;padding:6px 8px}.pc-ranges{grid-template-columns:1fr}.pc-dialog.pc-fallback{top:6px;right:6px;bottom:6px;left:6px}}
