/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #fff;
  --panel-border: #d9e1ef;
  --text: #0f172a;
  --muted: #5b6476;
  --brand: #1d4ed8;
  --brand-soft: #dbeafe;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --warning: #b45309;
  --warning-soft: #ffedd5;
  --success: #166534;
  --success-soft: #dcfce7;
  --shadow: 0 14px 30px #0f172a14;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

body {
  min-height: 100vh;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  border-radius: 20px;
}

.app-shell {
  padding: 24px;
}

.topbar {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  display: flex;
}

.topbar-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.brand-link {
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
}

.page {
  flex-direction: column;
  gap: 24px;
  max-width: 1320px;
  margin: 24px auto 48px;
  display: flex;
}

.page-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.page-header h1, .page-header h2, .project-card h2, .login-form h1 {
  margin: 0;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  color: var(--brand);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: .8rem;
  font-weight: 700;
}

.grid {
  gap: 16px;
  display: grid;
}

.grid.two-up {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.stat-card, .project-card, .empty-state, .section-card, .login-form, .task-card, .task-detail-grid > * {
  padding: 20px;
}

.stat-card strong, .project-card strong, .task-card strong {
  display: block;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  margin: 0;
  display: grid;
}

.stats-grid.compact {
  margin-top: 20px;
}

.stats-grid dt {
  color: var(--muted);
  font-size: .85rem;
}

.stats-grid dd {
  margin: 8px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.project-card {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.project-card:hover {
  transition: transform .15s;
  transform: translateY(-2px);
}

.project-card-header, .progress-row, .health-row, .inline-metadata, .card-footer {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.prefix-badge, .badge, .status-badge, .priority-badge {
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
}

.prefix-badge, .badge {
  background: var(--brand-soft);
  color: var(--brand);
}

.status-badge.status-backlog {
  background: #e2e8f0;
}

.status-badge.status-in-progress {
  color: #1d4ed8;
  background: #dbeafe;
}

.status-badge.status-review {
  color: #6d28d9;
  background: #ede9fe;
}

.status-badge.status-staging {
  color: #b45309;
  background: #fef3c7;
}

.status-badge.status-production, .status-badge.status-done {
  color: #166534;
  background: #dcfce7;
}

.status-badge.status-dropped, .status-badge.status-wont-do {
  color: #475569;
  background: #f1f5f9;
}

.priority-badge.priority-P1 {
  background: var(--danger-soft);
  color: var(--danger);
}

.priority-badge.priority-P2 {
  background: var(--warning-soft);
  color: var(--warning);
}

.priority-badge.priority-P3 {
  background: var(--brand-soft);
  color: var(--brand);
}

.priority-badge.priority-P4 {
  color: #475569;
  background: #e2e8f0;
}

.progress-track {
  background: #dbe4f3;
  border-radius: 999px;
  min-width: 140px;
  height: 10px;
  overflow: hidden;
}

.progress-track span {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  height: 100%;
  display: block;
}

.health {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 700;
}

.health-green {
  background: var(--success-soft);
  color: var(--success);
}

.health-yellow {
  background: var(--warning-soft);
  color: var(--warning);
}

.health-red {
  background: var(--danger-soft);
  color: var(--danger);
}

.primary-button, .ghost-button, .toggle-link {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  justify-content: center;
  padding: 10px 14px;
  display: inline-flex;
}

.primary-button {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.ghost-button, .toggle-link {
  border: 1px solid var(--panel-border);
  color: var(--text);
  background: none;
}

.toggle-row, .filter-row {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.toggle-link.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #0000;
  font-weight: 700;
}

.filter-row {
  padding: 16px 20px;
}

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

.field input, .field select, .field textarea {
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 12px 14px;
}

.login-page {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
}

.login-form {
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 420px;
  display: flex;
}

.error-banner, .blocked-banner {
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 14px;
  margin: 0;
  padding: 12px 14px;
}

.kanban {
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 16px;
  display: grid;
  overflow-x: auto;
}

.kanban-column {
  border: 1px solid var(--panel-border);
  background: #ffffffbf;
  border-radius: 20px;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  padding: 16px;
  display: flex;
}

.task-card {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.task-card.is-blocked {
  border: 1px solid #fecaca;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th, .table td {
  border-bottom: 1px solid var(--panel-border);
  text-align: left;
  vertical-align: top;
  padding: 14px;
}

.timeline-list {
  gap: 16px;
  display: grid;
}

.timeline-row {
  gap: 10px;
  display: grid;
}

.meta-list, .activity-list, .link-list {
  gap: 12px;
  margin: 0;
  padding: 0;
  display: grid;
}

.meta-list div {
  gap: 4px;
  display: grid;
}

.activity-item, .link-list li {
  list-style: none;
}

.task-detail-grid {
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  display: grid;
}

.breadcrumbs {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  display: flex;
}

.empty-state {
  text-align: center;
}

@media (max-width: 1024px) {
  .task-detail-grid, .kanban {
    grid-template-columns: 1fr;
  }

  .topbar, .project-card-header, .progress-row, .health-row, .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

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