/* Recipe Scaler — tool-specific styles */
.rs-controls { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin-bottom: 22px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rs-factor-field { max-width: 110px; }
.rs-presets { display: flex; gap: 8px; }
.rs-preset { font-family: inherit; font-weight: 700; font-size: .85rem; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: all .15s; }
.rs-preset:hover { color: var(--text); border-color: var(--accent); }
.rs-preset.active { background: var(--accent-grad); color: #0b0e1c; border-color: transparent; }
.rs-servings { display: flex; align-items: flex-end; gap: 10px; }
.rs-servings .field { max-width: 120px; }
.rs-arrow { color: var(--muted-2); padding-bottom: 12px; }

.rs-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rs-label { font-size: .82rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 8px; }
.rs-textarea { width: 100%; min-height: 260px; resize: vertical; background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem;
  line-height: 1.7; font-family: inherit; }
.rs-textarea:focus { outline: none; border-color: var(--accent); }
.rs-output { width: 100%; min-height: 260px; background: var(--bg-soft); border: 1px solid rgba(108,139,255,.35);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; line-height: 1.7; font-family: inherit;
  white-space: pre-wrap; word-break: break-word; margin: 0 0 12px; color: var(--text); }
.rs-output .rs-changed { color: var(--accent-2); font-weight: 700; }

@media (max-width: 760px) { .rs-panes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rs-controls { gap: 16px; } }
