.market-view-switch{display:flex;align-items:stretch;gap:3px;margin:0;padding:3px;width:max-content;height:40px;border:1px solid var(--line);border-radius:var(--radius);background:var(--subtle)}
.market-view-switch button{flex:1;min-width:57px;padding:0 12px;border:0;border-radius:5px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:550;cursor:pointer;transition:background .15s,color .15s}
.market-view-switch button:hover{color:var(--blue-deep);background:var(--blue-soft)}
.market-view-switch button[aria-pressed=true]{background:var(--surface);color:var(--blue-deep);font-weight:650;box-shadow:none}
.market-map-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.7fr);min-height:480px;border:1px solid #d1deeb;border-radius:12px;overflow:hidden;background:#fff}
.market-map-canvas{position:relative;min-width:0;min-height:480px;background:#e9f2f6}
.market-map-list{max-height:570px;overflow:auto;padding:14px;border-left:1px solid #dbe4ee}
.market-map-item{display:grid;gap:4px;padding:12px 8px;border-bottom:1px solid var(--line)}
.market-map-item.is-focused{border-radius:8px;background:var(--blue-soft);box-shadow:inset 2px 0 var(--blue)}
.market-map-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.market-map-item .market-map-locate{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--blue-deep);font-weight:600;white-space:nowrap}
.market-map-locate svg{width:15px;height:15px;flex:none}
.market-map-item .market-map-locate span{font:inherit;color:inherit}
.market-map-item .market-map-locate:hover,.market-map-item .market-map-locate[aria-pressed=true]{border-color:var(--blue);background:var(--blue-soft)}
.market-map-actions button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.market-map-focus-marker{width:22px;height:22px;border:3px solid var(--surface);border-radius:50%;background:var(--blue);box-shadow:0 0 0 5px #2563eb40;pointer-events:none}
.market-map-focus-marker.is-reference{box-shadow:none}
.market-map-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.market-coordinate-point.is-focused{background:var(--blue-deep);box-shadow:0 0 0 5px #2563eb40}
.market-map-item strong{font-size:13px;color:#19354f}
.market-map-item span,.market-map-item small{font-size:11px;color:#647b91}
.market-map-item button,.market-map-unlocated button{border:0;background:transparent;padding:5px 0;text-align:left;color:#1a5dbb;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.market-map-unlocated{margin:15px 4px;font-size:11px;color:#526c85}
.market-map-unlocated summary{cursor:pointer;font-weight:700}
.market-map-unlocated>div{display:flex;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid #e4ebf2}
.market-map-unlocated span{min-width:0;overflow-wrap:anywhere}
.market-map-attribution{margin:10px 0 0;color:#8292a3;font-size:10px}
.market-map-attribution a{color:inherit}
.market-map-loading,.market-map-fallback{display:grid;place-items:center;min-height:160px;margin:0;color:#657b90;font-size:13px;text-align:center;padding:18px}
.market-coordinate-map{position:absolute;inset:0;overflow:hidden;background-color:#e8f0f5;background-image:linear-gradient(#c6d8e744 1px,transparent 1px),linear-gradient(90deg,#c6d8e744 1px,transparent 1px),radial-gradient(circle at 25% 25%,#d2e7de 0,#e8f0f5 60%);background-size:46px 46px,46px 46px,100% 100%}
.market-coordinate-label{position:absolute;left:13px;top:13px;padding:7px 9px;border-radius:6px;background:#fffffff0;color:#516b83;font-size:10px;font-weight:700}
.market-coordinate-point{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;border:4px solid #fff;border-radius:50%;background:#2563eb;box-shadow:0 1px 9px #1736585e;cursor:pointer}
.market-coordinate-point span{position:absolute;left:50%;top:26px;transform:translateX(-50%);min-width:90px;max-width:145px;padding:5px 7px;border-radius:5px;background:#fff;color:#24415f;font-size:10px;line-height:1.3;font-weight:700;box-shadow:0 1px 4px #1b426328}
.market-coordinate-point:hover,.market-coordinate-point:focus-visible{background:#174eaf;outline:2px solid #174eaf;outline-offset:3px}
@media(max-width:800px){.market-map-layout{grid-template-columns:minmax(0,1fr)}.market-map-canvas{min-height:340px}.market-map-list{max-height:280px;border-left:0;border-top:1px solid #dbe4ee}.market-map-actions button,.market-map-item .market-map-locate{min-height:44px}}
