
.ps-scene-overlay[hidden]{display:none!important}
.ps-scene-overlay{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:max(20px,env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));background:rgb(21 25 22 / 66%);overscroll-behavior:contain;color:#30363b;font-family:Jost,system-ui,sans-serif}
.ps-scene-dialog{width:min(100%,1380px);height:min(94vh,1040px);height:min(94dvh,1040px);max-height:100%;min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#f8f8f5;border:1px solid #dddeda;border-radius:9px;box-shadow:0 24px 90px rgb(0 0 0 / 23%);overflow:hidden}
.ps-scene-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px 13px;background:#fff}
.ps-scene-eyebrow{font-size:10px;letter-spacing:2.3px;text-transform:uppercase;color:#737c75;margin:0 0 4px}
.ps-scene-heading h2{font:400 24px/1.25 Jost,system-ui,sans-serif;letter-spacing:-.25px;color:#30363b;margin:0}
.ps-scene-close,.ps-scene-action,.ps-scene-save,.ps-scene-choice{font:400 14px/1.35 Jost,system-ui,sans-serif;cursor:pointer;color:#39433c;transition:background .16s,border-color .16s,opacity .16s}
.ps-scene-close{height:44px;width:44px;min-width:44px;display:grid;place-items:center;padding:0;border:1px solid #d6dbd3;border-radius:5px;background:#fff;font:300 29px/1 Jost,system-ui,sans-serif}
.ps-scene-close:hover,.ps-scene-action:hover,.ps-scene-choice:hover{background:#f0f2ed}
.ps-scene-choices{display:flex;justify-content:center;gap:10px;min-width:0;padding:0 24px 16px;background:#fff}
.ps-scene-choice{position:relative;display:flex;align-items:center;gap:12px;width:min(240px,33.333%);min-width:0;min-height:64px;text-align:left;padding:5px 14px 5px 5px;border:1px solid #d5dbd1;border-radius:5px;background:#fff}
.ps-scene-choice[aria-pressed=true]{border-color:#5d6d56;background:#edf1e8;box-shadow:inset 0 0 0 1px #5d6d56}
.ps-scene-choice[aria-pressed=true]::before{content:"";position:absolute;top:6px;left:6px;width:20px;height:20px;border-radius:3px;background:rgb(255 255 255 / 96%);pointer-events:none}
.ps-scene-choice[aria-pressed=true]::after{content:"";position:absolute;top:9px;left:13px;width:6px;height:11px;border:solid var(--selection-check,#26743f);border-width:0 2px 2px 0;transform:rotate(45deg);pointer-events:none}
.ps-scene-thumb{display:block;width:84px;height:56px;border-radius:2px;object-fit:cover;background:#e9e8e0;flex:0 0 auto}
.ps-scene-viewport{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e9e8e2;touch-action:none;isolation:isolate}
.ps-scene-canvas{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 50%;user-select:none;-webkit-user-select:none;will-change:transform;cursor:grab}
.ps-scene-canvas:active{cursor:grabbing}
.ps-scene-canvas[hidden]{display:none}
.ps-scene-progress{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:25px;background:#efeee9;text-align:center;color:#65707c;font-size:15px;z-index:1}
.ps-scene-progress[hidden]{display:none}
.ps-scene-progress p{margin:0;max-width:340px}
.ps-scene-progress.is-error{color:#555f55}
.ps-scene-progress .ps-scene-action[hidden]{display:none}
.ps-scene-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;background:#fff;border-top:1px solid #e1e4dd}
.ps-scene-zoom{display:flex;align-items:center;border:1px solid #d5dbd1;border-radius:5px;overflow:hidden}
.ps-scene-action{min-width:44px;min-height:44px;padding:9px 14px;background:#fff;border:1px solid #d5dbd1;border-radius:4px}
.ps-scene-zoom .ps-scene-action{border:0;border-radius:0;min-height:44px;font-size:19px;padding:8px 12px}
.ps-scene-zoom #scene-fit{font-size:13px;border-left:1px solid #d5dbd1;border-right:1px solid #d5dbd1}
.ps-scene-save{min-height:44px;min-width:124px;padding:10px 20px;background:#354132;color:#fff;border:1px solid #354132;border-radius:4px}
.ps-scene-save:hover{background:#485442;border-color:#485442}
.ps-scene-overlay button:focus-visible{outline:2px solid #4c6546;outline-offset:3px}
.ps-scene-overlay button:disabled{opacity:.42;cursor:default}
@media(max-width:767px){
 .ps-scene-overlay{padding:0;background:#f8f8f5}
 .ps-scene-dialog{width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-radius:0;box-shadow:none;grid-template-rows:auto auto minmax(0,1fr) auto}
 .ps-scene-header{padding:max(14px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 12px max(14px,env(safe-area-inset-left,0px));gap:12px}
 .ps-scene-heading h2{font-size:22px}
 .ps-scene-eyebrow{font-size:9px;margin-bottom:3px}
 .ps-scene-choices{gap:7px;padding:0 12px 12px}
 .ps-scene-choice{flex:1;flex-direction:column;justify-content:center;gap:5px;padding:5px 5px 7px;min-height:82px;width:0;text-align:center;font-size:12px}
 .ps-scene-thumb{width:100%;height:48px;flex-basis:auto}
 .ps-scene-footer{padding:10px max(12px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));gap:10px}
 .ps-scene-save{min-width:108px;padding:9px 13px;font-size:13px}
 .ps-scene-zoom #scene-fit{font-size:12px;padding-left:10px;padding-right:10px}
 .ps-scene-progress{font-size:14px;padding:18px}
}
@media(max-width:359px){
 .ps-scene-choice{font-size:11px}
 .ps-scene-save{min-width:94px}
}

@media(max-height:540px) and (min-width:600px){
 .ps-scene-overlay{padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
 .ps-scene-dialog{height:100%;grid-template-columns:minmax(0,1fr) 174px;grid-template-rows:auto minmax(0,1fr) auto}
 .ps-scene-header{grid-column:1/-1;padding:8px 14px}
 .ps-scene-heading{display:flex;gap:14px;align-items:baseline}
 .ps-scene-heading h2{font-size:20px}
 .ps-scene-choices{grid-column:2;grid-row:2;flex-direction:column;justify-content:center;padding:8px;gap:6px;border-left:1px solid #e1e4dd}
 .ps-scene-choice{width:100%;min-height:48px;padding:4px;gap:8px;font-size:12px;flex-direction:row;flex:0 1 auto}
 .ps-scene-thumb{width:54px;height:36px;flex-basis:auto}
 .ps-scene-viewport{grid-column:1;grid-row:2}
 .ps-scene-footer{grid-column:1/-1;padding:7px 14px}
}
@media(prefers-reduced-motion:reduce){.ps-scene-overlay *{transition:none!important}}
