/* Map controls shared by the Inteligencia map (index.html) and the Obras survey (/obras/).
   One source of truth for the look of the search pill (.c-msearch) and the Aérea tile (.c-aer).
   Each page keeps only position and size, so its own rows and margins (--m, --h, --g) still line up. */
.c-msearch { border-radius: 999px; background: rgba(26,27,25,.82); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.c-msearch input { font: 400 var(--t-sm, 14px) "HND", Helvetica, Arial, sans-serif; border: 0; outline: 0; background: none; color: inherit; box-shadow: none; -webkit-appearance: none; appearance: none; }
.c-msearch input::placeholder { color: rgba(255,255,255,.65); }
.c-msearch input::-webkit-search-cancel-button { display: none; }
.c-msearch:focus-within { box-shadow: 0 0 0 1.5px #fff; }
.c-aer { border-radius: 12px; border: 0; padding: 0 0 8px; display: flex; align-items: flex-end; justify-content: center; font: 700 12px "HND", Helvetica, Arial, sans-serif; color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.85); cursor: pointer; touch-action: pan-y; background: #2a2d26 url("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/14/7712/5148") center / cover; box-shadow: inset 0 0 0 2px #f2f0ec, inset 0 0 0 100px rgba(0,0,0,.18), var(--aer-sh, 0 0 #0000); }
.c-aer[aria-pressed="true"] { background: #1b1b1b linear-gradient(115deg, transparent 46%, #3a3a3a 47% 49%, transparent 50%), linear-gradient(25deg, transparent 58%, #3a3a3a 59% 60%, transparent 61%), linear-gradient(#262626 1px, transparent 1px) 0 0 / 100% 14px; box-shadow: inset 0 0 0 2px #f2f0ec, var(--aer-sh, 0 0 #0000); text-shadow: none; }
.c-aer[data-op]::after { content: attr(data-op); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font: 700 12px "HND", Helvetica, Arial, sans-serif; color: #f2f0ec; text-shadow: 0 1px 3px rgba(0,0,0,.45); white-space: nowrap; pointer-events: none; }
/* 19 nov (Luis): light mode = white pill, black text and icon */
.lt .c-msearch { background: rgba(255,255,255,.92); color: #1B1A18; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.lt .c-msearch svg { color: #1B1A18; stroke: currentColor; }
.lt .c-msearch input::placeholder { color: rgba(27,26,24,.6); }
.lt .c-msearch:focus-within { box-shadow: 0 0 0 1.5px #1B1A18; }
