#annotation-layer,#annotation-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:12; overflow:hidden; }
#annotation-layer { z-index:13; }
.map-label { position:absolute; top:0; left:0; pointer-events:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:7px 10px; min-height:44px; border:1px solid #577365; border-radius:8px; background:#fffef7; box-shadow:0 2px 9px #102f2624; color:#173e32; text-align:center; will-change:transform; }
.map-label:hover,.map-label.selected { background:#173e32; color:#fffef7; border-color:#173e32; }
.lot-label { width:108px; }
.lot-label strong { font-size:25px; font-weight:750; line-height:1; letter-spacing:-.04em; }
.label-eyebrow { font-size:7px; font-weight:650; letter-spacing:.12em; }
.label-area { font-size:12px; font-weight:650; white-space:nowrap; }
.area-label { max-width:150px; width:max-content; min-width:80px; padding:8px 11px; }
.area-label strong { font-size:12px; line-height:1.2; max-width:130px; }
.area-label span { font-size:9px; opacity:.75; }
.annotation-leader { stroke:#284f3b; stroke-width:1; fill:none; stroke-linecap:round; }
.parcel-outline { fill:#daf3aa1c; stroke:#f9ffdb; stroke-width:1.3; stroke-linejoin:round; }
.parcel-outline.selected { fill:#f0c36344; stroke:#173e32; stroke-width:2.6; }
.annotation-tools { position:absolute; z-index:30; right:24px; top:108px; width:230px; padding:13px; border-radius:14px; }
.annotation-tools label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:10px; }
.annotation-tools label + label { margin-top:10px; }
select { font:inherit; color:var(--ink); background:var(--surface); border:1px solid #d0dacc; border-radius:7px; padding:9px 7px; min-height:38px; max-width:100%; }
select:focus-visible { outline:2px solid #437d60; outline-offset:2px; }
.annotation-tools select { font-size:11px; width:100%; }
#annotation-count { display:block; margin:9px 0 0; font-size:9px; color:var(--muted); }
#selection-card { position:absolute; z-index:31; right:24px; top:310px; width:260px; border-radius:15px; padding:19px; }
#selection-card h2 { font-size:24px; line-height:1.12; margin:9px 20px 10px 0; letter-spacing:-.025em; }
#selection-area { font-size:22px; font-weight:650; letter-spacing:-.03em; }
#selection-detail { font-size:11px; line-height:1.65; color:var(--muted); max-height:180px; overflow:auto; }
#close-selection { position:absolute; right:4px; top:4px; font-size:23px; }
.selection-actions { display:flex; gap:6px; flex-wrap:wrap; }
.selection-actions button { font-size:11px; border:1px solid var(--line); border-radius:8px; min-height:40px; padding:0 11px; }
.selection-actions #show-dimensions { background:var(--ink); color:var(--surface); }
#lot-sheet { width:min(960px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:24px; overflow:auto; border:1px solid var(--line); border-radius:18px; background:var(--surface); color:var(--ink); box-shadow:0 20px 80px #102f2630; }
#lot-sheet::backdrop { background:#102f2666; }
#lot-sheet .dialog-heading { align-items:center; margin-bottom:18px; }
#lot-sheet h2 { margin-top:4px; font-size:23px; }
.sheet-controls { display:flex; align-items:center; gap:12px; }
.sheet-controls select { font-size:12px; }
@media(max-width:760px) {
 .annotation-tools { top:auto; bottom:122px; left:16px; right:auto; width:200px; padding:10px; }
 .annotation-tools label { gap:4px; }
 .annotation-tools label + label { margin-top:6px; }
 #annotation-count { font-size:8px; margin-top:6px; }
 .annotation-tools select { min-height:34px; padding:7px; font-size:10px; }
 .lot-label { width:98px; padding:6px; }
 .lot-label strong { font-size:23px; }
 .label-area { font-size:11px; }
 .area-label { max-width:125px; padding:6px 8px; }
 .area-label strong { font-size:11px; }
 #selection-card { top:auto; bottom:122px; left:16px; right:16px; width:auto; padding:16px; }
 #selection-card h2 { font-size:20px; margin:7px 24px 5px 0; }
 #selection-area { font-size:21px; }
 #selection-detail { max-height:110px; margin:7px 0 10px; }
 body:has(#selection-card:not([hidden])) .annotation-tools { visibility:hidden; }
 #lot-sheet { padding:14px; width:calc(100% - 16px); max-height:calc(100dvh - 16px); }
 #lot-sheet .dialog-heading { gap:8px; }
 #lot-sheet h2 { font-size:19px; }
 .sheet-controls { gap:5px; }
 .sheet-controls select { max-width:100px; font-size:11px; }
}

@media(min-width:761px) and (max-width:1249px) {
 body[data-view="lotes"] .annotation-tools { left:24px; right:auto; top:176px; width:216px; }
}

.lot-label .label-eyebrow { display:none; }
.lot-label { padding:5px 8px; }
.lot-label .label-area { line-height:1.2; }

@media(max-width:760px) {
 .view-dock { bottom:284px; }
 .lot-label strong { font-size:22px; }
 body:has(#selection-card:not([hidden])) .view-dock { visibility:hidden; }
}
@media(min-width:1250px) {
 body[data-view="lotes"] .annotation-tools { top:auto; bottom:50px; right:96px; }
}
