.pg-three-d-photo-tool{--depth-accent:var(--action);width:100%;color:var(--ink)}.pg-three-d-editor{grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr);align-items:start;gap:18px;display:grid}.pg-three-d-preview-column,.pg-three-d-controls{gap:12px;min-width:0;display:grid}.pg-three-d-preview-toolbar,.pg-three-d-preview-actions,.pg-three-d-size-choice{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.pg-three-d-preview-toolbar strong{overflow-wrap:anywhere;min-width:0;color:var(--ink);font-size:12px;font-weight:700}.pg-three-d-preview-toolbar button,.pg-three-d-presets button,.pg-three-d-size-choice button,.pg-three-d-related a{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);min-height:38px;color:var(--ink);font:inherit;cursor:pointer;justify-content:center;align-items:center;padding:7px 12px;font-size:12px;font-weight:700;text-decoration:none;transition:border-color .14s,background-color .14s,color .14s;display:inline-flex}.pg-three-d-preview-toolbar button:hover,.pg-three-d-presets button:hover,.pg-three-d-size-choice button:hover,.pg-three-d-related a:hover{border-color:var(--depth-accent);background:var(--hot)}.pg-three-d-preview-toolbar button:focus-visible,.pg-three-d-presets button:focus-visible,.pg-three-d-size-choice button:focus-visible,.pg-three-d-related a:focus-visible,.pg-three-d-preview-actions button:focus-visible,.pg-three-d-export-actions button:focus-visible{outline:2px solid var(--depth-accent);outline-offset:2px}.pg-three-d-preview-toolbar button[aria-pressed=true],.pg-three-d-presets button[aria-pressed=true],.pg-three-d-size-choice button[aria-pressed=true]{border-color:var(--depth-accent);background:var(--hot);color:var(--depth-accent)}.pg-three-d-canvas-wrap{border:1px solid var(--border);border-radius:var(--radius);background:var(--well);justify-content:center;align-items:center;min-height:250px;display:flex;position:relative;overflow:hidden}.pg-three-d-canvas,.pg-three-d-source-image{object-fit:contain;width:100%;max-height:520px;display:block}.pg-three-d-canvas{cursor:crosshair;touch-action:manipulation;height:auto}.pg-three-d-source-image{height:auto}.pg-three-d-focus-marker{border:2px solid var(--depth-accent);width:20px;height:20px;box-shadow:0 0 0 2px var(--background);pointer-events:none;border-radius:50%;margin:-10px 0 0 -10px;position:absolute}.pg-three-d-focus-marker:before,.pg-three-d-focus-marker:after{background:var(--depth-accent);content:"";display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pg-three-d-focus-marker:before{width:30px;height:1px}.pg-three-d-focus-marker:after{width:1px;height:30px}.pg-three-d-loading{background:color-mix(in oklch, var(--background) 82%, transparent);color:var(--ink);text-align:center;align-content:center;justify-items:center;gap:10px;padding:22px;font-size:13px;font-weight:650;display:grid;position:absolute;inset:0}.pg-three-d-loading svg{color:var(--depth-accent)}.pg-three-d-loading progress,.pg-three-d-export-actions progress{width:min(100%,320px);accent-color:var(--depth-accent)}.pg-three-d-help,.pg-three-d-status,.pg-three-d-result p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.pg-three-d-preview-actions{justify-content:flex-start}.pg-three-d-preview-actions button,.pg-three-d-export-actions button,.pg-three-d-result a{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);min-height:40px;color:var(--ink);font:inherit;cursor:pointer;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.pg-three-d-preview-actions button:hover,.pg-three-d-export-actions button.pg-secondary:hover{border-color:var(--depth-accent);color:var(--depth-accent)}.pg-three-d-preview-actions button:disabled,.pg-three-d-export-actions button:disabled{opacity:.55;cursor:default}.pg-three-d-controls fieldset{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin:0;padding:9px 10px 10px}.pg-three-d-controls legend{color:var(--ink);padding:0 4px;font-size:11px;font-weight:700}.pg-three-d-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.pg-three-d-slider{color:var(--ink);grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;font-size:12px;font-weight:650;display:grid}.pg-three-d-slider input{width:100%;accent-color:var(--depth-accent);grid-column:1/-1;margin:2px 0}.pg-three-d-slider output{color:var(--muted);font-variant-numeric:tabular-nums}.pg-three-d-size-choice{justify-content:flex-start}.pg-three-d-check{color:var(--ink);align-items:flex-start;gap:8px;font-size:12px;line-height:1.4;display:flex}.pg-three-d-check input{accent-color:var(--depth-accent);flex:none;margin:1px 0 0}.pg-three-d-export-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.pg-three-d-export-actions .pg-primary,.pg-three-d-result .pg-primary{border-color:var(--depth-accent);background:var(--depth-accent);color:var(--action-ink)}.pg-three-d-export-actions .pg-primary:hover,.pg-three-d-result .pg-primary:hover{filter:brightness(.96)}.pg-three-d-export-actions progress,.pg-three-d-export-actions .pg-three-d-error{grid-column:1/-1}.pg-three-d-error{color:var(--destructive);margin:0;font-size:12px;line-height:1.5}.pg-three-d-result{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);grid-template-columns:minmax(0,1fr) minmax(190px,.32fr);align-items:center;gap:14px;margin-top:16px;padding:12px;display:grid}.pg-three-d-result>img,.pg-three-d-result>video{border-radius:var(--radius);background:var(--well);object-fit:contain;width:100%;max-height:360px;display:block}.pg-three-d-result>div{justify-items:start;gap:8px;display:grid}.pg-three-d-result .pg-primary{white-space:nowrap}.pg-three-d-related{text-align:center;justify-items:center;gap:10px;padding-top:16px;padding-bottom:16px;display:grid}.pg-three-d-related>p{color:var(--ink);margin:0;font-size:13px;font-weight:750}.pg-three-d-quick-links{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@media (width<=760px){.pg-three-d-editor{grid-template-columns:minmax(0,1fr)}.pg-three-d-canvas-wrap{min-height:210px}.pg-three-d-result{grid-template-columns:minmax(0,1fr)}.pg-three-d-result>div{justify-items:stretch}.pg-three-d-result .pg-primary{white-space:normal;justify-content:center}}@media (prefers-reduced-motion:reduce){.pg-three-d-photo-tool *,.pg-three-d-photo-tool :before,.pg-three-d-photo-tool :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
