/*
 * Two-click Google Maps placeholder (partials/map-embed.html).
 *
 * Plain CSS on purpose: main.css is generated by Tailwind from z_dev/input.css
 * and only contains utilities found by its scanner, so new utility classes
 * would not exist until someone reruns the build. A tiny standalone sheet
 * keeps this component working without a build step.
 *
 * The placeholder fills the container the partial sized, and the iframe that
 * replaces it fills the same box — so loading the map shifts no layout.
 */

.pm-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px; /* radius-pm-xl, matching the cards around it */
    border: 1px solid #E4E7EF; /* pm-border-subtle */
    background: #F7F8FB;       /* pm-bg */
}

.pm-map > iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.pm-map__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 24px 20px;
    text-align: center;
    box-sizing: border-box;
}

.pm-map__pin {
    width: 34px;
    height: 34px;
    color: #8A93A6; /* pm-fg-subtle */
    flex-shrink: 0;
}

.pm-map__address {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #181D2C; /* pm-fg */
}

.pm-map__notice {
    margin: 0;
    max-width: 46ch;
    font-size: 13px;
    line-height: 1.5;
    color: #5E6678; /* pm-fg-muted */
}

.pm-map__notice a {
    color: inherit;
    text-decoration: underline;
}

.pm-map__button {
    margin-top: 2px;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: #1E7FF0; /* pm-brand */
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease;
}

.pm-map__button:hover {
    background: #0061D6; /* pm-brand-hover */
}

/* Keyboard users must see where they are. :focus-visible only, so a mouse
   click does not leave a ring behind. */
.pm-map__button:focus-visible,
.pm-map__fallback:focus-visible {
    outline: 3px solid #0B0F1A;
    outline-offset: 2px;
}

.pm-map__fallback {
    font-size: 13px;
    font-weight: 600;
    color: #1E7FF0;
    text-decoration: underline;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .pm-map__notice {
        font-size: 12px;
    }
    .pm-map__placeholder {
        padding: 18px 14px;
        gap: 8px;
    }
}
