.refined-ui #place-map-picker {
    position: fixed;
    inset: 0;
    z-index: 39000;
    display: grid;
    place-items: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.place-map-panel {
    display: flex;
    flex-direction: column;
    width: min(100%, 720px);
    height: min(720px, 84dvh);
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    background: #fff;
    color: #334155;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}
.place-map-header { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; padding: 18px 20px 14px; }
.place-map-header h2 { margin: 0; color: #1e293b; font-size: 18px; font-weight: 800; }
.place-map-header p { margin: 6px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.place-map-header button { width: 32px; height: 32px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; font-size: 24px; }
.place-map-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.place-map-canvas { position: absolute; inset: 0; background: #e6edf2; }
.place-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    width: 36px;
    height: 46px;
    filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.28));
    transform: translate(-50%, -100%);
    pointer-events: none;
}
.place-map-pin svg { display: block; width: 100%; height: 100%; }
.place-map-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.place-map-coordinates { color: #64748b; font-family: monospace; font-size: 12px; }
.place-map-error { margin: 4px 0 0; color: #e11d48; font-size: 12px; line-height: 1.4; }
.place-map-error:empty { display: none; }
.place-map-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.place-map-actions button { padding: 10px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #64748b; font-size: 13px; font-weight: 700; }
.place-map-actions [data-map-confirm] { background: #2563eb; border-color: #2563eb; color: #fff; }
.place-map-actions button:disabled { opacity: 0.55; cursor: wait; }
#place-map-picker button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
@media (max-width: 480px) {
    .place-map-header { padding: 14px; }
    .place-map-footer { flex-direction: column; align-items: stretch; padding: 12px 14px; }
    .place-map-actions { justify-content: flex-end; }
}
