/* Project-specific additions. The original TeXt stylesheet is unchanged. */
html{scroll-behavior:smooth;scroll-padding-top:1rem}
[hidden]{display:none!important}
.page__main-inner{min-height:100vh;display:flex;flex-direction:column}
.page__content{flex:1}
.inspect-cover{background-image:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.68)),url('assets/cover.png');background-color:#555c50;min-height:100vh!important;position:relative}
.cover-credit{position:absolute;bottom:1rem;right:1.5rem;left:1.5rem;text-align:right;font-size:.65rem;opacity:.8;color:#fff}
.header__brand img{margin-right:.5rem;flex-shrink:0}
.search-button svg{vertical-align:middle}
.intro-media{margin-top:0!important}
.video-placeholder{aspect-ratio:16/9;position:relative;overflow:hidden;background:#e8e8e4}
.video-placeholder>img{width:100%;height:100%;object-fit:cover;opacity:.62}
.video-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:rgba(255,255,255,.2);padding:1rem}
.video-label strong{font-size:1.8rem;color:#343a32}
.video-label span{font-size:.85rem;margin-top:.5rem;padding:.3rem .7rem;background:#fff;color:#555}
figure img{display:block;margin-inline:auto}
figcaption,.muted{color:#777;font-size:.85rem}
.placeholder-note{border-left:4px solid #ccc;padding:.3rem 1rem;color:#666;background:#fafafa}
.figure-placeholder{min-height:280px;background:#f2f2f2;border:1px dashed #bbb;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;padding:2rem;gap:1rem;color:#666}
.table-scroll{overflow-x:auto}
#copy-status{font-size:.8rem;color:#777;margin-left:.5rem}
.skip-link{position:fixed;top:-100px;left:1rem;z-index:50;background:white;padding:.5rem 1rem}
.skip-link:focus{top:1rem}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #fc4d50;outline-offset:3px}
.inspect-search{width:min(800px,calc(100% - 32px));max-height:80vh;margin:6vh auto;padding:2rem;border:0;box-shadow:0 1rem 4rem #0004;overflow:auto}
.inspect-search::backdrop{background:rgba(0,0,0,.8)}
.search-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.search-heading h2{margin:0}
.inspect-search label{display:block;margin-top:1.5rem}
.inspect-search input{width:100%;font:inherit;padding:.7rem;border:1px solid #aaa;margin-top:.5rem}
#search-results ul{list-style:none;padding:0}
#search-results a{display:block;padding:.8rem 0;border-bottom:1px solid #ddd}
@media(max-width:499px){.desktop-break{display:none}.video-label strong{font-size:1.1rem}.video-label span{font-size:.7rem}.cover-credit{font-size:.55rem;text-align:center}.figure-placeholder{min-height:190px}.inspect-search{padding:1rem}.header__brand a{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Dataset-specific overlay and aside layout, matching the reference page. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inspect-dataset-hero{background-image:linear-gradient(135deg,rgba(34,139,87,.4),rgba(139,34,139,.4)),url('assets/dataset-title.svg');background-color:#203028;background-size:cover,contain;background-repeat:no-repeat;min-height:33.333333vh!important;padding:4rem 0!important}
.dataset-resource-links{display:flex;align-items:center;justify-content:center;gap:76px;padding:42px 0 28px;flex-wrap:wrap}
.dataset-resource-links a{font-size:25px;font-weight:700}
.dataset-page .col-main{min-width:0}
.dataset-page .col-aside>.inspect-toc{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto}
.dataset-mobile-toc{display:none}
@media(max-width:1023px){.inspect-dataset-hero{background-size:100% auto;background-repeat:no-repeat}.dataset-mobile-toc{display:block;margin-top:1.5rem}.dataset-mobile-toc summary{cursor:pointer;color:#777;font-size:.85rem}.dataset-mobile-toc .toc-aside{padding:1rem 0}.dataset-resource-links{padding-top:24px}}
@media(max-width:499px){.dataset-resource-links{gap:28px}.dataset-resource-links a{font-size:22px}.inspect-dataset-hero{min-height:24vh!important;padding:1.333333rem 0!important}}

/* Paper content uses the original article layout and authentic paper figures. */
.introduction-page .article__header h1{max-width:940px}
.paper-authors{line-height:1.8;color:#666}
.paper-links{margin-bottom:1.75rem!important}
.paper-figure{margin:2rem 0}
.paper-figure img{width:100%;height:auto}
.paper-figure figcaption{line-height:1.6;margin-top:.75rem}
.anatomy-figure{max-width:800px;margin-inline:auto}

/* Empty space reserved for the future project poster. */
.poster-space{width:100%;aspect-ratio:2/1;margin:2rem 0}

/* Larger desktop dataset navigation; wrap long labels instead of clipping them. */
@media(min-width:1024px){
.dataset-page .has-aside .col-aside{width:300px}
.dataset-page .col-aside>.inspect-toc{width:100%}
.dataset-page .inspect-toc .toc-aside{padding-left:2rem}
.dataset-page .inspect-toc .toc a{font-size:14px;line-height:1.4}
.dataset-page .inspect-toc .toc--ellipsis>li{white-space:normal;overflow:visible}
}

/* Keep all navigation entries visible on narrow screens. */
@media(max-width:767px){.header>.main{flex-direction:column;align-items:stretch}.header__title{height:3rem;margin-right:0}.header__title>.search-button{display:flex}.navigation>ul{height:auto;flex-wrap:wrap;padding-bottom:8px}.navigation>ul .search-button{display:none}.navigation__item a{white-space:nowrap}.navigation>ul>li{margin-right:1rem}}

/* Release tables keep long archive names readable on narrow displays. */
.release-files table{min-width:620px}.release-files td:first-child{min-width:215px;max-width:280px}.release-files code{white-space:normal;overflow-wrap:anywhere}.release-files td:nth-child(2){white-space:nowrap}.release-details{margin:1.5rem 0;padding:1rem;border:1px solid #e5e5e5}.release-details summary{cursor:pointer;font-weight:600}.release-details[open] summary{margin-bottom:1rem}
