/* The demo forms' map (map.js), shared by the TAMS website and TAMS Demo. */
.loc-map.tm{position:relative;height:260px;overflow:hidden;border:1px solid var(--line,rgba(255,255,255,.12));border-radius:12px;background:#0a0f14;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:crosshair;outline:none}
.loc-map.tm:focus-visible{box-shadow:0 0 0 2px var(--cyan,#22d3ee)}
.loc-map.tm.tm-grab{cursor:grabbing}
.tm-tiles{position:absolute;left:0;top:0;width:0;height:0}
.tm-tiles img{position:absolute;left:0;top:0;width:256px;height:256px;max-width:none;filter:brightness(.92);pointer-events:none}
.tm-pin{position:absolute;left:0;top:0;width:40px;height:48px;margin:-48px 0 0 -20px;padding:0;border:0;background:none;color:var(--cyan,#22d3ee);cursor:grab;touch-action:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}
.tm-pin[hidden]{display:none}
.tm-pin svg{display:block;width:32px;height:42px;margin:6px auto 0;transition:transform .15s}
.tm-pin.tm-lift{cursor:grabbing}
.tm-pin.tm-lift svg{transform:translateY(-6px) scale(1.08)}
.tm-hint{position:absolute;top:8px;inset-inline-start:8px;max-width:calc(100% - 72px);padding:6px 10px;border-radius:8px;background:rgba(10,15,20,.86);color:#e5e7eb;font-size:13px;line-height:1.35;pointer-events:none}
.tm-hint[hidden]{display:none}
.tm-zoom{position:absolute;top:8px;inset-inline-end:8px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.tm-zoom button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:rgba(10,15,20,.9);color:#e5e7eb;cursor:pointer}
.tm-zoom button+button{border-top:1px solid rgba(255,255,255,.14)}
.tm-zoom button:hover:not(:disabled){background:rgba(24,34,44,.95)}
.tm-zoom button:disabled{color:rgba(229,231,235,.35);cursor:default}
.tm-zoom button:focus-visible{outline:2px solid var(--cyan,#22d3ee);outline-offset:-2px}
.tm-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.tm-osm{position:absolute;bottom:0;inset-inline-end:0;padding:1px 6px;background:rgba(255,255,255,.85);color:#333;font-size:11px;line-height:1.5;text-decoration:none}
@media (max-width:480px){
  .loc-map.tm{height:240px}
  .tm-zoom button{width:44px;height:44px}
}
