:root {
  color-scheme: light dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #1f2933;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
}

.practice-session {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 24px;
  max-width: 420px;
  width: min(92vw, 420px);
}

.practice-session h1 {
  margin-top: 0;
  font-size: 1.75rem;
  text-align: center;
}

.practice-session p {
  margin: 0 0 12px;
}

.practice-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.field-label {
  font-weight: 600;
}

.field input {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.field input:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
}

.helper {
  color: #64748b;
  font-size: 0.8rem;
}

.controls-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.controls-row button {
  padding: 10px 12px;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  background-color: #e2e8f0;
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.controls-row button.primary {
  grid-column: span 2;
  background-color: #0ea5e9;
  color: #ffffff;
}

.controls-row button:hover,
.controls-row button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.15);
}

.status {
  font-weight: 600;
  text-align: center;
}

.tempo-readout,
.increment-readout {
  font-size: 1.1rem;
  text-align: center;
  font-weight: 500;
}

.tempo-details {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 16px;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .practice-session {
    border-radius: 0;
    height: 100vh;
    max-width: none;
  }
}
