.vr-explorer {
  --vr-ground: #101216;
  --vr-panel: #181b20;
  --vr-line: #343942;
  --vr-text: #f0f1f4;
  --vr-dim: #adb4c0;
  --vr-accent: #ff536c;
  --vr-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  max-width: 1580px;
  margin: 0 auto 48px;
  color: var(--vr-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
}
.vr-explorer, .vr-explorer * { box-sizing: border-box; }
.vr-explorer :is(h1,h2,p) { margin: 0; }
.vr-explorer :is(button, input, select) { font: inherit; }
.vr-explorer :is(button,a,input,select):focus-visible { outline: 2px solid var(--vr-accent); outline-offset: 2px; }
.vr-explorer button { cursor: pointer; }
.vr-explorer button:disabled { cursor: default; opacity: .35; }
.vr-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding: 6px 0 19px; }
.vr-explorer h1 { font-size: clamp(23px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.035em; }
.vr-heading > span, .vr-dates { display: flex; flex-wrap: wrap; gap: .3em .8em; color: var(--vr-dim); font-size: 12px; }
.vr-heading b { font-family: var(--vr-mono); font-weight: 400; color: #d5d8de; }
.vr-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; background: #15181d; border: 1px solid var(--vr-line); }
.vr-query { display: flex; align-items: center; flex: 1 1 240px; gap: 10px; padding: 0 14px; min-width: 0; }
.vr-query svg { width: 21px; height: 21px; flex: none; stroke: var(--vr-dim); stroke-width: 1.5; fill: none; }
.vr-query input { color: var(--vr-text); min-width: 0; width: 100%; background: transparent; border: 0; padding: 13px 3px; border-radius: 0; appearance: auto; color-scheme: dark; }
.vr-query input::placeholder { color: #b3bac4; }
.vr-kev { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #d6d9df; padding: 8px 14px; font-size: 12px; cursor: pointer; }
.vr-kev input { accent-color: #bc1640; width: 17px; height: 17px; }
.vr-work { display: grid; grid-template-columns: minmax(225px,.29fr) minmax(0,.71fr); gap: clamp(12px,1.75vw,28px); align-items: start; margin-top: 15px; }
.vr-list { min-width: 0; max-width: 100%; }
.vr-list-head, .vr-pages { display: flex; align-items: center; gap: 8px; color: var(--vr-dim); font-size: 12px; }
.vr-list-head { justify-content: space-between; padding: 9px 0; }
.vr-explorer .vr-list-head h2 { font-size: 14px; font-weight: 500; color: var(--vr-text); }
.vr-rows { border-top: 1px solid var(--vr-line); }
.vr-explorer .vr-row {
  color: var(--vr-text); text-align: left; display: block; width: 100%;
  padding: 11px 10px; border: 0; border-bottom: 1px solid var(--vr-line); border-left: 3px solid transparent; background: transparent;
}
.vr-row:hover { background: var(--vr-panel); }
.vr-explorer .vr-row[aria-pressed="true"] { background: #231b23; border-left-color: var(--vr-accent); }
.vr-row-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; font: 11px/1.4 var(--vr-mono); color: var(--vr-dim); }
.vr-row[aria-pressed="true"] .vr-row-meta > span { color: #ff91a4; }
.vr-row-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin-top: 5px; line-height: 1.55; font-size: 13px; }
.vr-pages { justify-content: flex-end; padding-top: 8px; }
.vr-pages > span { margin-right: auto; }
.vr-explorer .vr-pages button { color: var(--vr-text); border: 1px solid var(--vr-line); background: var(--vr-ground); font-size: 21px; line-height: 1; width: 38px; height: 36px; }
.vr-detail { min-width: 0; border: 1px solid var(--vr-line); background: var(--vr-ground); }
.vr-detail-head { padding: clamp(16px,2vw,28px); border-bottom: 1px solid var(--vr-line); }
.vr-detail h2 { font-size: clamp(17px,1.65vw,25px); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.vr-dates { margin-bottom: 7px; font-size: 11px; }
.vr-dates time { margin-left: .25em; font-family: var(--vr-mono); }
.vr-detail [data-vr-title] { scroll-margin-top: 108px; }
.vr-graph {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr)); align-content: center;
  column-gap: clamp(15px,2.2vw,40px); min-height: clamp(240px,23vw,360px); padding: clamp(15px,2.1vw,38px);
  background-color: #111419;
  background-image: radial-gradient(circle,#2b3037 .8px,transparent 1px); background-size: 16px 16px;
}
.vr-graph:not(:has(.vr-class)) { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: clamp(17px,5vw,88px); }
.vr-graph:not(:has(.vr-ids)) { grid-template-columns: minmax(0,1fr); justify-items:center; }
.vr-layer { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.vr-node { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 70px; padding: 10px clamp(8px,1vw,18px); background: #20242b; border: 1px solid #606773; border-radius: 4px; }
.vr-node-jvndb { border-color: #ce526c; background: #2b1f29; }
.vr-node-kev { border-color: #a3556e; }
.vr-node small, .vr-node-label, .vr-choose > span { color: #c6cbd4; font-size: 11px; line-height: 1.6; }
.vr-node-jvndb .vr-node-label, .vr-node-kev .vr-node-label { color: #ff9db0; }
.vr-node-value { display: flex; flex-wrap: wrap; gap: 5px; font: 500 clamp(12px,1.05vw,17px)/1.55 var(--vr-mono); overflow-wrap: anywhere; }
.vr-node-value a { max-width: 100%; color: var(--vr-text); text-decoration: none; }
.vr-node-value a:hover, .vr-sources a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vr-node-value a span, .vr-sources a span { color: var(--vr-dim); font-family: sans-serif; font-size: .82em; }
.vr-choose { display: block; margin-top: 7px; }
.vr-choose > span { display: block; font-size: 10px; }
.vr-choose select { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 4px 2px; margin-top: 2px; border: 1px solid #626873; background: #191c22; color: var(--vr-text); font: 11px var(--vr-mono); color-scheme: dark; }
.vr-wires { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.vr-wires path { fill: none; stroke: #8591a0; stroke-width: 1.6; }
.vr-wires circle { fill: #c1cbd6; }
.vr-wires :is(.vr-wire-cve,.vr-wire-kev) { stroke: var(--vr-accent); }
.vr-wires .vr-wire-reference { stroke-dasharray: 4 3; }
.vr-sources { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; color: var(--vr-dim); border-top: 1px solid var(--vr-line); padding: 13px clamp(14px,2vw,28px); font-size: 12px; }
.vr-sources a { color: #e2e5eb; text-decoration: none; }
.vr-empty { padding: 32px 18px; color: var(--vr-dim); }
.vr-empty h2 { color: var(--vr-text); }
.vr-empty p { margin-block: 7px 15px; }
.vr-empty button { background: #262c34; color: var(--vr-text); border: 1px solid #5c6471; padding: 7px 13px; }
.vr-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 960px) {
  .vr-work { grid-template-columns: minmax(185px,.25fr) minmax(0,.75fr); gap: 12px; }
  .vr-graph { column-gap: 17px; padding-inline: 12px; }
}
@media (max-width: 760px) {
  .vr-heading { gap: 3px; align-items: flex-start; flex-direction: column; padding-bottom: 12px; }
  .vr-heading > span { font-size: 11px; }
  .vr-tools { gap: 0; }
  .vr-kev { padding: 5px 10px 7px; }
  .vr-work { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
  .vr-list, .vr-detail { width: 100%; }
  .vr-explorer:not([data-searching="true"]) .vr-detail { order: -1; }
  .vr-list:empty { display: none; }
  .vr-graph, .vr-graph:not(:has(.vr-class)), .vr-graph:not(:has(.vr-ids)) {
    --vr-vertical: 1;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 28px; min-height: 0; padding: 16px 12px;
  }
  .vr-entry { align-items: center; }
  .vr-node { min-height: 59px; padding: 8px 10px; }
  .vr-entry .vr-node { width: min(200px,90%); }
  .vr-ids, .vr-class { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .vr-ids > :only-child, .vr-class > :only-child { grid-column: 1/-1; width: min(200px,90%); justify-self: center; }
  .vr-node-value { font-size: 12px; }
  .vr-sources { gap: 8px 14px; }
  .vr-row { min-height: 48px; }
}
.vr-explorer .vr-note { margin-top: 18px; color: var(--vr-dim); font-size: 12px; line-height: 1.7; }
.vr-note a { color: #d2d8df; text-underline-offset: 3px; }
.vr-note > span { display: inline-block; margin-left: 8px; }

.vr-source-note, .vr-source-status { color: #e7b991; font-size: 12px; line-height: 1.7; }
.vr-explorer .vr-source-note { margin-top: 10px; }
.vr-source-status { flex-basis: 100%; }
