/* Subset of MVP escalation.css + slide chrome — sales mocks only */
:root {
  --ink: #121212;
  --body: #343434;
  --muted: #888888;
  --paper: #ffffff;
  --line: #e0e0e0;
  --soft: #f6f6f6;
  --cta-bg: #000000;
  --cta-fg: #ffffff;
  --block: #b00020;
  --slide-w: min(94vw, 1100px);
  --slide-h: calc(var(--slide-w) * 9 / 16);
}

* { box-sizing: border-box; }

body.deck-body {
  margin: 0;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--body);
  background: #ececec;
  overflow: hidden;
}

body.poster-body {
  margin: 0;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--body);
  background: var(--paper);
}

.deck { height: 100vh; position: relative; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.slide.active { opacity: 1; pointer-events: auto; z-index: 2; }

.slide-frame {
  width: var(--slide-w);
  height: var(--slide-h);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide-audience {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.slide-audience .tag-lab { color: #1d4e89; }
.slide-audience .tag-stm { color: #6b3a2a; }
.slide-audience .tag-both { color: var(--ink); }

.slide-inner {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem 0.85rem 0.65rem;
  transform-origin: top center;
}
.slide-inner.scale-88 { transform: scale(0.88); width: 113.6%; margin-left: -6.8%; }
.slide-inner.scale-82 { transform: scale(0.82); width: 122%; margin-left: -11%; }

.deck-ui {
  position: fixed;
  z-index: 50;
  font-size: 0.72rem;
  color: #666;
}
.deck-ui.counter { top: 0.65rem; right: 1rem; }
.deck-ui.hint { bottom: 0.5rem; left: 50%; transform: translateX(-50%); }

.poster-wrap { max-width: 800px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.poster-section { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.poster-section:first-child { border-top: 0; margin-top: 0; }
.poster-section h2 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* —— Product surfaces (from escalation.css) —— */
.report { max-width: 100%; margin: 0; padding: 0; }
.report-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
}
.report-header img { height: 32px; width: auto; }
.poster-wrap > .report-header img { height: 48px; width: auto; }
.report-header h1 { margin: 0; color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.meta { color: var(--muted); font-size: 0.78rem; margin: 0.2rem 0 0; line-height: 1.35; }

.shell { max-width: 100%; padding: 0; }
.case-shell { padding-top: 0; }
.top-nav { position: static; display: flex; justify-content: flex-end; margin-bottom: 0.25rem; }
.link-secondary { color: var(--ink); text-decoration: underline; font-size: 0.78rem; margin-left: 0.75rem; }

.dual-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.65rem 0;
  align-items: start;
}
.upload-zone h3 { margin: 0 0 0.25rem; font-size: 0.88rem; color: var(--ink); }
.upload-zone .zone-hint { margin: 0 0 0.4rem; font-size: 0.72rem; color: var(--muted); }
.drop-target {
  border: 1px dashed var(--muted);
  padding: 1.1rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.file-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line);
}
.file-row .name { color: var(--body); }
.file-row .rm { color: var(--muted); }

.btn-primary {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-fg);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  border: none;
  font-size: 0.85rem;
  cursor: default;
}
.case-actions { margin: 0.5rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }

.login-form { display: grid; gap: 0.55rem; max-width: 100%; margin: 0.5rem 0; }
.login-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink); display: grid; gap: 0.2rem; }
.login-form input {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 0.85rem;
}

.section { margin: 0.65rem 0; }
.section h2 { margin: 0 0 0.4rem; color: var(--ink); font-size: 1rem; font-weight: 600; }
.headline { font-size: 0.82rem; margin: 0 0 0.65rem; color: var(--body); max-width: 42rem; }

.dual-scales { display: grid; gap: 0.75rem; }
.scale-block { border-top: 1px solid var(--line); padding-top: 0.5rem; }
.scale-label { font-weight: 600; color: var(--ink); font-size: 0.85rem; margin-bottom: 0.35rem; }
.scale-track { display: flex; gap: 0; list-style: none; padding: 0; margin: 0; }
.scale-track li {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line);
  padding: 0.35rem 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.scale-track li.is-selected {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.scale-bucket-HIGH.is-selected { background: #c6e6c9; border-color: #2d6a4f; color: #2d6a4f; }
.scale-bucket-SUPPORTS.is-selected { background: #c6e6c9; border-color: #2d6a4f; color: #2d6a4f; }
.scale-bucket-CONTRADICTS.is-selected { background: #f4c7c3; border-color: #c0392b; color: #c0392b; }
.scale-bucket-MODERATE.is-selected { background: #cfe0f4; border-color: #1d4e89; color: #1d4e89; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.3rem 0.35rem;
  font-size: 0.78rem;
}
.table th { color: var(--ink); font-weight: 600; }
.table-compact th, .table-compact td { padding: 0.22rem 0.35rem; font-size: 0.75rem; }

.similarity-matrix td.matrix-cell { text-align: center; min-width: 2.5rem; font-size: 0.72rem; }
.matrix-legend {
  list-style: none; padding: 0; margin: 0.35rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.72rem;
}
.matrix-swatch {
  display: inline-block; width: 0.7rem; height: 0.7rem;
  margin-right: 0.2rem; border: 1px solid #999; vertical-align: middle;
}

.fingerprint-heatmap-scroll { overflow: hidden; margin: 0.35rem 0; }
table.fingerprint-heatmap-table {
  font-size: 0.62rem;
  border-collapse: collapse;
  margin: 0 auto;
}
table.fingerprint-heatmap-table th,
table.fingerprint-heatmap-table td {
  text-align: center;
  padding: 0.18rem 0.28rem;
  border: 1px solid #bbb;
  min-width: 1.6rem;
}
.fp-hm-h { font-weight: 500; max-width: 3.5rem; overflow: hidden; text-overflow: ellipsis; }
.fp-hm-cell--visual { min-height: 1.1rem; }
.fingerprint-map-lede { font-size: 0.75rem; color: var(--muted); margin: 0.25rem 0 0.4rem; max-width: 40rem; }
.fingerprint-legend { font-size: 0.72rem; margin: 0 0 0.35rem; }

svg.fingerprint-plot {
  width: 100%;
  max-width: 100%;
  max-height: 11rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.fp-grid { stroke: #e0e0e0; stroke-width: 0.2; }
.fp-axis { stroke: #666; stroke-width: 0.35; }
.fp-axis-label { font-family: system-ui, sans-serif; fill: #333; }
.fp-label { font-family: system-ui, sans-serif; fill: #111; }

.decision-strip { width: 100%; max-width: 100%; height: auto; display: block; }
.decision-strip-caption { font-size: 0.78rem; margin: 0 0 0.2rem; }
.decision-strip-title { font-weight: 600; color: var(--ink); }

.signal {
  border-left: 3px solid var(--line);
  padding: 0.35rem 0 0.35rem 0.6rem;
  margin: 0.5rem 0;
  font-size: 0.78rem;
}
.signal.severity-WARN { border-left-color: var(--ink); }
.signal-sev { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.signal-title { font-weight: 600; color: var(--ink); margin: 0.15rem 0; font-size: 0.82rem; }

.progress-panel { margin: 0.5rem 0; font-size: 0.75rem; color: var(--muted); }
.progress-status { color: var(--ink); font-weight: 500; margin: 0 0 0.25rem; }

.per-disputed-glance {
  list-style: none; padding: 0; margin: 0.35rem 0;
  display: flex; gap: 0.75rem;
}
.per-disputed-glance-thumb {
  width: 3rem; height: 3rem; background: #ddd; border: 1px solid var(--line);
  object-fit: cover;
}
.per-disputed-glance-name { font-weight: 600; font-size: 0.78rem; color: var(--ink); }

.mock-thumb { background: linear-gradient(145deg, #d8d8d8, #ececec); border: 1px solid var(--line); }

.sales-muted-block {
  color: var(--muted);
  font-size: 0.72rem;
  filter: blur(2.5px);
  user-select: none;
}
.sales-hide-long .scale-help,
.sales-hide-long .headline,
.sales-hide-long .fingerprint-map-lede,
.sales-hide-long .meta-long { display: none; }

.path-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.path-step {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.45rem;
  border: 1.5px solid var(--ring, #e76f51);
  background: #fff7ed;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.path-arrow {
  padding: 0 0.45rem;
  color: var(--ring, #e76f51);
  font-weight: 700;
  font-size: 1.1rem;
  align-self: center;
}

.index-page {
  max-width: 40rem;
  margin: 3rem auto;
  padding: 1.5rem;
  font-family: Roboto, system-ui, sans-serif;
}
.index-page h1 { font-size: 1.25rem; color: var(--ink); }
.index-page ul { line-height: 1.8; }
.index-page a { color: var(--ink); }

.report-embed {
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.report-embed-caption {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
/* HTML fixture embeds (full height OK) */
.report-embed iframe,
.report-embed object {
  display: block;
  width: 100%;
  height: min(52vh, 480px);
  border: 0;
  background: #fff;
}
.report-embed--short iframe:not(.embed-pdf-frame),
.report-embed--short object {
  height: min(38vh, 340px);
}
/* PDF: clip browser viewer chrome (toolbar + thumbnail pane) */
.report-embed-viewport {
  position: relative;
  overflow: hidden;
  height: min(52vh, 500px);
  background: #fff;
}
.report-embed--short .report-embed-viewport {
  height: min(38vh, 360px);
}
.report-embed-viewport .embed-pdf-frame {
  position: absolute;
  left: 0;
  width: 100%;
  /* Taller than viewport + shifted up to hide PDF UI chrome */
  height: calc(100% + 3.25rem);
  top: -3.25rem;
  border: 0;
  display: block;
}
.report-embed-open {
  display: inline-block;
  margin: 0.35rem 0.65rem 0.5rem;
  font-size: 0.72rem;
  color: var(--ink);
}
.provenance {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
@media (min-width: 720px) {
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid--three { grid-template-columns: 1fr 1fr 1fr; }
}
.workflow-card {
  border: 1px solid var(--line);
  padding: 0.95rem 1rem;
  background: var(--soft);
}
.workflow-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.workflow-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.45;
}
.workflow-card p + p {
  margin-top: 0.4rem;
}
.shell-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
}
.poster-section > h2.workflow-heading {
  font-size: 1rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.25rem;
}
.poster-section > h2.workflow-heading span.num {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
}
.workflow-note {
  font-size: 0.78rem;
  color: var(--body);
  margin: 0 0 0.65rem;
  max-width: 44rem;
}

.global-disclaimer {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccc;
  background: #fffef5;
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.45;
}

.tool-part {
  margin: 2.5rem -1.25rem 0;
  padding: 2rem 1.25rem 0.5rem;
  border-top: 4px solid var(--ink);
}
.tool-part--adhoc { background: linear-gradient(180deg, #f8f9fa 0%, #fff 12rem); }
.tool-part--library { background: linear-gradient(180deg, #f8f9fa 0%, #fff 12rem); }

.tool-part-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.tool-part-sub {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pitch-box {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 4px;
}
.pitch-box p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--body);
}
.pitch-box p:last-child { margin-bottom: 0; }
.pitch-box strong { color: var(--ink); }

.subtool-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.35rem;
}
.subtool-lede {
  font-size: 0.82rem;
  color: var(--body);
  margin: 0 0 0.75rem;
  max-width: 44rem;
  line-height: 1.5;
}

.illustration-frame {
  position: relative;
  border: 2px dashed #aaa;
  padding: 1rem 1rem 1.25rem;
  margin: 0.75rem 0 1rem;
  background: #fff;
  pointer-events: none;
  user-select: none;
}
.illustration-frame::before {
  content: "Illustration only: Not the live product";
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.65rem;
}
.illustration-frame .btn-primary,
.illustration-frame .link-secondary {
  cursor: default;
  opacity: 0.92;
}

.demo-tap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.85rem;
}
.demo-tap-target {
  position: relative;
  display: inline-block;
}
.demo-tap-target .demo-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin: -2.1rem 0 0 -2.1rem;
  border: 2px solid #e76f51;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.25);
  pointer-events: none;
}
.demo-tap-target .demo-ring::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  bottom: 0.2rem;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #e76f51;
  transform: rotate(-25deg);
}
.demo-tap-caption {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 600;
  max-width: 10rem;
  line-height: 1.3;
}

.output-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.25rem 0 0.35rem;
  font-weight: 600;
}

@media print {
  body.poster-body { background: #fff; }
  .poster-wrap { max-width: none; padding: 0.5in; }
  .poster-section { page-break-inside: avoid; break-inside: avoid; }
  .report-embed iframe:not(.embed-pdf-frame),
  .report-embed object { height: 7in; }
  .report-embed-viewport { height: 7in; }
  .case-actions .btn-primary { border: 1px solid #000; }
  .no-print { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
