/* Interactive map, in a quiet wayfinding style: a near-monochrome site plan, small ink dots with their names,
   and for the chosen place a ring, a name tag and a fine walking line from the lobby. */
.imap { margin: 0 0 14px; --ink: var(--imap-ink, #1f2b2e); --soft: #6b7477; }
.imap-vp { position: relative; overflow: hidden; border-radius: 18px; background: #f4f1eb; touch-action: none; border: 1px solid rgba(31,43,46,.08); }
.imap-stage { position: relative; transform-origin: 0 0; --inv: 1; }
.imap-stage img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.imap-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.imap-route polyline { fill: none; stroke: #1f2b2e; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.imap-route polyline.case { stroke: #fff; stroke-width: 7; }
.imap-pin { position: absolute; transform: translate(-50%, -50%) scale(var(--inv)); width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: #1f2b2e; box-shadow: 0 0 0 .5px rgba(31,43,46,.25); cursor: pointer; padding: 0; }
.imap-pin::after { content: ""; position: absolute; inset: -16px; } /* a bigger tap target than it looks */
.imap-pin.on { width: 14px; height: 14px; z-index: 3; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px #1f2b2e; }
.imap-lbl { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; font: 600 9.5px/1 system-ui, -apple-system, "Helvetica Neue", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #4a5558; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; pointer-events: none; }
.imap-lbl.t { top: auto; bottom: calc(100% + 4px); }
.imap-lbl.r { left: calc(100% + 6px); top: 50%; transform: translateY(-50%); }
.imap-tag { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; background: #1f2b2e; color: #fff; font: 600 10.5px/1 system-ui, -apple-system, "Helvetica Neue", sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; border-radius: 4px; pointer-events: none; }
.imap-tag::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: #1f2b2e; }
.imap-tag.down { bottom: auto; top: calc(100% + 12px); }
.imap-tag.down::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #1f2b2e; }
.imap-start { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid #1f2b2e; transform: translate(-50%, -50%) scale(var(--inv)); z-index: 2; }
.imap-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.92); border: 1px solid rgba(31,43,46,.1); }
.imap-zoom button { width: 32px; height: 32px; border: 0; background: transparent; color: #1f2b2e; font: 300 18px/1 system-ui, sans-serif; }
.imap-zoom button + button { border-top: 1px solid rgba(31,43,46,.1); }
.imap-card { padding: 18px 2px 4px; }
.imap-title { display: block; font-family: var(--font-display, "Iowan Old Style", Palatino, Georgia, serif); font-weight: 500; font-size: 22px; letter-spacing: .005em; }
.imap-dir { margin: 6px 0 0; color: var(--ink); }
.imap-from { margin: 6px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.imap-weak { margin: 10px 0 0; padding: 10px 12px; border-left: 2px solid #b08a3e; background: rgba(176,138,62,.08); font-size: 14px; }
.imap-list { margin-top: 16px; border-top: 1px solid var(--imap-line, #e3ddd1); }
.imap-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--imap-line, #e3ddd1); background: transparent; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.imap-item.on .imap-label { font-weight: 650; }
.imap-item.on .imap-go { color: var(--ink); }
.imap-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imap-go { color: #a8aeaf; font-size: 18px; line-height: 1; }
