.tpl-cm15-report {
  --brand: #0b5c8a;
  --brand-2: #2563eb;
  --ink: #102a43;
  --muted: #627386;
  --line: #d8e1ec;
  --soft: #f3f7fb;
  --green: #059669;
  --red: #dc2626;
  --purple: #7c3aed;
  --amber: #b45309;
}

.tpl-cm15-report .slide {
  padding: 72px 88px;
  color: var(--text-1);
}

.tpl-cm15-report .kicker {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tpl-cm15-report h1 {
  max-width: 1180px;
  margin: 0;
  font-size: 78px;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
}

.tpl-cm15-report h2 {
  max-width: 1320px;
  margin: 0 0 32px;
  font-size: 52px;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--ink);
}

.tpl-cm15-report h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
}

.tpl-cm15-report p,
.tpl-cm15-report li {
  font-size: 24px;
  line-height: 1.55;
}

.tpl-cm15-report ul {
  margin: 0;
  padding-left: 26px;
}

.tpl-cm15-report .lede {
  max-width: 1180px;
  margin: 28px 0 0;
  font-size: 30px;
  line-height: 1.55;
  color: var(--muted);
}

.tpl-cm15-report .subtle {
  color: var(--muted);
  margin-top: -18px;
}

.tpl-cm15-report .mt {
  margin-top: 34px;
}

.tpl-cm15-report .deck-footer {
  position: absolute;
  left: 88px;
  right: 88px;
  bottom: 42px;
  display: flex;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 16px;
}

.tpl-cm15-report .help {
  position: fixed;
  left: 14px;
  bottom: 12px;
  z-index: 100;
  color: rgba(75, 85, 99, .62);
  font-size: 12px;
  pointer-events: none;
}

.tpl-cm15-report .cover {
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, .14), transparent 32%),
    linear-gradient(180deg, rgba(234, 241, 248, .94), rgba(255, 255, 255, .98));
}

.tpl-cm15-report .cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin-top: 62px;
}

.tpl-cm15-report .cover-card,
.tpl-cm15-report .panel,
.tpl-cm15-report .data-card,
.tpl-cm15-report .overview-step,
.tpl-cm15-report .definition-card,
.tpl-cm15-report .example-intro > div,
.tpl-cm15-report .scenario,
.tpl-cm15-report .time-card,
.tpl-cm15-report .decision,
.tpl-cm15-report .confirm,
.tpl-cm15-report .final-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.tpl-cm15-report .cover-card {
  padding: 26px 30px;
}

.tpl-cm15-report .cover-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
  color: var(--brand);
}

.tpl-cm15-report .cover-card span {
  display: block;
  font-size: 22px;
  line-height: 1.45;
  color: #334155;
}

.tpl-cm15-report .flow {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 34px;
}

.tpl-cm15-report .node {
  min-height: 135px;
  padding: 24px 18px;
  border-radius: 18px;
  text-align: center;
  border: 2px solid transparent;
}

.tpl-cm15-report .node b {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  color: var(--ink);
}

.tpl-cm15-report .node span {
  font-size: 21px;
  color: #475569;
}

.tpl-cm15-report .node.blue { background: #eff6ff; border-color: #bfdbfe; }
.tpl-cm15-report .node.cyan { background: #ecfeff; border-color: #a5f3fc; }
.tpl-cm15-report .node.green { background: #ecfdf5; border-color: #a7f3d0; }
.tpl-cm15-report .node.red { background: #fef2f2; border-color: #fecaca; }

.tpl-cm15-report .arrow {
  height: 4px;
  background: #94a3b8;
  position: relative;
}

.tpl-cm15-report .arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -10px;
  width: 0;
  height: 0;
  border-left: 18px solid #94a3b8;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.tpl-cm15-report .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.tpl-cm15-report .panel {
  padding: 28px 32px;
}

.tpl-cm15-report .panel.warn {
  border-color: #fed7aa;
  background: #fff7ed;
}

.tpl-cm15-report .compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 44px;
}

.tpl-cm15-report .compare-card {
  padding: 38px 42px;
  border-radius: 18px;
  min-height: 260px;
  border: 2px solid;
}

.tpl-cm15-report .compare-card.bad {
  background: #fef2f2;
  border-color: #fecaca;
}

.tpl-cm15-report .compare-card.good {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.tpl-cm15-report .compare-card p {
  margin: 18px 0 0;
  color: #334155;
}

.tpl-cm15-report .statement {
  margin-top: 42px;
  padding: 24px 30px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  font-size: 25px;
  line-height: 1.7;
}

.tpl-cm15-report .data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.tpl-cm15-report .data-card {
  position: relative;
  min-height: 210px;
  padding: 34px 36px 28px 112px;
}

.tpl-cm15-report .data-card span {
  position: absolute;
  left: 32px;
  top: 34px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  font-size: 25px;
}

.tpl-cm15-report .data-card p {
  margin: 0;
  color: #475569;
}

.tpl-cm15-report .data-card.red { background: #fef2f2; }
.tpl-cm15-report .data-card.green { background: #ecfdf5; }
.tpl-cm15-report .data-card.blue { background: #eff6ff; }
.tpl-cm15-report .data-card.purple { background: #f5f3ff; }
.tpl-cm15-report .data-card.red span { background: var(--red); }
.tpl-cm15-report .data-card.green span { background: var(--green); }
.tpl-cm15-report .data-card.blue span { background: var(--brand-2); }
.tpl-cm15-report .data-card.purple span { background: var(--purple); }

.tpl-cm15-report .overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.tpl-cm15-report .overview-step {
  position: relative;
  min-height: 392px;
  padding: 30px 26px 28px;
  border-top: 6px solid var(--brand);
}

.tpl-cm15-report .overview-step span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: 28px;
}

.tpl-cm15-report .overview-step p {
  color: #475569;
  margin: 0;
  font-size: 22px;
}

.tpl-cm15-report .overview-step.red { border-color: var(--red); background: #fef2f2; }
.tpl-cm15-report .overview-step.green { border-color: var(--green); background: #ecfdf5; }
.tpl-cm15-report .overview-step.purple { border-color: var(--purple); background: #f5f3ff; }
.tpl-cm15-report .overview-step.blue { border-color: var(--brand-2); background: #eff6ff; }
.tpl-cm15-report .overview-step.red span { background: var(--red); }
.tpl-cm15-report .overview-step.green span { background: var(--green); }
.tpl-cm15-report .overview-step.purple span { background: var(--purple); }
.tpl-cm15-report .overview-step.blue span { background: var(--brand-2); }

.tpl-cm15-report .plain-logic {
  margin-top: 30px;
  padding: 24px 30px;
  border-radius: 16px;
  background: #0b5c8a;
  color: white;
  font-size: 26px;
  line-height: 1.55;
  font-weight: 700;
}

.tpl-cm15-report .plain-logic b {
  color: #dff6ff;
}

.tpl-cm15-report .callout {
  margin-top: 34px;
  padding: 22px 28px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0f3f63;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.tpl-cm15-report .callout.amber {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.tpl-cm15-report .formula-panel {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.tpl-cm15-report .formula-panel.compact {
  gap: 18px;
  margin-top: 20px;
}

.tpl-cm15-report .definition-card {
  padding: 24px 30px;
  background: #eef6ff;
  border-color: #bfdbfe;
}

.tpl-cm15-report .definition-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--brand);
}

.tpl-cm15-report .definition-card p {
  margin: 0;
  color: #334155;
  font-size: 23px;
}

.tpl-cm15-report .formula-step {
  padding: 30px 34px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.tpl-cm15-report .formula-step:first-child {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.tpl-cm15-report .formula-step b {
  display: block;
  margin-bottom: 14px;
  font-size: 28px;
  color: var(--ink);
}

.tpl-cm15-report code {
  display: block;
  margin-top: 10px;
  padding: 15px 18px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .06);
  color: #111827;
  font-family: var(--font-mono), monospace;
  font-size: 24px;
  white-space: normal;
}

.tpl-cm15-report .rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.tpl-cm15-report .rule-grid div {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.tpl-cm15-report .rule-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--brand);
}

.tpl-cm15-report .rule-grid span {
  color: #475569;
  font-size: 21px;
}

.tpl-cm15-report .scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.tpl-cm15-report .example-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: -6px;
  margin-bottom: 24px;
}

.tpl-cm15-report .example-intro > div {
  padding: 22px 26px;
  background: #f8fafc;
}

.tpl-cm15-report .example-intro b {
  display: block;
  color: var(--brand);
  font-size: 24px;
  margin-bottom: 8px;
}

.tpl-cm15-report .example-intro span {
  display: block;
  color: #475569;
  font-size: 21px;
  line-height: 1.45;
}

.tpl-cm15-report .scenario-grid.detailed {
  margin-top: 18px;
}

.tpl-cm15-report .scenario {
  padding: 28px 30px;
  min-height: 420px;
}

.tpl-cm15-report .scenario p {
  min-height: 108px;
  color: #475569;
}

.tpl-cm15-report .bar,
.tpl-cm15-report .split-bar {
  height: 72px;
  margin: 30px 0 28px;
  border-radius: 999px;
  overflow: hidden;
  color: white;
  font-weight: 800;
  font-size: 22px;
  line-height: 72px;
  padding-left: 20px;
}

.tpl-cm15-report .bar.green { background: var(--green); }
.tpl-cm15-report .bar.purple { background: var(--purple); }

.tpl-cm15-report .split-bar {
  display: flex;
  padding: 0;
  background: #e2e8f0;
}

.tpl-cm15-report .split-bar span {
  display: block;
  padding-left: 18px;
  line-height: 72px;
}

.tpl-cm15-report .split-bar .green { background: var(--green); }
.tpl-cm15-report .split-bar .purple { background: var(--purple); }

.tpl-cm15-report .timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.tpl-cm15-report .time-card {
  position: relative;
  min-height: 240px;
  padding: 34px 32px 28px 104px;
}

.tpl-cm15-report .time-card span {
  position: absolute;
  left: 32px;
  top: 34px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 25px;
  font-weight: 800;
}

.tpl-cm15-report .case-box {
  padding: 28px 34px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.tpl-cm15-report .case-box p {
  margin: 0;
  color: #7c2d12;
}

.tpl-cm15-report .decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 34px;
}

.tpl-cm15-report .decision {
  padding: 32px 36px;
  min-height: 360px;
}

.tpl-cm15-report .decision.good {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.tpl-cm15-report .decision.bad {
  background: #fef2f2;
  border-color: #fecaca;
}

.tpl-cm15-report .confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  margin-top: 30px;
}

.tpl-cm15-report .confirm {
  min-height: 108px;
  padding: 22px 26px;
}

.tpl-cm15-report .confirm b {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 24px;
}

.tpl-cm15-report .confirm span {
  font-size: 21px;
  line-height: 1.45;
  color: #475569;
}

.tpl-cm15-report .final-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.tpl-cm15-report .final-card {
  padding: 32px 34px;
  min-height: 420px;
}

.tpl-cm15-report .final-card.caution {
  background: #fff7ed;
  border-color: #fed7aa;
}

.tpl-cm15-report .closing {
  margin-top: 34px;
  padding: 24px 30px;
  border-radius: 16px;
  background: var(--brand);
  color: white;
  font-size: 28px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .tpl-cm15-report .flow,
  .tpl-cm15-report .two-col,
  .tpl-cm15-report .compare,
  .tpl-cm15-report .data-grid,
  .tpl-cm15-report .rule-grid,
  .tpl-cm15-report .scenario-grid,
  .tpl-cm15-report .timeline,
  .tpl-cm15-report .decision-grid,
  .tpl-cm15-report .confirm-grid,
  .tpl-cm15-report .final-grid,
  .tpl-cm15-report .cover-grid {
    grid-template-columns: 1fr;
  }
}
