/* Low-fi wireframe styles — boxy, grayscale, clear labels.
   Linked from each wireframe HTML file. */

.wf {
  background: #fafaf9;
  color: #44403c;
  font-family: var(--font-sans-ar);
  min-height: 100vh;
}

html[lang="en"] .wf { font-family: var(--font-sans-en); }

/* Top "back to index" bar */
.wf-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 50;
  padding: 0.375rem 0.75rem;
  background: white;
  border: 1px solid #d6d3d1;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  text-decoration: none;
  color: #44403c;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.wf-back:hover { background: #f5f5f4; }

/* Generic dashed boxes */
.wf-box,
.wf-shell {
  border: 2px dashed #a8a29e;
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #57534e;
  font-size: 0.8125rem;
  min-height: 3rem;
}
.wf-box.solid,
.wf-shell.solid { background: #f5f5f4; border-style: solid; }

.wf-box.image {
  background: repeating-linear-gradient(45deg, #f5f5f4, #f5f5f4 8px, #fafaf9 8px, #fafaf9 16px);
  color: #78716c;
  font-style: italic;
}

.wf-box.tall   { min-height: 8rem; }
.wf-box.taller { min-height: 14rem; }
.wf-box.short  { min-height: 2rem; padding: 0.5rem; }

.wf-label {
  display: inline-block;
  background: #1c1917;
  color: white;
  font-size: 0.65rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-inline-end: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wf-section { margin-block: 1.5rem; }
.wf-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  margin-block-end: 0.5rem;
  padding-inline-start: 0.25rem;
}

/* Header shell */
.wf-header {
  background: white;
  border-bottom: 2px dashed #a8a29e;
  border-radius: 0;
  padding: 0.75rem 1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wf-footer {
  background: #f5f5f4;
  border-top: 2px dashed #a8a29e;
  border-radius: 0;
  padding: 1.5rem 1rem;
  min-height: 8rem;
  margin-block-start: 2rem;
}

/* Annotations badge in the top corner of every wireframe */
.wf-badge {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 50;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  color: #78350f;
  font-size: 0.65rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
