/* insights/club-map.css — Insights › Club Map. app.html's own tokens (--b*, --g*, --border*, --shadow-sm, DM Sans +
 * Outfit), never shared.css. Every rule is scoped to .cm-root (the mounted pane) and uses .cm-* classes only.
 * Controls left, the map right on a wide screen; stacked below 820 px with the map on top. Ported from the mock he
 * tested (preview/club-map-mock.html), minus the mock-only parts. */
.cm-root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text,#1e2d3d);font-size:14px;-webkit-font-smoothing:antialiased}
.cm-root [hidden]{display:none !important}
.cm-root *,.cm-root *::before,.cm-root *::after{box-sizing:border-box}
.cm-root button,.cm-root input,.cm-root select{font-family:inherit}
.cm-root .cm-wrap{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:14px;padding:12px 14px;align-items:start}
.cm-root .cm-ctl{min-width:0}
.cm-root .cm-stage{position:sticky;top:8px;height:calc(100vh - 150px);min-height:420px;display:flex;flex-direction:column;gap:8px;min-width:0}
@media (max-width:820px){
  .cm-root .cm-wrap{grid-template-columns:minmax(0,1fr);padding:8px 16px 40px;gap:10px}
  .cm-root .cm-stage{order:-1;position:sticky;top:0;height:46vh;min-height:280px;z-index:900;background:var(--bg,#eef2f7);padding-top:4px}
}
.cm-root .cm-card{background:var(--surface,#fff);border:1px solid var(--border-light,#dbe3ec);border-radius:var(--radius,10px);box-shadow:var(--shadow-sm);padding:12px 13px;margin:0 0 10px}
.cm-root .cm-card h3{margin:0 0 8px;padding:0;font-family:Outfit,sans-serif;font-size:14px;font-weight:700;color:var(--b8,#2a3f56)}
.cm-root .cm-sub{font-size:12px;color:var(--text-faint);margin:0 0 8px;line-height:1.4}
.cm-root .cm-seg{display:flex;flex-wrap:wrap;gap:6px}
.cm-root .cm-seg button{border:1px solid var(--border,#cdd6e0);background:var(--b0,#f0f4f8);color:var(--b8,#2a3f56);font-weight:700;font-size:12.5px;padding:7px 11px;border-radius:16px;cursor:pointer;line-height:1.15;margin:0}
.cm-root .cm-seg button.on{background:linear-gradient(135deg,var(--b6,#4a6a8a),var(--b5,#5b80a0));border-color:var(--b6,#4a6a8a);color:#fff}
.cm-root .cm-seg button:disabled{opacity:.45;cursor:not-allowed}
.cm-root .cm-seg button .cm-s2{display:block;font-weight:500;font-size:10.5px;opacity:.85;margin-top:2px}
.cm-root .cm-row{display:flex;align-items:center;gap:8px;margin:7px 0;flex-wrap:wrap}
.cm-root .cm-row label{font-size:12.5px}
.cm-root .cm-chk{display:flex;align-items:center;gap:7px;font-size:13px;cursor:pointer;margin:5px 0}
.cm-root .cm-chk input{width:17px;height:17px;accent-color:var(--b6,#4a6a8a);margin:0}
.cm-root .cm-dot{width:13px;height:13px;border-radius:50%;display:inline-block;border:2px solid #fff;box-shadow:0 0 0 1px rgba(30,45,61,.25);flex-shrink:0}
.cm-root .cm-cnt{font-size:11px;color:var(--text-faint);margin-left:auto}
.cm-root input[type=text],.cm-root input[type=number],.cm-root select{border:1px solid var(--border,#cdd6e0);border-radius:var(--radius-sm,7px);padding:7px 9px;font-size:13.5px;background:#fff;color:var(--text,#1e2d3d);min-width:0;max-width:100%}
.cm-root input[type=text]{width:100%}
.cm-root input[type=number]{width:74px}
.cm-root input[type=range]{flex:1;accent-color:var(--b6,#4a6a8a);min-width:100px;margin:0}
.cm-root input[type=color]{width:34px;height:30px;border:1px solid var(--border,#cdd6e0);border-radius:7px;padding:1px;background:#fff;cursor:pointer}
.cm-root .cm-note{font-size:11.5px;color:var(--text-faint);line-height:1.4;margin:6px 0 0}
.cm-root .cm-note.cm-warn{color:#8a5a00;font-weight:600}
.cm-root .cm-lblgrid{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:6px 8px;align-items:center}
.cm-root .cm-lblgrid .cm-nm{font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:6px}
.cm-root .cm-lblgrid .cm-pt{font-size:11.5px;color:var(--text-faint);min-width:40px;text-align:right}
.cm-root .cm-lblgrid .cm-dis{opacity:.4;pointer-events:none}
.cm-root .cm-lblgrid input[type=range]{min-width:60px}
.cm-root .cm-ends{display:flex;justify-content:space-between;font-size:10.5px;color:var(--text-faint);margin-top:-2px;gap:8px}
.cm-root .cm-big{width:100%;border:none;border-radius:22px;padding:12px 16px;font-family:Outfit,sans-serif;font-size:15px;font-weight:800;color:#fff;background:linear-gradient(135deg,#35b45b,#1f8a3c);cursor:pointer;box-shadow:0 4px 14px rgba(31,138,60,.3);margin:6px 0 0}
.cm-root .cm-big:disabled{opacity:.55;cursor:wait}
.cm-root .cm-btn2{border:1px solid var(--b2,#bfd0e0);background:var(--b1,#dde7f0);color:var(--b8,#2a3f56);font-weight:700;font-size:12.5px;padding:8px 13px;border-radius:16px;cursor:pointer;margin:0}
.cm-root .cm-btn2:disabled{opacity:.55;cursor:wait}
.cm-root .cm-bar{height:9px;background:var(--b1,#dde7f0);border-radius:6px;overflow:hidden;margin-top:9px}
.cm-root .cm-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--g4,#3d9e46),var(--g3,#5ab864));transition:width .2s}
.cm-root .cm-msg{font-size:12.5px;margin-top:7px;line-height:1.45}
.cm-root .cm-msg:empty{display:none}
.cm-root .cm-msg.cm-err{color:#b42318;font-weight:600}
.cm-root .cm-msg.cm-ok{color:var(--g5,#2e7a35);font-weight:600}
.cm-root .cm-noton{margin:0;padding:0 0 0 18px;font-size:12.5px;line-height:1.5}
.cm-root .cm-noton li{margin:2px 0}
.cm-root .cm-noton .cm-why{color:var(--text-faint)}
/* the map + the page-shaped frame */
.cm-root .cm-status{font-size:12px;background:var(--surface,#fff);border:1px solid var(--border-light,#dbe3ec);border-radius:var(--radius-sm,7px);padding:6px 10px;box-shadow:var(--shadow-sm);line-height:1.4}
.cm-root .cm-status b{color:var(--b8,#2a3f56)}
.cm-root .cm-maphost{position:relative;flex:1;border-radius:var(--radius,10px);overflow:hidden;border:1px solid var(--border,#cdd6e0);background:#e9e5dc;box-shadow:var(--shadow-sm);min-height:0}
.cm-root .cm-map{position:absolute;inset:0}
.cm-root canvas.cm-ov{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:450}
.cm-root .cm-maphost .leaflet-control-container,.cm-root .cm-maphost .mapboxgl-control-container{position:relative;z-index:900}
.cm-root .cm-maphost .mapboxgl-ctrl-top-left,.cm-root .cm-maphost .mapboxgl-ctrl-bottom-right,.cm-root .cm-maphost .mapboxgl-ctrl-bottom-left{z-index:900}
.cm-root .cm-sheetinfo{font-size:11.5px;color:var(--text-faint);text-align:center}
/* the whole-sheet pop-up */
.cm-modal{position:fixed;inset:0;background:rgba(20,30,42,.6);z-index:5000;display:flex;align-items:center;justify-content:center;padding:16px}
.cm-modal[hidden]{display:none !important}
.cm-modal .cm-box{background:#fff;border-radius:14px;max-width:min(96vw,980px);max-height:94vh;overflow:auto;padding:12px;box-shadow:0 30px 80px -20px rgba(0,0,0,.55);font-family:'DM Sans',sans-serif}
.cm-modal .cm-box img{display:block;max-width:100%;max-height:78vh;margin:0 auto;border:1px solid #cdd6e0}
.cm-modal .cm-hd{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-family:Outfit,sans-serif;font-weight:700;color:#2a3f56}
.cm-modal .cm-hd button{margin-left:auto;border:1px solid #bfd0e0;background:#dde7f0;color:#2a3f56;font-weight:700;font-size:12.5px;padding:8px 13px;border-radius:16px;cursor:pointer}
.cm-modal .cm-note{font-size:11.5px;color:#3a5470;line-height:1.4;margin:6px 0 0}
.cm-offscreen{position:fixed;left:-30000px;top:0;pointer-events:none}
