.pet-map-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#64748b}.pet-map-summary strong{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#f2ebff;color:#6d28d9;font-weight:800}.pet-map-summary strong:before{content:"";width:7px;height:7px;border-radius:50%;background:#8b5cf6}
.pet-map-dialog,.pet-map-dialog *{box-sizing:border-box}.pet-map-dialog[hidden]{display:none!important}.pet-map-dialog{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));isolation:isolate}.pet-map-backdrop{position:absolute;inset:0;border:0;background:rgba(8,26,32,.76);backdrop-filter:blur(8px)}.pet-map-panel{position:relative;display:flex;flex-direction:column;width:min(1280px,100%);height:min(880px,100%);max-height:calc(100dvh - 28px);min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:28px;background:#fffdf8;box-shadow:0 28px 100px #02111a66;color:#14262b}.pet-map-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fffdf8;border-bottom:1px solid #e2e9e6;flex-shrink:0}.pet-map-eyebrow{margin:0 0 4px;color:#6d28d9;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.pet-map-header h2{margin:0;font-size:clamp(20px,2.5vw,28px);font-weight:900;line-height:1.2;letter-spacing:-.035em}.pet-map-header p:last-child{margin:6px 0 0;color:#64748b;font-size:12px}.pet-map-close{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:9px;min-width:48px;min-height:48px;padding:10px 17px;border:1px solid #cdd8d4;border-radius:16px;background:#fff;color:#14262b;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.pet-map-close:hover{background:#e9f5dc;border-color:#9ab766}.pet-map-close:focus-visible,.pet-map-action:focus-visible,.pet-sighting-row:focus-visible{outline:3px solid #7c3aed;outline-offset:3px}
.pet-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;flex:1;min-height:0}.pet-map-canvas-wrap{position:relative;min-height:0;isolation:isolate;background:#eaf0ec}.pet-map-canvas{position:absolute!important;inset:0;z-index:0;isolation:isolate;width:100%;height:100%;background:#eaf0ec}.pet-map-tools{position:absolute;z-index:900;left:16px;bottom:36px;display:flex;gap:8px;pointer-events:none}.pet-map-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #d8e1dd;border-radius:14px;background:#fff;color:#14262b;box-shadow:0 3px 16px #10252a16;font:inherit;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;pointer-events:auto}.pet-map-action:hover{background:#eff7e4}.pet-map-action--primary{background:#d9ff66;border-color:#c2e852}.pet-map-history{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-left:1px solid #e2e9e6;background:#fffdf8}.pet-map-history-heading{padding:20px 20px 15px;border-bottom:1px solid #e8eeeb}.pet-map-history-heading h3{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;font-size:16px;font-weight:900}.pet-map-count{display:inline-grid;place-items:center;min-width:29px;height:29px;padding:0 7px;border-radius:10px;background:#14262b;color:#d9ff66;font-size:12px;font-weight:900}.pet-map-history-heading p{margin:8px 0 0;color:#64748b;font-size:12px;line-height:1.5}.pet-map-history-list{flex:1;min-height:0;margin:0;padding:10px 12px 16px;overflow-y:auto;overscroll-behavior:contain;list-style:none;scrollbar-width:thin}.pet-map-history-list li{margin:0;padding:0}.pet-sighting-row{position:relative;display:flex;align-items:flex-start;gap:12px;width:100%;margin:3px 0;padding:13px 10px;border:1px solid transparent;border-radius:16px;background:transparent;color:#14262b;text-align:left;font:inherit;cursor:pointer}.pet-sighting-row:hover{background:#f1f5ef}.pet-sighting-row[aria-current="true"]{border-color:#d1b9ff;background:#f3ecff}.pet-sighting-index{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border:1.5px solid #d6c2ff;border-radius:11px;background:#fff;color:#6d28d9;font-size:12px;font-weight:900}.pet-sighting-row--latest .pet-sighting-index{border-color:#a9cd46;background:#d9ff66;color:#14262b}.pet-sighting-body{display:block;min-width:0;flex:1}.pet-sighting-heading{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;line-height:1.4}.pet-sighting-heading time{font-size:12px;font-weight:850}.pet-sighting-latest{display:inline-block;padding:2px 6px;border-radius:6px;background:#e4f4c0;color:#365314;font-size:9px;font-weight:900}.pet-sighting-note{display:-webkit-box;margin-top:6px;overflow:hidden;color:#657579;font-size:11px;line-height:1.6;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical}.pet-map-empty{padding:22px 10px;color:#64748b;font-size:13px;line-height:1.6}.pet-map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid #e2e9e6;color:#64748b;background:#fffdf8;font-size:11px;line-height:1.5;flex-shrink:0}.pet-map-legend{display:flex;align-items:center;gap:8px;white-space:nowrap}.pet-map-legend:before{content:"";width:10px;height:10px;border:2px solid #a9cd46;border-radius:50%;background:#d9ff66}
.pet-sighting-pin{display:grid;place-items:center;position:relative;width:38px;height:38px;min-width:38px;min-height:38px;max-width:38px;max-height:38px;flex-shrink:0;overflow:hidden;border:2px solid #7c3aed;border-radius:50%;background:#fff;color:#6d28d9;box-shadow:0 3px 13px #32214c40;font-family:inherit;font-size:13px;font-weight:900}.pet-sighting-pin--latest{width:42px;height:42px;min-width:42px;min-height:42px;max-width:42px;max-height:42px;border:3px solid #d9ff66;background:#14262b;color:#fff;box-shadow:0 0 0 5px #d9ff6633,0 4px 18px #10252a40}.pet-sighting-pin--selected{outline:3px solid #a78bfa;outline-offset:4px}.pet-sighting-popup{min-width:190px;max-width:270px;font-family:inherit}.pet-sighting-popup strong{display:block;color:#14262b;font-size:14px}.pet-sighting-popup time{display:block;margin-top:5px;color:#6d28d9;font-size:12px;font-weight:700}.pet-sighting-popup p{max-height:190px;margin:10px 0 0;overflow-y:auto;color:#52666b;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.pet-map-dialog{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.pet-map-panel{height:100%;max-height:calc(100dvh - 16px);border-radius:22px}.pet-map-header{gap:10px;padding:16px}.pet-map-header h2{font-size:20px}.pet-map-header p:last-child{display:none}.pet-map-close{padding:8px 12px;font-size:12px;min-height:44px}.pet-map-layout{grid-template-columns:1fr;grid-template-rows:minmax(200px,1.1fr) minmax(140px,.9fr)}.pet-map-history{border-left:0;border-top:1px solid #dce5df}.pet-map-history-heading{padding:12px 16px 10px}.pet-map-history-heading p{margin-top:4px;font-size:11px}.pet-map-history-list{padding:5px 9px 12px}.pet-sighting-row{padding:9px}.pet-sighting-note{-webkit-line-clamp:2}.pet-map-footer{padding:9px 16px;font-size:10px}.pet-map-footer>span:last-child{max-width:65%;text-align:right}.pet-map-tools{left:12px;bottom:36px;gap:6px}.pet-map-action{min-height:40px;padding:8px 11px;font-size:11px}.pet-map-summary{font-size:11px;gap:8px}}@media(max-height:520px) and (min-width:761px){.pet-map-header{padding:10px 18px}.pet-map-header p:last-child{display:none}.pet-map-footer{padding:7px 18px}}@media(prefers-reduced-motion:reduce){.pet-map-dialog *{scroll-behavior:auto!important}}

@media(max-height:520px) and (max-width:760px){.pet-map-header{padding:9px 12px}.pet-map-eyebrow{margin-bottom:2px;font-size:10px}.pet-map-header h2{font-size:17px}.pet-map-layout{grid-template-rows:minmax(120px,1fr) minmax(80px,.8fr)}.pet-map-history-heading{padding:7px 13px}.pet-map-history-heading h3{font-size:13px}.pet-map-history-heading p{display:none}.pet-map-footer{padding:6px 12px;font-size:9px}.pet-map-close{min-height:44px}.pet-map-count{height:24px;min-width:24px}}

.pet-map-header>div{min-width:0}.pet-map-header h2{overflow-wrap:anywhere}

#map img,#mapLarge img{max-width:none!important;max-height:none!important}.pet-map-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;background:#eaf0ec;color:#52666b;text-align:center;font-size:14px;line-height:1.6}.pet-map-status a{color:#5b21b6;font-weight:800;text-underline-offset:3px}

.kv-pet-map{position:relative;isolation:isolate;overflow:hidden}
