.lead { color: var(--text-2); max-width: 66ch; line-height: 1.55; }
.field { margin: 10px 0; }
.field > span { display: flex; justify-content: space-between; align-items: baseline; }
textarea { font-family: var(--mono); font-size: .86rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 12px 0; }
.opt { font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.opt input[type=number] { width: 78px; }
.opt input[type=text] { width: 150px; }
.actions { display: flex; gap: 16px; align-items: center; margin: 10px 0; }
.out { width: 100%; overflow-x: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; font-family: var(--mono); font-size: .82rem; white-space: pre; min-height: 120px; }
.note { font-size: .82rem; color: var(--text-2); min-height: 1.2em; }
.note.bad { color: var(--bad); }
.note.ok { color: var(--ok); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cols textarea { min-height: 200px; width: 100%; }
@media (max-width: 640px) { .cols { grid-template-columns: 1fr; } }
.cm-swatch { display: flex; gap: 14px; align-items: center; margin: 12px 0; }
.cm-big { width: 120px; height: 72px; border-radius: var(--radius); border: 1px solid var(--line); }
.cm-info { font-family: var(--mono); font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.cm-scale { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cm-chip { width: 84px; height: 52px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; display: flex; align-items: flex-end; padding: 3px; }
.cm-chip span { font-size: .62rem; background: rgba(255,255,255,.82); color: #111; padding: 0 3px; border-radius: 3px; }
