/* Event map + brief (shared by Command and the member Event page). Calm, readable, mobile-first. */
.ev-map{width:100%;height:100%;min-height:320px;background:#EEF2F6}
.ev-map .leaflet-container{background:#EEF2F6}
.ev-legend{position:absolute;right:12px;top:12px;z-index:500;max-width:260px;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.96);border:1px solid #DDE4E9;color:#17304F;font:500 11px/1.45 Inter,Arial,sans-serif;box-shadow:0 2px 10px rgba(7,24,51,.12)}
.ev-legend b{display:block;font-size:10px;letter-spacing:.12em;color:#0B2450;margin-bottom:4px}
.ev-legend i{display:inline-block;width:22px;height:0;border-top:4px solid #0B2450;vertical-align:middle;margin-right:6px}
.ev-legend i.mine{border-color:#2B929D}.ev-legend i.cur{border-color:#EAAA00}.ev-legend i.dash{border-top-style:dashed}
.ev-err{position:absolute;inset:auto 12px 12px 12px;z-index:600;padding:12px 14px;border-radius:10px;background:#FFF4E5;border:1px solid #EAAA00;color:#5a3d00;font:600 12px Inter,Arial,sans-serif}
.st{display:inline-block;padding:3px 8px;border-radius:999px;font:800 10px/1.4 Inter,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;border:1px solid currentColor}
.st.verified{color:#1F7A55}.st.proposed{color:#2B6CB0}.st.pending{color:#9A6A00}.st.blocked{color:#B42318}.st.demo{color:#5B6B7F}.st.live{color:#0B2450;background:#EAAA00;border-color:#EAAA00}
.eb-empty{color:#637487;font-size:13px}
.eb-steps{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin:8px 0 10px;-webkit-overflow-scrolling:touch}
.eb-step{flex:none;display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;border:1px solid #C9D3DD;background:#fff;color:#0B2450;font:700 12px Inter,Arial,sans-serif;cursor:pointer;min-height:36px}
.eb-step span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#0B2450;color:#fff;font-size:11px}
.eb-step.on{border-color:#EAAA00;box-shadow:0 0 0 2px rgba(234,170,0,.35)}.eb-step.on span{background:#EAAA00;color:#0B2450}
.eb-stage{padding:12px 14px;margin:0 0 10px;border-radius:12px;background:#fff;border:1px solid #DDE4E9;color:#17304F}
.eb-stage.dim{opacity:.45}
.eb-stage h4{margin:0 0 6px;font:800 13px Inter,Arial,sans-serif;color:#0B2450}
.eb-stage ul{margin:0;padding-left:18px}.eb-stage li{margin:4px 0;font-size:13px;line-height:1.5}
.eb-stage li.mine{background:#E7F4F5;border-radius:6px;padding:2px 6px;margin-left:-6px}
.eb-stage small{color:#637487}
.eb-you{font-style:normal;font:800 9px Inter,Arial;letter-spacing:.1em;color:#fff;background:#2B929D;padding:1px 6px;border-radius:999px}
.eb-codes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.eb-codes span{display:flex;flex-direction:column;padding:6px 10px;border-radius:8px;background:#0B2450;color:#fff}
.eb-codes small{font-size:10px;color:#BFD3E6!important}.eb-codes b{font-size:13px;letter-spacing:.06em}
.eb-rota-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;border:1px solid #DDE4E9;background:#fff}
.eb-rota{border-collapse:collapse;min-width:640px;width:100%;font:500 12px/1.4 Inter,Arial,sans-serif;color:#17304F}
.eb-rota th,.eb-rota td{padding:8px;border-bottom:1px solid #EEF2F6;text-align:left;vertical-align:top}
.eb-rota thead th{background:#0B2450;color:#fff;font-size:11px;letter-spacing:.08em;position:sticky;top:0}
.eb-rota tbody th{white-space:nowrap;color:#0B2450}
.eb-rota .mine{background:#E7F4F5}.eb-rota thead th.mine{background:#2B929D}
/* Command (dark context panel) */
.context .eb-stage,.context .eb-rota-wrap{border-color:rgba(255,255,255,.12)}
.cmd-select{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:#0F2D5E;color:#fff;font:600 13px Inter,Arial,sans-serif;min-height:40px}
.alloc-row{display:grid;grid-template-columns:1fr 130px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.alloc-row b{color:#fff;font-size:13px}.alloc-row small{display:block;color:#9FB3C8;font-size:11px}
.alloc-msg{min-height:18px;font-size:12px;color:#7FD0D6;margin:8px 0}
@media (max-width:640px){.ev-legend{right:8px;top:8px;max-width:170px;padding:7px 9px;font-size:10px}.ev-legend i{width:16px}}
/* Garmr AO on the real map */
.leaflet-tooltip.geo-spot{padding:1px 5px;font:800 10px Inter,Arial,sans-serif;color:#0B2450;background:rgba(255,255,255,.92);border:1px solid #0B2450;box-shadow:none}
.leaflet-tooltip.geo-spot:before{display:none}
.ev-viewswitch{display:inline-flex;border:1px solid #C9D3DD;border-radius:999px;overflow:hidden;margin:0 0 8px}
.ev-viewswitch button{border:0;background:#fff;color:#0B2450;font:700 12px Inter,Arial,sans-serif;padding:8px 14px;min-height:36px;cursor:pointer}
.ev-viewswitch button.on{background:#0B2450;color:#fff}
.ev-opbtn{position:absolute;left:10px;bottom:28px;z-index:500;border:1px solid #C9D3DD;background:rgba(255,255,255,.96);color:#0B2450;border-radius:999px;font:700 12px Inter,Arial,sans-serif;padding:8px 12px;min-height:36px;cursor:pointer}
.geo-chip{position:absolute;left:12px;bottom:12px;z-index:500;max-width:min(92%,420px);padding:8px 12px;border-radius:10px;background:rgba(11,36,80,.92);color:#fff;font:600 11px/1.4 Inter,Arial,sans-serif}
.geo-chip b{color:#EAAA00}
.map-toggle[hidden]{display:none!important}
