@charset "UTF-8";

/* Source: brand.css */
/* Shared logo. The original mask preserves the head and linked wordmark. */
html { background: #f3f4f3; }
.brand-logo {
  position: relative;
  top: -6px;
  display: block;
  width: 166px;
  aspect-ratio: 1942 / 544;
  transform: none;
}

.brand-emblem,
.brand-wordmark {
  position: absolute;
  left: -5.355304%;
  top: -19.117647%;
  width: 105.355304%;
  height: 141.176471%;
  display: block;
  -webkit-mask: url("moki-logo-linked.png") center / contain no-repeat;
  mask: url("moki-logo-linked.png") center / contain no-repeat;
}

.brand-emblem {
  background: #71866d url("moki-head-facets.svg") center / contain no-repeat;
  transform: translateY(-1%) scale(.92);
  transform-origin: 30.6% 54%;
  clip-path: polygon(0 0, 42% 0, 42% 54%, 30.6% 54%, 30.6% 100%, 0 100%);
}

.brand-wordmark {
  background: #2c4233;
  transform: scale(1.06);
  transform-origin: 31.5% 82.4%;
  clip-path: polygon(30.6% 54%, 100% 54%, 100% 100%, 30.6% 100%);
}

/* Source: title-strokes.css */
/* Match the section headings on eisenhofer.me. */
.gentle-refresh .section-title {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}

/* One quiet family of soft, tapered marks; small differences follow each section. */
.gentle-refresh .section-title::after,
.profile-biography .profile-subtitle::after {
  width: 54px;
  height: 9px;
  margin-top: 7px;
  transform: translateX(-3px);
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2054%209%22%3E%3Cg%20fill%3D%22%238fa58c%22%3E%3Cpath%20d%3D%22M2%205.21%20C7%203.08%2024.5%203.20%2052%204.5%20C34.5%204.97%2014.5%206.86%204.25%206.03%20C2.5%205.92%201.5%205.68%202%205.21%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: 54px 9px;
  background-position: left center;
}

/* A little upward sweep for the CISPA section. */
.gentle-refresh #cispa .section-title::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2054%209%22%3E%3Cg%20fill%3D%22%238fa58c%22%3E%3Cpath%20d%3D%22M2%205.8%20C9%203.68%2028%202.92%2052%203.85%20C34.4%204.97%2016.4%206.94%204.2%206.5%20C2.7%206.43%201.6%206.2%202%205.8%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* A quieter, flatter gesture beside the news timeline. */
.gentle-refresh #news .section-title::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2054%209%22%3E%3Cg%20fill%3D%22%238fa58c%22%3E%3Cpath%20d%3D%22M2%204.75%20C10%203.42%2029%203.62%2051.5%204.8%20C33%205.2%2015.8%206.18%204.3%205.65%20C2.7%205.59%201.6%205.2%202%204.75%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Slightly fuller at the left, keeping the same fine taper. */
.gentle-refresh #team .section-title::after,
.gentle-refresh #positions .section-title::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2054%209%22%3E%3Cg%20fill%3D%22%238fa58c%22%3E%3Cpath%20d%3D%22M2.5%205.6%20C7%203.1%2024%202.78%2052%204.45%20C35%205.45%2016.5%207.1%204.4%206.45%20C2.9%206.36%201.85%206.05%202.5%205.6%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* A shorter, lighter gesture for the long publication section. */
.gentle-refresh #publications .section-title::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2054%209%22%3E%3Cg%20fill%3D%22%238fa58c%22%3E%3Cpath%20d%3D%22M2.3%204.95%20C10%203.28%2027%203.52%2050%204.6%20C34.2%205.13%2017%206.25%204.8%205.77%20C3%205.69%201.8%205.43%202.3%204.95%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Source: publication-accents.css */
/* Paper references work in any Markdown text or list. */
.gentle-refresh .publication-reference > a {
  color: #41664e;
  font-weight: bold;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  overflow-wrap: break-word;
}
.gentle-refresh .publication-reference > a:hover {
  color: #243f2f;
  text-decoration: underline;
  text-decoration-color: #a9b9a1;
}
.gentle-refresh .publication-reference-meta { margin-left: 6px; }

/* Soft metadata accents for publications. */
.gentle-refresh .paper-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #596b52;
  font-family: Georgia, serif;
  font-size: .7rem;
  line-height: 1.35;
  font-weight: normal;
  font-style: normal;
  letter-spacing: .015em;
  white-space: nowrap;
  vertical-align: baseline;
}
.gentle-refresh .paper-bubble {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 3px 9px;
}
.gentle-refresh .paper-bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #edf0e8;
  border-radius: 41% 59% 50% 50% / 52% 43% 57% 48%;
  transform: rotate(-2deg);
}
.gentle-refresh .paper-year::before {
  background: #f1eee6;
  border-radius: 54% 46% 43% 57% / 46% 55% 45% 54%;
  transform: rotate(2deg);
}
/* Publication and course links share the same organic shape family. */
.gentle-refresh :is(#publications, #teaching) .pub-link {
  --resource-wash: #edf0e8;
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 4px 10px 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .72rem;
  line-height: 1.3;
  opacity: 1;
  text-decoration: none;
  white-space: nowrap;
}
.gentle-refresh :is(#publications, #teaching) .pub-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--resource-wash);
  border-radius: 42% 58% 49% 51% / 55% 43% 57% 45%;
  transform: rotate(-2deg);
}
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='code'] {
  --resource-wash: #eee7ed;
}
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='code']::before {
  border-radius: 55% 45% 42% 58% / 46% 57% 43% 54%;
  transform: rotate(2deg);
}
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='website'],
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='slides'],
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='poster'] {
  --resource-wash: #f1ece2;
}
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='website']::before,
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='slides']::before,
.gentle-refresh :is(#publications, #teaching) .pub-link[data-kind='poster']::before {
  border-radius: 47% 53% 57% 43% / 42% 52% 48% 58%;
  transform: rotate(1deg);
}
.gentle-refresh :is(#publications, #teaching) .pub-link:hover {
  background: transparent;
  filter: brightness(.94);
}

/* Source: profile.css */
@font-face {
  font-family: 'Abril Fatface';
  src: url('AbrilFatface-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* The profile shares the group site's headings and publication accents. */
body.profile-page {
  --text: #18251e;
  --accent: #52735e;
  --muted: #626e64;
  --rule: #dfe5dc;
  --backgroundcolor: #f3f4f3;
  margin: 0;
  min-width: 280px;
  color: #404654;
  background: var(--backgroundcolor);
  font: 16px/1.5 Georgia, 'Times New Roman', serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.profile-page *, .profile-page *::before, .profile-page *::after { box-sizing: border-box; }
.profile-page h1, .profile-page h2, .profile-page h3, .profile-page p { margin: 0; }
.profile-page a { color: var(--accent); text-decoration: none; }
.profile-page a:hover { color: #2c4233; text-decoration: underline; text-underline-offset: 3px; }
.profile-page a:focus-visible, .profile-page summary:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.profile-page .site-header {
  position: fixed;
  z-index: 1000;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1052px;
  padding: .5rem 1rem;
  border-radius: 1.25rem;
}
.profile-page .site-header.scrolled { background: rgba(243,244,243,.78); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.profile-page .site-navbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.profile-page .navbar-logo { display: flex; align-items: center; height: 54px; padding-left: .25rem; }
.profile-page .brand-logo { transform: none; }
.profile-page .profile-back, .profile-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .7rem 1rem;
  border-radius: 2rem;
  color: var(--text);
  font-size: .85rem;
  font-weight: bold;
  letter-spacing: .03em;
  line-height: 1.5;
  font-family: inherit;
  border: 0;
  white-space: nowrap;
  background: rgba(255,255,255,.65);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background .25s;
}
.profile-page .profile-back:hover { background: #e7ece4; text-decoration: none; }
.profile-navigation { display: flex; align-items: center; gap: 10px; }
.profile-section-links { display: flex; align-items: center; gap: .1rem; padding: .5rem .9rem; border-radius: 2rem; background: rgba(255,255,255,.6); box-shadow: 0 2px 12px rgba(0,0,0,.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.profile-page .profile-section-links a { padding: .2rem .65rem; border-radius: .5rem; color: var(--text); font: bold .85rem/1.5 Georgia, serif; letter-spacing: .03em; white-space: nowrap; }
.profile-page .profile-section-links a:hover, .profile-page .profile-section-links a[aria-current] { color: var(--text); background: #e7ece4; text-decoration: none; }
.profile-page .profile-section-links a:focus-visible, .profile-menu-toggle:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.profile-menu-toggle { cursor: pointer; }
.profile-menu-toggle:hover { background: #e7ece4; }
.profile-menu-toggle::after { content: ''; width: 6px; height: 6px; margin: 0 2px 3px 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.profile-menu-toggle[aria-expanded='true']::after { transform: rotate(225deg); margin-top: 4px; margin-bottom: 0; }
.profile-menu-toggle[hidden], .profile-section-links[hidden] { display: none; }
.profile-main { width: min(100%,1068px); margin: 0 auto; padding: 112px 24px 0; }
.profile-main:focus { outline: none; }
.profile-page .profile-sections > .profile-card:last-child { margin-bottom: 8px; }
.profile-page .profile-card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #e1e5df;
  border-radius: 25px 22px 27px 21px / 22px 26px 21px 27px;
  background: #fcfcfa;
  box-shadow: 0 2px 3px rgba(39,55,43,.015);
  scroll-margin-top: 112px;
}
.profile-intro { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; }
.profile-portrait { padding-top: 5px; text-align: center; }
.profile-photo {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: 50% 42%;
  border: 2px solid #9cab96;
  border-radius: 45% 55% 47% 53% / 53% 46% 54% 47%;
}
.profile-contacts { display: flex; justify-content: center; gap: 8px; margin: 10px auto 0; }
.profile-contact { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.profile-contact::before {
  content: ''; position: absolute; inset: 3px 0; z-index: -1;
  background: #e8ede3; border-radius: 47% 53% 44% 56% / 53% 46% 54% 47%; transform: rotate(-6deg);
}
.profile-contact:nth-child(2)::before { border-radius: 53% 47% 57% 43% / 47% 54% 46% 53%; transform: rotate(6deg); }
.profile-contact:nth-child(3)::before { border-radius: 45% 55% 49% 51% / 56% 43% 57% 44%; transform: rotate(-3deg); }
.profile-page .profile-contact:hover { transform: translateY(-1px); text-decoration: none; }
.profile-contact:hover::before { filter: brightness(.96); }
.profile-contact-icon { width: 19px; height: 19px; stroke-width: .6; }
.profile-contact-orcid { width: 20px; height: 20px; stroke-width: .5; }
.profile-page h1 { color: #18251e; font: 400 clamp(28px,3vw,36px)/1.2 'Abril Fatface', Georgia, serif; letter-spacing: -.02em; }
/* Let the wide heading serif hang slightly beyond the subtitle's text edge. */
.profile-biography h1 { text-indent: -.1em; }
.profile-biography .profile-subtitle { text-indent: -.007324em; }
.profile-subtitle { margin-top: 5px !important; font-size: 1.1rem; color: var(--muted); }
/* title-strokes.css supplies the shared tapered drawing. */
.profile-subtitle::after, .profile-page .section-title::after { content: ''; display: block; }
.profile-page .profile-about { margin-top: 20px; font-size: .95rem; line-height: 1.75; }
.profile-page .profile-about p + p { margin-top: 14px; }
.profile-page .profile-about a, .profile-page .profile-card li a { color: #52735e; font-weight: bold; }
.profile-page .profile-about a:hover, .profile-page .profile-card li a:hover { color: #52735e; }
.profile-page .section-title, .profile-page #press .section-title {
  margin: 0 0 14px;
  color: #18251e;
  font: 400 25px/1.3 'Abril Fatface', Georgia, serif;
  letter-spacing: 0;
}
.profile-sections { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
.profile-sections .profile-card { margin: 0; }

/* Publication years are disclosures; resource bubbles come from publication-accents.css. */
.profile-page #publications { padding: 28px; color: #404654; font: 1rem/1.5 Georgia, serif; }
.profile-page details.pub-year { margin: 0 0 8px; }
.profile-page details.pub-year[open] { margin-bottom: 24px; }
.profile-page details.pub-year:last-child { margin-bottom: 0; }
.profile-page summary.pub-year-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e4e8df;
  color: #52735e;
  font: normal 1.15rem/1.4 'Abril Fatface', Georgia, serif;
  cursor: pointer;
  list-style: none;
}
.profile-page summary.pub-year-heading::-webkit-details-marker { display: none; }
.profile-page summary.pub-year-heading h3 { font: inherit; }
.profile-page summary.pub-year-heading::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 8px 4px auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.profile-page details.pub-year[open] > summary::after { margin-bottom: -4px; transform: rotate(225deg); }
.profile-page summary.pub-year-heading:hover { color: #2c4233; }
.profile-page .pub-year-content { padding-top: .75rem; }
.profile-page .pub { padding: .1rem 0 .1rem .75rem; margin: 0 0 1.1rem; border-left: 1px solid #dce3da; }
.profile-page .pub:last-child { margin-bottom: 0; }
.profile-page .pub-title { display: inline; margin: 0; font: bold .95em/1.4 Georgia, serif; color: #18251e; }
.profile-page .pub-title:hover { color: #18251e; opacity: .75; text-decoration: none; }
.profile-page :is(.pub-authors, .pub-venue, .pub-links, .pub-award, .pub-award > span) { font-family: Georgia, serif; }
.profile-page .pub-authors { margin: .25rem 0; font-size: .85em; line-height: 1.5; color: #58655d; }
.profile-page .pub-venue { display: block; font-size: .85em; line-height: 1.5; font-style: italic; color: #58655d; }
.profile-page .pub-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .35rem 0 0; }
.profile-page .pub-link { font-family: 'SF Mono', 'Fira Code', Consolas, monospace; color: #4e6347; }
.profile-page .pub-link[data-kind='code'] { color: #755e72; }
.profile-page .pub-link:is([data-kind='website'], [data-kind='slides'], [data-kind='poster']) { color: #78683f; }
.profile-page .pub-award { display: inline; margin-left: .25rem; font-size: .78em; font-style: inherit; color: #52735e; }
.profile-page .pub-award > span { font-size: 1em; font-style: normal; vertical-align: baseline; }

/* Teaching, service, talks and press retain the same compact rhythm. */
.talk-years, .press-years { display: grid; gap: 16px; }
.talk-year, .service-year, .press-year { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 12px; }
.profile-page .talk-year-label, .service-year dt, .teaching-year-label, .profile-page .press-year-label { font-size: .94rem; color: var(--accent); font-weight: bold; }
.talk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.talk-entry { font-size: .93rem; line-height: 1.45; }
.teaching-list { font-size: .93rem; line-height: 1.45; }
.talk-context, .teaching-context { display: block; margin-top: 1px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.profile-page .service-group > h3, .profile-page .teaching-group > h3 { font-size: 1rem; color: #2c4233; margin-bottom: 8px; }
.service-group + .service-group { margin-top: 18px; }
.teaching-group + .teaching-group { margin-top: 27px; }
.profile-page .service-years { display: grid; gap: 6px; margin: 0; font-size: .93rem; line-height: 1.5; }
.service-year dd { margin: 0; }
.service-award { color: #26392d; font-size: .85em; font-style: italic; }
.service-award > span { font-size: .85em; font-style: normal; vertical-align: .05em; }
.teaching-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.teaching-list > li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 12px; }
.press-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; font-size: .93rem; line-height: 1.5; }
.press-article { display: block; color: var(--text); font-weight: bold; line-height: 1.45; }
.profile-page .profile-card .press-outlet { display: inline-block; margin-top: 1px; color: var(--accent); font-size: .88rem; font-weight: normal; }
.press-outlet::after { content: ""; display: inline-block; width: 1.2em; height: .9em; margin-left: 6px; vertical-align: -.12em; background: currentColor; -webkit-mask: url("link-arrow.svg") center / contain no-repeat; mask: url("link-arrow.svg") center / contain no-repeat; }
.profile-page .press-outlet:hover { color: #2c4233; }
.skip-link { position: fixed; z-index: 1100; top: 12px; left: 24px; padding: 8px 14px; border-radius: 8px; background: #fcfcfa; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

@media (max-width: 850px) {
  .profile-intro { grid-template-columns: 170px minmax(0,1fr); gap: 26px; }
  .profile-photo { width: 170px; height: 170px; }
}
@media (max-width: 800px) {
  .profile-page .site-navbar { gap: 12px; }
  .profile-navigation { gap: 8px; }
  .profile-section-links { position: absolute; right: 0; top: calc(100% + 12px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; width: min(290px,calc(100vw - 32px)); padding: 10px; border-radius: 20px; background: #fcfcfa; }
  .profile-page .profile-section-links a { padding: 9px 12px; }
}
@media (max-width: 650px) {
  .profile-page .site-header { top: 12px; left: 16px; right: 16px; transform: none; width: auto; padding: 0; }
  .profile-page .brand-logo { width: 148px; }
  .profile-main { padding: 92px 16px 0; }
  .profile-page .profile-card { scroll-margin-top: 92px; overflow-wrap: anywhere; }
  .profile-intro { grid-template-columns: 1fr; gap: 22px; }
  .profile-photo { width: 180px; height: 180px; margin: 0 auto; }
  .profile-portrait { padding: 0; }
  .profile-page h1 { font-size: 30px; }
  .talk-year, .service-year, .teaching-list > li, .press-year { grid-template-columns: 42px minmax(0,1fr); gap: 8px; }
}
@media (max-width: 600px) {
  .profile-page .profile-card, .profile-page #publications { padding: 22px; }
}
@media (max-width: 380px) {
  .profile-page .brand-logo { width: 120px; }
  .profile-navigation { gap: 6px; }
  .profile-page .profile-back, .profile-menu-toggle { padding-inline: 9px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-page .profile-back { transition: none; }
  .profile-page .profile-contact:hover { transform: none; }
}

/* Source: bibtex.css */
/* A compact citation sheet using the shared heading and a plain code block. */
.bibtex-dialog {
  width: min(740px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 22px 26px 26px;
  box-sizing: border-box;
  overflow: auto;
  border: 1px solid #e0e5dc;
  border-radius: 18px;
  background: #fcfcfa;
  color: #404654;
  font: 16px/1.5 Georgia, serif;
}
.bibtex-dialog::backdrop { background: rgba(24,37,30,.24); }
.bibtex-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bibtex-dialog .section-title {
  margin: 0;
  color: #18251e;
  font: 400 25px/1.3 'Abril Fatface', Georgia, serif;
}
.bibtex-dialog .section-title:focus { outline: none; }
.bibtex-dialog h2::after {
  content: '';
  display: block;
}
.bibtex-actions { display: flex; align-items: center; gap: 18px; font-size: .85rem; white-space: nowrap; }
.bibtex-dialog button {
  appearance: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  font: inherit;
  color: #52735e;
  background: transparent;
}
.bibtex-dialog .bibtex-copy { min-width: 42px; font-weight: bold; }
.bibtex-copy:disabled { opacity: .65; cursor: wait; }
.bibtex-dialog .bibtex-copy:hover { color: #243f2f; text-decoration: underline; text-underline-offset: 4px; }
.bibtex-dialog .bibtex-close { display: grid; place-items: center; width: 32px; height: 32px; margin-right: -7px; color: #727b73; }
.bibtex-dialog .bibtex-close:hover { color: #18251e; }
.bibtex-source {
  width: 100%;
  max-height: 60dvh;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 16px;
  overflow: auto;
  border: 0;
  color: #34473b;
  background: #f3f4f1;
  border-radius: 8px;
  font: .8rem/1.7 'SF Mono', 'Fira Code', Consolas, monospace;
  white-space: pre;
  scrollbar-width: thin;
  scrollbar-color: #a4afa0 transparent;
  tab-size: 4;
}
.bibtex-source code { display: block; color: inherit; background: none; font: inherit; }
.bibtex-dialog .bibtex-status { margin: 12px 0 0; color: #626e64; font-size: .85rem; }
.bibtex-status:not(.is-visible) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bibtex-dialog :is(button, a, pre):focus-visible { outline: none; }
.bibtex-dialog .bibtex-copy:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bibtex-dialog .bibtex-close:focus-visible { background: #ececeb; border-radius: 4px; color: #18251e; }
.bibtex-dialog .bibtex-source:focus-visible { background: #edf0e9; }
@media (max-width: 540px) {
  .bibtex-dialog { padding: 18px; }
  .bibtex-heading { gap: 8px; }
  .bibtex-actions { gap: 10px; font-size: .8rem; }
  .bibtex-source { font-size: .72rem; }
}

/* Source: footer.css */
/* Shared footer for the group homepage and profiles. */
.gentle-refresh .site-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 19px;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 28px 24px;
  color: #6b706a;
  font: .84rem/1.4 Georgia, serif;
}

.footer-hoof-trail {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #9eae95;
}

.footer-hoof-trail svg {
  flex-shrink: 0;
  width: 17px;
  height: 22px;
  transform: translateY(3px) rotate(75deg);
}

.footer-hoof-trail svg:nth-child(even) {
  transform: translateY(-4px) rotate(65deg);
}

.footer-hoof-trail svg:nth-child(1) { opacity: .35; }
.footer-hoof-trail svg:nth-child(2) { opacity: .55; }
.footer-hoof-trail svg:nth-child(3) { opacity: .8; }

@media (max-width: 600px) {
  .gentle-refresh .site-footer {
    justify-content: center;
    gap: 14px;
    padding-inline: 22px;
  }
  .footer-hoof-trail { gap: 12px; }
}

/* Footer: imprint link. */
.gentle-refresh .footer-imprint {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font: 400 14px Georgia, serif;
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.gentle-refresh .footer-imprint:hover {
  color: #454b43;
  text-decoration: none;
}

.gentle-refresh .footer-imprint:focus-visible {
  outline: none;
  text-decoration: underline;
}
