/* Winston V3 — paper-mode reassurance footer.
 * #139 (UAT Stream A H8). Small, calm line near the bottom of casual
 * surfaces (Home, Portfolio, Activity, Manager). Never compounds with
 * the louder global health-banner — its tone is reassurance, not alert. */

.paper-reassurance {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md, 10px);
  background: var(--bg-soft, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--hairline);
  font-size: var(--type-sm);
  line-height: var(--leading-base, 1.45);
  color: var(--ink);
}

.paper-reassurance-dot {
  flex: 0 0 auto;
  color: var(--money-up, #2E7D5B);
  font-size: 0.9em;
  line-height: 1;
  margin-top: 0.25em;
}

.paper-reassurance strong {
  font-weight: 600;
}

/* Tighten on the smallest viewports — keep it from stealing two lines. */
@media (max-width: 480px) {
  .paper-reassurance {
    padding: var(--space-2) var(--space-3);
    font-size: var(--type-xs);
  }
}

/* Suppress when the global health-banner is showing a "not connected"
 * state — that banner already explains the same thing more loudly. The
 * banner sets [data-condition] on its container; we key off that. */
.health-banner-container:has(.health-banner--high) ~ .content .paper-reassurance,
.health-banner-container:has(.health-banner--critical) ~ .content .paper-reassurance {
  display: none;
}
