* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: transparent;
}

.container {
  padding: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  padding: 1rem;
}

.card-sm {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 0.75rem;
}

.mb-6 { margin-bottom: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.label-sm {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #334155;
}

.text-muted {
  font-size: 0.75rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

.time-display {
  font-size: 0.875rem;
  color: #374151;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 92px;
  text-align: right;
}

.range-input {
  width: 100%;
  accent-color: #3b82f6;
}

.number-input {
  width: 110px;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.chart-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.chart-container-wide {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #334155;
}

.command-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.command-output {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  background: #1e293b;
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.copy-button {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-button:hover {
  background: #2563eb;
}

.copy-button:active {
  background: #1d4ed8;
}

