/* ============================================================================
   sheet.css — shared composite-sheet stylesheet for sales-call-prep assets.
   Every asset family's sheets/<family>*.html links this file.

   ⚠️ HEIGHT GUARD: TOTAL SHEET HEIGHT ≤4800px.
   Taller captures import EMPTY into Figma (proven 2026-07-13).
   If a family's slots exceed 4800px, split into <family>-a.html / <family>-b.html.

   One sheet = one Figma capture = intra-sheet layout guaranteed:
   .sheet-grid children keep FIXED relative positions, so everything on a
   sheet arrives in Figma exactly where it sits here. Never rely on
   cross-sheet positioning — that is the placement plan's job.
   ========================================================================== */

:root {
  --sheet-accent: #2563eb;   /* per-family override: set on .sheet inline */
  --sheet-ink: #0f172a;
  --sheet-muted: #64748b;
  --sheet-line: #e2e8f0;
  --sheet-chip-bg: #eff6ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { background: #f1f5f9; }

/* ---- The sheet itself -------------------------------------------------- */
.sheet {
  width: 1600px;               /* FIXED — capture width is deterministic */
  background: #ffffff;
  padding: 48px;
  font-family: "Figtree", "Inter", -apple-system, sans-serif;
  color: var(--sheet-ink);
}
.sheet--wide { width: 2400px; }  /* for side-by-side families (redesign pairs, SERP pairs) */

/* ---- Header: HU family title + phase chip + asset-id list -------------- */
.sheet-head {
  border-top: 4px solid var(--sheet-accent);   /* the accent bar */
  padding-top: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.sheet-head h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sheet-head .phase-chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--sheet-accent);
  background: var(--sheet-chip-bg);
  border: 1px solid var(--sheet-accent);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.sheet-head .asset-ids {
  font-size: 12px;
  color: var(--sheet-muted);
  font-family: "Inter", monospace;
  margin-left: auto;
}

/* ---- Grid: fixed relative positions, 24px gap -------------------------- */
.sheet-grid {
  display: grid;
  gap: 24px;
  /* Define columns per sheet, e.g. grid-template-columns: repeat(3, 1fr);
     Children may span (grid-column: span 2) but must NOT be repositioned
     by media queries or JS — positions are frozen at authoring time. */
}

/* ---- Slot: one asset + its name chip ----------------------------------- */
.sheet-slot {
  position: relative;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  padding: 16px;
  padding-top: 36px;           /* room for the label chip */
  background: #ffffff;
}
.sheet-slot .slot-label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sheet-muted);
  background: #f8fafc;
  border: 1px solid var(--sheet-line);
  border-radius: 4px;
  padding: 2px 8px;
}

/* ---- Note: annotation card --------------------------------------------- */
.sheet-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #78350f;
}
