:root {
  --mobile-tap-target: 44px;
  --mobile-padding: 16px;
  --mobile-gap: 12px;
  --mobile-header-height: 48px;
  --mobile-nav-height: 56px;
  --mobile-safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    overscroll-behavior: none;
    touch-action: pan-y;
  }

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

  .mobile-visible {
    display: block !important;
  }

  .touch-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  .no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
         user-select: none;
  }
}

@media screen and (min-width: 769px) {
  .desktop-hidden {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --mobile-padding: 12px;
    --mobile-gap: 8px;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .mobile-landscape-compact {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
  
  .mobile-landscape-compact .mobile-header {
    height: 36px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .touch-only {
    display: block;
  }
  
  .hover-only {
    display: none;
  }
  
  button, 
  [role="button"],
  input[type="submit"],
  input[type="button"] {
    min-height: var(--mobile-tap-target);
    min-width: var(--mobile-tap-target);
  }
  
  a {
    min-height: var(--mobile-tap-target);
    display: inline-flex;
    align-items: center;
  }
}

@media (hover: hover) and (pointer: fine) {
  .touch-only {
    display: none;
  }
  
  .hover-only {
    display: block;
  }
}

.mobile-btn {
  min-height: var(--mobile-tap-target);
  min-width: var(--mobile-tap-target);
  padding: var(--space-5) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.mobile-btn:active {
  transform: scale(0.96);
}

.mobile-btn-primary {
  background-color: hsl(var(--foreground));
  color: hsl(var(--accent-foreground)));
}

.mobile-btn-secondary {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.mobile-input {
  width: 100%;
  min-height: var(--mobile-tap-target);
  padding: var(--space-6) var(--space-8);
  font-size: 16px;
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.mobile-input:focus {
  outline: none;
  border-color: hsl(var(--foreground));
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: hsl(var(--background));
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-panel.active {
  transform: translateX(0);
}

.mobile-panel-header {
  position: sticky;
  top: 0;
  height: var(--mobile-header-height);
  display: flex;
  align-items: center;
  padding: 0 var(--mobile-padding);
  background-color: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  z-index: 10;
}

.mobile-panel-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--mobile-padding);
  padding-bottom: calc(var(--mobile-nav-height) + var(--mobile-safe-area-bottom) + var(--mobile-padding));
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--mobile-nav-height) + var(--mobile-safe-area-bottom));
  padding-bottom: var(--mobile-safe-area-bottom);
  background-color: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 50;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-2);
  min-height: var(--mobile-tap-target);
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.mobile-nav-item.active {
  color: hsl(var(--foreground));
}

.mobile-nav-item:active {
  background-color: color-mix(in srgb, hsl(var(--foreground)) 12%, transparent);
}

.mobile-nav-icon {
  font-size: 20px;
  line-height: 1;
}

.pull-to-refresh {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground));
  transition: transform 0.2s ease;
}

.pull-to-refresh.visible {
  transform: translateX(-50%) translateY(60px);
}

.pull-to-refresh.loading {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: translateX(-50%) translateY(60px) rotate(0deg); }
  to { transform: translateX(-50%) translateY(60px) rotate(360deg); }
}

.swipe-indicator {
  position: absolute;
  bottom: calc(var(--mobile-nav-height) + var(--mobile-safe-area-bottom) + var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
}

.swipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: hsl(var(--muted-foreground));
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.swipe-dot.active {
  background-color: hsl(var(--foreground));
  transform: scale(1.3);
}

.mobile-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background-color: hsl(var(--card));
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
  overflow: hidden;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer-handle {
  width: 36px;
  height: 4px;
  background-color: hsl(var(--border));
  border-radius: 2px;
  margin: var(--space-4) auto;
}

.mobile-drawer-content {
  max-height: calc(80vh - 20px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 55;
}

.mobile-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-context-menu {
  position: fixed;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: var(--space-4) 0;
  min-width: 160px;
  z-index: 70;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.mobile-context-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  min-height: var(--mobile-tap-target);
  color: hsl(var(--foreground));
  font-size: 14px;
  cursor: pointer;
}

.mobile-context-menu-item:active {
  background-color: color-mix(in srgb, hsl(var(--foreground)) 12%, transparent);
}

.mobile-context-menu-item.danger {
  color: hsl(var(--negative));
}

@media screen and (max-width: 768px) {
  .responsive-grid {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  .responsive-grid > * {
    width: 100% !important;
  }

  .responsive-hide-sidebar {
    display: none !important;
  }

  .responsive-stack {
    flex-direction: column !important;
  }

  .responsive-full-width {
    width: 100% !important;
    max-width: 100% !important;
  }

  .responsive-text-sm {
    font-size: 12px !important;
  }

  .responsive-p-compact {
    padding: var(--mobile-padding) !important;
  }

  .responsive-gap-sm {
    gap: var(--space-4) !important;
  }

  .mobile-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--mobile-gap);
  }

  .mobile-flex-col {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  .mobile-justify-between {
    justify-content: space-between;
  }

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

  .mobile-overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-overflow-x-auto::-webkit-scrollbar {
    display: none;
  }

  .mobile-snap-x {
    scroll-snap-type: x mandatory;
  }

  .mobile-snap-center {
    scroll-snap-align: center;
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .mobile-portrait-col {
    flex-direction: column !important;
  }

  .mobile-portrait-full {
    width: 100% !important;
    height: auto !important;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .mobile-landscape-row {
    flex-direction: row !important;
  }

  .mobile-landscape-half {
    width: 50% !important;
  }

  .mobile-landscape-compact-header {
    height: 36px !important;
    padding: 0 var(--space-4) !important;
  }
}

.virtual-keyboard-active {
  position: fixed;
  bottom: 0;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  }

  .mobile-panel-content {
    padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--mobile-padding));
  }
}

.widget-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.widget-table-container::-webkit-scrollbar {
  display: none;
}

.widget-select {
  min-height: 36px;
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  border-radius: 2px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  cursor: pointer;
  touch-action: manipulation;
}

.widget-button {
  min-height: 32px;
  min-width: 32px;
  padding: var(--space-2) var(--space-5);
  font-size: 11px;
  border-radius: 2px;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.widget-button:active {
  transform: scale(0.96);
}

.widget-input {
  min-height: 32px;
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  border-radius: 2px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  outline: none;
}

.widget-input:focus {
  border-color: hsl(var(--foreground));
}

.widget-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
}

.widget-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.widget-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.widget-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media screen and (max-width: 768px) {
  .widget-select {
    min-height: 40px;
    padding: var(--space-4) var(--space-6);
    font-size: 12px;
  }

  .widget-button {
    min-height: 40px;
    min-width: 40px;
    padding: var(--space-5) var(--space-7);
    font-size: 12px;
  }

  .widget-input {
    min-height: 40px;
    padding: var(--space-5) var(--space-6);
    font-size: 14px;
  }

  .widget-filter-row {
    padding: var(--space-6);
    gap: var(--space-5);
  }

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

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

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

@media screen and (max-width: 480px) {
  .widget-grid-2,
  .widget-grid-3,
  .widget-grid-4 {
    grid-template-columns: 1fr;
  }
}
/* ── Instrument Header Bar ────────────────────────────────────────────── */
/* Two-row header: Row 1 = name + buttons, Row 2 = ticker/price/stats    */

.ih-bar {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-9) var(--space-3);
  background: hsl(var(--card))));
  border-bottom: 1px solid hsl(var(--border))));
  flex-shrink: 0;
}

/* ── Row 1: Name + Actions ─────────────────────────────────────────── */

.ih-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-2);
}

.ih-name-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

.ih-name {
  font-size: 16px;
  font-weight: 700;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ih-flag {
  font-size: 14px;
  line-height: 1;
}

.ih-exchange-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px var(--space-3);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: hsl(var(--primary)) / 0.08));
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Row 2: Ticker + Price + Info Blocks ────────────────────────────── */

.ih-row-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.ih-price-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.ih-ticker {
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--foreground))));
  letter-spacing: 0.04em;
}

.ih-price {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--foreground));
  border-radius: 2px;
  padding: 1px 3px;
}

.ih-currency {
  font-size: 10px;
  font-weight: 500;
  color: hsl(var(--muted-foreground))));
  text-transform: uppercase;
}

.ih-change {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--muted-foreground))));
}
.ih-change--up { color: hsl(var(--positive)); }
.ih-change--down { color: hsl(var(--negative)); }

/* Separator between info blocks */
.ih-sep {
  width: 1px;
  height: 28px;
  background: hsl(var(--border))));
  flex-shrink: 0;
}

/* Info blocks (e.g. Earnings, Sector, Industry) */
.ih-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.ih-info-value {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--foreground));
  white-space: nowrap;
}

.ih-info-label {
  font-size: 9px;
  font-weight: 500;
  color: hsl(var(--muted-foreground))));
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* Stat blocks (Mkt Cap, P/E, Volume) */
.ih-stat {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.ih-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--foreground));
  font-variant-numeric: tabular-nums;
}

.ih-stat-label {
  font-size: 9px;
  font-weight: 500;
  color: hsl(var(--muted-foreground))));
  letter-spacing: 0.02em;
}

.ih-stat-value--up { color: hsl(var(--positive)); }
.ih-stat-value--down { color: hsl(var(--negative)); }

/* ── Quick Actions ───────────────────────────────────────────────────── */

.ih-actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.ih-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border))));
  border-radius: 2px;
  color: hsl(var(--foreground))));
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.ih-action-btn:hover {
  background: hsl(var(--accent)));
  color: hsl(var(--foreground));
}

.ih-action-btn--accent {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: hsl(var(--primary))));
}

.ih-action-btn--accent:hover {
  background: rgba(255, 255, 255, 0.12);
  color: hsl(var(--primary))));
}

.ih-extended-hours {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 1px;
}
.ih-extended-hours__label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 0 var(--space-2);
  line-height: 14px;
}
.ih-extended-hours__price {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: hsl(var(--foreground));
}
.ih-extended-hours__pct {
  font-size: 11px;
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
}
.ih-extended-hours__pct--up  { color: hsl(var(--positive)); }
.ih-extended-hours__pct--down { color: hsl(var(--negative)); }
/* ============================================================
   copilot.css — dibsTERMINAL Copilot UI (Terminal-inspired rebuild)
   ============================================================
   Modular CSS with three-section layout: Header / Body / Footer
   All new classes use dt-ai-* prefix.
   Legacy classes preserved at bottom for kept sub-components.
   ============================================================ */

/* ==========================================================
   Section 1: Design Tokens (CSS Custom Properties)
   ========================================================== */
:root {
  /* Layout */
  --ai-panel-min-w: 360px;
  --ai-panel-max-w: 900px;
  --ai-panel-default-w: 440px;
  --ai-header-h: 48px;
  --ai-footer-max-h: 280px;
  --ai-radius: 4px;
  --ai-radius-sm: 2px;
  --ai-radius-xs: 2px;

  /* Surfaces — inherit from terminal theme (navy panel hierarchy) */
  --ai-bg: hsl(var(--card));
  --ai-bg-elevated: hsl(var(--card));
  --ai-bg-hover: hsl(var(--accent));
  --ai-bg-active: hsl(var(--accent));
  --ai-bg-input: hsl(var(--input));
  --ai-bg-user-msg: hsl(var(--card));
  --ai-bg-assistant-msg: transparent;
  --ai-bg-code: hsl(var(--card));
  --ai-bg-card: hsl(var(--card));
  --ai-bg-overlay: rgba(0,0,0,0.6);
  --ai-bg-badge: hsl(var(--card));

  /* Borders — inherit from terminal theme */
  --ai-border: hsl(var(--border));
  --ai-border-light: hsl(var(--border));
  --ai-border-focus: hsl(var(--ring));
  --ai-border-error: hsl(var(--negative));

  /* Text — inherit from terminal theme */
  --ai-text: hsl(var(--foreground));
  --ai-text-secondary: hsl(var(--foreground));
  --ai-text-tertiary: hsl(var(--muted-foreground));
  --ai-text-link: hsl(var(--brand));
  --ai-text-success: hsl(var(--positive));
  --ai-text-warning: hsl(var(--chart-8));
  --ai-text-error: hsl(var(--negative));

  /* Accent — inherits from terminal theme accent */
  --ai-accent: hsl(var(--brand));
  --ai-accent-hover: hsl(var(--brand) / 0.85);
  --ai-accent-subtle: hsl(var(--brand) / 0.12);

  /* Shadows — subtle depth to match terminal */
  --ai-shadow-sm: 0 2px 10px hsl(0 0% 0% / 0.40);
  --ai-shadow-md: 2px 4px 15px hsl(0 0% 0% / 0.60);
  --ai-shadow-lg: 0 2px 10px hsl(0 0% 0% / 0.80);

  /* Focus glow — match terminal */
  --ai-focus-ring: 0 0 0 2px hsl(var(--brand) / 0.14);

  /* Typography — inherit from terminal theme */
  --ai-font: var(--font-sans);
  --ai-font-mono: var(--font-mono);
  --ai-fs-xs: 11px;
  --ai-fs-sm: 12px;
  --ai-fs-base: 14px;
  --ai-fs-md: 15px;
  --ai-fs-lg: 16px;
  --ai-fs-xl: 18px;
  --ai-lh: 1.5;

  /* Spacing — inherit from terminal theme */
  --ai-sp-xs: 4px;
  --ai-sp-sm: 8px;
  --ai-sp-md: 12px;
  --ai-sp-lg: 16px;
  --ai-sp-xl: 24px;

  /* Transitions — match terminal */
  --ai-transition: 140ms ease;
  --ai-transition-slow: 320ms ease;
}

/* ==========================================================
   Section 2: Panel Shell (DibsAIPanel)
   ========================================================== */
.dt-ai-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--ai-bg);
  border-left: 1px solid var(--ai-border);
  font-family: var(--ai-font);
  font-size: var(--ai-fs-base);
  color: var(--ai-text);
  overflow: hidden;
  contain: layout style;
}

.dt-ai-panel--expanded {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: 100vw !important;
  max-width: none;
  height: 100dvh;
  border-left: none;
  border-radius: 2px;
  box-shadow: none;
}

/* Resize handle */
.dt-ai-panel__resize-handle {
  position: absolute;
  top: 0;
  left: -3px;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  background: transparent;
  transition: background var(--ai-transition);
}
.dt-ai-panel__resize-handle:hover,
.dt-ai-panel__resize-handle--active {
  background: var(--ai-accent);
}

/* ==========================================================
   Section 3: Header
   ========================================================== */
.dt-ai-header {
  display: flex;
  align-items: center;
  height: var(--ai-header-h);
  min-height: var(--ai-header-h);
  padding: 0 var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border);
  background: var(--ai-bg);
  gap: var(--ai-sp-sm);
  flex-shrink: 0;
  z-index: 5;
  position: relative;
}
.dt-ai-header__title {
  flex: 1;
  min-width: 0;
  font-size: var(--ai-fs-md);
  font-weight: 600;
  color: var(--ai-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: var(--ai-sp-sm);
}
.dt-ai-header__title-input {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ai-radius-xs);
  color: var(--ai-text);
  font-size: var(--ai-fs-md);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  width: 100%;
  outline: none;
  transition: border-color var(--ai-transition);
}
.dt-ai-header__title-input:focus {
  border-color: var(--ai-border-focus);
  background: var(--ai-bg-input);
}
.dt-ai-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
}
.dt-ai-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--ai-radius-sm);
  background: transparent;
  color: var(--ai-text-secondary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: 0;
}
.dt-ai-header__btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-header__btn--active {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}
.dt-ai-header__btn svg {
  width: 18px;
  height: 18px;
}
.dt-ai-header__agent-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  font-weight: 500;
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
  white-space: nowrap;
}

/* ==========================================================
   Section 4: Body (Chat Area)
   ========================================================== */
.dt-ai-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--ai-sp-md) var(--ai-sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-xs);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.dt-ai-body::-webkit-scrollbar {
  width: 6px;
}
.dt-ai-body::-webkit-scrollbar-track {
  background: transparent;
}
.dt-ai-body::-webkit-scrollbar-thumb {
  background: var(--ai-border);
  border-radius: 2px;
}
.dt-ai-body::-webkit-scrollbar-thumb:hover {
  background: var(--ai-text-tertiary);
}

/* Loading state */
.dt-ai-body__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
}
.dt-ai-body__loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--ai-border);
  border-top-color: var(--ai-accent);
  border-radius: 50%; /* functional: spinner */
  animation: dt-ai-spin 0.6s linear infinite;
  margin-right: var(--ai-sp-sm);
}

/* ==========================================================
   Section 5: Empty State
   ========================================================== */
.dt-ai-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: var(--ai-sp-xl);
  text-align: center;
  gap: var(--ai-sp-lg);
}
.dt-ai-empty__icon {
  width: 48px;
  height: 48px;
  color: var(--ai-text-tertiary);
  opacity: 0.6;
}
.dt-ai-empty__title {
  font-size: var(--ai-fs-lg);
  font-weight: 600;
  color: var(--ai-text);
  margin: 0;
}
.dt-ai-empty__subtitle {
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  max-width: 280px;
  line-height: var(--ai-lh);
  margin: 0;
}
.dt-ai-empty__prompts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ai-sp-sm);
  width: 100%;
  max-width: 360px;
  margin-top: var(--ai-sp-sm);
}
.dt-ai-empty__prompt {
  display: flex;
  align-items: flex-start;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: var(--ai-bg-elevated);
  cursor: pointer;
  text-align: left;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  line-height: var(--ai-lh);
  transition: all var(--ai-transition);
}
.dt-ai-empty__prompt:hover {
  border-color: var(--ai-accent);
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-empty__prompt-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--ai-accent);
}

/* ==========================================================
   Section 6: Messages
   ========================================================== */
.dt-ai-msg {
  display: flex;
  gap: var(--ai-sp-md);
  padding: var(--ai-sp-md) 0;
  position: relative;
  animation: dt-ai-fadeIn 200ms ease;
}
.dt-ai-msg--user {
  flex-direction: row-reverse;
}
.dt-ai-msg--assistant {
  flex-direction: row;
}

/* Avatar */
.dt-ai-msg__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--ai-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ai-fs-xs);
  font-weight: 600;
}
.dt-ai-msg__avatar--user {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}
.dt-ai-msg__avatar--assistant {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}
.dt-ai-msg__avatar svg {
  width: 16px;
  height: 16px;
}

/* Message Content */
.dt-ai-msg__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-xs);
}
.dt-ai-msg__bubble {
  padding: var(--ai-sp-md) var(--ai-sp-lg);
  border-radius: var(--ai-radius);
  line-height: var(--ai-lh);
  font-size: var(--ai-fs-base);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.dt-ai-msg__bubble--user {
  background: var(--ai-bg-user-msg);
  border: 1px solid var(--ai-border-light);
  border-radius: var(--ai-radius) var(--ai-radius-xs) var(--ai-radius) var(--ai-radius);
  max-width: 85%;
  margin-left: auto;
}
.dt-ai-msg__bubble--assistant {
  background: var(--ai-bg-assistant-msg);
  max-width: 100%;
}

/* Message meta */
.dt-ai-msg__meta {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  padding: 0 var(--space-1);
}
.dt-ai-msg__meta--user {
  justify-content: flex-end;
}
.dt-ai-msg__timestamp {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
}

/* Action bar (copy, thumbs, regenerate) */
.dt-ai-msg__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  opacity: 0;
  transition: opacity var(--ai-transition);
  margin-top: var(--ai-sp-xs);
}
.dt-ai-msg:hover .dt-ai-msg__actions,
.dt-ai-msg__actions--visible {
  opacity: 1;
}
.dt-ai-msg__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: 0;
}
.dt-ai-msg__action-btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-msg__action-btn--active {
  color: var(--ai-accent);
}
.dt-ai-msg__action-btn--positive:hover {
  color: var(--ai-text-success);
}
.dt-ai-msg__action-btn--negative:hover {
  color: var(--ai-text-error);
}
.dt-ai-msg__action-btn svg {
  width: 14px;
  height: 14px;
}

/* Error message */
.dt-ai-msg__error {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-radius: var(--ai-radius-sm);
  background: color-mix(in srgb, hsl(var(--negative)) 10%, transparent);
  border: 1px solid color-mix(in srgb, hsl(var(--negative)) 20%, transparent);
  color: var(--ai-text-error);
  font-size: var(--ai-fs-sm);
}

/* ==========================================================
   Section 7: Streaming / Typing Indicator
   ========================================================== */
.dt-ai-streaming {
  display: flex;
  gap: var(--ai-sp-md);
  padding: var(--ai-sp-md) 0;
}
.dt-ai-streaming__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ai-accent);
  animation: dt-ai-blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 1px;
}
.dt-ai-streaming__thinking {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
  font-style: italic;
  padding: var(--ai-sp-sm) 0;
}
.dt-ai-streaming__dots {
  display: inline-flex;
  gap: 3px;
}
.dt-ai-streaming__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ai-text-secondary);
  animation: dt-ai-bounce 1.4s ease-in-out infinite;
}
.dt-ai-streaming__dot:nth-child(2) { animation-delay: 0.16s; }
.dt-ai-streaming__dot:nth-child(3) { animation-delay: 0.32s; }

/* ==========================================================
   Section 8: Citations (terminal-style)
   ========================================================== */
.dt-ai-citations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ai-sp-xs);
  margin-top: var(--ai-sp-sm);
}
.dt-ai-citation {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ai-transition);
  text-decoration: none;
  border: 1px solid transparent;
}
.dt-ai-citation--widget {
  background: color-mix(in srgb, hsl(var(--brand)) 12%, transparent);
  color: var(--ai-accent);
  border-color: color-mix(in srgb, hsl(var(--brand)) 20%, transparent);
}
.dt-ai-citation--widget:hover {
  background: color-mix(in srgb, hsl(var(--brand)) 20%, transparent);
}
.dt-ai-citation--document {
  background: color-mix(in srgb, hsl(var(--positive)) 12%, transparent);
  color: var(--ai-text-success);
  border-color: color-mix(in srgb, hsl(var(--positive)) 20%, transparent);
}
.dt-ai-citation--document:hover {
  background: color-mix(in srgb, hsl(var(--positive)) 20%, transparent);
}
.dt-ai-citation--web {
  background: color-mix(in srgb, hsl(var(--chart-8)) 12%, transparent);
  color: var(--ai-text-warning);
  border-color: color-mix(in srgb, hsl(var(--chart-8)) 20%, transparent);
}
.dt-ai-citation--web:hover {
  background: color-mix(in srgb, hsl(var(--chart-8)) 20%, transparent);
}
.dt-ai-citation__icon {
  width: 12px;
  height: 12px;
}
.dt-ai-citation__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  border-radius: var(--ai-radius-sm);
  font-size: 10px;
  font-weight: 600;
  background: var(--ai-bg-badge);
  color: var(--ai-text-secondary);
  vertical-align: super;
  cursor: pointer;
  margin: 0 1px;
}

/* ==========================================================
   Section 9: Follow-up Suggestions
   ========================================================== */
.dt-ai-followups {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) 0;
}
.dt-ai-followup {
  display: inline-flex;
  align-items: center;
  gap: var(--ai-sp-xs);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-elevated);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
  cursor: pointer;
  transition: all var(--ai-transition);
  line-height: 1.3;
}
.dt-ai-followup:hover {
  border-color: var(--ai-accent);
  color: var(--ai-text);
  background: var(--ai-bg-hover);
}
.dt-ai-followup svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================
   Section 10: Footer
   ========================================================== */
.dt-ai-footer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ai-border);
  background: var(--ai-bg);
  flex-shrink: 0;
  z-index: 5;
}

/* ==========================================================
   Section 11: Context Bar
   ========================================================== */
.dt-ai-context {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
  overflow-x: auto;
  flex-shrink: 0;
}
.dt-ai-context:empty {
  display: none;
}
.dt-ai-context::-webkit-scrollbar {
  height: 3px;
}
.dt-ai-context__label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}
.dt-ai-context__scope {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.dt-ai-context__scope-label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
}
.dt-ai-context__scope-select {
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border-light);
  border-radius: var(--ai-radius-sm);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  padding: 4px 8px;
  min-width: 110px;
}
.dt-ai-context__scope-select:focus {
  outline: none;
  border-color: var(--ai-accent);
}
.dt-ai-context__chips {
  display: flex;
  gap: var(--ai-sp-xs);
  flex-wrap: nowrap;
  overflow-x: auto;
}
.dt-ai-context__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  background: var(--ai-bg-badge);
  color: var(--ai-text-secondary);
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--ai-border-light);
}
.dt-ai-context__chip-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: none;
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  padding: 0;
  border-radius: var(--ai-radius-sm);
  flex-shrink: 0;
  transition: all var(--ai-transition);
}
.dt-ai-context__chip-close:hover {
  background: var(--ai-bg-active);
  color: var(--ai-text);
}
.dt-ai-context__chip--mention {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  color: var(--ai-accent);
}
.dt-ai-context__chip--memory {
  background: rgba(14,165,233,0.1);
  border-color: rgba(14,165,233,0.25);
}
.dt-ai-context__chip--memory-pinned {
  background: rgba(250,204,21,0.12);
  border-color: rgba(250,204,21,0.3);
  color: var(--ai-text);
}
.dt-ai-context__clear {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: var(--space-1) var(--space-2);
  flex-shrink: 0;
}
.dt-ai-context__clear:hover {
  color: var(--ai-text-error);
}

/* ==========================================================
   Section 12: Input Area
   ========================================================== */
.dt-ai-input {
  display: flex;
  flex-direction: column;
  padding: var(--ai-sp-md);
  gap: var(--ai-sp-sm);
}
.dt-ai-input__wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: var(--ai-sp-sm);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: var(--ai-bg-input);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  transition: border-color var(--ai-transition);
}
.dt-ai-input__wrapper:focus-within {
  border-color: var(--ai-border-focus);
}
.dt-ai-input__wrapper--error {
  border-color: var(--ai-border-error);
}
.dt-ai-input__textarea {
  flex: 1;
  min-height: 20px;
  max-height: 150px;
  border: none;
  background: transparent;
  color: var(--ai-text);
  font-family: var(--ai-font);
  font-size: var(--ai-fs-base);
  line-height: var(--ai-lh);
  resize: none;
  outline: none;
  padding: var(--ai-sp-xs) 0;
}
.dt-ai-input__textarea::-moz-placeholder {
  color: var(--ai-text-tertiary);
}
.dt-ai-input__textarea::placeholder {
  color: var(--ai-text-tertiary);
}
.dt-ai-input__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
  padding-bottom: var(--ai-sp-xs);
}
.dt-ai-input__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--ai-radius-sm);
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: 0;
}
.dt-ai-input__btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-input__btn--send {
  width: 30px;
  height: 30px;
  background: var(--ai-accent);
  color: hsl(var(--brand-foreground));
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.dt-ai-input__btn--send:hover {
  background: var(--ai-accent-hover);
  color: hsl(var(--brand-foreground));
}
.dt-ai-input__btn--send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dt-ai-input__btn--stop {
  width: 30px;
  height: 30px;
  background: var(--ai-text-error);
  color: hsl(var(--brand-foreground));
  border-radius: 999px;
}
.dt-ai-input__btn--stop:hover {
  opacity: 0.85;
}
.dt-ai-input__btn svg {
  width: 16px;
  height: 16px;
}
.dt-ai-input__char-count {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-align: right;
  padding-right: var(--space-1);
}

/* Slash Command Palette */
.dt-ai-input__palette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: var(--space-2);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
}
.dt-ai-input__palette-item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  cursor: pointer;
  transition: background var(--ai-transition);
}
.dt-ai-input__palette-item:hover,
.dt-ai-input__palette-item--active {
  background: var(--ai-bg-hover);
}
.dt-ai-input__palette-cmd {
  font-weight: 600;
  font-size: var(--ai-fs-sm);
  color: var(--ai-accent);
}
.dt-ai-input__palette-desc {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
}

/* Mention Dropdown */
.dt-ai-input__mentions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: var(--space-2);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
}
.dt-ai-input__mention-item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  cursor: pointer;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text);
  transition: background var(--ai-transition);
}
.dt-ai-input__mention-item:hover,
.dt-ai-input__mention-item--active {
  background: var(--ai-bg-hover);
}

/* File drop zone */
.dt-ai-input__dropzone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-bg-overlay);
  border: 2px dashed var(--ai-accent);
  border-radius: var(--ai-radius);
  color: var(--ai-accent);
  font-size: var(--ai-fs-sm);
  font-weight: 500;
  z-index: 25;
  pointer-events: none;
}

/* ==========================================================
   Section 13: Model Selector
   ========================================================== */
.dt-ai-model-selector {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: 0 var(--ai-sp-md) var(--ai-sp-sm);
}
.dt-ai-model-selector__select {
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  color: var(--ai-text);
  font-size: var(--ai-fs-xs);
  padding: var(--space-2) var(--space-4);
  outline: none;
  cursor: pointer;
  max-width: 140px;
  transition: border-color var(--ai-transition);
}
.dt-ai-model-selector__select:focus {
  border-color: var(--ai-border-focus);
}
.dt-ai-model-selector__select option {
  background: var(--ai-bg-elevated);
  color: var(--ai-text);
}
.dt-ai-model-selector__label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
}
.dt-ai-model-selector__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: var(--ai-fs-xs);
  font-weight: 500;
  border-radius: var(--ai-radius-sm);
  border: 1px solid var(--ai-border);
  background: var(--ai-bg-elevated);
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: background var(--ai-transition), color var(--ai-transition), border-color var(--ai-transition);
  white-space: nowrap;
  line-height: 1;
}
.dt-ai-model-selector__toggle:hover {
  border-color: var(--ai-border-focus);
  color: var(--ai-text);
}
.dt-ai-model-selector__toggle--active {
  background: var(--ai-accent-subtle);
  border-color: var(--ai-accent);
  color: var(--ai-accent);
}

/* ==========================================================
   Section 14: History View
   ========================================================== */
.dt-ai-history {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--ai-bg);
  z-index: 50;
  animation: dt-ai-slideIn 200ms ease;
}
.dt-ai-history__header {
  display: flex;
  align-items: center;
  height: var(--ai-header-h);
  padding: 0 var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border);
  gap: var(--ai-sp-sm);
}
.dt-ai-history__title {
  flex: 1;
  font-size: var(--ai-fs-md);
  font-weight: 600;
}
.dt-ai-history__search {
  display: flex;
  align-items: center;
  margin: 0 var(--ai-sp-md);
  padding: var(--ai-sp-sm);
}
.dt-ai-history__search-input {
  width: 100%;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  outline: none;
}
.dt-ai-history__search-input:focus {
  border-color: var(--ai-border-focus);
}
.dt-ai-history__list {
  flex: 1;
  overflow-y: auto;
  padding: var(--ai-sp-sm);
}
.dt-ai-history__group {
  margin-bottom: var(--ai-sp-md);
}
.dt-ai-history__group-label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--ai-sp-xs) var(--ai-sp-sm);
  margin-bottom: var(--ai-sp-xs);
}
.dt-ai-history__item {
  display: flex;
  align-items: center;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-radius: var(--ai-radius-sm);
  cursor: pointer;
  transition: background var(--ai-transition);
  gap: var(--ai-sp-sm);
}
.dt-ai-history__item:hover {
  background: var(--ai-bg-hover);
}
.dt-ai-history__item--active {
  background: var(--ai-accent-subtle);
}
.dt-ai-history__item-title {
  flex: 1;
  font-size: var(--ai-fs-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-ai-history__item-date {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  flex-shrink: 0;
}
.dt-ai-history__item-actions {
  display: flex;
  gap: var(--space-1);
  opacity: 0;
  transition: opacity var(--ai-transition);
}
.dt-ai-history__item:hover .dt-ai-history__item-actions {
  opacity: 1;
}
.dt-ai-history__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--ai-sp-xl);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
}

/* ==========================================================
   Section 15: Scroll Anchor / Scroll-to-Bottom Button
   ========================================================== */
.dt-copilot-scroll-btn {
  position: sticky;
  bottom: var(--ai-sp-sm);
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-elevated);
  color: var(--ai-text-secondary);
  cursor: pointer;
  box-shadow: var(--ai-shadow-sm);
  transition: all var(--ai-transition);
  z-index: 10;
}
.dt-copilot-scroll-btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
  border-color: var(--ai-accent);
}

/* ==========================================================
   Section 16: Error Banner
   ========================================================== */
.dt-ai-error-banner {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  background: rgba(199, 80, 80,0.1);
  border-bottom: 1px solid rgba(199, 80, 80,0.2);
  color: var(--ai-text-error);
  font-size: var(--ai-fs-sm);
}
.dt-ai-error-banner__text {
  flex: 1;
}
.dt-ai-error-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--ai-text-error);
  cursor: pointer;
  border-radius: var(--ai-radius-xs);
  padding: 0;
}
.dt-ai-error-banner__close:hover {
  background: rgba(199, 80, 80,0.15);
}

/* ==========================================================
   Section 17: Queue Status Indicator
   ========================================================== */
.dt-ai-queue {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-xs);
  padding: var(--ai-sp-xs) var(--ai-sp-md);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
  background: var(--ai-bg-elevated);
  border-bottom: 1px solid var(--ai-border-light);
}
.dt-ai-queue__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai-text-warning);
  animation: dt-ai-pulse 2s ease-in-out infinite;
}

/* ==========================================================
   Section 18: Animations
   ========================================================== */
@keyframes dt-ai-spin {
  to { transform: rotate(360deg); }
}
@keyframes dt-ai-blink {
  50% { opacity: 0; }
}
@keyframes dt-ai-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
@keyframes dt-ai-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dt-ai-slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes dt-ai-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==========================================================
   Section 19: Utility Classes
   ========================================================== */
.dt-ai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.dt-ai-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-ai-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dt-ai-visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ==========================================================
   Section 20: LEGACY — Tool Activity (CopilotToolActivity)
   ========================================================== */
.dt-ai-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ai-sp-xs);
  margin-bottom: var(--ai-sp-sm);
}
.dt-ai-panel__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 3px var(--space-5);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  background: var(--ai-bg-badge);
  color: var(--ai-text-secondary);
  border: 1px solid var(--ai-border-light);
  cursor: default;
  transition: all var(--ai-transition);
}
.dt-ai-panel__chip:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-panel__activity {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

/* ---------- OpenBB-style reasoning accordion ---------- */
.dt-ai-reasoning {
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: var(--ai-bg-elevated);
  margin: 0;
  overflow: hidden;
}
.dt-ai-reasoning__header {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--ai-transition);
}
.dt-ai-reasoning__header:hover:not(:disabled) {
  background: var(--ai-bg-hover);
}
.dt-ai-reasoning__header:disabled {
  cursor: default;
}
.dt-ai-reasoning__header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-text-secondary);
  flex-shrink: 0;
}
.dt-ai-reasoning__header-label {
  flex: 1;
  min-width: 0;
  letter-spacing: -0.005em;
}
.dt-ai-reasoning__header-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-text-tertiary);
  flex-shrink: 0;
  transition: color var(--ai-transition);
}
.dt-ai-reasoning:not(.dt-ai-reasoning--collapsed) .dt-ai-reasoning__header {
  border-bottom: 1px solid var(--ai-border);
}
.dt-ai-panel__activity-progress {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-xs);
}
.dt-ai-panel__activity-progress__label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
}
.dt-ai-panel__activity-progress__bar {
  height: 4px;
  background: var(--ai-bg-active);
  border-radius: 2px;
  overflow: hidden;
}
.dt-ai-panel__activity-progress__fill {
  height: 100%;
  background: var(--ai-accent);
  border-radius: 2px;
  transition: width var(--ai-transition-slow);
}
.dt-ai-panel__activity-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0;
}
.dt-ai-reasoning .dt-ai-panel__activity-step-wrapper + .dt-ai-panel__activity-step-wrapper .dt-ai-panel__activity-step {
  border-top: 1px solid color-mix(in srgb, var(--ai-border) 55%, transparent);
}
.dt-ai-panel__activity-step {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: 8px 12px 8px 28px;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  position: relative;
}
.dt-ai-panel__activity-step::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--ai-border) 70%, transparent);
}
.dt-ai-reasoning .dt-ai-panel__activity-step-wrapper:first-child .dt-ai-panel__activity-step::before {
  top: 6px;
}
.dt-ai-reasoning .dt-ai-panel__activity-step-wrapper:last-child .dt-ai-panel__activity-step::before {
  bottom: 6px;
}
.dt-ai-panel__activity-step--completed {
  color: var(--ai-text-success);
}
.dt-ai-panel__activity-step--running {
  color: var(--ai-accent);
}
.dt-ai-panel__activity-step--error,
.dt-ai-panel__activity-step--failed {
  color: var(--ai-text-error);
}
.dt-ai-panel__activity-step--pending {
  color: var(--ai-text-tertiary);
}
.dt-ai-panel__activity-step__indicator {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-text-tertiary);
  z-index: 1;
  flex-shrink: 0;
}
.dt-ai-panel__activity-step--completed .dt-ai-panel__activity-step__indicator {
  background: var(--ai-bg-elevated);
  border-color: color-mix(in srgb, var(--ai-text-success) 60%, var(--ai-border));
  color: var(--ai-text-success);
}
.dt-ai-panel__activity-step--running .dt-ai-panel__activity-step__indicator {
  background: var(--ai-accent);
  border-color: var(--ai-accent);
  animation: dt-ai-pulse 1.5s ease-in-out infinite;
}
.dt-ai-panel__activity-step--error .dt-ai-panel__activity-step__indicator,
.dt-ai-panel__activity-step--failed .dt-ai-panel__activity-step__indicator {
  background: var(--ai-text-error);
  border-color: var(--ai-text-error);
  color: #fff;
}
.dt-ai-panel__activity-step--pending .dt-ai-panel__activity-step__indicator {
  background: var(--ai-bg-elevated);
  border-color: var(--ai-border);
}
.dt-ai-panel__activity-step__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ai-text);
}
.dt-ai-panel__activity-step--completed .dt-ai-panel__activity-step__label,
.dt-ai-panel__activity-step--error .dt-ai-panel__activity-step__label,
.dt-ai-panel__activity-step--failed .dt-ai-panel__activity-step__label,
.dt-ai-panel__activity-step--pending .dt-ai-panel__activity-step__label {
  color: var(--ai-text);
}
.dt-ai-panel__activity-elapsed {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  margin-left: auto;
  padding-left: var(--ai-sp-sm);
}

/* Activity summary row (collapsed mode) */
.dt-ai-panel__activity-summary {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-xs);
  padding: 2px var(--ai-sp-sm);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: color var(--ai-transition), background var(--ai-transition);
  text-align: left;
  width: 100%;
}
.dt-ai-panel__activity-summary:hover {
  color: var(--ai-text-secondary);
  background: var(--ai-bg-hover);
}
.dt-ai-panel__activity-summary__icon {
  display: flex;
  align-items: center;
  color: var(--ai-text-tertiary);
  flex-shrink: 0;
}
.dt-ai-panel__activity-summary__label {
  flex: 1;
}
/* Step wrapper for expandable details */
.dt-ai-panel__activity-step-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dt-ai-panel__activity-step--expandable {
  cursor: pointer;
  transition: background var(--ai-transition);
}
.dt-ai-panel__activity-step--expandable:hover {
  background: var(--ai-bg-hover);
}
.dt-ai-reasoning .dt-ai-panel__activity-step:not(.dt-ai-panel__activity-step--expandable) {
  cursor: default;
}
.dt-ai-panel__activity-step__chevron {
  display: flex;
  align-items: center;
  color: var(--ai-text-tertiary);
  margin-left: auto;
  flex-shrink: 0;
}
/* Always show a right chevron on reasoning rows (even non-expandable) for consistent look */
.dt-ai-reasoning .dt-ai-panel__activity-step:not(.dt-ai-panel__activity-step--expandable)::after {
  content: '';
  display: inline-block;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ai-text-tertiary);
  border-top: 1.5px solid var(--ai-text-tertiary);
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
}
.dt-ai-panel__activity-step-details {
  margin: 0 12px 8px 28px;
  padding: 8px 10px;
  background: var(--ai-bg);
  border: 1px solid var(--ai-border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-xs);
}
.dt-ai-panel__activity-step-args {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dt-ai-panel__activity-step-arg {
  display: flex;
  align-items: baseline;
  gap: var(--ai-sp-sm);
  font-size: var(--ai-fs-xs);
}
.dt-ai-panel__activity-step-arg__key {
  color: var(--ai-text-tertiary);
  font-family: monospace;
  min-width: 80px;
  flex-shrink: 0;
  font-size: 10px;
}
.dt-ai-panel__activity-step-arg__value {
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  word-break: break-word;
}
.dt-ai-panel__activity-step-preview {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
  padding: var(--ai-sp-xs) 0;
  border-top: 1px solid var(--ai-border);
  margin-top: 2px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 80px;
  overflow-y: auto;
}

/* ==========================================================
   Section 21: Thinking Shimmer Indicator (ChatGPT / Cursor style)
   A bright band travels across the label text itself via
   background-clip: text. No dot, no bar, no container card —
   just the animated text, per user request.
   ========================================================== */
@keyframes dt-thinking-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.dt-thinking-shimmer {
  display: inline-block;
  margin: var(--space-2) 0;
  font-size: var(--ai-fs-sm);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.005em;
  white-space: nowrap;
  /* Base is a dimmed foreground (~40% alpha) so the text reads as
     "thinking / muted"; a near-opaque bright stop sweeps across the
     glyphs as the animated band. Hardcoded rgba so the contrast isn't
     collapsed by themes where primary and secondary text tokens are
     both pure #FFFFFF. */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.38) 30%,
    rgba(255, 255, 255, 1.00) 50%,
    rgba(255, 255, 255, 0.38) 70%,
    rgba(255, 255, 255, 0.38) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: dt-thinking-shine 2.2s linear infinite;
  /* Safari (older) sometimes drops the clip unless the element is a
     block-level paint root. `isolation` forces a stacking context. */
  isolation: isolate;
}

/* Light theme: flip the band to black tones so we keep contrast on a
   white page. The `html.light` root is how globals.css toggles palettes. */
html.light .dt-thinking-shimmer {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.35) 30%,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.35) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Respect user motion preference — pause the band but keep the muted
   label visible so screen readers and hover states stay intact. */
@media (prefers-reduced-motion: reduce) {
  .dt-thinking-shimmer {
    animation: none;
    color: rgba(255, 255, 255, 0.55);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
    background: none;
  }
  html.light .dt-thinking-shimmer {
    color: rgba(0, 0, 0, 0.55);
    -webkit-text-fill-color: rgba(0, 0, 0, 0.55);
    background: none;
  }
}

/* Row container — keeps the shimmer aligned with message padding and
   ensures the AnimatePresence crossfade between labels doesn't shift
   adjacent content. */
.dt-copilot-thinking-row {
  display: flex;
  align-items: center;
  min-height: calc(var(--ai-fs-sm) * 1.3);
  padding: var(--space-1) 0;
}

/* Static variant (post-completion "Reasoned" pill) — identical gradient
   palette but the band stops moving so the label reads as finished. */
.dt-thinking-shimmer--static {
  animation: none;
  color: var(--ai-text-secondary);
  -webkit-text-fill-color: var(--ai-text-secondary);
}

/* Legacy classes kept hidden so any un-migrated caller silently collapses
   instead of rendering the old dot/bar combo alongside the new text. */
.dt-reasoning-shimmer,
.dt-reasoning-shimmer--active {
  display: none !important;
}
.dt-ai-generation-timer {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ai-text-tertiary);
  margin-top: var(--space-3);
  letter-spacing: 0.02em;
  opacity: 0.7;
}

/* ==========================================================
   Section 22: LEGACY — Thinking (CopilotThinking, completed state)
   ========================================================== */
.dt-copilot-thinking {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) 0;
}
.dt-copilot-thinking__header {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  background: none;
  border: none;
  padding: 0;
}
.dt-copilot-thinking__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai-text-tertiary);
}
.dt-copilot-thinking__toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--ai-transition);
}
.dt-copilot-thinking__raw-toggle {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
}
.dt-copilot-thinking__raw-toggle:hover {
  color: var(--ai-text-secondary);
}
.dt-copilot-thinking__raw-content {
  font-family: var(--ai-font-mono);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
  background: var(--ai-bg-code);
  padding: var(--ai-sp-sm);
  border-radius: var(--ai-radius-sm);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 200px;
  overflow-y: auto;
}

/* ==========================================================
   Section 23: LEGACY — Artifact Window (CopilotArtifactWindow)
   ========================================================== */
.dt-ai-artifact-window {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: var(--ai-bg-elevated);
  overflow: hidden;
  margin: var(--ai-sp-sm) 0;
}
.dt-ai-artifact-window--collapsed .dt-ai-artifact-window__body {
  display: none;
}
.dt-ai-artifact-window__header {
  display: flex;
  align-items: center;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
  gap: var(--ai-sp-sm);
}
.dt-ai-artifact-window__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.dt-ai-artifact-window__type {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dt-ai-artifact-window__title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-ai-artifact-window__controls {
  display: flex;
  gap: var(--space-1);
}
.dt-ai-artifact-window__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-secondary);
  cursor: pointer;
  transition: all var(--ai-transition);
}
.dt-ai-artifact-window__toggle:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-artifact-window__body {
  padding: var(--ai-sp-md);
  overflow: auto;
  max-height: 400px;
}
.dt-ai-artifact-window__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-elevated);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all var(--ai-transition);
}
.dt-ai-artifact-window__btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
  border-color: var(--ai-accent);
}

/* ==========================================================
   Section 24: LEGACY — Cards (Visualization, Table, Dashboard)
   ========================================================== */
.dt-copilot-card {
  overflow: hidden;
  margin: var(--ai-sp-sm) 0;
}
.dt-copilot-card--visualization {
  min-height: 200px;
}
.dt-copilot-card--table {
  overflow-x: auto;
}
.dt-copilot-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: var(--ai-sp-sm) 0;
  gap: var(--ai-sp-sm);
  font-size: var(--ai-fs-sm);
  font-weight: 600;
}
.dt-copilot-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex-shrink: 0;
}
.dt-copilot-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 28px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-secondary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: var(--space-2) var(--space-4);
  white-space: nowrap;
}
.dt-copilot-card__action:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-copilot-card__body {
  padding: var(--ai-sp-md);
}
.dt-copilot-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-top: 1px solid var(--ai-border-light);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
}
.dt-copilot-viz-card {
  position: relative;
}
.dt-copilot-viz-card--expanded {
  position: fixed;
  inset: var(--space-13);
  z-index: 1100;
  margin: 0;
  max-height: none;
}

/* Table-specific */
.dt-copilot-table-filter {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  font-size: var(--ai-fs-xs);
}
.dt-copilot-table-row {
  display: flex;
  align-items: center;
  padding: var(--ai-sp-xs) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
  font-size: var(--ai-fs-xs);
}
.dt-copilot-table-row:hover {
  background: var(--ai-bg-hover);
}
.dt-copilot-table-showmore {
  display: flex;
  justify-content: center;
  padding: var(--ai-sp-sm);
  font-size: var(--ai-fs-xs);
  color: var(--ai-accent);
  cursor: pointer;
}
.dt-copilot-table-showmore:hover {
  color: var(--ai-accent-hover);
}

/* ---------- OpenBB-style data table ---------- */
.dt-copilot-card--table {
  overflow: hidden;
}
.dt-copilot-card--table-expanded {
  position: fixed;
  inset: 48px;
  z-index: 1100;
  margin: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
}
.dt-copilot-card__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 6px;
}
.dt-copilot-card__caption-title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
}
.dt-copilot-card__caption-subtitle {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
}
.dt-copilot-card__summary {
  padding: 0 0 6px;
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
  line-height: 1.5;
}
.dt-copilot-card__body--flush {
  padding: 0;
}
.dt-copilot-dtable__scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 360px;
}
.dt-copilot-card--table-expanded .dt-copilot-dtable__scroll {
  max-height: none;
  flex: 1;
}
.dt-copilot-dtable {
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
  font-size: var(--ai-fs-sm);
}
.dt-copilot-dtable__th {
  position: sticky;
  top: 0;
  background: var(--ai-bg-elevated);
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--ai-border);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ai-text-secondary);
  white-space: nowrap;
  z-index: 1;
}
.dt-copilot-dtable__th--right {
  text-align: right;
}
.dt-copilot-dtable__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
  width: 100%;
  justify-content: flex-start;
}
.dt-copilot-dtable__th--right .dt-copilot-dtable__sort-btn {
  justify-content: flex-end;
}
.dt-copilot-dtable__sort-btn:hover {
  color: var(--ai-text);
}
.dt-copilot-dtable__th-label {
  font-family: var(--ai-font);
}
.dt-copilot-dtable__sort-hint {
  opacity: 0.3;
}
.dt-copilot-dtable__row {
  transition: background var(--ai-transition);
}
.dt-copilot-dtable__row:not(:last-child) .dt-copilot-dtable__td {
  border-bottom: 1px solid color-mix(in srgb, var(--ai-border) 60%, transparent);
}
.dt-copilot-dtable__row:hover {
  background: var(--ai-bg-hover);
}
.dt-copilot-dtable__td {
  padding: 8px 12px;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text);
  white-space: nowrap;
  vertical-align: middle;
}
.dt-copilot-dtable__td--right {
  text-align: right;
}
.dt-copilot-dtable__td--num {
  font-variant-numeric: tabular-nums;
  font-family: var(--ai-font-mono);
  font-size: 12px;
}
/* Table toolbar (bottom action row) */
.dt-copilot-card__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  min-height: 32px;
}
.dt-copilot-card__toolbar-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  flex-wrap: wrap;
}
.dt-copilot-card__toolbar-chip {
  padding: 2px 6px;
  border: 1px solid var(--ai-border);
  border-radius: 2px;
  background: var(--ai-bg);
  color: var(--ai-text-secondary);
  text-transform: none;
  letter-spacing: normal;
  font-size: 10px;
}
.dt-copilot-card__toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.dt-copilot-card__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  border: none;
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: background var(--ai-transition), color var(--ai-transition);
}
.dt-copilot-card__icon-btn:hover:not(:disabled) {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-copilot-card__icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dt-spin {
  animation: dt-ai-spin 1s linear infinite;
}
@keyframes dt-ai-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dashboard card */
.dt-copilot-dashboard-card {
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: var(--ai-bg-card);
  overflow: hidden;
}

/* Candlestick panel */
.dt-copilot-candlestick-panel {
  width: 100%;
  min-height: 300px;
}

/* ==========================================================
   Section 25: LEGACY — Markdown (MarkdownText)
   ========================================================== */
.dt-ai-md {
  font-size: var(--ai-fs-base);
  line-height: 1.6;
  color: var(--ai-text);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.dt-ai-md > :first-child { margin-top: 0; }
.dt-ai-md > :last-child { margin-bottom: 0; }
.dt-ai-md__h1 {
  font-size: var(--ai-fs-lg);
  font-weight: 700;
  margin: var(--ai-sp-lg) 0 var(--ai-sp-sm);
  color: var(--ai-text);
  border-bottom: 1px solid var(--ai-border-light);
  padding-bottom: var(--ai-sp-xs);
}
.dt-ai-md__h2 {
  font-size: var(--ai-fs-md);
  font-weight: 600;
  margin: var(--ai-sp-md) 0 var(--ai-sp-xs);
  color: var(--ai-text);
}
.dt-ai-md__h3 {
  font-size: var(--ai-fs-base);
  font-weight: 600;
  margin: var(--ai-sp-sm) 0 var(--ai-sp-xs);
  color: var(--ai-text);
}
.dt-ai-md__p {
  margin: var(--ai-sp-xs) 0 var(--ai-sp-sm);
  line-height: 1.6;
}
.dt-ai-md__ul,
.dt-ai-md__ol {
  margin: var(--ai-sp-xs) 0 var(--ai-sp-sm);
  padding-left: var(--ai-sp-lg);
}
.dt-ai-md__ul li,
.dt-ai-md__ol li {
  margin-bottom: var(--space-1);
  line-height: 1.6;
}
.dt-ai-md__hr {
  border: none;
  border-top: 1px solid var(--ai-border-light);
  margin: var(--ai-sp-lg) 0;
}
.dt-ai-md__link {
  color: var(--ai-text-link);
  text-decoration: none;
  transition: color var(--ai-transition);
}
.dt-ai-md__link:hover {
  color: var(--ai-accent-hover);
  text-decoration: underline;
}
.dt-ai-md__blockquote {
  border-left: 3px solid var(--ai-accent);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  margin: var(--ai-sp-sm) 0;
  color: var(--ai-text-secondary);
  background: var(--ai-bg-elevated);
  border-radius: 0 var(--ai-radius-sm) var(--ai-radius-sm) 0;
}
.dt-ai-md__code-inline {
  font-family: var(--ai-font-mono);
  font-size: 0.9em;
  padding: 1px 5px;
  background: var(--ai-bg-code);
  border-radius: 2px;
  color: var(--ai-accent);
}
.dt-ai-md__code-block {
  position: relative;
  margin: var(--ai-sp-sm) 0;
  border-radius: var(--ai-radius-sm);
  overflow: hidden;
  border: 1px solid var(--ai-border-light);
}
.dt-ai-md__code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ai-sp-xs) var(--ai-sp-md);
  background: var(--ai-bg-active);
  border-bottom: 1px solid var(--ai-border-light);
}
.dt-ai-md__code-lang {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dt-ai-md__code-copy {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all var(--ai-transition);
}
.dt-ai-md__code-copy:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-md__code-copy--done {
  color: var(--ai-text-success);
}
.dt-ai-md__code-block pre {
  margin: 0;
  padding: var(--ai-sp-md);
  background: var(--ai-bg-code);
  overflow-x: auto;
  font-family: var(--ai-font-mono);
  font-size: var(--ai-fs-sm);
  line-height: 1.6;
}
.dt-ai-md__code-block code {
  font-family: var(--ai-font-mono);
  font-size: var(--ai-fs-sm);
}
.dt-ai-md__ticker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 1px var(--space-3);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  font-weight: 600;
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
  cursor: pointer;
  text-decoration: none;
}
.dt-ai-md__ticker:hover {
  background: color-mix(in srgb, hsl(var(--brand)) 25%, transparent);
}
.dt-ai-md__cite-ref {
  display: inline;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--ai-accent);
  cursor: default;
  vertical-align: super;
  line-height: 1;
  opacity: 0.85;
}
.dt-ai-md__cite-ref:hover {
  opacity: 1;
  text-decoration: underline;
}
.dt-ai-md__table-wrap {
  overflow-x: auto;
  margin: var(--ai-sp-sm) 0;
  border: 1px solid var(--ai-border-light);
  border-radius: var(--ai-radius-sm);
}
.dt-ai-md__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ai-fs-sm);
}
.dt-ai-md__th {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  text-align: left;
  font-weight: 600;
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
  background: var(--ai-bg-active);
  border-bottom: 1px solid var(--ai-border);
  white-space: nowrap;
}
.dt-ai-md__td {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
  font-size: var(--ai-fs-sm);
}

/* ==========================================================
   Section 26: LEGACY — Generic Input / Select classes
   ========================================================== */
.dt-input {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  font-family: var(--ai-font);
  outline: none;
  transition: border-color var(--ai-transition);
}
.dt-input:focus {
  border-color: var(--ai-border-focus);
}
.dt-select {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  font-family: var(--ai-font);
  cursor: pointer;
  outline: none;
  transition: border-color var(--ai-transition);
}
.dt-select:focus {
  border-color: var(--ai-border-focus);
}

/* ==========================================================
   Section 27: LEGACY — Copilot memo surface
   ========================================================== */
/* Uses .dt-ai-panel__chip, .dt-input, .dt-select — already defined above */

/* ==========================================================
   Section 28: Responsive & Full-Screen Adjustments
   ========================================================== */
@media (max-width: 480px) {
  .dt-ai-empty__prompts {
    grid-template-columns: 1fr;
  }
  .dt-ai-msg-bubble-user {
    max-width: 95%;
  }
  .dt-ai-header {
    padding: 0 var(--ai-sp-sm);
  }
  .dt-ai-input {
    padding: var(--ai-sp-sm);
  }
}

/* Full-screen mode adjustments */
.dt-ai-panel--expanded .dt-ai-body {
  max-width: min(1040px, calc(100vw - 96px));
  margin: 0 auto;
  width: 100%;
}
.dt-ai-panel--expanded .dt-ai-footer {
  max-width: min(1040px, calc(100vw - 96px));
  margin: 0 auto;
  width: 100%;
}
.dt-ai-panel--expanded .dt-ai-msg-bubble-user {
  max-width: 70%;
}

/* ==========================================================
   Section 29: Sidebar / Panel Wrapper (for RightRail integration)
   ========================================================== */
.dt-ai-panel-wrapper {
  position: relative;
  height: 100%;
  display: flex;
}

/* ==========================================================
   Section 30: Print Styles
   ========================================================== */
@media print {
  .dt-ai-header,
  .dt-ai-footer,
  .dt-ai-msg-actions,
  .dt-ai-panel__resize-handle {
    display: none !important;
  }
  .dt-ai-panel {
    border: none;
    background: #fff;
    color: #000;
  }
  .dt-ai-msg-bubble-user {
    background: hsl(var(--brand) / 0.08);
    border: none;
  }
}


/* ==========================================================
   Section 31: Sidebar (CopilotSidebar)
   ========================================================== */
.dt-ai-sidebar {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.dt-ai-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
}
.dt-ai-sidebar__title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
}
.dt-ai-sidebar__new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-secondary);
  cursor: pointer;
  transition: all var(--ai-transition);
}
.dt-ai-sidebar__new-btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-sidebar__search {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
}
.dt-ai-sidebar__search-input {
  width: 100%;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  outline: none;
  transition: border-color var(--ai-transition);
}
.dt-ai-sidebar__search-input:focus {
  border-color: var(--ai-border-focus);
}
.dt-ai-sidebar__list {
  flex: 1;
  overflow-y: auto;
  padding: var(--ai-sp-xs) var(--ai-sp-sm);
}
.dt-ai-sidebar__loading,
.dt-ai-sidebar__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ai-sp-xl);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
}
.dt-ai-sidebar__group {
  margin-bottom: var(--ai-sp-sm);
}
.dt-ai-sidebar__group-label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--ai-sp-xs) var(--ai-sp-sm);
  margin-bottom: var(--space-1);
}
.dt-ai-sidebar__item {
  display: flex;
  align-items: center;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-radius: var(--ai-radius-sm);
  cursor: pointer;
  transition: background var(--ai-transition);
  gap: var(--ai-sp-sm);
  min-height: 32px;
}
.dt-ai-sidebar__item:hover {
  background: var(--ai-bg-hover);
}
.dt-ai-sidebar__item--active {
  background: var(--ai-accent-subtle);
}
.dt-ai-sidebar__item-title {
  flex: 1;
  font-size: var(--ai-fs-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ai-text);
}
.dt-ai-sidebar__item-actions {
  display: flex;
  gap: var(--space-1);
  opacity: 0;
  transition: opacity var(--ai-transition);
  flex-shrink: 0;
}
.dt-ai-sidebar__item:hover .dt-ai-sidebar__item-actions {
  opacity: 1;
}
.dt-ai-sidebar__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: 0;
}
.dt-ai-sidebar__action-btn:hover {
  background: var(--ai-bg-active);
  color: var(--ai-text);
}
.dt-ai-sidebar__action-btn--delete:hover {
  color: var(--ai-text-error);
}
.dt-ai-sidebar__rename-input {
  flex: 1;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--ai-border-focus);
  border-radius: var(--ai-radius-xs);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  outline: none;
}

/* ==========================================================
   Section 32: LEGACY Old message row classes
   ========================================================== */
.dt-ai-msg-row {
  display: flex;
  gap: var(--ai-sp-md);
  padding: var(--ai-sp-sm) 0;
  position: relative;
}
.dt-ai-msg-row--user {
  justify-content: flex-end;
  padding: var(--ai-sp-xs) 0;
}
.dt-ai-msg-row--assistant {
  flex-direction: row;
  align-items: flex-start;
}

/* ── User bubble ── */
.dt-ai-msg-bubble-user {
  /* Let the bubble shrink to fit its text instead of always taking 85%
     of the panel width. Short prompts like "MSFT price?" should render
     as a tight chat bubble, not a full-width block. */
  max-width: 80%;
  width: -moz-fit-content;
  width: fit-content;
  background: color-mix(in srgb, hsl(var(--brand)) 18%, #0d0d12);
  border: 1px solid color-mix(in srgb, hsl(var(--brand)) 22%, transparent);
  border-radius: 10px 10px 2px 10px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: hsl(var(--foreground));
  line-height: 1.4;
  font-size: 13px;
}

/* ── Assistant brand label ── */
.dt-ai-msg-brand {
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--brand));
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.dt-ai-msg-bubble-user__text {
  font-size: var(--ai-fs-base);
  line-height: var(--ai-lh);
  color: var(--ai-text);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.dt-ai-msg-bubble-user__footer {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--ai-transition);
}
.dt-ai-msg-bubble-user:hover .dt-ai-msg-bubble-user__footer {
  opacity: 1;
}

/* ── Avatar ── */
.dt-ai-msg-avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ai-fs-xs);
  font-weight: 600;
  margin-top: var(--space-1);
  border: 1px solid color-mix(in srgb, var(--ai-accent) 25%, transparent);
}
.dt-ai-msg-avatar--user {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}
.dt-ai-msg-avatar--assistant {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}
.dt-ai-msg-avatar__assistant-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ── Assistant body ── */
.dt-ai-msg-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dt-ai-msg-meta {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
}
.dt-ai-msg-role {
  font-weight: 600;
  color: var(--ai-text-secondary);
}
.dt-ai-msg-time {
  font-size: 10px;
  color: var(--ai-text-tertiary);
}
.dt-ai-msg-edited {
  font-size: 10px;
  color: var(--ai-text-tertiary);
  font-style: italic;
}
.dt-ai-msg-content {
  line-height: var(--ai-lh);
  font-size: var(--ai-fs-base);
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-top: var(--ai-sp-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Action bar ── */
.dt-ai-msg-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.55;
  transition: opacity var(--ai-transition);
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}
.dt-ai-msg-actions__sep {
  width: 1px;
  height: 16px;
  background: var(--ai-border);
  margin: 0 4px;
  flex: 0 0 auto;
}
.dt-ai-msg-row:hover .dt-ai-msg-actions,
.dt-ai-msg-actions:focus-within {
  opacity: 1;
}
.dt-ai-msg-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  transition: all var(--ai-transition);
  padding: 0;
}
.dt-ai-msg-action-btn:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-ai-msg-action-btn--active { color: var(--ai-accent); }
.dt-ai-msg-action-btn--success { color: var(--ai-text-success); }
.dt-ai-msg-action-btn--active { color: var(--ai-accent); opacity: 1; }

/* ==========================================================
   Section 33: LEGACY Message edit mode
   ========================================================== */
.dt-copilot-msg-edit {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
}
.dt-copilot-msg-edit__textarea {
  width: 100%;
  min-height: 40px;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-border-focus);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-family: var(--ai-font);
  font-size: var(--ai-fs-base);
  line-height: var(--ai-lh);
  resize: none;
  outline: none;
}
.dt-copilot-msg-edit__actions {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
}
.dt-copilot-msg-edit__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--ai-radius-sm);
  font-size: var(--ai-fs-xs);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ai-border);
  transition: all var(--ai-transition);
}
.dt-copilot-msg-edit__btn--save {
  background: var(--ai-accent);
  color: hsl(var(--foreground));
  border-color: var(--ai-accent);
}
.dt-copilot-msg-edit__btn--save:hover { background: var(--ai-accent-hover); }
.dt-copilot-msg-edit__btn--cancel {
  background: transparent;
  color: var(--ai-text-secondary);
}
.dt-copilot-msg-edit__btn--cancel:hover { background: var(--ai-bg-hover); }

/* ==========================================================
   Section 34: LEGACY Follow-ups
   ========================================================== */
.dt-copilot-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
}
.dt-copilot-followups--input {
  padding: var(--space-3) var(--space-5) var(--space-1);
  gap: var(--space-3);
  border-top: 1px solid hsl(var(--border));
}
.dt-copilot-followup-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--ai-sp-xs);
  padding: var(--space-2) var(--space-5);
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 140ms ease;
  line-height: 1.4;
  font-family: var(--font-sans);
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.dt-copilot-followup-chip:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.dt-copilot-followup-chip:active {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
}

/* ==========================================================
   Section 35: LEGACY Empty State
   ========================================================== */
.dt-copilot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: var(--ai-sp-xl);
  text-align: center;
  gap: var(--ai-sp-md);
}
.dt-copilot-empty__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--ai-accent);
  color: #fff;
  flex-shrink: 0;
}
.dt-copilot-empty__eyebrow {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dt-copilot-empty__title {
  font-size: var(--ai-fs-lg);
  font-weight: 600;
  color: var(--ai-text);
  margin: 0;
}
.dt-copilot-empty__subtitle {
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  max-width: 300px;
  line-height: var(--ai-lh);
  margin: 0;
}
.dt-copilot-empty__text {
  font-size: var(--ai-fs-sm);
  color: var(--ai-text-secondary);
  margin: 0;
}
.dt-copilot-empty__upgrade-btn {
  padding: var(--ai-sp-sm) var(--ai-sp-lg);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-accent);
  color: hsl(var(--foreground));
  font-size: var(--ai-fs-sm);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--ai-transition);
}
.dt-copilot-empty__upgrade-btn:hover { background: var(--ai-accent-hover); }
.dt-copilot-empty__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin-top: 4px;
}
.dt-copilot-empty__card {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  color: hsl(var(--foreground));
  line-height: 1.45;
  transition: all 140ms ease;
  font-family: var(--font-sans);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.dt-copilot-empty__card:hover {
  background: hsl(var(--accent));
  border-color: var(--ai-accent);
  color: hsl(var(--foreground));
}
.dt-copilot-empty__card:active {
  background: hsl(var(--accent));
}
.dt-copilot-empty__card-label {
  flex: 1;
}

/* Skills badges */
.dt-copilot-empty__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 360px;
  margin-top: var(--ai-sp-xs);
}
.dt-copilot-empty__skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.dt-copilot-empty__skill-badge svg {
  color: var(--ai-accent);
}
.dt-copilot-empty__app-hint {
  font-size: 12px;
  color: var(--ai-accent);
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================
   Section 36: LEGACY Panel header and misc classes
   ========================================================== */
.dt-ai-panel--open:not(.dt-ai-panel--expanded) {
  display: flex;
  position: fixed;
  top: 0;
  right: var(--right-rail-width, 56px);
  bottom: 0;
  z-index: 115;
  max-width: calc(100vw - var(--right-rail-width, 56px));
  height: 100dvh;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
  border-left: 1px solid hsl(var(--border));
}
.dt-ai-panel__main {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.dt-ai-panel__header {
  display: flex;
  align-items: center;
  height: var(--ai-header-h);
  min-height: var(--ai-header-h);
  padding: 0 var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border);
  background: var(--ai-bg);
  gap: var(--ai-sp-sm);
  flex-shrink: 0;
}
.dt-ai-panel__title {
  flex: 1;
  min-width: 0;
}
.dt-ai-panel__title-copy {
  display: flex;
  align-items: center;
}
.dt-ai-panel__title-text {
  font-size: var(--ai-fs-md);
  font-weight: 600;
  color: var(--ai-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}
.dt-ai-panel__title-input {
  background: transparent;
  border: 1px solid var(--ai-border-focus);
  border-radius: var(--ai-radius-xs);
  color: var(--ai-text);
  font-size: var(--ai-fs-md);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  width: 100%;
  outline: none;
}
.dt-ai-panel__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
}
.dt-ai-panel__messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--ai-sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-md);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.dt-ai-panel__messages::-webkit-scrollbar { width: 6px; }
.dt-ai-panel__messages::-webkit-scrollbar-track { background: transparent; }
.dt-ai-panel__messages::-webkit-scrollbar-thumb {
  background: var(--ai-border);
  border-radius: 2px;
}
.dt-ai-panel__error {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  background: rgba(199, 80, 80,0.1);
  border-bottom: 1px solid rgba(199, 80, 80,0.2);
  color: var(--ai-text-error);
  font-size: var(--ai-fs-sm);
}
.dt-ai-panel__error button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--ai-text-error);
  cursor: pointer;
  padding: var(--space-1);
}
.dt-ai-panel__error-retry {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  border: 1px solid rgba(199, 80, 80,0.3);
  border-radius: var(--ai-radius-xs);
  color: var(--ai-text-error);
  font-size: var(--ai-fs-xs);
  padding: var(--space-1) var(--space-4);
  cursor: pointer;
  transition: all var(--ai-transition);
}
.dt-ai-panel__error-retry:hover {
  background: rgba(199, 80, 80,0.15);
}
.dt-ai-panel__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ai-accent);
  animation: dt-ai-blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 1px;
}
.dt-ai-panel__thinking {
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-sm);
  font-style: italic;
}

/* ==========================================================
   Section 37: LEGACY Copilot skeleton
   ========================================================== */
.dt-copilot-skeleton {
  padding: var(--ai-sp-md);
}

/* ==========================================================
   Section 38: CopilotInput — OpenBB card-style input
   ========================================================== */
.dt-ai-panel__input-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-5);
  background: var(--ai-bg);
  flex-shrink: 0;
  /* No top border — spacing creates visual separation */
}

/* ── Input card (terminal-style, replaces shadcn card) ── */
.dt-ai-input__card {
  position: relative;
  background: var(--ai-bg-input);
  border: 1px solid var(--ai-border);
  border-radius: 4px;
  padding: 10px 10px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--ai-transition), box-shadow var(--ai-transition);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.dt-ai-input__card:focus-within {
  border-color: var(--ai-border-focus);
}

/* Textarea inside the card */
.dt-ai-input__textarea {
  width: 100%;
  min-height: 36px;
  max-height: 200px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  padding: 0;
  margin: 0;
  font-family: var(--ai-font);
  font-size: var(--ai-fs-base);
  line-height: var(--ai-lh);
  color: var(--ai-text);
  caret-color: var(--ai-accent);
  overflow-y: hidden;
}
.dt-ai-input__textarea::-moz-placeholder {
  color: var(--ai-text-tertiary);
}
.dt-ai-input__textarea::placeholder {
  color: var(--ai-text-tertiary);
}
.dt-ai-input__textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── OpenBB-style info strip (above textarea) ── */
.dt-ai-input__info-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px 6px;
  border-bottom: 1px solid var(--ai-border);
  margin-bottom: 2px;
}
.dt-ai-input__info-icon {
  color: var(--ai-text-tertiary);
  flex-shrink: 0;
}
.dt-ai-input__info-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--ai-border);
  flex-shrink: 0;
  margin: 0 1px;
}
.dt-ai-input__info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--ai-bg-badge);
  color: var(--ai-text-secondary);
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--ai-border);
}
.dt-ai-input__info-label {
  font-size: 11px;
  color: var(--ai-text-tertiary);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── Agent label in brand bar ── */
.dt-ai-input__agent-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ai-text-tertiary);
  white-space: nowrap;
  padding: 2px 4px;
  border-radius: 3px;
  transition: color var(--ai-transition);
  cursor: default;
}

/* Bottom action bar */
.dt-ai-input__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}
.dt-ai-input__actions-left {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
}

/* Active state for icon-only action buttons (e.g. widget picker open) */
.dt-ai-input__btn--active {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}

/* Toggle-active state for Data/Search icon buttons */
.dt-ai-input__btn--toggle-active {
  color: var(--ai-accent);
  background: var(--ai-accent-subtle);
}
.dt-ai-input__btn--toggle-active:hover {
  opacity: 0.85;
}

/* Send button — empty state (no input text) */
.dt-ai-input__btn--send-empty {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Thin vertical separator between icon buttons and toggle pills */
.dt-ai-input__sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--ai-border);
  margin: 0 4px;
  flex-shrink: 0;
}

/* Search / Data toggle pills */
.dt-ai-input__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-tertiary);
  font-size: var(--ai-fs-xs);
  font-family: var(--ai-font);
  cursor: pointer;
  transition: all var(--ai-transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.dt-ai-input__toggle:hover:not(:disabled) {
  background: var(--ai-bg-hover);
  color: var(--ai-text-secondary);
  border-color: var(--ai-border-light);
}
.dt-ai-input__toggle--active {
  background: var(--ai-accent-subtle);
  border-color: var(--ai-accent);
  color: var(--ai-accent);
}
.dt-ai-input__toggle--active:hover:not(:disabled) {
  background: var(--ai-accent-subtle);
  opacity: 0.9;
}
.dt-ai-input__toggle:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Error hint below textarea */
.dt-ai-input__error-hint {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-error);
  margin-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Char count modifier states */
.dt-ai-input__char-count--warn {
  color: var(--ai-text-warning);
}
.dt-ai-input__char-count--danger {
  color: var(--ai-text-error);
}

/* The main card: floating, round, elevated */
.dt-ai-panel__input-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  background: var(--ai-bg-elevated);
  transition: border-color var(--ai-transition), box-shadow var(--ai-transition);
  overflow: visible;
}
.dt-ai-panel__input-wrap:hover {
  border-color: var(--ai-text-tertiary);
}
.dt-ai-panel__input-wrap:focus-within {
  border-color: color-mix(in srgb, var(--ai-accent) 40%, var(--ai-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai-accent) 8%, transparent);
}

/* Top section: "@ Add context" badge row */
.dt-ai-panel__input-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) 0;
  flex-wrap: wrap;
}

/* Textarea row inside the card */
.dt-ai-panel__textarea-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  padding: 0 var(--space-3) var(--space-2);
}

.dt-ai-panel__textarea {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 38px;
  max-height: 160px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ai-text);
  font-family: var(--ai-font);
  font-size: var(--ai-fs-base);
  line-height: var(--ai-lh);
  resize: none;
  outline: none;
  padding: var(--space-3) var(--space-4) var(--space-2);
  transition: background var(--ai-transition);
}
.dt-ai-panel__textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dt-ai-panel__textarea::-moz-placeholder {
  color: var(--ai-text-tertiary);
}
.dt-ai-panel__textarea::placeholder {
  color: var(--ai-text-tertiary);
}

/* Bottom action bar inside the card */
.dt-ai-panel__input-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3) var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--ai-border) 60%, transparent);
}
.dt-ai-panel__input-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

/* Send / Stop buttons — circular, OpenBB style */
.dt-ai-panel__send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;              /* circular */
  background: var(--ai-accent);
  color: #fff;
  cursor: pointer;
  transition: all var(--ai-transition);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ai-accent) 35%, transparent);
}
.dt-ai-panel__send-btn:hover:not(:disabled) {
  background: var(--ai-accent-hover);
  transform: scale(1.06);
}
.dt-ai-panel__send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.dt-ai-panel__stop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;              /* circular */
  background: var(--ai-text-error);
  color: #fff;
  cursor: pointer;
  transition: all var(--ai-transition);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}
.dt-ai-panel__stop-btn:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

/* ==========================================================
   Section 39: CopilotInput — Context chips
   ========================================================== */
.dt-copilot-context-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ai-sp-xs);
  padding: var(--ai-sp-sm) var(--ai-sp-md) 0;
}
.dt-copilot-context-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: 2px;
  font-size: var(--ai-fs-xs);
  background: hsl(var(--card));
  color: var(--ai-text-secondary);
  border: 1px solid hsl(var(--border));
  white-space: nowrap;
  max-width: 200px;
}
.dt-copilot-context-chip--button {
  cursor: pointer;
  font: inherit;
  transition: all var(--ai-transition);
}
.dt-copilot-context-chip--button:hover {
  background: var(--ai-bg-hover);
  border-color: var(--ai-accent);
}
.dt-copilot-context-chip__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.dt-copilot-context-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: var(--ai-radius-sm);
  color: var(--ai-text-tertiary);
  transition: color var(--ai-transition);
  flex-shrink: 0;
}
.dt-copilot-context-chip--button:hover .dt-copilot-context-chip__remove {
  color: var(--ai-text-error);
}

/* ==========================================================
   Section 40: CopilotInput — Mention/Slash dropdowns
   ========================================================== */
.dt-copilot-mention-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: var(--space-2);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
}
/* @mention inline chips inside the input card */
.dt-copilot-mention-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ai-sp-xs);
  padding: var(--ai-sp-xs) 0 var(--ai-sp-xs);
}
.dt-copilot-mention-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--ai-accent) 25%, transparent);
}
.dt-copilot-mention-chip__label {
  font-family: monospace;
}
.dt-copilot-mention-chip__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1px;
  border-radius: 50%;
  color: var(--ai-accent);
  opacity: 0.7;
  transition: opacity var(--ai-transition);
  line-height: 1;
}
.dt-copilot-mention-chip__remove:hover {
  opacity: 1;
}
.dt-copilot-mention-item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: var(--ai-fs-sm);
  color: var(--ai-text);
  font-family: var(--ai-font);
  transition: background var(--ai-transition);
}
.dt-copilot-mention-item:hover,
.dt-copilot-mention-item--active {
  background: var(--ai-bg-hover);
}
.dt-copilot-mention-symbol {
  font-weight: 600;
  color: var(--ai-accent);
  font-size: var(--ai-fs-sm);
  white-space: nowrap;
}
.dt-copilot-mention-name {
  flex: 1;
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-copilot-mention-type {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
}

/* ==========================================================
   Section 41: CopilotInput — Footer, char count, hints
   ========================================================== */
.dt-copilot-input-footer {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
  min-width: 0;
  padding: 0;
}
.dt-copilot-input-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  row-gap: var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}
.dt-copilot-input-meta {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  flex-wrap: wrap;
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  line-height: 1.35;
}
.dt-copilot-input-status {
  color: var(--ai-text-tertiary);
  font-size: var(--ai-fs-xs);
}
.dt-copilot-input-status--error {
  color: var(--ai-text-error);
}
.dt-copilot-char-count {
  font-variant-numeric: tabular-nums;
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
}
.dt-copilot-char-count--warn {
  color: var(--ai-text-error);
  font-weight: 600;
}
.dt-copilot-newline-hint {
  opacity: 0.5;
  font-size: var(--ai-fs-xs);
}

/* ==========================================================
   Section 42: CopilotInput — Control selects
   ========================================================== */
.dt-copilot-control {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.dt-copilot-control__label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
}
.dt-copilot-control__select {
  font-size: var(--ai-fs-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--ai-radius-xs);
  border: 1px solid var(--ai-border);
  background: var(--ai-bg-elevated);
  color: var(--ai-text);
  cursor: pointer;
  outline: none;
}

/* ==========================================================
   Section 43: CopilotInput — Attachment picker
   ========================================================== */
.dt-copilot-attachment-picker {
  position: relative;
}
.dt-copilot-attachment-picker__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 28px;
  padding: 3px var(--space-4);
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all 140ms ease;
  font-family: var(--font-sans);
  font-weight: 600;
}
.dt-copilot-attachment-picker__trigger:hover:not(:disabled) {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.dt-copilot-attachment-picker__trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ==========================================================
   Section 44: CopilotInput — URL picker
   ========================================================== */
.dt-copilot-url-picker {
  position: relative;
}
.dt-copilot-url-picker__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 28px;
  padding: 3px var(--space-4);
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all 140ms ease;
  font-family: var(--font-sans);
  font-weight: 600;
}
.dt-copilot-url-picker__trigger:hover:not(:disabled),
.dt-copilot-url-picker__trigger--active {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.dt-copilot-url-picker__trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dt-copilot-url-picker__menu {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: var(--space-3);
  width: min(320px, calc(100vw - var(--right-rail-width, 56px) - 28px));
  max-width: calc(100vw - var(--right-rail-width, 56px) - 28px);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  z-index: 30;
  padding: var(--ai-sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
}
.dt-copilot-url-picker__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ai-sp-sm);
}
.dt-copilot-url-picker__title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
}
.dt-copilot-url-picker__subtitle {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  line-height: var(--ai-lh);
  margin-top: var(--space-1);
}
.dt-copilot-url-picker__clear {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-error);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
}
.dt-copilot-url-picker__controls {
  display: flex;
  gap: var(--ai-sp-sm);
}
.dt-copilot-url-picker__input {
  flex: 1;
  padding: var(--ai-sp-sm);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-input);
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  outline: none;
}
.dt-copilot-url-picker__input:focus {
  border-color: var(--ai-border-focus);
}
.dt-copilot-url-picker__add {
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: 1px solid var(--ai-accent);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-accent);
  color: hsl(var(--foreground));
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ai-transition);
}
.dt-copilot-url-picker__add:hover {
  background: var(--ai-accent-hover);
}
.dt-copilot-url-picker__error {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-error);
}
.dt-copilot-url-picker__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-height: 150px;
  overflow-y: auto;
}
.dt-copilot-url-picker__item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm);
  border-radius: var(--ai-radius-sm);
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--ai-font);
  transition: background var(--ai-transition);
  width: 100%;
}
.dt-copilot-url-picker__item:hover {
  background: var(--ai-bg-hover);
}
.dt-copilot-url-picker__item-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dt-copilot-url-picker__item-label {
  font-size: var(--ai-fs-sm);
  color: var(--ai-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-copilot-url-picker__item-url {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-copilot-url-picker__item-remove {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-error);
  white-space: nowrap;
  flex-shrink: 0;
}
.dt-copilot-url-picker__empty {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-align: center;
  padding: var(--ai-sp-sm);
}

/* ==========================================================
   Section 45: CopilotInput — Widget picker
   ========================================================== */
.dt-copilot-widget-picker {
  position: relative;
}
.dt-copilot-widget-picker__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 3px var(--space-4);
  border-radius: var(--ai-radius-sm);
  border: 1px solid var(--ai-border);
  background: var(--ai-bg-elevated);
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all var(--ai-transition);
  font-family: var(--ai-font);
}
.dt-copilot-widget-picker__trigger:hover:not(:disabled),
.dt-copilot-widget-picker__trigger--active {
  border-color: var(--ai-accent);
  color: var(--ai-text);
}
.dt-copilot-widget-picker__trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dt-copilot-widget-picker__menu {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: var(--space-3);
  width: min(320px, calc(100vw - var(--right-rail-width, 56px) - 28px));
  max-width: calc(100vw - var(--right-rail-width, 56px) - 28px);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  z-index: 30;
  padding: var(--ai-sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
}
.dt-copilot-widget-picker__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ai-sp-sm);
}
.dt-copilot-widget-picker__title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
}
.dt-copilot-widget-picker__subtitle {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  line-height: var(--ai-lh);
  margin-top: var(--space-1);
}
.dt-copilot-widget-picker__clear {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-error);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
}
.dt-copilot-widget-picker__list {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-xs);
  max-height: 200px;
  overflow-y: auto;
}
.dt-copilot-widget-picker__item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--ai-font);
  transition: all var(--ai-transition);
  width: 100%;
}
.dt-copilot-widget-picker__item:hover {
  border-color: var(--ai-accent);
  background: var(--ai-bg-hover);
}
.dt-copilot-widget-picker__item--selected {
  border-color: var(--ai-accent);
  background: var(--ai-accent-subtle);
}
.dt-copilot-widget-picker__checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-sm);
  flex-shrink: 0;
  color: transparent;
  transition: all var(--ai-transition);
}
.dt-copilot-widget-picker__item--selected .dt-copilot-widget-picker__checkbox {
  background: var(--ai-accent);
  border-color: var(--ai-accent);
  color: hsl(var(--foreground));
}
.dt-copilot-widget-picker__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dt-copilot-widget-picker__item-title {
  font-size: var(--ai-fs-sm);
  color: var(--ai-text);
  font-weight: 500;
}
.dt-copilot-widget-picker__item-description {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-secondary);
}
.dt-copilot-widget-picker__item-meta {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
}
.dt-copilot-widget-picker__badge {
  font-size: var(--ai-fs-xs);
  padding: 1px var(--space-3);
  border-radius: var(--ai-radius-sm);
  background: var(--ai-bg-badge);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}
.dt-copilot-widget-picker__item--selected .dt-copilot-widget-picker__badge {
  background: var(--ai-accent-subtle);
  color: var(--ai-accent);
}


/* ==========================================================
   Section 46: CopilotPromptTemplates
   ========================================================== */
.dt-copilot-templates {
  position: relative;
}
.dt-copilot-templates__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 28px;
  padding: 3px var(--space-4);
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  transition: all 140ms ease;
  font-family: var(--font-sans);
  font-weight: 600;
}
.dt-copilot-templates__trigger:hover:not(:disabled),
.dt-copilot-templates__trigger--active {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.dt-copilot-templates__panel {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: var(--space-3);
  width: min(320px, calc(100vw - var(--right-rail-width, 56px) - 28px));
  max-height: 360px;
  max-width: calc(100vw - var(--right-rail-width, 56px) - 28px);
  background: var(--ai-bg-elevated);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  box-shadow: var(--ai-shadow-md);
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 720px) {
  .dt-ai-panel--open:not(.dt-ai-panel--expanded) {
    right: 0;
    max-width: 100vw;
    width: 100vw !important;
  }

  .dt-ai-header {
    padding-left: var(--ai-sp-sm);
    padding-right: var(--ai-sp-sm);
  }

  .dt-ai-panel--expanded .dt-ai-body,
  .dt-ai-panel--expanded .dt-ai-footer {
    max-width: calc(100vw - 24px);
  }
}
.dt-copilot-templates__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border-bottom: 1px solid var(--ai-border-light);
}
.dt-copilot-templates__title {
  font-size: var(--ai-fs-sm);
  font-weight: 600;
  color: var(--ai-text);
}
.dt-copilot-templates__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  padding: 0;
}
.dt-copilot-templates__close:hover {
  background: var(--ai-bg-hover);
  color: var(--ai-text);
}
.dt-copilot-templates__search {
  width: 100%;
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  border: none;
  border-bottom: 1px solid var(--ai-border-light);
  background: transparent;
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  outline: none;
}
.dt-copilot-templates__search::-moz-placeholder {
  color: var(--ai-text-tertiary);
}
.dt-copilot-templates__search::placeholder {
  color: var(--ai-text-tertiary);
}
.dt-copilot-templates__categories {
  display: flex;
  gap: var(--ai-sp-xs);
  padding: var(--ai-sp-sm) var(--ai-sp-md);
  overflow-x: auto;
  flex-shrink: 0;
}
.dt-copilot-templates__category-pill {
  padding: var(--space-1) var(--space-5);
  border-radius: var(--ai-radius-sm);
  border: 1px solid var(--ai-border);
  background: transparent;
  color: var(--ai-text-secondary);
  font-size: var(--ai-fs-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ai-transition);
  font-family: var(--ai-font);
}
.dt-copilot-templates__category-pill:hover {
  border-color: var(--ai-accent);
}
.dt-copilot-templates__category-pill--active {
  background: var(--ai-accent-subtle);
  border-color: var(--ai-accent);
  color: var(--ai-accent);
}
.dt-copilot-templates__list {
  flex: 1;
  overflow-y: auto;
  padding: var(--ai-sp-sm);
}
.dt-copilot-templates__category {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--ai-sp-xs) var(--ai-sp-sm);
  margin-top: var(--ai-sp-sm);
}
.dt-copilot-templates__category:first-child {
  margin-top: 0;
}
.dt-copilot-templates__item {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-sm);
  border-radius: var(--ai-radius-sm);
  border: none;
  background: transparent;
  color: var(--ai-text);
  font-size: var(--ai-fs-sm);
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--ai-font);
  transition: background var(--ai-transition);
}
.dt-copilot-templates__item:hover {
  background: var(--ai-bg-hover);
}
.dt-copilot-templates__item-icon {
  color: var(--ai-accent);
  flex-shrink: 0;
}
.dt-copilot-templates__item-label {
  flex: 1;
}
.dt-copilot-templates__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: var(--ai-radius-xs);
  background: transparent;
  color: var(--ai-text-tertiary);
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: all var(--ai-transition);
  flex-shrink: 0;
}
.dt-copilot-templates__item:hover .dt-copilot-templates__item-remove {
  opacity: 1;
}
.dt-copilot-templates__item-remove:hover {
  color: var(--ai-text-error);
}
.dt-copilot-templates__empty {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  text-align: center;
  padding: var(--ai-sp-lg);
}

/* ==========================================================
   Section 47: Copilot skeleton
   ========================================================== */
.dt-copilot-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-md);
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  margin: var(--ai-sp-sm) 0;
}
.dt-copilot-skeleton__line {
  height: 12px;
  background: var(--ai-bg-active);
  border-radius: var(--ai-radius-xs);
  animation: dt-ai-pulse 1.5s ease-in-out infinite;
}
.dt-copilot-skeleton__line--short {
  width: 60%;
}
.dt-copilot-skeleton__line--medium {
  width: 80%;
}
.dt-copilot-skeleton-bar {
  background: var(--ai-bg-active);
  animation: dt-ai-pulse 1.5s ease-in-out infinite;
}

/* ==========================================================
   Section 48a: Inline Chart / Table wrappers
   ========================================================== */
.dt-copilot-inline-viz {
  margin: var(--ai-sp-sm) 0;
}
.dt-copilot-inline-viz--expanded {
  margin: var(--ai-sp-md) calc(-1 * var(--ai-sp-md));
}
.dt-copilot-inline-table {
  margin: var(--ai-sp-sm) 0;
}
.dt-copilot-inline-table--expanded {
  margin: var(--ai-sp-md) calc(-1 * var(--ai-sp-md));
}

/* ==========================================================
   Section 48: CopilotCitations
   All visual rules now live next to the React component in
   CopilotCitations.jsx (inline <style>) so the design stays in
   one place. The legacy global rules that lived here previously
   (pill toggle, chip-row list, link-tinted headline) overrode the
   new inline styles via !important and have been removed.
   ========================================================== */

/* Legacy pill (kept for compatibility) */
.dt-copilot-citation-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ai-transition);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--ai-text-link) 25%, transparent);
  background: color-mix(in srgb, var(--ai-text-link) 14%, transparent);
  color: var(--ai-text-link);
}
.dt-copilot-citation-chip:hover {
  border-color: var(--ai-text-link);
}

/* ── Date separator ── */
.dt-ai-date-separator {
  display: flex;
  align-items: center;
  gap: var(--ai-sp-sm);
  padding: var(--ai-sp-xs) var(--ai-sp-lg);
  margin: var(--ai-sp-xs) 0;
}
.dt-ai-date-separator::before,
.dt-ai-date-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ai-border-light);
}
.dt-ai-date-separator__label {
  font-size: var(--ai-fs-xs);
  color: var(--ai-text-tertiary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Drag & drop overlay ── */
.dt-ai-panel__input-area--dragover {
  outline: 2px dashed var(--ai-accent);
  outline-offset: -2px;
  background: rgba(74,144,217,0.06);
  border-radius: var(--ai-radius);
}

/* ── Character counter danger state ── */
.dt-copilot-char-count--danger {
  color: hsl(var(--negative)) !important;
  font-weight: 600;
}

/* ── Touch/mobile: always show actions ── */
@media (hover: none), (pointer: coarse) {
  .dt-ai-msg-actions {
    opacity: 1 !important;
  }
  .dt-ai-msg-bubble-user__footer .dt-ai-msg-action-btn {
    opacity: 1 !important;
  }
}

/* ── Edit button always visible (subtle, stronger on hover) ── */
.dt-ai-msg-bubble-user__footer .dt-ai-msg-action-btn {
  opacity: 0.4;
  transition: opacity var(--ai-transition);
}
.dt-ai-msg-bubble-user:hover .dt-ai-msg-bubble-user__footer .dt-ai-msg-action-btn,
.dt-ai-msg-bubble-user__footer .dt-ai-msg-action-btn:focus-visible {
  opacity: 1;
}

/* ── Side view panels (prompts, agents) ── */
.dt-ai-panel__side-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 12px;
}
/* inter-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-cyrillic-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* inter-greek-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-vietnamese-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* geist-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-latin-wght-normal-Dm3htQBi.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* geist-mono-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-cyrillic-wght-normal-BZdD_g9V.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-latin-ext-wght-normal-b6lpi8_2.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-mono-latin-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-latin-wght-normal-Cjtb1TV-.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}*, ::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.19 | 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, ui-sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, 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: Geist Mono, JetBrains Mono, SFMono-Regular, Menlo, Consolas, 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;
}
  :root {
    /* ── shadcn/ui core tokens — Mira preset (Neutral, dark) ──
       Pure-neutral grays · White primary · Subtle card elevation · 0.5rem radius    */

    /* ── Surface stack — clear visual hierarchy via lift.
       Workspace sits low, cards float ~7pt above, popovers float higher
       still. Elevation is now perceptual — the border still delineates
       but it no longer carries the entire hierarchy. */
    --background: 0 0% 2%;               /* #050505 — workspace, deepest layer */
    --foreground: 220 14% 96%;           /* #F3F4F7 — slightly warm off-white */

    --card: 0 0% 9%;                     /* #171717 — widget panel, clearly lifts above workspace */
    --card-foreground: 220 14% 96%;

    --popover: 0 0% 13%;                 /* #212121 — popovers float above cards */
    --popover-foreground: 220 14% 96%;

    /* Primary — neutral non-brand CTA fill (Cancel etc.). Near-white. */
    --primary: 0 0% 98%;                 /* #FAFAFA */
    --primary-foreground: 0 0% 9%;       /* #171717 */

    /* Secondary — subtle bump for inputs, secondary surfaces */
    --secondary: 0 0% 13%;               /* #212121 — sits at popover level */
    --secondary-foreground: 220 14% 96%;

    /* Text hierarchy */
    --foreground-secondary: 220 8% 72%;   /* #B0B3BB — body labels, sub-text */

    /* Muted — subtitle/disabled surfaces */
    --muted: 0 0% 13%;                   /* #212121 */
    --muted-foreground: 218 11% 52%;     /* #7A8294 — captions / table column headers */

    /* Accent — neutral hover fill (shadcn convention; NOT brand).
       Lifts above card so hover on a card row reads clearly. */
    --accent: 0 0% 17%;                  /* #2B2B2B */
    --accent-foreground: 220 14% 96%;

    /* Hover — subtle brand-tinted hover so interactive elements share a coherent
       affordance signal. Alpha baked in so `bg-hover` resolves to the right
       softness without consumers needing to remember an alpha modifier. */
    --hover: 218 97% 53% / 0.08;        /* brand @ 8% — quiet, never competes with active */
    --hover-foreground: 0 0% 98%;

    --destructive: 0 68% 55%;            /* #CD3D3D — OpenBB balanced red, not muddy */
    --destructive-foreground: 0 0% 98%;

    /* ── Brand — action-blue. Used restrained: active tab text
       + bottom-border, sidebar active icon, primary CTA fill, focus ring,
       hyperlinks. Hover/selected states use the grey shelf, not brand tint. */
    --brand: 218 97% 53%;               /* #1268FB — action-blue (matches landing CTA) */
    --brand-foreground: 0 0% 100%;
    --brand-soft: 218 97% 53% / 0.12;   /* tinted active-tab background */
    --brand-mid: 218 97% 53% / 0.24;    /* hover on brand-tinted surfaces */
    --brand-strong: 218 97% 60%;        /* hover on brand-filled chips */

    /* Borders — quiet hairlines against the lifted card surface. The card's
       9% lift already creates the primary delineation; the border is just a
       crisp edge, not a wall. Matches the landing page's understated rule
       lines visually. */
    --border: 0 0% 14%;                  /* #242424 — hairline on #171717 card */
    --input: 0 0% 14%;
    --ring: 218 97% 53%;                 /* brand ring — focus visibility */

    --radius: 0.25rem;                   /* 4px — matches landing-page CTAs (l-nav-cta, l-hero-cta) */

    /* ── Sidebar tokens — sidebar follows the workspace surface (one
       continuous chrome layer). Active item is a grey bump; brand color
       tints the icon only. */
    --sidebar-background: 0 0% 6%;       /* #0F0F0F — chrome, lifts above 2% workspace, sits below 9% cards */
    --sidebar-foreground: 220 14% 96%;   /* #F3F4F7 */
    --sidebar-primary: 218 97% 60%;      /* #3681FB — brand-lighter; tints active icon only */
    --sidebar-primary-foreground: 220 14% 96%;
    --sidebar-accent: 0 0% 13%;          /* #212121 — hover/active surface */
    --sidebar-accent-foreground: 220 14% 96%;
    --sidebar-border: 0 0% 12%;          /* #1F1F1F — quiet hairline */
    --sidebar-ring: 218 97% 53%;         /* brand ring */

    /* ── Financial colors — saturated enough to pop without going Tailwind-neon ── */
    --positive: 120 55% 50%;         /* #39C639 — Bloomberg-grade green */
    --positive-dim: 120 55% 50% / 0.16;
    --negative: 0 73% 56%;           /* #E03838 — Bloomberg-grade red */
    --negative-dim: 0 73% 56% / 0.16;

    /* ── Chart palette — OpenBB data visualization colors ── */
    --chart-1: 31 100% 50%;          /* #FF8000 */
    --chart-2: 205 86% 56%;          /* #2D9BF0 */
    --chart-3: 142 71% 45%;          /* #22C55E */
    --chart-4: 0 84% 60%;            /* #EF4444 */
    --chart-5: 207 100% 33.1%;       /* #005CA9 */
    --chart-6: 218 97% 60%;         /* #3681FB */
    --chart-7: 142 76% 36%;          /* #16A34A */
    --chart-8: 31 88% 68%;           /* #F5B166 */

    /* ── Secondary accent — zinc ── */
    --secondary-accent: 240 4% 18%;          /* #2B2B30 */
    --secondary-accent-foreground: 0 0% 100%;

    /* Glow / surface tints — defined as shadcn-aliases in legacy section below */

    /* ── Layout ── */
    --topbar-height: 48px;
    --sidebar-width: 220px;
    --sidebar-collapsed-width: 50px;
    --right-sidebar-width: 230px;

    /* ── Typography ── */
    /* Three roles, three families:
       - --font-sans:    Inter — body / dense UI / tables (UI-tuned at small sizes)
       - --font-display: Geist — landing & marketing headlines (modern, brand voice)
       - --font-mono:    Geist Mono — numerals, code, terminal data (~0.50em/glyph,
                          tighter than JetBrains Mono so dense tables read denser) */
    --font-sans: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-display: 'Geist', 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'Geist Mono', 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;
    --font-size-xs:   12px;
    --font-size-sm:   13px;
    --font-size-base: 14px;
    --font-size-md:   15px;
    --font-size-lg:   16px;
    --font-size-xl:   18px;
    --font-size-2xl:  24px;
    --font-size-3xl:  30px;
    --font-size-4xl:  40px;

    /* ── Spacing ── */
    --space-0:    2px;
    --space-half: 3px;
    --space-1:    4px;
    --space-2:    8px;
    --space-3:    12px;
    --space-4:    16px;
    --space-5:    20px;
    --space-6:    24px;
    --space-8:    32px;
    --space-10:   40px;
    --space-12:   48px;

    /* ── Radii ── */
    --radius-xs: 0px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-xl: 6px;

    /* ── Transitions ── */
    --transition-fast:   140ms ease;
    --transition-normal: 200ms ease-out;
    --transition-slow:   320ms ease;

    /* ── Layout ── */
    --right-rail-width:        56px;
    --right-dock-width:        0px;
    --widget-header-height:    28px;
    --statusbar-height:        24px;

    /* ── Row heights ── */
    --row-data:    34px;
    --row-compact: 28px;

    /* ── Z-index stack ── */
    --z-base: 0;
    --z-widget: 10;
    --z-sticky: 20;
    --z-dropdown: 50;
    --z-modal: 100;
    --z-toast: 200;
  }

/* ── Light theme override — Mira preset Neutral ── */
  .light {
    /* Inverted hierarchy: light-gray workspace, pure-white cards float on top. */
    --background: 220 17% 96%;            /* #F2F4F6 — workspace gray */
    --foreground: 218 24% 17%;            /* #1E2939 — slate text (not pure black) */

    --card: 0 0% 100%;                    /* #FFFFFF — white panel, clearly elevated */
    --card-foreground: 218 24% 17%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;

    /* Primary — near-black (Neutral light) */
    --primary: 0 0% 9%;                   /* #171717 */
    --primary-foreground: 0 0% 98%;       /* #FAFAFA */

    --secondary: 0 0% 96.1%;              /* #F5F5F5 */
    --secondary-foreground: 0 0% 9%;

    --foreground-secondary: 0 0% 32%;     /* #525252 — secondary labels (light) */

    --muted: 0 0% 96.1%;                  /* #F5F5F5 */
    --muted-foreground: 0 0% 45.1%;       /* #737373 */

    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;

    /* Hover — brand-tinted (light variant). */
    --hover: 218 87% 47% / 0.08;        /* brand @ 8% — light surface */
    --hover-foreground: 0 0% 9%;

    --destructive: 0 84.2% 60.2%;         /* #EF4444 */
    --destructive-foreground: 0 0% 98%;

    /* Brand — light variant */
    --brand: 218 87% 47%;                 /* #0F5CE0 — action-blue (light) */
    --brand-foreground: 0 0% 100%;
    --brand-soft: 218 87% 47% / 0.10;
    --brand-mid: 218 87% 47% / 0.22;
    --brand-strong: 218 87% 54%;

    --border: 220 12% 84%;                /* #D0D5DD — light-400 */
    --input: 220 12% 84%;
    --ring: 218 87% 47%;                  /* brand ring */

    --sidebar-background: 220 17% 93%;     /* #E8EBEF — chrome, recessed below the 96% workspace and 100% cards */
    --sidebar-foreground: 218 24% 17%;
    --sidebar-primary: 218 87% 47%;        /* brand — for active icon */
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 220 17% 92%;         /* darker bump for hover/active on light sidebar */
    --sidebar-accent-foreground: 218 24% 17%;
    --sidebar-border: 220 12% 88%;
    --sidebar-ring: 218 87% 47%;

    --positive: 120 55% 36%;         /* #299029 — saturated green (light) */
    --positive-dim: 120 55% 36% / 0.10;
    --negative: 0 73% 45%;           /* #C71E1E — saturated red (light) */
    --negative-dim: 0 73% 45% / 0.10;

    --chart-1: 207 100% 33.1%;       /* #005CA9 */
    --chart-2: 142 76% 36%;          /* #16A34A */
    --chart-3: 31 100% 50%;          /* #FF8000 */
    --chart-4: 0 72% 50%;            /* #DC2626 */
    --chart-5: 271 80% 58%;          /* #8B5CF6 */
    --chart-6: 45 92% 48%;           /* #EAB308 */
    --chart-7: 193 74% 42%;          /* #0891B2 */
    --chart-8: 340 75% 48%;          /* #DB2777 */

    --secondary-accent: 0 0% 91.8%;
    --secondary-accent-foreground: 0 0% 16.5%;
  }
  .dark {
    --sidebar-background: 0 0% 6%;
    --sidebar-foreground: 220 14% 96%;
    --sidebar-primary: 218 97% 60%;
    --sidebar-primary-foreground: 220 14% 96%;
    --sidebar-accent: 0 0% 13%;
    --sidebar-accent-foreground: 220 14% 96%;
    --sidebar-border: 0 0% 12%;
    --sidebar-ring: 218 97% 53%;
  }
  * {
  border-color: hsl(var(--border));
}

  html,
  body,
  #root {
    height: 100%;
  }

  html,
  body {
    overflow: hidden;
    scroll-behavior: smooth;
    overscroll-behavior: none;
  }

  body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
    margin: 0;
    font-family: var(--font-sans);
    font-feature-settings: 'rlig' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

  #root {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Tabular numerals for data values */
  .tabular-nums,
  [data-numeric] {
    font-variant-numeric: tabular-nums;
  }
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (min-width: 1400px) {

  .container {
    max-width: 1400px;
  }
}
/* ── Labels & eyebrows — small uppercase chrome ─────────────────────────
     Use for: column headers, KPI labels, eyebrow text, meta-footer labels,
     section dividers. NOT for body text or descriptions.
  */
/* ── Data display — numeric cells ───────────────────────────────────────
     Use for: any numeric value in a table or KPI tile. Locks tabular
     alignment and mono font automatically.
  */
/* ── Change pills — directional values ──────────────────────────────────
     Prefer the <ChangeChip> primitive when possible. These classes are
     for cases where the chip wrapper is unwanted (e.g. inside a tooltip
     or a single-line label).
  */
/* ── Brand chip — symbol/scope anchor ───────────────────────────────────
     Use for: symbol chips, "Primary" tags, scope-anchor markers.
  */
.dt-brand-chip {
  display: inline-flex;
  height: 1.25rem;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border-radius: 9999px;
  border-width: 1px;
  border-color: hsl(var(--brand) / 0.25);
  background-color: hsl(var(--brand) / 0.15);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 10.5px;
  font-weight: 500;
  color: hsl(var(--brand));
}
/* ── Section tabs ───────────────────────────────────────────────────────
     Active uses brand pill + bottom-rule; inactive is muted.
     Compose with: `<button className="dt-tab dt-tab--active">` or
     `<button className="dt-tab dt-tab--inactive">`.
  */
/* ── Focus ring — universal focus-visible utility ───────────────────────
     Use on any interactive element that needs a brand-coloured focus halo.
  */
.dt-focus-ring:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --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);
  --tw-ring-color: hsl(var(--ring));
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: hsl(var(--background));
}
/* ── Surfaces ───────────────────────────────────────────────────────────
     Card surface that matches widget shells. Use for popovers, modals,
     side panels — anything that needs the same elevation as a widget.
  */
.dt-card {
  border-radius: calc(var(--radius) - 1px);
  border-width: 1px;
  border-color: hsl(var(--border) / 0.4);
  background-color: hsl(var(--card));
}
/* ── Widget body shell — the standard 3-slot column container ───────────
     For widgets that don't go through <WidgetShell> (e.g. raw legacy
     bodies). Prefer the React primitive when possible.
  */
.dt-widget-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background-color: hsl(var(--card));
}
/* L1 — Subtle hover affordance for rows / list items / menu items.
     Use on: WidgetTable <tr>, DropdownMenu items, list items, sidebar
     inactive items. Never on text alone — needs a surface to tint. */
.dt-hover-row {
  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;
}
.dt-hover-row:hover {
  background-color: hsl(var(--brand) / 0.06);
}
/* L2 — Currently-selected row / item / chip. OpenBB-style selection uses
     a slate-tinted bg (NOT brand) so it doesn't compete with active states.
     Brand color stays reserved for the active interaction surface; selection
     is a different semantic (which row is currently focused). */
.dt-row-selected {
    background-color: #334859;
  }
/* L3 — Anchor / live / scope. Stronger surface + border so it reads as
     a deliberate identity marker. (Symbol chips already use dt-brand-chip;
     this is for non-chip uses like a "live" pulse dot or a locked-symbol
     stripe on a widget header.) */
.dt-live-dot {
  display: inline-block;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: hsl(var(--brand));
    box-shadow: 0 0 0 2px hsl(var(--brand) / 0.25);
    animation: dt-live-pulse 2s ease-in-out infinite;
}
/* L4 — Primary action button. Use sparingly: Save, Add, Confirm, Submit.
     Never use for "secondary primary" actions like Cancel or destructive. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.pointer-events-auto {
  pointer-events: auto;
}
.\!visible {
  visibility: visible !important;
}
.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-6 {
  inset: -1.5rem;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-12 {
  bottom: -3rem;
}
.-left-12 {
  left: -3rem;
}
.-left-16 {
  left: -4rem;
}
.-right-10 {
  right: -2.5rem;
}
.-right-12 {
  right: -3rem;
}
.-top-10 {
  top: -2.5rem;
}
.-top-12 {
  top: -3rem;
}
.-top-4 {
  top: -1rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-0\.5 {
  bottom: 0.125rem;
}
.bottom-2 {
  bottom: 0.5rem;
}
.bottom-3 {
  bottom: 0.75rem;
}
.bottom-4 {
  bottom: 1rem;
}
.bottom-6 {
  bottom: 1.5rem;
}
.bottom-full {
  bottom: 100%;
}
.left-0 {
  left: 0px;
}
.left-1 {
  left: 0.25rem;
}
.left-1\/2 {
  left: 50%;
}
.left-2 {
  left: 0.5rem;
}
.left-3 {
  left: 0.75rem;
}
.left-4 {
  left: 1rem;
}
.left-6 {
  left: 1.5rem;
}
.left-\[12px\] {
  left: 12px;
}
.left-\[2px\] {
  left: 2px;
}
.left-\[50\%\] {
  left: 50%;
}
.left-full {
  left: 100%;
}
.right-0 {
  right: 0px;
}
.right-0\.5 {
  right: 0.125rem;
}
.right-1 {
  right: 0.25rem;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.right-\[72px\] {
  right: 72px;
}
.right-sidebar {
  right: var(--sidebar-width);
}
.top-0 {
  top: 0px;
}
.top-1 {
  top: 0.25rem;
}
.top-1\.5 {
  top: 0.375rem;
}
.top-1\/2 {
  top: 50%;
}
.top-16 {
  top: 4rem;
}
.top-2 {
  top: 0.5rem;
}
.top-20 {
  top: 5rem;
}
.top-3 {
  top: 0.75rem;
}
.top-3\.5 {
  top: 0.875rem;
}
.top-4 {
  top: 1rem;
}
.top-5 {
  top: 1.25rem;
}
.top-6 {
  top: 1.5rem;
}
.top-\[1px\] {
  top: 1px;
}
.top-\[22px\] {
  top: 22px;
}
.top-\[2px\] {
  top: 2px;
}
.top-\[50\%\] {
  top: 50%;
}
.top-\[60\%\] {
  top: 60%;
}
.top-full {
  top: 100%;
}
.isolate {
  isolation: isolate;
}
.z-0 {
  z-index: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[-1\] {
  z-index: -1;
}
.z-\[0\] {
  z-index: 0;
}
.z-\[1000\] {
  z-index: 1000;
}
.z-\[100\] {
  z-index: 100;
}
.z-\[10\] {
  z-index: 10;
}
.z-\[1200\] {
  z-index: 1200;
}
.z-\[1300\] {
  z-index: 1300;
}
.z-\[1400\] {
  z-index: 1400;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[200\] {
  z-index: 200;
}
.z-\[2\] {
  z-index: 2;
}
.z-\[3\] {
  z-index: 3;
}
.z-\[500\] {
  z-index: 500;
}
.z-\[5\] {
  z-index: 5;
}
.z-\[60\] {
  z-index: 60;
}
.z-\[6\] {
  z-index: 6;
}
.z-\[7\] {
  z-index: 7;
}
.z-\[9999\] {
  z-index: 9999;
}
.z-auto {
  z-index: auto;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.order-first {
  order: -9999;
}
.order-last {
  order: 9999;
}
.col-span-12 {
  grid-column: span 12 / span 12;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.float-right {
  float: right;
}
.\!m-0 {
  margin: 0px !important;
}
.m-0 {
  margin: 0px;
}
.-mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-0 {
  margin-left: 0px;
  margin-right: 0px;
}
.mx-0\.5 {
  margin-left: 0.125rem;
  margin-right: 0.125rem;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-1\.5 {
  margin-left: 0.375rem;
  margin-right: 0.375rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.mx-3\.5 {
  margin-left: 0.875rem;
  margin-right: 0.875rem;
}
.mx-\[2px\] {
  margin-left: 2px;
  margin-right: 2px;
}
.mx-\[3px\] {
  margin-left: 3px;
  margin-right: 3px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-0\.5 {
  margin-top: 0.125rem;
  margin-bottom: 0.125rem;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.\!mt-0 {
  margin-top: 0px !important;
}
.-mb-px {
  margin-bottom: -1px;
}
.-ml-4 {
  margin-left: -1rem;
}
.-mr-1 {
  margin-right: -0.25rem;
}
.-mt-0\.5 {
  margin-top: -0.125rem;
}
.-mt-1 {
  margin-top: -0.25rem;
}
.-mt-4 {
  margin-top: -1rem;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-0\.5 {
  margin-bottom: 0.125rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-2\.5 {
  margin-bottom: 0.625rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-3\.5 {
  margin-bottom: 0.875rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-7 {
  margin-bottom: 1.75rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-\[16px\] {
  margin-bottom: 16px;
}
.mb-\[20px\] {
  margin-bottom: 20px;
}
.mb-\[5px\] {
  margin-bottom: 5px;
}
.ml-0 {
  margin-left: 0px;
}
.ml-0\.5 {
  margin-left: 0.125rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-1\.5 {
  margin-left: 0.375rem;
}
.ml-12 {
  margin-left: 3rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-2\.5 {
  margin-left: 0.625rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-5 {
  margin-left: 1.25rem;
}
.ml-7 {
  margin-left: 1.75rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-0 {
  margin-right: 0px;
}
.mr-0\.5 {
  margin-right: 0.125rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-1\.5 {
  margin-right: 0.375rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-2\.5 {
  margin-right: 0.625rem;
}
.mr-3\.5 {
  margin-right: 0.875rem;
}
.mr-5 {
  margin-right: 1.25rem;
}
.mr-\[5px\] {
  margin-right: 5px;
}
.mr-auto {
  margin-right: 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-16 {
  margin-top: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-2\.5 {
  margin-top: 0.625rem;
}
.mt-24 {
  margin-top: 6rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-3\.5 {
  margin-top: 0.875rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-\[1px\] {
  margin-top: 1px;
}
.mt-\[3px\] {
  margin-top: 3px;
}
.mt-auto {
  margin-top: auto;
}
.mt-px {
  margin-top: 1px;
}
.box-border {
  box-sizing: border-box;
}
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.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 !important;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.\!table {
  display: table !important;
}
.table {
  display: table;
}
.\!grid {
  display: grid !important;
}
.grid {
  display: grid;
}
.inline-grid {
  display: inline-grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.aspect-\[16\/10\] {
  aspect-ratio: 16/10;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.size-10 {
  width: 2.5rem;
  height: 2.5rem;
}
.size-3 {
  width: 0.75rem;
  height: 0.75rem;
}
.size-3\.5 {
  width: 0.875rem;
  height: 0.875rem;
}
.size-4 {
  width: 1rem;
  height: 1rem;
}
.size-5 {
  width: 1.25rem;
  height: 1.25rem;
}
.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.size-7 {
  width: 1.75rem;
  height: 1.75rem;
}
.size-8 {
  width: 2rem;
  height: 2rem;
}
.size-\[--cell-size\] {
  width: var(--cell-size);
  height: var(--cell-size);
}
.h-0 {
  height: 0px;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[--cell-size\] {
  height: var(--cell-size);
}
.h-\[10px\] {
  height: 10px;
}
.h-\[11px\] {
  height: 11px;
}
.h-\[120px\] {
  height: 120px;
}
.h-\[13px\] {
  height: 13px;
}
.h-\[140px\] {
  height: 140px;
}
.h-\[14px\] {
  height: 14px;
}
.h-\[150px\] {
  height: 150px;
}
.h-\[160px\] {
  height: 160px;
}
.h-\[180px\] {
  height: 180px;
}
.h-\[18px\] {
  height: 18px;
}
.h-\[1px\] {
  height: 1px;
}
.h-\[200px\] {
  height: 200px;
}
.h-\[20px\] {
  height: 20px;
}
.h-\[220px\] {
  height: 220px;
}
.h-\[22px\] {
  height: 22px;
}
.h-\[24px\] {
  height: 24px;
}
.h-\[250px\] {
  height: 250px;
}
.h-\[26px\] {
  height: 26px;
}
.h-\[280px\] {
  height: 280px;
}
.h-\[28px\] {
  height: 28px;
}
.h-\[2px\] {
  height: 2px;
}
.h-\[30px\] {
  height: 30px;
}
.h-\[32px\] {
  height: 32px;
}
.h-\[34px\] {
  height: 34px;
}
.h-\[360px\] {
  height: 360px;
}
.h-\[38px\] {
  height: 38px;
}
.h-\[3px\] {
  height: 3px;
}
.h-\[48px\] {
  height: 48px;
}
.h-\[56px\] {
  height: 56px;
}
.h-\[5px\] {
  height: 5px;
}
.h-\[60px\] {
  height: 60px;
}
.h-\[6px\] {
  height: 6px;
}
.h-\[70\%\] {
  height: 70%;
}
.h-\[70px\] {
  height: 70px;
}
.h-\[70vh\] {
  height: 70vh;
}
.h-\[72px\] {
  height: 72px;
}
.h-\[80\%\] {
  height: 80%;
}
.h-\[85vh\] {
  height: 85vh;
}
.h-\[9px\] {
  height: 9px;
}
.h-\[var\(--radix-navigation-menu-viewport-height\)\] {
  height: var(--radix-navigation-menu-viewport-height);
}
.h-\[var\(--radix-select-trigger-height\)\] {
  height: var(--radix-select-trigger-height);
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-screen {
  height: 100vh;
}
.h-svh {
  height: 100svh;
}
.max-h-0 {
  max-height: 0px;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-56 {
  max-height: 14rem;
}
.max-h-72 {
  max-height: 18rem;
}
.max-h-96 {
  max-height: 24rem;
}
.max-h-\[--radix-context-menu-content-available-height\] {
  max-height: var(--radix-context-menu-content-available-height);
}
.max-h-\[100px\] {
  max-height: 100px;
}
.max-h-\[2000px\] {
  max-height: 2000px;
}
.max-h-\[200px\] {
  max-height: 200px;
}
.max-h-\[240px\] {
  max-height: 240px;
}
.max-h-\[260px\] {
  max-height: 260px;
}
.max-h-\[280px\] {
  max-height: 280px;
}
.max-h-\[300px\] {
  max-height: 300px;
}
.max-h-\[320px\] {
  max-height: 320px;
}
.max-h-\[350px\] {
  max-height: 350px;
}
.max-h-\[360px\] {
  max-height: 360px;
}
.max-h-\[400px\] {
  max-height: 400px;
}
.max-h-\[440px\] {
  max-height: 440px;
}
.max-h-\[460px\] {
  max-height: 460px;
}
.max-h-\[60vh\] {
  max-height: 60vh;
}
.max-h-\[70vh\] {
  max-height: 70vh;
}
.max-h-\[750px\] {
  max-height: 750px;
}
.max-h-\[80vh\] {
  max-height: 80vh;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-\[calc\(100vh-160px\)\] {
  max-height: calc(100vh - 160px);
}
.max-h-\[min\(72vh\2c 640px\)\] {
  max-height: min(72vh, 640px);
}
.max-h-\[min\(92vh\2c 720px\)\] {
  max-height: min(92vh, 720px);
}
.max-h-\[min\(92vh\2c 780px\)\] {
  max-height: min(92vh, 780px);
}
.max-h-screen {
  max-height: 100vh;
}
.\!min-h-\[120px\] {
  min-height: 120px !important;
}
.\!min-h-\[40px\] {
  min-height: 40px !important;
}
.\!min-h-\[96px\] {
  min-height: 96px !important;
}
.min-h-0 {
  min-height: 0px;
}
.min-h-10 {
  min-height: 2.5rem;
}
.min-h-11 {
  min-height: 2.75rem;
}
.min-h-20 {
  min-height: 5rem;
}
.min-h-24 {
  min-height: 6rem;
}
.min-h-7 {
  min-height: 1.75rem;
}
.min-h-8 {
  min-height: 2rem;
}
.min-h-9 {
  min-height: 2.25rem;
}
.min-h-\[104px\] {
  min-height: 104px;
}
.min-h-\[120px\] {
  min-height: 120px;
}
.min-h-\[180px\] {
  min-height: 180px;
}
.min-h-\[200px\] {
  min-height: 200px;
}
.min-h-\[24px\] {
  min-height: 24px;
}
.min-h-\[300px\] {
  min-height: 300px;
}
.min-h-\[36px\] {
  min-height: 36px;
}
.min-h-\[38px\] {
  min-height: 38px;
}
.min-h-\[400px\] {
  min-height: 400px;
}
.min-h-\[42px\] {
  min-height: 42px;
}
.min-h-\[45vh\] {
  min-height: 45vh;
}
.min-h-\[48px\] {
  min-height: 48px;
}
.min-h-\[50vh\] {
  min-height: 50vh;
}
.min-h-\[80px\] {
  min-height: 80px;
}
.min-h-full {
  min-height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.min-h-svh {
  min-height: 100svh;
}
.w-0\.5 {
  width: 0.125rem;
}
.w-1 {
  width: 0.25rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-1\/2 {
  width: 50%;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-20 {
  width: 5rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-3\/4 {
  width: 75%;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-40 {
  width: 10rem;
}
.w-44 {
  width: 11rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-52 {
  width: 13rem;
}
.w-56 {
  width: 14rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-7 {
  width: 1.75rem;
}
.w-72 {
  width: 18rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[--cell-size\] {
  width: var(--cell-size);
}
.w-\[--sidebar-width\] {
  width: var(--sidebar-width);
}
.w-\[100px\] {
  width: 100px;
}
.w-\[110px\] {
  width: 110px;
}
.w-\[120px\] {
  width: 120px;
}
.w-\[130px\] {
  width: 130px;
}
.w-\[138px\] {
  width: 138px;
}
.w-\[13px\] {
  width: 13px;
}
.w-\[140px\] {
  width: 140px;
}
.w-\[14px\] {
  width: 14px;
}
.w-\[150px\] {
  width: 150px;
}
.w-\[160px\] {
  width: 160px;
}
.w-\[170px\] {
  width: 170px;
}
.w-\[180px\] {
  width: 180px;
}
.w-\[18px\] {
  width: 18px;
}
.w-\[1px\] {
  width: 1px;
}
.w-\[200px\] {
  width: 200px;
}
.w-\[20px\] {
  width: 20px;
}
.w-\[220px\] {
  width: 220px;
}
.w-\[22px\] {
  width: 22px;
}
.w-\[240px\] {
  width: 240px;
}
.w-\[26px\] {
  width: 26px;
}
.w-\[280px\] {
  width: 280px;
}
.w-\[28px\] {
  width: 28px;
}
.w-\[296px\] {
  width: 296px;
}
.w-\[2px\] {
  width: 2px;
}
.w-\[300px\] {
  width: 300px;
}
.w-\[30px\] {
  width: 30px;
}
.w-\[320px\] {
  width: 320px;
}
.w-\[340px\] {
  width: 340px;
}
.w-\[360px\] {
  width: 360px;
}
.w-\[3px\] {
  width: 3px;
}
.w-\[40px\] {
  width: 40px;
}
.w-\[42px\] {
  width: 42px;
}
.w-\[44px\] {
  width: 44px;
}
.w-\[460px\] {
  width: 460px;
}
.w-\[46px\] {
  width: 46px;
}
.w-\[480px\] {
  width: 480px;
}
.w-\[50px\] {
  width: 50px;
}
.w-\[52px\] {
  width: 52px;
}
.w-\[54px\] {
  width: 54px;
}
.w-\[560px\] {
  width: 560px;
}
.w-\[56px\] {
  width: 56px;
}
.w-\[5px\] {
  width: 5px;
}
.w-\[60\%\] {
  width: 60%;
}
.w-\[60px\] {
  width: 60px;
}
.w-\[640px\] {
  width: 640px;
}
.w-\[64px\] {
  width: 64px;
}
.w-\[6px\] {
  width: 6px;
}
.w-\[70\%\] {
  width: 70%;
}
.w-\[70px\] {
  width: 70px;
}
.w-\[72px\] {
  width: 72px;
}
.w-\[75px\] {
  width: 75px;
}
.w-\[80px\] {
  width: 80px;
}
.w-\[86px\] {
  width: 86px;
}
.w-\[88px\] {
  width: 88px;
}
.w-\[90px\] {
  width: 90px;
}
.w-\[90vw\] {
  width: 90vw;
}
.w-\[96px\] {
  width: 96px;
}
.w-\[calc\(100\%-1\.5rem\)\] {
  width: calc(100% - 1.5rem);
}
.w-\[min\(92vw\2c 720px\)\] {
  width: min(92vw, 720px);
}
.w-\[var\(--radix-dropdown-menu-trigger-width\)\] {
  width: var(--radix-dropdown-menu-trigger-width);
}
.w-\[var\(--width\2c 360px\)\] {
  width: var(--width,360px);
}
.w-auto {
  width: auto;
}
.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.w-max {
  width: -moz-max-content;
  width: max-content;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-10 {
  min-width: 2.5rem;
}
.min-w-11 {
  min-width: 2.75rem;
}
.min-w-5 {
  min-width: 1.25rem;
}
.min-w-9 {
  min-width: 2.25rem;
}
.min-w-\[--cell-size\] {
  min-width: var(--cell-size);
}
.min-w-\[100px\] {
  min-width: 100px;
}
.min-w-\[10rem\] {
  min-width: 10rem;
}
.min-w-\[1100px\] {
  min-width: 1100px;
}
.min-w-\[110px\] {
  min-width: 110px;
}
.min-w-\[120px\] {
  min-width: 120px;
}
.min-w-\[12rem\] {
  min-width: 12rem;
}
.min-w-\[132px\] {
  min-width: 132px;
}
.min-w-\[140px\] {
  min-width: 140px;
}
.min-w-\[150px\] {
  min-width: 150px;
}
.min-w-\[160px\] {
  min-width: 160px;
}
.min-w-\[170px\] {
  min-width: 170px;
}
.min-w-\[180px\] {
  min-width: 180px;
}
.min-w-\[18px\] {
  min-width: 18px;
}
.min-w-\[200px\] {
  min-width: 200px;
}
.min-w-\[20px\] {
  min-width: 20px;
}
.min-w-\[220px\] {
  min-width: 220px;
}
.min-w-\[240px\] {
  min-width: 240px;
}
.min-w-\[260px\] {
  min-width: 260px;
}
.min-w-\[28px\] {
  min-width: 28px;
}
.min-w-\[320px\] {
  min-width: 320px;
}
.min-w-\[32px\] {
  min-width: 32px;
}
.min-w-\[3em\] {
  min-width: 3em;
}
.min-w-\[48px\] {
  min-width: 48px;
}
.min-w-\[58px\] {
  min-width: 58px;
}
.min-w-\[60px\] {
  min-width: 60px;
}
.min-w-\[68px\] {
  min-width: 68px;
}
.min-w-\[80px\] {
  min-width: 80px;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.min-w-\[90px\] {
  min-width: 90px;
}
.min-w-\[var\(--radix-select-trigger-width\)\] {
  min-width: var(--radix-select-trigger-width);
}
.min-w-max {
  min-width: -moz-max-content;
  min-width: max-content;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-\[--skeleton-width\] {
  max-width: var(--skeleton-width);
}
.max-w-\[1000px\] {
  max-width: 1000px;
}
.max-w-\[1100px\] {
  max-width: 1100px;
}
.max-w-\[110px\] {
  max-width: 110px;
}
.max-w-\[112px\] {
  max-width: 112px;
}
.max-w-\[1160px\] {
  max-width: 1160px;
}
.max-w-\[1200px\] {
  max-width: 1200px;
}
.max-w-\[1240px\] {
  max-width: 1240px;
}
.max-w-\[140px\] {
  max-width: 140px;
}
.max-w-\[160px\] {
  max-width: 160px;
}
.max-w-\[180px\] {
  max-width: 180px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-\[220px\] {
  max-width: 220px;
}
.max-w-\[240px\] {
  max-width: 240px;
}
.max-w-\[260px\] {
  max-width: 260px;
}
.max-w-\[280px\] {
  max-width: 280px;
}
.max-w-\[28px\] {
  max-width: 28px;
}
.max-w-\[300px\] {
  max-width: 300px;
}
.max-w-\[320px\] {
  max-width: 320px;
}
.max-w-\[360px\] {
  max-width: 360px;
}
.max-w-\[380px\] {
  max-width: 380px;
}
.max-w-\[400px\] {
  max-width: 400px;
}
.max-w-\[420px\] {
  max-width: 420px;
}
.max-w-\[440px\] {
  max-width: 440px;
}
.max-w-\[448px\] {
  max-width: 448px;
}
.max-w-\[460px\] {
  max-width: 460px;
}
.max-w-\[480px\] {
  max-width: 480px;
}
.max-w-\[500px\] {
  max-width: 500px;
}
.max-w-\[520px\] {
  max-width: 520px;
}
.max-w-\[580px\] {
  max-width: 580px;
}
.max-w-\[60\%\] {
  max-width: 60%;
}
.max-w-\[600px\] {
  max-width: 600px;
}
.max-w-\[620px\] {
  max-width: 620px;
}
.max-w-\[760px\] {
  max-width: 760px;
}
.max-w-\[85\%\] {
  max-width: 85%;
}
.max-w-\[860px\] {
  max-width: 860px;
}
.max-w-\[900px\] {
  max-width: 900px;
}
.max-w-\[95vw\] {
  max-width: 95vw;
}
.max-w-\[960px\] {
  max-width: 960px;
}
.max-w-\[calc\(100\%-2rem\)\] {
  max-width: calc(100% - 2rem);
}
.max-w-\[min\(92vw\2c 720px\)\] {
  max-width: min(92vw, 720px);
}
.max-w-\[min\(96vw\2c 720px\)\] {
  max-width: min(96vw, 720px);
}
.max-w-full {
  max-width: 100%;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-max {
  max-width: -moz-max-content;
  max-width: max-content;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-none {
  max-width: none;
}
.max-w-screen-xl {
  max-width: 1280px;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xs {
  max-width: 20rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-\[0_0_200px\] {
  flex: 0 0 200px;
}
.flex-\[2\] {
  flex: 2;
}
.flex-auto {
  flex: 1 1 auto;
}
.flex-none {
  flex: none;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink {
  flex-shrink: 1;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.grow-0 {
  flex-grow: 0;
}
.basis-full {
  flex-basis: 100%;
}
.table-fixed {
  table-layout: fixed;
}
.caption-bottom {
  caption-side: bottom;
}
.border-collapse {
  border-collapse: collapse;
}
.border-separate {
  border-collapse: separate;
}
.border-spacing-0 {
  --tw-border-spacing-x: 0px;
  --tw-border-spacing-y: 0px;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
}
.origin-\[--radix-context-menu-content-transform-origin\] {
  transform-origin: var(--radix-context-menu-content-transform-origin);
}
.origin-\[--radix-hover-card-content-transform-origin\] {
  transform-origin: var(--radix-hover-card-content-transform-origin);
}
.origin-\[--radix-menubar-content-transform-origin\] {
  transform-origin: var(--radix-menubar-content-transform-origin);
}
.origin-\[--radix-tooltip-content-transform-origin\] {
  transform-origin: var(--radix-tooltip-content-transform-origin);
}
.origin-left {
  transform-origin: left;
}
.-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-x-px {
  --tw-translate-x: -1px;
  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));
}
.translate-x-\[-50\%\] {
  --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-x-px {
  --tw-translate-x: 1px;
  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-\[-50\%\] {
  --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-90 {
  --tw-rotate: -90deg;
  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-0 {
  --tw-rotate: 0deg;
  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-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));
}
.rotate-90 {
  --tw-rotate: 90deg;
  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 ping {

  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-col-resize {
  cursor: col-resize;
}
.cursor-crosshair {
  cursor: crosshair;
}
.cursor-default {
  cursor: default;
}
.cursor-grab {
  cursor: grab;
}
.cursor-help {
  cursor: help;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-text {
  cursor: text;
}
.touch-none {
  touch-action: none;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.select-text {
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}
.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}
.resize-none {
  resize: none;
}
.resize-y {
  resize: vertical;
}
.resize {
  resize: both;
}
.scroll-mt-\[112px\] {
  scroll-margin-top: 112px;
}
.list-none {
  list-style-type: none;
}
.\!grid-cols-\[30fr_70fr\] {
  grid-template-columns: 30fr 70fr !important;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-12 {
  grid-template-columns: repeat(12, 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-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-\[1\.2fr_0\.8fr\] {
  grid-template-columns: 1.2fr 0.8fr;
}
.grid-cols-\[1\.2fr_0\.8fr_1fr_1fr_1fr\] {
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1fr;
}
.grid-cols-\[1fr_auto_1fr\] {
  grid-template-columns: 1fr auto 1fr;
}
.grid-cols-\[60px_1fr_56px\] {
  grid-template-columns: 60px 1fr 56px;
}
.grid-cols-\[60px_60px_1fr_50px_60px\] {
  grid-template-columns: 60px 60px 1fr 50px 60px;
}
.grid-cols-\[68px_1fr_auto\] {
  grid-template-columns: 68px 1fr auto;
}
.grid-cols-\[80px_1fr_1fr_50px\] {
  grid-template-columns: 80px 1fr 1fr 50px;
}
.grid-cols-\[80px_1fr_44px\] {
  grid-template-columns: 80px 1fr 44px;
}
.grid-cols-\[96px_1fr_72px\] {
  grid-template-columns: 96px 1fr 72px;
}
.grid-cols-\[minmax\(0\2c 1\.6fr\)_minmax\(280px\2c 0\.9fr\)\] {
  grid-template-columns: minmax(0,1.6fr) minmax(280px,0.9fr);
}
.grid-cols-\[minmax\(0\2c 1fr\)_auto_minmax\(0\2c 1fr\)\] {
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
}
.grid-cols-\[minmax\(0\2c 1fr\)_minmax\(0\2c 1fr\)_minmax\(0\2c 1fr\)\] {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
}
.grid-cols-\[repeat\(auto-fill\2c minmax\(240px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
}
.grid-cols-\[repeat\(auto-fill\2c minmax\(290px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
}
.grid-cols-\[repeat\(auto-fit\2c minmax\(120px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
}
.flex-row {
  flex-direction: row;
}
.\!flex-col {
  flex-direction: column !important;
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.content-between {
  align-content: space-between;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.\!items-center {
  align-items: center !important;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.\!items-stretch {
  align-items: stretch !important;
}
.items-stretch {
  align-items: stretch;
}
.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 {
  gap: 0px;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-10 {
  gap: 2.5rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-3\.5 {
  gap: 0.875rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-\[10px\] {
  gap: 10px;
}
.gap-\[12px\] {
  gap: 12px;
}
.gap-\[18px\] {
  gap: 18px;
}
.gap-\[1px\] {
  gap: 1px;
}
.gap-\[3px\] {
  gap: 3px;
}
.gap-\[8px\] {
  gap: 8px;
}
.gap-px {
  gap: 1px;
}
.gap-x-2 {
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}
.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.gap-x-5 {
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
}
.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}
.gap-x-7 {
  -moz-column-gap: 1.75rem;
       column-gap: 1.75rem;
}
.gap-x-px {
  -moz-column-gap: 1px;
       column-gap: 1px;
}
.gap-y-0\.5 {
  row-gap: 0.125rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.gap-y-px {
  row-gap: 1px;
}
.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-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-0 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0px * var(--tw-space-y-reverse));
}
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-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-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * 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-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * 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));
}
.divide-x > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-x-reverse: 0;
  border-right-width: calc(1px * var(--tw-divide-x-reverse));
  border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-border > :not([hidden]) ~ :not([hidden]) {
  border-color: hsl(var(--border));
}
.divide-border\/40 > :not([hidden]) ~ :not([hidden]) {
  border-color: hsl(var(--border) / 0.4);
}
.divide-border\/60 > :not([hidden]) ~ :not([hidden]) {
  border-color: hsl(var(--border) / 0.6);
}
.self-start {
  align-self: flex-start;
}
.self-center {
  align-self: center;
}
.self-stretch {
  align-self: stretch;
}
.justify-self-start {
  justify-self: start;
}
.justify-self-end {
  justify-self: end;
}
.justify-self-center {
  justify-self: center;
}
.overflow-auto {
  overflow: auto;
}
.\!overflow-hidden {
  overflow: hidden !important;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-visible {
  overflow: visible;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.overflow-y-hidden {
  overflow-y: hidden;
}
.scroll-smooth {
  scroll-behavior: smooth;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.whitespace-normal {
  white-space: normal;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre {
  white-space: pre;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.text-balance {
  text-wrap: balance;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[28px\] {
  border-radius: 28px;
}
.rounded-\[2px\] {
  border-radius: 2px;
}
.rounded-\[3px\] {
  border-radius: 3px;
}
.rounded-\[4px\] {
  border-radius: 4px;
}
.rounded-\[calc\(var\(--radius\)-5px\)\] {
  border-radius: calc(var(--radius) - 5px);
}
.rounded-\[inherit\] {
  border-radius: inherit;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: calc(var(--radius) - 1px);
}
.rounded-none {
  border-radius: 0px;
}
.rounded-sm {
  border-radius: calc(var(--radius) - 2px);
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-l-md {
  border-top-left-radius: calc(var(--radius) - 1px);
  border-bottom-left-radius: calc(var(--radius) - 1px);
}
.rounded-l-sm {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}
.rounded-r-full {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}
.rounded-r-md {
  border-top-right-radius: calc(var(--radius) - 1px);
  border-bottom-right-radius: calc(var(--radius) - 1px);
}
.rounded-r-sm {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}
.rounded-t-\[10px\] {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.rounded-t-\[inherit\] {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.rounded-t-md {
  border-top-left-radius: calc(var(--radius) - 1px);
  border-top-right-radius: calc(var(--radius) - 1px);
}
.rounded-tl-sm {
  border-top-left-radius: calc(var(--radius) - 2px);
}
.\!border {
  border-width: 1px !important;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-x {
  border-left-width: 1px;
  border-right-width: 1px;
}
.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-0 {
  border-bottom-width: 0px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-2 {
  border-left-width: 2px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.\!border-solid {
  border-style: solid !important;
}
.border-dashed {
  border-style: dashed;
}
.border-none {
  border-style: none;
}
.\!border-border {
  border-color: hsl(var(--border)) !important;
}
.\!border-muted-foreground\/40 {
  border-color: hsl(var(--muted-foreground) / 0.4) !important;
}
.border-\[color-mix\(in_srgb\2c hsl\(var\(--brand\)\)_25\%\2c hsl\(var\(--border\)\)\)\] {
  border-color: color-mix(in srgb,hsl(var(--brand)) 25%,hsl(var(--border)));
}
.border-\[hsl\(var\(--primary\)\)\] {
  border-color: hsl(var(--primary));
}
.border-\[rgba\(90\2c 154\2c 110\2c 0\.3\)\] {
  border-color: rgba(90,154,110,0.3);
}
.border-amber-400 {
  --tw-border-opacity: 1;
  border-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
}
.border-amber-500\/20 {
  border-color: rgb(245 158 11 / 0.2);
}
.border-amber-500\/30 {
  border-color: rgb(245 158 11 / 0.3);
}
.border-amber-500\/40 {
  border-color: rgb(245 158 11 / 0.4);
}
.border-background {
  border-color: hsl(var(--background));
}
.border-blue-500\/15 {
  border-color: rgb(59 130 246 / 0.15);
}
.border-border {
  border-color: hsl(var(--border));
}
.border-border\/10 {
  border-color: hsl(var(--border) / 0.1);
}
.border-border\/20 {
  border-color: hsl(var(--border) / 0.2);
}
.border-border\/30 {
  border-color: hsl(var(--border) / 0.3);
}
.border-border\/40 {
  border-color: hsl(var(--border) / 0.4);
}
.border-border\/50 {
  border-color: hsl(var(--border) / 0.5);
}
.border-border\/55 {
  border-color: hsl(var(--border) / 0.55);
}
.border-border\/60 {
  border-color: hsl(var(--border) / 0.6);
}
.border-border\/80 {
  border-color: hsl(var(--border) / 0.8);
}
.border-brand {
  border-color: hsl(var(--brand));
}
.border-brand-strong\/40 {
  border-color: hsl(var(--brand-strong) / 0.4);
}
.border-brand\/20 {
  border-color: hsl(var(--brand) / 0.2);
}
.border-brand\/25 {
  border-color: hsl(var(--brand) / 0.25);
}
.border-brand\/30 {
  border-color: hsl(var(--brand) / 0.3);
}
.border-brand\/40 {
  border-color: hsl(var(--brand) / 0.4);
}
.border-brand\/60 {
  border-color: hsl(var(--brand) / 0.6);
}
.border-destructive {
  border-color: hsl(var(--destructive));
}
.border-destructive\/20 {
  border-color: hsl(var(--destructive) / 0.2);
}
.border-destructive\/30 {
  border-color: hsl(var(--destructive) / 0.3);
}
.border-destructive\/50 {
  border-color: hsl(var(--destructive) / 0.5);
}
.border-foreground {
  border-color: hsl(var(--foreground));
}
.border-foreground\/30 {
  border-color: hsl(var(--foreground) / 0.3);
}
.border-foreground\/\[0\.08\] {
  border-color: hsl(var(--foreground) / 0.08);
}
.border-indigo-400 {
  --tw-border-opacity: 1;
  border-color: rgb(129 140 248 / var(--tw-border-opacity, 1));
}
.border-indigo-500\/20 {
  border-color: rgb(99 102 241 / 0.2);
}
.border-input {
  border-color: hsl(var(--input));
}
.border-muted-foreground\/30 {
  border-color: hsl(var(--muted-foreground) / 0.3);
}
.border-muted-foreground\/40 {
  border-color: hsl(var(--muted-foreground) / 0.4);
}
.border-negative {
  border-color: hsl(var(--negative));
}
.border-negative\/20 {
  border-color: hsl(var(--negative) / 0.2);
}
.border-negative\/25 {
  border-color: hsl(var(--negative) / 0.25);
}
.border-negative\/30 {
  border-color: hsl(var(--negative) / 0.3);
}
.border-negative\/40 {
  border-color: hsl(var(--negative) / 0.4);
}
.border-positive {
  border-color: hsl(var(--positive));
}
.border-positive\/20 {
  border-color: hsl(var(--positive) / 0.2);
}
.border-positive\/30 {
  border-color: hsl(var(--positive) / 0.3);
}
.border-positive\/40 {
  border-color: hsl(var(--positive) / 0.4);
}
.border-primary {
  border-color: hsl(var(--primary));
}
.border-primary\/20 {
  border-color: hsl(var(--primary) / 0.2);
}
.border-primary\/50 {
  border-color: hsl(var(--primary) / 0.5);
}
.border-red-500\/10 {
  border-color: rgb(239 68 68 / 0.1);
}
.border-red-500\/20 {
  border-color: rgb(239 68 68 / 0.2);
}
.border-ring {
  border-color: hsl(var(--ring));
}
.border-ring\/60 {
  border-color: hsl(var(--ring) / 0.6);
}
.border-sidebar-border {
  border-color: hsl(var(--sidebar-border));
}
.border-transparent {
  border-color: transparent;
}
.border-b-primary {
  border-bottom-color: hsl(var(--primary));
}
.border-b-transparent {
  border-bottom-color: transparent;
}
.border-l-transparent {
  border-left-color: transparent;
}
.border-t-ring {
  border-top-color: hsl(var(--ring));
}
.border-t-transparent {
  border-top-color: transparent;
}
.\!bg-accent\/10 {
  background-color: hsl(var(--accent) / 0.1) !important;
}
.bg-\[\#000\] {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-\[color-mix\(in_srgb\2c hsl\(var\(--brand\)\)_12\%\2c hsl\(var\(--card\)\)\)\] {
  background-color: color-mix(in srgb,hsl(var(--brand)) 12%,hsl(var(--card)));
}
.bg-\[hsl\(var\(--background\)\)\] {
  background-color: hsl(var(--background));
}
.bg-\[hsl\(var\(--border\)\)\] {
  background-color: hsl(var(--border));
}
.bg-\[hsl\(var\(--card\)\)\] {
  background-color: hsl(var(--card));
}
.bg-\[hsl\(var\(--foreground\)\)\] {
  background-color: hsl(var(--foreground));
}
.bg-\[hsl\(var\(--primary\)\)\] {
  background-color: hsl(var(--primary));
}
.bg-\[hsl\(var\(--secondary-accent\)\)\] {
  background-color: hsl(var(--secondary-accent));
}
.bg-\[rgba\(245\2c 177\2c 102\2c 0\.10\)\] {
  background-color: rgba(245,177,102,0.10);
}
.bg-\[rgba\(90\2c 154\2c 110\2c 0\.15\)\] {
  background-color: rgba(90,154,110,0.15);
}
.bg-accent {
  background-color: hsl(var(--accent));
}
.bg-accent\/10 {
  background-color: hsl(var(--accent) / 0.1);
}
.bg-accent\/20 {
  background-color: hsl(var(--accent) / 0.2);
}
.bg-accent\/30 {
  background-color: hsl(var(--accent) / 0.3);
}
.bg-accent\/40 {
  background-color: hsl(var(--accent) / 0.4);
}
.bg-accent\/50 {
  background-color: hsl(var(--accent) / 0.5);
}
.bg-accent\/60 {
  background-color: hsl(var(--accent) / 0.6);
}
.bg-accent\/70 {
  background-color: hsl(var(--accent) / 0.7);
}
.bg-amber-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(252 211 77 / var(--tw-bg-opacity, 1));
}
.bg-amber-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}
.bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.bg-amber-500\/10 {
  background-color: rgb(245 158 11 / 0.1);
}
.bg-amber-500\/15 {
  background-color: rgb(245 158 11 / 0.15);
}
.bg-amber-500\/20 {
  background-color: rgb(245 158 11 / 0.2);
}
.bg-amber-500\/60 {
  background-color: rgb(245 158 11 / 0.6);
}
.bg-background {
  background-color: hsl(var(--background));
}
.bg-background\/30 {
  background-color: hsl(var(--background) / 0.3);
}
.bg-background\/40 {
  background-color: hsl(var(--background) / 0.4);
}
.bg-background\/50 {
  background-color: hsl(var(--background) / 0.5);
}
.bg-background\/55 {
  background-color: hsl(var(--background) / 0.55);
}
.bg-background\/60 {
  background-color: hsl(var(--background) / 0.6);
}
.bg-background\/70 {
  background-color: hsl(var(--background) / 0.7);
}
.bg-background\/80 {
  background-color: hsl(var(--background) / 0.8);
}
.bg-background\/90 {
  background-color: hsl(var(--background) / 0.9);
}
.bg-background\/95 {
  background-color: hsl(var(--background) / 0.95);
}
.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}
.bg-blue-500\/5 {
  background-color: rgb(59 130 246 / 0.05);
}
.bg-border {
  background-color: hsl(var(--border));
}
.bg-border\/30 {
  background-color: hsl(var(--border) / 0.3);
}
.bg-border\/40 {
  background-color: hsl(var(--border) / 0.4);
}
.bg-border\/50 {
  background-color: hsl(var(--border) / 0.5);
}
.bg-border\/60 {
  background-color: hsl(var(--border) / 0.6);
}
.bg-border\/70 {
  background-color: hsl(var(--border) / 0.7);
}
.bg-brand {
  background-color: hsl(var(--brand));
}
.bg-brand-soft {
  background-color: hsl(var(--brand-soft));
}
.bg-brand\/10 {
  background-color: hsl(var(--brand) / 0.1);
}
.bg-brand\/15 {
  background-color: hsl(var(--brand) / 0.15);
}
.bg-brand\/20 {
  background-color: hsl(var(--brand) / 0.2);
}
.bg-brand\/5 {
  background-color: hsl(var(--brand) / 0.05);
}
.bg-brand\/\[0\.12\] {
  background-color: hsl(var(--brand) / 0.12);
}
.bg-card {
  background-color: hsl(var(--card));
}
.bg-card\/20 {
  background-color: hsl(var(--card) / 0.2);
}
.bg-card\/30 {
  background-color: hsl(var(--card) / 0.3);
}
.bg-card\/40 {
  background-color: hsl(var(--card) / 0.4);
}
.bg-card\/50 {
  background-color: hsl(var(--card) / 0.5);
}
.bg-card\/60 {
  background-color: hsl(var(--card) / 0.6);
}
.bg-card\/80 {
  background-color: hsl(var(--card) / 0.8);
}
.bg-card\/95 {
  background-color: hsl(var(--card) / 0.95);
}
.bg-destructive {
  background-color: hsl(var(--destructive));
}
.bg-destructive\/10 {
  background-color: hsl(var(--destructive) / 0.1);
}
.bg-destructive\/15 {
  background-color: hsl(var(--destructive) / 0.15);
}
.bg-destructive\/5 {
  background-color: hsl(var(--destructive) / 0.05);
}
.bg-destructive\/90 {
  background-color: hsl(var(--destructive) / 0.9);
}
.bg-emerald-500\/15 {
  background-color: rgb(16 185 129 / 0.15);
}
.bg-foreground {
  background-color: hsl(var(--foreground));
}
.bg-foreground\/10 {
  background-color: hsl(var(--foreground) / 0.1);
}
.bg-foreground\/60 {
  background-color: hsl(var(--foreground) / 0.6);
}
.bg-foreground\/70 {
  background-color: hsl(var(--foreground) / 0.7);
}
.bg-foreground\/80 {
  background-color: hsl(var(--foreground) / 0.8);
}
.bg-foreground\/\[0\.04\] {
  background-color: hsl(var(--foreground) / 0.04);
}
.bg-foreground\/\[0\.06\] {
  background-color: hsl(var(--foreground) / 0.06);
}
.bg-foreground\/\[0\.65\] {
  background-color: hsl(var(--foreground) / 0.65);
}
.bg-hover {
  background-color: hsl(var(--hover));
}
.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}
.bg-indigo-500\/10 {
  background-color: rgb(99 102 241 / 0.1);
}
.bg-input {
  background-color: hsl(var(--input));
}
.bg-muted {
  background-color: hsl(var(--muted));
}
.bg-muted-foreground {
  background-color: hsl(var(--muted-foreground));
}
.bg-muted-foreground\/40 {
  background-color: hsl(var(--muted-foreground) / 0.4);
}
.bg-muted\/10 {
  background-color: hsl(var(--muted) / 0.1);
}
.bg-muted\/15 {
  background-color: hsl(var(--muted) / 0.15);
}
.bg-muted\/20 {
  background-color: hsl(var(--muted) / 0.2);
}
.bg-muted\/30 {
  background-color: hsl(var(--muted) / 0.3);
}
.bg-muted\/40 {
  background-color: hsl(var(--muted) / 0.4);
}
.bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}
.bg-muted\/60 {
  background-color: hsl(var(--muted) / 0.6);
}
.bg-muted\/70 {
  background-color: hsl(var(--muted) / 0.7);
}
.bg-negative {
  background-color: hsl(var(--negative));
}
.bg-negative\/10 {
  background-color: hsl(var(--negative) / 0.1);
}
.bg-negative\/15 {
  background-color: hsl(var(--negative) / 0.15);
}
.bg-negative\/20 {
  background-color: hsl(var(--negative) / 0.2);
}
.bg-negative\/30 {
  background-color: hsl(var(--negative) / 0.3);
}
.bg-negative\/60 {
  background-color: hsl(var(--negative) / 0.6);
}
.bg-orange-500\/15 {
  background-color: rgb(249 115 22 / 0.15);
}
.bg-popover {
  background-color: hsl(var(--popover));
}
.bg-positive {
  background-color: hsl(var(--positive));
}
.bg-positive\/10 {
  background-color: hsl(var(--positive) / 0.1);
}
.bg-positive\/15 {
  background-color: hsl(var(--positive) / 0.15);
}
.bg-positive\/20 {
  background-color: hsl(var(--positive) / 0.2);
}
.bg-positive\/30 {
  background-color: hsl(var(--positive) / 0.3);
}
.bg-positive\/5 {
  background-color: hsl(var(--positive) / 0.05);
}
.bg-positive\/60 {
  background-color: hsl(var(--positive) / 0.6);
}
.bg-positive\/70 {
  background-color: hsl(var(--positive) / 0.7);
}
.bg-positive\/90 {
  background-color: hsl(var(--positive) / 0.9);
}
.bg-primary {
  background-color: hsl(var(--primary));
}
.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}
.bg-primary\/20 {
  background-color: hsl(var(--primary) / 0.2);
}
.bg-primary\/\[0\.06\] {
  background-color: hsl(var(--primary) / 0.06);
}
.bg-primary\/\[0\.07\] {
  background-color: hsl(var(--primary) / 0.07);
}
.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}
.bg-red-500\/15 {
  background-color: rgb(239 68 68 / 0.15);
}
.bg-red-500\/5 {
  background-color: rgb(239 68 68 / 0.05);
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-ring {
  background-color: hsl(var(--ring));
}
.bg-ring\/15 {
  background-color: hsl(var(--ring) / 0.15);
}
.bg-ring\/5 {
  background-color: hsl(var(--ring) / 0.05);
}
.bg-rose-500\/15 {
  background-color: rgb(244 63 94 / 0.15);
}
.bg-secondary {
  background-color: hsl(var(--secondary));
}
.bg-sidebar {
  background-color: hsl(var(--sidebar-background));
}
.bg-sidebar-accent {
  background-color: hsl(var(--sidebar-accent));
}
.bg-sidebar-border {
  background-color: hsl(var(--sidebar-border));
}
.bg-sky-500\/15 {
  background-color: rgb(14 165 233 / 0.15);
}
.bg-transparent {
  background-color: transparent;
}
.bg-violet-500\/15 {
  background-color: rgb(139 92 246 / 0.15);
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.bg-white\/95 {
  background-color: rgb(255 255 255 / 0.95);
}
.bg-yellow-500\/10 {
  background-color: rgb(234 179 8 / 0.1);
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.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-card\/60 {
  --tw-gradient-from: hsl(var(--card) / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--card) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-950\/30 {
  --tw-gradient-from: rgb(2 44 34 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(2 44 34 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-primary {
  --tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-background {
  --tw-gradient-to: hsl(var(--background) / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background)) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-background {
  --tw-gradient-to: hsl(var(--background)) var(--tw-gradient-to-position);
}
.to-card\/20 {
  --tw-gradient-to: hsl(var(--card) / 0.2) var(--tw-gradient-to-position);
}
.to-chart-2 {
  --tw-gradient-to: hsl(var(--chart-2)) var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.stroke-background {
  stroke: hsl(var(--background));
}
.stroke-muted-foreground {
  stroke: hsl(var(--muted-foreground));
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-0 {
  padding: 0px;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-10 {
  padding: 2.5rem;
}
.p-12 {
  padding: 3rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-2\.5 {
  padding: 0.625rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-3\.5 {
  padding: 0.875rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.p-9 {
  padding: 2.25rem;
}
.p-\[10px_14px\] {
  padding: 10px 14px;
}
.p-\[12px\] {
  padding: 12px;
}
.p-\[12px_18px\] {
  padding: 12px 18px;
}
.p-\[14px\] {
  padding: 14px;
}
.p-\[16px\] {
  padding: 16px;
}
.p-\[16px_14px\] {
  padding: 16px 14px;
}
.p-\[1px\] {
  padding: 1px;
}
.p-\[30px\] {
  padding: 30px;
}
.p-\[3px_4px\] {
  padding: 3px 4px;
}
.p-\[6px_4px\] {
  padding: 6px 4px;
}
.p-\[7px_14px\] {
  padding: 7px 14px;
}
.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}
.px-0\.5 {
  padding-left: 0.125rem;
  padding-right: 0.125rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.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-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.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;
}
.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.px-\[--cell-size\] {
  padding-left: var(--cell-size);
  padding-right: var(--cell-size);
}
.px-\[10px\] {
  padding-left: 10px;
  padding-right: 10px;
}
.px-\[18px\] {
  padding-left: 18px;
  padding-right: 18px;
}
.px-\[22px\] {
  padding-left: 22px;
  padding-right: 22px;
}
.px-\[6px\] {
  padding-left: 6px;
  padding-right: 6px;
}
.px-\[7px\] {
  padding-left: 7px;
  padding-right: 7px;
}
.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-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.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-7 {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-\[14px\] {
  padding-top: 14px;
  padding-bottom: 14px;
}
.py-\[1px\] {
  padding-top: 1px;
  padding-bottom: 1px;
}
.py-\[2px\] {
  padding-top: 2px;
  padding-bottom: 2px;
}
.py-\[5px\] {
  padding-top: 5px;
  padding-bottom: 5px;
}
.py-\[6px\] {
  padding-top: 6px;
  padding-bottom: 6px;
}
.py-\[7px\] {
  padding-top: 7px;
  padding-bottom: 7px;
}
.py-\[9px\] {
  padding-top: 9px;
  padding-bottom: 9px;
}
.py-px {
  padding-top: 1px;
  padding-bottom: 1px;
}
.\!pt-0 {
  padding-top: 0px !important;
}
.pb-0 {
  padding-bottom: 0px;
}
.pb-0\.5 {
  padding-bottom: 0.125rem;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-1\.5 {
  padding-bottom: 0.375rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-2\.5 {
  padding-bottom: 0.625rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pb-\[120px\] {
  padding-bottom: 120px;
}
.pb-\[2px\] {
  padding-bottom: 2px;
}
.pl-1 {
  padding-left: 0.25rem;
}
.pl-1\.5 {
  padding-left: 0.375rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-2\.5 {
  padding-left: 0.625rem;
}
.pl-3 {
  padding-left: 0.75rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pl-7 {
  padding-left: 1.75rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pl-\[2px\] {
  padding-left: 2px;
}
.pr-0\.5 {
  padding-right: 0.125rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pr-1\.5 {
  padding-right: 0.375rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-2\.5 {
  padding-right: 0.625rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pr-\[2px\] {
  padding-right: 2px;
}
.pt-0 {
  padding-top: 0px;
}
.pt-0\.5 {
  padding-top: 0.125rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-1\.5 {
  padding-top: 0.375rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-2\.5 {
  padding-top: 0.625rem;
}
.pt-24 {
  padding-top: 6rem;
}
.pt-28 {
  padding-top: 7rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-3\.5 {
  padding-top: 0.875rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-\[12px\] {
  padding-top: 12px;
}
.pt-\[3px\] {
  padding-top: 3px;
}
.pt-\[60px\] {
  padding-top: 60px;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.align-middle {
  vertical-align: middle;
}
.font-\[inherit\] {
  font-family: inherit;
}
.font-display {
  font-family: Geist, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
}
.font-mono {
  font-family: Geist Mono, JetBrains Mono, SFMono-Regular, Menlo, Consolas, monospace;
}
.font-sans {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-2xs {
  font-size: 9px;
  line-height: 1;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[0\.8rem\] {
  font-size: 0.8rem;
}
.text-\[10\.5px\] {
  font-size: 10.5px;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11\.5px\] {
  font-size: 11.5px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[12\.5px\] {
  font-size: 12.5px;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[13\.5px\] {
  font-size: 13.5px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[14px\] {
  font-size: 14px;
}
.text-\[15\.5px\] {
  font-size: 15.5px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[16px\] {
  font-size: 16px;
}
.text-\[17px\] {
  font-size: 17px;
}
.text-\[18px\] {
  font-size: 18px;
}
.text-\[20px\] {
  font-size: 20px;
}
.text-\[22px\] {
  font-size: 22px;
}
.text-\[28px\] {
  font-size: 28px;
}
.text-\[32px\] {
  font-size: 32px;
}
.text-\[40px\] {
  font-size: 40px;
}
.text-\[64px\] {
  font-size: 64px;
}
.text-\[7px\] {
  font-size: 7px;
}
.text-\[8px\] {
  font-size: 8px;
}
.text-\[9\.5px\] {
  font-size: 9.5px;
}
.text-\[9px\] {
  font-size: 9px;
}
.text-\[clamp\(18px\2c 1\.6vw\2c 22px\)\] {
  font-size: clamp(18px, 1.6vw, 22px);
}
.text-\[clamp\(22px\2c 3\.2vw\2c 34px\)\] {
  font-size: clamp(22px, 3.2vw, 34px);
}
.text-\[clamp\(26px\2c 3vw\2c 38px\)\] {
  font-size: clamp(26px, 3vw, 38px);
}
.text-\[clamp\(28px\2c 4vw\2c 44px\)\] {
  font-size: clamp(28px, 4vw, 44px);
}
.text-\[clamp\(38px\2c 6vw\2c 66px\)\] {
  font-size: clamp(38px, 6vw, 66px);
}
.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-sm\/relaxed {
  font-size: 0.875rem;
  line-height: 1.625;
}
.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-extrabold {
  font-weight: 800;
}
.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;
}
.normal-case {
  text-transform: none;
}
.italic {
  font-style: italic;
}
.ordinal {
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.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-\[1\.06\] {
  line-height: 1.06;
}
.leading-\[1\.08\] {
  line-height: 1.08;
}
.leading-\[1\.4\] {
  line-height: 1.4;
}
.leading-\[1\.55\] {
  line-height: 1.55;
}
.leading-\[1\.5\] {
  line-height: 1.5;
}
.leading-\[1\.65\] {
  line-height: 1.65;
}
.leading-\[1\.6\] {
  line-height: 1.6;
}
.leading-\[16px\] {
  line-height: 16px;
}
.leading-none {
  line-height: 1;
}
.leading-normal {
  line-height: 1.5;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-\[-0\.005em\] {
  letter-spacing: -0.005em;
}
.tracking-\[-0\.01em\] {
  letter-spacing: -0.01em;
}
.tracking-\[-0\.025em\] {
  letter-spacing: -0.025em;
}
.tracking-\[-0\.04em\] {
  letter-spacing: -0.04em;
}
.tracking-\[0\.03em\] {
  letter-spacing: 0.03em;
}
.tracking-\[0\.04em\] {
  letter-spacing: 0.04em;
}
.tracking-\[0\.05em\] {
  letter-spacing: 0.05em;
}
.tracking-\[0\.06em\] {
  letter-spacing: 0.06em;
}
.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}
.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}
.tracking-\[0\.15em\] {
  letter-spacing: 0.15em;
}
.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}
.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}
.tracking-\[0\.1em\] {
  letter-spacing: 0.1em;
}
.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}
.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}
.tracking-\[0\.5px\] {
  letter-spacing: 0.5px;
}
.tracking-normal {
  letter-spacing: 0em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-\[\#16A34A\] {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-\[hsl\(var\(--brand\)\)\] {
  color: hsl(var(--brand));
}
.text-\[hsl\(var\(--chart-8\)\)\] {
  color: hsl(var(--chart-8));
}
.text-\[hsl\(var\(--foreground\)\)\] {
  color: hsl(var(--foreground));
}
.text-\[hsl\(var\(--muted-foreground\)\)\] {
  color: hsl(var(--muted-foreground));
}
.text-\[hsl\(var\(--negative\)\)\] {
  color: hsl(var(--negative));
}
.text-\[hsl\(var\(--negative\)\)\]\/70 {
  color: hsl(var(--negative) / 0.7);
}
.text-\[hsl\(var\(--positive\)\)\] {
  color: hsl(var(--positive));
}
.text-\[hsl\(var\(--primary\)\)\] {
  color: hsl(var(--primary));
}
.text-\[hsl\(var\(--secondary-accent-foreground\)\)\] {
  color: hsl(var(--secondary-accent-foreground));
}
.text-\[hsl\(var\(--sidebar-primary\)\)\] {
  color: hsl(var(--sidebar-primary));
}
.text-accent {
  color: hsl(var(--accent));
}
.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}
.text-amber-300 {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}
.text-background {
  color: hsl(var(--background));
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-brand {
  color: hsl(var(--brand));
}
.text-brand-foreground {
  color: hsl(var(--brand-foreground));
}
.text-brand\/90 {
  color: hsl(var(--brand) / 0.9);
}
.text-card-foreground {
  color: hsl(var(--card-foreground));
}
.text-current {
  color: currentColor;
}
.text-destructive {
  color: hsl(var(--destructive));
}
.text-destructive-foreground {
  color: hsl(var(--destructive-foreground));
}
.text-destructive\/70 {
  color: hsl(var(--destructive) / 0.7);
}
.text-destructive\/80 {
  color: hsl(var(--destructive) / 0.8);
}
.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.text-foreground {
  color: hsl(var(--foreground));
}
.text-foreground-secondary {
  color: hsl(var(--foreground-secondary));
}
.text-foreground\/30 {
  color: hsl(var(--foreground) / 0.3);
}
.text-foreground\/50 {
  color: hsl(var(--foreground) / 0.5);
}
.text-foreground\/55 {
  color: hsl(var(--foreground) / 0.55);
}
.text-foreground\/65 {
  color: hsl(var(--foreground) / 0.65);
}
.text-foreground\/70 {
  color: hsl(var(--foreground) / 0.7);
}
.text-foreground\/75 {
  color: hsl(var(--foreground) / 0.75);
}
.text-foreground\/80 {
  color: hsl(var(--foreground) / 0.8);
}
.text-foreground\/85 {
  color: hsl(var(--foreground) / 0.85);
}
.text-foreground\/90 {
  color: hsl(var(--foreground) / 0.9);
}
.text-foreground\/\[0\.15\] {
  color: hsl(var(--foreground) / 0.15);
}
.text-foreground\/\[0\.46\] {
  color: hsl(var(--foreground) / 0.46);
}
.text-hover-foreground {
  color: hsl(var(--hover-foreground));
}
.text-indigo-400 {
  --tw-text-opacity: 1;
  color: rgb(129 140 248 / var(--tw-text-opacity, 1));
}
.text-inherit {
  color: inherit;
}
.text-muted {
  color: hsl(var(--muted));
}
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-muted-foreground\/40 {
  color: hsl(var(--muted-foreground) / 0.4);
}
.text-muted-foreground\/50 {
  color: hsl(var(--muted-foreground) / 0.5);
}
.text-muted-foreground\/55 {
  color: hsl(var(--muted-foreground) / 0.55);
}
.text-muted-foreground\/60 {
  color: hsl(var(--muted-foreground) / 0.6);
}
.text-muted-foreground\/70 {
  color: hsl(var(--muted-foreground) / 0.7);
}
.text-muted-foreground\/80 {
  color: hsl(var(--muted-foreground) / 0.8);
}
.text-negative {
  color: hsl(var(--negative));
}
.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.text-orange-700 {
  --tw-text-opacity: 1;
  color: rgb(194 65 12 / var(--tw-text-opacity, 1));
}
.text-popover-foreground {
  color: hsl(var(--popover-foreground));
}
.text-positive {
  color: hsl(var(--positive));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-ring {
  color: hsl(var(--ring));
}
.text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}
.text-sidebar-foreground {
  color: hsl(var(--sidebar-foreground));
}
.text-sidebar-foreground\/60 {
  color: hsl(var(--sidebar-foreground) / 0.6);
}
.text-sidebar-foreground\/65 {
  color: hsl(var(--sidebar-foreground) / 0.65);
}
.text-sidebar-foreground\/70 {
  color: hsl(var(--sidebar-foreground) / 0.7);
}
.text-sky-700 {
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-violet-700 {
  --tw-text-opacity: 1;
  color: rgb(109 40 217 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.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;
}
.no-underline {
  text-decoration-line: none;
}
.decoration-muted-foreground\/40 {
  text-decoration-color: hsl(var(--muted-foreground) / 0.4);
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.underline-offset-\[3px\] {
  text-underline-offset: 3px;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.placeholder-muted::-moz-placeholder {
  color: hsl(var(--muted));
}
.placeholder-muted::placeholder {
  color: hsl(var(--muted));
}
.caret-brand {
  caret-color: hsl(var(--brand));
}
.accent-foreground {
  accent-color: hsl(var(--foreground));
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-35 {
  opacity: 0.35;
}
.opacity-40 {
  opacity: 0.4;
}
.opacity-45 {
  opacity: 0.45;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-75 {
  opacity: 0.75;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.opacity-\[0\.05\] {
  opacity: 0.05;
}
.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\] {
  --tw-shadow: 0 0 0 1px hsl(var(--sidebar-border));
  --tw-shadow-colored: 0 0 0 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-\[0_12px_48px_rgba\(0\2c 0\2c 0\2c 0\.4\)\] {
  --tw-shadow: 0 12px 48px rgba(0,0,0,0.4);
  --tw-shadow-colored: 0 12px 48px 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-\[0_30px_80px_-20px_rgba\(0\2c 0\2c 0\2c 0\.5\)\] {
  --tw-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  --tw-shadow-colored: 0 30px 80px -20px 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-\[0_30px_80px_-30px_rgba\(0\2c 0\2c 0\2c 0\.7\)\2c 0_1px_0_0_rgba\(255\2c 255\2c 255\2c 0\.04\)_inset\] {
  --tw-shadow: 0 30px 80px -30px rgba(0,0,0,0.7),0 1px 0 0 rgba(255,255,255,0.04) inset;
  --tw-shadow-colored: 0 30px 80px -30px var(--tw-shadow-color), inset 0 1px 0 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-\[0_6px_40px_rgba\(0\2c 0\2c 0\2c 0\.32\)\2c 0_1px_0_rgba\(255\2c 255\2c 255\2c 0\.05\)_inset\] {
  --tw-shadow: 0 6px 40px rgba(0,0,0,0.32),0 1px 0 rgba(255,255,255,0.05) inset;
  --tw-shadow-colored: 0 6px 40px var(--tw-shadow-color), inset 0 1px 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-\[0_8px_24px_rgba\(0\2c 0\2c 0\2c 0\.35\)\] {
  --tw-shadow: 0 8px 24px rgba(0,0,0,0.35);
  --tw-shadow-colored: 0 8px 24px 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-\[0_8px_24px_rgba\(0\2c 0\2c 0\2c 0\.4\)\] {
  --tw-shadow: 0 8px 24px rgba(0,0,0,0.4);
  --tw-shadow-colored: 0 8px 24px 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 rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 10px 15px 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-md {
  --tw-shadow: 0 4px 6px rgba(0,0,0,0.25);
  --tw-shadow-colored: 0 4px 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-none {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  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 3px rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 1px 3px 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-xs {
  --tw-shadow: 0 1px 2px rgba(0,0,0,0.2);
  --tw-shadow-colored: 0 1px 2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.outline-dashed {
  outline-style: dashed;
}
.outline-1 {
  outline-width: 1px;
}
.outline-2 {
  outline-width: 2px;
}
.-outline-offset-1 {
  outline-offset: -1px;
}
.-outline-offset-2 {
  outline-offset: -2px;
}
.outline-primary\/60 {
  outline-color: hsl(var(--primary) / 0.6);
}
.outline-ring {
  outline-color: hsl(var(--ring));
}
.ring {
  --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(3px + 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-0 {
  --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);
}
.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-background {
  --tw-ring-color: hsl(var(--background));
}
.ring-border {
  --tw-ring-color: hsl(var(--border));
}
.ring-border\/40 {
  --tw-ring-color: hsl(var(--border) / 0.4);
}
.ring-brand\/20 {
  --tw-ring-color: hsl(var(--brand) / 0.2);
}
.ring-brand\/30 {
  --tw-ring-color: hsl(var(--brand) / 0.3);
}
.ring-emerald-500\/20 {
  --tw-ring-color: rgb(16 185 129 / 0.2);
}
.ring-foreground {
  --tw-ring-color: hsl(var(--foreground));
}
.ring-negative\/25 {
  --tw-ring-color: hsl(var(--negative) / 0.25);
}
.ring-positive\/25 {
  --tw-ring-color: hsl(var(--positive) / 0.25);
}
.ring-ring {
  --tw-ring-color: hsl(var(--ring));
}
.ring-sidebar-ring {
  --tw-ring-color: hsl(var(--sidebar-ring));
}
.ring-white {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1));
}
.ring-white\/80 {
  --tw-ring-color: rgb(255 255 255 / 0.8);
}
.ring-offset-1 {
  --tw-ring-offset-width: 1px;
}
.ring-offset-2 {
  --tw-ring-offset-width: 2px;
}
.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}
.ring-offset-popover {
  --tw-ring-offset-color: hsl(var(--popover));
}
.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);
}
.blur-3xl {
  --tw-blur: blur(64px);
  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);
}
.blur-\[100px\] {
  --tw-blur: blur(100px);
  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);
}
.blur-\[120px\] {
  --tw-blur: blur(120px);
  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);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  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) !important;
}
.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 {
  --tw-backdrop-blur: blur(8px);
  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-\[16px\] {
  --tw-backdrop-blur: blur(16px);
  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-\[2px\] {
  --tw-backdrop-blur: blur(2px);
  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-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-\[color\2c box-shadow\] {
  transition-property: color,box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[grid-template-columns\] {
  transition-property: grid-template-columns;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[height\] {
  transition-property: height;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[left\2c right\2c width\] {
  transition-property: left,right,width;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[margin\2c opacity\] {
  transition-property: margin,opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[width\2c height\2c padding\] {
  transition-property: width,height,padding;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-\[width\] {
  transition-property: width;
  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-100 {
  transition-duration: 100ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-linear {
  transition-timing-function: linear;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.animate-in {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}
.fade-in-0 {
  --tw-enter-opacity: 0;
}
.fade-in-80 {
  --tw-enter-opacity: 0.8;
}
.zoom-in-95 {
  --tw-enter-scale: .95;
}
.zoom-out {
  --tw-exit-scale: 0;
}
.slide-in-from-bottom-4 {
  --tw-enter-translate-y: 1rem;
}
.duration-100 {
  animation-duration: 100ms;
}
.duration-1000 {
  animation-duration: 1000ms;
}
.duration-150 {
  animation-duration: 150ms;
}
.duration-200 {
  animation-duration: 200ms;
}
.duration-300 {
  animation-duration: 300ms;
}
.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-linear {
  animation-timing-function: linear;
}
.ease-out {
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.\!running {
  animation-play-state: running !important;
}
.running {
  animation-play-state: running;
}
.paused {
  animation-play-state: paused;
}
.\[--cell-size\:2rem\] {
  --cell-size: 2rem;
}
.\[-ms-overflow-style\:none\] {
  -ms-overflow-style: none;
}
.\[background-image\:linear-gradient\(to_right\2c \#fff_1px\2c transparent_1px\)\2c linear-gradient\(to_bottom\2c \#fff_1px\2c transparent_1px\)\] {
  background-image: linear-gradient(to right,#fff 1px,transparent 1px),linear-gradient(to bottom,#fff 1px,transparent 1px);
}
.\[background-size\:32px_32px\] {
  background-size: 32px 32px;
}
.\[grid-template-columns\:repeat\(auto-fit\2c minmax\(180px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
}
.\[grid-template-columns\:repeat\(auto-fit\2c minmax\(280px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
}
.\[overscroll-behavior\:contain\] {
  overscroll-behavior: contain;
}
.\[scrollbar-width\:none\] {
  scrollbar-width: none;
}

/* ══════════════════════════════════════════════════════════════════════════════
   dibsTERMINAL Design System — shadcn/ui + Tailwind CSS
   Mira preset · Neutral base · Default radius · Inter font
   ══════════════════════════════════════════════════════════════════════════════ */

/* Geist Sans — variable font from Vercel (display / marketing headlines) */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Geist Mono — variable monospace (data, numerals, terminal mono) */
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Animation Keyframes ─────────────────────────────────────────────── */

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

@keyframes pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes priceBlink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes priceFlashGreen {
  0% { background-color: hsl(var(--positive) / 0.25); }
  100% { background-color: transparent; }
}

@keyframes priceFlashRed {
  0% { background-color: hsl(var(--negative) / 0.25); }
  100% { background-color: transparent; }
}

/* ── Animation Utility Classes ───────────────────────────────────────── */

.animate-fade-in { animation: fadeIn 0.6s ease-out both; }
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out both; }
.animate-fade-in-down { animation: fadeInDown 0.5s ease-out both; }
.animate-fade-in-scale { animation: fadeInScale 0.5s ease-out both; }
.animate-slide-in-left { animation: slideInLeft 0.6s ease-out both; }
.animate-slide-in-right { animation: slideInRight 0.6s ease-out both; }

/* ── Typography utilities ────────────────────────────────────────────── */

.text-page-header { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.text-column-header { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.text-table-cell { font-size: 13px; font-weight: 400; }
.text-small-label { font-size: 11px; font-weight: 400; }

/* ── Skip link (a11y) ────────────────────────────────────────────────── */

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

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  border-radius: calc(var(--radius) - 1px);
  background-color: hsl(var(--primary));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: hsl(var(--primary-foreground));
}
/* ══════════════════════════════════════════════════════════════════════════════
   Design System for dibsTERMINAL — dark theme
   Near-black backgrounds · White primary accent · Teal-green secondary
   Inspired by the OpenBB Workspace color palette & shadcn/ui components
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
  /* ══════════════════════════════════════════════════════════════════════════
     Legacy --dt-* tokens (now thin aliases over shadcn tokens)
     All color, surface, border and accent tokens defer to the shadcn vars
     defined above (--background, --card, --foreground, --border, …).
     Theme-switching (light/dark) is therefore handled exclusively by shadcn
     — no separate --dt-* override blocks needed.
     ══════════════════════════════════════════════════════════════════════════ */

  /* ── Surfaces ── */

  /* ── Borders ── */

  /* ── Text — three-tier hierarchy (primary / secondary / muted) ── */

  /* ── Status / financial ── */


  /* Secondary accent — maps to shadcn secondary-accent */

  /* Legacy neon aliases — kept for backward compat */

  /* Glow / surface tints (subtle elevation tints) */

  /* ── Color groups (chart-friendly distinct hues) ── */

  /* ── AG-Grid theme (aliases over shadcn surfaces) ── */

  /* ── Sidebar/topbar (aliases over shadcn sidebar tokens) ── */

  /* ── Theme-aware utility tints ── */

  /* ══════════════════════════════════════════════════════════════════════════
     Functional (non-color) tokens — kept as plain values, theme-independent
     ══════════════════════════════════════════════════════════════════════════ */

  /* Typography */

  /* Spacing */

  /* Radii */

  /* Shadows */

  /* Layout */

  /* Row heights */
  --row-data:    34px;
  --row-compact: 28px;

  /* Transitions */

  /* Z-index stack */
  --z-base:     0;
  --z-widget:   10;
  --z-sticky:   20;
  --z-dropdown: 100;
  --z-modal:    200;
  --z-toast:    300;

  /* ══════════════════════════════════════════════════════════════════════════
     Spec-named aliases — kept for any consumer still referencing them
     ══════════════════════════════════════════════════════════════════════════ */
  --bg-base:        hsl(var(--background));
  --bg-surface:     hsl(var(--card));
  --bg-elevated:    hsl(var(--card));
  --bg-hover:       hsl(var(--accent));
  --bg-selected:    hsl(var(--accent));
  --bg-input:       hsl(var(--input));
  --border-subtle:  hsl(var(--border));
  --border-default: hsl(var(--border));
  --border-strong:  hsl(var(--ring));
  --text-primary:   hsl(var(--foreground));
  --text-secondary: hsl(var(--foreground-secondary));
  --text-muted:     hsl(var(--muted-foreground));
  --text-inverse:   hsl(var(--primary-foreground));
  --accent-hover:   hsl(var(--primary));
  --accent-muted:   hsl(var(--primary) / 0.10);
  --accent-glow:    hsl(var(--primary) / 0.14);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Light mode — handled exclusively by shadcn `.light` block above.
   All --dt-* tokens are aliases over shadcn vars, so they re-theme
   automatically. No per-token override block needed here.
   ═══════════════════════════════════════════════════════════════════════════ */

html.light ::-moz-selection {
  background: rgba(0, 0, 0, 0.12);
  color: #111827;
}

html.light ::selection {
  background: rgba(0, 0, 0, 0.12);
  color: #111827;
}

::-moz-selection {
  background: rgba(161, 161, 170, 0.25);
  color: rgba(255,255,255,0.95);
}

::selection {
  background: rgba(161, 161, 170, 0.25);
  color: rgba(255,255,255,0.95);
}


/* ═══════════════════════════════════════════════════════════════════════════
   Global Reset — Terminal
   ═══════════════════════════════════════════════════════════════════════════ */

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

.dt-route-viewport {
  flex: 1;
  height: 100%;
  min-height: 0;
  overflow: visible;
  overscroll-behavior: none;
}

/* ─────────────────────────────────────────────────────────────────────────
   Public / landing pages — natural document scroll
   ─────────────────────────────────────────────────────────────────────────
   The app dashboard needs html/body/root all at height:100% so the grid
   fills the viewport exactly.  Public pages (Landing, Features, Changelog,
   Contact, Legal, …) must scroll like normal websites.

   Strategy: when .dt-public is present anywhere in the document, use the
   CSS :has() selector to unlock the html→body→#root height chain so the
   document itself is the scroll container.  This keeps window.scrollY
   working (needed for transparent-nav effects on the landing page).

   .dt-route-viewport.dt-public is also set to overflow:visible so it does
   NOT create a nested scroll container — the document handles scroll.
   ───────────────────────────────────────────────────────────────────────── */

/* Unlock document scroll on public pages.
   We target both html.dt-public-route (set imperatively from App.jsx) and
   html:has(.dt-public) (the original selector). The imperative class is the
   reliable path; :has() is kept as a belt-and-braces fallback. !important is
   required to beat the @layer base `html, body { overflow: hidden }` rule
   regardless of how Tailwind orders layers in the output. */
html.dt-public-route,
html:has(.dt-public) {
  overflow: visible !important;
  height: auto !important;
  min-height: 100% !important;
}
html.dt-public-route body,
html:has(.dt-public) body {
  overflow: visible !important;
  height: auto !important;
  min-height: 100% !important;
}
html.dt-public-route #root,
html:has(.dt-public) #root {
  height: auto !important;
  min-height: 100% !important;
}
.dt-route-viewport.dt-public {
  height: auto;
  min-height: 100%;
  /* `clip` (not `hidden`) on one axis avoids creating a scroll container —
     sticky descendants (e.g. landing-page tab strip) need the document itself
     as their scroll container, not this wrapper. With overflow:hidden + visible,
     the visible axis is silently coerced to `auto`, which breaks sticky. */
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-y: auto;
  flex: none; /* override flex:1 so it sizes to content */
}

/* ═══════════════════════════════════════════════════════════════════════════
   Theme utility bridge (App + public surfaces)
   Maps legacy white/black utility classes to design tokens so
   light/dark remain readable while JSX is migrated to semantic tokens.
   ═══════════════════════════════════════════════════════════════════════════ */

:where(.dt-shell, .dt-public) .bg-black,
:where(.dt-shell, .dt-public) .bg-black\/90,
:where(.dt-shell, .dt-public) .bg-black\/\[0\.92\] {
  background-color: hsl(var(--background)) !important;
}

/* Tier 1 — primary text (100%) */
:where(.dt-shell, .dt-public) .text-white,
:where(.dt-shell, .dt-public) .text-white\/\[0\.92\],
:where(.dt-shell, .dt-public) .text-white\/90,
:where(.dt-shell, .dt-public) .text-white\/85,
:where(.dt-shell, .dt-public) .text-white\/80 {
  color: hsl(var(--foreground)) !important;
}

/* Tier 2 — secondary text (sub-titles, labels, descriptions) */
:where(.dt-shell, .dt-public) .text-white\/75,
:where(.dt-shell, .dt-public) .text-white\/70,
:where(.dt-shell, .dt-public) .text-white\/65,
:where(.dt-shell, .dt-public) .text-white\/60,
:where(.dt-shell, .dt-public) .text-white\/55,
:where(.dt-shell, .dt-public) .text-white\/\[0\.60\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.55\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.48\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.46\] {
  color: hsl(var(--foreground-secondary)) !important;
}

:where(.dt-shell, .dt-public) .text-white\/50,
:where(.dt-shell, .dt-public) .text-white\/45,
:where(.dt-shell, .dt-public) .text-white\/40,
:where(.dt-shell, .dt-public) .text-white\/35,
:where(.dt-shell, .dt-public) .text-white\/30,
:where(.dt-shell, .dt-public) .text-white\/\[0\.35\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.32\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.30\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.28\] {
  color: hsl(var(--muted-foreground)) !important;
}

:where(.dt-shell, .dt-public) .text-white\/25,
:where(.dt-shell, .dt-public) .text-white\/20,
:where(.dt-shell, .dt-public) .text-white\/15,
:where(.dt-shell, .dt-public) .text-white\/10,
:where(.dt-shell, .dt-public) .text-white\/\[0\.24\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.20\],
:where(.dt-shell, .dt-public) .text-white\/\[0\.18\] {
  color: hsl(var(--muted-foreground)) !important;
}

:where(.dt-shell, .dt-public) .data-\[state\=active\]\:text-white\/90[data-state="active"] {
  color: hsl(var(--foreground)) !important;
}

:where(.dt-shell, .dt-public) .data-\[state\=active\]\:text-white\/40[data-state="active"] {
  color: hsl(var(--muted-foreground)) !important;
}

:where(.dt-shell, .dt-public) .hover\:text-white\/90:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/85:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/80:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/75:hover,
:where(.dt-shell, .dt-public) .hover\:text-white:hover {
  color: hsl(var(--foreground)) !important;
}

:where(.dt-shell, .dt-public) .hover\:text-white\/70:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/65:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/60:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/55:hover,
:where(.dt-shell, .dt-public) .hover\:text-white\/50:hover {
  color: hsl(var(--foreground)) !important;
}

:where(.dt-shell, .dt-public) .bg-white\/\[0\.01\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.015\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.02\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.03\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.04\],
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.02\]:hover,
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.03\]:hover,
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.04\]:hover {
  background-color: hsl(var(--accent)) !important;
}

:where(.dt-shell, .dt-public) .bg-white\/\[0\.05\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.055\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.06\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.07\],
:where(.dt-shell, .dt-public) .bg-white\/\[0\.08\],
:where(.dt-shell, .dt-public) .bg-white\/10,
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.06\]:hover,
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.07\]:hover,
:where(.dt-shell, .dt-public) .hover\:bg-white\/\[0\.08\]:hover,
:where(.dt-shell, .dt-public) .hover\:bg-white\/10:hover,
:where(.dt-shell, .dt-public) .data-\[state\=active\]\:bg-white\/\[0\.08\][data-state="active"] {
  background-color: hsl(var(--accent)) !important;
}

:where(.dt-shell, .dt-public) .border-white,
:where(.dt-shell, .dt-public) .border-white\/5,
:where(.dt-shell, .dt-public) .border-white\/\[0\.04\],
:where(.dt-shell, .dt-public) .border-white\/\[0\.05\],
:where(.dt-shell, .dt-public) .border-white\/\[0\.055\],
:where(.dt-shell, .dt-public) .border-white\/\[0\.06\],
:where(.dt-shell, .dt-public) .border-white\/\[0\.07\],
:where(.dt-shell, .dt-public) .border-white\/\[0\.08\],
:where(.dt-shell, .dt-public) .border-white\/10 {
  border-color: hsl(var(--border)) !important;
}

:where(.dt-shell, .dt-public) .border-white\/\[0\.13\],
:where(.dt-shell, .dt-public) .border-white\/20,
:where(.dt-shell, .dt-public) .hover\:border-white:hover,
:where(.dt-shell, .dt-public) .hover\:border-white\/10:hover,
:where(.dt-shell, .dt-public) .hover\:border-white\/\[0\.13\]:hover,
:where(.dt-shell, .dt-public) .hover\:border-white\/20:hover,
:where(.dt-shell, .dt-public) .hover\:border-white\/30:hover {
  border-color: hsl(var(--border)) !important;
}

:where(.dt-shell, .dt-public) .placeholder\:text-white\/20::-moz-placeholder {
  color: hsl(var(--muted-foreground)) !important;
}

:where(.dt-shell, .dt-public) .placeholder\:text-white\/20::placeholder {
  color: hsl(var(--muted-foreground)) !important;
}

:where(.dt-shell, .dt-public) .focus-visible\:ring-offset-black:focus-visible {
  --tw-ring-offset-color: hsl(var(--background)) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Scrollbar Styling — terminal-style: thin, subtle
   ═══════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: hsl(var(--border))); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--ring))); }
::-webkit-scrollbar-corner { background: transparent; }


/* ═══════════════════════════════════════════════════════════════════════════
   Data Table — database-view layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   dt-table — OpenBB-level data table (compact, professional, dense)
   ═══════════════════════════════════════════════════════════════════════════ */
.dt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.35;
  font-family: var(--font-sans);
}

.dt-table th {
  padding: 4px 8px;
  text-align: left;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card)));
  position: sticky;
  top: 0;
  z-index: 2;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  transition: color 100ms ease;
  height: 26px;
}
.dt-table th:hover { color: hsl(var(--foreground)); }
.dt-table th.sorted { color: hsl(var(--foreground)); font-weight: 600; }

.dt-table td {
  padding: 3px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  vertical-align: middle;
  color: hsl(var(--foreground));
  transition: background 60ms ease;
  height: 28px;
  font-size: 12px;
}
.dt-table td:last-child { border-right: none; }
.dt-table th {
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}
.dt-table th:last-child { border-right: none; }

/* Alternating row striping — very subtle */
.dt-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* Hover — subtle highlight */
.dt-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
.dt-table tr.selected td {
  background: rgba(35, 131, 226, 0.08);
}

/* ── Positive / negative — text color + subtle background tint ── */
.dt-table .positive {
  color: hsl(var(--positive));
  font-weight: 500;
  background: rgba(34, 197, 94, 0.06);
}
.dt-table .negative {
  color: hsl(var(--negative));
  font-weight: 500;
  background: rgba(239, 68, 68, 0.06);
}
.dt-table .neutral {
  color: hsl(var(--muted-foreground));
}

/* ── Numeric cells — monospace, right-aligned, tabular-nums ── */
.dt-table .numeric {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.dt-table .right, .dt-table th.right { text-align: right; }

/* ── Symbol column — prominent, clickable ── */
.dt-table .symbol-col {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.dt-table .symbol-col:hover { color: hsl(var(--brand)); }

.dt-table .company-name {
  color: hsl(var(--foreground-secondary));
  font-size: 10px;
  margin-left: 4px;
  font-weight: 400;
}

/* ── Dense variant ── */
.dt-table--dense th,
.dt-table--dense td {
  padding: 2px 6px;
  font-size: 10px;
  height: 22px;
}

/* ── Unified table enhancements ── */
.dt-table th:hover .filter-icon { opacity: 0.5 !important; }
.dt-table th:hover .resize-handle { background: hsl(var(--border)) !important; }
.dt-table .center-align { text-align: center; }

/* ── Badge-style cells (beat/miss, status) ── */
.dt-table .dt-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}
.dt-table .dt-badge--positive { background: rgba(34, 197, 94, 0.15); color: hsl(var(--positive)); }
.dt-table .dt-badge--negative { background: rgba(239, 68, 68, 0.15); color: hsl(var(--negative)); }
.dt-table .dt-badge--neutral  { background: rgba(160, 160, 160, 0.10); color: hsl(var(--foreground)); }

/* ── First column subtle left padding ── */
.dt-table th:first-child,
.dt-table td:first-child {
  padding-left: 10px;
}

/* ── Light mode overrides ── */
[data-color-mode="light"] .dt-table td {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
[data-color-mode="light"] .dt-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}
[data-color-mode="light"] .dt-table tr:hover td {
  background: rgba(0, 0, 0, 0.03);
}
[data-color-mode="light"] .dt-table .positive {
  background: rgba(34, 197, 94, 0.08);
}
[data-color-mode="light"] .dt-table .negative {
  background: rgba(239, 68, 68, 0.08);
}

/* ── Widget internal section headers (like OpenBB card titles) ── */
.dt-widget-section {
  padding: 6px 10px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-sans);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Widget internal metric cards ── */
.dt-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 60ms ease;
}
.dt-metric-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.dt-metric-row__label {
  color: hsl(var(--foreground));
  font-size: 11px;
}
.dt-metric-row__value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--foreground));
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.15; }
}

.unified-table-wrapper { min-width: 0; }
.unified-table-container::-webkit-scrollbar { width: 6px; height: 6px; }
.unified-table-container::-webkit-scrollbar-track { background: transparent; }
.unified-table-container::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Widget Container — shadcn card style
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-widget {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 150ms ease;
}

.dt-widget:focus-within {
  border-color: hsl(var(--border));
}

.dt-widget-header {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: none;
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--foreground));
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  gap: 4px;
  background: transparent;
  letter-spacing: -0.01em;
  text-transform: none;
}

.dt-widget-header:active { cursor: grabbing; }

.dt-widget-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dt-widget-header-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-widget-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.dt-widget-body {
  flex: 1;
  overflow: auto;
  /* padding removed — the modern widget primitives (WidgetShell, WidgetTable,
     ChartShell) render edge-to-edge inside the container so the table header
     sits directly under the frame header with no gap. Widgets that need
     padding should apply it inside their own body wrapper. */
  padding: 0;
}

/* ── Fullscreen widgets — bump base font + side gutters so 12px tables don't
   sit on a 27" display. The visual preset override drives table/header sizing
   from JS; this rule catches free body text (chart labels, descriptions,
   inline mono spans) that doesn't go through WidgetTable. ── */
.dt-widget[data-widget-fullscreen="true"] {
  font-size: 13px;
}
.dt-widget[data-widget-fullscreen="true"] .dt-widget-body {
  padding-inline: 12px;
  padding-block: 4px;
}
.dt-widget[data-widget-fullscreen="true"] .dt-widget-header {
  padding-inline: 8px;
}
/* Edge-to-edge widgets — their internal layout (drawing rail, price scale,
   media canvas) is anchored to the body's edges, so the fullscreen gutter
   would offset their left/right rails away from the screen edge. Strip the
   gutter for these so the rails stay flush. */
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="price-chart"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="copilot-chart"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="tradingview"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="image"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="pdf"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="website"] .dt-widget-body,
.dt-widget[data-widget-fullscreen="true"][data-copilot-widget-type="youtube"] .dt-widget-body {
  padding: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   App Shell (grid layout)
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-shell {
  display: grid;
  grid-template-columns:
    var(--sidebar-width)
    minmax(0, 1fr)
    minmax(0, var(--right-dock-width, 0px))
    var(--right-rail-width, 56px);
  height: 100vh;
  background: hsl(var(--background));
  transition: grid-template-columns 0.2s ease;
  overflow: hidden;
}

.dt-shell--collapsed {
  grid-template-columns:
    var(--sidebar-collapsed-width)
    minmax(0, 1fr)
    minmax(0, var(--right-dock-width, 0px))
    var(--right-rail-width, 56px);
}

.dt-shell__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  z-index: 0;
}

.dt-shell__right-dock {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  z-index: 0;
}

.dt-shell__right-dock--overlay {
  overflow: visible;
  z-index: 1300;
}

.dt-shell__right-dock--expanded {
  position: fixed;
  right: var(--right-rail-width, 56px);
  top: 0;
  width: 65vw;
  height: 100vh;
  z-index: 100;
  overflow: visible;
  box-shadow: -1px 0 0 hsl(var(--border));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Sidebar — terminal-style navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-sidebar {
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  background: hsl(var(--sidebar-background));
  border-right: 1px solid hsl(var(--sidebar-border));
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.dt-sidebar.collapsed { width: var(--sidebar-collapsed-width); }

.dt-sidebar.collapsed .dt-sidebar__logo {
  justify-content: center;
  padding: 0;
}

.dt-sidebar__logo {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--topbar-height);
  padding: 0 14px;
  flex-shrink: 0;
}

.dt-sidebar__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  color: hsl(var(--foreground));
  line-height: 1;
}

.dt-sidebar__logo-mark .logo-mark-muted {
  color: hsl(var(--muted-foreground));
}

.dt-sidebar__logo-brand {
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--foreground)) !important;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dt-sidebar__logo-text {
  font-weight: 400;
  color: hsl(var(--muted-foreground)) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  font-size: 10px;
}

.dt-sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-4) 0;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

.dt-sidebar__section { margin-bottom: var(--space-2); }

.dt-sidebar__section + .dt-sidebar__section {
  margin-top: var(--space-2);
}

.dt-sidebar__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-5) var(--space-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  opacity: 0.8;
  white-space: nowrap;
}

.dt-sidebar__section-header--mixed-case {
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
  opacity: 1;
}

.dt-sidebar__section-header button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.dt-sidebar__section-header button:hover {
  background: hsl(var(--sidebar-accent));
  color: hsl(var(--sidebar-primary));
}

/* ── Collapsible section animation ─────────────────────────────────── */
.dt-sidebar__collapsible {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 220ms ease-out, opacity 180ms ease-out;
  opacity: 1;
  overflow: hidden;
}
.dt-sidebar__collapsible--closed {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}
.dt-sidebar__collapsible-inner {
  overflow: hidden;
  min-height: 0;
}

/* Chevron rotation */
.dt-sidebar__chevron {
  transition: transform 220ms ease-out;
  flex-shrink: 0;
  color: hsl(var(--foreground));
}
.dt-sidebar__chevron--collapsed {
  transform: rotate(-90deg);
}

.dt-sidebar-section { padding: 8px 0; }

.dt-sidebar-title {
  padding: 4px 16px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  opacity: 0.8;
}

.dt-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 140ms ease;
  font-size: 13px;
  font-weight: 400;
  border-radius: 2px;
  text-decoration: none;
  margin: 1px 8px;
}

.dt-sidebar-item:hover {
  background: hsl(var(--sidebar-accent));
  color: hsl(var(--foreground));
}

.dt-sidebar-item.active {
  background: hsl(var(--sidebar-accent));
  color: hsl(var(--foreground));
  font-weight: 500;
}

.dt-sidebar-item .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.dt-sidebar-item.active .icon { opacity: 1; }

.dt-sidebar__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 28px;
  padding: 0 8px;
  margin: 1px 6px;
  font-size: 13px;
  font-weight: 400;
  color: hsl(var(--sidebar-foreground));
  cursor: pointer;
  border-radius: 6px;
  transition: background 100ms ease, color 100ms ease;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  border: none;
  background: none;
  width: calc(100% - 12px);
  text-align: left;
  box-sizing: border-box;
  letter-spacing: -0.008em;
}

.dt-sidebar__item:hover {
  background: hsl(var(--sidebar-accent));
  color: hsl(var(--sidebar-primary));
}

.dt-sidebar__item--active {
  background: hsl(var(--sidebar-accent));
  color: hsl(var(--foreground));
  font-weight: 500;
}

.dt-sidebar__item--locked {
  color: hsl(var(--foreground));
  opacity: 0.88;
}

.dt-sidebar__item--locked:hover {
  color: hsl(var(--foreground));
}

.dt-sidebar__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 16px;
}
.dt-sidebar__item-icon svg { width: 18px; height: 18px; }
.dt-sidebar__item--indent .dt-sidebar__item-icon { width: 14px; height: 14px; }
.dt-sidebar__item--indent .dt-sidebar__item-icon svg { width: 14px; height: 14px; }

.dt-sidebar__item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  font-weight: 400;
}

.dt-sidebar__item-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.dt-sidebar__item-subtitle {
  display: none;
}

.dt-sidebar__item-code {
  margin-left: auto;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: var(--space-1) var(--space-3);
  background: transparent;
  line-height: 1.3;
  flex-shrink: 0;
}

.dt-sidebar__item-lock {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 9px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: 1px var(--space-3);
  line-height: 1.2;
}

.dt-sidebar__empty {
  padding: var(--space-3) var(--space-8) var(--space-5);
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}

.dt-sidebar__footer {
  padding: var(--space-4);
  flex-shrink: 0;
}

.dt-sidebar__collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--sidebar-foreground));
  cursor: pointer;
  transition: background 0.15s;
}

.dt-sidebar__collapse-btn:hover { background: hsl(var(--sidebar-accent)); }

/* Collapsed sidebar overrides */
.dt-shell--collapsed .dt-sidebar {
  width: var(--sidebar-collapsed-width);
}

.dt-shell--collapsed .dt-sidebar__logo-text,
.dt-shell--collapsed .dt-sidebar__section-header,
.dt-shell--collapsed .dt-sidebar__item-label,
.dt-shell--collapsed .dt-sidebar__item-subtitle,
.dt-shell--collapsed .dt-sidebar__item-code,
.dt-shell--collapsed .dt-sidebar__item-body {
  display: none !important;
}

.dt-shell--collapsed .dt-sidebar__logo {
  justify-content: center;
  padding: 0;
}

.dt-shell--collapsed .dt-sidebar__logo-brand {
  display: none;
}

.dt-shell--collapsed .dt-sidebar__logo-mark {
  margin: 0;
}

.dt-shell--collapsed .dt-sidebar__item {
  padding: 0;
  margin: 1px var(--space-2);
  width: calc(100% - 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 2px;
}

.dt-shell--collapsed .dt-sidebar__section-header {
  display: none;
}

.dt-sidebar__section-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-3) 0 var(--space-1);
}


/* ═══════════════════════════════════════════════════════════════════════════
   TopBar — terminal-style clean header
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-topbar {
  height: var(--topbar-height);
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  padding: 0 var(--space-6) 0 0;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: 0;
}

/* Real-time clock */
.dt-topbar__clock {
  font-size: 11px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.06em;
  padding: 2px var(--space-4);
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Hamburger / sidebar toggle */
.dt-topbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.dt-topbar__hamburger:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

/* Logo */
.dt-topbar__logo {
  font-size: 16px;
  font-weight: 700;
  color: hsl(var(--foreground));
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: var(--space-2);
}
.dt-topbar__logo-k { color: hsl(var(--foreground)); }

/* Search button — centered (see consolidated rule below) */
.dt-topbar__search-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-topbar__search-kbd {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  background: rgba(255,255,255,0.04);
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  flex-shrink: 0;
}

/* Flexible spacer */
.dt-topbar__spacer { display: none; }

/* Help Center link */
.dt-topbar__help-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--space-2) var(--space-4);
  border-radius: 2px;
  color: hsl(var(--foreground));
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.12s, background 0.12s;
}
.dt-topbar__help-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
}

/* Icon buttons */
.dt-topbar__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.dt-topbar__icon-btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

/* User avatar circle */
.dt-topbar__avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid hsl(var(--border));
  padding: 0;
  overflow: hidden;
  line-height: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.dt-topbar__avatar:hover {
  opacity: 0.90;
  transform: scale(1.06);
}

.dt-topbar__avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Legacy breadcrumb/code (kept for compatibility) */
.dt-topbar__breadcrumb {
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
}
.dt-topbar__title-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.dt-topbar__subline {
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-topbar__code {
  padding: 3px 7px;
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ── Search button (centered in TopBar) ── */
.dt-topbar__search-btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 6px var(--space-5);
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
  width: 460px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.dt-topbar__search-btn:hover {
  border-color: hsl(var(--border));
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.dt-topbar__search-btn kbd {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: inherit;
}

/* ═══════════════════════════════════════════════════════════════════════════
   StatusBar
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-statusbar {
  height: 24px;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 16px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

.dt-statusbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--positive));
  animation: dt-live-pulse 2s ease-in-out infinite;
}

@keyframes dt-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Content Area
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}
.dt-content--no-pad {
  padding: 0;
  overflow: hidden;
}

.dt-content--no-pad > .dt-now-grid,
.dt-content--no-pad > :first-child {
  width: 100%;
}


/* Universal focus-visible for all interactive elements */
button:focus-visible,
[role="button"]:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(161, 161, 170, 0.50);
  outline-offset: 1px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Inputs
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-input {
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  padding: 8px 12px;
  color: hsl(var(--foreground));
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
  transition: all 140ms ease;
  width: 100%;
}

.dt-input:hover:not(:disabled) {
  border-color: hsl(var(--border));
}

.dt-input:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px rgba(161, 161, 170, 0.15);
}

.dt-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: hsl(var(--card));
}

.dt-input::-moz-placeholder { color: hsl(var(--muted-foreground)); }

.dt-input::placeholder { color: hsl(var(--muted-foreground)); }
.dt-input-sm { padding: var(--space-1) 8px; font-size: 12px; }

.dt-input-search {
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  padding: 8px 12px 8px 36px;
  color: hsl(var(--foreground));
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
  width: 100%;
  transition: all 140ms ease;
}

.dt-input-search:hover {
  border-color: hsl(var(--border));
}

.dt-input-search:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px rgba(161, 161, 170, 0.15);
}

.dt-select {
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  padding: 8px 12px;
  padding-right: var(--space-12);
  color: hsl(var(--foreground));
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 140ms ease;
}

.dt-select:hover {
  border-color: hsl(var(--border));
}

.dt-select:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px rgba(161, 161, 170, 0.15);
}

.dt-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: hsl(var(--card));
}

/* Toggle Switch */
.dt-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.dt-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dt-toggle-track {
  width: 44px;
  height: 24px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  position: relative;
  transition: all 140ms ease;
}

.dt-toggle input:checked + .dt-toggle-track {
  background: hsl(var(--positive));
  border-color: hsl(var(--positive));
}

.dt-toggle input:focus + .dt-toggle-track {
  border-color: hsl(var(--ring));
}

.dt-toggle-thumb {
  position: absolute;
  top: var(--space-1);
  left: var(--space-1);
  width: 18px;
  height: 18px;
  background: hsl(var(--foreground));
  border-radius: 50%;
  transition: transform 140ms ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.dt-toggle input:checked + .dt-toggle-track .dt-toggle-thumb {
  transform: translateX(20px);
}

.dt-toggle-label {
  margin-left: 8px;
  font-size: 13px;
  color: hsl(var(--foreground));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Badges / Chips / Tags
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.dt-badge-green  { background: rgba(77,168,125,0.12);  color: #4da87d; }
.dt-badge-red    { background: rgba(224,84,81,0.12);    color: #e05451; }
.dt-badge-blue   { background: rgba(35,131,226,0.12);   color: #2383e2; }
.dt-badge-yellow { background: rgba(217,170,84,0.12);   color: #d9aa54; }
.dt-badge-orange { background: rgba(208,123,77,0.12);   color: #d07b4d; }
.dt-badge-purple { background: rgba(144,101,176,0.12);  color: #9065b0; }
.dt-badge-cyan   { background: rgba(91,175,214,0.12);   color: #5bafd6; }
.dt-badge-gray   { background: hsl(var(--accent));  color: hsl(var(--muted-foreground)); }

.dt-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-1) var(--space-4);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.dt-chip.active {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Tabs — Underline Style
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid hsl(var(--border));
}

.dt-tab {
  padding: 8px 16px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-radius: 2px 2px 0 0;
  transition: all 140ms ease;
  font-weight: 500;
  white-space: nowrap;
}

.dt-tab:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
}

.dt-tab.active {
  color: hsl(var(--foreground));
  border-bottom-color: hsl(var(--foreground));
}

.dt-tabs-pill {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: hsl(var(--background));
  border-radius: 4px;
}

.dt-tab-pill {
  padding: 4px 12px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 2px;
  transition: all 140ms ease;
  font-weight: 500;
}

.dt-tab-pill:hover { color: hsl(var(--foreground)); }

.dt-tab-pill.active {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Dropdown / Menu
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-dropdown {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  box-shadow: 0 2px 10px hsl(0 0% 0% / 0.80);
  padding: 4px;
  min-width: 180px;
  z-index: 1000;
}

.dt-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  font-size: 13px;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 140ms ease;
  border-radius: 2px;
}

.dt-dropdown-item:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.dt-dropdown-item.active { color: hsl(var(--foreground)); }

.dt-dropdown-divider {
  height: 1px;
  background: hsl(var(--border));
  margin: 4px 0;
}

.dt-dropdown-header {
  padding: 4px 12px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Tooltip
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-tooltip {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 12px;
  color: hsl(var(--foreground));
  box-shadow: 2px 4px 15px hsl(0 0% 0% / 0.60);
  max-width: 300px;
  z-index: 1100;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Modal / Dialog
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-overlay {
  background: rgba(0,0,0,0.5);
}

.dt-modal {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  box-shadow: 0 16px 48px hsl(0 0% 0% / 0.80);
  max-width: 560px;
  width: 90vw;
}

.dt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.dt-modal-body { padding: 12px 24px 20px; }

.dt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid hsl(var(--border));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Card
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 16px;
}

.dt-card-header {
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
  letter-spacing: 0;
}

.dt-card-metric {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: hsl(var(--foreground));
}

.dt-card-metric-sm {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Financial Data Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.dt-price-lg { font-size: 18px; font-weight: 700; }

.dt-pct-change {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 500;
  padding: 1px var(--space-2);
  border-radius: 2px;
}

.dt-pct-change.up   { color: hsl(var(--positive)); background: rgba(38,166,91,0.1); }
.dt-pct-change.down { color: hsl(var(--negative)); background: rgba(232,69,60,0.1); }
.dt-pct-change.flat { color: hsl(var(--muted-foreground)); }

.dt-volume {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.dt-sparkline-container {
  display: inline-flex;
  align-items: center;
  height: 24px;
  width: 80px;
}

.dt-heatmap-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  border-radius: 2px;
  padding: var(--space-1) var(--space-2);
}

.dt-ticker-strip {
  display: flex;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  color: hsl(var(--foreground));
  padding: 4px 12px;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.dt-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dt-ticker-item .symbol {
  font-weight: 600;
  color: hsl(var(--foreground));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Watchlist
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-watchlist-row {
  display: flex;
  align-items: center;
  padding: 4px 12px;
  gap: 12px;
  cursor: pointer;
  transition: background 140ms ease;
  border-bottom: 1px solid hsl(var(--border));
}

.dt-watchlist-row:hover { background: hsl(var(--accent)); }

.dt-watchlist-row.selected {
  background: hsl(var(--accent));
  border-left: 2px solid hsl(var(--foreground));
}

.dt-watchlist-symbol {
  font-weight: 600;
  font-size: 13px;
  color: hsl(var(--foreground));
  min-width: 70px;
}

.dt-watchlist-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  min-width: 80px;
  text-align: right;
}

.dt-watchlist-change {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  min-width: 60px;
  text-align: right;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Color Group Indicators (widget linking)
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-color-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dt-color-dot-1 { background: hsl(var(--chart-5)); }
.dt-color-dot-2 { background: hsl(var(--chart-3)); }
.dt-color-dot-3 { background: hsl(var(--chart-7)); }
.dt-color-dot-4 { background: hsl(var(--chart-6)); }
.dt-color-dot-5 { background: hsl(var(--chart-8)); }
.dt-color-dot-6 { background: hsl(var(--chart-1)); }

.dt-color-border-1 { border-left: 2px solid hsl(var(--chart-5)); }
.dt-color-border-2 { border-left: 2px solid hsl(var(--chart-3)); }
.dt-color-border-3 { border-left: 2px solid hsl(var(--chart-7)); }
.dt-color-border-4 { border-left: 2px solid hsl(var(--chart-6)); }
.dt-color-border-5 { border-left: 2px solid hsl(var(--chart-8)); }
.dt-color-border-6 { border-left: 2px solid hsl(var(--chart-1)); }


/* ═══════════════════════════════════════════════════════════════════════════
   Layout Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.dt-layout-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dt-layout-content {
  flex: 1;
  overflow: auto;
}

.dt-grid {
  display: grid;
  gap: 1px;
  background: hsl(var(--border));
}

.dt-grid > * { background: hsl(var(--card)); }

.dt-split-h { display: flex; height: 100%; }
.dt-split-v { display: flex; flex-direction: column; height: 100%; }

.dt-divider-h {
  width: 1px;
  background: hsl(var(--border));
  cursor: col-resize;
  flex-shrink: 0;
}
.dt-divider-h:hover { background: hsl(var(--ring)); }

.dt-divider-v {
  height: 1px;
  background: hsl(var(--border));
  cursor: row-resize;
  flex-shrink: 0;
}
.dt-divider-v:hover { background: hsl(var(--ring)); }


/* ═══════════════════════════════════════════════════════════════════════════
   Typography Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.dt-text-xs   { font-size: 12px; }
.dt-text-sm   { font-size: 13px; }
.dt-text-base { font-size: 14px; }
.dt-text-md   { font-size: 15px; }
.dt-text-lg   { font-size: 16px; }
.dt-text-xl   { font-size: 18px; }
.dt-text-2xl  { font-size: 24px; }

.dt-text-primary   { color: hsl(var(--foreground)); }
.dt-text-secondary { color: hsl(var(--foreground)); }
.dt-text-tertiary  { color: hsl(var(--muted-foreground)); }
.dt-text-disabled  { color: hsl(var(--muted-foreground)); }
.dt-text-positive  { color: hsl(var(--positive)); }
.dt-text-negative  { color: hsl(var(--negative)); }
.dt-text-accent    { color: hsl(var(--foreground)); }

.dt-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dt-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: hsl(var(--muted-foreground));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Loading / Skeleton
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-skeleton {
  background: linear-gradient(
    90deg,
    hsl(var(--card)) 0%,
    hsl(var(--accent)) 50%,
    hsl(var(--card)) 100%
  );
  background-size: 200% 100%;
  animation: dt-shimmer 1.5s ease-in-out infinite;
  border-radius: 2px;
}

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

.dt-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid hsl(var(--border));
  border-top-color: hsl(var(--foreground));
  border-radius: 50%;
  animation: dt-spin 0.6s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   Typography — Heading font (Manrope) for hierarchy
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-heading {
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
}

.dt-heading-xl  { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.dt-heading-lg  { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.dt-heading-md  { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.dt-heading-sm  { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.dt-heading-xs  { font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

/* Widget title uses heading font */
.dt-widget-header .dt-widget-title {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Density — comfortable / compact / dense
   Applied via data-density attribute on body or dashboard container.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Default = comfortable */
:root {
}

[data-density="compact"] {
}

[data-density="dense"] {
}

/* Apply density to widget headers */
.dt-widget-header {
  height: 28px;
}

/* Density for tables is handled inline via var(--density-*) in the .dt-table rules above */

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

@keyframes dt-loader-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes dt-dot-bounce {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Symbol Link — Interactive ticker symbols
   ═══════════════════════════════════════════════════════════════════════════ */

.symbol-link {
  color: hsl(var(--primary));
  text-decoration: none;
  border-radius: 2px;
  padding: 0 var(--space-1);
  margin: 0 -var(--space-1);
  cursor: pointer;
  transition: background 0.1s ease, color 0.1s ease;
  display: inline-block;
}
.symbol-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: hsl(var(--foreground));
}
.symbol-link:focus {
  outline: 1px solid hsl(var(--ring));
  outline-offset: 1px;
}

.dt-empty-state-icon { font-size: 2rem; opacity: 0.4; }


/* ═══════════════════════════════════════════════════════════════════════════
   Alert / Toast
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  border-left: 3px solid;
}

.dt-alert-info    { background: hsl(var(--accent));  border-left-color: hsl(var(--primary)); color: hsl(var(--foreground)); }
.dt-alert-success { background: rgba(38,166,91,0.08);   border-left-color: hsl(var(--positive));    color: hsl(var(--foreground)); }
.dt-alert-warning { background: rgba(245,166,35,0.08);   border-left-color: hsl(var(--chart-8)); color: hsl(var(--foreground)); }
.dt-alert-error   { background: rgba(232,69,60,0.08);   border-left-color: hsl(var(--negative));    color: hsl(var(--foreground)); }


/* ═══════════════════════════════════════════════════════════════════════════
   Price Flash Animations
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-flash-up   { animation: dt-flash-green 0.65s ease-out; }
.dt-flash-down { animation: dt-flash-red 0.65s ease-out; }

@keyframes dt-flash-green {
  0%   { color: hsl(var(--positive)); background: rgba(38,166,91,0.22); }
  40%  { color: hsl(var(--positive)); background: rgba(38,166,91,0.14); }
  100% { color: inherit; background: transparent; }
}

@keyframes dt-flash-red {
  0%   { color: hsl(var(--negative)); background: rgba(232,69,60,0.22); }
  40%  { color: hsl(var(--negative)); background: rgba(232,69,60,0.14); }
  100% { color: inherit; background: transparent; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Resizer Handle (panel splitters)
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-resize-handle {
  position: relative;
  background: hsl(var(--border));
  transition: background 140ms ease;
  z-index: 10;
}

.dt-resize-handle:hover,
.dt-resize-handle:active { background: hsl(var(--primary)); }

.dt-resize-handle-h { width: 3px; cursor: col-resize; }
.dt-resize-handle-v { height: 3px; cursor: row-resize; }


/* ═══════════════════════════════════════════════════════════════════════════
   Light mode — handled by shadcn `.light` block above. The legacy
   [data-color-mode="light"] override block has been removed because all
   --dt-* / --color-* tokens are now aliases over shadcn vars and theme
   automatically.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Scrollbar in light mode */
[data-color-mode="light"] ::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
}

/* ── Light mode: symbol links use dark text (not blue) ── */
[data-color-mode="light"] .symbol-link {
  color: hsl(var(--foreground));
  font-weight: 500;
}
[data-color-mode="light"] .symbol-link:hover {
  color: hsl(var(--primary));
  background: rgba(24, 24, 27, 0.08);
}

/* ── Light mode: widget panels get a subtle shadow for depth ── */
[data-color-mode="light"] .dt-widget {
  box-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.06);
  border-color: transparent;
}
[data-color-mode="light"] .dt-widget:focus-within {
  box-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 0 0 1px rgba(17,24,39,0.25);
  border-color: transparent;
}

/* ── Light mode: right rail active button ── */
[data-color-mode="light"] .dt-right-rail__btn.active {
  background: rgba(0, 0, 0, 0.07);
  color: #111827;
}
[data-color-mode="light"] .dt-right-rail__btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111827;
}

/* Light-mode local palette override removed: --dt-* / --color-* are now
   aliases over shadcn vars and re-theme automatically with .light. */

/* ═══════════════════════════════════════════════════════════════════════════
   Sidebar — Group & Security Block additions
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grouped section with border-top divider */
.dt-sidebar__group { }
.dt-sidebar__group--bordered {
  padding-top: var(--space-1);
  margin-top: var(--space-1);
}

/* Indented sub-item (for items under section headers) */
.dt-sidebar__item--indent {
  padding-left: 28px !important;
  padding-right: var(--space-5) !important;
  font-size: 12px !important;
  min-height: 26px !important;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0 !important;
  position: relative;
}
.dt-sidebar__item--indent::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: hsl(var(--border));
  border-radius: 1px;
}
.dt-sidebar__item--indent:hover { color: hsl(var(--sidebar-primary)); }
.dt-sidebar__item--indent.dt-sidebar__item--active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  box-shadow: none;
  font-weight: 500;
}
.dt-sidebar__item--indent.dt-sidebar__item--active::before {
  background: hsl(var(--primary));
  opacity: 0.6;
}

/* View all link */
.dt-sidebar__view-all {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-8) var(--space-2) 36px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  opacity: 0.7;
  transition: opacity 0.12s ease;
}
.dt-sidebar__view-all:hover { opacity: 1; }

/* Security Symbol Block */
.dt-sidebar__security-block {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-8) var(--space-3);
  min-height: 36px;
}
.dt-sidebar__security-ticker {
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--foreground));
  flex-shrink: 0;
}
.dt-sidebar__security-name {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.dt-sidebar__security-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
}
.dt-sidebar__security-search:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}


/* ═══════════════════════════════════════════════════════════════════════════
   Right Rail — vertical icon strip
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-right-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: var(--right-rail-width, 56px);
  height: 100vh;
  /* Chrome surface — matches the left sidebar so both rails read as one
     continuous chrome layer (same token), not as a widget. */
  background: hsl(var(--sidebar-background));
  border-left: 1px solid hsl(var(--border));
  padding: var(--space-5) 0;
  gap: var(--space-2);
  overflow-x: hidden;
  overflow-y: auto;
}

.dt-right-rail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  flex-shrink: 0;
}
.dt-right-rail__btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}
.dt-right-rail__btn.active {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}


.dt-right-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--card));
  border-left: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  transform: translateX(16px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
  overflow: hidden;
}

/* ── dibsTERMINAL Copilot panel (slide-out) ── */
/* ── Copilot panel keyframes ── */
@keyframes ai-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ai-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes ai-dot-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 255, 255, 0.35); }
  60%  { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);    }
  100% { box-shadow: 0 0 0 0   rgba(255, 255, 255, 0);    }
}
@keyframes ai-sparkles-float {
  0%   { transform: translateY(0)    rotate(0deg);  }
  33%  { transform: translateY(-3px) rotate(3deg);  }
  66%  { transform: translateY(-1px) rotate(-2deg); }
  100% { transform: translateY(0)    rotate(0deg);  }
}
@keyframes ai-thinking-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}


.dt-right-panel--open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* Expanded mode — overlay the dashboard for power-user views (wide watchlist
   tables, etc.). The dock column collapses to 0 in AppShell, and the panel
   floats fixed between the left sidebar and the right rail. */
.dt-right-panel--expanded {
  position: fixed;
  top: 0;
  right: 56px;             /* leave the right rail visible */
  bottom: 0;
  left: var(--sidebar-w, 220px);
  width: auto;
  height: 100vh;
  z-index: 1200;
  border-left: 1px solid hsl(var(--border));
  box-shadow: 0 0 0 1px hsl(var(--border)), 0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

/* Notes in expanded mode: cap line length so the writing experience scales
   to "comfortable document" rather than "edge-to-edge wall of text". */
.dt-right-panel--expanded .rr-notes {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.dt-right-panel__resize-handle {
  position: absolute;
  top: 0;
  left: -3px;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  background: transparent;
  transition: background 0.15s ease;
}

.dt-right-panel__resize-handle:hover,
.dt-right-panel__resize-handle:active {
  background: hsl(var(--brand) / 0.5);
}

.dt-right-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  min-height: 48px;
  padding: 0 var(--space-3);
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  flex-shrink: 0;
}

.dt-right-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
}

.dt-right-panel__body {
  flex: 1;
  overflow-y: auto;
  background: hsl(var(--card));
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

/* When notes panel is open, body should not scroll — let the editor fill space */
.dt-right-panel__body:has(.rr-notes) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 var(--space-3) var(--space-4);
}

/* When trending panel is open, fill the full height */
.dt-right-panel__body:has(.rr-trending) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.dt-right-panel-link {
  display: block;
  width: 100%;
  padding: var(--space-4) var(--space-8);
  text-align: left;
  background: none;
  border: none;
  font-size: 12px;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.dt-right-panel-link:hover {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

/* ── Quick Notes (right rail panel) ──────────────────────────────────── */

.rr-notes {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  padding: 0;
}

.rr-notes__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0 var(--space-3);
  min-height: 24px;
}

/* ── Quick Notes formatting toolbar ── */
.rr-notes__toolbar {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid hsl(var(--border));
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.rr-notes__toolbar-btn {
  background: none;
  border: 1px solid transparent;
  color: hsl(var(--foreground));
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Geist Mono', 'SF Mono', monospace;
  line-height: 1;
  padding: 0;
  transition: color 0.1s, background 0.1s;
}

.rr-notes__toolbar-btn:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}

.rr-notes__toolbar-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.rr-notes__toolbar-sep {
  width: 1px;
  height: 16px;
  background: hsl(var(--border));
  margin: 0 3px;
}

/* ── Quick Notes WYSIWYG editor (contentEditable) ── */
.rr-notes__editor {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  background: hsl(var(--input));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: var(--space-5);
  font-size: 13px;
  line-height: 1.65;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.rr-notes__editor:empty::before {
  content: attr(data-placeholder);
  color: hsl(var(--muted-foreground));
  font-style: italic;
  pointer-events: none;
}

.rr-notes__editor:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.20);
}

.rr-notes__editor h1 {
  font-size: 20px;
  font-weight: 700;
  margin: var(--space-4) 0 var(--space-2);
  line-height: 1.3;
}

.rr-notes__editor h2 {
  font-size: 16px;
  font-weight: 700;
  margin: var(--space-3) 0 3px;
  line-height: 1.3;
}

.rr-notes__editor h3 {
  font-size: 14px;
  font-weight: 600;
  margin: var(--space-2) 0 var(--space-1);
  line-height: 1.3;
}

.rr-notes__editor blockquote {
  border-left: 3px solid hsl(var(--primary));
  margin: var(--space-3) 0;
  padding: var(--space-2) var(--space-5);
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
}

.rr-notes__editor ul,
.rr-notes__editor ol {
  margin: var(--space-2) 0;
  padding-left: 22px;
}

.rr-notes__editor li {
  margin: var(--space-1) 0;
}

.rr-notes__editor hr {
  border: none;
  border-top: 1px solid hsl(var(--border));
  margin: var(--space-4) 0;
}

.rr-notes__hint {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.rr-notes__saved {
  font-size: 10px;
  color: hsl(var(--positive));
  font-weight: 600;
  animation: rr-fade-in 0.2s ease;
}

.rr-notes__textarea {
  flex: 1;
  width: 100%;
  min-height: 200px;
  background: hsl(var(--input));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: var(--space-5);
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rr-notes__textarea::-moz-placeholder {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  font-family: inherit;
}

.rr-notes__textarea::placeholder {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  font-family: inherit;
}

.rr-notes__textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.20);
}

.rr-notes__footer {
  padding: var(--space-3) 0 0;
}

.rr-notes__footer-text {
  font-size: 9px;
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
}

@keyframes rr-fade-in {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Trending / Top Movers (right rail panel) ───────────────────────── */

.rr-trending {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
}

.rr-trending__section {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

/* News widget — fresh-row flash. Slides in with a tinted bar on the left
   edge and a subtle wash that fades back to the table palette over four
   seconds, matching the JS-side NEW_ROW_FLASH_MS in NewsfeedRenderer. */
@keyframes news-row-flash {
  0% {
    background-color: hsl(var(--primary) / 0.22);
    box-shadow: inset 3px 0 0 hsl(var(--primary));
    transform: translateY(-2px);
    opacity: 0.6;
  }
  18% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    background-color: transparent;
    box-shadow: inset 3px 0 0 transparent;
  }
}

.news-row--new {
  animation: news-row-flash 4s ease-out;
}

/* News toast progress bar — drains from full width to zero over the toast
   duration. Animation duration is set inline so it always matches the
   sonner timer. Pauses on hover so the reader can finish without losing
   the banner. */
@keyframes news-toast-progress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

.news-toast-progress {
  animation-name: news-toast-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.group\/news:hover .news-toast-progress,
[data-sonner-toast]:hover .news-toast-progress {
  animation-play-state: paused;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Today's Markets — 3-column dense data grid
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-now-dashboard-root {
  /* Use root zinc palette — no local overrides */
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.dt-now-status-banner {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
  max-width: 100%;
  padding: 5px var(--space-4);
  border-radius: 2px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  background: rgba(245, 166, 35, 0.08);
  color: hsl(var(--foreground));
  font-size: 12px;
  line-height: 1.4;
}

.dt-now-status-banner__label {
  flex: 0 0 auto;
  color: hsl(var(--foreground));
  font-weight: 600;
  white-space: nowrap;
}

.dt-now-status-banner__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-now-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.dt-now-shell {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

/* ── Fixed grid layout for Today's Markets ──────────────────────────── */
/*
  Layout (6 columns × 6 rows):
  ┌──────────┬──────────────────────┬──────────┐
  │  equity  │       news           │currencies│  row 1
  ├──────────┼──────────────────────┼──────────┤
  │          │                      │          │
  │ sectors  │       chart          │  global  │  row 2-4
  │          │                      │          │
  ├──────────┼───────────┬──────────┼──────────┤
  │    fi    │  factors  │  yields  │commodities│ row 5-6
  └──────────┴───────────┴──────────┴──────────┘
*/
.dt-now-fixed-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.68fr 0.78fr 1.1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1.1fr 1.1fr;
  grid-template-areas:
    "left     news     news     right"
    "left     chart    chart    right"
    "left     chart    chart    right"
    "left     chart    chart    right"
    "left     factors  yields   right"
    "left     factors  yields   right";
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 6px;
  background: hsl(var(--background));
}

.dt-now-fixed-grid > div {
  min-height: 0;
  min-width: 0;
}

/* Unified scrollable columns – left (equity/sectors/fi) and right (currencies/global/commodities) */
.dt-now-area-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
}
.dt-now-area-right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
}
/* Panels inside left/right columns: no individual card border, just bottom divider */
.dt-now-area-left > div,
.dt-now-area-right > div {
  flex: 0 0 auto;
  border-bottom: 1px solid hsl(var(--border));
}
.dt-now-area-left > div:last-child,
.dt-now-area-right > div:last-child {
  border-bottom: none;
}

.dt-now-area-news        { grid-area: news; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 4px; background: hsl(var(--card)); }
.dt-now-area-chart       { grid-area: chart; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 4px; background: hsl(var(--card)); }
.dt-now-area-factors     { grid-area: factors; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 4px; background: hsl(var(--card)); }
.dt-now-area-yields      { grid-area: yields; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 4px; background: hsl(var(--card)); }

/* All panels have uniform borders via gap + individual borders */

/* ── Responsive: stack on small screens ─────────────────────────────── */
@media (max-width: 900px) {
  .dt-now-fixed-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "news"
      "left"
      "chart"
      "right"
      "factors"
      "yields";
    overflow-y: auto;
  }
  .dt-now-fixed-grid > div {
    min-height: 260px;
  }
}

/* Legacy: react-grid-layout container override (kept for custom dashboards) */
.dt-now-grid-layout {
  width: 100% !important;
}

/* Each grid cell must clip content so panels scroll internally */
.dt-now-grid-layout > .react-grid-item {
  overflow: hidden;
}

/* ── react-grid-layout resize-handle overrides ──
   The default RGL handle is a 20×20px invisible square that only shows on
   hover via a tiny 5×5px dark diagonal glyph. On dark-themed widgets the
   glyph is nearly impossible to see, making resize feel broken. We replace
   it with a larger, always-visible handle that works on both light and dark
   backgrounds, and bump z-index so it sits above any widget overlays. */
.dt-grid-layout .react-grid-item > .react-resizable-handle {
  width: 24px;
  height: 24px;
  opacity: 1;
  z-index: 20;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle::after {
  right: 4px;
  bottom: 4px;
  width: 10px;
  height: 10px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-color: hsl(var(--foreground) / 0.45);
  transition: border-color 150ms ease;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle:hover::after {
  border-color: hsl(var(--primary));
}

/* Ensure east/west handles are equally visible */
.dt-grid-layout .react-grid-item > .react-resizable-handle-e,
.dt-grid-layout .react-grid-item > .react-resizable-handle-w {
  top: 0;
  margin-top: 0;
  height: 100%;
  width: 6px;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle-e::after,
.dt-grid-layout .react-grid-item > .react-resizable-handle-w::after {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 24px;
  border: none;
  background: hsl(var(--foreground) / 0.15);
  border-radius: 2px;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle-e:hover::after,
.dt-grid-layout .react-grid-item > .react-resizable-handle-w:hover::after {
  background: hsl(var(--primary));
}

/* South handle */
.dt-grid-layout .react-grid-item > .react-resizable-handle-s {
  left: 0;
  margin-left: 0;
  width: 100%;
  height: 6px;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle-s::after {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 4px;
  border: none;
  background: hsl(var(--foreground) / 0.15);
  border-radius: 2px;
}

.dt-grid-layout .react-grid-item > .react-resizable-handle-s:hover::after {
  background: hsl(var(--primary));
}

/* ── Widget drag/resize overlay ──
   Both dragging and resizing reuse the React `.dt-resize-overlay` inside each
   widget body. That overlay renders the dibsTERMINAL wordmark as real HTML
   (not an SVG) so the typography exactly matches the navbar. See
   DashboardGrid for the visibility rules. */

.dt-now-overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid hsl(var(--border));
  background:
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--background)));
}

.dt-now-overview-copy {
  min-width: 0;
}

.dt-now-overview-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  margin-bottom: var(--space-1);
}

.dt-now-overview-title-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.dt-now-overview-title {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
}

.dt-now-overview-time {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}

.dt-now-overview-subtitle {
  margin: var(--space-2) 0 0;
  max-width: 720px;
  font-size: 11px;
  line-height: 1.4;
  color: hsl(var(--foreground));
}

.dt-now-overview-guide {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dt-now-overview-guide-item {
  min-width: 100px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  background: hsl(var(--card));
}

.dt-now-overview-guide-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  margin-bottom: var(--space-1);
}

.dt-now-overview-guide-detail {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: hsl(var(--muted-foreground));
}

.dt-now-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: clip;
  overflow-y: auto;
  gap: 0;
  padding: 0;
  background: transparent;
}
.dt-now-col:last-child { }

.dt-now-panel {
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dt-now-panel:last-child { border-bottom: none; }

/* Panel body scrolls internally so panels don't need to grow */
.dt-now-panel > *:not(.dt-now-panel-header) {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

/* Tables need display:block wrapper behavior to enable overflow scroll */
.dt-now-panel > table.dt-now-table {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}
.dt-now-panel > table.dt-now-table > thead {
  display: table;
  width: 100%;
  table-layout: auto;
}
.dt-now-panel > table.dt-now-table > tbody {
  display: table;
  width: 100%;
  table-layout: auto;
}

.dt-now-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-4);
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
  background: rgba(255, 255, 255, 0.02);
  gap: var(--space-3);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  min-height: 24px;
}
.dt-now-panel-header-main {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-width: 0;
  flex-wrap: wrap;
}
.dt-now-panel-title {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.dt-now-panel-title-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}
.dt-now-panel-header-legend {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.dt-now-panel-header-legend-item {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: 1px var(--space-3);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: hsl(var(--card));
}
.dt-now-panel-header-legend-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}
.dt-now-panel-header-legend-detail {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}
.dt-now-panel-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.dt-now-panel-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 1px var(--space-3);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dt-now-panel-status-chip--loading {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(30, 64, 175, 0.16);
  color: hsl(var(--primary));
}
.dt-now-panel-status-chip--updating {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(146, 64, 14, 0.16);
  color: #9a9a7a;
}
.dt-now-panel-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.dt-now-panel-header-btn:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }

/* Dense data table in NOW grid */
.dt-now-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  table-layout: fixed;
}
.dt-now-table th {
  padding: var(--space-1) 4px;
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: sticky;
  top: 0;
  z-index: 2;
  background: hsl(var(--card));
}
.dt-now-table th:not(:first-child) { text-align: right; }

/* Column widths: checkbox, name (flexible), ticker, price, chg, %
   With table-layout: fixed, explicit px columns are respected;
   col 2 (name) has no explicit width → gets all remaining space */
.dt-now-table th:nth-child(1),
.dt-now-table td:nth-child(1) { width: 22px; }
/* col 2 name: gets remaining width; content truncated with ellipsis */
.dt-now-table th:nth-child(2),
.dt-now-table td:nth-child(2) { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* col 3 ticker: compact mono */
.dt-now-table th:nth-child(3),
.dt-now-table td:nth-child(3) { width: 44px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* col 4 price */
.dt-now-table th:nth-child(4),
.dt-now-table td:nth-child(4) { width: 58px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* col 5 change */
.dt-now-table th:nth-child(5),
.dt-now-table td:nth-child(5) { width: 52px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* col 6 pct */
.dt-now-table th:nth-child(6),
.dt-now-table td:nth-child(6) { width: 38px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dt-now-table td {
  padding: 1px 3px;
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
  font-size: 10.5px;
  color: hsl(var(--foreground));
}
.dt-now-table td:not(:first-child) { text-align: right; }
.dt-now-table tr:hover td { background: hsl(var(--accent)); }
.dt-now-table .symbol-cell { font-weight: 500; color: hsl(var(--foreground)); }
/* Unified cell renderer color classes */
.dt-now-table .positive { color: hsl(var(--positive)); }
.dt-now-table .negative { color: hsl(var(--negative)); }
.dt-now-table .neutral  { color: hsl(var(--muted-foreground)); }

/* Name + Ticker inline layout */
.dt-now-name-cell {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.dt-now-name-ticker {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.dt-now-table--label-priority .dt-now-name-cell {
  gap: 3px;
}
.dt-now-bullet {
  color: hsl(var(--muted-foreground));
  font-size: 10px;
  flex-shrink: 0;
}
.dt-now-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.dt-now-ticker-col {
  font-family: var(--font-mono);
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  text-align: left !important;
}
.dt-now-ticker-col a {
  color: inherit;
  text-decoration: none;
}
.dt-now-ticker-col a:hover {
  color: hsl(var(--foreground));
}
.dt-now-color-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.dt-now-color-dot-btn {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 2px;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.dt-now-color-dot-btn:hover {
  opacity: 0.85;
}
.dt-now-color-dot-btn:focus-visible {
  outline: 1px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Colored checkbox swatch – replaces MUI Checkbox when a chart color is assigned */
.dt-now-color-swatch {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 3px;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.dt-now-color-swatch:hover {
  opacity: 1 !important;
}
.dt-now-color-swatch:focus-visible {
  outline: 1px solid hsl(var(--primary));
  outline-offset: 2px;
}

.dt-now-table .subheader td {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  padding-top: var(--space-2);
  padding-bottom: var(--space-1);
  background: hsl(var(--card));
}
.dt-now-table .subheader td:first-child {
  /* empty checkbox column in subheader */
}
.dt-now-table .subheader td:nth-child(2) {
  font-weight: 700;
  color: hsl(var(--foreground));
}


@media (max-width: 1100px) {
  .dt-now-overview-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dt-now-overview-guide {
    justify-content: flex-start;
  }
}

/* Performance chart area */
.dt-now-chart-area {
  padding: 0;
  position: relative;
}
.dt-now-chart-tabs {
  display: flex;
  gap: 0;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid hsl(var(--border));
}
.dt-now-chart-tab {
  padding: var(--space-1) var(--space-3);
  font-size: 11px;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.1s, color 0.1s;
}
.dt-now-chart-tab:hover { color: hsl(var(--foreground)); }
.dt-now-chart-tab[data-state="active"] {
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
}

/* Factors heatmap grid */
.dt-now-factors {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 0;
}
.dt-now-factors-grid {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  grid-template-rows: auto repeat(3, 1fr);
  gap: var(--space-2);
  font-size: 11px;
  flex: 1;
  min-height: 0;
}
.dt-now-factors-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  padding-right: var(--space-3);
  font-weight: 500;
}
.dt-now-factors-header {
  text-align: center;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  padding: var(--space-1) 0;
}
.dt-now-factor-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid hsl(var(--border));
  font-size: 12px;
  font-weight: 600;
  padding: var(--space-3) var(--space-2);
  font-family: var(--font-mono);
  background: transparent;
}

/* News list items */
.dt-now-news-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}
.dt-now-news-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: background 0.1s;
}
.dt-now-news-item:hover { background: hsl(var(--accent)); }
.dt-now-news-title {
  font-size: 11px;
  color: hsl(var(--foreground));
  line-height: 1.4;
}
.dt-now-news-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}

/* Yields table in middle col */
.dt-now-yields-header {
  display: grid;
  grid-template-columns: 1fr repeat(4, 50px);
  padding: 3px 3px 3px var(--space-3);
  font-size: 10px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  background: hsl(var(--card));
}
.dt-now-yields-row {
  display: grid;
  grid-template-columns: 1fr repeat(4, 50px);
  padding: 3px 3px 3px var(--space-3);
  font-size: 11px;
  border-bottom: 1px solid hsl(var(--border));
  align-items: center;
  transition: background 0.1s;
}
.dt-now-yields-row:hover { background: hsl(var(--accent)); }
.dt-now-yields-row--unavailable {
  background: transparent;
}
.dt-now-yields-row--reference {
  background: rgba(148, 163, 184, 0.06);
}
.dt-now-yields-flag {
  display: flex;
  align-items: center;
  gap: 5px;
  color: hsl(var(--foreground));
}
.dt-now-yields-status {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dt-now-yields-val {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: hsl(var(--foreground));
}
.dt-now-yields-row--unavailable .dt-now-yields-val,
.dt-now-yields-row--reference .dt-now-yields-val {
  color: hsl(var(--muted-foreground));
}

/* ═══════════════════════════════════════════════════════════════════════════
   Today's Markets — Checkbox & Selection Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* Checkbox cell in table header */
.dt-now-table th:first-child {
  width: 28px;
  padding-left: var(--space-3);
  text-align: center;
}

/* Checkbox cell in table rows */
.dt-now-table td:first-child {
  width: 28px;
  padding-left: var(--space-3);
  text-align: center;
}

/* Custom checkbox styling */
.dt-now-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  background: hsl(var(--input));
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.dt-now-checkbox:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--accent));
}

.dt-now-checkbox:checked {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.dt-now-checkbox:checked::after {
  content: '';
  position: absolute;
  left: var(--space-2);
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dt-now-checkbox:indeterminate {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.dt-now-checkbox:indeterminate::after {
  content: '';
  position: absolute;
  left: var(--space-1);
  top: var(--space-3);
  width: 8px;
  height: 2px;
  background: white;
}

/* Selected row styling */
.dt-now-table tr.selected td {
  background: rgba(255, 255, 255, 0.04) !important;
}

.dt-now-table tr.selected:hover td {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Selected row in yields panel */
.dt-now-yields-row.selected {
  background: rgba(255, 255, 255, 0.04);
}

.dt-now-yields-row.selected:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Floating action bar for selected symbols */
.dt-now-selection-bar {
  position: fixed;
  bottom: var(--space-9);
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: var(--space-6) var(--space-9);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  box-shadow: 0 2px 10px hsl(0 0% 0% / 0.80);
  z-index: 1000;
  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dt-now-selection-count {
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.dt-now-selection-actions {
  display: flex;
  gap: var(--space-4);
}

.dt-now-selection-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.15s ease;
}

.dt-now-selection-btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.dt-now-selection-btn.primary {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.dt-now-selection-btn.primary:hover {
  background: hsl(var(--primary));
}

.dt-now-selection-btn.clear {
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
}

.dt-now-selection-btn.clear:hover {
  color: hsl(var(--negative));
}

/* Chart container */
.dt-now-chart-container {
  padding: var(--space-4);
  height: 280px;
}

.dt-now-chart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

/* Legend styling for chart */
.dt-now-chart-legend {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-2) var(--space-4) var(--space-4);
  font-size: 11px;
}

.dt-now-chart-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.dt-now-chart-legend-item:hover {
  opacity: 0.8;
}

.dt-now-chart-legend-item.disabled {
  opacity: 0.4;
}

.dt-now-chart-legend-color {
  width: 16px;
  height: 2px;
  border-radius: 2px;
}

.dt-now-chart-legend-label {
  color: hsl(var(--foreground));
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .dt-now-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .dt-now-grid {
    grid-template-columns: 1fr;
  }
  
  .dt-now-col {
    border-right: none;
    border-bottom: 1px solid hsl(var(--border));
  }
  
  .dt-now-col:last-child {
    border-bottom: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Toast Notifications
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-toast-container {
  position: fixed;
  bottom: var(--space-9);
  right: var(--space-9);
  z-index: 2600;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-4);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  pointer-events: none;
}

.dt-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-7);
  min-width: 280px;
  max-width: 400px;
  border-radius: 2px;
  border-left: 4px solid;
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  box-shadow: 0 2px 10px hsl(0 0% 0% / 0.80);
  font-size: 0.75rem;
  line-height: 1.4;
  animation: dt-toast-enter 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.dt-toast--exiting {
  animation: dt-toast-exit 0.3s ease-in forwards;
}

.dt-toast__content {
  flex: 1;
  min-width: 0;
}

.dt-toast__title {
  font-weight: 600;
  font-size: 0.75rem;
  color: hsl(var(--foreground));
  margin-bottom: var(--space-1);
}

.dt-toast__message {
  font-size: 0.6875rem;
  color: hsl(var(--foreground));
  word-break: break-word;
}

.dt-toast__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: var(--space-1);
  line-height: 1;
  font-size: 14px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}

.dt-toast__close:hover {
  color: hsl(var(--foreground));
  background: rgba(255, 255, 255, 0.06);
}

.dt-toast__action {
  margin-top: var(--space-3);
}

.dt-toast__action button {
  background: none;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 0.6875rem;
  padding: 3px var(--space-5);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}

.dt-toast__action button:hover {
  background: rgba(0, 170, 255, 0.08);
}

.dt-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: hsl(var(--border));
  transition: width 0.1s linear;
  opacity: 0.6;
}

@keyframes dt-toast-enter {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes dt-toast-exit {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Form Patterns - Consistent error/success/hint styling
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-form-error {
  color: hsl(var(--negative));
  font-size: 0.6875rem;
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: fadeIn 0.2s ease;
}

.dt-form-error::before {
  content: '⚠';
  font-size: 10px;
}

.dt-form-success {
  color: hsl(var(--positive));
  font-size: 0.6875rem;
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: fadeIn 0.2s ease;
}

.dt-form-success::before {
  content: '✓';
  font-size: 10px;
}

.dt-form-hint {
  color: hsl(var(--muted-foreground));
  font-size: 0.6875rem;
  margin-top: var(--space-2);
  line-height: 1.4;
}

.dt-input--error,
.dt-select--error {
  border-color: hsl(var(--negative)) !important;
}

.dt-input--error:focus,
.dt-select--error:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.dt-input--success,
.dt-select--success {
  border-color: hsl(var(--positive)) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Page Transitions
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-page-enter {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}
.dt-page-enter:has(.dt-fixed-view) {
  overflow: hidden;
}

.dt-page-enter > :first-child {
  flex: 1;
  min-height: 0;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Error Banner
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 2px;
}
.dt-error-banner--error   { color: hsl(var(--negative));    background: hsl(var(--negative) / 0.08);    border: 1px solid hsl(var(--negative)); }
.dt-error-banner--warning { color: hsl(var(--chart-8)); background: hsl(var(--chart-8) / 0.08); border: 1px solid hsl(var(--chart-8)); }
.dt-error-banner--info    { color: hsl(var(--primary));   background: hsl(var(--primary))); border: 1px solid hsl(var(--primary)); }
.dt-error-banner--success { color: hsl(var(--positive));  background: hsl(var(--positive) / 0.08);  border: 1px solid hsl(var(--positive)); }

/* ═══════════════════════════════════════════════════════════════════════════
   Form Group
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-form-group { }
.dt-form-group label,
.dt-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dt-form-hint {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-section-header {
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 24px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  gap: 8px;
}
.dt-section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Empty State
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-empty-state {
  animation: fadeInUp 0.4s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Recently Viewed - Sidebar section
   ═══════════════════════════════════════════════════════════════════════════ */

.dt-recent-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 42px;
  padding: 0 var(--space-6);
  font-size: 12px;
  color: hsl(var(--foreground)));
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.1s, color 0.1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  box-sizing: border-box;
}

.dt-recent-item:hover {
  background: hsl(var(--accent)));
  color: hsl(var(--foreground)));
}

.dt-recent-item__symbol {
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: hsl(var(--foreground));
  min-width: 48px;
}

.dt-recent-item__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}

.dt-recent-item__time {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Light mode: sidebar text readability
   The sidebar nav uses hardcoded text-white/xx Tailwind opacity classes that
   are invisible on the light background. Override them with themed colours.
   ─────────────────────────────────────────────────────────────────────────── */
html.light nav[data-tour="sidebar"] {
  color: hsl(var(--sidebar-foreground));
  background: hsl(var(--sidebar-background));
}

/* Section labels (e.g. "Dashboards", "Market Dashboards") */
html.light nav[data-tour="sidebar"] .text-white\/25 {
  color: hsl(var(--muted-foreground));
}

/* Inactive nav items */
html.light nav[data-tour="sidebar"] .text-white\/50 {
  color: hsl(var(--sidebar-foreground));
}
html.light nav[data-tour="sidebar"] .text-white\/40 {
  color: hsl(var(--sidebar-foreground));
}
html.light nav[data-tour="sidebar"] .text-white\/30 {
  color: hsl(var(--muted-foreground));
}
html.light nav[data-tour="sidebar"] .text-white\/20 {
  color: hsl(var(--muted-foreground));
}
html.light nav[data-tour="sidebar"] .text-white\/15 {
  color: hsl(var(--muted-foreground));
}
html.light nav[data-tour="sidebar"] .text-white\/10 {
  color: hsl(var(--border));
}

/* Active / hover nav items */
html.light nav[data-tour="sidebar"] .text-white\/90,
html.light nav[data-tour="sidebar"] .text-white\/85 {
  color: hsl(var(--sidebar-primary));
}
html.light nav[data-tour="sidebar"] .text-white\/75,
html.light nav[data-tour="sidebar"] .text-white\/70,
html.light nav[data-tour="sidebar"] .text-white\/60 {
  color: hsl(var(--foreground));
}

/* Hover text overrides */
html.light nav[data-tour="sidebar"] .hover\:text-white\/75:hover,
html.light nav[data-tour="sidebar"] .hover\:text-white\/70:hover,
html.light nav[data-tour="sidebar"] .hover\:text-white\/60:hover,
html.light nav[data-tour="sidebar"] .hover\:text-white\/50:hover {
  color: hsl(var(--foreground));
}
html.light nav[data-tour="sidebar"] .hover\:text-white\/90:hover {
  color: hsl(var(--sidebar-primary));
}

/* Active and hover backgrounds */
html.light nav[data-tour="sidebar"] .bg-white\/\[0\.08\],
html.light nav[data-tour="sidebar"] .hover\:bg-white\/\[0\.08\]:hover {
  background: hsl(var(--sidebar-accent));
}
html.light nav[data-tour="sidebar"] .bg-white\/\[0\.04\],
html.light nav[data-tour="sidebar"] .hover\:bg-white\/\[0\.04\]:hover {
  background: hsl(var(--sidebar-accent));
}

/* Subtle divider/border elements */
html.light nav[data-tour="sidebar"] .bg-white\/\[0\.06\] {
  background: hsl(var(--border));
}

/* ═══════════════════════════════════════════════════════════════════════════
   Light Mode — Comprehensive Component Fixes
   Fixes hardcoded dark-mode-only colors that break in light mode
   ═══════════════════════════════════════════════════════════════════════════ */

/* Sidebar: remap text-white/border-white patterns inside nav[data-tour="sidebar"] */
html.light nav[data-tour="sidebar"],
html.light [data-tour="sidebar"] {
  /* Section header text */
  .text-white\/25 { color: rgba(0,0,0,0.25) !important; }
  .text-white\/20 { color: rgba(0,0,0,0.20) !important; }
  .text-white\/30 { color: rgba(0,0,0,0.30) !important; }
  .text-white\/35 { color: rgba(0,0,0,0.35) !important; }
  .text-white\/40 { color: rgba(0,0,0,0.40) !important; }
  .text-white\/50 { color: rgba(0,0,0,0.50) !important; }
  .text-white\/60 { color: rgba(0,0,0,0.60) !important; }
  .text-white\/70 { color: rgba(0,0,0,0.70) !important; }
  .text-white\/75 { color: rgba(0,0,0,0.75) !important; }
  .text-white\/80,.text-white\/85,.text-white\/90 { color: rgba(0,0,0,0.85) !important; }

  /* Backgrounds */
  .bg-white\/[0.02],.bg-white\/\[0.03\],.bg-white\/\[0.04\] { background-color: rgba(0,0,0,0.04) !important; }
  .bg-white\/\[0.06\] { background-color: rgba(0,0,0,0.06) !important; }
  .bg-white\/\[0.08\] { background-color: rgba(0,0,0,0.08) !important; }
  .bg-white\/10 { background-color: rgba(0,0,0,0.10) !important; }

  /* Borders */
  .border-white\/\[0.04\],.border-white\/\[0.06\] { border-color: rgba(0,0,0,0.08) !important; }

  /* Active item bg */
  .bg-white\/\[0.08\] { background-color: rgba(0,0,0,0.07) !important; }

  /* Divider lines */
  .bg-white\/10.w-h-px { background-color: rgba(0,0,0,0.10) !important; }
}

/* Light mode: badge-gray fix */
html.light .dt-badge-gray {
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
}

/* Light mode: symbol link hover */
html.light .symbol-link:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Light mode: alert backgrounds */
html.light .dt-alert-info { background: rgba(24, 24, 27, 0.05); }
html.light .dt-alert-success { background: rgba(22, 163, 74, 0.06); }
html.light .dt-alert-warning { background: rgba(217, 119, 6, 0.06); }
html.light .dt-alert-error { background: rgba(220, 38, 38, 0.06); }

/* Light mode: notes blockquote */
html.light .rr-notes__editor blockquote {
  background: rgba(0, 0, 0, 0.03);
}

/* Light mode: overview header */
html.light .dt-now-overview-header {
  background:
    radial-gradient(ellipse at top left, rgba(0,0,0,0.03), transparent 50%),
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--background)));
}

/* Light mode: panel headers with subtle bg */
html.light .dt-now-panel-header {
  background: rgba(0, 0, 0, 0.02);
}

/* Light mode: scrollbars */
html.light ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}
html.light ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Light mode: color dot shadows */
html.light .dt-now-color-dot-btn,
html.light .dt-color-dot {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Dialog / Modal Fixes — prevent overlapping X close button
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ensure Radix dialog portals stack correctly */
[data-radix-dialog-portal] {
  position: relative;
  z-index: 50;
}

/* DialogContent gets higher z-index than overlay */
[data-radix-dialog-portal] > [data-state="open"][data-radix-dialog-content],
[data-radix-dialog-portal] > [data-radix-dialog-content][data-state="open"] {
  z-index: 60 !important;
}

/* Fix for overlapping X icon — ensure close button renders on top */
button[data-radix-dialog-close] {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

/* Clean X icon rendering */
button[data-radix-dialog-close] svg {
  display: block;
  stroke-linecap: round;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Landing Page — Light Mode Overrides
   ═══════════════════════════════════════════════════════════════════════════ */

/* Root wrapper */
html.light .landing-page,
[data-color-mode="light"] .landing-page {
  background-color: #ffffff;
  color: #111827;
}

/* ── Backgrounds ── */
html.light .landing-page .bg-black,
[data-color-mode="light"] .landing-page .bg-black {
  background-color: #ffffff;
}

html.light .landing-page .bg-white\/\[0\.015\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.015\] {
  background-color: rgba(0, 0, 0, 0.02);
}

html.light .landing-page .bg-white\/\[0\.01\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.01\] {
  background-color: rgba(0, 0, 0, 0.01);
}

html.light .landing-page .bg-white\/\[0\.02\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.02\] {
  background-color: rgba(0, 0, 0, 0.02);
}

html.light .landing-page .bg-white\/\[0\.03\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.03\] {
  background-color: rgba(0, 0, 0, 0.03);
}

html.light .landing-page .bg-white\/\[0\.04\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.04\],
html.light .landing-page .hover\:bg-white\/\[0\.04\]:hover,
[data-color-mode="light"] .landing-page .hover\:bg-white\/\[0\.04\]:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

html.light .landing-page .bg-white\/\[0\.06\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.06\],
html.light .landing-page .hover\:bg-white\/\[0\.06\]:hover,
[data-color-mode="light"] .landing-page .hover\:bg-white\/\[0\.06\]:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

html.light .landing-page .bg-white\/\[0\.07\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.07\],
html.light .landing-page .hover\:bg-white\/\[0\.07\]:hover,
[data-color-mode="light"] .landing-page .hover\:bg-white\/\[0\.07\]:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

html.light .landing-page .bg-white\/\[0\.08\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.08\],
html.light .landing-page .data-\[state\=active\]\:bg-white\/\[0\.08\][data-state="active"],
[data-color-mode="light"] .landing-page .data-\[state\=active\]\:bg-white\/\[0\.08\][data-state="active"] {
  background-color: rgba(0, 0, 0, 0.07);
}

/* ── Text ── */
html.light .landing-page .text-white\/90,
[data-color-mode="light"] .landing-page .text-white\/90 {
  color: #111827;
}

html.light .landing-page .text-white\/\[0\.92\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.92\] {
  color: #111827;
}

html.light .landing-page .text-white\/80,
[data-color-mode="light"] .landing-page .text-white\/80 {
  color: #1f2937;
}

html.light .landing-page .text-white\/70,
[data-color-mode="light"] .landing-page .text-white\/70 {
  color: #374151;
}

html.light .landing-page .text-white\/65,
[data-color-mode="light"] .landing-page .text-white\/65 {
  color: #374151;
}

html.light .landing-page .text-white\/60,
[data-color-mode="light"] .landing-page .text-white\/60 {
  color: #4b5563;
}

html.light .landing-page .text-white\/55,
[data-color-mode="light"] .landing-page .text-white\/55 {
  color: #4b5563;
}

html.light .landing-page .text-white\/50,
[data-color-mode="light"] .landing-page .text-white\/50 {
  color: #6b7280;
}

html.light .landing-page .text-white\/45,
[data-color-mode="light"] .landing-page .text-white\/45 {
  color: #6b7280;
}

html.light .landing-page .text-white\/40,
[data-color-mode="light"] .landing-page .text-white\/40 {
  color: #6b7280;
}

html.light .landing-page .data-\[state\=active\]\:text-white\/90[data-state="active"],
[data-color-mode="light"] .landing-page .data-\[state\=active\]\:text-white\/90[data-state="active"] {
  color: #111827;
}

html.light .landing-page .data-\[state\=active\]\:text-white\/40[data-state="active"],
[data-color-mode="light"] .landing-page .data-\[state\=active\]\:text-white\/40[data-state="active"] {
  color: #4b5563;
}

html.light .landing-page .text-white\/\[0\.48\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.48\] {
  color: #4b5563;
}

html.light .landing-page .text-white\/\[0\.46\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.46\] {
  color: #6b7280;
}

html.light .landing-page .text-white\/\[0\.35\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.35\] {
  color: #6b7280;
}

html.light .landing-page .text-white\/\[0\.32\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.32\] {
  color: #6b7280;
}

html.light .landing-page .text-white\/\[0\.30\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.30\] {
  color: #6b7280;
}

html.light .landing-page .text-white\/\[0\.28\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.28\] {
  color: #9ca3af;
}

html.light .landing-page .text-white\/\[0\.24\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.24\] {
  color: #9ca3af;
}

html.light .landing-page .text-white\/\[0\.20\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.20\] {
  color: #d1d5db;
}

html.light .landing-page .text-white\/\[0\.18\],
[data-color-mode="light"] .landing-page .text-white\/\[0\.18\] {
  color: #d1d5db;
}

/* ── Borders ── */
html.light .landing-page .border-white\/\[0\.07\],
[data-color-mode="light"] .landing-page .border-white\/\[0\.07\] {
  border-color: rgba(0, 0, 0, 0.1);
}

html.light .landing-page .border-white\/\[0\.08\],
[data-color-mode="light"] .landing-page .border-white\/\[0\.08\] {
  border-color: rgba(0, 0, 0, 0.1);
}

html.light .landing-page .border-white\/\[0\.055\],
[data-color-mode="light"] .landing-page .border-white\/\[0\.055\] {
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .landing-page .border-white\/\[0\.06\],
[data-color-mode="light"] .landing-page .border-white\/\[0\.06\] {
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .landing-page .border-white\/\[0\.13\],
[data-color-mode="light"] .landing-page .border-white\/\[0\.13\],
html.light .landing-page .hover\:border-white\/\[0\.13\]:hover,
[data-color-mode="light"] .landing-page .hover\:border-white\/\[0\.13\]:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

html.light .landing-page .border-white\/10,
[data-color-mode="light"] .landing-page .border-white\/10,
html.light .landing-page .hover\:border-white\/10:hover,
[data-color-mode="light"] .landing-page .hover\:border-white\/10:hover {
  border-color: rgba(0, 0, 0, 0.1);
}

/* ── Hover text ── */
html.light .landing-page .hover\:text-white\/75:hover,
[data-color-mode="light"] .landing-page .hover\:text-white\/75:hover {
  color: #374151;
}

html.light .landing-page .hover\:text-white\/90:hover,
[data-color-mode="light"] .landing-page .hover\:text-white\/90:hover {
  color: #111827;
}

/* ── Navigation ── */
html.light .landing-page nav,
[data-color-mode="light"] .landing-page nav {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

html.light .landing-page nav a,
[data-color-mode="light"] .landing-page nav a {
  color: #111827;
}

html.light .landing-page nav .bg-black\/\[0\.92\],
[data-color-mode="light"] .landing-page nav .bg-black\/\[0\.92\] {
  background-color: rgba(255, 255, 255, 0.92);
}

html.light .landing-page nav .bg-\[\#09090b\],
[data-color-mode="light"] .landing-page nav .bg-\[\#09090b\] {
  background-color: #ffffff;
}

html.light .landing-page nav .text-white\/90,
[data-color-mode="light"] .landing-page nav .text-white\/90 {
  color: #111827;
}

html.light .landing-page nav .text-white\/\[0\.48\],
[data-color-mode="light"] .landing-page nav .text-white\/\[0\.48\] {
  color: #4b5563;
}

html.light .landing-page nav .text-white\/\[0\.28\],
[data-color-mode="light"] .landing-page nav .text-white\/\[0\.28\] {
  color: #9ca3af;
}

html.light .landing-page nav .text-white\/60,
[data-color-mode="light"] .landing-page nav .text-white\/60 {
  color: #4b5563;
}

html.light .landing-page nav .hover\:text-white\/90:hover,
[data-color-mode="light"] .landing-page nav .hover\:text-white\/90:hover {
  color: #111827;
}

html.light .landing-page nav .hover\:text-primary:hover,
[data-color-mode="light"] .landing-page nav .hover\:text-primary:hover {
  color: hsl(var(--primary));
}

html.light .landing-page nav .border-primary\/\[0\.08\],
[data-color-mode="light"] .landing-page nav .border-primary\/\[0\.08\] {
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .landing-page nav .bg-primary\/\[0\.06\],
[data-color-mode="light"] .landing-page nav .bg-primary\/\[0\.06\] {
  background-color: rgba(24, 24, 27, 0.08);
}

html.light .landing-page nav .bg-primary\/10,
[data-color-mode="light"] .landing-page nav .bg-primary\/10 {
  background-color: rgba(24, 24, 27, 0.1);
}

html.light .landing-page nav .border-primary\/20,
[data-color-mode="light"] .landing-page nav .border-primary\/20 {
  border-color: rgba(24, 24, 27, 0.2);
}

html.light .landing-page nav .hover\:bg-transparent:hover,
[data-color-mode="light"] .landing-page nav .hover\:bg-transparent:hover {
  background-color: transparent;
}

html.light .landing-page nav .hover\:text-white:hover,
[data-color-mode="light"] .landing-page nav .hover\:text-white:hover {
  color: #111827;
}

html.light .landing-page nav .border-white\/\[0\.06\],
[data-color-mode="light"] .landing-page nav .border-white\/\[0\.06\] {
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .landing-page nav .shadow-\[0_16px_48px_rgba\(0,0,0,0\.4\),0_0_0_1px_rgba\(0,229,255,0\.05\)\],
[data-color-mode="light"] .landing-page nav .shadow-\[0_16px_48px_rgba\(0,0,0,0\.4\),0_0_0_1px_rgba\(0,229,255,0\.05\)\] {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ── Shadows ── */
html.light .landing-page .shadow-\[0_0_0_1px_rgba\(255,255,255,0\.035\),0_32px_80px_rgba\(0,0,0,0\.65\)\],
[data-color-mode="light"] .landing-page .shadow-\[0_0_0_1px_rgba\(255,255,255,0\.035\),0_32px_80px_rgba\(0,0,0,0\.65\)\] {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 32px 80px rgba(0, 0, 0, 0.12);
}

/* ── Radial gradient ── */
html.light .landing-page .bg-\[radial-gradient\(ellipse_at_center,rgba\(161,161,170,0\.07\)_0%,transparent_65%\)\],
[data-color-mode="light"] .landing-page .bg-\[radial-gradient\(ellipse_at_center,rgba\(161,161,170,0\.07\)_0%,transparent_65%\)\] {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.03) 0%, transparent 65%);
}

html.light .landing-page .bg-\[radial-gradient\(ellipse,rgba\(0,229,255,0\.065\)_0%,transparent_65%\)\],
[data-color-mode="light"] .landing-page .bg-\[radial-gradient\(ellipse,rgba\(0,229,255,0\.065\)_0%,transparent_65%\)\] {
  background: radial-gradient(ellipse, rgba(24, 24, 27, 0.06) 0%, transparent 65%);
}

/* ── Mobile overlay ── */
html.light .landing-page .bg-\[rgba\(10,14,20,0\.98\)\],
[data-color-mode="light"] .landing-page .bg-\[rgba\(10,14,20,0\.98\)\] {
  background-color: rgba(255, 255, 255, 0.98);
}

/* ── Additional text/background/border overrides ── */
html.light .landing-page .text-white\/40,
[data-color-mode="light"] .landing-page .text-white\/40 {
  color: #6b7280;
}

html.light .landing-page .text-white\/35,
[data-color-mode="light"] .landing-page .text-white\/35 {
  color: #6b7280;
}

html.light .landing-page .text-white\/30,
[data-color-mode="light"] .landing-page .text-white\/30 {
  color: #9ca3af;
}

html.light .landing-page .before\:bg-white\/20::before,
[data-color-mode="light"] .landing-page .before\:bg-white\/20::before {
  background-color: rgba(0, 0, 0, 0.15);
}

html.light .landing-page .border-white\/5,
[data-color-mode="light"] .landing-page .border-white\/5 {
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .landing-page .bg-white\/\[0\.055\],
[data-color-mode="light"] .landing-page .bg-white\/\[0\.055\] {
  background-color: rgba(0, 0, 0, 0.05);
}

html.light .landing-page .border-y.border-white\/5,
[data-color-mode="light"] .landing-page .border-y.border-white\/5 {
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .landing-page .text-white\/50,
[data-color-mode="light"] .landing-page .text-white\/50 {
  color: #6b7280;
}

html.light .landing-page .hover\:bg-white\/\[0\.06\]:hover,
[data-color-mode="light"] .landing-page .hover\:bg-white\/\[0\.06\]:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Panel / card surface utilities
   Provides a shared gradient + flat treatment for product/admin/settings cards
   so the terminal no longer visually diverges from auth + marketing pages.
   Add via `className="panel-gradient"` or `className="panel-surface"`.
   ═══════════════════════════════════════════════════════════════════════════ */
.panel-gradient {
  background: linear-gradient(to bottom,
    color-mix(in srgb, hsl(var(--card)) 80%, transparent) 0%,
    color-mix(in srgb, hsl(var(--card)) 30%, transparent) 100%);
  backdrop-filter: blur(6px);
}
.panel-surface {
  background-color: hsl(var(--card));
}

/* Legal pages (Impressum / Privacy / Terms / Withdrawal) --------------- */
/* Rich-text styling for translated HTML bodies injected via DOMPurify.  */
.legal-html > p {
  margin-bottom: 0.875rem; /* 14px, matches former mb-3.5 */
}
.legal-html > p:last-child {
  margin-bottom: 0;
}
.legal-html ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.875rem;
  line-height: 1.9;
}
.legal-html li {
  margin-bottom: 0.125rem;
}
.legal-html a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-html strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.legal-html em {
  color: inherit;
}
.legal-html .legal-box {
  display: block;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 0 0 1.5rem 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}
.legal-html .legal-box ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.legal-html .legal-box-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   Design-system component classes
   ══════════════════════════════════════════════════════════════════════════════
   Named utility classes that capture the most-repeated patterns in the
   terminal. Use these instead of recomposing the same Tailwind chain in
   every widget — semantic names survive design tweaks (change one rule,
   every consumer follows).

   Naming: `dt-<intent>` (or `dt-<intent>--<variant>`).
   Intent over implementation: `.dt-label` says "this is a label", not
   "10px uppercase muted-foreground".
   ──────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════════
   Brand interaction hierarchy — L1 hint → L4 action
   ══════════════════════════════════════════════════════════════════════════════
   Four canonical levels of brand presence so the terminal reads as a
   coherent system (not "brand sprinkled randomly"). Use the level that
   matches the semantic — never escalate just to make something visible.

   L1 Hint     → hover affordance on interactive elements
   L2 Active   → currently-selected / active item (single-select context)
   L3 Anchor   → scope identity (symbol-locked, primary, live data)
   L4 Action   → primary CTA, brand mark, sidebar active state
   ──────────────────────────────────────────────────────────────────────────── */

@keyframes dt-live-pulse {
  0%, 100% { box-shadow: 0 0 0 2px hsl(var(--brand) / 0.25); }
  50%      { box-shadow: 0 0 0 4px hsl(var(--brand) / 0.10); }
}

.selection\:bg-primary *::-moz-selection {
  background-color: hsl(var(--primary));
}

.selection\:bg-primary *::selection {
  background-color: hsl(var(--primary));
}

.selection\:text-primary-foreground *::-moz-selection {
  color: hsl(var(--primary-foreground));
}

.selection\:text-primary-foreground *::selection {
  color: hsl(var(--primary-foreground));
}

.selection\:bg-primary::-moz-selection {
  background-color: hsl(var(--primary));
}

.selection\:bg-primary::selection {
  background-color: hsl(var(--primary));
}

.selection\:text-primary-foreground::-moz-selection {
  color: hsl(var(--primary-foreground));
}

.selection\:text-primary-foreground::selection {
  color: hsl(var(--primary-foreground));
}

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:font-medium::file-selector-button {
  font-weight: 500;
}

.file\:text-foreground::file-selector-button {
  color: hsl(var(--foreground));
}

.placeholder\:text-muted-foreground::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}

.placeholder\:text-muted-foreground::placeholder {
  color: hsl(var(--muted-foreground));
}

.placeholder\:text-muted-foreground\/60::-moz-placeholder {
  color: hsl(var(--muted-foreground) / 0.6);
}

.placeholder\:text-muted-foreground\/60::placeholder {
  color: hsl(var(--muted-foreground) / 0.6);
}

.placeholder\:text-muted-foreground\/70::-moz-placeholder {
  color: hsl(var(--muted-foreground) / 0.7);
}

.placeholder\:text-muted-foreground\/70::placeholder {
  color: hsl(var(--muted-foreground) / 0.7);
}

.after\:absolute::after {
  content: var(--tw-content);
  position: absolute;
}

.after\:-inset-2::after {
  content: var(--tw-content);
  inset: -0.5rem;
}

.after\:inset-y-0::after {
  content: var(--tw-content);
  top: 0px;
  bottom: 0px;
}

.after\:-bottom-px::after {
  content: var(--tw-content);
  bottom: -1px;
}

.after\:left-0::after {
  content: var(--tw-content);
  left: 0px;
}

.after\:left-1\/2::after {
  content: var(--tw-content);
  left: 50%;
}

.after\:right-0::after {
  content: var(--tw-content);
  right: 0px;
}

.after\:h-0\.5::after {
  content: var(--tw-content);
  height: 0.125rem;
}

.after\:w-1::after {
  content: var(--tw-content);
  width: 0.25rem;
}

.after\:w-\[2px\]::after {
  content: var(--tw-content);
  width: 2px;
}

.after\:-translate-x-1\/2::after {
  content: var(--tw-content);
  --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));
}

.after\:rounded-full::after {
  content: var(--tw-content);
  border-radius: 9999px;
}

.after\:bg-brand::after {
  content: var(--tw-content);
  background-color: hsl(var(--brand));
}

.after\:bg-transparent::after {
  content: var(--tw-content);
  background-color: transparent;
}

.after\:transition-colors::after {
  content: var(--tw-content);
  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;
}

.first\:rounded-l-md:first-child {
  border-top-left-radius: calc(var(--radius) - 1px);
  border-bottom-left-radius: calc(var(--radius) - 1px);
}

.first\:border-l:first-child {
  border-left-width: 1px;
}

.first\:pt-0:first-child {
  padding-top: 0px;
}

.last\:rounded-r-md:last-child {
  border-top-right-radius: calc(var(--radius) - 1px);
  border-bottom-right-radius: calc(var(--radius) - 1px);
}

.last\:border-0:last-child {
  border-width: 0px;
}

.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}

.last\:pb-0:last-child {
  padding-bottom: 0px;
}

.focus-within\:opacity-100:focus-within {
  opacity: 1;
}

.focus-within\:ring-2:focus-within {
  --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-within\:ring-ring:focus-within {
  --tw-ring-color: hsl(var(--ring));
}

.focus-within\:ring-offset-2:focus-within {
  --tw-ring-offset-width: 2px;
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  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\:scale-150:hover {
  --tw-scale-x: 1.5;
  --tw-scale-y: 1.5;
  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-accent-foreground\/20:hover {
  border-color: hsl(var(--accent-foreground) / 0.2);
}

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

.hover\:border-border\/40:hover {
  border-color: hsl(var(--border) / 0.4);
}

.hover\:border-border\/50:hover {
  border-color: hsl(var(--border) / 0.5);
}

.hover\:border-border\/60:hover {
  border-color: hsl(var(--border) / 0.6);
}

.hover\:border-border\/70:hover {
  border-color: hsl(var(--border) / 0.7);
}

.hover\:border-border\/80:hover {
  border-color: hsl(var(--border) / 0.8);
}

.hover\:border-destructive\/50:hover {
  border-color: hsl(var(--destructive) / 0.5);
}

.hover\:border-foreground:hover {
  border-color: hsl(var(--foreground));
}

.hover\:border-foreground\/30:hover {
  border-color: hsl(var(--foreground) / 0.3);
}

.hover\:border-foreground\/\[0\.13\]:hover {
  border-color: hsl(var(--foreground) / 0.13);
}

.hover\:border-muted-foreground:hover {
  border-color: hsl(var(--muted-foreground));
}

.hover\:border-muted-foreground\/40:hover {
  border-color: hsl(var(--muted-foreground) / 0.4);
}

.hover\:border-muted-foreground\/60:hover {
  border-color: hsl(var(--muted-foreground) / 0.6);
}

.hover\:border-ring:hover {
  border-color: hsl(var(--ring));
}

.hover\:bg-\[hsl\(var\(--secondary-accent\)\/0\.85\)\]:hover {
  background-color: hsl(var(--secondary-accent)/0.85);
}

.hover\:bg-\[rgba\(90\2c 154\2c 110\2c 0\.2\)\]:hover {
  background-color: rgba(90,154,110,0.2);
}

.hover\:bg-accent:hover {
  background-color: hsl(var(--accent));
}

.hover\:bg-accent\/20:hover {
  background-color: hsl(var(--accent) / 0.2);
}

.hover\:bg-accent\/30:hover {
  background-color: hsl(var(--accent) / 0.3);
}

.hover\:bg-accent\/40:hover {
  background-color: hsl(var(--accent) / 0.4);
}

.hover\:bg-accent\/50:hover {
  background-color: hsl(var(--accent) / 0.5);
}

.hover\:bg-accent\/60:hover {
  background-color: hsl(var(--accent) / 0.6);
}

.hover\:bg-accent\/70:hover {
  background-color: hsl(var(--accent) / 0.7);
}

.hover\:bg-accent\/90:hover {
  background-color: hsl(var(--accent) / 0.9);
}

.hover\:bg-background\/10:hover {
  background-color: hsl(var(--background) / 0.1);
}

.hover\:bg-blue-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-500\/10:hover {
  background-color: rgb(59 130 246 / 0.1);
}

.hover\:bg-brand-strong:hover {
  background-color: hsl(var(--brand-strong));
}

.hover\:bg-brand\/15:hover {
  background-color: hsl(var(--brand) / 0.15);
}

.hover\:bg-brand\/25:hover {
  background-color: hsl(var(--brand) / 0.25);
}

.hover\:bg-brand\/40:hover {
  background-color: hsl(var(--brand) / 0.4);
}

.hover\:bg-brand\/\[0\.06\]:hover {
  background-color: hsl(var(--brand) / 0.06);
}

.hover\:bg-card\/40:hover {
  background-color: hsl(var(--card) / 0.4);
}

.hover\:bg-card\/50:hover {
  background-color: hsl(var(--card) / 0.5);
}

.hover\:bg-card\/60:hover {
  background-color: hsl(var(--card) / 0.6);
}

.hover\:bg-destructive\/10:hover {
  background-color: hsl(var(--destructive) / 0.1);
}

.hover\:bg-destructive\/80:hover {
  background-color: hsl(var(--destructive) / 0.8);
}

.hover\:bg-destructive\/90:hover {
  background-color: hsl(var(--destructive) / 0.9);
}

.hover\:bg-foreground\/10:hover {
  background-color: hsl(var(--foreground) / 0.1);
}

.hover\:bg-foreground\/15:hover {
  background-color: hsl(var(--foreground) / 0.15);
}

.hover\:bg-foreground\/\[0\.07\]:hover {
  background-color: hsl(var(--foreground) / 0.07);
}

.hover\:bg-hover:hover {
  background-color: hsl(var(--hover));
}

.hover\:bg-hover\/40:hover {
  background-color: hsl(var(--hover) / 0.4);
}

.hover\:bg-muted:hover {
  background-color: hsl(var(--muted));
}

.hover\:bg-muted\/40:hover {
  background-color: hsl(var(--muted) / 0.4);
}

.hover\:bg-muted\/50:hover {
  background-color: hsl(var(--muted) / 0.5);
}

.hover\:bg-muted\/80:hover {
  background-color: hsl(var(--muted) / 0.8);
}

.hover\:bg-negative\/15:hover {
  background-color: hsl(var(--negative) / 0.15);
}

.hover\:bg-negative\/20:hover {
  background-color: hsl(var(--negative) / 0.2);
}

.hover\:bg-positive:hover {
  background-color: hsl(var(--positive));
}

.hover\:bg-positive\/10:hover {
  background-color: hsl(var(--positive) / 0.1);
}

.hover\:bg-positive\/90:hover {
  background-color: hsl(var(--positive) / 0.9);
}

.hover\:bg-primary\/80:hover {
  background-color: hsl(var(--primary) / 0.8);
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-secondary:hover {
  background-color: hsl(var(--secondary));
}

.hover\:bg-secondary\/80:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.hover\:bg-sidebar-accent:hover {
  background-color: hsl(var(--sidebar-accent));
}

.hover\:bg-sidebar-accent\/60:hover {
  background-color: hsl(var(--sidebar-accent) / 0.6);
}

.hover\:bg-transparent:hover {
  background-color: transparent;
}

.hover\:text-\[\#16A34A\]:hover {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.hover\:text-\[hsl\(var\(--foreground\)\)\]:hover {
  color: hsl(var(--foreground));
}

.hover\:text-accent-foreground:hover {
  color: hsl(var(--accent-foreground));
}

.hover\:text-amber-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}

.hover\:text-amber-400:hover {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-400:hover {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}

.hover\:text-brand:hover {
  color: hsl(var(--brand));
}

.hover\:text-brand-strong:hover {
  color: hsl(var(--brand-strong));
}

.hover\:text-destructive:hover {
  color: hsl(var(--destructive));
}

.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}

.hover\:text-foreground\/80:hover {
  color: hsl(var(--foreground) / 0.8);
}

.hover\:text-foreground\/90:hover {
  color: hsl(var(--foreground) / 0.9);
}

.hover\:text-hover-foreground:hover {
  color: hsl(var(--hover-foreground));
}

.hover\:text-muted-foreground:hover {
  color: hsl(var(--muted-foreground));
}

.hover\:text-negative\/80:hover {
  color: hsl(var(--negative) / 0.8);
}

.hover\:text-positive\/80:hover {
  color: hsl(var(--positive) / 0.8);
}

.hover\:text-primary:hover {
  color: hsl(var(--primary));
}

.hover\:text-sidebar-accent-foreground:hover {
  color: hsl(var(--sidebar-accent-foreground));
}

.hover\:text-sidebar-foreground:hover {
  color: hsl(var(--sidebar-foreground));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:no-underline:hover {
  text-decoration-line: none;
}

.hover\:\!opacity-100:hover {
  opacity: 1 !important;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover {
  --tw-shadow: 0 0 0 1px hsl(var(--sidebar-accent));
  --tw-shadow-colored: 0 0 0 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);
}

.hover\:brightness-125:hover {
  --tw-brightness: brightness(1.25);
  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);
}

.hover\:after\:bg-sidebar-border:hover::after {
  content: var(--tw-content);
  background-color: hsl(var(--sidebar-border));
}

.focus\:border-primary\/50:focus {
  border-color: hsl(var(--primary) / 0.5);
}

.focus\:border-ring:focus {
  border-color: hsl(var(--ring));
}

.focus\:bg-accent:focus {
  background-color: hsl(var(--accent));
}

.focus\:bg-hover:focus {
  background-color: hsl(var(--hover));
}

.focus\:bg-muted:focus {
  background-color: hsl(var(--muted));
}

.focus\:text-\[hsl\(var\(--negative\)\)\]:focus {
  color: hsl(var(--negative));
}

.focus\:text-brand:focus {
  color: hsl(var(--brand));
}

.focus\:text-destructive:focus {
  color: hsl(var(--destructive));
}

.focus\:text-foreground:focus {
  color: hsl(var(--foreground));
}

.focus\:text-hover-foreground:focus {
  color: hsl(var(--hover-foreground));
}

.focus\:text-muted-foreground:focus {
  color: hsl(var(--muted-foreground));
}

.focus\:opacity-100:focus {
  opacity: 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-1: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(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);
}

.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-foreground\/30:focus {
  --tw-ring-color: hsl(var(--foreground) / 0.3);
}

.focus\:ring-primary\/20:focus {
  --tw-ring-color: hsl(var(--primary) / 0.2);
}

.focus\:ring-ring:focus {
  --tw-ring-color: hsl(var(--ring));
}

.focus\:ring-offset-0:focus {
  --tw-ring-offset-width: 0px;
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:\!outline-none:focus-visible {
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-0:focus-visible {
  --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-visible\:ring-1:focus-visible {
  --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);
}

.focus-visible\:ring-2:focus-visible {
  --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-visible\:ring-brand\/40:focus-visible {
  --tw-ring-color: hsl(var(--brand) / 0.4);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring));
}

.focus-visible\:ring-ring\/40:focus-visible {
  --tw-ring-color: hsl(var(--ring) / 0.4);
}

.focus-visible\:ring-sidebar-ring:focus-visible {
  --tw-ring-color: hsl(var(--sidebar-ring));
}

.focus-visible\:ring-offset-0:focus-visible {
  --tw-ring-offset-width: 0px;
}

.focus-visible\:ring-offset-1:focus-visible {
  --tw-ring-offset-width: 1px;
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:ring-offset-background:focus-visible {
  --tw-ring-offset-color: hsl(var(--background));
}

.active\:cursor-grabbing:active {
  cursor: grabbing;
}

.active\:bg-sidebar-accent:active {
  background-color: hsl(var(--sidebar-accent));
}

.active\:text-sidebar-accent-foreground:active {
  color: hsl(var(--sidebar-accent-foreground));
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-40:disabled {
  opacity: 0.4;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\: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));
}

.group:hover .group-hover\:bg-background\/40 {
  background-color: hsl(var(--background) / 0.4);
}

.group:hover .group-hover\:bg-primary\/\[0\.12\] {
  background-color: hsl(var(--primary) / 0.12);
}

.group:hover .group-hover\:text-foreground {
  color: hsl(var(--foreground));
}

.group\/menu-item:hover .group-hover\/menu-item\:opacity-100 {
  opacity: 1;
}

.group\/widget:hover .group-hover\/widget\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:opacity-60 {
  opacity: 0.6;
}

.group.destructive .group-\[\.destructive\]\:border-muted\/40 {
  border-color: hsl(var(--muted) / 0.4);
}

.group.toaster .group-\[\.toaster\]\:border-border {
  border-color: hsl(var(--border));
}

.group.toast .group-\[\.toast\]\:bg-muted {
  background-color: hsl(var(--muted));
}

.group.toast .group-\[\.toast\]\:bg-primary {
  background-color: hsl(var(--primary));
}

.group.toaster .group-\[\.toaster\]\:bg-background {
  background-color: hsl(var(--background));
}

.group.destructive .group-\[\.destructive\]\:text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}

.group.toast .group-\[\.toast\]\:text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.group.toast .group-\[\.toast\]\:text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.group.toaster .group-\[\.toaster\]\:text-foreground {
  color: hsl(var(--foreground));
}

.group.toaster .group-\[\.toaster\]\:shadow-lg {
  --tw-shadow: 0 10px 15px rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 10px 15px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover {
  border-color: hsl(var(--destructive) / 0.3);
}

.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover {
  background-color: hsl(var(--destructive));
}

.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover {
  color: hsl(var(--destructive-foreground));
}

.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover {
  --tw-text-opacity: 1;
  color: rgb(254 242 242 / var(--tw-text-opacity, 1));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus {
  --tw-ring-color: hsl(var(--destructive));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus {
  --tw-ring-offset-color: #dc2626;
}

.peer\/menu-button:hover ~ .peer-hover\/menu-button\:text-sidebar-accent-foreground {
  color: hsl(var(--sidebar-accent-foreground));
}

.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
  cursor: not-allowed;
}

.peer:disabled ~ .peer-disabled\:opacity-70 {
  opacity: 0.7;
}

.has-\[\>button\]\:ml-\[-0\.45rem\]:has(>button) {
  margin-left: -0.45rem;
}

.has-\[\>button\]\:mr-\[-0\.4rem\]:has(>button) {
  margin-right: -0.4rem;
}

.has-\[\>kbd\]\:ml-\[-0\.35rem\]:has(>kbd) {
  margin-left: -0.35rem;
}

.has-\[\>kbd\]\:mr-\[-0\.35rem\]:has(>kbd) {
  margin-right: -0.35rem;
}

.has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]) {
  height: auto;
}

.has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]) {
  height: auto;
}

.has-\[\>textarea\]\:h-auto:has(>textarea) {
  height: auto;
}

.has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]) {
  flex-direction: column;
}

.has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]) {
  flex-direction: column;
}

.has-\[\>\[data-slot\=button-group\]\]\:gap-2:has(>[data-slot=button-group]) {
  gap: 0.5rem;
}

.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]) {
  border-color: hsl(var(--destructive));
}

.has-\[\[data-variant\=inset\]\]\:bg-sidebar:has([data-variant=inset]) {
  background-color: hsl(var(--sidebar-background));
}

.has-\[\>svg\]\:p-0:has(>svg) {
  padding: 0px;
}

.has-\[\>svg\]\:px-2:has(>svg) {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.has-\[\>svg\]\:px-2\.5:has(>svg) {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.has-\[\:disabled\]\:opacity-50:has(:disabled) {
  opacity: 0.5;
}

.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-1:has([data-slot=input-group-control]:focus-visible) {
  --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);
}

.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring:has([data-slot=input-group-control]:focus-visible) {
  --tw-ring-color: hsl(var(--ring));
}

.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]) {
  --tw-ring-color: hsl(var(--destructive) / 0.2);
}

.group\/input-group:has(>input) .group-has-\[\>input\]\/input-group\:pb-2\.5 {
  padding-bottom: 0.625rem;
}

.group\/input-group:has(>input) .group-has-\[\>input\]\/input-group\:pt-2\.5 {
  padding-top: 0.625rem;
}

.group\/menu-item:has([data-sidebar=menu-action]) .group-has-\[\[data-sidebar\=menu-action\]\]\/menu-item\:pr-8 {
  padding-right: 2rem;
}

.aria-disabled\:pointer-events-none[aria-disabled="true"] {
  pointer-events: none;
}

.aria-disabled\:opacity-50[aria-disabled="true"] {
  opacity: 0.5;
}

.aria-selected\:text-muted-foreground[aria-selected="true"] {
  color: hsl(var(--muted-foreground));
}

.aria-\[orientation\=vertical\]\:h-px[aria-orientation="vertical"] {
  height: 1px;
}

.aria-\[orientation\=vertical\]\:w-full[aria-orientation="vertical"] {
  width: 100%;
}

.aria-\[orientation\=vertical\]\:flex-col[aria-orientation="vertical"] {
  flex-direction: column;
}

.aria-\[orientation\=vertical\]\:after\:left-0[aria-orientation="vertical"]::after {
  content: var(--tw-content);
  left: 0px;
}

.aria-\[orientation\=vertical\]\:after\:h-1[aria-orientation="vertical"]::after {
  content: var(--tw-content);
  height: 0.25rem;
}

.aria-\[orientation\=vertical\]\:after\:w-full[aria-orientation="vertical"]::after {
  content: var(--tw-content);
  width: 100%;
}

.aria-\[orientation\=vertical\]\:after\:-translate-y-1\/2[aria-orientation="vertical"]::after {
  content: var(--tw-content);
  --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));
}

.aria-\[orientation\=vertical\]\:after\:translate-x-0[aria-orientation="vertical"]::after {
  content: var(--tw-content);
  --tw-translate-x: 0px;
  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));
}

.data-\[disabled\=true\]\:pointer-events-none[data-disabled="true"] {
  pointer-events: none;
}

.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}

.data-\[orientation\=vertical\]\:h-auto[data-orientation="vertical"] {
  height: auto;
}

.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
  --tw-translate-y: 0.25rem;
  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));
}

.data-\[side\=left\]\:-translate-x-1[data-side="left"] {
  --tw-translate-x: -0.25rem;
  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));
}

.data-\[side\=right\]\:translate-x-1[data-side="right"] {
  --tw-translate-x: 0.25rem;
  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));
}

.data-\[side\=top\]\:-translate-y-1[data-side="top"] {
  --tw-translate-y: -0.25rem;
  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));
}

.data-\[state\=checked\]\:translate-x-5[data-state="checked"] {
  --tw-translate-x: 1.25rem;
  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));
}

.data-\[state\=unchecked\]\:translate-x-0[data-state="unchecked"] {
  --tw-translate-x: 0px;
  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));
}

.data-\[swipe\=cancel\]\:translate-x-0[data-swipe="cancel"] {
  --tw-translate-x: 0px;
  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));
}

.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe="end"] {
  --tw-translate-x: var(--radix-toast-swipe-end-x);
  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));
}

.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe="move"] {
  --tw-translate-x: var(--radix-toast-swipe-move-x);
  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 accordion-up {

  from {
    height: var(--radix-accordion-content-height);
  }

  to {
    height: 0;
  }
}

.data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] {
  animation: accordion-up 0.2s ease-out;
}

@keyframes accordion-down {

  from {
    height: 0;
  }

  to {
    height: var(--radix-accordion-content-height);
  }
}

.data-\[state\=open\]\:animate-accordion-down[data-state="open"] {
  animation: accordion-down 0.2s ease-out;
}

.data-\[range-end\=true\]\:rounded-md[data-range-end="true"] {
  border-radius: calc(var(--radius) - 1px);
}

.data-\[range-middle\=true\]\:rounded-none[data-range-middle="true"] {
  border-radius: 0px;
}

.data-\[range-start\=true\]\:rounded-md[data-range-start="true"] {
  border-radius: calc(var(--radius) - 1px);
}

.data-\[selected\=true\]\:rounded-none[data-selected="true"] {
  border-radius: 0px;
}

.data-\[state\=active\]\:border-b-2[data-state="active"] {
  border-bottom-width: 2px;
}

.data-\[state\=active\]\:border-accent[data-state="active"] {
  border-color: hsl(var(--accent));
}

.data-\[state\=active\]\:border-primary[data-state="active"] {
  border-color: hsl(var(--primary));
}

.data-\[state\=checked\]\:\!border-brand[data-state="checked"] {
  border-color: hsl(var(--brand)) !important;
}

.data-\[state\=on\]\:border-primary[data-state="on"] {
  border-color: hsl(var(--primary));
}

.data-\[state\=active\]\:border-b-ring[data-state="active"] {
  border-bottom-color: hsl(var(--ring));
}

.data-\[active\=true\]\:bg-brand\/10[data-active="true"] {
  background-color: hsl(var(--brand) / 0.1);
}

.data-\[active\=true\]\:bg-sidebar-accent[data-active="true"] {
  background-color: hsl(var(--sidebar-accent));
}

.data-\[highlighted\]\:bg-accent[data-highlighted] {
  background-color: hsl(var(--accent));
}

.data-\[highlighted\]\:bg-muted[data-highlighted] {
  background-color: hsl(var(--muted));
}

.data-\[range-end\=true\]\:bg-primary[data-range-end="true"] {
  background-color: hsl(var(--primary));
}

.data-\[range-middle\=true\]\:bg-hover[data-range-middle="true"] {
  background-color: hsl(var(--hover));
}

.data-\[range-start\=true\]\:bg-primary[data-range-start="true"] {
  background-color: hsl(var(--primary));
}

.data-\[selected-single\=true\]\:bg-primary[data-selected-single="true"] {
  background-color: hsl(var(--primary));
}

.data-\[selected\=true\]\:bg-accent[data-selected="true"] {
  background-color: hsl(var(--accent));
}

.data-\[selected\=true\]\:bg-hover[data-selected="true"] {
  background-color: hsl(var(--hover));
}

.data-\[state\=active\]\:bg-background[data-state="active"] {
  background-color: hsl(var(--background));
}

.data-\[state\=active\]\:bg-brand\/15[data-state="active"] {
  background-color: hsl(var(--brand) / 0.15);
}

.data-\[state\=active\]\:bg-transparent[data-state="active"] {
  background-color: transparent;
}

.data-\[state\=checked\]\:\!bg-brand[data-state="checked"] {
  background-color: hsl(var(--brand)) !important;
}

.data-\[state\=checked\]\:bg-\[hsl\(var\(--positive\)\)\][data-state="checked"] {
  background-color: hsl(var(--positive));
}

.data-\[state\=checked\]\:bg-\[hsl\(var\(--primary\)\)\][data-state="checked"] {
  background-color: hsl(var(--primary));
}

.data-\[state\=checked\]\:bg-primary[data-state="checked"] {
  background-color: hsl(var(--primary));
}

.data-\[state\=indeterminate\]\:bg-\[hsl\(var\(--primary\)\)\][data-state="indeterminate"] {
  background-color: hsl(var(--primary));
}

.data-\[state\=on\]\:bg-background[data-state="on"] {
  background-color: hsl(var(--background));
}

.data-\[state\=on\]\:bg-hover[data-state="on"] {
  background-color: hsl(var(--hover));
}

.data-\[state\=on\]\:bg-primary[data-state="on"] {
  background-color: hsl(var(--primary));
}

.data-\[state\=open\]\:bg-hover[data-state="open"] {
  background-color: hsl(var(--hover));
}

.data-\[state\=open\]\:bg-hover\/50[data-state="open"] {
  background-color: hsl(var(--hover) / 0.5);
}

.data-\[state\=open\]\:bg-secondary[data-state="open"] {
  background-color: hsl(var(--secondary));
}

.data-\[state\=selected\]\:bg-muted[data-state="selected"] {
  background-color: hsl(var(--muted));
}

.data-\[state\=unchecked\]\:bg-input[data-state="unchecked"] {
  background-color: hsl(var(--input));
}

.data-\[active\=true\]\:font-medium[data-active="true"] {
  font-weight: 500;
}

.data-\[state\=active\]\:font-semibold[data-state="active"] {
  font-weight: 600;
}

.data-\[active\=true\]\:text-foreground[data-active="true"] {
  color: hsl(var(--foreground));
}

.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active="true"] {
  color: hsl(var(--sidebar-accent-foreground));
}

.data-\[highlighted\]\:text-\[hsl\(var\(--negative\)\)\][data-highlighted] {
  color: hsl(var(--negative));
}

.data-\[highlighted\]\:text-brand[data-highlighted] {
  color: hsl(var(--brand));
}

.data-\[highlighted\]\:text-foreground[data-highlighted] {
  color: hsl(var(--foreground));
}

.data-\[highlighted\]\:text-muted-foreground[data-highlighted] {
  color: hsl(var(--muted-foreground));
}

.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
  color: hsl(var(--muted-foreground));
}

.data-\[range-end\=true\]\:text-primary-foreground[data-range-end="true"] {
  color: hsl(var(--primary-foreground));
}

.data-\[range-middle\=true\]\:text-hover-foreground[data-range-middle="true"] {
  color: hsl(var(--hover-foreground));
}

.data-\[range-start\=true\]\:text-primary-foreground[data-range-start="true"] {
  color: hsl(var(--primary-foreground));
}

.data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single="true"] {
  color: hsl(var(--primary-foreground));
}

.data-\[selected\=true\]\:text-accent-foreground[data-selected="true"] {
  color: hsl(var(--accent-foreground));
}

.data-\[selected\=true\]\:text-foreground[data-selected="true"] {
  color: hsl(var(--foreground));
}

.data-\[state\=active\]\:text-brand[data-state="active"] {
  color: hsl(var(--brand));
}

.data-\[state\=active\]\:text-foreground[data-state="active"] {
  color: hsl(var(--foreground));
}

.data-\[state\=checked\]\:text-accent-foreground[data-state="checked"] {
  color: hsl(var(--accent-foreground));
}

.data-\[state\=checked\]\:text-brand-foreground[data-state="checked"] {
  color: hsl(var(--brand-foreground));
}

.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
  color: hsl(var(--primary-foreground));
}

.data-\[state\=indeterminate\]\:text-accent-foreground[data-state="indeterminate"] {
  color: hsl(var(--accent-foreground));
}

.data-\[state\=on\]\:text-foreground[data-state="on"] {
  color: hsl(var(--foreground));
}

.data-\[state\=on\]\:text-hover-foreground[data-state="on"] {
  color: hsl(var(--hover-foreground));
}

.data-\[state\=on\]\:text-primary-foreground[data-state="on"] {
  color: hsl(var(--primary-foreground));
}

.data-\[state\=open\]\:text-hover-foreground[data-state="open"] {
  color: hsl(var(--hover-foreground));
}

.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  color: hsl(var(--muted-foreground));
}

.data-\[disabled\=true\]\:opacity-50[data-disabled="true"] {
  opacity: 0.5;
}

.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}

.data-\[state\=open\]\:opacity-100[data-state="open"] {
  opacity: 1;
}

.data-\[state\=active\]\:shadow-none[data-state="active"] {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[state\=active\]\:shadow-sm[data-state="active"] {
  --tw-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 1px 3px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[state\=on\]\:shadow-sm[data-state="on"] {
  --tw-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 1px 3px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[swipe\=move\]\:transition-none[data-swipe="move"] {
  transition-property: none;
}

.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  transition-duration: 300ms;
}

.data-\[state\=open\]\:duration-500[data-state="open"] {
  transition-duration: 500ms;
}

.data-\[motion\^\=from-\]\:animate-in[data-motion^="from-"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=visible\]\:animate-in[data-state="visible"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[motion\^\=to-\]\:animate-out[data-motion^="to-"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=hidden\]\:animate-out[data-state="hidden"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[swipe\=end\]\:animate-out[data-swipe="end"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[motion\^\=from-\]\:fade-in[data-motion^="from-"] {
  --tw-enter-opacity: 0;
}

.data-\[motion\^\=to-\]\:fade-out[data-motion^="to-"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=closed\]\:fade-out-80[data-state="closed"] {
  --tw-exit-opacity: 0.8;
}

.data-\[state\=hidden\]\:fade-out[data-state="hidden"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=open\]\:fade-in-0[data-state="open"] {
  --tw-enter-opacity: 0;
}

.data-\[state\=visible\]\:fade-in[data-state="visible"] {
  --tw-enter-opacity: 0;
}

.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  --tw-exit-scale: .95;
}

.data-\[state\=open\]\:zoom-in-90[data-state="open"] {
  --tw-enter-scale: .9;
}

.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  --tw-enter-scale: .95;
}

.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion="from-end"] {
  --tw-enter-translate-x: 13rem;
}

.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion="from-start"] {
  --tw-enter-translate-x: -13rem;
}

.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion="to-end"] {
  --tw-exit-translate-x: 13rem;
}

.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion="to-start"] {
  --tw-exit-translate-x: -13rem;
}

.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
  --tw-enter-translate-y: -0.5rem;
}

.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
  --tw-enter-translate-x: 0.5rem;
}

.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
  --tw-enter-translate-x: -0.5rem;
}

.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
  --tw-enter-translate-y: 0.5rem;
}

.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
  --tw-exit-translate-y: 100%;
}

.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
  --tw-exit-translate-x: -100%;
}

.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
  --tw-exit-translate-x: -50%;
}

.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
  --tw-exit-translate-x: 100%;
}

.data-\[state\=closed\]\:slide-out-to-right-full[data-state="closed"] {
  --tw-exit-translate-x: 100%;
}

.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
  --tw-exit-translate-y: -100%;
}

.data-\[state\=closed\]\:slide-out-to-top-1\/2[data-state="closed"] {
  --tw-exit-translate-y: -50%;
}

.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
  --tw-exit-translate-y: -48%;
}

.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
  --tw-enter-translate-y: 100%;
}

.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
  --tw-enter-translate-x: -100%;
}

.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
  --tw-enter-translate-x: -50%;
}

.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
  --tw-enter-translate-x: 100%;
}

.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
  --tw-enter-translate-y: -100%;
}

.data-\[state\=open\]\:slide-in-from-top-1\/2[data-state="open"] {
  --tw-enter-translate-y: -50%;
}

.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
  --tw-enter-translate-y: -48%;
}

.data-\[state\=open\]\:slide-in-from-top-full[data-state="open"] {
  --tw-enter-translate-y: -100%;
}

.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  animation-duration: 300ms;
}

.data-\[state\=open\]\:duration-500[data-state="open"] {
  animation-duration: 500ms;
}

.data-\[active\=true\]\:before\:absolute[data-active="true"]::before {
  content: var(--tw-content);
  position: absolute;
}

.data-\[active\=true\]\:before\:bottom-1\.5[data-active="true"]::before {
  content: var(--tw-content);
  bottom: 0.375rem;
}

.data-\[active\=true\]\:before\:left-0[data-active="true"]::before {
  content: var(--tw-content);
  left: 0px;
}

.data-\[active\=true\]\:before\:top-1\.5[data-active="true"]::before {
  content: var(--tw-content);
  top: 0.375rem;
}

.data-\[active\=true\]\:before\:w-0\.5[data-active="true"]::before {
  content: var(--tw-content);
  width: 0.125rem;
}

.data-\[active\=true\]\:before\:rounded-r[data-active="true"]::before {
  content: var(--tw-content);
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.data-\[active\=true\]\:before\:bg-brand[data-active="true"]::before {
  content: var(--tw-content);
  background-color: hsl(var(--brand));
}

.data-\[state\=open\]\:hover\:bg-hover:hover[data-state="open"] {
  background-color: hsl(var(--hover));
}

.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state="open"] {
  background-color: hsl(var(--sidebar-accent));
}

.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state="open"] {
  color: hsl(var(--sidebar-accent-foreground));
}

.data-\[state\=open\]\:focus\:bg-hover:focus[data-state="open"] {
  background-color: hsl(var(--hover));
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:relative {
  position: relative;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\] {
  left: calc(var(--sidebar-width) * -1);
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\] {
  right: calc(var(--sidebar-width) * -1);
}

.group[data-side="left"] .group-data-\[side\=left\]\:-right-4 {
  right: -1rem;
}

.group[data-side="right"] .group-data-\[side\=right\]\:left-0 {
  left: 0px;
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:z-10 {
  z-index: 10;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:-mt-8 {
  margin-top: -2rem;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:hidden {
  display: none;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:\!size-8 {
  width: 2rem !important;
  height: 2rem !important;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\] {
  width: var(--sidebar-width-icon);
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\] {
  width: calc(var(--sidebar-width-icon) + 1rem);
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\] {
  width: calc(var(--sidebar-width-icon) + 1rem + 2px);
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:w-0 {
  width: 0px;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:translate-x-0 {
  --tw-translate-x: 0px;
  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));
}

.group[data-side="right"] .group-data-\[side\=right\]\: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));
}

.group[data-state="open"] .group-data-\[state\=open\]\: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));
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:overflow-hidden {
  overflow: hidden;
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:rounded-lg {
  border-radius: var(--radius);
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:border {
  border-width: 1px;
}

.group[data-side="left"] .group-data-\[side\=left\]\:border-r {
  border-right-width: 1px;
}

.group[data-side="right"] .group-data-\[side\=right\]\:border-l {
  border-left-width: 1px;
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:border-ring {
  border-color: hsl(var(--ring));
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\:border-sidebar-border {
  border-color: hsl(var(--sidebar-border));
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:\!p-0 {
  padding: 0px !important;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:\!p-2 {
  padding: 0.5rem !important;
}

.group[data-collapsible="icon"] .group-data-\[collapsible\=icon\]\:opacity-0 {
  opacity: 0;
}

.group\/input-group[data-disabled="true"] .group-data-\[disabled\=true\]\/input-group\:opacity-50 {
  opacity: 0.5;
}

.group[data-variant="floating"] .group-data-\[variant\=floating\]\: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);
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:ring-\[3px\] {
  --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(3px + 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);
}

.group\/day[data-focused="true"] .group-data-\[focused\=true\]\/day\:ring-ring\/50 {
  --tw-ring-color: hsl(var(--ring) / 0.5);
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:after\:left-full::after {
  content: var(--tw-content);
  left: 100%;
}

.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover {
  background-color: hsl(var(--sidebar-background));
}

.peer\/menu-button[data-size="default"] ~ .peer-data-\[size\=default\]\/menu-button\:top-1\.5 {
  top: 0.375rem;
}

.peer\/menu-button[data-size="lg"] ~ .peer-data-\[size\=lg\]\/menu-button\:top-2\.5 {
  top: 0.625rem;
}

.peer\/menu-button[data-size="sm"] ~ .peer-data-\[size\=sm\]\/menu-button\:top-1 {
  top: 0.25rem;
}

.peer\/menu-button[data-active="true"] ~ .peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground {
  color: hsl(var(--sidebar-accent-foreground));
}

.dark\:border-destructive:is(.dark *) {
  border-color: hsl(var(--destructive));
}

.dark\:bg-background\/\[0\.65\]:is(.dark *) {
  background-color: hsl(var(--background) / 0.65);
}

.dark\:bg-input\/30:is(.dark *) {
  background-color: hsl(var(--input) / 0.3);
}

.dark\:bg-transparent:is(.dark *) {
  background-color: transparent;
}

.dark\:text-amber-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}

.dark\:text-emerald-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}

.dark\:text-orange-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(253 186 116 / var(--tw-text-opacity, 1));
}

.dark\:text-rose-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(253 164 175 / var(--tw-text-opacity, 1));
}

.dark\:text-sky-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(125 211 252 / var(--tw-text-opacity, 1));
}

.dark\:text-violet-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(196 181 253 / var(--tw-text-opacity, 1));
}

.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:has([data-slot][aria-invalid=true]):is(.dark *) {
  --tw-ring-color: hsl(var(--destructive) / 0.4);
}

@media (min-width: 640px) {

  .sm\:bottom-0 {
    bottom: 0px;
  }

  .sm\:right-0 {
    right: 0px;
  }

  .sm\:top-auto {
    top: auto;
  }

  .sm\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .sm\:col-span-6 {
    grid-column: span 6 / span 6;
  }

  .sm\:mt-0 {
    margin-top: 0px;
  }

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:w-\[400px\] {
    width: 400px;
  }

  .sm\:max-w-\[360px\] {
    max-width: 360px;
  }

  .sm\:max-w-\[380px\] {
    max-width: 380px;
  }

  .sm\:max-w-\[440px\] {
    max-width: 440px;
  }

  .sm\:max-w-\[600px\] {
    max-width: 600px;
  }

  .sm\:max-w-\[680px\] {
    max-width: 680px;
  }

  .sm\:max-w-\[860px\] {
    max-width: 860px;
  }

  .sm\:max-w-lg {
    max-width: 32rem;
  }

  .sm\:max-w-md {
    max-width: 28rem;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:flex-col {
    flex-direction: column;
  }

  .sm\:items-start {
    align-items: flex-start;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:gap-2\.5 {
    gap: 0.625rem;
  }

  .sm\: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)));
  }

  .sm\:rounded-lg {
    border-radius: var(--radius);
  }

  .sm\:p-0 {
    padding: 0px;
  }

  .sm\:text-left {
    text-align: left;
  }

  .sm\:text-\[32px\] {
    font-size: 32px;
  }

  .data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state="open"] {
    --tw-enter-translate-y: 100%;
  }
}

@media (min-width: 768px) {

  .md\:absolute {
    position: absolute;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-6 {
    grid-column: span 6 / span 6;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:block {
    display: block;
  }

  .md\:inline-block {
    display: inline-block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:inline-flex {
    display: inline-flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
    width: var(--radix-navigation-menu-viewport-width);
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:max-w-\[420px\] {
    max-width: 420px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:grid-cols-\[220px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 220px minmax(0,1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:divide-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-divide-y-reverse: 0;
    border-top-width: calc(0px * calc(1 - var(--tw-divide-y-reverse)));
    border-bottom-width: calc(0px * var(--tw-divide-y-reverse));
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .md\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:opacity-0 {
    opacity: 0;
  }

  .after\:md\:hidden::after {
    content: var(--tw-content);
    display: none;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:m-2 {
    margin: 0.5rem;
  }

  .peer[data-state="collapsed"][data-variant="inset"] ~ .md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2 {
    margin-left: 0.5rem;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:ml-0 {
    margin-left: 0px;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\:rounded-xl {
    border-radius: 0.75rem;
  }

  .peer[data-variant="inset"] ~ .md\:peer-data-\[variant\=inset\]\: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);
  }
}

@media (min-width: 1024px) {

  .lg\:order-1 {
    order: 1;
  }

  .lg\:order-2 {
    order: 2;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[240px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 240px minmax(0,1fr);
  }

  .lg\:gap-10 {
    gap: 2.5rem;
  }

  .lg\:gap-16 {
    gap: 4rem;
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1280px) {

  .xl\:flex-row {
    flex-direction: row;
  }

  .xl\:items-start {
    align-items: flex-start;
  }

  .xl\:justify-between {
    justify-content: space-between;
  }
}

.\[\&\:\:-webkit-scrollbar-thumb\]\:rounded-sm::-webkit-scrollbar-thumb {
  border-radius: calc(var(--radius) - 2px);
}

.\[\&\:\:-webkit-scrollbar-thumb\]\:bg-border::-webkit-scrollbar-thumb {
  background-color: hsl(var(--border));
}

.hover\:\[\&\:\:-webkit-scrollbar-thumb\]\:bg-muted-foreground::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--muted-foreground));
}

.\[\&\:\:-webkit-scrollbar-track\]\:bg-transparent::-webkit-scrollbar-track {
  background-color: transparent;
}

.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
  display: none;
}

.\[\&\:\:-webkit-scrollbar\]\:w-1\.5::-webkit-scrollbar {
  width: 0.375rem;
}

.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected=true] button {
  border-top-left-radius: calc(var(--radius) - 1px);
  border-bottom-left-radius: calc(var(--radius) - 1px);
}

.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
  padding-right: 0px;
}

.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected=true] button {
  border-top-right-radius: calc(var(--radius) - 1px);
  border-bottom-right-radius: calc(var(--radius) - 1px);
}

.\[\&\>\*\:not\(\:first-child\)\]\:rounded-l-none>*:not(:first-child) {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.\[\&\>\*\:not\(\:first-child\)\]\:rounded-t-none>*:not(:first-child) {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.\[\&\>\*\:not\(\:first-child\)\]\:border-l-0>*:not(:first-child) {
  border-left-width: 0px;
}

.\[\&\>\*\:not\(\:first-child\)\]\:border-t-0>*:not(:first-child) {
  border-top-width: 0px;
}

.\[\&\>\*\:not\(\:last-child\)\]\:rounded-b-none>*:not(:last-child) {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.\[\&\>\*\:not\(\:last-child\)\]\:rounded-r-none>*:not(:last-child) {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.\[\&\>\*\]\:h-full>* {
  height: 100%;
}

.\[\&\>\*\]\:min-h-0>* {
  min-height: 0px;
}

.\[\&\>\*\]\:focus-visible\:relative:focus-visible>* {
  position: relative;
}

.\[\&\>\*\]\:focus-visible\:z-10:focus-visible>* {
  z-index: 10;
}

.\[\&\>\[data-slot\=\'dialog-close\'\]\]\:hidden>[data-slot='dialog-close'] {
  display: none;
}

.has-\[select\[aria-hidden\=true\]\:last-child\]\:\[\&\>\[data-slot\=select-trigger\]\:last-of-type\]\:rounded-r-md>[data-slot=select-trigger]:last-of-type:has(select[aria-hidden=true]:last-child) {
  border-top-right-radius: calc(var(--radius) - 1px);
  border-bottom-right-radius: calc(var(--radius) - 1px);
}

.\[\&\>\[data-slot\=select-trigger\]\:not\(\[class\*\=\'w-\'\]\)\]\:w-fit>[data-slot=select-trigger]:not([class*='w-']) {
  width: -moz-fit-content;
  width: fit-content;
}

.\[\&\>a\:hover\]\:text-primary>a:hover {
  color: hsl(var(--primary));
}

.\[\&\>a\]\:underline>a {
  text-decoration-line: underline;
}

.\[\&\>a\]\:underline-offset-4>a {
  text-underline-offset: 4px;
}

.\[\&\>button\]\:hidden>button {
  display: none;
}

.\[\&\>div\]\:bg-brand>div {
  background-color: hsl(var(--brand));
}

.\[\&\>div\]\:bg-destructive>div {
  background-color: hsl(var(--destructive));
}

.\[\&\>div\]\:bg-negative>div {
  background-color: hsl(var(--negative));
}

.\[\&\>div\]\:bg-orange-400>div {
  --tw-bg-opacity: 1;
  background-color: rgb(251 146 60 / var(--tw-bg-opacity, 1));
}

.\[\&\>div\]\:bg-positive>div {
  background-color: hsl(var(--positive));
}

.\[\&\>input\]\:flex-1>input {
  flex: 1 1 0%;
}

.has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3>input:has(>[data-align=block-end]) {
  padding-top: 0.75rem;
}

.has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3>input:has(>[data-align=block-start]) {
  padding-bottom: 0.75rem;
}

.has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-2>input:has(>[data-align=inline-end]) {
  padding-right: 0.5rem;
}

.has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-2>input:has(>[data-align=inline-start]) {
  padding-left: 0.5rem;
}

.\[\&\>kbd\]\:rounded-\[calc\(var\(--radius\)-5px\)\]>kbd {
  border-radius: calc(var(--radius) - 5px);
}

.\[\&\>span\:last-child\]\:truncate>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.\[\&\>span\]\:line-clamp-1>span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.\[\&\>span\]\:text-xs>span {
  font-size: 0.75rem;
  line-height: 1rem;
}

.\[\&\>span\]\:opacity-70>span {
  opacity: 0.7;
}

.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div {
  --tw-translate-y: -3px;
  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));
}

.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*='size-']) {
  width: 0.875rem;
  height: 0.875rem;
}

.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4>svg:not([class*='size-']) {
  width: 1rem;
  height: 1rem;
}

.\[\&\>svg\]\:absolute>svg {
  position: absolute;
}

.\[\&\>svg\]\:left-4>svg {
  left: 1rem;
}

.\[\&\>svg\]\:top-4>svg {
  top: 1rem;
}

.\[\&\>svg\]\:size-3\.5>svg {
  width: 0.875rem;
  height: 0.875rem;
}

.\[\&\>svg\]\:size-4>svg {
  width: 1rem;
  height: 1rem;
}

.\[\&\>svg\]\:h-3\.5>svg {
  height: 0.875rem;
}

.\[\&\>svg\]\:w-3\.5>svg {
  width: 0.875rem;
}

.\[\&\>svg\]\:shrink-0>svg {
  flex-shrink: 0;
}

.\[\&\>svg\]\:text-amber-300>svg {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}

.\[\&\>svg\]\:text-amber-500>svg {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.\[\&\>svg\]\:text-destructive>svg {
  color: hsl(var(--destructive));
}

.\[\&\>svg\]\:text-foreground>svg {
  color: hsl(var(--foreground));
}

.\[\&\>svg\]\:text-muted-foreground>svg {
  color: hsl(var(--muted-foreground));
}

.\[\&\>svg\]\:text-positive>svg {
  color: hsl(var(--positive));
}

.\[\&\>svg\]\:text-sidebar-accent-foreground>svg {
  color: hsl(var(--sidebar-accent-foreground));
}

.\[\&\>svg\]\:opacity-60>svg {
  opacity: 0.6;
}

.\[\&\>svg\~\*\]\:pl-7>svg~* {
  padding-left: 1.75rem;
}

.\[\&\>tr\]\:last\:border-b-0:last-child>tr {
  border-bottom-width: 0px;
}

.\[\&\[aria-orientation\=vertical\]\>div\]\:rotate-90[aria-orientation=vertical]>div {
  --tw-rotate: 90deg;
  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));
}

.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg {
  --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));
}

.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading] {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.\[\&_\[cmdk-group-heading\]\]\:pb-1 [cmdk-group-heading] {
  padding-bottom: 0.25rem;
}

.\[\&_\[cmdk-group-heading\]\]\:pt-2\.5 [cmdk-group-heading] {
  padding-top: 0.625rem;
}

.\[\&_\[cmdk-group-heading\]\]\:text-\[10px\] [cmdk-group-heading] {
  font-size: 10px;
}

.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading] {
  font-size: 0.75rem;
  line-height: 1rem;
}

.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading] {
  font-weight: 500;
}

.\[\&_\[cmdk-group-heading\]\]\:font-semibold [cmdk-group-heading] {
  font-weight: 600;
}

.\[\&_\[cmdk-group-heading\]\]\:uppercase [cmdk-group-heading] {
  text-transform: uppercase;
}

.\[\&_\[cmdk-group-heading\]\]\:tracking-wider [cmdk-group-heading] {
  letter-spacing: 0.05em;
}

.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading] {
  color: hsl(var(--muted-foreground));
}

.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group] {
  padding-top: 0px;
}

.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg {
  height: 1.25rem;
}

.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg {
  width: 1.25rem;
}

.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input] {
  height: 3rem;
}

.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item] {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg {
  height: 1.25rem;
}

.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg {
  width: 1.25rem;
}

.\[\&_p\]\:leading-relaxed p {
  line-height: 1.625;
}

.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*='size-']) {
  width: 0.75rem;
  height: 0.75rem;
}

.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) {
  width: 1rem;
  height: 1rem;
}

.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-6 svg:not([class*='size-']) {
  width: 1.5rem;
  height: 1.5rem;
}

.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}

.\[\&_svg\]\:size-4 svg {
  width: 1rem;
  height: 1rem;
}

.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}

.\[\&_svg\]\:text-\[hsl\(var\(--sidebar-primary\)\)\] svg {
  color: hsl(var(--sidebar-primary));
}

.\[\&_tr\:last-child\]\:border-0 tr:last-child {
  border-width: 0px;
}

.\[\&_tr\]\:border-b tr {
  border-bottom-width: 1px;
}

.\[\&_tr\]\:border-border\/40 tr {
  border-color: hsl(var(--border) / 0.4);
}

[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2 {
  right: -0.5rem;
}

[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize {
  cursor: e-resize;
}

[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize {
  cursor: w-resize;
}

[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2 {
  left: -0.5rem;
}

[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize {
  cursor: w-resize;
}

[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize {
  cursor: e-resize;
}

[data-slot=card-content] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent {
  background-color: transparent;
}

[data-slot=popover-content] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent {
  background-color: transparent;
}

[data-slot=tooltip-content] .\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/20 {
  background-color: hsl(var(--background) / 0.2);
}

[data-slot=tooltip-content] .\[\[data-slot\=tooltip-content\]_\&\]\:text-background {
  color: hsl(var(--background));
}

[data-slot=tooltip-content] .dark\:\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/10:is(.dark *) {
  background-color: hsl(var(--background) / 0.1);
}
