/*
 * Ambient storage warning (P5-T01). Colors resolve exclusively to the
 * locked design tokens; the element sits above the app shell so it survives
 * every route's replaceChildren().
 */
.storage-warning {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-4);
  background: var(--warning-faint);
  color: var(--status-warning);
  border-bottom: 1px solid var(--status-warning);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.storage-warning[hidden] { display: none; }

.storage-warning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--status-warning);
  color: var(--on-brass);
  font-weight: var(--weight-bold);
}
