/* Product and research pages only. Shared content, different levels of detail. */
.authentic-product .screen-switch { display: none; }
.js .authentic-product .screen-switch { display: flex; }
.screen-fallback { margin-top: 16px; }
.responsive-detail {
  margin-top: 24px;
  padding: 0;
  border-block: 1px solid #b8c9c4;
}
.responsive-detail > summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.55;
  color: var(--blue);
  list-style: none;
  cursor: pointer;
}
.responsive-detail > summary::-webkit-details-marker { display: none; }
.responsive-detail > summary::after {
  content: '+';
  position: absolute;
  right: 5px;
  top: 15px;
  font-size: 24px;
  font-weight: 400;
}
.responsive-detail[open] > summary::after { content: '−'; }
.responsive-detail > summary:focus-visible {
  outline: 3px solid #20799b;
  outline-offset: 4px;
}
.detail-content { padding-bottom: 22px; }
.patent-section .responsive-detail { border-color: #68827f; }
.patent-section .responsive-detail > summary { color: #e0ece9; }
.patent-section .responsive-detail > summary:focus-visible { outline-color: #a4d8e8; }
.heritage-summary { padding: 28px 32px; }
.heritage-links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.heritage-links .text-link { font-size: 13px; }
.research-book { padding-block: 44px; }
.book-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  max-width: 1060px;
}
.book-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.book-copy h2 { hyphens: auto; }
.book-title-mobile { display: none; }
.book-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; margin-top: 20px; }
.book-copy .button-row { margin-top: 22px; }
.research-book .book-original { grid-column: 1; grid-row: 1; max-width: 205px; }
.research-book .book-original figcaption { margin-top: 10px; }
.development-pair .development-subline { margin-block: 12px 20px; }
.development-detail { margin-block: 20px 12px; }

@media (min-width: 761px) {
  /* Editorial desktop spread: text left, independent book cover right. */
  .research-book { padding-block: 68px; }
  .research-book .book-layout {
    max-width: none;
    grid-template-columns: minmax(0, 1.5fr) minmax(205px, .85fr);
    gap: clamp(32px, 6vw, 100px);
  }
  .research-book .book-copy { grid-column: 1; max-width: 700px; }
  .research-book .book-copy > p:not(.eyebrow) { max-width: 650px; }
  .research-book .book-original { grid-column: 2; justify-self: center; }
  /* Desktop reads as a continuous dossier; no redundant disclosure headings. */
  .js .responsive-detail { border: 0; }
  .js .responsive-detail > summary { display: none; }
  .js .responsive-detail > .detail-content { padding-bottom: 0; }
  .js .development-detail { margin-top: 0; }
}

@media (max-width: 760px) {
  .product-workflow { padding-bottom: 28px; }
  .product-workflow .workflow-grid { gap: 12px; }
  .product-workflow .workflow-grid li { padding-top: 12px; gap: 4px 12px; }
  .product-workflow .workflow-method { margin-top: 20px; }
  .home-software .product-gallery-actions { display: none; }
  .home-software .screen-fallback { display: none; }
  .home-software .product-gallery-heading { margin-bottom: 16px; }
  .home-software .history-desktop { display: block; width: 100%; height: auto; }
  .home-software .authentic-product { padding: 16px; }
  .home-software .screen-reading-guide { margin-top: 22px; gap: 14px; }
  .home-software .screen-reading-guide > div { gap: 10px; }
  .home-software .screen-reading-guide p { margin: 0; }
  .home-software .experience-heading { margin-bottom: 24px; }
  .science-studies { padding-block: 36px; }
  .heritage-summary { padding: 24px 22px; margin-bottom: 32px; }
  .heritage-summary .eyebrow { margin-top: 0; }
  .heritage-summary p { margin-top: 16px; }
  .heritage-links { gap: 0 24px; }
  .heritage-links .text-link { margin-top: 14px; }
  .science-programme { padding-block: 28px; gap: 16px; }
  .programme-detail { margin-top: 22px; }
  #dresden-burnout .programme-duration { margin-top: 4px; }
  #dresden-burnout .programme-label strong { display: inline; font-size: inherit; font-weight: 650; margin: 0; }
  #dresden-burnout .programme-label strong::before { content: ''; display: block; }
  #dresden-burnout .programme-duration { display: inline; font-size: inherit; }
  #dresden-burnout .programme-duration::before { content: ' · '; }
  #dresden-burnout .programme-publications { margin-top: 4px; }
  .patent-section { padding-block: 36px; }
  .patent-section .split { gap: 24px; }
  .patent-plate { padding: 22px; }
  .patent-plate-layout { grid-template-columns: minmax(0, 1fr) 92px; gap: 18px; }
  .patent-document { width: 92px; padding: 4px; }
  .patent-plate-number { overflow-wrap: normal; }
  .methods-detail { margin-top: 26px; }
  .methods-detail .method-chain { margin-block: 8px 22px; }
  .research-book { padding-block: 32px; }
  .book-layout { display: block; }
  .book-title-desktop { display: none; }
  .book-title-mobile { display: inline; }
  .research-book .book-original { max-width: none; display: flex; align-items: center; gap: 18px; margin-top: 24px; }
  .research-book .book-cover { width: 88px; flex: none; }
  .research-book .book-original figcaption { max-width: 210px; margin: 0; }
  .book-copy .eyebrow { margin-bottom: 14px; }
  .book-copy > p:not(.eyebrow) { font-size: 15px; margin-top: 16px; }
  .book-copy .button-row { margin-top: 18px; }
  .method-developments { padding-block: 36px; }
  .method-developments > header { margin-bottom: 26px; }
  .development-pair { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .development-pair article { padding: 22px; background: #edf2ee; border: 1px solid #c9d6cf; border-radius: 5px; }
  .development-pair .development-subline { margin-block: 12px 16px; }
  .development-pair p { margin-bottom: 16px; }
  .development-detail { margin-block: 16px 12px; }
  .development-detail .detail-content > :last-child { margin-bottom: 0; }
  .development-pair > article > a { margin-top: 6px; }
}

@media print {
  .responsive-detail::details-content { content-visibility: visible; }
  .responsive-detail > summary { display: none; }
}
