:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
  margin: 0;
  background: #f4f7fb;
  color: #1f2937;
}

.container {
  max-width: 780px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
}

h1 {
  margin-bottom: 0.25rem;
}

.card {
  display: none;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
  padding: 1rem;
}

.card.active {
  display: block;
}

.card h2 {
  margin-top: 0;
}

.current-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.current-card-header h2 {
  margin-bottom: 0.5rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#exerciseSelect {
  width: 100%;
  padding: 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.helper-text {
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.start-btn,
.main-menu-btn,
.toggle-btn {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

.start-btn {
  min-width: 130px;
  padding: 0.7rem 1.1rem;
  text-transform: lowercase;
  border-radius: 4px;
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.start-btn:hover {
  background: #1d4ed8;
}

.main-menu-btn {
  margin-top: 0;
  padding: 0.5rem 0.9rem;
  background: #dbeafe;
  border-color: #1e40af;
  color: #1e3a8a;
}

.toggle-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 0.75rem;
  margin-top: 1rem;
}

.toggle-btn {
  width: 150px;
  height: 110px;
  padding: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.toggle-btn.label-mode {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

.toggle-btn.bite-mode {
  background: #fff;
  border-color: #9ca3af;
  color: #111827;
}

.toggle-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.microphone-wrap {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.microphone-btn {
  border: 1px solid #1e3a8a;
  border-radius: 8px;
  background: #e0e7ff;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

.microphone-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
}
