/* Uses the site's verified text, background, border and muted tokens. */
.pg-main .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pg-main .pg-paper h2 a{color:var(--text)}
.pg-art img{padding:var(--art-inset,0);box-sizing:border-box}
html[data-theme=dark] #primaryNav a,html[data-theme=dark] .theme-toggle{color:var(--muted)}
@media(max-width:900px){body:not(.nav-open) #primaryNav{box-shadow:none}}
main.pg-main{max-width:1600px;width:100%;padding:48px clamp(20px,4vw,64px);margin:auto}
.pg-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:40px}.pg-heading h1{font-size:clamp(48px,6vw,84px);font-weight:400;line-height:1.05;margin:0 0 16px}.pg-heading p{color:var(--muted);margin:0}.pg-views{display:flex;gap:20px}
.pg-main button,.pg-main input,.pg-main select{font:inherit;color:var(--text);background:var(--bg);border:0;border-radius:0;min-height:44px}.pg-main button{cursor:pointer}.pg-main button:focus-visible,.pg-main a:focus-visible,.pg-main input:focus-visible,.pg-main select:focus-visible{outline:2px solid currentColor;outline-offset:4px}.pg-views button[aria-pressed=true]{text-decoration:underline;text-underline-offset:7px}
.pg-tools{display:flex;gap:24px;align-items:center;border-block:1px solid var(--border);padding:12px 0}.pg-tools label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.pg-search{flex:1;min-width:160px}.pg-search input{width:100%;min-width:0}.pg-search input::placeholder{color:var(--muted);opacity:1}.pg-tools select{max-width:160px}.pg-status{display:flex;align-items:center;justify-content:space-between;min-height:60px;color:var(--muted);font-size:12px}.pg-status p{margin:0}#pg-clear{text-decoration:underline}
.pg-collection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 24px}.pg-paper{min-width:0}.pg-main .pg-art{display:block;width:100%;padding:0;aspect-ratio:3/4;overflow:hidden;background:white}.pg-art img{display:block;width:100%;height:100%;object-fit:contain}.pg-copy{padding-top:16px}.pg-meta{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 8px}.pg-paper h2{font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;margin:0}.pg-paper h2 a{text-decoration:none}.pg-paper h2 a:hover{text-decoration:underline;text-underline-offset:4px}.pg-authors{display:none;color:var(--muted);font-size:13px;line-height:1.6}.pg-footnote{font-size:12px;color:var(--muted);border-top:1px solid var(--border);margin-top:64px;padding-top:24px}
.pg-collection[data-view=list]{display:block}.pg-collection[data-view=list] .pg-paper{display:grid;grid-template-columns:100px 1fr;gap:28px;padding:24px 0;border-bottom:1px solid var(--border)}.pg-collection[data-view=list] .pg-authors{display:block}.pg-collection[data-view=list] .pg-copy{padding-top:0}.pg-main [hidden]{display:none!important}
#pg-dialog{background:var(--bg);color:var(--text);border:1px solid var(--border);padding:24px;width:min(640px,calc(100% - 32px));max-height:90dvh;overflow:auto}#pg-dialog::backdrop{background:rgb(0 0 0 / .65)}#pg-close{display:block;margin-left:auto}#pg-large{display:block;max-height:58dvh;max-width:100%;margin:12px auto 24px;object-fit:contain}#pg-dialog h2{font-size:20px;line-height:1.4}#pg-read{display:inline-block;padding:12px 0;text-decoration:underline}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.pg-art img{transition:transform 180ms ease-out}.pg-art:hover img{transform:perspective(900px) rotateX(2deg) rotateY(-4deg) scale(1.02)}.pg-art:active img{transform:scale(.98)}}
@media(max-width:1100px){.pg-collection{grid-template-columns:repeat(3,minmax(0,1fr))}.pg-tools{flex-wrap:wrap}.pg-search{flex-basis:100%}}
@media(max-width:700px){main.pg-main{padding-top:32px}.pg-heading{align-items:start;flex-direction:column;gap:20px;margin-bottom:24px}.pg-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}.pg-tools{gap:4px 14px}.pg-tools label{font-size:12px;gap:4px}.pg-tools select{max-width:135px}.pg-paper h2{font-size:14px}.pg-collection[data-view=list] .pg-paper{grid-template-columns:64px 1fr;gap:16px}}
@media(forced-colors:active){.pg-main button:focus-visible,.pg-main a:focus-visible{outline-color:Highlight}.pg-views button[aria-pressed=true]{border-bottom:2px solid Highlight}}
