/**
 * Oh My Claudecode - Design System CSS
 * Comprehensive styling for the OMC website
 * Version: 1.0.0
 */

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */

:root {
  /* Background Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-elevated: #22222e;

  /* Surface Colors */
  --surface-default: #151520;
  --surface-hover: #1e1e2d;
  --surface-active: #252536;
  --surface-pressed: #2a2a3d;

  /* Border Colors */
  --border-default: #2a2a3d;
  --border-hover: #3a3a52;
  --border-active: #dc2626;
  --border-subtle: #1e1e2d;

  /* Text Colors */
  --text-primary: #f2f2f5;
  --text-secondary: #a0a0b0;
  --text-tertiary: #6e6e80;
  --text-muted: #4a4a5c;
  --text-inverse: #0a0a0f;

  /* Accent Colors */
  --accent-primary: #dc2626;
  --accent-primary-hover: #ef4444;
  --accent-primary-pressed: #b91c1c;
  --accent-secondary: #7c3aed;
  --accent-success: #22c55e;
  --accent-warning: #f59e0b;
  --accent-error: #ef4444;
  --accent-info: #3b82f6;

  /* Skeleton Colors */
  --skeleton-base: #1a1a2e;
  --skeleton-highlight: #252542;

  /* Code Block Colors */
  --code-bg: #0d1117;
  --code-border: #30363d;
  --code-header-bg: #161b22;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --font-display: 'Inter', sans-serif;

  /* Type Scale */
  --text-display: 3rem;
  --text-h1: 2.25rem;
  --text-h2: 1.75rem;
  --text-h3: 1.375rem;
  --text-h4: 1.125rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;
  --text-code: 0.875rem;

  /* Spacing Scale (Base 8) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.15);
  --shadow-glow-lg: 0 0 40px rgba(220, 38, 38, 0.2);

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-3xl: 24px;
  --radius-full: 9999px;

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-loader: 900;

  /* Animation Timing */
  --ease-out-quint: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-fast-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-slower: 800ms;
}

/* ============================================
   2. BASE STYLES & RESET
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: rgba(220, 38, 38, 0.3);
  color: var(--text-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.3;
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

p {
  margin-bottom: var(--space-4);
}

code, pre {
  font-family: var(--font-mono);
}

code {
  font-size: var(--text-code);
  padding: 2px 6px;
  background: var(--surface-default);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
}

pre code {
  padding: 0;
  background: none;
  color: inherit;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--accent-primary-hover);
  text-decoration: underline;
}

/* ============================================
   4. ANIMATIONS
   ============================================ */

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out-quint),
    transform var(--duration-slow) var(--ease-out-quint);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up { transform: translateY(24px); }
.reveal-down { transform: translateY(-24px); }
.reveal-left { transform: translateX(24px); }
.reveal-right { transform: translateX(-24px); }
.reveal-scale { transform: scale(0.95); }

/* Hero Entrance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-animate > *:nth-child(1) { animation: fadeInUp var(--duration-slower) 0.1s var(--ease-out-quint) forwards; opacity: 0; }
.hero-animate > *:nth-child(2) { animation: fadeInUp var(--duration-slower) 0.25s var(--ease-out-quint) forwards; opacity: 0; }
.hero-animate > *:nth-child(3) { animation: fadeInUp var(--duration-slower) 0.4s var(--ease-out-quint) forwards; opacity: 0; }
.hero-animate > *:nth-child(4) { animation: fadeInUp var(--duration-slower) 0.5s var(--ease-out-quint) forwards; opacity: 0; }
.hero-animate > *:nth-child(5) { animation: fadeInScale 1s 0.6s var(--ease-out-quint) forwards; opacity: 0; }

/* Stagger List */
.stagger-list > * {
  opacity: 0;
  transform: translateY(16px);
  animation: listItemReveal 0.5s var(--ease-out-quint) forwards;
}

.stagger-list > *:nth-child(1) { animation-delay: 0ms; }
.stagger-list > *:nth-child(2) { animation-delay: 50ms; }
.stagger-list > *:nth-child(3) { animation-delay: 100ms; }
.stagger-list > *:nth-child(4) { animation-delay: 150ms; }
.stagger-list > *:nth-child(5) { animation-delay: 200ms; }
.stagger-list > *:nth-child(n+6) { animation-delay: 250ms; }

@keyframes listItemReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Loading */
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Page Loader */
@keyframes page-loader-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  text-decoration: none;
  min-height: 44px;
  touch-action: manipulation;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-primary-hover);
  text-decoration: none;
  color: white;
}

.btn--secondary {
  background: var(--surface-default);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn--secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  text-decoration: none;
  color: var(--text-primary);
}

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

.btn--ghost:hover {
  background: var(--surface-default);
  color: var(--text-primary);
  text-decoration: none;
}

.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  color: inherit;
}

/* Cards */
.card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition:
    transform 0.25s var(--ease-fast-out),
    box-shadow 0.25s var(--ease-fast-out),
    border-color 0.25s ease;
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card--interactive {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card--interactive:active {
  transform: translateY(-2px) scale(0.995);
  transition-duration: 0.1s;
}

/* Documentation Cards */
.doc-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition:
    transform 0.25s var(--ease-fast-out),
    box-shadow 0.25s var(--ease-fast-out),
    border-color 0.25s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.doc-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.doc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-primary), #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.doc-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.doc-card__description {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.doc-card--featured {
  background: linear-gradient(145deg, var(--surface-default) 0%, var(--bg-tertiary) 100%);
  border-color: var(--accent-primary);
  position: relative;
  overflow: hidden;
}

.doc-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Accordion */
.accordion {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--surface-default);
  border: none;
  color: var(--text-primary);
  font-size: var(--text-body);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease;
  text-align: left;
  min-height: 44px;
}

.accordion-header:hover {
  background: var(--surface-hover);
}

.accordion-header:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease-fast-out);
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-fast-out);
}

.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
}

/* Code Block */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--code-header-bg);
  border-bottom: 1px solid var(--code-border);
}

.code-block__controls {
  display: flex;
  gap: 6px;
}

.code-block__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-block__dot--red { background: #ff5f56; }
.code-block__dot--yellow { background: #ffbd2e; }
.code-block__dot--green { background: #27c93f; }

.code-block__language {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.code-block__actions {
  display: flex;
  gap: var(--space-2);
}

.code-block__button {
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--code-border);
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-size: var(--text-caption);
  cursor: pointer;
  transition:
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.code-block__button:hover {
  color: var(--text-secondary);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.code-block__content {
  padding: var(--space-4);
  overflow-x: auto;
  font-size: var(--text-code);
  line-height: 1.6;
}

.code-block__content pre {
  margin: 0;
  white-space: pre;
  word-wrap: normal;
}

.code-block__content code {
  font-family: inherit;
  color: var(--text-primary);
}

/* Syntax Highlighting */
.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-comment { color: #8b949e; font-style: italic; }
.code-function { color: #d2a8ff; }
.code-number { color: #79c0ff; }
.code-operator { color: #ff7b72; }
.code-property { color: #7ee787; }

/* Search */
.search {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.search__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-left: 44px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--text-body);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.search__input::placeholder {
  color: var(--text-tertiary);
}

.search__input:hover {
  border-color: var(--border-hover);
}

.search__input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: var(--bg-secondary);
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.search__input:focus ~ .search__icon,
.search__input:not(:placeholder-shown) ~ .search__icon {
  color: var(--text-secondary);
}

.search__kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: var(--text-caption);
  font-family: var(--font-mono);
  color: var(--text-tertiary);
}

.search__input:focus ~ .search__kbd,
.search__input:not(:placeholder-shown) ~ .search__kbd {
  opacity: 0;
}

/* Sidebar */
.sidebar {
  width: 280px;
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-default) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 3px;
}

.sidebar__header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.sidebar__logo:hover {
  text-decoration: none;
  color: var(--text-primary);
}

.sidebar__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-primary), #991b1b);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__nav {
  flex: 1;
  padding: var(--space-4) var(--space-3);
}

.nav-section {
  margin-bottom: var(--space-6);
}

.nav-section__title {
  padding: 0 var(--space-3);
  margin-bottom: var(--space-2);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  min-height: 36px;
}

.nav-item:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-item.is-active {
  background: var(--accent-primary);
  color: white;
  font-weight: 500;
}

.nav-item__icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-item.is-active .nav-item__icon {
  opacity: 1;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loader);
  opacity: 1;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-default);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: page-loader-spin 1s linear infinite;
}

/* ============================================
   6. LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-12);
  }
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ============================================
   7. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  /* Typography */
  :root {
    --text-display: 2rem;
    --text-h1: 1.75rem;
    --text-h2: 1.5rem;
    --text-h3: 1.25rem;
  }

  /* Animations */
  .reveal {
    transform: translateY(16px);
  }

  .card {
    transition-duration: 0.2s;
  }

  .card:hover {
    transform: translateY(-2px);
  }

  /* Stagger delays */
  .stagger-list > *:nth-child(n) {
    animation-delay: calc(var(--index, 0) * 30ms);
  }

  /* Sidebar */
  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--duration-normal) var(--ease-fast-out);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }
}

/* Touch devices */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .card:active {
    transform: scale(0.98);
    background: var(--surface-active);
  }
}

/* Hover-capable devices */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================
   8. ACCESSIBILITY
   ============================================ */

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .skeleton {
    animation: none !important;
    background: var(--skeleton-base);
    opacity: 0.6;
  }
}

/* Screen reader only */
.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;
}

/* Focus styles for keyboard navigation */
.keyboard-focus :focus:not(:focus-visible) {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-default: #555566;
    --text-secondary: #ccccd4;
  }
}
