/* BMSDock v10 UI 1.9.7 — Graph Shell Cleanup
   Owns Welcome, file loading, onboarding/start-guide and feature-card layout.
   Typography remains intentionally owned by start-typography.css. */

.welcome-overlay{
  position:absolute;
  inset:0;
  z-index:650;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:52px 18px 22px;
  color:#fff;
  text-align:center;
  background:rgba(18,26,32,.50);
  backdrop-filter:blur(13px) saturate(.9);
  -webkit-backdrop-filter:blur(13px) saturate(.9);
  overflow-y:auto;
  overflow-x:hidden;
}
.welcome-overlay.show{display:flex}
.map-card.welcome-active .right-tools{display:none!important}
.map-card.welcome-active #infoBtn,.map-card.welcome-active #donateBtn{display:none!important}
.welcome-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,14,20,.28),rgba(8,14,20,.08) 46%,rgba(8,14,20,.30));
  pointer-events:none;
}
.welcome-content{
  position:relative;
  z-index:1;
  width:min(520px,calc(100% - 34px));
  margin-top:4px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.welcome-logo{
  width:min(330px,100%);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 2px;
}
.welcome-logo-img{
  width:100%;
  max-width:330px;
  height:auto;
  display:block;
  object-fit:contain;
}
.welcome-mission{
  max-width:330px;
  color:rgba(255,255,255,.86);
  font-size:14px;
  line-height:1.28;
  font-weight:900;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.welcome-actions{
  width:min(330px,100%);
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:8px;
}
.welcome-demo-btn{
  min-height:48px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:rgba(19,27,35,.72);
  color:#fff;
  font-size:14px;
  font-weight:900;
  box-shadow:0 5px 18px rgba(0,0,0,.25);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.welcome-demo-btn:active{transform:scale(.97)}
.welcome-demo-btn.loading{opacity:.68;pointer-events:none}
.welcome-upload-btn{background:rgba(10,186,181,.86)}
.welcome-close{
  position:absolute;
  right:14px;
  top:14px;
  z-index:2;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(19,27,35,.72);
  color:#fff;
  font-size:28px;
  line-height:38px;
  font-weight:900;
  box-shadow:0 4px 16px rgba(0,0,0,.28);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.welcome-status{
  min-height:18px;
  color:rgba(255,255,255,.82);
  font-size:12px;
  font-weight:800;
}
@media (max-width:520px){.welcome-overlay{padding-top:48px}
.welcome-logo{font-size:38px}
.welcome-content{width:min(430px,calc(100% - 20px))}
.welcome-actions{gap:9px;width:min(320px,100%)}
.welcome-mission{font-size:13px}
.welcome-demo-btn{min-height:46px;font-size:13px;border-radius:15px}}
.welcome-feature-slider{margin-top:14px}
.feature-card{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:14px;padding:12px 14px;text-align:left;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.feature-title{font-weight: 400;font-size:15px}
.feature-desc{font-size:12px;color:#64748b;margin-top:3px}
.feature-icon{font-size:32px;line-height:1}
.feature-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.fdot{width:6px;height:6px;border-radius:50%;background:#cbd5e1}
.fdot.active{background:#3b82f6}
.stats-feature-panel{box-sizing:border-box;width:100%;min-height:100%;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.stats-feature-panel.hidden{display:none!important}
.stats-feature-panel:not(.hidden)+#stats{display:none!important}
.stats-feature-panel .feature-track{position:relative;min-height:92px}
.stats-feature-panel .feature-card{display:none;align-items:center;justify-content:space-between;gap:14px;min-height:92px;box-sizing:border-box;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(148,163,184,.28);border-radius:18px;padding:14px 16px;text-align:left;box-shadow:0 6px 18px rgba(15,23,42,.07)}
.stats-feature-panel .feature-card.active{display:flex}
.stats-feature-panel .feature-title{font-weight:800;font-size:17px;line-height:1.08;color:#0f172a;letter-spacing:-.02em}
.stats-feature-panel .feature-desc{font-size:12.5px;line-height:1.25;color:#64748b;margin-top:6px;max-width:210px}
.stats-feature-panel .feature-icon{flex:0 0 auto;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eef6ff;font-size:30px;line-height:1;box-shadow:inset 0 0 0 1px rgba(59,130,246,.12)}
.stats-feature-panel .feature-dots{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:2px}
.stats-feature-panel .fdot{width:6px;height:6px;border-radius:999px;border:0;padding:0;background:#cbd5e1;opacity:.75}
.stats-feature-panel .fdot.active{width:18px;background:#2563eb;opacity:1}
@media (max-width:420px){.stats-feature-panel{padding:10px}
.stats-feature-panel .feature-card{min-height:88px;padding:12px 14px;border-radius:16px}
.stats-feature-panel .feature-title{font-size:16px}
.stats-feature-panel .feature-desc{font-size:12px}
.stats-feature-panel .feature-icon{width:48px;height:48px;font-size:27px}}
.stats-feature-panel{
  box-sizing:border-box;
  width:100%;
  margin:8px 0 14px;
  padding:0;
  display:block;
  background:transparent;
}
.stats-feature-panel.hidden{
  display:none!important;
}
.stats-feature-panel .feature-track{
  position:relative;
  width:100%;
  min-height:118px;
  touch-action:pan-y;
  user-select:none;
}
.stats-feature-panel .feature-card{
  display:none;
  width:100%;
  min-height:118px;
  box-sizing:border-box;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid rgba(148,163,184,.26);
  box-shadow:0 8px 22px rgba(15,23,42,.08);
  text-align:left;
}
.stats-feature-panel .feature-card.active{
  display:flex;
}
.stats-feature-panel .feature-copy{
  min-width:0;
  flex:1 1 auto;
}
.stats-feature-panel .feature-title{
  margin:0;
  font-size:21px;
  line-height:1.05;
  font-weight:850;
  letter-spacing:-.035em;
  color:#0f172a;
}
.stats-feature-panel .feature-desc{
  margin:9px 0 0;
  max-width:250px;
  font-size:13.5px;
  line-height:1.3;
  font-weight: 400;
  color:#64748b;
}
.stats-feature-panel .feature-icon{
  flex:0 0 auto;
  width:70px;
  height:70px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef6ff;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.12);
  font-size:40px;
  line-height:1;
}
.stats-feature-panel .feature-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:10px 0 0;
}
.stats-feature-panel .fdot{
  width:6px;
  height:6px;
  border-radius:999px;
  border:0;
  padding:0;
  background:#cbd5e1;
  opacity:.8;
}
.stats-feature-panel .fdot.active{
  width:20px;
  background:#2563eb;
  opacity:1;
}
@media (max-width:420px){.stats-feature-panel{margin-top:7px;margin-bottom:12px;}
.stats-feature-panel .feature-track{min-height:108px;}
.stats-feature-panel .feature-card{min-height:108px;padding:15px 16px;border-radius:18px;}
.stats-feature-panel .feature-title{font-size:19px;}
.stats-feature-panel .feature-desc{font-size:12.5px;max-width:220px;}
.stats-feature-panel .feature-icon{width:60px;height:60px;border-radius:19px;font-size:34px;}
.stats-feature-panel .feature-dots{margin-top:8px;gap:6px;}}
.stats-feature-panel .feature-icon{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
@media (max-width:420px){.stats-feature-panel .feature-icon{
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
  }}
.start-guide-panel{
  display:none;
  box-sizing:border-box;
  min-height:230px;
  padding:16px 18px 10px;
}
.start-guide-panel.active{
  display:block;
}
.start-guide-tab{
  display:none;
  height:230px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  text-align:left;
}
.start-guide-tab.active{
  display:block;
}
.start-guide-tab h2{
  margin:2px 0 14px;
  text-align:center;
  font-size:20px;
  line-height:1.15;
  font-weight:850;
  letter-spacing:-.03em;
  color:#0f172a;
}
.start-guide-tab ol{
  margin:0;
  padding:0 0 0 22px;
  color:#475569;
  font-size:14px;
  line-height:1.55;
  font-weight:650;
}
.start-guide-tab li{
  margin:8px 0;
}
@media (max-width:420px){.start-guide-panel{min-height:220px;padding:14px 16px 8px;}
.start-guide-tab{height:220px;}
.start-guide-tab h2{font-size:18px;margin-bottom:12px;}
.start-guide-tab ol{font-size:13px;line-height:1.5;}
.start-guide-tab li{margin:7px 0;}}
.stats-feature-panel .feature-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;min-height:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.stats-feature-panel .feature-track::-webkit-scrollbar{display:none}
.stats-feature-panel .feature-card{display:flex!important;flex:0 0 100%;scroll-snap-align:start}
.stats-feature-panel .feature-track{
  display:flex!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  gap:12px;
  min-height:auto!important;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  cursor:grab;
  user-select:none;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
}
.stats-feature-panel .feature-track.dragging{
  cursor:grabbing;
  scroll-snap-type:none;
  scroll-behavior:auto;
}
.stats-feature-panel .feature-track::-webkit-scrollbar{display:none;}
.stats-feature-panel .feature-card{
  display:flex!important;
  flex:0 0 100%!important;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.stats-feature-panel .feature-icon{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
}
.stats-feature-panel .fdot{
  cursor:pointer;
  transition:width .18s ease, background-color .18s ease, opacity .18s ease;
}
.start-guide-support{
  height:260px;
  padding:0 2px 6px;
}
.start-guide-support h2{
  color:#0f172a;
}
.start-support-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0 auto;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  font-size:14px;
  font-weight:850;
  letter-spacing:-.01em;
  box-shadow:0 12px 24px rgba(22,163,74,.24);
  cursor:pointer;
}
.start-support-btn:active{transform:translateY(1px);}
@media (max-width:520px){.start-guide-support{height:260px;}}
.start-guide-support{
  text-align:center;
}
.start-guide-tab{
  scrollbar-gutter:stable;
}
.start-guide-support{
  box-sizing:border-box;
  padding-right:22px !important;
  padding-left:2px !important;
  scrollbar-gutter:stable;
}
.start-guide-support::-webkit-scrollbar{
  width:8px;
}
.start-guide-support::-webkit-scrollbar-track{
  background:transparent;
}
.start-guide-support::-webkit-scrollbar-thumb{
  background:rgba(100,116,139,.28);
  border-radius:999px;
}
.start-guide-support .support-lead,
.start-guide-support .support-note{
  max-width:min(700px, calc(100% - 10px));
}
.start-guide-support .support-grid{
  width:min(100%, 540px);
  margin-left:auto !important;
  margin-right:auto !important;
}
.start-guide-support .support-grid > div{
  box-sizing:border-box;
  max-width:520px;
}
@media (max-width:520px){.start-guide-support{
    padding-right:18px !important;
  }
.start-guide-support .support-grid{
    width:calc(100% - 2px);
  }}
.trip-chart-card.onboarding-mode .start-guide-panel{
  min-height:calc(var(--onboarding-tab-height) + 16px) !important;
  box-sizing:border-box;
}
.trip-chart-card.onboarding-mode .start-guide-tab{
  height:var(--onboarding-tab-height) !important;
  min-height:var(--onboarding-tab-height) !important;
  max-height:var(--onboarding-tab-height) !important;
  box-sizing:border-box;
  overflow-y:auto;
}
@media (max-width:520px){.trip-chart-card.onboarding-mode .start-guide-panel{
    min-height:calc(var(--onboarding-tab-height) + 14px) !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab{
    height:var(--onboarding-tab-height) !important;
    min-height:var(--onboarding-tab-height) !important;
    max-height:var(--onboarding-tab-height) !important;
  }}
.trip-chart-card.onboarding-mode .start-guide-panel{
  min-height: var(--onboarding-info-min-height) !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  padding: 22px 40px 20px !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab{
  min-height: calc(var(--onboarding-info-min-height) - 42px) !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  text-align: left !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab h2{
  text-align: left !important;
  margin: 0 0 22px !important;
  font-size: 28px !important;
  line-height: 1.12 !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab ol{
  text-align: left !important;
  margin: 0 !important;
  padding-left: 22px !important;
}
.trip-chart-card.onboarding-mode .start-guide-support{
  display: none;
  min-height: calc(var(--onboarding-info-min-height) - 42px) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  text-align: left !important;
}
.trip-chart-card.onboarding-mode .start-guide-support.active{
  display: block !important;
}
.start-guide-support .support-grid,
.start-guide-support .support-lead,
.start-guide-support .support-note{
  display: none !important;
}
.start-guide-support .support-text-flow{
  max-width: 820px !important;
  margin: 0 0 22px !important;
  color: #475569 !important;
  font-size: 18px !important;
  line-height: 1.42 !important;
  font-weight: 650 !important;
  text-align: left !important;
}
.start-guide-support .support-text-flow p{
  margin: 0 0 16px !important;
}
.start-guide-support .support-text-flow p:last-child{
  margin-bottom: 0 !important;
}
.start-guide-support .support-text-flow strong{
  color: #0f172a !important;
  font-weight: 850 !important;
}
.start-guide-support .start-support-btn{
  margin: 22px auto 0 !important;
  min-height: 52px !important;
  padding: 0 36px !important;
  font-size: 20px !important;
}
@media (max-width: 760px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding: 20px 28px 20px !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab h2{
    font-size: 24px !important;
  }
.start-guide-support .support-text-flow{
    font-size: 16px !important;
    line-height: 1.42 !important;
  }
.start-guide-support .start-support-btn{
    font-size: 18px !important;
    min-height: 48px !important;
  }}
@media (max-width: 520px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding: 18px 18px 18px !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab h2{
    font-size: 22px !important;
    margin-bottom: 16px !important;
  }
.start-guide-support .support-text-flow{
    font-size: 14px !important;
    line-height: 1.38 !important;
  }
.start-guide-support .support-text-flow p{
    margin-bottom: 12px !important;
  }
.start-guide-support .start-support-btn{
    width: min(100%, 300px) !important;
    font-size: 15px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
  }}
.trip-chart-card.onboarding-mode .start-guide-panel{
  height: var(--onboarding-info-height) !important;
  min-height: var(--onboarding-info-height) !important;
  max-height: var(--onboarding-info-height) !important;
  box-sizing: border-box !important;
  padding: 20px 36px 18px !important;
  overflow: visible !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab,
.trip-chart-card.onboarding-mode .start-guide-support{
  height: calc(var(--onboarding-info-height) - 38px) !important;
  min-height: calc(var(--onboarding-info-height) - 38px) !important;
  max-height: calc(var(--onboarding-info-height) - 38px) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  text-align: left !important;
  padding: 0 !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab h2,
.trip-chart-card.onboarding-mode .start-guide-support h2{
  text-align: left !important;
  margin: 0 0 14px !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 720 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab ol{
  margin: 0 !important;
  padding-left: 22px !important;
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab li{
  margin: 8px 0 !important;
}
.start-guide-support .support-text-flow{
  max-width: 820px !important;
  margin: 0 0 18px !important;
  color: #475569 !important;
  font-size: 14.5px !important;
  line-height: 1.48 !important;
  font-weight: 560 !important;
  text-align: left !important;
}
.start-guide-support .support-text-flow p{
  margin: 0 0 12px !important;
}
.start-guide-support .support-text-flow p:last-child{
  margin-bottom: 0 !important;
}
.start-guide-support .support-text-flow strong{
  color: #0f172a !important;
  font-weight: 720 !important;
}
.start-guide-support .start-support-btn{
  margin: 18px auto 0 !important;
  min-height: 44px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
@media (max-width: 760px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding: 18px 26px 18px !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab h2,
  .trip-chart-card.onboarding-mode .start-guide-support h2{
    font-size: 21px !important;
    margin-bottom: 13px !important;
  }
.start-guide-support .support-text-flow{
    font-size: 14px !important;
    line-height: 1.46 !important;
  }}
@media (max-width: 520px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding: 16px 18px 16px !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab,
  .trip-chart-card.onboarding-mode .start-guide-support{
    height: calc(var(--onboarding-info-height) - 32px) !important;
    min-height: calc(var(--onboarding-info-height) - 32px) !important;
    max-height: calc(var(--onboarding-info-height) - 32px) !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab h2,
  .trip-chart-card.onboarding-mode .start-guide-support h2{
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
.trip-chart-card.onboarding-mode .start-guide-tab ol{
    font-size: 13px !important;
    line-height: 1.46 !important;
  }
.start-guide-support .support-text-flow{
    font-size: 13px !important;
    line-height: 1.42 !important;
    margin-bottom: 14px !important;
  }
.start-guide-support .support-text-flow p{
    margin-bottom: 10px !important;
  }
.start-guide-support .start-support-btn{
    width: min(100%, 300px) !important;
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
  }}
.stats-feature-panel{
  position:relative !important;
  box-sizing:border-box !important;
  width:100% !important;
  margin:8px 0 14px !important;
  padding:0 !important;
  border:1px solid rgba(148,163,184,.34) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 10px 24px rgba(15,23,42,.07) !important;
  overflow:hidden !important;
}
.stats-feature-panel .feature-track{
  position:relative !important;
  width:100% !important;
  min-height:148px !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory !important;
  scroll-behavior:smooth !important;
  -webkit-overflow-scrolling:touch !important;
  touch-action:pan-y !important;
  user-select:none !important;
  border-radius:inherit !important;
}
.stats-feature-panel .feature-track::-webkit-scrollbar{display:none !important;}
.stats-feature-panel .feature-track{scrollbar-width:none !important;}
.stats-feature-panel .feature-card,
.stats-feature-panel .feature-card.active{
  display:flex !important;
  flex:0 0 100% !important;
  width:100% !important;
  min-width:100% !important;
  min-height:148px !important;
  box-sizing:border-box !important;
  scroll-snap-align:start !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:22px 24px 40px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-align:left !important;
  overflow:hidden !important;
}
.stats-feature-panel .feature-card:nth-child(4n/**/+1){background:linear-gradient(135deg,#f0fdf4 0%,#eff6ff 58%,#ffffff 100%) !important;}
.stats-feature-panel .feature-card:nth-child(4n/**/+2){background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 55%,#ffffff 100%) !important;}
.stats-feature-panel .feature-card:nth-child(4n/**/+3){background:linear-gradient(135deg,#fff7ed 0%,#f8fafc 55%,#ffffff 100%) !important;}
.stats-feature-panel .feature-card:nth-child(4n/**/+4){background:linear-gradient(135deg,#f5f3ff 0%,#f8fafc 55%,#ffffff 100%) !important;}
.stats-feature-panel .feature-copy{
  min-width:0 !important;
  flex:1 1 auto !important;
}
.stats-feature-panel .feature-title{
  margin:0 !important;
  font-size:22px !important;
  line-height:1.06 !important;
  font-weight:850 !important;
  letter-spacing:-.035em !important;
  color:#0f172a !important;
}
.stats-feature-panel .feature-desc{
  margin:9px 0 0 !important;
  max-width:420px !important;
  font-size:13.5px !important;
  line-height:1.35 !important;
  font-weight:600 !important;
  color:#64748b !important;
}
.stats-feature-panel .feature-icon{
  flex:0 0 auto !important;
  width:82px !important;
  height:82px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:48px !important;
  line-height:1 !important;
  opacity:.96 !important;
}
.stats-feature-panel .feature-dots{
  position:absolute !important;
  left:50% !important;
  bottom:10px !important;
  transform:translateX(-50%) !important;
  z-index:5 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  height:18px !important;
  min-width:88px !important;
  width:auto !important;
  margin:0 !important;
  padding:3px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(148,163,184,.38) !important;
  background:rgba(255,255,255,.72) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
  box-shadow:0 4px 12px rgba(15,23,42,.08) !important;
}
.stats-feature-panel .fdot{
  width:6px !important;
  height:6px !important;
  border-radius:999px !important;
  border:0 !important;
  padding:0 !important;
  background:rgba(100,116,139,.38) !important;
  opacity:1 !important;
  transition:width .22s ease, background .22s ease, opacity .22s ease !important;
  cursor:pointer !important;
}
.stats-feature-panel .fdot.active{
  width:34px !important;
  background:#0f172a !important;
  opacity:.9 !important;
}
@media (max-width:520px){.stats-feature-panel{border-radius:20px !important;margin:7px 0 12px !important;}
.stats-feature-panel .feature-track{min-height:136px !important;}
.stats-feature-panel .feature-card,
  .stats-feature-panel .feature-card.active{min-height:136px !important;padding:18px 18px 38px !important;gap:12px !important;}
.stats-feature-panel .feature-title{font-size:19px !important;}
.stats-feature-panel .feature-desc{font-size:12.5px !important;max-width:260px !important;}
.stats-feature-panel .feature-icon{width:58px !important;height:58px !important;font-size:34px !important;}
.stats-feature-panel .feature-dots{bottom:9px !important;min-width:78px !important;height:17px !important;gap:7px !important;}
.stats-feature-panel .fdot.active{width:28px !important;}}
.stats-feature-panel .feature-dots{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  padding:0 !important;
  min-width:0 !important;
  height:auto !important;
  opacity:.5 !important;
  transition:opacity .18s ease !important;
}
.stats-feature-panel.feature-interacting .feature-dots,
.stats-feature-panel:hover .feature-dots{
  opacity:1 !important;
}
.stats-feature-panel .fdot{
  background:rgba(15,23,42,.34) !important;
  opacity:1 !important;
}
.stats-feature-panel .fdot.active{
  background:#0f172a !important;
  opacity:1 !important;
}
.welcome-logo-img{margin-top:-18px !important;}
.stats-feature-panel .feature-track.dragging{
  scroll-snap-type:none !important;
  scroll-behavior:auto !important;
}
.stats-feature-panel .feature-track.drag-ready,
.stats-feature-panel .feature-track.dragging{
  cursor:grabbing !important;
}
.stats-feature-panel .feature-track{
  min-height:126px !important;
}
.stats-feature-panel .feature-card,
.stats-feature-panel .feature-card.active{
  min-height:126px !important;
  align-items:flex-start !important;
  padding:22px 24px 42px !important;
  gap:16px !important;
}
.stats-feature-panel .feature-copy{
  padding-top:0 !important;
  align-self:flex-start !important;
}
.stats-feature-panel .feature-title{
  font-size:21px !important;
  line-height:1.08 !important;
}
.stats-feature-panel .feature-desc{
  margin-top:12px !important;
  font-size:14px !important;
  line-height:1.32 !important;
}
.stats-feature-panel .feature-icon{
  align-self:flex-start !important;
  width:62px !important;
  height:62px !important;
  font-size:42px !important;
  margin-top:0 !important;
}
.stats-feature-panel .feature-dots{
  bottom:16px !important;
  opacity:.72 !important;
}
@media (max-width:520px){.stats-feature-panel .feature-track{min-height:118px !important;}
.stats-feature-panel .feature-card,
  .stats-feature-panel .feature-card.active{min-height:118px !important;padding:18px 18px 38px !important;gap:12px !important;}
.stats-feature-panel .feature-title{font-size:19px !important;line-height:1.08 !important;}
.stats-feature-panel .feature-desc{margin-top:10px !important;font-size:12.5px !important;line-height:1.3 !important;}
.stats-feature-panel .feature-icon{width:52px !important;height:52px !important;font-size:32px !important;}
.stats-feature-panel .feature-dots{bottom:13px !important;}}
.trip-chart-card.onboarding-mode .start-guide-panel{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:20px 36px 0 !important;
  overflow:visible !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab,
.trip-chart-card.onboarding-mode .start-guide-support{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
@media (max-width:760px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding:18px 26px 0 !important;
  }}
@media (max-width:520px){.trip-chart-card.onboarding-mode .start-guide-panel{
    padding:16px 18px 0 !important;
  }}
.trip-chart-card.onboarding-mode .start-guide-panel{
  box-sizing:border-box !important;
  height:var(--bms-support-panel-height) !important;
  min-height:var(--bms-support-panel-height) !important;
  max-height:var(--bms-support-panel-height) !important;
  overflow:hidden !important;
}
.trip-chart-card.onboarding-mode .start-guide-tab,
.trip-chart-card.onboarding-mode .start-guide-support{
  box-sizing:border-box !important;
  height:100% !important;
  min-height:100% !important;
  max-height:100% !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
.trip-chart-card.onboarding-mode.bms-measuring-support .start-guide-panel{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.trip-chart-card.onboarding-mode.bms-measuring-support .start-guide-support{
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.file-loading-panel{
  box-sizing:border-box;
  width:calc(100% - 12px);
  height:24px;
  min-height:24px;
  max-height:24px;
  margin:0 auto 10px;
  padding:4px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.file-loading-track{
  position:relative;
  width:100%;
  height:16px;
  overflow:hidden;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  box-shadow:none;
  opacity:0;
  transition:opacity .12s ease, background-color .12s ease, border-color .12s ease;
}
.file-loading-panel.is-active .file-loading-track{
  opacity:1;
  border-color:rgba(233,201,58,.62);
  background:#f7edbd;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.22),0 3px 10px rgba(0,0,0,.14);
}
.file-loading-bar{
  position:absolute;
  inset:0 auto 0 0;
  z-index:1;
  display:block;
  width:0%;
  height:100%;
  border-radius:inherit;
  background:#E9C93A;
  transition:width .16s ease;
}
.file-loading-text{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:0 12px;
  overflow:hidden;
  color:#201600;
  font-size:12px;
  line-height:16px;
  font-weight:400;
  white-space:nowrap;
  text-overflow:ellipsis;
  text-align:center;
  text-shadow:0 1px 0 rgba(255,255,255,.38);
  pointer-events:none;
}
.file-loading-panel.is-indeterminate .file-loading-bar{
  width:42%!important;
  animation:bmsFileLoadingIndeterminate 1.1s ease-in-out infinite;
}
.file-loading-panel.is-error .file-loading-bar{background:#ef4444}
.file-loading-panel.is-complete .file-loading-bar{background:#E9C93A}
@media (prefers-reduced-motion:reduce){.file-loading-panel.is-indeterminate .file-loading-bar{animation:none}}
@media (max-width:520px){.file-loading-panel{margin-bottom:9px;}}
.map-card.welcome-active .file-loading-panel{
  flex:0 0 24px;
}
.stats-feature-panel .feature-track{
  width:100% !important;
  max-width:100% !important;
  contain:layout paint !important;
  overscroll-behavior-x:contain !important;
  scroll-snap-type:x mandatory !important;
  scroll-padding:0 !important;
  touch-action:pan-x pan-y !important;
}
.stats-feature-panel .feature-card,
.stats-feature-panel .feature-card.active{
  flex:0 0 100% !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  scroll-snap-align:start !important;
  scroll-snap-stop:always !important;
  contain:layout paint !important;
  transform:none !important;
}
.stats-feature-panel .feature-copy,
.stats-feature-panel .feature-icon{
  transform:none !important;
}
@media (max-width:520px){.welcome-content{
    gap:10px !important;
  }
.welcome-actions{
    margin-top:5px !important;
  }}
.map-card.welcome-active .welcome-content,
.map-card.welcome-active .start-language-switch,
.map-card.welcome-active .welcome-close,
.map-card.welcome-active .welcome-actions,
.map-card.welcome-active .file-loading-panel{
  pointer-events:auto !important;
}
.stats-feature-panel,
.trip-chart-card.onboarding-mode{
  position:relative !important;
  z-index:120010 !important;
}
body:has(.map-card.welcome-active) .stats-feature-panel,
body:has(.map-card.welcome-active) .trip-chart-card.onboarding-mode{
  isolation:isolate;
}
.map-card.welcome-active{
  position:relative !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  z-index:auto !important;
}
.map-card.welcome-active #map{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
}
.map-card.welcome-active .welcome-overlay{
  position:relative !important;
  inset:auto !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  overflow:visible !important;
  pointer-events:auto !important;
  z-index:120000 !important;
  overscroll-behavior:contain !important;
  scroll-padding-bottom:max(28px,calc(env(safe-area-inset-bottom) + 20px));
  padding:
    max(52px, calc(env(safe-area-inset-top) + 28px))
    18px
    max(30px, calc(env(safe-area-inset-bottom) + 18px)) !important;
}
.map-card.welcome-active .welcome-content{
  pointer-events:auto !important;
  flex:0 1 auto !important;
  padding-bottom:4px;
}
.map-card.welcome-active .welcome-actions{
  flex:0 0 auto;
}
.map-card.welcome-active .welcome-overlay::before{
  position:absolute !important;
  inset:0 !important;
}
body:has(.map-card.welcome-active) .sheet{
  margin-top:0 !important;
  border-radius:0 !important;
}
body:has(.map-card.welcome-active) .stats-feature-panel,
body:has(.map-card.welcome-active) .trip-chart-card.onboarding-mode{
  position:relative !important;
  z-index:auto !important;
  isolation:auto !important;
}
@media (max-width:520px){.map-card.welcome-active{
    height:auto !important;
    min-height:0 !important;
  }
.map-card.welcome-active .welcome-overlay{
    padding-top:max(48px, calc(env(safe-area-inset-top) + 24px)) !important;
    padding-bottom:max(24px, calc(env(safe-area-inset-bottom) + 16px)) !important;
  }}
.map-card.welcome-active .welcome-overlay{
  padding-bottom:0 !important;
}
.map-card.welcome-active .file-loading-panel{
  flex:0 0 24px !important;
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  margin:0 auto !important;
  padding:4px 0 !important;
}
.map-card.welcome-active .welcome-status:empty{
  display:none !important;
}
@media (max-width:520px){.map-card.welcome-active .welcome-overlay{
    padding-bottom:0 !important;
  }
.map-card.welcome-active .file-loading-panel{
    margin:0 auto !important;
  }}
.stats-feature-panel .feature-icon{
  width:92px !important;
  height:92px !important;
  overflow:visible !important;
}
.stats-feature-panel .feature-icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}
@media (max-width:420px){.stats-feature-panel .feature-icon{width:76px !important;height:76px !important;}}
.stats-feature-panel .feature-icon{
  width:76px !important;
  height:76px !important;
  flex:0 0 76px !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.stats-feature-panel .feature-icon img{
  display:block !important;
  width:76px !important;
  height:76px !important;
  max-width:76px !important;
  object-fit:contain !important;
}
@media (max-width:420px){.stats-feature-panel .feature-icon{width:76px !important;height:76px !important;flex-basis:76px !important;}
.stats-feature-panel .feature-icon img{width:76px !important;height:76px !important;max-width:76px !important;}}
