/* Cards, tabs, buttons, tables, progress, tokens, heatmaps. */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.card--muted {
  background: var(--surface-2);
}

.card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--step-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast) var(--easing), border-color var(--t-fast) var(--easing), transform var(--t-fast) var(--easing);
}

.btn:hover {
  background: var(--surface-3);
  border-color: var(--accent-muted);
}

.btn:active {
  transform: translateY(1px);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent);
  color: #0F0F17;
  border-color: var(--accent);
  font-weight: 600;
}

[data-theme="light"] .btn--primary {
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn--ghost:hover {
  color: var(--text);
  background: var(--surface-2);
}

.btn--icon {
  padding: 8px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

/* Textarea */

.input-group {
  display: grid;
  gap: var(--space-2);
}

.label {
  font-size: var(--step-sm);
  color: var(--text);
  font-weight: 500;
}

.label .hint {
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 6px;
  font-size: var(--step-xs);
}

textarea.prompt {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  resize: vertical;
  line-height: 1.6;
}

textarea.prompt:hover {
  border-color: var(--accent-muted);
}

textarea.prompt:focus-visible {
  border-color: var(--accent);
}

.help-text {
  font-size: var(--step-xs);
  color: var(--text-tertiary);
}

/* Progress */

.progress-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--step-sm);
  color: var(--text-secondary);
}

progress {
  flex: 1;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-3);
}

progress::-webkit-progress-bar {
  background: var(--surface-3);
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--t-med) var(--easing);
}

progress::-moz-progress-bar {
  background: var(--accent);
}

.progress-meter {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  color: var(--text-tertiary);
  min-width: 10ch;
  text-align: right;
}

/* Banner */

.banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.banner[data-tone="warn"] {
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 10%, var(--surface));
}

.banner[data-tone="err"] {
  border-color: color-mix(in srgb, var(--err) 40%, transparent);
  background: color-mix(in srgb, var(--err) 10%, var(--surface));
}

.banner[data-tone="ok"] {
  border-color: color-mix(in srgb, var(--ok) 40%, transparent);
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}

.banner[hidden] {
  display: none;
}

.banner__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-mono);
}

.banner__title {
  font-weight: 600;
  margin-bottom: 2px;
}

.banner__body {
  color: var(--text-secondary);
  font-size: var(--step-sm);
}

/* Tabs */

.tablist {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
  position: relative;
}

.tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--step-sm);
  font-weight: 500;
  padding: 10px 12px;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-xs);
  transition: color var(--t-fast) var(--easing);
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  color: var(--text);
}

.tab[aria-selected="true"] {
  font-weight: var(--fw-semibold);
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 150ms var(--easing);
}

@media (prefers-reduced-motion: reduce) {
  .tab[aria-selected="true"]::after {
    transition: none;
  }
}

.tabpanel {
  padding-top: var(--space-4);
}

.tabpanel[hidden] {
  display: none;
}

/* Token chips */

.token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: var(--space-3);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--step-xs);
}

.token-strip__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 4px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--easing), background var(--t-fast) var(--easing);
  overflow: hidden;
}

.chip:hover,
.chip:focus-visible,
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-faint);
  color: var(--text);
}

.chip__weight-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
}

/* Heatmap */

.vis-shell {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 960px) {
  .vis-shell {
    grid-template-columns: 1fr;
  }
}

.vis-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  min-height: 360px;
}

.vis-panel__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  gap: var(--space-3);
}

.vis-panel__title h3 {
  margin: 0;
}

.vis-panel__meta {
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-size: var(--step-xs);
}

.heatmap-container {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  overflow: hidden;
}

.heatmap-container canvas {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border-radius: var(--radius-sm);
  background: var(--heatmap-start);
}

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--step-xs);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.heatmap-legend__gradient {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--heatmap-start), var(--accent), var(--accent-strong));
  border: 1px solid var(--border);
}

.heatmap-legend__label {
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-size: var(--fs-micro);
}

.heatmap-legend__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
}

.heatmap-axis {
  position: absolute;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.heatmap-axis--top {
  top: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
}

.heatmap-axis--left {
  left: var(--space-2);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.vis-help {
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.vis-help summary {
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
  list-style: none;
}

.vis-help summary::-webkit-details-marker { display: none; }

.vis-help summary::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.vis-help[open] {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
}

.vis-help[open] summary {
  margin-bottom: var(--space-2);
}

/* Export PNG button inline with panel title. */
.vis-panel__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.vis-panel__actions .btn {
  padding: 4px 10px;
  font-size: var(--fs-micro);
  border-radius: var(--radius-sm);
}

/* Compare view */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 960px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-controls {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.compare-controls__row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 40px 80px minmax(0, 1fr) 40px;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-small);
}

@media (max-width: 720px) {
  .compare-controls__row { grid-template-columns: 1fr 1fr; }
}

/* Stats 12x12 heatmap */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stats-cell {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--surface);
  position: relative;
}

.stats-cell:focus-visible,
.stats-cell:hover {
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 2;
}

.stats-cell[data-induction="true"]::after {
  content: "I";
  position: absolute;
  top: 2px;
  right: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent-strong);
  padding: 0 3px;
  border-radius: 2px;
  line-height: 1.2;
}

.stats-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (max-width: 720px) {
  .stats-summary { grid-template-columns: 1fr; }
}

.stats-summary h4 {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
  font-weight: var(--fw-semibold);
}

.stats-summary ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.stats-summary li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

/* Rollout + ablation + attribution horizontal bars */
.hbar-list {
  display: grid;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

.hbar {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 64px;
  align-items: center;
  gap: var(--space-2);
}

.hbar__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
}

.hbar__track {
  position: relative;
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hbar__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 200ms var(--easing);
}

.hbar__fill--neg {
  background: linear-gradient(90deg, var(--err), color-mix(in srgb, var(--err) 70%, var(--bg)));
}

@media (prefers-reduced-motion: reduce) {
  .hbar__fill { transition: none; }
}

.hbar__value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* Gallery prompt list */
.gallery {
  margin-top: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.gallery > summary {
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-semibold);
  list-style: none;
}

.gallery > summary::-webkit-details-marker { display: none; }

.gallery[open] > summary {
  border-bottom: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  padding: var(--space-4);
}

.gallery-card {
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--t-fast) var(--easing);
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: var(--accent);
}

.gallery-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 4px;
}

.gallery-card__prompt {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

/* Perf panel */
.perf-panel {
  margin-top: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.perf-panel > summary {
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-semibold);
  list-style: none;
}

.perf-panel > summary::-webkit-details-marker { display: none; }

.perf-panel__body {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.perf-runs {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  width: 100%;
  border-collapse: collapse;
}

.perf-runs th,
.perf-runs td {
  text-align: right;
  padding: 4px 6px;
  border-bottom: 1px solid var(--border);
}

.perf-runs th:first-child,
.perf-runs td:first-child {
  text-align: left;
}

.perf-device {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  background: var(--surface-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

/* Overview induction badge */
.overview-cell[data-induction="true"]::before {
  content: "I";
  position: absolute;
  top: 1px;
  right: 1px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent-strong);
  padding: 0 3px;
  border-radius: 2px;
  z-index: 3;
  line-height: 1.2;
}

.overview-cell__label {
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-tertiary);
  line-height: 1;
  pointer-events: none;
}

.overview-row-caption {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding-top: var(--space-2);
  padding-bottom: 2px;
}

/* Connection view token chips focus ring */
.connection-view svg g[role="button"]:focus-visible rect,
.connection-view svg g[role="button"]:focus-visible circle,
.connection-view svg g[role="button"]:hover circle {
  stroke: var(--accent);
  stroke-width: 1;
}

/* Skeleton */

.skeleton {
  position: absolute;
  inset: var(--space-3);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

.skeleton[hidden] {
  display: none;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--surface-2);
  }
}

/* Overview map grid */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.overview-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  display: block;
  transition: transform var(--t-fast) var(--easing), box-shadow var(--t-fast) var(--easing);
}

.overview-cell canvas {
  width: 100%;
  height: 100%;
  border-radius: 3px;
}

.overview-cell:hover,
.overview-cell:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .overview-cell:hover,
  .overview-cell:focus-visible {
    transform: none;
  }
}

.overview-cell[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--accent-strong);
}

/* Divider every 4 cells */
.overview-grid > .overview-cell:nth-child(4n)::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

/* Data table */

.data-table-wrap {
  margin-top: var(--space-4);
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table.data-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 6px 8px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

.data-table th[scope="col"],
.data-table th[scope="row"] {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 500;
  text-align: left;
  position: sticky;
  left: 0;
}

.data-table th[scope="col"] {
  position: sticky;
  top: 0;
  text-align: right;
}

.data-table th[scope="row"] {
  border-right: 1px solid var(--border);
}

/* Slider controls */

.control-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  gap: var(--space-3);
  align-items: center;
  padding: 10px 0;
}

.control-row label {
  color: var(--text);
  font-size: var(--step-sm);
  font-weight: 500;
}

.control-row output {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--accent-strong);
  font-size: var(--step-sm);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface-3);
  border-radius: 999px;
  outline: none;
  accent-color: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
}

/* Toggle group */

.toggle-group {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 3px;
  gap: 2px;
}

.toggle-group .btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--step-xs);
}

.toggle-group .btn[aria-pressed="true"] {
  background: var(--accent-faint);
  color: var(--text);
}

/* Connection view */

.connection-view {
  width: 100%;
  min-height: 280px;
}

.connection-view svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Metrics table */

.metrics {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-sm);
}

.metrics th,
.metrics td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.metrics th {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--step-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metrics td {
  font-family: var(--font-mono);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Case studies grid */

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

.case-card {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: border-color var(--t-fast) var(--easing);
}

.case-card:hover,
.case-card:focus-visible {
  border-color: var(--accent);
}

.case-card__title {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  color: var(--accent-strong);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.case-card__text {
  color: var(--text-secondary);
  font-size: var(--step-sm);
  line-height: 1.55;
}

.input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

.kbd-hint {
  color: var(--text-tertiary);
  font-size: var(--step-xs);
}
