.publication-gallery{margin:24px 0;padding:20px}.publication-gallery .section-heading{margin-bottom:14px}.publication-gallery h2{font-size:20px}.publication-gallery .section-heading p{font-size:13px;margin:5px 0 0}.gallery-scroll-actions{display:flex;gap:6px}.gallery-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;padding:2px 2px 10px;overscroll-behavior-x:contain}.gallery-preview{display:flex;flex-direction:column;flex:0 0 clamp(240px,30vw,380px);min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;scroll-snap-align:start;color:var(--ink);background:var(--soft);text-decoration:none}.gallery-preview picture{display:block;width:100%;aspect-ratio:16/10;background:var(--soft)}.gallery-preview img{width:100%;height:100%;object-fit:contain;display:block}.gallery-preview-caption{display:block;font-size:12px;padding:10px 12px;background:var(--surface);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-dialog{padding:0;border:1px solid var(--line);border-radius:18px;width:min(1180px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);color:var(--ink);background:var(--surface);box-shadow:0 20px 80px #0005}.gallery-dialog::backdrop{background:rgb(16 24 21 / 82%)}.gallery-dialog-content{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}.gallery-dialog header,.gallery-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;flex-shrink:0}.gallery-dialog header h2{font-size:16px;margin:0}.gallery-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:0;background:var(--soft);padding:12px}.gallery-stage>img{display:block;width:100%;height:min(66dvh,800px);min-height:0;object-fit:contain;touch-action:pan-y}.gallery-dialog footer p{margin:0;overflow-wrap:anywhere;font-size:14px}.gallery-dialog footer a{flex-shrink:0;font-size:13px}.gallery-dialog .icon-button{min-width:44px;min-height:44px}.project-inline-image{cursor:zoom-in}.project-inline-image:focus-visible{outline:3px solid var(--green);outline-offset:5px}.project-panels>[hidden]{display:none!important}.project-tabs [role=tab][aria-selected=true]{background:var(--green);color:#fff;border-color:var(--green)}.project-tabs [role=tab][aria-selected=true] .muted{color:inherit}.project-panel:focus{outline:none}.project-panel:focus-visible{outline:2px solid var(--green);outline-offset:6px}.release-update{padding:24px;margin-bottom:16px}.release-update-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.release-update-header h3{margin:0 0 8px}.release-update-footer{padding-top:16px;border-top:1px solid var(--line);margin-top:18px}.project-panel>.section-heading{margin-top:0}.project-tabs{overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.project-tabs a{flex-shrink:0}.project-panel .comments-section{margin-top:0}.publication-gallery .gallery-scroll-actions[hidden]{display:none}.project-gallery-empty{font-size:14px;color:var(--muted)}
@media(max-width:650px){.publication-gallery{padding:14px;margin:18px 0}.publication-gallery .section-heading{align-items:flex-start;gap:10px}.gallery-preview{flex-basis:78vw}.gallery-scroll-actions{display:none!important}.gallery-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.gallery-dialog-content{max-height:calc(100dvh - 18px)}.gallery-dialog header,.gallery-dialog footer{padding:10px 12px}.gallery-dialog footer{align-items:flex-start;flex-direction:column;gap:8px}.gallery-stage{grid-template-columns:36px minmax(0,1fr) 36px;padding:6px;gap:4px}.gallery-stage>img{height:60dvh}.gallery-stage .icon-button{min-width:36px;width:36px;min-height:44px;padding:6px}.release-update{padding:18px}.release-update-header{flex-direction:column;gap:10px}.project-tabs a{min-height:44px;display:inline-flex;align-items:center}.project-columns{min-width:0}.project-panels{min-width:0}}
@media(prefers-reduced-motion:reduce){.gallery-strip{scroll-behavior:auto}}

.gallery-preview picture{height:190px;aspect-ratio:auto}.gallery-preview img{object-fit:scale-down}.gallery-single{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:24px}.gallery-single>.section-heading{grid-column:2;grid-row:1;margin:0}.gallery-single>.gallery-strip{grid-column:1;grid-row:1;padding:2px;overflow:visible}.gallery-single .gallery-preview{flex:1 1 100%;max-width:100%}.gallery-single .gallery-preview picture{height:145px}.project-tabs a{padding-inline:12px}.gallery-dialog .gallery-stage>img{object-fit:scale-down}@media(max-width:650px){.gallery-preview picture{height:170px}.gallery-single{grid-template-columns:120px minmax(0,1fr);gap:14px}.gallery-single h2{font-size:18px}.gallery-single .section-heading p{font-size:12px}.gallery-single .gallery-preview picture{height:90px}.gallery-single .gallery-preview-caption{font-size:10px;padding:7px}.project-tabs{gap:6px}.project-tabs a{padding-inline:10px}}

.project-panel .release-file:last-child{padding-bottom:0}.project-panel .release-file>.release-notes:last-child{margin-bottom:0}
