/* Place suggestions under a text box (place-autocomplete.js). Theme colours only, so light, dark and every palette work. */
.pa-field { position: relative; }
.pa-list { position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 60; margin-top: 4px; background: var(--surface); color: var(--ink); border: 1px solid var(--field-line, var(--line)); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); overflow: hidden; }
.pa-list[hidden] { display: none; }
.pa-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; cursor: pointer; min-height: 48px; box-sizing: border-box; border-bottom: 1px solid var(--line); color: var(--ink); }
.pa-item:last-of-type { border-bottom: 0; }
.pa-item.on, .pa-item:hover { background: var(--surface-2); }
.pa-pin { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.82); border: 2px solid var(--muted); box-sizing: border-box; position: relative; }
.pa-pin::after { content: ''; position: absolute; left: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.pa-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.pa-main { font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.pa-sec { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-top: 1px; }
.pa-msg { padding: 13px 14px; font-size: 14px; color: var(--ink); }
.pa-foot { padding: 6px 14px 7px; font-size: 11.5px; color: var(--muted); text-align: right; border-top: 1px solid var(--line); background: var(--surface); }
.pa-picked { margin-top: 5px; font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; overflow-wrap: anywhere; }
.pa-picked:not([hidden])::before { content: '✓'; color: var(--green, #2E7D5B); font-weight: 800; flex: 0 0 auto; }
.pa-picked.bad { color: var(--red); }
.pa-picked.bad::before { content: '!'; color: var(--red); }
