@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600;700&family=Noto+Serif+KR:wght@500;600;700&display=swap");

:root{
  /* Light (default) */
  --bg: #ffffff;
  --panel: #f6f7f9;
  --panel2: #fbfbfc;
  --text: #0f172a;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, .10);
  --accent: #111827;
  --code-bg: #f3f5f9;
  --code-text: #182033;
  --code-muted: #64748b;
  --code-line: rgba(15, 23, 42, .12);
  --inline-code-bg: #eef2f7;
  --inline-code-text: #182033;
  --syntax-comment: #64748b;
  --syntax-punctuation: #475569;
  --syntax-property: #0f766e;
  --syntax-string: #047857;
  --syntax-function: #2563eb;
  --syntax-keyword: #7c3aed;
  --syntax-number: #c2410c;
  --syntax-operator: #334155;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --max: 980px;
  --page-max: 1500px;
  --right-rail: 330px;
  --layout-gap: 34px;
  --content-side-gutter: clamp(28px, 4vw, 64px);
  --section-title-size: 22px;
  --section-heading-size: 23px;
  --section-subheading-size: 17px;
  --bookmark-size: 12px;
  --bookmark-minor-size: 11.5px;
  --note-font-ko: "Noto Serif KR", "Noto Serif Korean", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --note-font-en: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --note-font: var(--note-font-ko);
}

[data-lang-panel][hidden]{
  display:none !important;
}

.deep-dive-more.is-visible{
  display:flex;
}

.post-body .deep-section{
  margin-top:26px;
}

.post-body .deep-section:first-child{
  margin-top:0;
}

.post-body .deep-section > .summary-panel,
.post-body .deep-section > .result-brief,
.post-body .deep-section > .section-note{
  margin-top:14px;
}

.post-body .deep-section > details.supplement-toggle{
  margin-top:16px;
}

.post-body .deep-section > details.supplement-toggle[open]{
  padding-left:0;
  padding-right:0;
}

.post-body .deep-section > details.supplement-toggle[open] > .appendix-details{
  margin-left:auto;
  margin-right:auto;
}

.post-body .deep-section figure.image img{
  max-height:620px;
  object-fit:contain;
}

.post-body .summary-table td,
.post-body .summary-table li,
.post-body .result-brief article p,
.post-body .section-note p,
.post-body .map-card p,
.post-body .compare-grid p{
  font-size:.92em;
}

:root[lang="en"]{
  --note-font: var(--note-font-en);
}

/* Dark gray sits between the white default and the near-black dark theme. */
:root[data-theme="dark-gray"]{
  --bg: #202124;
  --panel: #2a2c30;
  --panel2: #24262a;
  --text: #f1f3f5;
  --muted: #c1c7d0;
  --line: rgba(255,255,255,.13);
  --accent: #ffffff;
  --code-bg: #181a1e;
  --code-text: #eef2f8;
  --code-muted: #a8b0bd;
  --code-line: rgba(255,255,255,.14);
  --inline-code-bg: #30343a;
  --inline-code-text: #f3f6fb;
  --syntax-comment: #9aa4b2;
  --syntax-punctuation: #d4d9e1;
  --syntax-property: #5eead4;
  --syntax-string: #86efac;
  --syntax-function: #93c5fd;
  --syntax-keyword: #c4b5fd;
  --syntax-number: #fdba74;
  --syntax-operator: #e5e7eb;
  --shadow: 0 12px 38px rgba(0,0,0,.32);
}

/* Optional dark theme (kept minimal) */
:root[data-theme="dark"]{
  --bg: #0b0c0f;
  --panel: #12141a;
  --panel2: #0f1116;
  --text: #e8eaf0;
  --muted: #a8afc0;
  --line: rgba(255,255,255,.10);
  --accent: #ffffff;
  --code-bg: #10131a;
  --code-text: #edf2ff;
  --code-muted: #98a2b3;
  --code-line: rgba(255,255,255,.13);
  --inline-code-bg: #1b2029;
  --inline-code-text: #f4f7ff;
  --syntax-comment: #98a2b3;
  --syntax-punctuation: #d7dce5;
  --syntax-property: #5eead4;
  --syntax-string: #86efac;
  --syntax-function: #93c5fd;
  --syntax-keyword: #c4b5fd;
  --syntax-number: #fdba74;
  --syntax-operator: #e5e7eb;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html{
  scroll-behavior:smooth;
  overflow-anchor: none;
}
body{
  margin:0;
  /* font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Apple SD Gothic Neo", "Noto Sans KR", Arial; */
  /* font-family: 'Inter', 'Noto Sans KR', 'Spoqa Han Sans', 'Apple SD Gothic Neo', 'Segoe UI', Roboto, Arial, sans-serif; */
  font-family: 'Manrope', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-anchor: none;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .9; }

.container{
  width: min(var(--max), calc(100% - (var(--content-side-gutter) * 2)));
  margin-left: var(--content-side-gutter);
  margin-right: auto;
}

.skip{ position:absolute; left:-9999px; top:auto; }
.skip:focus{
  left: 16px; top: 16px; z-index: 999;
  background: var(--panel2);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Layout */
.layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) var(--right-rail);
  column-gap: var(--layout-gap);
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  min-height: 100vh;
}
.layout > *{
  min-width: 0;
}

.sidebar{
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel2) 74%, var(--bg));
  padding: 18px 18px 18px 24px;
}

.sidebar-card{
  position: sticky;
  top: 18px;
  display:flex;
  flex-direction:column;
  min-height: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.avatar-wrap{
  display:flex;
  justify-content:flex-start;
  margin-bottom: 12px;
}
.avatar{
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
}

.who{ margin-bottom: 12px; }
.name{ font-weight: 800; letter-spacing: -0.01em; }
.tagline{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.info{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 12px 0;
}
.info-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}
.label{ color: var(--muted); }
.value a{
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
}

.sidebar-actions{
  display:none !important;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.side-nav{
  display:none !important;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.side-nav a{
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.side-nav a:hover{
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
}
.backtop{
  margin-top: 6px;
}

.sidebar-bottom{
  margin-top:auto;
  display:grid;
  gap:10px;
  padding-top:12px;
}
.section-bookmark{
  display: grid;
  gap: 12px;
  margin: 0;
  padding-top: 0;
  border-top: 0;
}
.bookmark-status{
  display: grid;
  gap: 4px;
}
.bookmark-eyebrow{
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bookmark-status strong{
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.bookmark-list{
  display: grid;
  gap: 5px;
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 5px;
}
.bookmark-link{
  display: block;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: var(--bookmark-size);
  font-weight: 680;
  line-height: 1.25;
}
.bookmark-link:hover{
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}
.bookmark-link.minor{
  margin-left: 8px;
  font-size: var(--bookmark-minor-size);
  font-weight: 620;
}
.bookmark-link.active{
  border-left-color: color-mix(in srgb, #c99722 70%, var(--text));
  background: color-mix(in srgb, #f8e7a5 28%, var(--panel));
  color: var(--text);
}
:root[data-theme="dark-gray"] .bookmark-link.active,
:root[data-theme="dark"] .bookmark-link.active{
  background: color-mix(in srgb, #6b4b12 22%, var(--panel));
  border-left-color: color-mix(in srgb, #d6a21f 68%, var(--line));
}

#updated, #year{ display:none; }

/* Content */
.content{
  grid-column: 1;
  grid-row: 1;
  background: var(--bg);
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  width: min(var(--max), calc(100% - (var(--content-side-gutter) * 2)));
  margin-left: var(--content-side-gutter);
  margin-right: auto;
  padding: 14px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.brandline{ display:flex; align-items:center; gap: 10px; }
.home-profile{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: transform .15s ease, opacity .15s ease;
}
.home-profile:hover{
  transform: translateY(-1px);
  opacity: 1;
}
.home-profile img{
  width: var(--supplement-panel-width, calc(100vw - 48px));
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}
.top-actions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
}
.brandtext{ font-weight: 750; color: var(--text); }

.lang-toggle{
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 74px;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
}
.lang-toggle span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 9px;
}
.lang-toggle[data-lang="ko"] [data-lang-option="ko"],
.lang-toggle[data-lang="en"] [data-lang-option="en"]{
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.icon-btn{
  width: 40px;              /* 고정 */
  height: 40px;             /* 고정 */
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 12px;
  padding: 0;               /* 패딩 제거(크기 흔들림 방지) */
  cursor: pointer;

  display: inline-flex;     /* 중앙정렬 */
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;           /* 레이아웃 변화 방지 */
  line-height: 1;           /* 텍스트 흔들림 방지 */
}

/* 아이콘 자체도 고정 */
#themeIcon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;              /* 고정 */
  height: 18px;             /* 고정 */
  font-size: 18px;          /* 고정 */
  line-height: 1;           /* 고정 */
  transform: translateY(-0.5px); /* 선택: 시각적으로 딱 중앙 맞추기 */
}

.hero{ padding: 42px 0 18px; }
.kicker{ color: var(--muted); margin:0 0 10px; }
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.sub{ margin: 0 0 14px; color: var(--muted); }

.meta{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 10px; }
.pill{
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section{ padding: 34px 0; border-top: 1px solid var(--line); }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap: 12px; margin-bottom: 14px; }
.section h2{ margin:0; font-size: 20px; letter-spacing: -0.01em; }
.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card{
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, opacity .15s ease;
}
.card:hover{ transform: translateY(-2px); }

.badge{
  display:inline-block;
  margin-top:10px;
  font-size:12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--bg);
}

.panel{
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.contact{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 8px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
}
.btn.small{
  padding:8px 10px;
  font-size:13px;
  border-radius:12px;
  width:100%;
  text-align:center;
}
.btn.ghost{
  background: transparent;
  color: var(--text);
}
.btn:hover{ transform: translateY(-1px); }

/* Responsive */
@media (max-width: 980px){
  .layout{
    display: block;
    width: 100%;
  }
  .sidebar{
    display: none;
  }
  .container,
  .topbar-inner{
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }
  .grid{ grid-template-columns: 1fr; }
}

.list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel2);
  box-shadow: var(--shadow);
}

.row-title{ font-weight: 700; }
.row-sub{ font-size: 13px; margin-top: 2px; }
.arrow{ color: var(--muted); }

/* Lightbox */
#lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  display: none !important;
  justify-content: center !important;
  align-items: center !important;

  background: rgba(0,0,0,0.85) !important;
  z-index: 2147483647 !important;
}

#lightbox.open {
  display: flex !important;
}

/* Lightbox close button */
.lightbox .lb-close{
  position: absolute;
  top: 14px;
  right: 14px;

  width: 38px;
  height: 38px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);   /* ← “불투명한” 느낌 */
  color: rgba(255,255,255,0.92);

  font-size: 22px;
  line-height: 1;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(4px);
}

.lightbox .lb-close:hover{
  background: rgba(0,0,0,0.62);
}

.lightbox .lb-close:active{
  transform: translateY(1px);
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
}
#lightbox{
  overflow: hidden !important;
  --lightbox-page-scale: 1;
  --lightbox-zoom: 1;
  --lightbox-pan-x: 0px;
  --lightbox-pan-y: 0px;
}
.lightbox img{
  cursor: default;
  user-select: none;
  touch-action: none;
  transform: translate3d(var(--lightbox-pan-x, 0px), var(--lightbox-pan-y, 0px), 0) scale(var(--lightbox-page-scale, 1)) scale(var(--lightbox-zoom, 1));
  transform-origin: center center;
  transition: transform .18s ease;
  will-change: transform;
}
#lightbox.is-zoomed img{
  cursor: grab;
  transition: transform .04s linear;
}
#lightbox.is-zoomed img:active{
  cursor: grabbing;
}


.comments{
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,0.25);
}
.comments h2{
  margin: 0 0 8px 0;
  font-size: 18px;
}

/* Post content / Notion export */
.page-subtitle{
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 22px;
  line-height: 1.5;
}

.paper-identity{
  display: grid;
  gap: 5px;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}
.paper-title-meta{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.paper-map{
  margin: 6px 0 38px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 72%, var(--bg));
}
.paper-map-head{
  max-width: 760px;
  margin-bottom: 18px;
}
.post-body .paper-map h2{
  margin: 0 0 10px;
  padding: 0;
  font-size: 24px;
  background: none;
}
.post-body .paper-map h3{
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 15px;
  background: none;
}
.post-body .paper-map p{
  margin: 0;
}
.post-body .map-card p,
.post-body .compare-grid p,
.post-body .insight-box p,
.post-body .feature-item p,
.post-body .module-note p,
.post-body .summary-head p,
.post-body .summary-table td,
.post-body .summary-footnote,
.post-body .section-note p,
.post-body .result-brief-head p,
.post-body .result-brief article p,
.post-body .ba-step-heading small{
  font-size: 14px;
}
.map-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.map-card{
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 86%, var(--bg));
}
.map-card-wide{
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
}
.map-label{
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.insight-box{
  margin: 18px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-left: 4px solid color-mix(in srgb, var(--accent) 58%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 76%, var(--bg));
}
.post-body .insight-box p{
  margin-top: 6px;
}
.figure-guide{
  margin: 16px 0 20px;
}
.flow-diagram{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}
.flow-arrow{
  display: none;
}
.flow-step{
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  overflow-wrap: anywhere;
}
.flow-step:not(:last-child)::after{
  content: ">";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--muted);
  font-weight: 800;
  z-index: 1;
}
.flow-step span{
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.flow-step strong,
.flow-step small{
  display: block;
  line-height: 1.35;
}
.flow-step small{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.compare-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.compare-grid article{
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 82%, var(--panel2));
}
.deep-dive{
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--text) 14%, var(--line));
}
.post-body .deep-dive > h2{
  margin-top: 0;
}
.deep-dive-note{
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.deep-dive-body{
  position: relative;
  margin-inline: -24px;
  padding-inline: 24px;
  overflow: hidden;
  border-radius: 10px;
}
.deep-dive-body::before,
.deep-dive-body::after{
  content: none;
}
.deep-dive-body.has-collapsed-active::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 284px;
  bottom: 0;
  z-index: 1;
  pointer-events: auto;
  background: var(--panel2);
}
.deep-dive-body.has-collapsed-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  height: 288px;
  z-index: 2;
  pointer-events: auto;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--panel2) 6%, transparent) 0,
    color-mix(in srgb, var(--panel2) 26%, transparent) 32%,
    color-mix(in srgb, var(--panel2) 62%, transparent) 66%,
    color-mix(in srgb, var(--panel2) 88%, transparent) 84%,
    var(--panel2) 100%
  );
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
}
.deep-dive-body.has-collapsed-active .deep-dive-content.is-collapsed::before,
.deep-dive-body.has-collapsed-active .deep-dive-content.is-collapsed::after{
  content: none;
}
.deep-dive-content{
  position: relative;
}
.deep-dive-content.is-collapsed{
  max-height: 430px;
  overflow: hidden;
  user-select: none;
}
.deep-dive-content.is-collapsed::before{
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 284px;
  bottom: 0;
  z-index: 1;
  pointer-events: auto;
  background: var(--panel2);
}
.deep-dive-content.is-collapsed::after{
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 0;
  bottom: auto;
  height: 288px;
  z-index: 2;
  pointer-events: auto;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--panel2) 6%, transparent) 0,
    color-mix(in srgb, var(--panel2) 26%, transparent) 32%,
    color-mix(in srgb, var(--panel2) 62%, transparent) 66%,
    color-mix(in srgb, var(--panel2) 88%, transparent) 84%,
    var(--panel2) 100%
  );
  backdrop-filter: blur(4.5px);
}
.deep-dive-more{
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 112px;
  bottom: auto;
  z-index: 3;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.deep-dive-body.has-collapsed-active > .deep-dive-more.is-visible{
  display: flex;
}
.deep-dive-more[hidden],
.deep-dive-more[aria-hidden="true"]{
  display: none;
}
.deep-dive-more-btn{
  appearance: none;
  min-width: 122px;
  border: 1px solid color-mix(in srgb, var(--text) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, var(--panel2));
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 820;
  line-height: 1;
  padding: 14px 28px;
  pointer-events: auto;
}
.deep-dive-more-btn:hover{
  border-color: color-mix(in srgb, var(--text) 26%, var(--line));
  color: var(--text);
}
.post-body details.supplement-toggle{
  margin: 14px 0;
  border-color: color-mix(in srgb, var(--muted) 10%, var(--line));
  border-left-color: color-mix(in srgb, var(--muted) 18%, var(--line));
  border-radius: 7px;
  background: color-mix(in srgb, var(--panel2) 34%, transparent);
}
.feature-panel{
  margin: 18px 0 24px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
}
.feature-panel-compact{
  margin-top: 12px;
}
.module-note{
  margin: 18px 0 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid color-mix(in srgb, var(--text) 30%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 82%, var(--bg));
}
.module-note-card{
  background: color-mix(in srgb, var(--panel) 62%, var(--bg));
}
.module-note-head{
  display: grid;
  gap: 7px;
  max-width: 780px;
  margin-bottom: 12px;
}
.post-body .module-note-head p{
  margin: 0;
}
.summary-panel{
  margin: 18px 0 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid color-mix(in srgb, var(--text) 38%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 82%, var(--bg));
}
.summary-panel-soft{
  border-left-color: color-mix(in srgb, var(--muted) 42%, var(--line));
  background: color-mix(in srgb, var(--panel) 62%, var(--bg));
}
.summary-head{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.post-body .summary-head p,
.post-body .summary-footnote{
  margin: 0;
}
.summary-table-wrap{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.post-body table.summary-table{
  display: table;
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.post-body .summary-table th,
.post-body .summary-table td{
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.post-body .summary-table th:last-child,
.post-body .summary-table td:last-child{
  border-right: 0;
}
.post-body .summary-table tr:last-child td{
  border-bottom: 0;
}
.post-body .summary-table th{
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 74%, var(--bg));
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-align: left;
}
.summary-term{
  color: var(--text);
  font-weight: 820;
}
.summary-key{
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.post-body .summary-table p{
  margin: 0;
}
.summary-footnote{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.summary-list,
.brief-list{
  margin: 0;
  padding-left: 1.05rem;
}
.summary-list li,
.brief-list li{
  margin: 3px 0;
  padding-left: 0;
}
:root .section-note :is(ul, ol),
:root .result-brief .brief-list{
  font-size: 12.5px;
  line-height: 1.55;
}
:root .section-note p,
:root .result-brief-head p,
:root .result-brief article p{
  font-size: 12.5px;
  line-height: 1.55;
}
:root .section-note :is(li),
:root .result-brief .brief-list li{
  margin: 2px 0;
}
.summary-list li::marker,
.brief-list li::marker{
  color: color-mix(in srgb, var(--muted) 76%, var(--text));
}
.metric-symbol{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.inline-math{
  display: inline-block;
  font-family: "KaTeX_Math", "Times New Roman", serif;
  font-size: 1.18em;
  line-height: 1;
}
.inline-math sub,
.inline-math sup{
  position: relative;
  font-size: .68em;
  line-height: 0;
  vertical-align: baseline;
}
.inline-math sub{ bottom: -.24em; }
.inline-math sup{ top: -.44em; }
.inline-math mi{
  font-style: italic;
}
.inline-math mrow mi{
  font-size: .78em;
}
.summary-table .math-token-list{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
  vertical-align: middle;
}
.summary-table .math-token,
.model-token{
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, #f8e7a5 14%, var(--inline-code-bg));
  color: var(--inline-code-text);
  font-family: "KaTeX_Math", "Times New Roman", serif;
  font-size: .94em;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
}
.summary-table .math-token sub,
.summary-table .math-token sup,
.model-token sup{
  font-size: .68em;
  line-height: 0;
}
.summary-table .math-token-separator{
  color: var(--muted);
  font-size: .9em;
}
.display-math{
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 2px 0;
  overflow-x: auto;
  color: var(--text);
  font-family: "KaTeX_Math", "Times New Roman", serif;
  font-size: 1.18em;
  line-height: 1.25;
}
.display-math mi{
  font-style: italic;
}
.section-note{
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, #d4a017 28%, var(--line));
  border-left: 4px solid color-mix(in srgb, #b7791f 68%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, #f8e7a5 36%, var(--panel2));
  color: var(--text);
  font-family: var(--note-font);
  letter-spacing: .01em;
}
.section-note-label{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 6px;
  color: color-mix(in srgb, #7c520c 76%, var(--text));
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}
.post-body .section-note p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.65;
}
:root[data-theme="dark-gray"] .section-note,
:root[data-theme="dark"] .section-note{
  border-color: color-mix(in srgb, #d6a21f 34%, var(--line));
  border-left-color: color-mix(in srgb, #d6a21f 62%, var(--line));
  background: color-mix(in srgb, #6b4b12 26%, var(--panel2));
}
:root[data-theme="dark-gray"] .section-note-label,
:root[data-theme="dark"] .section-note-label{
  color: #f0cf73;
}
.ba-step-heading{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-items: center;
  margin: 26px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid color-mix(in srgb, var(--text) 30%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 82%, var(--bg));
}
.ba-step-heading span{
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}
.ba-step-heading strong{
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}
.ba-step-heading small{
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}
.result-brief{
  margin: 20px 0 26px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, #d4a017 28%, var(--line));
  border-left: 4px solid color-mix(in srgb, #b7791f 68%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, #f8e7a5 32%, var(--panel2));
  font-family: var(--note-font);
  letter-spacing: .01em;
}
.result-brief-wide{
  margin-top: 18px;
}
.result-brief-head{
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 12px;
}
.post-body .result-brief-head p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
}
.result-brief-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.result-brief article{
  min-width: 0;
  padding: 4px 0 4px 12px;
  border-left: 3px solid color-mix(in srgb, #b7791f 54%, var(--line));
}
.result-brief article strong{
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}
.post-body .result-brief article p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.62;
}
.result-brief .section-chip{
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, #d4a017 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, #f8e7a5 42%, var(--panel2));
  color: color-mix(in srgb, #7c520c 76%, var(--text));
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.35;
}
:root[data-theme="dark-gray"] .result-brief,
:root[data-theme="dark"] .result-brief{
  border-color: color-mix(in srgb, #d6a21f 34%, var(--line));
  border-left-color: color-mix(in srgb, #d6a21f 62%, var(--line));
  background: color-mix(in srgb, #6b4b12 24%, var(--panel2));
}
:root[data-theme="dark-gray"] .result-brief .section-chip,
:root[data-theme="dark"] .result-brief .section-chip{
  border-color: color-mix(in srgb, #d6a21f 36%, var(--line));
  background: color-mix(in srgb, #6b4b12 28%, var(--panel2));
  color: #f0cf73;
}
.link-preview{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  max-width: 620px;
  margin: 8px 0 14px;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--text) 14%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 78%, var(--bg));
  color: var(--text);
  text-decoration: none !important;
}
.link-preview *{
  text-decoration: none !important;
}
.link-preview:hover{
  opacity: 1;
  border-color: color-mix(in srgb, var(--text) 28%, var(--line));
  background: color-mix(in srgb, var(--panel) 74%, var(--bg));
}
.link-preview-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
}
.link-preview-body{
  display: grid;
  gap: 3px;
  min-width: 0;
}
.link-preview-kicker,
.link-preview-url,
.link-preview small{
  color: var(--muted);
}
.link-preview-kicker{
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.link-preview strong{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}
.link-preview small,
.link-preview-url{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.35;
}
.keyterm{
  font-weight: 820;
  text-decoration-line: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
  text-decoration-color: color-mix(in srgb, #c99722 52%, transparent);
}
.feature-panel-head{
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 12px;
}
.post-body .feature-panel-head p,
.post-body .feature-item p{
  margin: 0;
}
.section-chip{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 62%, var(--bg));
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}
.section-chip-muted{
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}
.section-chip-row{
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  margin: 28px 0 10px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--muted) 13%, transparent);
}
.section-chip-row .section-chip{
  width: fit-content;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, var(--line));
  border-left: 3px solid color-mix(in srgb, var(--text) 28%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: 12.5px;
  font-weight: 780;
  line-height: 1.3;
}
.subsection-label{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, var(--line));
  border-left: 3px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 76%, var(--bg));
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.22;
}
.summary-head .subsection-label{
  margin-bottom: 1px;
}
.post-body .section-chip-row + :is(p, figure, .summary-panel, .module-note, .result-brief){
  margin-top: 8px;
}
.feature-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.feature-item{
  min-width: 0;
  padding: 0 0 0 12px;
  border-left: 3px solid color-mix(in srgb, var(--accent) 24%, var(--line));
}
.feature-item strong{
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.45;
}
.mini-feature-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mini-feature-grid span{
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 74%, var(--bg));
  font-weight: 780;
  line-height: 1.45;
}
.mini-feature-grid small{
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}
.color-word{
  display: inline;
  font-weight: 680;
  text-decoration: none;
  vertical-align: baseline;
}
.color-word::before{
  content: none;
}
.color-green{ color: #2f7d4e; }
.color-blue{ color: #2f6fba; }
.color-black{ color: #111827; }
.inline-topic{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-left: 3px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel2) 76%, var(--bg));
  font-size: 15px;
  line-height: 1.35;
}

.post-body{
  --notion-gray: #6b7280;
  --notion-brown: #8b5e34;
  --notion-orange: #b45309;
  --notion-yellow: #8a6d1f;
  --notion-green: #15803d;
  --notion-blue: #2563eb;
  --notion-purple: #7c3aed;
  --notion-pink: #be185d;
  --notion-red: #dc2626;
  --notion-bg-gray: rgba(107,114,128,.14);
  --notion-bg-brown: rgba(139,94,52,.16);
  --notion-bg-orange: rgba(245,158,11,.18);
  --notion-bg-yellow: rgba(234,179,8,.24);
  --notion-bg-green: rgba(34,197,94,.16);
  --notion-bg-blue: rgba(59,130,246,.16);
  --notion-bg-purple: rgba(124,58,237,.16);
  --notion-bg-pink: rgba(236,72,153,.16);
  --notion-bg-red: rgba(239,68,68,.16);
  font-size: 16px;
  line-height: 1.82;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

:root[data-theme="dark-gray"] .post-body,
:root[data-theme="dark"] .post-body{
  --notion-gray: #a8afc0;
  --notion-brown: #d2a679;
  --notion-orange: #f59e0b;
  --notion-yellow: #facc15;
  --notion-green: #4ade80;
  --notion-blue: #60a5fa;
  --notion-purple: #c084fc;
  --notion-pink: #f472b6;
  --notion-red: #f87171;
  --notion-bg-gray: rgba(168,175,192,.16);
  --notion-bg-brown: rgba(210,166,121,.18);
  --notion-bg-orange: rgba(245,158,11,.20);
  --notion-bg-yellow: rgba(250,204,21,.20);
  --notion-bg-green: rgba(74,222,128,.18);
  --notion-bg-blue: rgba(96,165,250,.18);
  --notion-bg-purple: rgba(192,132,252,.18);
  --notion-bg-pink: rgba(244,114,182,.18);
  --notion-bg-red: rgba(248,113,113,.18);
}

:root[data-theme="dark-gray"] .color-green,
:root[data-theme="dark"] .color-green{ color: #86d39b; }
:root[data-theme="dark-gray"] .color-blue,
:root[data-theme="dark"] .color-blue{ color: #93bdf2; }
:root[data-theme="dark-gray"] .color-black,
:root[data-theme="dark"] .color-black{ color: #d1d5db; }

.post-body > :first-child{ margin-top: 0; }
.post-body > :last-child{ margin-bottom: 0; }
.post-body p:empty{ display: none; }
.post-body :is(h2,h3,h4,blockquote,[id]){
  scroll-margin-top: 96px;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body pre,
.post-body table,
.post-body figure,
.post-body details,
.post-body .yt-embed{
  margin-top: 14px;
  margin-bottom: 14px;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4{
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.post-body h1{ margin: 8px 0 20px; font-size: 28px; }
.post-body h2{ margin: 34px 0 14px; font-size: var(--section-title-size); }
.post-body h3{
  display: table;
  margin: 30px 0 14px;
  padding: 2px 6px;
  font-size: 18px;
  font-weight: 750;
  background: linear-gradient(to top, var(--notion-bg-gray) 42%, transparent 42%);
}
.post-body h4{ margin: 24px 0 10px; font-size: 16px; font-weight: 750; }

.post-body ul,
.post-body ol{
  padding-left: 1.35rem;
}
.post-body li{
  margin: 6px 0;
  padding-left: .15rem;
}
.post-body li > ul,
.post-body li > ol{
  margin-top: 6px;
  margin-bottom: 6px;
}
.post-body .summary-list,
.post-body .brief-list{
  margin: 0;
  padding-left: 1.05rem;
}
.post-body .summary-list li,
.post-body .brief-list li{
  margin: 3px 0;
  padding-left: 0;
}
.post-body .indented{
  margin-left: 1.35rem;
}

.post-body a{
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent);
}
.post-body a:hover{
  text-decoration-color: var(--text);
}

.post-body strong{ font-weight: 760; }
.post-body code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
  color: var(--inline-code-text);
  background: var(--inline-code-bg);
  border: 1px solid var(--code-line);
  border-radius: 6px;
  padding: .08em .32em;
}
.post-body pre,
.post-body pre[class*="language-"]{
  padding: 14px;
  border-radius: 14px;
  color: var(--code-text) !important;
  background: var(--code-bg) !important;
  border: 1px solid var(--code-line);
  overflow:auto;
  text-shadow: none !important;
}
.post-body pre code,
.post-body pre code[class*="language-"]{
  padding: 0;
  border: 0;
  color: inherit !important;
  background: transparent !important;
  text-shadow: none !important;
}
.post-body pre .token.comment,
.post-body pre .token.prolog,
.post-body pre .token.doctype,
.post-body pre .token.cdata{
  color: var(--syntax-comment) !important;
}
.post-body pre .token.punctuation{
  color: var(--syntax-punctuation) !important;
}
.post-body pre .token.property,
.post-body pre .token.tag,
.post-body pre .token.boolean,
.post-body pre .token.constant,
.post-body pre .token.symbol,
.post-body pre .token.deleted{
  color: var(--syntax-property) !important;
}
.post-body pre .token.selector,
.post-body pre .token.attr-name,
.post-body pre .token.string,
.post-body pre .token.char,
.post-body pre .token.builtin,
.post-body pre .token.inserted{
  color: var(--syntax-string) !important;
}
.post-body pre .token.operator,
.post-body pre .token.entity,
.post-body pre .token.url{
  color: var(--syntax-operator) !important;
  background: transparent !important;
}
.post-body pre .token.atrule,
.post-body pre .token.attr-value,
.post-body pre .token.keyword{
  color: var(--syntax-keyword) !important;
}
.post-body pre .token.function,
.post-body pre .token.class-name{
  color: var(--syntax-function) !important;
}
.post-body pre .token.regex,
.post-body pre .token.important,
.post-body pre .token.variable,
.post-body pre .token.number{
  color: var(--syntax-number) !important;
}

.post-body blockquote,
.post-body .callout,
.post-body .notion-callout{
  margin-left: 0;
  margin-right: 0;
  padding: 12px 14px;
  border-left: 3px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 74%, transparent);
  color: var(--text);
}
.post-body .deep-dive h3,
.post-body .deep-dive h3[class*="block-color-"]{
  position: relative;
  display: block;
  margin: 54px 0 22px;
  padding: 16px 0 14px 16px;
  border-top: 1px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--text) 15%, var(--line));
  border-radius: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--panel) 88%, var(--bg)) 0,
    color-mix(in srgb, var(--panel) 48%, transparent) 44%,
    transparent 100%
  ) !important;
  color: var(--text);
  font-size: var(--section-heading-size);
  font-weight: 850;
}
.post-body .deep-dive h3::before,
.post-body .deep-dive h3[class*="block-color-"]::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 56%, var(--line));
}
.post-body .deep-dive blockquote{
  display: block;
  width: 100%;
  margin: 32px 0 16px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  border-left: 4px solid color-mix(in srgb, var(--text) 46%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 68%, var(--bg));
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: var(--section-subheading-size);
  font-weight: 800;
  line-height: 1.42;
}
.post-body .deep-dive blockquote strong{
  font-weight: 820;
}
.post-body blockquote > :first-child,
.post-body .callout > :first-child,
.post-body .notion-callout > :first-child{ margin-top: 0; }
.post-body blockquote > :last-child,
.post-body .callout > :last-child,
.post-body .notion-callout > :last-child{ margin-bottom: 0; }

.post-body table{
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.post-body th,
.post-body td{
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
  min-width: 120px;
}
.post-body th{
  background: var(--panel);
  font-weight: 750;
}
.post-body tr:last-child td{ border-bottom: 0; }
.post-body hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.post-body figure,
.post-body figure.image{
  max-width: 100%;
  margin: 24px auto;
  text-align: center;
}
.post-body img{
  display: block;
  width: auto;
  max-width: min(100%, 860px);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.post-body figure:has(> .bookmark){
  max-width: 760px;
  margin: 18px 0;
  text-align: left;
}
.post-body .bookmark{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 14px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: color-mix(in srgb, var(--panel2) 82%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.post-body .bookmark:hover{
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.post-body .bookmark-info,
.post-body .bookmark-text{
  min-width: 0;
}
.post-body .bookmark-info{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-body .bookmark-title{
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 750;
  line-height: 1.35;
}
.post-body .bookmark-description{
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.post-body .bookmark-href{
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-body .bookmark img.bookmark-icon{
  flex: 0 0 16px;
  width: 16px;
  max-width: 16px;
  height: 16px;
  margin: 0;
  border: 0;
  border-radius: 4px;
}
.post-body .bookmark img.bookmark-image{
  width: 156px !important;
  max-width: 156px !important;
  height: 104px !important;
  margin: 0;
  object-fit: cover;
  border-radius: 10px;
}
.post-body figure figcaption,
.post-body .image-caption,
.post-body .caption{
  max-width: 760px;
  margin: 8px auto 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}
.post-body figure figcaption .caption-main,
.post-body figure figcaption .caption-note{
  display: block;
}
.post-body figure figcaption .caption-main{
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-weight: 760;
}
.post-body figure figcaption .caption-note{
  margin-top: .22rem;
  color: var(--muted);
  font-size: .95em;
}
.post-body figure figcaption .caption-source{
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: .9em;
}
.post-body .supplement-figure-divider{
  width: min(100%, 720px);
  height: 1px;
  margin: 1.35rem auto 1.25rem;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--line) 82%, var(--text) 18%), transparent);
}
.post-body .figure-pair{
  --figure-pair-image-height: clamp(150px, 23vw, 260px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin: 1rem 0 1.25rem;
}
.post-body .figure-pair figure{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
}
.post-body .figure-pair img{
  width: 100% !important;
  max-width: 100% !important;
  height: var(--figure-pair-image-height) !important;
  object-fit: contain;
  object-position: center center;
}
.post-body .repo-figure-pair{
  --figure-pair-image-height: clamp(175px, 24vw, 300px);
  gap: .85rem;
}
@media (max-width: 760px){
  .post-body .figure-pair{
    grid-template-columns: 1fr;
  }
  .post-body .figure-pair-wide{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px){
  .post-body .figure-pair-wide{
    grid-template-columns: 1fr;
  }
  .post-body .figure-pair{
    --figure-pair-image-height: auto;
  }
}

.post-body video{
  display: block;
  max-width: min(100%, 860px);
  margin: 18px auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.post-body .yt-embed{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.post-body .yt-embed .frame{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #000;
}
.post-body .yt-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-body details{
  margin: 16px 0;
  border: 1px solid color-mix(in srgb, var(--muted) 11%, var(--line));
  border-left: 2px solid color-mix(in srgb, var(--muted) 20%, var(--line));
  border-radius: 7px;
  background: color-mix(in srgb, var(--panel2) 42%, transparent);
  padding: 0;
  overflow: clip;
}
.post-body details > summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  color: color-mix(in srgb, var(--muted) 78%, var(--text));
  background: color-mix(in srgb, var(--panel2) 34%, transparent);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
}
.post-body details > summary::-webkit-details-marker{ display:none; }
.post-body details > summary::marker{ content:""; }
.post-body details > summary::before{
  content: ">";
  font-size: 11px;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  opacity: .58;
  transition: transform .12s ease;
}
.post-body details[open] > summary::before{
  transform: rotate(90deg);
}
.post-body details[open] > summary{
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 12%, var(--line));
  background: color-mix(in srgb, var(--panel) 40%, transparent);
}
.post-body details:not([open]) > summary{
  color: color-mix(in srgb, var(--muted) 90%, var(--text));
}
.post-body details:not([open]) > summary strong{
  color: inherit;
  font-weight: 660;
}
.post-body details > *:not(summary){
  margin-left: 0;
  padding: 0;
}
.post-body details[open]{
  padding-bottom: 12px;
  background: color-mix(in srgb, var(--panel2) 70%, var(--bg));
}
.post-body details.supplement-toggle[open]{
  background: color-mix(in srgb, var(--panel2) 54%, transparent);
}
.post-body details.supplement-toggle > summary{
  background: color-mix(in srgb, var(--panel2) 24%, transparent);
}
.post-body details.supplement-toggle:not([open]) > summary{
  color: color-mix(in srgb, var(--muted) 92%, var(--text));
}
.post-body details.supplement-toggle[open] > summary{
  background: color-mix(in srgb, var(--panel) 34%, transparent);
}
.post-body details.supplement-toggle strong{
  font-weight: 650;
}
.post-body details.supplement-toggle > summary strong{
  font-weight: 680;
}
.post-body details.supplement-toggle > :is(.summary-panel,.result-brief),
.post-body details.supplement-toggle > .appendix-details > :is(.summary-panel,.result-brief){
  box-sizing: border-box;
  border-left-width: 1px;
}
.post-body details.supplement-toggle > .summary-panel{
  margin-top: 16px;
  margin-bottom: 14px;
}
.post-body details[open] > :is(p,ul,ol,figure,table,blockquote,h3,h4,.column-list,.source),
.post-body details[open] > :is(.summary-panel,.result-brief,.module-note,.section-chip-row,.appendix-details),
.post-body details[open] > div[style*="display:contents"] > :is(p,ul,ol,figure,table,blockquote,h3,h4,.column-list,.source,.summary-panel,.result-brief,.module-note,.section-chip-row){
  margin-left: 18px;
  margin-right: 18px;
  max-width: calc(100% - 36px);
}
.post-body details[open] > .appendix-details{
  display: grid;
  gap: 12px;
}
.post-body details.supplement-toggle[open] > :is(.summary-panel,.result-brief){
  width: calc(100% - 36px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.post-body details.supplement-toggle[open] > .appendix-details{
  width: calc(100% - 36px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.post-body details.supplement-toggle[open] > .appendix-details > :is(.summary-panel,.result-brief){
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.post-body details.supplement-toggle[open] > .supplement-details > :first-child{
  margin-top: 16px;
}
.post-body details.supplement-toggle[open] > .supplement-details > :last-child{
  margin-bottom: 0;
}
.post-body details.supplement-toggle .toggle-subheading-line{
  margin-top: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.post-body details.supplement-toggle .toggle-subheading-line > strong{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, var(--line));
  border-left: 3px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 78%, var(--bg));
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  font-size: 12px;
  font-weight: 780;
  line-height: 1.3;
}
.post-body details.supplement-toggle .appendix-details blockquote{
  margin-top: 22px;
  margin-bottom: 12px;
}
.post-body details.supplement-toggle .contribution-detail{
  padding: 15px;
}
.post-body details.supplement-toggle .contribution-detail .summary-head{
  margin-bottom: 14px;
}
.post-body details.supplement-toggle .contribution-detail .summary-table{
  min-width: 760px;
}
.post-body details.supplement-toggle .contribution-detail .summary-table th,
.post-body details.supplement-toggle .contribution-detail .summary-table td{
  padding: 10px 12px;
}
.post-body details.supplement-toggle .contribution-detail .summary-table :is(th,td):nth-child(1){
  width: 18%;
}
.post-body details.supplement-toggle .contribution-detail .summary-table :is(th,td):nth-child(2){
  width: 50%;
}
.post-body details.supplement-toggle .contribution-detail .summary-table :is(th,td):nth-child(3){
  width: 32%;
}
.post-body details.supplement-toggle .contribution-detail .summary-list{
  padding-left: 1rem;
  font-size: 13px;
  line-height: 1.58;
}
.supplement-card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.supplement-card-grid-four{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.supplement-card{
  min-width: 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 78%, var(--panel));
}
.supplement-card strong{
  display: block;
  margin: 5px 0 5px;
  font-size: 13.5px;
  line-height: 1.38;
}
.post-body .supplement-card p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 12.5px;
  line-height: 1.55;
}
.supplement-badge{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--text) 8%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 72%, var(--bg));
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-size: 10.5px;
  font-weight: 780;
  line-height: 1.2;
}
.supplement-route{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.supplement-route span{
  position: relative;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 78%, var(--panel));
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.4;
}
.supplement-route span:not(:last-child)::after{
  content: ">";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translate(50%, -50%);
  color: color-mix(in srgb, var(--muted) 72%, transparent);
  font-weight: 820;
}
.supplement-stepper{
  display: grid;
  gap: 9px;
}
.supplement-stepper article{
  display: grid;
  grid-template-columns: 34px minmax(0, .36fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 78%, var(--panel));
}
.supplement-stepper span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 72%, var(--bg));
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-size: 11px;
  font-weight: 820;
}
.supplement-stepper strong{
  font-size: 13.5px;
  line-height: 1.4;
}
.post-body .supplement-stepper p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 12.5px;
  line-height: 1.55;
}
.supplement-focus-backdrop{
  position: fixed;
  inset: 0;
  z-index: 900;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--panel) 10%, transparent), transparent 34%),
    color-mix(in srgb, #111 34%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.supplement-focus-backdrop[hidden]{
  display: block;
}
body.supplement-focus-active .supplement-focus-backdrop:not([hidden]){
  opacity: 1;
  pointer-events: auto;
}
html.supplement-scroll-lock,
html.supplement-scroll-lock body{
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
.post-body details.supplement-toggle.is-focused-supplement{
  position: fixed;
  top: var(--supplement-panel-top, 80px);
  left: var(--supplement-panel-left, 24px);
  z-index: 901;
  width: var(--supplement-panel-width, calc(100vw - 48px));
  margin: 0;
  display: flex;
  flex-direction: column;
  --supplement-panel-height: min(var(--supplement-panel-max-height, 76vh), 760px);
  height: var(--supplement-panel-height);
  max-height: var(--supplement-panel-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: auto;
  contain: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-color: color-mix(in srgb, var(--text) 18%, var(--line));
  background: var(--panel);
  box-shadow: 0 22px 70px color-mix(in srgb, #000 20%, transparent);
}
.post-body details.supplement-toggle.is-focused-supplement::-webkit-scrollbar{
  width: 0;
  height: 0;
}
.post-body details.supplement-toggle.is-focused-supplement::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--panel);
  pointer-events: none;
}
.post-body details.supplement-toggle.is-focused-supplement > *{
  position: relative;
  z-index: 1;
}
.post-body details.supplement-toggle.is-focused-supplement > summary{
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 3;
  background: color-mix(in srgb, var(--panel) 96%, var(--bg));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.post-body details.supplement-toggle.is-focused-supplement > .appendix-details > :is(section, figure, ul, ol, blockquote, .summary-panel, .result-brief),
.post-body details.supplement-toggle.is-focused-supplement > .appendix-details > div[style*="display:contents"]{
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}
.post-body details.supplement-toggle.is-focused-supplement > .appendix-details > div[style*="display:contents"]{
  display: block !important;
}
.supplement-lazy-placeholder{
  width: calc(100% - 36px);
  max-width: none;
  margin: 16px auto;
  padding: 18px 16px;
  border: 1px dashed color-mix(in srgb, var(--text) 12%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 72%, var(--bg));
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.55;
  text-align: center;
}
.post-body details.supplement-toggle.is-loading-supplement .supplement-lazy-placeholder{
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--panel) 68%, var(--bg)) 0%,
      color-mix(in srgb, var(--panel2) 84%, var(--bg)) 48%,
      color-mix(in srgb, var(--panel) 68%, var(--bg)) 100%
    );
}
.supplement-scroll-indicator{
  position: fixed;
  top: var(--supplement-indicator-top, 96px);
  right: var(--supplement-indicator-right, 18px);
  z-index: 902;
  width: 5px;
  height: var(--supplement-indicator-height, 120px);
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.supplement-scroll-indicator[hidden]{
  display: block;
}
.supplement-scroll-indicator.is-visible{
  opacity: 1;
}
.supplement-scroll-indicator-thumb{
  display: block;
  width: 100%;
  height: var(--supplement-thumb-height, 34px);
  border-radius: inherit;
  background: color-mix(in srgb, var(--text) 38%, var(--line));
  transform: translateY(var(--supplement-thumb-offset, 0));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--panel) 70%, transparent);
}
.supplement-scroll-spacer{
  height: 0;
  pointer-events: none;
  visibility: hidden;
}
.supplement-close-row{
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  padding: 14px 18px 14px;
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  background: color-mix(in srgb, var(--panel) 92%, var(--bg));
}
.post-body details.supplement-toggle.is-focused-supplement{
  padding-bottom: 112px;
}
.post-body details.supplement-toggle.is-focused-supplement .supplement-close-row{
  position: fixed;
  left: var(--supplement-panel-left, 24px);
  right: auto;
  bottom: var(--supplement-panel-bottom, 24px);
  bottom: max(
    var(--supplement-panel-bottom, 24px),
    calc(100dvh - var(--supplement-panel-top, 80px) - var(--supplement-panel-height, min(var(--supplement-panel-max-height, 76vh), 760px)))
  );
  z-index: 903;
  justify-content: flex-end;
  width: var(--supplement-panel-width, calc(100vw - 48px));
  max-width: none;
  flex: 0 0 auto;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 16px 42px 16px 18px;
  border-top: 1px solid color-mix(in srgb, var(--text) 16%, var(--line));
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  background: var(--panel);
  box-shadow:
    0 -18px 32px var(--panel),
    0 -12px 18px color-mix(in srgb, #000 8%, transparent),
    0 -1px 0 color-mix(in srgb, var(--text) 8%, transparent);
}
.supplement-close-btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 128px;
  min-height: 38px;
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--text) 20%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--text) 7%, var(--panel));
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 820;
  line-height: 1;
  box-shadow: 0 10px 22px color-mix(in srgb, #000 10%, transparent);
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.supplement-close-btn::before{
  content: "↑";
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.supplement-close-btn:hover{
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 30%, var(--line));
  background: color-mix(in srgb, var(--text) 10%, var(--panel));
  box-shadow: 0 12px 26px color-mix(in srgb, #000 13%, transparent);
  transform: translateY(-1px);
}
.supplement-close-btn:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 3px;
}
.post-body details[open] > .appendix-details > :first-child{
  margin-top: 16px;
}
.post-body details[open] > div[style*="display:contents"]:first-of-type > :first-child{
  margin-top: 16px;
}
.post-body details.supplement-toggle > summary::after{
  content: "보충";
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: color-mix(in srgb, var(--muted) 76%, transparent);
  background: transparent;
  font-size: 10px;
  font-weight: 660;
  line-height: 1.2;
}
html[lang="en"] .post-body details.supplement-toggle > summary::after{
  content: "supp.";
}
.post-body li:has(> details){
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.post-body ul.toggle{
  padding-left: 0;
  list-style: none;
}
.post-body ul.toggle > li{
  margin-left: 0;
  padding-left: 0;
}

.post-body .katex-display{
  max-width: 100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding: 6px 0;
}
.post-body .katex{ white-space: normal; }
.post-body .katex .katex-mathml{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
}
.post-body figure.equation,
.post-body .equation-container{
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.post-body details.supplement-toggle[open] figure.equation{
  box-sizing: border-box;
  max-width: calc(100% - 36px);
  margin: 14px auto;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 80%, var(--panel));
}
.post-body details.supplement-toggle[open] figure.equation .equation-container{
  padding: 2px 0;
}
.post-body details.supplement-toggle[open] figure.equation .katex-display{
  font-size: .98em;
}
.post-body details.supplement-toggle[open] table.simple-table{
  box-sizing: border-box;
  max-width: calc(100% - 36px);
  margin: 14px auto;
  border: 1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-radius: 8px;
  overflow: hidden;
}
.post-body .notion-text-equation-token{
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 .12em;
  padding: .03em .34em .05em;
  border: 1px solid color-mix(in srgb, var(--accent) 11%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, #f8e7a5 18%, var(--inline-code-bg));
  color: var(--text);
  line-height: 1.08;
  white-space: nowrap;
  vertical-align: .26em;
}
.post-body .notion-text-equation-token .katex{
  font-size: .96em;
  white-space: nowrap;
  transform: translateY(-0.08em);
}
.post-body :is(p, li) > .inline-math{
  margin: 0 .12em;
  padding: .03em .34em .05em;
  border: 1px solid color-mix(in srgb, var(--accent) 11%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, #f8e7a5 18%, var(--inline-code-bg));
  vertical-align: .26em;
}
.post-body .notion-text-equation-token.equation-split-source{
  display: none;
}
.equation-chip-group{
  display: inline-flex;
  align-items: center;
  gap: .16em;
  max-width: 100%;
  margin: 0 .12em;
  overflow-x: auto;
  vertical-align: .26em;
}
.equation-chip-part{
  display: inline-flex;
  align-items: center;
  min-height: 1.34em;
  padding: .02em .36em .05em;
  border: 1px solid color-mix(in srgb, var(--accent) 11%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, #f8e7a5 18%, var(--inline-code-bg));
  color: var(--text);
  font-family: "KaTeX_Math", "Times New Roman", serif;
  font-size: .92em;
  line-height: 1.08;
  white-space: nowrap;
}
.equation-chip-comma{
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--muted) 74%, var(--text));
  font-family: "KaTeX_Math", "Times New Roman", serif;
  font-size: .92em;
  line-height: 1;
}

.post-body .column-list{
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  margin: 24px -10px;
}
.post-body .column{
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 10px;
}
.post-body .column[style*="width"]{
  flex: 0 1 auto;
}
.post-body .column-list figure,
.post-body .column-list figure.image{
  margin-top: 0;
  margin-bottom: 10px;
}

.post-body mark,
.post-body [class*="highlight-"],
.post-body [class*="block-color-"]{
  border-radius: 4px;
}
.post-body mark{
  padding: .06em .22em;
  background: transparent;
  color: inherit;
}
.post-body .highlight-default:not([class*="_background"]){ color: inherit; background: transparent !important; }
.post-body .highlight-gray:not([class*="_background"]){ color: var(--notion-gray); background: transparent !important; }
.post-body .highlight-brown:not([class*="_background"]){ color: var(--notion-brown); background: transparent !important; }
.post-body .highlight-orange:not([class*="_background"]){ color: var(--notion-orange); background: transparent !important; }
.post-body .highlight-yellow:not([class*="_background"]){ color: var(--notion-yellow); background: transparent !important; }
.post-body .highlight-green:not([class*="_background"]){ color: var(--notion-green); background: transparent !important; }
.post-body .highlight-blue:not([class*="_background"]){ color: var(--notion-blue); background: transparent !important; }
.post-body .highlight-purple:not([class*="_background"]){ color: var(--notion-purple); background: transparent !important; }
.post-body .highlight-pink:not([class*="_background"]){ color: var(--notion-pink); background: transparent !important; }
.post-body .highlight-red:not([class*="_background"]){ color: var(--notion-red); background: transparent !important; }

.post-body .highlight-default_background,
.post-body .block-color-default_background{ background: var(--notion-bg-gray) !important; color: inherit; }
.post-body .highlight-gray_background,
.post-body .block-color-gray_background{ background: var(--notion-bg-gray) !important; color: inherit; }
.post-body .highlight-brown_background,
.post-body .block-color-brown_background{ background: var(--notion-bg-brown) !important; color: inherit; }
.post-body .highlight-orange_background,
.post-body .block-color-orange_background{ background: var(--notion-bg-orange) !important; color: inherit; }
.post-body .highlight-yellow_background,
.post-body .block-color-yellow_background{ background: var(--notion-bg-yellow) !important; color: inherit; }
.post-body .highlight-green_background,
.post-body .block-color-green_background{ background: var(--notion-bg-green) !important; color: inherit; }
.post-body .highlight-blue_background,
.post-body .block-color-blue_background{ background: var(--notion-bg-blue) !important; color: inherit; }
.post-body .highlight-purple_background,
.post-body .block-color-purple_background{ background: var(--notion-bg-purple) !important; color: inherit; }
.post-body .highlight-pink_background,
.post-body .block-color-pink_background{ background: var(--notion-bg-pink) !important; color: inherit; }
.post-body .highlight-red_background,
.post-body .block-color-red_background{ background: var(--notion-bg-red) !important; color: inherit; }

.post-body .highlight-default_background,
.post-body .highlight-gray_background,
.post-body .block-color-default_background,
.post-body .block-color-gray_background{
  line-height: 1.38;
  padding: .16em .46em .10em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.post-body :is(.highlight-default_background,.highlight-gray_background) :is(strong,b){
  line-height: inherit;
}

.post-body :is(.highlight-default_background,.highlight-gray_background):has(+ :is(.highlight-default_background,.highlight-gray_background)){
  padding-right: .08em;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.post-body :is(.highlight-default_background,.highlight-gray_background) + :is(.highlight-default_background,.highlight-gray_background){
  margin-left: -.08em;
  padding-left: .08em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-gray_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-default_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-brown_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-orange_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-yellow_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-green_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-blue_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-purple_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-pink_background,
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-red_background{
  padding: .16em .46em .10em;
}

.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-gray_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-default_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-brown_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-orange_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-yellow_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-green_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-blue_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-purple_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-pink_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-red_background{
  display: table;
  max-width: 100%;
}

.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote)[class*="block-color-"][class*="_background"] > mark[class*="_background"]:only-child{
  background: transparent !important;
  padding: 0;
  line-height: inherit;
}

.post-body h3{
  font-size: 18px;
}

.post-body .deep-dive h3,
.post-body .deep-dive h3[class*="block-color-"]{
  font-size: var(--section-heading-size);
}

.post-body .deep-dive blockquote{
  font-size: var(--section-subheading-size);
}

.section-chip{
  font-size: 13px;
}

.section-chip-row .section-chip,
.subsection-label{
  min-height: 28px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 780;
}

/* Supplement guide typography polish */
.post-body details.supplement-toggle .supplement-guide{
  padding: 13px 14px;
  border-left-color: color-mix(in srgb, var(--text) 14%, var(--line));
  background: color-mix(in srgb, var(--panel) 58%, var(--bg));
}
.post-body details.supplement-toggle .supplement-guide .summary-head{
  display: block;
  gap: 0;
  margin-bottom: 12px;
}
.post-body details.supplement-toggle .supplement-guide .summary-head p{
  margin: 0;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 12.5px;
  line-height: 1.58;
}
.post-body details.supplement-toggle .supplement-guide :is(.summary-table td,.summary-table li,.supplement-card p,.supplement-stepper p){
  font-size: 12.3px;
  line-height: 1.55;
}
.post-body details.supplement-toggle .supplement-guide .supplement-card strong,
.post-body details.supplement-toggle .supplement-guide .supplement-stepper strong{
  font-size: 13px;
}
.post-body details.supplement-toggle .supplement-guide .summary-table th{
  font-size: 11.5px;
}
.post-body details.supplement-toggle.is-focused-supplement > div[style*="display:contents"]{
  display: block !important;
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}
.post-body details.supplement-toggle.is-focused-supplement .appendix-details{
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}
.post-body details.supplement-toggle.is-focused-supplement .appendix-details > *,
.post-body details.supplement-toggle.is-focused-supplement :is(.summary-panel,.result-brief,.supplement-stepper,.supplement-card-grid,.summary-table-wrap,figure,table){
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.post-body details.supplement-toggle.is-focused-supplement .appendix-details > :is(.summary-panel,.result-brief,figure,.column-list,.source,ul,ol,blockquote){
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
body .post-body .deep-section > details.supplement-toggle.is-focused-supplement[open]{
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 700px){
  .paper-map{
    padding: 14px;
  }
  .post-body .paper-map h2{
    font-size: 20px;
  }
  .map-grid,
  .compare-grid,
  .feature-list,
  .mini-feature-grid,
  .result-brief-grid{
    grid-template-columns: 1fr;
  }
  .summary-panel{
    padding: 13px;
  }
  .post-body table.summary-table{
    min-width: 0;
  }
  .feature-panel,
  .module-note{
    padding: 13px;
  }
  .flow-diagram{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step{
    min-height: 0;
  }
  .flow-step:not(:last-child)::after{
    display: none;
  }
  .supplement-card-grid,
  .supplement-card-grid-four,
  .supplement-route{
    grid-template-columns: 1fr;
  }
  .supplement-route span:not(:last-child)::after{
    display: none;
  }
  .supplement-stepper article{
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .supplement-stepper article p{
    grid-column: 2;
  }
  .post-body{ font-size: 15px; line-height: 1.78; }
  .post-body h1{ font-size: 24px; }
  .post-body h2{ font-size: 20px; }
  .post-body h3{ font-size: 17px; }
  .post-body .deep-dive h3,
  .post-body .deep-dive h3[class*="block-color-"]{
    margin-top: 38px;
    font-size: 20px;
  }
  .post-body .deep-dive blockquote{
    margin-top: 26px;
    font-size: 16px;
  }
  .section-bookmark{
    display: none;
  }
  .post-body ul,
  .post-body ol{ padding-left: 1.15rem; }
  .post-body .bookmark{
    grid-template-columns: 1fr;
  }
  .post-body .bookmark img.bookmark-image{
    width: 100% !important;
    max-width: 100% !important;
    height: 128px !important;
  }
  .post-body .column-list{
    flex-wrap: wrap;
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
  }
  .post-body .column{
    padding: 0;
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .post-body details[open] > :is(p,ul,ol,figure,table,blockquote,h3,h4,.column-list,.source,.summary-panel,.result-brief,.module-note,.section-chip-row,.appendix-details),
  .post-body details[open] > div[style*="display:contents"] > :is(p,ul,ol,figure,table,blockquote,h3,h4,.column-list,.source,.summary-panel,.result-brief,.module-note,.section-chip-row){
    margin-left: 12px;
    margin-right: 12px;
    max-width: calc(100% - 24px);
  }
  .post-body details.supplement-toggle[open] > :is(.summary-panel,.result-brief),
  .post-body details.supplement-toggle[open] > .appendix-details{
    width: calc(100% - 24px);
  }
}

body [data-lang-panel][hidden]{
  display:none !important;
}

body .deep-dive-more.is-visible{
  display:flex;
}

body .post-body .deep-section{
  margin-top:26px;
}

body .post-body .deep-section:first-child{
  margin-top:0;
}

body .post-body .deep-section > .summary-panel,
body .post-body .deep-section > .result-brief,
body .post-body .deep-section > .section-note{
  margin-top:14px;
}

body .post-body .deep-section > details.supplement-toggle{
  margin-top:16px;
}

body .post-body .deep-section > details.supplement-toggle[open]{
  padding-left:0;
  padding-right:0;
}

body .post-body .deep-section > details.supplement-toggle[open] > .appendix-details{
  margin-left:auto;
  margin-right:auto;
}

body .post-body .deep-section figure.image img{
  max-height:620px;
  object-fit:contain;
}

body .post-body img[src*="media_c530c0da14c7"],
body .post-body img[src*="media_e5426f5f9b5e"],
body .post-body img[src*="media_9774958f8844"],
body .post-body img[src*="media_efd551d33fad"],
body .post-body img[src*="media_13f4d5b40d2b"]{
  max-width:min(100%,710px);
}

body .post-body img[src*="media_ee2d85dd4d5a"],
body .post-body img[src*="media_c54a7f08a39f"]{
  max-width:min(100%,528px);
}

body .post-body img[src*="media_53174ad2ae5b"]{
  max-width:min(100%,480px);
}

body .post-body .summary-table td,
body .post-body .summary-table li,
body .post-body .result-brief article p,
body .post-body .section-note p,
body .post-body .map-card p,
body .post-body .compare-grid p{
  font-size:.92em;
}

body .post-body .summary-table td,
body .post-body .summary-table li,
body .post-body .map-card p,
body .post-body .compare-grid p{
  font-size:14px;
}

body .post-body .section-note p,
body .post-body .section-note li,
body .post-body .result-brief-head p,
body .post-body .result-brief article p,
body .post-body .result-brief .brief-list,
body .post-body .result-brief .brief-list li{
  font-size:12.5px;
  line-height:1.58;
}

body .post-body .deep-dive mark[class*="highlight-"][class*="_background"]{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  border:1px solid color-mix(in srgb, var(--text) 9%, var(--line));
  border-left:3px solid color-mix(in srgb, var(--text) 22%, var(--line));
  border-radius:8px;
  background:color-mix(in srgb, var(--panel) 90%, var(--bg)) !important;
  color:color-mix(in srgb, var(--text) 72%, var(--muted));
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}

body .post-body .deep-dive p > mark[class*="highlight-"][class*="_background"]:only-child,
body .post-body .deep-dive li > mark[class*="highlight-"][class*="_background"]:first-child{
  margin:10px 0 6px;
  min-height:28px;
  font-size:12.5px;
  line-height:1.3;
  letter-spacing:0;
}

body .post-body .deep-section details.supplement-toggle[open] .bulleted-list > li{
  margin:5px 0;
  padding:0 0 0 2px;
  border:0;
  border-radius:0;
  background:transparent;
}

body .post-body .deep-section details.supplement-toggle[open] .bulleted-list > li::marker{
  color:color-mix(in srgb, var(--muted) 72%, var(--text));
}

body .post-body .deep-section details.supplement-toggle[open] .bulleted-list .bulleted-list > li{
  margin:5px 0;
  padding:4px 0 4px 2px;
  border:0;
  border-radius:0;
  background:transparent;
}

body .post-body .deep-section > details.supplement-toggle.is-focused-supplement{
  margin:0;
}


/* Equation rendering guard: align fallback formulas with reference pages. */
.post-body figure.equation{ margin: 16px 0; }
.post-body .equation-container{ padding: 0; }
.post-body .equation-render{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: thin;
}
.post-body .equation-main{
  min-width: 0;
  text-align: center;
  font-family: "KaTeX_Main", "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--text);
  white-space: nowrap;
}
.post-body .equation-main-structured{
  display: grid;
  justify-items: center;
  gap: 8px;
  white-space: normal;
}
.post-body .matrix-equation-row{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48em;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
.post-body .math-matrix{
  display: inline-flex;
  align-items: stretch;
  line-height: 1;
}
.post-body .matrix-bracket{
  display: inline-flex;
  align-items: center;
  padding: 0 .04em;
  font-size: 2.2em;
  line-height: .86;
  color: var(--text);
}
.post-body .matrix-grid{
  display: grid;
  align-items: center;
  justify-items: center;
  column-gap: .9em;
  row-gap: .18em;
  padding: .16em .18em;
  line-height: 1.18;
}
.post-body .matrix-grid-2x2{
  grid-template-columns: repeat(2, max-content);
}
.post-body .matrix-grid-2x1{
  grid-template-columns: max-content;
}
.post-body .matrix-equals,
.post-body .equation-line{
  white-space: nowrap;
}
.post-body .equation-main .katex-display{
  margin: 0;
  padding: 0;
  overflow: visible;
}
.post-body .equation-tag{
  justify-self: end;
  align-self: center;
  font-family: "KaTeX_Main", "Times New Roman", serif;
  font-size: .95rem;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 8px;
}
.post-body details.supplement-toggle[open] figure.equation .equation-render{
  background: transparent;
}
.post-body .equation-main:has(.piecewise-equation){
  display: flex;
  justify-content: center;
  white-space: normal;
  line-height: 1.22;
}
.post-body .piecewise-equation{
  display: inline-grid;
  grid-template-columns: max-content .42em max-content;
  align-items: center;
  column-gap: .18em;
  width: max-content;
  max-width: none;
  font-size: .88em;
  line-height: 1.22;
  white-space: normal;
}
.post-body .piecewise-equation .piecewise-lhs{
  white-space: nowrap;
}
.post-body .piecewise-equation .brace{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7em;
  line-height: .88;
  color: var(--muted);
}
.post-body .piecewise-equation .piecewise-cases{
  display: grid;
  gap: 1px;
  text-align: left;
  font-size: .9em;
  line-height: 1.22;
}
.post-body .piecewise-equation .piecewise-cases span{
  white-space: nowrap;
}
.post-body .piecewise-equation em{
  font-style: italic;
  color: var(--muted);
}
@media (max-width: 720px){
  .post-body .equation-render{ grid-template-columns: 1fr; gap: 6px; }
  .post-body .equation-main{ font-size: .96rem; line-height: 1.58; }
  .post-body .equation-main:has(.piecewise-equation){ line-height: 1.18; }
  .post-body .equation-main-structured{
    align-items: start;
    overflow-x: auto;
    justify-items: start;
    max-width: 100%;
    padding-bottom: 2px;
  }
  .post-body .matrix-equation-row{ gap: .34em; }
  .post-body .matrix-bracket{ font-size: 1.95em; }
  .post-body .equation-tag{ justify-self: start; font-size: .88rem; padding-left: 0; }
  .post-body .piecewise-equation{ font-size: .82em; column-gap: .14em; }
  .post-body .piecewise-equation .brace{ font-size: 1.5em; }
}

/* Equation typography normalization 2026-05-21 */
.post-body figure.equation .equation-container{
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.post-body figure.equation .equation-render{
  font-family:"KaTeX_Main", "STIX Two Math", "Times New Roman", serif;
  letter-spacing:0;
  word-spacing:.02em;
}
.post-body figure.equation .equation-main{
  font-family:"KaTeX_Main", "STIX Two Math", "Times New Roman", serif;
  font-size:1.05rem;
  line-height:1.62;
  letter-spacing:0;
  word-spacing:.02em;
  font-variant-numeric:lining-nums tabular-nums;
}
.post-body figure.equation .equation-main sub,
.post-body figure.equation .equation-main sup,
.post-body .inline-math sub,
.post-body .inline-math sup,
.post-body .equation-chip-part sub,
.post-body .equation-chip-part sup{
  position:relative;
  vertical-align:baseline;
  font-size:.72em;
  line-height:0;
}
.post-body figure.equation .equation-main sub,
.post-body .inline-math sub,
.post-body .equation-chip-part sub{ bottom:-.22em; }
.post-body figure.equation .equation-main sup,
.post-body .inline-math sup,
.post-body .equation-chip-part sup{ top:-.48em; }
.post-body figure.equation .equation-line{
  display:block;
  line-height:1.45;
  white-space:nowrap;
}
.post-body figure.equation .norm-delim{
  display:inline-block;
  margin:0 .015em;
  font-size:1.24em;
  line-height:.82;
  vertical-align:-.08em;
  transform:scaleX(.95);
  transform-origin:center;
}
.post-body figure.equation .sigma-symbol{
  display:inline-block;
  font-size:1.08em;
  line-height:.9;
  vertical-align:-.03em;
  margin:0 .015em;
}
.post-body figure.equation .large-operator{
  display:inline-block;
  font-size:1.18em;
  line-height:.9;
  vertical-align:-.08em;
  margin:0 .035em;
}
.post-body figure.equation .sum-limits{
  display:inline-grid;
  grid-template-rows:auto auto auto;
  align-items:center;
  justify-items:center;
  row-gap:0;
  margin:0 .09em;
  vertical-align:-.72em;
  line-height:1;
}
.post-body figure.equation .sum-limits .sum-over,
.post-body figure.equation .sum-limits .sum-under{
  font-size:.58em;
  line-height:1;
  white-space:nowrap;
}
.post-body figure.equation .sum-limits .sum-symbol{
  display:block;
  font-size:1.22em;
  line-height:.9;
}
.post-body .inline-math{
  display:inline-block;
  max-width:100%;
  padding:.04rem .28rem;
  border:1px solid rgba(148,163,184,.34);
  border-radius:6px;
  background:rgba(148,163,184,.12);
  color:var(--text, #111827);
  font-family:"KaTeX_Main", "STIX Two Math", "Times New Roman", serif;
  font-size:.92em;
  line-height:1.24;
  letter-spacing:0;
  vertical-align:.16em;
  white-space:nowrap;
}
.post-body :is(p,li,td,figcaption,.summary-head,.map-card,.insight-box) > .inline-math{
  margin:0 .06em;
  font-size:.92em;
  line-height:1.24;
  vertical-align:.16em;
}
.post-body .notion-text-equation-token{
  vertical-align:.16em;
  line-height:1;
}
.post-body .notion-text-equation-token .katex{
  line-height:1;
}
.post-body figure.equation .katex-display{
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:2px;
}
.post-body figure.equation .katex{
  font-size:1.02em;
  line-height:1.2;
}
.post-body figure.equation .katex .mop.op-symbol.large-op{
  transform:scale(1.08);
  transform-origin:center;
}
.post-body figure.equation .katex .delimsizing.mult,
.post-body figure.equation .katex .delimsizing.size2,
.post-body figure.equation .katex .delimsizing.size3,
.post-body figure.equation .katex .delimsizing.size4{
  transform:scaleY(1.06);
  transform-origin:center;
}
.post-body figure.equation .sum-limits:not(:has(.sum-over)){
  grid-template-rows:auto auto;
  vertical-align:-.42em;
}
.post-body figure.equation .sum-limits:not(:has(.sum-over)) .sum-symbol{
  font-size:1.16em;
}
.post-body .equation-main-structured{
  display:grid;
  justify-items:center;
  gap:.5rem;
  white-space:normal;
}
.post-body .matrix-equation-row{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.46em;
  white-space:nowrap;
}
.post-body .math-matrix{
  display:inline-flex;
  align-items:stretch;
  gap:.12em;
}
.post-body .matrix-bracket{
  display:flex;
  align-items:center;
  font-size:2.45em;
  line-height:.8;
  color:var(--text, #111827);
}
.post-body .matrix-grid{
  display:grid;
  align-items:center;
  justify-items:center;
  column-gap:.82em;
  row-gap:.24em;
  padding:.08em .12em;
}
.post-body .matrix-grid-2x2{ grid-template-columns:repeat(2, minmax(1.25em, auto)); }
.post-body .matrix-grid-2x1{ grid-template-columns:minmax(1.25em, auto); }
.post-body .matrix-equals{
  display:inline-flex;
  align-items:center;
  font-size:1.05em;
  padding:0 .08em;
}
@media (max-width:720px){
  .post-body .matrix-equation-row{ gap:.34em; }
  .post-body .matrix-bracket{ font-size:2.1em; }
  .post-body .matrix-grid{ column-gap:.58em; row-gap:.18em; }

  .post-body figure.equation .equation-main{ font-size:.96rem; line-height:1.55; }
  .post-body figure.equation .sum-limits{ vertical-align:-.62em; margin:0 .06em; }
  .post-body figure.equation .sum-limits .sum-symbol{ font-size:1.12em; }
  .post-body figure.equation .norm-delim{ font-size:1.16em; }
  .post-body .inline-math{ font-size:.9em; padding:.03rem .22rem; }
}
/* End equation typography normalization 2026-05-21 */

/* Original KaTeX equation block support */
.post-body figure.equation .equation-main-original{
  display: block;
  width: 100%;
  white-space: normal;
  line-height: 1.45;
}
.post-body figure.equation .original-equation-part{
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .08rem 0;
}
.post-body figure.equation .original-equation-stack{
  display: grid;
  gap: .55rem;
  justify-items: center;
  width: 100%;
}
.post-body figure.equation .equation-main-original .equation-container{
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 auto;
}
.post-body figure.equation .equation-main-original .katex-display{
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.post-body figure.equation .equation-main-original .notion-text-equation-token{
  display: inline-block;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: inherit !important;
  vertical-align: baseline;
  font-size: 1.08em;
}
.post-body figure.equation .equation-main-original .katex{
  font-size: 1.08em;
}
.post-body figure.equation.has-original-equation-number > .equation-container > .equation-render > .equation-tag{
  display: none;
}
.post-body figure.equation-tag-gutter .katex-html .tag{
  display: none !important;
}
.post-body figure.equation-tag-gutter > .equation-container > .equation-render{
  grid-template-columns: minmax(0, calc(100% - 44px)) 28px;
  gap: 10px;
  overflow-x: visible;
}
.post-body figure.equation-tag-gutter .equation-main{
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
.post-body figure.equation-tag-gutter > .equation-container > .equation-render > .equation-tag-gutter-stack{
  display: grid !important;
  justify-self: end;
  align-self: stretch;
  align-content: space-around;
  gap: 0;
  padding-left: 0;
  color: var(--text);
  font-family: "KaTeX_Main", "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1;
  white-space: nowrap;
}
.post-body figure.equation-tag-gutter > .equation-container > .equation-render > .equation-tag-gutter-stack span{
  display: block;
}

/* Unified inline equation theme 2026-05-21 */
:root{
  --inline-equation-bg: rgba(75, 85, 99, .10);
  --inline-equation-border: rgba(75, 85, 99, .22);
  --inline-equation-text: #374151;
  --inline-equation-shadow: rgba(17, 24, 39, .04);
  --border: var(--line);
}
html[data-theme="dark"]{
  --inline-equation-bg: rgba(229, 231, 235, .12);
  --inline-equation-border: rgba(229, 231, 235, .22);
  --inline-equation-text: #e5e7eb;
  --inline-equation-shadow: rgba(0, 0, 0, .18);
}
.post-body .inline-math,
.post-body .notion-text-equation-token,
.post-body .math-token,
.post-body .model-token,
.post-body .equation-chip-part{
  display: inline-block;
  vertical-align: .18em;
  max-width: 100%;
  padding: .06rem .32rem;
  margin: 0 .04rem;
  border: 1px solid var(--inline-equation-border) !important;
  border-radius: 6px;
  background: var(--inline-equation-bg) !important;
  color: var(--inline-equation-text) !important;
  box-shadow: 0 1px 1px var(--inline-equation-shadow);
  font-size: .92em;
  line-height: 1.28;
  white-space: nowrap;
}
.post-body .notion-text-equation-token .katex,
.post-body .inline-math .katex,
.post-body .math-token .katex,
.post-body .model-token .katex,
.post-body .equation-chip-part .katex{
  color: inherit !important;
  font-size: 1em;
}
.post-body .math-token-list,
.post-body .equation-chip-group{
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .08rem;
  vertical-align: .18em;
}
.post-body .math-token-separator,
.post-body .equation-chip-comma{
  color: #6b7280;
  margin: 0 .04rem;
}
.post-body .inline-fraction-token{
  padding-top: .12rem;
  padding-bottom: .12rem;
  vertical-align: .05em;
}
.post-body .inline-frac{
  display: inline-grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  line-height: 1.05;
  font-size: .9em;
}
.post-body .inline-frac-num{
  display: block;
  padding: 0 .16rem .04rem;
  border-bottom: 1.4px solid currentColor;
}
.post-body .inline-frac-den{
  display: block;
  padding: .04rem .16rem 0;
}
.post-body .katex .frac-line{
  border-bottom-color: currentColor !important;
  min-height: .045em;
}
.post-body figure.equation .katex .frac-line{
  border-bottom-width: .055em !important;
}


/* Structured HTML equation fractions 2026-05-21 */
.post-body figure.equation .equation-frac{
  display:inline-grid;
  grid-template-rows:auto auto;
  justify-items:center;
  align-items:center;
  line-height:1.04;
  vertical-align:-.42em;
  margin:0 .045em;
  white-space:nowrap;
}
.post-body figure.equation .equation-frac-num{
  display:block;
  padding:0 .18em .055em;
  border-bottom:1.35px solid currentColor;
}
.post-body figure.equation .equation-frac-den{
  display:block;
  padding:.055em .18em 0;
}
.post-body figure.equation .equation-vector{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.34em;
  white-space:nowrap;
}
.post-body figure.equation .equation-paren{
  display:inline-flex;
  align-items:center;
  gap:.12em;
  white-space:nowrap;
}

/* DROID-W method integration 2026-05-21 */
.post-body .method-step-block{
  margin: 1.35rem 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}
.post-body .method-step-block:first-of-type{
  margin-top: 1rem;
}
.post-body .method-step-block > p{
  margin: .75rem 0;
}
.post-body .method-equation-cluster{
  display: grid;
  gap: .85rem;
  margin: 1rem 0 1.1rem;
}
.post-body .method-table td,
.post-body .dataset-table td,
.post-body .task-evidence-table td{
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.post-body .method-table td:nth-child(2),
.post-body .method-table td:nth-child(3),
.post-body .dataset-table td:nth-child(2),
.post-body .dataset-table td:nth-child(3),
.post-body .task-evidence-table td:nth-child(2),
.post-body .task-evidence-table td:nth-child(3){
  font-size: .94em;
  line-height: 1.62;
}

/* DROID-W question-centered reading flow 2026-05-21 */
.tldr-cues{
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: .55rem;
  margin: .95rem 0 1.1rem;
}
.cue-chip{
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 38px;
  padding: .5rem .62rem;
  border: 1px solid color-mix(in srgb, var(--border) 96%, var(--text) 4%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 82%, var(--bg) 18%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 62%, transparent);
}
.cue-chip strong{
  flex: 0 0 auto;
  padding-right: .48rem;
  border-right: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  font-size: .7rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.cue-chip small{
  min-width: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.problem-ladder,
.design-choice-box{
  margin: 1.15rem 0;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--border) 92%, var(--text) 5%);
  border-left: 4px solid color-mix(in srgb, var(--text) 34%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 86%, var(--bg) 14%);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--text) 4%, transparent);
}
.problem-ladder-grid,
.design-choice-grid{
  display: grid;
  gap: .75rem;
}
.problem-ladder-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.design-choice-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.problem-ladder-grid article,
.design-choice-grid article{
  position: relative;
  padding: .84rem .86rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--border) 96%, var(--text) 5%);
  background: color-mix(in srgb, var(--panel) 94%, var(--bg) 6%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 58%, transparent);
}
.problem-ladder-grid article:not(:last-child)::after{
  content: ">";
  position: absolute;
  right: -.55rem;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}
.problem-ladder-grid span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  font-size: .68rem;
  font-weight: 800;
}
.problem-ladder-grid strong,
.design-choice-grid strong{
  display: block;
  margin-bottom: .35rem;
  font-size: .9rem;
  color: var(--text);
}
.problem-ladder-grid p,
.design-choice-grid p,
.post-body .usage-table td,
.post-body .task-evidence-table td{
  font-size: .92rem;
  line-height: 1.55;
}
.summary-term-secondary{
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
}
.evidence-cluster{
  margin: 1.55rem 0 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}
.evidence-cluster > p{
  margin: .75rem 0 1rem;
}
.figure-emphasis{
  display: block;
  margin-top: .36rem;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: .88em;
  line-height: 1.45;
}
.dataset-evidence-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: .95rem 0 1.15rem;
}
.dataset-evidence-grid article{
  padding: .9rem .95rem;
  border: 1px solid color-mix(in srgb, var(--border) 96%, var(--text) 4%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 92%, var(--bg) 8%);
}
.dataset-evidence-grid strong{
  display: block;
  margin: .22rem 0 .42rem;
  color: var(--text);
  font-size: .94rem;
}
.dataset-evidence-grid p,
.dataset-evidence-grid small{
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}
.dataset-evidence-grid small{
  margin-top: .48rem;
  color: color-mix(in srgb, var(--text) 70%, var(--muted));
}
.dataset-kicker{
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.post-body .math-token sub,
.post-body .math-token sup{
  font-size: .68em;
  line-height: 0;
}
@media (max-width: 900px){
  .problem-ladder-grid,
  .design-choice-grid,
  .dataset-evidence-grid{
    grid-template-columns: 1fr;
  }
  .problem-ladder-grid article:not(:last-child)::after{
    display: none;
  }
}
@media (max-width: 560px){
  .tldr-cues{
    grid-template-columns: 1fr;
  }
}

/* DROID-W TL;DR/evidence polish 2026-05-21 */
.map-subsection-title{
  display: grid;
  gap: 0;
  margin: 1.05rem 0 .48rem;
  padding-top: .38rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
}
.map-subsection-title span{
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: .26rem .54rem;
  border: 1px solid color-mix(in srgb, var(--border) 86%, var(--text) 8%);
  border-radius: 7px;
  background: color-mix(in srgb, var(--panel) 88%, var(--bg) 12%);
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.map-subsection-title p{
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.evaluation-table-stack{
  display: grid;
  gap: .9rem;
  margin-top: .9rem;
}
.evaluation-table-block{
  display: grid;
  gap: .55rem;
  padding: .82rem .88rem .9rem;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(75, 85, 99, .34);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 88%, var(--bg) 12%);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--text) 4%, transparent);
}
.evaluation-table-label{
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: .23rem .5rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--text) 10%, var(--panel) 90%);
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
  font-size: .74rem;
  font-weight: 800;
}
.post-body .evaluation-evidence-panel .summary-table{
  min-width: min(100%, 620px);
}
.post-body .evaluation-evidence-panel th,
.post-body .evaluation-evidence-panel td{
  white-space: normal;
}
.dataset-evidence-grid-two{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dataset-detail-toggle{
  margin-top: 1rem;
}
.post-body .dataset-detail-toggle .appendix-details{
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.75rem);
}
.post-body .dataset-detail-toggle figure{
  max-width: 100%;
}
.post-body .dataset-detail-toggle img{
  max-width: min(100%, var(--media-max-width, 760px));
}
.post-body .inline-equation-token,
.post-body .inline-equation-token.notion-text-equation-token,
.post-body .math-token{
  display: inline-block;
  max-width: 100%;
  margin: 0 .04rem;
  padding: .06rem .32rem;
  border: 1px solid var(--inline-equation-border) !important;
  border-radius: 6px;
  background: var(--inline-equation-bg) !important;
  color: var(--inline-equation-text) !important;
  box-shadow: 0 1px 1px var(--inline-equation-shadow);
  font-size: .92em;
  line-height: 1.28;
  vertical-align: .18em;
  white-space: nowrap;
}
.post-body .inline-equation-token .katex,
.post-body .inline-equation-token .katex-html,
.post-body .math-token .katex{
  color: inherit !important;
  font-size: 1em;
  line-height: 1;
}
.post-body .inline-equation-token .base{
  display: inline-flex;
  align-items: baseline;
  gap: .02em;
}
.post-body .inline-equation-token sub,
.post-body .inline-equation-token sup{
  font-size: .68em;
  line-height: 0;
}
.post-body .inline-equation-token sub{
  vertical-align: -.28em;
}
.post-body .inline-equation-token sup{
  vertical-align: .45em;
}
.post-body .summary-table .compact-cell-list{
  display: grid;
  gap: .18rem;
  margin: 0;
  padding-left: 1.05rem;
}
.post-body .summary-table .compact-cell-list li{
  margin: 0;
  font-size: inherit;
  line-height: 1.45;
}
.post-body img[src*="media_93795521defc"]{
  max-width: min(100%, 760px);
}
.post-body img[src*="media_65d4f779d86c"],
.post-body img[src*="media_4d14e8f8665f"],
.post-body img[src*="media_e6524153f7e0"],
.post-body img[src*="media_b6d48221b20d"]{
  max-width: min(100%, 700px);
}
.post-body img[src*="media_e24e22d3a70d"]{
  max-width: min(100%, 560px);
}
.post-body img[src*="media_9039f209edab"],
.post-body img[src*="media_34230500c2e5"],
.post-body img[src*="media_13904e631038"],
.post-body img[src*="media_f000d693a60b"],
.post-body img[src*="media_6ff477cbd340"],
.post-body img[src*="media_935661d31cb5"]{
  max-width: min(100%, 820px);
}
@media (max-width: 900px){
  .dataset-evidence-grid-two{
    grid-template-columns: 1fr;
  }
}

/* DROID-W final visual balance pass 2026-05-21 */
.tldr-cues{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 74%, var(--bg) 26%);
}
.cue-chip{
  border: 1px solid color-mix(in srgb, var(--text) 13%, var(--line));
  background: color-mix(in srgb, var(--panel) 94%, var(--bg) 6%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 5%, transparent);
}
.cue-chip strong{
  min-width: 2.45rem;
  padding: .18rem .38rem;
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--text) 6%, var(--panel) 94%);
  text-align: center;
}
.cue-chip small{
  color: color-mix(in srgb, var(--text) 66%, var(--muted));
}
.map-subsection-title{
  margin-top: 1.15rem;
  padding: .58rem .65rem;
  border: 1px solid var(--line);
  border-left: 3px solid color-mix(in srgb, var(--text) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 76%, var(--bg) 24%);
}
.map-subsection-title span{
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.flow-diagram{
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 92%, var(--bg) 8%);
}
.compare-grid article{
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  background: color-mix(in srgb, var(--panel) 93%, var(--bg) 7%);
}
.problem-ladder,
.design-choice-box{
  border-color: color-mix(in srgb, var(--text) 13%, var(--line));
  border-left-color: color-mix(in srgb, var(--text) 28%, var(--line));
  background: color-mix(in srgb, var(--panel2) 82%, var(--bg) 18%);
}
.problem-ladder-grid article,
.design-choice-grid article,
.dataset-evidence-grid article{
  border: 1px solid color-mix(in srgb, var(--text) 14%, var(--line));
  background: color-mix(in srgb, var(--panel) 95%, var(--bg) 5%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 5%, transparent);
}
.dataset-evidence-grid article{
  border-left: 3px solid color-mix(in srgb, var(--text) 18%, var(--line));
}
.evaluation-table-block{
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  border-left: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  background: color-mix(in srgb, var(--panel) 94%, var(--bg) 6%);
  box-shadow: none;
}
.evaluation-table-label{
  border-color: color-mix(in srgb, var(--text) 12%, var(--line));
  background: color-mix(in srgb, var(--text) 5%, var(--panel) 95%);
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
}
.next-question-note{
  margin: .85rem 0 1.1rem;
  padding: .78rem .9rem;
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 80%, var(--bg) 20%);
}
.next-question-note p{
  margin: .38rem 0 0;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: .9rem;
  line-height: 1.55;
}
.post-body .inline-equation-token,
.post-body .inline-equation-token.notion-text-equation-token,
.post-body .math-token{
  font-size: 1.06em;
  vertical-align: -.38em;
}
.post-body figure.equation figcaption .inline-equation-token,
.post-body figure.equation figcaption .inline-equation-token.notion-text-equation-token,
.post-body figure.equation figcaption .math-token{
  display: inline-flex;
  align-items: center;
  padding: .04rem .34rem;
  font-size: .98em;
  line-height: 1.2;
  vertical-align: -.08em;
}
.post-body figure.equation figcaption .inline-equation-token sub,
.post-body figure.equation figcaption .inline-equation-token sup,
.post-body figure.equation figcaption .math-token sub,
.post-body figure.equation figcaption .math-token sup{
  font-size: .68em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.post-body figure.equation figcaption .inline-equation-token sub,
.post-body figure.equation figcaption .math-token sub{
  bottom: -.22em;
}
.post-body figure.equation figcaption .inline-equation-token sup,
.post-body figure.equation figcaption .math-token sup{
  top: -.48em;
}
.post-body img[src*="media_fig2_system_overview"]{
  max-width: min(100%, 860px);
}
.post-body img[src*="media_13904e631038"],
.post-body img[src*="media_f000d693a60b"]{
  max-width: min(100%, 560px);
}

.post-body p,
.post-body li,
.post-body .summary-table td,
.post-body .map-card p,
.post-body .compare-grid p,
.post-body .result-brief p,
.post-body .section-note p{
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.task-evidence-table .evidence-focus,
.task-evidence-table .evidence-detail{
  display: block;
}
.task-evidence-table .evidence-focus{
  margin-bottom: .18rem;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-weight: 650;
}
.task-evidence-table .evidence-detail{
  color: color-mix(in srgb, var(--text) 68%, var(--muted));
  font-size: .94em;
  line-height: 1.48;
}

/* ORB-SLAM2 page media balance 2026-05-22 */
.post-body img[src*="media_f09800510a62"],
.post-body img[src*="media_45be2546b891"],
.post-body img[src*="media_a5fa6bbb50c1"],
.post-body img[src*="media_a6fbaa34875d"],
.post-body img[src*="media_226901600033"],
.post-body img[src*="media_968aa83f4b1c"],
.post-body img[src*="media_69cbcdb9c071"]{
  max-width: min(100%, 860px);
}

.post-body img[src*="media_7d8f46206d38"],
.post-body img[src*="media_8807bc01e055"],
.post-body img[src*="media_a471f3a71807"],
.post-body img[src*="media_009f16d8e077"],
.post-body img[src*="media_73c2b08e972f"],
.post-body img[src*="media_d29593b2edfa"],
.post-body img[src*="media_f1fc05044cfe"]{
  max-width: min(100%, 760px);
}

.post-body img[src*="media_a1033d7ac406"],
.post-body img[src*="media_a56450ca58de"],
.post-body img[src*="media_73477dcf341f"],
.post-body img[src*="media_5736b9b31ca7"],
.post-body img[src*="media_19d4d4aed078"],
.post-body img[src*="media_b0e4f944f576"],
.post-body img[src*="media_b76099ea5212"]{
  max-width: min(100%, 620px);
}

.post-body .cue-chip small{
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.post-body .link-preview strong{
  overflow-wrap: anywhere;
}

@media (max-width: 700px){
  .post-body .tldr-cues{
    grid-template-columns: 1fr;
  }
}

/* Block equation tag right-edge harmonization 2026-05-22. */
.post-body figure.equation .katex-display > .katex{
  display:block;
  width:100%;
  max-width:100%;
}
.post-body figure.equation .katex-html{
  display:block;
  position:relative;
  width:100%;
  max-width:100%;
}
.post-body figure.equation:not(.equation-tag-gutter) .katex-html .tag{
  position:absolute;
  right:0;
  margin-left:0;
}


/* External equation tag right-gutter harmonization 2026-05-22. */
.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag){
  display:grid;
  grid-template-columns:minmax(0, calc(100% - 72px)) auto;
  gap:10px;
  align-items:center;
  overflow-x:visible;
}
.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag) > .equation-main{
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag) > .equation-tag{
  display:block;
  justify-self:end;
  align-self:center;
  color:var(--text);
  font-family:"KaTeX_Main", "Times New Roman", serif;
  font-size:1.1rem;
  line-height:1;
  white-space:nowrap;
}


/* KaTeX block width hardening for right-edge tags 2026-05-22. */
.post-body figure.equation :is(.original-equation-stack, .original-equation-part, .original-equation-part > .equation-container, .katex-display){
  width:100%;
  max-width:100%;
}
.post-body figure.equation .katex-display > .katex,
.post-body figure.equation .katex-html{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}

/* QA: prevent equation glyph clipping while preserving horizontal scroll. */
.post-body figure.equation .equation-render{
  overflow-x:auto;
  overflow-y:visible !important;
}

.post-body figure.equation .equation-main,
.post-body figure.equation .equation-main-original,
.post-body figure.equation .equation-main-original .equation-container,
.post-body figure.equation .original-equation-stack,
.post-body figure.equation .original-equation-part,
.post-body figure.equation .original-equation-part > .equation-container,
.post-body figure.equation .katex-display{
  overflow:visible !important;
}

.post-body figure.equation .katex-display{
  padding-block:.08em;
}

/* QA: keep table text readable on narrow screens. */
.post-body table th,
.post-body table td{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* QA: fit summary tables on mobile without horizontal clipping. */
@media (max-width:640px){
  .post-body .summary-table-wrap{
    width:100%;
    max-width:100%;
    overflow-x:visible;
  }
  .post-body table.summary-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }
  .post-body .summary-table th,
  .post-body .summary-table td{
    padding:8px 7px;
    font-size:.82em;
    line-height:1.5;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .post-body .summary-table :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}


/* Final inline KaTeX baseline: keep body, emphasis notes, and toggles visually consistent. */
.post-body :is(p, li, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
  vertical-align:-.16em;
  line-height:1.08;
}

.post-body :is(.result-brief, .section-note) :is(p, li) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
  vertical-align:-.16em !important;
}

.post-body details.supplement-toggle :is(p, li, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
  vertical-align:-.16em;
  line-height:1.08;
}

.post-body details.supplement-toggle :is(p, li, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token) .katex{
  transform:none;
  line-height:1;
}

.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token),
.post-body figure.equation figcaption :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token),
.post-body details.supplement-toggle :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th, figcaption) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
  vertical-align:middle;
}

.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token) .katex,
.post-body figure.equation figcaption :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token) .katex,
.post-body details.supplement-toggle :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th, figcaption) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token) .katex{
  transform:none;
  line-height:1;
}

/* Supplement text rhythm: align explanatory copy with the local card and label system. */
.post-body details.supplement-toggle .appendix-details .summary-head p{
  display:block;
  margin-top:7px;
  padding-top:1px;
  line-height:1.62;
  transform:translateY(1px);
}

.post-body details.supplement-toggle .supplement-guide .summary-head p{
  margin-top:7px;
}

.post-body details.supplement-toggle .supplement-stepper article{
  align-items:center;
}

.post-body details.supplement-toggle .supplement-card p,
.post-body details.supplement-toggle .supplement-stepper p{
  padding-top:2px;
  line-height:1.58;
}

.post-body details.supplement-toggle .summary-panel .summary-table td{
  vertical-align:middle;
}

/* ORB-SLAM2 equation captions: compact inline KaTeX without extra descender space. */
.post-body figure.equation figcaption :is(.notion-text-equation-token, .inline-equation-token, .math-token){
  display:inline-flex !important;
  align-items:center;
  margin:0 .04rem;
  padding:.02rem .3rem .025rem !important;
  font-size:.96em;
  line-height:1 !important;
  vertical-align:-.06em !important;
}

.post-body figure.equation figcaption :is(.notion-text-equation-token, .inline-equation-token, .math-token) :is(.katex, .katex-html){
  line-height:1 !important;
}

.post-body figure.equation figcaption .notion-text-equation-token > span:empty{
  display:none;
}

/* Final equation and text rhythm pass 2026-05-24. */
.post-body :is(p, li, figcaption, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]){
  vertical-align:-.16em;
  line-height:1.08;
}

.post-body :is(.result-brief, .section-note) :is(p, li, figcaption) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]){
  vertical-align:-.16em !important;
}

.post-body details.supplement-toggle :is(p, li, figcaption, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]){
  vertical-align:-.16em;
  line-height:1.08;
}

.post-body :is(p, li, figcaption, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]) .katex{
  line-height:1;
  transform:none;
}

.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]),
.post-body figure.equation figcaption :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]),
.post-body details.supplement-toggle :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th, figcaption) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]){
  vertical-align:middle;
}

.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]) .katex,
.post-body figure.equation figcaption :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]) .katex,
.post-body details.supplement-toggle :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th, figcaption) :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]) .katex{
  line-height:1;
  transform:none;
}

.post-body details.supplement-toggle .appendix-details :is(p, li, td, th, figcaption),
.post-body details.supplement-toggle .supplement-guide :is(p, li, td, th, figcaption){
  line-height:1.6;
}

.post-body details.supplement-toggle .appendix-details .summary-head p,
.post-body details.supplement-toggle .supplement-guide .summary-head p{
  margin-top:7px;
  padding-top:0;
  transform:none;
}

/* Shared caption alignment: title and note are centered independently, with wrapped lines left-aligned inside each measure. */
.post-body figure.image,
.post-body figure.equation{
  text-align:center;
}

.post-body figure.image figcaption,
.post-body figure.equation figcaption{
  display:block;
  width:auto;
  max-width:min(100%, 760px);
  margin-inline:auto;
  text-align:center;
  white-space:normal;
}

.post-body figure.equation figcaption{
  max-width:760px;
  line-height:1.5;
}

.post-body figure figcaption .caption-main,
.post-body figure figcaption .caption-note{
  display:table;
  width:auto;
  max-width:100%;
  margin-inline:auto;
  text-align:left;
}

.post-body figure figcaption .caption-note{
  margin-top:4px;
}

.post-body figure figcaption .katex,
.post-body figure figcaption .katex-html{
  white-space:nowrap !important;
  line-height:1 !important;
}

/* Keep section-note titles aligned with emphasis evaluation chips. */
.section-note .section-chip,
.section-note-label,
.section-note > strong{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin-bottom: 6px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, #d4a017 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, #f8e7a5 42%, var(--panel2));
  color: color-mix(in srgb, #7c520c 76%, var(--text));
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.35;
}
:root[data-theme="dark-gray"] .section-note .section-chip,
:root[data-theme="dark"] .section-note .section-chip,
:root[data-theme="dark-gray"] .section-note-label,
:root[data-theme="dark"] .section-note-label,
:root[data-theme="dark-gray"] .section-note > strong,
:root[data-theme="dark"] .section-note > strong{
  border-color: color-mix(in srgb, #d6a21f 36%, var(--line));
  background: color-mix(in srgb, #6b4b12 28%, var(--panel2));
  color: #f0cf73;
}


/* Refined paper metadata strip under the title. */
.paper-meta-card{
  position: relative;
  isolation: isolate;
  margin-top: 14px;
  padding: 16px 16px 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--text) 28%);
  border-radius: 8px;
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--panel) 82%, var(--text) 5%) 0%,
      color-mix(in srgb, var(--panel2) 90%, var(--bg)) 46%,
      color-mix(in srgb, var(--panel) 78%, var(--text) 8%) 100%);
  box-shadow:
    0 12px 30px color-mix(in srgb, var(--text) 7%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 38%, transparent);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  will-change: transform;
}
.paper-meta-card > *{
  position: relative;
  z-index: 1;
}
.paper-meta-card:hover{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--line) 70%, var(--text) 30%);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--text) 9%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 42%, transparent);
}
.paper-meta-card::before{
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--text) 54%, transparent),
    color-mix(in srgb, var(--line) 70%, transparent),
    transparent);
  opacity: .45;
}
.paper-meta-card::after{
  content: "";
  position: absolute;
  z-index: 0;
  inset: -80% -42%;
  pointer-events: none;
  background: linear-gradient(135deg,
    transparent 34%,
    color-mix(in srgb, #fff 16%, transparent) 42%,
    color-mix(in srgb, #fff 52%, transparent) 49%,
    color-mix(in srgb, var(--text) 10%, transparent) 55%,
    transparent 64%);
  opacity: 0;
  transform: translate3d(-24%, -18%, 0);
  animation: paperMetaSheen 9s ease-in-out infinite;
}
@keyframes paperMetaSheen{
  0%, 20%{
    opacity: 0;
    transform: translate3d(-24%, -18%, 0);
  }
  42%{
    opacity: .46;
  }
  58%{
    opacity: .3;
    transform: translate3d(24%, 18%, 0);
  }
  100%{
    opacity: 0;
    transform: translate3d(24%, 18%, 0);
  }
}
.paper-meta-top{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 13px;
}
.paper-meta-venue{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 11px;
  border: 1px solid color-mix(in srgb, #aeb8c4 82%, var(--text) 18%);
  border-radius: 5px;
  background:
    linear-gradient(180deg,
      #fbfcfe 0%,
      #f1f4f7 28%,
      #dce3ea 66%,
      #cad3dc 100%);
  color: color-mix(in srgb, #4d5967 86%, var(--text) 14%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .82),
    inset 0 -1px 0 rgba(84, 99, 116, .28),
    inset 1px 0 0 rgba(255, 255, 255, .34),
    inset -1px 0 0 rgba(84, 99, 116, .16),
    0 1px 2px rgba(15, 23, 42, .07);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .78);
}
.paper-meta-venue::before{
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 66%;
  height: 76%;
  pointer-events: none;
  border-radius: 4px 999px 999px 4px;
  background: radial-gradient(ellipse at 16% 10%,
    rgba(255, 255, 255, .58) 0%,
    rgba(255, 255, 255, .26) 38%,
    rgba(255, 255, 255, 0) 82%);
  filter: blur(.42px);
  opacity: .50;
  transform-origin: 18% 14%;
  transform: scale(.92);
  animation: paperVenueSoftGlint 4.8s ease-in-out infinite;
}
.paper-meta-venue::after{
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 1px;
  height: 8px;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .14) 42%, rgba(255, 255, 255, 0));
  filter: blur(.45px);
  opacity: .82;
}
@keyframes paperVenueSoftGlint{
  0%, 100%{
    opacity: .30;
    transform: scale(.86);
  }
  48%{
    opacity: .58;
    transform: scale(1.12);
  }
  72%{
    opacity: .42;
    transform: scale(.98);
  }
}
@media (prefers-reduced-motion: reduce){
  .paper-meta-venue::before{
    animation: none;
    opacity: .46;
    transform: none;
  }
}
.paper-meta-date{
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .01em;
}
.paper-meta-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 12px 20px;
  margin: 0;
}
.paper-meta-item{
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid color-mix(in srgb, var(--line) 82%, var(--text) 18%);
}
.paper-meta-item dt{
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.paper-meta-item dd{
  margin: 0;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 13px;
  font-weight: 520;
  line-height: 1.58;
}
.paper-meta-links{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}
.paper-meta-links a{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--text) 22%);
  border-radius: 5px;
  background: color-mix(in srgb, var(--panel) 80%, var(--bg));
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .01em;
  line-height: 1.1;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.paper-meta-links a:hover{
  border-color: color-mix(in srgb, var(--text) 32%, var(--line));
  background: color-mix(in srgb, var(--panel) 92%, var(--bg));
  color: var(--text);
  transform: translateY(-1px);
}
:root[data-theme="dark-gray"] .paper-meta-venue{
  border-color: color-mix(in srgb, #5b626c 78%, #202124 22%);
  background:
    radial-gradient(ellipse at 16% 0%, rgba(255, 255, 255, .10), transparent 52%),
    linear-gradient(180deg,
      #4f555e 0%,
      #3f454d 38%,
      #343940 76%,
      #2f343a 100%);
  color: #d8dde5;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(12, 15, 20, .34),
    inset 1px 0 0 rgba(255, 255, 255, .06),
    inset -1px 0 0 rgba(12, 15, 20, .18),
    0 1px 2px rgba(0, 0, 0, .16);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .34);
}
:root[data-theme="dark"] .paper-meta-venue{
  border-color: color-mix(in srgb, #3c4653 84%, #8d99a8 16%);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, .07), transparent 54%),
    linear-gradient(180deg,
      #2b323c 0%,
      #202731 42%,
      #171d25 78%,
      #11161d 100%);
  color: #cbd2dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(0, 0, 0, .38),
    inset 1px 0 0 rgba(255, 255, 255, .04),
    inset -1px 0 0 rgba(0, 0, 0, .22),
    0 1px 2px rgba(0, 0, 0, .22);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .46);
}
:root[data-theme="dark-gray"] .paper-meta-venue::before{
  background: radial-gradient(ellipse at 16% 10%,
    rgba(255, 255, 255, .18) 0%,
    rgba(174, 184, 198, .10) 42%,
    rgba(255, 255, 255, 0) 82%);
}
:root[data-theme="dark"] .paper-meta-venue::before{
  background: radial-gradient(ellipse at 16% 10%,
    rgba(226, 235, 247, .14) 0%,
    rgba(117, 131, 150, .08) 42%,
    rgba(255, 255, 255, 0) 82%);
}
:root[data-theme="dark-gray"] .paper-meta-venue::after{
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05) 42%, rgba(255, 255, 255, 0));
  opacity: .70;
}
:root[data-theme="dark"] .paper-meta-venue::after{
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03) 42%, rgba(255, 255, 255, 0));
  opacity: .62;
}
:root[data-theme="dark-gray"] .paper-meta-card,
:root[data-theme="dark"] .paper-meta-card{
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--panel) 78%, #000 16%) 0%,
      color-mix(in srgb, var(--panel2) 82%, #000 20%) 48%,
      color-mix(in srgb, var(--panel) 72%, #fff 5%) 100%);
  box-shadow:
    0 14px 34px color-mix(in srgb, #000 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
}
:root[data-theme="dark-gray"] .paper-meta-card:hover,
:root[data-theme="dark"] .paper-meta-card:hover{
  box-shadow:
    0 16px 36px color-mix(in srgb, #000 32%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
}
@media (prefers-reduced-motion: reduce){
  .paper-meta-card,
  .paper-meta-card::before,
  .paper-meta-card::after,
  .paper-meta-links a{
    animation: none;
    transition: none;
  }
  .paper-meta-card:hover,
  .paper-meta-links a:hover{
    transform: none;
  }
}
@media (max-width: 720px){
  .paper-meta-card{ padding: 14px 13px 13px; }
  .paper-meta-top{ align-items: flex-start; justify-content: flex-start; margin-bottom: 12px; }
  .paper-meta-grid{ grid-template-columns: 1fr; gap: 10px; }
  .paper-meta-item{ padding-left: 10px; }
}

/* TL;DR cue clipping guard 2026-05-29 */
.post-body .paper-map .tldr-cues,
.paper-map .tldr-cues,
.tldr-cues{
  align-items: stretch;
}
.post-body .paper-map .cue-chip,
.paper-map .cue-chip,
.cue-chip{
  min-width: 0;
  height: auto;
  min-height: 38px;
  overflow: visible;
}
.post-body .paper-map .cue-chip small,
.paper-map .cue-chip small,
.cue-chip small{
  display: block;
  flex: 1 1 auto;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-height: 1.36;
}
@media (max-width: 760px){
  .post-body .paper-map .tldr-cues,
  .paper-map .tldr-cues,
  .tldr-cues{
    grid-template-columns: 1fr;
  }
}
/* End TL;DR cue clipping guard */
/* Paper topic chips in metadata card 2026-05-29 */
.paper-meta-topics{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:start;
  gap:7px 10px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid color-mix(in srgb, var(--line) 58%, transparent);
}
.paper-meta-topic-label{
  padding-top:4px;
  color:color-mix(in srgb, var(--muted) 72%, transparent);
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.15;
  text-transform:uppercase;
}
.paper-topic-list{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  min-width:0;
}
.paper-topic-chip{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:3px 7px;
  border:1px solid color-mix(in srgb, var(--line) 54%, transparent);
  border-radius:6px;
  background:color-mix(in srgb, var(--panel) 34%, transparent);
  color:color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size:10.5px;
  font-weight:590;
  line-height:1.08;
}
@media (max-width: 720px){
  .paper-meta-topics{ grid-template-columns:1fr; gap:6px; }
  .paper-meta-topic-label{ padding-top:0; }
}

/* Quiet shape refinement: keeps the original colors, trims only the UI shape. */
:root{
  --radius: 8px;
  --shadow: 0 6px 18px rgba(15, 23, 42, .04);
  --shape-radius: 5px;
  --shape-radius-small: 3px;
  --cue-radius: 6px;
}

:root[data-theme="dark-gray"]{
  --shadow: 0 8px 22px rgba(0,0,0,.24);
}

:root[data-theme="dark"]{
  --shadow: 0 8px 24px rgba(0,0,0,.28);
}

.sidebar-card,
.panel,
.card{
  border-radius: var(--radius);
}

.card:hover{
  transform: translateY(-1px);
}

.post-body .paper-map{
  margin: 8px 0 38px;
  padding: 18px 0 24px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-body .paper-map-head{
  max-width: 780px;
  margin-bottom: 16px;
}

.post-body .paper-map .tldr-cues,
.paper-map .tldr-cues,
.post-body .tldr-cues{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
  border: 0;
}

.post-body .paper-map .cue-chip,
.paper-map .cue-chip,
.post-body .cue-chip{
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: var(--cue-radius);
  background: color-mix(in srgb, var(--panel2) 58%, transparent);
  box-shadow: none;
}

.post-body .map-grid{
  gap: 10px;
  margin: 18px 0;
  border: 0;
}

.post-body .map-card{
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--shape-radius);
  background: color-mix(in srgb, var(--panel2) 58%, transparent);
  box-shadow: none;
}

.post-body .map-card-wide{
  padding: 14px 0 15px 12px;
  border: 0;
  border-left: 2px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-radius: 0;
  background: transparent;
}

.post-body .compare-grid article,
.post-body .flow-step,
.post-body .problem-ladder-grid article,
.post-body .design-choice-grid article,
.post-body .supplement-card,
.post-body .supplement-stepper article,
.post-body .result-brief article{
  border-radius: var(--shape-radius);
  box-shadow: none;
}

.post-body .summary-panel,
.post-body .module-note,
.post-body .visual-summary{
  padding: 16px 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 58%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-body .problem-ladder,
.post-body .design-choice-box{
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--text) 28%, var(--line));
  border-radius: var(--shape-radius);
  background: color-mix(in srgb, var(--panel2) 66%, transparent);
  box-shadow: none;
}

.post-body .section-note,
.post-body .result-brief{
  border-radius: var(--shape-radius);
  box-shadow: none;
}

.post-body .deep-dive-note{
  padding: 10px 0 10px 12px;
  border: 0;
  border-left: 2px solid color-mix(in srgb, var(--text) 24%, var(--line));
  border-radius: 0;
  background: transparent;
}

.post-body .summary-table-wrap,
.post-body details.supplement-toggle > summary,
.post-body figure.image img,
.post-body figure.equation .equation-container{
  border-radius: var(--shape-radius);
}

.post-body :is(
  .section-chip,
  .subsection-label,
  .map-label,
  .summary-term,
  .cue-chip strong,
  .result-brief .section-chip,
  .section-note .section-chip,
  .paper-topic-chip,
  .paper-meta-links a
){
  border-radius: var(--shape-radius-small);
}

.post-body .flow-step:not(:last-child)::after,
.post-body .problem-ladder-grid article:not(:last-child)::after{
  color: color-mix(in srgb, var(--muted) 76%, transparent);
}

.paper-meta-card{
  border-radius: var(--shape-radius);
}

@media (max-width: 720px){
  .post-body .paper-map .tldr-cues,
  .paper-map .tldr-cues,
  .post-body .tldr-cues{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Paper-review equation block polish 2026-06-01 */
.post-body figure.equation > .equation-container{
  max-width: min(100%, 980px);
  margin-inline: auto;
}

.post-body figure.equation .equation-render{
  align-items: center;
  justify-items: center;
  overflow: visible;
  scrollbar-width: none;
}

.post-body figure.equation .equation-render::-webkit-scrollbar,
.post-body figure.equation .equation-main::-webkit-scrollbar,
.post-body figure.equation .equation-main-original::-webkit-scrollbar,
.post-body figure.equation .original-equation-part::-webkit-scrollbar,
.post-body figure.equation .katex-display::-webkit-scrollbar{
  display: none;
}

.post-body figure.equation .equation-main,
.post-body figure.equation .equation-main-original,
.post-body figure.equation .original-equation-stack,
.post-body figure.equation .original-equation-part,
.post-body figure.equation .original-equation-part > .equation-container,
.post-body figure.equation .katex-display{
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  text-align: center;
  scrollbar-width: none;
}

.post-body figure.equation .katex-display > .katex,
.post-body figure.equation .katex-html{
  margin-left: auto;
  margin-right: auto;
}

.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag){
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
}

.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag) > .equation-main{
  justify-self: center;
}

.post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag) > .equation-tag{
  justify-self: end;
  align-self: center;
  min-width: 2.35em;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 720px){
  .post-body figure.equation > .equation-container{
    max-width: 100%;
  }

  .post-body figure.equation .equation-main,
  .post-body figure.equation .equation-main-original{
    font-size: clamp(.64rem, 2.25vw, .92rem);
  }

  .post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag){
    column-gap: 8px;
  }

  .post-body figure.equation:not(.equation-tag-gutter):not(.has-original-equation-number) > .equation-container > .equation-render:has(> .equation-tag) > .equation-tag{
    min-width: 2em;
    font-size: .92rem;
  }
}

/* KaTeX internal tag width fix 2026-06-01 */
.post-body figure.equation > .equation-container > span:has(> .katex-display),
.post-body figure.equation .equation-main > span:has(> .katex-display),
.post-body figure.equation .original-equation-part > span:has(> .katex-display){
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.post-body figure.equation .katex-display{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.post-body figure.equation .katex-display > .katex,
.post-body figure.equation .katex-html{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.post-body figure.equation:not(.equation-tag-gutter) .katex-html .tag{
  position: absolute !important;
  right: 0 !important;
  margin-left: 0 !important;
}

/* Equation main width for internal KaTeX tags 2026-06-01 */
.post-body figure.equation .equation-main,
.post-body figure.equation .equation-main-original,
.post-body figure.equation .original-equation-stack,
.post-body figure.equation .original-equation-part{
  width: 100% !important;
  max-width: 100% !important;
}

/* Section divider and subheading polish 2026-06-01 */
.paper-identity{
  border-bottom:0 !important;
}
.paper-meta-topics{
  border-top:0 !important;
}
.post-body .paper-map{
  border-top:1px solid color-mix(in srgb, var(--line) 78%, transparent) !important;
  border-bottom:0 !important;
}
.post-body .paper-map .cue-chip,
.paper-map .cue-chip,
.post-body .cue-chip,
.post-body .subsection-label,
body .post-body h4.subsection-label{
  border-radius:9px !important;
}
.post-body :is(
  .section-chip,
  .map-label,
  .summary-term,
  .cue-chip strong,
  .result-brief .section-chip,
  .section-note .section-chip
){
  border-radius:7px !important;
}

/* Paper bookmark active state: neutral gray, aligned with project pages 2026-06-01 */
.bookmark-link.active{
  border-left-color: color-mix(in srgb, var(--text) 34%, var(--line)) !important;
  background: color-mix(in srgb, var(--panel) 82%, var(--text) 4%) !important;
  color: var(--text) !important;
}
:root[data-theme="dark-gray"] .bookmark-link.active,
:root[data-theme="dark"] .bookmark-link.active{
  border-left-color: color-mix(in srgb, var(--text) 42%, var(--line)) !important;
  background: color-mix(in srgb, var(--panel) 84%, #fff 4%) !important;
}

/* Deep section hierarchy spacing: 2026-06-01 */
body .post-body .paper-map{
  padding-top: 24px;
}
body .post-body .paper-map-head > p,
body .post-body .paper-map .map-card-wide > p,
body .post-body .paper-map .insight-box > p{
  margin-left: clamp(5px, .7vw, 10px);
  margin-right: clamp(3px, .45vw, 7px);
  max-width: calc(100% - clamp(8px, 1.15vw, 17px));
}
body .post-body .paper-map-head > p{
  position: relative;
  padding: 8px 0 8px clamp(20px, 2vw, 28px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  line-height: 1.76;
  letter-spacing: 0;
}
body .post-body .paper-map-head > p::before{
  content: "\201C";
  position: absolute;
  left: 0;
  top: 0.03em;
  color: color-mix(in srgb, var(--text) 28%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1;
}
body .post-body .deep-section > :is(p, ul, ol, blockquote, figure, details.supplement-toggle, .summary-panel, .result-brief, .section-note, .summary-table-wrap, .method-equation-cluster, .problem-ladder, .design-choice-box, .method-step-block, .evidence-cluster, .evaluation-evidence-panel, .module-note, .visual-summary, .visual-pair, .flow-diagram, .compare-grid, .next-question-note, .equation-explain),
body .post-body .deep-section > section:not(.no-hierarchy-offset),
body .post-body .deep-section > div:not(.section-chip-row):not(.no-hierarchy-offset){
  margin-left: clamp(10px, 1.35vw, 22px);
  margin-right: clamp(5px, .8vw, 11px);
  max-width: calc(100% - clamp(15px, 2.15vw, 33px));
}
body .post-body :is(.method-step-block, .evidence-cluster, .summary-head, .section-note, .result-brief-head, .result-brief article, .design-choice-box, .problem-ladder) > p{
  margin-left: clamp(5px, .7vw, 10px);
  margin-right: clamp(3px, .45vw, 7px);
  max-width: calc(100% - clamp(8px, 1.15vw, 17px));
}
body .post-body .deep-section > figure.image img,
body .post-body .deep-section > figure.table-figure img,
body .post-body .deep-section > figure.system-overview-figure img,
body .post-body :is(.method-step-block, .evidence-cluster, .summary-panel, .result-brief, .section-note, .problem-ladder, .design-choice-box) > figure.image img,
body .post-body :is(.method-step-block, .evidence-cluster, .summary-panel, .result-brief, .section-note, .problem-ladder, .design-choice-box) > figure.table-figure img{
  max-width: 100% !important;
}
@media (max-width: 640px){
  body .post-body .paper-map{
    padding-top: 20px;
  }
  body .post-body .paper-map-head > p,
  body .post-body .paper-map .map-card-wide > p,
  body .post-body .paper-map .insight-box > p,
  body .post-body .deep-section > :is(p, ul, ol, blockquote, figure, details.supplement-toggle, .summary-panel, .result-brief, .section-note, .summary-table-wrap, .method-equation-cluster, .problem-ladder, .design-choice-box, .method-step-block, .evidence-cluster, .evaluation-evidence-panel, .module-note, .visual-summary, .visual-pair, .flow-diagram, .compare-grid, .next-question-note, .equation-explain),
  body .post-body .deep-section > section:not(.no-hierarchy-offset),
  body .post-body .deep-section > div:not(.section-chip-row):not(.no-hierarchy-offset),
  body .post-body :is(.method-step-block, .evidence-cluster, .summary-head, .section-note, .result-brief-head, .result-brief article, .design-choice-box, .problem-ladder) > p{
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  body .post-body .paper-map-head > p{
    padding: 6px 0 6px 18px;
  }
  body .post-body .paper-map-head > p::before{
    font-size: 25px;
  }
}

/* Paper responsive display scaling: 2026-06-01 */
:root{
  --paper-display-scale: 1;
}
body{
  font-size: calc(16px * var(--paper-display-scale));
}
.post-body{
  font-size: calc(16px * var(--paper-display-scale));
}
/* MacBook Pro 14-inch default viewport is treated as the visual baseline. */
@media (min-width: 1600px) and (min-aspect-ratio: 16/10){
  :root{
    --paper-display-scale: 1.02;
    --max: 1005px;
    --right-rail: 340px;
    --content-side-gutter: clamp(30px, 4.1vw, 70px);
  }
}
@media (min-width: 1920px) and (min-aspect-ratio: 16/10){
  :root{
    --paper-display-scale: 1.045;
    --max: 1035px;
    --right-rail: 352px;
    --content-side-gutter: clamp(34px, 4.3vw, 82px);
  }
}
@media (min-width: 2560px) and (min-aspect-ratio: 16/10){
  :root{
    --paper-display-scale: 1.07;
    --max: 1085px;
    --right-rail: 370px;
    --content-side-gutter: clamp(40px, 4.6vw, 96px);
  }
}
@media (min-width: 3200px) and (min-aspect-ratio: 16/9){
  :root{
    --paper-display-scale: 1.085;
    --max: 1130px;
    --right-rail: 388px;
    --content-side-gutter: clamp(46px, 4.9vw, 112px);
  }
}
@media (max-width: 640px){
  :root{
    --paper-display-scale: 1;
  }
  .post-body{
    font-size: 15px;
  }
}

/* Paper body copy affordance: keep article text selectable and readable. */
.post-body ::selection{
  background: rgba(37, 99, 235, .24);
  color: inherit;
}

/* Copy affordance for paper assets. */
.copyable-block{
  position: relative;
}
.copy-image-frame{
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  line-height: 0;
}
.copy-image-frame > img{
  margin: 0 !important;
}
.deep-dive-content.is-collapsed .copy-block-button,
.post-body figure.equation > .copy-block-button{
  display: none !important;
}
.copy-block-button{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity .14s ease, transform .14s ease, border-color .14s ease, color .14s ease, background .14s ease, box-shadow .14s ease;
}
.copy-icon{
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}
.copy-icon::before,
.copy-icon::after{
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 9px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  transition: opacity .14s ease, transform .14s ease, width .14s ease, height .14s ease;
}
.copy-icon::before{
  left: 1px;
  top: 4px;
  opacity: .45;
}
.copy-icon::after{
  left: 5px;
  top: 1px;
  background: var(--bg);
}
.copy-status{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.copyable-block:hover > .copy-block-button,
.copyable-block:focus-within > .copy-block-button,
.copy-block-button:focus-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.copy-block-button:hover,
.copy-block-button:focus-visible{
  border-color: color-mix(in srgb, var(--text) 24%, var(--line));
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .10);
}
.copy-block-button.is-copied{
  border-color: color-mix(in srgb, var(--text) 18%, var(--line));
  color: var(--text);
  background: var(--panel);
}
.copy-block-button.is-copied .copy-icon::before{
  width: 11px;
  height: 6px;
  left: 2px;
  top: 5px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  opacity: .9;
  transform: rotate(-45deg);
}
.copy-block-button.is-copied .copy-icon::after{
  opacity: 0;
  transform: scale(.72);
}
.copy-block-button.is-failed{
  border-color: color-mix(in srgb, #b42318 34%, var(--line));
  color: color-mix(in srgb, #b42318 70%, var(--text));
  background: var(--panel);
}
.copy-block-button.is-failed .copy-icon::before,
.copy-block-button.is-failed .copy-icon::after{
  width: 12px;
  height: 0;
  left: 2px;
  top: 7px;
  border: 0;
  border-top: 2px solid currentColor;
  border-radius: 0;
  opacity: .9;
}
.copy-block-button.is-failed .copy-icon::before{ transform: rotate(45deg); }
.copy-block-button.is-failed .copy-icon::after{ transform: rotate(-45deg); }
.copy-block-button:disabled{
  cursor: default;
}
@media (max-width: 640px){
  .copy-block-button{
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* Paper metadata masthead refinement: 2026-06-06 */
.paper-identity{
  margin-bottom: clamp(20px, 2.7vw, 32px) !important;
}
.paper-title-meta{
  margin: 0 0 13px !important;
  color: color-mix(in srgb, var(--muted) 88%, var(--text)) !important;
  font-size: 13.5px !important;
  font-weight: 560 !important;
  line-height: 1.55 !important;
  letter-spacing: .005em !important;
}
.paper-meta-card{
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  padding: 18px 18px 16px !important;
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--text) 18%) !important;
  border-left: 3px solid color-mix(in srgb, var(--text) 34%, var(--line)) !important;
  border-radius: 7px !important;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--panel) 94%, var(--bg)) 0%,
      color-mix(in srgb, var(--panel2) 86%, var(--bg)) 100%) !important;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 30%, transparent) inset,
    0 12px 28px color-mix(in srgb, var(--text) 5%, transparent) !important;
  transform: none !important;
}
.paper-meta-card:hover{
  transform: none !important;
  border-color: color-mix(in srgb, var(--line) 74%, var(--text) 26%) !important;
  border-left-color: color-mix(in srgb, var(--text) 42%, var(--line)) !important;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 34%, transparent) inset,
    0 14px 30px color-mix(in srgb, var(--text) 6%, transparent) !important;
}
.paper-meta-card::before{
  height: 1px !important;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--text) 26%, transparent),
    color-mix(in srgb, var(--line) 82%, transparent) 38%,
    transparent 100%) !important;
  opacity: .62 !important;
}
.paper-meta-card::after{
  z-index: 0 !important;
  inset: -100% -48% !important;
  background: linear-gradient(135deg,
    transparent 38%,
    color-mix(in srgb, #fff 18%, transparent) 46%,
    color-mix(in srgb, #fff 42%, transparent) 50%,
    color-mix(in srgb, var(--text) 5%, transparent) 54%,
    transparent 62%) !important;
  opacity: 0;
}
.paper-meta-top{
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent) !important;
}
.paper-meta-venue{
  min-height: 25px !important;
  padding: 4px 12px !important;
  border-radius: 5px !important;
  border-color: color-mix(in srgb, #c6ced8 76%, var(--text) 24%) !important;
  color: color-mix(in srgb, #586575 82%, var(--text) 18%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.76),
    inset 0 -1px 0 rgba(95,110,128,.18),
    0 1px 2px rgba(15,23,42,.05) !important;
}
.paper-meta-date{
  color: color-mix(in srgb, var(--muted) 82%, var(--text)) !important;
  font-size: 12px !important;
  font-weight: 580 !important;
}
.paper-meta-grid{
  gap: 12px 22px !important;
}
.paper-meta-item{
  padding-left: 13px !important;
  border-left-color: color-mix(in srgb, var(--line) 88%, var(--text) 12%) !important;
}
.paper-meta-item dt{
  margin-bottom: 5px !important;
  color: color-mix(in srgb, var(--muted) 78%, var(--text)) !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
}
.paper-meta-item dd{
  color: color-mix(in srgb, var(--text) 82%, var(--muted)) !important;
  font-size: 12.8px !important;
  line-height: 1.62 !important;
}
.paper-meta-links{
  margin-top: 15px !important;
  padding-top: 12px !important;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent) !important;
}
.paper-meta-links a{
  min-height: 27px !important;
  padding: 5px 10px !important;
  border-radius: 5px !important;
  background: color-mix(in srgb, var(--bg) 62%, var(--panel)) !important;
  color: color-mix(in srgb, var(--text) 76%, var(--muted)) !important;
  box-shadow: none !important;
  transform: none !important;
}
.paper-meta-links a:hover{
  background: color-mix(in srgb, var(--panel) 86%, var(--bg)) !important;
  color: var(--text) !important;
  transform: none !important;
}
.paper-meta-topics{
  margin-top: 11px !important;
  padding-top: 10px !important;
  border-top: 1px solid color-mix(in srgb, var(--line) 56%, transparent) !important;
  opacity: .76;
}
.paper-meta-topic-label{
  color: color-mix(in srgb, var(--muted) 82%, var(--text)) !important;
}
.paper-topic-chip{
  border-color: color-mix(in srgb, var(--line) 72%, transparent) !important;
  background: color-mix(in srgb, var(--panel2) 48%, transparent) !important;
  color: color-mix(in srgb, var(--muted) 88%, var(--text)) !important;
}
:root[data-theme="dark-gray"] .paper-meta-card,
:root[data-theme="dark"] .paper-meta-card{
  border-color: color-mix(in srgb, var(--line) 74%, #fff 8%) !important;
  border-left-color: color-mix(in srgb, #d1d5db 22%, var(--line)) !important;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--panel) 90%, #fff 3%) 0%,
      color-mix(in srgb, var(--panel2) 86%, #000 10%) 100%) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent),
    0 14px 34px color-mix(in srgb, #000 20%, transparent) !important;
}
:root[data-theme="dark-gray"] .paper-meta-card:hover,
:root[data-theme="dark"] .paper-meta-card:hover{
  border-left-color: color-mix(in srgb, #e5e7eb 28%, var(--line)) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent),
    0 16px 36px color-mix(in srgb, #000 22%, transparent) !important;
}
:root[data-theme="dark-gray"] .paper-meta-venue,
:root[data-theme="dark"] .paper-meta-venue{
  color: color-mix(in srgb, #e5e7eb 76%, var(--muted)) !important;
}
:root[data-theme="dark-gray"] .paper-meta-links a,
:root[data-theme="dark"] .paper-meta-links a{
  background: color-mix(in srgb, var(--panel) 72%, #000 10%) !important;
}
@media (max-width: 720px){
  .paper-identity{
    margin-bottom: 20px !important;
  }
  .paper-meta-card{
    padding: 15px 14px 14px !important;
    margin-bottom: 15px !important;
  }
  .paper-meta-top{
    padding-bottom: 11px !important;
  }
}

/* Compact paper metadata scale: 2026-06-06 */
.paper-identity{
  margin-bottom: clamp(18px, 2.4vw, 28px) !important;
}
.paper-title-meta{
  margin-bottom: 11px !important;
  font-size: 12.8px !important;
  line-height: 1.48 !important;
}
.paper-meta-card{
  margin-top: 10px !important;
  margin-bottom: 14px !important;
  padding: 13px 14px 12px !important;
  border-radius: 7px !important;
}
.paper-meta-top{
  margin-bottom: 10px !important;
  padding-bottom: 9px !important;
  gap: 7px 10px !important;
}
.paper-meta-venue{
  min-height: 22px !important;
  padding: 3px 9px !important;
  font-size: 10.8px !important;
  letter-spacing: .04em !important;
}
.paper-meta-date{
  font-size: 11.6px !important;
  font-weight: 560 !important;
}
.paper-meta-grid{
  gap: 9px 16px !important;
}
.paper-meta-item{
  padding-left: 10px !important;
}
.paper-meta-item dt{
  margin-bottom: 3px !important;
  font-size: 9.8px !important;
}
.paper-meta-item dd{
  font-size: 12.3px !important;
  line-height: 1.52 !important;
}
.paper-meta-links{
  margin-top: 11px !important;
  padding-top: 10px !important;
  gap: 6px !important;
}
.paper-meta-links a{
  min-height: 25px !important;
  padding: 4px 8px !important;
  font-size: 11.4px !important;
}
.paper-meta-topics{
  margin-top: 8px !important;
  padding-top: 8px !important;
  opacity: .64 !important;
}
.paper-meta-topic-label{
  font-size: 10.4px !important;
}
.paper-topic-list{
  gap: 5px !important;
}
.paper-topic-chip{
  padding: 3px 7px !important;
  font-size: 10.8px !important;
}
@media (max-width: 720px){
  .paper-meta-card{
    padding: 12px 12px 11px !important;
    margin-bottom: 12px !important;
  }
  .paper-meta-top{
    margin-bottom: 9px !important;
    padding-bottom: 8px !important;
  }
}

/* Light-only safety: even a stale data-theme attribute keeps the light palette. */
:root[data-theme="dark-gray"],
:root[data-theme="dark"]{
  color-scheme: light !important;
  --bg: #ffffff;
  --panel: #f6f7f9;
  --panel2: #fbfbfc;
  --text: #0f172a;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, .10);
  --accent: #111827;
  --code-bg: #f3f5f9;
  --code-text: #182033;
  --code-muted: #64748b;
  --code-line: rgba(15, 23, 42, .12);
  --inline-code-bg: #eef2f7;
  --inline-code-text: #182033;
}

/* Table text polish: labels inside tables should read as text, not boxed chips. */
.summary-table td .summary-term{
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: color-mix(in srgb, var(--text) 88%, var(--muted)) !important;
  font-weight: 700 !important;
  line-height: inherit !important;
}
.summary-table td .summary-term :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .equation-chip-part, .inline-equation-token){
  font-weight: inherit !important;
}

/* Scoped blue accents: metadata, active bookmark, section rails, flow labels, and evaluation only. */
:root{
  --paper-blue: #0057ff;
  --paper-blue-strong: #0044cc;
  --paper-blue-border: rgba(0, 87, 255, .40);
  --paper-blue-soft: rgba(0, 87, 255, .075);
}
.paper-meta-card{
  border-left-color: var(--paper-blue) !important;
}
.paper-meta-card::before{
  background: linear-gradient(90deg, var(--paper-blue), transparent 68%) !important;
  opacity: .34 !important;
}
.paper-meta-venue,
.paper-meta-links a{
  border-color: var(--paper-blue-border) !important;
  color: var(--paper-blue-strong) !important;
}
.section-bookmark{
  border-left-color: color-mix(in srgb, var(--paper-blue) 34%, var(--line)) !important;
}
.bookmark-status{
  border-color: var(--line) !important;
  background: color-mix(in srgb, var(--panel) 82%, var(--bg) 18%) !important;
}
.bookmark-eyebrow{
  color: var(--muted) !important;
}
.bookmark-status strong{
  color: var(--text) !important;
}
.bookmark-link.active{
  border-left-color: var(--paper-blue) !important;
  background: color-mix(in srgb, var(--bg) 90%, var(--paper-blue) 6%) !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 60%, var(--text)) !important;
}
.problem-ladder,
.map-subsection-title{
  border-left: 4px solid var(--paper-blue) !important;
}
.map-subsection-title{
  padding-left: .72rem !important;
}
.map-subsection-title span{
  border-color: color-mix(in srgb, var(--line) 82%, var(--text) 8%) !important;
  background: transparent !important;
  color: color-mix(in srgb, var(--text) 86%, var(--muted)) !important;
  box-shadow: none !important;
}
.post-body .deep-dive h3::before,
.post-body .deep-dive h3[class*="block-color-"]::before{
  background: var(--paper-blue) !important;
}
.post-body .subsection-label,
body .post-body h4.subsection-label{
  border-left-color: color-mix(in srgb, var(--paper-blue) 72%, var(--line)) !important;
}
.post-body .result-brief,
.post-body .evaluation-table-block,
.post-body .evaluation-evidence-panel{
  border-left-color: var(--paper-blue) !important;
}
.post-body .result-brief .section-chip,
.post-body .evaluation-table-label{
  border-color: var(--paper-blue-border) !important;
  background: color-mix(in srgb, var(--bg) 88%, var(--paper-blue) 5%) !important;
  color: var(--paper-blue-strong) !important;
  box-shadow: inset 0 -2px 0 rgba(0, 87, 255, .12) !important;
}
.post-body .result-brief article{
  border-left-color: color-mix(in srgb, var(--paper-blue) 58%, var(--line)) !important;
}
.post-body .result-brief article strong,
.post-body .brief-list li::marker{
  color: var(--paper-blue-strong) !important;
}
.section-note{
  border-color: color-mix(in srgb, var(--line) 86%, var(--text) 6%) !important;
  border-left-color: color-mix(in srgb, var(--paper-blue) 58%, var(--line)) !important;
  background: color-mix(in srgb, var(--panel2) 90%, var(--bg) 10%) !important;
}
.section-note-label,
.section-note .section-chip,
.section-note > strong{
  color: color-mix(in srgb, var(--paper-blue-strong) 54%, var(--text)) !important;
}
.post-body .highlight-yellow:not([class*="_background"]){
  color: var(--text) !important;
  background: transparent !important;
}
.post-body .highlight-yellow_background,
.post-body .block-color-yellow_background{
  background: var(--notion-bg-gray) !important;
  color: inherit !important;
}
/* Final blue accent corrections: restored primary blue, role-based accents, non-yellow panels. */
:root{
  --paper-blue: #0057ff;
  --paper-blue-strong: #0044cc;
  --paper-blue-border: rgba(0, 87, 255, .38);
  --paper-blue-soft: rgba(0, 87, 255, .065);
  --paper-neutral-panel: color-mix(in srgb, var(--panel2) 94%, var(--bg) 6%);
  --paper-neutral-line: color-mix(in srgb, var(--line) 86%, var(--text) 6%);
}

/* Blue is reserved for navigation, metadata, major section rails, flow/problem blocks, and evaluation. */
.paper-meta-card,
.paper-meta-card:hover{
  border-left-color: var(--paper-blue) !important;
}
.paper-meta-card::before{
  background: linear-gradient(90deg, var(--paper-blue), transparent 68%) !important;
  opacity: .32 !important;
}
.paper-meta-venue,
.paper-meta-links a{
  border-color: var(--paper-blue-border) !important;
  color: var(--paper-blue-strong) !important;
}
.section-bookmark{
  border-left-color: color-mix(in srgb, var(--paper-blue) 30%, var(--line)) !important;
}
.bookmark-status{
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bookmark-link.active{
  border-left-color: var(--paper-blue) !important;
  background: color-mix(in srgb, var(--bg) 91%, var(--paper-blue) 5%) !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 54%, var(--text)) !important;
}
.post-body .deep-dive h3::before,
.post-body .deep-dive h3[class*="block-color-"]::before{
  background: var(--paper-blue) !important;
}
.post-body .subsection-label,
body .post-body h4.subsection-label,
.map-subsection-title,
.post-body .problem-ladder,
.post-body .design-choice-box,
.post-body .result-brief,
.post-body .evaluation-table-block,
.post-body .evaluation-evidence-panel{
  border-left-color: var(--paper-blue) !important;
}
.problem-ladder,
.design-choice-box,
.post-body .result-brief,
.post-body .evaluation-table-block,
.post-body .evaluation-evidence-panel{
  border-color: var(--paper-neutral-line) !important;
  border-left-color: var(--paper-blue) !important;
  background: var(--paper-neutral-panel) !important;
}
.problem-ladder .summary-head .section-chip,
.design-choice-box .summary-head .section-chip,
.post-body .result-brief .section-chip,
.post-body .evaluation-table-label{
  border-color: var(--paper-blue-border) !important;
  background: color-mix(in srgb, var(--bg) 93%, var(--paper-blue) 4%) !important;
  color: var(--paper-blue-strong) !important;
  box-shadow: inset 0 -2px 0 rgba(0, 87, 255, .11) !important;
}
.post-body .result-brief article{
  border-left-color: color-mix(in srgb, var(--paper-blue) 52%, var(--line)) !important;
}
.post-body .result-brief article strong,
.post-body .brief-list li::marker{
  color: var(--paper-blue-strong) !important;
}

/* Ordinary explanatory panels, tables, notes, and toggles stay neutral gray. */
.post-body .summary-panel,
.post-body .summary-panel.summary-panel-soft,
.post-body .section-note,
.post-body .visual-summary,
.post-body .module-note,
.post-body details.supplement-toggle,
.post-body .summary-table-wrap{
  border-color: var(--paper-neutral-line) !important;
  background: var(--paper-neutral-panel) !important;
}
.post-body .summary-head .section-chip,
.post-body .visual-summary-head .section-chip,
.post-body .section-note-label,
.post-body .section-note .section-chip,
.post-body .section-chip-row .section-chip{
  border-color: color-mix(in srgb, var(--line) 86%, var(--text) 8%) !important;
  background: color-mix(in srgb, var(--panel) 76%, var(--bg) 24%) !important;
  color: color-mix(in srgb, var(--text) 74%, var(--muted)) !important;
  box-shadow: none !important;
}
.post-body details.supplement-toggle > summary{
  color: color-mix(in srgb, var(--text) 76%, var(--muted)) !important;
}
.post-body table.summary-table th,
.post-body table.summary-table td{
  border-color: color-mix(in srgb, var(--line) 88%, var(--text) 5%) !important;
}
.summary-table .math-token,
.model-token,
.post-body .notion-text-equation-token,
.post-body :is(p, li) > .inline-math,
.equation-chip-part,
.post-body :is(p, li, figcaption, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .supplement-card, .supplement-stepper) > :is(.inline-math, .notion-text-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, .inline-equation-token, [data-tex-inline]){
  border-color: color-mix(in srgb, var(--line) 86%, var(--text) 8%) !important;
  background: color-mix(in srgb, var(--inline-code-bg) 88%, var(--bg) 12%) !important;
  color: var(--inline-code-text, var(--text)) !important;
}
.keyterm{
  text-decoration-color: color-mix(in srgb, var(--paper-blue) 38%, transparent) !important;
}

/* Remove old Notion/yellow backgrounds without erasing literal color-word explanations. */
.post-body .highlight-yellow:not([class*="_background"]){
  color: var(--text) !important;
  background: transparent !important;
}
.post-body :is(.highlight-yellow_background,.block-color-yellow_background),
.post-body :is(p,li,h1,h2,h3,h4,h5,h6,blockquote).block-color-yellow_background,
.post-body :is(p,h1,h2,h3,h4,h5,h6).block-color-yellow_background{
  background: var(--notion-bg-gray) !important;
  color: inherit !important;
}
/* Re-assert blue labels only for problem/design/evaluation blocks after neutral chip rules. */
.post-body .problem-ladder > .section-chip,
.post-body .problem-ladder .summary-head .section-chip,
.post-body .design-choice-box > .section-chip,
.post-body .design-choice-box .summary-head .section-chip,
.post-body .result-brief .section-chip,
.post-body .evaluation-table-label{
  border-color: var(--paper-blue-border) !important;
  background: color-mix(in srgb, var(--bg) 93%, var(--paper-blue) 4%) !important;
  color: var(--paper-blue-strong) !important;
  box-shadow: inset 0 -2px 0 rgba(0, 87, 255, .11) !important;
}

/* MonST3R-style article hierarchy sync: 2026-06-07 */
:root{
  --body-rail: color-mix(in srgb, var(--text) 24%, var(--line));
  --body-rail-soft: color-mix(in srgb, var(--text) 16%, var(--line));
  --body-chip-border: color-mix(in srgb, var(--line) 84%, var(--text) 8%);
  --body-chip-bg: color-mix(in srgb, var(--panel) 78%, var(--bg) 22%);
  --body-panel-bg: color-mix(in srgb, var(--panel2) 94%, var(--bg) 6%);
}
.post-body .deep-dive h3::before,
.post-body .deep-dive h3[class*="block-color-"]::before{
  background: var(--body-rail) !important;
}
.post-body .subsection-label,
body .post-body h4.subsection-label,
body .post-body .deep-section > .method-step-block > .subsection-label{
  border-left-color: var(--body-rail-soft) !important;
  background: var(--body-chip-bg) !important;
  color: color-mix(in srgb, var(--text) 74%, var(--muted)) !important;
}
.map-subsection-title,
.post-body .problem-ladder,
.post-body .design-choice-box,
.post-body .result-brief,
.post-body .evaluation-table-block,
.post-body .evaluation-evidence-panel,
.section-note,
.method-mini-label,
.evidence-mini-label{
  border-left-color: var(--body-rail) !important;
}
.problem-ladder,
.design-choice-box,
.post-body .result-brief,
.post-body .evaluation-table-block,
.post-body .evaluation-evidence-panel,
.post-body .summary-panel,
.post-body .section-note,
.post-body .summary-table-wrap{
  border-color: color-mix(in srgb, var(--line) 86%, var(--text) 6%) !important;
  border-left-color: var(--body-rail) !important;
  background: var(--body-panel-bg) !important;
}
.map-subsection-title span,
.post-body .problem-ladder > .section-chip,
.post-body .problem-ladder .summary-head .section-chip,
.post-body .design-choice-box > .section-chip,
.post-body .design-choice-box .summary-head .section-chip,
.post-body .result-brief .section-chip,
.post-body .evaluation-table-label,
.post-body .summary-head .section-chip,
.post-body .visual-summary-head .section-chip,
.post-body .section-note-label,
.post-body .section-note .section-chip,
.post-body .section-chip-row .section-chip{
  border-color: var(--body-chip-border) !important;
  background: var(--body-chip-bg) !important;
  color: color-mix(in srgb, var(--text) 74%, var(--muted)) !important;
  box-shadow: none !important;
}
.post-body .result-brief article{
  border-left-color: var(--body-rail-soft) !important;
}
.post-body .result-brief article strong,
.post-body .brief-list li::marker,
.section-note-label,
.section-note .section-chip,
.section-note > strong{
  color: color-mix(in srgb, var(--text) 78%, var(--muted)) !important;
}
.method-mini-label{
  border-left-color: var(--body-rail) !important;
  background: color-mix(in srgb, var(--panel2) 90%, var(--bg) 10%) !important;
}
.evidence-mini-label{
  border-left-color: var(--body-rail-soft) !important;
  background: var(--body-chip-bg) !important;
}
.keyterm{
  text-decoration-color: color-mix(in srgb, var(--text) 22%, transparent) !important;
}

/* Blue exception: summary notes and brief panels are intentional takeaways. */
.post-body .section-note,
.post-body .result-brief{
  border-color: color-mix(in srgb, var(--line) 84%, var(--text) 6%) !important;
  border-left-color: color-mix(in srgb, var(--paper-blue) 72%, var(--line)) !important;
  background: color-mix(in srgb, var(--panel2) 91%, var(--paper-blue) 3%) !important;
}
.post-body .section-note-label,
.post-body .section-note .section-chip,
.post-body .section-note > strong,
.post-body .result-brief .section-chip{
  border-color: var(--paper-blue-border) !important;
  background: color-mix(in srgb, var(--bg) 93%, var(--paper-blue) 4%) !important;
  color: var(--paper-blue-strong) !important;
  box-shadow: inset 0 -2px 0 rgba(0, 87, 255, .10) !important;
}
.post-body .result-brief article{
  border-left-color: color-mix(in srgb, var(--paper-blue) 48%, var(--line)) !important;
}
.post-body .result-brief article strong,
.post-body .section-note strong{
  color: color-mix(in srgb, var(--paper-blue-strong) 46%, var(--text)) !important;
}

/* Method hierarchy: group headings sit above, numbered step blocks sit one level in. */
.method-mini-label{
  display: flex;
  align-items: center;
  width: 100%;
  margin: 1.42rem 0 .68rem;
  padding: .56rem .72rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 830;
  line-height: 1.35;
}
.evidence-mini-label{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 1.08rem 0 .54rem;
  padding: .22rem .48rem;
  border: 1px solid var(--body-chip-border);
  border-left: 3px solid var(--body-rail-soft);
  border-radius: 7px;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: .76rem;
  font-weight: 820;
  line-height: 1.3;
}
body .post-body .deep-section > .method-mini-label{
  margin-left: clamp(10px, 1.35vw, 22px) !important;
  margin-right: clamp(5px, .8vw, 11px) !important;
  max-width: calc(100% - clamp(15px, 2.15vw, 33px)) !important;
}
body .post-body .deep-section > .method-step-block{
  margin-left: clamp(34px, 2.65vw, 50px) !important;
  margin-right: clamp(6px, .8vw, 12px) !important;
  max-width: calc(100% - clamp(40px, 3.45vw, 62px)) !important;
}
body .post-body .deep-section > .method-step-block > .subsection-label{
  font-size: .8rem;
  min-height: 28px;
  padding: 5px 10px;
}
@media (max-width: 640px){
  body .post-body .deep-section > .method-mini-label,
  body .post-body .deep-section > .method-step-block{
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* Sepia emphasis sync: MonST3R reference 2026-06-08 */
:root{
  --paper-blue: #8A5526;
  --paper-blue-strong: #573316;
  --paper-blue-border: rgba(138, 85, 38, .38);
  --paper-blue-soft: rgba(138, 85, 38, .085);
}
.paper-identity{
  border-top-color: color-mix(in srgb, var(--paper-blue) 78%, var(--line)) !important;
  background:
    linear-gradient(160deg,
      color-mix(in srgb, var(--bg) 97%, #f0dfcc 3%) 0%,
      color-mix(in srgb, var(--panel2) 94%, var(--bg) 6%) 55%,
      color-mix(in srgb, var(--panel) 94%, #f6eadb 6%) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 12px 28px rgba(15, 23, 42, .052) !important;
}
.paper-identity::before{
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(118deg,
      color-mix(in srgb, var(--paper-blue) 5%, transparent) 0%,
      transparent 30%),
    radial-gradient(circle at 9% 0%,
      color-mix(in srgb, var(--paper-blue) 6%, transparent) 0,
      transparent 31%);
  opacity: .42 !important;
  pointer-events: none;
}
.paper-identity::after{
  display: none !important;
}
.paper-title-meta{
  color: color-mix(in srgb, var(--paper-blue-strong) 62%, var(--muted)) !important;
  font-size: 12.6px !important;
  font-weight: 620 !important;
  letter-spacing: .008em !important;
}
.paper-meta-venue{
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border-color: color-mix(in srgb, var(--paper-blue) 52%, var(--line)) !important;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 88%, #f0dfcc 12%) 0%,
      color-mix(in srgb, var(--bg) 96%, #f6eadb 4%) 100%) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 92%, var(--text)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .76),
    inset 0 -1px 0 color-mix(in srgb, var(--paper-blue) 18%, transparent),
    0 1px 2px rgba(15, 23, 42, .055) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72) !important;
  font-size: 11.2px !important;
  font-weight: 900 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
  animation: none !important;
}
.paper-meta-venue::before,
.paper-meta-venue::after{
  display: none !important;
}
.paper-meta-date{
  color: color-mix(in srgb, var(--paper-blue-strong) 30%, var(--muted)) !important;
  font-size: 11.1px !important;
  font-weight: 520 !important;
  letter-spacing: .01em !important;
}
.paper-meta-item dt{
  color: color-mix(in srgb, var(--paper-blue-strong) 58%, var(--muted)) !important;
  font-size: 9.8px !important;
  font-weight: 850 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
}
.paper-meta-item dd{
  color: color-mix(in srgb, var(--paper-blue-strong) 28%, var(--text)) !important;
  font-size: 12.25px !important;
  font-weight: 470 !important;
  letter-spacing: 0 !important;
}
.paper-meta-links a{
  border-color: color-mix(in srgb, var(--paper-blue) 34%, var(--line)) !important;
  background: color-mix(in srgb, var(--bg) 94%, #f0dfcc 6%) !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 72%, var(--text)) !important;
  font-size: 11.35px !important;
  font-weight: 760 !important;
  letter-spacing: .015em !important;
}
.paper-meta-links a:hover{
  border-color: color-mix(in srgb, var(--paper-blue) 58%, var(--line)) !important;
  background: color-mix(in srgb, var(--bg) 88%, #f0dfcc 12%) !important;
  color: var(--paper-blue-strong) !important;
}
.paper-meta-topic-label{
  color: color-mix(in srgb, var(--paper-blue-strong) 32%, var(--muted)) !important;
  font-size: 9.6px !important;
  font-weight: 820 !important;
  letter-spacing: .12em !important;
}
.paper-topic-chip{
  color: color-mix(in srgb, var(--paper-blue-strong) 24%, var(--muted)) !important;
  font-size: 10.6px !important;
  font-weight: 560 !important;
}
.bookmark-link.active{
  border-left-color: var(--paper-blue) !important;
  background: color-mix(in srgb, var(--bg) 95%, #f0dfcc 5%) !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 58%, var(--text)) !important;
}
.post-body .section-note,
.post-body .result-brief{
  border-left-color: color-mix(in srgb, var(--paper-blue) 72%, var(--line)) !important;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--panel2) 91%, #f0dfcc 7%) 0%,
      color-mix(in srgb, var(--bg) 96%, #f6eadb 4%) 58%,
      color-mix(in srgb, var(--panel) 92%, #ead6bd 6%) 100%) !important;
}
.post-body .section-note-label,
.post-body .section-note .section-chip,
.post-body .section-note > strong,
.post-body .result-brief .section-chip{
  border-color: color-mix(in srgb, var(--paper-blue) 40%, var(--line)) !important;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 88%, #f0dfcc 12%) 0%,
      color-mix(in srgb, var(--bg) 96%, #f6eadb 4%) 100%) !important;
  color: color-mix(in srgb, var(--paper-blue-strong) 88%, var(--text)) !important;
}
.post-body .result-brief article{
  border-left-color: color-mix(in srgb, var(--paper-blue) 46%, var(--line)) !important;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 96%, #f0dfcc 3%) 0%,
      color-mix(in srgb, var(--panel2) 95%, #f6eadb 4%) 100%) !important;
}
.post-body .result-brief article strong,
.post-body .section-note strong{
  color: color-mix(in srgb, var(--paper-blue-strong) 48%, var(--text)) !important;
}

/* Paper metadata title merge sync: MonST3R reference 2026-06-08 */
.paper-title-meta{
  margin-bottom: 11px !important;
  padding-bottom: 9px !important;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 58%, transparent) !important;
}
.paper-meta-card,
.paper-meta-card:hover{
  position: static !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.paper-meta-card::before,
.paper-meta-card::after{
  display: none !important;
}
.paper-meta-top{
  margin-bottom: 11px !important;
}
.paper-meta-links{
  margin-top: 13px !important;
}
.paper-meta-topics{
  margin-bottom: 0 !important;
}
@media (max-width: 720px){
  .paper-identity{
    padding: 13px 12px 14px !important;
    margin-bottom: 26px !important;
  }
}

/* Paper metadata masthead parity sync: MonST3R reference 2026-06-08 */
.paper-identity{
  position: relative !important;
  isolation: isolate !important;
  margin: 0 0 clamp(28px, 3.4vw, 40px) !important;
  padding: 14px 15px 15px !important;
  border: 1px solid color-mix(in srgb, var(--line) 76%, var(--text) 12%) !important;
  border-top: 3px solid color-mix(in srgb, var(--paper-blue) 76%, var(--line)) !important;
  border-radius: 8px !important;
}

/* Paper review spacing polish: equations, captions, and section rhythm */
.post-body figure.equation{
  margin: 22px 0 24px;
}

.post-body figure.equation + figure.equation{
  margin-top: 26px;
}

.post-body details.supplement-toggle[open] figure.equation{
  margin: 20px 0 24px;
}

.post-body figure.equation figcaption{
  margin-top: 10px;
}

.post-body figure.image figcaption,
.post-body figure.table-figure figcaption{
  margin-top: 10px;
}

.post-body .deep-section > figure.equation:first-child,
.post-body .method-step-block > figure.equation:first-child,
.post-body .summary-panel > figure.equation:first-child,
.post-body .result-brief > figure.equation:first-child,
.post-body .section-note > figure.equation:first-child{
  margin-top: 18px;
}

.post-body .deep-section > figure.equation:last-child,
.post-body .method-step-block > figure.equation:last-child,
.post-body .summary-panel > figure.equation:last-child,
.post-body .result-brief > figure.equation:last-child,
.post-body .section-note > figure.equation:last-child{
  margin-bottom: 20px;
}
/* End paper review spacing polish */

/* Paper review inline equation token unification */
.post-body{
  --inline-equation-bg: #fbfcfe;
  --inline-equation-border: rgba(15, 23, 42, .16);
  --inline-equation-text: #273244;
}

:root[data-theme="dark-gray"] .post-body,
:root[data-theme="dark"] .post-body{
  --inline-equation-bg: rgba(248, 250, 252, .08);
  --inline-equation-border: rgba(226, 232, 240, .18);
  --inline-equation-text: #e5e7eb;
}

.post-body :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
.post-body .notion-text-equation-token:not(.equation-split-source){
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100%;
  margin: 0 .045em !important;
  padding: .035em .28em .055em !important;
  border: 1px solid var(--inline-equation-border) !important;
  border-radius: 5px !important;
  background: var(--inline-equation-bg) !important;
  color: var(--inline-equation-text) !important;
  font-size: .94em !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
  vertical-align: -0.02em !important;
  box-shadow: none !important;
  transform: none !important;
}

.post-body :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]) :is(.katex, .katex-html, .base),
.post-body .notion-text-equation-token:not(.equation-split-source) :is(.katex, .katex-html, .base){
  font-size: 1em !important;
  line-height: 1 !important;
  vertical-align: baseline !important;
}

.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
.post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table) .notion-text-equation-token:not(.equation-split-source),
.post-body figure.equation figcaption :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
.post-body figure.equation figcaption .notion-text-equation-token:not(.equation-split-source){
  font-size: .92em !important;
  padding: .025em .24em .045em !important;
  vertical-align: -0.01em !important;
}

.post-body figure.equation :is(.equation-main, .equation-main-original, .equation-render, .original-equation-part) :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
.post-body figure.equation :is(.equation-main, .equation-main-original, .equation-render, .original-equation-part) .notion-text-equation-token:not(.equation-split-source){
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}
html body .post-body :is(.summary-panel, .summary-table, .method-table, .dataset-table, .task-evidence-table, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .summary-term, .map-card, .insight-box, .supplement-card, .supplement-stepper, details.supplement-toggle, table, td, th, p, li, figcaption) :is(.inline-math, .inline-equation-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
html body .post-body :is(.summary-panel, .summary-table, .method-table, .dataset-table, .task-evidence-table, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .summary-term, .map-card, .insight-box, .supplement-card, .supplement-stepper, details.supplement-toggle, table, td, th, p, li, figcaption) .notion-text-equation-token:not(.equation-split-source){
  border-color: var(--inline-equation-border) !important;
  background: var(--inline-equation-bg) !important;
  color: var(--inline-equation-text) !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

/* End paper review inline equation token unification */

/* Paper review equation caption hierarchy: title first, explanation second. */
.post-body figure.equation figcaption .caption-main{
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: .98em;
  font-weight: 760;
  line-height: 1.45;
}
.post-body figure.equation figcaption .caption-note{
  margin-top: .26rem;
  color: var(--muted);
  font-size: .94em;
  font-weight: 400;
  line-height: 1.55;
}

/* Final paper review inline equation baseline polish */
html body .post-body :is(p, li, figcaption, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .summary-term, .supplement-card, .supplement-stepper, details.supplement-toggle) > :is(.inline-math, .inline-equation-token, .inline-fraction-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
html body .post-body :is(p, li, figcaption, .map-card, .insight-box, .result-brief, .section-note, .problem-ladder, .design-choice-box, .summary-head, .summary-term, .supplement-card, .supplement-stepper, details.supplement-toggle) > .notion-text-equation-token:not(.equation-split-source){
  align-items: baseline !important;
  vertical-align: -0.02em !important;
  transform: none !important;
  top: auto !important;
}

html body .post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th) :is(.inline-math, .inline-equation-token, .inline-fraction-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
html body .post-body :is(table, .summary-table, .method-table, .dataset-table, .task-evidence-table, td, th) .notion-text-equation-token:not(.equation-split-source),
html body .post-body figure.equation figcaption :is(.inline-math, .inline-equation-token, .inline-fraction-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]),
html body .post-body figure.equation figcaption .notion-text-equation-token:not(.equation-split-source){
  align-items: baseline !important;
  vertical-align: -0.01em !important;
  transform: none !important;
  top: auto !important;
}

html body .post-body :is(.inline-math, .inline-equation-token, .inline-fraction-token, .math-token, .model-token, .state-token, .equation-token, .formula-token, .equation-chip-part, [data-tex-inline]) :is(.katex, .katex-html, .base),
html body .post-body .notion-text-equation-token:not(.equation-split-source) :is(.katex, .katex-html, .base){
  line-height: 1 !important;
  vertical-align: baseline !important;
  transform: none !important;
}
/* End final paper review inline equation baseline polish */
/* Final paper review inline equation color polish */
.post-body{
  --inline-equation-bg: rgba(75, 85, 99, .10);
  --inline-equation-border: rgba(75, 85, 99, .22);
  --inline-equation-text: #374151;
  --inline-equation-shadow: rgba(17, 24, 39, .04);
}

:root[data-theme="dark-gray"] .post-body,
:root[data-theme="dark"] .post-body{
  --inline-equation-bg: rgba(229, 231, 235, .12);
  --inline-equation-border: rgba(229, 231, 235, .22);
  --inline-equation-text: #e5e7eb;
  --inline-equation-shadow: rgba(0, 0, 0, .18);
}
/* End final paper review inline equation color polish */


/* Collapsed deep-dive interaction guard: preview content should not open toggles or media before Read More. */
.deep-dive-content.is-collapsed :is(details.supplement-toggle, summary, figure.image, figure.table-figure, .copy-image-frame, .copy-block-button, a, button){
  pointer-events: none !important;
}
.deep-dive-content.is-collapsed :is(details.supplement-toggle, figure.image, figure.table-figure){
  user-select: none;
}

/* Image centering inside copy wrapper: keep resized figures visually centered. */
.copy-image-frame > img{
  display: block;
  margin: 0 auto !important;
}

/* Stable supplement focus: prevent horizontal slide when scroll lock/fixed panel is applied. */
html{
  scrollbar-gutter: stable;
}
html.supplement-scroll-lock{
  scrollbar-gutter: stable;
}
.post-body details.supplement-toggle.is-focused-supplement{
  transition: none !important;
  transform: none !important;
}
.post-body details.supplement-toggle.is-focused-supplement > summary::before{
  transition: none !important;
}

/* Focused supplement panels must ignore document hierarchy indents. */
body .post-body details.supplement-toggle.is-focused-supplement,
body .post-body .deep-section > details.supplement-toggle.is-focused-supplement,
body .post-body .legacy-deep-content > details.supplement-toggle.is-focused-supplement,
body .post-body .sectioned-deep-content > details.supplement-toggle.is-focused-supplement{
  margin-left: 0 !important;
  margin-right: 0 !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;max-width: none !important;
  box-sizing: border-box;
}
