/* ==========================================================================
   ACT 1: THE BORING POWERPOINT 2010 / GOOGLE SLIDES TRAP ->
          @INTERN SLACK HIJACK -> 12-SHARD 3D SHATTER -> AWWWARDS HERO
   Scoped strictly to #act-1-mount and .act1-*
   ========================================================================== */

#act-1-mount {
  position: relative;
  width: 100%;
  z-index: 5;
  user-select: none;
}

/* 340vh Scroll-Pin Track */
.act1-pin-track {
  position: relative;
  width: 100%;
  height: 340vh;
}

/* Sticky 100vh 3D Stage */
.act1-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
}

/* ==========================================================================
   LAYER 1: THE SOUL-CRUSHING POWERPOINT 2010 / GOOGLE SLIDES EDITOR
   Split into 12 semantic 3D shards (.act1-ppt-shard) that fit seamlessly
   at scrollProgress = 0 and explode in 3D space during Phase B.
   ========================================================================== */

.act1-ppt-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  perspective: 1400px;
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: 256px 1fr 236px;
  grid-template-rows: 58px 44px auto 1fr 72px;
  grid-template-areas:
    "menubar-left   menubar-left   menubar-right"
    "toolbar-left   toolbar-right  toolbar-right"
    "sidebar-top    slide-header   inspector"
    "sidebar-bottom slide-body     inspector"
    "sidebar-bottom speaker-notes  inspector";
  background: transparent;
  transition: filter 0.25s ease;
}

.act1-ppt-wrapper.act1-is-shattered {
  pointer-events: none;
}

/* Individual 3D Shards */
.act1-ppt-shard {
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform, opacity, filter;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Fracture glow when hijack targets lock on */
.act1-ppt-wrapper.act1-hijack-locking .act1-ppt-shard {
  box-shadow: inset 0 0 0 1.5px rgba(255, 69, 58, 0.78), 0 0 28px rgba(41, 151, 255, 0.35);
}

.act1-ppt-wrapper.act1-hijack-exploding .act1-ppt-shard {
  box-shadow:
    inset 0 0 0 2px rgba(41, 151, 255, 0.85),
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(41, 151, 255, 0.45);
}

/* Bounding-box telemetry tags that appear on each shard during Phase B */
.act1-shard-target-tag {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 40;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 69, 58, 0.92);
  border: 1px solid #ff9f0a;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.8);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.act1-ppt-wrapper.act1-hijack-locking .act1-shard-target-tag,
.act1-ppt-wrapper.act1-hijack-exploding .act1-shard-target-tag {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   SHARD 1 & 2: TOP MENU BAR (Google Slides / PPT 2010 Hybrid Header)
   -------------------------------------------------------------------------- */
.act1-shard-menubar-left {
  grid-area: menubar-left;
  background: linear-gradient(180deg, #f9fbfd 0%, #edf2fa 100%);
  border-bottom: 1px solid #c7d0dc;
  border-right: 1px solid #d9e0ea;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  color: #1f1f1f;
  font-family: 'Arial', 'Calibri', sans-serif;
}

.act1-ppt-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fbbc04 0%, #ea4335 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.act1-ppt-logo::before {
  content: "P";
  font-family: 'Georgia', serif;
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.act1-ppt-logo::after {
  content: "2010";
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 7px;
  font-weight: 700;
  color: #fff8e1;
}

.act1-title-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.act1-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.act1-filename-input {
  font-family: 'Calibri', 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 8px;
  width: 390px;
  max-width: 44vw;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.act1-filename-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.act1-save-status {
  font-size: 11px;
  color: #64748b;
  text-decoration: underline;
  white-space: nowrap;
  cursor: help;
}

.act1-menubar-row {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.act1-menu-item {
  font-size: 12px;
  color: #334155;
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.act1-menu-item:hover {
  background: #dde3ec;
  color: #0f172a;
}

.act1-shard-menubar-right {
  grid-area: menubar-right;
  background: linear-gradient(180deg, #f9fbfd 0%, #edf2fa 100%);
  border-bottom: 1px solid #c7d0dc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  gap: 8px;
  font-family: 'Arial', sans-serif;
}

.act1-scroll-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  animation: act1BounceHint 1.6s infinite ease-in-out;
}

@keyframes act1BounceHint {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { transform: translateY(2px); box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
}

.act1-fix-hijack-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
  transition: all 0.18s ease;
}

.act1-fix-hijack-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

.act1-present-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 5px;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid #b45309;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.act1-present-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   SHARD 3 & 4: FORMATTING TOOLBAR (Interactive Font, B/I/U, Synergy Bullet)
   -------------------------------------------------------------------------- */
.act1-shard-toolbar-left {
  grid-area: toolbar-left;
  background: linear-gradient(180deg, #e3e9f2 0%, #d2dce9 100%);
  border-bottom: 1px solid #b0bece;
  border-right: 1px solid #c3cfde;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  color: #1e293b;
  font-family: 'Tahoma', 'Arial', sans-serif;
}

.act1-shard-toolbar-right {
  grid-area: toolbar-right;
  background: linear-gradient(180deg, #e3e9f2 0%, #d2dce9 100%);
  border-bottom: 1px solid #b0bece;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 7px;
  color: #1e293b;
  font-family: 'Tahoma', 'Arial', sans-serif;
  overflow-x: auto;
}

.act1-tb-sep {
  width: 1px;
  height: 24px;
  background: #b0bece;
  margin: 0 3px;
  flex-shrink: 0;
}

.act1-font-select {
  height: 28px;
  padding: 0 8px;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.act1-font-quick-group {
  display: inline-flex;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
}

.act1-font-quick-btn {
  border: none;
  border-right: 1px solid #cbd5e1;
  background: transparent;
  color: #334155;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.act1-font-quick-btn:last-child {
  border-right: none;
}

.act1-font-quick-btn.active {
  background: #fde68a;
  color: #78350f;
  font-weight: 700;
}

.act1-tb-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff;
}

.act1-tb-btn:hover {
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
  border-color: #d97706;
}

.act1-tb-btn.active {
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
  border-color: #b45309;
  color: #451a03;
}

.act1-tb-synergy-btn {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
  color: #1e3a8a;
}

.act1-tb-clipart-btn {
  background: linear-gradient(180deg, #fce7f3 0%, #fbcfe8 100%);
  border-color: #db2777;
  color: #831843;
}

.act1-toolbar-toast {
  margin-left: auto;
  font-size: 11px;
  color: #475569;
  font-style: italic;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   SHARD 5 & 6: LEFT THUMBNAIL SIDEBAR (Slides 1..3 and Slides 4..6)
   -------------------------------------------------------------------------- */
.act1-shard-sidebar-top {
  grid-area: sidebar-top;
  background: #dde3ea;
  border-right: 1px solid #b8c4d4;
  border-bottom: 1px dashed #cbd5e1;
  padding: 10px 10px 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.act1-shard-sidebar-bottom {
  grid-area: sidebar-bottom;
  background: #dde3ea;
  border-right: 1px solid #b8c4d4;
  padding: 6px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.act1-sidebar-header {
  font-family: 'Tahoma', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.act1-thumb-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 6px;
  align-items: start;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.15s ease;
}

.act1-thumb-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #94a3b8;
}

.act1-thumb-card.active {
  background: #fffbeb;
  border-color: #ea580c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.22);
}

.act1-thumb-num {
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  padding-top: 2px;
}

.act1-thumb-card.active .act1-thumb-num {
  color: #ea580c;
}

.act1-thumb-mini {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  padding: 5px 6px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.act1-thumb-mini-bar {
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8);
  margin-bottom: 4px;
}

.act1-thumb-mini-title {
  font-family: 'Calibri', 'Arial', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.act1-thumb-mini-lines {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.act1-thumb-mini-lines span {
  height: 3px;
  flex: 1;
  background: #cbd5e1;
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   SHARDS 7, 8, 9, 10: MAIN WHITE CORPORATE SLIDE WORKSPACE
   Shard 7 = Slide Header Banner
   Shard 8 = Slide Left Bullets
   Shard 9 = Slide Right Ugly Bar Chart & Clip Art
   Shard 10 = Slide Bottom Confidentiality Footer & Synergy Stamp
   -------------------------------------------------------------------------- */
.act1-slide-header-region {
  grid-area: slide-header;
  background: #c7d0dc;
  padding: 16px 24px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.act1-slide-body-region {
  grid-area: slide-body;
  background: #c7d0dc;
  padding: 0 24px 12px 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "canvas-left canvas-right"
    "canvas-foot canvas-foot";
}

/* Shard 7: Slide Canvas Header */
.act1-shard-slide-header {
  background: #ffffff;
  border-top: 1px solid #94a3b8;
  border-left: 1px solid #94a3b8;
  border-right: 1px solid #94a3b8;
  box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.act1-cheesy-blue-banner {
  background: linear-gradient(135deg, #003366 0%, #0066cc 52%, #3399ff 85%, #99ccff 100%);
  padding: 14px 22px 12px 22px;
  border-bottom: 4px solid #f59e0b;
  color: #ffffff;
  position: relative;
}

.act1-cheesy-blue-banner::after {
  content: "CONFIDENTIAL // BOARD DECK v14.2";
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: 'Tahoma', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 2px;
}

.act1-slide-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bae6fd;
  margin-bottom: 3px;
  font-weight: 700;
}

.act1-slide-main-title {
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.45);
  line-height: 1.18;
}

.act1-slide-subtitle-box {
  background: #f8fafc;
  border-bottom: 1px dashed #94a3b8;
  padding: 7px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
}

.act1-click-subtitle {
  border: 1px dashed #94a3b8;
  padding: 2px 10px;
  background: #ffffff;
  color: #64748b;
  font-style: italic;
  cursor: text;
}

/* Red spellcheck wavy underline */
.act1-spellcheck-err {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #ef4444;
  text-underline-offset: 3px;
}

/* Shard 8: Slide Canvas Left Content (Bullets) */
.act1-shard-slide-left {
  grid-area: canvas-left;
  background: #ffffff;
  border-left: 1px solid #94a3b8;
  padding: 14px 18px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.act1-bullet-heading {
  font-size: 12px;
  font-weight: 800;
  color: #003366;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  border-bottom: 2px solid #dbeafe;
  padding-bottom: 4px;
}

.act1-ugly-bullet-list {
  list-style: square;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.38;
  color: #1e293b;
}

.act1-ugly-bullet-list li::marker {
  color: #0066cc;
}

.act1-ugly-bullet-new {
  background: #fef9c3;
  border-left: 3px solid #eab308;
  padding: 2px 6px;
  animation: act1HighlightFlash 0.8s ease;
}

@keyframes act1HighlightFlash {
  0% { background: #fde047; transform: translateX(-6px); }
  100% { background: #fef9c3; transform: translateX(0); }
}

/* Shard 9: Slide Canvas Right Panel (Ugly 3D Bar Chart + Clip-Art) */
.act1-shard-slide-right {
  grid-area: canvas-right;
  background: #ffffff;
  border-right: 1px solid #94a3b8;
  border-left: 1px dashed #cbd5e1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.act1-chart-box {
  border: 2px ridge #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 10px 12px;
  border-radius: 2px;
}

.act1-chart-title {
  font-size: 11px;
  font-weight: 800;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.act1-bars-stage {
  height: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
  padding: 8px 6px 0 6px;
  border-left: 2px solid #475569;
  border-bottom: 2px solid #475569;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 19px,
    rgba(100, 116, 139, 0.2) 20px
  );
}

.act1-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  flex: 1;
}

.act1-bar-val {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.act1-bar-fill {
  width: 100%;
  max-width: 38px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 3px -3px 0 rgba(0, 0, 0, 0.18);
  transition: height 0.3s ease;
}

.act1-bar-fill.bar-blue {
  background: linear-gradient(90deg, #1d4ed8, #60a5fa, #1e40af);
}

.act1-bar-fill.bar-orange {
  background: linear-gradient(90deg, #ea580c, #fb923c, #9a3412);
}

.act1-bar-fill.bar-red {
  background: linear-gradient(90deg, #b91c1c, #f87171, #7f1d1d);
}

.act1-bar-fill.bar-green {
  background: linear-gradient(90deg, #15803d, #4ade80, #14532d);
}

.act1-bar-label {
  font-size: 9.5px;
  color: #334155;
  font-weight: 700;
  margin-top: 4px;
  text-align: center;
}

.act1-clipart-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: 4px;
}

.act1-clipart-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #92400e;
}

.act1-clipart-emoji {
  font-size: 22px;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}

.act1-wordart-stamp {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: rotate(-4deg);
}

/* Shard 10: Slide Canvas Footer Strip */
.act1-shard-slide-footer {
  grid-area: canvas-foot;
  background: #f1f5f9;
  border: 1px solid #94a3b8;
  border-top: 2px solid #cbd5e1;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #475569;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

/* --------------------------------------------------------------------------
   SHARD 11: RIGHT INSPECTOR / CORPORATE COMMENTS SIDEBAR
   -------------------------------------------------------------------------- */
.act1-shard-inspector {
  grid-area: inspector;
  background: #e9eef5;
  border-left: 1px solid #b8c4d4;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Tahoma', 'Arial', sans-serif;
  color: #1e293b;
  overflow-y: auto;
}

.act1-inspector-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  padding-bottom: 6px;
  border-bottom: 1px solid #cbd5e1;
}

.act1-comment-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  padding: 8px;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.act1-comment-author {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.act1-comment-author span {
  color: #64748b;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   SHARD 12: SPEAKER NOTES PANEL AT BOTTOM
   -------------------------------------------------------------------------- */
.act1-shard-speaker-notes {
  grid-area: speaker-notes;
  background: #ffffff;
  border-top: 2px solid #94a3b8;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1e293b;
  font-family: 'Calibri', 'Arial', sans-serif;
}

.act1-notes-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.act1-notes-badge {
  background: #e2e8f0;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.act1-notes-text {
  font-size: 13px;
  line-height: 1.38;
  color: #334155;
  font-weight: 500;
}

.act1-notes-zoom {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* Font-family overrides when user interacts with Font Selector */
.act1-ppt-wrapper[data-slide-font="calibri"] .act1-slide-main-title,
.act1-ppt-wrapper[data-slide-font="calibri"] .act1-ugly-bullet-list,
.act1-ppt-wrapper[data-slide-font="calibri"] .act1-slide-subtitle-box {
  font-family: 'Calibri', 'Arial', sans-serif;
}

.act1-ppt-wrapper[data-slide-font="comic-sans"] .act1-slide-main-title,
.act1-ppt-wrapper[data-slide-font="comic-sans"] .act1-ugly-bullet-list,
.act1-ppt-wrapper[data-slide-font="comic-sans"] .act1-slide-subtitle-box {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive !important;
}

.act1-ppt-wrapper[data-slide-font="times"] .act1-slide-main-title,
.act1-ppt-wrapper[data-slide-font="times"] .act1-ugly-bullet-list,
.act1-ppt-wrapper[data-slide-font="times"] .act1-slide-subtitle-box {
  font-family: 'Times New Roman', 'Georgia', serif !important;
}

.act1-ppt-wrapper.act1-fmt-bold .act1-ugly-bullet-list {
  font-weight: 800;
}

.act1-ppt-wrapper.act1-fmt-italic .act1-ugly-bullet-list {
  font-style: italic;
}

.act1-ppt-wrapper.act1-fmt-underline .act1-ugly-bullet-list li {
  text-decoration: underline;
}

/* ==========================================================================
   PHASE A & B OVERLAYS: SLACK NOTIFICATION TOAST & AUTONOMOUS CURSOR HIJACK
   ========================================================================== */

.act1-slack-toast {
  position: absolute;
  top: 72px;
  right: 28px;
  width: min(470px, calc(100vw - 32px));
  z-index: 45;
  background: rgba(14, 16, 24, 0.96);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(41, 151, 255, 0.55);
  border-left: 4px solid #30d158;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.72),
    0 0 40px rgba(41, 151, 255, 0.32);
  color: #f5f5f7;
  opacity: 0;
  transform: translate3d(60px, -30px, 120px) scale(0.92);
  pointer-events: none;
  will-change: transform, opacity;
}

.act1-toast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.act1-toast-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.act1-toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2997ff 0%, #30d158 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 16px;
  color: #050508;
  box-shadow: 0 0 18px rgba(48, 209, 88, 0.55);
}

.act1-toast-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.act1-toast-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.act1-toast-handle {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.act1-toast-app-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(41, 151, 255, 0.22);
  border: 1px solid rgba(41, 151, 255, 0.6);
  color: #60a5fa;
}

.act1-toast-channel {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #30d158;
}

/* Live Soundwave Visualizer in Slack Toast */
.act1-soundwave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.35);
}

.act1-soundwave span {
  width: 3px;
  border-radius: 2px;
  background: #30d158;
  animation: act1WaveBar 0.75s infinite ease-in-out alternate;
}

.act1-soundwave span:nth-child(1) { height: 7px; animation-delay: 0.0s; }
.act1-soundwave span:nth-child(2) { height: 15px; animation-delay: 0.12s; }
.act1-soundwave span:nth-child(3) { height: 11px; animation-delay: 0.24s; }
.act1-soundwave span:nth-child(4) { height: 18px; animation-delay: 0.36s; }
.act1-soundwave span:nth-child(5) { height: 9px; animation-delay: 0.48s; }

@keyframes act1WaveBar {
  0% { transform: scaleY(0.45); opacity: 0.65; }
  100% { transform: scaleY(1.25); opacity: 1; }
}

.act1-toast-msg {
  font-size: 13.5px;
  line-height: 1.48;
  color: #e4e4e7;
  margin-bottom: 10px;
}

.act1-toast-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #38bdf8;
}

/* Autonomous Hijack Cursor (@intern [headless-chromium]) */
.act1-hijack-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 180px);
  will-change: transform, opacity;
}

.act1-cursor-pointer {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 12px #2997ff) drop-shadow(0 0 24px #30d158);
}

.act1-cursor-tag {
  margin-left: 16px;
  margin-top: -6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.92);
  border: 1.5px solid #2997ff;
  box-shadow: 0 0 24px rgba(41, 151, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.act1-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 10px #30d158;
}

/* Red/Blue Target Bounding Boxes over Toolbar, Sidebar, and White Slide */
.act1-bbox-layer {
  position: absolute;
  inset: 0;
  z-index: 38;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.act1-bbox-box {
  position: absolute;
  border: 2px solid #ff453a;
  background: rgba(255, 69, 58, 0.06);
  box-shadow: 0 0 24px rgba(255, 69, 58, 0.35), inset 0 0 18px rgba(41, 151, 255, 0.22);
  border-radius: 4px;
}

.act1-bbox-box.bbox-blue {
  border-color: #2997ff;
  background: rgba(41, 151, 255, 0.08);
  box-shadow: 0 0 24px rgba(41, 151, 255, 0.45);
}

.act1-bbox-label {
  position: absolute;
  top: -22px;
  left: -2px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #ff453a;
  border-radius: 3px 3px 0 0;
  white-space: nowrap;
}

.act1-bbox-box.bbox-blue .act1-bbox-label {
  background: #2997ff;
}

.act1-bbox-toolbar {
  top: 56px;
  left: 10px;
  right: 10px;
  height: 48px;
}

.act1-bbox-sidebar {
  top: 112px;
  left: 8px;
  width: 244px;
  bottom: 12px;
}

.act1-bbox-slide {
  top: 116px;
  left: 268px;
  right: 246px;
  bottom: 94px;
}

/* ==========================================================================
   LAYER 2 (EMERGING IN PHASE C): THE AWWWARDS CINEMATIC HERO
   ========================================================================== */

.act1-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 76px 24px 28px 24px;
  background: radial-gradient(circle at 50% 24%, rgba(41, 151, 255, 0.16) 0%, rgba(94, 92, 230, 0.08) 38%, rgba(5, 5, 8, 0.86) 78%);
  opacity: 0;
  transform: translate3d(0, 28px, -120px) scale(0.94);
  pointer-events: none;
  will-change: transform, opacity;
  overflow-y: auto;
}

.act1-hero-stage.act1-hero-interactive {
  z-index: 35;
  pointer-events: auto;
}

.act1-hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* Eyebrow Badge */
.act1-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(16, 18, 28, 0.82);
  border: 1px solid rgba(41, 151, 255, 0.42);
  box-shadow: 0 0 28px rgba(41, 151, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.act1-eyebrow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 12px #30d158;
}

/* Giant Kinetic Display Headline */
.act1-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 1080px;
  text-wrap: balance;
}

.act1-hero-headline .act1-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #60a5fa 0%, #30d158 55%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}

/* Subheadline */
.act1-hero-subheadline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 820px;
}

/* Live Interactive Command Bar Demo */
.act1-cmd-demo-card {
  width: 100%;
  max-width: 980px;
  background: rgba(13, 15, 23, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(41, 151, 255, 0.14);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.act1-cmd-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.act1-cmd-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #f5f5f7;
}

.act1-cmd-channel-tag strong {
  color: #30d158;
}

.act1-cmd-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* 4 Real Prompt Pills */
.act1-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.act1-prompt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e4e4e7;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.act1-prompt-btn:hover {
  background: rgba(41, 151, 255, 0.12);
  border-color: rgba(41, 151, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.act1-prompt-btn.active {
  background: rgba(41, 151, 255, 0.18);
  border-color: #2997ff;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(41, 151, 255, 0.28);
}

.act1-prompt-run-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(48, 209, 88, 0.16);
  color: #30d158;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 4-Step Live Execution Trace */
.act1-trace-box {
  background: rgba(6, 7, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.act1-trace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.act1-trace-pipeline-summary {
  color: #60a5fa;
  font-weight: 700;
}

.act1-trace-cost-badge {
  color: #30d158;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.32);
  padding: 2px 8px;
  border-radius: 999px;
}

.act1-trace-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.act1-trace-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.22s ease;
}

.act1-trace-step.done {
  border-color: rgba(48, 209, 88, 0.45);
  background: rgba(48, 209, 88, 0.07);
}

.act1-trace-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
}

.act1-trace-step-status {
  color: #30d158;
  font-size: 10px;
}

.act1-trace-step-detail {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Artifact Delivered Footer inside Trace */
.act1-trace-artifact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #f5f5f7;
}

.act1-artifact-badge {
  color: #30d158;
  font-weight: 700;
}

/* Hero Bottom Action Row */
.act1-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.act1-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2997ff 0%, #30d158 100%);
  color: #050508;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(41, 151, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.act1-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(48, 209, 88, 0.65);
}

.act1-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.act1-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Responsive Adjustments */
@media (max-width: 1080px) {
  .act1-ppt-wrapper {
    grid-template-columns: 200px 1fr;
    grid-template-rows: 58px 46px 1fr 140px 80px;
    grid-template-areas:
      "menubar-left   menubar-right"
      "toolbar-left   toolbar-right"
      "sidebar-top    slide-header"
      "sidebar-bottom slide-body"
      "speaker-notes  speaker-notes";
  }
  .act1-shard-inspector {
    display: none;
  }
  .act1-trace-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .act1-prompt-grid {
    grid-template-columns: 1fr;
  }
  .act1-slide-body-region {
    grid-template-columns: 1fr;
    grid-template-areas:
      "canvas-left"
      "canvas-right"
      "canvas-foot";
  }
}
