/* Self-hosted demo, replacing the Listing Workbench in the latest marketing site. */
/* Nothing is drawn over or substituted for the real app footage. */
.demo-showcase {
  scroll-margin-top: 102px;
  border: 1px solid #274b3b;
  border-radius: 16px;
  overflow: hidden;
  background: #102c23;
  box-shadow: 0 24px 60px -22px #152e3540, 0 3px 10px #1231260b;
}
.demo-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding: 12px 22px; border-bottom: 1px solid #375447; }
.demo-topline h3 { display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .005em; line-height: 1.4; color: #f3f3e5; }
.demo-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #caddb0; flex-shrink: 0; }
.demo-topline p { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.5; color: #d0dbc8; }
.demo-topline p > span:not(.demo-runtime) { color: #8ba78f; }
.demo-runtime { padding-left: 13px; margin-left: 5px; border-left: 1px solid #526b53; color: #edf1de; }
.demo-player { position: relative; aspect-ratio: 16 / 9; background: #102c23; }
.demo-player video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #102c23; }
.demo-player video:focus-visible { outline: 3px solid #dfa451; outline-offset: -4px; }
.demo-play { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; width: 100%; height: 100%; background: #0a201a0d; color: #0e2d23; border: 0; border-radius: 0; }
.demo-play:hover { background: #07181126; }
.demo-play:focus-visible { outline: 3px solid #e9b052; outline-offset: -5px; }
.demo-play-disc { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #e4efd5; border: 1px solid #f6f9ec; box-shadow: 0 0 0 10px #edf5df18, 0 10px 34px #0005; transition: transform .2s ease, background .2s ease; }
.demo-play-disc svg { width: 33px; height: 33px; fill: currentColor; margin-left: 3px; }
.demo-play:hover .demo-play-disc { transform: scale(1.06); background: #f1f6e6; }
.demo-play-label { font-size: 14px; line-height: 1.4; font-weight: 650; color: #f5f5e9; background: #102c23f2; border: 1px solid #496553; padding: 9px 15px; border-radius: 40px; box-shadow: 0 2px 12px #0003; }
.demo-play-label > span { padding-inline: 5px; color: #c4d5ad; }
/* Ten verbatim on-screen headings: two columns, with naturally wrapping labels. */
.demo-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 1px solid #375447; background: #375447; }
.demo-chapters a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 7px; padding: 15px 20px 17px; min-height: 80px; color: #f0f3e5; min-width: 0; border: 0; background: #102c23; transition: background .2s ease; }
.demo-chapters a:hover, .demo-chapters a.is-active { background: #214737; }
.demo-chapters a.is-active::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 3px; background: #cde0b4; }
.demo-chapters a:focus-visible { outline-offset: -5px; outline-color: #e7ab4e; }
.demo-chapter-time { grid-column: 1; color: #bad0b2; font-size: 11px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.demo-chapter-title { grid-column: 1; font-size: 15px; line-height: 1.5; font-weight: 550; }
.demo-chapters .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: #c0d2af; }
.demo-status, .demo-error { padding: 14px 20px; border-top: 1px solid #496450; font-size: 14px; color: #e7eddc; }
.demo-error a { text-decoration: underline; text-underline-offset: 3px; }
.demo-after { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 25px; }
.demo-after-copy .demo-after-title { color: var(--forest); font-family: var(--serif); font-size: 27px; line-height: 1.3; letter-spacing: -.035em; }
.demo-after-copy > p:last-child { margin-top: 4px; font-size: 14px; color: #536450; }
.demo-details-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 25px; align-items: start; border-top: 1px solid #d4ddcc; padding-top: 20px; margin-top: 24px; }
.demo-music-credit { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.7; color: #59664f; }
.demo-music-credit .icon { width: 16px; height: 16px; margin-top: 2px; }
.demo-transcript summary { display: flex; align-items: center; justify-content: flex-end; gap: 9px; list-style: none; cursor: pointer; font-size: 12px; line-height: 1.7; font-weight: 600; color: #38523d; }
.demo-transcript summary::-webkit-details-marker { display: none; }
.demo-transcript summary .icon { width: 15px; height: 15px; }
.demo-transcript[open] summary .icon { transform: rotate(180deg); }
.demo-transcript-content { font-size: 14px; line-height: 1.8; padding: 18px 0 4px; }
.demo-transcript-content p { color: #4b5c49; }
.demo-transcript-content ol { padding-left: 20px; margin: 14px 0; }
.demo-transcript-content li { margin-top: 10px; color: #4b5c49; }
.demo-transcript-content strong { color: #203f30; }
.demo-transcript-content a { color: #244e37; text-decoration: underline; text-underline-offset: 3px; }

.demo-after .button { min-height: 50px; font-size: 14px; gap: 12px; padding: 14px 19px; }
.workspace-demo { min-width: 0; align-self: start; }
.workspace-demo .demo-topline { gap: 12px; padding-inline: 16px; }
.workspace-demo .demo-chapters a { padding-inline: 14px; }
.workspace-demo .demo-chapter-title { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.workspace-demo .demo-chapters .icon { width: 15px; height: 15px; }
.workspace-demo .demo-after { flex-wrap: wrap; gap: 14px; }
.workspace-demo .demo-after .button { flex-shrink: 0; }
.workspace-demo .demo-details-row { grid-template-columns: 1fr; gap: 10px; }
.workspace-demo .demo-transcript summary { justify-content: flex-start; min-height: 36px; }
@media (min-width: 851px) {
  .workspace-layout { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); align-items: start; }
  .workspace-layout > .feature-stack { align-self: stretch; }
}
@media (min-width: 851px) and (max-width: 1050px) {
  .workspace-demo .demo-runtime { display: none; }
  .workspace-demo .demo-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-demo .demo-chapters a { min-height: 66px; padding-block: 11px; }
}
@media (max-width: 680px) {
  .demo-showcase { scroll-margin-top: 86px; border-radius: 11px; }
  .workspace-demo .demo-topline { min-height: 45px; padding: 11px 12px; gap: 6px; }
  .demo-topline h3 { font-size: 12px; gap: 6px; }
  .demo-topline p { font-size: 10px; gap: 4px; }
  .demo-runtime { display: none; }
  .demo-play { gap: 9px; }
  .demo-play-disc { width: 57px; height: 57px; box-shadow: 0 0 0 6px #edf5df18, 0 7px 20px #0005; }
  .demo-play-disc svg { width: 25px; height: 25px; }
  .demo-play-label { font-size: 12px; padding: 6px 11px; }
  .demo-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-chapters a { min-height: 66px; padding: 11px 14px; }
  .demo-chapter-title { font-size: 13px; }
  .demo-chapter-time { font-size: 10px; }
  .demo-chapters a.is-active::before { left: 14px; right: 14px; height: 2px; }
  .workspace-demo .demo-after { flex-direction: column; flex-wrap: nowrap; gap: 15px; align-items: stretch; margin-top: 20px; }
  .demo-after-copy .demo-after-title { font-size: 27px; }
  .demo-after-copy > p:last-child { font-size: 13px; line-height: 1.7; }
  .demo-after .button { min-height: 49px; font-size: 14px; }
  .demo-details-row { padding-top: 16px; margin-top: 19px; }
  .demo-music-credit, .demo-transcript summary { font-size: 12px; }
  .demo-transcript-content { font-size: 14px; }
}
@media (max-width: 370px) {
  .demo-topline h3 { font-size: 11px; }
  .demo-topline p { font-size: 9px; }
  .workspace-demo .demo-chapters a { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-play-disc, .demo-chapters a { transition: none; }
  .demo-play:hover .demo-play-disc { transform: none; }
}
@media print {
  .demo-play, .demo-chapters, .demo-after .button { display: none !important; }
  .demo-showcase { break-inside: avoid; box-shadow: none; }
  .demo-details-row { display: block; }
}
