/* The colleagues' page (/), on top of admin.css's Tabler look: the same bar, cards and buttons. */
#home { max-width: 960px; margin: 0 auto; padding-top: 28px; }
.small { font-size: 12.5px; }
.home-nav { margin-left: auto; }
.home-nav .nav-link { padding: 8px 12px; border-bottom: 0; border-radius: 4px; }
.home-nav .nav-link:hover { background: var(--control); }

/* The welcome card: Tabler's tinted hero, the blue of the primary button washed across one side. */
.hero {
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 32px;
  background: linear-gradient(120deg, var(--accent-soft), var(--panel) 62%);
  border-top: 3px solid var(--accent);
}
.hero h1 { font-size: 28px; margin-bottom: 6px; letter-spacing: -.02em; }
.hero-text { flex: 1 1 340px; }
.hero-text p { margin: 4px 0; }
.hero-actions { flex: 0 1 320px; display: flex; flex-direction: column; gap: 8px; }
.button.big { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; font-size: 15px; font-weight: 600; text-decoration: none; }
.button.big .icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button.big .size { font-weight: 400; opacity: .85; font-size: 13px; }
.hero-actions p { margin: 0; text-align: center; }
.other-downloads summary { cursor: pointer; color: var(--muted); font-size: 13px; text-align: center; }
.other-downloads summary:hover { color: var(--accent-text); }
.other-downloads ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.other-downloads li { margin: 4px 0; }

.card > h2 + * { margin-top: 8px; }

/* Steps as Tabler's numbered avatars. */
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .title { font-weight: 600; }
.step-number {
  flex: none; width: 28px; height: 28px; border-radius: 4px;
  display: grid; place-items: center; font-weight: 600; font-size: 13px;
  background: var(--accent-soft); color: var(--accent-text);
}

.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 4px; }
.addon {
  display: flex; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .12s, box-shadow .12s;
}
.addon:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.addon .title { font-weight: 600; }
.addon .version { font-weight: 400; font-size: 12.5px; }
.addon-icon {
  flex: none; width: 40px; height: 40px; border-radius: 4px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent-text); font-weight: 600;
}
.addon-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 4px; }
.pack-tile {
  text-align: center; padding: 12px 6px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .12s, box-shadow .12s;
}
.pack-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.pack-tile img, .pack-blank { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 6px; }
.pack-blank { background: var(--control); border-radius: 6px; }
.pack-tile .pack-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.footer { text-align: center; margin-top: 28px; }

@media (max-width: 640px) {
  #home { padding-top: 16px; }
  .hero { padding: 20px; }
  .hero-actions { flex-basis: 100%; }
}
.missing-setup { white-space: normal; text-align: center; padding: 10px 14px; font-size: 13px; border-radius: 4px; }

/* A test build: amber along its edge, the warning colour, so nobody takes it for the release. */
.test-build { border-left: 3px solid var(--warning); }
.test-version { padding-top: 12px; }
.test-version + .test-version { border-top: 1px solid var(--line); margin-top: 12px; }
.try { margin-top: 8px; }
.try-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.try .notes-body { margin-top: 6px; }
.try .notes-body h4 { margin-top: 4px; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 13px; }
