.question-workspace { --qw-rust: #c8461f; --qw-border: #d9d4cb; }
.question-workspace *, .question-workspace *::before, .question-workspace *::after { box-sizing: border-box; }
.question-workspace h1 { max-width: 850px; }
.question-workspace h2, .question-workspace h3 { margin-top: 0; }
.question-workspace .page-head { align-items: flex-start; gap: 18px; }
.question-workspace .page-head > .button { flex-shrink: 0; }
.qw-context, .qw-section-head, .qw-persona-top, .qw-persona-actions, .qw-save-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qw-context { border-top: 1px solid var(--qw-border); padding-top: 18px; font-size: 13px; }
.qw-saved-label { margin-left: auto; color: #625d54; }
.qw-notice, .qw-explanation { color: #625d54; font-size: 13px; line-height: 1.6; }
.qw-notice { margin: 10px 0 0; }
.qw-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; font-size: 13px; }
.qw-shortcuts .button { border-color: var(--qw-border); background: transparent; }
.qw-personas h2, .qw-question-section h2, .qw-persona-editor h2 { scroll-margin-top: 100px; }
.qw-status { min-height: 24px; margin: 8px 0 20px; color: #365d3a; font-size: 14px; }
.qw-status.is-error { color: #a33120; }
.qw-section-head { justify-content: space-between; margin-bottom: 12px; }
.qw-section-head h2 { margin-bottom: 0; font-size: 24px; }
.qw-section-head .eyebrow { margin: 0 0 7px; }
.qw-personas { margin: 0 0 30px; }
.qw-persona-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.qw-persona-grid:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.qw-persona-grid > .qw-persona { display: flex; flex-direction: column; padding: 22px; margin: 0; min-width: 0; border: 1px solid var(--qw-border); }
.qw-persona.is-selected { border-color: var(--qw-rust); box-shadow: inset 0 3px 0 var(--qw-rust); }
.qw-persona-top { justify-content: space-between; font-size: 12px; margin-bottom: 15px; }
.qw-persona h3 { font-size: 21px; line-height: 1.25; margin-bottom: 8px; overflow-wrap: anywhere; }
.qw-persona > p { font-size: 14px; line-height: 1.55; margin-top: 0; overflow-wrap: anywhere; }
.qw-persona .qw-source { color: #625d54; font-size: 11px; margin-top: auto; padding-top: 12px; }
.qw-persona-actions { justify-content: space-between; gap: 7px; }
.qw-persona-actions .button { padding: 10px 12px; min-height: 42px; font-size: 12px; }
.qw-persona-editor { border-left: 3px solid var(--qw-rust); margin-bottom: 30px; }
.qw-field-pair, .qw-filters { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.qw-filters { margin: 15px 0 18px; max-width: 850px; }
.question-workspace .form-field { min-width: 0; font-size: 13px; line-height: 1.5; }
.question-workspace input:not([type=checkbox]), .question-workspace select, .question-workspace textarea { width: 100%; min-width: 0; max-width: 100%; font: inherit; }
.question-workspace textarea { resize: vertical; line-height: 1.65; min-height: 120px; }
.question-workspace input[type=checkbox] { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--qw-rust); }
.qw-question-layout { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0,1.18fr); gap: 22px; align-items: start; }
.qw-question-list { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.qw-result-count { margin: 0 0 4px; font-size: 12px; }
.qw-question { width: 100%; min-width: 0; text-align: left; background: #fffdf8; border: 1px solid var(--qw-border); border-radius: 0; padding: 17px 18px; color: inherit; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: 8px; }
.qw-question:hover { background: #f7f3eb; border-color: #a8a096; }
.qw-question.is-selected { border-color: var(--qw-rust); border-left: 4px solid var(--qw-rust); padding-left: 15px; background: #fff8ef; }
.qw-question-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: #625d54; font-size: 11px; }
.qw-question strong { font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.qw-question-detail { font-size: 12px; color: #625d54; line-height: 1.5; overflow-wrap: anywhere; }
.qw-evidence-label { font-size: 11px; color: #635243; }
.qw-editor { position: sticky; top: 20px; margin: 0; min-width: 0; padding: 25px; }
.qw-editor .form-field { margin: 17px 0; }
.qw-options { padding: 0; border: 0; margin: 22px 0; min-width: 0; }
.qw-options legend { padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 11px; }
.qw-options > div { display: grid; grid-template-columns: 1fr; gap: 10px; }
.qw-options > .qw-engine-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.qw-options label, .qw-enabled { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.5; }
.qw-options label span { overflow-wrap: anywhere; }
.qw-options .quiet { font-size: 12px; }
.qw-save-row { margin-top: 22px; }
.qw-save-row .button { min-height: 44px; font-size: 13px; }
.qw-original { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--qw-border); font-size: 13px; line-height: 1.6; }
.qw-original .eyebrow { font-size: 10px; line-height: 1.6; }
.qw-original blockquote { border-left: 2px solid #aba194; margin: 12px 0; padding-left: 14px; font-size: 15px; color: #35322c; overflow-wrap: anywhere; }
.qw-original .button { white-space: normal; }
.qw-revisions { margin-top: 20px; font-size: 12px; }
.qw-revisions article { border-top: 1px solid var(--qw-border); padding: 10px 0; overflow-wrap: anywhere; }
.qw-data { margin-top: 28px; font-size: 13px; }
.qw-data summary { font-weight: 600; cursor: pointer; }
.qw-data p { max-width: 780px; }
.qw-public-reference { margin-top: 25px; font-size: 13px; line-height: 1.6; }
.qw-public-reference summary { cursor: pointer; font-weight: 600; }
.qw-public-reference article { padding: 20px 0; border-top: 1px solid var(--qw-border); }
.qw-public-reference p, .qw-public-reference li { overflow-wrap: anywhere; }
.question-workspace :focus-visible { outline: 2px solid var(--qw-rust); outline-offset: 3px; }
@media (max-width: 1100px) { .qw-persona { padding: 17px; } .qw-question-layout { grid-template-columns: minmax(225px,.85fr) minmax(0,1.15fr); gap: 16px; } .qw-editor { padding: 20px; } }
@media (max-width: 760px) {
  .question-workspace .page-head { display: flex; flex-direction: column; }
  .question-workspace .page-head h1 { font-size: 34px; }
  .qw-persona-grid, .qw-persona-grid:has(> :last-child:nth-child(2)) { grid-template-columns: 1fr; }
  .qw-persona { padding: 19px; }
  .qw-persona h3 { font-size: 21px; }
  .qw-persona .qw-source { padding-top: 3px; }
  .qw-persona-actions { justify-content: flex-start; }
  .qw-saved-label { margin-left: 0; width: 100%; }
  .qw-question-layout { grid-template-columns: 1fr; }
  .qw-question-list { max-height: 425px; overflow-y: auto; padding: 3px; overscroll-behavior: contain; }
  .qw-editor { position: static; padding: 20px; }
  .qw-filters, .qw-field-pair { grid-template-columns: 1fr; gap: 12px; }
  .qw-section-head h2 { font-size: 22px; }
  .qw-save-row { align-items: stretch; }
  .qw-save-row .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .question-workspace * { scroll-behavior: auto; } }
