.brief h1 { font-size: clamp(3rem, 6.5vw, 5.4rem); }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
#brief-form, .brief-preview { padding: clamp(16px, 3vw, 30px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
#brief-form h2, .brief-preview h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: unset; }
#brief-progress { width: 100%; height: 6px; border: 0; accent-color: var(--accent); margin-bottom: 15px; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.brief legend, .brief-field { display: block; font-weight: 680; margin-bottom: 8px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choices.compact { display: flex; flex-wrap: wrap; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: block; background: #0c1423; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.choices input:checked + span { border-color: var(--accent); background: #16343d; color: var(--accent); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.brief input[type=email], .brief textarea { background: #0c1423; border: 1px solid #48627f; border-radius: 8px; padding: 11px; color: var(--text); font: inherit; width: 100%; }
.brief textarea { resize: vertical; }
.brief-preview dl { margin-bottom: 22px; }
.brief-preview dt { font-size: .85rem; color: var(--muted); }
.brief-preview dd { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
#preview-guidance { margin-bottom: 0; color: var(--accent); }
.brief button { cursor: pointer; font: inherit; }
.brief button.button { border: 1px solid transparent; font-weight: 800; }
.secondary { border: 1px solid var(--line); border-radius: 7px; padding: .72rem 1rem; background: transparent; color: var(--text); }
#brief-status:empty { display: none; }
#brief-status { color: var(--accent); margin-top: 12px; }
.brief-actions, .final-preview { margin-top: 18px; }
.final-preview { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #0c1423; }
.final-preview pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.brief [hidden] { display: none; }
@media(max-width: 760px) { .brief-grid { grid-template-columns: 1fr; } }
@media(max-width: 400px) { .choices { grid-template-columns: 1fr; } }
