/* Scoped to the new tool; the approved portal keeps its own styles. */
.erm-castrations{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:22px;border:1px solid #e0e5df;border-radius:16px;background:#f4f6ef}.erm-app .erm-castrations h2{font-size:20px;margin:0 0 7px}.erm-castrations p{font-size:12px;color:#576873;margin:0!important}.erm-castrations a{flex-shrink:0}@media(max-width:650px){.erm-castrations{flex-direction:column;align-items:stretch;padding:18px;gap:13px}}
html body .erm-app{--ink:#172b3b;--muted:#576873;--line:#dce3e4;--yellow:#ffd000;max-width:1120px;margin:24px auto 40px;color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:15px;line-height:1.5;text-align:left}
.erm-app *{box-sizing:border-box}.erm-app [hidden]{display:none!important}.erm-app :is(h1,h2,h3,p){padding:0}.erm-app :is(h1,h2,h3){color:var(--ink)!important;font-family:inherit;font-weight:800;line-height:1.17;letter-spacing:-.035em}.erm-app h2{font-size:28px;margin:0 0 12px}.erm-app h3{font-size:21px;margin:16px 0 8px}.erm-app p{margin:0 0 14px}.erm-app button,.erm-app a,.erm-app input,.erm-app select,.erm-app textarea{-webkit-tap-highlight-color:transparent}.erm-app :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #2178a6;outline-offset:4px}.erm-app button{font-family:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none}.erm-app button:disabled{opacity:.55;cursor:wait}.erm-app a{color:#234f69}.erm-app :is(button,a){touch-action:manipulation}.erm-app :is(input,select,textarea){font-family:inherit;font-size:16px;line-height:1.45;color:var(--ink);background:#fff;border:1px solid #bbc8cd;border-radius:10px;padding:12px;max-width:100%;min-width:0;width:100%;height:auto;box-shadow:none}.erm-app select{min-height:48px;padding-right:28px}.erm-app textarea{resize:vertical}.erm-app label{display:grid;gap:7px;font-size:13px;font-weight:700;color:var(--ink);margin:0}.erm-app label small{font-weight:400;color:var(--muted);font-size:12px}.erm-app .erm-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:12px 19px;border:1px solid transparent;border-radius:11px;background:#172b3b;color:#fff!important;text-decoration:none;font-size:13px;font-weight:750;line-height:1.35}.erm-app .erm-btn:hover{filter:brightness(.95)}.erm-app .erm-btn-light{background:#fff;border-color:#cbd5d9;color:var(--ink)!important}.erm-app .erm-btn-yellow{background:var(--yellow);color:#172b3b!important}.erm-app .erm-btn-green{background:#236b53;color:#fff!important}.erm-app .erm-text-button{border:0;padding:8px 0;min-height:44px;background:none;color:var(--ink);font-weight:750;font-size:13px;line-height:1.4;text-decoration:underline;text-underline-offset:4px}
.erm-hero{padding:30px 34px 0;border:1px solid #e4e6db;border-radius:26px;background:#f6f6ee;overflow:hidden}.erm-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:850;letter-spacing:.12em}.erm-brand-mark{display:inline-grid;place-items:center;background:var(--yellow);color:#17191b;width:31px;height:30px;border-radius:6px;font-size:15px;font-weight:900;letter-spacing:-.07em}.erm-dot{font-size:7px;color:#7b847c}.erm-location{display:block;font-size:10px;letter-spacing:.12em;font-weight:800;color:#596860}.erm-hero-line{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:30px 0 26px}.erm-app .erm-hero h1{font-size:clamp(32px,4.5vw,53px);line-height:1.07;margin:10px 0 16px;letter-spacing:-.05em}.erm-hero h1 em{font-style:normal;color:#547363}.erm-hero p{font-size:15px;color:var(--muted);line-height:1.6;margin:0}.erm-hero-paw{flex:0 0 145px;display:grid;place-items:center;width:145px;height:145px;background:#e6ebdc;border-radius:50% 50% 42% 48%;transform:rotate(-12deg);color:#6c8270}.erm-hero-paw svg{width:85px;height:85px;stroke-width:1.1}.erm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.erm-app .erm-action{display:flex;align-items:center;gap:11px;min-height:99px;padding:18px 14px;border:1px solid #0000000b;border-radius:16px;color:#172b3b;text-align:left}.erm-action-icon{display:grid;place-items:center;flex:0 0 37px;width:37px;height:40px;border-radius:11px;background:#ffffff6b}.erm-action strong{display:block;font-size:16px;line-height:1.25;font-weight:800;letter-spacing:-.03em}.erm-action small{display:block;font-size:10px;line-height:1.5;margin-top:5px;color:#354d59}.erm-action b{margin-left:auto;font-size:21px;font-weight:400}.erm-app .erm-coral{background:#ffb5a6}.erm-app .erm-yellow{background:#ffda4c}.erm-app .erm-mint{background:#d4e7db}.erm-app .erm-lilac{background:#e5d9f3}.erm-badge-adopcion{background:#ede3f5;color:#60357b}.erm-dot-adoption{background:#79519b}.erm-action:hover{filter:brightness(.97)}.erm-community-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;color:#647166;font-size:11px}.erm-community-line .erm-text-button{font-size:11px;min-height:34px;padding:0}
.erm-board{margin-top:35px;scroll-margin-top:35px}.erm-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 20px}.erm-section-head h2{font-size:27px;margin:7px 0 0}.erm-counts{font-size:11px;color:var(--muted);text-align:right}.erm-search{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:10px;padding:13px;background:#f3f5f4;border:1px solid #e0e5e3;border-radius:15px}.erm-search input{height:48px}.erm-filter-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 6px}.erm-tabs{display:flex;gap:6px;overflow-x:auto;min-width:0;padding:3px 3px 8px;scrollbar-width:thin}.erm-app .erm-tabs button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #dce3e4;border-radius:30px;min-height:38px;padding:8px 12px;background:#fff;color:#52616a;font-size:11px;font-weight:700}.erm-app .erm-tabs button[aria-pressed=true]{background:#172b3b;color:#fff;border-color:#172b3b}.erm-tabs i{width:6px;height:6px;border-radius:50%;display:inline-block;background:#b84237}.erm-tabs .erm-dot-found{background:#328164}.erm-tabs .erm-dot-seen{background:#c58d05}.erm-view{display:flex;padding:3px;border:1px solid #dce3e4;border-radius:10px;flex-shrink:0}.erm-app .erm-view button{padding:7px 10px;min-height:32px;border:0;border-radius:7px;background:#fff;color:#52616a;font-size:11px;font-weight:700}.erm-app .erm-view button[aria-pressed=true]{background:#e9eeeb;color:var(--ink)}.erm-status{font-size:12px;color:var(--muted);min-height:18px;margin:8px 0 17px!important}.erm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.erm-card{border:1px solid #dfe5e5;border-radius:18px;overflow:hidden;background:#fff;min-width:0;box-shadow:0 4px 14px #182c3604}.erm-card-image{position:relative;background:#edf0eb}.erm-card-photo{display:block;width:100%;height:230px;object-fit:cover;margin:0}.erm-no-photo{display:grid;place-items:center;align-content:center;gap:10px;height:230px;background:#edf0eb;color:#536d5c}.erm-no-photo>span{font-size:65px;filter:grayscale(.35)}.erm-no-photo small{font-size:12px}.erm-badge{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.02em;border-radius:6px;padding:6px 9px;background:#ffe4dc;color:#8b342a}.erm-card-image .erm-badge{position:absolute;top:12px;left:12px}.erm-badge-encontrada,.erm-badge-reunida{background:#dcf0e1;color:#28583b}.erm-badge-avistada{background:#fff0b1;color:#765408}.erm-card-body{padding:19px}.erm-species{display:block;text-transform:uppercase;font-size:9px;font-weight:800;color:#687873;letter-spacing:.09em}.erm-app .erm-card h3{font-size:24px;margin:5px 0 12px;overflow-wrap:anywhere}.erm-card-zone{font-size:12px;font-weight:750;color:#36574f;margin-bottom:5px!important}.erm-card-date{font-size:10px;color:#697780;margin-bottom:12px!important}.erm-card-description{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.erm-app .erm-card-link{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:13px 0 0;margin-top:14px;min-height:40px;border:0;border-top:1px solid #e8ecec;border-radius:0;background:none;color:var(--ink);font-size:12px;font-weight:800;text-align:left}.erm-card-link span{font-size:19px}.erm-empty{grid-column:1/-1;padding:44px 22px;text-align:center;background:#f7f8f5;border:1px dashed #c4ceca;border-radius:16px}.erm-empty>span{font-size:36px}.erm-empty p{color:var(--muted);max-width:550px;margin:0 auto 20px}.erm-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:26px 0;font-size:12px}.erm-map{height:470px;border:1px solid #d4ddd9;border-radius:15px;z-index:0;background:#e9eeeb}.erm-map-tools{display:flex;align-items:center;gap:14px;margin:12px 0;font-size:11px;color:var(--muted)}.erm-app .leaflet-control a{color:#172b3b!important}.erm-app .leaflet-popup-content{font-size:13px}.erm-popup button{background:#172b3b;color:#fff;border:0;border-radius:6px;padding:9px 14px}.erm-help{display:flex;align-items:center;gap:22px;margin:35px 0 22px;padding:25px;background:#f4f5ef;border:1px solid #e4e7dd;border-radius:18px}.erm-help-icon{display:grid;place-items:center;flex:0 0 47px;width:47px;height:47px;color:#627b62;background:#e3e8dc;border-radius:50%}.erm-help h2{font-size:21px;margin-bottom:8px}.erm-help p{font-size:12px;color:var(--muted);margin:0;max-width:680px}.erm-help .erm-btn{flex-shrink:0;font-size:11px}.erm-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e5e9e6;padding-top:20px;color:var(--muted);font-size:10px}.erm-footer a{font-size:11px;font-weight:750;flex-shrink:0}
.erm-app .erm-dialog{width:min(670px,calc(100% - 28px));max-height:calc(100dvh - 36px);padding:27px;margin:auto;position:fixed;inset:0;border:1px solid #d2dcd7;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 18px 100px #10201d38;overflow-y:auto;overscroll-behavior:contain}.erm-dialog::backdrop{background:#172b3b99;backdrop-filter:blur(3px)}.erm-dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.erm-app .erm-close{display:grid;place-items:center;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;padding:0;background:#f0f3f1;color:#344c58;font-size:26px;font-weight:400;line-height:1}.erm-app .erm-dialog h2{font-size:32px;margin:5px 0 14px}.erm-muted{color:var(--muted);font-size:12px;line-height:1.6}.erm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.erm-full{grid-column:1/-1}.erm-fields h3{font-size:20px;border-top:1px solid #e3e7e5;padding-top:20px;margin:8px 0 0}.erm-upload{background:#f5f7f3;border:1px dashed #bfcdc0;padding:16px;border-radius:12px}.erm-upload img{max-height:180px;max-width:100%;border-radius:8px;object-fit:contain;justify-self:start}.erm-upload input{background:#fff;padding:10px;font-size:12px}.erm-app .erm-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:400;line-height:1.5}.erm-app .erm-check input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:#2b6754}.erm-picker{height:285px}.erm-app summary{cursor:pointer;min-height:44px;padding:11px 0;font-size:13px;font-weight:750}.erm-button-row{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}.erm-form-status{font-size:13px;color:#85382e}.erm-trap,.erm-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.erm-success-icon{display:grid;place-items:center;width:58px;height:58px;background:#def0dd;border-radius:50%;color:#28633f;font-size:32px;margin:20px 0}.erm-notice{padding:12px;background:#edf5ec;border-radius:9px;color:#2d5841;font-size:13px}.erm-detail-photo{display:block;width:100%;max-height:370px;object-fit:contain;background:#f0f2ed;border-radius:12px;margin:16px 0}.erm-detail-meta{font-size:12px;color:var(--muted)}.erm-description{white-space:pre-wrap;overflow-wrap:anywhere}.erm-related{display:block;width:100%;text-align:left;background:#f2f6f3;border:1px solid #d3dfd7;color:#264d40;padding:12px;border-radius:9px;margin:7px 0;font-size:12px}.erm-share-url{font-size:11px!important}.erm-share-url input{font-size:12px}.erm-report{border-top:1px solid #e0e5e2;margin-top:24px}.erm-report summary{font-size:11px;color:#626f76}.erm-report form{display:grid;gap:12px}#erm-key-form{display:grid;gap:14px}#erm-key-form button{justify-self:start}.erm-saved-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0ed}.erm-saved-row button{font-size:12px!important}.erm-poster-brand{border-bottom:3px solid #ffd000;padding-bottom:13px;margin:15px 0;font-size:14px;font-weight:900;letter-spacing:.04em}.erm-poster-brand span{font-size:9px;font-weight:600}.erm-poster-bottom{display:flex;gap:20px;align-items:center;margin:22px 0}.erm-qr{flex:0 0 135px;width:135px;height:135px}.erm-qr svg{width:100%;height:100%}.erm-poster-url{font-size:11px;overflow-wrap:anywhere;max-width:320px;margin-top:9px!important}.erm-poster-paw{font-size:100px;text-align:center;padding:15px}.erm-print-dialog>div>h2{font-size:42px!important}.erm-print-dialog>div>h3{font-size:32px}.erm-print-dialog p{font-size:14px}
@media(min-width:901px){body:has(.erm-app) .ast-container{max-width:1220px}body:has(.erm-app) .entry-content{max-width:none}}
@media(max-width:900px){html body .erm-app{margin:12px auto 25px}.erm-hero{padding:24px 22px 0}.erm-actions{gap:9px}.erm-app .erm-action{padding:14px 11px;gap:9px;flex-wrap:wrap;min-height:127px}.erm-action>span:nth-child(2){flex:1 1 130px}.erm-action>b{display:none}.erm-hero-paw{flex-basis:105px;width:105px;height:105px}.erm-hero-paw svg{width:62px;height:62px}.erm-grid{gap:12px}.erm-card-photo,.erm-no-photo{height:180px}.erm-card-body{padding:14px}.erm-help{flex-wrap:wrap}.erm-help>div{flex:1 1 70%}.erm-help .erm-btn{margin-left:68px}}
@media(max-width:650px){html body .erm-app{font-size:14px;margin:6px auto 25px}.erm-hero{padding:21px 17px 0;border-radius:20px}.erm-eyebrow{font-size:9px;gap:7px;letter-spacing:.09em}.erm-hero-line{margin:24px 0 22px;gap:0}.erm-hero-paw{display:none}.erm-app .erm-hero h1{font-size:36px;line-height:1.1}.erm-hero p{font-size:13px}.erm-location{font-size:9px}.erm-actions{grid-template-columns:1fr;gap:9px}.erm-app .erm-action{min-height:74px;padding:13px;flex-wrap:nowrap;gap:12px;border-radius:12px}.erm-action strong{font-size:17px}.erm-action small{font-size:11px;margin-top:3px}.erm-action>b{display:block}.erm-action-icon{width:39px;height:41px;flex-basis:39px}.erm-community-line{font-size:10px;gap:9px;padding:13px 0}.erm-community-line>span{max-width:175px}.erm-community-line .erm-text-button{font-size:11px;flex-shrink:0}.erm-board{margin-top:26px}.erm-section-head{display:block;margin-bottom:15px}.erm-section-head h2{font-size:25px}.erm-counts{display:block;text-align:left;margin-top:9px;font-size:10px}.erm-search{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:8px;border-radius:12px}.erm-search>label:first-child{grid-column:1/-1}.erm-search select{font-size:14px}.erm-search .erm-btn{padding:10px 18px}.erm-filter-row{display:block;margin-top:14px}.erm-tabs{gap:6px;margin-bottom:7px}.erm-tabs button{font-size:11px!important;min-height:40px!important}.erm-view{width:max-content;margin-left:auto}.erm-status{font-size:11px}.erm-grid{grid-template-columns:1fr;gap:15px}.erm-card{border-radius:15px}.erm-card-photo,.erm-no-photo{height:240px}.erm-card-body{padding:19px}.erm-card-description{min-height:0;font-size:13px}.erm-card-zone{font-size:13px}.erm-card-date{font-size:11px}.erm-species{font-size:10px}.erm-app .erm-card h3{font-size:26px}.erm-card-link{font-size:13px!important}.erm-help{padding:19px;gap:12px}.erm-help-icon{display:none}.erm-help h2{font-size:22px}.erm-help>div{flex-basis:100%}.erm-help .erm-btn{margin:0}.erm-footer{display:block;font-size:11px}.erm-footer a{display:inline-block;padding:6px 0}.erm-map{height:390px}.erm-map-tools{flex-wrap:wrap;gap:8px}.erm-app .erm-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:20px 16px;border-radius:17px}.erm-app .erm-dialog h2{font-size:29px}.erm-fields{grid-template-columns:1fr;gap:16px}.erm-full{grid-column:auto}.erm-picker{height:260px}.erm-button-row .erm-btn{flex:1 1 auto}.erm-poster-bottom{gap:12px}.erm-qr{flex-basis:105px;width:105px;height:105px}.erm-poster-bottom strong{font-size:13px}.erm-print-dialog>div>h2{font-size:35px!important}.erm-poster-brand span{display:block;margin-top:4px}.erm-pagination{gap:9px}.erm-pagination .erm-btn{padding:10px;font-size:11px}.erm-pagination span{font-size:11px}.erm-empty{padding:30px 16px}}
@media(max-width:650px){html body .erm-app{width:calc(100% - 24px)}.erm-app .erm-hero h1{font-size:clamp(26px,7.2vw,30px)}.erm-app .erm-dialog{width:calc(100% - 16px)}}
@media(prefers-reduced-motion:reduce){.erm-app *{scroll-behavior:auto!important}}
@media print{body.erm-printing>:not(:has(#erm-poster)),body.erm-printing *:has(#erm-poster)>:not(:has(#erm-poster)):not(#erm-poster){display:none!important}body.erm-printing *:has(#erm-poster){margin:0!important;padding:0!important;min-height:0!important;height:auto!important;border:0!important;max-width:none!important;background:#fff!important}}
@media print{body.erm-printing{background:#fff!important}body.erm-printing *{visibility:hidden!important}body.erm-printing #erm-poster,body.erm-printing #erm-poster *{visibility:visible!important}body.erm-printing #erm-poster{display:block!important;position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:15mm!important;background:#fff!important}body.erm-printing .erm-no-print,body.erm-printing .erm-no-print *{display:none!important}body.erm-printing #erm-poster .erm-detail-photo{max-height:85mm;object-fit:contain}body.erm-printing #erm-poster::backdrop{background:transparent}body.erm-printing #erm-poster-content{break-inside:avoid}body.erm-printing .erm-qr{width:38mm;height:38mm;flex-basis:38mm}body.erm-printing .erm-poster-url{max-width:120mm}body.erm-printing #erm-poster-title{font-size:38pt!important}}
