.vp-card, .vp-dialog, .vp-gallery {
  --plot-paper: var(--sp-bg, var(--solid, light-dark(#fafbf9, #151e20)));
  --plot-ink: var(--sp-ink, var(--ink, light-dark(#273a36, #e2ece7)));
  --plot-muted: light-dark(#62726b, #99aaa4);
  --plot-grid: light-dark(#e3e9e5, #2d3b39);
  --plot-accent: light-dark(#247f73, #65c7b2);
  --plot-soft: light-dark(#edf4ef, #1d302d);
  color: var(--plot-ink); font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  box-sizing: border-box; text-align: left; line-height: 1.5;
}
.vp-card *, .vp-dialog *, .vp-gallery * { box-sizing: border-box; }
.vp-card { position: relative; margin: 24px 0 28px; min-width: 0; border: 0; background: transparent; }
.vp-card.vp-collapsed { margin-block: 12px; border-radius: 10px; background: color-mix(in srgb, var(--plot-ink) 3%, transparent); }
.vp-head { display: flex; gap: 12px; align-items: center; padding: 0 0 10px; }
.vp-card.vp-collapsed .vp-head { padding: 12px 14px; }
.vp-heading { flex: 1; min-width: 0; margin: 0; font: inherit; }
.vp-heading-copy { display: block; flex: 1 1 220px; min-width: 0; }
.vp-eyebrow { display: block; color: var(--plot-accent); font-size: 9px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 5px; }
.vp-title { display: block; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; overflow-wrap: anywhere; }
.vp-card button, .vp-dialog button, .vp-gallery button { font: inherit; cursor: pointer; color: inherit; }
.vp-card button:focus-visible, .vp-dialog button:focus-visible, .vp-gallery :is(button,input):focus-visible { outline: 2px solid var(--plot-accent); outline-offset: 3px; }
.vp-card button:disabled, .vp-dialog button:disabled { opacity: .4; cursor: default; }
/* Own each control's box and hover state: Session button defaults can load
   before or after this lazy stylesheet. Neither order should add chrome. */
.vp-card button.vp-title-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 44px; background: none; border: 0; border-radius: 4px; text-align: left; padding: 0; width: 100%; }
.vp-card button.vp-title-toggle:hover:not(:disabled) { background: none; }
.vp-toggle-hint { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11px; font-weight: 400; color: var(--plot-muted); white-space: nowrap; }
.vp-toggle-hint svg { width: 14px; height: 14px; flex: none; transition: transform 140ms; }
.vp-title-toggle[aria-expanded="true"] .vp-toggle-hint svg { transform: rotate(180deg); }
.vp-title-toggle:hover .vp-toggle-hint, .vp-title-toggle:focus-visible .vp-toggle-hint { color: var(--plot-accent); }
.vp-collapsed .vp-toggle-hint { color: var(--plot-accent); }
.vp-actions { display: flex; gap: 4px; flex: none; }
:is(.vp-card, .vp-gallery) button.vp-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; appearance: none; background: transparent; color: var(--plot-muted); line-height: 1; box-shadow: none; transition: background 120ms, color 120ms; }
:is(.vp-card, .vp-gallery) button.vp-icon:hover:not(:disabled) { background: var(--plot-soft); color: var(--plot-accent); }
:is(.vp-card, .vp-gallery) button.vp-data-toggle[aria-pressed="true"] { background: var(--plot-soft); color: var(--plot-accent); }
:is(.vp-card, .vp-gallery) button.vp-icon:active:not(:disabled) { background: var(--plot-grid); }
.vp-icon > svg { display: block; width: 16px; height: 16px; flex: none; pointer-events: none; }
.vp-card [hidden], .vp-dialog [hidden], .vp-gallery [hidden] { display: none!important; }
.vp-chart { height: 244px; width: 100%; min-width: 0; padding: 8px 0 0; position: relative; overflow: hidden; }
.vp-loading, .vp-failure { display: grid; place-content: center; min-height: 150px; text-align: center; padding: 20px; font-size: 12px; color: var(--plot-muted); }
.vp-failure button { margin-top: 12px; }
.vp-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 2px 18px 6px; }
.vp-card .vp-legend button { padding: 3px 0; border: 0; border-radius: 3px; background: none; font-size: 11px; color: var(--plot-muted); display: inline-flex; gap: 6px; align-items: center; max-width: 100%; }
.vp-card .vp-legend button:hover:not(:disabled) { background: none; color: var(--plot-accent); }
.vp-legend button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.vp-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.vp-legend-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-caption { padding: 6px 0 0; margin: 0; color: var(--plot-muted); font-size: 12px; line-height: 1.65; }
.vp-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0 0; }
.vp-source { color: var(--plot-muted); font-size: 10px; min-width: 0; overflow-wrap: anywhere; }
:is(.vp-card, .vp-gallery) button.vp-text-button { white-space: nowrap; background: none; border: 0; border-radius: 3px; padding: 3px 0; font-size: 11px; color: var(--plot-accent); }
:is(.vp-card, .vp-gallery) button.vp-text-button:hover:not(:disabled) { background: none; text-decoration: underline; text-underline-offset: 3px; }
.vp-table-wrap { margin: 12px 20px 0; max-height: 260px; overflow: auto; font-size: 11px; border: 1px solid var(--plot-grid); border-radius: 8px; }
.vp-table-wrap table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.vp-table-wrap :is(th,td) { padding: 9px 12px; border-bottom: 1px solid var(--plot-grid); text-align: right; font-variant-numeric: tabular-nums; }
.vp-table-wrap :is(th,td):first-child { text-align: left; }
.vp-table-wrap th { position: sticky; top: 0; background: var(--plot-paper); font-weight: 600; }
.vp-pages { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 6px 20px; font-size: 10px; color: var(--plot-muted); }
.vp-pages > span { font-variant-numeric: tabular-nums; }
.vp-pending { margin: 14px 0; padding: 15px 18px; border: 1px dashed var(--sp-line, #7f8e862f); border-radius: 10px; font-size: 12px; color: var(--sp-muted, #7b827f); }
.vp-invalid { margin: 14px 0; padding: 14px 18px; border: 1px solid var(--sp-line, #7f8e862f); border-radius: 10px; font-size: 12px; }
.vp-invalid summary { cursor: pointer; }
.vp-invalid pre { max-height: 180px; overflow: auto; white-space: pre-wrap; }
.vp-dialog { width: min(1000px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--plot-grid); border-radius: 20px; background: var(--plot-paper); box-shadow: 0 30px 100px #0003; overflow: auto; }
.vp-dialog::backdrop { background: #071a1866; backdrop-filter: blur(5px); }
.vp-dialog > .vp-card { border: 0; border-radius: 0; margin: 0; }
.vp-dialog .vp-head { padding: 26px 30px 0; }
.vp-dialog .vp-title { font-size: 23px; letter-spacing: -.035em; }
.vp-dialog .vp-eyebrow { margin-bottom: 8px; }
.vp-dialog .vp-chart { height: clamp(260px, 53vh, 550px); padding: 20px 24px 0; }
.vp-dialog .vp-caption { padding: 12px 30px 0; max-width: 780px; font-size: 13px; }
.vp-dialog .vp-footer { padding: 18px 30px 24px; }
.vp-dialog .vp-table-wrap { max-height: 48vh; }
.vp-dialog-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.vp-status { font-size: 11px; color: var(--plot-accent); padding: 0 20px 8px; }
@media (max-width: 480px) {
  .vp-title { font-size: 14px; }.vp-chart { height: 225px; }
  .vp-footer { align-items: flex-start; }.vp-legend { gap: 4px 10px; }
  .vp-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .vp-dialog .vp-head { padding: 20px 18px 0; }.vp-dialog .vp-title { font-size: 19px; }
  .vp-dialog .vp-chart { padding-inline: 4px; }.vp-dialog .vp-caption { padding-inline: 18px; }
  .vp-dialog .vp-footer { padding-inline: 18px; flex-direction: column; align-items: stretch; }
}
@media (pointer: coarse) { :is(.vp-card, .vp-gallery) button.vp-icon { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .vp-card *, .vp-dialog *, .vp-gallery * { scroll-behavior: auto!important; } :is(.vp-card, .vp-gallery) button.vp-icon, .vp-toggle-hint svg { transition: none; } }

.vp-dialog > .vp-card, .vp-gallery .vp-card { --plot-paper: inherit; --plot-ink: inherit; }
