﻿[data-packshot]{color:#0f172a;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.5;min-width:0}
[data-packshot] *, .ps-image-zoom *{box-sizing:border-box}
[data-packshot] [hidden]{display:none!important}
[data-packshot] button,[data-packshot] input,[data-packshot] textarea{font:inherit}
[data-packshot] button,[data-packshot] a{touch-action:manipulation}
[data-packshot] button:focus-visible,[data-packshot] a:focus-visible,[data-packshot] summary:focus-visible,.ps-image-zoom button:focus-visible{outline:3px solid #6ee7b7;outline-offset:3px}
[data-packshot] button:disabled{cursor:not-allowed;opacity:.5}
.ps-app{width:100%;min-width:0;padding:16px 20px;background:#fff}
.ps-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;border-bottom:1px solid #e2e8f0}
.ps-tabs{display:flex;align-self:stretch;gap:22px;min-width:0}
.ps-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:10px 3px 13px;font-weight:600;color:#64748b;white-space:nowrap;cursor:pointer}
.ps-tabs [aria-selected=true]{border-color:#059669;color:#047857}
.ps-wallet{font-size:12px;color:#64748b;text-align:right;text-decoration:none;min-width:0;padding-bottom:6px}
.ps-wallet strong{color:#0f172a;font-size:14px;font-variant-numeric:tabular-nums}
.ps-wallet small{display:block;font-size:11px}
.ps-workbench{display:grid;grid-template-columns:350px minmax(0,1fr);gap:18px;align-items:start}
.ps-controls{display:flex;flex-direction:column;gap:10px;min-width:0}
.ps-step{border:1px solid #e2e8f0;border-radius:8px;min-width:0}
.ps-step h2{margin:0;font-size:14px}
.ps-step-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:14px;border:0;background:none;text-align:left;cursor:pointer;min-width:0}
.ps-step-toggle>span:nth-child(2){flex:1;min-width:0}
.ps-step-toggle strong{font-weight:650;display:block;line-height:1.4}
.ps-step-toggle small{display:block;font-size:11px;font-weight:400;color:#64748b;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.ps-step-toggle>svg{width:16px;height:16px;flex-shrink:0;color:#64748b}
.ps-step.is-open .ps-step-toggle>svg{transform:rotate(180deg)}
.ps-step-number{display:flex;align-items:center;justify-content:center;border-radius:50%;width:26px;height:26px;flex-shrink:0;background:#f1f5f9;color:#475569;font-size:12px;font-weight:650}
.ps-step.is-open .ps-step-number{background:#d1fae5;color:#047857}
.ps-step-body{padding:0 14px 14px;min-width:0}
.ps-upload{display:flex;align-items:center;justify-content:center;position:relative;gap:10px;min-height:125px;padding:12px;border:1px dashed #cbd5e1;border-radius:7px;background:#fafbfc}
.ps-upload.is-dragging{border-color:#059669;background:#ecfdf5;box-shadow:0 0 0 3px #d1fae5}
.ps-upload>div{min-width:0}
.ps-upload [data-slot=button]{font-size:12px;white-space:normal;height:auto;min-height:36px;padding:7px 9px;line-height:1.4}
.ps-upload p{margin:6px 0 0;font-size:11px;color:#64748b;text-align:center}
.ps-upload-icon{width:30px;height:30px;color:#94a3b8;flex-shrink:0}
.ps-source-zoom{border:0;background:#fff;position:relative;padding:0;cursor:zoom-in;flex-shrink:0}
.ps-source-thumb{width:72px;height:82px;object-fit:contain;display:block}
.ps-source-zoom>svg{position:absolute;bottom:2px;right:2px;width:18px;height:18px;padding:2px;background:white;border-radius:3px}
.ps-file-input,.ps-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.ps-upload .ps-source-delete{position:absolute;top:2px;right:2px;min-height:24px;width:24px;padding:4px;background:transparent}
.ps-upload-specs{font-size:10px;color:#64748b;margin:7px 0 0;line-height:1.6}
.ps-guidance{font-size:11px;color:#64748b;margin-top:10px}
.ps-guidance summary,.ps-source-library summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;color:#475569}
.ps-guidance summary::-webkit-details-marker,.ps-source-library summary::-webkit-details-marker{display:none}
.ps-guidance summary svg,.ps-source-library summary svg{width:13px;height:13px}
.ps-guidance ul{list-style:disc;padding-left:17px;margin:8px 0 0;display:grid;gap:5px;line-height:1.6}
.ps-source-library{margin-top:10px;font-size:11px;color:#64748b}
.ps-source-library summary{justify-content:flex-start;color:#047857}
.ps-library-body{padding-top:8px}
.ps-library-body>p{margin:0 0 8px;line-height:1.6}
.ps-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ps-library-item{position:relative;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;min-width:0}
.ps-library-item.is-selected{border-color:#059669}
.ps-library-select{display:block;width:100%;padding:0;background:#fff;border:0;text-align:left;cursor:pointer}
.ps-library-select img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f8fafc}
.ps-library-select span{display:block;padding:4px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.ps-library-item .ps-library-delete,.ps-library-item .ps-library-zoom{position:absolute;top:2px;width:23px;height:23px;padding:4px;background:#fffffff0}
.ps-library-delete{right:2px}.ps-library-zoom{left:2px}.ps-library-loading{display:flex;gap:6px;align-items:center;padding:8px 0}.ps-library-loading svg{width:14px;height:14px}
.ps-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.ps-style{min-width:0;border:0;background:none;padding:0;color:#475569;text-align:left;border-radius:6px;cursor:pointer;font-size:11px!important;line-height:1.4}
.ps-style-photo{display:block;position:relative;aspect-ratio:16/9;border:2px solid transparent;border-radius:6px;background:#f1f5f9;overflow:hidden;margin-bottom:4px}
.ps-style-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ps-style-photo>svg{width:24px;height:24px;margin:20px auto}
.ps-style.is-selected{color:#047857;font-weight:600}.ps-style.is-selected .ps-style-photo{border-color:#059669}
.ps-selected-mark{position:absolute;right:4px;bottom:4px;width:16px;height:16px;border-radius:50%;background:#059669;color:white;display:grid;place-items:center}
.ps-selected-mark svg{width:11px;height:11px;stroke-width:3}
.ps-colors{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.ps-colors label{font-size:11px;color:#475569;width:100%}
.ps-colors input[type=color]{width:30px;min-width:30px;height:30px;padding:2px;border-radius:4px}
.ps-colors button{width:24px;height:24px;border:1px solid #cbd5e1;border-radius:50%;cursor:pointer}
.ps-colors button[aria-pressed=true]{outline:2px solid #059669;outline-offset:2px}
.ps-next-step{margin-top:14px;width:100%;font-size:12px}.ps-next-step svg{transform:rotate(-90deg)}
.ps-offers{margin:0;padding:0;border:0;min-width:0}.ps-offers legend{font-size:11px;color:#64748b;margin-bottom:8px}
.ps-formats{display:grid;gap:8px}.ps-formats label{display:flex;align-items:center;gap:8px;border:1px solid #e2e8f0;border-radius:6px;padding:9px;cursor:pointer;min-width:0}
.ps-formats label.is-selected{border-color:#059669;background:#f0fdf8}.ps-formats input{accent-color:#059669;flex-shrink:0}
.ps-formats label>span{flex:1;min-width:0}.ps-formats strong{font-size:11px;font-weight:600;line-height:1.4;display:block;overflow-wrap:anywhere}.ps-formats small{display:block;font-size:10px;color:#64748b;line-height:1.5}
.ps-format-price{font-size:14px;text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0}.ps-format-price small{font-weight:400}
.ps-details-label{display:block;margin:14px 0 7px;font-size:12px;font-weight:600}.ps-details-label small{font-weight:400;color:#64748b}
#ps-details{min-height:90px;font-size:12px;resize:vertical}.ps-details-help{display:flex;align-items:start;justify-content:space-between;gap:10px;color:#64748b;font-size:10px;line-height:1.6;margin-top:7px}.ps-details-help>span:last-child{white-space:nowrap}
.ps-generate{padding-top:3px}.ps-generate-button{width:100%;min-height:42px;background:#059669!important;color:white!important;font-size:13px!important;border-radius:7px}
.ps-generate>p{font-size:10px;color:#64748b;text-align:center;line-height:1.6;margin:5px 0}.ps-generate>.ps-service-note{font-size:11px;margin-top:8px;text-align:left}
.ps-service-note{font-size:11px;color:#64748b;line-height:1.6;margin:10px 0 0}.ps-service-note a{color:#047857;text-decoration:underline}
.ps-result{min-width:0;scroll-margin-top:100px;position:sticky;top:88px}
.ps-result-state{margin:0 0 8px;padding:9px 12px;background:#f0fdf8;color:#047857;border-radius:6px;font-size:12px}
.ps-viewer{display:flex;flex-direction:column;min-width:0;width:100%;border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden}
.ps-viewer-top{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:8px;background:#fff;flex-wrap:wrap}
.ps-viewer-modes{display:flex;background:#f1f5f9;padding:3px;border-radius:6px;gap:2px}
.ps-viewer-modes button{background:none;border:0;color:#64748b;border-radius:4px;padding:6px 13px;font-size:11px;cursor:pointer}
.ps-viewer-modes button[aria-pressed=true]{background:#e1f7ef;color:#047857;font-weight:600}
.ps-download-trigger{font-size:11px;min-height:32px;height:auto}.ps-download-trigger svg{width:14px;height:14px}
.ps-example-label{font-size:10px;color:#64748b;margin-left:auto}
.ps-zoom-stage{position:relative;width:100%;height:clamp(390px,calc(100dvh - 370px),1100px);min-height:0;overflow:hidden;background:#f4f5f6;outline:none;touch-action:pan-y;isolation:isolate}
.ps-zoom-stage.is-active{box-shadow:inset 0 0 0 2px #6ee7b7}.ps-zoom-stage.is-zoomed{cursor:grab;touch-action:none}.ps-zoom-stage.is-dragging{cursor:grabbing}
.ps-image-layer{position:absolute;inset:0;overflow:hidden;background:#f4f5f6;pointer-events:none}
.ps-image-layer img{width:100%;height:100%;max-width:none;display:block;object-fit:contain;transform-origin:center;user-select:none}
.ps-original-layer{z-index:1}
.ps-compare-label{position:absolute;top:12px;z-index:2;background:#ffffffeb;padding:4px 7px;border-radius:4px;font-size:10px;pointer-events:none}.ps-label-original{left:12px}.ps-label-result{right:12px}
.ps-viewer .ps-divider{position:absolute;top:0;bottom:0;width:36px;transform:translateX(-50%);z-index:3;touch-action:none;border:0;background:none;cursor:ew-resize;padding:0}
.ps-divider::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 4px #0f172a70}
.ps-divider span{position:absolute;left:0;top:50%;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;background:#fff;color:#334155;border:1px solid #e2e8f0;border-radius:50%;box-shadow:0 2px 8px #0f172a20;font-size:16px;font-weight:600}
.ps-zoom-toolbar{display:flex;align-items:center;gap:6px;padding:8px;flex-wrap:wrap;border-top:1px solid #e2e8f0}
.ps-zoom-toolbar [data-slot=button]{font-size:11px;height:30px;padding:5px 8px}.ps-zoom-toolbar svg{width:14px;height:14px}
.ps-zoom-toolbar output{font-size:11px;min-width:43px;text-align:center;font-variant-numeric:tabular-nums;color:#475569}
.ps-zoom-toolbar small{margin-left:auto;font-size:10px;color:#94a3b8}
.ps-viewer-note{font-size:11px;margin:0;padding:8px 12px;color:#64748b;border-top:1px solid #e2e8f0}
.ps-viewer-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;color:#64748b;font-size:13px}.ps-viewer-empty>svg{width:32px;height:32px;margin-bottom:10px;color:#94a3b8}
.ps-result-meta{display:flex;align-items:start;gap:7px;font-size:10px;color:#64748b;margin-top:9px;line-height:1.6}.ps-result-meta>svg{width:13px;height:13px;flex-shrink:0;margin-top:1px}.ps-result-meta small{display:block;font-size:10px}
.ps-viewer:fullscreen{border:0;border-radius:0;padding:10px;background:white;height:100dvh}.ps-viewer:fullscreen .ps-zoom-stage{height:auto;flex:1;min-height:0}
.ps-auth,.ps-run-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;border:1px solid #a7f3d0;border-radius:7px;background:#f0fdf8;margin-bottom:14px;font-size:12px;color:#475569}
.ps-auth p,.ps-run-status>span{flex:1;min-width:170px;margin:0}.ps-auth a,.ps-run-status a{color:#047857}.ps-run-status>svg{width:16px;height:16px;flex-shrink:0}.ps-run-status [data-slot=button]{font-size:11px}
.ps-state-uncertain{border-color:#fcd34d;background:#fffbeb;color:#92400e}
.ps-history{padding:8px 0 12px}.ps-history-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}.ps-history-heading h2{font-size:18px;font-weight:650;margin:0}.ps-history-heading p{font-size:12px;color:#64748b;margin:5px 0 0}
.ps-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-bottom:20px}.ps-history-item{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;min-width:0}.ps-history-item.is-selected{border-color:#059669}
.ps-history-open{width:100%;padding:0;border:0;background:#fff;text-align:left;cursor:pointer;display:block;color:#0f172a}
.ps-history-photo{aspect-ratio:4/3;background:#f4f5f6;display:flex;align-items:center;justify-content:center;position:relative}.ps-history-photo img{width:100%;height:100%;object-fit:contain;display:block}.ps-history-photo>svg{width:28px;height:28px;color:#94a3b8}.ps-history-photo>.ps-spin{position:absolute;width:22px;height:22px;color:#059669}
.ps-history-caption{display:block;padding:12px 14px 7px}.ps-history-caption strong{display:block;font-size:13px;font-weight:600}.ps-history-caption small{display:block;font-size:11px;color:#64748b;line-height:1.6;margin-top:3px}
.ps-history-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 6px 7px}.ps-history-actions [data-slot=button]{font-size:11px;white-space:normal}
.ps-empty-history{padding:35px 15px;text-align:center;font-size:13px;color:#64748b}
.ps-feedback:empty{display:none}.ps-error,.ps-notice{font-size:12px;line-height:1.6;margin:14px 0 0;padding:10px 14px;border-radius:6px}.ps-error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.ps-notice{background:#f0fdf8;color:#047857;border:1px solid #a7f3d0}
.ps-privacy{display:flex;align-items:start;gap:7px;margin-top:16px;font-size:10px;color:#94a3b8;line-height:1.6}.ps-privacy svg{width:13px;height:13px;flex-shrink:0;margin-top:1px}.ps-privacy p{margin:0}
.ps-jump-result{display:none}
.ps-loading,.ps-load-error{padding:30px;color:#64748b}.ps-load-error{display:none;color:#9f1239}[data-packshot][data-load-error]>.ps-loading{display:none}[data-packshot][data-load-error]>.ps-load-error{display:block}
.ps-spin{animation:ps-spin 1.4s linear infinite}@keyframes ps-spin{to{transform:rotate(360deg)}}
.ps-image-zoom[data-slot=dialog-content]{width:min(1100px,calc(100vw - 24px));max-width:1100px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;gap:10px;padding:16px;color:#0f172a;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.ps-zoom-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.ps-zoom-heading h2{font-size:16px;line-height:1.4;min-width:0;overflow-wrap:anywhere}.ps-zoom-heading>button{flex-shrink:0}
.ps-viewer-modal{min-height:0}.ps-viewer-modal .ps-zoom-stage{height:min(60dvh,700px)}
@media(min-width:1600px){.ps-workbench{grid-template-columns:370px minmax(0,1fr);gap:22px}.ps-app{padding:18px 24px}.ps-zoom-stage{height:clamp(440px,calc(100dvh - 350px),1100px)}}
@media(max-width:1023px){.ps-workbench{grid-template-columns:minmax(0,1fr)}.ps-result{position:static}.ps-jump-result{display:block;width:fit-content;margin:0 0 12px auto;color:#047857;font-size:12px;text-decoration:underline}.ps-zoom-stage{height:clamp(300px,65dvh,650px)}.ps-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ps-generate{max-width:500px;margin:auto;width:100%}.ps-history-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}
@media(max-width:480px){.ps-app{padding:12px}.ps-heading{gap:10px}.ps-tabs{gap:14px}.ps-tabs button{font-size:12px;padding:8px 1px 12px}.ps-wallet{font-size:10px;max-width:110px;line-height:1.4}.ps-wallet strong{font-size:12px}.ps-wallet small{font-size:10px}.ps-step-toggle{padding:12px}.ps-step-body{padding:0 12px 12px}.ps-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-viewer-top{gap:6px;padding:7px}.ps-viewer-modes button{padding:6px 9px;font-size:10px}.ps-download-trigger{padding:6px;gap:4px}.ps-download-trigger span{font-size:10px}.ps-download-trigger svg:last-child{display:none}.ps-example-label{font-size:9px}.ps-zoom-stage{height:clamp(280px,52dvh,460px)}.ps-zoom-toolbar{gap:4px;padding:6px}.ps-zoom-toolbar [data-slot=button]{font-size:10px;padding:4px 6px}.ps-zoom-toolbar small{width:100%;margin:1px 0 0;font-size:9px}.ps-history-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ps-history-heading h2{font-size:16px}.ps-history-heading p{font-size:11px}.ps-history-heading [data-slot=button]{font-size:11px}.ps-image-zoom[data-slot=dialog-content]{padding:10px}.ps-viewer-modal .ps-zoom-stage{height:50dvh}}
@media(prefers-reduced-motion:reduce){.ps-spin{animation:none}}
/* The studio fits the actual visible region; settings scroll independently on desktop. */
.ps-result{position:relative;top:auto;height:var(--ps-workspace-height,calc(100dvh - 120px));min-height:0;display:flex;flex-direction:column;scroll-margin-top:calc(var(--ps-header-height,72px) + 12px)}
.ps-result>.ps-viewer{flex:1;min-height:0}
.ps-result .ps-zoom-stage{height:auto;min-height:0;flex:1}
.ps-result-meta,.ps-result-state,.ps-viewer-top,.ps-viewer-note,.ps-viewer-hint{flex-shrink:0}
.ps-viewer-top{justify-content:flex-start;gap:8px}
.ps-viewer-top .ps-zoom-toolbar{border-top:0;border-left:1px solid #e2e8f0;margin-left:2px;padding:0 0 0 8px;flex-wrap:nowrap;gap:4px}
.ps-download-trigger{margin-left:auto}
.ps-viewer-hint{margin:0;padding:5px 9px;border-top:1px solid #e2e8f0;color:#94a3b8;font-size:10px;line-height:1.5}
.ps-step-list{display:flex;flex-direction:column;gap:10px;min-width:0}
@media(min-width:1024px){.ps-workbench{height:var(--ps-workspace-height,calc(100dvh - 400px));min-height:0;align-items:stretch}.ps-controls{height:100%;min-height:0;gap:10px}.ps-step-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px;margin:-3px;scrollbar-width:thin}.ps-step{flex-shrink:0}.ps-controls>.ps-generate{flex-shrink:0;border-top:1px solid #e2e8f0;padding-top:10px}}
@media(max-width:1400px){.ps-viewer-action-label,.ps-download-trigger>span{display:none}.ps-viewer-top .ps-zoom-toolbar [data-slot=button]{padding:5px 7px}}
@media(max-width:480px){.ps-viewer-top .ps-zoom-toolbar{order:3;flex-basis:100%;border-left:0;margin:0;padding:0}.ps-viewer-hint{font-size:9px}.ps-result-meta{font-size:10px}}
