/* Shared rhythm for full profiles and the detail dialog. */
.stable-detail{--detail-gap:24px;--detail-pad:24px;padding:clamp(20px,3vw,36px)}
.stable-detail .detail-intro{max-width:76ch;font-size:17px;line-height:1.75;margin:24px 0 28px}
.stable-detail .detail-overview{margin:0 0 28px}
.stable-detail h3.detail-heading{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-family:var(--sans);font-size:20px;font-weight:700;letter-spacing:-.35px;line-height:1.4}
.stable-detail .detail-heading>.icon{width:24px;height:24px;color:#89502c;flex:none}
.stable-detail .detail-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.stable-detail .feature-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0;min-height:138px;padding:12px;border-radius:10px;border-width:1px;box-shadow:0 2px 0 #183d1710;text-align:center}
.stable-detail .feature-symbol{width:32px;height:32px;border-radius:8px;flex:none}
.stable-detail .feature-symbol .icon{width:21px;height:21px}
.stable-detail .feature-copy{display:flex;flex-direction:column;align-items:center;width:100%;gap:4px;font-size:17px;font-weight:700;line-height:1.3}
.stable-detail .feature-label{display:flex;align-items:center;justify-content:center;min-height:2.6em;max-width:100%;overflow-wrap:anywhere}
.stable-detail .detail-features small{width:auto;max-width:100%;min-height:0;margin:0;padding:4px 8px;gap:6px;border-radius:7px;background:#ffffff80;font-size:13px;font-weight:600;line-height:1.35;display:flex;align-items:center;justify-content:center;text-align:center}
.stable-detail .detail-features small .icon{width:16px;height:16px;margin:0;flex:none}
.stable-detail .detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:var(--detail-gap);align-items:start;margin:0}
.stable-detail .detail-main{display:grid;gap:var(--detail-gap);min-width:0}
.stable-detail .detail-section,.stable-detail .care-panel,.stable-detail .research-panel{min-width:0;margin:0;padding:var(--detail-pad);border:1px solid #a0b295;border-radius:10px;background:#fffef8}
.stable-detail .care-panel{border-left-width:4px}
.stable-detail .feeding-panel{background:#fff0da;border-color:#c89a63;border-left-color:#a15d2d}
.stable-detail .herd-panel{background:#e4efd9;border-color:#9ab585;border-left-color:#466d32}
.stable-detail .research-panel{background:#eaf1ee;border-color:#9bb6ac}
.stable-detail .detail-description{font-size:16px;line-height:1.75;color:#354d38;overflow-wrap:anywhere}
.stable-detail .detail-section>.detail-description,.stable-detail .care-panel>.detail-description,.stable-detail .research-panel>.detail-description{margin:0}
.stable-detail .infrastructure-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.stable-detail .infrastructure-list>div{min-width:0;margin:0;padding:16px;border:1px solid #b0c1a6;border-radius:8px;background:#f2f6eb}
.stable-detail .infrastructure-list dt{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}
.stable-detail .infrastructure-symbol{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border-radius:8px;background:#dce9e3;color:#28564a}
.stable-detail .infrastructure-symbol .icon{width:21px;height:21px;margin:0}
.stable-detail .infrastructure-list dd{margin:10px 0 0;font-size:15px;line-height:1.65;color:#3c533c;overflow-wrap:anywhere}
.stable-detail .care-fact{display:flex;align-items:flex-start;gap:12px;margin:0}
.stable-detail .care-fact+.care-fact{margin-top:20px;padding-top:20px;border-top:1px solid #a6bd9470}
.stable-detail .care-fact>.icon{width:22px;height:22px;margin-top:3px;flex:none}
.stable-detail .care-fact>div{min-width:0}
.stable-detail .care-fact h4{margin:0 0 6px;font-size:16px;line-height:1.5;font-weight:700}
.stable-detail .source-list{display:grid;gap:10px;margin:20px 0;padding:0;list-style:none}
.stable-detail .source-list li{display:flex;gap:12px;margin:0;padding:16px;border-radius:8px;background:#f0f4eb}
.stable-detail .source-list li>div{min-width:0}
.stable-detail .source-list a{font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.stable-detail .source-list small{display:block;font-size:13px;line-height:1.6;margin-top:6px}
.stable-detail .offers-panel{display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px;border-radius:10px;background:#dce8cf;border-color:#8ba374}
.stable-detail .offers-panel>h3.detail-heading{margin:0 0 4px}
.stable-detail .offer-card{display:flex;flex-direction:column;gap:16px;min-width:0;margin:0;padding:20px;border-radius:9px;background:#fffef9;border-top-width:4px;box-shadow:none}
.stable-detail .offer-title{gap:10px;margin:0;align-items:flex-start}
.stable-detail .offer-title>.icon{width:24px;height:24px;margin-top:2px;flex:none}
.stable-detail .offer-title h4{margin:0;font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.stable-detail .place-status{margin:0;gap:8px}
.stable-detail .status-date{font-size:13px;line-height:1.55}
.stable-detail .offer-card .price{margin:0;padding:16px;border:1px solid #9db483;border-radius:8px;background:#e7efd9;line-height:1.45}
.stable-detail .offer-card .price strong{margin:0;font-size:28px}
.stable-detail .offer-card .price .price-unknown{font-size:20px;line-height:1.4}
.stable-detail .offer-extra{margin:0;gap:8px;font-size:14px;line-height:1.65}
.stable-detail .offer-extra>.icon{width:18px;height:18px;margin-top:3px}
.stable-detail .offer-card .included-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.stable-detail .included-list li{margin:0;gap:9px;font-size:15px;line-height:1.6}
.stable-detail .offer-source{align-self:flex-start;margin:0;font-size:14px}
.stable-detail .offer-condition{padding-top:16px}
.stable-detail .offers-panel>.detail-note{margin:0;padding-top:16px;font-size:13px;line-height:1.65}
.stable-detail .profile-status{padding:20px 24px}
.stable-detail .location-evidence{padding:16px 20px;line-height:1.65}
@media(max-width:1000px){.stable-detail .detail-layout{grid-template-columns:1fr}.stable-detail .offers-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.stable-detail .offers-panel>h3,.stable-detail .offers-panel>.offer-save,.stable-detail .offers-panel>.detail-note{grid-column:1/-1}.stable-detail .offer-card{height:100%}}
@media(max-width:700px){.stable-detail{--detail-gap:20px;--detail-pad:20px;padding:20px}.stable-detail .detail-intro{font-size:16px;margin:20px 0 24px}.stable-detail .detail-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stable-detail .feature-tile{padding:8px 10px;min-height:162px;gap:6px}.stable-detail .feature-symbol{width:28px;height:28px}.stable-detail .feature-symbol .icon{width:20px;height:20px}.stable-detail .feature-copy{font-size:16px}.stable-detail .feature-label{min-height:3.9em}.stable-detail .detail-features small{min-height:44px;padding:4px 6px}.stable-detail h3.detail-heading{font-size:19px;margin-bottom:16px;gap:10px}.stable-detail .infrastructure-list{grid-template-columns:1fr}.stable-detail .offers-panel{display:flex;padding:16px}.stable-detail .offer-card{height:auto;padding:20px}.stable-detail .profile-status{padding:20px}.stable-detail .source-list li{padding:14px}}
@media(max-width:360px){.stable-detail{--detail-pad:16px;padding:16px}.stable-detail .feature-tile{padding:10px 8px}.stable-detail .feature-copy{font-size:16px}.stable-detail .detail-features small{font-size:12px;padding:4px 6px}.stable-detail .offer-card{padding:16px}}

.stable-detail .infrastructure-list>.infrastructure-wide{grid-column:1/-1;background:#edf3ee}.stable-detail .infrastructure-note{display:block}.stable-detail .infrastructure-note+.infrastructure-note{margin-top:8px}
