@layer engine{.portal-shelf{--portal-shelf-height:10rem;margin-top:2.75rem}.portal-shelf-row{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:0.8rem;padding:0.6rem 0.3rem 0}.portal-shelf-row::after{content:"";position:absolute;left:-0.6rem;right:-0.6rem;bottom:-12px;height:12px;background:linear-gradient(var(--text) 0 3px,color-mix(in srgb,var(--text) 14%,var(--bg)) 3px 100%);border-bottom:1px solid color-mix(in srgb,var(--text) 55%,transparent);box-shadow:0 6px 10px -6px color-mix(in srgb,var(--text) 35%,transparent);pointer-events:none}#markdownBody .portal-shelf-facet{display:flex;flex:0 1 auto;align-items:flex-end;gap:3px;min-width:0;margin:0;padding:0;list-style:none}#markdownBody .portal-shelf-facet>li{flex:0 1 auto;width:clamp(1.15rem, (1.15rem + 0.3rem*sqrt(var(--count, 0))), 2.8rem);min-width:0;margin:0;padding:0}#markdownBody .portal-spine{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;height:var(--portal-shelf-height);padding:0.9rem 0 0.4rem;background:var(--text);color:var(--bg);text-decoration:none;box-shadow:inset 1px 0 0 color-mix(in srgb,var(--bg) 16%,transparent),inset -1px 0 0 color-mix(in srgb,var(--bg) 8%,transparent);transition:transform var(--transition-medium)}#markdownBody .portal-spine:visited{color:var(--bg)}.portal-spine::before,.portal-spine::after{content:"";position:absolute;left:0.3rem;right:0.3rem;height:3px;border-top:1px solid color-mix(in srgb,var(--bg) 45%,transparent);border-bottom:1px solid color-mix(in srgb,var(--bg) 45%,transparent)}.portal-spine::before{top:0.35rem}.portal-spine::after{bottom:1.35rem}#markdownBody .portal-spine--research,#markdownBody .portal-spine--research:visited{background:var(--bg);color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.portal-spine--research::before,.portal-spine--research::after{border-color:color-mix(in srgb,var(--text) 40%,transparent)}.portal-spine-title{max-height:calc(var(--portal-shelf-height) - 2.9rem);overflow:hidden;font-family:var(--font-serif);font-size:var(--step--4);line-height:1.15;letter-spacing:calc(0.04em*var(--tracking-scale));white-space:nowrap;text-overflow:ellipsis;writing-mode:vertical-rl}.portal-spine-count{font-family:var(--font-serif);font-size:var(--step--3);font-variant-numeric:oldstyle-nums;letter-spacing:calc(0.03em*var(--tracking-scale));opacity:var(--shelf-detail-opacity)}#markdownBody .portal-spine:hover,#markdownBody .portal-spine:focus-visible,#markdownBody .portal-spine.is-out{transform:translateY(-0.4rem)}#markdownBody .portal-spine:focus-visible{outline:2px solid var(--text);outline-offset:3px}.portal-shelf-open{margin-top:2.4rem}.portal-shelf-stage{position:relative}.portal-shelf-stage .tag-map a{text-decoration:none}.portal-shelf-cover{position:absolute;inset:0;display:block;max-width:100%;max-height:calc(100% - 1rem);margin:auto;border:1px solid var(--border);background:var(--shelf-paper,var(--bg))}.portal-shelf-cover[hidden]{display:none}.portal-shelf-stage.is-cover .tag-map{visibility:hidden}#markdownBody .portal-shelf-caption{display:flex;flex-direction:column;align-items:center;margin:0.9rem 0 0;text-align:center;text-indent:0;line-height:1.35}#markdownBody .portal-shelf-caption-title{color:var(--text);text-decoration:none}#markdownBody .portal-shelf-caption-title:hover{text-decoration:underline;text-decoration-color:var(--link-hover-underline)}.portal-shelf-caption-meta{font-style:italic;color:var(--text-muted)}@media (max-width:680px){.portal-shelf{--portal-shelf-height:7rem;margin-inline:calc(clamp(1px, (100vw - 318px)/2, 0.4rem) - var(--page-padding))}.portal-shelf-row::after{left:0;right:0}.portal-shelf-row{gap:0;padding:0.6rem 0 0}#markdownBody .portal-shelf-facet{display:contents}#markdownBody .portal-shelf-facet>li{flex:1 1 0;width:auto;min-width:0;margin-left:1px}#markdownBody .portal-shelf-facet+.portal-shelf-facet>li:first-child{margin-left:clamp(3px, (100vw - 300px)/6, 0.3rem)}#markdownBody .portal-spine{padding:0.6rem 0 0.4rem}.portal-spine::after{bottom:0.35rem}.portal-spine-title{max-height:calc(var(--portal-shelf-height) - 1.4rem);font-size:var(--step--5)}.portal-spine-count{display:none}.portal-shelf-stage .tag-map{min-width:0}}@media (prefers-reduced-motion:reduce){#markdownBody .portal-spine{transition:none}}}