* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f4f4;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  background: #111;
  z-index: 20;
}

.nav button {
  flex: 1;
  padding: 14px;
  color: #fff;
  background: none;
  border: none;
  font-size: 16px;
}

header.sticky {
  position: sticky;
  top: 48px;
  background: #fff;
  z-index: 10;
  border-bottom: 1px solid #ddd;
}

header .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.tabs {
  display: flex;
}

.tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #eee;
}

.tabs button.active {
  background: #ddd;
  font-weight: bold;
}

.card {
  background: #fff;
  margin: 8px;
  padding: 10px;
  border-radius: 6px;
}

.exercise-sets {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 8px;
}

.set {
  min-width: 120px;
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 4px;
}

.set .controls {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  gap: 6px;
}

.set input {
  width: 100%;
  padding: 6px;
  text-align: center;
  font-size: 16px;
}

.set button {
  flex: 1;
  padding: 8px;
  font-size: 16px;
}

/* Vorschlagswerte (Targets) visuell unterscheidbar */
.ghost {
  background: #fff4e5;
  border-color: #f0ad4e;
}

.ghost input {
  color: #9a9a9a; /* weniger gesättigt/grau */
  font-weight: 500;
}

.ghost input::placeholder {
  color: #bcbcbc;
}

.bottom-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 10px;
  border-top: 1px solid #ccc;
}

.bottom-bar button {
  width: 100%;
  padding: 14px;
  font-size: 18px;
}

/* Simple buttons / inputs in planning */
button {
  cursor: pointer;
}

input, select {
  border: 1px solid #ccc;
  border-radius: 4px;
}

.actions-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.actions-row button {
  flex: 1;
  padding: 12px;
}
