.comparison-grid {
  padding: 40px clamp(22px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.comparison-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px;
}
.comparison-grid blockquote { font-size: 20px; white-space: normal; }
.comparison-grid small { overflow-wrap: anywhere; }
.editor-form { padding: 40px clamp(22px, 8vw, 120px); max-width: 1000px; }
.editor-form form { display: grid; gap: 10px; }
.editor-form input, .editor-form select, .editor-form textarea {
  width: 100%; padding: 10px; border: 1px solid var(--line);
}
.editor-form button {
  background: var(--green); color: white; border: 0; padding: 14px 20px; font-weight: bold;
}
@media (max-width: 760px) { .comparison-grid { grid-template-columns: 1fr; } }
/* R6A keeps the query/result surface restrained and text-first. */
.research-query-page{max-width:1120px;margin:0 auto;padding:clamp(1rem,3vw,2.5rem)}
.research-question-form{display:grid;gap:.7rem;max-width:860px;margin:1.5rem 0 2.5rem}
.research-question-form textarea{width:100%;box-sizing:border-box;padding:1rem;border:1px solid var(--line,#cfc8ba);border-radius:.35rem;font:inherit;line-height:1.5;resize:vertical}
.research-question-form button{justify-self:start}
.research-contract{display:grid;gap:1rem}
.result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.research-result-section{border-top:1px solid var(--line,#d8d1c5);padding-top:1rem}
.research-result-section h3{margin-top:0}
.research-passage-row,.research-evidence-row{padding:.8rem 0;border-bottom:1px solid var(--line,#e2ddd4)}
.research-evidence-row summary{display:flex;justify-content:space-between;gap:1rem;cursor:pointer}
.research-evidence-row summary small{font-weight:normal;text-align:right}
.research-evidence-row blockquote{margin:1rem 0;padding:.7rem 1rem;border-left:3px solid currentColor;white-space:normal}
.comparison-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.comparison-groups article{padding:.5rem 0}
.uncertainty,.empty-evidence{color:#7a3d20}
.evidence-policy{font-size:.92rem;color:var(--muted,#665f55)}
.grounded-answer{margin:2rem 0;padding:clamp(1rem,2vw,1.5rem);border:1px solid var(--line,#d8d1c5);background:rgba(255,255,255,.45)}
.answer-thesis{font-size:1.2rem;line-height:1.6;font-weight:600}
.answer-synthesis{font-size:1.05rem;line-height:1.75;margin:1rem 0}
.answer-reading,.answer-claim{padding:.75rem 0;border-bottom:1px solid var(--line,#e2ddd4)}
.answer-claim summary{display:flex;justify-content:space-between;gap:1rem;cursor:pointer}
.answer-claim summary small{font-weight:normal;text-align:right}
@media(max-width:520px){.research-evidence-row summary{display:block}.research-evidence-row summary small{display:block;margin-top:.35rem;text-align:left}.result-heading{display:block}}
