/* Scoped styles: only affect papers rendered by the shortcode. */
.noitom-arxiv-shell {
  --research-pink: #e83e98;
  --research-text: #232323;
  --research-muted: #6f6f73;
  --research-soft: #9b9ba0;
  --research-line: #e7e7e9;
  --research-surface: #fafafa;
  width: min(1240px, calc(100% - 64px));
  margin: 110px auto 120px;
  display: grid;
  grid-template-columns: 220px minmax(0, 900px);
  gap: 64px;
  align-items: start;
  justify-content: center;
  color: var(--research-text);
}

.noitom-arxiv-paper { min-width: 0; width: 100%; max-width: 900px; }

/* ---- v1.14.6 Research grid inset + top breathing room -------------------
 * Keep the full Research layout on the 1240px Slider Revolution desktop
 * layer area while narrowing the shared reading column from 940px to 900px
 * (20px additional breathing room on each side of the paper content).
 * Increase page-top breathing room to 110/88/56px desktop/tablet/mobile.
 */
.noitom-arxiv-shell--universal .noitom-arxiv-paper {
  width: 100%;
  max-width: 900px;
}
.noitom-arxiv-paper .ltx_document { margin: 0; padding: 0; max-width: none; }
.noitom-arxiv-paper .ltx_titlepage:empty { display: none; }

/* ---- Clean research-paper header --------------------------------------- */
.noitom-research-header {
  margin: 0 0 48px;
  padding: 0 0 38px;
  border-bottom: 1px solid var(--research-line);
}

.noitom-research-header__meta {
  margin: 0 0 18px;
  color: var(--research-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.noitom-arxiv-paper .noitom-research-header__title {
  max-width: 1000px;
  margin: 0 0 26px;
  color: #171717;
  font-size: clamp(40px, 4.25vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.032em;
}

.noitom-research-header__authors {
  max-width: 980px;
  margin: 0 0 18px;
  color: #252525;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.65;
}

.noitom-research-header__author sup {
  position: relative;
  top: -.15em;
  margin-left: 2px;
  color: var(--research-pink);
  font-size: .62em;
  font-weight: 700;
}

.noitom-research-header__affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  max-width: 980px;
  margin: 0 0 10px;
  color: var(--research-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.noitom-research-header__affiliations span { white-space: normal; }
.noitom-research-header__affiliations sup {
  margin-right: 3px;
  color: #45454a;
  font-size: .75em;
  font-weight: 700;
}

.noitom-research-header__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  color: var(--research-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.noitom-research-header__resources {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.noitom-research-header__resources a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #dcdce0;
  border-radius: 999px;
  background: #fff;
  color: #343439;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.noitom-research-header__resources a:hover {
  border-color: #ef9bc7;
  background: #fff8fc;
  color: var(--research-pink);
}

/* ---- Contents ---------------------------------------------------------- */
.noitom-arxiv-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 2px 18px 18px 2px;
  scrollbar-width: thin;
  scrollbar-color: #d6d6da transparent;
}

.noitom-arxiv-toc__title {
  margin: 0 0 18px 13px;
  color: #9a9aa0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.noitom-arxiv-toc__links {
  position: relative;
  padding-left: 14px;
  border-left: 1px solid #e6e6e9;
}

.noitom-arxiv-toc a {
  position: relative;
  display: block;
  margin: 0;
  padding: 6px 0;
  color: #707075;
  font-size: 12.75px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.noitom-arxiv-toc a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -15px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background .16s ease;
}

.noitom-arxiv-toc a:hover {
  color: #333338;
}

.noitom-arxiv-toc a.is-active {
  color: var(--research-pink);
  font-weight: 650;
}

.noitom-arxiv-toc a.is-active::before {
  background: var(--research-pink);
}

.noitom-arxiv-toc .toc-level-1 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.noitom-arxiv-toc .toc-level-2 {
  padding-left: 12px;
  color: #818186;
  font-size: 12px;
}

.noitom-arxiv-toc .toc-level-3 {
  padding-left: 24px;
  color: #929297;
  font-size: 11.5px;
}

/* Mobile/tablet Contents disclosure. It is hidden while the left rail fits. */
.noitom-arxiv-toc-mobile {
  display: none;
}

.noitom-arxiv-toc-mobile summary {
  list-style: none;
}
.noitom-arxiv-toc-mobile summary::-webkit-details-marker { display: none; }

/* ---- Paper typography -------------------------------------------------- */
.noitom-arxiv-paper h1,
.noitom-arxiv-paper h2,
.noitom-arxiv-paper h3,
.noitom-arxiv-paper h4,
.noitom-arxiv-paper h5,
.noitom-arxiv-paper h6 {
  font-family: inherit;
  scroll-margin-top: 120px;
}

/* Major academic sections use Noitom pink. Subsections stay neutral. */
.noitom-arxiv-paper h2 {
  margin: 76px 0 24px;
  color: var(--research-pink);
  font-size: 33px;
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -.018em;
}
.noitom-arxiv-paper h3 {
  margin: 50px 0 18px;
  color: #222;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.noitom-arxiv-paper h4 {
  margin: 38px 0 14px;
  color: #2d2d31;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}
.noitom-arxiv-paper h5,
.noitom-arxiv-paper h6 {
  margin: 30px 0 12px;
  color: #303034;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.noitom-arxiv-paper p,
.noitom-arxiv-paper li {
  font-family: inherit;
  color: var(--research-text);
  font-size: 17px;
  line-height: 1.78;
}
.noitom-arxiv-paper p { margin: 0 0 18px; }
.noitom-arxiv-paper ul,
.noitom-arxiv-paper ol { margin-top: 10px; margin-bottom: 20px; }

/* Original arXiv title-page fragments are superseded by our structured header. */
.noitom-arxiv-paper .ltx_authors,
.noitom-arxiv-paper .ltx_author_notes,
.noitom-arxiv-paper .ltx_dates,
.noitom-arxiv-paper .ltx_classification { display: none; }

.noitom-arxiv-paper .ltx_keywords {
  margin-top: 24px;
  color: var(--research-muted);
  font-size: 14px;
  line-height: 1.6;
}

.noitom-arxiv-paper .ltx_abstract {
  margin: 0 0 54px;
  padding: 34px 0 36px;
  border-top: 1px solid var(--research-line);
  border-bottom: 1px solid var(--research-line);
}
.noitom-arxiv-paper .ltx_abstract h6,
.noitom-arxiv-paper .ltx_abstract .ltx_title_abstract {
  margin: 0 0 18px;
  color: var(--research-pink);
  font-size: 28px;
  font-weight: 450;
  line-height: 1.2;
}
.noitom-arxiv-paper .ltx_abstract p {
  font-size: 17px;
  line-height: 1.78;
}

.noitom-arxiv-paper a { color: var(--research-pink); text-underline-offset: 2px; }

.noitom-arxiv-paper figure,
.noitom-arxiv-paper .ltx_figure {
  margin: 56px auto;
  max-width: 100%;
}
.noitom-arxiv-paper figure img,
.noitom-arxiv-paper .ltx_figure img,
.noitom-arxiv-paper img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.noitom-arxiv-paper figcaption,
.noitom-arxiv-paper .ltx_caption {
  margin-top: 13px;
  color: #68686d;
  font-size: 13.5px;
  line-height: 1.58;
}
.noitom-arxiv-paper .ltx_caption .ltx_tag { color: #3f3f44; font-weight: 700; }

.noitom-arxiv-paper table,
.noitom-arxiv-paper .ltx_tabular {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.noitom-arxiv-paper .ltx_table {
  margin: 46px 0;
  max-width: 100%;
  overflow-x: auto;
}
.noitom-arxiv-paper th,
.noitom-arxiv-paper td {
  border-bottom: 1px solid var(--research-line);
  padding: 9px 10px;
  vertical-align: top;
  text-align: left;
}
.noitom-arxiv-paper th { font-weight: 650; }

.noitom-arxiv-paper .ltx_equation,
.noitom-arxiv-paper .ltx_equationgroup,
.noitom-arxiv-paper math[display="block"] {
  display: block;
  overflow-x: auto;
  margin: 28px 0;
  padding: 4px 0;
}

.noitom-arxiv-paper .ltx_bibliography { margin-top: 44px; }
.noitom-arxiv-paper .ltx_bibitem { margin-bottom: 12px; }
.noitom-arxiv-paper .ltx_biblist { padding-left: 0; }

.noitom-arxiv-paper blockquote {
  margin: 30px 0;
  padding: 19px 23px;
  border-left: 2px solid var(--research-pink);
  background: var(--research-surface);
}

.noitom-arxiv-error {
  max-width: 900px;
  margin: 70px auto;
  padding: 20px 24px;
  border: 1px solid #f0c8dc;
  background: #fff8fb;
}
.noitom-arxiv-error small { display: block; margin-top: 6px; color: #777; }

@media (max-width: 1120px) {
  .noitom-arxiv-shell {
    width: min(100% - 40px, 900px);
    display: block;
    margin-top: 88px;
  }

  .noitom-arxiv-toc { display: none; }

  .noitom-arxiv-toc-mobile {
    position: sticky;
    top: 76px;
    z-index: 20;
    display: block;
    max-width: 900px;
    margin: 0 auto 34px;
    border: 1px solid #e3e3e6;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 28px rgba(20,20,24,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .noitom-arxiv-toc-mobile summary {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
  }

  .noitom-arxiv-toc-mobile__label {
    color: #86868c;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .noitom-arxiv-toc-mobile__current {
    overflow: hidden;
    color: #303035;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .noitom-arxiv-toc-mobile__chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #66666b;
    border-bottom: 1.5px solid #66666b;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }

  .noitom-arxiv-toc-mobile[open] .noitom-arxiv-toc-mobile__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .noitom-arxiv-toc-mobile__links {
    max-height: min(58vh, 520px);
    overflow-y: auto;
    padding: 4px 14px 14px;
    border-top: 1px solid #ededee;
  }

  .noitom-arxiv-toc-mobile__links a {
    display: block;
    padding: 7px 8px;
    border-radius: 7px;
    color: #646469;
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none;
  }

  .noitom-arxiv-toc-mobile__links a:hover {
    background: #faf7f9;
    color: #343438;
  }

  .noitom-arxiv-toc-mobile__links a.is-active {
    background: #fff4f9;
    color: var(--research-pink);
    font-weight: 650;
  }

  .noitom-arxiv-toc-mobile__links .toc-level-2 { padding-left: 20px; }
  .noitom-arxiv-toc-mobile__links .toc-level-3 { padding-left: 34px; font-size: 12px; }

  .noitom-arxiv-paper { max-width: 900px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .noitom-arxiv-shell { width: calc(100% - 28px); margin-top: 56px; }
  .noitom-arxiv-toc-mobile { top: 66px; margin-bottom: 28px; border-radius: 10px; }
  .noitom-arxiv-toc-mobile summary { grid-template-columns: auto minmax(0, 1fr) 14px; gap: 9px; padding-left: 12px; padding-right: 12px; }
  .noitom-arxiv-toc-mobile__current { font-size: 12px; }
  .noitom-research-header { margin-bottom: 38px; padding-bottom: 30px; }
  .noitom-arxiv-paper .noitom-research-header__title { font-size: 36px; }
  .noitom-research-header__authors { font-size: 15.5px; }
  .noitom-research-header__affiliations { display: block; }
  .noitom-research-header__affiliations span { display: block; margin-bottom: 4px; }
  .noitom-research-header__resources { gap: 7px; }
  .noitom-arxiv-paper h2 { font-size: 27px; }
  .noitom-arxiv-paper h3 { font-size: 22px; }
  .noitom-arxiv-paper p,
  .noitom-arxiv-paper li { font-size: 15.5px; line-height: 1.72; }
  .noitom-arxiv-paper .ltx_abstract p { font-size: 15.5px; }
}

/* ---- v1.6 Technical content: tables + equations ----------------------- */
.noitom-arxiv-paper .noitom-research-table-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 54px 0;
  padding: 0 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cfcfd4 #f6f6f7;
  outline: none;
}

.noitom-arxiv-paper .noitom-research-table-wrap:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(236, 62, 151, .18);
}

.noitom-arxiv-paper .noitom-research-table-wrap::-webkit-scrollbar { height: 8px; }
.noitom-arxiv-paper .noitom-research-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #f6f6f7;
}
.noitom-arxiv-paper .noitom-research-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #f6f6f7;
  border-radius: 999px;
  background: #cfcfd4;
}

.noitom-arxiv-paper .noitom-research-table-wrap > .ltx_caption,
.noitom-arxiv-paper .noitom-research-table-wrap figcaption {
  position: sticky;
  left: 0;
  display: block;
  width: min(100%, 980px);
  margin: 0 0 14px;
  color: #5f5f64;
  font-size: 13.5px;
  line-height: 1.6;
}

.noitom-arxiv-paper table.noitom-research-table,
.noitom-arxiv-paper .noitom-research-table-wrap .ltx_tabular {
  width: max-content !important;
  min-width: 100%;
  max-width: none !important;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #29292d;
  font-size: 13px;
  line-height: 1.42;
}

.noitom-arxiv-paper .noitom-research-table-wrap th,
.noitom-arxiv-paper .noitom-research-table-wrap td {
  min-width: 76px;
  padding: 10px 12px;
  border-right: 0;
  border-bottom: 1px solid #e5e5e8;
  background: #fff;
  color: #333337;
  vertical-align: middle;
  text-align: inherit;
}

.noitom-arxiv-paper .noitom-research-table-wrap th,
.noitom-arxiv-paper .noitom-research-table-wrap thead td {
  border-top: 1px solid #d8d8dc;
  border-bottom-color: #d8d8dc;
  background: #fafafa;
  color: #29292d;
  font-weight: 650;
}

.noitom-arxiv-paper .noitom-research-table-wrap tr:last-child > td,
.noitom-arxiv-paper .noitom-research-table-wrap tr:last-child > th {
  border-bottom-color: #d8d8dc;
}

.noitom-arxiv-paper .noitom-research-table-wrap .ltx_note,
.noitom-arxiv-paper .noitom-research-table-wrap .ltx_role_footnote {
  position: sticky;
  left: 0;
  display: block;
  width: min(100%, 980px);
  margin-top: 10px;
  color: #77777c;
  font-size: 11.75px;
  line-height: 1.55;
}

/* Wide equations retain their academic layout instead of shrinking to fit. */
.noitom-arxiv-paper .noitom-research-equation-wrap,
.noitom-arxiv-paper .ltx_equation,
.noitom-arxiv-paper .ltx_equationgroup {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  padding: 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d2d2d6 transparent;
  outline: none;
}

.noitom-arxiv-paper .noitom-research-equation-wrap:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(236, 62, 151, .16);
}

.noitom-arxiv-paper .noitom-research-equation-wrap table,
.noitom-arxiv-paper table.ltx_eqn_table {
  width: max-content !important;
  min-width: 100%;
  max-width: none !important;
  margin: 0;
  border: 0;
  background: transparent;
}

.noitom-arxiv-paper .noitom-research-equation-wrap td,
.noitom-arxiv-paper table.ltx_eqn_table td {
  padding-top: 5px;
  padding-bottom: 5px;
  border: 0;
  background: transparent;
}

.noitom-arxiv-paper .ltx_eqn_eqno,
.noitom-arxiv-paper .ltx_tag_equation {
  padding-left: 20px !important;
  color: #85858a;
  font-size: 12px;
  white-space: nowrap;
  text-align: right !important;
}

.noitom-arxiv-paper math[display="block"] {
  width: max-content;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02em;
}

.noitom-arxiv-paper .ltx_Math {
  color: #222226;
}

/* JS only adds this when the content genuinely overflows its viewport. */
.noitom-arxiv-paper .is-horizontally-scrollable {
  border-bottom: 1px solid #ededee;
}

@media (max-width: 760px) {
  .noitom-arxiv-paper .noitom-research-table-wrap {
    margin: 44px 0;
    padding-bottom: 8px;
  }

  .noitom-arxiv-paper table.noitom-research-table,
  .noitom-arxiv-paper .noitom-research-table-wrap .ltx_tabular {
    font-size: 11.75px;
    line-height: 1.38;
  }

  .noitom-arxiv-paper .noitom-research-table-wrap th,
  .noitom-arxiv-paper .noitom-research-table-wrap td {
    min-width: 84px;
    padding: 9px 10px;
  }

  .noitom-arxiv-paper .noitom-research-equation-wrap,
  .noitom-arxiv-paper .ltx_equation,
  .noitom-arxiv-paper .ltx_equationgroup {
    margin: 26px 0;
    padding: 8px 0 10px;
  }

  .noitom-arxiv-paper .ltx_eqn_eqno,
  .noitom-arxiv-paper .ltx_tag_equation {
    padding-left: 14px !important;
  }
}

/* ---- v1.7 Back matter: References + Appendices ------------------------- */
.noitom-arxiv-paper .noitom-research-references-section {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid #dedee2;
}

.noitom-arxiv-paper .noitom-research-references-heading {
  margin-top: 0;
  margin-bottom: 30px;
}

.noitom-arxiv-paper .noitom-research-bibliography {
  margin-top: 0;
}

.noitom-arxiv-paper .noitom-research-biblist {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.noitom-arxiv-paper .noitom-research-bibitem {
  margin: 0 !important;
  padding: 0 0 15px 3.2em !important;
  border-bottom: 1px solid #f0f0f2;
  color: #4d4d52;
  font-size: 14px !important;
  line-height: 1.62 !important;
  text-indent: -3.2em;
}

.noitom-arxiv-paper .noitom-research-bibitem + .noitom-research-bibitem {
  padding-top: 15px !important;
}

.noitom-arxiv-paper .noitom-research-bibitem:last-child {
  border-bottom: 0;
}

.noitom-arxiv-paper .noitom-research-bibitem .ltx_tag_bibitem {
  display: inline-block;
  min-width: 2.7em;
  margin-right: .45em;
  color: #9a9aa0;
  font-size: 11.5px;
  font-weight: 700;
  text-align: right;
  text-indent: 0;
}

.noitom-arxiv-paper .noitom-research-bibitem a {
  text-indent: 0;
}

.noitom-arxiv-paper .noitom-research-biblinks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-left: 7px;
  text-indent: 0;
  vertical-align: middle;
}

.noitom-arxiv-paper .noitom-research-biblinks > .noitom-research-biblink {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #e1e1e4;
  border-radius: 999px;
  background: #f8f8f9;
  color: #66666b;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.noitom-arxiv-paper .noitom-research-biblinks > .noitom-research-biblink:hover {
  border-color: #efb2d1;
  background: #fff7fb;
  color: var(--research-pink);
}

/* The appendix gets a clear transition from the main paper and bibliography. */
.noitom-arxiv-paper .noitom-research-appendix-overview {
  margin-top: 108px;
  padding: 48px 0 34px;
  border-top: 2px solid #efb6d3;
  border-bottom: 1px solid var(--research-line);
}

.noitom-arxiv-paper .noitom-research-appendix-overview-heading {
  margin: 0 0 20px;
  color: var(--research-pink);
  font-size: 35px;
}

.noitom-arxiv-paper .noitom-research-appendix-overview > p {
  max-width: 820px;
  color: #56565b;
}

.noitom-arxiv-paper .noitom-research-appendix-section {
  margin-top: 84px;
  padding-top: 34px;
  border-top: 1px solid #e4e4e7;
}

.noitom-arxiv-paper .noitom-research-appendix-heading {
  margin: 0 0 30px;
  padding-left: 18px;
  border-left: 3px solid var(--research-pink);
  color: #26262a;
  font-size: 30px;
  font-weight: 520;
  line-height: 1.22;
}

.noitom-arxiv-paper .noitom-research-appendix-section h3 {
  margin-top: 46px;
}

.noitom-arxiv-paper .noitom-research-appendix-section h4,
.noitom-arxiv-paper .noitom-research-appendix-section h5,
.noitom-arxiv-paper .noitom-research-appendix-section h6 {
  scroll-margin-top: 120px;
}

@media (max-width: 760px) {
  .noitom-arxiv-paper .noitom-research-references-section {
    margin-top: 76px;
    padding-top: 22px;
  }

  .noitom-arxiv-paper .noitom-research-bibitem {
    padding-left: 2.8em !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    text-indent: -2.8em;
  }

  .noitom-arxiv-paper .noitom-research-bibitem .ltx_tag_bibitem {
    min-width: 2.35em;
    margin-right: .35em;
    font-size: 10.75px;
  }

  .noitom-arxiv-paper .noitom-research-biblinks {
    gap: 4px;
    margin-left: 5px;
  }

  .noitom-arxiv-paper .noitom-research-appendix-overview {
    margin-top: 82px;
    padding-top: 38px;
  }

  .noitom-arxiv-paper .noitom-research-appendix-overview-heading {
    font-size: 30px;
  }

  .noitom-arxiv-paper .noitom-research-appendix-section {
    margin-top: 66px;
    padding-top: 28px;
  }

  .noitom-arxiv-paper .noitom-research-appendix-heading {
    padding-left: 14px;
    font-size: 25px;
  }
}

/* ---- v1.8 Structure, accessibility + SEO-facing semantics -------------- */
.noitom-research-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  padding: 9px 12px;
  border-radius: 8px;
  background: #17171a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transform: translateY(-150%);
  transition: transform .16s ease;
}

.noitom-research-skip:focus {
  transform: translateY(0);
}

.noitom-arxiv-paper:focus {
  outline: none;
}

.noitom-arxiv-paper .noitom-research-abstract-heading {
  margin: 0 0 18px;
  color: var(--research-pink);
  font-size: 28px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.noitom-arxiv-paper a:focus-visible,
.noitom-research-header__resources a:focus-visible,
.noitom-arxiv-toc a:focus-visible,
.noitom-arxiv-toc-mobile a:focus-visible,
.noitom-arxiv-toc-mobile summary:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(232, 62, 152, .72);
  outline-offset: 3px;
}

.noitom-arxiv-paper,
.noitom-arxiv-paper p,
.noitom-arxiv-paper li,
.noitom-arxiv-paper figcaption,
.noitom-arxiv-paper .ltx_caption {
  overflow-wrap: break-word;
}

.noitom-arxiv-paper pre,
.noitom-arxiv-paper code {
  max-width: 100%;
}

.noitom-arxiv-paper pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
  .noitom-research-skip,
  .noitom-arxiv-toc a,
  .noitom-research-header__resources a,
  .noitom-arxiv-toc-mobile__chevron {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .noitom-arxiv-paper .noitom-research-abstract-heading {
    font-size: 25px;
  }

  .noitom-arxiv-paper figure,
  .noitom-arxiv-paper .ltx_figure {
    margin-top: 44px;
    margin-bottom: 44px;
  }

  .noitom-arxiv-paper figcaption,
  .noitom-arxiv-paper .ltx_caption {
    font-size: 12.75px;
    line-height: 1.55;
  }
}

@media print {
  .noitom-arxiv-shell {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
  }

  .noitom-arxiv-toc,
  .noitom-arxiv-toc-mobile,
  .noitom-research-skip,
  .noitom-research-header__resources {
    display: none !important;
  }

  .noitom-arxiv-paper {
    max-width: none !important;
  }

  .noitom-arxiv-paper a {
    color: #000 !important;
    text-decoration: none !important;
  }
}



/* ---- v1.10 Vertical rhythm: section / subsection top spacing ----------
 * Use padding on LaTeXML section wrappers instead of relying only on heading
 * margins. This prevents CSS margin-collapsing from making numbered headings
 * sit too close to the content above them.
 */
.noitom-arxiv-paper section.ltx_section:not(.noitom-research-references-section):not(.noitom-research-appendix-overview):not(.noitom-research-appendix-section) {
  padding-top: 76px;
  scroll-margin-top: 132px;
}

.noitom-arxiv-paper section.ltx_subsection {
  padding-top: 50px;
  scroll-margin-top: 132px;
}

.noitom-arxiv-paper section.ltx_subsubsection {
  padding-top: 38px;
  scroll-margin-top: 132px;
}

/* Once the wrapper supplies the guaranteed top space, keep the heading itself
 * flush to that space. Bottom margins still come from the main type system. */
.noitom-arxiv-paper section.ltx_section > .ltx_title_section,
.noitom-arxiv-paper section.ltx_subsection > .ltx_title_subsection,
.noitom-arxiv-paper section.ltx_subsubsection > .ltx_title_subsubsection {
  margin-top: 0 !important;
  scroll-margin-top: 132px;
}

/* Slightly tighter rhythm on smaller screens while preserving hierarchy. */
@media (max-width: 760px) {
  .noitom-arxiv-paper section.ltx_section:not(.noitom-research-references-section):not(.noitom-research-appendix-overview):not(.noitom-research-appendix-section) {
    padding-top: 58px;
  }

  .noitom-arxiv-paper section.ltx_subsection {
    padding-top: 42px;
  }

  .noitom-arxiv-paper section.ltx_subsubsection {
    padding-top: 32px;
  }
}


/* ---- v1.10.1 Vertical rhythm hotfix -----------------------------------
 * v1.10 targeted the imported LaTeXML section wrappers. On the cleaned
 * WordPress output those wrappers are not a reliable visual spacing surface
 * in every paper. Apply non-collapsing top padding directly to the rendered
 * heading elements instead. This makes the gap visible regardless of the
 * surrounding section markup or margin-collapsing behavior.
 */
.noitom-arxiv-paper h2:not(.noitom-research-abstract-heading):not(.noitom-research-references-heading):not(.noitom-research-appendix-overview-heading):not(.noitom-research-appendix-heading) {
  padding-top: 76px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

.noitom-arxiv-paper h3:not(.noitom-research-appendix-heading) {
  padding-top: 50px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

.noitom-arxiv-paper h4:not(.noitom-research-appendix-heading) {
  padding-top: 38px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

/* Avoid double-spacing from the wrapper rules introduced in v1.10. */
.noitom-arxiv-paper section.ltx_section:not(.noitom-research-references-section):not(.noitom-research-appendix-overview):not(.noitom-research-appendix-section),
.noitom-arxiv-paper section.ltx_subsection,
.noitom-arxiv-paper section.ltx_subsubsection {
  padding-top: 0 !important;
}

@media (max-width: 760px) {
  .noitom-arxiv-paper h2:not(.noitom-research-abstract-heading):not(.noitom-research-references-heading):not(.noitom-research-appendix-overview-heading):not(.noitom-research-appendix-heading) {
    padding-top: 58px !important;
  }

  .noitom-arxiv-paper h3:not(.noitom-research-appendix-heading) {
    padding-top: 42px !important;
  }

  .noitom-arxiv-paper h4:not(.noitom-research-appendix-heading) {
    padding-top: 32px !important;
  }
}


/* v1.12.6: HiPHI figure sizing/shadow treatment is emitted as critical, paper-scoped CSS in the shortcode wrapper.
   Keeping it out of the shared stylesheet prevents OmniContact regressions and avoids stylesheet-order/cache conflicts. */

/* v1.13.2 — OmniContact Phase 1/2 stabilization + Table 1 width normalization only. */
.noitom-arxiv-shell--omni .noitom-omni-table1 {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  clip: auto !important;
}

.noitom-arxiv-shell--omni .noitom-omni-table-scroll {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}

.noitom-arxiv-shell--omni .noitom-omni-table1__table,
.noitom-arxiv-shell--omni .noitom-omni-table1 .ltx_tabular {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  table-layout: auto !important;
}


/* v1.13.3 — OmniContact visual media cleanup is emitted as paper-scoped critical CSS
   in the shortcode wrapper. Keep width/overflow behavior from v1.13.2 unchanged. */

/* v1.13.5 — Shared research-table outer-frame cleanup.
   Remove only the decorative top/left frame inherited from imported LaTeXML
   table presentation. Preserve internal th/td rules and all sizing/overflow
   behavior established by the paper-specific table normalizers. */
.noitom-arxiv-paper .ltx_table,
.noitom-arxiv-paper .ltx_table > .ltx_tabular,
.noitom-arxiv-paper .ltx_table table,
.noitom-arxiv-paper .noitom-research-table-wrap,
.noitom-arxiv-paper .noitom-omni-table-scroll {
  border-top: 0 !important;
  border-left: 0 !important;
  border-block-start: 0 !important;
  border-inline-start: 0 !important;
  outline: 0 !important;
}


/* ---- v1.15.3 Shared heading rhythm lock — restore approved v1.10.1 values ---
 * v1.15.2 attempted to tighten the hierarchy to 64/44/32, but the user
 * confirmed that did not restore the previously approved visual rhythm.
 * v1.10.1 was the explicit approved checkpoint: 76/50/38 desktop and
 * 58/42/32 mobile. Keep this as the final authoritative rule.
 */
.noitom-arxiv-shell .noitom-arxiv-paper h2:not(.noitom-research-abstract-heading):not(.noitom-research-references-heading):not(.noitom-research-appendix-overview-heading):not(.noitom-research-appendix-heading) {
  padding-top: 76px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

.noitom-arxiv-shell .noitom-arxiv-paper h3:not(.noitom-research-appendix-heading) {
  padding-top: 50px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

.noitom-arxiv-shell .noitom-arxiv-paper h4:not(.noitom-research-appendix-heading) {
  padding-top: 38px !important;
  margin-top: 0 !important;
  scroll-margin-top: 132px !important;
}

@media (max-width: 760px) {
  .noitom-arxiv-shell .noitom-arxiv-paper h2:not(.noitom-research-abstract-heading):not(.noitom-research-references-heading):not(.noitom-research-appendix-overview-heading):not(.noitom-research-appendix-heading) {
    padding-top: 58px !important;
  }
  .noitom-arxiv-shell .noitom-arxiv-paper h3:not(.noitom-research-appendix-heading) {
    padding-top: 42px !important;
  }
  .noitom-arxiv-shell .noitom-arxiv-paper h4:not(.noitom-research-appendix-heading) {
    padding-top: 32px !important;
  }
}
