.presentation-page {
  min-height: 100svh;
  background: var(--soft);
}
.presentation-page [hidden] {
  display: none;
}
.presentation-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.presentation-top,
.presentation-brand {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.5rem);
}
.presentation-top {
  justify-content: space-between;
  padding-block: .75rem;
}
.presentation-brand img {
  width: 6.45rem;
}
.presentation-brand a {
  flex: none;
}
.presentation-brand p {
  color: var(--muted);
  line-height: 1.25;
  font-weight: 700;
}
.presentation-main {
  padding-block: clamp(.8rem, 3vw, 2rem);
}
.slide-surface {
  display: grid;
  align-content: center;
  min-height: clamp(29rem, 64svh, 43rem);
  padding: clamp(1.25rem, 4.9vw, 4.25rem);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.slide-surface.slide-opening {
  color: var(--paper);
  border-color: var(--deep);
  background: var(--deep);
}
.slide-layout {
  min-width: 0;
}
.slide-layout.with-image {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}
.slide-layout h1 {
  max-width: 20ch;
  color: var(--blue);
  font-size: clamp(2rem, 5.1vw, 4.35rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.slide-opening h1 {
  color: #d7edff;
}
.slide-label {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: .55rem;
}
.slide-lead {
  max-width: 58ch;
  margin-top: .85rem;
  font-size: clamp(1.08rem, 2.05vw, 1.58rem);
  line-height: 1.5;
  color: var(--muted);
}
.slide-opening .slide-lead {
  color: #e0eaf5;
}
.slide-layout figure {
  margin: 0;
}
.slide-layout figure img {
  width: 100%;
  height: auto;
  border-radius: 7px;
}
.slide-layout figcaption {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .9rem;
}
.slide-opening figcaption {
  color: #c6d5e5;
}
.slide-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.55rem, 1.4vw, .95rem);
  margin: 1rem 0 0;
}
.slide-blocks div {
  background: var(--soft);
  border-left: 3px solid var(--blue);
  border-radius: 5px;
  padding: clamp(.62rem, 1.45vw, .95rem);
}
.slide-opening .slide-blocks div {
  border-color: #a5d8ff;
  background: #1b2e45;
}
.slide-blocks dt {
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.7vw, 1.23rem);
}
.slide-opening .slide-blocks dt {
  color: #b3dfff;
}
.slide-blocks dd {
  margin: .15rem 0 0;
  line-height: 1.45;
  font-size: clamp(1rem, 1.5vw, 1.19rem);
}
.slide-quote {
  max-width: 48ch;
  margin: 1rem 0 0;
  border-left: 3px solid var(--blue);
  padding: .45rem 0 .45rem .8rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.45vw, 1.85rem);
  line-height: 1.35;
}
.slide-command {
  max-width: 55rem;
  margin: 1rem 0 0;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  font-size: clamp(.88rem, 1.45vw, 1.1rem);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.slide-links {
  margin-top: 1.15rem;
}
.slide-prompt {
  max-width: 58rem;
  margin-top: 1rem;
}
.slide-prompt summary {
  padding: .55rem .75rem;
}
.slide-prompt-copy-status:empty,
.presentation-message:empty {
  display: none;
}
.slide-prompt-copy-status:not(:empty) {
  margin-block: .45rem 0;
}
.presentation-controls,
.presentation-step-buttons,
.presentation-jump {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.presentation-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: .8rem;
}
.presentation-step-buttons p,
.presentation-jump label {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.presentation-jump select {
  width: min(20rem, 35vw);
  min-height: 2.7rem;
  padding: .4rem .6rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: var(--paper);
}
.presentation-controls button:disabled {
  cursor: default;
  opacity: .5;
}
.presentation-message {
  padding-top: .55rem;
  color: var(--muted);
}
@media (max-width: 810px) {
  .presentation-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .slide-layout.with-image {
    grid-template-columns: 1fr;
  }
  .slide-layout figure {
    max-width: 31rem;
  }
}
@media (max-width: 520px) {
  .slide-surface {
    min-height: 0;
  }
  .slide-blocks {
    grid-template-columns: 1fr;
  }
  .presentation-jump {
    width: 100%;
  }
  .presentation-jump select {
    min-width: 0;
    flex: 1;
  }
}
