.research-panel { color:#dbe3f1; margin:0 auto 18px; max-width:1100px; padding:26px; }
.research-panel[hidden] { display:none; }
.research-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.research-heading h2 { margin:4px 0; font-size:clamp(21px,4vw,30px); color:#f4f7ff; }
.research-period,.research-note,.research-description { margin:0; color:#a9b5cb; font-size:13px; line-height:1.55; }
.research-period { color:#7cc7fd; font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; }
.research-findings { display:grid; grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); gap:9px; margin:14px 0; }
.research-finding { min-width:0; padding:12px; border:1px solid #29405a; background:#111b2b; border-radius:12px; }
.research-finding span { display:block; color:#bed0e9; font-size:12px; }
.research-finding strong { display:block; color:#f5faff; font:650 24px/1.45 'JetBrains Mono',monospace; }
.research-figure { min-width:0; padding:16px; margin:12px 0; border-radius:14px; border:1px solid #293142; background:#10141d; }
.research-figure h3 { margin:0 0 6px; color:#f3f5fa; font-size:17px; }
.research-figure .research-description { margin-bottom:10px; }
.research-canvas { width:100%; display:block; height:280px; }
.research-canvas:focus-visible,.research-button:focus-visible { outline:2px solid #7cc7fd; outline-offset:3px; }
.research-buttons { display:flex; gap:7px; flex-wrap:wrap; margin:8px 0; }
.research-button { cursor:pointer; border:1px solid #3c4860; border-radius:8px; padding:5px 8px; color:#e5edfa; background:#161f30; font:inherit; font-size:12px; }
.research-button[aria-pressed="false"] { opacity:.58; background:transparent; }
.research-dot { display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:50%; background:var(--series); }
.research-readout { min-height:36px; line-height:1.45; margin:4px 0; color:#c4d3e9; font-size:12px; font-variant-numeric:tabular-nums; }
.research-panel details > summary { color:#a7d6ff; cursor:pointer; font-size:14px; padding:8px 0; }
.research-small-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.research-small-grid .research-figure { margin:0; }
.research-small-grid .research-canvas { height:175px; }
.research-notes { padding:5px 0 0; }
.research-notes p { margin:6px 0; }
.research-panel a { color:#93c9ff; }
@media (max-width:640px) {
  .research-panel { padding:13px; } .research-small-grid { grid-template-columns:1fr; }
  .research-findings { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .research-finding { padding:10px; }
  .research-figure { padding:11px; } .research-canvas { height:215px; }
}

.research-periods { margin-bottom:9px; }
.research-periods .research-button { padding:8px 10px; }
.research-periods .research-button[aria-pressed="true"] { border-color:#579bc9; background:#172b40; }
.research-periods .research-button:disabled { opacity:.52; cursor:default; }
.research-other { margin-top:8px; }

.research-comparison { width:100%; border-collapse:collapse; margin:14px 0; font-size:13px; color:#dbe3f1; font-variant-numeric:tabular-nums; }
.research-comparison caption { text-align:left; color:#f3f5fa; font-weight:650; font-size:16px; margin:0 0 4px; }
.research-comparison th,.research-comparison td { border-bottom:1px solid #293142; padding:7px 8px; text-align:right; white-space:nowrap; }
.research-comparison th:first-child { text-align:left; white-space:normal; }
.research-comparison th[scope="row"] { color:#e3ecfa; font-weight:500; }
@media(max-width:460px) { .research-comparison th,.research-comparison td { padding:6px 4px; } }
