/* Presentation route composition styles.
 * Owner: PresentationShell route surface and presentation deck composition.
 * This carrier owns presentation-* only; mechanics stay in static/presentation.js over UIKernel.
 */

/* Presentation surface: relocated from app.css as measured CSS debt reduction. */
/* ============================================================
   Presentation — full-bleed deck
   ============================================================ */

.presentation-body {
  margin: 0; height: 100vh; width: 100vw;
  overflow: hidden;
  background: #050912;
  color: #E7ECF3;
  font-family: Calibri, "Helvetica Neue", sans-serif;
}
.presentation-stage {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at top, #1a2740 0%, #050912 80%);
}
.presentation-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 7vw 12vh;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
  overflow: hidden;
  min-width: 0;
}
.presentation-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.presentation-slide-inner {
  max-width: 1280px; width: 100%;
  max-height: 100%;
  overflow: auto;
  min-width: 0;
}

.presentation-eyebrow {
  font: 600 12px Calibri, sans-serif;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 22px;
}
.presentation-title {
  font: 700 56px/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -1px; color: #FFFFFF;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.presentation-sub {
  font: 400 19px/1.55 Georgia, serif;
  color: #B5C2D2; max-width: 880px; margin: 0;
}

.presentation-slide-cover .presentation-slide-inner {
  text-align: left; max-width: 1100px;
}
.presentation-cover-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--orange); color: white;
  font: 800 24px Georgia, serif;
  border-radius: 100px; margin-bottom: 36px;
  letter-spacing: -1px;
}
.presentation-cover-title {
  font: 700 88px/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -2.4px;
  color: white;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.presentation-cover-sub {
  font: 400 21px/1.55 Georgia, serif;
  color: #C5D0DE;
  margin: 0 0 56px;
}
.presentation-cover-foot {
  font: italic 14.5px/1.6 Georgia, serif;
  color: #94A3B8;
  border-left: 2px solid var(--orange);
  padding-left: 14px; max-width: 580px;
}

.presentation-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 36px;
}
.presentation-overview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 22px 24px;
}
.presentation-overview-title {
  font: 600 19px Georgia, serif; color: white;
  margin-bottom: 12px;
}
.presentation-overview-stats {
  display: flex; gap: 18px; font-size: 13px; color: #B5C2D2;
}
.presentation-overview-stats strong {
  color: var(--orange-light); font-weight: 700; font-size: 15px;
}

.presentation-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 1024px) { .presentation-issue-grid { grid-template-columns: repeat(2, 1fr); } }
.presentation-brief-panel,
.presentation-issue-panel,
.presentation-question-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
}
.presentation-brief-panel {
  margin-top: 28px;
  padding: 28px 32px;
  max-width: 980px;
}
.presentation-brief-text {
  font: 400 30px/1.35 Georgia, "Times New Roman", serif;
  color: #F8FAFC;
  margin: 0;
}
.presentation-issue-panel {
  padding: 22px 24px;
  border-left: 3px solid var(--orange);
}
.presentation-issue-panel-head {
  display: flex;
  gap: 10px;
  font: 600 10px Calibri, sans-serif;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.presentation-issue-panel h3 {
  font: 700 22px/1.2 Georgia, "Times New Roman", serif;
  color: white;
  margin: 0 0 10px;
}
.presentation-issue-panel p {
  color: #C5D0DE;
  line-height: 1.45;
  margin: 0 0 12px;
}
.presentation-question-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.presentation-question-list li {
  padding: 16px 18px;
}
.presentation-question-list strong {
  display: block;
  color: white;
  font: 600 18px/1.35 Georgia, "Times New Roman", serif;
  margin-bottom: 6px;
}
.presentation-question-list span {
  display: block;
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.45;
}
.presentation-issue-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 18px 20px;
}
.presentation-cell-head {
  font: 600 10px Calibri, sans-serif;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.presentation-cell-list {
  margin: 0; padding-left: 16px; font-size: 13px; line-height: 1.6;
  color: #DCE3EE;
}
.presentation-cell-list-small li { font-size: 12px; line-height: 1.5; }
.presentation-cell-list strong { color: white; font-weight: 600; }
.presentation-cell-framework {
  font-size: 13px; color: #DCE3EE; margin-bottom: 6px;
}
.presentation-cell-framework strong { color: var(--orange-light); font-weight: 700; }
.presentation-cell-empty {
  font: italic 12px Georgia, serif;
  color: #94A3B8; margin: 0;
}
.presentation-cell-muted { color: #94A3B8; font-size: 11.5px; }

.presentation-stat-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin: 28px 0;
}
.presentation-stat-tile {
  flex: 1 1 200px;
  background: linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 22px 24px;
}
.presentation-stat-label {
  font: 600 9.5px Calibri, sans-serif;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.presentation-stat-value {
  font: 700 40px Georgia, serif;
  color: white; line-height: 1; letter-spacing: -1px;
}
.presentation-stat-unit {
  font-size: 12px; color: #B5C2D2; margin-top: 6px;
}

.presentation-claim-table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 18px 22px;
}
.presentation-claim-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.presentation-claim-table th {
  text-align: left;
  font: 600 10px Calibri, sans-serif;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--orange);
  padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.presentation-claim-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #DCE3EE;
}
.presentation-claim-table .presentation-value { color: white; font-weight: 600; }
.presentation-claim-table .presentation-muted { color: #94A3B8; font-size: 11.5px; }

.presentation-empty {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: rgba(208, 74, 2, 0.08);
  border: 1px dashed var(--orange);
  border-radius: 6px;
  padding: 22px 26px;
  margin-top: 18px;
}
.presentation-empty-mark {
  font: 600 11px Calibri, sans-serif;
  letter-spacing: 2.4px; color: var(--orange);
  margin-bottom: 8px;
}
.presentation-empty-text {
  font: italic 14px Georgia, serif;
  color: #DCE3EE; max-width: 560px; line-height: 1.5;
}

.presentation-prov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  font-size: 13px; color: #DCE3EE;
}
.presentation-prov-grid > div { background: rgba(255,255,255,0.03); padding: 14px 16px; border-radius: 4px; }
.presentation-prov-grid [class~="span-2"] { grid-column: span 4; }
@media (min-width: 1100px) { .presentation-prov-grid [class~="span-2"] { grid-column: span 2; } }
.presentation-prov-label {
  font: 600 9.5px Calibri, sans-serif;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 4px;
}
.presentation-prov-grid [class~="mono"] { font-family: "SF Mono", Menlo, monospace; font-size: 11px; word-break: break-all; }
.presentation-prov-grid [class~="small"] { font-size: 11px; }

.presentation-chrome {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 56px;
  transform: none;
  box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  background: linear-gradient(0deg, rgba(5,9,18,0.95), rgba(5,9,18,0.7));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.presentation-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.05);
}
.presentation-progress-fill {
  height: 100%; width: 0;
  background: var(--orange);
  transition: width var(--motion-duration-base) var(--motion-ease-standard);
}
.presentation-chrome-left { display: flex; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; }
.presentation-context {
  font: 600 11px Inter, sans-serif;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: #94A3B8;
  display: block;
  max-width: min(34vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presentation-chrome-center {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
}
.presentation-counter {
  font: 600 13px "IBM Plex Mono", "SF Mono", Menlo, monospace;
  color: white; min-width: 64px; text-align: center;
}
.presentation-counter span { color: white; }

.presentation-chrome-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* Presentation surface uses `data-theme="dark"` on the <html>.
 * The canonical Button primitive's ghost variant defaults to
 * paper bg on hover (light theme).  Inside the dark-themed
 * presentation chrome we override to a translucent white hover
 * so the icon-only buttons stay legible on the navy background.
 * The primitive's icon, hit-area, focus-ring stay canonical.
 */
.presentation-chrome :is([data-primitive="button"], [data-primitive="action_trigger"])[data-icon-only="true"] {
  color: #DCE3EE;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.presentation-chrome :is([data-primitive="button"], [data-primitive="action_trigger"])[data-icon-only="true"]:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
}
.presentation-chrome :is([data-primitive="button"], [data-primitive="action_trigger"])[data-icon-only="true"]:focus-visible {
  outline-color: var(--orange);
}
.presentation-chrome .presentation-exit {
  text-decoration: none;
}

/* .presentation-toc-overlay / .presentation-toc-modal / .presentation-toc-close —
 * REMOVED 2026-05-20. Migrated to canonical Modal primitive.
 * Per design/LAW.md: no bespoke modal class families. */
.presentation-toc-list {
  list-style: none; padding: 0; margin: 0;
  overflow-y: auto;
}
.presentation-toc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 120ms ease;
  color: #DCE3EE;
}
.presentation-toc-item:hover { background: rgba(255,255,255,0.05); }
.presentation-toc-item.active { background: rgba(208,74,2,0.18); color: white; }
.presentation-toc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  font: 600 12px "SF Mono", Menlo, monospace;
  color: var(--orange);
}
.presentation-toc-item.active .presentation-toc-num { background: var(--orange); color: white; }
.presentation-toc-name {
  font: 600 14px Georgia, serif;
}

@media (max-width: 720px) {
  .presentation-slide {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 42px 26px 86px;
  }

  .presentation-slide-inner {
    max-height: calc(100vh - 128px);
  }

  .presentation-cover-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
  }

  .presentation-eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .presentation-cover-title {
    font-size: clamp(48px, 14vw, 68px);
    line-height: 1.03;
    letter-spacing: 0;
    margin-bottom: 20px;
  }

  .presentation-title {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .presentation-cover-sub,
  .presentation-sub {
    font-size: 17px;
  }

  .presentation-cover-foot {
    font-size: 13px;
    margin-top: 28px;
  }

  .presentation-issue-grid,
  .presentation-overview-grid,
  .presentation-prov-grid {
    grid-template-columns: 1fr;
  }

  .presentation-prov-grid [class~="span-2"] {
    grid-column: auto;
  }

  .presentation-chrome {
    height: 64px;
    padding: 0 10px;
    gap: 8px;
  }

  .presentation-chrome-left {
    flex: 0 1 auto;
    gap: 8px;
    min-width: 42px;
  }

  .presentation-context {
    display: none;
  }

  .presentation-chrome-center {
    gap: 6px;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .presentation-counter {
    min-width: 48px;
    font-size: 12px;
  }

  .presentation-chrome-right {
    gap: 6px;
  }

  .presentation-chrome :is([data-primitive="button"], [data-primitive="action_trigger"])[data-icon-only="true"] {
    width: 36px;
    height: 36px;
  }
}
