/*
 * screens-face.css — static styling for the face-capture preview port.
 *
 * sf- classes exist ONLY where the original React code used Tailwind utility
 * classes; every other style stays inline (screens-face.js) so computed
 * values match apps/studio-demo exactly. Do not add design here.
 */

/* DeviceFrame.tsx:220 — cn('studio-preview-root w-full h-full flex flex-col', isDark && 'dark')
   `studio-preview-root` and `dark` stay as-is (semantic hooks: tokens.css
   flips --prizma-* vars on .dark). The Tailwind utilities become: */
.sf-preview-root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Tailwind preflight (base layer) ──────────────────────────────────────
   Active globally in the original Next.js app; scoped here to the preview
   root so SDK screen elements get the same resets. border-box is critical:
   the preview root carries the platform chrome as padding inside its 100%
   height (DeviceFrame.tsx paddingTop/paddingBottom). */
.studio-preview-root,
.studio-preview-root *,
.studio-preview-root *::before,
.studio-preview-root *::after {
  box-sizing: border-box;
}
.studio-preview-root img,
.studio-preview-root svg {
  display: block;
  vertical-align: middle;
}
.studio-preview-root img {
  max-width: 100%;
  height: auto;
}
.studio-preview-root h1,
.studio-preview-root h2,
.studio-preview-root h3,
.studio-preview-root h4,
.studio-preview-root h5,
.studio-preview-root h6,
.studio-preview-root p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.studio-preview-root button {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: button;
  cursor: pointer;
}

/* ── ScreenNotFound.tsx Tailwind utilities ──────────────────────────────── */
/* 'flex items-center justify-center h-full' */
.sf-nf-root {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
/* 'text-center max-w-sm px-8' */
.sf-nf-body {
  text-align: center;
  max-width: 24rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
/* 'mx-auto mb-4' (lucide AlertTriangle) */
.sf-nf-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}
/* 'text-lg font-bold mb-2' */
.sf-nf-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
/* 'text-sm mb-1' */
.sf-nf-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}
/* 'mt-6 px-4 py-2 rounded-lg font-medium text-sm' */
.sf-nf-btn {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
