#location-editor{width:min(760px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--border);border-radius:14px;background:var(--paper);color:var(--ink);overflow:auto}
#location-editor::backdrop{background:#080c14b8;backdrop-filter:blur(3px)}
.location-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}
.location-editor-header span{font-size:10px;letter-spacing:1.5px;color:var(--muted)}
.location-editor-header h2{font-size:28px;margin:5px 0}.location-editor-header p{font-size:14px;margin:0;color:var(--muted)}
.location-editor-header button{font-size:26px;width:40px;height:40px;border:1px solid var(--border);border-radius:50%;flex:none}
.location-editor-body{padding:16px 24px 22px}.location-editor-body p{font-size:13px;line-height:1.5;margin:0 0 12px}.location-address{font-weight:600}.location-editor-body>a,.location-editor-body>button{margin:8px 8px 0 0}
.location-edit-map{height:clamp(230px,45dvh,440px);width:100%;border-radius:8px;background:var(--surface);isolation:isolate;border:1px solid var(--border)}
.location-edit-pin{filter:drop-shadow(0 3px 4px #0007)}.location-edit-pin span{display:block;width:30px;height:30px;margin:3px;background:#2168df;border:3px solid #fff;border-radius:50% 50% 50% 4px;transform:rotate(-45deg)}.location-edit-pin span::after{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#fff;margin:8px}.location-edit-pin:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
.location-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.location-coordinates label{font-size:12px;color:var(--muted)}.location-coordinates input{display:block;width:100%;min-width:0;margin-top:5px;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--ink);font-size:16px}.location-coordinates input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.location-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.location-editor-actions button{font-size:13px;min-height:42px}.location-editor-actions button:disabled{opacity:.45;cursor:default}.location-save-status{color:var(--muted)}.location-save-status:empty{display:none}.location-popup-action{display:block;width:100%;padding:10px 0 3px;border-top:1px solid var(--border);margin-top:10px;text-align:left;color:var(--accent);font-size:12px}
@media(max-width:620px){#location-editor{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.location-editor-header{padding:16px}.location-editor-body{padding:14px 16px 18px}.location-editor-actions{gap:6px}.location-editor-actions button{padding:10px 12px}.location-edit-map{height:clamp(220px,40dvh,360px)}}
