/* Map page in the tracker's light "Spec grid" theme: paper, 1px ink rules, square corners,
   Inter everywhere (tabular figures), Dropbox blue for the one thing that matters. Restyle only. */
body { background:#f5f4f1; }
body::before { display:none; }
.mp-mono, .mp-stat-v, .mp-lb .rk, .mp-lb .v, .mp-kpis .v, .mp-stg-row span:last-child, .mp-tbl td, .mp-total b, .mp-cnt, .mp-tabs .cnt,
.mp-legend-c span, .mp-legend-x, .mp-tip .r span:last-child, .mp-tip .rk, .mp-rank, .mp-load, .mp-crumb, .mp-map .lbl text.vl, .mp-map .co text { font-family:'Inter',sans-serif !important; font-variant-numeric:tabular-nums; }

/* Hero: light paper, ink rule */
.mp-hero { background:#f5f4f1; padding:2.25rem 0 0; border-bottom:1px solid #0f1923; }
.mp-crumb { color:#6b7280; letter-spacing:.1em; font-weight:600; }
.mp-crumb a { color:#6b7280; } .mp-crumb a:hover { color:#0061FE; } .mp-crumb span { color:#0f1923 !important; }
.mp-h1 { color:#0f1923; font-weight:800; }
.mp-lede { color:#4b5563; }
.mp-stats { border-top:1px solid #0f1923; }
.mp-stats > div { border-right:1px solid #d9dce1; }
.mp-stat-v { color:#0f1923; font-weight:700; font-size:1.55rem; }
.mp-stat-l { color:#6b7280; }
@media (max-width:640px) { .mp-stats > div:nth-child(odd) { border-right:1px solid #d9dce1; } .mp-stats > div:nth-child(-n+2) { border-bottom:1px solid #d9dce1; } }

/* App: one ink box, square, no shadows */
.mp-app { padding:1.5rem 0 1rem; }
.mp-card { border:1px solid #0f1923; border-radius:0; box-shadow:none; }
.mp-bar { background:#fff; border-bottom:1px solid #d9dce1; }
.mp-bar2 { background:#fafaf8; }
.mp-seg { background:#fff; border:1px solid #d9dce1; border-radius:0; padding:2px; }
.mp-seg button { border-radius:0; color:#4b5563; }
.mp-seg button[aria-pressed="true"] { background:#0f1923; box-shadow:none; }
.mp-chip { border-radius:0; border-color:#d9dce1; }
.mp-chip[aria-pressed="true"] { background:#0f1923; border-color:#0f1923; }
.mp-chip i { border-radius:0; }
.mp-search input { border-radius:0; border-color:#d9dce1; }
.mp-search input:focus { border-color:#0061FE; }
.mp-map { background:#fff; }
.mp-side { border-left:1px solid #0f1923; }
@media (max-width:960px) { .mp-side { border-left:0; border-top:1px solid #0f1923; } }
.mp-side-h { border-bottom:1px solid #d9dce1; }
.mp-side-k { color:#0061FE; }
.mp-lb li:hover, .mp-lb li.hl { background:#f5f8ff; }
.mp-lb .br, .mp-lb .br i { border-radius:0; }
.mp-tabs button[aria-selected="true"] { border-bottom-color:#0061FE; }
.mp-zoom, .mp-legend, .mp-total { border-radius:0; border-color:#0f1923; box-shadow:none; }
.mp-legend-c i { border-radius:0; }
.mp-tip { border-radius:0; box-shadow:none; }
.mp-card-pop { border-radius:0; box-shadow:none; }
.mp-kpis { background:#d9dce1; }
.mp-stg-bar, .mp-stg-row i, .mp-tip .tbar { border-radius:0; }
.mp-btn { border-radius:0; }
.mp-rank { border-radius:0; background:#eef4ff; color:#0061FE; }

/* CTA under the map: white ink box instead of a navy slab */
.mp-cta { background:#fff; border:1px solid #0f1923; border-top:0; border-radius:0; margin-top:0; }
.mp-cta p { color:#4b5563; } .mp-cta p strong { color:#0f1923; }

/* Below the fold */
.mp-tbl-wrap { border:1px solid #0f1923; border-radius:0; }
.mp-tbl th { background:#fff; border-bottom:1px solid #0f1923; color:#4b5563; }
.mp-tbl td { color:#0f1923; }
.mp-tbl tbody tr:hover td { background:#f5f8ff; }
.mp-sec[style*="background:#fff"] { border-color:#0f1923 !important; }
.faq-item { border-color:#d9dce1; }

/* three side tabs fit on one line */
.mp-tabs button { white-space:nowrap; margin-right:10px; }

/* SiteKit satellite map: Spec grid look (ink 1px, square, Dropbox blue) */
.sk { position:relative; overflow:hidden; background:#0f1923; }
.sk > .sk-map { position:absolute; inset:0; } /* beats .maplibregl-map{position:relative} */
.sk .maplibregl-ctrl-group { border-radius:0; box-shadow:none; border:1px solid #0f1923; }
.sk .maplibregl-ctrl-group button { width:32px; height:32px; }
.sk .maplibregl-ctrl-attrib { font-size:10px; }
.sk .maplibregl-cooperative-gesture-screen { font:600 13px/1.4 'Inter',sans-serif; background:rgba(15,25,35,.55); }

.sk-card { position:absolute; z-index:3; top:12px; right:12px; width:300px; max-height:calc(100% - 24px); overflow:auto; background:#fff; border:1px solid #0f1923; font-family:'Inter',sans-serif; animation:skIn .22s cubic-bezier(.22,1,.36,1); }
.sk-card[hidden] { display:none; }
@keyframes skIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .sk-card { animation:none; } }
.sk-x { position:absolute; z-index:2; top:6px; right:6px; width:28px; height:28px; border:1px solid #0f1923; background:#fff; color:#0f1923; font:400 18px/1 'Inter',sans-serif; cursor:pointer; }
.sk-x:hover { background:#0f1923; color:#fff; }
.sk-card-img { position:relative; aspect-ratio:16/10; background:#1e293b; border-bottom:1px solid #0f1923; }
.sk-card-img img { display:block; width:100%; height:100%; object-fit:cover; }
.sk-card-img span { position:absolute; left:8px; bottom:8px; background:#fff; border:1px solid #0f1923; padding:2px 7px; font-size:10.5px; font-weight:600; color:#0f1923; }
.sk-card-b { padding:14px 16px 16px; }
.sk-k { margin:0 0 4px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; color:#0061FE; }
.sk-card h3 { margin:0 0 3px; font-size:16px; font-weight:700; line-height:1.3; letter-spacing:-.01em; color:#0f1923; }
.sk-o { margin:0 0 10px; font-size:12px; color:#6b7280; }
.sk-kv { margin:0 0 10px; }
.sk-kv div { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-top:1px solid #e2e4e8; font-size:12.5px; }
.sk-kv dt { color:#6b7280; } .sk-kv dd { margin:0; font-weight:600; color:#0f1923; font-variant-numeric:tabular-nums; }
.sk-note { margin:0 0 12px; padding:8px 10px; background:#f5f8ff; border-left:2px solid #0061FE; font-size:11.5px; line-height:1.5; color:#374151; }
.sk-acts { display:grid; gap:6px; }
.sk-btn { display:flex; align-items:center; justify-content:center; height:38px; border-radius:0; font:600 13px/1 'Inter',sans-serif; cursor:pointer; text-decoration:none; }
.sk-btn-blue { background:#0061FE; color:#fff; border:1px solid #0061FE; } .sk-btn-blue:hover { background:#0050D0; }
.sk-btn-line { background:#fff; color:#0f1923; border:1px solid #0f1923; } .sk-btn-line:hover { background:#0f1923; color:#fff; }
@media (max-width:640px) {
  /* phones: compact card docked at the bottom, map stays visible above it */
  .sk-card { top:auto; bottom:8px; left:8px; right:8px; width:auto; max-height:62%; }
  .sk-card-in { display:grid; grid-template-columns:104px minmax(0,1fr); }
  .sk-card-img { aspect-ratio:auto; height:100%; min-height:104px; border-bottom:0; border-right:1px solid #0f1923; }
  .sk-card-img span { left:4px; bottom:4px; font-size:9.5px; padding:1px 5px; }
  .sk-card-b { padding:10px 40px 12px 12px; }
  .sk-card h3 { font-size:14px; }
  .sk-o { margin-bottom:6px; }
  .sk-kv div { padding:4px 0; font-size:12px; }
  .sk-note { grid-column:1 / -1; margin:0 0 8px; font-size:11px; padding:6px 8px; }
  .sk-acts { grid-template-columns:1fr 1fr; }
  .sk-btn { height:36px; font-size:12px; }
}

/* Site list rows (used by the Sites tab and the tour strip) */
.sk-row { display:grid; grid-template-columns:72px minmax(0,1fr); gap:11px; align-items:center; width:100%; padding:9px 18px; border:0; background:none; text-align:left; cursor:pointer; font-family:'Inter',sans-serif; transition:background .12s; }
.sk-row:hover, .sk-row.on { background:#f5f8ff; }
.sk-row img { width:72px; height:45px; object-fit:cover; display:block; border:1px solid #0f1923; }
.sk-row b { display:block; font-size:12.5px; font-weight:600; line-height:1.3; color:#0f1923; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sk-row small { display:block; margin-top:2px; font-size:11px; color:#6b7280; }
.sk-row.on b { color:#0061FE; }

/* browse bar at the top of the site card */
.sk-nav { display:flex; align-items:center; gap:8px; height:41px; padding:0 44px 0 8px; border-bottom:1px solid #0f1923; font:600 12px/1 'Inter',sans-serif; color:#0f1923; font-variant-numeric:tabular-nums; }
.sk-nav button { width:30px; height:28px; border:1px solid #0f1923; background:#fff; color:#0f1923; font:600 14px/1 'Inter',sans-serif; cursor:pointer; }
.sk-nav button:hover { background:#0061FE; border-color:#0061FE; color:#fff; }
.sk-nav span { flex:1; text-align:center; }
@media (max-width:640px) { .sk-nav { grid-column:1 / -1; } }

/* V3 "Zoom": one MapLibre map fills the map panel */
.mp-map { height:640px; min-height:0; background:#f5f4f1; }
@media (max-width:640px) { .mp-map { height:420px; } }
.mp-map > .sk { position:absolute; inset:0; z-index:0; background:#f5f4f1; }
.mp-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group { display:none; } /* the page's own zoom buttons are used */
.mp-total, .mp-legend, .mp-zoom, .v3-pill, .v3-jump { z-index:2; }
.mp-tip { z-index:5; } .mp-card-pop { z-index:6; }
.mp-zoom { bottom:30px; }
.mp-map.site-open .mp-legend, .mp-map.site-open .mp-total { display:none; }
.mp-map.site-open .mp-zoom, .mp-map.site-open .v3-jump { display:none; }

/* Map / Satellite pill: shows which layer you are on, jumps between them */
.v3-pill { position:absolute; top:12px; right:12px; display:flex; border:1px solid #0f1923; background:#fff; font-family:'Inter',sans-serif; }
.v3-pill button { border:0; background:#fff; color:#0f1923; font:600 12px/1 'Inter',sans-serif; padding:8px 12px; cursor:pointer; white-space:nowrap; max-width:220px; overflow:hidden; text-overflow:ellipsis; }
.v3-pill button + button { border-left:1px solid #0f1923; }
.v3-pill button[aria-pressed="true"] { background:#0061FE; color:#fff; }
.v3-pill button:not([aria-pressed="true"]):hover { background:#f5f8ff; }
.v3-hint { position:absolute; top:46px; right:12px; z-index:2; margin:0; padding:5px 8px; background:rgba(255,255,255,.94); border:1px solid #d9dce1; font:500 11px/1.3 'Inter',sans-serif; color:#4b5563; pointer-events:none; }
.mp-map.is-sat .v3-hint { display:none; }
.mp-map.site-open .v3-pill, .mp-map.site-open .v3-hint { display:none; }

/* AK / HI jumps */
.v3-jump { position:absolute; right:56px; bottom:30px; display:flex; flex-direction:column; border:1px solid #0f1923; background:#fff; }
.v3-jump button { width:34px; height:32px; border:0; background:#fff; font:700 10.5px/1 'Inter',sans-serif; color:#0f1923; cursor:pointer; }
.v3-jump button + button { border-top:1px solid #0f1923; }
.v3-jump button:hover { background:#f5f8ff; color:#0061FE; }
.mp-map.is-sat .mp-total { background:rgba(255,255,255,.96); }
@media (max-width:640px) {
  .v3-pill { top:auto; bottom:8px; right:auto; left:8px; }
  .v3-hint { display:none; }
  .mp-legend { display:none; }
  .mp-total { max-width:calc(100% - 16px); }
  .v3-jump { top:8px; right:8px; bottom:auto; flex-direction:row; }
  .v3-jump button + button { border-top:0; border-left:1px solid #0f1923; }
  .mp-zoom { bottom:30px; right:8px; }
  .mp-total { max-width:calc(100% - 100px); }
}

/* ── Full screen: whole map app as a fixed overlay (z below the site modals at 1000) ── */
html.v3-noscroll, html.v3-noscroll body { overflow:hidden; }
/* .mp-app is its own stacking context (z-index:1); lift it so later sections can't paint over the overlay */
html.v3-noscroll .mp-app { z-index:999; }
.mp-card.is-full { position:fixed; inset:0; z-index:999; display:flex; flex-direction:column; border:0; }
.mp-card.is-full .mp-grid { flex:1; min-height:0; grid-template-rows:minmax(0,1fr); }
.mp-card.is-full .mp-map { height:auto; }
.mp-card.is-full .mp-side { max-height:none; min-height:0; }
@media (max-width:960px) { .mp-card.is-full .mp-grid { grid-template-columns:minmax(0,1fr); } .mp-card.is-full .mp-side { display:none; } }
@media (max-width:640px) { .mp-card.is-full .mp-bar { display:none; } }

.v3-full { display:inline-flex !important; align-items:center; gap:6px; }
.v3-full svg { width:14px; height:14px; flex:none; }
.v3-full .out, .v3-full[aria-pressed="true"] .in { display:none; }
.v3-full[aria-pressed="true"] .out { display:block; }
.v3-pill .v3-full[aria-pressed="true"] { background:#0f1923; color:#fff; }
@media (max-width:640px) { .v3-full span { display:none; } }
/* keep Map / Satellite / Full screen reachable while a site card is open (desktop) */
@media (min-width:641px) { .mp-map.site-open .v3-pill { display:flex; right:324px; } }

/* ── "You are here" trail ── */
.v3-crumb { position:absolute; left:14px; top:56px; z-index:2; display:flex; align-items:center; gap:6px; max-width:calc(100% - 380px); background:#fff; border:1px solid #0f1923; padding:6px 10px; font:600 12px/1.2 'Inter',sans-serif; color:#0f1923; }
.v3-crumb[hidden] { display:none; }
.v3-crumb button { border:0; background:none; padding:0; font:inherit; color:#0061FE; cursor:pointer; white-space:nowrap; }
.v3-crumb button:hover { text-decoration:underline; text-underline-offset:2px; }
.v3-crumb i { font-style:normal; color:#9ca3af; }
.v3-crumb span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.mp-map.site-open .v3-crumb { top:12px; }
@media (max-width:640px) { .v3-crumb { top:48px; left:8px; max-width:calc(100% - 16px); } .mp-map.site-open .v3-crumb { top:8px; } }

/* legend: site dot */
.v3-leg-site { margin-top:5px; padding-top:5px; }
.mp-legend-b i.site { width:10px; height:10px; border-radius:99px; background:#0061FE; border:1.5px solid #fff; box-shadow:0 0 0 1px #0061FE; margin:0; }



/* legend dots (stage keys / news keys) */
.mp-legend-c i.dot { width:10px; height:10px; border-radius:99px; border:0; }
.mp-bar[hidden] { display:none; }
/* "Industry activity" button: swaps project dots for pulsing news dots */
.v3-newsbtn { display:inline-flex; align-items:center; gap:7px; border:1px solid #0f1923; background:#fff; color:#0f1923; font:600 12px/1 'Inter',sans-serif; padding:8px 12px; cursor:pointer; }
.v3-newsbtn i { width:8px; height:8px; border-radius:99px; background:#d97706; box-shadow:0 0 0 0 rgba(217,119,6,.5); animation:v3ping 1.8s ease-out infinite; }
.v3-newsbtn:hover { background:#f5f8ff; }
.v3-newsbtn[aria-pressed="true"] { background:#0f1923; color:#fff; }
@keyframes v3ping { 0% { box-shadow:0 0 0 0 rgba(217,119,6,.55); } 100% { box-shadow:0 0 0 7px rgba(217,119,6,0); } }
@media (prefers-reduced-motion:reduce) { .v3-newsbtn i { animation:none; } }

/* dots disclaimer under the map (matches the tracker's note) */
.v3-note { margin:10px 0 0; font:400 11.5px/1.5 'Inter',sans-serif; color:#6b7280; }

/* project dot card */
.v3-dm { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(15,25,35,.55); }
.v3-dm[hidden] { display:none; }
html.v3-dm-open { overflow:hidden; }
.v3-dm-card { position:relative; width:100%; max-width:460px; max-height:calc(100vh - 32px); overflow:auto; background:#fff; border:1px solid #0f1923; padding:22px 22px 20px; font-family:'Inter',sans-serif; color:#0f1923; }
.v3-dm-x { position:absolute; top:8px; right:10px; width:34px; height:34px; border:0; background:none; font-size:24px; line-height:1; color:#4b5563; cursor:pointer; }
.v3-dm-x:hover { color:#0f1923; }
.v3-dm-k { display:flex; align-items:center; gap:7px; margin:0 0 8px; font:700 11px/1 'Inter',sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#0061FE; }
.v3-dm-k i { width:10px; height:10px; border-radius:99px; }
.v3-dm-card h3 { margin:0 0 6px; font-size:21px; font-weight:800; letter-spacing:-.01em; }
.v3-dm-s { margin:0 0 14px; font-size:13.5px; line-height:1.55; color:#4b5563; }
.v3-dm-s b { color:#0f1923; font-variant-numeric:tabular-nums; }
.v3-dm-bar { display:flex; gap:1px; height:8px; margin:0 0 10px; }
.v3-dm-tb { width:100%; border-collapse:collapse; font-size:13px; font-variant-numeric:tabular-nums; }
.v3-dm-tb th { padding:0 0 6px; font:700 10px/1.3 'Inter',sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#6b7280; text-align:right; }
.v3-dm-tb th:first-child, .v3-dm-tb td:first-child { text-align:left; }
.v3-dm-tb td { padding:7px 0; border-top:1px solid #eceae5; text-align:right; color:#374151; }
.v3-dm-tb td:first-child { display:flex; align-items:center; gap:7px; }
.v3-dm-tb td i { width:8px; height:8px; border-radius:99px; flex:none; }
.v3-dm-tb tr.on td { background:#f5f8ff; color:#0f1923; font-weight:700; }
.v3-dm-tb tfoot td { border-top:1px solid #0f1923; font-weight:700; color:#0f1923; }
.v3-dm-n { margin:12px 0 0; font-size:12px; line-height:1.5; color:#6b7280; }
.v3-dm-acts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.v3-dm-acts .sk-btn { text-decoration:none; text-align:center; }
