:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #595959;
  --rule: #d8d8d8;
}
* { box-sizing: border-box; }
html { background: #fff; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: underline; text-underline-offset: .17em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.site-shell { width: min(100% - 48px, 760px); margin: 0 auto; }
.site-header { padding: 56px 0 25px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.site-name { display: inline-block; margin: 0; font-size: 2rem; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.home-link { text-decoration: none; }
.has-portrait { position: relative; padding-right: 176px; min-height: 226px; }
.portrait { position: absolute; top: 56px; right: 0; display: block; width: 144px; height: 144px; }
.affiliation { color: var(--muted); font-size: .94rem; margin: 10px 0 15px; }
.contact-email { font-size: .94rem; margin: 0 0 15px; }
.email-address { text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 6px 25px; font-size: .94rem; }
.site-name + .contact-email { margin-top: 10px; }
nav a { padding: 3px 0; }
nav [aria-current="page"] { text-decoration-thickness: 2px; }
main { min-height: 180px; }
main:focus { outline: none; }
p { margin: 0 0 18px; }
section { margin: 0 0 36px; }
h1, h2, h3, h4 { line-height: 1.3; }
main h1 { font-weight: 400; font-size: 1.85rem; margin: 0 0 14px; }
h2 { font-size: 1.32rem; margin: 0 0 18px; font-weight: 400; }
.subheading { font-size: 1rem; margin: 24px 0 14px; font-weight: 700; }
.research-list { list-style: none; padding: 0; margin: 0; }
.research-list li { margin: 0 0 23px; }
.research-list h3 { font-size: 1rem; font-weight: 400; line-height: 1.55; margin: 0 0 6px; }
.research-list p { margin: 0; font-size: .94rem; }
.research-venue { color: var(--muted); font-style: italic; }
.research-item--visual { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 24px; align-items: start; }
.research-visual { position: relative; display: block; width: 184px; line-height: 0; border-radius: 4px; text-decoration: none; }
.research-visual video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #e5e5e5; border-radius: 4px; background: #f7f6f2; }
.research-item--network, .research-item--diagram { grid-template-columns: minmax(0, 1fr) 232px; }
.research-visual--network, .research-visual--diagram { width: 232px; }
.research-visual--network video, .research-visual--diagram video { border-color: transparent; background: #fff; }
.research-visual-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; pointer-events: none; }
.research-visual.is-playing .research-visual-poster { visibility: hidden; }
.research-visual-title { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 2; width: 290px; max-width: calc(100vw - 40px); padding: 12px 14px; color: #fff; background: var(--ink); border-radius: 4px; font-size: .78rem; line-height: 1.5; opacity: 0; visibility: hidden; transition: opacity .15s ease; }
.research-visual-title::after { content: ""; position: absolute; top: 100%; right: 22px; border: 6px solid transparent; border-top-color: var(--ink); }
.research-visual-title::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.research-visual:hover .research-visual-title, .research-visual:focus .research-visual-title { opacity: 1; visibility: visible; }
.research-visual.is-dismissed .research-visual-title { opacity: 0; visibility: hidden; }
.video-dialog-open { overflow: hidden; }
.research-video-dialog { width: min(840px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); background: #fff; font: inherit; }
.research-video-dialog::backdrop { background: rgb(0 0 0 / .6); }
.research-video-toolbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; margin: 0 0 12px; background: #fff; }
.research-video-close { min-height: 44px; padding: 8px 12px; border: 0; background: #fff; color: inherit; font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .17em; cursor: pointer; }
.research-video-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.research-video-dialog h2 { margin: 0 0 16px; font-size: 1rem; line-height: 1.5; }
.research-video-caption { font-size: .9rem; line-height: 1.55; margin: 0 0 16px; }
.research-player { display: block; width: 100%; height: auto; max-height: 65dvh; object-fit: contain; background: #fff; }
@media (max-width: 600px) {
  .research-item--visual { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .research-visual { order: -1; }
  .research-visual-title { right: auto; left: 0; }
  .research-visual-title::after { right: auto; left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .research-visual-title { transition: none; }
}

.update-list { list-style: none; padding: 0; margin: 20px 0 0; }
.update-list li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 8px 22px; padding: 15px 0; border-top: 1px solid var(--rule); }
.update-list time { padding-top: 2px; font-size: .85rem; color: var(--muted); }
.update-list p { font-size: .94rem; margin: 5px 0 0; }
.update-title { line-height: 1.45; }
.archive-link { margin-top: 18px; font-size: .94rem; }
.page-intro, .post-date { color: var(--muted); }
.post-header { margin-bottom: 28px; }
.post-header h1 { overflow-wrap: anywhere; }
.post-date, .back-link { font-size: .88rem; }
.back-link { margin-bottom: 22px; }
.post-body h2 { margin-top: 32px; }
.post-body h3 { font-size: 1.1rem; margin-top: 28px; }
.post-body a, .post-body p, .post-body li { overflow-wrap: anywhere; }
.post-body img, .post-body video, .post-body svg { max-width: 100%; height: auto; }
.post-body blockquote { border-left: 2px solid var(--rule); margin: 24px 0; padding-left: 22px; }
.post-body pre { overflow-x: auto; border: 1px solid var(--rule); padding: 14px; font-size: .8rem; line-height: 1.5; }
.post-body code { font-size: .85em; }
.post-body pre code { font-size: inherit; }
.post-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
.post-body th, .post-body td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.site-footer { border-top: 1px solid var(--rule); padding: 23px 0 40px; display: flex; flex-wrap: wrap; gap: 10px 25px; font-size: .88rem; }
.site-footer a { overflow-wrap: anywhere; }
.skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 8px 12px; z-index: 2; }
.skip-link:focus { top: 12px; }
@media (max-width: 480px) {
  body { font-size: 17px; }
  .site-shell { width: calc(100% - 40px); }
  .site-header { padding-top: 32px; margin-bottom: 26px; }
  .site-name { font-size: 1.85rem; }
  .affiliation { font-size: .85rem; }
  nav { gap: 6px 20px; font-size: .9rem; }
  .update-list li { grid-template-columns: 1fr; gap: 3px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .has-portrait { padding-right: 0; min-height: 0; }
  .portrait { position: static; margin-bottom: 24px; }
}
@media print {
  .portrait { top: 0; }
  .skip-link, nav, .back-link, .research-visual { display: none; }
  .research-item--visual { display: block; }
  .site-shell { width: 100%; }
  .site-header { padding-top: 0; }
  a { text-decoration: none; }
  section, .research-list li { break-inside: avoid; }
}
