@page {
  margin: 18mm 16mm;
}

html,
body {
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 11pt;
  line-height: 1.45;
}

.rail,
.skip-link,
.actions,
.actions__status,
.linkrail,
.themetoggle {
  display: none !important;
}

.shell {
  display: block;
}

.content {
  max-width: none;
  padding: 0;
}

.profile__name::after {
  background: #999999 !important;
  height: 1pt;
  width: 30mm;
}

.profile__name {
  font-size: 26pt;
  line-height: 1.05;
  margin-bottom: 6pt;
}

.section__title {
  font-size: 15pt;
  margin-bottom: 4pt;
}

.eyebrow {
  color: #000000 !important;
  font-size: 8pt;
  letter-spacing: 0.12em;
}

.lede {
  font-size: 11pt;
}

.card__meta,
.timeline__meta {
  color: #333333 !important;
}

.section__intro,
.card__text,
.timeline__note,
.timeline__when,
.skill__pct,
.skill__sign,
.contactlist__key,
.factstrip__key {
  color: #000000 !important;
}

.section {
  padding-block: 10pt;
  border-top: 0.5pt solid #999999;
  break-inside: avoid;
  page-break-inside: avoid;
}

.profile__body {
  display: block;
}

.profile__figure {
  float: left;
  width: 25mm;
  margin: 0 8pt 4pt 0;
}

.profile__photo {
  border: 0.5pt solid #999999;
  filter: none;
}

.cards,
.skilllist,
.contactlist {
  display: block;
}

.card,
.skill,
.contactlist__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 8pt;
}

.card {
  background: none !important;
  border: 0.5pt solid #999999;
  padding: 6pt 8pt;
  margin-bottom: 6pt;
}

.card:hover {
  transform: none;
}

.timeline__row {
  grid-template-columns: 26mm 1fr;
  border-top: 0.5pt dotted #bbbbbb;
}

.skilllist {
  display: block;
}

.skill {
  flex-direction: row;
  align-items: baseline;
  gap: 6pt;
  text-align: left;
  margin-bottom: 3pt;
}

.skill__dial {
  width: auto;
  aspect-ratio: auto;
  background: none !important;
  display: inline;
}

.skill__dial::after {
  display: none !important;
}

.section--panel {
  padding: 0;
  border: 0;
  background: none !important;
}

.section--panel .section__title::after {
  display: none !important;
}

.cards {
  background: none !important;
  border: 0;
  gap: 0;
}

.skill__name {
  order: -1;
  font-weight: 700;
  min-width: 45mm;
}

.tag {
  border: 0.5pt solid #999999;
  color: #000000 !important;
}

a {
  color: #000000 !important;
  text-decoration: underline;
}

/* print URLs after links, skip #anchors */
.contactlist__value[href]::after,
.card a[href]::after {
  content: " (" attr(href) ")";
  font-size: 8.5pt;
  word-break: break-all;
}

a[href^="#"]::after {
  content: "";
}

.js .section,
.section {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.pagefoot {
  border-top: 0.5pt solid #999999;
  font-size: 8.5pt;
  color: #000000 !important;
}
