.map-places-launch,.map-places-pick,.map-places-message,.map-places-context { position:absolute; z-index:610; color:var(--txt); background:var(--bg2); border:1px solid var(--steel-hi); box-shadow:var(--shadow-panel); }
.map-places-launch { left:12px; bottom:112px; min-height:42px; border-radius:9px; padding:0 14px; cursor:pointer; }
.map-places-pick,.map-places-message { left:50%; top:80px; transform:translateX(-50%); display:flex; align-items:center; gap:14px; max-width:calc(100% - 24px); border-radius:10px; padding:10px 12px; }
.map-places-pick button,.map-places-message button { color:var(--gold-hi); background:transparent; border:0; cursor:pointer; white-space:nowrap; }
.map-places-context { width:min(240px,calc(100% - 16px)); max-height:calc(100% - 16px); overflow:auto; box-sizing:border-box; display:grid; gap:2px; border-radius:10px; padding:5px; }
.map-places-context button { color:var(--txt); background:transparent; border:0; border-radius:6px; text-align:left; min-height:40px; padding:8px 10px; cursor:pointer; }
.map-places-context button:hover,.map-places-context button:focus-visible { background:var(--surface-raised); }
.map-place-pin { width:30px; height:30px; display:grid; place-items:center; padding:0; color:var(--bg); background:var(--gold-hi); border:2px solid var(--bg2); border-radius:50% 50% 50% 5px; transform:rotate(-45deg); box-shadow:0 2px 8px #0008; cursor:pointer; }
.map-place-popup { display:grid; gap:10px; padding:18px; min-width:220px; }
.map-place-popup p,.map-places-note { white-space:pre-wrap; overflow-wrap:anywhere; }
.map-place-popup a { text-decoration:none; }
.map-places-panel { width:min(440px,100%); min-width:0; height:100%; overflow:auto; padding:20px; color:var(--txt); background:var(--bg2); box-shadow:var(--shadow-panel); }
.map-places-panel header { display:flex; gap:10px; justify-content:space-between; align-items:center; margin-bottom:20px; }
.map-places-panel h2 { margin:0; font-size:20px; }
.map-places-panel header button { min-width:42px; min-height:42px; font-size:22px; }
.map-places-panel :is(button,a) { color:var(--txt); background:var(--surface-raised); border:1px solid var(--steel-hi); border-radius:8px; padding:9px 12px; cursor:pointer; font:inherit; text-decoration:none; }
.map-places-panel button[aria-pressed="true"] { color:var(--gold-hi); border-color:var(--gold); }
.map-places-panel :is(button,a):focus-visible,.map-places-context button:focus-visible,.map-places-launch:focus-visible { outline:2px solid var(--gold-hi); outline-offset:2px; }
.map-places-panel :is(input:not([type=checkbox]),select,textarea) { width:100%; min-width:0; box-sizing:border-box; color:var(--txt); background:var(--bg); border:1px solid var(--steel-hi); border-radius:8px; padding:11px; font:inherit; }
.map-places-panel label:not(.map-places-check) { display:grid; gap:7px; margin:16px 0; }
.map-places-panel p { line-height:1.5; }
.map-places-panel-message { color:var(--gold-hi); }
.map-places-check { display:flex; align-items:center; gap:8px; margin:16px 0; }
.map-places-actions,.map-places-create,.map-places-list-head { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.map-places-create { margin:16px 0; flex-wrap:nowrap; }
.map-places-create input { flex:1; }
.map-places-list { margin:20px 0; padding-top:14px; border-top:1px solid var(--steel-hi); }
.map-places-list-head strong { margin-right:auto; }
.map-places-list-head button { font-size:12px; }
.map-places-panel .map-places-row { display:flex; width:100%; justify-content:space-between; text-align:left; margin-top:8px; overflow-wrap:anywhere; }
@media (max-width:700px) { .map-places-panel { width:100%; padding:16px; } .map-places-pick,.map-places-message { top:70px; width:max-content; } }
@media (max-width:600px) { .map-places-launch { bottom:72px; } }

.map-gathering-pin {
 position:relative; width:max-content; height:30px; padding:0 10px;
 border:1px solid var(--gold); border-radius:9px; background:var(--bg2);
 color:var(--txt); font-family:inherit; font-weight:600; font-size:12px;
 white-space:nowrap; box-shadow:var(--shadow-panel); cursor:pointer;
}
.map-gathering-pin::after { content:''; position:absolute; bottom:-5px; left:5px; width:7px; height:7px; border:solid var(--gold); border-width:0 1px 1px 0; background:var(--bg2); transform:rotate(45deg); }
.map-gathering-pin:focus-visible { outline:2px solid var(--gold-hi); outline-offset:3px; }
.map-gathering-popup { max-height:60vh; overflow:auto; }
.map-gathering-popup section { display:grid; gap:4px; }
.map-gathering-popup section p { margin:0; }
.team-gathering { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.team-gathering h2,.team-gathering p { flex-basis:100%; margin:0; }
.team-gathering form { display:flex; align-items:end; flex-wrap:wrap; gap:8px; }

.map-camera-dialog.tp-modal { width:min(410px,calc(100% - 24px)); height:auto; max-height:calc(100% - 24px); overflow:auto; align-self:center; margin:auto; padding:20px; border:1px solid var(--steel-hi); border-radius:14px; background:var(--bg2); color:var(--txt); }
.map-camera-dialog h2 { margin:0; font-size:19px; color:var(--txt-hi); }
.map-camera-dialog p { margin:12px 0; line-height:1.5; }
.map-camera-dialog .map-places-actions { margin-top:18px; justify-content:flex-end; }
