.presentation-library-head {
  align-items: flex-start;
}

.curated-deck-library {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--link);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #edf7f9);
}

.curated-deck-library .section-head {
  margin-bottom: 16px;
}

.curated-deck-library .eyebrow {
  color: var(--link);
}

.curated-deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.curated-deck-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 0;
  padding: 17px;
}

.curated-deck-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.curated-deck-card-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.curated-deck-lock {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff2b8;
  color: #715400;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.curated-deck-card h3,
.curated-deck-card p {
  margin: 0;
}

.curated-deck-card p {
  color: var(--muted);
  line-height: 1.45;
}

.curated-deck-level {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e3f3f7;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.curated-deck-level.level-start-here {
  background: #e6f6ea;
  color: #1d6b37;
}

.curated-deck-level.level-advanced {
  background: #efe7fb;
  color: #6336a5;
}

.curated-deck-guidance {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-left: 4px solid var(--accent);
  border-radius: 0 7px 7px 0;
  background: #fff8dc;
}

.curated-deck-guidance strong {
  color: #715400;
  font-size: 11px;
  text-transform: uppercase;
}

.curated-deck-guidance span {
  color: #5e542f;
  font-size: 12px;
  line-height: 1.4;
}

.curated-deck-card ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 22px;
  color: var(--brand);
  font-size: 12px;
}

.curated-deck-card li.presenter-guidance-note,
.curated-deck-card li.section-divider-note {
  margin: 4px 0;
  padding: 7px 9px;
  border-radius: 6px;
  list-style-position: inside;
}

.curated-deck-card li.presenter-guidance-note {
  background: #fff7dc;
  color: #6f5300;
}

.curated-deck-card li.section-divider-note {
  background: #e9f5fb;
  color: #205f83;
}

.curated-deck-card li.presenter-guidance-note small {
  display: block;
  margin-top: 3px;
  color: #6b6041;
  line-height: 1.4;
}

.curated-deck-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

@media (max-width: 720px) {
  .curated-deck-library {
    padding: 14px;
  }

  .curated-deck-grid {
    grid-template-columns: 1fr;
  }

  .curated-deck-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.presentation-selection-list {
  display: grid;
  gap: 12px;
}

.presentation-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f6fafb;
}

.presentation-search-panel label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.presentation-search-panel input {
  width: 100%;
}

.presentation-search-summary {
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.presentation-search-empty {
  margin-top: 12px;
}

.presentation-selection-card {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.presentation-selection-card.is-favorite {
  border-color: #d8b74d;
  box-shadow: 0 0 0 2px rgba(216, 183, 77, .13);
}

.presentation-selection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.presentation-choice {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  cursor: pointer;
}

.presentation-choice > input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.presentation-sequence {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e7f4f8;
  color: var(--brand);
  font-weight: 800;
}

.presentation-selection-copy {
  display: grid;
  gap: 4px;
}

.presentation-selection-copy small {
  color: var(--muted);
  line-height: 1.4;
}

.presentation-selection-copy em {
  color: var(--link);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.presentation-thumbnail {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 170px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8f1f4;
}

.presentation-thumbnail iframe,
.presentation-thumbnail img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #fff;
  pointer-events: none;
}

.presentation-thumbnail-load {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.presentation-thumbnail-loading {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.presentation-card-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 8px;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.favorite-button span {
  color: #a8b3b7;
  font-size: 17px;
}

.favorite-button.active {
  border-color: #d8b74d;
  background: #fff8dc;
  color: #715400;
}

.favorite-button.active span {
  color: #d3a900;
}

.presentation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.presentation-tag {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e8f3f6;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.presentation-tag.recommended {
  background: #fff2b8;
  color: #715400;
}

.presentation-favorites-filter {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 7px !important;
  padding-bottom: 10px;
  white-space: nowrap;
}

.presentation-favorites-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.presentation-player-dialog {
  width: min(96vw, 1600px);
  height: 94vh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(9, 39, 52, .35);
}

.presentation-player-dialog::backdrop {
  background: rgba(7, 29, 39, .88);
}

.presentation-player-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
}

.presentation-player-head,
.presentation-player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.presentation-player-head h2 {
  margin: 2px 0 0;
  font-size: 19px;
}

.presentation-player-stage {
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #edf5f7;
}

.presentation-player-stage iframe,
.presentation-player-stage img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #fff;
}

.partner-section-divider-preview {
  width: min(1080px, calc(100% - 64px));
  min-height: min(560px, calc(100% - 80px));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 56px;
  border-top: 12px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), #0d3447);
  box-shadow: 0 24px 70px rgba(7, 35, 48, .25);
  color: #fff;
  text-align: center;
}

.partner-section-divider-preview span {
  color: #7bc3e9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.partner-section-divider-preview h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 72px);
}

.partner-section-divider-preview p {
  max-width: 760px;
  margin: 0;
  color: #e7f4f8;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.45;
}

.presentation-player-actions {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.presentation-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.presentation-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bfd3da;
  cursor: pointer;
}

.presentation-dot.active {
  background: var(--brand);
  transform: scale(1.25);
}

.presentation-loading {
  color: var(--muted);
  font-weight: 700;
}

.presentation-share-card {
  margin-top: 22px;
  padding: 22px;
  border-top: 4px solid var(--brand);
}

.presentation-share-card h2 {
  margin: 5px 0 6px;
}

.presentation-share-form {
  margin-top: 18px;
}

.presentation-share-form textarea[name="recipientEmails"] {
  min-height: 92px;
}

.presentation-share-form > label {
  align-self: start;
  align-content: start;
}

.presentation-share-form > label > input {
  min-height: 42px;
  align-self: start;
}

.presentation-attachment-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fafb;
}

.presentation-attachment-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.presentation-attachment-picker > summary span:first-child {
  display: grid;
  gap: 3px;
}

.presentation-attachment-picker > summary small {
  color: var(--muted);
  font-weight: 500;
}

.presentation-attachment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 0 16px 12px;
}

.presentation-attachment-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.presentation-attachment-options input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.presentation-attachment-options label span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.presentation-attachment-options small {
  color: var(--muted);
}

.presentation-attachment-options label.internal-approved {
  border-color: #d5a33a;
  background: #fff9e9;
}

.presentation-attachment-options label.internal-approved small b {
  color: #8a5a00;
}

.internal-attachment-acknowledgment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 16px 12px;
  padding: 11px 12px;
  border-left: 4px solid #d5a33a;
  background: #fff5d8;
  color: #5c4300;
}

.internal-attachment-acknowledgment input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.internal-attachment-acknowledgment span {
  display: grid;
  gap: 3px;
}

.presentation-attachment-picker > .help {
  display: block;
  padding: 0 16px 14px;
}

.presentation-share-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 720px) {
  .presentation-library-head,
  .presentation-player-head {
    align-items: stretch;
    flex-direction: column;
  }

  .presentation-selection-card {
    grid-template-columns: 1fr;
  }

  .presentation-search-panel {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .presentation-search-summary {
    padding-bottom: 0;
  }

  .presentation-selection-row {
    align-items: stretch;
    flex-direction: column;
  }

  .presentation-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .presentation-player-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }

  .presentation-share-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .presentation-attachment-options {
    grid-template-columns: 1fr;
  }
}
