.sps-pet-match{--match-green:#174d43;box-sizing:border-box;margin:38px 0 24px;padding:28px;background:#fffaf0;border:1px solid #cedbd2;border-radius:22px;color:#193e36;font-family:Helvetica,Arial,sans-serif;line-height:1.5;text-align:left;scroll-margin-top:100px}
.sps-pet-match *{box-sizing:border-box}.sps-pet-match [hidden]{display:none!important}
.sps-match-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.sps-match-heading h2{font:700 clamp(24px,3vw,34px)/1.15 Helvetica,Arial,sans-serif;color:#174d43;margin:8px 0}.sps-match-heading p{margin:8px 0 18px}.sps-match-eyebrow{font-size:11px;font-weight:700;letter-spacing:1px}
.sps-pet-match button,.sps-match-auth a{min-height:44px;border-radius:12px;padding:10px 16px;border:1px solid #174d43;background:#174d43;color:white;font:700 14px/1.3 Helvetica,Arial,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.sps-match-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 20px}.sps-match-actions button,.sps-match-saved-row button{background:transparent;color:#174d43}.sps-pet-match button:hover,.sps-match-auth a:hover{filter:brightness(.9)}.sps-pet-match :focus-visible{outline:3px solid #d17d00;outline-offset:3px}
.sps-pet-match label{display:block;font-size:14px;font-weight:700}.sps-pet-match input:not([type=checkbox]),.sps-pet-match select,.sps-pet-match textarea{width:100%;max-width:100%;font:400 16px/1.4 Helvetica,Arial,sans-serif;background:#fff;color:#193e36;border:1px solid #9cb6a6;border-radius:9px;min-height:44px;padding:10px;margin:6px 0 10px}.sps-pet-match textarea{resize:vertical}.sps-match-chat{display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center}.sps-match-chat label{grid-column:1/-1}.sps-match-chat textarea{margin:0}
.sps-pet-match .sps-match-small{font-size:12px;line-height:1.6;font-weight:400}.sps-match-review{border-top:1px solid #cbdacf;margin-top:22px;padding-top:20px}.sps-pet-match h3{font:700 22px/1.2 Helvetica,Arial,sans-serif;color:#174d43}.sps-match-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.sps-match-attributes{margin:14px 0;border:1px solid #cbdacf;border-radius:10px;padding:12px}.sps-match-attributes legend{font-size:13px;font-weight:700}.sps-match-attributes>div{display:flex;flex-wrap:wrap;gap:12px}.sps-match-attributes label,.sps-match-check{display:flex!important;align-items:flex-start;gap:9px;font-weight:400!important}.sps-pet-match input[type=checkbox]{flex:0 0 auto;width:19px;height:19px;margin:2px 0;accent-color:#174d43}.sps-match-unresolved{background:#fff0c1;border-left:4px solid #bd7600;border-radius:6px;padding:12px;overflow-wrap:anywhere}
.sps-match-message{padding:12px 15px;max-width:90%;border-radius:15px;background:#edf1e9;font-size:14px;overflow-wrap:anywhere}.sps-match-message.visitor{margin-left:auto;background:#174d43;color:white}.sps-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sps-match-grid article{background:#fff;border:1px solid #dbe3db;border-radius:12px;padding:12px;overflow-wrap:anywhere}.sps-match-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.sps-match-grid h4{font-size:19px;margin:8px 0;color:#174d43}.sps-match-grid a{color:#174d43}.sps-match-grid p{font-size:12px;margin:7px 0}.sps-match-result-count{font-weight:700}
.sps-match-save{border-top:1px solid #cbdacf;margin-top:20px;padding-top:20px}.sps-match-save .sps-match-check{margin:14px 0}.sps-match-auth{margin-top:16px;padding:14px;background:#edf1e9;border-radius:12px}.sps-match-auth a{margin:4px}.sps-match-status{font-weight:700;overflow-wrap:anywhere}.sps-match-status.is-error{color:#a12622}.sps-match-saved{border-top:1px solid #cbdacf;margin-top:20px;padding-top:14px}.sps-match-saved summary{cursor:pointer;min-height:44px;font-weight:700;padding:8px 0}.sps-match-saved-row{padding:16px 0;border-bottom:1px solid #dbe3db}.sps-match-saved-row h4{margin:0;font-size:18px}.sps-match-saved-row p{margin:6px 0;overflow-wrap:anywhere}.sps-match-saved-row button{margin:8px 7px 0 0}
@media(max-width:600px){.sps-pet-match{padding:18px 14px;border-radius:16px}.sps-match-chat{grid-template-columns:1fr}.sps-match-fields{grid-template-columns:1fr}.sps-match-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sps-match-grid article{padding:9px}.sps-match-actions{flex-direction:column;align-items:stretch}.sps-match-auth a{display:flex}.sps-match-message{max-width:96%}}
.sps-pet-match .sps-match-disclosure{padding:12px;border-left:3px solid #397564;background:#f1f6ef}.sps-pet-match .sps-match-feedback{margin:16px 0;padding:14px;border:1px solid #c7d8ce;border-radius:10px;background:#f6f8f3}.sps-pet-match .sps-match-feedback summary{font-weight:700;cursor:pointer}.sps-pet-match .sps-match-feedback label{display:block;margin:12px 0}.sps-pet-match .sps-match-feedback select,.sps-pet-match .sps-match-feedback textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;font:inherit;padding:10px;border:1px solid #aebfb7;border-radius:6px}.sps-pet-match .sps-match-pet-feedback{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.sps-pet-match .sps-match-pet-feedback button{padding:8px 10px;font-size:13px;background:#fff;color:#174d43}.sps-pet-match .sps-match-pet-feedback button[aria-pressed=true]{background:#174d43;color:#fff}.sps-pet-match .sps-match-pet-feedback p{flex-basis:100%;margin:0}.sps-pet-match .sps-match-feedback button:disabled,.sps-pet-match .sps-match-pet-feedback button:disabled{opacity:.65;cursor:wait}

/* Compact search first, with advanced filters and consent available on demand. */
.sps-match-actions{margin:8px 0;gap:4px 14px}.sps-match-actions button{border:0;padding:6px 0;min-height:36px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.sps-pet-match .sps-match-disclosure{padding:0;border:0;background:none;color:#4b665d;margin:10px 0}.sps-match-about{display:inline}.sps-match-about summary{cursor:pointer;text-decoration:underline}.sps-match-about p{max-width:70ch}
.sps-match-review{margin-top:16px;padding-top:14px}.sps-match-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.sps-match-chips button{min-height:36px;border:1px solid #c4d4ca;background:#edf3ee;color:#174d43;border-radius:24px;padding:7px 12px;font-size:13px}
.sps-match-filters>summary,.sps-match-save>summary{cursor:pointer;font-size:14px;font-weight:700;min-height:44px;padding:10px 0}.sps-match-filters[open]{padding-bottom:16px}.sps-match-save{padding-top:0;margin-top:16px}.sps-match-traits{margin:14px 0;border:1px solid #cbdacf;border-radius:10px;padding:12px}.sps-match-traits legend{font-size:13px;font-weight:700}.sps-match-traits>div{display:flex;flex-wrap:wrap;gap:12px}.sps-match-traits label{display:flex;align-items:flex-start;gap:9px;font-weight:400}.sps-match-message{padding:0;background:none;font-size:13px;max-width:100%;margin:4px 0 10px}.sps-match-message.visitor{background:none;color:#4b665d;margin-left:0}.sps-match-status:empty{display:none}
@media(max-width:600px){.sps-match-actions{flex-direction:row}.sps-match-grid{grid-template-columns:1fr}.sps-match-grid img{aspect-ratio:4/3}.sps-match-heading h2{font-size:26px}}

.sps-match-why summary{font-size:13px;cursor:pointer;min-height:36px;padding:8px 0;color:#174d43}

.sps-match-inference-note{padding:10px 12px;background:#edf3ee;border-radius:8px;font-size:13px}.sps-match-grid .sps-match-evidence-label{font-weight:700;color:#174d43}
.sps-match-weight-unknown{margin:18px 0;padding:14px;border:1px solid #dce6e0;border-radius:12px;background:#f7faf8}.sps-match-weight-unknown>summary{cursor:pointer;font-weight:700}.sps-match-weight-unknown .sps-match-grid{margin-top:14px}

/* Conversation-first discovery: one composer, progressive disclosure, honest suggestions. */
.sps-pet-match{background:#fff;border-color:#e0e6e2;border-radius:24px;box-shadow:0 8px 30px #173e3608;padding:28px;max-width:1100px;margin-inline:auto}
.sps-match-heading{align-items:center}.sps-match-heading h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.6px}.sps-match-heading p{color:#65756e;font-size:15px}.sps-match-eyebrow{color:#65756e}.sps-match-mode{display:inline-block;margin-left:10px;padding:2px 8px;border-radius:20px;background:#edf3ee;color:#315d4e}
.sps-pet-match [data-match=collapse]{background:transparent;border:0;color:#52675e;font-size:22px;padding:6px;min-width:44px}
.sps-match-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sps-match-chat{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:12px;border:1px solid #b8cac0;border-radius:20px;background:#fbfcfa;align-items:end}
.sps-match-chat textarea{border:0;background:transparent;resize:vertical;box-shadow:none;padding:6px;min-height:56px;max-height:180px}.sps-match-chat textarea:focus-visible{outline-offset:0;border-radius:6px}
.sps-match-chat button{border-radius:50%;width:44px;height:44px;min-width:44px;font-size:25px;padding:0}.sps-match-chat button:disabled{opacity:.6;cursor:wait}.sps-match-ai-disclosure{grid-column:1/-1;margin:0;color:#64766c;font-size:11px!important}
.sps-match-actions{justify-content:space-between;align-items:start;margin:8px 0}.sps-match-options{font-size:13px;max-width:80%}.sps-match-options>summary{cursor:pointer;min-height:36px;padding:7px 0;color:#52675e}.sps-match-options>div{padding:12px;background:#f7f9f6;border-radius:12px}.sps-match-options button{margin-right:16px}.sps-match-actions>[data-match=new]{color:#52675e;font-weight:400;text-decoration:none}
.sps-match-conversation{max-height:280px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:10px 0 18px;padding:4px}.sps-match-conversation:empty{display:none}.sps-match-message{padding:10px 14px;background:#f3f6f2;border-radius:14px;max-width:88%;font-size:14px;margin:8px 0;line-height:1.6}.sps-match-message.visitor{background:#174d43;color:#fff;margin-left:auto;max-width:85%;width:fit-content}.sps-match-message.helper{background:transparent;padding-left:0}
.sps-match-review{border:0;margin-top:10px;padding-top:0}.sps-match-filters>summary{font-size:12px;font-weight:400;color:#52675e}.sps-match-filters[open]{border:1px solid #e0e6e2;border-radius:12px;padding:12px;margin-bottom:14px}.sps-match-result-count{font-size:17px}.sps-match-grid article{border-color:#e0e6e2;box-shadow:none}.sps-match-grid h4{font-size:20px}.sps-match-grid article>a{text-decoration:none}
.sps-match-partial-note{font-size:13px;line-height:1.6;color:#5c4d25;background:#fff8e7;padding:12px;border-radius:12px}.sps-pet-match [data-match=recognized]{font-size:12px;background:transparent;color:#52675e;border:0;text-decoration:underline;min-height:36px;padding:6px 0}.sps-match-save,.sps-match-saved{border-color:#e6ebe7}.sps-match-pet-feedback button{font-size:12px!important}.sps-match-status{font-size:14px;font-weight:400}
@media(max-width:600px){.sps-pet-match{padding:18px 14px}.sps-match-chat{grid-template-columns:minmax(0,1fr) 44px}.sps-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sps-match-grid img{aspect-ratio:1}.sps-match-grid h4{font-size:17px}.sps-match-grid article{padding:9px}.sps-match-pet-feedback{gap:4px}.sps-match-heading p{font-size:14px}.sps-match-message{max-width:96%}.sps-match-eyebrow{font-size:10px}.sps-match-mode{font-size:10px!important;margin-left:4px}}

.sps-match-privacy{margin:6px 0;color:#64766c;font-size:11px!important}

.sps-pet-match .sps-match-more{display:flex;margin:16px auto;background:#fff;color:#174d43;border-color:#c4d4ca;font-size:13px}

/* v2.0.151: a quieter shared search surface, including the post-spin result. */
.sps-pet-match{padding:22px;border-radius:18px;box-shadow:none;margin-top:24px}
.sps-match-heading{gap:12px;margin-bottom:12px}.sps-match-heading h2{font-size:clamp(24px,3vw,28px);margin:6px 0}.sps-match-heading .sps-match-eyebrow,.sps-match-heading p{display:none}.sps-match-mode{margin-left:0;background:none;padding:0;color:#64766c}
.sps-match-conversation{margin:0 0 12px;padding:0}.sps-match-message{margin:6px 0;padding:8px 12px}.sps-match-message.helper{margin-bottom:6px;padding:6px 0}
.sps-match-chat{padding:9px;border-radius:16px}.sps-match-chat textarea{min-height:48px}.sps-match-actions{margin:3px 0}.sps-match-review{margin-top:4px}.sps-match-result-count{margin:10px 0}.sps-match-partial-note{margin:8px 0 14px;padding:10px 12px}.sps-match-save,.sps-match-saved{margin-top:12px;padding-top:4px}
.sss-app .sps-pet-match{width:100%;max-width:920px;text-align:left;font-family:Helvetica,Arial,sans-serif}.sss-app .sps-pet-match .sps-match-heading h2{font:700 28px/1.2 Helvetica,Arial,sans-serif;letter-spacing:-.6px;text-align:left}.sss-app .sps-pet-match .sps-match-grid h4{font:700 20px/1.3 Helvetica,Arial,sans-serif}.sss-app .sps-pet-match p{line-height:1.6}
@media(max-width:767px){.sps-pet-match{padding:16px 12px;border-radius:16px}.sps-match-grid{grid-template-columns:minmax(0,1fr)}.sps-match-grid article{padding:12px}.sps-match-grid img{aspect-ratio:4/3}.sps-match-grid h4{font-size:20px}.sss-app .sps-pet-match .sps-match-heading h2{font-size:24px}.sps-match-grid .sps-match-pet-feedback{gap:8px}}

/* Plain-language invitation and evidence-first pet cards. */
.sps-pet-match{background:linear-gradient(135deg,#fff9eb,#f3f8f2);border-color:#d9e5d8}
.sps-match-heading p{display:block;font-size:15px;max-width:590px;line-height:1.6;color:#52675e;margin:8px 0 16px}.sps-match-heading h2{max-width:580px}
.sps-match-chat{grid-template-columns:minmax(0,1fr) auto;background:white;border:1px solid #9ebbac;box-shadow:0 4px 14px #174d4308}
.sps-match-chat button{width:auto;min-width:126px;height:46px;border-radius:13px;font-size:14px;padding:10px 16px}
.sps-match-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.sps-match-examples>span{font-size:12px;color:#64766c}.sps-pet-match .sps-match-examples button{background:#fff;color:#315c4e;border:1px solid #d4dfd4;border-radius:24px;min-height:40px;font-size:12px;padding:8px 12px;font-weight:400}
.sps-match-grid{gap:18px}.sps-match-grid article{padding:12px;border-radius:20px;background:#fff;border-color:#dce6da;box-shadow:0 5px 18px #174d4308}.sps-match-grid img{aspect-ratio:4/3;border-radius:13px}.sps-match-grid h4{margin:12px 0 6px;font-size:23px}
.sps-match-highlights{margin:14px 0 8px;padding:12px;background:#f4f8f0;border-radius:12px}.sps-match-highlights h5{font:700 14px/1.4 Helvetica,Arial,sans-serif;color:#174d43;margin:0 0 10px}.sps-match-grid .sps-match-reason{margin:10px 0;line-height:1.6}.sps-match-reason strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#3f6e52;margin-bottom:3px}.sps-match-reason span{display:block;font-size:12px}.sps-match-reason.is-possible strong{color:#886520}.sps-match-grid .sps-match-confirm{font-size:11px;color:#705a2d;border-top:1px solid #dce5d6;padding-top:8px;margin-top:10px}.sps-match-why summary{font-size:12px;color:#52675e}.sps-pet-match .sps-match-pet-feedback button{min-height:36px;border-color:#d5dfd6;font-weight:400}.sps-match-feedback{box-shadow:none}
@media(max-width:767px){.sps-match-grid{grid-template-columns:minmax(0,1fr)}.sps-match-chat{grid-template-columns:minmax(0,1fr)}.sps-match-chat button{justify-self:end}.sps-match-ai-disclosure{grid-column:1}.sps-match-examples{gap:6px}.sps-match-examples>span{flex-basis:100%}.sps-match-heading p{font-size:14px}.sps-match-grid article{padding:12px}.sps-match-highlights{padding:12px}}

/* Shared square portraits, hand-drawn Squad hearts and Love at First Ping. */
.sps-pet-match .sps-match-grid img{display:block;aspect-ratio:1/1;width:100%;height:auto;object-fit:cover}
.sps-match-photo{position:relative;aspect-ratio:1;background:#edf3ee;border-radius:13px;overflow:hidden}
.sps-match-profile-link{display:block;width:100%;height:100%}
.sps-pet-match .sps-match-heart{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;padding:5px;border:0;background:transparent;cursor:pointer;z-index:2;filter:drop-shadow(0 2px 3px #0005)}
.sps-match-heart svg{width:100%;height:100%;overflow:visible}.sps-match-heart path{fill:#ffffffeb;stroke:#174d43;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.sps-match-heart.is-saved path{fill:#ff557a;stroke:#fff}.sps-match-heart:disabled{opacity:.65}
.sps-match-profile-name{text-decoration:none}.sps-match-options{max-width:100%}.sps-match-options>div{padding:0;background:none}
.sps-pet-match .sps-match-save{padding:16px;border:1px solid #dce6da;border-radius:16px;background:#f3f8ee}.sps-match-save>summary{font-size:19px;color:#174d43}.sps-match-save>p{font-size:14px}
.sps-chat-return{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:24px;background:#174d43;color:#fff!important;text-decoration:none;font-weight:700}

/* v2.0.155: calm app branding and complete, tappable sentence examples. */
.sps-pet-match{background:#fffaf0;border:1px solid #dde4d9;border-radius:24px;padding:28px;box-shadow:none}
.sps-match-heading .sps-match-mode{display:none}
.sps-match-heading h2,.sss-app .sps-pet-match .sps-match-heading h2{font-family:var(--sps-heading-font,Helvetica,Arial,sans-serif);font-weight:700;color:#174d43;letter-spacing:-.035em;line-height:1.15}
.sps-match-heading p,.sss-app .sps-pet-match .sps-match-heading p{display:block;margin:8px 0 16px;max-width:58ch;font-size:14px;color:#52675e}
.sps-match-chat{border-radius:20px;border:1px solid #b5c6b9;padding:12px;background:#fff;box-shadow:none}
.sps-match-chat textarea{min-height:60px}
.sps-match-chat button{border-radius:24px;min-height:46px;padding:12px 20px;background:#174d43}
.sps-match-ai-disclosure{font-size:11px!important;line-height:1.5!important;max-width:70ch}
.sps-match-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 8px}
.sps-match-examples>span{grid-column:1/-1;color:#52675e;font-size:12px}
.sps-pet-match .sps-match-examples button{justify-content:flex-start;text-align:left;white-space:normal;min-height:44px;border:1px solid #dde4d9;border-radius:12px;background:#fffdf7;color:#315c4e;padding:10px 12px;font-size:13px;line-height:1.5;font-weight:400}
.sps-pet-match .sps-match-examples button:hover{background:#edf3e9;filter:none}
.sps-match-actions{justify-content:flex-end;margin:0 0 8px}
.sps-match-actions>[data-match=new]{min-height:44px;padding:8px 0;font-size:12px;color:#64766c}
.sps-match-privacy{max-width:70ch;margin:8px 0;color:#64766c}
.sps-match-saved{border-top:0}
@media(max-width:767px){.sps-pet-match{padding:20px 16px;border-radius:20px}.sps-match-examples{grid-template-columns:1fr;gap:6px}.sps-pet-match .sps-match-examples button{width:100%;border:0;background:transparent;padding:8px 0;border-radius:0;border-bottom:1px solid #e6eadd}.sps-match-chat{padding:10px}.sps-match-chat button{width:100%;justify-self:stretch}}

/* v2.0.162: familiar messaging layout with Shelter Pet Spin colors. */
.sps-pet-match .sps-match-conversation[hidden],.sps-pet-match .sps-match-chat[hidden]{display:none!important}
.sps-pet-match .sps-match-conversation{display:flex;flex-direction:column;gap:10px;max-height:380px;overflow-y:auto;scrollbar-width:thin;margin:12px 0 14px;padding:18px 14px;border:1px solid #e2e8e4;border-radius:20px;background:#f8faf9}
.sps-pet-match .sps-match-conversation:empty{display:none}
.sps-pet-match .sps-match-message{position:relative;align-self:flex-start;width:fit-content;max-width:min(84%,560px);margin:0;padding:11px 15px;border-radius:19px 19px 19px 6px;background:#e8ecea;color:#243d34;font:400 15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;overflow-wrap:anywhere;box-shadow:none}
.sps-pet-match .sps-match-message.helper{margin:0;padding:11px 15px;background:#e8ecea;color:#243d34}
.sps-pet-match .sps-match-message.visitor{align-self:flex-end;margin:0;border-radius:19px 19px 6px 19px;background:#2777df;color:#fff}
.sps-pet-match .sps-match-chat{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px;align-items:end;padding:7px 8px 7px 16px;border:1.5px solid #cdd9d0;border-radius:28px;background:#fff;box-shadow:0 2px 12px #174d430a}
.sps-pet-match .sps-match-chat:focus-within{border-color:#2777df;box-shadow:0 0 0 3px #2777df1c}
.sps-pet-match .sps-match-chat textarea{min-height:42px;max-height:150px;padding:10px 4px;border:0!important;border-radius:0;background:transparent;resize:vertical;box-shadow:none!important;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
.sps-pet-match .sps-match-chat textarea:focus{outline:none!important}
.sps-pet-match .sps-match-chat button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#2777df;color:#fff;font-size:0;line-height:1;box-shadow:none}
.sps-pet-match .sps-match-chat button::after{content:"↑";font:700 26px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
.sps-pet-match .sps-match-chat button:disabled::after{content:"…";font-size:22px}
.sps-pet-match .sps-match-chat button:focus-visible{outline:3px solid #174d43;outline-offset:2px}
.sps-pet-match .sps-match-ai-disclosure{grid-column:1/-1;padding:0 7px 3px}
.sps-pet-match .sps-match-result-count{font-size:16px;line-height:1.5;font-weight:650;color:#174d43}
.sps-pet-match .sps-match-size-note{margin:4px 0 14px;padding:10px 13px;border-left:3px solid #95b9a7;border-radius:9px;background:#f5f8f4;color:#52675e}
@media(max-width:767px){.sps-pet-match .sps-match-conversation{padding:12px 10px;max-height:340px}.sps-pet-match .sps-match-message{max-width:88%;font-size:15px}.sps-pet-match .sps-match-chat{grid-template-columns:minmax(0,1fr) 44px;padding:6px 7px 6px 12px}.sps-pet-match .sps-match-chat button{width:44px;justify-self:end}.sps-pet-match .sps-match-chat textarea{min-height:42px}}

/* Keep the message composer inside its column at tablet widths. */
.sps-pet-match,.sps-pet-match .sps-match-chat,.sps-pet-match .sps-match-conversation,.sps-pet-match .sps-match-chat textarea{box-sizing:border-box;min-width:0;max-width:100%}
.sps-pet-match .sps-match-chat{width:100%}

/* Specificity guard against the broader desktop form-button rules. */
.sps-pet-match form.sps-match-chat > button{width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important;justify-self:end!important}

/* v2.0.163: keep the accessible button label invisible while showing one centered send arrow. */
.sps-pet-match form.sps-match-chat > button{position:relative;overflow:hidden!important;white-space:nowrap!important;font-size:0!important;line-height:0!important;color:transparent!important;text-transform:none!important}
.sps-pet-match form.sps-match-chat > button::after{position:absolute;inset:0;display:grid;place-items:center;content:"↑";font:700 26px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;color:#fff!important;text-indent:0!important}
.sps-pet-match form.sps-match-chat > button:disabled::after{content:"…";font-size:22px}
.sps-pet-match form.sps-match-chat > textarea{resize:none!important;min-width:0}

/* v2.0.164: simpler conversation and calm, clearly labeled suggestions. */
.sps-pet-match{background:#fff;border:1px solid #e5ebe7;box-shadow:0 10px 32px rgba(23,62,54,.035)}
.sps-pet-match .sps-match-heading{margin-bottom:16px}
.sps-pet-match .sps-match-heading p{margin:5px 0 12px;color:#65776e}
.sps-pet-match .sps-match-conversation{border-color:#ebf0ed;background:#f8faf9;border-radius:18px;box-shadow:none}
.sps-pet-match .sps-match-message.helper{background:#e9eeeb;color:#243d34;border-radius:18px 18px 18px 5px}
.sps-pet-match .sps-match-message.visitor{background:#2777df;border-radius:18px 18px 5px 18px}
.sps-pet-match .sps-match-chat{border:1px solid #d4e0d8;box-shadow:none}
.sps-pet-match .sps-match-results{margin-top:10px}
.sps-pet-match .sps-match-result-count{margin:4px 0 14px;letter-spacing:-.01em}
.sps-pet-match .sps-match-chips{gap:7px;margin:8px 0 10px}
.sps-pet-match .sps-match-chips button{border:1px solid #e0eae3;background:#f6f9f6;color:#456456;font-weight:500;padding:6px 11px;min-height:34px}
.sps-pet-match .sps-match-unresolved,.sps-pet-match .sps-match-partial-note{background:#f8faf8;border:1px solid #e2ebe4;border-left:3px solid #90ad9b;color:#435d50;border-radius:10px;padding:10px 12px}
.sps-pet-match .sps-match-guidance{color:#65776e}
.sps-pet-match .sps-match-grid article{border-color:#e4eae5;box-shadow:none}
.sps-pet-match .sps-match-highlights{background:#f7f9f5}
.sps-pet-match .sps-match-near-family{margin:16px 0 24px;padding:18px;border:1px solid #e2ebe4;border-radius:18px;background:#f9fbf9}
.sps-pet-match .sps-match-near-family>h4{margin:0 0 6px;font-size:20px;color:#174d43}
.sps-pet-match .sps-match-near-family>p{margin:0 0 16px;line-height:1.55;color:#617568}
@media(max-width:767px){.sps-pet-match{padding:18px 14px}.sps-pet-match .sps-match-conversation{padding:12px 10px}.sps-pet-match .sps-match-near-family{padding:12px;border-radius:14px}.sps-pet-match .sps-match-chat{width:100%}}

/* v2.0.166: chat replies lead naturally to the matched pet cards. */
.sps-pet-match .sps-match-message.helper .sps-match-jump{display:block;width:fit-content;min-height:36px;margin:9px 0 0;padding:5px 1px;border:0;border-radius:3px;background:transparent!important;box-shadow:none!important;color:#145d4d!important;font:700 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;text-transform:none;letter-spacing:0}
.sps-pet-match .sps-match-message.helper .sps-match-jump:hover{color:#0c4035!important}
.sps-pet-match .sps-match-message.helper .sps-match-jump:focus-visible{outline:2px solid #2777df;outline-offset:3px}
.sps-pet-match .sps-match-results{scroll-margin-top:90px}
