:root {
  --global-theme-color: #4353a4;
  --global-hover-color: #303d82;
  --research-soft: #f4f5fa;
  --research-muted: #5c6270;
  --research-line: #e2e5ec;
  --research-accent: #4353a4;
  --research-surface: #fff;
}
html[data-theme="dark"] {
  --global-theme-color: #acb7ff;
  --global-hover-color: #d0d7ff;
  --research-soft: #242834;
  --research-muted: #b1b7c4;
  --research-line: #3b4050;
  --research-accent: #acb7ff;
  --research-surface: #1c1c1d;
}
body {
  font-size: 17px;
  line-height: 1.65;
}
.container {
  max-width: 1040px;
}
.post-header {
  margin-bottom: 1.8rem;
}
.post-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}
.post-header .desc,
.post-description {
  color: var(--research-muted);
  font-size: 1rem;
}
.research-topic {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.2em;
}
.research-topic:hover,
.research-topic:focus-visible {
  text-decoration-style: solid;
}
.clearfix > p {
  max-width: 880px;
}
.profile-links {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin: 1.4rem 0 2rem;
  font-weight: 500;
}
.selected-research-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.selected-research-heading h2 {
  margin: 0;
}
.selected-research-heading > a {
  white-space: nowrap;
  font-size: 0.9rem;
}
.selected-research .publications > h2 {
  display: none;
}
.publications ol.bibliography {
  padding: 0;
  list-style: none;
}
.publications ol.bibliography > li {
  margin: 0;
  padding: 0;
}
.paper-entry {
  scroll-margin-top: 5rem;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--research-line);
}
.paper-visual {
  align-self: start;
  display: block;
  margin-top: 0.15rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--research-soft);
}
.paper-visual img,
.paper-visual video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 180ms ease;
}
.paper-visual:hover img {
  transform: scale(1.035);
}
.paper-meta {
  color: var(--research-muted);
  font-size: 0.8125rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.015em;
}
.paper-meta > span {
  color: var(--research-accent);
  font-weight: 600;
}
.paper-title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.paper-title a {
  color: var(--global-text-color);
}
.paper-title a:hover {
  color: var(--research-accent);
}
.paper-authors,
.author-details {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--research-muted);
}
.paper-authors strong {
  color: var(--global-text-color);
  font-weight: 600;
}
.contribution-note {
  color: var(--research-muted);
  font-size: 0.8125rem;
  margin: 0.25rem 0 0.5rem;
}
.paper-summary {
  margin: 0.65rem 0 0.8rem;
  font-size: 1rem;
  line-height: 1.55;
}
.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}
.paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--research-line);
  border-radius: 5px;
  background: transparent;
  color: var(--global-text-color);
  text-decoration: none;
  cursor: pointer;
}
.paper-button:hover {
  color: var(--research-accent);
  border-color: var(--research-accent);
  text-decoration: none;
  background: var(--research-soft);
}
.snapshot-button {
  color: var(--research-accent);
  background: var(--research-soft);
  border-color: transparent;
}
.paper-details {
  margin: 0.35rem 0;
  font-size: 0.9rem;
}
.paper-details > summary,
.author-details > summary {
  cursor: pointer;
  color: var(--research-muted);
  width: fit-content;
}
.paper-details > summary:hover,
.author-details > summary:hover {
  color: var(--research-accent);
}
.details-body {
  padding: 0.7rem 0 0.3rem;
}
.details-body p {
  margin: 0 0 0.6rem;
}
.details-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 1rem;
  font-size: 0.8125rem;
  background: var(--research-soft);
  border-radius: 5px;
}
.copy-status {
  margin-left: 0.7rem;
  color: var(--research-muted);
}
.paper-details .code-display-wrapper > .copy {
  display: none;
}
.contact-section {
  margin: 3rem 0 1rem;
  padding: 1.8rem 0 0.5rem;
  border-top: 1px solid var(--research-line);
}
.contact-section h2 {
  font-size: 1.45rem;
}
.contact-section p {
  max-width: 700px;
}
.research-dialog {
  width: min(660px, calc(100% - 2rem));
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  border: 1px solid var(--research-line);
  border-radius: 12px;
  padding: 1.8rem;
  background: var(--research-surface);
  color: var(--global-text-color);
  box-shadow: 0 24px 100px #0004;
}
.research-dialog::backdrop {
  background: #12172699;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dialog-top .paper-meta {
  margin: 0;
}
.research-dialog h2 {
  margin: 0 0 0.6rem;
}
.dialog-contribution {
  font-size: 0.95rem;
}
.interest-card {
  width: min(860px, calc(100% - 2rem));
  overscroll-behavior: contain;
}
.interest-card .dialog-top {
  position: sticky;
  top: -1.8rem;
  z-index: 1;
  padding: 0.7rem 0;
  background: var(--research-surface);
  border-bottom: 1px solid var(--research-line);
}
.interest-card .dialog-top button {
  flex-shrink: 0;
  min-height: 44px;
}
.interest-card h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.35;
}
.interest-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
.interest-card .paper-links {
  margin: 1rem 0;
}
.interest-figure {
  margin: 1.3rem 0;
}
.interest-figure > a {
  display: block;
  padding: 0.75rem;
  border: 1px solid var(--research-line);
  border-radius: 8px;
  background: #fff;
}
.interest-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
}
.interest-figure figcaption,
.interest-source {
  color: var(--research-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.6rem;
}
.interest-abstract {
  font-size: 0.95rem;
  line-height: 1.7;
}
.metric-widget,
.step-widget {
  padding: 1.3rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  background: var(--research-soft);
}
.metric-controls,
.step-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.metric-choice {
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid var(--research-line);
  padding: 0.5rem 0.7rem;
  border-radius: 5px;
  background: var(--research-surface);
  color: var(--global-text-color);
}
.metric-choice[aria-pressed="true"] {
  background: var(--research-accent);
  color: var(--research-surface);
  border-color: var(--research-accent);
}
.metric-headline {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.7rem 0 0.15rem;
  letter-spacing: -0.02em;
}
.metric-axis,
.metric-context,
.widget-footnote {
  font-size: 0.875rem;
  color: var(--research-muted);
  line-height: 1.5;
}
.metric-axis {
  margin-bottom: 1.1rem;
}
.metric-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 4rem;
  align-items: center;
  gap: 0.6rem;
  margin: 0.85rem 0;
  font-size: 0.875rem;
}
.metric-row strong {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.metric-track {
  width: 100%;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--research-line);
}
.metric-bar {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 250ms ease;
}
.baseline-bar {
  background: #9ba1b1;
}
.model-bar {
  background: var(--research-accent);
}
.metric-context {
  margin: 1rem 0 0.5rem;
}
.widget-footnote {
  border-top: 1px solid var(--research-line);
  padding-top: 0.8rem;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
}
.widget-label {
  font-size: 0.875rem;
  color: var(--research-muted);
  margin: 0 0 0.6rem;
}
.step-panel h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
}
.step-panel p {
  margin: 0;
}
.step-panel pre {
  white-space: pre-wrap;
  font-size: 0.875rem;
  margin-top: 1rem;
  padding: 0.8rem;
  background: var(--research-surface);
}
[hidden] {
  display: none !important;
}
.project-status {
  display: inline-block;
  color: var(--research-accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.project-summary {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 850px;
}
.project-narrative {
  max-width: 850px;
}
.project-narrative h2 {
  margin-top: 2rem;
}
.project-footer {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--research-line);
}
.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.cv-pdf {
  display: block;
  width: 100%;
  height: 80vh;
  min-height: 480px;
  border: 1px solid var(--research-line);
  border-radius: 8px;
  background: var(--research-soft);
}
.skip-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  background: var(--research-surface);
}
.skip-content:focus {
  top: 0.5rem;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--research-accent);
  outline-offset: 4px;
}
footer.sticky-bottom {
  margin-top: 3rem;
}
.agent-note {
  color: var(--research-muted);
  font-size: 0.8125rem;
  margin: -0.8rem 0 1.6rem;
}
.home-portrait {
  float: right;
  width: 210px;
  max-width: 30%;
  height: auto;
  margin: 0 0 1rem 2rem;
  border-radius: 8px;
}
.acknowledgments {
  clear: both;
  margin: 1.8rem 0;
}
.acknowledgments > summary {
  width: fit-content;
  padding: 0.25rem 0;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  cursor: pointer;
}
.acknowledgments > summary:hover {
  color: var(--research-accent);
}
.acknowledgments > summary:focus-visible {
  outline: 2px solid var(--research-accent);
  outline-offset: 4px;
}
.acknowledgments-body {
  margin-top: 0.65rem;
}
.acknowledgments-body p {
  margin-bottom: 0.65rem;
}
.acknowledgments-body p:last-child {
  margin-bottom: 0;
}
.personal-section {
  margin-top: 3.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--research-line);
}
.margin-label {
  font:
    0.75rem/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--research-muted);
  margin-bottom: 0.65rem;
}
.personal-section h2,
.notebook-section > h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 0.8rem;
}
.personal-section > p:not(.margin-label),
.notebook-section > p {
  max-width: 820px;
}
.personal-aside,
.source-detail {
  font-size: 0.9rem;
  color: var(--research-muted);
}
.question-section,
.identity-section {
  padding-top: 0;
  border-top: 0;
}
.question-section {
  margin: 2rem 0 1.4rem;
}
.identity-section {
  margin: 0 0 2rem;
}
.question-section h2,
.identity-section h2 {
  margin-bottom: 0.55rem;
}
.question-section .personal-aside {
  margin-bottom: 0.55rem;
}
.question-list,
.identity-list {
  margin: 0;
  padding-left: 1.25rem;
}
.identity-list li {
  margin: 0.15rem 0;
  line-height: 1.5;
}
.question-note summary {
  padding: 0.1rem 0;
  cursor: pointer;
  display: block;
  list-style: none;
  line-height: 1.5;
}
.question-note summary::-webkit-details-marker {
  display: none;
}
.question-note summary:hover,
.question-note[open] summary {
  color: var(--research-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.track-number {
  font:
    0.85rem ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--research-muted);
}
.question-body {
  max-width: 800px;
  padding: 0.5rem 0 0.25rem;
}
.question-body p {
  margin-bottom: 0.6rem;
}
.draft-todo {
  font:
    0.85rem/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #82511f;
  overflow-wrap: anywhere;
}
html[data-theme="dark"] .draft-todo {
  color: #e4bd84;
}
.game-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 1.8rem;
}
.game-strip a {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--global-text-color);
}
.game-strip img,
.game-entry img {
  width: 100%;
  height: auto;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: var(--research-soft);
}
.game-strip span {
  display: block;
  margin-top: 0.6rem;
}
.notebook-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  border-bottom: 1px solid var(--research-accent);
  padding: 0.3rem 0;
  margin-top: 0.5rem;
  font-weight: 500;
}
.notebook-link span {
  color: var(--research-muted);
  font-size: 0.875rem;
  font-weight: 400;
  align-self: center;
}
.notebook-intro {
  max-width: 760px;
}
.notebook-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--research-line);
  margin: 2rem 0;
}
.notebook-filters button {
  font: inherit;
  font-size: 0.95rem;
  background: none;
  color: var(--research-muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.45rem 0;
  cursor: pointer;
  min-height: 44px;
}
.notebook-filters button[aria-pressed="true"] {
  color: var(--research-accent);
  border-bottom-color: var(--research-accent);
}
.notebook-section {
  margin: 2.5rem 0 4rem;
  scroll-margin-top: 90px;
}
.notebook-digression {
  background: var(--research-soft);
  padding: 1rem 1.3rem;
  margin: 1.5rem 0 0.5rem;
  border-left: 2px solid var(--research-accent);
}
.notebook-digression summary {
  cursor: pointer;
  font-weight: 500;
}
.notebook-digression[open] summary {
  margin-bottom: 1rem;
}
.shelf-entry {
  max-width: 850px;
  padding: 1.7rem 0 1rem;
  border-bottom: 1px solid var(--research-line);
}
.shelf-entry h3,
.game-entry h3,
.music-entry h3,
.performance-note h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.shelf-entry h3 a,
.game-entry h3 a,
.music-entry h3 a {
  color: var(--global-text-color);
}
.reference-links {
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
.reference-links li {
  margin-bottom: 0.35rem;
}
.game-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 1.8rem 0 1.2rem;
}
.game-entry h3 {
  margin-top: 1rem;
}
.game-entry p {
  font-size: 0.95rem;
}
.shelf-byline {
  font-size: 0.875rem;
  color: var(--research-muted);
  margin: 0 0 0.3rem;
}
.music-entry {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--research-line);
}
.music-entry .track-number {
  padding-top: 0.2rem;
}
.music-entry h3,
.music-entry p {
  margin-bottom: 0.5rem;
}
.performance-note {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 2px solid var(--research-accent);
  background: var(--research-soft);
}
.music-dialog {
  width: min(850px, calc(100% - 2rem));
}
.music-dialog h2 {
  font-size: 1.3rem;
}
.video-frame {
  aspect-ratio: 16 / 9;
  margin: 1.3rem 0;
  background: #111;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.agent-intro {
  font:
    1.1rem/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  max-width: 800px;
  color: var(--research-accent);
}
.influences-section > h2 {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
}
.influences-intro {
  max-width: 760px;
  color: var(--research-muted);
}
.influence-section {
  margin-top: 2.4rem;
}
.influence-section + .influence-section {
  padding-top: 2rem;
  border-top: 1px solid var(--research-line);
}
.influence-section h3 {
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 0.7rem;
  scroll-margin-top: 90px;
}
.influence-section h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}
.meaning-browser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.meaning-list {
  padding-left: 1.2rem;
  margin: 0;
}
.meaning-list li {
  position: relative;
  padding-right: 4rem;
  margin-bottom: 1.1rem;
}
.meaning-reference a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.meaning-reference .shelf-byline {
  display: block;
  line-height: 1.5;
  margin-top: 0.25rem;
}
.preview-choice {
  position: absolute;
  top: -0.2rem;
  right: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--research-muted);
  background: transparent;
  border: 0;
  padding: 0.3rem;
  min-height: 32px;
  cursor: pointer;
}
.preview-choice[aria-pressed="true"] {
  color: var(--research-accent);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.meaning-preview {
  padding-left: 1.5rem;
  border-left: 1px solid var(--research-line);
  min-height: 390px;
}
.resource-preview[hidden] {
  display: none;
}
.resource-preview .resource-visual {
  margin-bottom: 1rem;
}
.resource-description p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.resource-description > a {
  font-size: 0.9rem;
}
.book-preview .resource-visual {
  float: left;
  margin: 0 1rem 0.5rem 0;
}
.book-cover {
  display: block;
  width: 105px;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}
.playable-preview {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: #17202a;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.playable-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.8rem 0.6rem;
  background: linear-gradient(transparent, #000c);
  font-size: 0.9rem;
  text-align: left;
}
.play-symbol {
  margin-right: 0.3rem;
}
.octopodes-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1.4rem 0 1.8rem;
}
.octopodes-feature .source-detail {
  margin-top: 0.5rem;
}
.octopodes-feature p {
  font-size: 0.9rem;
}
.listening-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.listening-track {
  min-width: 0;
}
.track-heading {
  min-height: 3.5rem;
  margin-bottom: 0.6rem;
}
.track-heading h4 {
  margin-bottom: 0.2rem;
}
.track-play {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 0;
  border: 1px solid var(--research-line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--research-soft);
  color: var(--research-accent);
  cursor: pointer;
  font: inherit;
}
.track-play img {
  width: 55%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.song-embed {
  border: 0;
  width: 100%;
  height: 175px;
  border-radius: 8px;
}
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
  .container {
    padding-inline: 1.25rem;
  }
  .paper-entry {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 1.1rem;
  }
  .paper-title {
    font-size: 1.05rem;
  }
}
@media (max-width: 575px) {
  .home-portrait {
    width: 125px;
    max-width: 36%;
    margin-left: 1rem;
  }
  .meaning-browser,
  .octopodes-feature,
  .listening-shelf {
    grid-template-columns: 1fr;
  }
  .meaning-preview {
    padding: 1.2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--research-line);
    min-height: 360px;
  }
  .preview-choice {
    min-height: 44px;
  }
  .book-cover {
    width: 120px;
    max-height: 190px;
  }
  .game-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-shelf {
    grid-template-columns: 1fr;
  }
  .music-entry {
    grid-template-columns: 1.2rem 1fr;
    gap: 0.5rem 0.8rem;
  }
  .music-entry > .paper-button {
    grid-column: 2;
    justify-self: start;
  }
  .paper-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .paper-visual {
    max-width: 240px;
  }
  .paper-title {
    font-size: 1.15rem;
  }
  .research-dialog {
    padding: 1.1rem;
  }
  .interest-card .dialog-top {
    top: -1.1rem;
  }
  .metric-widget,
  .step-widget {
    padding: 1rem;
  }
  .metric-row {
    grid-template-columns: 4.4rem minmax(0, 1fr) 3.5rem;
    gap: 0.4rem;
  }
  .paper-button,
  .metric-choice {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  #navbar,
  .skip-content,
  .cv-actions button,
  footer,
  .paper-links,
  dialog {
    display: none !important;
  }
  body {
    color: #111 !important;
    background: #fff !important;
    padding: 0 !important;
    font-size: 11pt;
  }
  .container {
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  a {
    color: #111 !important;
  }
}
