/* L1-specific overrides on top of shared/custom.css. Loaded AFTER the
   shared stylesheet, so any rule here will win over a shared one with
   the same specificity. Anything reusable lives in shared/custom.css. */

/* 2x2 grid for the "What today's LLMs can do" slide. */
.reveal .grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  text-align: left;
}
.reveal .grid-2x2 > div {
  border: 1px solid #e5e7eb;
  border-left: 4px solid #1d4ed8;
  padding: 0.7em 0.9em;
  background: #f9fafb;
}
.reveal .grid-2x2 h3 { font-size: 0.9em; margin: 0 0 0.3em 0; color: #1d4ed8; }
.reveal .grid-2x2 p { font-size: 0.7em; margin: 0; line-height: 1.3; }

/* CSS-only horizontal stacked-bar visualization for grade breakdown. */
.reveal .grade-bar { margin: 1em 0; text-align: left; }
.reveal .grade-bar .grade-label { font-size: 0.8em; font-weight: bold; margin-bottom: 0.2em; }
.reveal .grade-bar .bar { display: flex; height: 2.4em; border-radius: 4px; overflow: hidden; font-size: 0.65em; color: white; }
.reveal .grade-bar .seg {
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.3em; white-space: nowrap; text-align: center;
}
.reveal .grade-bar .seg.assignments { background: #2563eb; }
.reveal .grade-bar .seg.chat { background: #7c3aed; }
.reveal .grade-bar .seg.final { background: #dc2626; }
.reveal .grade-bar .seg.project { background: #059669; }
.reveal .grade-bar .seg.bonus { background: #f59e0b; }

/* Classical-AI disclaimer callout (orange/yellow accent) on the
   Course roadmap slide. */
.reveal .heads-up {
  margin-top: 0.8em;
  padding: 0.5em 0.9em;
  background: #fff4d6;
  border-left: 4px solid #d4a017;
  font-size: 0.65em;
  font-style: italic;
  text-align: left;
  line-height: 1.4;
  color: #4b3a00;
}

/* IS / IS NOT comparison columns on the disclaimer slide. */
.reveal .col-is,
.reveal .col-isnot {
  padding: 0.4em 0.7em;
  border-left-width: 5px;
  border-left-style: solid;
  text-align: left;
}
.reveal .col-is { border-left-color: #16a34a; background: #f0fdf4; }
.reveal .col-isnot { border-left-color: #dc2626; background: #fef2f2; }
.reveal .col-is h3,
.reveal .col-isnot h3 {
  margin: 0 0 0.3em 0;
  font-size: 0.85em;
}
.reveal .col-is h3 { color: #166534; }
.reveal .col-isnot h3 { color: #991b1b; }
.reveal .col-is ul,
.reveal .col-isnot ul {
  margin: 0 0 0 1em;
  font-size: 0.9em;
}
.reveal .col-is li,
.reveal .col-isnot li {
  margin-bottom: 0.15em;
  font-size: 0.75em;
  line-height: 1.25;
}
.reveal .reality-check {
  margin-top: 0.7em;
  padding: 0.45em 0.8em;
  background: #f3f4f6;
  border-left: 4px solid #6b7280;
  font-size: 0.58em;
  line-height: 1.3;
  text-align: left;
  color: #374151;
}

/* Inline "score progression" strip for Weng Breakout 387/507/839/864. */
.reveal .score-progression {
  display: flex;
  gap: 0.4em;
  justify-content: center;
  align-items: center;
  margin: 0.8em 0 0.4em;
}
.reveal .score-progression .step {
  background: #1d4ed8;
  color: white;
  padding: 0.35em 0.7em;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9em;
  min-width: 3em;
  text-align: center;
}
.reveal .score-progression .arrow { color: #6b7280; font-size: 1em; }
.reveal .score-progression .step.final { background: #16a34a; }

/* Enlarged hero variant for the "this replaces classical AI" slide. */
.reveal .score-progression.large {
  gap: 0.45em;
  margin: 1.0em 0 0.4em;
  flex-wrap: wrap;
}
.reveal .score-progression.large .step {
  font-size: 1.15em;
  min-width: 2.4em;
  padding: 0.35em 0.7em;
  border-radius: 5px;
}
.reveal .score-progression.large .arrow { font-size: 1.15em; }

/* Hero images for the four module slides. Pixel-based (not vh). */
.reveal .module-img {
  max-width: 100%;
  max-height: 320px;
  display: block;
  margin: 0 auto;
}
.reveal .module-caption {
  text-align: center;
  font-size: 0.55em;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.3em;
  line-height: 1.3;
}

/* Karpathy autoresearch loop SVG sizing. */
.reveal svg.auto-loop {
  display: block;
  margin: 0.6em auto 0.2em;
  max-width: 92%;
  max-height: 42vh;
  height: auto;
}

/* Cho-talk callout banner. */
.reveal .cho-banner {
  background: #fff4d6;
  border-left: 6px solid #d4a017;
  padding: 0.8em 1em;
  text-align: left;
}

/* Verbatim dialogue blocks (ELIZA, SHRDLU, Loebner). */
.reveal pre.dialogue {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 0.8em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.55em;
  line-height: 1.4;
  text-align: left;
  white-space: pre-wrap;
  overflow-x: auto;
}
.reveal pre.dialogue .eliza,
.reveal pre.dialogue .confederate { color: purple; }
