/* Phase 3: safe zones, accounts, devices, feelings, shared learning. Uses the same tokens. */
.zone-map { position: relative; z-index: 0; isolation: isolate; height: 300px; border-radius: var(--r-tile); border: 1px solid var(--line); margin-bottom: var(--s2, 8px); background: var(--fog); }
.zone-map.offline { height: 120px; opacity: .6; }
.zone-map:focus-visible { outline: 4px solid var(--lumen); outline-offset: 3px; }
.leaflet-container { font: inherit; }
.leaflet-tooltip.zone-label { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); box-shadow: none; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.leaflet-tooltip.zone-label::before { display: none; }
.leaflet-control-attribution { font-size: .75rem; }
.leaflet-control-attribution a { color: #1d4f78; }
.plain-list { margin: 0 0 var(--s3, 12px); padding-left: 1.2em; line-height: 1.5; }
.plain-list li + li { margin-top: 6px; }
.small { font-size: var(--fs-sm, .9rem); }
.row.wrap { flex-wrap: wrap; }
.row.wrap > label { flex: 1 1 140px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--lumen-soft, #fdf0d0); color: var(--ink); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pair-box { display: flex; gap: var(--s4, 16px); align-items: center; flex-wrap: wrap; padding: var(--s3, 12px); margin: var(--s3, 12px) 0; border-radius: var(--r-tile); background: var(--fog); }
.pair-box .qr { width: 168px; height: 168px; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.pair-box .qr svg { width: 100%; height: 100%; display: block; }
.pair-box > div:last-child { flex: 1 1 200px; min-width: 0; }
.pair-code { font-size: 2.2rem; font-weight: 800; letter-spacing: .12em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--fog); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.mini-list li.is-off { opacity: .65; }
details.join { margin-top: var(--s3, 12px); }
details.join summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.feel { margin: var(--s2, 8px) 0; padding: var(--s3, 12px); border-radius: var(--r-tile); background: var(--paper-raised); border: 2px dashed var(--lumen); }
.feel p { margin: 0 0 6px; }
.feel-pick { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.feel-pick select { min-height: 44px; }
.bars { list-style: none; margin: 0 0 var(--s2, 8px); padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 9.5em 1fr 2em; align-items: center; gap: 8px; }
.bars .bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #2f6f9f var(--w), var(--fog) var(--w)); }
.bars b { text-align: right; }
/* My Voice */
.mv-geo { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.mv-geo.is-on { color: var(--ink); }
.mv-pair { border: 0; border-radius: var(--r-sheet); padding: 20px; width: min(480px, 94vw); background: var(--paper); color: var(--ink); }
.mv-pair::backdrop { background: rgb(15 20 25 / .55); }
.mv-pair-form { display: grid; gap: 12px; }
.mv-pair-form h2 { margin: 0; }
.mv-pair-form label { display: grid; gap: 4px; font-weight: 600; }
.mv-pair-form input { min-height: 44px; font: inherit; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-raised); color: var(--ink); }
.mv-pair-row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.mv-scan video { width: 100%; border-radius: 12px; background: #000; }
@media (prefers-reduced-motion: reduce) { .leaflet-zoom-anim .leaflet-zoom-animated { transition: none !important; } }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; }
.range-head output { font-variant-numeric: tabular-nums; }
#zoneR { width: 100%; accent-color: var(--sky-deep); min-height: 44px; }
label.grow { flex: 1 1 220px; min-width: 0; }
label.grow select { width: 100%; }
