.adoption-site{background:var(--paper);color:var(--ink)}.adoption-header{display:flex;align-items:center;gap:28px;padding:22px 5vw;border-bottom:1px solid var(--line)}.adoption-header nav{display:flex;gap:24px;flex:1}.adoption-header select{width:auto}.adoption-header a{color:var(--pine);text-decoration:none}#public-adoption{max-width:1120px;padding:32px 24px 64px;margin:auto;min-height:65vh}.adoption-title,.public-dog-heading{background:var(--pine-deep);color:var(--white);padding:32px;border-radius:14px;margin:16px 0 28px}.adoption-title h1,.public-dog-heading h1{color:var(--white);font-size:38px;line-height:1.15;margin:0 0 16px;letter-spacing:-.03em}.adoption-title p,.public-dog-heading p{color:var(--sage);line-height:1.7;margin:8px 0}.adoption-filters{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:28px}.adoption-filters label{display:flex;flex-direction:column;gap:10px}.adoption-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.adoption-dog{display:block;background:var(--white);border-radius:12px;overflow:hidden;color:var(--ink);text-decoration:none;box-shadow:0 5px 20px rgb(24 57 47 / .07)}.adoption-dog:hover h2{text-decoration:underline;text-underline-offset:4px}.adoption-dog>img,.adoption-no-photo{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--sage)}.adoption-dog>div:not(.adoption-no-photo){padding:22px}.adoption-dog h2{font-size:25px;margin:0 0 12px}.adoption-dog p{font-size:16px;line-height:1.65;margin:8px 0}.adoption-dog span{font-size:15px;color:var(--muted)}.public-dog-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.public-dog-heading .button{background:var(--white);color:var(--pine-deep);flex-shrink:0}.public-dog-photos{display:flex;overflow:auto;gap:16px;margin:24px 0}.public-dog-photos img{width:min(100%,700px);aspect-ratio:16/9;object-fit:cover;border-radius:10px;flex-shrink:0}.public-dog-copy{background:var(--white);border-radius:12px;padding:8px 30px}.public-dog-copy section{display:grid;grid-template-columns:190px 1fr;gap:28px;padding:24px 0;border-bottom:1px solid var(--line)}.public-dog-copy section:last-child{border:0}.public-dog-copy h2{font-size:21px;color:var(--pine);margin:0}.public-dog-copy p{white-space:pre-wrap;font-size:17px;line-height:1.8;max-width:75ch;margin:0}.public-dog-contact{padding:28px 0}.public-dog-contact h2{font-size:25px}.public-dog-contact p{line-height:1.7}.public-dog-contact .button{margin-top:16px}.embed-site #public-adoption{padding:16px;min-height:0}.embed-site .adoption-title{padding:22px}.embed-site .adoption-title h1{font-size:27px}.embed-credit{padding:16px;text-align:center}.adoption-empty{padding:40px 0}.setcard-editor-head{line-height:1.7;margin-bottom:24px}.setcard-editor-head h2{color:var(--pine);margin-top:0}#setcard-editor .form-grid label{display:flex;flex-direction:column;gap:10px}#setcard-editor .setcard-wide{grid-column:1/-1}#setcard-editor textarea{line-height:1.7;resize:vertical}#setcard-editor .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.setcard-photo-choices{margin:28px 0;border:0;padding:0;display:flex;flex-wrap:wrap;gap:18px}.setcard-photo-choices legend{font-weight:600;margin-bottom:18px}.setcard-photo-choices label{display:flex;flex-direction:column;gap:10px;width:200px}.setcard-photo-choices img{width:200px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.setcard-photo-choices input{width:20px;height:20px}.setcard-photo-choices span{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.setcard-preview{width:1100px;max-width:calc(100vw - 24px);max-height:94dvh;border:0;border-radius:12px;padding:24px;background:var(--paper)}.setcard-preview::backdrop{background:rgb(24 57 47 / .5)}#setcard-publish-confirm{padding:24px 0 0}#setcard-publish-confirm .check-row{line-height:1.7;margin-bottom:18px}.setcard-links{display:flex;gap:24px;align-items:center;margin:28px 0;flex-wrap:wrap}
@media(max-width:850px){.adoption-header{flex-wrap:wrap}.adoption-header nav{order:3;flex-basis:100%}.adoption-list{grid-template-columns:repeat(2,minmax(0,1fr))}.public-dog-heading{align-items:flex-start;flex-direction:column}.public-dog-copy section{grid-template-columns:1fr;gap:16px}.adoption-title h1,.public-dog-heading h1{font-size:32px}}
@media(max-width:550px){#public-adoption{padding:20px 18px 44px}.adoption-list,.adoption-filters{grid-template-columns:1fr}.adoption-header nav{gap:16px;font-size:15px}.adoption-header{gap:16px}.adoption-title,.public-dog-heading{padding:25px 22px}.adoption-title h1,.public-dog-heading h1{font-size:29px}.public-dog-copy{padding:4px 22px}.public-dog-heading .button{white-space:normal}.setcard-preview{padding:16px}.setcard-preview .dialog-head{align-items:flex-start}.setcard-preview .dialog-head h2{font-size:22px}}

.adoption-header .brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:23px;font-weight:700}.adoption-header .brand b{font-weight:400}.adoption-header .beta-badge{font-size:12px}

/* Public SetCards: dog, facts and readable story share one composition. */
.public-dog{padding-top:12px}.public-dog-intro{display:grid;background:var(--pine-deep);border-radius:14px;overflow:hidden;margin-bottom:0}.public-dog-intro.has-photo{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}.public-dog-mainphoto{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}.public-dog-intro .public-dog-heading{margin:0;border-radius:0;padding:32px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:24px}.public-dog-intro .public-dog-heading h1{font-size:clamp(30px,3.8vw,48px);overflow-wrap:anywhere;margin:8px 0 12px}.public-dog-intro .public-organisation{font-size:16px;margin:0}.public-dog-facts{display:flex;flex-wrap:wrap;gap:22px 36px;margin:0;padding:26px 30px;background:var(--surface);border-radius:0 0 12px 12px}.public-dog-facts>div{min-width:100px;max-width:100%;flex:1 1 120px}.public-dog-facts dt{font-size:15px;color:var(--muted);margin-bottom:4px}.public-dog-facts dd{font-size:17px;font-weight:650;line-height:1.5;margin:0;overflow-wrap:anywhere}.public-dog-copy{background:transparent;padding:14px 0 0}.public-dog-copy section{display:block;padding:30px 0;max-width:75ch;margin:auto}.public-dog-copy h2{font-size:25px;margin:0 0 14px;line-height:1.3}.public-dog-copy p{line-height:1.85;overflow-wrap:anywhere}.public-dog-gallery{margin:24px 0 32px}.public-dog-gallery h2{font-size:25px}.public-dog-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 0;overflow:visible}.public-dog-photos img{width:100%;max-width:100%;aspect-ratio:16/9;object-fit:cover}.public-dog-contact{background:var(--surface);border-radius:12px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.public-dog-contact .button{margin:0;flex-shrink:0}.public-dog-contact p{margin-top:8px}.setcard-editor-section{padding:24px 0;border-bottom:1px solid var(--line)}.setcard-editor-section h3{font-size:21px;margin:0 0 20px;color:var(--pine)}
@media(max-width:700px){.public-dog-intro.has-photo{grid-template-columns:1fr}.public-dog-mainphoto{height:auto}.public-dog-intro .public-dog-heading{padding:24px}.public-dog-facts{padding:22px;gap:20px}.public-dog-facts>div{flex-basis:110px}.public-dog-copy section{padding:25px 0}.public-dog-contact{align-items:flex-start;flex-direction:column;padding:24px}.public-dog-photos{grid-template-columns:1fr}.public-dog-copy h2,.public-dog-gallery h2,.public-dog-contact h2{font-size:23px}}
.public-dog-facts>div:first-child{flex:2 1 220px}.public-dog-facts dd{overflow-wrap:break-word;hyphens:auto}
@media(max-width:700px){.public-dog-facts>div:first-child{flex-basis:100%}}

.setcard-slider{position:relative;min-width:0;align-self:stretch;background:var(--pine-deep)}.setcard-photo-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;position:relative;cursor:zoom-in}.setcard-photo-open .public-dog-mainphoto{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}.setcard-expand{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:var(--paper);color:var(--pine-deep);box-shadow:0 3px 12px rgb(0 0 0 / .18)}.setcard-slider svg,.setcard-lightbox svg{width:22px;height:22px;display:block}.setcard-slider-controls{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:var(--paper);color:var(--pine-deep);padding:4px;border-radius:10px;box-shadow:0 3px 12px rgb(0 0 0 / .18)}.setcard-slider-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;border:0;border-radius:6px}.setcard-slider-controls button:hover{background:var(--surface)}.setcard-slider-controls span{font-size:16px;font-weight:650;min-width:50px;text-align:center;font-variant-numeric:tabular-nums}.public-dog-photos>button{padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--surface);cursor:zoom-in;display:block}.public-dog-photos>button img{display:block}.setcard-lightbox{width:min(1440px,calc(100vw - 24px));height:min(920px,calc(100dvh - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:12px;background:#142920;color:#f6f5ef;overflow:hidden;box-shadow:0 18px 60px rgb(0 0 0 / .3)}.setcard-lightbox::backdrop{background:rgb(8 19 14 / .86)}.setcard-lightbox-bar{display:flex;align-items:center;gap:16px;height:68px;padding:10px 18px}.setcard-lightbox-bar strong{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.setcard-lightbox-bar span{font-variant-numeric:tabular-nums;white-space:nowrap}.setcard-lightbox button{border:0;background:#f6f5ef;color:#142920;border-radius:8px;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.setcard-lightbox button:hover{background:#dce5d6}.setcard-lightbox-stage{height:calc(100% - 68px);position:relative;display:flex;align-items:center;justify-content:center;padding:0 70px 20px}.setcard-lightbox-stage img{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0;max-width:100%;max-height:100%}.setcard-lightbox-stage button{position:absolute;top:50%;transform:translateY(-50%)}.setcard-lightbox-stage [data-viewer-step="-1"]{left:12px}.setcard-lightbox-stage [data-viewer-step="1"]{right:12px}
@media(max-width:700px){.setcard-photo-open{height:auto}.setcard-photo-open .public-dog-mainphoto{height:auto}.setcard-lightbox-bar{padding:8px 12px;gap:10px}.setcard-lightbox-stage{padding:0 8px 72px}.setcard-lightbox-stage button{top:auto;bottom:12px;transform:none}.setcard-lightbox-stage [data-viewer-step="-1"]{left:calc(50% - 54px)}.setcard-lightbox-stage [data-viewer-step="1"]{right:calc(50% - 54px)}}

/* Quiet slider controls: transparent edge targets and small position dots. */
.setcard-edge{position:absolute;top:0;bottom:0;width:clamp(32px,6%,48px);display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;color:#fff;z-index:1}.setcard-edge-prev{left:0}.setcard-edge-next{right:0}.setcard-edge svg{opacity:0;filter:drop-shadow(0 1px 3px rgb(0 0 0 / .7));transition:opacity .15s ease-out}.setcard-edge:hover,.setcard-edge:focus-visible{background:rgb(10 24 17 / .12)}.setcard-edge:hover svg,.setcard-edge:focus-visible svg{opacity:1}.setcard-slider-dots{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);display:flex;align-items:center;z-index:2}.setcard-slider-dots button{display:grid;place-items:center;width:30px;height:40px;background:transparent;border:0;border-radius:5px;padding:0}.setcard-slider-dots button>span{width:7px;height:7px;border-radius:50%;background:rgb(255 255 255 / .55);box-shadow:0 1px 4px rgb(0 0 0 / .7)}.setcard-slider-dots button[aria-pressed="true"]>span{background:#fff;transform:scale(1.25)}.setcard-slider-dots button:hover>span{background:#fff}.setcard-edge:focus-visible,.setcard-slider-dots button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(max-width:700px){.setcard-edge{width:44px}.setcard-slider-dots button{width:36px;height:44px}}
@media(prefers-reduced-motion:reduce){.setcard-edge svg{transition:none}}
.publication-targets{border:0;padding:0;margin:0 0 24px}.publication-targets legend{font-weight:700;font-size:21px;margin-bottom:16px}.publication-targets .check-row{align-items:flex-start;padding:16px;background:var(--surface);border-radius:10px;gap:12px}.publication-targets .check-row>svg{width:22px;height:22px;flex-shrink:0;margin-top:2px}.publication-targets .check-row>input{margin-top:4px}.publication-targets .check-row>span{display:grid;gap:4px}

.setcard-public-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.public-dog-heading .setcard-public-actions{align-items:center;flex-direction:row}.public-dog-heading .setcard-public-actions .secondary{background:transparent;color:var(--white);border-color:var(--sage)}.setcard-public-actions .button{margin:0}@media(max-width:700px){.public-dog-heading .setcard-public-actions{flex-direction:row}.setcard-public-actions{width:100%}.setcard-public-actions .button{flex:1;text-align:center}}

.adoption-title .adoption-introduction{max-width:70ch;color:var(--white);font-size:var(--type-body);line-height:1.75}
