/* Address suggestions under an address input (public/js/address.js). Loaded only on pages with address fields. */
.addr-field { position: relative; }
.addr-pop { position: absolute; z-index: 30; margin: 0; background: var(--white); border: 1.5px solid var(--pine); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
  transform-origin: top center; animation: addr-in .16s var(--ease); }
.addr-pop[hidden] { display: none; }
@keyframes addr-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.addr-list { list-style: none; margin: 0; padding: .3rem; max-height: min(19rem, 52vh); overflow-y: auto; overscroll-behavior: contain; }
.addr-opt { display: flex; flex-direction: column; justify-content: center; gap: .05rem; min-height: 48px; padding: .45rem .7rem; border-radius: calc(var(--r) - 4px); cursor: pointer; line-height: 1.3; overflow-wrap: anywhere; }
.addr-main { font-weight: 700; color: var(--ink); }
.addr-rest { font-size: .92rem; color: var(--mute); }
.addr-opt[aria-selected="true"] { background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--pine); }
@media (hover: hover) and (pointer: fine) { .addr-opt:hover { background: var(--paper-2); } }
/* Google Maps text attribution: sans-serif, weight 400, #5E5E5E, 12-16px, one line, not translated (Places API policy). */
.addr-attr { margin: 0; padding: .4rem .95rem .5rem; border-top: 1px solid var(--line); text-align: right; font: 400 12px/1.4 Roboto, var(--body); letter-spacing: normal; color: #5e5e5e; white-space: nowrap; }
.addr-gm { font: inherit; color: #5e5e5e; }
@media (forced-colors: active) { .addr-opt[aria-selected="true"] { outline: 2px solid Highlight; } }
