@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg-primary: #0a0e1a;
  --bg-surface: #111827;
  --bg-surface-alt: #1e293b;
  --bg-surface-hover: #253349;
  --bg-glass: #111827cc;
  --bg-glass-hover: #1e293be6;
  --border-subtle: #6366f11f;
  --border-default: #6366f133;
  --border-strong: #6366f166;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0e1a;
  --accent-indigo: #6366f1;
  --accent-indigo-soft: #6366f126;
  --accent-cyan: #22d3ee;
  --accent-cyan-soft: #22d3ee1f;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --status-green: #10b981;
  --status-green-soft: #10b9811f;
  --status-amber: #f59e0b;
  --status-amber-soft: #f59e0b1f;
  --status-red: #ef4444;
  --status-red-soft: #ef44441f;
  --status-critical: #dc2626;
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-surface: linear-gradient(180deg, #6366f10d 0%, transparent 100%);
  --gradient-green: linear-gradient(135deg, #10b981, #059669);
  --gradient-amber: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-red: linear-gradient(135deg, #ef4444, #dc2626);
  --shadow-sm: 0 1px 2px #0000004d;
  --shadow-md: 0 4px 12px #0006;
  --shadow-lg: 0 8px 24px #00000080;
  --shadow-glow-indigo: 0 0 20px #6366f140;
  --shadow-glow-cyan: 0 0 20px #22d3ee33;
  --shadow-glow-green: 0 0 16px #10b98140;
  --shadow-glow-amber: 0 0 16px #f59e0b40;
  --shadow-glow-red: 0 0 16px #ef44444d;
  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: .15s ease-out;
  --transition-default: .2s ease-out;
  --transition-slow: .3s ease-out;
  --sidebar-width: 260px;
  --sidebar-collapsed: 68px;
  --header-height: 64px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.02em;
  line-height: 1.3;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.text-display {
  letter-spacing: -.03em;
  background: var(--gradient-hero);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: 800;
}

.text-mono {
  font-family: JetBrains Mono, Fira Code, monospace;
  font-size: .875rem;
}

.text-caption {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.app-layout {
  min-height: 100vh;
  display: flex;
}

.main-content {
  margin-left: var(--sidebar-width);
  padding: var(--space-xl);
  padding-top: calc(var(--header-height) + var(--space-lg));
  transition: margin-left var(--transition-default);
  flex: 1;
}

.card {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-default), box-shadow var(--transition-default);
}

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

.card-header {
  margin-bottom: var(--space-md);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.card-title {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .875rem;
  font-weight: 600;
}

.stat-card {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-default);
  position: relative;
  overflow: hidden;
}

.stat-card:before {
  content: "";
  background: var(--gradient-hero);
  opacity: 0;
  height: 2px;
  transition: opacity var(--transition-default);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.stat-card:hover:before {
  opacity: 1;
}

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

.stat-value {
  letter-spacing: -.02em;
  margin: var(--space-sm) 0;
  font-family: JetBrains Mono, monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 500;
}

.stat-delta {
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.stat-delta.positive {
  background: var(--status-green-soft);
  color: var(--status-green);
}

.stat-delta.negative {
  background: var(--status-red-soft);
  color: var(--status-red);
}

.grid-stats {
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  display: grid;
}

.grid-dashboard {
  gap: var(--space-md);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.grid-full {
  grid-column: 1 / -1;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  z-index: 50;
  height: 100vh;
  transition: width var(--transition-default);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.sidebar-brand {
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
}

.sidebar-brand-icon {
  border-radius: var(--radius-md);
  background: var(--gradient-hero);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

.sidebar-brand-icon svg {
  color: #fff;
  width: 20px;
  height: 20px;
}

.sidebar-brand-text h1 {
  color: var(--text-primary);
  letter-spacing: -.01em;
  font-size: .9375rem;
  font-weight: 700;
}

.sidebar-brand-text span {
  color: var(--text-muted);
  font-size: .6875rem;
  font-weight: 500;
}

.sidebar-nav {
  padding: var(--space-md) var(--space-sm);
  flex: 1;
  overflow-y: auto;
}

.nav-section-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: var(--space-md) var(--space-md) var(--space-xs);
  font-size: .6875rem;
  font-weight: 600;
}

.nav-item {
  align-items: center;
  gap: var(--space-md);
  padding: 10px var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.nav-item:hover {
  background: var(--accent-indigo-soft);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-indigo-soft);
  color: var(--accent-indigo);
  font-weight: 600;
}

.nav-item.active:before {
  content: "";
  background: var(--accent-indigo);
  border-radius: 0 3px 3px 0;
  width: 3px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.nav-item svg {
  opacity: .7;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.nav-item.active svg {
  opacity: 1;
}

.sidebar-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.sidebar-role-switch {
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  width: 100%;
  display: flex;
}

.sidebar-role-switch select {
  color: var(--text-primary);
  cursor: pointer;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 500;
}

.sidebar-role-switch select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.page-header {
  top: 0;
  left: var(--sidebar-width);
  height: var(--header-height);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-xl);
  z-index: 40;
  background: #0a0e1ad9;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: fixed;
  right: 0;
}

.page-header-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.page-header-actions {
  align-items: center;
  gap: var(--space-md);
  display: flex;
}

.header-badge {
  border-radius: var(--radius-full);
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: JetBrains Mono, monospace;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.header-badge.live {
  background: var(--status-green-soft);
  color: var(--status-green);
}

.header-badge.live:before {
  content: "";
  background: var(--status-green);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 2s ease-in-out infinite pulse-dot;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

.complexity-badge {
  border-radius: var(--radius-sm);
  justify-content: center;
  align-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-family: JetBrains Mono, monospace;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
}

.complexity-badge.score-1, .complexity-badge.score-2, .complexity-badge.score-3 {
  background: var(--status-green-soft);
  color: var(--status-green);
}

.complexity-badge.score-4, .complexity-badge.score-5 {
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
}

.complexity-badge.score-6, .complexity-badge.score-7 {
  background: var(--status-amber-soft);
  color: var(--status-amber);
}

.complexity-badge.score-8, .complexity-badge.score-9, .complexity-badge.score-10 {
  background: var(--status-red-soft);
  color: var(--status-red);
}

.priority-badge {
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .04em;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-size: .6875rem;
  font-weight: 600;
  display: inline-flex;
}

.priority-badge.critical {
  background: var(--status-red-soft);
  color: var(--status-red);
}

.priority-badge.high {
  background: var(--status-amber-soft);
  color: var(--status-amber);
}

.priority-badge.medium {
  background: var(--accent-indigo-soft);
  color: var(--accent-indigo);
}

.priority-badge.low {
  color: var(--text-secondary);
  background: #64748b1f;
}

.status-badge {
  border-radius: var(--radius-full);
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: .6875rem;
  font-weight: 600;
  display: inline-flex;
}

.status-badge:before {
  content: "";
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.status-badge.new {
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
}

.status-badge.new:before {
  background: var(--accent-cyan);
}

.status-badge.in-progress {
  background: var(--accent-indigo-soft);
  color: var(--accent-indigo);
}

.status-badge.in-progress:before {
  background: var(--accent-indigo);
}

.status-badge.waiting {
  background: var(--status-amber-soft);
  color: var(--status-amber);
}

.status-badge.waiting:before {
  background: var(--status-amber);
}

.status-badge.closed {
  color: var(--text-muted);
  background: #64748b1a;
}

.status-badge.closed:before {
  background: var(--text-muted);
}

.ticket-card {
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
  grid-template-columns: auto 1fr auto;
  align-items: start;
  display: grid;
}

.ticket-card:hover {
  background: var(--bg-surface-alt);
}

.ticket-card:last-child {
  border-bottom: none;
}

.ticket-card-body {
  min-width: 0;
}

.ticket-card-summary {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  font-size: .875rem;
  font-weight: 500;
  overflow: hidden;
}

.ticket-card-meta {
  gap: var(--space-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
  font-size: .75rem;
  display: flex;
}

.ticket-card-meta span {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.ticket-card-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

.msi-gauge-container {
  align-items: center;
  gap: var(--space-sm);
  flex-direction: column;
  display: flex;
}

.msi-gauge-svg {
  filter: drop-shadow(0 0 8px #6366f133);
  transform: rotate(-90deg);
}

.msi-gauge-track {
  fill: none;
  stroke: var(--bg-surface-alt);
  stroke-linecap: round;
}

.msi-gauge-fill {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out, stroke .5s;
}

.msi-gauge-text {
  fill: var(--text-primary);
  text-anchor: middle;
  dominant-baseline: central;
  transform-origin: center;
  font-family: JetBrains Mono, monospace;
  font-weight: 700;
  transform: rotate(90deg);
}

.msi-gauge-label {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .6875rem;
  font-weight: 600;
}

.engineer-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-default);
  cursor: pointer;
  flex-direction: column;
  display: flex;
  position: relative;
}

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

.engineer-card.status-green {
  border-color: #10b98133;
}

.engineer-card.status-green:hover {
  box-shadow: var(--shadow-glow-green);
}

.engineer-card.status-amber {
  border-color: #f59e0b33;
}

.engineer-card.status-amber:hover {
  box-shadow: var(--shadow-glow-amber);
}

.engineer-card.status-red, .engineer-card.status-critical {
  border-color: #ef444440;
}

.engineer-card.status-red:hover, .engineer-card.status-critical:hover {
  box-shadow: var(--shadow-glow-red);
}

.engineer-avatar {
  border-radius: var(--radius-full);
  background: var(--gradient-hero);
  color: #fff;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: .875rem;
  font-weight: 700;
  display: flex;
}

.engineer-name {
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
}

.engineer-role {
  color: var(--text-muted);
  font-size: .6875rem;
}

.engineer-stats {
  gap: var(--space-md);
  color: var(--text-secondary);
  justify-content: center;
  width: 100%;
  font-size: .75rem;
  display: flex;
}

.engineer-stats span {
  align-items: center;
  gap: 4px;
  display: flex;
}

.engineer-stats .value {
  color: var(--text-primary);
  font-family: JetBrains Mono, monospace;
  font-weight: 600;
}

.data-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.data-table th {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border-subtle);
  font-size: .6875rem;
  font-weight: 600;
}

.data-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  font-size: .8125rem;
}

.data-table tr:hover td {
  background: var(--bg-surface-alt);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.btn {
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid #0000;
  padding: 8px 16px;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

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

.btn-primary {
  background: var(--accent-indigo);
  color: #fff;
  border-color: var(--accent-indigo);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-indigo);
  background: #5558e6;
}

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

.btn-ghost:hover {
  background: var(--accent-indigo-soft);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-sm {
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: .75rem;
}

.input {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 100%;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .875rem;
}

.input:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px var(--accent-indigo-soft);
}

.input::placeholder {
  color: var(--text-muted);
}

.input-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
  font-size: .75rem;
  font-weight: 600;
  display: block;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-alt);
  border-radius: 3px;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.animate-in, .animate-stagger > * {
  animation: .4s ease-out both fadeIn;
}

.animate-stagger > :first-child {
  animation-delay: 0s;
}

.animate-stagger > :nth-child(2) {
  animation-delay: 60ms;
}

.animate-stagger > :nth-child(3) {
  animation-delay: .12s;
}

.animate-stagger > :nth-child(4) {
  animation-delay: .18s;
}

.animate-stagger > :nth-child(5) {
  animation-delay: .24s;
}

.animate-stagger > :nth-child(6) {
  animation-delay: .3s;
}

.animate-stagger > :nth-child(7) {
  animation-delay: .36s;
}

.animate-stagger > :nth-child(8) {
  animation-delay: .42s;
}

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

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .main-content {
    padding: var(--space-md);
    padding-top: calc(var(--header-height) + var(--space-md));
    margin-left: 0;
  }

  .page-header {
    left: 0;
  }

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

.sync-status-container {
  align-items: center;
  gap: var(--space-md);
  display: flex;
}

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

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/