/* OBOR research instrument · 2026-10-16.
   The historical record is first-class, not hidden in an auxiliary popover. */
/* Local view switch follows the question picker rather than site navigation. */
.research-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;
  margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #dfe8eb}
.research-view-toolbar-label{font-size:10px;font-weight:800;letter-spacing:.13em;color:#597582}
.research-workspace-nav{display:block;border:0;padding:0;margin:0 0 0 auto;max-width:100%}
.research-history-overline{display:block;font-size:9px;font-weight:750;
  letter-spacing:.16em;color:#517987;line-height:1.45}
.research-workspace-switch{display:flex;gap:5px;padding:5px;
  border:1px solid #31586a;border-radius:12px;
  background:linear-gradient(120deg,#153849,#224e61);
  box-shadow:0 4px 15px rgba(19,57,74,.15);max-width:100%}
.research-workspace-switch button{background:transparent;border:1px solid transparent;
  border-radius:8px;padding:8px 15px;color:#c6dce5;font-family:inherit;text-align:left;
  cursor:pointer;font-size:13px;line-height:1.2;font-weight:740;min-width:125px;
  transition:background .18s ease,box-shadow .18s ease,border-color .18s ease,color .18s ease}
.research-workspace-switch button span{display:block;color:#a8c5d0;font-size:9px;
  font-weight:510;margin-top:3px}
.research-workspace-switch button:hover:not([aria-pressed="true"]){color:#fff;background:rgba(255,255,255,.12)}
.research-workspace-switch button[aria-pressed="true"]{background:#fcfdfd;color:#143b4e;
  border-color:#d8e5e9;box-shadow:inset 0 2px 0 #bb7353,0 2px 7px rgba(4,24,36,.14)}
.research-workspace-switch button[aria-pressed="true"] span{color:#4c7181}
@media(max-width:920px){
 .economic-lens-heading{align-items:flex-start;flex-wrap:wrap}
}
.research-workspace-switch button:focus-visible,.research-history-range button:focus-visible,
.research-brief-actions button:focus-visible{outline:2px solid #5992a6;outline-offset:2px}
.research-explore-pane[hidden],.research-brief-pane[hidden]{display:none!important}
.research-history-main{margin:16px 0 8px;border-radius:15px;
  background:linear-gradient(132deg,#183b4b 0%,#173949 60%,#204955 100%);
  color:#e7f1f3;border:1px solid rgba(255,255,255,.08);
  padding:22px 24px 18px;box-shadow:0 7px 24px rgba(18,56,74,.095)}
.research-history-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}
.research-history-overline{color:#98c0cb;font-size:9px}
.research-history-header h3{color:#f1f6f8;letter-spacing:-.045em;font-size:clamp(19px,2.1vw,26px);
  line-height:1.14;font-weight:670;margin:7px 0}
.research-history-header p{margin:0;color:#a9c1c9;font-size:11px;line-height:1.5}
.research-history-range{display:flex;flex-wrap:wrap;gap:2px;border-radius:10px;padding:4px;
  border:1px solid rgba(214,239,244,.17);background:rgba(4,28,42,.17)}
.research-history-range button{background:transparent;border:0;border-radius:7px;
  color:#9ebdc7;font-family:inherit;font-size:11px;line-height:1.2;font-weight:650;
  padding:9px 11px;cursor:pointer;white-space:nowrap;transition:background .16s,color .16s}
.research-history-range button:hover{background:rgba(220,243,247,.1);color:white}
.research-history-range button[aria-pressed="true"]{color:#193d4b;background:#e0edf0}
.research-history-status{color:#c3d6dc;font-size:12px;line-height:1.6;
  min-height:120px;display:flex;align-items:center;justify-content:center;text-align:center;
  border:1px dashed rgba(211,235,242,.18);border-radius:10px}
.research-history-status[hidden],.research-history-visual[hidden],.research-history-interpretation[hidden]{display:none}
.research-history-visual{display:block;min-width:0}
.research-history-plot-wrap{min-width:0}
.research-history-plot-head{display:flex;justify-content:space-between;gap:10px;font-size:9px;line-height:1.4;color:#b0cbd3;margin:0 0 9px}
.research-history-plot-head span:first-child{font-weight:700;color:#e7f3f5}
.research-history-chart-stage{position:relative;isolation:isolate;min-width:0;overflow:hidden;border-radius:10px;border:1px solid rgba(220,241,246,.13);background:linear-gradient(180deg,rgba(255,255,255,.046),rgba(255,255,255,.013))}
.research-history-plot{width:100%;min-height:0;padding-bottom:270px}
.research-history-plot svg{width:100%;display:block;height:auto;min-height:0}
.research-history-plot .grid{stroke:rgba(211,233,240,.11);stroke-width:1}
.research-history-plot .filled{fill:url(#obor-historical-fill)}
.research-history-plot .line{fill:none;stroke:#b8e4dc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}
.research-history-plot .dot{fill:#f2d5a4;stroke:#123846;stroke-width:2}
.research-history-plot .axis-note{fill:#a5c1c9;font-size:10px;font-weight:500;font-family:inherit}
.research-history-axis{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:#99b7c1;font-size:10px;letter-spacing:.01em}
.research-history-chart-insights{position:absolute;z-index:2;bottom:13px;left:14px;right:14px;min-width:0}
.research-history-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.research-history-metric{min-width:0;padding:13px 15px 12px;border:1px solid rgba(210,236,241,.18);border-radius:9px;background:rgba(9,34,48,.88);box-shadow:0 5px 18px rgba(3,17,29,.16);backdrop-filter:blur(5px)}
.research-history-metric>span{font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#a8cbd1;display:block;font-weight:700}
.research-history-metric strong{display:block;font-weight:680;color:#f0f9f6;letter-spacing:-.03em;font-size:clamp(18px,1.8vw,25px);line-height:1.2;margin:6px 0 4px;font-variant-numeric:tabular-nums}
.research-history-metric p{font-size:10px;color:#c0d5db;line-height:1.48;margin:0}
.research-history-interpretation{display:grid;grid-template-columns:minmax(155px,.24fr) minmax(0,1fr);gap:14px;align-items:start;margin-top:9px;padding:12px 15px;border:1px solid rgba(210,236,241,.18);border-radius:9px;background:rgba(10,37,50,.9);box-shadow:0 5px 18px rgba(3,17,29,.14);backdrop-filter:blur(5px)}
.research-history-interpretation span{font-size:9px;letter-spacing:.09em;color:#bed3d9;font-weight:700;padding-top:3px}
.research-history-interpretation p{color:#e0eef1;font-size:11px;line-height:1.53;margin:0}
.research-historical-boundary{font-size:10px;line-height:1.55;color:#9bbac3;margin:14px 0 0}
.research-brief-pane{background:#fff;border:1px solid #dce7eb;border-radius:15px;
 padding:23px 25px;box-shadow:0 4px 18px rgba(23,61,76,.04);min-height:380px}
.research-brief-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;
 border-bottom:1px solid #e5eef0;padding-bottom:18px}
.research-brief-header .research-history-overline{color:#527989}
.research-brief-header h3{font-size:clamp(20px,2.5vw,29px);line-height:1.18;
 letter-spacing:-.045em;color:#173d51;margin:7px 0}
.research-brief-header p{font-size:11px;line-height:1.5;color:#62808b;margin:0}
.research-brief-actions{display:flex;gap:7px;flex-shrink:0}
.research-brief-actions button{border:1px solid #cfdfe5;border-radius:9px;background:#f8fbfb;
 color:#27627a;cursor:pointer;font-family:inherit;font-weight:650;font-size:11px;padding:10px 13px}
.research-brief-actions button:hover{background:#eaf3f5;border-color:#a5c4d0}
.research-brief-actions button:last-child{background:#214d60;color:#f1f7f8;border-color:#214d60}
.research-brief-actions button:last-child:hover{background:#28647a}
.research-brief-lead{margin:22px 0 20px;padding:0 0 0 14px;border-left:3px solid #7da9b2}
.research-brief-lead>span{display:block;color:#64838d;font-size:9px;letter-spacing:.14em;font-weight:750;margin-bottom:7px}
.research-brief-lead p{font-size:clamp(15px,1.7vw,19px);letter-spacing:-.015em;line-height:1.52;color:#173e51;margin:0;max-width:80ch}
.research-brief-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.research-brief-columns section+section{border-left:1px solid #e4edef;padding-left:23px}
.research-brief-columns h4{color:#5d7a88;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin:0 0 11px}
.research-brief-columns p{color:#365868;font-size:11.5px;line-height:1.64;margin:0 0 10px}
.research-brief-columns p:last-child{margin-bottom:0}
.research-brief-foot{margin-top:23px;border-top:1px solid #e7edef;padding-top:12px;
 display:flex;gap:16px;justify-content:space-between;align-items:center}
.research-brief-foot p{font-size:10px;line-height:1.55;color:#667f89;margin:0}
.research-brief-foot a{font-size:10px;white-space:nowrap;color:#287087}
.research-brief-feedback{font-size:10px;line-height:1.5;color:#427485;margin:7px 0 0;min-height:0}
.economic-lens-footer{display:flex;gap:12px;align-items:center}
.economic-lens-footer>a{font-size:10px;white-space:nowrap}
@media(max-width:850px){
 .research-history-plot{padding-bottom:0}
 .research-history-chart-insights{position:relative;bottom:auto;left:auto;right:auto;padding:0 11px 12px;margin-top:-2px}
 .research-history-evidence{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .research-history-metric{padding:11px}
 .research-history-metric strong{font-size:18px}
 .research-history-interpretation{display:block;margin-top:8px}
 .research-history-interpretation p{margin-top:7px}
}
@media(max-width:680px){
 .research-view-toolbar{align-items:stretch;flex-direction:column;gap:8px}
 .research-workspace-nav{width:100%;margin-left:0}
 .research-workspace-switch{width:100%;box-sizing:border-box}
 .research-workspace-switch button{flex:1;text-align:center;min-width:0}
 .research-history-main{padding:17px 15px}
 .research-history-header{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:14px}
 .research-history-header h3{font-size:21px}
 .research-history-range{width:100%}
 .research-history-range button{flex:1}
 .research-history-plot-head{font-size:9px}
 .research-history-plot-head{flex-wrap:wrap}
 .research-history-chart-insights{padding:0 8px 9px}
 .research-history-evidence{grid-template-columns:1fr;gap:6px}
 .research-history-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;padding:10px 12px}
 .research-history-metric>span{grid-column:1}
 .research-history-metric strong{grid-column:2;grid-row:1 / span 2;text-align:right;margin:0;font-size:18px}
 .research-history-metric p{grid-column:1;max-width:none}
 .research-history-interpretation{padding:11px 12px}
 .research-brief-pane{padding:16px 15px}
 .research-brief-header{flex-wrap:wrap}
 .research-brief-actions{width:100%}
 .research-brief-actions button{flex:1}
 .research-brief-columns{grid-template-columns:1fr;gap:14px}
 .research-brief-columns section+section{border-left:0;border-top:1px solid #e4edef;padding:13px 0 0}
 .research-brief-foot{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(prefers-reduced-motion:reduce){
 .research-workspace-switch button,.research-history-range button{transition:none}
}

/* Historical inspection: exact observations, no visual interpolation of missing dates. */
.research-history-chart{position:relative}
.research-history-chart svg:focus-visible{outline:2px solid #b8e4dc;outline-offset:3px}
.research-history-chart .hover-line{stroke:#f6d9ad;stroke-width:1.4;stroke-dasharray:4 4;pointer-events:none}
.research-history-chart .hover-dot{fill:#f6d9ad;stroke:#173949;stroke-width:2;pointer-events:none}
.research-history-tooltip{position:absolute;z-index:2;top:9px;transform:translateX(-50%);
 padding:7px 10px;border:1px solid #a5c8ce;border-radius:7px;background:#e8f4f3;
 color:#173c4e;font-size:11px;font-weight:720;line-height:1.25;white-space:nowrap;
 font-variant-numeric:tabular-nums;box-shadow:0 4px 12px rgba(0,0,0,.16);pointer-events:none}
.research-history-tooltip[hidden]{display:none}
.research-history-help{font-size:10px;line-height:1.5;color:#a4c6d1;margin:7px 0 0}
.research-bar-hint{font-size:10px;color:#66828f;line-height:1.4;margin:-6px 0 9px}
.economic-lens-bar[role="button"]{cursor:pointer;border-radius:4px;padding:4px;transition:background .16s}
.economic-lens-bar[role="button"]:hover{background:#e7f1f4}
.economic-lens-bar[role="button"]:focus-visible{outline:2px solid #427e92;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.economic-lens-bar[role="button"]{transition:none}}

/* Historical Evidence interactive period inspection. */
.research-history-inspector{position:relative;min-width:0;cursor:crosshair;outline:0;touch-action:pan-y}
.research-history-inspector:focus-visible{outline:2px solid #b9e7dd;outline-offset:3px;border-radius:8px}
.research-history-inspector svg{width:100%;display:block;height:auto}
.research-history-plot .inspection-guide{stroke:#f3d7a3;stroke-width:1.35;stroke-dasharray:5 4;pointer-events:none;opacity:.95}
.research-history-plot .inspection-dot{fill:#f6e7bf;stroke:#1b4855;stroke-width:3;pointer-events:none;filter:drop-shadow(0 0 4px rgba(247,217,161,.35))}
.research-history-plot .research-history-tooltip{position:absolute;left:50%;top:9px;z-index:3;transform:translateX(-50%);
  min-width:175px;max-width:min(260px,92%);box-sizing:border-box;
  padding:12px 14px;border:1px solid rgba(193,233,236,.42);border-radius:10px;
  background:rgba(9,37,52,.97);box-shadow:0 12px 28px rgba(4,24,34,.35);
  color:#f5f9f9;pointer-events:none;white-space:normal;line-height:1.35}
.research-history-plot .research-history-tooltip[hidden]{display:none!important}
.research-history-tooltip-date{display:block;font-size:11px;font-weight:700;letter-spacing:.03em;color:#b7d9dd}
.research-history-tooltip-amount{display:block;font-size:20px;letter-spacing:-.035em;margin:4px 0 2px;font-variant-numeric:tabular-nums;color:#fff}
.research-history-tooltip-basis{display:block;font-size:9px;line-height:1.4;color:#9dbdc7}
.research-history-inspector-hint{margin:0;padding:0 8px 9px;color:#b3d2d6;font-size:10px;line-height:1.35;user-select:none}
@media(max-width:480px){.research-history-plot .research-history-tooltip{padding:9px 11px;min-width:155px}.research-history-tooltip-amount{font-size:17px}.research-history-inspector-hint{font-size:9px}}

/* Reserved chart space keeps floating observations clear of the plotted series. */
.research-history-chart-stage .research-history-inspector-hint{display:none}
@media(max-width:680px){.research-history-chart-stage .research-history-inspector svg{height:190px;min-height:190px}}
