.lexeme-research {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  color: #172033;
}
.vr-panel {
  overflow: clip;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.vr-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 850;
  color: #172033;
}
.vr-panel > summary::-webkit-details-marker { display: none; }
.vr-panel > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #0f766e;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}
.vr-panel[open] > summary::after { content: "−"; }
.vr-panel > summary small {
  margin-left: auto;
  color: #64748b;
  font-size: .76rem;
  font-weight: 600;
  text-align: right;
}
.vr-panel[open] > summary { border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.vr-body { padding: 18px; }
.vr-loading, .vr-empty, .vr-warning, .vr-note {
  margin: 0 0 14px;
  border-radius: 9px;
  padding: 11px 13px;
  color: #475569;
  background: #f8fafc;
  font-size: .86rem;
  line-height: 1.55;
}
.vr-loading { border-left: 3px solid #0f766e; }
.vr-empty { border: 1px dashed #cbd5e1; }
.vr-warning { border: 1px solid #fed7aa; color: #9a3412; background: #fff7ed; }
.vr-note { border: 1px solid #dbeafe; color: #1e3a8a; background: #eff6ff; }
.vr-scope { border-left: 4px solid #2563eb; }
.vr-controls, .vr-actions, .vr-chips, .vr-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 9px;
}
.vr-controls { margin-bottom: 10px; }
.vr-controls label {
  display: grid;
  gap: 4px;
  color: #475569;
  font-size: .72rem;
  font-weight: 800;
}
.vr-controls select, .vr-controls input[type="text"] {
  min-height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 6px 9px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: .83rem;
  font-weight: 600;
}
.vr-controls input[type="text"] { width: min(290px, 70vw); }
.vr-controls .vr-check { display: flex; align-items: center; gap: 7px; min-height: 36px; }
.vr-controls button, .vr-actions a, .vr-actions button {
  min-height: 34px;
  border: 1px solid #99f6e4;
  border-radius: 7px;
  padding: 7px 10px;
  background: #f0fdfa;
  color: #115e59;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.vr-actions { margin-bottom: 16px; }
.vr-actions button:disabled { border-color: #e2e8f0; color: #94a3b8; background: #f8fafc; cursor: not-allowed; }
.vr-canonical { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.vr-canonical span { color: #64748b; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.vr-canonical strong { color: #0f172a; font-size: 1.35rem; }
.vr-chips { align-items: stretch; margin: 10px 0 16px; }
.vr-chip { display: grid; gap: 2px; border: 1px solid #ddd6fe; border-radius: 999px; padding: 6px 11px; background: #faf5ff; }
.vr-chip.canonical { border-color: #99f6e4; background: #f0fdfa; }
.vr-chip b { color: #312e81; font-size: .83rem; }
.vr-chip.canonical b { color: #115e59; }
.vr-chip small { color: #64748b; font-size: .67rem; }
.vr-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 12px 0; }
.vr-summary > div { border-left: 3px solid #0f766e; border-radius: 7px; padding: 10px 11px; background: #f8fafc; }
.vr-summary strong { display: block; color: #0f172a; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.vr-summary span { display: block; margin-top: 3px; color: #64748b; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.vr-chart { margin: 18px 0; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #fff; }
.vr-chart figcaption, .vr-subsection h4 { margin: 0 0 10px; color: #334155; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .035em; }
.vr-chart-scroll { overflow-x: auto; }
.vr-chart svg { display: block; min-width: 620px; width: 100%; }
.vr-grid line { stroke: #e2e8f0; stroke-width: 1; }
.vr-grid text, .vr-axis-label { fill: #64748b; font-size: 11px; }
.vr-lines polyline { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.vr-legend { align-items: center; color: #475569; font-size: .72rem; }
.vr-legend span { display: inline-flex; align-items: center; gap: 5px; }
.vr-legend i { width: 18px; height: 3px; border-radius: 99px; }
.vr-subsection { margin: 18px 0; }
.vr-source-bars { display: grid; gap: 8px; }
.vr-source-row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 56px; align-items: center; gap: 9px; font-size: .78rem; }
.vr-source-row > div { height: 8px; overflow: hidden; border-radius: 99px; background: #e2e8f0; }
.vr-source-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #14b8a6, #2563eb); }
.vr-source-row b { color: #475569; text-align: right; font-variant-numeric: tabular-nums; }
.vr-table-wrap { max-width: 100%; overflow-x: auto; margin: 17px 0; }
.vr-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: .76rem; }
.vr-table caption { margin-bottom: 8px; color: #334155; font-weight: 900; text-align: left; text-transform: uppercase; }
.vr-table th, .vr-table td { border-bottom: 1px solid #e2e8f0; padding: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.vr-table thead th { color: #64748b; background: #f8fafc; font-size: .68rem; white-space: nowrap; }
.vr-table th:first-child, .vr-table td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; }
.vr-canonical-tag { margin-left: 5px; border-radius: 99px; padding: 2px 5px; color: #115e59; background: #ccfbf1; font-size: .58rem; }
.vr-score { color: #6d28d9; font-weight: 900; }
.vr-method { margin-top: 14px; border-top: 1px solid #e2e8f0; padding-top: 10px; color: #475569; font-size: .79rem; line-height: 1.55; }
.vr-method summary { cursor: pointer; color: #334155; font-weight: 850; }
.vr-method p, .vr-method ul { margin: 8px 0 0; }
.vr-witness { border: 1px solid #bfdbfe; border-radius: 11px; padding: 14px; background: linear-gradient(180deg, #eff6ff, #fff); }
.vr-witness-head { display: flex; justify-content: space-between; gap: 9px; margin-bottom: 10px; }
.vr-witness-head span { color: #1e40af; font-size: .8rem; font-weight: 900; }
.vr-witness-head b { color: #047857; font-size: .72rem; }
.vr-witness-head b.is-suspect { color: #b45309; }
.vr-witness dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.vr-witness dl > div { min-width: 0; }
.vr-witness dt { color: #64748b; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.vr-witness dd { margin: 2px 0 0; overflow-wrap: anywhere; color: #1e293b; font-size: .79rem; }
.vr-witness blockquote { margin: 12px 0; border-left: 3px solid #93c5fd; padding: 9px 11px; background: rgba(255,255,255,.75); color: #334155; font-size: .86rem; line-height: 1.55; }
.vr-witness a { color: #1d4ed8; font-size: .78rem; font-weight: 800; }
.vr-withheld { color: #64748b; font-size: .78rem; font-style: italic; }
.vr-timeline, .vr-stage-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vr-timeline li, .vr-stage-list li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; border-left: 3px solid #c4b5fd; padding: 8px 10px; background: #fafafa; }
.vr-timeline time, .vr-stage-list time { color: #6d28d9; font-size: .76rem; font-weight: 850; }
.vr-timeline b, .vr-stage-list strong { display: block; color: #334155; font-size: .8rem; }
.vr-timeline span, .vr-stage-list span { display: block; margin-top: 2px; color: #64748b; font-size: .73rem; }
.vr-network { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-network > span { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 6px; border: 1px solid #dbeafe; border-radius: 8px; padding: 8px 10px; background: #f8fafc; color: #334155; font-size: .74rem; }
.vr-network i { color: #2563eb; font-style: normal; }
.vr-network small { grid-column: 1 / -1; color: #64748b; }
@media (max-width: 640px) {
  .vr-panel > summary { align-items: flex-start; padding: 13px 14px; }
  .vr-panel > summary small { display: none; }
  .vr-body { padding: 14px; }
  .vr-summary { grid-template-columns: 1fr; }
  .vr-witness dl { grid-template-columns: 1fr; }
  .vr-source-row { grid-template-columns: 95px 1fr 48px; }
  .vr-timeline li, .vr-stage-list li { grid-template-columns: 78px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vr-panel *, .vr-panel *::before, .vr-panel *::after { scroll-behavior: auto !important; transition: none !important; }
}
