:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --success: #d1fae5;
  --success-border: #a7f3d0;
  --success-ink: #166534;
  --success-strong: #15803d;
  --success-surface: rgba(209, 250, 229, 0.92);
  --warning: #f59e0b;
  --error: #ef4444;
  --danger: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.body-scroll-locked {
  overflow: hidden;
}

.u-hidden {
  display: none !important;
}

.u-inline-flex {
  display: inline-flex;
}

.u-flex {
  display: flex;
}

.u-grid {
  display: grid;
}

.u-flex-1 {
  flex: 1 1 auto;
}

.u-align-center {
  align-items: center;
}

.u-justify-center {
  justify-content: center;
}

.u-justify-end {
  justify-content: flex-end;
}

.u-justify-start {
  justify-content: flex-start;
}

.u-gap-8 {
  gap: 8px;
}

.u-gap-10 {
  gap: 10px;
}

.u-gap-12 {
  gap: 12px;
}

.u-text-center {
  text-align: center;
}

.u-color-muted {
  color: var(--gray-600);
}

.u-font-sm {
  font-size: 0.9rem;
}

.u-overflow-auto {
  overflow: auto;
}

.u-pre-wrap {
  white-space: pre-wrap;
}

.u-max-h-600 {
  max-height: 600px;
}

.u-min-h-180 {
  min-height: 180px;
}

.u-min-h-72 {
  min-height: 72px;
}

.u-min-h-86 {
  min-height: 86px;
}

.u-min-h-92 {
  min-height: 92px;
}

.u-mt-8 {
  margin-top: 8px;
}

.u-mt-12 {
  margin-top: 12px;
}

.u-mt-16 {
  margin-top: 16px;
}

.u-mb-6 {
  margin-bottom: 6px;
}

.u-mb-8 {
  margin-bottom: 8px;
}

.u-mb-12 {
  margin-bottom: 12px;
}

.u-mb-14 {
  margin-bottom: 14px;
}

.u-mb-16 {
  margin-bottom: 16px;
}

.u-btn-compact {
  padding: 5px 8px;
  font-size: 0.75rem;
}

.u-block {
  display: block;
}

.plain-link-reset {
  text-decoration: none;
  color: inherit;
}

.icon-chevron-small {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.tone-positive {
  color: var(--success-ink);
}

.tone-negative {
  color: var(--danger);
}

.log-panel-output {
  display: block;
  white-space: pre-wrap;
  max-height: 600px;
  overflow: auto;
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
}

.results-title-spaced {
  margin-bottom: 14px;
}
