.reveal code {
   color: #859e30; /* Green'ish color for inline commands */
}

/* does not work...? */
.reveal pre code {
	max-height: 80%;
}

/* ------------------------------------------------------------------
   Callout boxes.  These were inline style="..." attributes repeated on
   every slide; as classes they can be written from Markdown slides,
   which is the whole reason they exist here.  Same rendering as the
   inline version they replace -- text-align is deliberately left alone
   so they keep inheriting reveal's centering.
   ------------------------------------------------------------------ */
.reveal .callout,
.reveal .callout-blue,
.reveal .callout-indigo {
	margin-top: 0.7em;
	padding: 0.7em;
	font-size: 0.85em;
}
.reveal .callout        { background-color: #fffacd; border-left: 4px solid #f90; }
.reveal .callout-blue   { background-color: #e3f2fd; border-left: 4px solid #1976d2; }
.reveal .callout-indigo { background-color: #e8eaf6; border-left: 4px solid #3f51b5; }

/* Markdown slides lose the per-table inline styling the HTML ones carry;
   this keeps the header band and zebra striping the decks already use. */
.reveal .md-table { font-size: 0.75em; }
.reveal .md-table table { font-size: 1em; width: 99%; margin: auto; }
.reveal .md-table th { background-color: #e8eaf6; text-align: left; padding: 0.35em; }
.reveal .md-table td { text-align: left; padding: 0.35em; }
.reveal .md-table tbody tr:nth-child(even) { background-color: #fafafa; }

/* An <object> embeds the SVG as a document instead of flattening it to a
   picture, so hyperlinks inside it stay live -- that is why the STAMPED puzzle
   is embedded this way and every piece's name is clickable.  Decks size their
   own diagrams (2026-dhmc-ieeg.html does it in its own <style>, the puzzle
   slides inline), so only the frame is reset here. */
.reveal object.dia { border: 0; }

/* ------------------------------------------------------------------
   Faces.  A few of the people from the acknowledgements, in the top
   right corner of the slide about the thing they built, so they are
   present while their work is on screen and the grid at the end is
   recognition rather than introduction.

   A deck declares only WHO:

       <div class="faces" data-people="john-lee isaac-to"></div>

   and tools/mk_faces.py --expand fills in the linked <a class="face">
   portraits from con-whoweare.phtml.

   Positioned against the slide's own box -- reveal gives every section
   position:absolute, and with center:true that box is the content, so
   the row sits just above whatever the slide starts with instead of at
   a fixed canvas offset.  Per-slide size:  style="--face-size:52px".
   ------------------------------------------------------------------ */
.reveal .faces {
	--face-size: 64px;
	position: absolute;
	top: calc(-1 * var(--face-size) - 12px);
	right: 0;
	display: flex;
	gap: 7px;
	z-index: 3;
	line-height: 1;
}
/* The beige theme puts a 4px border and a drop shadow on every image in
   a section; these are portraits, not screenshots. */
.reveal .faces .face img {
	width: var(--face-size);
	height: var(--face-size);
	object-fit: cover;
	object-position: center top;
	border-radius: 50%;
	display: block;
	margin: 0;
	background: none;
	border: 2px solid rgba(0, 0, 0, 0.18);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
	filter: saturate(0.92);
}
.reveal .faces .face:hover img {
	border-color: #a04000;
	filter: none;
}

/* Reveal marks a slide with a dark background .has-dark-background; the beige
   theme leaves the text its usual near-black, so every such slide used to
   repeat color:white on each element inline.  Say it once.  Inline styles
   still win, so decks that set their own colour are unaffected. */
.reveal .has-dark-background,
.reveal .has-dark-background h1,
.reveal .has-dark-background h2,
.reveal .has-dark-background h3,
.reveal .has-dark-background h4,
.reveal .has-dark-background p,
.reveal .has-dark-background li {
	color: #fff;
}
