.pet-primary{border:0;background:#6c8469;color:white;border-radius:14px;font-weight:600;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;cursor:pointer}.pet-primary:hover{background:#546b51}.pet-home-link{margin-bottom:18px}.pet-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:36px;border:1px solid #e0e7dc;border-radius:26px;background:linear-gradient(110deg,#eaf0e4,#f7f6ed);color:#314334;margin:0 0 24px;overflow:hidden}.pet-hero h2{font-size:clamp(25px,4vw,38px);line-height:1.4;font-weight:600;margin:12px 0}.pet-hero p{font-size:14px;line-height:1.9;color:#657461}.pet-hero-art{width:155px;height:155px;flex-shrink:0;background:#d9e4d0;border-radius:50% 50% 44% 56%;display:grid;place-content:center;text-align:center;transform:rotate(8deg)}.pet-hero-art span{font-size:58px}.pet-hero-art i{font-size:13px;font-style:normal;color:#4c6647}.pet-tabs{display:flex;gap:6px;overflow:auto;padding:2px 0 12px;max-width:100%}.pet-tabs button{white-space:nowrap;border:1px solid #e2e6df;background:white;border-radius:30px;padding:11px 16px;min-height:44px;color:#626b60}.pet-tabs button[aria-pressed=true]{background:#e2ebdf;color:#415d3c;border-color:#b4c6ad}.pet-search{display:flex!important;align-items:center;gap:10px;background:white;border:1px solid #dedfd9;border-radius:14px;padding:0 14px;margin:4px 0 22px;min-width:0}.pet-search input{border:0!important;outline:0;box-shadow:none!important;margin:0!important;background:transparent!important;min-width:0;font-size:16px;width:100%;padding:14px 0!important}.pet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}.pet-card{border:1px solid #e1e4dc;background:#fffefa;border-radius:22px;overflow:hidden;min-width:0}.pet-card-photo{width:100%;display:block;position:relative;background:#f1f0e8;border:0;padding:0;cursor:pointer;aspect-ratio:1/1;overflow:hidden}.pet-card-photo img{width:100%;height:100%;object-fit:cover;display:block}.pet-chip{position:absolute;left:12px;bottom:12px;background:#fffffff0;color:#4a5b43;font-size:12px;font-weight:600;border-radius:30px;padding:7px 11px}.pet-card-body{padding:18px}.pet-card h2{font-size:21px;margin:0 0 4px}.pet-card small,.pet-card p{color:#7b8077;font-size:12px;line-height:1.7}.pet-card .pet-primary{width:100%;margin-top:7px}.pet-empty{grid-column:1/-1;text-align:center;padding:45px 24px;border:1px dashed #ced7c7;border-radius:22px;background:#fcfdf8}.pet-empty>span{font-size:44px}.pet-empty h2,.pet-empty h3{font-size:20px;margin:12px 0}.pet-empty p{font-size:14px;color:#79816e;line-height:1.8}.pet-footnote{margin-top:24px;padding:22px;background:#f0f2e9;border-radius:18px}.pet-footnote strong{font-size:15px;color:#52644d}.pet-footnote p,.pet-note{font-size:13px;color:#7d8377;line-height:1.85;overflow-wrap:anywhere}.pet-dialog{width:min(640px,calc(100% - 24px));max-height:90dvh;overflow:auto;border-radius:24px;padding:24px!important}.pet-dialog *{box-sizing:border-box;min-width:0}.pet-dialog input:not([type=checkbox]),.pet-dialog select,.pet-dialog textarea{width:100%;font-size:16px;max-width:100%}.pet-dialog button{min-height:44px}.pet-dialog #db>label{margin-top:16px}.pet-dialog header{align-items:center}.pet-dialog #dt{font-size:23px}.pet-dialog .error{overflow-wrap:anywhere}.pet-upload{border:1px dashed #bbc9b3;border-radius:18px;padding:22px;text-align:center;background:#f3f6ef}.pet-upload>span{display:block;font-size:36px}.pet-upload strong{display:block;font-size:16px;margin:8px 0}.pet-upload p{font-size:13px;color:#778070}.pet-upload input{background:white!important}.pet-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pet-portrait{position:relative;background:#f5f4ef;border-radius:18px;overflow:hidden;margin-top:6px;aspect-ratio:4/3}.pet-portrait>img{height:100%;width:100%;object-fit:contain;display:block}.pet-detail-summary{display:flex;justify-content:space-between;align-items:center;margin:18px 0 14px}.pet-detail-summary h3{font-size:25px;margin:0}.pet-detail-summary p{font-size:14px;color:#7f847a;margin:6px 0}.pet-family{border-radius:14px;padding:16px;background:#eaf0e5}.pet-family strong{font-size:15px;color:#4f6648}.pet-family>span{float:right;font-size:12px;color:#75836d}.pet-family p{font-size:13px;line-height:1.7;color:#73806b;margin:8px 0 0}.pet-section{padding-top:22px;margin-top:20px;border-top:1px solid #e7e8e1}.pet-section>header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:14px}.pet-section h3{margin:0;font-size:17px}.pet-section small{font-size:11px;color:#828877}.pet-age-strip{display:flex;overflow:auto;gap:8px;padding:1px 1px 8px}.pet-age-strip button{display:grid;gap:7px;justify-items:center;flex:0 0 64px;padding:13px 4px;background:white;border:1px solid #e0e4d9;border-radius:14px;color:#7d8874;font-size:12px}.pet-age-strip button[aria-pressed=true]{background:#e3eddd;border-color:#849d78;color:#395a2d}.pet-age-strip button span{font-size:17px}.pet-age-strip i{font-style:normal;font-size:10px}.pet-care-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pet-care-grid button{background:#fffefa;border:1px solid #e3e7db;border-radius:15px;display:grid;gap:8px;padding:15px 3px;font-size:12px;color:#56624e;cursor:pointer}.pet-care-grid span{font-size:23px}.pet-action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.pet-action-row>button{flex:1}.pet-job-status{padding:14px;margin:18px 0 0;border-radius:14px;background:#eff3eb;font-size:13px;line-height:1.7;color:#617759;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pet-job-status.error{color:#9a645a;background:#f8eee8}.pet-section video{width:auto;height:auto;max-width:100%;max-height:56dvh;background:transparent;border-radius:16px;display:block;margin-inline:auto}.pet-photo-strip{display:flex;gap:10px;overflow:auto;padding-bottom:6px}.pet-photo-strip button{padding:0;border:0;flex:0 0 140px;aspect-ratio:4/3;background:#eff0e8;border-radius:12px;overflow:hidden}.pet-photo-strip img{width:100%;height:100%;object-fit:cover;display:block}.pet-journal{padding:0;list-style:none;margin:0}.pet-journal li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eeeee7}.pet-journal i{font-style:normal;color:#8a9b80;font-size:16px}.pet-journal li>div{display:grid;gap:5px}.pet-journal strong{font-weight:500;font-size:14px;overflow-wrap:anywhere}.pet-journal time{font-size:11px;color:#93958a}.pet-detail-footer{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px}.pet-original{display:block;width:100%;object-fit:contain;border-radius:16px}
@media(max-width:600px){body[data-page=pets] #page{padding-left:16px;padding-right:16px}.pet-hero{padding:24px 20px;gap:8px;border-radius:22px}.pet-hero-art{width:94px;height:110px}.pet-hero-art span{font-size:38px}.pet-hero-art i{font-size:10px}.pet-hero p{font-size:12px}.pet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pet-card-body{padding:12px}.pet-card h2{font-size:18px}.pet-card small{font-size:11px}.pet-card-body p{font-size:10px}.pet-card .pet-primary{font-size:12px;padding:10px 6px}.pet-chip{font-size:10px;left:7px;bottom:7px;padding:5px 8px}.pet-dialog{padding:18px!important}.pet-dialog #dt{font-size:21px}.pet-family>span{float:none;display:block;margin-top:5px}.pet-detail-summary h3{font-size:23px}.pet-detail-summary{margin:14px 0}.pet-footnote{padding:18px}}
@media(prefers-reduced-motion:reduce){.pet-dialog *{scroll-behavior:auto!important}}

.pet-detail-summary>div{flex:1;min-width:0}.pet-detail-summary>button{flex-shrink:0;white-space:nowrap;margin-left:12px}

.pet-upload input::file-selector-button{background:#e4eddd;border:0;padding:10px 14px;border-radius:10px;color:#4b6342;margin-right:10px;font:inherit}.pet-upload img{width:110px;height:110px;object-fit:cover;display:block;border-radius:16px;margin:10px auto}.pet-detail-summary p{margin-bottom:0}
