/* Home dashboard. Loaded after extensions.css. */

.home-page .home-stat-grid,
.home-page .home-stat-grid-general {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.home-page .home-stat-card,
.home-page .home-stat-grid-general .home-stat-card {
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px 20px;
}

.home-page .home-stat-icon,
.home-page .home-stat-grid-general .home-stat-icon {
  width: 46px;
  height: 46px;
  margin-top: 0;
  border-radius: 12px;
  font-size: 1.1rem;
}

.home-page .home-stat-content > span,
.home-page .home-stat-grid-general .home-stat-content > span {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.home-page .home-stat-content > strong,
.home-page .home-stat-grid-general .home-stat-content > strong {
  font-size: 1.65rem;
}
.home-banner .photo-banner-actions .home-manage-forms-button {
  border-color: rgba(255, 255, 255, 0.95);
  background: #fff;
  color: var(--if-primary);
  box-shadow: 0 6px 18px rgba(4, 30, 66, 0.18);
  backdrop-filter: none;
}

.home-banner .photo-banner-actions .home-manage-forms-button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--if-primary);
}

.home-draft-reminder-panel {
  border-top: 4px solid var(--if-secondary);
}

.home-draft-reminder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-draft-reminder-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--if-border);
  border-radius: var(--if-radius-control);
  color: var(--if-text);
  background: var(--if-surface-subtle);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-draft-reminder-card:hover {
  border-color: color-mix(in srgb, var(--if-secondary), transparent 34%);
  box-shadow: var(--if-shadow-card);
  transform: translateY(-1px);
}

.home-draft-reminder-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--if-primary);
  background: var(--if-secondary-soft);
  font-size: 1.05rem;
}

.home-draft-reminder-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-draft-reminder-copy strong,
.home-draft-reminder-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-draft-reminder-copy small {
  color: var(--if-text-muted);
}

.home-draft-reminder-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--if-primary);
  font-weight: 750;
}

@media (max-width: 980px) {
  .home-draft-reminder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-draft-reminder-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .home-draft-reminder-action {
    grid-column: 2;
  }
}
