.page { padding: 40px 20px; max-width: 820px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

label {
  display: block; font-size: 13px; font-weight: 600; color: #aaa;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}

.controls {
  background: #0d0d0d; border: 1px solid #262626; border-radius: 10px;
  padding: 18px; margin-bottom: 20px;
}
.row { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.row label { margin-bottom: 0; }
.row input[type="number"] {
  width: 100px; padding: 9px 12px; background: #141414; border: 1px solid #2a2a2a;
  color: #e1e1e1; border-radius: 6px; font-size: 14px; outline: none;
  font-family: 'SF Mono', Monaco, monospace;
}
.row input[type="number"]:focus { border-color: #ff4444; }

.btn {
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s; border: none; font-family: inherit;
}
.btn-primary { background: #cc0000; color: #fff; }
.btn-primary:hover { background: #ff1a1a; }

.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: #141414; border: 1px solid #262626; border-radius: 6px;
  cursor: pointer; font-size: 13px; color: #ccc; text-transform: none;
  letter-spacing: normal; margin-bottom: 0; font-weight: 500;
}
.toggle:hover { border-color: #444; }
.toggle input { accent-color: #ff4444; width: 15px; height: 15px; margin: 0; }

textarea {
  width: 100%; min-height: 280px; resize: vertical;
  background: #0a0a0a; border: 1px solid #2a2a2a; border-radius: 8px;
  color: #e1e1e1; font-size: 13px; padding: 14px; outline: none;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  line-height: 1.7;
}
textarea:focus { border-color: #ff4444; }

.stats { color: #666; font-size: 12px; font-family: 'SF Mono', Monaco, monospace; text-transform: none; letter-spacing: normal; font-weight: 500; display: block; }
.stats-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.small-actions { display: flex; gap: 6px; }
.small-btn {
  padding: 5px 12px; background: transparent; border: 1px solid #333;
  color: #aaa; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.15s;
  font-family: inherit;
}
.small-btn:hover { border-color: #ff4444; color: #fff; }

.info-card {
  margin-top: 24px; padding: 16px 20px;
  background: #0d0d0d; border: 1px solid #1f1f1f; border-radius: 10px;
}
.info-card h3 { color: #ccc; font-size: 14px; margin-bottom: 8px; font-weight: 600; text-transform: none; letter-spacing: normal; }
.info-card p { color: #888; font-size: 13px; line-height: 1.6; margin: 0; }
.info-card code { background: #1a1a1a; color: #ff4444; padding: 1px 6px; border-radius: 3px; font-size: 12px; font-family: 'SF Mono', Monaco, monospace; }

@media (max-width: 600px) {
  .row { flex-direction: column; align-items: stretch; }
  .row input[type="number"] { width: 100%; }
  .btn-primary { width: 100%; }
}
