/* @runoctopus/shared/home — home-specific styles.
 *
 * Canonical styles for the home view rendered by bootstrapHome (home.js).
 * Mirrored to both apps' static dirs as `shared-home.css` via
 * packages/shared/sync.sh. All selectors use the `ro-home-*` prefix so
 * they don't collide with surface-specific page CSS.
 *
 * Inherits design system tokens from /shared.css (--cyan, --text-primary,
 * --muted, etc.) and bento layout primitives from /shared-dashboard.css
 * (.ro-bento, .ro-card, .ro-card--span-N, .ro-card--full, .ro-card--glass).
 */

/* Outer stack — vertical rhythm between the three bento rows. */
.ro-home-stack > .ro-bento { margin-bottom: 16px; }
.ro-home-stack > .ro-bento:last-child { margin-bottom: 0; }

/* Zone 1 — greeting hero. Otto pose left, identity text right. */
.ro-home-greeting {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}
.ro-home-greeting-otto {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
}
.ro-home-greeting-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ro-home-greeting-name {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 4px;
}
.ro-home-greeting-sub {
  color: var(--text-secondary, var(--body));
  margin: 0;
  font-size: 14px;
}

/* Zone 2 — grounding stat tiles. Tabular-nums so the four big numbers
 * align even when their values change at different rates. */
.ro-home-stat-num { font-variant-numeric: tabular-nums; }

/* Zone 3 — recent content list (left) + Otto's-working-on (right). */
.ro-home-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.ro-home-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.5;
}
.ro-home-list li:last-child { border-bottom: none; }
.ro-home-list a {
  color: var(--text-primary);
  text-decoration: none;
}
.ro-home-list a:hover { color: var(--cyan); }
.ro-home-list-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0;
}

.ro-home-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
