/*
 * Compass tools — shared shell.
 *
 * Palette: Tracer. Chronal-accelerator blue against her signature orange,
 * on the dark navy of the Overwatch HUD. Orange is the ACTION colour and is
 * used sparingly so it keeps its punch; blue carries structure and links.
 * Deliberately unlike the warm cream of tools.novoa.me, so it is obvious at a
 * glance which hub you are looking at.
 */

:root {
  --bg: #0e1420;
  --bg-glow: #131c2c;
  --card: #182130;
  --card-hover: #1d283a;
  --ink: #eef3fa;
  --muted: #8b9ab4;
  --line: #26324a;

  --accent: #ff7a29;        /* Tracer orange — actions, progress, emphasis */
  --accent-soft: #ff7a2926;
  --blue: #35d0ff;          /* chronal blue — links, structure */
  --blue-soft: #35d0ff1f;

  --you: #ff7a2926;         /* owner-only work */
  --you-ink: #ffb083;
  --claude: #35d0ff1f;      /* no input needed */
  --claude-ink: #7fe3ff;
  --both: #a78bfa22;        /* driven together */
  --both-ink: #c4b5fd;

  --danger: #ff5470;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1100px 520px at 12% -8%, var(--bg-glow), transparent 60%),
    radial-gradient(800px 420px at 100% 0%, #1a2740, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  padding: 28px 16px 90px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; }

/* Back / breadcrumb link */
.back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s ease;
}
.back:hover { color: var(--blue); }

h1 {
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 26px;
}

/* Cards, shared by the hub and the checklist list */
.list { display: grid; gap: 12px; }

.card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-1px);
}

.card-top { display: flex; align-items: center; gap: 10px; }
.card-icon { font-size: 22px; line-height: 1; }
.card-name { font-weight: 600; font-size: 16px; flex: 1; }
.card-desc,
.card-blurb {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
  line-height: 1.55;
}

/* Pills */
.tag,
.count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.tag-live { background: var(--blue-soft); color: var(--blue); }
.tag-soon { background: var(--accent-soft); color: var(--you-ink); }

.count {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.count.done { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* Progress bar */
.bar {
  height: 5px;
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  margin-top: 12px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffa561);
  transition: width .25s ease;
}

/* Section heading on the hub */
.group-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 28px 0 10px;
  opacity: .85;
}
.group-name:first-of-type { margin-top: 0; }

.foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.foot a { color: var(--blue); }
