html, body {
  height: 100%;
  margin: 0;
  font-size: 9px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#app {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#map {
  height: 100%;
  width: 100%;
  font-size: 9px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.panel {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: 310px;
  width: calc(70% - 24px);
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 10px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.panelHeader {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.title {
  font-weight: 700;
  font-size: 13px;
}

.meta {
  display: none;
}

.panelActions {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.panelActions button {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.18);
  background: white;
  cursor: pointer;
}

.panelActions button:hover {
  background: rgba(0,0,0,0.04);
}

#layerList {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.layerRow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

.layerRow:last-child {
  border-bottom: none;
}

.layerRow input[type="radio"] {
  width: 14px;
  height: 14px;
  transform: scale(0.95);
}

.layerRow input[type="checkbox"] {
  width: 14px;
  height: 14px;
  transform: scale(0.95);
}

.layerRow .label {
  font-size: 12px;
  flex: 1;
}

.layerRow .id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  opacity: 0.7;
}

.hint {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

.error {
  margin-top: 8px;
  font-size: 12px;
  color: #b00020;
  white-space: pre-wrap;
}

.timeline {
  position: absolute;
  font-size: 12px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: calc(100% - 24px);
  max-width: 420px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 12px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.timeline input[type="range"] {
  width: 100%;
}

.tlLegend {
  font-size: 12px;
  font-weight: 600;
}

.legal {
  right: 0;
  font-size: 10px;
}

