.masthead{z-index:30;display:block;right:auto;max-width:calc(100% - 32px)}
.identity{border:0;background:#ffffffdc;padding:12px 15px;border-radius:3px;font:700 18px 'Courier New',monospace;letter-spacing:0;color:#303930;display:flex;gap:14px;align-items:center;text-align:left}
.identity #owner{display:inline}.menu-chevron{display:inline-block!important;width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg);margin-top:-5px}
#name-menu{pointer-events:auto;margin-top:5px;background:#fff;border:1px solid #a9b5c2;box-shadow:4px 6px 0 #00000015;min-width:240px;padding:6px}
#name-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:13px 14px;font:700 16px 'Courier New',monospace}#name-menu button:hover,#name-menu button:focus-visible{background:#e7effd;color:#114aa0}
#page-dialog{width:min(1000px,calc(100% - 40px));height:min(880px,calc(100dvh - 60px));max-height:calc(100dvh - 60px);padding:0;border:3px solid #0655df;border-top:0;border-radius:8px 8px 0 0;background:white;color:#202a38;box-shadow:0 20px 70px #0004;overflow:hidden;font:700 16px Tahoma,Arial,sans-serif}
#page-dialog[open]{display:flex;flex-direction:column}#page-dialog::backdrop{background:#263c5344;backdrop-filter:blur(3px)}
#page-dialog>.window-title{height:40px;min-height:40px;font-size:16px;padding:6px 8px 6px 12px;display:flex;gap:12px}#page-dialog-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#close-page{margin-left:auto;flex-shrink:0;width:28px;height:28px;border:1px solid #ffe5d3;border-radius:3px;background:linear-gradient(135deg,#f4ae93,#d83d19 70%);box-shadow:inset 1px 1px #ffffff65;font:bold 25px/21px Arial;color:#fff}
#page-dialog-content{padding:36px 44px;overflow:auto;min-height:0;scrollbar-color:#aac2e6 #f3f3ef;overscroll-behavior:contain;flex:1}#page-dialog-content:focus{outline:none}
.research-article{max-width:760px;margin:0 auto;font:700 16px/1.75 Tahoma,Arial,sans-serif;color:#263242;overflow-wrap:anywhere}
.research-article h2{font-size:30px;line-height:1.25;letter-spacing:-.5px;margin:0 0 26px;color:#153e77}.research-article h3{font-size:21px;line-height:1.4;margin:32px 0 12px;color:#153e77}
.research-article p{margin:0 0 20px}.research-article a{color:#145abb;text-underline-offset:4px}.research-label{font:700 14px/1.5 Tahoma,Arial,sans-serif;color:#60738c;margin:0 0 12px!important}
.research-hero{margin:22px 0 30px}.research-hero img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}.research-article figcaption{font-size:14px;line-height:1.6;color:#53637a;margin-top:10px}.research-hero figcaption{text-align:center}
.equation{overflow-x:auto;overflow-y:hidden;max-width:100%;padding:3px 5px;margin:16px 0;overscroll-behavior-x:contain}.equation .katex-display{margin:.45em 0}.katex{font-size:1.1em}.katex-display>.katex{white-space:nowrap;overflow-wrap:normal}
.result-box{padding:20px 24px;background:#eff5ff;border-left:4px solid #3472be;margin:20px 0 24px}.result-box p:last-child{margin-bottom:0}
.technical-note{border-top:1px solid #d6e0ec;border-bottom:1px solid #d6e0ec;padding:16px 0;margin:24px 0}.technical-note summary{cursor:pointer;color:#164e91}.technical-note[open] summary{margin-bottom:20px}
.preprint-note{border-top:1px solid #cdd9e8;padding-top:24px;margin-top:32px!important}.work-note,.in-progress{color:#7c541c}.back-projects,.read-project{border:1px solid #9caec5;border-radius:3px;background:#f4f7fc;color:#204a83;padding:8px 14px;font:700 14px Tahoma,Arial,sans-serif;cursor:pointer}.back-projects{margin-bottom:26px}.read-project:hover,.back-projects:hover{background:#e4edfb}
.project-entry{border-top:1px solid #d9e2ee;padding:27px 0;display:flex;gap:22px;align-items:start}.project-entry h3{margin:0 0 10px;font-size:23px}.project-entry h3 button{font:inherit;color:inherit;line-height:inherit;text-align:left;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-decoration-color:#a9bfdc;text-underline-offset:5px}.project-entry p{margin-bottom:15px}.project-thumb{width:180px;height:136px;object-fit:contain;flex-shrink:0}.project-entry>div{min-width:0}.project-entry:last-child{border-bottom:1px solid #d9e2ee}
.sketch-examples{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0}.sketch-examples figure{margin:0;padding:15px;background:#fffefb;border:1px solid #e0ded6;border-radius:4px;transform:rotate(-.5deg)}.sketch-examples figure+figure{transform:rotate(.5deg)}.forest-sketch{width:100%;height:auto;display:block}.forest-sketch text{font:20px 'Comic Sans MS','Segoe Print',cursive}
.video-frame{position:relative;aspect-ratio:16/9;background:#14253d;margin:22px 0;border:1px solid #b8c8db}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.resource-links{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0}.email-link{overflow-wrap:anywhere}.contact-page{padding-bottom:10px}
.folder-content{padding:28px 34px}.folder-window .research-article{font-size:16px}.folder-window .research-article h2{font-size:28px}.folder-window .research-article h3{font-size:21px}
@media(max-width:650px){.masthead{left:16px;top:20px}.identity{font-size:16px;padding:10px 12px}#name-menu{min-width:220px}#page-dialog{width:calc(100% - 20px);height:calc(100dvh - 26px);max-height:calc(100dvh - 26px)}#page-dialog-content{padding:25px 20px}.research-article h2,.folder-window .research-article h2{font-size:25px}.project-entry{display:block}.project-thumb{width:100%;height:150px;margin-bottom:18px}.sketch-examples{grid-template-columns:1fr;gap:20px}.result-box{padding:15px 12px}.folder-content{padding:24px 18px}.equation{font-size:15px}}

@font-face{font-family:'CMU Serif';src:url('./assets/fonts/cmunrm.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'CMU Serif';src:url('./assets/fonts/cmunbx.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'CMU Serif';src:url('./assets/fonts/cmunti.otf') format('opentype');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'CMU Serif';src:url('./assets/fonts/cmunbi.otf') format('opentype');font-weight:700;font-style:italic;font-display:swap}
:is(.project-page,.project-index),:is(.project-page,.project-index) :not(.katex):not(.katex *),#computer :is(.project-page,.project-index),#computer :is(.project-page,.project-index) :not(.katex):not(.katex *){font-family:'CMU Serif',Georgia,serif!important;font-weight:400!important}
:is(.project-page,.project-index) :is(h2,h3,strong,summary),#computer :is(.project-page,.project-index) :is(h2,h3,strong,summary){font-weight:700!important}
:is(.project-page,.project-index),.folder-window :is(.project-page,.project-index){font-size:18px;line-height:1.65}
:is(.project-page,.project-index) .research-label,:is(.project-page,.project-index) figcaption{font-size:16px}
.game-steps{padding-left:1.6em;margin:20px 0}.game-steps li{padding-left:.25em;margin:12px 0}
