/**
 * ASAKAA Design System v2.0
 * Apple-level design consistency
 * Every pixel matters. Every decision is intentional.
 *
 * REQUIRED FONTS:
 * - Inter: UI text (https://fonts.google.com/specimen/Inter)
 * - JetBrains Mono: Technical/date display (https://fonts.google.com/specimen/JetBrains+Mono)
 *
 * Add this to your HTML head:
 * <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */


/* ============================================================================
   COMPONENT STYLES - Imported FIRST for PostCSS
   @import must precede all other statements (besides @charset)
   ============================================================================ */


/* Dropdown - Base dropdown component */


/**
 * Dropdown Styles
 * Theme-aware dropdown component styles using design tokens
 */


/* Trigger wrapper */


.dropdown-trigger {
  display: inline-block;
  cursor: pointer;
}


/* Dropdown content container */


.dropdown-content {
  background: var(--asakaa-color-background-card, #ffffff);
  border: 1px solid var(--asakaa-color-border-default, #e0e0e0);
  border-radius: var(--asakaa-spacing-radius-md, 8px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform-origin: top center;
  will-change: opacity, transform;
}


/* Inner scrollable container */


.dropdown-inner {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: inherit;
}


/* Scrollbar styling */


.dropdown-inner::-webkit-scrollbar {
  width: 8px;
}


.dropdown-inner::-webkit-scrollbar-track {
  background: transparent;
}


.dropdown-inner::-webkit-scrollbar-thumb {
  background: var(--asakaa-color-border-default, #e0e0e0);
  border-radius: 4px;
}


.dropdown-inner::-webkit-scrollbar-thumb:hover {
  background: var(--asakaa-color-border-hover, #bdbdbd);
}


/* Dropdown item */


.dropdown-item {
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  cursor: pointer;
  color: var(--asakaa-color-text-primary, #212121);
  font-size: 14px;
  line-height: 1.5;
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-sm, 8px);
}


.dropdown-item:hover {
  background: var(--asakaa-color-background-hover, #f5f5f5);
}


.dropdown-item[data-active="true"] {
  background: var(--asakaa-color-interactive-primaryHover, #e3f2fd);
  color: var(--asakaa-color-interactive-primary, #1976d2);
  font-weight: 500;
}


.dropdown-item:active {
  background: var(--asakaa-color-background-active, #eeeeee);
}


.dropdown-item[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* Dropdown arrow */


.dropdown-arrow {
  fill: var(--asakaa-color-background-card, #ffffff);
  stroke: var(--asakaa-color-border-default, #e0e0e0);
  stroke-width: 1px;
}


/* Dropdown sections */


.dropdown-section {
  padding: var(--asakaa-spacing-xs, 4px) 0;
}


.dropdown-section:not(:last-child) {
  border-bottom: 1px solid var(--asakaa-color-border-default, #e0e0e0);
}


.dropdown-section-header {
  padding: var(--asakaa-spacing-xs, 4px) var(--asakaa-spacing-md, 12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--asakaa-color-text-secondary, #757575);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Dropdown search */


.dropdown-search {
  padding: var(--asakaa-spacing-sm, 8px);
  border-bottom: 1px solid var(--asakaa-color-border-default, #e0e0e0);
  position: sticky;
  top: 0;
  background: var(--asakaa-color-background-card, #ffffff);
  z-index: 1;
}


.dropdown-search input {
  width: 100%;
  padding: var(--asakaa-spacing-xs, 4px) var(--asakaa-spacing-sm, 8px);
  border: 1px solid var(--asakaa-color-border-default, #e0e0e0);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  background: var(--asakaa-color-background-secondary, #fafafa);
  color: var(--asakaa-color-text-primary, #212121);
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease-in-out;
}


.dropdown-search input:focus {
  border-color: var(--asakaa-color-interactive-primary, #1976d2);
}


.dropdown-search input::-moz-placeholder {
  color: var(--asakaa-color-text-tertiary, #9e9e9e);
}


.dropdown-search input::placeholder {
  color: var(--asakaa-color-text-tertiary, #9e9e9e);
}


/* Dropdown empty state */


.dropdown-empty {
  padding: var(--asakaa-spacing-lg, 16px);
  text-align: center;
  color: var(--asakaa-color-text-secondary, #757575);
  font-size: 14px;
}


/* Dropdown loading state */


.dropdown-loading {
  padding: var(--asakaa-spacing-lg, 16px);
  text-align: center;
  color: var(--asakaa-color-text-secondary, #757575);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--asakaa-spacing-sm, 8px);
}


.dropdown-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--asakaa-color-border-default, #e0e0e0);
  border-top-color: var(--asakaa-color-interactive-primary, #1976d2);
  border-radius: 50%;
  animation: dropdown-spin 600ms linear infinite;
}


@keyframes dropdown-spin {
  to {
    transform: rotate(360deg);
  }
}


/* Responsive adjustments */


@media (max-width: 768px) {
  .dropdown-content {
    max-width: calc(100vw - 32px) !important;
  }
}


/* Dark theme adjustments */


[data-theme="dark"] .dropdown-content {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2),
    0 10px 15px -3px rgba(0, 0, 0, 0.3);
}


/* High contrast mode */


@media (prefers-contrast: high) {
  .dropdown-item:hover {
    outline: 2px solid currentColor;
    outline-offset: -2px;
  }
}


/* Reduced motion */


@media (prefers-reduced-motion: reduce) {
  .dropdown-content,
  .dropdown-item {
    transition: none !important;
  }
}


/* Additional utility classes for V2 selectors */


.dropdown-search-input {
  width: 100%;
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  border: 1px solid var(--asakaa-color-border-default, #e0e0e0);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  background: var(--asakaa-color-background-input, #fafafa);
  color: var(--asakaa-color-text-primary, #212121);
  font-size: 13px;
  outline: none;
  transition: border-color 150ms ease-in-out;
}


.dropdown-search-input:focus {
  border-color: var(--asakaa-color-interactive-primary, #1976d2);
}


.dropdown-search-input::-moz-placeholder {
  color: var(--asakaa-color-text-tertiary, #9e9e9e);
}


.dropdown-search-input::placeholder {
  color: var(--asakaa-color-text-tertiary, #9e9e9e);
}


.dropdown-search-wrapper {
  padding: var(--asakaa-spacing-md, 12px);
  border-bottom: 1px solid var(--asakaa-color-border-subtle, #f0f0f0);
}


.dropdown-list {
  padding: var(--asakaa-spacing-xs, 4px) 0;
  max-height: 240px;
  overflow-y: auto;
}


.dropdown-danger-button {
  width: 100%;
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  font-size: 13px;
  font-weight: 600;
  transition: all 150ms ease-in-out;
  border: 1px solid var(--asakaa-color-danger-border, rgba(239, 68, 68, 0.3));
  background: var(--asakaa-color-danger-background, rgba(239, 68, 68, 0.08));
  color: var(--asakaa-color-danger, #ef4444);
  cursor: pointer;
}


.dropdown-danger-button:hover {
  background: var(--asakaa-color-danger-backgroundHover, rgba(239, 68, 68, 0.15));
}


.dropdown-danger-button:active {
  transform: scale(0.98);
}


.dropdown-button-wrapper {
  padding: var(--asakaa-spacing-md, 12px);
  border-top: 1px solid var(--asakaa-color-border-subtle, #f0f0f0);
}


.dropdown-primary-button {
  width: 100%;
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  font-size: 13px;
  font-weight: 600;
  transition: all 150ms ease-in-out;
  border: none;
  background: var(--asakaa-color-interactive-primary, #1976d2);
  color: var(--asakaa-color-text-inverse, #ffffff);
  cursor: pointer;
}


.dropdown-primary-button:hover {
  background: var(--asakaa-color-interactive-primaryHover, #1565c0);
}


.dropdown-primary-button:active {
  transform: scale(0.98);
}


.dropdown-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--asakaa-spacing-sm, 8px);
}


.dropdown-quick-button {
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  font-size: 12px;
  font-weight: 600;
  transition: all 150ms ease-in-out;
  border: 1px solid var(--asakaa-color-interactive-primaryBorder, rgba(25, 118, 210, 0.3));
  background: var(--asakaa-color-interactive-primaryBackground, rgba(25, 118, 210, 0.08));
  color: var(--asakaa-color-interactive-primary, #1976d2);
  cursor: pointer;
}


.dropdown-quick-button:hover {
  background: var(--asakaa-color-interactive-primaryBackgroundHover, rgba(25, 118, 210, 0.15));
}


.dropdown-quick-button:active {
  transform: scale(0.98);
}


.dropdown-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--asakaa-color-text-secondary, #757575);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.dropdown-input {
  width: 100%;
  padding: var(--asakaa-spacing-sm, 8px) var(--asakaa-spacing-md, 12px);
  border-radius: var(--asakaa-spacing-radius-sm, 4px);
  font-size: 13px;
  background: var(--asakaa-color-background-input, #fafafa);
  border: 1px solid var(--asakaa-color-border-default, #e0e0e0);
  color: var(--asakaa-color-text-primary, #212121);
  outline: none;
  transition: border-color 150ms ease-in-out;
}


.dropdown-input:focus {
  border-color: var(--asakaa-color-interactive-primary, #1976d2);
}


.dropdown-form-group {
  margin-bottom: var(--asakaa-spacing-md, 12px);
}


.dropdown-form-actions {
  margin-top: var(--asakaa-spacing-sm, 8px);
  display: flex;
  flex-direction: column;
  gap: var(--asakaa-spacing-sm, 8px);
}


/* Avatar trigger styles */


.dropdown-avatar-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: var(--asakaa-spacing-radius-md, 8px);
  transition: all 150ms ease-in-out;
  background: transparent;
  border: none;
  cursor: pointer;
}


.dropdown-avatar-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}


.dropdown-avatar-trigger:active {
  transform: scale(0.95);
}


.dropdown-avatar-empty-trigger {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
  /* Color azul fijo que se ve bien en todos los temas */
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid #3b82f6;
  color: #3b82f6;
}


.dropdown-avatar-empty-trigger:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: #2563eb;
  color: #2563eb;
}


.dropdown-avatar-overflow {
  background: var(--asakaa-color-interactive-secondary);
  color: var(--asakaa-color-text-inverse);
}


/* FilterBar - Advanced filtering and sorting UI */


/**
 * FilterBar Component Styles
 */


.filter-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--theme-bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--theme-border-primary);
  margin-bottom: var(--space-4);
}


.filter-bar--compact {
  padding: var(--space-3);
  gap: var(--space-2);
}


/* Quick Filters */


.filter-bar__quick {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--theme-border-primary);
}


.filter-bar__quick-btn {
  padding: var(--space-2) var(--space-3);
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  color: var(--theme-accent-primary);
  font-size: var(--font-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}


.filter-bar__quick-btn:hover {
  background: var(--theme-bg-primary);
  border-color: var(--theme-accent-primary);
  color: var(--theme-accent-hover);
}


/* Main Filters */


.filter-bar__main {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}


.filter-bar__field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}


.filter-bar__label {
  font-size: var(--font-xs);
  color: var(--theme-text-secondary);
  font-weight: 500;
  white-space: nowrap;
}


/* Search Input */


.filter-bar__search {
  padding: var(--space-2) var(--space-3);
  background: var(--theme-bg-secondary) !important;
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  color: var(--theme-text-primary) !important;
  font-size: var(--font-sm);
  width: 280px;
  transition: all 0.2s;
  -webkit-text-fill-color: var(--theme-text-primary);
}


.filter-bar__search:focus {
  outline: none;
  border-color: var(--theme-accent-primary);
  background: var(--theme-bg-primary) !important;
}


.filter-bar__search::placeholder,
.filter-bar__search::-webkit-input-placeholder,
.filter-bar__search::-moz-placeholder,
.filter-bar__search:-ms-input-placeholder {
  color: var(--theme-text-tertiary) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--theme-text-tertiary) !important;
}


/* Select Dropdown */


.filter-bar__select {
  padding: var(--space-2) var(--space-3);
  background: var(--theme-bg-secondary) !important;
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  color: var(--theme-text-primary) !important;
  font-size: var(--font-sm);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 160px;
  width: auto;
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  -webkit-text-fill-color: var(--theme-text-primary);
  -webkit-appearance: menulist;
}


.filter-bar__select:hover {
  border-color: var(--theme-accent-primary);
  background: var(--theme-bg-primary) !important;
}


.filter-bar__select:focus {
  outline: none;
  border-color: var(--theme-accent-primary);
  background: var(--theme-bg-primary) !important;
}


.filter-bar__select--sm {
  min-width: 140px;
}


.filter-bar__select option {
  background: var(--theme-bg-primary) !important;
  color: var(--theme-text-primary) !important;
  padding: 8px;
}


/* Multi-Select (Chips) */


.filter-bar__multi-select {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
  width: 100%;
}


.filter-bar__multi-label {
  font-size: var(--font-xs);
  color: var(--theme-text-secondary);
  font-weight: 500;
  width: 100%;
  margin-bottom: var(--space-1);
}


.filter-bar__chip {
  padding: var(--space-1) var(--space-3);
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-full);
  color: var(--theme-text-secondary);
  font-size: var(--font-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}


.filter-bar__chip:hover {
  background: var(--theme-bg-primary);
  border-color: var(--theme-accent-primary);
  color: var(--theme-text-primary);
}


.filter-bar__chip--active {
  background: var(--theme-bg-primary);
  border-color: var(--theme-accent-primary);
  color: var(--theme-accent-primary);
}


/* Priority-specific colors */


.filter-bar__chip--urgent.filter-bar__chip--active {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}


.filter-bar__chip--high.filter-bar__chip--active {
  background: rgba(251, 146, 60, 0.2);
  border-color: rgba(251, 146, 60, 0.5);
  color: #fdba74;
}


.filter-bar__chip--medium.filter-bar__chip--active {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.5);
  color: #fde047;
}


.filter-bar__chip--low.filter-bar__chip--active {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
}


/* Sort Controls */


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


.filter-bar__sort-toggle {
  padding: var(--space-2);
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  color: var(--theme-text-primary);
  font-size: var(--font-lg);
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.filter-bar__sort-toggle:hover {
  background: var(--theme-bg-primary);
  border-color: var(--theme-accent-primary);
  color: var(--theme-accent-primary);
}


/* Reset Button */


.filter-bar__reset {
  padding: var(--space-2) var(--space-4);
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  color: var(--theme-error, #EF4444);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}


.filter-bar__reset:hover {
  background: var(--theme-bg-primary);
  border-color: var(--theme-error, #EF4444);
  color: var(--theme-error, #EF4444);
}


/* Responsive */


@media (max-width: 768px) {
  .filter-bar__main {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar__field {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar__search,
  .filter-bar__select {
    width: 100%;
    min-width: unset;
  }

  .filter-bar__reset {
    margin-left: 0;
  }
}


/* Card Detail Modal - Full card editing experience */


/**
 * Card Detail Modal Styles
 * Using ASAKAA Design System v2.0
 */


/* ==========================================================================
   OVERLAY
   ========================================================================== */


.card-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, var(--opacity-strong));
  backdrop-filter: blur(8px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: overlay-in var(--duration-normal) var(--ease-smooth);
}


@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* ==========================================================================
   MODAL CONTAINER
   ========================================================================== */


.card-detail-modal {
  width: 900px;
  max-width: 100%;
  max-height: 90vh;
  background: rgba(20, 20, 20, var(--opacity-opaque));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-lg);
  backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
  animation: modal-in var(--duration-normal) var(--ease-bounce);
  display: flex;
  flex-direction: column;
}


@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(var(--space-3));
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ==========================================================================
   HEADER
   ========================================================================== */


.card-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
  background: rgba(0, 0, 0, var(--opacity-light));
}


.card-detail-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
}


.card-detail-priority-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}


.card-detail-title {
  font-size: var(--font-xl);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.card-detail-title-input {
  flex: 1;
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-primary);
  font-size: var(--font-xl);
  font-weight: var(--font-semibold);
  outline: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.card-detail-title-input:focus {
  background: rgba(255, 255, 255, var(--opacity-faint));
  border-color: rgba(59, 130, 246, var(--opacity-medium));
}


.card-detail-header-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */


.card-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, var(--opacity-opaque));
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}


.card-detail-btn:hover {
  background: rgba(255, 255, 255, var(--opacity-faint));
  border-color: rgba(255, 255, 255, var(--opacity-light));
}


.card-detail-btn:disabled {
  opacity: var(--opacity-medium);
  cursor: not-allowed;
}


.card-detail-btn-primary {
  background: #3B82F6;
  border-color: rgba(59, 130, 246, var(--opacity-medium));
  color: white;
}


.card-detail-btn-primary:hover {
  background: #2563EB;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}


.card-detail-btn-danger {
  background: rgba(239, 68, 68, var(--opacity-faint));
  border-color: rgba(239, 68, 68, var(--opacity-medium));
  color: #EF4444;
}


.card-detail-btn-danger:hover {
  background: rgba(239, 68, 68, var(--opacity-light));
  border-color: rgba(239, 68, 68, var(--opacity-medium));
}


.card-detail-btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, var(--opacity-strong));
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.card-detail-btn-close:hover {
  background: rgba(255, 255, 255, var(--opacity-faint));
  color: var(--color-text-primary);
}


/* ==========================================================================
   TABS
   ========================================================================== */


.card-detail-tabs {
  display: flex;
  gap: var(--space-1);
  padding: 0 var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
  background: rgba(0, 0, 0, var(--opacity-light));
}


.card-detail-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, var(--opacity-strong));
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  border-bottom: 2px solid transparent;
}


.card-detail-tab:hover {
  color: rgba(255, 255, 255, var(--opacity-opaque));
  background: rgba(255, 255, 255, var(--opacity-subtle));
}


.card-detail-tab.active {
  color: var(--color-text-primary);
  border-bottom-color: #3B82F6;
}


.card-detail-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-full);
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  color: white;
}


.card-detail-tab.active .card-detail-tab-badge {
  background: #3B82F6;
  color: white;
}


.card-detail-tab-badge-ai {
  background: #3B82F6;
  color: white;
}


/* ==========================================================================
   CONTENT
   ========================================================================== */


.card-detail-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-8);
}


.card-detail-content::-webkit-scrollbar {
  width: 10px;
}


.card-detail-content::-webkit-scrollbar-track {
  background: transparent;
}


.card-detail-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-sm);
}


.card-detail-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, var(--opacity-medium));
}


/* ==========================================================================
   DETAILS TAB
   ========================================================================== */


.card-detail-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}


.card-detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}


.card-detail-section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}


.card-detail-label {
  font-size: var(--font-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.card-detail-text {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-opaque));
  line-height: 1.6;
}


.card-detail-textarea {
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--color-text-primary);
  font-size: var(--font-sm);
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  font-family: var(--font-sans);
}


.card-detail-textarea:focus {
  background: rgba(255, 255, 255, var(--opacity-faint));
  border-color: rgba(59, 130, 246, var(--opacity-medium));
}


.card-detail-empty {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-medium));
  font-style: italic;
}


.card-detail-users {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}


.card-detail-user {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-opaque));
}


.card-detail-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}


.card-detail-priority {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  color: rgba(255, 255, 255, var(--opacity-opaque));
}


.card-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


.card-detail-label-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  font-size: var(--font-xs);
  color: #60A5FA;
  font-weight: var(--font-medium);
}


.card-detail-dependencies {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


.card-detail-dependency {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  font-size: var(--font-xs);
  color: #A78BFA;
  font-weight: var(--font-medium);
}


/* ==========================================================================
   COMMENTS TAB
   ========================================================================== */


.card-detail-comments {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}


.card-detail-comment-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
}


.card-detail-comment-textarea {
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--color-text-primary);
  font-size: var(--font-sm);
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  font-family: inherit;
}


.card-detail-comment-textarea:focus {
  background: rgba(255, 255, 255, var(--opacity-faint));
  border-color: rgba(59, 130, 246, 0.5);
}


.card-detail-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.card-detail-comment {
  padding: var(--space-4);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
}


.card-detail-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}


.card-detail-comment-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}


.card-detail-comment-author-name {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}


.card-detail-comment-time {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.card-detail-comment-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, var(--opacity-medium));
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.card-detail-comment-delete:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}


.card-detail-comment-content {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-opaque));
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}


/* ==========================================================================
   ACTIVITY TAB
   ========================================================================== */


.card-detail-activity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


.card-detail-activity-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-md);
}


.card-detail-activity-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-md);
  font-size: var(--font-base);
}


.card-detail-activity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.card-detail-activity-text {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-opaque));
}


.card-detail-activity-text strong {
  color: var(--color-text-primary);
}


.card-detail-activity-value {
  color: #3B82F6;
}


.card-detail-activity-time {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-medium));
}


/* ==========================================================================
   AI TAB
   ========================================================================== */


.card-detail-ai {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}


.card-detail-ai-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


.card-detail-ai-heading {
  font-size: var(--font-lg);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}


.card-detail-ai-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(59, 130, 246, var(--opacity-faint));
  border: 1px solid rgba(59, 130, 246, var(--opacity-medium));
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.card-detail-ai-btn:hover {
  background: rgba(59, 130, 246, var(--opacity-light));
  border-color: rgba(59, 130, 246, var(--opacity-medium));
  transform: translateY(-1px);
}


.card-detail-ai-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


.card-detail-ai-results {
  padding: var(--space-5);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
}


.card-detail-ai-results h4 {
  font-size: var(--font-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0 0 16px 0;
}


.card-detail-ai-suggestion {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}


.card-detail-ai-suggestion:last-child {
  margin-bottom: 0;
}


.card-detail-ai-suggestion-name {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}


.card-detail-ai-suggestion-reason {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-strong));
  margin-bottom: 4px;
}


.card-detail-ai-suggestion-confidence {
  font-size: var(--font-xs);
  color: #3B82F6;
  font-weight: var(--font-medium);
}


.card-detail-ai-subtask {
  padding: var(--space-3);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}


.card-detail-ai-subtask:last-child {
  margin-bottom: 0;
}


.card-detail-ai-subtask-title {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}


.card-detail-ai-subtask-desc {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-strong));
  margin-bottom: 6px;
}


.card-detail-ai-subtask-time {
  font-size: var(--font-xs);
  color: #3B82F6;
  font-weight: var(--font-medium);
}


.card-detail-ai-effort {
  text-align: center;
  padding: var(--space-5);
}


.card-detail-ai-effort-hours {
  font-size: 32px;
  font-weight: 700;
  color: #3B82F6;
  margin-bottom: 8px;
}


.card-detail-ai-effort-confidence {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-strong));
}


.card-detail-ai-insights {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


.card-detail-ai-insights h4 {
  font-size: var(--font-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}


.card-detail-ai-insight {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border-left: 3px solid;
}


.card-detail-ai-insight-low {
  background: rgba(107, 114, 128, 0.1);
  border-color: #6B7280;
}


.card-detail-ai-insight-medium {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3B82F6;
}


.card-detail-ai-insight-high {
  background: rgba(245, 158, 11, 0.1);
  border-color: #F59E0B;
}


.card-detail-ai-insight-critical {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
}


.card-detail-ai-insight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}


.card-detail-ai-insight-title {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}


.card-detail-ai-insight-severity {
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, var(--opacity-light));
}


.card-detail-ai-insight-desc {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-strong));
  line-height: 1.5;
  margin: 0 0 8px 0;
}


.card-detail-ai-insight-action {
  font-size: var(--font-xs);
  color: #3B82F6;
  padding: 8px 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   EMPTY STATES
   ========================================================================== */


.card-detail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
  text-align: center;
}


.card-detail-empty-state svg {
  color: rgba(255, 255, 255, var(--opacity-medium));
  margin-bottom: 16px;
}


.card-detail-empty-state p {
  font-size: var(--font-lg);
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, var(--opacity-strong));
  margin: 0 0 8px 0;
}


.card-detail-empty-state span {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, var(--opacity-medium));
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


@media (max-width: 768px) {
  .card-detail-modal {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .card-detail-header {
    padding: var(--space-4) var(--space-5);
    flex-wrap: wrap;
  }

  .card-detail-title {
    font-size: var(--font-lg);
  }

  .card-detail-tabs {
    overflow-x: auto;
    padding: 0 var(--space-5);
  }

  .card-detail-content {
    padding: var(--space-5);
  }

  .card-detail-section-row {
    grid-template-columns: 1fr;
  }

  .card-detail-header-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: var(--space-3);
  }
}


/* Card Detail Modal V2 - Enhanced task detail view */


/**
 * CardDetailModal V2.0 - World-Class Task Detail View
 *
 * Design Philosophy:
 * - Hybrid: ClickUp's information density + Linear's speed and flow
 * - Speed above all: <100ms open time
 * - Keyboard-first interaction
 * - Single vertical flow (no sidebars)
 * - Instant inline editing
 * - Zero friction UX
 */


/* ============================================================================
   TOKENS & VARIABLES - Exact Specification
   ============================================================================ */


:root {
  /* Layout */
  --modal-v2-backdrop-blur: 8px;
  --modal-v2-transition: 80ms cubic-bezier(0.16, 1, 0.3, 1);
  --modal-v2-border-radius: 16px;
  --modal-v2-padding: 24px;
  --modal-v2-max-width: 800px;

  /* Typography - Exact specification */
  --modal-v2-title-size: 32px;
  --modal-v2-title-weight: 700;
  --modal-v2-label-size: 12px;
  --modal-v2-label-weight: 500;
  --modal-v2-body-size: 16px;
  --modal-v2-body-weight: 400;
  --modal-v2-body-line-height: 1.6;
}


/* Dark Theme - Matches Kanban system color #1A1D25 */


[data-theme="dark"] {
  --modal-v2-bg: #1A1D25;
  --modal-v2-text-primary: #F4F5F8;
  --modal-v2-text-secondary: #AEB6C0;
  --modal-v2-text-tertiary: #6B7280;
  --modal-v2-border: rgba(255, 255, 255, 0.08);
  --modal-v2-border-hover: rgba(255, 255, 255, 0.15);
  --modal-v2-bg-secondary: rgba(255, 255, 255, 0.04);
  --modal-v2-bg-tertiary: rgba(255, 255, 255, 0.06);
  --modal-v2-comment-bg: #242830;
  --modal-v2-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --modal-v2-backdrop: rgba(0, 0, 0, 0.7);
  /* v0.17.21: Accent colors for interactive elements */
  --color-accent-primary: #3B82F6;
  --color-accent-hover: #2563EB;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
}


/* Light Theme - Exact #FFFFFF */


[data-theme="light"] {
  --modal-v2-bg: #FFFFFF;
  --modal-v2-text-primary: #1A1A1A;
  --modal-v2-text-secondary: #6B6B6B;
  --modal-v2-text-tertiary: #9CA3AF;
  --modal-v2-border: rgba(0, 0, 0, 0.08);
  --modal-v2-border-hover: rgba(0, 0, 0, 0.15);
  --modal-v2-bg-secondary: rgba(0, 0, 0, 0.02);
  --modal-v2-bg-tertiary: rgba(0, 0, 0, 0.04);
  --modal-v2-comment-bg: #F7F7F8;
  --modal-v2-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --modal-v2-backdrop: rgba(0, 0, 0, 0.4);
  /* v0.17.21: Accent colors for interactive elements */
  --color-accent-primary: #2563EB;
  --color-accent-hover: #1D4ED8;
  --color-success: #059669;
  --color-warning: #D97706;
  --color-error: #DC2626;
}


/* Neutral Theme - Exact #F5F5F5 */


[data-theme="neutral"] {
  --modal-v2-bg: #F5F5F5;
  --modal-v2-text-primary: #1A1A1A;
  --modal-v2-text-secondary: #6B6B6B;
  --modal-v2-text-tertiary: #9CA3AF;
  --modal-v2-border: rgba(0, 0, 0, 0.1);
  --modal-v2-border-hover: rgba(0, 0, 0, 0.18);
  --modal-v2-bg-secondary: rgba(0, 0, 0, 0.03);
  --modal-v2-bg-tertiary: rgba(0, 0, 0, 0.05);
  --modal-v2-comment-bg: #EBEBEB;
  --modal-v2-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --modal-v2-backdrop: rgba(0, 0, 0, 0.35);
  /* v0.17.21: Accent colors for interactive elements */
  --color-accent-primary: #2563EB;
  --color-accent-hover: #1D4ED8;
  --color-success: #059669;
  --color-warning: #D97706;
  --color-error: #DC2626;
}


/* ============================================================================
   BACKDROP & CONTAINER
   ============================================================================ */


.modal-v2-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--modal-v2-backdrop);
  backdrop-filter: blur(var(--modal-v2-backdrop-blur));
  animation: backdropFadeIn var(--modal-v2-transition) ease-out;
}


@keyframes backdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.modal-v2-container {
  position: relative;
  width: 90%;
  max-width: var(--modal-v2-max-width);
  max-height: 92vh;
  padding: var(--modal-v2-padding);
  background: var(--modal-v2-bg);
  border-radius: var(--modal-v2-border-radius);
  box-shadow: var(--modal-v2-shadow);
  overflow-y: auto;
  animation: modalSlideIn 90ms cubic-bezier(0.16, 1, 0.3, 1);
  /* Removed will-change to fix popover positioning with scroll */
}


@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* Custom scrollbar */


.modal-v2-container::-webkit-scrollbar {
  width: 8px;
}


.modal-v2-container::-webkit-scrollbar-track {
  background: transparent;
}


.modal-v2-container::-webkit-scrollbar-thumb {
  background: var(--modal-v2-border);
  border-radius: 4px;
}


.modal-v2-container::-webkit-scrollbar-thumb:hover {
  background: var(--modal-v2-border-hover);
}


/* ============================================================================
   HEADER - Title & AI Prompt
   ============================================================================ */


.modal-v2-header {
  position: relative;
  margin-bottom: 16px;
}


.modal-v2-title {
  font-size: var(--modal-v2-title-size);
  font-weight: var(--modal-v2-title-weight);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--modal-v2-text-primary);
  margin: 0 40px 12px 0;
  outline: none;
  transition: all 80ms ease;
  cursor: text;
}


.modal-v2-title:hover {
  color: var(--color-accent-primary);
}


.modal-v2-title:focus {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 6px;
}


.modal-v2-ai-prompt {
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-ai-prompt:hover {
  color: var(--modal-v2-text-primary);
}


.modal-v2-ai-icon {
  font-size: 16px;
  line-height: 1;
}


.modal-v2-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--modal-v2-text-secondary);
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-close:hover {
  background: var(--modal-v2-bg-tertiary);
  color: var(--modal-v2-text-primary);
}


/* ============================================================================
   METADATA GRID - 2x3 Control Panel
   ============================================================================ */


.modal-v2-metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--modal-v2-border);
  border-bottom: 1px solid var(--modal-v2-border);
}


.modal-v2-field-wrapper {
  position: relative;
  /* Ensure dropdowns appear above other content */
  z-index: 1;
}


.modal-v2-field-wrapper:has(.modal-v2-popover) {
  /* Increase z-index when dropdown is open */
  z-index: 100;
}


/* v0.17.159: Support TagPicker dropdown z-index */


.modal-v2-field-wrapper:has([class*="absolute"]) {
  z-index: 100;
}


.modal-v2-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--modal-v2-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 80ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}


.modal-v2-field:hover {
  background: var(--modal-v2-bg-secondary);
  border-color: var(--modal-v2-border-hover);
  transform: translateY(-1px);
}


.modal-v2-field:active {
  transform: translateY(0);
}


.modal-v2-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  font-size: var(--modal-v2-label-size);
  font-weight: var(--modal-v2-label-weight);
  color: var(--modal-v2-text-secondary);
}


.modal-v2-field-label svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-shortcut {
  margin-left: auto;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--modal-v2-text-tertiary);
  background: var(--modal-v2-bg-tertiary);
  border-radius: 4px;
  border: 1px solid var(--modal-v2-border);
}


.modal-v2-field-value {
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-primary);
  min-height: 22px;
  line-height: 1.5;
}


.modal-v2-empty {
  color: var(--modal-v2-text-tertiary);
  font-style: italic;
}


.modal-v2-avatars {
  display: flex;
  gap: 4px;
}


.modal-v2-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============================================================================
   SECTIONS - Description, Subtasks, Activity
   ============================================================================ */


.modal-v2-section {
  margin: 28px 0;
}


.modal-v2-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}


.modal-v2-section-header svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--modal-v2-text-secondary);
}


.modal-v2-section-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--modal-v2-text-primary);
  margin: 0;
  flex: 1;
}


.modal-v2-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--modal-v2-text-tertiary);
  padding: 2px 8px;
  background: var(--modal-v2-bg-tertiary);
  border-radius: 12px;
}


.modal-v2-ai-button,
.modal-v2-add-button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--modal-v2-text-secondary);
  background: transparent;
  border: 1px solid var(--modal-v2-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 80ms ease;
  margin-left: auto;
}


.modal-v2-ai-button:hover,
.modal-v2-add-button:hover {
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  background: var(--modal-v2-bg-secondary);
}


/* ============================================================================
   DESCRIPTION - Inline Markdown Editor
   ============================================================================ */


.modal-v2-content {
  min-height: 100px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: text;
  transition: all 80ms ease;
}


.modal-v2-content:hover {
  border-color: var(--modal-v2-border);
  background: var(--modal-v2-bg-secondary);
}


.modal-v2-content p {
  margin: 0;
  font-size: var(--modal-v2-body-size);
  font-weight: var(--modal-v2-body-weight);
  line-height: var(--modal-v2-body-line-height);
  color: var(--modal-v2-text-primary);
}


.modal-v2-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--modal-v2-text-tertiary);
  font-style: italic;
  font-size: var(--modal-v2-body-size);
}


.modal-v2-placeholder svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}


.modal-v2-editor {
  border: 1px solid var(--color-accent-primary);
  border-radius: 8px;
  overflow: hidden;
  background: var(--modal-v2-bg);
}


.modal-v2-textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px;
  font-size: var(--modal-v2-body-size);
  font-weight: var(--modal-v2-body-weight);
  line-height: var(--modal-v2-body-line-height);
  color: var(--modal-v2-text-primary);
  background: transparent;
  border: none;
  resize: vertical;
  font-family: inherit;
}


.modal-v2-textarea:focus {
  outline: none;
}


.modal-v2-textarea::-moz-placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-textarea::placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--modal-v2-bg-secondary);
  border-top: 1px solid var(--modal-v2-border);
}


.modal-v2-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-hint svg {
  width: 14px;
  height: 14px;
}


.modal-v2-editor-action {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-primary);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 80ms ease;
}


.modal-v2-editor-action:hover {
  background: var(--modal-v2-bg-tertiary);
}


/* ============================================================================
   SUBTASKS - Minimal Table Design
   ============================================================================ */


.modal-v2-subtasks {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.modal-v2-subtask {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background 80ms ease;
}


.modal-v2-subtask:hover {
  background: var(--modal-v2-bg-secondary);
}


.modal-v2-subtask.completed .modal-v2-subtask-title {
  text-decoration: line-through;
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-subtask-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--modal-v2-text-secondary);
  transition: color 80ms ease;
  padding: 0;
}


.modal-v2-subtask-checkbox:hover {
  color: var(--color-accent-primary);
}


.modal-v2-subtask-title {
  flex: 1;
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-primary);
}


.modal-v2-subtask-delete {
  display: flex;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--modal-v2-text-tertiary);
  transition: all 80ms ease;
  opacity: 0;
}


.modal-v2-subtask:hover .modal-v2-subtask-delete {
  opacity: 1;
}


.modal-v2-subtask-delete:hover {
  color: var(--color-error, #EF4444);
}


.modal-v2-subtask-input-row {
  padding: 10px 12px;
}


.modal-v2-subtask-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-primary);
  background: var(--modal-v2-bg-secondary);
  border: 1px solid var(--modal-v2-border);
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 80ms ease;
}


.modal-v2-subtask-input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}


.modal-v2-subtask-input::-moz-placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-subtask-input::placeholder {
  color: var(--modal-v2-text-tertiary);
}


/* ============================================================================
   ACTIVITY & COMMENTS - Vertical Chronological Flow
   ============================================================================ */


.modal-v2-filters {
  display: flex;
  gap: 4px;
  margin-left: auto;
}


.modal-v2-filter {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--modal-v2-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-filter:hover {
  background: var(--modal-v2-bg-tertiary);
}


.modal-v2-filter.active {
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  background: var(--modal-v2-bg-secondary);
}


.modal-v2-comment-input {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  background: var(--modal-v2-bg-secondary);
  border: 1px solid var(--modal-v2-border);
  border-radius: 8px;
}


.modal-v2-comment-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.modal-v2-comment-textarea {
  width: 100%;
  min-height: 40px;
  max-height: 200px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  line-height: 1.5;
  color: var(--modal-v2-text-primary);
  background: transparent;
  border: 1px solid var(--modal-v2-border);
  border-radius: 6px;
  resize: none;
  transition: border-color 80ms ease;
  font-family: inherit;
}


.modal-v2-comment-textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}


.modal-v2-comment-textarea::-moz-placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-comment-textarea::placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-comment-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.modal-v2-toolbar-left {
  display: flex;
  gap: 4px;
}


.modal-v2-toolbar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--modal-v2-text-secondary);
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-toolbar-button:hover {
  background: var(--modal-v2-bg-tertiary);
  color: var(--modal-v2-text-primary);
}


.modal-v2-send-button {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: var(--color-accent-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-send-button:hover:not(:disabled) {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}


.modal-v2-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.modal-v2-timeline {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.modal-v2-activity-item {
  display: flex;
  gap: 12px;
}


.modal-v2-activity-item.comment-item .modal-v2-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
  flex-shrink: 0;
}


.modal-v2-activity-content {
  flex: 1;
  min-width: 0;
}


.modal-v2-activity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}


.modal-v2-activity-user {
  font-size: 14px;
  font-weight: 600;
  color: var(--modal-v2-text-primary);
}


.modal-v2-activity-time {
  font-size: 12px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-comment-body {
  padding: 12px 14px;
  font-size: 14px;
  line-height: var(--modal-v2-body-line-height);
  color: var(--modal-v2-text-primary);
  background: var(--modal-v2-comment-bg);
  border-radius: 8px;
  border: 1px solid var(--modal-v2-border);
}


.modal-v2-history-item {
  padding: 12px;
  border-radius: 8px;
  transition: background 80ms ease;
}


.modal-v2-history-item:hover {
  background: var(--modal-v2-bg-secondary);
}


.modal-v2-history-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--modal-v2-bg-tertiary);
  color: var(--modal-v2-text-secondary);
  font-size: 14px;
}


.modal-v2-history-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--modal-v2-text-secondary);
  margin-bottom: 4px;
}


.modal-v2-history-text .modal-v2-activity-user {
  color: var(--modal-v2-text-primary);
  font-weight: 600;
}


.modal-v2-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-empty p {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--modal-v2-text-secondary);
}


.modal-v2-empty span {
  font-size: 14px;
  color: var(--modal-v2-text-tertiary);
}


/* ============================================================================
   POPOVERS - Dropdown Menus
   ============================================================================ */


.modal-v2-popover {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 6px;
  background: var(--modal-v2-bg);
  border: 1px solid var(--modal-v2-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  animation: popoverSlideIn 100ms ease-out;
}


@keyframes popoverSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.modal-v2-popover::-webkit-scrollbar {
  width: 6px;
}


.modal-v2-popover::-webkit-scrollbar-track {
  background: transparent;
}


.modal-v2-popover::-webkit-scrollbar-thumb {
  background: var(--modal-v2-border);
  border-radius: 3px;
}


.modal-v2-popover-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-primary);
  background: transparent;
  border: none;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: all 80ms ease;
}


.modal-v2-popover-item:hover {
  background: var(--modal-v2-bg-tertiary);
}


.modal-v2-popover-item.active {
  background: var(--modal-v2-bg-secondary);
  color: var(--color-accent-primary);
  font-weight: 500;
}


/* Priority colors */


.modal-v2-popover-item.priority-low {
  color: var(--color-success, #10B981);
}


.modal-v2-popover-item.priority-medium {
  color: var(--color-warning, #F59E0B);
}


.modal-v2-popover-item.priority-high {
  color: var(--color-error, #EF4444);
}


.modal-v2-popover-item.priority-urgent {
  color: var(--color-error, #DC2626);
  font-weight: 600;
}


.modal-v2-avatar-small {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 9px;
  font-weight: 600;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}


.modal-v2-time-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: var(--modal-v2-body-weight);
  color: var(--modal-v2-text-primary);
  background: var(--modal-v2-bg-secondary);
  border: 1px solid var(--modal-v2-border);
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 80ms ease;
}


.modal-v2-time-input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}


.modal-v2-time-input::-moz-placeholder {
  color: var(--modal-v2-text-tertiary);
}


.modal-v2-time-input::placeholder {
  color: var(--modal-v2-text-tertiary);
}


/* ============================================================================
   MARKDOWN RENDERING
   ============================================================================ */


.modal-v2-markdown {
  font-size: var(--modal-v2-body-size);
  line-height: var(--modal-v2-body-line-height);
  color: var(--modal-v2-text-primary);
}


.modal-v2-markdown strong {
  font-weight: 600;
}


.modal-v2-markdown em {
  font-style: italic;
}


.modal-v2-markdown code {
  padding: 2px 6px;
  font-size: 14px;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  background: var(--modal-v2-bg-tertiary);
  border: 1px solid var(--modal-v2-border);
  border-radius: 4px;
  color: var(--color-accent-primary);
}


.modal-v2-markdown a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 80ms ease;
}


.modal-v2-markdown a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}


/* ============================================================================
   RESPONSIVE
   ============================================================================ */


@media (max-width: 768px) {
  .modal-v2-container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 20px;
  }

  .modal-v2-metadata {
    grid-template-columns: 1fr;
  }

  .modal-v2-title {
    font-size: 24px;
  }
}


/* ============================================================================
   COVER IMAGE SECTION
   ============================================================================ */


.modal-v2-cover-section {
  margin: 0;
  padding: 0;
}


/* Add Cover Button */


.modal-v2-add-cover-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  margin: 0;
  border: 2px dashed var(--modal-v2-border);
  background: transparent;
  color: var(--modal-v2-text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}


.modal-v2-add-cover-button:hover {
  border-color: var(--asakaa-accent, #3B82F6);
  color: var(--asakaa-accent, #3B82F6);
  background: var(--modal-v2-bg-secondary);
}


/* Cover Preview Wrapper */


.modal-v2-cover-preview-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}


.modal-v2-cover-image {
  width: 100%;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}


.modal-v2-cover-actions {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: var(--modal-v2-bg);
  border-bottom: 1px solid var(--modal-v2-border);
}


.modal-v2-cover-action-button {
  flex: 1;
  padding: 8px 16px;
  border: 1px solid var(--modal-v2-border);
  background: var(--modal-v2-bg-secondary);
  color: var(--modal-v2-text-primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}


.modal-v2-cover-action-button:hover {
  background: var(--modal-v2-bg-tertiary);
  border-color: var(--modal-v2-border-hover);
}


.modal-v2-cover-action-button.danger {
  border-color: #EF4444;
  color: #EF4444;
}


.modal-v2-cover-action-button.danger:hover {
  background: #EF4444;
  color: white;
}


/* Cover Manager Wrapper */


.modal-v2-cover-manager-wrapper {
  padding: 24px;
  border-bottom: 1px solid var(--modal-v2-border);
  background: var(--modal-v2-bg);
}


.modal-v2-cover-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}


.modal-v2-cover-manager-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--modal-v2-text-primary);
  margin: 0;
}


.modal-v2-cover-manager-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--modal-v2-text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}


.modal-v2-cover-manager-close:hover {
  background: var(--modal-v2-bg-secondary);
  color: var(--modal-v2-text-primary);
}


/* ============================================================================
   THEME SPECIFIC OVERRIDES
   ============================================================================ */


/* Neutral theme grayscale filter removed - let colors breathe */


/* ============================================================================
   DATE RANGE PICKER - Theme-aware styles
   ============================================================================ */


/* Dark mode - default */


[data-theme="dark"] {
  --date-picker-bg: #222326;
  --date-picker-border: rgba(255, 255, 255, 0.15);
  --date-picker-text-primary: rgba(255, 255, 255, 0.9);
  --date-picker-text-secondary: rgba(255, 255, 255, 0.7);
  --date-picker-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --date-picker-btn-bg: rgba(255, 255, 255, 0.05);
  --date-picker-btn-bg-hover: rgba(255, 255, 255, 0.12);
  --date-picker-btn-border: rgba(255, 255, 255, 0.15);
  --date-picker-btn-border-hover: rgba(255, 255, 255, 0.25);
  --date-picker-input-bg: rgba(255, 255, 255, 0.05);
}


/* Light mode */


[data-theme="light"] {
  --date-picker-bg: #FFFFFF;
  --date-picker-border: rgba(0, 0, 0, 0.12);
  --date-picker-text-primary: #1A1A1A;
  --date-picker-text-secondary: #6B6B6B;
  --date-picker-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --date-picker-btn-bg: rgba(0, 0, 0, 0.03);
  --date-picker-btn-bg-hover: rgba(0, 0, 0, 0.08);
  --date-picker-btn-border: rgba(0, 0, 0, 0.12);
  --date-picker-btn-border-hover: rgba(0, 0, 0, 0.2);
  --date-picker-input-bg: rgba(0, 0, 0, 0.02);
}


/* Neutral mode */


[data-theme="neutral"] {
  --date-picker-bg: #F5F5F5;
  --date-picker-border: rgba(0, 0, 0, 0.1);
  --date-picker-text-primary: #1A1A1A;
  --date-picker-text-secondary: #6B6B6B;
  --date-picker-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --date-picker-btn-bg: rgba(0, 0, 0, 0.04);
  --date-picker-btn-bg-hover: rgba(0, 0, 0, 0.1);
  --date-picker-btn-border: rgba(0, 0, 0, 0.1);
  --date-picker-btn-border-hover: rgba(0, 0, 0, 0.18);
  --date-picker-input-bg: rgba(0, 0, 0, 0.03);
}


/* Quick select buttons */


.date-picker-quick-btn {
  color: var(--date-picker-text-primary);
  border-color: var(--date-picker-btn-border);
  background: var(--date-picker-btn-bg);
  transition: all 0.15s ease;
}


.date-picker-quick-btn:hover {
  background: var(--date-picker-btn-bg-hover);
  border-color: var(--date-picker-btn-border-hover);
}


/* Date inputs */


.date-picker-input {
  background: var(--date-picker-input-bg);
  border-color: var(--date-picker-btn-border);
  color: var(--date-picker-text-primary);
}


.date-picker-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}


/* Dark mode specific for date inputs */


[data-theme="dark"] .date-picker-input {
  color-scheme: dark;
}


/* Light/Neutral mode specific for date inputs */


[data-theme="light"] .date-picker-input,
[data-theme="neutral"] .date-picker-input {
  color-scheme: light;
}


/* Clear button */


.date-picker-clear-btn {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
  transition: all 0.15s ease;
}


.date-picker-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}


/* Card Stack - Smart grouping of related cards (v0.6.0) */


/**
 * CardStack Styles
 * Visual grouping with smooth animations
 */


.card-stack {
  position: relative;
  margin: 8px 0;
  border-radius: 8px;
  border: 2px solid var(--stack-color, var(--color-accent-primary));
  background: var(--color-bg-primary);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}


.card-stack:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Header */


.card-stack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-primary);
  cursor: pointer;
  transition: background 150ms ease;
}


.card-stack-header:hover {
  background: var(--color-bg-tertiary);
}


.card-stack-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}


/* Toggle Button */


.card-stack-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
}


.card-stack-toggle:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border-radius: 4px;
}


.card-stack-chevron {
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}


.card-stack-chevron.expanded {
  transform: rotate(180deg);
}


/* Title */


.card-stack-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}


/* Badge */


.card-stack-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: var(--stack-color, var(--color-accent-primary));
  border-radius: 12px;
}


/* Strategy Badge */


.card-stack-strategy {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  padding: 4px 8px;
  background: var(--color-bg-tertiary);
  border-radius: 4px;
  white-space: nowrap;
}


/* Actions */


.card-stack-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}


.card-stack-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
}


.card-stack-action:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-error);
}


/* Summary (collapsed state) */


.card-stack-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--color-text-secondary);
}


.card-stack-summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
}


.card-stack-confidence {
  font-weight: 600;
  color: var(--color-accent-primary);
}


/* Content (expanded state) */


.card-stack-content {
  padding: 8px;
  animation: expandStack 200ms cubic-bezier(0.16, 1, 0.3, 1);
}


@keyframes expandStack {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Cards container */


.card-stack-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.card-stack-card-wrapper {
  position: relative;
}


.card-stack-card-wrapper:hover .card-stack-unstack-btn {
  opacity: 1;
}


/* Unstack button */


.card-stack-unstack-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 4px;
  color: var(--color-text-secondary);
  cursor: pointer;
  opacity: 0;
  transition: all 150ms ease;
  z-index: 10;
}


.card-stack-unstack-btn:hover {
  background: var(--color-error);
  border-color: var(--color-error);
  color: white;
}


/* Default card (fallback) */


.card-stack-default-card {
  padding: 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 150ms ease;
}


.card-stack-default-card:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-accent-primary);
}


.card-stack-default-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}


.card-stack-default-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
}


/* Empty state */


.card-stack-empty {
  padding: 24px;
  text-align: center;
  color: var(--color-text-tertiary);
}


.card-stack-empty p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
}


.card-stack-empty span {
  font-size: 12px;
}


/* Collapsed state */


.card-stack-collapsed {
  border-width: 1px;
}


.card-stack-collapsed:hover {
  border-width: 2px;
}


/* Responsive */


@media (max-width: 768px) {
  .card-stack-strategy {
    display: none;
  }

  .card-stack-summary {
    flex-wrap: wrap;
  }
}


/* Card History - Time travel and replay functionality (v0.6.0) */


/**
 * Card History & Time Travel Styles
 * Styles for CardHistoryTimeline and CardHistoryReplay components
 */


/* =============================================================================
   Timeline Component
   ========================================================================== */


.history-timeline {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--asakaa-spacing-4, 1rem);
}


.history-timeline.compact {
  padding: var(--asakaa-spacing-2, 0.5rem);
}


/* Empty State */


.history-timeline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--asakaa-spacing-8, 2rem);
  text-align: center;
}


.history-timeline-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  opacity: 0.5;
}


.history-timeline-empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline-empty-subtext {
  font-size: 0.875rem;
  color: var(--asakaa-text-secondary, #6b7280);
}


/* Filters */


.history-timeline-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--asakaa-spacing-3, 0.75rem);
  margin-bottom: var(--asakaa-spacing-6, 1.5rem);
  padding: var(--asakaa-spacing-4, 1rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
}


.history-timeline-filter-group {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  flex: 1;
}


.history-timeline-filter-select {
  padding: 0.5rem 0.75rem;
  background: var(--asakaa-bg-primary, #ffffff);
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--asakaa-text-primary, #1a1a1a);
  cursor: pointer;
  transition: all 0.2s ease;
}


.history-timeline-filter-select:hover {
  border-color: var(--asakaa-accent-blue, #3b82f6);
}


.history-timeline-filter-select:focus {
  outline: none;
  border-color: var(--asakaa-accent-blue, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.history-timeline-filter-search {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--asakaa-bg-primary, #ffffff);
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--asakaa-text-primary, #1a1a1a);
  transition: all 0.2s ease;
}


.history-timeline-filter-search:focus {
  outline: none;
  border-color: var(--asakaa-accent-blue, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.history-timeline-filter-search::-moz-placeholder {
  color: var(--asakaa-text-tertiary, #9ca3af);
}


.history-timeline-filter-search::placeholder {
  color: var(--asakaa-text-tertiary, #9ca3af);
}


.history-timeline-filter-clear {
  padding: 0.5rem 1rem;
  background: var(--asakaa-accent-blue, #3b82f6);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}


.history-timeline-filter-clear:hover {
  background: var(--asakaa-accent-blue-dark, #2563eb);
  transform: translateY(-1px);
}


/* Timeline Container */


.history-timeline-container {
  max-height: 600px;
  overflow-y: auto;
  padding-right: var(--asakaa-spacing-2, 0.5rem);
}


/* Timeline Group */


.history-timeline-group {
  margin-bottom: var(--asakaa-spacing-6, 1.5rem);
}


.history-timeline-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  padding-bottom: var(--asakaa-spacing-2, 0.5rem);
  border-bottom: 2px solid var(--asakaa-border-color, #e5e7eb);
}


.history-timeline-day-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
}


.history-timeline-day-count {
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
  background: var(--asakaa-bg-secondary, #f9fafb);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}


/* Timeline Events */


.history-timeline-events {
  position: relative;
}


/* Individual Event */


.history-timeline-event {
  display: flex;
  gap: var(--asakaa-spacing-3, 0.75rem);
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  cursor: pointer;
  transition: all 0.2s ease;
}


.history-timeline-event:hover {
  transform: translateX(4px);
}


.history-timeline-event.selected {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  padding: var(--asakaa-spacing-2, 0.5rem);
  margin-left: calc(var(--asakaa-spacing-2, 0.5rem) * -1);
}


/* Timeline Line */


.history-timeline-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}


.history-timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: white;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: all 0.2s ease;
}


.history-timeline-event:hover .history-timeline-dot {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.history-timeline-dot-icon {
  font-size: 1rem;
}


.history-timeline-connector {
  flex: 1;
  width: 2px;
  min-height: 40px;
  background: var(--asakaa-border-color, #e5e7eb);
  border-left: 2px dashed #cbd5e1;
  margin-top: -4px;
  z-index: 1;
}


/* Event Content */


.history-timeline-event-content {
  flex: 1;
  min-width: 0;
}


.history-timeline-event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--asakaa-spacing-2, 0.5rem);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline-event-header-left {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  flex: 1;
  min-width: 0;
}


.history-timeline-event-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid var(--asakaa-border-color, #e5e7eb);
}


.history-timeline-event-description {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}


.history-timeline-event-user {
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
  margin-right: 0.25rem;
}


.history-timeline-event-action {
  color: var(--asakaa-text-secondary, #6b7280);
}


.history-timeline-event-time {
  font-size: 0.75rem;
  color: var(--asakaa-text-tertiary, #9ca3af);
  white-space: nowrap;
}


/* Toggle Changes Button */


.history-timeline-event-toggle {
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline-event-toggle:hover {
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-color: var(--asakaa-accent-blue, #3b82f6);
  color: var(--asakaa-accent-blue, #3b82f6);
}


/* Expanded Changes */


.history-timeline-event-changes {
  margin-top: var(--asakaa-spacing-3, 0.75rem);
  padding: var(--asakaa-spacing-3, 0.75rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 6px;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  animation: slideDown 0.2s ease;
}


@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.history-timeline-event-change {
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline-event-change:last-child {
  margin-bottom: 0;
}


.history-timeline-event-change-key {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--asakaa-text-secondary, #6b7280);
  text-transform: capitalize;
  display: block;
  margin-bottom: 0.25rem;
}


.history-timeline-event-change-values {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  font-size: 0.875rem;
  font-family: monospace;
}


.history-timeline-event-change-from {
  color: var(--asakaa-status-error, #ef4444);
  text-decoration: line-through;
  opacity: 0.7;
}


.history-timeline-event-change-arrow {
  color: var(--asakaa-text-tertiary, #9ca3af);
}


.history-timeline-event-change-to {
  color: var(--asakaa-status-success, #10b981);
  font-weight: 600;
}


/* Metadata */


.history-timeline-event-metadata {
  margin-top: var(--asakaa-spacing-3, 0.75rem);
  padding-top: var(--asakaa-spacing-3, 0.75rem);
  border-top: 1px solid var(--asakaa-border-color, #e5e7eb);
}


.history-timeline-event-metadata-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--asakaa-text-secondary, #6b7280);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline-event-metadata-item {
  display: flex;
  gap: var(--asakaa-spacing-2, 0.5rem);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}


.history-timeline-event-metadata-key {
  font-weight: 600;
  color: var(--asakaa-text-secondary, #6b7280);
  text-transform: capitalize;
}


.history-timeline-event-metadata-value {
  color: var(--asakaa-text-primary, #1a1a1a);
  font-family: monospace;
}


/* =============================================================================
   Replay Component
   ========================================================================== */


.history-replay {
  width: 100%;
  padding: var(--asakaa-spacing-6, 1.5rem);
  background: var(--asakaa-bg-primary, #ffffff);
  border-radius: 12px;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
}


/* Empty State */


.history-replay-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--asakaa-spacing-8, 2rem);
  text-align: center;
}


.history-replay-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  opacity: 0.5;
}


.history-replay-empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
}


/* Start State */


.history-replay-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--asakaa-spacing-8, 2rem);
  text-align: center;
}


.history-replay-start-button {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-3, 0.75rem);
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}


.history-replay-start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}


.history-replay-start-icon {
  width: 24px;
  height: 24px;
}


.history-replay-start-hint {
  margin-top: var(--asakaa-spacing-4, 1rem);
  font-size: 0.875rem;
  color: var(--asakaa-text-secondary, #6b7280);
}


/* Current Event Display */


.history-replay-current-event {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-4, 1rem);
  margin-bottom: var(--asakaa-spacing-6, 1.5rem);
  padding: var(--asakaa-spacing-4, 1rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 8px;
}


.history-replay-event-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border-radius: 12px;
  font-size: 1.5rem;
  flex-shrink: 0;
}


.history-replay-event-info {
  flex: 1;
  min-width: 0;
}


.history-replay-event-description {
  font-size: 1rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
  margin-bottom: 0.25rem;
}


.history-replay-event-meta {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-3, 0.75rem);
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
}


.history-replay-event-index {
  font-weight: 600;
}


/* Progress Bar */


.history-replay-progress-container {
  position: relative;
  height: 8px;
  margin-bottom: var(--asakaa-spacing-6, 1.5rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 4px;
  overflow: visible;
}


.history-replay-progress-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8px;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}


.history-replay-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 4px;
  transition: width 0.1s linear;
  pointer-events: none;
}


.history-replay-progress-markers {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8px;
  transform: translateY(-50%);
  pointer-events: none;
}


.history-replay-progress-marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--asakaa-bg-primary, #ffffff);
  border: 2px solid var(--asakaa-accent-blue, #3b82f6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: all;
}


.history-replay-progress-marker:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.history-replay-progress-marker.active {
  background: var(--asakaa-accent-blue, #3b82f6);
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.5);
}


/* Playback Controls */


.history-replay-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--asakaa-spacing-3, 0.75rem);
  margin-bottom: var(--asakaa-spacing-4, 1rem);
}


.history-replay-control-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--asakaa-bg-secondary, #f9fafb);
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 8px;
  color: var(--asakaa-text-primary, #1a1a1a);
  cursor: pointer;
  transition: all 0.2s ease;
}


.history-replay-control-btn:hover:not(:disabled) {
  background: var(--asakaa-accent-blue, #3b82f6);
  color: white;
  border-color: var(--asakaa-accent-blue, #3b82f6);
  transform: translateY(-2px);
}


.history-replay-control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}


.history-replay-control-btn svg {
  width: 20px;
  height: 20px;
}


.history-replay-control-play {
  width: 48px;
  height: 48px;
  background: var(--asakaa-accent-blue, #3b82f6);
  color: white;
  border-color: var(--asakaa-accent-blue, #3b82f6);
}


.history-replay-control-play:hover {
  background: var(--asakaa-accent-blue-dark, #2563eb);
  border-color: var(--asakaa-accent-blue-dark, #2563eb);
}


.history-replay-control-play svg {
  width: 24px;
  height: 24px;
}


.history-replay-stop {
  background: var(--asakaa-status-error, #ef4444);
  color: white;
  border-color: var(--asakaa-status-error, #ef4444);
}


.history-replay-stop:hover {
  background: #dc2626;
  border-color: #dc2626;
}


/* Speed Control */


.history-replay-speed {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  margin-left: var(--asakaa-spacing-4, 1rem);
  padding-left: var(--asakaa-spacing-4, 1rem);
  border-left: 1px solid var(--asakaa-border-color, #e5e7eb);
}


.history-replay-speed-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-secondary, #6b7280);
}


.history-replay-speed-buttons {
  display: flex;
  gap: 0.25rem;
}


.history-replay-speed-btn {
  padding: 0.25rem 0.5rem;
  background: var(--asakaa-bg-secondary, #f9fafb);
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
  cursor: pointer;
  transition: all 0.2s ease;
}


.history-replay-speed-btn:hover {
  border-color: var(--asakaa-accent-blue, #3b82f6);
  color: var(--asakaa-accent-blue, #3b82f6);
}


.history-replay-speed-btn.active {
  background: var(--asakaa-accent-blue, #3b82f6);
  color: white;
  border-color: var(--asakaa-accent-blue, #3b82f6);
  font-weight: 600;
}


/* Keyboard Shortcuts */


.history-replay-shortcuts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--asakaa-spacing-4, 1rem);
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  padding: var(--asakaa-spacing-3, 0.75rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
}


.history-replay-shortcut {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


.history-replay-shortcut kbd {
  padding: 0.125rem 0.375rem;
  background: var(--asakaa-bg-primary, #ffffff);
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
}


/* Card Preview */


.history-replay-card-preview {
  padding: var(--asakaa-spacing-4, 1rem);
  background: var(--asakaa-bg-secondary, #f9fafb);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
}


.history-replay-card-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--asakaa-spacing-3, 0.75rem);
  padding-bottom: var(--asakaa-spacing-2, 0.5rem);
  border-bottom: 1px solid var(--asakaa-border-color, #e5e7eb);
}


.history-replay-card-preview-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #1a1a1a);
}


.history-replay-card-preview-time {
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #6b7280);
}


.history-replay-card-preview-content {
  display: flex;
  flex-direction: column;
  gap: var(--asakaa-spacing-2, 0.5rem);
}


.history-replay-card-preview-field {
  display: flex;
  gap: var(--asakaa-spacing-2, 0.5rem);
  font-size: 0.875rem;
}


.history-replay-card-preview-label {
  font-weight: 600;
  color: var(--asakaa-text-secondary, #6b7280);
  min-width: 100px;
}


.history-replay-card-preview-value {
  color: var(--asakaa-text-primary, #1a1a1a);
  flex: 1;
}


.history-replay-card-preview-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}


.history-replay-card-preview-label-tag {
  padding: 0.125rem 0.5rem;
  background: var(--asakaa-accent-blue, #3b82f6);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}


/* Compact Mode */


.history-timeline.compact .history-timeline-event {
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.history-timeline.compact .history-timeline-dot {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}


.history-timeline.compact .history-timeline-connector {
  min-height: 24px;
}


/* Responsive */


@media (max-width: 640px) {
  .history-timeline-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .history-timeline-filter-group {
    flex-direction: column;
  }

  .history-replay-controls {
    flex-wrap: wrap;
  }

  .history-replay-speed {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--asakaa-border-color, #e5e7eb);
    padding-top: var(--asakaa-spacing-3, 0.75rem);
    margin-top: var(--asakaa-spacing-3, 0.75rem);
    width: 100%;
    justify-content: space-between;
  }

  .history-replay-shortcuts {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Card Relationships - Interactive graph visualization (v0.6.0) */


/**
 * Card Relationships Graph Styles
 * Styles for interactive force-directed graph visualization
 */


/* =============================================================================
   Graph Container
   ========================================================================== */


.relationships-graph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  background: var(--asakaa-bg-primary, #0a0a0a);
  border-radius: 12px;
  border: 1px solid var(--asakaa-border-color, #e5e7eb);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


/* Empty State */


.relationships-graph-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: var(--asakaa-spacing-8, 2rem);
  text-align: center;
}


.relationships-graph-empty-icon {
  font-size: 4rem;
  margin-bottom: var(--asakaa-spacing-4, 1rem);
  opacity: 0.3;
}


.relationships-graph-empty-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #ffffff);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.relationships-graph-empty-subtext {
  font-size: 0.875rem;
  color: var(--asakaa-text-secondary, #a3a3a3);
}


/* =============================================================================
   Controls Bar
   ========================================================================== */


.relationships-graph-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--asakaa-spacing-4, 1rem);
  background: var(--asakaa-bg-secondary, #141414);
  border-bottom: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  flex-shrink: 0;
}


.relationships-graph-stats {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-6, 1.5rem);
}


.relationships-graph-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}


.relationships-graph-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--asakaa-accent-blue, #3b82f6);
}


.relationships-graph-stat-critical .relationships-graph-stat-value {
  color: var(--asakaa-status-error, #ef4444);
}


.relationships-graph-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--asakaa-text-secondary, #a3a3a3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Zoom Controls */


.relationships-graph-zoom-controls {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  background: var(--asakaa-bg-tertiary, #1a1a1a);
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
}


.relationships-graph-zoom-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  color: var(--asakaa-text-primary, #ffffff);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}


.relationships-graph-zoom-btn:hover {
  background: var(--asakaa-accent-blue, #3b82f6);
  border-color: var(--asakaa-accent-blue, #3b82f6);
  transform: translateY(-1px);
}


.relationships-graph-zoom-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #ffffff);
  min-width: 50px;
  text-align: center;
}


/* =============================================================================
   Legend
   ========================================================================== */


.relationships-graph-legend {
  position: absolute;
  top: 80px;
  left: var(--asakaa-spacing-4, 1rem);
  display: flex;
  flex-direction: column;
  gap: var(--asakaa-spacing-2, 0.5rem);
  padding: var(--asakaa-spacing-3, 0.75rem);
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  z-index: 10;
  max-width: 200px;
}


.relationships-graph-legend-item {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
}


.relationships-graph-legend-color {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}


.relationships-graph-legend-label {
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #a3a3a3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =============================================================================
   SVG Canvas
   ========================================================================== */


.relationships-graph-canvas {
  flex: 1;
  background:
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    var(--asakaa-bg-primary, #0a0a0a);
  cursor: grab;
}


.relationships-graph-canvas:active {
  cursor: grabbing;
}


/* =============================================================================
   Graph Elements
   ========================================================================== */


/* Edges */


.relationships-graph-edges {
  pointer-events: none;
}


.relationships-graph-edge {
  pointer-events: all;
  cursor: pointer;
  transition: all 0.2s ease;
}


.relationships-graph-edge line {
  transition: all 0.2s ease;
}


.relationships-graph-edge.hovered line {
  stroke-width: 4;
  filter: drop-shadow(0 0 8px currentColor);
}


.relationships-graph-edge.critical line {
  stroke: #fbbf24 !important;
  stroke-dasharray: 8 4;
  animation: dash 1s linear infinite;
}


@keyframes dash {
  to {
    stroke-dashoffset: -12;
  }
}


.relationships-graph-edge-label {
  font-size: 0.75rem;
  font-weight: 600;
  fill: var(--asakaa-text-primary, #ffffff);
  text-shadow:
    -1px -1px 0 var(--asakaa-bg-primary, #0a0a0a),
    1px -1px 0 var(--asakaa-bg-primary, #0a0a0a),
    -1px 1px 0 var(--asakaa-bg-primary, #0a0a0a),
    1px 1px 0 var(--asakaa-bg-primary, #0a0a0a);
  pointer-events: none;
}


/* Nodes */


.relationships-graph-nodes {
  pointer-events: none;
}


.relationships-graph-node {
  pointer-events: all;
  cursor: pointer;
  transition: all 0.2s ease;
}


.relationships-graph-node circle {
  transition: all 0.2s ease;
}


.relationships-graph-node:hover circle {
  filter: drop-shadow(0 0 12px currentColor);
  transform: scale(1.1);
}


.relationships-graph-node.hovered circle {
  stroke-width: 4;
  filter: drop-shadow(0 0 16px currentColor);
}


.relationships-graph-node.critical circle {
  animation: pulse-glow 2s ease-in-out infinite;
}


@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 12px #fbbf24);
  }
  50% {
    filter: drop-shadow(0 0 24px #fbbf24);
  }
}


.relationships-graph-node-label {
  font-size: 0.75rem;
  font-weight: 600;
  fill: var(--asakaa-text-primary, #ffffff);
  text-shadow:
    -1px -1px 0 var(--asakaa-bg-primary, #0a0a0a),
    1px -1px 0 var(--asakaa-bg-primary, #0a0a0a),
    -1px 1px 0 var(--asakaa-bg-primary, #0a0a0a),
    1px 1px 0 var(--asakaa-bg-primary, #0a0a0a);
  pointer-events: none;
}


/* =============================================================================
   Tooltips
   ========================================================================== */


.relationships-graph-tooltip {
  position: absolute;
  padding: var(--asakaa-spacing-3, 0.75rem);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.relationships-graph-tooltip-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #ffffff);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
}


.relationships-graph-tooltip-content {
  font-size: 0.75rem;
  color: var(--asakaa-text-secondary, #a3a3a3);
  line-height: 1.5;
}


.relationships-graph-tooltip-meta {
  display: flex;
  gap: var(--asakaa-spacing-3, 0.75rem);
  margin-top: var(--asakaa-spacing-2, 0.5rem);
  padding-top: var(--asakaa-spacing-2, 0.5rem);
  border-top: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
}


.relationships-graph-tooltip-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}


.relationships-graph-tooltip-meta-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--asakaa-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.relationships-graph-tooltip-meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-accent-blue, #3b82f6);
}


/* =============================================================================
   Context Menu
   ========================================================================== */


.relationships-graph-context-menu {
  position: absolute;
  min-width: 200px;
  padding: var(--asakaa-spacing-2, 0.5rem);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}


.relationships-graph-context-menu-item {
  display: flex;
  align-items: center;
  gap: var(--asakaa-spacing-2, 0.5rem);
  padding: var(--asakaa-spacing-2, 0.5rem) var(--asakaa-spacing-3, 0.75rem);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--asakaa-text-primary, #ffffff);
  cursor: pointer;
  transition: all 0.2s ease;
}


.relationships-graph-context-menu-item:hover {
  background: var(--asakaa-bg-tertiary, #1a1a1a);
}


.relationships-graph-context-menu-item-icon {
  font-size: 1rem;
}


.relationships-graph-context-menu-divider {
  height: 1px;
  background: var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  margin: var(--asakaa-spacing-2, 0.5rem) 0;
}


/* =============================================================================
   Minimap
   ========================================================================== */


.relationships-graph-minimap {
  position: absolute;
  bottom: var(--asakaa-spacing-4, 1rem);
  right: var(--asakaa-spacing-4, 1rem);
  width: 200px;
  height: 150px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  overflow: hidden;
  z-index: 10;
}


.relationships-graph-minimap-canvas {
  width: 100%;
  height: 100%;
}


.relationships-graph-minimap-viewport {
  position: absolute;
  border: 2px solid var(--asakaa-accent-blue, #3b82f6);
  background: rgba(59, 130, 246, 0.1);
  cursor: move;
}


/* =============================================================================
   Filters Panel
   ========================================================================== */


.relationships-graph-filters {
  position: absolute;
  top: 80px;
  right: var(--asakaa-spacing-4, 1rem);
  width: 280px;
  padding: var(--asakaa-spacing-4, 1rem);
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  z-index: 10;
}


.relationships-graph-filters-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-primary, #ffffff);
  margin-bottom: var(--asakaa-spacing-3, 0.75rem);
}


.relationships-graph-filters-group {
  margin-bottom: var(--asakaa-spacing-3, 0.75rem);
}


.relationships-graph-filters-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--asakaa-text-secondary, #a3a3a3);
  margin-bottom: var(--asakaa-spacing-2, 0.5rem);
  display: block;
}


.relationships-graph-filters-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--asakaa-bg-tertiary, #1a1a1a);
  border: 1px solid var(--asakaa-border-color, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  color: var(--asakaa-text-primary, #ffffff);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}


.relationships-graph-filters-select:hover {
  border-color: var(--asakaa-accent-blue, #3b82f6);
}


.relationships-graph-filters-select:focus {
  outline: none;
  border-color: var(--asakaa-accent-blue, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* =============================================================================
   Responsive
   ========================================================================== */


@media (max-width: 768px) {
  .relationships-graph-controls {
    flex-direction: column;
    align-items: stretch;
    gap: var(--asakaa-spacing-3, 0.75rem);
  }

  .relationships-graph-stats {
    justify-content: space-around;
    width: 100%;
  }

  .relationships-graph-legend {
    position: static;
    margin: var(--asakaa-spacing-4, 1rem);
    max-width: none;
  }

  .relationships-graph-filters {
    position: static;
    width: 100%;
    margin: var(--asakaa-spacing-4, 1rem);
  }

  .relationships-graph-minimap {
    display: none;
  }
}


/* =============================================================================
   Loading State
   ========================================================================== */


.relationships-graph-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--asakaa-spacing-4, 1rem);
  z-index: 100;
}


.relationships-graph-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(59, 130, 246, 0.1);
  border-top-color: var(--asakaa-accent-blue, #3b82f6);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.relationships-graph-loading-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--asakaa-text-secondary, #a3a3a3);
}


/* Command Palette - Keyboard-driven navigation */


/**
 * Command Palette Styles
 * Using ASAKAA Design System v2.0
 */


/* ==========================================================================
   OVERLAY
   ========================================================================== */


.command-palette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, var(--opacity-strong));
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  animation: overlay-in var(--duration-fast) var(--ease-smooth);
}


@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* ==========================================================================
   COMMAND PALETTE CONTAINER
   ========================================================================== */


.command-palette {
  width: 640px;
  max-width: 90vw;
  max-height: 60vh;
  background: rgba(20, 20, 20, var(--opacity-opaque));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-lg);
  backdrop-filter: blur(20px) saturate(180%);
  overflow: hidden;
  animation: palette-in var(--duration-normal) var(--ease-bounce);
  display: flex;
  flex-direction: column;
}


@keyframes palette-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ==========================================================================
   HEADER
   ========================================================================== */


.command-palette-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.command-palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text-primary);
  font-size: var(--font-base);
  font-weight: var(--font-regular);
  font-family: var(--font-sans);
}


.command-palette-input::-moz-placeholder {
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.command-palette-input::placeholder {
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.command-palette-shortcut {
  display: flex;
  gap: var(--space-1);
}


.command-palette-shortcut kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-sm);
  font-size: var(--font-2xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, var(--opacity-strong));
  text-transform: uppercase;
  font-family: var(--font-sans);
}


/* ==========================================================================
   LIST
   ========================================================================== */


.command-palette-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-2);
  min-height: 200px;
  max-height: calc(60vh - 120px);
}


.command-palette-list::-webkit-scrollbar {
  width: 8px;
}


.command-palette-list::-webkit-scrollbar-track {
  background: transparent;
}


.command-palette-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, var(--opacity-light));
  border-radius: var(--radius-sm);
}


.command-palette-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, var(--opacity-medium));
}


/* ==========================================================================
   GROUP
   ========================================================================== */


.command-palette-group {
  margin-bottom: var(--space-2);
}


.command-palette-group [cmdk-group-heading] {
  display: block;
  padding: var(--space-2) var(--space-3) var(--space-1);
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, var(--opacity-medium));
}


/* ==========================================================================
   ITEM
   ========================================================================== */


.command-palette-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  color: rgba(255, 255, 255, var(--opacity-opaque));
  font-size: var(--font-sm);
  position: relative;
}


.command-palette-item:hover,
.command-palette-item[aria-selected='true'] {
  background: rgba(59, 130, 246, var(--opacity-light));
  color: var(--color-text-primary);
}


.command-palette-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}


.command-palette-item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ==========================================================================
   ITEM VARIANTS
   ========================================================================== */


.command-palette-item-ai {
  background: rgba(59, 130, 246, var(--opacity-faint));
  border: 1px solid rgba(59, 130, 246, var(--opacity-light));
}


.command-palette-item-ai:hover,
.command-palette-item-ai[aria-selected='true'] {
  background: rgba(59, 130, 246, var(--opacity-light));
  border-color: rgba(59, 130, 246, var(--opacity-medium));
}


/* ==========================================================================
   ITEM DECORATIONS
   ========================================================================== */


.command-palette-item-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}


.command-palette-item-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border-radius: var(--radius-sm);
  font-size: var(--font-2xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, var(--opacity-strong));
  margin-left: auto;
}


.command-palette-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 var(--space-2);
  background: #3B82F6;
  border-radius: var(--radius-full);
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: auto;
}


.command-palette-item-count {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-medium));
  margin-left: auto;
}


.command-palette-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}


.command-palette-item-content > div:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.command-palette-item-meta {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-medium));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.command-palette-item-labels {
  display: flex;
  gap: var(--space-1);
  margin-left: auto;
}


.command-palette-item-label {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-sm);
  font-size: var(--font-2xs);
  color: rgba(255, 255, 255, var(--opacity-strong));
  font-weight: var(--font-medium);
  white-space: nowrap;
}


/* ==========================================================================
   EMPTY STATE
   ========================================================================== */


.command-palette-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: rgba(255, 255, 255, var(--opacity-medium));
  font-size: var(--font-sm);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */


.command-palette-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
  background: rgba(0, 0, 0, var(--opacity-light));
}


.command-palette-footer-hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, var(--opacity-medium));
}


.command-palette-footer-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-sm);
  font-size: var(--font-2xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, var(--opacity-strong));
  font-family: var(--font-sans);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


@media (max-width: 640px) {
  .command-palette {
    width: 100%;
    max-width: 100vw;
    margin: 0 var(--space-2);
  }

  .command-palette-header {
    padding: var(--space-3) var(--space-4);
  }

  .command-palette-list {
    padding: var(--space-1);
  }

  .command-palette-footer {
    padding: var(--space-2) var(--space-4);
  }
}


/* Charts - Analytics and data visualization */


/**
 * Charts Styles
 * Premium glassmorphism design for analytics charts
 */


.chart-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}


.chart-title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* Tooltip */


.chart-tooltip {
  padding: 12px 16px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}


.chart-tooltip-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 8px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.chart-tooltip-value {
  font-size: 12px;
  margin: 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}


/* Stats section */


.chart-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}


.chart-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}


.chart-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.chart-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
}


.chart-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  width: -moz-fit-content;
  width: fit-content;
}


/* Recharts overrides for dark theme */


.recharts-surface {
  background: transparent;
}


.recharts-legend-wrapper {
  padding-top: 12px !important;
}


.recharts-default-legend {
  display: flex !important;
  justify-content: center !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}


.recharts-legend-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}


.recharts-legend-item-text {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px !important;
}


/* Responsive */


@media (max-width: 768px) {
  .chart-container {
    padding: 20px;
  }

  .chart-title {
    font-size: 16px;
  }

  .chart-stats {
    gap: 16px;
  }

  .chart-stat {
    min-width: 100px;
  }

  .chart-stat-value {
    font-size: 20px;
  }
}


@media (max-width: 640px) {
  .chart-container {
    padding: 16px;
    gap: 16px;
  }

  .chart-title {
    font-size: 15px;
    padding-bottom: 12px;
  }

  .chart-stats {
    flex-direction: column;
    gap: 12px;
  }

  .chart-stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: unset;
  }

  .chart-stat-label {
    font-size: 11px;
  }

  .chart-stat-value {
    font-size: 18px;
  }

  .recharts-wrapper {
    font-size: 10px !important;
  }
}


/* Bulk Operations - Multi-select toolbar */


/**
 * Bulk Operations Toolbar
 * Using ASAKAA Design System v2.0
 */


/* ==========================================================================
   FLOATING TOOLBAR
   ========================================================================== */


.asakaa-bulk-toolbar {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-fixed);
  animation: slide-up var(--duration-fast) var(--ease-bounce);
}


@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(var(--space-5));
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}


/* Toolbar content - glassmorphism for floating element */


.asakaa-bulk-toolbar-content {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
  min-width: 400px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(20, 20, 20, var(--opacity-opaque));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-lg);
}


/* ==========================================================================
   SELECTION COUNT
   ========================================================================== */


.asakaa-bulk-toolbar-count {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-primary);
  background: rgba(59, 130, 246, var(--opacity-faint));
  border: 1px solid rgba(59, 130, 246, var(--opacity-light));
  border-radius: var(--radius-md);
}


/* ==========================================================================
   ACTIONS CONTAINER
   ========================================================================== */


.asakaa-bulk-toolbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}


/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */


.asakaa-bulk-toolbar-button {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, var(--opacity-subtle));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.asakaa-bulk-toolbar-button:hover {
  background: rgba(59, 130, 246, var(--opacity-faint));
  border-color: rgba(59, 130, 246, var(--opacity-medium));
  transform: scale(1.02);  /* Subtle 2%, not 5% */
}


.asakaa-bulk-toolbar-button:active {
  transform: scale(0.98);
}


.asakaa-bulk-toolbar-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, var(--opacity-medium));
}


.asakaa-bulk-toolbar-button:disabled {
  opacity: var(--opacity-medium);
  cursor: not-allowed;
  transform: none;
}


/* Danger button variant */


.asakaa-bulk-toolbar-button-danger {
  color: var(--color-error);
}


.asakaa-bulk-toolbar-button-danger:hover {
  background: rgba(239, 68, 68, var(--opacity-faint));
  border-color: rgba(239, 68, 68, var(--opacity-medium));
}


/* ==========================================================================
   DROPDOWN MENU
   ========================================================================== */


.asakaa-bulk-menu {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: var(--space-2);
  min-width: 200px;
  padding: var(--space-2);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(20, 20, 20, var(--opacity-opaque));
  border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-lg);
  z-index: var(--z-dropdown);
  animation: menu-appear var(--duration-instant) var(--ease-bounce);
}


@keyframes menu-appear {
  from {
    opacity: 0;
    transform: translateY(var(--space-2));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   MENU ITEMS
   ========================================================================== */


.asakaa-bulk-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-sm);
  color: var(--color-text-primary);
  text-align: left;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-instant) var(--ease-smooth);
}


.asakaa-bulk-menu-item:hover {
  background: rgba(59, 130, 246, var(--opacity-faint));
}


.asakaa-bulk-menu-item:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  background: rgba(59, 130, 246, var(--opacity-faint));
}


/* Priority dot indicator */


.asakaa-priority-dot {
  width: var(--space-3);
  height: var(--space-3);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


@media (max-width: 640px) {
  .asakaa-bulk-toolbar-content {
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    min-width: auto;
    max-width: calc(100vw - var(--space-8));
  }

  .asakaa-bulk-toolbar-count {
    width: 100%;
    text-align: center;
  }

  .asakaa-bulk-toolbar-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .asakaa-bulk-toolbar-button {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-xs);
  }
}


/* Attachments - File upload and management */


/**
 * Attachment Uploader Styles
 * Premium glassmorphism design
 */


.attachment-uploader {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* Drop zone - Original dark theme styles */


.attachment-dropzone {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.attachment-dropzone:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(59, 130, 246, 0.02) 100%
  );
  transform: translateY(-2px);
}


.attachment-dropzone.dragging {
  border-color: rgba(59, 130, 246, 0.8);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  transform: scale(1.02);
}


.attachment-dropzone.uploading {
  pointer-events: none;
  opacity: 0.7;
}


.attachment-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}


.attachment-dropzone-icon {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}


.attachment-dropzone:hover .attachment-dropzone-icon {
  color: rgba(59, 130, 246, 0.8);
}


.attachment-dropzone-text {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}


.attachment-dropzone-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}


.attachment-dropzone-info {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  margin-top: 4px;
}


/* Spinner */


.attachment-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(59, 130, 246, 0.8);
  border-radius: 50%;
  animation: attachment-spin 0.8s linear infinite;
}


@keyframes attachment-spin {
  to {
    transform: rotate(360deg);
  }
}


/* Error message */


.attachment-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.15) 0%,
    rgba(239, 68, 68, 0.08) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  animation: attachment-error-slide-in 0.3s ease;
}


@keyframes attachment-error-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.attachment-error-icon {
  font-size: 20px;
  flex-shrink: 0;
}


.attachment-error-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}


/* Attachment list */


.attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}


.attachment-item:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}


/* Preview */


.attachment-preview {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.attachment-thumbnail {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}


.attachment-icon {
  font-size: 24px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}


/* Info */


.attachment-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.attachment-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}


.attachment-name:hover {
  color: rgba(59, 130, 246, 0.9);
  text-decoration: underline;
}


.attachment-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}


.attachment-size,
.attachment-date {
  white-space: nowrap;
}


.attachment-separator {
  color: rgba(255, 255, 255, 0.3);
}


/* Delete button */


.attachment-delete {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}


.attachment-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: rgba(239, 68, 68, 0.9);
}


.attachment-delete:active {
  transform: scale(0.95);
}


.attachment-delete svg {
  width: 16px;
  height: 16px;
}


/* Thumbnail button for clickable images */


.attachment-thumbnail-btn {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}


.attachment-thumbnail-btn:hover .attachment-thumbnail {
  transform: scale(1.1);
}


.attachment-thumbnail-btn:hover .attachment-thumbnail-overlay {
  opacity: 1;
}


.attachment-thumbnail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
  color: white;
}


.attachment-thumbnail {
  transition: transform 0.2s ease;
}


/* ========================================
   Lightbox Styles - Clean & Minimal
   ======================================== */


.attachment-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* Max z-index to always be on top */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  cursor: pointer;
  animation: lightbox-fade-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate; /* Create new stacking context */
}


@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* Main image - clean, no borders */


.attachment-lightbox-image {
  max-width: 92vw;
  max-height: 92vh;
  -o-object-fit: contain;
     object-fit: contain;
  cursor: default;
  animation: lightbox-image-enter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* No border-radius, no shadows - pure image */
}


@keyframes lightbox-image-enter {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Subtle hint at bottom */


.attachment-lightbox-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  opacity: 1;
  animation: lightbox-hint-fade 0.5s ease 2s forwards;
}


@keyframes lightbox-hint-fade {
  to {
    opacity: 0;
  }
}


/* Navigation dots */


.attachment-lightbox-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}


.attachment-lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}


.attachment-lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}


.attachment-lightbox-dot.active {
  background: white;
  transform: scale(1.1);
}


/* Invisible navigation areas on sides */


.attachment-lightbox-nav-area {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: all 0.2s ease;
}


.attachment-lightbox-nav-area svg {
  opacity: 0;
  transition: opacity 0.2s ease;
}


.attachment-lightbox-nav-area:hover {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent);
}


.attachment-lightbox-nav-area:hover svg {
  opacity: 0.8;
}


.attachment-lightbox-nav-prev {
  left: 0;
  padding-left: 20px;
}


.attachment-lightbox-nav-next {
  right: 0;
  padding-right: 20px;
}


.attachment-lightbox-nav-next:hover {
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0.3), transparent);
}


/* Responsive */


@media (max-width: 640px) {
  .attachment-dropzone {
    min-height: 140px;
  }

  .attachment-dropzone-content {
    padding: 24px;
    gap: 8px;
  }

  .attachment-dropzone-icon {
    width: 40px;
    height: 40px;
  }

  .attachment-dropzone-text {
    font-size: 14px;
  }

  .attachment-dropzone-subtext {
    font-size: 12px;
  }

  .attachment-item {
    padding: 10px;
    gap: 10px;
  }

  .attachment-preview {
    width: 40px;
    height: 40px;
  }

  .attachment-name {
    font-size: 13px;
  }

  .attachment-meta {
    font-size: 11px;
  }

  /* Lightbox responsive */
  .attachment-lightbox-image {
    max-width: 96vw;
    max-height: 85vh;
  }

  .attachment-lightbox-hint {
    bottom: 16px;
    font-size: 11px;
  }

  .attachment-lightbox-dots {
    bottom: 36px;
    padding: 6px 10px;
    gap: 6px;
  }

  .attachment-lightbox-dot {
    width: 6px;
    height: 6px;
  }

  .attachment-lightbox-nav-area {
    width: 60px;
  }

  .attachment-lightbox-nav-area svg {
    width: 20px;
    height: 20px;
  }
}


/* ========================================
   Light Theme Overrides - v0.17.176
   ======================================== */


[data-theme="light"] .attachment-dropzone {
  border-color: rgba(71, 85, 105, 0.4);
  background: linear-gradient(
    135deg,
    rgba(71, 85, 105, 0.06) 0%,
    rgba(71, 85, 105, 0.02) 100%
  );
}


[data-theme="light"] .attachment-dropzone:hover {
  border-color: rgba(59, 130, 246, 0.6);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(59, 130, 246, 0.03) 100%
  );
}


[data-theme="light"] .attachment-dropzone-icon {
  color: rgba(71, 85, 105, 0.8);
}


[data-theme="light"] .attachment-dropzone:hover .attachment-dropzone-icon {
  color: rgba(59, 130, 246, 0.9);
}


[data-theme="light"] .attachment-dropzone-text {
  color: rgba(30, 41, 59, 0.9);
}


[data-theme="light"] .attachment-dropzone-subtext {
  color: rgba(71, 85, 105, 0.8);
}


[data-theme="light"] .attachment-dropzone-info {
  color: rgba(100, 116, 139, 0.8);
}


/* v0.6.0 Design Refinements - Enhanced clarity */


/**
 * ASAKAA v0.6.0 - Design Refinements
 * Enhanced visual clarity through intentional subtraction
 * Philosophy: Content is king, metadata is quiet, color is intentional
 */


/* ==========================================================================
   REFINED LABELS - Pure text, no backgrounds
   ========================================================================== */


.asakaa-label {
  font-size: var(--font-xs);
  font-weight: var(--font-medium);
  padding: 0;
  margin-right: var(--space-2);
  color: var(--color-text-tertiary);
  transition: color var(--duration-fast) var(--ease-smooth);
}


.asakaa-label:hover {
  color: var(--color-text-secondary);
}


/* ==========================================================================
   REFINED COLUMN PROGRESS - Subtle text only
   ========================================================================== */


.asakaa-column-count {
  font-size: var(--font-2xs);
  font-weight: var(--font-semibold);
  padding: 0;
  color: var(--color-text-tertiary);
  background: none;
  border: none;
}


/* ==========================================================================
   USER AVATARS - Humanized assignment display
   ========================================================================== */


.asakaa-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  font-size: var(--font-2xs);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-primary);
  text-transform: uppercase;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.asakaa-avatar:hover {
  transform: scale(1.1);
  border-color: var(--color-border-secondary);
}


.asakaa-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  -o-object-fit: cover;
     object-fit: cover;
}


.asakaa-avatar-group {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}


.asakaa-avatar-group .asakaa-avatar {
  margin-left: calc(var(--space-2) * -1);
}


.asakaa-avatar-group .asakaa-avatar:first-child {
  margin-left: 0;
}


/* ==========================================================================
   REFINED DATE DISPLAY - Plain text, color only for urgency
   ========================================================================== */


.asakaa-date {
  font-size: var(--font-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-tertiary);
  padding: 0;
  background: none;
  border: none;
}


.asakaa-date-overdue {
  color: var(--color-error);
  font-weight: var(--font-semibold);
}


/* Neutral theme: monochromatic design using grayscale filter */


[data-theme="neutral"] * {
  filter: grayscale(100%) !important;
}


/* Dropdown menus: excluded from grayscale to maintain readability */


html[data-theme="neutral"] .priority-selector-menu,
html[data-theme="neutral"] .priority-selector-menu *,
html[data-theme="neutral"] .date-picker-menu,
html[data-theme="neutral"] .date-picker-menu *,
html[data-theme="neutral"] .user-selector-menu,
html[data-theme="neutral"] .user-selector-menu *,
html[data-theme="neutral"] .dependencies-selector-menu,
html[data-theme="neutral"] .dependencies-selector-menu *,
html[data-theme="neutral"] .column-manager-menu,
html[data-theme="neutral"] .column-manager-menu * {
  filter: none !important;
}


/* Priority indicators - grayscale only */


[data-theme="neutral"] .asakaa-priority-low,
[data-theme="neutral"] .asakaa-priority-medium,
[data-theme="neutral"] .asakaa-priority-high {
  background: transparent !important;
  color: var(--color-text-secondary) !important;
  border: 1px solid var(--color-border-primary) !important;
}


[data-theme="neutral"] .asakaa-priority-urgent {
  background: var(--color-text-primary) !important;
  color: var(--color-bg-primary) !important;
  animation: none !important;
}


/* Dates - no red for overdue, use bold weight instead */


[data-theme="neutral"] .asakaa-date-overdue {
  color: var(--color-text-primary) !important;
  font-weight: var(--font-black) !important;
  text-decoration: underline;
}


/* Column progress indicators - pure text */


[data-theme="neutral"] .asakaa-column-count {
  background: none !important;
  border: none !important;
  color: var(--color-text-tertiary) !important;
}


/* Hover states - subtle gray only */


[data-theme="neutral"] .asakaa-card:hover {
  border-color: var(--color-text-tertiary) !important;
  background: var(--color-bg-secondary) !important;
}


[data-theme="neutral"] .asakaa-column:hover {
  border-color: var(--color-text-tertiary) !important;
}


/* Remove ALL SVG colors - force grayscale (EXCEPT Gantt chart) */


[data-theme="neutral"] svg:not([data-gantt-chart] svg) {
  filter: grayscale(100%) !important;
  opacity: 0.8;
}


[data-theme="neutral"] svg *:not([data-gantt-chart] svg *) {
  fill: currentColor !important;
  stroke: currentColor !important;
}


/* Gantt chart: exclude from grayscale filters to preserve theme colors */


[data-theme="neutral"] [data-gantt-chart] svg,
[data-theme="neutral"] [data-gantt-chart] svg * {
  filter: none !important;
  opacity: 1 !important;
}


/* Remove color from buttons and interactive elements */


[data-theme="neutral"] button {
  background: var(--color-bg-secondary) !important;
  color: var(--color-text-primary) !important;
  border-color: var(--color-border-primary) !important;
}


[data-theme="neutral"] button:hover {
  background: var(--color-bg-tertiary) !important;
  border-color: var(--color-border-secondary) !important;
}


/* Labels - absolutely no background color */


[data-theme="neutral"] .asakaa-label {
  background: transparent !important;
  color: var(--color-text-tertiary) !important;
}


/* Ensure no accent colors leak through */


[data-theme="neutral"] [class*="blue"],
[data-theme="neutral"] [class*="red"],
[data-theme="neutral"] [class*="green"],
[data-theme="neutral"] [class*="yellow"],
[data-theme="neutral"] [class*="orange"],
[data-theme="neutral"] [class*="purple"],
[data-theme="neutral"] [class*="pink"] {
  color: var(--color-text-primary) !important;
  background: transparent !important;
  border-color: var(--color-border-primary) !important;
}


/* Force grayscale on any element with inline color styles */


[data-theme="neutral"] [style*="color"],
[data-theme="neutral"] [style*="background"],
[data-theme="neutral"] [style*="border"] {
  filter: grayscale(100%) !important;
}


/* ==========================================================================
   MODAL V2 VARIABLES - Defined in card-detail-modal-v2.css
   No need to redefine here - avoiding CSS conflicts
   ========================================================================== */


/* ==========================================================================
   GANTT CHART SCROLLBARS - Professional dark theme
   Consistent, subtle, and theme-aware
   ========================================================================== */


/* Dark theme scrollbar colors */


[data-theme="dark"] [data-gantt-chart],
[data-theme="dark"] .gantt-grid-scroll,
[data-theme="dark"] .gantt-timeline-scroll {
  scrollbar-width: thin;
  scrollbar-color: #3a3d45 transparent;
}


[data-theme="dark"] [data-gantt-chart]::-webkit-scrollbar,
[data-theme="dark"] .gantt-grid-scroll::-webkit-scrollbar,
[data-theme="dark"] .gantt-timeline-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}


[data-theme="dark"] [data-gantt-chart]::-webkit-scrollbar-track,
[data-theme="dark"] .gantt-grid-scroll::-webkit-scrollbar-track,
[data-theme="dark"] .gantt-timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}


[data-theme="dark"] [data-gantt-chart]::-webkit-scrollbar-thumb,
[data-theme="dark"] .gantt-grid-scroll::-webkit-scrollbar-thumb,
[data-theme="dark"] .gantt-timeline-scroll::-webkit-scrollbar-thumb {
  background: #3a3d45;
  border-radius: 4px;
}


[data-theme="dark"] [data-gantt-chart]::-webkit-scrollbar-thumb:hover,
[data-theme="dark"] .gantt-grid-scroll::-webkit-scrollbar-thumb:hover,
[data-theme="dark"] .gantt-timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #4a4d55;
}


[data-theme="dark"] [data-gantt-chart]::-webkit-scrollbar-corner,
[data-theme="dark"] .gantt-grid-scroll::-webkit-scrollbar-corner,
[data-theme="dark"] .gantt-timeline-scroll::-webkit-scrollbar-corner {
  background: transparent;
}


/* Light theme scrollbar colors */


[data-theme="light"] [data-gantt-chart],
[data-theme="light"] .gantt-grid-scroll,
[data-theme="light"] .gantt-timeline-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}


[data-theme="light"] [data-gantt-chart]::-webkit-scrollbar,
[data-theme="light"] .gantt-grid-scroll::-webkit-scrollbar,
[data-theme="light"] .gantt-timeline-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}


[data-theme="light"] [data-gantt-chart]::-webkit-scrollbar-track,
[data-theme="light"] .gantt-grid-scroll::-webkit-scrollbar-track,
[data-theme="light"] .gantt-timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}


[data-theme="light"] [data-gantt-chart]::-webkit-scrollbar-thumb,
[data-theme="light"] .gantt-grid-scroll::-webkit-scrollbar-thumb,
[data-theme="light"] .gantt-timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.5);
  border-radius: 4px;
}


[data-theme="light"] [data-gantt-chart]::-webkit-scrollbar-thumb:hover,
[data-theme="light"] .gantt-grid-scroll::-webkit-scrollbar-thumb:hover,
[data-theme="light"] .gantt-timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.8);
}


[data-theme="light"] [data-gantt-chart]::-webkit-scrollbar-corner,
[data-theme="light"] .gantt-grid-scroll::-webkit-scrollbar-corner,
[data-theme="light"] .gantt-timeline-scroll::-webkit-scrollbar-corner {
  background: transparent;
}


/* Neutral theme (same as dark) */


[data-theme="neutral"] [data-gantt-chart],
[data-theme="neutral"] .gantt-grid-scroll,
[data-theme="neutral"] .gantt-timeline-scroll {
  scrollbar-width: thin;
  scrollbar-color: #3a3d45 transparent;
}


[data-theme="neutral"] [data-gantt-chart]::-webkit-scrollbar,
[data-theme="neutral"] .gantt-grid-scroll::-webkit-scrollbar,
[data-theme="neutral"] .gantt-timeline-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}


[data-theme="neutral"] [data-gantt-chart]::-webkit-scrollbar-track,
[data-theme="neutral"] .gantt-grid-scroll::-webkit-scrollbar-track,
[data-theme="neutral"] .gantt-timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}


[data-theme="neutral"] [data-gantt-chart]::-webkit-scrollbar-thumb,
[data-theme="neutral"] .gantt-grid-scroll::-webkit-scrollbar-thumb,
[data-theme="neutral"] .gantt-timeline-scroll::-webkit-scrollbar-thumb {
  background: #3a3d45;
  border-radius: 4px;
}


[data-theme="neutral"] [data-gantt-chart]::-webkit-scrollbar-thumb:hover,
[data-theme="neutral"] .gantt-grid-scroll::-webkit-scrollbar-thumb:hover,
[data-theme="neutral"] .gantt-timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #4a4d55;
}


[data-theme="neutral"] [data-gantt-chart]::-webkit-scrollbar-corner,
[data-theme="neutral"] .gantt-grid-scroll::-webkit-scrollbar-corner,
[data-theme="neutral"] .gantt-timeline-scroll::-webkit-scrollbar-corner {
  background: transparent;
}


/* ============================================================================
   TAILWIND DIRECTIVES
   ============================================================================ */


*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}


::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}


/*! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
 */


/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/


*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}


::before,
::after {
  --tw-content: '';
}


/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/


html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: Inter Variable, system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}


/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/


body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}


/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/


hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}


/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/


abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}


/*
Remove the default font size and weight for headings.
*/


h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}


/*
Reset links to optimize for opt-in styling instead of opt-out.
*/


a {
  color: inherit;
  text-decoration: inherit;
}


/*
Add the correct font weight in Edge and Safari.
*/


b,
strong {
  font-weight: bolder;
}


/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/


code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}


/*
Add the correct font size in all browsers.
*/


small {
  font-size: 80%;
}


/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/


sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}


sub {
  bottom: -0.25em;
}


sup {
  top: -0.5em;
}


/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/


table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}


/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/


button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}


/*
Remove the inheritance of text transform in Edge and Firefox.
*/


button,
select {
  text-transform: none;
}


/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/


button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}


/*
Use the modern Firefox focus style for all focusable elements.
*/


:-moz-focusring {
  outline: auto;
}


/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/


:-moz-ui-invalid {
  box-shadow: none;
}


/*
Add the correct vertical alignment in Chrome and Firefox.
*/


progress {
  vertical-align: baseline;
}


/*
Correct the cursor style of increment and decrement buttons in Safari.
*/


::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}


/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/


[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}


/*
Remove the inner padding in Chrome and Safari on macOS.
*/


::-webkit-search-decoration {
  -webkit-appearance: none;
}


/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/


::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}


/*
Add the correct display in Chrome and Safari.
*/


summary {
  display: list-item;
}


/*
Removes the default spacing and border for appropriate elements.
*/


blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}


fieldset {
  margin: 0;
  padding: 0;
}


legend {
  padding: 0;
}


ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}


/*
Reset default styling for dialogs.
*/


dialog {
  padding: 0;
}


/*
Prevent resizing textareas horizontally by default.
*/


textarea {
  resize: vertical;
}


/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/


input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}


input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}


/*
Set the default cursor for buttons.
*/


button,
[role="button"] {
  cursor: pointer;
}


/*
Make sure disabled buttons don't get the pointer cursor.
*/


:disabled {
  cursor: default;
}


/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/


img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}


/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/


img,
video {
  max-width: 100%;
  height: auto;
}


/* Make elements with the HTML hidden attribute stay hidden by default */


[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}


* {
    border-color: rgba(255, 255, 255, var(--opacity-faint));
  }


body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-feature-settings: "rlig" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }


.container {
  width: 100%;
}


@media (min-width: 640px) {


  .container {
    max-width: 640px;
  }
}


@media (min-width: 768px) {


  .container {
    max-width: 768px;
  }
}


@media (min-width: 1024px) {


  .container {
    max-width: 1024px;
  }
}


@media (min-width: 1280px) {


  .container {
    max-width: 1280px;
  }
}


@media (min-width: 1536px) {


  .container {
    max-width: 1536px;
  }
}


/* ==========================================================================
     BOARD CONTAINER
     ========================================================================== */


/* v0.17.444: Changed overflow-y-hidden to overflow-y-auto and min-h-screen to h-full for proper pan/drag */


.asakaa-board {
  position: relative;
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: auto;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--color-bg-primary);
}


/* v0.17.444: Theme-aware scrollbars (both horizontal and vertical) */


.asakaa-board::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }


.asakaa-board::-webkit-scrollbar-track {
    background: var(--theme-bg-secondary, rgba(20, 20, 20, 0.4));
    border-radius: var(--radius-sm);
  }


.asakaa-board::-webkit-scrollbar-thumb {
    background: var(--theme-border-primary, rgba(255, 255, 255, 0.2));
    border-radius: var(--radius-sm);
    border: 2px solid var(--theme-bg-secondary, rgba(20, 20, 20, 0.4));
  }


.asakaa-board::-webkit-scrollbar-thumb:hover {
    background: var(--theme-border-secondary, rgba(255, 255, 255, 0.3));
  }


.asakaa-board::-webkit-scrollbar-corner {
    background: var(--theme-bg-secondary, rgba(20, 20, 20, 0.4));
  }


/* ==========================================================================
     COLUMN
     ========================================================================== */


.asakaa-column {
  display: flex;
  flex-direction: column;
    min-width: var(--column-width);
    max-width: var(--column-width);
    height: -moz-fit-content;
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - var(--space-16));
    padding: var(--space-4);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-base) var(--ease-smooth);
}


.asakaa-column:hover {
    border-color: rgba(59, 130, 246, var(--opacity-light));
    box-shadow: var(--shadow-lg);
    /* NO transform - columns are structural elements */
  }


.asakaa-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
}


.asakaa-column-title {
    font-size: var(--font-sm);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
  }


.asakaa-column-count {
    font-size: var(--font-2xs);
    font-weight: var(--font-semibold);
    padding: 0;
    color: var(--color-text-tertiary);
    background: none;
    border: none;
  }


.asakaa-column-cards {
  display: flex;
  flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
    padding-right: var(--space-1);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}


/* Unified scrollbar styling */


.asakaa-column-cards::-webkit-scrollbar {
    width: 8px;
  }


.asakaa-column-cards::-webkit-scrollbar-track {
    background: transparent;
  }


.asakaa-column-cards::-webkit-scrollbar-thumb {
    background: var(--theme-text-tertiary);
    opacity: 0.3;
    border-radius: var(--radius-sm);
  }


.asakaa-column-cards::-webkit-scrollbar-thumb:hover {
    opacity: 0.5;
  }


/* ==========================================================================
     CARD
     ========================================================================== */


.asakaa-card {
  cursor: pointer;
    position: relative;
    width: 100%;
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-fast) var(--ease-smooth);
}


.asakaa-card:hover {
    border-color: rgba(59, 130, 246, var(--opacity-medium));
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);  /* Subtle 1px, not 2px */
  }


.asakaa-card:active {
  cursor: grabbing;
    transform: scale(0.98);
}


.asakaa-card-dragging {
    opacity: var(--opacity-opaque);
    transform: rotate(2deg) scale(1.03);  /* Subtle rotation and scale */
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(59, 130, 246, var(--opacity-strong));
  }


.asakaa-card-title {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    color: var(--color-text-primary);
  }


.asakaa-card-description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
    font-size: var(--font-xs);
    line-height: 1.5;
    color: var(--color-text-secondary);
}


/* ==========================================================================
     PRIORITY BADGES
     ========================================================================== */


@keyframes pulse-glow {
    0%, 100% {
      box-shadow: 0 0 16px rgba(239, 68, 68, var(--opacity-strong));
    }
    50% {
      box-shadow: 0 0 24px rgba(239, 68, 68, var(--opacity-opaque));
    }
  }


/* ==========================================================================
     LABELS - v0.6.0 Enhanced: Pure text, no backgrounds
     ========================================================================== */


.asakaa-label {
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    padding: 0;
    margin-right: var(--space-2);
    background: none;
    border: none;
    color: var(--color-text-tertiary);
    transition: color var(--duration-fast) var(--ease-smooth);
  }


.asakaa-label:hover {
    color: var(--color-text-secondary);
  }


/* ==========================================================================
     DROP ZONES
     ========================================================================== */


.asakaa-drop-zone {
    min-height: 120px;
    border: 2px dashed rgba(255, 255, 255, var(--opacity-faint));
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, var(--opacity-subtle));
    transition: all var(--duration-base) var(--ease-smooth);
  }


@keyframes pulse-border {
    0%, 100% {
      border-color: rgba(59, 130, 246, var(--opacity-strong));
    }
    50% {
      border-color: rgba(59, 130, 246, var(--opacity-opaque));
    }
  }


/* ==========================================================================
     LOADING STATES
     ========================================================================== */


.asakaa-skeleton {
    border-radius: var(--radius-md);
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, var(--opacity-subtle)) 0%,
      rgba(255, 255, 255, var(--opacity-faint)) 50%,
      rgba(255, 255, 255, var(--opacity-subtle)) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
  }


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


/* ==========================================================================
     EMPTY STATES
     ========================================================================== */


.asakaa-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
    padding: var(--space-8);
    font-size: var(--font-sm);
    color: var(--color-text-tertiary);
}


/* ==========================================================================
     AI BADGE
     ========================================================================== */


/* ==========================================================================
     SWIMLANES
     ========================================================================== */


.asakaa-swimlane-view {
  width: 100%;
    padding: var(--space-6);
    background: var(--color-bg-primary);
    min-height: 100vh;
}


.asakaa-swimlane {
  position: relative;
  overflow: hidden;
    background: rgba(20, 20, 20, var(--opacity-medium));
    transition: all var(--duration-base) var(--ease-smooth);
}


.asakaa-swimlane:hover {
    background: rgba(20, 20, 20, var(--opacity-strong));
  }


.asakaa-swimlane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, var(--opacity-subtle));
    transition: background var(--duration-fast) var(--ease-smooth);
}


.asakaa-swimlane-header:hover {
    background: rgba(255, 255, 255, var(--opacity-subtle));
  }


.asakaa-swimlane-content {
  position: relative;
}


.asakaa-swimlane-content .asakaa-board {
    padding: var(--space-4);
    min-height: auto;
    background: transparent;
  }


.asakaa-swimlane-content .asakaa-column {
    min-width: var(--column-width-compact);
    max-width: var(--column-width-compact);
    max-height: 500px;
  }


.pointer-events-none {
  pointer-events: none;
}


.pointer-events-auto {
  pointer-events: auto;
}


.visible {
  visibility: visible;
}


.invisible {
  visibility: hidden;
}


.collapse {
  visibility: collapse;
}


.static {
  position: static;
}


.fixed {
  position: fixed;
}


.absolute {
  position: absolute;
}


.relative {
  position: relative;
}


.sticky {
  position: sticky;
}


.inset-0 {
  inset: 0px;
}


.inset-4 {
  inset: 1rem;
}


.bottom-0 {
  bottom: 0px;
}


.bottom-2 {
  bottom: 0.5rem;
}


.bottom-4 {
  bottom: 1rem;
}


.bottom-full {
  bottom: 100%;
}


.left-0 {
  left: 0px;
}


.left-1 {
  left: 0.25rem;
}


.left-1\/2 {
  left: 50%;
}


.left-3 {
  left: 0.75rem;
}


.left-32 {
  left: 8rem;
}


.left-4 {
  left: 1rem;
}


.left-full {
  left: 100%;
}


.right-0 {
  right: 0px;
}


.right-1 {
  right: 0.25rem;
}


.right-4 {
  right: 1rem;
}


.top-0 {
  top: 0px;
}


.top-1\/2 {
  top: 50%;
}


.top-2 {
  top: 0.5rem;
}


.top-4 {
  top: 1rem;
}


.top-full {
  top: 100%;
}


.z-10 {
  z-index: 10;
}


.z-40 {
  z-index: 40;
}


.z-50 {
  z-index: 50;
}


.z-\[100000\] {
  z-index: 100000;
}


.z-\[100001\] {
  z-index: 100001;
}


.z-\[10000\] {
  z-index: 10000;
}


.z-\[60\] {
  z-index: 60;
}


.z-\[9998\] {
  z-index: 9998;
}


.z-\[99999\] {
  z-index: 99999;
}


.z-\[9999\] {
  z-index: 9999;
}


.-mx-2 {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}


.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}


.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}


.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}


.mx-auto {
  margin-left: auto;
  margin-right: auto;
}


.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}


.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}


.-ml-1 {
  margin-left: -0.25rem;
}


.mb-1 {
  margin-bottom: 0.25rem;
}


.mb-1\.5 {
  margin-bottom: 0.375rem;
}


.mb-2 {
  margin-bottom: 0.5rem;
}


.mb-3 {
  margin-bottom: 0.75rem;
}


.mb-4 {
  margin-bottom: 1rem;
}


.mb-6 {
  margin-bottom: 1.5rem;
}


.ml-0\.5 {
  margin-left: 0.125rem;
}


.ml-1 {
  margin-left: 0.25rem;
}


.ml-2 {
  margin-left: 0.5rem;
}


.ml-auto {
  margin-left: auto;
}


.mt-0 {
  margin-top: 0px;
}


.mt-0\.5 {
  margin-top: 0.125rem;
}


.mt-1 {
  margin-top: 0.25rem;
}


.mt-1\.5 {
  margin-top: 0.375rem;
}


.mt-2 {
  margin-top: 0.5rem;
}


.mt-3 {
  margin-top: 0.75rem;
}


.mt-4 {
  margin-top: 1rem;
}


.mt-6 {
  margin-top: 1.5rem;
}


.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


.block {
  display: block;
}


.inline-block {
  display: inline-block;
}


.inline {
  display: inline;
}


.flex {
  display: flex;
}


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


.table {
  display: table;
}


.grid {
  display: grid;
}


.hidden {
  display: none;
}


.h-0\.5 {
  height: 0.125rem;
}


.h-1\.5 {
  height: 0.375rem;
}


.h-10 {
  height: 2.5rem;
}


.h-12 {
  height: 3rem;
}


.h-16 {
  height: 4rem;
}


.h-2 {
  height: 0.5rem;
}


.h-24 {
  height: 6rem;
}


.h-28 {
  height: 7rem;
}


.h-3 {
  height: 0.75rem;
}


.h-3\.5 {
  height: 0.875rem;
}


.h-32 {
  height: 8rem;
}


.h-4 {
  height: 1rem;
}


.h-5 {
  height: 1.25rem;
}


.h-6 {
  height: 1.5rem;
}


.h-64 {
  height: 16rem;
}


.h-7 {
  height: 1.75rem;
}


.h-8 {
  height: 2rem;
}


.h-9 {
  height: 2.25rem;
}


.h-full {
  height: 100%;
}


.h-px {
  height: 1px;
}


.max-h-48 {
  max-height: 12rem;
}


.max-h-64 {
  max-height: 16rem;
}


.max-h-96 {
  max-height: 24rem;
}


.max-h-\[200px\] {
  max-height: 200px;
}


.max-h-\[240px\] {
  max-height: 240px;
}


.max-h-\[280px\] {
  max-height: 280px;
}


.max-h-\[300px\] {
  max-height: 300px;
}


.max-h-\[320px\] {
  max-height: 320px;
}


.max-h-\[400px\] {
  max-height: 400px;
}


.max-h-\[500px\] {
  max-height: 500px;
}


.max-h-\[80vh\] {
  max-height: 80vh;
}


.max-h-\[90vh\] {
  max-height: 90vh;
}


.max-h-\[calc\(100vh-200px\)\] {
  max-height: calc(100vh - 200px);
}


.max-h-\[calc\(80vh-120px\)\] {
  max-height: calc(80vh - 120px);
}


.min-h-0 {
  min-height: 0px;
}


.min-h-\[100px\] {
  min-height: 100px;
}


.min-h-\[120px\] {
  min-height: 120px;
}


.min-h-\[52px\] {
  min-height: 52px;
}


.min-h-screen {
  min-height: 100vh;
}


.w-1 {
  width: 0.25rem;
}


.w-10 {
  width: 2.5rem;
}


.w-12 {
  width: 3rem;
}


.w-16 {
  width: 4rem;
}


.w-2 {
  width: 0.5rem;
}


.w-24 {
  width: 6rem;
}


.w-3 {
  width: 0.75rem;
}


.w-3\.5 {
  width: 0.875rem;
}


.w-36 {
  width: 9rem;
}


.w-4 {
  width: 1rem;
}


.w-40 {
  width: 10rem;
}


.w-44 {
  width: 11rem;
}


.w-48 {
  width: 12rem;
}


.w-5 {
  width: 1.25rem;
}


.w-6 {
  width: 1.5rem;
}


.w-64 {
  width: 16rem;
}


.w-7 {
  width: 1.75rem;
}


.w-72 {
  width: 18rem;
}


.w-8 {
  width: 2rem;
}


.w-96 {
  width: 24rem;
}


.w-\[200px\] {
  width: 200px;
}


.w-\[320px\] {
  width: 320px;
}


.w-full {
  width: 100%;
}


.w-px {
  width: 1px;
}


.min-w-0 {
  min-width: 0px;
}


.min-w-\[100px\] {
  min-width: 100px;
}


.min-w-\[120px\] {
  min-width: 120px;
}


.min-w-\[130px\] {
  min-width: 130px;
}


.min-w-\[140px\] {
  min-width: 140px;
}


.min-w-\[160px\] {
  min-width: 160px;
}


.min-w-\[180px\] {
  min-width: 180px;
}


.min-w-\[200px\] {
  min-width: 200px;
}


.min-w-\[240px\] {
  min-width: 240px;
}


.min-w-\[280px\] {
  min-width: 280px;
}


.min-w-\[300px\] {
  min-width: 300px;
}


.min-w-\[320px\] {
  min-width: 320px;
}


.min-w-\[35px\] {
  min-width: 35px;
}


.min-w-\[400px\] {
  min-width: 400px;
}


.min-w-\[40px\] {
  min-width: 40px;
}


.min-w-\[42px\] {
  min-width: 42px;
}


.min-w-\[45px\] {
  min-width: 45px;
}


.min-w-\[70px\] {
  min-width: 70px;
}


.min-w-\[80px\] {
  min-width: 80px;
}


.max-w-2xl {
  max-width: 42rem;
}


.max-w-3xl {
  max-width: 48rem;
}


.max-w-\[100px\] {
  max-width: 100px;
}


.max-w-\[120px\] {
  max-width: 120px;
}


.max-w-\[400px\] {
  max-width: 400px;
}


.max-w-\[60px\] {
  max-width: 60px;
}


.max-w-\[85\%\] {
  max-width: 85%;
}


.max-w-md {
  max-width: 28rem;
}


.max-w-xl {
  max-width: 36rem;
}


.flex-1 {
  flex: 1 1 0%;
}


.flex-shrink-0 {
  flex-shrink: 0;
}


.shrink {
  flex-shrink: 1;
}


.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.rotate-3 {
  --tw-rotate: 3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.rotate-45 {
  --tw-rotate: 45deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


@keyframes spin {


  to {
    transform: rotate(360deg);
  }
}


.animate-spin {
  animation: spin 1s linear infinite;
}


.cursor-col-resize {
  cursor: col-resize;
}


.cursor-grab {
  cursor: grab;
}


.cursor-not-allowed {
  cursor: not-allowed;
}


.cursor-pointer {
  cursor: pointer;
}


.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}


.resize-none {
  resize: none;
}


.resize {
  resize: both;
}


.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}


.auto-rows-min {
  grid-auto-rows: min-content;
}


.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}


.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


.grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}


.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}


.grid-cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}


.flex-col {
  flex-direction: column;
}


.flex-wrap {
  flex-wrap: wrap;
}


.items-start {
  align-items: flex-start;
}


.items-end {
  align-items: flex-end;
}


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


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


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


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


.justify-between {
  justify-content: space-between;
}


.gap-0\.5 {
  gap: 0.125rem;
}


.gap-1 {
  gap: 0.25rem;
}


.gap-1\.5 {
  gap: 0.375rem;
}


.gap-2 {
  gap: 0.5rem;
}


.gap-2\.5 {
  gap: 0.625rem;
}


.gap-3 {
  gap: 0.75rem;
}


.gap-4 {
  gap: 1rem;
}


.gap-8 {
  gap: 2rem;
}


.gap-px {
  gap: 1px;
}


.gap-x-12 {
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}


.gap-y-5 {
  row-gap: 1.25rem;
}


.-space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(-0.25rem * calc(1 - var(--tw-space-x-reverse)));
}


.-space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(-0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse)));
}


.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}


.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}


.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}


.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}


.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}


.overflow-auto {
  overflow: auto;
}


.overflow-hidden {
  overflow: hidden;
}


.overflow-visible {
  overflow: visible;
}


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


.overflow-x-visible {
  overflow-x: visible;
}


.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.whitespace-nowrap {
  white-space: nowrap;
}


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


.break-words {
  overflow-wrap: break-word;
}


.rounded {
  border-radius: 0.25rem;
}


.rounded-2xl {
  border-radius: 1rem;
}


.rounded-full {
  border-radius: 9999px;
}


.rounded-lg {
  border-radius: 0.5rem;
}


.rounded-md {
  border-radius: 0.375rem;
}


.rounded-xl {
  border-radius: 0.75rem;
}


.rounded-bl-md {
  border-bottom-left-radius: 0.375rem;
}


.rounded-br-md {
  border-bottom-right-radius: 0.375rem;
}


.border {
  border-width: 1px;
}


.border-0 {
  border-width: 0px;
}


.border-2 {
  border-width: 2px;
}


.border-b {
  border-bottom-width: 1px;
}


.border-b-2 {
  border-bottom-width: 2px;
}


.border-l {
  border-left-width: 1px;
}


.border-r {
  border-right-width: 1px;
}


.border-t {
  border-top-width: 1px;
}


.border-dashed {
  border-style: dashed;
}


.border-none {
  border-style: none;
}


.border-\[\#0F1117\] {
  --tw-border-opacity: 1;
  border-color: rgb(15 17 23 / var(--tw-border-opacity, 1));
}


.border-\[\#3B82F6\] {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}


.border-\[\#3B82F6\]\/50 {
  border-color: rgb(59 130 246 / 0.5);
}


.border-\[\#3a3a4e\] {
  --tw-border-opacity: 1;
  border-color: rgb(58 58 78 / var(--tw-border-opacity, 1));
}


.border-\[\#4B5563\] {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}


.border-\[\#6B7280\] {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}


.border-blue-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}


.border-blue-400 {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}


.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}


.border-blue-500\/30 {
  border-color: rgb(59 130 246 / 0.3);
}


.border-blue-500\/50 {
  border-color: rgb(59 130 246 / 0.5);
}


.border-current {
  border-color: currentColor;
}


.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}


.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}


.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}


.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}


.border-green-500 {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}


.border-green-500\/30 {
  border-color: rgb(34 197 94 / 0.3);
}


.border-green-500\/50 {
  border-color: rgb(34 197 94 / 0.5);
}


.border-indigo-500\/30 {
  border-color: rgb(99 102 241 / 0.3);
}


.border-pink-500\/30 {
  border-color: rgb(236 72 153 / 0.3);
}


.border-purple-500 {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}


.border-purple-500\/30 {
  border-color: rgb(168 85 247 / 0.3);
}


.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}


.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}


.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}


.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}


.border-white\/30 {
  border-color: rgb(255 255 255 / 0.3);
}


.border-white\/40 {
  border-color: rgb(255 255 255 / 0.4);
}


.border-white\/5 {
  border-color: rgb(255 255 255 / 0.05);
}


.border-white\/50 {
  border-color: rgb(255 255 255 / 0.5);
}


.border-yellow-500\/30 {
  border-color: rgb(234 179 8 / 0.3);
}


.border-t-transparent {
  border-top-color: transparent;
}


.border-t-white {
  --tw-border-opacity: 1;
  border-top-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}


.bg-\[\#0D0F13\] {
  --tw-bg-opacity: 1;
  background-color: rgb(13 15 19 / var(--tw-bg-opacity, 1));
}


.bg-\[\#0F1117\] {
  --tw-bg-opacity: 1;
  background-color: rgb(15 17 23 / var(--tw-bg-opacity, 1));
}


.bg-\[\#13161B\] {
  --tw-bg-opacity: 1;
  background-color: rgb(19 22 27 / var(--tw-bg-opacity, 1));
}


.bg-\[\#1A1D25\] {
  --tw-bg-opacity: 1;
  background-color: rgb(26 29 37 / var(--tw-bg-opacity, 1));
}


.bg-\[\#1C1F26\] {
  --tw-bg-opacity: 1;
  background-color: rgb(28 31 38 / var(--tw-bg-opacity, 1));
}


.bg-\[\#1F2937\] {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}


.bg-\[\#1e1e2e\] {
  --tw-bg-opacity: 1;
  background-color: rgb(30 30 46 / var(--tw-bg-opacity, 1));
}


.bg-\[\#2D2D2D\] {
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
}


.bg-\[\#2a2a3e\] {
  --tw-bg-opacity: 1;
  background-color: rgb(42 42 62 / var(--tw-bg-opacity, 1));
}


.bg-\[\#374151\] {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}


.bg-\[\#3B82F6\] {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}


.bg-\[\#3B82F6\]\/10 {
  background-color: rgb(59 130 246 / 0.1);
}


.bg-\[\#3B82F6\]\/20 {
  background-color: rgb(59 130 246 / 0.2);
}


.bg-\[\#7C3AED\] {
  --tw-bg-opacity: 1;
  background-color: rgb(124 58 237 / var(--tw-bg-opacity, 1));
}


.bg-\[\#7C3AED\]\/20 {
  background-color: rgb(124 58 237 / 0.2);
}


.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}


.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}


.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}


.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}


.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}


.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}


.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}


.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}


.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}


.bg-current {
  background-color: currentColor;
}


.bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}


.bg-emerald-500\/20 {
  background-color: rgb(16 185 129 / 0.2);
}


.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}


.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}


.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}


.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}


.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}


.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}


.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
}


.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}


.bg-green-500\/10 {
  background-color: rgb(34 197 94 / 0.1);
}


.bg-green-500\/20 {
  background-color: rgb(34 197 94 / 0.2);
}


.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}


.bg-indigo-500\/20 {
  background-color: rgb(99 102 241 / 0.2);
}


.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}


.bg-orange-500\/20 {
  background-color: rgb(249 115 22 / 0.2);
}


.bg-pink-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
}


.bg-pink-500\/20 {
  background-color: rgb(236 72 153 / 0.2);
}


.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}


.bg-purple-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(233 213 255 / var(--tw-bg-opacity, 1));
}


.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}


.bg-purple-500\/20 {
  background-color: rgb(168 85 247 / 0.2);
}


.bg-purple-500\/30 {
  background-color: rgb(168 85 247 / 0.3);
}


.bg-red-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 113 113 / var(--tw-bg-opacity, 1));
}


.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}


.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}


.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}


.bg-teal-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(20 184 166 / var(--tw-bg-opacity, 1));
}


.bg-transparent {
  background-color: transparent;
}


.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}


.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}


.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}


.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}


.bg-yellow-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
}


.bg-yellow-500\/20 {
  background-color: rgb(234 179 8 / 0.2);
}


.bg-opacity-10 {
  --tw-bg-opacity: 0.1;
}


.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}


.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}


.from-blue-500\/10 {
  --tw-gradient-from: rgb(59 130 246 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}


.from-blue-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}


.from-gray-900\/95 {
  --tw-gradient-from: rgb(17 24 39 / 0.95) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}


.to-blue-700 {
  --tw-gradient-to: #1d4ed8 var(--tw-gradient-to-position);
}


.to-gray-800\/95 {
  --tw-gradient-to: rgb(31 41 55 / 0.95) var(--tw-gradient-to-position);
}


.to-purple-500\/10 {
  --tw-gradient-to: rgb(168 85 247 / 0.1) var(--tw-gradient-to-position);
}


.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}


.p-0\.5 {
  padding: 0.125rem;
}


.p-1 {
  padding: 0.25rem;
}


.p-1\.5 {
  padding: 0.375rem;
}


.p-2 {
  padding: 0.5rem;
}


.p-2\.5 {
  padding: 0.625rem;
}


.p-3 {
  padding: 0.75rem;
}


.p-4 {
  padding: 1rem;
}


.p-5 {
  padding: 1.25rem;
}


.p-6 {
  padding: 1.5rem;
}


.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}


.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}


.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}


.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}


.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}


.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}


.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}


.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}


.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


.py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}


.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}


.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}


.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}


.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}


.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}


.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}


.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}


.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}


.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}


.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}


.pb-12 {
  padding-bottom: 3rem;
}


.pb-2 {
  padding-bottom: 0.5rem;
}


.pb-3 {
  padding-bottom: 0.75rem;
}


.pb-6 {
  padding-bottom: 1.5rem;
}


.pl-10 {
  padding-left: 2.5rem;
}


.pl-4 {
  padding-left: 1rem;
}


.pl-9 {
  padding-left: 2.25rem;
}


.pr-2 {
  padding-right: 0.5rem;
}


.pr-3 {
  padding-right: 0.75rem;
}


.pr-4 {
  padding-right: 1rem;
}


.pt-0 {
  padding-top: 0px;
}


.pt-0\.5 {
  padding-top: 0.125rem;
}


.pt-1 {
  padding-top: 0.25rem;
}


.pt-2 {
  padding-top: 0.5rem;
}


.pt-3 {
  padding-top: 0.75rem;
}


.pt-4 {
  padding-top: 1rem;
}


.text-left {
  text-align: left;
}


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


.text-right {
  text-align: right;
}


.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}


.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}


.text-5xl {
  font-size: 3rem;
  line-height: 1;
}


.text-\[10px\] {
  font-size: 10px;
}


.text-\[11px\] {
  font-size: 11px;
}


.text-\[8px\] {
  font-size: 8px;
}


.text-\[9px\] {
  font-size: 9px;
}


.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}


.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}


.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}


.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}


.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}


.font-bold {
  font-weight: 700;
}


.font-medium {
  font-weight: 500;
}


.font-normal {
  font-weight: 400;
}


.font-semibold {
  font-weight: 600;
}


.uppercase {
  text-transform: uppercase;
}


.lowercase {
  text-transform: lowercase;
}


.capitalize {
  text-transform: capitalize;
}


.italic {
  font-style: italic;
}


.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}


.leading-none {
  line-height: 1;
}


.leading-relaxed {
  line-height: 1.625;
}


.tracking-wide {
  letter-spacing: 0.025em;
}


.tracking-wider {
  letter-spacing: 0.05em;
}


.text-\[\#3B4252\] {
  --tw-text-opacity: 1;
  color: rgb(59 66 82 / var(--tw-text-opacity, 1));
}


.text-\[\#3B82F6\] {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}


.text-\[\#4B5563\] {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}


.text-\[\#6B7280\] {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}


.text-\[\#7C3AED\] {
  --tw-text-opacity: 1;
  color: rgb(124 58 237 / var(--tw-text-opacity, 1));
}


.text-\[\#94A3B8\] {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}


.text-\[\#9CA3AF\] {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}


.text-asakaa-accent-red {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}


.text-asakaa-text-secondary {
  --tw-text-opacity: 1;
  color: rgb(163 163 163 / var(--tw-text-opacity, 1));
}


.text-asakaa-text-tertiary {
  --tw-text-opacity: 1;
  color: rgb(115 115 115 / var(--tw-text-opacity, 1));
}


.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}


.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}


.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}


.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}


.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}


.text-emerald-500 {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}


.text-gray-100 {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}


.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}


.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}


.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}


.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}


.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}


.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}


.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}


.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}


.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}


.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}


.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}


.text-indigo-400 {
  --tw-text-opacity: 1;
  color: rgb(129 140 248 / var(--tw-text-opacity, 1));
}


.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}


.text-orange-500 {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}


.text-pink-400 {
  --tw-text-opacity: 1;
  color: rgb(244 114 182 / var(--tw-text-opacity, 1));
}


.text-purple-300 {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}


.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}


.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}


.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}


.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}


.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}


.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}


.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}


.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}


.text-white\/40 {
  color: rgb(255 255 255 / 0.4);
}


.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}


.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}


.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}


.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}


.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}


.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}


.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}


.underline {
  text-decoration-line: underline;
}


.line-through {
  text-decoration-line: line-through;
}


.placeholder-gray-400::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}


.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}


.placeholder-gray-500::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}


.placeholder-gray-500::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}


.placeholder-white\/40::-moz-placeholder {
  color: rgb(255 255 255 / 0.4);
}


.placeholder-white\/40::placeholder {
  color: rgb(255 255 255 / 0.4);
}


.placeholder-white\/50::-moz-placeholder {
  color: rgb(255 255 255 / 0.5);
}


.placeholder-white\/50::placeholder {
  color: rgb(255 255 255 / 0.5);
}


.opacity-0 {
  opacity: 0;
}


.opacity-100 {
  opacity: 1;
}


.opacity-25 {
  opacity: 0.25;
}


.opacity-40 {
  opacity: 0.4;
}


.opacity-50 {
  opacity: 0.5;
}


.opacity-70 {
  opacity: 0.7;
}


.opacity-75 {
  opacity: 0.75;
}


.opacity-80 {
  opacity: 0.8;
}


.opacity-90 {
  opacity: 0.9;
}


.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.shadow-blue-500\/20 {
  --tw-shadow-color: rgb(59 130 246 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}


.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}


.outline {
  outline-style: solid;
}


.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}


.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}


.ring-inset {
  --tw-ring-inset: inset;
}


.ring-\[\#3B82F6\] {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}


.ring-asakaa-accent-blue {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}


.ring-asakaa-accent-red {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}


.ring-offset-2 {
  --tw-ring-offset-width: 2px;
}


.ring-offset-\[\#1A1D25\] {
  --tw-ring-offset-color: #1A1D25;
}


.ring-offset-white {
  --tw-ring-offset-color: #fff;
}


.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}


.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}


.drop-shadow-md {
  --tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}


.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}


.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}


.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}


.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


.duration-200 {
  transition-duration: 200ms;
}


.duration-300 {
  transition-duration: 300ms;
}


.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}


.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}


/* Unified scrollbar utility for all components */


/* Focus ring with system colors */


/* Line clamp utility */


/* Glassmorphism - ONLY for floating elements */


.glass {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(20, 20, 20, var(--opacity-opaque));
    border: 1px solid rgba(255, 255, 255, var(--opacity-faint));
    box-shadow: var(--shadow-glass-lg);
  }


/* ============================================================================
   DESIGN SYSTEM FOUNDATION
   Mathematical scales for typography, spacing, colors, and timing
   ============================================================================ */


:root {
  /* ========== TYPOGRAPHY SCALE ========== */
  /* Mathematical progression: 10, 12, 14, 16, 20, 24, 32, 48 */
  --font-2xs: 10px;      /* Micro text: metadata, caps labels */
  --font-xs: 12px;       /* Secondary text: captions, hints */
  --font-sm: 14px;       /* Body text: descriptions, content */
  --font-base: 16px;     /* Default: inputs, standard text */
  --font-lg: 20px;       /* Section titles, emphasis */
  --font-xl: 24px;       /* Modal titles, headers */
  --font-2xl: 32px;      /* Hero numbers, big emphasis */
  --font-3xl: 48px;      /* Marketing, splash screens */

  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ========== SPACING SCALE ========== */
  /* Based on 4px grid system */
  --space-1: 4px;        /* Micro spacing */
  --space-2: 8px;        /* Tight spacing */
  --space-3: 12px;       /* Compact spacing */
  --space-4: 16px;       /* Base spacing */
  --space-5: 20px;       /* Comfortable spacing */
  --space-6: 24px;       /* Generous spacing */
  --space-8: 32px;       /* Section spacing */
  --space-10: 40px;      /* Large spacing */
  --space-12: 48px;      /* Extra large spacing */
  --space-16: 64px;      /* Hero spacing */

  /* ========== OPACITY SCALE ========== */
  /* Predictable and mathematical */
  --opacity-subtle: 0.05;   /* Barely visible borders */
  --opacity-faint: 0.10;    /* Faint dividers */
  --opacity-light: 0.20;    /* Light backgrounds */
  --opacity-medium: 0.40;   /* Medium backgrounds */
  --opacity-strong: 0.60;   /* Strong backgrounds */
  --opacity-opaque: 0.80;   /* Almost solid */
  --opacity-full: 1.0;      /* Solid */

  /* ========== BORDER RADIUS SCALE ========== */
  /* Only 4 radios: small, medium, large, full */
  --radius-sm: 6px;      /* Small elements: badges, tags */
  --radius-md: 10px;     /* Medium elements: buttons, inputs */
  --radius-lg: 16px;     /* Large elements: cards, modals */
  --radius-xl: 24px;     /* Hero elements */
  --radius-full: 9999px; /* Pills, circles */

  /* ========== SHADOW SYSTEM ========== */
  /* 4 levels of elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);

  /* Glass shadows (with subtle border) */
  --shadow-glass-sm: 0 4px 12px rgba(0, 0, 0, 0.4),
                      0 0 0 1px rgba(255, 255, 255, var(--opacity-subtle));
  --shadow-glass-lg: 0 24px 64px rgba(0, 0, 0, 0.5),
                      0 0 0 1px rgba(255, 255, 255, var(--opacity-faint));

  /* ========== ANIMATION TIMING ========== */
  --duration-instant: 100ms;    /* Micro-interactions */
  --duration-fast: 200ms;       /* Button hovers, toggles */
  --duration-base: 300ms;       /* Standard transitions */
  --duration-slow: 500ms;       /* Modal entrances */
  --duration-deliberate: 700ms; /* Complex animations */

  /* Easing functions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);  /* Material smooth */
  --ease-bounce: cubic-bezier(0.16, 1, 0.3, 1); /* Springy */
  --ease-sharp: cubic-bezier(0.4, 0, 0.6, 1);   /* Quick & precise */

  /* ========== Z-INDEX HIERARCHY ========== */
  --z-base: 0;        /* Normal flow */
  --z-dropdown: 100;  /* Dropdowns, tooltips */
  --z-sticky: 200;    /* Sticky headers */
  --z-fixed: 300;     /* Fixed toolbars */
  --z-overlay: 400;   /* Modal overlays */
  --z-modal: 500;     /* Modal content */
  --z-popover: 600;   /* Popovers above modals */
  --z-toast: 700;     /* Notifications */
  --z-tooltip: 800;   /* Tooltips (always on top) */

  /* ========== COLOR SYSTEM ========== */
  /* v0.5.0: Theme-aware colors - fallback to dark theme if ThemeProvider not used */
  --color-bg-primary: var(--theme-bg-primary, #0F1117);
  --color-bg-secondary: var(--theme-bg-secondary, #1A1D25);
  --color-bg-tertiary: var(--theme-bg-tertiary, #252A35);

  --color-text-primary: var(--theme-text-primary, #F8FAFC);
  --color-text-secondary: var(--theme-text-secondary, #9CA3AF);
  --color-text-tertiary: var(--theme-text-tertiary, #6B7280);

  /* Accent colors - use theme accent or fallback to blue */
  --color-blue: var(--theme-accent-primary, #3b82f6);
  --color-blue-dark: var(--theme-accent-hover, #2563eb);
  --color-red: var(--theme-error, #ef4444);
  --color-red-dark: #dc2626;
  --color-orange: var(--theme-warning, #f59e0b);
  --color-yellow: #fbbf24;
  --color-green: var(--theme-success, #10b981);
  --color-purple: #8b5cf6;

  /* Semantic colors */
  --color-error: var(--color-red);
  --color-warning: var(--color-orange);
  --color-success: var(--color-green);
  --color-info: var(--color-blue);

  /* Border colors from theme */
  --color-border-primary: var(--theme-border-primary, rgba(255, 255, 255, 0.1));
  --color-border-secondary: var(--theme-border-secondary, rgba(255, 255, 255, 0.05));

  /* ========== COMPONENT SIZES ========== */
  --column-width: 340px;
  --column-width-compact: 300px;
  --card-height-estimate: 120px;
  --header-height: 64px;
  --toolbar-height: 56px;
}


/* ============================================================================
   BASE STYLES
   ============================================================================ */


/* ============================================================================
   COMPONENTS
   ============================================================================ */


/* ============================================================================
   UTILITIES
   ============================================================================ */


/* ============================================================================
   LIGHT THEME OVERRIDES
   When .asakaa-board does NOT have .dark class, use light colors
   ============================================================================ */


.asakaa-board:not(.dark) {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;
  --color-bg-tertiary: #f3f4f6;
  --color-text-primary: #111827;
  --color-text-secondary: #6b7280;
  --color-text-tertiary: #9ca3af;
  --color-border-primary: rgba(0, 0, 0, 0.1);
  --color-border-secondary: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: var(--color-bg-primary);
}


.asakaa-board:not(.dark) .asakaa-column {
  background: var(--color-bg-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}


.asakaa-board:not(.dark) .asakaa-column:hover {
  border-color: rgba(59, 130, 246, 0.3);
}


.asakaa-board:not(.dark) .asakaa-column-header {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}


.asakaa-board:not(.dark) .asakaa-column-title {
  color: var(--color-text-primary);
}


.asakaa-board:not(.dark) .asakaa-column-count {
  color: var(--color-text-tertiary);
}


.asakaa-board:not(.dark) .asakaa-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}


.asakaa-board:not(.dark) .asakaa-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}


.asakaa-board:not(.dark) .asakaa-card-title {
  color: var(--color-text-primary);
}


.asakaa-board:not(.dark) .asakaa-card-description {
  color: var(--color-text-secondary);
}


.asakaa-board:not(.dark) .asakaa-card-footer {
  border-top-color: rgba(0, 0, 0, 0.1);
}


.asakaa-board:not(.dark) .asakaa-drop-zone {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.02);
}


.asakaa-board:not(.dark) .asakaa-drop-zone-active {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.05);
}


.asakaa-board:not(.dark) .asakaa-skeleton {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}


.asakaa-board:not(.dark) .asakaa-empty {
  color: var(--color-text-tertiary);
}


/* Light theme scrollbar */


.asakaa-board:not(.dark)::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}


.asakaa-board:not(.dark)::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.05);
}


.asakaa-board:not(.dark)::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}


.asakaa-board:not(.dark) .asakaa-column-cards::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}


/* ============================================================================
   ADD COLUMN BUTTON (v0.9.0)
   Button component for adding new columns to the board
   ============================================================================ */


.asakaa-add-column {
  display: flex;
  flex-direction: column;
  min-width: var(--column-width);
  max-width: var(--column-width);
  flex-shrink: 0;
  padding: var(--space-4);
}


.asakaa-add-column__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 48px;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-tertiary);
  background: transparent;
  border: 2px dashed var(--color-border-primary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.asakaa-add-column__button:hover:not(:disabled) {
  color: var(--color-blue);
  border-color: var(--color-blue);
  background: rgba(59, 130, 246, var(--opacity-subtle));
}


.asakaa-add-column__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* Editing mode */


.asakaa-add-column--editing {
  min-width: var(--column-width);
  max-width: var(--column-width);
}


.asakaa-add-column__input-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-lg);
}


.asakaa-add-column__input {
  width: 100%;
  height: 40px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-sm);
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}


.asakaa-add-column__input:focus {
  border-color: var(--color-blue);
}


.asakaa-add-column__input::-moz-placeholder {
  color: var(--color-text-tertiary);
}


.asakaa-add-column__input::placeholder {
  color: var(--color-text-tertiary);
}


.asakaa-add-column__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}


.asakaa-add-column__submit,
.asakaa-add-column__cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}


.asakaa-add-column__submit {
  color: white;
  background: var(--color-blue);
}


.asakaa-add-column__submit:hover:not(:disabled) {
  background: var(--color-blue-dark);
}


.asakaa-add-column__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.asakaa-add-column__cancel {
  color: var(--color-text-tertiary);
  background: transparent;
}


.asakaa-add-column__cancel:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, var(--opacity-subtle));
}


/* Light theme overrides */


.asakaa-board:not(.dark) .asakaa-add-column__button {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--color-text-tertiary);
}


.asakaa-board:not(.dark) .asakaa-add-column__button:hover:not(:disabled) {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: rgba(59, 130, 246, 0.05);
}


.asakaa-board:not(.dark) .asakaa-add-column__input-wrapper {
  background: var(--color-bg-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}


.asakaa-board:not(.dark) .asakaa-add-column__input {
  background: white;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--color-text-primary);
}


.asakaa-board:not(.dark) .asakaa-add-column__cancel:hover {
  background: rgba(0, 0, 0, 0.05);
}


/* ============================================================================
   GANTT GRID SCROLL - v0.17.223
   Hide scrollbar on TaskGrid while keeping scroll functional
   ============================================================================ */


.gantt-grid-scroll {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.gantt-grid-scroll::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}


/* ============================================================================
   SLIM SCROLLBAR - v0.18.17
   Ultra-thin, subtle scrollbar for activity panels and textareas
   Only visible on hover, minimal visual footprint
   ============================================================================ */


.scrollbar-slim {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}


.scrollbar-slim:hover {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}


.scrollbar-slim::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}


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


.scrollbar-slim::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}


.scrollbar-slim:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}


.scrollbar-slim::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}


/* Light theme variant */


.scrollbar-slim-light {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}


.scrollbar-slim-light:hover {
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}


.scrollbar-slim-light::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}


.scrollbar-slim-light::-webkit-scrollbar-track {
  background: transparent;
}


.scrollbar-slim-light::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}


.scrollbar-slim-light:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}


.scrollbar-slim-light::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}


.placeholder\:text-\[\#6B7280\]::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}


.placeholder\:text-\[\#6B7280\]::placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}


.placeholder\:text-gray-400::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}


.placeholder\:text-gray-400::placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}


.placeholder\:opacity-40::-moz-placeholder {
  opacity: 0.4;
}


.placeholder\:opacity-40::placeholder {
  opacity: 0.4;
}


.placeholder\:opacity-50::-moz-placeholder {
  opacity: 0.5;
}


.placeholder\:opacity-50::placeholder {
  opacity: 0.5;
}


.checked\:border-purple-500:checked {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}


.checked\:bg-purple-500:checked {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}


.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.hover\:border-\[\#6B7280\]:hover {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}


.hover\:border-gray-300:hover {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}


.hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}


.hover\:border-green-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}


.hover\:border-green-500\/50:hover {
  border-color: rgb(34 197 94 / 0.5);
}


.hover\:border-white\/20:hover {
  border-color: rgb(255 255 255 / 0.2);
}


.hover\:border-white\/40:hover {
  border-color: rgb(255 255 255 / 0.4);
}


.hover\:border-white\/50:hover {
  border-color: rgb(255 255 255 / 0.5);
}


.hover\:bg-\[\#2563EB\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}


.hover\:bg-\[\#2a2a3e\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(42 42 62 / var(--tw-bg-opacity, 1));
}


.hover\:bg-\[\#3B82F6\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}


.hover\:bg-\[\#3B82F6\]\/30:hover {
  background-color: rgb(59 130 246 / 0.3);
}


.hover\:bg-\[\#3a3a4e\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(58 58 78 / var(--tw-bg-opacity, 1));
}


.hover\:bg-\[\#6D28D9\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(109 40 217 / var(--tw-bg-opacity, 1));
}


.hover\:bg-\[\#7C3AED\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(124 58 237 / var(--tw-bg-opacity, 1));
}


.hover\:bg-blue-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}


.hover\:bg-blue-500\/50:hover {
  background-color: rgb(59 130 246 / 0.5);
}


.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}


.hover\:bg-emerald-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}


.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}


.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}


.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}


.hover\:bg-purple-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(233 213 255 / var(--tw-bg-opacity, 1));
}


.hover\:bg-purple-500\/30:hover {
  background-color: rgb(168 85 247 / 0.3);
}


.hover\:bg-red-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}


.hover\:bg-red-500\/10:hover {
  background-color: rgb(239 68 68 / 0.1);
}


.hover\:bg-red-500\/20:hover {
  background-color: rgb(239 68 68 / 0.2);
}


.hover\:bg-red-600\/20:hover {
  background-color: rgb(220 38 38 / 0.2);
}


.hover\:bg-red-600\/30:hover {
  background-color: rgb(220 38 38 / 0.3);
}


.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}


.hover\:bg-white\/15:hover {
  background-color: rgb(255 255 255 / 0.15);
}


.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}


.hover\:bg-white\/5:hover {
  background-color: rgb(255 255 255 / 0.05);
}


.hover\:bg-opacity-10:hover {
  --tw-bg-opacity: 0.1;
}


.hover\:bg-opacity-20:hover {
  --tw-bg-opacity: 0.2;
}


.hover\:bg-opacity-50:hover {
  --tw-bg-opacity: 0.5;
}


.hover\:from-blue-500:hover {
  --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}


.hover\:to-blue-600:hover {
  --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}


.hover\:text-\[\#3B82F6\]:hover {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}


.hover\:text-\[\#9CA3AF\]:hover {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}


.hover\:text-asakaa-text-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}


.hover\:text-emerald-400:hover {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}


.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}


.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}


.hover\:text-gray-700:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}


.hover\:text-purple-300:hover {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}


.hover\:text-purple-700:hover {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}


.hover\:text-red-400:hover {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}


.hover\:text-red-500:hover {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}


.hover\:text-red-600:hover {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}


.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}


.hover\:text-white\/70:hover {
  color: rgb(255 255 255 / 0.7);
}


.hover\:text-white\/80:hover {
  color: rgb(255 255 255 / 0.8);
}


.hover\:underline:hover {
  text-decoration-line: underline;
}


.hover\:opacity-70:hover {
  opacity: 0.7;
}


.hover\:opacity-80:hover {
  opacity: 0.8;
}


.hover\:ring-2:hover {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}


.hover\:ring-white\/20:hover {
  --tw-ring-color: rgb(255 255 255 / 0.2);
}


.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}


.focus\:border-blue-500\/50:focus {
  border-color: rgb(59 130 246 / 0.5);
}


.focus\:bg-gray-200:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}


.focus\:bg-white\/10:focus {
  background-color: rgb(255 255 255 / 0.1);
}


.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}


.focus\:ring-0:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}


.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}


.focus\:ring-\[\#3B82F6\]\/30:focus {
  --tw-ring-color: rgb(59 130 246 / 0.3);
}


.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


.active\:cursor-grabbing:active {
  cursor: grabbing;
}


.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}


.disabled\:opacity-40:disabled {
  opacity: 0.4;
}


.disabled\:opacity-50:disabled {
  opacity: 0.5;
}


.disabled\:hover\:bg-emerald-500:hover:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}


.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}


@media (min-width: 640px) {


  .sm\:inline-flex {
    display: inline-flex;
  }
}


@media (min-width: 768px) {


  .md\:inset-8 {
    inset: 2rem;
  }


  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (min-width: 1024px) {


  .lg\:inset-12 {
    inset: 3rem;
  }
}


@media (prefers-color-scheme: dark) {


  .dark\:border-white\/10 {
    border-color: rgb(255 255 255 / 0.1);
  }


  .dark\:border-white\/20 {
    border-color: rgb(255 255 255 / 0.2);
  }


  .dark\:bg-black\/60 {
    background-color: rgb(0 0 0 / 0.6);
  }


  .dark\:bg-white\/10 {
    background-color: rgb(255 255 255 / 0.1);
  }


  .dark\:bg-white\/5 {
    background-color: rgb(255 255 255 / 0.05);
  }


  .dark\:bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
  }


  .dark\:from-gray-700 {
    --tw-gradient-from: #374151 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }


  .dark\:from-gray-900\/95 {
    --tw-gradient-from: rgb(17 24 39 / 0.95) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }


  .dark\:to-gray-800 {
    --tw-gradient-to: #1f2937 var(--tw-gradient-to-position);
  }


  .dark\:to-gray-800\/95 {
    --tw-gradient-to: rgb(31 41 55 / 0.95) var(--tw-gradient-to-position);
  }


  .dark\:text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }


  .dark\:text-white\/50 {
    color: rgb(255 255 255 / 0.5);
  }


  .dark\:text-white\/60 {
    color: rgb(255 255 255 / 0.6);
  }


  .dark\:text-white\/70 {
    color: rgb(255 255 255 / 0.7);
  }


  .dark\:text-white\/80 {
    color: rgb(255 255 255 / 0.8);
  }


  .dark\:text-white\/90 {
    color: rgb(255 255 255 / 0.9);
  }


  .dark\:hover\:bg-white\/10:hover {
    background-color: rgb(255 255 255 / 0.1);
  }


  .dark\:hover\:text-white:hover {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }
}


.\[\&\:\:-webkit-slider-thumb\]\:h-4::-webkit-slider-thumb {
  height: 1rem;
}


.\[\&\:\:-webkit-slider-thumb\]\:w-4::-webkit-slider-thumb {
  width: 1rem;
}


.\[\&\:\:-webkit-slider-thumb\]\:cursor-pointer::-webkit-slider-thumb {
  cursor: pointer;
}


.\[\&\:\:-webkit-slider-thumb\]\:appearance-none::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
}


.\[\&\:\:-webkit-slider-thumb\]\:rounded-full::-webkit-slider-thumb {
  border-radius: 9999px;
}


.\[\&\:\:-webkit-slider-thumb\]\:bg-\[\#3B82F6\]::-webkit-slider-thumb {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
