.pet-wizard .pet-stepper{display:flex;gap:8px;list-style:none;padding:0;margin:18px 0 24px}.pet-stepper li{flex:1;border-top:3px solid #e7ede9;padding-top:9px;font-size:12px;color:var(--muted)}.pet-stepper li.active{border-color:var(--primary);color:var(--primary);font-weight:650}
.pet-wizard h1,.pet-result h1{font-size:23px;line-height:1.5;margin:16px 0 8px}.pet-wizard .pet-lead{font-size:13px;line-height:1.8;margin-bottom:20px}.pet-wizard fieldset{border:0;margin:0;padding:0;min-width:0}.pet-wizard [hidden]{display:none!important}
.pet-upload-box{display:block;text-align:center;background:#f1f8f4;border:1px dashed #a8cbb6;border-radius:18px;padding:30px 18px;color:var(--primary);cursor:pointer}.pet-upload-box strong{display:block;font-size:17px;margin-bottom:9px}.pet-upload-box small{font-size:12px;color:var(--muted)}.pet-upload-box input{display:block;width:100%;font-size:12px;margin-top:16px;background:#fff}
.pet-wizard .crop-area{width:100%;max-width:340px;aspect-ratio:1;margin:14px auto;touch-action:none;cursor:grab;position:relative;overflow:hidden;background:#e8eeeb;border-radius:18px}.pet-wizard .crop-area img{position:absolute;max-width:none;user-select:none;pointer-events:none}.pet-wizard .crop-controls input{padding:0;min-height:36px}.pet-wizard .pet-photo-saved{display:block;width:130px;height:130px;object-fit:cover;border-radius:18px;margin:16px auto}
.pet-step-actions{display:flex;gap:10px;margin:24px 0 8px}.pet-step-actions>*{flex:1;min-width:0}.pet-step-actions .primary{flex:2}.pet-wizard label{font-size:13px}.pet-wizard input,.pet-wizard select,.pet-wizard textarea{min-width:0;max-width:100%;box-sizing:border-box}.pet-wizard .share-two{gap:10px}.pet-wizard details{padding:14px;border:1px solid var(--border);border-radius:12px;margin-top:16px}.pet-wizard summary{color:var(--primary);font-size:13px;cursor:pointer}.pet-wizard textarea{min-height:75px;resize:vertical}
.pet-tags-label{margin:16px 0 9px;font-size:13px}.pet-tags{display:flex;flex-wrap:wrap;gap:8px}.pet-tags button{font:inherit;font-size:12px;padding:8px 11px;border-radius:20px;border:1px solid var(--border);background:#fff;color:var(--muted);cursor:pointer}.pet-tags button[aria-pressed=true]{color:var(--primary);border-color:#acd8bf;background:#eef8f2}.pet-tags button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.pet-template-tabs{display:flex;gap:8px;overflow:auto;scroll-snap-type:x mandatory;margin:16px 0}.pet-template-tabs button{flex:1;min-width:86px;scroll-snap-align:center;border-radius:12px;padding:11px 8px;border:1px solid var(--border);background:#fff;font-size:13px;color:var(--muted);cursor:pointer}.pet-template-tabs button[aria-selected=true]{background:#eff8f2;color:var(--primary);border-color:#90c9aa;font-weight:650}.pet-template-preview{background:#f5f8f6;border-radius:16px;padding:12px;border:1px solid var(--border);min-height:160px;touch-action:pan-y}.pet-template-preview img,.pet-result-image{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 4px 20px #183b2310}.pet-template-arrows{display:flex;justify-content:space-between;align-items:center;margin:9px 0 18px;font-size:12px;color:var(--muted)}.pet-template-arrows button{border:0;background:none;color:var(--primary);padding:10px;cursor:pointer}
.pet-ratio{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pet-ratio button{border:1px solid var(--border);background:white;border-radius:12px;padding:11px 7px;font-size:12px;cursor:pointer}.pet-ratio button[aria-pressed=true]{border-color:var(--primary);background:#eff8f2;color:var(--primary)}.pet-ratio small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}
.pet-result>.pet-result-image{margin-top:20px}.pet-result .share-actions{grid-template-columns:1fr 1fr}.pet-result .share-copy{align-items:flex-start}.pet-result .share-copy p{font-size:13px;line-height:1.8}.pet-result .share-copy button{flex-shrink:0;font-size:12px}.pet-record{display:flex;gap:12px;align-items:flex-start}.pet-record img{width:72px;height:96px;object-fit:cover;border-radius:8px;flex-shrink:0}.pet-record>div{min-width:0}.pet-record a{font-size:12px;color:var(--primary);margin-right:12px}.pet-record p{font-size:12px}.pet-result .pet-result-note{font-size:12px;color:var(--muted)}
@media(max-width:375px){.pet-wizard h1,.pet-result h1{font-size:21px}.pet-tags{gap:6px}.pet-tags button{padding:8px 10px}}
