/* Shared compact masthead and project credits. */
body>header{position:sticky;top:0;z-index:40;max-width:none;background:var(--green);color:#fff;padding:12px max(5%,calc((100vw - 1296px)/2));min-height:70px;border:0;gap:20px}body>header .brand{color:white;font-size:24px;line-height:1}body>header .brand span{color:#fff;font-size:12px;margin-top:5px}body>header .report-nav a,body>header .report-nav a[aria-current],body>header .reports-menu summary{color:white}body>header .reports-menu nav{color:var(--ink)}body>header .reports-menu{border:0;padding:0}body>header a:focus-visible,body>header summary:focus-visible{outline-color:white}.report-toc{top:95px;max-height:calc(100vh - 115px)}.report-content h2,.report-content h3,#viewer{scroll-margin-top:100px}.site-footer{padding:30px 5%;min-height:135px}.site-footer p{text-align:center;font-size:15px}.project-mark,.gavetero-mark{display:flex;align-items:center;gap:14px;text-decoration:none;color:white}.project-mark img{width:64px;height:64px;object-fit:contain;border-radius:8px}.project-mark span{font-size:14px}.gavetero-mark img{width:55px;height:55px;object-fit:contain;filter:brightness(0) invert(1)}.gavetero-mark span{font-weight:700;font-size:18px;letter-spacing:.03em}.gavetero-mark small{display:block;font-size:11px;font-weight:400;letter-spacing:0}.index-title{max-width:900px}.index-title h1{font-size:clamp(32px,4.7vw,52px)}
/* Image cards: retain full objects, with a scan beam only on activation. */
.report-card{position:relative;overflow:hidden;padding:0;border:1px solid var(--line);border-top:1px solid var(--line);border-bottom:4px solid var(--green);min-height:370px;background:white}.card-image{position:relative;height:190px;flex:none;overflow:hidden;background:#eeefeb}.card-image img{display:block;width:100%;height:100%;object-fit:contain}.card-image.medical{background:#121912}.card-copy{padding:20px 23px;flex:1;display:flex;flex-direction:column}.report-card h2{font-size:21px;line-height:1.25;margin:9px 0 12px;overflow-wrap:normal}.card-subtitle{display:block;font-size:15px;white-space:nowrap;margin-top:5px}.card-action{padding-top:18px}.piece-image-unavailable{display:flex;align-items:center;justify-content:center;background:#edf1e8;color:var(--muted);font-size:14px;padding:25px;text-align:center}.card-image::after{content:"";position:absolute;inset:-30% 0 auto;height:30%;background:linear-gradient(transparent,rgba(188,246,139,.25) 75%,#d8ffc7);border-bottom:2px solid white;opacity:0;pointer-events:none}.report-card.is-scanning .card-image::after{opacity:1;animation:scan-piece .58s linear forwards}.report-card.is-scanning .card-image img{filter:grayscale(1) contrast(1.4);transition:filter .2s}.report-card.is-scanning{box-shadow:0 0 0 2px var(--green)}@keyframes scan-piece{from{transform:translateY(0)}to{transform:translateY(440%)}}.report-lead-image{margin:0 0 28px;height:310px;background:#f0f2ec;overflow:hidden}.report-lead-image img{width:100%;height:100%;object-fit:contain;display:block}.report-lead-image.medical{background:#111911}.explore-cta{display:block;background:var(--green);color:white;padding:22px 26px;font-size:22px;font-weight:700;line-height:1.35;text-decoration:none;margin:24px 0 32px;border-bottom:4px solid #34541a}.explore-cta:hover{background:#436328}.explore-cta span{display:block;font-size:14px;font-weight:400;margin-top:7px}.report-content>.report-lead-image:first-child+h2{margin-top:25px}@media(max-width:700px){body>header{padding:12px 6%;min-height:66px}body>header .brand{font-size:20px}body>header .brand span{font-size:10px;max-width:215px;line-height:1.3}.site-footer{display:flex;flex-direction:column;gap:22px;padding:28px 6%}.site-footer p{margin:0}.report-lead-image{height:260px}.explore-cta{font-size:20px}.report-toc{max-height:none}.card-image{height:210px}}@media(prefers-reduced-motion:reduce){.report-card.is-scanning .card-image::after{animation:none}.report-card.is-scanning .card-image img{transition:none}}

/* Compact report headings and uniform linked cover images */
.site-footer{background:#000}.report-title{padding:22px 0 20px;margin-bottom:24px}.report-title .eyebrow{margin:0 0 6px}.report-title h1{margin:0 0 10px}.report-title .report-date{margin:0}.report-lead-image{height:310px}.report-lead-image a{display:block;width:100%;height:100%;cursor:zoom-in}.report-lead-image img{object-fit:cover}.report-nav a:first-child{display:inline-block}@media(max-width:700px){.report-lead-image{height:260px}}

/* DIN OT and compact catalogue */
@font-face{font-family:"DIN OT";src:url("/assets/fonts/DINOT.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DIN OT";src:url("/assets/fonts/DINOT-Medium.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DIN OT";src:url("/assets/fonts/DINOT-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"DIN OT";src:url("/assets/fonts/DINOT-Black.otf") format("opentype");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"DIN OT";src:url("/assets/fonts/DINOT-Italic.otf") format("opentype");font-weight:400;font-style:italic;font-display:swap}
body{font-family:"DIN OT",Arial,sans-serif}button,input,select,textarea{font-family:inherit}.card-image{height:auto;aspect-ratio:16/9}.card-image img{object-fit:cover}.report-card{min-height:0}.card-copy{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;row-gap:8px;padding:16px 18px;align-content:start}.card-number{grid-column:1;grid-row:1;padding-top:3px}.report-card h2{grid-column:2;margin:0;font-size:21px;line-height:1.22}.card-action{grid-column:2;margin:0;padding-top:2px}.index-title{padding-top:19px}.index-title h1{line-height:1.2}.index-title>p:not(.eyebrow){font-size:17px;line-height:1.5}.catalog-search{margin-top:22px;max-width:540px}.catalog-search label{display:block;font-size:15px;margin-bottom:7px}.catalog-search input{width:100%;padding:12px 14px;border:1px solid #9aa78f;background:#fff;color:var(--ink);font-size:16px;border-radius:0}.search-count{font-size:14px;color:var(--green);margin:10px 0 0}.report-card[hidden],.search-empty[hidden]{display:none}.search-empty{padding:20px 0;color:var(--muted)}@media(max-width:650px){.index-title>p:not(.eyebrow){font-size:16px}}

.reports-index{padding-top:15px}

body>header .report-nav .menu-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none}.menu-icon svg{display:block}

/* Shared report alignment and mobile section navigation */
.report-main{padding-top:15px}.report-title{padding-top:19px}.report-lead-image{height:auto;aspect-ratio:16/9}.report-lead-image img{object-fit:cover}.report-figure figcaption{text-align:center}
@media(max-width:650px){
.report-toc.mobile-toc{position:fixed;left:0;top:0;z-index:50;padding:0;margin:0;border:0;max-height:none}
.mobile-toc details{border:0;padding:0}
.mobile-toc summary{position:fixed;left:0;top:45%;padding:12px 10px 12px 7px;border-radius:0 24px 24px 0;background:var(--green);color:white;box-shadow:0 2px 10px #0003;font-size:12px;list-style:none;writing-mode:vertical-rl;letter-spacing:.05em;min-height:92px;text-align:center}
.mobile-toc summary::-webkit-details-marker{display:none}
.mobile-toc details[open] summary{left:min(270px,80vw)}
.mobile-toc details nav{position:fixed;left:0;top:90px;bottom:24px;width:min(270px,80vw);max-height:calc(100dvh - 114px);overflow-y:auto;overscroll-behavior:contain;background:white;box-shadow:3px 0 22px #0003;border:1px solid var(--line);padding:18px;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0}
.mobile-toc details:not([open]) nav{display:none}
.mobile-toc nav a{padding:10px 12px;margin:0;font-size:16px;line-height:1.3;flex:none}
.mobile-toc summary:focus-visible{outline:3px solid #263024;outline-offset:3px}
}

.report-toc nav a.toc-subsection{padding-left:26px;font-size:14px}.report-toc nav a[aria-current="location"]{background:#edf2e7;color:var(--green);border-left-color:var(--green);font-weight:700}.report-toc nav a:not(.toc-subsection){font-weight:700}

/* Viewer introduction */
.intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center}.intro>.eyebrow{grid-column:1/-1;margin:0}.intro>h1{grid-column:1;grid-row:2}.intro>.report-link{grid-column:2;grid-row:2;justify-self:end;margin:0;align-self:center}.intro-description{grid-column:1/-1;margin:2px 0 0;color:var(--muted);font-size:16px}.explore aside>.modes:first-child{margin-top:0}body>header .reports-menu summary{width:44px;height:44px;padding:9px;border:0;display:flex;align-items:center;justify-content:center}.reports-menu summary svg{display:block}@media(max-width:400px){.intro>.report-link{font-size:14px;gap:6px}.intro>.report-link svg{width:21px;height:21px}}

.viewer{background:#000}.viewer .orientation{background:#000}

figcaption{text-align:center}

.report-lightbox{width:94vw;max-width:1200px;height:90dvh;max-height:94dvh;padding:18px;border:1px solid #555;background:#000;color:#fff;overflow:hidden}.report-lightbox::backdrop{background:#000c}.lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;height:64px}.lightbox-toolbar p{margin:0;font-size:14px;line-height:1.3;max-height:60px;overflow:auto}.lightbox-toolbar button{flex:none;background:#222;color:#fff;border:1px solid #888;padding:10px 14px;min-height:44px}.lightbox-image{display:block;width:100%;height:calc(100% - 64px);object-fit:contain}.report-figure a{cursor:zoom-in}@media(max-width:650px){.report-lightbox{padding:12px;width:96vw}.lightbox-toolbar{gap:10px}}

/* Reconstruction pages and centered orientation controls. */
.view-presets{justify-content:center}.pending-viewer{display:flex;align-items:center;justify-content:center;min-height:490px}.pending-message{max-width:540px;padding:80px 30px;color:white;text-align:center}.pending-message h2{font-size:32px;color:white}.pending-message p{color:#d1d9cc;font-size:18px;line-height:1.6}.modes button:disabled{width:50%;opacity:.65;cursor:default}.reconstruction-findings{margin:60px 0;max-width:900px}.reconstruction-findings h2{font-size:32px}.reconstruction-findings p{font-size:18px;line-height:1.7}.evidence .report-lead-image{margin:0}.report-content strong{font-weight:700}@media(max-width:700px){.pending-viewer{min-height:360px}.pending-message h2{font-size:26px}.pending-message p{font-size:16px}}

/* Report action directly below the cover image. */
.report-content>.report-lead-image{margin-bottom:0}.explore-cta{display:flex;align-items:center;gap:16px;margin:16px 0 32px;padding:18px 22px}.explore-cta .explore-icon{display:block;flex:none;margin:0}.explore-cta .explore-copy{display:block;margin:0;font-size:22px;font-weight:700}.explore-cta small{display:block;font-size:14px;font-weight:400;margin-top:5px}@media(max-width:700px){.explore-cta .explore-copy{font-size:20px}}

body>header .reports-menu nav{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;width:min(320px,88vw)}body>header .reports-menu nav a{font-size:15px;padding:10px;margin-top:6px}

.card-image.supplied-photo{background:#000}.card-image.supplied-photo img{object-fit:contain}

/* Catalog crops preserve image proportions and fill each cover. */
.card-image.supplied-photo img{object-fit:cover}
.report-card[href*="/c-576/"] .card-image img{clip-path:inset(2px);transform:scale(1.025)}
.report-card[href*="/tibia-perone-pie-derecho/"] .card-image img,
.report-card[href*="/tibia-perone-y-pie-izquierdo/"] .card-image img{object-fit:cover;height:200%;max-height:none;position:absolute;width:100%}
.report-card[href*="/tibia-perone-pie-derecho/"] .card-image img{top:0}
.report-card[href*="/tibia-perone-y-pie-izquierdo/"] .card-image img{bottom:0}
#play{display:flex;align-items:center;justify-content:center;gap:.5em;color:#fff}
#play svg{width:1em;height:1em;fill:currentColor;flex:none}
.surface-controls{margin:22px 0;display:grid;gap:10px}.surface-controls select{width:100%}.surface-help{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
