.pet-match-launch{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:58px;border-top:1px solid #dcded5;color:var(--color-text,#20251f)}
.pet-match-launch h2{font-size:clamp(28px,3.5vw,48px);line-height:1.12;margin:10px 0 16px;font-weight:500;letter-spacing:-.04em;text-wrap:balance}.pet-match-launch p{max-width:620px;line-height:1.65}
.pet-match-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:13px 24px;border:1px solid #344536;border-radius:28px;background:#344536;color:#fff;font:inherit;font-size:15px;line-height:1.4;cursor:pointer;transition:background .18s,transform .18s}.pet-match-button:hover{background:#253728;transform:translateY(-1px)}.pet-match-button--secondary{background:transparent;color:inherit;border-color:#9aa994}.pet-match-button--secondary:hover{background:#e3e7dc}.pet-match-button:disabled{opacity:.5;cursor:wait;transform:none}
.pet-match-dialog{--pm-ink:#242b23;--pm-muted:#5c6857;--pm-line:#c9d2c1;--pm-paper:#fafbf6;width:min(1080px,calc(100vw - 40px));box-sizing:border-box;max-height:calc(100dvh - 48px);padding:32px;border:1px solid #d9dfd1;border-radius:26px;color:var(--pm-ink);background:var(--pm-paper);box-shadow:0 24px 100px #13201838;overflow:auto;overscroll-behavior:contain}
.pet-match-dialog::backdrop{background:#101a1659;backdrop-filter:blur(7px)}.pet-match-dialog [hidden]{display:none!important}.pet-match-header{display:flex;justify-content:space-between;align-items:start;gap:20px}.pet-match-header h2{margin:7px 0 0;font-size:clamp(27px,4vw,40px);font-weight:500;letter-spacing:-.045em;line-height:1.18;text-wrap:balance}.pet-match-header .eyebrow{margin:0;font-size:11px;letter-spacing:.16em}.pet-match-close{width:44px;height:44px;flex-shrink:0;border:1px solid var(--pm-line);border-radius:50%;background:transparent;color:inherit;font-size:28px;cursor:pointer}
.pet-match-lead{margin:14px 0 26px;color:var(--pm-muted);font-size:14px;line-height:1.6}.pet-match-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px}.pet-match-stage{position:sticky;top:0;min-width:0;min-height:400px;align-self:start;display:flex;flex-direction:column;align-items:center;border-radius:20px;background:radial-gradient(ellipse at 50% 40%,#fff 20%,#eaf0e3);overflow:hidden;padding:20px 0}.pet-match-stage>[data-pm-placeholder]{display:grid;place-items:center;padding:60px 26px;color:var(--pm-muted);text-align:center;font-size:14px}.pet-match-placeholder{width:110px;height:110px;opacity:.6}.pet-match-badge{display:inline-block;align-self:flex-start;margin:0 20px;padding:7px 11px;border:1px solid #c5d0bd;border-radius:20px;background:#f8fbf4;font-size:11px;line-height:1.4;letter-spacing:.03em;color:#3d5133}.pet-match-badge--personal{margin:0 0 14px;background:#e7eee0;border-color:#b1c19f}.pet-match-viewer{width:100%;height:380px}.pet-match-viewer model-viewer{width:100%;height:100%;--poster-color:transparent;background:transparent}.pet-match-hint{padding:14px 20px;margin:0;text-align:center;font-size:12px;line-height:1.6;color:var(--pm-muted)}.pet-match-orbit{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:0 12px}.pet-match-orbit button{min-height:44px;padding:8px 15px;border:1px solid #c8d2c0;border-radius:22px;background:#ffffffaa;font:inherit;font-size:13px;cursor:pointer}.pet-match-view-status{padding:0 20px;margin:0;text-align:center}
.pet-match-workflow{min-width:0}.pet-match-workflow h3{font-size:20px;line-height:1.35;font-weight:500;margin:0 0 20px;text-wrap:balance}.pet-match-field{display:grid;gap:8px;font-size:14px;margin:18px 0 8px;line-height:1.5}.pet-match-field input,.pet-match-field select,.pet-match-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #b9c5b0;background:#fff;color:var(--pm-ink);border-radius:11px;font:inherit;font-size:16px;min-height:48px;padding:11px 12px}.pet-match-field textarea{resize:vertical;line-height:1.5}.pet-match-field input[type=file]{padding:8px;font-size:12px;line-height:24px}.pet-match-field input::file-selector-button{background:#edf1e7;color:#344536;border:0;border-radius:6px;padding:7px 10px;margin-right:8px;font:inherit}.pet-match-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.pet-match-small{font-size:12px;line-height:1.65;color:var(--pm-muted);margin:8px 0 14px}.pet-match-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.65;margin:24px 0;min-height:44px}.pet-match-consent input{width:20px;height:20px;flex-shrink:0;margin:1px 0 0;accent-color:#344536}.pet-match-workflow form>.pet-match-button{width:100%}.pet-match-status{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.pet-match-status:empty{display:none}.pet-match-status[data-error=true]{color:#973227}.pet-match-custom-invite{margin-top:28px;padding:24px;border:1px solid var(--pm-line);border-radius:16px;background:#f0f4e9}.pet-match-custom-invite p{margin:0 0 18px;font-size:15px;line-height:1.6}.pet-match-custom-invite .pet-match-button{width:100%}.pet-match-custom{margin-top:32px;padding-top:30px;border-top:1px solid var(--pm-line);scroll-margin-top:20px}.pet-match-custom-heading h3{margin-bottom:12px}.pet-match-steps{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:24px 0;list-style:none;font-size:11px;color:var(--pm-muted)}.pet-match-steps li{border-bottom:2px solid #dde4d6;padding:0 0 10px;flex:1;min-width:85px;line-height:1.5}.pet-match-steps li[data-current=true]{color:#30432b;border-color:#526c3e;font-weight:600}.pet-match-progress{padding:20px;border:1px solid var(--pm-line);border-radius:14px;background:#f0f4e9;margin:20px 0}.pet-match-progress>p:first-of-type{font-size:15px;line-height:1.6;margin:10px 0}.pet-match-progress-mark{display:block;width:20px;height:20px;border:2px solid #c4d0b9;border-top-color:#486239;border-radius:50%;animation:pm-spin 1.1s linear infinite}.pet-match-progress[data-state=complete] .pet-match-progress-mark,.pet-match-progress[data-state=jobFailed] .pet-match-progress-mark{animation:none;border-color:#617c4d;background:#d3dfc8}.pet-match-receipt{font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#344536}.pet-match-receipt:empty{display:none}.pet-match-text-button{min-height:44px;background:none;border:0;color:inherit;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:13px;padding:10px 0;cursor:pointer}.pet-match-dialog :focus-visible,.pet-match-launch :focus-visible{outline:3px solid #7f986a;outline-offset:3px}.product-preview-links .pet-match-header-open{font:inherit;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:5px;cursor:pointer;min-height:44px;text-align:left;padding:0}
html[data-theme=dark] .pet-match-launch{border-color:#465043;color:#f3f6ed}
.pet-match-header{position:sticky;top:-32px;z-index:4;background:var(--pm-paper);padding-block:12px;margin-top:-12px}
.pet-match-input-modes{min-width:0;padding:0;border:0;margin:22px 0 14px}.pet-match-input-modes legend{padding:0;margin-bottom:10px;font-size:14px;line-height:1.5}.pet-match-input-modes>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pet-match-input-modes label{display:flex;align-items:center;gap:9px;min-height:52px;min-width:0;padding:10px 12px;border:1px solid var(--pm-line);border-radius:12px;background:#fff;cursor:pointer;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.pet-match-input-modes label:has(input:checked){border-color:#526c3e;background:#e7eee0;color:#30432b}.pet-match-input-modes label:has(input:disabled){cursor:wait;opacity:.6}.pet-match-input-modes input{accent-color:#344536;flex-shrink:0;width:17px;height:17px;margin:0}.pet-match-text-reference{padding:12px 14px;border-left:3px solid #7f986a;border-radius:0 10px 10px 0;background:#edf1e7;overflow-wrap:anywhere}
.pet-match-cat-note{border-left:3px solid var(--pm-line);padding-left:12px}.pet-match-review{margin:20px 0;padding:20px;border:1px solid var(--pm-line);border-radius:16px;background:#f0f4e9;scroll-margin-top:100px}.pet-match-review h4{margin:0 0 12px;font-size:20px;font-weight:500;line-height:1.4;text-wrap:balance}.pet-match-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.pet-match-comparison figure{min-width:0;margin:0}.pet-match-comparison img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1px solid var(--pm-line);border-radius:10px;background:#fff}.pet-match-comparison figcaption{margin-top:8px;color:var(--pm-muted);font-size:12px;line-height:1.5}.pet-match-review-actions{display:grid;gap:10px}.pet-match-review-actions button{width:100%;white-space:normal;overflow-wrap:anywhere}.pet-match-progress[data-state=reviewReady] .pet-match-progress-mark,.pet-match-progress[data-state=reviewRejected] .pet-match-progress-mark{animation:none;border-color:#617c4d;background:#d3dfc8}
.pet-match-task-actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px}.pet-match-task-actions:empty{display:none}.pet-match-task-actions button{flex:1;min-height:48px;white-space:normal;overflow-wrap:anywhere}.pet-match-cancel,.pet-match-replacement{padding:20px;border:1px solid var(--pm-line);border-radius:14px;background:#f0f4e9;margin-block:20px;scroll-margin-top:100px}.pet-match-cancel h4,.pet-match-replacement h4{font-size:18px;line-height:1.4;margin:0 0 12px;text-wrap:balance}.pet-match-quota{padding:12px 0;border-block:1px solid var(--pm-line)}.pet-match-progress[data-phase=terminal] .pet-match-progress-mark{animation:none;border-color:#617c4d;background:#d3dfc8}
@media(max-width:700px){.pet-match-task-actions{display:grid;grid-template-columns:minmax(0,1fr)}.pet-match-task-actions button{width:100%}}
@media(max-width:700px){.pet-match-header{top:-20px}}
@keyframes pm-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.pet-match-launch{display:block;padding-block:35px}.pet-match-launch>.pet-match-button{margin-top:12px}.pet-match-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px;border-radius:20px}.pet-match-grid{grid-template-columns:minmax(0,1fr);gap:26px}.pet-match-stage{position:relative;min-height:220px;padding:16px 0}.pet-match-stage>[data-pm-placeholder]{padding:24px}.pet-match-viewer{height:270px}.pet-match-lead{font-size:13px}.pet-match-header h2{font-size:26px}.pet-match-custom{margin-top:24px;padding-top:24px}.pet-match-custom-invite{padding:20px}.pet-match-badge{margin-inline:16px}.pet-match-badge--personal{margin-inline:0}.pet-match-fields{gap:12px}}
@media(prefers-reduced-motion:reduce){.pet-match-button{transition:none}.pet-match-button:hover{transform:none}.pet-match-dialog::backdrop{backdrop-filter:none}.pet-match-progress-mark{animation:none}}

/* A quiet, single-column email check, shared with the account sign-in style. */
.pet-match-email-field input{border-radius:5px;border-color:var(--pm-line);background:transparent;box-shadow:none}
.pet-match-verification{max-width:360px;margin-inline:auto}
.pet-match-verification-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pet-match-verification-brand{display:flex;justify-content:center;margin:4px 0 48px}
.pet-match-verification-brand svg{display:block;width:154px;height:auto}
.pet-match-verification h3{font-size:23px;line-height:1.3;letter-spacing:-.025em;margin:0}
.pet-match-verification>.pet-match-button{margin-top:24px;border-radius:5px;background:#263a30;border-color:#263a30;font-size:14px}
.pet-match-verification-actions{display:flex;justify-content:space-between;gap:16px;margin-top:14px;flex-wrap:wrap}
.pet-match-verification-actions .pet-match-text-button,.pet-match-verification-edit{font-size:12px;color:var(--pm-muted);text-decoration-thickness:1px}
.pet-match-verification-edit{display:block;margin:0 auto}
.pet-match-dialog[data-pm-step=verify]{position:fixed;width:min(460px,calc(100vw - 32px));padding:42px 38px 28px;border:0;border-radius:16px;background:#faf9f5;box-shadow:0 20px 80px #17251c1a}
.pet-match-dialog[data-pm-step=verify] .pet-match-header{position:static;height:0;margin:0;padding:0}
.pet-match-dialog[data-pm-step=verify] .pet-match-header>div,.pet-match-dialog[data-pm-step=verify] .pet-match-lead,.pet-match-dialog[data-pm-step=verify] .pet-match-stage,.pet-match-dialog[data-pm-step=verify] [data-pm-reference],.pet-match-dialog[data-pm-step=verify] .pet-match-custom-invite,.pet-match-dialog[data-pm-step=verify] .pet-match-custom-heading,.pet-match-dialog[data-pm-step=verify] .pet-match-steps{display:none}
.pet-match-dialog[data-pm-step=verify] .pet-match-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;font-size:24px}
.pet-match-dialog[data-pm-step=verify] .pet-match-grid{display:block}
.pet-match-dialog[data-pm-step=verify] .pet-match-custom{margin:0;padding:0;border:0}
.pet-match-dialog[data-pm-step=verify] [data-pm-status]{text-align:center;margin:12px 0 0;color:var(--pm-muted);font-size:12px}
.pet-match-dialog[data-pm-step=verify] [data-pm-status][data-error=true]{color:#973c2d}
.pet-match-dialog[data-pm-step=verify] .pet-match-task-actions{margin:0}
@media(max-width:480px){.pet-match-dialog[data-pm-step=verify]{padding:44px 24px 24px}.pet-match-verification-brand{margin-bottom:38px}.pet-match-verification-actions{gap:8px}.pet-match-verification-actions .pet-match-text-button{font-size:11px}}
.pet-match-visual-column{min-width:0;align-self:start;display:grid;gap:22px}.pet-match-visual-column .pet-match-stage{position:relative;top:auto}.pet-match-product-preview{min-width:0;scroll-margin-top:90px}.pet-match-preview-option{display:flex;align-items:flex-start;gap:11px;min-height:44px;margin-top:16px;padding-top:17px;border-top:1px solid var(--pm-line);font-size:14px;line-height:1.5;cursor:pointer}.pet-match-preview-option input{flex-shrink:0;width:20px;height:20px;margin:1px 0 0;accent-color:#344536}.pet-match-preview-option>span{min-width:0}.pet-match-preview-option small{display:block;margin-top:5px;color:var(--pm-muted);font-size:12px;line-height:1.6}.pet-match-email-options{padding:22px;border:1px solid var(--pm-line);border-radius:16px;background:#f0f4e9;scroll-margin-top:90px}.pet-match-email-options h3{margin-bottom:10px}.pet-match-email-options .pet-match-badge{margin-bottom:12px}.pet-match-email-options>.pet-match-text-button{display:block;margin:8px auto 0}.pet-match-dialog[data-pm-step=verify] .pet-match-visual-column,.pet-match-dialog[data-pm-step=verify] [data-pm-product-preview-mobile]{display:none}.pet-match-workflow [data-pm-product-preview-mobile]:not(:empty){margin-block:24px}.pet-match-steps li{min-width:70px}.pet-match-dialog input[type=checkbox]{cursor:pointer}
.pet-match-product-preview .preview-tools__fields{display:none}
.pet-match-preview-action{margin-top:12px}.pet-match-preview-action>.preview-tools__button{width:100%;background:transparent;color:var(--pm-ink);border:1px solid #8d9e81}.pet-match-custom-invite .pet-match-preview-action p{font-size:12px;line-height:1.6;color:var(--pm-muted);margin:10px 0 0}.pet-match-preview-controls{margin-top:20px}.pet-match-preview-controls .preview-tools__photo-form{gap:14px}.pet-match-preview-controls .preview-tools__actions{display:none}.pet-match-preview-controls .preview-tools__field,.pet-match-preview-controls .preview-tools__consent{font-size:13px}.pet-match-preview-controls .preview-tools__field input{background:#fff;max-width:100%;font-size:12px}.pet-match-preview-controls .preview-tools__note{font-size:12px}.pet-match-preview-controls .preview-tools__status{font-size:13px}.pet-match-preview-account{min-width:0;align-self:start;padding:26px;border:1px solid var(--pm-line);border-radius:20px;background:#f0f4e9;scroll-margin-top:100px}.pet-match-preview-account h3{margin-bottom:12px}.pet-match-preview-account h4{margin:14px 0 8px;font-size:18px;line-height:1.5;font-weight:500}.pet-match-preview-account form>.pet-match-button{width:100%;margin-top:12px;white-space:normal}.pet-match-preview-account-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.pet-match-preview-account [data-pm-preview-account-done]{padding-top:4px;border-top:1px solid var(--pm-line)}.pet-match-product-preview .preview-tools__card{padding:22px}.pet-match-product-preview .preview-tools__input-image{margin-top:16px;height:auto;max-height:260px;aspect-ratio:4/3}.pet-match-product-preview .preview-tools__result{margin-top:18px}.pet-match-product-preview .preview-tools__result img{aspect-ratio:1;max-height:none}
/* Place the image and its account prompt on the same row on wide screens. */
.pet-match-preview-media{position:relative;width:100%;aspect-ratio:1;margin-top:18px;overflow:hidden;border-radius:14px;background:#f0f1eb}.pet-match-product-preview .pet-match-preview-media .preview-tools__input-image,.pet-match-product-preview .pet-match-preview-media .preview-tools__result img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;margin:0;aspect-ratio:auto;object-fit:contain;border-radius:0}.pet-match-product-preview .pet-match-preview-media .preview-tools__result{position:absolute;inset:0;margin:0}.pet-match-preview-media .preview-tools__result figcaption{display:none}.pet-match-preview-footer{height:52px;padding-top:8px}.pet-match-preview-footer [data-preview-download]:not([href]){visibility:hidden;pointer-events:none}.pet-match-preview-loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;color:#263a30;background:rgba(244,247,239,.9)}.pet-match-preview-loading strong{font-size:clamp(18px,2vw,23px);font-weight:600;line-height:1.4}.pet-match-preview-loading>span:last-child{max-width:28ch;font-size:14px;line-height:1.6}.pet-match-preview-spinner{width:38px;height:38px;flex:none;border:3px solid #c9d4bf;border-top-color:#344536;border-radius:50%;animation:pet-preview-spin 1s linear infinite}.pet-match-preview-media[data-state=error] .pet-match-preview-loading{background:rgba(250,245,239,.94)}@keyframes pet-preview-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.pet-match-preview-spinner{animation:none}}
.pet-match-model-invite{margin-top:22px;padding:20px;border:1px solid var(--pm-line);border-radius:16px;background:var(--pm-paper);animation:pm-invite-in .22s ease-out}.pet-match-model-invite .pet-match-model-invite-eyebrow{margin:0 0 10px;font-size:11px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:var(--pm-muted)}.pet-match-model-invite h4{margin:0 0 12px;font-size:20px;line-height:1.35;text-wrap:balance}.pet-match-model-invite .pet-match-small{font-size:13px;line-height:1.7}.pet-match-model-invite .pet-match-button{width:100%;margin-top:8px;white-space:normal;text-align:center}@keyframes pm-invite-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.pet-match-model-invite{animation:none}}
.pet-match-dialog[data-pm-preview=true] .pet-match-visual-column,.pet-match-dialog[data-pm-preview=true] .pet-match-workflow{display:contents}.pet-match-dialog[data-pm-preview=true] .pet-match-stage{grid-area:1/1}.pet-match-dialog[data-pm-preview=true] .pet-match-reference-controls{grid-area:1/2;min-width:0}.pet-match-dialog[data-pm-preview=true] [data-pm-product-preview]{grid-area:2/1}.pet-match-dialog[data-pm-preview=true] [data-pm-preview-account]{grid-area:2/2}.pet-match-dialog[data-pm-preview=true] [data-pm-custom]{grid-area:3/2}
@media(max-width:700px){.pet-match-dialog[data-pm-preview=true] .pet-match-stage{grid-area:1/1}.pet-match-dialog[data-pm-preview=true] .pet-match-reference-controls{grid-area:2/1}.pet-match-dialog[data-pm-preview=true] [data-pm-product-preview]{grid-area:3/1}.pet-match-dialog[data-pm-preview=true] [data-pm-preview-account]{grid-area:4/1}.pet-match-dialog[data-pm-preview=true] [data-pm-custom]{grid-area:5/1}.pet-match-preview-account{padding:20px}.pet-match-product-preview .preview-tools__card{padding:20px}.pet-match-preview-account-actions{gap:8px}}
@media(max-width:700px){.pet-match-visual-column{gap:0}.pet-match-email-options{padding:18px}.pet-match-input-modes>div{grid-template-columns:minmax(0,1fr)}.pet-match-dialog{scroll-padding-top:88px}.pet-match-preview-option{font-size:13px}.pet-match-steps{gap:8px}.pet-match-steps li{min-width:60px}}
.pet-match-background-details{margin-block:20px;padding:20px;border:1px solid var(--pm-line);border-radius:14px;background:var(--pm-paper)}.pet-match-background-details h4{font-size:19px;line-height:1.5;margin:0 0 10px}.pet-match-background-details>.pet-match-button{width:100%}[data-pm-task-account]>.pet-match-preview-account{margin-block:20px}.pet-match-dialog [hidden]{display:none!important}
