.photo-actions{display:flex;min-width:0;align-items:center;gap:2px;padding:4px;border-radius:999px;background:#f3f6f4;color:#40554b;container-type:inline-size}.photo-action-button{display:flex;flex:1;min-width:0;min-height:40px;align-items:center;justify-content:center;gap:5px;padding:4px;border-radius:999px;font-size:12px;font-weight:600;transition:background-color .15s,color .15s}.photo-action-button .material-symbols-rounded{font-size:18px}.photo-action-button:hover:enabled{background:#fff;color:#0f6e56}.photo-action-button:focus-visible{outline:2px solid #1d9e75;outline-offset:2px}.photo-action-button:disabled{opacity:.4}.photo-action-divider{width:1px;height:16px;flex-shrink:0;background:#dbe4de}.photo-actions-dark{border:1px solid #ffffff25;background:#ffffff12;color:#fff}.photo-actions-dark .photo-action-divider{background:#ffffff30}.photo-actions-dark .photo-action-button:hover:enabled{background:#ffffff15;color:#fff}.photo-tile-surface{container-type:inline-size}.photo-actions-tile{position:absolute;z-index:2;width:max-content;padding:0;gap:4px;container-type:normal;background:transparent;color:#263b30}.photo-actions-tile .photo-action-button{flex:none;min-height:44px;height:44px;padding:0;background:#ffffffed;box-shadow:0 1px 5px #0002;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.photo-actions-tile .photo-action-button:hover:enabled{background:#fff;color:#0f6e56}.photo-actions-a{top:6px;left:6px}.photo-actions-a .photo-action-button{width:44px;border-radius:50%}.photo-actions-a .photo-action-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.photo-actions-a .material-symbols-rounded{font-size:21px}.photo-actions-b{bottom:8px;right:8px}.photo-actions-b .photo-action-button{gap:5px;padding:0 12px;border-radius:12px;font-size:12px}.photo-tile-remove{min-width:44px;min-height:44px}.photo-tile-principal{position:absolute;bottom:6px;right:6px;max-width:calc(100% - 56px)}.photo-tile-b .photo-tile-principal{inset:6px auto auto 6px}.photo-tile-order{position:absolute;z-index:2;right:6px;bottom:6px;width:min(88px,calc(100% - 56px));border-radius:999px;background:#fffffff2;color:#40554b;box-shadow:0 1px 4px #0002}.photo-tile-b .photo-tile-order{inset:6px auto auto 6px}.photo-tile-order[data-primary=true]{background:#e3f4ed;color:#0f6e56}.photo-tile-order select{width:100%;min-height:36px;appearance:none;padding:0 17px 0 6px;border:0;border-radius:inherit;font-size:11px;font-weight:600;background:transparent}.photo-tile-order .material-symbols-rounded{position:absolute;top:50%;right:2px;transform:translateY(-50%);pointer-events:none;font-size:15px}.photo-tile-order select:focus-visible{outline:2px solid #1d9e75;outline-offset:2px}@container (max-width: 148px){.photo-actions:not(.photo-actions-tile) .photo-action-button{gap:3px;padding:2px;font-size:11px}.photo-actions:not(.photo-actions-tile) .photo-action-button:last-child{flex:1.2}.photo-actions:not(.photo-actions-tile) .photo-action-button .material-symbols-rounded{font-size:16px}.photo-actions-a{flex-direction:column}.photo-actions-b .photo-action-button{gap:4px;padding:0 9px;font-size:11px}}@container (max-width: 108px){.photo-actions:not(.photo-actions-tile) .photo-action-button{flex-direction:column;gap:1px}.photo-actions:not(.photo-actions-tile) .photo-action-button:last-child{flex:1}}@media(pointer:coarse){.photo-action-button,.photo-tile-order select{min-height:44px}}.photo-editor{position:fixed;inset:0;margin:auto;padding:0;border:0;color:var(--appearance-ink, #17221c);background:var(--appearance-surface, white);width:min(100vw - 48px,1080px);max-width:none;height:min(800px,100dvh - 48px);max-height:none;border-radius:24px;box-shadow:0 24px 100px #0003}.photo-editor::backdrop{background:#0e1814b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.photo-editor-shell{display:flex;flex-direction:column;height:100%}.photo-editor-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--appearance-edge, #e8ede9);padding:14px 20px}.photo-editor-header h2{font-size:18px;font-weight:650;text-align:center}.photo-editor-apply-error{flex-shrink:0;padding:10px 20px;font-size:13px;color:var(--appearance-wz-attn, #8b381c);background:var(--appearance-wz-attn-soft, #fff3ec);border-bottom:1px solid var(--appearance-wz-attn-line, #f1d7c9)}.photo-editor button{touch-action:manipulation}.photo-editor button:disabled{opacity:.4}.photo-editor button:focus-visible{outline:3px solid var(--appearance-accent, #1d9e75);outline-offset:3px}.photo-editor-cancel{min-height:44px;padding:0 8px;font-size:14px;color:var(--appearance-muted, #536057)}.photo-editor-apply{min-height:44px;padding:0 23px;background:var(--appearance-accent, #1d9e75);border-radius:999px;color:light-dark(white,#10271d);font-size:14px;font-weight:650}.photo-editor-apply:hover:enabled{background:var(--appearance-wz-accent-hover, #188a66)}.photo-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;min-height:0;flex:1}.photo-editor-workspace{min-height:0;min-width:0;display:flex;flex-direction:column;background:var(--appearance-wz-accent-softer, #f5f7f5);padding:16px;gap:12px}.photo-editor-stage{display:flex;align-items:center;justify-content:center;position:relative;min-height:0;flex:1;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.photo-editor-stage button{cursor:inherit}.photo-editor-image{position:relative;flex-shrink:0}.photo-editor-image>canvas{display:block;width:100%;height:100%}.photo-editor-shade{position:absolute;background:#0009;pointer-events:none}.photo-editor-crop{position:absolute;border:2px solid white}.photo-editor-move{position:absolute;inset:0;width:100%;height:100%;touch-action:none!important;cursor:move}.photo-editor-stage:is([data-dragging],:focus-within) .photo-editor-move{background-image:linear-gradient(90deg,transparent calc(33.333% - .5px),#ffffff65 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff65 66.666%,transparent calc(66.666% + .5px)),linear-gradient(0deg,transparent calc(33.333% - .5px),#ffffff65 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff65 66.666%,transparent calc(66.666% + .5px))}.photo-editor-handle{position:absolute;width:44px;height:44px;touch-action:none!important}.photo-editor-handle:after{content:"";position:absolute;width:var(--photo-corner-size, 14px);height:var(--photo-corner-size, 14px);border:solid white;filter:drop-shadow(0 1px 2px #0005)}.photo-editor-handle-nw{top:-22px;left:-22px;cursor:nwse-resize}.photo-editor-handle-ne{top:-22px;right:-22px;cursor:nesw-resize}.photo-editor-handle-sw{bottom:-22px;left:-22px;cursor:nesw-resize}.photo-editor-handle-se{bottom:-22px;right:-22px;cursor:nwse-resize}.photo-editor-handle-nw:after{top:21px;left:21px;border-width:var(--photo-corner-stroke, 4px) 0 0 var(--photo-corner-stroke, 4px)}.photo-editor-handle-ne:after{top:21px;right:21px;border-width:var(--photo-corner-stroke, 4px) var(--photo-corner-stroke, 4px) 0 0}.photo-editor-handle-sw:after{bottom:21px;left:21px;border-width:0 0 var(--photo-corner-stroke, 4px) var(--photo-corner-stroke, 4px)}.photo-editor-handle-se:after{bottom:21px;right:21px;border-width:0 var(--photo-corner-stroke, 4px) var(--photo-corner-stroke, 4px) 0}.photo-editor-edge{position:absolute;touch-action:none!important}.photo-editor-edge:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:999px;background:#fff;box-shadow:0 1px 3px #0005}.photo-editor-edge-n,.photo-editor-edge-s{left:min(22px,25%);width:calc(100% - min(44px,50%));height:44px;cursor:ns-resize}.photo-editor-edge-n{top:-22px}.photo-editor-edge-s{bottom:-22px}.photo-editor-edge-n:after,.photo-editor-edge-s:after{width:26px;height:4px;max-width:100%}.photo-editor-edge-e,.photo-editor-edge-w{top:min(22px,25%);height:calc(100% - min(44px,50%));width:44px;cursor:ew-resize}.photo-editor-edge-e{right:-22px}.photo-editor-edge-w{left:-22px}.photo-editor-edge-e:after,.photo-editor-edge-w:after{height:26px;width:4px;max-height:100%}.photo-editor-edge:hover:after{box-shadow:0 0 0 2px #ffffff50}.photo-editor-hint{text-align:center;color:var(--appearance-muted, #68736b);font-size:12px}.photo-editor-status{text-align:center;padding:16px;font-size:14px}.photo-editor-status button{padding:12px 20px;text-decoration:underline}.photo-editor-controls{min-height:0;overflow-y:auto;padding:24px}.photo-editor-controls fieldset{min-width:0}.photo-editor-controls legend,.photo-editor-controls h3{margin-bottom:12px;font-size:13px;font-weight:650}.photo-editor-turns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}.photo-editor-turns button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 4px;border:1px solid var(--appearance-edge, #e0e7e2);border-radius:14px;font-size:12px;min-height:64px}.photo-editor-turns button:hover:enabled{background:var(--appearance-wz-fill, #f3f7f4)}.photo-editor-turns .material-symbols-rounded{font-size:22px}.photo-editor-ratios{display:flex;padding:4px;gap:4px;background:var(--appearance-wz-fill, #f1f4f2);border-radius:12px;margin-bottom:24px}.photo-editor-ratios button{flex:1;padding:10px 4px;min-height:44px;border-radius:9px;font-size:12px}.photo-editor-ratios [aria-pressed=true]{background:var(--appearance-surface, white);color:var(--appearance-accent, #0f6e56);box-shadow:0 1px 4px #132a1c10;font-weight:650}.photo-editor-reset{display:flex;align-items:center;gap:4px;min-height:44px;font-size:13px;color:var(--appearance-muted, #536057);margin-top:12px}.photo-editor-reset .material-symbols-rounded{font-size:18px}@media(max-width:639px){.photo-editor{width:100vw;height:100dvh;border-radius:0}.photo-editor-header{padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}.photo-editor-header h2{font-size:16px}.photo-editor-apply{padding:0 18px}.photo-editor-body{display:flex;flex-direction:column;overflow-y:auto}.photo-editor-workspace{flex:1 0 auto;min-height:240px;padding:10px;gap:8px}.photo-editor-stage{flex:1 0 auto;min-height:clamp(200px,37dvh,430px)}.photo-editor-controls{overflow:visible;padding:10px 20px max(10px,env(safe-area-inset-bottom))}.photo-editor-controls legend,.photo-editor-controls h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.photo-editor-turns{margin-bottom:10px}.photo-editor-turns button{flex-direction:row;min-height:44px;padding:10px 4px}.photo-editor-ratios{margin-bottom:10px}.photo-editor-reset{margin-top:0}}
