/* Research workflow and transparent methods; uses the existing terminal tokens. */
.research-intro { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:28px; padding:24px; margin-bottom:14px; background:var(--panel); border:1px solid var(--line); border-radius:12px; }
.research-label { color:var(--accent); font-size:11px; font-weight:650; letter-spacing:.04em; }
.research-purpose h2 { font-size:24px; line-height:1.3; letter-spacing:-.6px; margin:8px 0; }
.research-purpose p { color:var(--muted); font-size:14px; margin:0; max-width:590px; line-height:1.65; }
.research-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:16px; }
.research-actions a { display:inline-flex; align-items:center; min-height:38px; padding:8px 0; color:var(--accent); font-size:13px; font-weight:600; text-decoration:none; }
.research-actions .research-primary { padding:8px 16px; border-radius:7px; background:var(--accent); color:var(--accent-ink,#fff); }
.research-actions a:hover { text-decoration:underline; }
.research-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.research-summary>div { padding-left:16px; border-left:1px solid var(--line); }
.research-summary span,.research-summary small { display:block; color:var(--muted); font-size:12px; line-height:1.5; }
.research-summary strong { display:block; color:var(--text); font-size:30px; letter-spacing:-.8px; margin:6px 0; }
.research-summary .research-asof { grid-column:1/-1; text-align:right; font-size:11px; color:var(--muted); margin:0; }
.research-workflow { display:block; margin-bottom:12px; }
.research-workflow ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.research-workflow a { display:block; padding:12px 16px; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--text); text-decoration:none; }
.research-workflow a:hover { border-color:var(--accent); background:var(--accent-dim); }
.workflow-step { display:block; font-size:14px; font-weight:650; }
.research-workflow small { display:block; margin-top:3px; font-size:12px; color:var(--muted); }
.research-data-strip { display:flex; justify-content:space-between; gap:14px; margin:12px 0 20px; color:var(--muted); font-size:11px; line-height:1.6; }
.research-data-strip a { color:var(--accent); white-space:nowrap; }
.research-stock-note { padding:12px 16px; margin:0 0 18px; border:1px solid var(--line); border-radius:8px; color:var(--muted); background:var(--panel); font-size:13px; }
.research-stock-note summary { color:var(--text); cursor:pointer; font-size:13px; }
.research-stock-note p { line-height:1.7; margin-bottom:0; }
.research-method-intro { max-width:850px; margin:0 0 22px; }
.research-method-intro h2 { font-size:25px; margin:0 0 8px; }
.research-method-intro p { font-size:15px; color:var(--muted); line-height:1.7; margin:0; }
.research-section-links { display:flex; flex-direction:row; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.research-section-links a { padding:8px 13px; font-size:13px; color:var(--accent); border:1px solid var(--line); border-radius:6px; background:var(--panel); text-decoration:none; }
#method .panel { scroll-margin-top:90px; }
#method .panel h2 { font-size:21px; }
#method .panel h3 { font-size:16px; margin-top:0; }
#method .panel p { font-size:14px; line-height:1.7; }
#method .panel a { color:var(--accent); font-size:13px; }
.research-formulas { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.research-formulas>section+section { padding-left:24px; border-left:1px solid var(--line); }
#method p.research-formula { font-size:14px; font-weight:650; color:var(--accent); }
.research-coverage { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; }
.research-coverage>div { border-left:2px solid var(--line); padding-left:14px; }
.research-coverage span { display:block; font-size:13px; color:var(--muted); }
.research-coverage strong { display:block; font-size:27px; margin-top:6px; }
#research-source-state { font-size:13px; color:var(--muted); line-height:1.6; }
.research-source-table { min-width:650px; }
.research-source-table td { white-space:normal; vertical-align:top; font-size:13px; line-height:1.7; }
.research-source-table td:first-child { min-width:150px; font-weight:600; }
.research-scope { margin-top:18px; font-size:13px; color:var(--muted); }
.research-scope summary { cursor:pointer; }
.research-verify-form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:10px; margin:16px 0; }
.research-verify-form label { display:grid; gap:6px; margin:0; font-size:13px; }
.research-verify-form input { width:140px; min-height:40px; padding:8px 12px; font-size:15px; }
.research-verify-form button { min-height:40px; margin:0; font-size:13px; border-radius:6px; }
#research-verify-run { background:var(--accent); color:var(--accent-ink,#fff); border-color:var(--accent); font-weight:600; }
#research-verify-result table,#research-evaluation table { min-width:620px; }
#research-verify-result td:not(:first-child),#research-evaluation td:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
.research-verification-note { padding:12px 14px; border-left:3px solid var(--accent); background:var(--accent-dim); }
.research-actions a:focus-visible,.research-workflow a:focus-visible,.research-section-links a:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:1150px) {
  .research-intro { grid-template-columns:minmax(0,1fr); gap:20px; }
  .research-summary>div:first-child { border-left:0; padding-left:0; }
  .research-summary strong { font-size:27px; }
  .research-formulas { grid-template-columns:minmax(0,1fr); gap:18px; }
  .research-formulas>section+section { padding:18px 0 0; border-left:0; border-top:1px solid var(--line); }
}
@media(max-width:760px) {
  .research-intro { padding:18px; }
  .research-purpose h2 { font-size:22px; }
  .research-summary { gap:10px; }
  .research-summary>div { padding-left:10px; }
  .research-summary span,.research-summary small { font-size:11px; }
  .research-summary strong { font-size:25px; }
  .research-workflow ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .research-workflow a { padding:12px; }
  .research-workflow small { font-size:11px; }
  .research-data-strip { flex-direction:column; gap:6px; }
  .research-coverage { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .research-section-links { gap:6px; }
  .research-section-links a { font-size:12px; padding:8px 10px; }
  #method .panel-heading { flex-wrap:wrap; }
  #method .panel h2 { font-size:19px; }
  .research-verify-form { align-items:stretch; }
  .research-verify-form label { flex:1 1 100%; }
  .research-verify-form input { width:100%; }
  .research-verify-form button { flex:1; }
}
