:root {
  --paper-primary: #fa8caa;
  --paper-primary-dark: #d85a7a;
  --paper-secondary: #6ec8f0;
  --paper-secondary-dark: #5790c9;
  --rose-ink: #b63e61;
  --blue-ink: #326b9e;
  --text: #363636;
  --muted: #626262;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: 'Noto Sans', sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { color: var(--rose-ink); text-decoration: underline; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--paper-secondary-dark); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p { margin: 0; }
h1, h2, h3 { font-family: 'Google Sans', 'Noto Sans', sans-serif; line-height: 1.25; margin: 0; font-weight: 700; }
h2 { font-size: 1.8rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
strong { font-weight: 700; }
[id] { scroll-margin-top: 28px; }
.container { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.wide-container { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 8px 16px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.publication-header { padding: 50px 0 33px; text-align: center; }
.publication-header h1 { color: var(--paper-primary-dark); font-size: 2.65rem; letter-spacing: -.055rem; }
.publication-tagline { margin: 14px auto 19px; font-family: 'Google Sans', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.5; }
.publication-authors { display: flex; justify-content: center; gap: 6px 20px; flex-wrap: wrap; font-family: 'Google Sans', sans-serif; font-size: 1.2rem; }
.publication-authors span, .publication-authors a { color: var(--blue-ink); }
.affiliation { margin: 5px 0 20px; color: #555; }
.publication-links { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 28px; padding: 8px 20px; min-height: 44px; background: #363636; color: #fff; line-height: 1.5; transition: background .15s; }
.button svg { width: 18px; height: 18px; }
.button:hover { background: var(--rose-ink); color: #fff; text-decoration: none; }
.teaser { margin-top: 8px; }
.teaser img { width: 100%; }
.teaser figcaption { margin: 15px 0 0; text-align: center; font-size: 1.06rem; }
.pink { color: var(--rose-ink); }
.blue { color: var(--blue-ink); }
.section { padding: 48px 0; }
.tldr-section { padding: 35px 0 45px; }
.tldr-box { background: #fff3f7; border-radius: 12px; padding: 24px 30px 28px; font-size: 1.05rem; }
.tldr-box h2 { text-align: center; color: var(--paper-primary-dark); margin-bottom: 12px; }
.tldr-box strong, .content strong { color: var(--rose-ink); }
.divided { position: relative; }
.divided::before { content: ''; position: absolute; top: 0; left: max(24px, calc((100% - 960px) / 2)); right: max(24px, calc((100% - 960px) / 2)); height: 1px; background: #ece8e9; }
.content p + p { margin-top: 16px; }
.insight-box { background: #fff5f8; border: 1px solid #f1c4d1; border-radius: 8px; padding: 17px 21px; margin-top: 25px; }
.blue-box { background: #f0f8fd; border-color: #c4deef; }
.blue-box strong { color: var(--blue-ink); }
.kicker { text-transform: uppercase; color: var(--blue-ink); font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 6px; }
.accent-heading { color: var(--paper-primary-dark); }
.section-subtitle { color: var(--muted); margin: -10px 0 27px; }
.method-detail { background: #faf9fa; border: 1px solid #e8e2e5; border-radius: 12px; padding: 25px 28px; margin-top: 22px; }
.method-detail h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.method-number { display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #efc3d0; border-radius: 50%; background: #fff; color: var(--rose-ink); font-size: .95rem; }
.featured { background: #fff5f8; border-color: #f1c4d1; }
.equation { display: flex; align-items: flex-end; justify-content: center; gap: 25px; margin: 23px 0 16px; padding: 19px 10px; border-radius: 6px; background: #fff; font-family: Georgia, serif; font-size: 1.75rem; text-align: center; line-height: 1.5; }
.equation-label { display: block; font-size: .75rem; font-family: 'Noto Sans', sans-serif; font-weight: 600; margin-bottom: 7px; }
.equation b { font-weight: 400; }
.small { color: var(--muted); font-size: .9rem; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; margin-top: 25px; }
.task-grid img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 7px; }
.task-grid h3 { margin: 15px 0 8px; color: var(--blue-ink); }
.task-grid p { font-size: .9rem; line-height: 1.6; }
.result-figure { margin: 28px 0 20px; }
.result-figure img { width: 100%; }
.result-figure figcaption { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-top: 15px; }
.result-highlights { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; background: #fff4f7; border-radius: 10px; padding: 23px 10px; margin-top: 28px; }
.result-highlights p + p { margin: 0; border-left: 1px solid #edced8; }
.result-highlights strong { display: block; font-size: 1.85rem; font-family: 'Google Sans', sans-serif; }
.result-highlights strong span { color: var(--muted); font-weight: 400; font-size: 1.5rem; }
.result-highlights strong span.baseline { color: var(--text); font: inherit; }
.result-highlights p > span { display: block; color: #69535a; font-size: .85rem; margin-top: 5px; }
.comparison-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.results-details { margin-top: 25px; border-block: 1px solid #e9e3e6; }
summary { cursor: pointer; padding: 13px 0; color: var(--blue-ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; white-space: nowrap; }
th, td { padding: 10px 15px; text-align: left; border-bottom: 1px solid #eee; }
thead { background: #f7f6f7; }
caption { text-align: left; padding: 12px 0; color: var(--muted); }
.recovery-figure { max-width: 820px; margin-inline: auto; }
.citation-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.citation-heading h2 { margin: 0; }
.copy-button { cursor: pointer; color: var(--blue-ink); font: inherit; font-size: .85rem; background: #fff; border: 1px solid #d2dfe9; padding: 9px 16px; border-radius: 6px; min-height: 44px; }
.copy-button:hover { background: #eff8fd; }
pre { background: #f5f5f5; border-radius: 8px; padding: 24px; overflow-x: auto; margin: 0; line-height: 1.65; font-size: .87rem; }
.copy-status { min-height: 24px; color: var(--blue-ink); font-size: .85rem; }
footer { background: #fafafa; padding: 32px 0; text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) {
  .container, .wide-container { width: calc(100% - 36px); }
  .publication-header { padding-top: 36px; }
  .publication-header h1 { font-size: 2.1rem; }
  .publication-tagline { font-size: 1.13rem; max-width: 480px; }
  .publication-authors { font-size: 1.05rem; gap: 5px 15px; }
  .teaser > a { display: block; overflow: hidden; }
  .teaser img { width: 169.5%; max-width: none; }
  .teaser figcaption { font-size: .9rem; padding-inline: 8px; }
  .section { padding: 36px 0; }
  h2 { font-size: 1.55rem; }
  .tldr-box, .method-detail { padding: 21px; }
  .tldr-box { font-size: 1rem; }
  .task-grid { grid-template-columns: 1fr; gap: 28px; }
  .task-grid img { aspect-ratio: 1.7; }
  .task-grid p { font-size: 1rem; }
  .equation { gap: 10px; font-size: 1.45rem; padding-inline: 4px; }
  .equation-label { font-size: .62rem; max-width: 100px; min-height: 30px; }
  .result-highlights strong { font-size: 1.35rem; }
  .result-highlights strong span { font-size: 1rem; }
  .result-highlights p > span { font-size: .7rem; }
  .divided::before { left: 18px; right: 18px; }
  pre { padding: 18px; font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
