/* Phase 3: long-form details share the Project Editorial reading rhythm. */
#app .detail-panel.editorial-detail{
  background:transparent;border:0;border-radius:0;box-shadow:none;
  padding:var(--space-6) 0;
}
#app .editorial-detail .detail-head{
  padding-bottom:var(--space-5);border-bottom:thin solid var(--line);
}
#app .editorial-detail h1{
  max-width:78ch;font-size:var(--text-page-title);line-height:var(--leading-tight);
  margin:var(--space-3) 0 var(--space-5);
}
#app .editorial-detail .detail-description,
#app .editorial-detail .detail-content{
  max-width:70ch;color:var(--text);font-size:var(--text-body);
  line-height:var(--leading-longform);overflow-wrap:anywhere;
}
#app .editorial-detail .detail-description p,
#app .editorial-detail .detail-content p{margin-block:0 var(--space-4)}
#app .editorial-detail .detail-description p:last-child,
#app .editorial-detail .detail-content p:last-child{margin-bottom:0}
#app .editorial-detail .filter-bar{
  max-width:70ch;margin-top:var(--space-4);padding-bottom:var(--space-5);
  border-bottom:thin solid var(--line);
}
#app .editorial-detail .detail-content{
  margin-top:var(--space-5);padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;
}
#app .editorial-detail .video-card{max-width:70ch;margin-top:var(--space-6)}

.prompt-main.editorial-prompt{padding:var(--space-6)}
.editorial-prompt .prompt-meta-row{max-width:70ch;margin-bottom:var(--space-4)}
.editorial-prompt h1{
  max-width:78ch;font-size:var(--text-page-title);line-height:var(--leading-tight);
  margin:0 0 var(--space-5);overflow-wrap:anywhere;
}
.prompt-main.editorial-prompt .prompt-desc,
.editorial-prompt .prompt-box{
  max-width:70ch;color:var(--text);font-size:var(--text-body);
  line-height:var(--leading-longform);overflow-wrap:anywhere;
}
.editorial-prompt .prompt-desc p,
.editorial-prompt .prompt-box p{margin-block:0 var(--space-4)}
.editorial-prompt .prompt-desc p:last-child,
.editorial-prompt .prompt-box p:last-child{margin-bottom:0}
.editorial-prompt .prompt-toolbar{
  margin:var(--space-6) 0 var(--space-5);padding-top:var(--space-5);
  border-top:thin solid var(--line);
}
.editorial-prompt .prompt-section-title{
  max-width:70ch;font-size:var(--text-section-title);line-height:var(--leading-heading);
  margin-bottom:var(--space-4);
}
.editorial-prompt .prompt-box{
  min-height:0;padding:var(--space-5) 0;border:0;border-top:thin solid var(--line);
  border-radius:0;background:transparent;box-shadow:none;font-family:inherit;
}

.video-detail.editorial-video{padding:var(--space-6)}
.editorial-video h1{
  max-width:78ch;font-size:var(--text-section-title);line-height:var(--leading-heading);
  margin:var(--space-4) 0 var(--space-5);overflow-wrap:anywhere;
}
.editorial-video .video-meta{margin-bottom:var(--space-5)}
.editorial-video .detail-description{
  max-width:70ch;color:var(--text);font-size:var(--text-body);
  line-height:var(--leading-longform);
}
.editorial-video .video-player{margin-top:var(--space-5)}
.editorial-video .video-timeline{
  margin-top:var(--space-6);padding:var(--space-5) 0 0;border:0;
  border-top:thin solid var(--line);border-radius:0;background:transparent;
  box-shadow:none;
}
.editorial-video .video-timeline h2{
  font-size:var(--text-section-title);line-height:var(--leading-heading);
}
.editorial-video .video-timeline .section-head>span{
  color:var(--muted);font-size:var(--text-small);
}
.editorial-video .timestamp-row{
  max-width:70ch;gap:var(--space-4);padding:var(--space-4) 0;
  border-bottom:thin solid var(--line);font-size:var(--text-body);
  line-height:var(--leading-longform);
}
.editorial-video .timestamp-row time{
  flex-basis:auto;min-width:var(--space-8);color:var(--muted);
  font-size:var(--text-small);font-variant-numeric:tabular-nums;
}
.editorial-video .timestamp-row>div{min-width:0;overflow-wrap:anywhere}
.editorial-video .timestamp-row p{margin-block:0 var(--space-4)}
.editorial-video .timestamp-row p:last-child{margin-bottom:0}

@media(max-width:780px){
  #app .detail-panel.editorial-detail{padding-block:var(--space-4)}
  .prompt-main.editorial-prompt,.video-detail.editorial-video{padding:var(--space-4)}
  .editorial-video .timestamp-row{gap:var(--space-3)}
}
