/* Keep the primary actions aligned, readable, and large enough for touch. */
#map-header-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;background:linear-gradient(180deg,#f8fbfd,#f0f6f9)}
#map-header-controls .status-row{grid-column:1;grid-row:1;justify-content:flex-start}
#map-header-controls .language-toggle{grid-column:2;grid-row:1;justify-self:end}
#map-header-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;width:100%}
#map-header-actions .header-share{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;min-width:0;max-width:none;margin:0;padding:10px 14px;border:1px solid #c6d6e1;border-radius:12px;font:700 14px/1.25 Arial,sans-serif;letter-spacing:-.01em;box-shadow:0 2px 4px #16354a09,0 5px 13px #16354a0b;cursor:pointer;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease}
#map-header-actions #map-share{color:#fff;border-color:#183c55;background:linear-gradient(145deg,#244d68,#123147);box-shadow:inset 0 1px 0 #ffffff24,0 3px 8px #14354c24}
#map-header-actions #feedback-open{color:#173e59;background:linear-gradient(180deg,#fff,#f8fbfd)}
#map-header-actions .header-share::before{content:'';display:block;width:19px;height:19px;flex:0 0 19px;background:currentColor;mask:center/contain no-repeat;-webkit-mask:center/contain no-repeat}
#map-header-actions #map-share::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 10.5 6.8-4M8.6 13.5l6.8 4'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 10.5 6.8-4M8.6 13.5l6.8 4'/%3E%3C/svg%3E")}
#map-header-actions #feedback-open::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 1-8 8H5l-3 3V11a9 9 0 0 1 18 0Z'/%3E%3Cpath d='M7 9h8M7 13h5'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 1-8 8H5l-3 3V11a9 9 0 0 1 18 0Z'/%3E%3Cpath d='M7 9h8M7 13h5'/%3E%3C/svg%3E")}
#map-header-actions .header-share:hover{transform:translateY(-1px);box-shadow:0 5px 14px #16354a24}
#map-header-actions .header-share:active{transform:translateY(0);box-shadow:0 1px 3px #16354a18}
#map-header-actions .header-share:focus-visible{outline:3px solid #439ad0;outline-offset:3px}
@media(min-width:700px){#map-header-controls{grid-template-columns:minmax(0,1fr) auto auto}#map-header-controls .language-toggle{grid-column:3}#map-header-actions{grid-column:2;grid-row:1;display:flex;width:auto}#map-header-actions .header-share{min-width:132px}}
@media(prefers-reduced-motion:reduce){#map-header-actions .header-share{transition:none}}
#map-header-actions .header-share{gap:7px;padding-left:10px;padding-right:10px}html[lang="es"] #map-header-actions .header-share{font-size:14px}
@media(max-width:350px){#map-header-actions .header-share,html[lang="es"] #map-header-actions .header-share{font-size:13px;gap:5px;padding-left:6px;padding-right:6px}#map-header-actions .header-share::before{width:16px;height:16px;flex-basis:16px}}

#map-header-actions .header-share{width:100%;justify-self:stretch}@media(min-width:700px){#map-header-actions .header-share{width:auto}}
