.research-workspace { padding-block: 1rem 3rem; }
.research-intro { max-width: 48rem; padding-block: .5rem 2rem; }
.research-intro h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); line-height: 1.07; letter-spacing: -.04em; margin-block: .75rem 1rem; text-wrap: balance; }
.research-intro > p:not(.paid-eyebrow) { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; max-width: 42rem; }
.research-intro .research-scope { font-size: .85rem !important; margin-top: .8rem; }
.research-steps { display: flex; gap: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); margin-bottom: 2rem; list-style: none; }
.research-steps li { flex: 1; color: var(--text-muted); font-size: .85rem; }
.research-steps li[aria-current] { color: var(--brand); font-weight: 650; }
.research-steps span { display: block; font-size: .7rem; letter-spacing: .08em; margin-bottom: .3rem; }
.research-layout { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.research-brief { min-width: 0; border-top: 3px solid var(--brand); background: var(--surface-card); padding: 1.3rem; border-radius: 0 0 .8rem .8rem; }
.research-workspace summary { min-height: 44px; cursor: pointer; padding-block: .65rem; font-size: .9rem; font-weight: 600; }
.research-brief > details:first-child > summary { font-size: 1.05rem; }
.research-profile { display: grid; gap: 1.25rem; margin-top: 1rem; }
.research-profile label { font-size: .9rem; }
.research-profile textarea { resize: vertical; }
.research-field-help { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .5rem; }
.research-brief-summary { font-size: .9rem; overflow-wrap: anywhere; color: var(--text-muted); }
.research-matching-options, .research-preview-notes { border-top: 1px solid var(--line); }
.research-preview-notes { margin-top: 1.25rem; }
.research-preview-notes p { font-size: .8rem; color: var(--text-muted); margin-block: .5rem; line-height: 1.6; }
.research-start { padding-top: .6rem; }
.research-start h2, .research-results-heading h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; margin-block: .65rem 1rem; text-wrap: balance; }
.research-start > p:not(.paid-eyebrow) { color: var(--text-muted); line-height: 1.75; max-width: 36rem; }
.research-start ol { list-style: none; margin-top: 2rem; }
.research-start li { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.3rem; }
.research-start li > span { color: var(--brand); font-size: .75rem; padding-top: .3rem; }
.research-start h3 { font-size: 1.35rem; }
.research-start li p { color: var(--text-muted); line-height: 1.7; font-size: .95rem; margin-top: .5rem; }
.research-results { min-width: 0; display: grid; gap: 1.25rem; }
.research-results[hidden] { display: none; }
.research-results > p[role=status] { color: var(--text-muted); line-height: 1.7; font-size: .9rem; }
.research-group { min-width: 0; border: 1px solid var(--line); background: var(--surface-card); padding: clamp(1.1rem, 3vw, 1.65rem); border-radius: .9rem; overflow-wrap: anywhere; }
.research-group > * + * { margin-top: .8rem; }
.research-group h3 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.02em; }
.research-group h3 a { text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); }
.research-group p { font-size: .9rem; line-height: 1.65; }
.research-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.research-facts p { font-size: .8rem; color: var(--text-muted); }
.research-facts span { display: block; color: var(--text-primary); font-size: .7rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .35rem; }
.research-facts strong { color: var(--text-primary); font-weight: 600; }
.research-expectations, .research-sources { border-top: 1px solid var(--line); }
.research-expectations p { margin-block: .55rem; }
.research-sources blockquote { border-left: 2px solid var(--line-strong); padding-left: .75rem; color: var(--text-muted); }
.research-draft { border-top: 3px solid var(--brand); background: var(--surface-card); padding: clamp(1.1rem, 3vw, 1.65rem); }
.research-draft > * + * { margin-top: .85rem; }
.research-draft textarea { line-height: 1.75; resize: vertical; }
.research-workspace :is(a,button,input,textarea,select,summary):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.research-save-options, .research-saved-briefs { border-top: 1px solid var(--line); }
.research-save-label { display: flex; gap: .75rem; align-items: flex-start; min-height: 44px; padding-block: .5rem; line-height: 1.5; }
.research-save-label input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .15rem; }
.research-save-purchase-label { display: block; margin-block: .75rem .4rem; font-weight: 600; }
.research-save-purchases { margin-bottom: .75rem; }
.research-saved-briefs { margin-top: 1.5rem; padding-top: 1.25rem; }
.research-saved-briefs h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.research-saved-briefs ul { list-style: none; padding: 0; }
.research-saved-briefs li { border-top: 1px solid var(--line); padding-block: 1rem; font-size: .85rem; overflow-wrap: anywhere; }
.research-saved-link { display: inline-block; min-height: 44px; padding-block: .7rem; text-decoration: underline; text-underline-offset: .2em; }
.research-saved-notice { border-left: 3px solid var(--brand); padding: .75rem 1rem; font-size: .85rem; line-height: 1.6; background: var(--surface-card); }
@media (max-width: 767px) {
  .research-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .research-steps { gap: .75rem; }
  .research-steps li { font-size: .76rem; }
  .research-intro { padding-top: 0; }
}
@media (max-width: 399px) {
  .research-facts { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
}
