/* deploy-ppt · scoped styles
 * Built on top of presenter-mode-reveal template.
 * Theme tokens come from sunset-warm.css; this file adds layout helpers only.
 */

.tpl-presenter-mode-reveal .slide {
  padding: 64px 88px;
}

.tpl-presenter-mode-reveal .kicker {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.tpl-presenter-mode-reveal .h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 22px 0;
}

.tpl-presenter-mode-reveal .h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
}

.tpl-presenter-mode-reveal .h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  margin: 0 0 14px 0;
  color: var(--text-1);
}

.tpl-presenter-mode-reveal .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
}

.tpl-presenter-mode-reveal .mono {
  font-family: var(--font-mono, monospace);
  font-size: 0.9em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(120,60,20,0.10);
  color: var(--accent, #e36a2d);
}

.tpl-presenter-mode-reveal .accent {
  color: var(--accent, #e36a2d);
  font-weight: 700;
}

.tpl-presenter-mode-reveal .speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.tpl-presenter-mode-reveal .speaker .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #e36a2d), var(--accent-2, #f2a341));
}
.tpl-presenter-mode-reveal .speaker b {
  display: block;
  font-size: 16px;
}
.tpl-presenter-mode-reveal .speaker span {
  font-size: 13px;
  color: var(--text-3);
}

/* Agenda rows */
.tpl-presenter-mode-reveal .agenda-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--surface, rgba(255,255,255,0.03));
}
.tpl-presenter-mode-reveal .agenda-row .num {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  color: var(--accent, #e36a2d);
  font-weight: 700;
}
.tpl-presenter-mode-reveal .agenda-row .t {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .agenda-row .d {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--text-3);
}

/* Cards */
.tpl-presenter-mode-reveal .card {
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 20px 22px;
}
.tpl-presenter-mode-reveal .card-accent {
  border-top: 3px solid var(--accent, #e36a2d);
}
.tpl-presenter-mode-reveal .card h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .card .dim {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Tier cards */
.tpl-presenter-mode-reveal .tier-card {
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-top: 4px solid var(--accent, #e36a2d);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.tpl-presenter-mode-reveal .tier-card.t1 { border-top-color: #2f8f4e; }
.tpl-presenter-mode-reveal .tier-card.t2 { border-top-color: #2563c9; }
.tpl-presenter-mode-reveal .tier-card.t3 { border-top-color: #7b4fc4; }
.tpl-presenter-mode-reveal .tier-card .tier-num {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.tpl-presenter-mode-reveal .tier-card .tier-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}
.tpl-presenter-mode-reveal .tier-card .tier-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.tpl-presenter-mode-reveal .tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.tpl-presenter-mode-reveal .tier-card ul li {
  font-size: 13px;
  color: var(--text-2);
  padding: 4px 0;
}
.tpl-presenter-mode-reveal .tier-card .tier-chap {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
}

/* Feature rows */
.tpl-presenter-mode-reveal .feature-row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.tpl-presenter-mode-reveal .feature-row:last-child { border-bottom: none; }
.tpl-presenter-mode-reveal .feature-row .num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.tpl-presenter-mode-reveal .feature-row b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .feature-row .dim {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.tpl-presenter-mode-reveal .blue { color: #2563c9; }
.tpl-presenter-mode-reveal .green { color: #2f8f4e; }
.tpl-presenter-mode-reveal .orange { color: #e36a2d; }
.tpl-presenter-mode-reveal .purple { color: #7b4fc4; }
.tpl-presenter-mode-reveal .red { color: #d63a52; }

/* Rule rows */
.tpl-presenter-mode-reveal .rule-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 22px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--surface, rgba(255,255,255,0.03));
}
.tpl-presenter-mode-reveal .rule-row .num {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  line-height: 1;
}
.tpl-presenter-mode-reveal .rule-row b {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .rule-row .dim {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* Code block — warm dark to harmonize with the sunset palette */
.tpl-presenter-mode-reveal .code-block {
  background: #2a1d12;
  border: 1px solid rgba(255,210,160,0.16);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--font-mono, "SF Mono", monospace);
  font-size: 14px;
  line-height: 1.75;
  color: #f3e9dd;
  white-space: pre-wrap;
  text-align: left;
  box-shadow: 0 8px 24px rgba(120,60,20,0.18);
}
.tpl-presenter-mode-reveal .code-block .comment { color: #b09a86; }
.tpl-presenter-mode-reveal .code-block .cmd { color: #8fd672; font-weight: 600; }
.tpl-presenter-mode-reveal .code-block .flag { color: #f2a341; }
.tpl-presenter-mode-reveal .code-block .str { color: #f0c489; }
.tpl-presenter-mode-reveal .code-block .key { color: #ff9d7a; }

/* URL anatomy */
.url-anatomy {
  font-family: var(--font-mono, monospace);
  font-size: clamp(18px, 2vw, 28px);
  text-align: center;
  margin: 24px 0 12px 0;
  line-height: 1.5;
}
.url-anatomy .seg { padding: 2px 6px; border-radius: 4px; }
.url-anatomy .proto  { background: rgba(47,143,78,0.16);  color: #2f8f4e; }
.url-anatomy .domain { background: rgba(37,99,201,0.14);  color: #2563c9; }
.url-anatomy .port   { background: rgba(227,106,45,0.16); color: #e36a2d; }
.url-anatomy .path   { background: rgba(123,79,196,0.14); color: #7b4fc4; }
.url-anatomy .query  { background: rgba(214,58,82,0.14);  color: #d63a52; }
.url-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.url-legend .cell {
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
}
.url-legend .cell b { display: block; font-size: 14px; margin-bottom: 4px; }
.url-legend .cell span { font-size: 12px; color: var(--text-3); }

/* Error table */
.err-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
.err-table th,
.err-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.err-table th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.err-table td.code {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 18px;
  width: 64px;
}
.err-table td.code.c4 { color: #e36a2d; }
.err-table td.code.c5 { color: #d63a52; }
.err-table tr:last-child td { border-bottom: none; }

/* Architecture diagram - simple ASCII style boxes */
.arch-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 18px 0 12px 0;
}
.arch-node {
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 12px;
  padding: 16px;
  background: var(--surface, rgba(255,255,255,0.03));
}
.arch-node .label {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.arch-node .name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.arch-node .desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.55;
}
.arch-arrow {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin: -4px 0 6px 0;
}

/* Self-check table */
.checklist {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.checklist th,
.checklist td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.checklist th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.checklist td.tag {
  font-weight: 700;
  font-size: 15px;
}
.checklist .ok { color: #2f8f4e; }

/* Stack helper */
.tpl-presenter-mode-reveal .stack > * + * { margin-top: 0; }

/* Grid helpers */
.tpl-presenter-mode-reveal .grid { display: grid; gap: 16px; }
.tpl-presenter-mode-reveal .grid.g2 { grid-template-columns: 1fr 1fr; }
.tpl-presenter-mode-reveal .grid.g3 { grid-template-columns: repeat(3, 1fr); }

.tpl-presenter-mode-reveal .mt-m { margin-top: 18px; }
.tpl-presenter-mode-reveal .mt-l { margin-top: 28px; }
.tpl-presenter-mode-reveal .mt-s { margin-top: 8px; }
.tpl-presenter-mode-reveal .tc { text-align: center; }

/* Demo plan list */
.demo-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border, rgba(255,255,255,0.08));
}
.demo-step:last-child { border-bottom: none; }
.demo-step .step-num {
  font-family: var(--font-mono, monospace);
  font-size: 22px;
  color: var(--accent, #e36a2d);
  font-weight: 700;
}
.demo-step b { font-size: 17px; display: block; margin-bottom: 4px; }
.demo-step .dim { font-size: 13px; color: var(--text-2); margin: 0; }

/* big quote */
.big-quote {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-1);
  text-align: center;
  padding: 24px 16px;
  border-left: 4px solid var(--accent, #e36a2d);
  background: var(--surface, rgba(255,255,255,0.03));
  border-radius: 12px;
}
