@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');/* Import Nimbus Design System Theme */
/**
 * Nimbus Design System - CSS Theme
 * Auto-generated from Figma Design Tokens
 *
 * This file contains all design tokens as CSS custom properties.
 * The theme automatically adapts to light/dark mode using prefers-color-scheme.
 */
:root {
  color-scheme: light dark;
}
/* Light Theme (Default) */
:root {
  /* Backgrounds - Surface */
  --bg-surface-primary: #FFFFFF;
  --bg-surface-secondary: #EDEFF2;
  --bg-surface-invert: #FFFFFF;
  --bg-surface-invert-2: #EDEFF2;
  --bg-surface-brand: #403456;

  /* Backgrounds - Buttons */
  --bg-button-primary: #403456;
  --bg-button-secondary: #EDEFF2;
  --bg-button-ghost: #FFFFFF;
  --bg-button-border: #D7DAE0;
  --bg-button-disable: #EDEFF2;

  /* Backgrounds - Chips */
  --bg-chip-filled: #EDEFF2;
  --bg-chip-border: #EDEFF2;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #EDEFF2;
  --bg-cs-highlight: #FFFFFF;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #F6F7F9;
  --bg-footer-border-selected: #232933;

  /* Borders */
  --border-20: #D7DAE0;
  --border-40: #D7DAE0;
  --border-60: #BDC4D1;
  --border-100: #232933;
  --border-brand: #2D1B3F;

  /* Text Colors */
  --text-title: #232933;
  --text-paragraph: #5C6575;
  --text-disable: #BDC4D1;
  --text-invert: #FFFFFF;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #171B27;
  --icon-secondary: #5C6575;
  --icon-disable: #828B99;
  --icon-brand: #675D78;
}
/* Dark Theme */
@media (prefers-color-scheme: dark) {
  :root {
    /* Backgrounds - Surface */
    --bg-surface-primary: #232933;
    --bg-surface-secondary: #303640;
    --bg-surface-invert: #464E5C;
    --bg-surface-invert-2: #5C6575;
    --bg-surface-brand: #D8D6DD;

    /* Backgrounds - Buttons */
    --bg-button-primary: #D8D6DD;
    --bg-button-secondary: #303640;
    --bg-button-ghost: #232933;
    --bg-button-border: #464E5C;
    --bg-button-disable: #303640;

    /* Backgrounds - Chips */
    --bg-chip-filled: #303640;
    --bg-chip-border: #303640;

    /* Backgrounds - Content Switcher */
    --bg-cs-bg: #464E5C;
    --bg-cs-highlight: #303640;

    /* Backgrounds - Footer */
    --bg-footer-surface-primary: #303640;
    --bg-footer-border-selected: #BDC4D1;

    /* Borders */
    --border-20: #5C6575;
    --border-40: #464E5C;
    --border-60: #5C6575;
    --border-100: #F6F7F9;
    --border-brand: #675D78;

    /* Text Colors */
    --text-title: #FFFFFF;
    --text-paragraph: #D7DAE0;
    --text-disable: #5C6575;
    --text-invert: #232933;
    --text-brand: #2D1B3F;

    /* Icon Colors */
    --icon-hero: #FFFFFF;
    --icon-secondary: #D7DAE0;
    --icon-disable: #BDC4D1;
    --icon-brand: #675D78;
  }
}
/* Force Light Theme */
[data-theme="light"] {
  color-scheme: light;

  /* Backgrounds - Surface */
  --bg-surface-primary: #FFFFFF;
  --bg-surface-secondary: #EDEFF2;
  --bg-surface-invert: #FFFFFF;
  --bg-surface-invert-2: #EDEFF2;
  --bg-surface-brand: #403456;

  /* Backgrounds - Buttons */
  --bg-button-primary: #403456;
  --bg-button-secondary: #EDEFF2;
  --bg-button-ghost: #FFFFFF;
  --bg-button-border: #D7DAE0;
  --bg-button-disable: #EDEFF2;

  /* Backgrounds - Chips */
  --bg-chip-filled: #EDEFF2;
  --bg-chip-border: #EDEFF2;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #EDEFF2;
  --bg-cs-highlight: #FFFFFF;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #F6F7F9;
  --bg-footer-border-selected: #232933;

  /* Borders */
  --border-20: #D7DAE0;
  --border-40: #D7DAE0;
  --border-60: #BDC4D1;
  --border-100: #232933;
  --border-brand: #2D1B3F;

  /* Text Colors */
  --text-title: #232933;
  --text-paragraph: #5C6575;
  --text-disable: #BDC4D1;
  --text-invert: #FFFFFF;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #171B27;
  --icon-secondary: #5C6575;
  --icon-disable: #828B99;
  --icon-brand: #675D78;
}
/* Force Dark Theme */
[data-theme="dark"] {
  color-scheme: dark;

  /* Backgrounds - Surface */
  --bg-surface-primary: #232933;
  --bg-surface-secondary: #303640;
  --bg-surface-invert: #464E5C;
  --bg-surface-invert-2: #5C6575;
  --bg-surface-brand: #D8D6DD;

  /* Backgrounds - Buttons */
  --bg-button-primary: #D8D6DD;
  --bg-button-secondary: #303640;
  --bg-button-ghost: #232933;
  --bg-button-border: #464E5C;
  --bg-button-disable: #303640;

  /* Backgrounds - Chips */
  --bg-chip-filled: #303640;
  --bg-chip-border: #303640;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #464E5C;
  --bg-cs-highlight: #303640;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #303640;
  --bg-footer-border-selected: #BDC4D1;

  /* Borders */
  --border-20: #5C6575;
  --border-40: #464E5C;
  --border-60: #5C6575;
  --border-100: #F6F7F9;
  --border-brand: #675D78;

  /* Text Colors */
  --text-title: #FFFFFF;
  --text-paragraph: #D7DAE0;
  --text-disable: #5C6575;
  --text-invert: #232933;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #FFFFFF;
  --icon-secondary: #D7DAE0;
  --icon-disable: #BDC4D1;
  --icon-brand: #675D78;
}
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: var(--text-paragraph);
  background-color: var(--bg-surface-primary);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}
html {
  overscroll-behavior-y: none;
  height: 100%;
}
a {
  font-weight: 500;
  color: var(--text-brand);
  text-decoration: inherit;
}
a:hover {
  color: var(--text-brand);
  opacity: 0.8;
}
body {
  margin: 0;
  display: flex;
  min-width: 320px;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior-y: none;
}
#root {
  width: 100%;
}
h1 {
  font-size: 3.2em;
  line-height: 1.1;
  color: var(--text-title);
}
button {
  border-radius: 8px;
  border: 1px solid var(--bg-button-border);
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--bg-button-primary);
  color: var(--text-invert);
  cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}
button:hover {
  opacity: 0.9;
}
button:focus,
button:focus-visible {
  outline: 2px solid var(--border-brand);
  outline-offset: 2px;
}
button:disabled {
  background-color: var(--bg-button-disable);
  color: var(--text-disable);
  cursor: not-allowed;
  opacity: 0.6;
}
/* Theme variables are automatically applied via @media queries in theme.css */

body, .sidebar, .sidebar * {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 298px;
    height: 100vh;
    background: url('/BackgroundImage.png') no-repeat center center/cover !important;
    color: #fff;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 1000;
}
.sidebar.collapsed {
    width: 110px;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    min-height: 60px;
}
.sidebar-logo {
    transition: opacity 0.2s;
}
.sidebar-logo img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.sidebar-toggle {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background 0.2s, opacity 0.2s;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    outline: none;
}
.sidebar-toggle:focus {
    outline: none;
}
.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}
.sidebar.collapsed .sidebar-toggle {
    opacity: 0;
    pointer-events: none;
}
.sidebar.collapsed:hover .sidebar-toggle {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 30px;
}
.sidebar-bottom {
    margin-top: auto;
}
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar nav ul li {
    margin: 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-menu-icon {
    min-width: 24px;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sidebar-menu-text {
    opacity: 1;
    max-width: 200px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 12px;
    font-size: 13px;
    line-height: 140%;
    vertical-align: middle;
}
.sidebar.collapsed .sidebar-menu-text {
    opacity: 0;
    max-width: 0;
    margin-left: 0;
}
.sidebar nav ul li a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, justify-content 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), margin 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    text-align: left;
}
.sidebar.collapsed nav ul li a {
    justify-content: center;
    width: calc(100% - 20px);
    margin: 0 10px;
    padding: 0.5rem;
}
.sidebar nav ul li a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
    text-decoration: none;
}
.sidebar nav ul li a:focus {
    outline: none;
}
.sidebar nav ul li a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}
.sidebar nav ul li a.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
}
.secondary-nav {
  position: fixed;
  left: 298px;
  top: 0;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface-primary);
  border-right: 1px solid var(--border-40);
  padding-top: 20px;
  overflow-y: auto;
  z-index: 999;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s, border-color 0.2s;
}

.secondary-nav-section {
  margin-bottom: 1.5rem;
}

.secondary-nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-paragraph);
  margin: 0 0 0.5rem 0;
  padding: 0 20px;
}

.secondary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.secondary-nav ul li {
  margin: 0;
}

.secondary-nav ul li a,
.secondary-nav ul li button {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin: 5px 20px;
  padding: 12px 16px;
  color: var(--text-title);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
}

.secondary-nav ul li a:hover,
.secondary-nav ul li button:hover {
  background-color: var(--bg-surface-secondary);
  border: 1px solid var(--border-40);
}

.secondary-nav ul li a:focus,
.secondary-nav ul li button:focus {
  outline: none;
}

.secondary-nav ul li a:focus-visible,
.secondary-nav ul li button:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: -2px;
}

.secondary-nav ul li a.active,
.secondary-nav ul li button.active {
  background-color: var(--bg-surface-secondary);
  color: var(--text-title);
}

.secondary-nav ul li a.active .secondary-nav-icon,
.secondary-nav ul li button.active .secondary-nav-icon {
  color: var(--text-title);
}


.secondary-nav-icon {
  min-width: 20px;
  font-size: 1.1rem;
  margin-right: 12px;
}

.secondary-nav-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.dashboard-header {
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
}

.dashboard-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-title);
}

.dashboard-header p {
  font-size: 1rem;
  color: var(--text-paragraph);
  margin: 0;
}

.dashboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.empty-state {
  text-align: center;
  max-width: 500px;
  padding: 3rem;
  background: var(--bg-surface-secondary);
  border-radius: 12px;
  border: 2px dashed var(--border-20);
}

.empty-state h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 1rem 0;
}

.empty-state p {
  font-size: 1rem;
  color: var(--text-paragraph);
  line-height: 1.6;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.dashboard-widget {
  background: var(--bg-surface-primary);
  border: 1px solid var(--border-20);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  align-self: start;
}

.dashboard-widget:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.dashboard-widget-small {
  grid-column: span 1;
}

.dashboard-widget-medium {
  grid-column: span 1;
}

.dashboard-widget-large {
  grid-column: span 2;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-20);
  background: var(--bg-surface-secondary);
}

.widget-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-title);
  margin: 0;
}

.widget-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-20);
  background: var(--bg-surface-secondary);
}

.widget-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: var(--bg-button-primary);
  color: var(--text-invert);
  border: none;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.widget-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.widget-badge:active {
  transform: translateY(0);
}

.widget-content {
  padding: 1.5rem;
  min-height: 200px;
}

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

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

  .dashboard-widget-small,
  .dashboard-widget-medium,
  .dashboard-widget-large {
    grid-column: span 1;
  }
}
.settings-page {
  width: 100%;
}

.settings-header {
  margin-bottom: 2rem;
}

.settings-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-title);
}

.settings-content {
  width: 100%;
}

.settings-empty {
  padding: 3rem;
  text-align: center;
  background: var(--bg-surface-secondary);
  border-radius: 12px;
  border: 2px dashed var(--border-20);
}

.settings-empty p {
  color: var(--text-paragraph);
  margin: 0;
}

/* General Settings Styles */
.general-settings {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-group {
  background: var(--bg-surface-primary);
  border: 1px solid var(--border-20);
  border-radius: 12px;
  padding: 1.5rem;
}

.settings-group h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-20);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.settings-item + .settings-item {
  border-top: 1px solid var(--border-10);
}

.settings-item-info {
  flex: 1;
}

.settings-item-info label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 0.25rem;
}

.settings-item-info p {
  font-size: 0.85rem;
  color: var(--text-paragraph);
  margin: 0;
}

.settings-select {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-20);
  border-radius: 6px;
  background: var(--bg-surface-secondary);
  color: var(--text-title);
  cursor: pointer;
  min-width: 120px;
}

.settings-select:focus {
  outline: none;
  border-color: var(--bg-button-primary);
}

/* Toggle Switch */
.settings-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.settings-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-20);
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.settings-toggle input:checked + .toggle-slider {
  background-color: var(--bg-button-primary);
}

.settings-toggle input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.translation-debug {
    padding: 24px;
}

.debug-header {
    margin-bottom: 32px;
}

.debug-header h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
}

.debug-subtitle {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.debug-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 24px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.search-input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 300px;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.language-select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.language-select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.stats {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.stat-item {
    font-size: 14px;
    color: #666;
}

.stat-item strong {
    color: #8b5cf6;
    font-weight: 600;
}

.translations-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.namespace-group {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.namespace-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.key-count {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.translations-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.table-header {
    display: flex;
    width: 100%;
    background: #f8f9fa;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
}

.table-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s;
}

.table-row:hover {
    background-color: #fafafa;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.key-cell {
    flex: 45 0 0;
    min-width: 0;
}

.key-cell code {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: "Monaco", "Menlo", "Courier New", monospace;
    color: #8b5cf6;
    word-break: break-all;
}

.value-cell {
    flex: 55 0 0;
    min-width: 0;
    color: #333;
    word-break: break-word;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .translation-debug {
        padding: 16px;
    }

    .debug-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .stats {
        margin-left: 0;
        flex-direction: column;
        gap: 8px;
    }

    .table-header {
        display: none;
    }

    .table-row {
        flex-direction: column;
    }

    .table-cell {
        padding: 8px 16px;
    }

    .key-cell {
        flex: none;
        border-bottom: 1px solid #f0f0f0;
        background: #fafafa;
    }

    .value-cell {
        flex: none;
    }
}
.theme-debug {
    padding: 24px;
}

.theme-debug .debug-header {
    margin-bottom: 32px;
}

.theme-debug .debug-header h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
}

.theme-debug .debug-subtitle {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.theme-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.theme-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.section-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px;
}

.token-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.token-swatches {
    display: flex;
    height: 60px;
}

.swatch {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
    position: relative;
}

.swatch-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.swatch.dark .swatch-label {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.swatch.current {
    border-left: 2px solid #e5e7eb;
}

.token-info {
    padding: 12px;
    background: #fafafa;
}

.token-name {
    display: block;
    font-size: 12px;
    font-family: "Monaco", "Menlo", "Courier New", monospace;
    color: #8b5cf6;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    word-break: break-all;
}

.token-values {
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-family: "Monaco", "Menlo", monospace;
}

.value-light {
    color: #666;
}

.value-light::before {
    content: "L: ";
    color: #999;
}

.value-dark {
    color: #666;
}

.value-dark::before {
    content: "D: ";
    color: #999;
}

@media (max-width: 768px) {
    .theme-debug {
        padding: 16px;
    }

    .tokens-grid {
        grid-template-columns: 1fr;
    }
}
