/* NeurIPS inherits the lab's CVPR conference design. */
.page-neurips [hidden] { display: none !important; }
html.neurips-page { --section-offset: 76px; scroll-behavior: smooth; scroll-padding-top: var(--section-offset); }
body.page-neurips { overflow-x: clip; overflow-y: visible; }
.page-neurips :is(#timeline,#schedule,#attendees,#partner) { scroll-margin-top: 0; }
.page-neurips .section-header { width: 100%; gap: 28px; align-items: end; }
.page-neurips .section-note { font-size: 1rem; line-height: 1.6; color: #657287; margin-top: 12px; max-width: 680px; }
.page-neurips .controls { flex-shrink: 0; }
.page-neurips .controls select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%2313294b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.page-neurips .poster-grid[data-empty="true"] { grid-template-columns: 1fr; }
.page-neurips .paper-short, .page-neurips .paper-area, .page-neurips .paper-time { display: block; }
.page-neurips .paper-short { white-space: normal; font-size: 1.05rem; line-height: 1.25; }
.page-neurips .paper-area { font-size: .875rem; font-weight: 500; line-height: 1.45; }
.page-neurips .paper-time { font-size: .875rem; line-height: 1.5; }
.page-neurips .day-label { font-size: .75rem; }
.page-neurips .paper-heading { margin: 0; text-align: left; }
.page-neurips .paper-detail-area { font-size: .875rem; }
.page-neurips .paper-description { font-size: 1rem; font-weight: 500; }
.page-neurips .workshop-context { font-size: 1rem; line-height: 1.6; color: #526177; margin-top: 10px; }
.page-neurips .workshop-context a { color: #13294b; text-underline-offset: 3px; }
.page-neurips .info-value { font-size: 1rem; }
.page-neurips .action-row > :is(a,button) { width: 100%; min-width: 0; min-height: 48px; padding: 10px 8px; font-family: inherit; font-size: .86rem; font-weight: 1000; line-height: 1.2; white-space: nowrap; }
.page-neurips .action-row > :is(a,button) i { flex-shrink: 0; }
.page-neurips .authors-box { margin-top: 18px; }
.page-neurips .authors-text { font-size: .9375rem; line-height: 1.7; }
.page-neurips .contribution-note { color: #68778a; font-size: .8125rem; margin-top: 9px; }
.page-neurips .bibtex-box summary { cursor: pointer; color: #fed7aa; }
.page-neurips .bibtex-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.page-neurips .pager-btn:disabled { opacity: .45; cursor: default; }
.page-neurips #schedule { margin-top: 20px; }
.page-neurips table { min-width: 950px; width: 100%; }
.page-neurips #schedule th:first-child { white-space: nowrap; }
.page-neurips #schedule td:nth-child(2) { width: 45%; }
.page-neurips .schedule-place { display: block; font-size: .8125rem; line-height: 1.5; margin-top: 5px; color: #64748b; }
.page-neurips .schedule-time-highlight { white-space: nowrap; }
.page-neurips .attendees-head { grid-template-columns: 1fr; }
.page-neurips :is(#papers-title,#team-title) { text-align: left; }
.page-neurips .attendee-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.page-neurips .attendee-card, .page-neurips .attendee-card:hover { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; transform: none; }
.page-neurips .attendee-card a { color: #13294b; text-decoration: none; }
.page-neurips .attendee-photo { width: min(100%,180px); aspect-ratio: 1/1.08; border-radius: 18px; overflow: hidden; background: #d9e2ed; border-bottom: 3px solid #ff7b30; box-shadow: 0 10px 24px #13294b10; }
.page-neurips .attendee-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 25%; }
.page-neurips .attendee-card h3 { font-size: 1.0625rem; line-height: 1.4; font-weight: 750; margin: 17px 0 4px; }
.page-neurips .attendee-papers { margin-top: 6px; margin-bottom: 10px; }
.page-neurips .attendee-paper-pill { font-size: .78rem; line-height: 1.2; }
.page-neurips .attendee-paper-pill.primary-pill { color: #c44700; }
.page-neurips .attendee-contact { display: inline-block; align-self: flex-start; margin-top: 0; font-size: .875rem; text-decoration: underline !important; text-underline-offset: 4px; }
.page-neurips .skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 14px; background: #fff; color: #13294b; }
.page-neurips .skip-link:focus { top: 16px; }
.page-neurips :is(button,a,input,select,summary,[tabindex]):focus-visible { outline: 3px solid #388be4; outline-offset: 3px; }
@media(max-width:1180px) {
 .page-neurips .timeline-shell { height: auto; }
 .page-neurips .timeline-scroll { max-height: 400px; }
 .page-neurips .section-header { flex-direction: column; align-items: start; }
}
@media(min-width:1181px) { .page-neurips .action-row { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media(max-width:900px) { .page-neurips .attendee-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .page-neurips .controls { width: 100%; }
 .page-neurips .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .page-neurips .info-value { font-size: .875rem; }
 .page-neurips .info-label { letter-spacing: .07em; }
 .page-neurips .paper-detail-area { letter-spacing: .05em; }
 .page-neurips .attendees-head { display: block; }
 .page-neurips .attendee-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 18px; }
 .page-neurips .attendee-card h3 { font-size: 1rem; }
 .page-neurips .schedule-head { flex-wrap: wrap; gap: 18px; }
 .page-neurips .schedule-head-right { align-items: start; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto !important; } .page-neurips *, .page-neurips *::before, .page-neurips *::after { animation: none !important; transition: none !important; } }

/* Keep the paper browser compact, with equal-height desktop panels. */
/* Match the main site's fading glass menu; adapt idle labels to this light page. */
.page-neurips main { padding-top: 76px; }
.page-neurips .glass-nav { background: rgba(19,41,75,.94); }
.page-neurips .glass-nav.scrolled-nav { opacity: .5; background: rgba(11,26,51,.1); border-color: rgba(255,255,255,.05); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); box-shadow: none; }
.page-neurips .glass-nav.scrolled-nav:hover { opacity: 1; background: rgba(11,26,51,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.page-neurips .glass-nav.scrolled-nav .nav-item { color: #13294b; }
.page-neurips .glass-nav.scrolled-nav:hover .nav-item { color: rgba(255,255,255,.8); }
.page-neurips .glass-nav.scrolled-nav .nav-item:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.page-neurips #papers-title { font-size: clamp(1.5rem,2.6vw,2rem); }
.page-neurips #timeline .section-note { margin-top: 8px; line-height: 1.5; }
.page-neurips .poster-grid { gap: 20px; min-width: 0; }
.page-neurips .timeline-shell { padding: 12px; border-radius: 26px; }
.page-neurips .timeline-scroll { padding: 6px 8px; scrollbar-gutter: stable; }
.page-neurips .timeline-list { gap: 5px; }
.page-neurips .day-separator { gap: 8px; padding-top: 0; margin-left: 21px; }
.page-neurips .day-separator:not(:first-child) { padding-top: 4px; }
.page-neurips .day-dot { width: 8px; height: 8px; }
.page-neurips .timeline-rail { left: 32px; top: 20px; bottom: 22px; width: 2px; background: #bccbdc; opacity: .65; }
.page-neurips .paper-cube-card { grid-template-columns: 54px minmax(0,1fr); gap: 10px; padding: 10px; border-radius: 20px; }
.page-neurips .cube-wrap, .page-neurips .cube-svg { width: 54px; height: 54px; }
.page-neurips .paper-short { font-size: 1rem; }
.page-neurips .paper-area { margin-top: 1px; }
.page-neurips .paper-time { margin-top: 2px; }
.page-neurips .timeline-tip { padding: 7px 3px 0; font-weight: 500; }
.page-neurips .detail-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; max-height: calc(100dvh - 112px); padding: 20px; border-radius: 26px; }
.page-neurips .conference-paper { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 6px; scrollbar-gutter: stable; }
.page-neurips .conference-paper::-webkit-scrollbar { width: 8px; }
.page-neurips .conference-paper::-webkit-scrollbar-thumb { background: #13294b40; border-radius: 999px; }
.page-neurips .detail-panel .paper-title-link { font-size: clamp(1.4rem,2vw,1.8rem); line-height: 1.12; }
.page-neurips .paper-detail-area { margin-top: 10px; }
.page-neurips .paper-description { margin-top: 8px; line-height: 1.5; }
.page-neurips .info-grid { margin-top: 12px; gap: 8px; }
.page-neurips .info-tile { padding: 10px; border-radius: 15px; }
.page-neurips .info-label { font-size: .75rem; letter-spacing: .08em; }
.page-neurips .action-row > :is(a,button) { min-height: 44px; }
.page-neurips .authors-box { margin-top: 12px; padding: 12px; border-radius: 16px; }
.page-neurips .authors-text { line-height: 1.5; }
.page-neurips .bibtex-box { margin-top: 12px; padding: 12px; border-radius: 16px; }
.page-neurips .pager-row { position: relative; z-index: 1; margin-top: 12px; flex-shrink: 0; }
.page-neurips .pager-btn { min-height: 44px; padding: 10px 14px; }
@media(min-width:1000px) {
 body.page-neurips section#timeline.page-shell { display: grid !important; grid-template-rows: auto minmax(0,1fr); height: min(640px,calc(100dvh - 88px)) !important; min-height: 0 !important; padding: 0; }
 .page-neurips #timeline .section-header { flex-direction: row; align-items: end; gap: 20px; margin-bottom: 12px; }
 .page-neurips #timeline .controls input { width: 220px; }
 .page-neurips .poster-grid { grid-template-columns: clamp(270px,26vw,350px) minmax(0,1fr); min-height: 0; }
 .page-neurips .timeline-shell { position: relative; top: 0; height: 100%; min-height: 0; overflow: hidden; }
 .page-neurips .timeline-scroll { max-height: none; }
 .page-neurips .detail-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
 .page-neurips .info-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .page-neurips .action-row { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media(max-width:999px) {
 .page-neurips .poster-grid { grid-template-columns: 1fr; }
 .page-neurips .timeline-shell { height: auto; position: relative; top: 0; }
 .page-neurips .timeline-scroll { max-height: min(45svh,360px); }
 .page-neurips .action-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .page-neurips .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
 .page-neurips .detail-panel { padding: 16px; }
 .page-neurips .action-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* A smaller, consistent type scale. */
.page-neurips .page-shell { width: min(1360px,calc(100% - 48px)); }
.page-neurips .glass-nav, .page-neurips .glass-nav.scrolled-nav { top: 12px; padding: 8px 20px; gap: 16px; }
.page-neurips .nav-logo img, .page-neurips .glass-nav.scrolled-nav .nav-logo img { height: 28px; }
.page-neurips .nav-menu { gap: 14px; }
.page-neurips .nav-item, .page-neurips .glass-nav.scrolled-nav .nav-item { font-size: .8125rem; font-weight: 600; }
.page-neurips .section-title, .page-neurips #papers-title { font-size: clamp(1.375rem,1.8vw,1.625rem); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.page-neurips #papers-title { background: none; color: #13294b; -webkit-text-fill-color: currentColor; }
.page-neurips .section-eyebrow { font-size: .65rem; letter-spacing: .16em; font-weight: 700; }
.page-neurips .section-note { font-size: .875rem; line-height: 1.5; max-width: 620px; }
.page-neurips .controls { gap: 8px; }
.page-neurips .controls input, .page-neurips .controls select { height: 36px; font-size: .8125rem; font-weight: 600; }
.page-neurips .paper-cube-card { grid-template-columns: 32px minmax(0,1fr); padding: 6px 8px; gap: 10px; border-radius: 13px; box-shadow: none; background: rgba(255,255,255,.8); }
.page-neurips .paper-cube-card:hover { transform: none; }
.page-neurips .paper-cube-card.active { background: #fff; box-shadow: 0 3px 10px #13294b09; }
.page-neurips .cube-wrap, .page-neurips .cube-svg { width: 32px; height: 32px; }
.page-neurips .cube-wrap, .page-neurips .paper-cube-card.active .cube-wrap { animation: timelineCubeBob 4s ease-in-out infinite; transform: none; filter: none; }
.page-neurips .paper-cube-card:nth-of-type(even) .cube-wrap { animation-delay: -2s; }
@keyframes timelineCubeBob { 0%,100% { transform: translateY(2px); } 50% { transform: translateY(-2px); } }
.page-neurips .cube-svg { transform: none; }
.page-neurips .paper-short { font-size: .78125rem; font-weight: 700; line-height: 1.2; }
.page-neurips .paper-area, .page-neurips .paper-time { font-size: .6875rem; line-height: 1.25; }
.page-neurips .paper-time { font-weight: 650; }
.page-neurips .day-label { font-size: .625rem; padding: 2px 8px; letter-spacing: .12em; }
.page-neurips .timeline-tip { font-size: .6875rem; }
.page-neurips :is(.timeline-scroll,.conference-paper) { scrollbar-width: thin; scrollbar-color: #13294b35 transparent; }
.page-neurips :is(.timeline-scroll,.conference-paper)::-webkit-scrollbar { width: 6px; }
.page-neurips .detail-panel { padding: 16px; }
.page-neurips .detail-panel .paper-title-link { font-size: 1.375rem; font-weight: 750; line-height: 1.18; letter-spacing: -.025em; }
.page-neurips .paper-detail-area { margin-top: 8px; font-size: .71875rem; font-weight: 700; letter-spacing: .08em; }
.page-neurips .paper-description, .page-neurips .workshop-context { font-size: .875rem; line-height: 1.5; font-weight: 400; }
.page-neurips .info-tile { padding: 8px 10px; border-radius: 13px; box-shadow: none; }
.page-neurips .info-label { font-size: .6875rem; font-weight: 650; }
.page-neurips .info-value { font-size: .875rem; font-weight: 650; line-height: 1.35; }
.page-neurips .action-row > :is(a,button), .page-neurips .pager-btn { min-height: 36px; padding: 8px 10px; font-size: .78125rem; font-weight: 650; }
.page-neurips .authors-box { padding: 10px 12px; }
.page-neurips .authors-text { font-size: .8125rem; line-height: 1.5; font-weight: 400; }
.page-neurips .box-label { font-size: .625rem; font-weight: 700; letter-spacing: .12em; }
.page-neurips .contribution-note { margin-top: 6px; font-size: .75rem; }
.page-neurips .bibtex-box { padding: 10px 12px; }
.page-neurips .bibtex-pre { font-size: .75rem; line-height: 1.5; }
.page-neurips .schedule-head h2 { font-size: 1.375rem; }
.page-neurips .schedule-head { padding: 16px 20px; }
.page-neurips #schedule table { font-size: .8125rem; }
.page-neurips #schedule .paper-title-link { font-size: .875rem; font-weight: 650; line-height: 1.35; display: inline-block; }
.page-neurips #schedule th, .page-neurips #schedule .paper-number { font-size: .65rem; }
.page-neurips #schedule th, .page-neurips #schedule td { padding: 10px 12px; }
.page-neurips .attendee-card h3 { font-size: .9375rem; font-weight: 650; }
.page-neurips .attendee-paper-pill { font-size: .71875rem; font-weight: 650; }
.page-neurips .attendee-contact { font-size: .8125rem; }
.page-neurips .partner-card { padding: 24px; }
.page-neurips .partner-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
.page-neurips .partner-card h2 { max-width: 600px; font-size: clamp(1.5rem,2.2vw,1.875rem); font-weight: 750; line-height: 1.15; }
.page-neurips .partner-card p { margin-top: 12px; font-size: .875rem; line-height: 1.6; font-weight: 400; }
.page-neurips .partner-badge { font-size: .65rem; font-weight: 650; }
.page-neurips .partner-tags div { padding: 12px 14px; font-size: .8125rem; font-weight: 600; }
.page-neurips .partner-actions { margin-top: 16px; }
.page-neurips .partner-actions a { padding: 10px 14px; font-size: .8125rem; font-weight: 650; }
@media(min-width:1000px) {
 .page-neurips .poster-grid { grid-template-columns: 310px minmax(0,1fr); }
}
@media(max-width:999px) {
 .page-neurips .partner-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
 html.neurips-page { --section-offset: 20px; }
 .page-neurips main { padding-top: 24px; }
 .page-neurips .glass-nav, .page-neurips .glass-nav.scrolled-nav { top: auto; bottom: calc(12px + env(safe-area-inset-bottom,8px)); padding: 8px 14px; }
 .page-neurips .nav-item, .page-neurips .glass-nav.scrolled-nav .nav-item { font-size: 1.125rem; }
 .page-neurips .page-shell { width: calc(100% - 28px); }
 .page-neurips .action-row > :is(a,button), .page-neurips .pager-btn, .page-neurips .controls input, .page-neurips .controls select { min-height: 44px; }
}

/* Gentle section settling uses native scrolling, without intercepting the wheel. */
@media(min-width:1000px) and (min-height:600px) and (prefers-reduced-motion:no-preference) {
 html.neurips-page { scroll-snap-type: y mandatory; }
 .page-neurips main > section { scroll-snap-align: start; }
}
/* Short or narrow screens keep one continuous page for readable long content. */
@media(max-width:999px), (max-height:599px) {
 body.page-neurips section#timeline.page-shell { height: auto !important; grid-template-rows: auto auto; }
 .page-neurips .detail-panel { height: auto; max-height: none; }
 .page-neurips .conference-paper { overflow: visible; scrollbar-gutter: auto; padding-right: 0; }
 .page-neurips .timeline-scroll { max-height: min(45svh,360px); }
}
@media(min-width:1000px) and (max-height:700px) {
 /* The selected paper retains its full topic; the compact list keeps titles and visit details. */
 .page-neurips .paper-area { display: none; }
 .page-neurips .paper-cube-card { padding-block: 4px; }
 .page-neurips .timeline-list { gap: 4px; }
 .page-neurips .day-separator:not(:first-child) { padding-top: 0; }
}
@media(max-width:999px) {
 .page-neurips .timeline-scroll { max-height: none; flex: none; }
 .page-neurips .paper-cube-card { min-height: 44px; }
}
