.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  color: #8595aa;
  margin: 25px 0;
}
.breadcrumbs svg {
  width: 15px;
  height: 15px;
}
.breadcrumbs a:hover {
  color: #337da9;
}
.detail-heading {
  margin: 0 0 25px;
}
.detail-heading .lead {
  margin: 9px 0 17px;
  font-size: var(--text-2xl);
}
.material-layout {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  gap: 22px;
  align-items: start;
}
.material-preview {
  overflow: hidden;
  border-radius: 15px;
  background: #edf3f7;
}
.material-preview > video,
.material-preview > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 825px;
  object-fit: cover;
  aspect-ratio: 9/14;
  background: #15202d;
}
.material-preview > video {
  object-fit: cover;
  aspect-ratio: 9/14;
}
.media-disclosure {
  font-size: var(--text-xs);
  line-height: 1.5;
  padding: 12px 15px;
  color: #6b7e93;
  background: #f2f7fa;
}
.repeat-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.material-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 20px;
  margin: 22px 0 17px;
  border-bottom: 1px solid var(--line);
}
.material-facts > div {
  position: relative;
  padding-left: 28px;
  border-right: 1px solid var(--line);
}
.material-facts > div:last-child {
  border: 0;
}
.material-facts svg {
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  color: #355374;
}
.material-facts dt {
  font-size: var(--text-xs);
  color: #8696ab;
}
.material-facts dd {
  margin: 4px 0 0;
  font-size: var(--text-xs);
  line-height: 1.2;
}
.prompt-tabs {
  display: flex;
  background: #f0f6fa;
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 0;
}
.prompt-tabs > button {
  flex: 1;
  text-align: center;
  border-radius: 12px;
  padding: 11px 5px;
  background: transparent;
  font-size: var(--text-xs);
}
.prompt-tabs [aria-selected="true"] {
  background: #dff0ff;
}
.prompt-panel {
  background: #f2f7fb;
  border-radius: 13px;
  padding: 18px;
  min-height: 128px;
  margin-bottom: 15px;
}
.prompt-panel > p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #40536d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.settings-list {
  margin: 0;
  display: grid;
  gap: 10px;
}
.settings-list > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: baseline;
}
.settings-list dt {
  color: #7e8fa5;
  font-size: var(--text-xs);
}
.settings-list dd {
  font-size: var(--text-xs);
  max-width: 65%;
  margin: 0;
  text-align: right;
}
.copy-prompt,
.download-prompt {
  width: 100%;
  margin-top: 1px;
  min-height: 46px;
  font-size: var(--text-sm);
}
.download-prompt {
  margin-top: 12px;
}
.source-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 16px 0;
  color: #2787cd;
  font-size: var(--text-sm);
}
.source-link svg {
  width: 17px;
  height: 17px;
}
.copy-status {
  font-size: var(--text-xs);
  color: #53738d;
}
.repeat-panel .steps-title {
  font-size: var(--text-2xl);
  margin: 23px 0 20px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 21px;
}
.steps > li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.step-number {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e8f5ff;
  color: #258bd6;
  font-size: var(--text-base);
  font-weight: 500;
}
.steps h3 {
  margin-bottom: 4px;
}
.steps p {
  font-size: var(--text-xs);
  line-height: 1.5;
}
.tip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eaf5fe;
  border-radius: 13px;
  padding: 18px;
  margin-top: 22px;
}
.tip svg {
  color: #258bd6;
  width: 23px;
  height: 23px;
}
.tip p {
  font-size: var(--text-xs);
  color: #617b96;
  line-height: 1.5;
}
.article-reader {
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
}
.article-reader .lead {
  font-size: var(--text-xl);
}
.article-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: #8395aa;
  margin-bottom: 20px;
}
.article-cover {
  width: 100%;
  aspect-ratio: 1.9;
  height: auto;
  border-radius: 18px;
  margin-bottom: 25px;
}
.short-answer {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: #52647a;
  margin-bottom: 26px;
}
.article-toc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin: 25px 0;
  font-size: var(--text-sm);
}
.article-toc strong {
  font-weight: 400;
  color: #74869d;
}
.article-toc a {
  color: #2c89ca;
}
.article-section {
  display: flex;
  gap: 20px;
  margin: 34px 0;
}
.article-section h2 {
  margin: 2px 0 15px;
}
.article-section p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: #607289;
}
.article-section img {
  width: 100%;
  border-radius: 15px;
  margin-top: 20px;
}
.project-facts {
  display: flex;
  gap: 25px;
  background: #f2f7fb;
  border-radius: 15px;
  padding: 20px;
}
.project-facts dt {
  font-size: var(--text-xs);
  color: #8393a7;
}
.project-facts dd {
  margin: 7px 0 0;
  font-size: var(--text-sm);
}
@media (max-width: 1050px) {
  .repeat-panel {
    padding: 19px;
  }
  .material-layout {
    gap: 18px;
    grid-template-columns: 1.05fr 1fr;
  }
  .material-facts {
    gap: 5px;
  }
  .material-facts > div {
    padding-left: 24px;
  }
  .material-facts dd {
    font-size: var(--text-xs);
  }
  .material-facts dt {
    font-size: var(--text-xs);
  }
  .steps > li {
    gap: 10px;
  }
  .steps p {
    font-size: var(--text-xs);
  }
  .step-number {
    min-width: 37px;
    height: 37px;
    font-size: var(--text-sm);
  }
}
@media (max-width: 760px) {
  .breadcrumbs {
    font-size: var(--text-xs);
    margin: 22px 0 19px;
    gap: 7px;
  }
  .detail-heading {
    margin-bottom: 21px;
  }
  .detail-heading .lead {
    font-size: var(--text-lg);
    line-height: 1.45;
    margin: 10px 0 15px;
  }
  .material-layout {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .material-preview > video,
  .material-preview > img {
    max-height: 68svh;
    aspect-ratio: 9/13;
    object-fit: cover;
    background: #e6eff5;
  }
  .material-preview {
    border-radius: 14px;
  }
  .media-disclosure {
    font-size: var(--text-xs);
    padding: 10px 13px;
  }
  .repeat-panel {
    padding: 20px 17px;
  }
  .material-facts {
    margin-top: 20px;
    gap: 8px;
  }
  .material-facts > div {
    padding-left: 27px;
  }
  .material-facts dd {
    font-size: var(--text-xs);
  }
  .material-facts dt {
    font-size: var(--text-xs);
  }
  .prompt-panel {
    padding: 16px;
  }
  .prompt-panel > p {
    font-size: var(--text-sm);
  }
  .steps p {
    font-size: var(--text-sm);
  }
  .step-number {
    min-width: 40px;
    height: 40px;
  }
  .steps > li {
    gap: 13px;
  }
  .tip p {
    font-size: var(--text-xs);
  }
  .copy-prompt,
  .download-prompt {
    min-height: 48px;
    font-size: var(--text-sm);
  }
  .article-reader .lead {
    font-size: var(--text-lg);
  }
  .article-meta {
    font-size: var(--text-xs);
    gap: 10px;
  }
  .article-cover {
    aspect-ratio: 1.5;
    border-radius: 14px;
  }
  .short-answer {
    font-size: var(--text-base);
  }
  .article-toc {
    font-size: var(--text-xs);
    gap: 12px;
  }
  .article-section {
    gap: 12px;
    margin: 27px 0;
  }
  .article-section p {
    font-size: var(--text-sm);
    line-height: 1.7;
  }
  .project-facts {
    padding: 16px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .project-facts dd {
    font-size: var(--text-xs);
  }
  .project-facts dt {
    font-size: var(--text-xs);
  }
}

.project-video {
  display: block;
  background: #e9f1f6;
  object-fit: contain;
  max-height: 580px;
  aspect-ratio: 1.7;
  margin-bottom: 0;
}
.project-video + .media-disclosure {
  border-radius: 0 0 12px 12px;
  margin-bottom: 24px;
}
