/* the NJN Dev homepage's own styles, linked after application.css by layouts/home.html.erb
   (see LayoutHelper::APP_HEADS). They were an inline <style> block in that
   layout; moving them here changes nothing about the cascade, and the
   browser now caches them instead of receiving them with every page. */

.home-shell { max-width: 720px; margin: 0 auto; padding: 48px 20px 96px; }
.home-header { text-align: center; margin-bottom: 40px; }
.home-header h1 { font-family: var(--font-display); font-size: 2.2rem; margin: 0 0 8px; }
.home-header p { color: var(--text-muted); margin: 0; }
.home-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.home-app-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 28px 16px 24px; border-radius: var(--radius-xl); border: 1px solid var(--border);
  background: var(--bg-row-hover); color: var(--text-primary); text-decoration: none;
  font-weight: 600; font-size: 1rem; transition: border-color .15s ease, background-color .15s ease;
}
.home-app-card:hover { border-color: var(--border-accent); background: var(--bg-elevated); }
.home-app-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; }
.home-app-icon svg { max-width: 64px; max-height: 64px; width: auto; height: auto; display: block; }
.home-app-label { text-align: center; }
@media (max-width: 480px) {
  .home-apps { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
  .home-app-card { padding: 24px 8px 16px; gap: 8px; }
  .home-app-icon { width: 52px; height: 52px; }
  .home-app-icon svg { max-width: 52px; max-height: 52px; }
}
.home-empty { text-align: center; color: var(--text-muted); }
.home-section-label { margin: 32px 0 16px; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
/* No hamburger/drawer on this page (nothing to open it into besides
   account/sign-out/theme, which just sit in the header directly) --
   let them wrap instead of overflowing on a narrow phone. */
.home-nav-container { flex-wrap: wrap; row-gap: 8px; }
