.pet-catalog { width: min(100% - 2rem, 1200px); max-width: 1200px; }
.pet-guide { border-left: 3px solid #75cdbb; padding: .5rem 1.2rem; margin: 2rem 0; background: rgba(117,205,187,.06); border-radius: 0 12px 12px 0; }
.pet-guide p { font-size: .9rem; line-height: 1.9; }
.pet-controls { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: .8rem; padding: 1.2rem; border: 1px solid rgba(127,151,175,.35); border-radius: 16px; }
.pet-controls label { display: grid; gap: .4rem; font-size: .85rem; min-width: 0; }
.pet-controls input, .pet-controls select, .pet-card select, .pet-controls button { font: inherit; color: inherit; background: #12212e; border: 1px solid #597384; border-radius: 8px; padding: .7rem; min-width: 0; max-width: 100%; }
.pet-controls button { cursor: pointer; justify-self: start; }
.pet-controls :focus-visible, .pet-card :focus-visible { outline: 3px solid #8ce1cc; outline-offset: 3px; }
.pet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; align-items: start; }
.pet-card { border: 1px solid rgba(127,151,175,.35); border-top: 3px solid #75cdbb; border-radius: 14px; padding: 1.25rem; background: linear-gradient(140deg,rgba(52,83,93,.2),rgba(16,24,37,.5)); min-width: 0; overflow-wrap: anywhere; }
.pet-card h2 { margin: .2rem 0; font-size: 1.3rem; }
.pet-card h3 { font-size: .95rem; margin: 1.2rem 0 .45rem; }
.pet-id { font-size: .75rem; color: #a4b7c8; margin: 0 0 .7rem; }
.pet-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.pet-badge { font-size: .72rem; border-radius: 6px; padding: .2rem .45rem; background: rgba(117,205,187,.13); color: #adede0; }
.pet-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid rgba(127,151,175,.25); }
.pet-facts dt { font-size: .72rem; color: #b1bfce; }
.pet-facts dd { margin: .25rem 0 0; font-size: 1.35rem; font-weight: 700; }
.pet-card p, .pet-card li { font-size: .88rem; line-height: 1.8; }
.pet-card ul { padding-left: 1.2rem; }
.pet-card details { border-top: 1px solid rgba(127,151,175,.25); padding-top: .8rem; margin-top: 1rem; }
.pet-card summary { cursor: pointer; color: #adede0; font-size: .9rem; }
.pet-card select { display: block; width: 100%; margin: .8rem 0; }
.pet-table-wrap { overflow-x: auto; }
.pet-card table { width: 100%; border-collapse: collapse; font-size: .73rem; white-space: nowrap; }
.pet-card th, .pet-card td { text-align: right; padding: .5rem .3rem; border-bottom: 1px solid rgba(127,151,175,.25); }
.pet-card caption { text-align: left; padding: .4rem 0; }
.pet-card .pet-warning { color: #f9d394; }
[hidden] { display: none !important; }
@media (max-width: 1000px) { .pet-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .pet-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pet-grid, .pet-controls { grid-template-columns: minmax(0,1fr); } .pet-card { padding: 1rem; } }
