/* A conversation-first profile with the typography of a research notebook. */
:root { --research-ink: #346f9f; --research-rule: #cbddec; --research-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
body { background: #f4f8fc !important; }
#main { background: transparent; max-width: 1120px !important; padding: 24px 36px 60px; margin: 0 auto !important; }
.research-mastline { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #d3e1ee; font: 10px/1.6 var(--research-mono); letter-spacing: 1px; }
.page__content .research-mastline a, .page__content .research-mastline a:visited { color: #405f7d; }
.profile-wordmark { font-weight: bold; }
.profile-wordmark span { color: #627b93; font-weight: normal; margin-left: 9px; }
.profile-identity { display: flex; align-items: center; gap: 17px; padding: 28px 0; }
.profile-identity img { width: 64px; height: 64px; object-fit: cover; object-position: center 28%; border-radius: 50%; border: 1px solid #d3e1ee; flex: 0 0 64px; }
.page__content .profile-identity .wiki-title { font-size: 28px; margin: 0 0 4px; padding: 0; border: 0; line-height: 1.2; letter-spacing: -.5px; }
.page__content .profile-identity p { margin: 0; color: #566f87; font: 12px/1.7 Arial, sans-serif; }
.profile-identity p span { margin: 0 6px; color: #8ca4ba; }
.profile-links { display: flex; gap: 18px; margin-left: auto; flex-shrink: 0; font: 11px/1.6 var(--research-mono); }
.page__content .profile-links a, .page__content .profile-links a:visited { color: #346c9b; }
.page__content .profile-links a::after { content: none !important; }
.research-console { display: flow-root; margin: 0 0 42px; font-family: Arial, sans-serif; }
.page__content :focus-visible { outline: 2px solid #4d8ec5; outline-offset: 4px; }
.profile-library-heading { display: flex; gap: 18px; align-items: baseline; padding: 0 2px 17px; }
.profile-library-heading > span:first-child { font: 9px/1.6 var(--research-mono); letter-spacing: 1.8px; color: #526f8b; }
.page__content .profile-library-heading p { font: 18px/1.5 Georgia, serif; color: #2a435d; margin: 0; }
.profile-library-hint { margin-left: auto; font: 10px/1.5 Arial, sans-serif; color: #647c93; }
.profile-document { border-top: 1px solid #cadcea; }
.profile-chapter { border-bottom: 1px solid #cadcea; box-sizing: border-box; }
.profile-chapter > summary { display: flex; align-items: center; gap: 16px; cursor: pointer; padding: 21px 6px; list-style: none; transition: color .2s, background .2s; }
.profile-chapter > summary::-webkit-details-marker { display: none; }
.profile-chapter > summary:hover { background: #e6f0fa; color: #2d6d9f; }
.chapter-title { font: 21px/1.3 Georgia, serif; }
.chapter-description { margin-left: auto; font: 11px/1.5 Arial, sans-serif; color: #627b91; }
.chapter-toggle { position: relative; width: 22px; height: 22px; margin-left: 15px; flex-shrink: 0; }
.chapter-toggle::before, .chapter-toggle::after { content: ''; position: absolute; top: 10px; left: 5px; width: 12px; height: 1px; background: #507b9f; }
.chapter-toggle::after { transform: rotate(90deg); transition: transform .2s; }
.profile-chapter[open] .chapter-toggle::after { transform: rotate(0); }
.profile-chapter[open] > summary { color: #2d6d9f; }
.profile-chapter-body { padding: 0 28px 28px; max-width: 920px; }
.profile-chapter > summary { scroll-margin-top: 28px; }
.profile-chapter-body h3 { scroll-margin-top: 28px; }
.page__content .profile-chapter-body p, .page__content .profile-chapter-body li { font-size: 15px; line-height: 1.8; }
.page__content h1:hover::after, .page__content h2:hover::after { content: none; }
.retro-new { animation: none !important; display: inline-block; color: #346f9f !important; background: #e4effa; border: 1px solid #bfd6eb; padding: 0 4px; font: 9px/1.6 var(--research-mono) !important; vertical-align: 2px; }
@media (max-width: 720px) {
  #main { padding: 18px 18px 35px; }
  .research-mastline { font-size: 8px; letter-spacing: .5px; padding-bottom: 16px; }
  .profile-wordmark span { display: none; }
  .profile-identity { flex-wrap: wrap; gap: 12px; padding: 22px 0; }
  .profile-identity img { width: 48px; height: 48px; flex-basis: 48px; }
  .profile-identity > div:not(.profile-links) { flex: 1; }
  .page__content .profile-identity .wiki-title { font-size: 24px; }
  .page__content .profile-identity p { font-size: 10px; }
  .profile-links { width: calc(100% - 60px); margin-left: 60px; font-size: 10px; gap: 20px; }
  .research-console { margin-bottom: 30px; }
  .profile-library-heading { display: block; padding-bottom: 15px; }
  .page__content .profile-library-heading p { font-size: 17px; margin-top: 5px; }
  .profile-library-hint { display: none; }
  .profile-chapter > summary { gap: 9px; padding: 19px 2px; }
  .chapter-title { font-size: 19px; }
  .chapter-description { display: none; }
  .chapter-toggle { margin-left: auto; }
  .profile-chapter-body { padding: 0 8px 22px; }
  .page__content .profile-chapter-body p, .page__content .profile-chapter-body li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .profile-chapter *, .chapter-toggle::after { transition: none !important; } }
