/* ---- Timezone picker ---- (split from styles.css) */
#tz-picker-panel {
  display: none;
  position: fixed;
  z-index: 1100;
  background: var(--surface-panel);
  border: 1px solid var(--surface-bar-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-panel);
  min-width: 190px;
  padding: 4px 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 300;
}

#tz-picker-panel.open {
  display: block;
}

.tz-picker-title {
  padding: 6px 12px 5px;
  font-weight: 600;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
}

.tz-picker-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  cursor: pointer;
  gap: 14px;
  transition: background .1s;
}

.tz-picker-option:hover {
  background: var(--tint-hover);
}

.tz-picker-option.selected {
  background: var(--tint-selected);
  font-weight: 500;
}

.tz-label {
  flex: 1;
}

.tz-abbr {
  color: var(--text-muted);
  font-size: 11px;
  font-family: monospace;
}

/* Dark mode */

body.dark-mode #tz-picker-panel {
  background: var(--surface-panel);
  border-color: var(--border);
  color: var(--text-primary);
}

body.dark-mode .tz-picker-title {
  color: var(--text-faint);
  border-bottom-color: var(--border);
}

body.dark-mode .tz-picker-option:hover {
  background: var(--tint-hover);
}

body.dark-mode .tz-picker-option.selected {
  background: var(--tint-selected);
}

body.dark-mode .tz-abbr {
  color: var(--text-muted);
}