/* Shared site layout. */
:root{--max-w:900px;--max-w-wide:1160px;--c-primary:#277a70;--c-accent:#277a70;--c-primary-soft:#dfece8;--c-accent-soft:#edf4f1;--c-bg:#f5f6f2;--c-fg:#24363c;--c-fg-soft:#52696f;--c-muted:#6e8287;--c-surface:#fff;--c-code-bg:#eaf0ee;--c-border:#d8e2de}
:root[data-theme=dark]{--c-bg:#101a20;--c-fg:#e4eeed;--c-fg-soft:#aabcc1;--c-muted:#7f969e;--c-primary:#91cdbd;--c-accent:#91cdbd;--c-primary-soft:#1b3438;--c-accent-soft:#193039;--c-surface:#15242c;--c-code-bg:#132129;--c-border:#2b414a}
body{background:var(--c-bg);font-weight:400;line-height:1.8}h1,h2,h3,h4{font-weight:600;letter-spacing:-.025em}p{font-weight:400}a{transition:color .18s,border-color .18s,background .18s}button,input,select{font-family:inherit}.site-header{background:color-mix(in srgb,var(--c-bg) 94%,transparent);backdrop-filter:blur(12px);box-shadow:none}.header-inner{max-width:1160px}.site-logo{background:none;color:var(--c-fg);-webkit-text-fill-color:initial}.site-logo .dot{color:var(--c-primary)}.nav-links a.active{background:var(--c-primary-soft);color:var(--c-primary)}.nav-links a{font-weight:500}.lang-switch a.active{background:var(--c-primary);color:var(--c-bg)}.search-input{background:transparent}.site-footer{background:transparent;border-top:1px solid var(--c-border);margin-top:60px}.section-head h2::after,.content h2::after{display:none}.site-footer .footer-inner{max-width:1160px}.site-layout .container{padding-bottom:12px}.site-layout p{text-wrap:pretty}.site-layout .hero,.site-layout .article-header{background:none;box-shadow:none;border-radius:0}.site-prose{text-align:justify;text-align-last:start;hyphens:auto;-webkit-hyphens:auto}
.home-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center;padding:68px 0 54px;border-bottom:1px solid var(--c-border)}.home-identity{font-size:13px;color:var(--c-primary);margin:0 0 21px}.home-intro h1{font-size:40px;line-height:1.42;letter-spacing:-.045em;margin:0 0 22px}.home-intro .home-description{max-width:520px;font-size:15px;line-height:1.95;color:var(--c-fg-soft);margin:0 0 24px}.home-links{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px}.home-links a{padding:7px 0;border-bottom:1px solid var(--c-border)}.home-links a:first-child{border-bottom-color:var(--c-primary)}.home-scene{height:350px;min-width:0}.home-scene canvas{width:100%;height:100%;display:block;touch-action:pan-y}.preview-section{padding:34px 0 12px}.preview-section-head{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin-bottom:22px}.preview-section-head h2{font-size:22px;margin:0}.preview-section-head>a{font-size:12px;color:var(--c-fg-soft)}.home-work-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}.home-work{min-width:0}.home-work figure{margin:0 0 18px;height:240px;background:#f8faf8;display:flex;align-items:center;justify-content:center;border-radius:3px;padding:14px}.home-work img{width:100%;height:100%;object-fit:contain}.home-work h3{font-size:20px;line-height:1.65;margin:7px 0 9px}.home-work p{color:var(--c-fg-soft);font-size:14px;line-height:1.85;margin:8px 0}.home-work .home-venue{font-size:12px;color:var(--c-primary)}.home-work a{color:inherit}.home-work a:hover{color:var(--c-primary)}.home-topics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-top:1px solid var(--c-border);border-bottom:1px solid var(--c-border)}.home-topics a{padding:20px 17px;border-right:1px solid var(--c-border);font-size:14px;line-height:1.8}.home-topics a:first-child{padding-left:0}.home-topics a:last-child{border:0}.home-topics small{display:block;font-size:11px;color:var(--c-muted);margin-top:9px}.home-recent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 35px}.home-recent a{display:block;padding:17px 0;border-bottom:1px solid var(--c-border)}.home-recent strong{display:block;font-size:16px;font-weight:500;line-height:1.8}.home-recent small{display:block;font-size:11px;color:var(--c-muted);margin:5px 0}.home-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home-event img{width:100%;height:180px;object-fit:contain;background:var(--c-surface)}.home-event time{display:block;color:var(--c-muted);font:12px/1.8 var(--font-mono);margin-top:13px}.home-event h3{font-size:16px;font-weight:500;line-height:1.8;margin:4px 0}.home-event a{color:inherit}
.explore-header{padding:45px 0 27px;border-bottom:1px solid var(--c-border)}.explore-header h1{font-size:32px;margin:0 0 12px}.explore-header p{font-size:14px;color:var(--c-fg-soft);max-width:760px;margin:0;line-height:1.85;text-align:justify;hyphens:auto}.topic-filters{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 14px}.topic-filters a,.topic-filters button{font:500 13px/1.7 var(--font-sans);border:1px solid var(--c-border);background:transparent;color:var(--c-fg-soft);padding:7px 13px;border-radius:4px;cursor:pointer}.topic-filters [aria-pressed=true],.topic-filters [aria-current=page]{background:var(--c-primary-soft);color:var(--c-primary);border-color:var(--c-primary)}.explore-list{margin-top:16px}.explore-row{display:grid;grid-template-columns:160px minmax(0,1fr) 30px;gap:24px;padding:25px 0;border-bottom:1px solid var(--c-border);align-items:start;min-width:0}.explore-row[hidden]{display:none}.explore-row .topic-name{font-size:12px;line-height:1.8;color:var(--c-muted);padding-top:5px}.explore-row h2{font-size:19px;font-weight:500;line-height:1.6;margin:0 0 9px}.explore-row h2 a{color:var(--c-fg)}.explore-row h2 a:hover{color:var(--c-primary)}.explore-row p{font-size:14px;line-height:1.9;color:var(--c-fg-soft);margin:0;max-width:760px;text-align:justify;text-align-last:start;hyphens:auto}.explore-row>a{font-size:20px;color:var(--c-muted);padding-top:3px}
.reading-page>.container{max-width:900px}.reading-page .article-header{margin:18px 0 22px;padding:0 0 23px;border-bottom:1px solid var(--c-border)}.reading-page .article-header h1{font-size:32px;line-height:1.5;font-weight:600;margin:12px 0}.reading-page .article-header .lang-badge{display:none}.reading-page .article-meta{font-size:12px;margin-top:16px}.reading-page .article-breadcrumb{font-size:12px;padding-top:32px}.reading-page .card-tags{margin-top:18px!important}.reading-page .tag-pill{font-size:11px;border-radius:3px;background:transparent;border:1px solid var(--c-border)}.reading-page .content{font-size:15px;line-height:1.95;margin-top:25px}.reading-page .content h2{font-size:23px;line-height:1.6;font-weight:600;border-bottom:1px solid var(--c-border);margin-top:36px;padding-bottom:10px}.reading-page .content h3{font-size:19px;font-weight:600;line-height:1.65}.reading-page .content p{text-align:justify;text-align-last:start;hyphens:auto}.reading-page .content .toc{font-size:13px;background:transparent;border:1px solid var(--c-border);padding:14px 18px;margin-bottom:30px}.reading-page .content img{background:#fafcfb;border:1px solid var(--c-border);border-radius:3px;margin:22px 0 10px;max-width:100%;height:auto}.reading-page .content img+p{font-size:12px;text-align:start}.reading-page .related h2,.reading-page section:has(>.giscus) h2{font-size:20px}.reading-page .prev-next-nav{border-top:1px solid var(--c-border);font-size:13px;gap:25px;padding:22px 0}.reading-page .content pre{font-size:13px;border-radius:4px}.reading-page .content mjx-container{line-height:1.6}
.tutorial-reader{--ink:var(--c-fg);--muted:var(--c-fg-soft);--paper:var(--c-bg);--accent:var(--c-primary);font-weight:400}.tutorial-reader h1{font-size:32px;line-height:1.45}.tutorial-reader .lead{font-size:16px}.tutorial-reader .paper-header{border-bottom:1px solid var(--c-border)}.tutorial-reader h2{font-size:23px;font-weight:600}.tutorial-reader h3{font-weight:600}.tutorial-reader .figure{border-radius:4px}.tutorial-toolbar{border-top:0}.cv-page{max-width:900px;margin:auto}.cv-page .content{font-size:14px;line-height:1.85}.cv-page>.section-title{font-size:30px;font-weight:600}.cv-page h2{font-size:22px}.cv-page table td:first-child{color:var(--c-primary)}.cv-page .pub-list li{padding:12px 0}.tool-page{max-width:980px;margin:auto}.tool-page h1{font-size:30px;font-weight:600}.tool-page .tool-panel{border-radius:5px}.fibernet-page{max-width:1120px;font-weight:400}.fibernet-page .fn-panel{background:transparent;border-radius:0;border:0;border-top:1px solid var(--c-border);padding:22px 0}.fibernet-page .fn-two-column{gap:45px}.fibernet-page .fn-section{margin-bottom:32px}.fibernet-page .fn-section>h2{font-size:22px}.fibernet-page .fn-hero{margin-top:30px;border:0;background:transparent;padding:32px 0 40px;border-bottom:1px solid var(--c-border);border-radius:0}.fibernet-page .fn-actions a{border-radius:4px}
@media(min-width:1100px){.reading-page .toc[open] ul{columns:2;column-gap:25px}.reading-page .toc li{break-inside:avoid}}
@media(max-width:760px){body{font-size:14px}.site-footer{margin-top:35px}.container{padding-left:17px;padding-right:17px}.home-intro{grid-template-columns:1fr;gap:12px;padding:26px 0 22px}.home-identity{font-size:11.5px;margin-bottom:12px}.home-intro h1{font-size:24px;line-height:1.45;margin-bottom:14px}.home-intro .home-description{font-size:13.5px;line-height:1.85;margin-bottom:15px}.home-links{font-size:12.5px;gap:15px}.home-scene{height:210px}.preview-section{padding-top:24px}.preview-section-head{margin-bottom:17px}.preview-section-head h2{font-size:19px}.preview-section-head>a{font-size:11px}.home-work-grid{grid-template-columns:1fr;gap:25px}.home-work figure{height:220px;margin-bottom:13px;padding:10px}.home-work h3{font-size:16px;line-height:1.7;margin:5px 0}.home-work p{font-size:13.5px;line-height:1.8}.home-work .home-venue{font-size:11px}.home-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-topics a,.home-topics a:first-child{padding:12px 10px;font-size:12.5px;border-bottom:1px solid var(--c-border)}.home-topics a:nth-child(2n){border-right:0}.home-topics small{font-size:10.5px;margin-top:3px}.home-recent{grid-template-columns:1fr}.home-recent a{padding:13px 0}.home-recent strong{font-size:14px}.home-recent small{font-size:11px}.home-events{grid-template-columns:1fr;gap:19px}.home-event{display:grid;grid-template-columns:115px 1fr;gap:12px;align-items:center}.home-event>a{display:contents}.home-event img{height:100px;grid-row:1/3}.home-event time{margin:0;align-self:end;font-size:11px}.home-event h3{font-size:13px;line-height:1.7;margin:0;align-self:start}.explore-header{padding:24px 0 18px}.explore-header h1{font-size:24px;line-height:1.4}.explore-header p{font-size:13px;line-height:1.8}.topic-filters{gap:7px;margin:17px 0 8px}.topic-filters a,.topic-filters button{font-size:12px;padding:6px 9px;min-height:34px}.explore-row{grid-template-columns:minmax(0,1fr) 22px;gap:5px 8px;padding:18px 0}.explore-row .topic-name{grid-column:1;font-size:11px;padding:0}.explore-row>div{grid-column:1}.explore-row>a{grid-column:2;grid-row:2;font-size:18px}.explore-row h2{font-size:15px;line-height:1.7;margin-bottom:6px}.explore-row p{font-size:13px;line-height:1.8}.reading-page .article-header{padding-bottom:15px;margin-bottom:18px}.reading-page .article-header h1{font-size:24px;line-height:1.4}.reading-page .article-breadcrumb{padding-top:18px;font-size:11px}.reading-page .article-meta{font-size:11px;gap:6px 10px;margin-top:12px}.reading-page .content{font-size:14px;line-height:1.85;margin-top:18px}.reading-page .content h2{font-size:19px;line-height:1.55;margin-top:27px;padding-bottom:8px}.reading-page .content h3{font-size:16px}.reading-page .content .toc{font-size:12px;padding:10px 13px;margin-bottom:23px}.reading-page .content pre{font-size:12px}.reading-page .related h2{font-size:19px}.reading-page .content img+p{font-size:12px}.tutorial-reader h1{font-size:24px;line-height:1.4}.tutorial-reader h2{font-size:19px}.tutorial-reader h3{font-size:16px}.tutorial-reader .lead{font-size:14px}.cv-page>.section-title,.tool-page h1{font-size:24px}.cv-page .content{font-size:13.5px}.cv-page h2{font-size:19px}.cv-page h3{font-size:16px}.fibernet-page .fn-hero{padding:15px 0 25px;margin-top:5px}.fibernet-page .fn-two-column{gap:18px}.fibernet-page .fn-section>h2{font-size:19px}.fibernet-page .fn-panel{padding:17px 0}.fibernet-page .fn-scene{height:250px}}
@media(max-width:360px){.container{padding-left:13px;padding-right:13px}.home-intro h1,.explore-header h1,.reading-page .article-header h1,.tutorial-reader h1,.cv-page>.section-title,.tool-page h1{font-size:22px}.home-scene{height:190px}}
@media(prefers-reduced-motion:reduce){html:not([data-motion="full"]) *{scroll-behavior:auto!important;transition:none!important}}
html[data-motion="reduced"] *{scroll-behavior:auto!important;transition:none!important}
