:root { --ink:#1d2b2e; --teal:#0f5f66; --paper:#f6f8f7; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
body { display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--teal); color: #fff; }
.bar a { color: #fff; text-decoration: none; font-size: .95rem; padding: .3rem .6rem; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; }
.bar a:hover, .bar a:focus-visible { background: rgba(255,255,255,.15); }
.bar h1 { font-size: 1.15rem; margin: 0; font-weight: 600; }
#wrap { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; }
#search { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; width: min(440px, 92vw); }
#search gmp-place-autocomplete { width: 100%; color-scheme: light; border-radius: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
#info { display: none; position: absolute; z-index: 5; left: 12px; bottom: 24px; width: min(400px, calc(100% - 24px)); max-height: 55%; overflow: auto;
  background: #fff; border-radius: 10px; border-left: 6px solid var(--teal); box-shadow: 0 3px 14px rgba(0,0,0,.3); padding: 1rem 2.5rem 1rem 1rem; }
#info.open { display: block; }
#info h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
#info a { color: var(--teal); word-break: break-word; }
#info-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@media (max-width: 600px) { #info { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 12px 12px 0 0; max-height: 45%; } }
