:root {
  --bg: #fafafa;
  --fg: #222;
  --border: #ddd;
  --accent: #0077cc;
  --radius: 6px;
  --space: 1rem;
  --nav-size: 60px;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  height: 100vh;
}

h1, h2 {
  margin-top: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1.4rem;
  padding: 0.5rem;
}

button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.hidden {
  display: none;
}

#app-version {
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.hint {
  font-size: 0.75rem;
  opacity: 0.6;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.edit-banner {
  background: #fffae6;
  border-left: 4px solid #e0a800;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

#test-chart {
  height: 300px !important;
  position: relative;
  max-height: 300px;
}

#view-charts {
  height: 300px;
  position: relative;
}

