html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #111;
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
.visualization-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
}
#cesiumContainer { width: 100%; height: 100%; }
.toolbar {
  position: absolute; top: 16px; left: 16px; z-index: 10;
  min-width: 190px; padding: 12px 14px; border-radius: 4px;
  background: rgba(30,30,30,.88); color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
}
.toolbar-title { margin: 0 0 8px; font-weight: 700; }
.layer-control { display: block; margin: 6px 0; white-space: nowrap; cursor: pointer; }
.layer-control input { margin: 0 7px 0 0; vertical-align: middle; }
@media (max-width: 767px) {
  .visualization-shell {
    height: 100dvh;
    min-height: 480px;
  }
  .toolbar {
    top: 10px; left: 10px; min-width: 170px;
    max-width: calc(100% - 20px);
  }
}

#explorationToast {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 8px);
  z-index: 20;
  padding: 9px 14px;
  border-radius: 4px;
  background: rgba(25, 25, 25, 0.88);
  color: #fff;
  font: 14px/1.2 Arial, sans-serif;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}
#explorationToast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* Welcome / loading / core-error panel */
.welcome-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.68);
  backdrop-filter: blur(3px);
  transition: opacity 180ms ease, visibility 180ms ease;
}
.welcome-overlay.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.welcome-card {
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 6px;
  background: rgba(28, 28, 28, 0.97);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.38);
}
.welcome-logo {
  display: block;
  max-width: 190px;
  max-height: 64px;
  margin: 0 0 22px;
}
.welcome-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
}
.welcome-intro {
  margin: 0 0 22px;
  color: rgba(255,255,255,.84);
  line-height: 1.45;
}
.welcome-help {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}
.welcome-help-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.welcome-help-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.welcome-help-item h2 {
  margin: 1px 0 4px;
  font-size: 15px;
  line-height: 1.2;
}
.welcome-help-item p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.4;
}
.welcome-status {
  min-height: 20px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.welcome-status.is-error {
  color: #fff;
  line-height: 1.4;
}
.welcome-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.welcome-button:disabled {
  cursor: wait;
  opacity: .45;
}
.layer-control.is-unavailable {
  opacity: .45;
  cursor: not-allowed;
}
.layer-control.is-unavailable input {
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .welcome-overlay { padding: 14px; }
  .welcome-card {
    max-height: calc(100dvh - 28px);
    padding: 22px 20px;
  }
  .welcome-title { font-size: 23px; }
}
