:root {
  --bg: #0b1020;
  --panel: #131a2a;
  --line: #26324a;
  --text: #eef2ff;
  --muted: #9ca3af;
  --critical: #ef4444;
  --important: #f59e0b;
  --support: #38bdf8;
  --green: #22c55e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
  color: var(--text);
}
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}
.hero, .panel, .task-card, .login-card {
  background: rgba(19,26,42,.95);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.hero, .panel, .login-card { padding: 20px; }
.hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.panel { margin-bottom: 18px; }
.tasks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.task-card { padding: 16px; }
.badge, .status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.critical { background: var(--critical); }
.important { background: var(--important); color: #111827; }
.support { background: var(--support); color: #082f49; }
.status { background: #334155; }
.status.pending { background: #3a2f03; color: #fde68a; }
.status.progress { background: #102a43; color: #93c5fd; }
.status.done { background: #123524; color: #86efac; }
.status.blocked { background: #3b0d0d; color: #fca5a5; }
.task-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.task-title { font-size: 18px; margin: 8px 0; }
.task-card textarea, textarea, input, select, button {
  width: 100%;
  background: #0f172a;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}
.task-card textarea, textarea { min-height: 90px; resize: vertical; }
button {
  cursor: pointer;
  width: auto;
  padding: 10px 14px;
}
button.secondary, .button-link {
  background: transparent;
  text-decoration: none;
  color: var(--text);
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.check-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
}
.muted { color: var(--muted); font-size: 14px; }
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-card { width: min(420px, 100%); }
.login-card form { display: grid; gap: 12px; }
@media (max-width: 640px) {
  .hero { flex-direction: column; align-items: stretch; }
}
