/* PowerPass wireframe — shared placeholder & mock styles.
   Grayscale only, per .cursor/rules/wireframing.mdc */

[x-cloak] {
  display: none !important;
}

/* Generic gray placeholder for photos/illustrations */
.placeholder-media {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 6rem;
  padding: 1rem;
  background-color: #f3f4f6;
  background-image: repeating-linear-gradient(
    45deg,
    #e5e7eb 0,
    #e5e7eb 1px,
    transparent 1px,
    transparent 12px
  );
  border: 1px dashed #9ca3af;
  border-radius: 0.5rem;
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Circular portrait / persona placeholder */
.placeholder-media--circle {
  border-radius: 9999px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0.5rem;
}

/* Small square icon substitute used in nav rail / feature lists */
.icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background-color: #e5e7eb;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Badge / e-ink screen mockup frame, reused across pages */
.badge-mock {
  background-color: #1f2937;
  border-radius: 1.25rem;
  padding: 0.75rem;
  box-shadow: 0 10px 25px -10px rgba(17, 24, 39, 0.45);
}

.badge-mock__buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
  padding: 0 0.25rem 0.5rem;
}

.badge-mock__btn {
  display: block;
  background-color: #6b7280;
}

.badge-mock__btn--round {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.badge-mock__btn--rect {
  width: 0.9375rem;
  height: 0.625rem;
  border-radius: 0.1875rem;
}

.badge-mock__screen {
  aspect-ratio: 250 / 122;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  overflow: hidden;
  padding: 0.875rem;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #111827;
}

/* High-contrast inverted variant for emergency/alert screens */
.badge-mock__screen--alert {
  background-color: #111827;
  border-color: #111827;
  color: #f9fafb;
}

/* Offset anchored scroll targets so they clear the sticky header */
main [id] {
  scroll-margin-top: 5.5rem;
}
