/* Auto-generated from packages/ui/src/styles/theme.css - DO NOT EDIT MANUALLY (ADR-0012) */
/* Auto-generated from tooling/design/tokens.json - DO NOT EDIT MANUALLY */
:root,
[data-theme="lab"] {
  color-scheme: light;
  --ground: #F5F6F7;
  --panel: #FFFFFF;
  --raised: #FFFFFF;
  --grid: #DADDE1;
  --ink: #1D1D1B;
  --ink-muted: #5B6168;
  --vr-blue: #1171B8;
  --vr-fill: #1171B8;
  --on-fill: #FFFFFF;
  --bracket: #1D1D1B;
  --line-na: #8A5A00;
  --line-h: #B3261E;
  --line-hg: #3B6E12;
  --line-o: #00707E;

  /* Spacing & Radius */
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --radius-tile: 0px;
  --radius-control: 4px;
  --radius-orbit: 999px;

  /* Font Families */
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

[data-theme="kriyo"] {
  color-scheme: dark;
  --ground: #0A0D12;
  --panel: #11161D;
  --raised: #18202A;
  --grid: #253141;
  --ink: #E8EDF2;
  --ink-muted: #93A1B1;
  --vr-blue: #5AA9F0;
  --vr-fill: #1171B8;
  --on-fill: #FFFFFF;
  --bracket: #FFFFFF;
  --line-na: #FFB547;
  --line-h: #FF6B5E;
  --line-hg: #9BE564;
  --line-o: #5FD3E0;
}

/* Baseline styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Tabular numbers for mono/measure styles */
.font-mono,
[data-style="measure"] {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

/* Accessible keyboard focus states (ADR-0012: 2px vr-blue) */
.vr-btn:focus-visible {
  outline-width: 2px !important;
  outline-style: solid !important;
  outline-color: var(--vr-blue) !important;
  outline-offset: 2px;
}

.vr-input-wrapper:focus-within {
  border-color: var(--vr-blue) !important;
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--vr-blue);
  outline-offset: 1px;
}

.vr-progress {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  border-radius: var(--radius-tile);
}

.vr-orbit-fill { transition: stroke-dashoffset 200ms ease; }
.vr-half-life-fill { transition: width 200ms ease; }

@media (prefers-reduced-motion: reduce) {
  .vr-orbit-fill, .vr-half-life-fill {
    animation: none !important;
    transition: none !important;
  }
}

.vr-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-6);
  background: var(--raised);
  color: var(--ink);
  font-family: var(--font-sans);
}

.vr-modal::backdrop { background: var(--ground); opacity: 0.8; }
.vr-reason {
  width: 100%;
  min-height: 96px;
  padding: var(--space-2);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.vr-reason:focus-visible { outline: 2px solid var(--vr-blue); outline-offset: 2px; }

.vr-command-brackets span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--vr-blue);
  border-style: solid;
  pointer-events: none;
}
.vr-command-brackets span:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.vr-command-brackets span:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.vr-command-brackets span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.vr-command-brackets span:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.vr-element-tile:focus-visible,
.vr-spectrum-event:focus-visible {
  outline: 2px solid var(--vr-blue);
  outline-offset: 2px;
}

.vr-tile-corner {
  display: none;
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid var(--vr-blue);
  pointer-events: none;
}

.vr-element-tile[aria-pressed="true"] .vr-tile-corner,
.vr-element-tile:focus-visible .vr-tile-corner { display: block; }
.vr-tile-corner--top-left { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.vr-tile-corner--top-right { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.vr-tile-corner--bottom-left { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.vr-tile-corner--bottom-right { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.vr-spectrum-line {
  display: block;
  width: 2px;
  height: 48px;
  animation: vr-spectrum-enter 200ms ease-out;
}

.vr-spectrum-event[aria-pressed="true"] { border-bottom: 2px solid var(--vr-blue) !important; }
.vr-spectrum-event:disabled, .vr-element-tile:disabled { border-style: dashed; }
@keyframes vr-spectrum-enter {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .vr-spectrum-line { animation: none !important; }
}

/* VRpanel Layout & Component Classes (ADR-0012, no inline style) */
.vr-theme-root { min-height: 100vh; background-color: var(--ground); color: var(--ink); }
.vr-shell-layout { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
.vr-admin-shell, .vr-portal-shell { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
.vr-page-container { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-6); max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.vr-page-description { color: var(--ink-muted); font-size: 15px; line-height: 22px; margin: 0; }
.vr-action-row { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.vr-link-plain { text-decoration: none; color: inherit; }
.vr-tiles-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.vr-meter-wrapper { max-width: 480px; width: 100%; }
.vr-currency-mono { color: var(--line-o); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Logo Lockup */
.vr-logo-container { display: inline-flex; align-items: baseline; gap: var(--space-2); user-select: none; }
.vr-logo-bracket { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 22px; color: var(--bracket); letter-spacing: -0.03em; }
.vr-logo-vr { color: var(--vr-blue); }
.vr-logo-panel { font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 12px; color: var(--ink); letter-spacing: 0.02em; }

/* App Header */
.vr-app-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--grid); padding-bottom: var(--space-4); gap: var(--space-4); flex-wrap: wrap; }
.vr-app-header-left { display: flex; align-items: center; gap: var(--space-6); }
.vr-app-nav { display: flex; gap: var(--space-2); }
.vr-app-header-right { display: flex; align-items: center; gap: var(--space-2); }

/* Auth Views */
.vr-auth-page { min-height: 100vh; background-color: var(--ground); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.vr-auth-card { width: 100%; max-width: 440px; background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-tile); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-6); }
.vr-auth-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--grid); padding-bottom: var(--space-4); gap: var(--space-2); flex-wrap: wrap; }
.vr-auth-title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.vr-auth-subtitle { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.vr-field-label { font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.vr-auth-footer { border-top: 1px solid var(--grid); padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.vr-auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.vr-auth-alert { padding: var(--space-3) var(--space-4); border: 1px solid var(--line-r); background-color: var(--panel); color: var(--line-r); font-size: 13px; border-radius: var(--radius-control); }
.vr-auth-success { padding: var(--space-3) var(--space-4); border: 1px solid var(--line-hg); background-color: var(--panel); color: var(--line-hg); font-size: 13px; border-radius: var(--radius-control); }
.vr-auth-success-text { margin: 0; font-size: 12px; color: var(--line-hg); }
.vr-auth-link-muted { color: var(--ink-muted); font-size: 12px; text-decoration: none; }
.vr-auth-link-bold { color: var(--ink); font-size: 13px; text-decoration: none; font-weight: 500; }
.vr-checkbox-label { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--ink); cursor: pointer; user-select: none; }
.vr-checkbox { accent-color: var(--vr-blue); width: 16px; height: 16px; }
.vr-status-sent { font-size: 12px; color: var(--line-hg); }
.vr-alert-mandatory { background-color: var(--panel); border-inline-start: 3px solid var(--line-h); padding: var(--space-3); border-radius: var(--radius-control); font-size: 12px; color: var(--ink); line-height: 1.5; }
.vr-btn-left { justify-content: flex-start; padding: var(--space-3); }
.vr-qr-container { display: flex; justify-content: center; padding: var(--space-4); background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-control); }
.vr-secret-code { padding: var(--space-2) var(--space-3); background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-control); font-family: var(--font-mono); font-size: 14px; color: var(--line-o); letter-spacing: 0.1em; user-select: all; }
.vr-uri-input { padding: var(--space-2); background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-control); font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); outline: none; }
.vr-backup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); padding: var(--space-3); background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-control); }
.vr-backup-cell { font-family: var(--font-mono); font-size: 13px; color: var(--line-o); letter-spacing: 0.05em; padding: 4px 8px; background-color: var(--ground); border-radius: var(--radius-control); text-align: center; }

/* Step-Up Modal */
.vr-stepup-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: var(--space-4); }
.vr-stepup-dialog { width: 100%; max-width: 420px; background-color: var(--raised); border: 1px solid var(--grid); border-radius: var(--radius-tile); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.vr-stepup-header { display: flex; justify-content: space-between; align-items: center; }
.vr-stepup-title { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.vr-stepup-detail { padding: var(--space-3); background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-control); display: flex; flex-direction: column; gap: var(--space-1); font-size: 13px; }

/* Utilities (replacing inline styles) */
.vr-flex-col { display: flex; flex-direction: column; }
.vr-flex-row { display: flex; flex-direction: row; }
.vr-flex-wrap { flex-wrap: wrap; }
.vr-items-center { align-items: center; }
.vr-items-start { align-items: flex-start; }
.vr-justify-center { justify-content: center; }
.vr-justify-between { justify-content: space-between; }
.vr-justify-end { justify-content: flex-end; }
.vr-flex-1 { flex: 1 1 0%; }
.vr-flex-auto { flex: 1 1 auto; }
.vr-flex-initial { flex: 0 1 auto; }
.vr-flex-col-260 { flex: 1 1 260px; }
.vr-gap-1 { gap: var(--space-1); }
.vr-gap-2 { gap: var(--space-2); }
.vr-gap-3 { gap: var(--space-3); }
.vr-gap-4 { gap: var(--space-4); }
.vr-gap-6 { gap: var(--space-6); }
.vr-w-full { width: 100%; }
.vr-mt-2 { margin-top: var(--space-2); }
.vr-mt-4 { margin-top: var(--space-4); }
.vr-mb-2 { margin-bottom: var(--space-2); }
.vr-text-muted { color: var(--ink-muted); }
.vr-text-sm { font-size: 13px; line-height: 1.5; }
.vr-text-xs { font-size: 11px; }
.vr-font-mono { font-family: var(--font-mono); }
.vr-font-bold { font-weight: 600; }
.vr-connections-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.vr-connections-testmode { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4); border: 1px solid var(--grid); border-radius: var(--radius-control); background-color: var(--panel); }
.vr-connections-card { background-color: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius-tile); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.vr-connections-tabs { display: flex; gap: var(--space-2); border-bottom: 1px solid var(--grid); padding-bottom: var(--space-2); }
.vr-code-block { background-color: var(--panel); padding: var(--space-3); border-radius: var(--radius-control); border: 1px solid var(--grid); font-family: var(--font-mono); font-size: 12px; overflow-x: auto; margin: 0; }

/* UI Component Classes (ADR-0012, no inline style) */
.vr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 1;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, opacity 160ms ease-out;
  user-select: none;
}
.vr-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.vr-btn--primary {
  background-color: var(--vr-fill);
  color: var(--on-fill);
  border-color: var(--vr-fill);
}
.vr-btn--secondary {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--grid);
}
.vr-btn--ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: transparent;
}
.vr-btn--bracket {
  background-color: transparent;
  color: var(--ink);
  border-color: transparent;
}
.vr-btn--sm {
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 18px;
}
.vr-btn--md {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 20px;
}
.vr-btn--lg {
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  line-height: 22px;
}
.vr-btn-spinner {
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: var(--radius-orbit);
  display: inline-block;
}
.vr-btn-bracket-delimiter {
  color: var(--ink-muted);
}
.vr-btn-bracket-delimiter--left {
  margin-right: 4px;
}
.vr-btn-bracket-delimiter--right {
  margin-left: 4px;
}

/* Input component classes */
.vr-input-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.vr-input-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vr-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  background-color: var(--panel);
  padding: 0 8px;
  gap: 6px;
  opacity: 1;
  transition: border-color 160ms ease-out;
}
.vr-input-wrapper--error {
  border-color: var(--line-h);
}
.vr-input-wrapper--disabled {
  opacity: 0.5;
}
.vr-input-wrapper--sm {
  height: 28px;
}
.vr-input-wrapper--md {
  height: 36px;
}
.vr-input-affix {
  color: var(--ink-muted);
  user-select: none;
}
.vr-input-affix--sm {
  font-size: 13px;
}
.vr-input-affix--md {
  font-size: 14px;
}
.vr-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
}
.vr-input--mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}
.vr-input--sm {
  font-size: 13px;
  line-height: 28px;
}
.vr-input--md {
  font-size: 14px;
  line-height: 36px;
}
.vr-input-error {
  color: var(--line-h);
  font-size: 12px;
  font-family: var(--font-sans);
}
.vr-input-hint {
  color: var(--ink-muted);
  font-size: 12px;
  font-family: var(--font-sans);
}

/* Dialog component classes */
.vr-dialog-title {
  font-family: var(--font-display);
}
.vr-dialog-description {
  border-inline-start: 2px solid var(--line-h);
  padding-inline-start: var(--space-2);
}
.vr-dialog-reason-label {
  display: block;
  color: var(--ink-muted);
}
.vr-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* ElementTile component classes */
.vr-element-tile {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
  min-width: 150px;
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.vr-element-tile:disabled {
  cursor: not-allowed;
}
.vr-element-number {
  color: var(--ink-muted);
}
.vr-element-symbol {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

/* HalfLifeMeter component classes */
.vr-half-life-track {
  width: 100%;
  height: 4px;
  background: var(--grid);
}
.vr-half-life-svg {
  display: block;
  width: 100%;
  height: 4px;
}
.vr-half-life-fill--active {
  background-color: var(--line-hg);
  fill: var(--line-hg);
}
.vr-half-life-fill--warning {
  background-color: var(--line-na);
  fill: var(--line-na);
}
.vr-half-life-fill--expired {
  background-color: var(--line-h);
  fill: var(--line-h);
}
.vr-half-life-status--active {
  color: var(--line-hg);
}
.vr-half-life-status--warning {
  color: var(--line-na);
}
.vr-half-life-status--expired {
  color: var(--line-h);
}

/* OrbitalProgress component classes */
.vr-orbit-container {
  position: relative;
  width: 120px;
  height: 120px;
}
.vr-orbit-svg {
  display: block;
  width: 100%;
}
.vr-orbit-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.vr-orbit-fill--running {
  stroke: var(--vr-blue);
}
.vr-orbit-fill--complete {
  stroke: var(--vr-blue);
}
.vr-orbit-fill--failed {
  stroke: var(--line-h);
}
.vr-orbit-status {
  display: block;
}
.vr-orbit-status--running {
  color: var(--vr-blue);
}
.vr-orbit-status--complete {
  color: var(--vr-blue);
}
.vr-orbit-status--failed {
  color: var(--line-h);
}

/* PageTitle component classes */
.vr-page-title {
  font-family: var(--font-display);
  color: var(--ink);
}
.vr-page-title-bracket {
  color: var(--ink-muted);
  font-weight: 400;
}

/* SpectrumStrip component classes */
.vr-spectrum-strip {
  padding: var(--space-4);
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
}
.vr-spectrum-events {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-1);
}
.vr-spectrum-event {
  flex: 1 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 0;
  border-radius: var(--radius-tile);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.vr-spectrum-line--success {
  background-color: var(--line-hg);
}
.vr-spectrum-line--warning {
  background-color: var(--line-na);
}
.vr-spectrum-line--danger {
  background-color: var(--line-h);
}
.vr-spectrum-line--info {
  background-color: var(--line-o);
}
.vr-spectrum-line--neutral {
  background-color: var(--ink-muted);
}
.vr-spectrum-time {
  color: var(--ink-muted);
}

/* StatusPill component classes */
.vr-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-orbit);
  border: 1px solid var(--grid);
  background-color: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}
.vr-status-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-orbit);
  flex-shrink: 0;
}
.vr-status-pill-dot--success {
  background-color: var(--line-hg);
}
.vr-status-pill-dot--warning {
  background-color: var(--line-na);
}
.vr-status-pill-dot--danger {
  background-color: var(--line-h);
}
.vr-status-pill-dot--info {
  background-color: var(--line-o);
}
.vr-status-pill-dot--neutral {
  background-color: var(--ink-muted);
}
.vr-status-pill-bracket {
  color: var(--ink-muted);
}
.vr-status-pill-bracket--left {
  margin-right: 2px;
}
.vr-status-pill-bracket--right {
  margin-left: 2px;
}

/* Table component classes */
.vr-table-container {
  overflow-x: auto;
}
.vr-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-sans);
}
.vr-table-caption {
  text-align: start;
  padding: var(--space-2);
}
.vr-table-th {
  padding: var(--space-2);
  border-bottom: 1px solid var(--grid);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: start;
}
.vr-table-th--measure {
  text-align: end;
}
.vr-table-td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--grid);
  text-align: start;
}
.vr-table-td--measure {
  text-align: end;
}
.vr-table-empty {
  padding: var(--space-4);
}
.vr-money-cell {
  color: var(--ink);
  white-space: nowrap;
}
.vr-money-cell--fx {
  color: var(--line-o);
}
.vr-money-lock-icon {
  margin-inline-start: var(--space-1);
  vertical-align: middle;
}

/* CommandPalette component classes */
.vr-command-title {
  font-family: var(--font-display);
}
.vr-command-list {
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
}
.vr-command-item {
  position: relative;
  padding: var(--space-2);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.vr-command-item--active {
  background: var(--panel);
}
.vr-command-item--disabled {
  cursor: not-allowed;
}

/* ConnectionsShell component classes */
.vr-connections-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.vr-connections-desc {
  margin: var(--space-1) 0 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-family: var(--font-sans);
}
.vr-connections-testmode-label {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.vr-connections-alert-error {
  padding: var(--space-4);
  border: 1px solid var(--line-h);
  background-color: var(--panel);
  color: var(--line-h);
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: var(--radius-control);
}
.vr-connections-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}
.vr-connections-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}
.vr-connections-module-name {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--vr-blue);
}
.vr-connections-mono {
  font-family: var(--font-mono);
}
.vr-connections-mono-sm {
  font-family: var(--font-mono);
  font-size: 12px;
}
.vr-connections-no-tests {
  color: var(--ink-muted);
  font-size: 12px;
}
.vr-connections-detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.vr-connections-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.vr-connections-detail-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}
.vr-connections-env-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}
.vr-connections-loading {
  padding: var(--space-6);
  text-align: center;
  color: var(--ink-muted);
}
.vr-connections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: var(--space-6);
}
.vr-connections-panel {
  border: 1px solid var(--grid);
  background-color: var(--panel);
  padding: var(--space-6);
  border-radius: var(--radius-tile);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.vr-connections-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-4);
}
.vr-connections-panel-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.vr-connections-no-schema {
  padding: var(--space-4);
  color: var(--ink-muted);
}
.vr-connections-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vr-connections-checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
}
.vr-connections-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--vr-blue);
  cursor: pointer;
}
.vr-connections-checkbox-label {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.vr-connections-alert-success {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line-hg);
  background-color: var(--panel);
  color: var(--line-hg);
  font-family: var(--font-sans);
  font-size: 13px;
  border-radius: var(--radius-control);
}
.vr-connections-actions-right {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-2);
}
.vr-connections-latest-run {
  margin-top: var(--space-4);
  border-top: 1px solid var(--grid);
  padding-top: var(--space-4);
}
.vr-connections-latest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}
.vr-connections-latest-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
}
.vr-connections-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-3);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}
.vr-connections-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vr-connections-step-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.vr-connections-step-detail {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}
.vr-connections-step-hint {
  font-size: 13px;
  color: var(--line-o);
  font-family: var(--font-sans);
}

/* Portal Navigation (ADR-0012, 6-item menu) */
.vr-portal-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.vr-portal-nav-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-tile);
  transition: color 160ms ease, background-color 160ms ease;
}
.vr-portal-nav-item:hover {
  color: var(--ink);
  background-color: var(--panel);
}
.vr-portal-nav-item:focus-visible {
  outline: 2px solid var(--vr-blue);
  outline-offset: 2px;
}
.vr-portal-nav-item--active {
  color: var(--vr-blue);
  font-weight: 700;
}

/* Invoices Views */
.vr-invoices-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}
.vr-invoices-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.vr-invoices-stat-card {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vr-invoices-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.vr-invoices-stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.vr-invoice-filter-bar {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.vr-invoice-detail-card {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.vr-invoice-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.vr-invoice-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}
.vr-invoice-detail-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.vr-invoice-totals-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
  padding: var(--space-4);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}
.vr-invoice-total-row {
  display: flex;
  gap: var(--space-6);
  justify-content: space-between;
  min-width: 240px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.vr-invoice-total-grand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--grid);
  padding-top: var(--space-2);
}

/* Account & Team Views */
.vr-account-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}
.vr-account-section {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.vr-account-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.vr-account-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.vr-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}
.vr-account-card {
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vr-account-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  color: var(--ink-muted);
}
.vr-account-badge--owner {
  color: var(--vr-blue);
  border-color: var(--vr-blue);
  font-weight: 500;
}
.vr-account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.vr-account-invite-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.vr-account-session-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}
.vr-account-session-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.vr-account-note {
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
}

.vr-account-actions-cell {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.vr-account-perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  max-height: 360px;
  overflow-y: auto;
  padding: var(--space-2);
}
.vr-account-perm-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}
.vr-account-perm-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-1);
}
.vr-account-checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.vr-checkbox {
  accent-color: var(--vr-blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.vr-account-tiles-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

/* Order & Catalog Views */
.vr-order-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}
.vr-order-groups-bar {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-3);
}
.vr-order-group-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--grid);
  background: var(--panel);
  color: var(--ink-muted);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 160ms ease;
}
.vr-order-group-btn:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}
.vr-order-group-btn--active {
  color: var(--vr-blue);
  border-color: var(--vr-blue);
  font-weight: 700;
}
.vr-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}
.vr-order-card {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.vr-order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
}
.vr-order-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.vr-order-card-desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.vr-order-cycle-select {
  padding: var(--space-2);
  background: var(--ground);
  color: var(--ink);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-size: 13px;
}
.vr-order-domain-box {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.vr-order-domain-search-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.vr-order-domain-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}

/* Cart Views */
.vr-cart-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}
.vr-cart-box {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.vr-cart-coupon-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  max-width: 400px;
}
.vr-cart-totals-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
  padding: var(--space-4);
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}

/* Payment Section */
.vr-payments-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}
.vr-payment-methods {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.vr-payment-method-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--grid);
  background: var(--panel);
  color: var(--ink-muted);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 160ms ease;
}
.vr-payment-method-btn:hover {
  color: var(--ink);
}
.vr-payment-method-btn--active {
  color: var(--vr-blue);
  border-color: var(--vr-blue);
  font-weight: 700;
}
.vr-payment-iframe-container {
  width: 100%;
  min-height: 480px;
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: var(--panel);
}
.vr-payment-iframe {
  width: 100%;
  height: 480px;
  border: 0;
}
.vr-bank-notice-card {
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Admin Shell Layout & Vertical Periodic Menu (ADR-0012) */
.vr-admin-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.vr-admin-body {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  width: 100%;
}

.vr-admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 170px;
  flex-shrink: 0;
}

.vr-admin-sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: var(--space-1);
}

.vr-admin-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.vr-admin-search-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.vr-admin-search-btn:hover {
  border-color: var(--vr-blue);
  color: var(--ink);
}

.vr-admin-search-btn:focus-visible {
  outline: 2px solid var(--vr-blue);
  outline-offset: 2px;
}

.vr-admin-kbd {
  display: inline-block;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  background: var(--ground);
  color: var(--ink-muted);
  line-height: 1.2;
}

.vr-admin-filter-bar {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.vr-search-input-wrapper {
  flex: 1 1 0%;
  max-width: 320px;
}

.vr-unauthorized-card {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 600px;
}

/* ==========================================================================
   Au · Denetim, Fark Görüntüleyici & İz Zinciri (ADR-0012, ADR-0013)
   ========================================================================== */

/* Tabs Bar */
.vr-tabs-bar {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--grid);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.vr-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.vr-tab-btn:hover {
  color: var(--ink);
}

.vr-tab-btn--active {
  color: var(--vr-blue);
  border-bottom-color: var(--vr-blue);
  font-weight: 600;
}

/* Filter Panel */
.vr-filter-panel {
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-4);
}

.vr-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}

.vr-filter-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.vr-select {
  height: 36px;
  background-color: var(--ground);
  color: var(--ink);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  padding: 0 var(--space-2);
  font-family: var(--font-sans);
  font-size: 14px;
}

/* Diff Viewer */
.vr-diff-viewer {
  background-color: var(--ground);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vr-diff-empty {
  padding: var(--space-3);
  color: var(--ink-muted);
  font-size: 13px;
}

.vr-diff-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vr-diff-item {
  border: 1px solid var(--grid);
  background-color: var(--panel);
  border-radius: var(--radius-control);
  padding: var(--space-2) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vr-diff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.vr-diff-key {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.vr-diff-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vr-diff-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-control);
}

.vr-diff-row--before {
  background-color: var(--ground);
}

.vr-diff-row--after {
  background-color: var(--raised);
}

.vr-diff-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: var(--radius-control);
  font-weight: 600;
  white-space: nowrap;
}

.vr-diff-tag--before {
  color: var(--line-h);
  border: 1px solid var(--line-h);
}

.vr-diff-tag--after {
  color: var(--line-hg);
  border: 1px solid var(--line-hg);
}

.vr-diff-content {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-all;
  flex: 1;
}

/* Trace Timeline */
.vr-trace-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background-color: var(--panel);
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  padding: var(--space-6);
  max-width: 900px;
  width: 100%;
}

.vr-trace-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-3);
}

.vr-trace-request-id {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.vr-trace-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vr-trace-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
  background-color: var(--ground);
}

.vr-trace-index {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

.vr-trace-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.vr-trace-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.vr-trace-time {
  font-size: 12px;
  color: var(--ink-muted);
}

.vr-trace-kind-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.vr-trace-kind-badge--audit {
  color: var(--vr-blue);
}

.vr-trace-kind-badge--security {
  color: var(--line-na);
}

.vr-trace-main {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vr-trace-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.vr-trace-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 12px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

/* Reusable Audit Timeline */
.vr-timeline-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vr-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.vr-timeline-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.vr-timeline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vr-timeline-card {
  border: 1px solid var(--grid);
  border-radius: var(--radius-tile);
  background-color: var(--panel);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vr-timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--grid);
  padding-bottom: var(--space-1);
}

.vr-timeline-card-time {
  font-size: 12px;
  color: var(--ink-muted);
}

.vr-timeline-card-action {
  font-size: 14px;
  color: var(--ink);
}

.vr-timeline-card-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 12px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.vr-impersonated-tag {
  color: var(--line-na);
}

.vr-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--vr-blue);
  cursor: pointer;
  text-decoration: underline;
}

.vr-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  background-color: var(--ground);
  padding: var(--space-3);
  border: 1px solid var(--grid);
  border-radius: var(--radius-control);
}


