/* Google's generated prediction list, never Gallery's ordinary .pac-container
   form wrappers. Keep Google's attribution pseudo-element and row markup. */
/* Older staff forms remove input borders and the admin theme resets outlines.
   Restore keyboard focus only for inputs Google actually initialized, including
   those without the legacy #pac-input ID. No layout or widget changes. */
body.gp-staff-location-ui input.pac-target-input:focus-visible {
    outline: 2px solid #bd281d;
    outline-offset: 2px;
}
body > .pac-container.pac-logo {
    box-sizing: border-box;
    max-width: calc(100vw - 16px);
    max-height: min(320px, 40dvh);
    padding: 0;
    border: 1px solid #ddd3cb;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 6px 20px #3320101f;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 10000000;
}
/* Keep Google's own logo visible while predictions scroll. */
body > .pac-container.pac-logo::after {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background-color: #fff;
}
body > .pac-container.pac-logo > .pac-item {
    box-sizing: border-box;
    display: block;
    min-height: 64px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #eee6df;
    color: #625e5a;
    font: 400 13px/1.5 Arial, sans-serif;
    text-align: center;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    cursor: pointer;
}
body > .pac-container.pac-logo > .pac-item:last-child { border-bottom: 0; }
body > .pac-container.pac-logo > .pac-item > .pac-icon { display: none; }
body > .pac-container.pac-logo .pac-item-query {
    display: block;
    margin: 0 0 4px;
    padding: 0;
    color: #202020;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}
body > .pac-container.pac-logo .pac-item-query + span {
    display: block;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}
body > .pac-container.pac-logo > .pac-item:hover,
body > .pac-container.pac-logo > .pac-item-selected {
    background-color: #fff0f2;
    box-shadow: inset 4px 0 #bd281d;
}
/* Only an unambiguously paired list receives positioning overrides. Google
   continues to own visibility, predictions, keyboard behavior and selection. */
body > .pac-container.pac-logo.gp-places-positioned {
    position: fixed !important;
    left: var(--gp-places-left) !important;
    top: var(--gp-places-top) !important;
    width: var(--gp-places-width) !important;
    max-height: var(--gp-places-height) !important;
}
