@page {
  size: A4;
  margin: 0;
}

* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

html,
body {
  width: 210mm;
  height: 297mm;
  margin: 0;
  padding: 0;
  background: #fff !important;
  overflow: hidden;
}

body {
  font-size: 9pt;
  line-height: 1.22;
}

.skip-link,
.screen-only,
.action-toolbar,
.share-menu {
  display: none !important;
}

.resume-frame {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  margin: 0;
  box-shadow: none !important;
  overflow: hidden;
  background: #fff;
}

.hero {
  min-height: 43mm;
  height: 53mm;
  grid-template-columns: 54mm 1fr 31mm;
  padding: 3.2mm 6mm 0 5.5mm;
}

.hero::after {
  inset: -20mm -18mm auto auto;
  width: 59mm;
  height: 59mm;
  border-width: 1.8mm;
}

.portrait {
  width: 38mm;
  height: 38mm;
  border-width: .6mm;
margin: 25px 5px 10px 2px;
}

.portrait::before {
  inset: -1.8mm;
}

h1 span {
  font-size: 30pt;
  line-height: .86;
}

h1 strong {
  font-size: 37pt;
  line-height: .88;
}

.role-pill {
  width: max-content;
  max-width: 104mm;
  font-size: 8.2pt;
  padding: 1.0mm 3mm;
  margin: 2.7mm 0 2.1mm;
  border-radius: 2.2mm;
}

.role-pill span {
  padding: 0 2mm;
}

.contact-strip {
  font-size: 6.7pt;
  gap: 1.5mm;
  left: -6mm;
  right: -13mm;
  bottom: 3.7mm;
  justify-content: center;
}

.contact-strip svg {
  width: 3.0mm;
  height: 3.0mm;
}

.contact-strip a,
.contact-strip span {
  gap: 1.2mm;
}

.contact-strip a:not(:last-child)::after,
.contact-strip span:not(:last-child)::after {
  right: -1.2mm;
  height: 3.5mm;
}

.hero__icons {
  padding-top: 8mm;
  gap: 5mm;
}

.hero__icons svg {
  width: 9.5mm;
  height: 9.5mm;
}

.top-grid,
.content-columns {
  padding: 1.7mm 4.2mm 0;
  gap: 2mm;
}

.top-grid {
  grid-template-columns: 1fr 1fr;
}

.content-columns {
  grid-template-columns: 1.08fr .92fr;
}

.card {
  border-radius: 3.3mm;
  box-shadow: 0 1mm 3.2mm rgba(0, 22, 47, 0.12);
  break-inside: avoid;
}

.summary-card,
.personal-card,
.experience-card,
.other-card,
.education-card,
.differentials-card {
  padding: 3mm 4mm 2.4mm;
}

.top-grid .card {
  min-height: 55mm;
  height: 55mm;
}

.section-title {
  gap: 2.3mm;
  margin-bottom: 1.7mm;
}

.section-title h2 {
  font-size: 10pt;
}

.section-title h3 {
  font-size: 9.6pt;
}

.icon-badge {
  width: 5mm;
  height: 5mm;
}

.icon-badge svg {
  width: 3.9mm;
  height: 3.9mm;
}

.line-icon svg {
  width: 6mm;
  height: 6mm;
}

.summary-card > p {
  font-size: 6.95pt;
  line-height: 1.32;
  margin: 0 0 2.5mm;
}

.section-title--inline {
  margin-top: 3.2mm;
  margin-bottom: .7mm;
}

.personal-grid {
  gap: 2.3mm;
  margin-top: 3.2mm;
}

.mini-card {
  min-height: 15.5mm;
  grid-template-columns: 10.5mm 1fr;
  gap: 2.4mm;
  padding: 2mm 2.4mm;
  border-radius: 2.4mm;
}

.mini-icon {
  width: 8.2mm;
  height: 8.2mm;
}

.mini-card span {
  font-size: 6.3pt;
  line-height: 1.12;
}

.key-card {
  margin: 1.7mm 4.2mm 0;
  padding: 2mm 3.3mm 1.7mm;
}

.key-card .section-title {
  margin-bottom: 1.7mm;
}

.skills-grid {
  gap: 1.6mm;
}

.skill {
  min-height: 20.5mm;
  padding: 1.6mm 1mm 1.2mm;
  border-radius: 2mm;
}

.skill svg {
  width: 7.6mm;
  height: 7.6mm;
  margin-bottom: 0.2mm;
}

.skill span {
  font-size: 7.95pt;
  line-height: 1.13;
}

.timeline {
  padding-left: 14mm;
}

.timeline li {
  min-height: 15.7mm;
  padding-bottom: 1.5mm;
  margin-bottom: 1.45mm !important;
}

.timeline li::before {
  left: -7.5mm;
}

.timeline-number {
  left: -12.1mm;
  width: 5mm;
  height: 5mm;
  font-size: 5.8pt;
}

h3 {
  font-size: 7.65pt;
  line-height: 1.12;
}

.meta,
.date {
  font-size: 6.35pt;
  line-height: 1.12;
}

.timeline p:not(.meta):not(.date),
.side-item p:not(.meta):not(.date) {
  font-size: 6.05pt;
  line-height: 1.18;
}

.side-stack {
  gap: 1.7mm;
}

.other-card,
.education-card {
  padding-bottom: 1mm;
}

.side-item {
  grid-template-columns: 13.5mm 1fr;
  gap: 2.4mm;
}

.soft-icon {
  width: 12mm;
  height: 12mm;
}

.soft-icon svg {
  width: 7.6mm;
  height: 7.6mm;
}

.divider {
  margin: 2.4mm 0;
}

.education-list {
  margin-left: 7mm;
}

.education-list li {
  grid-template-columns: 10mm 1fr;
  gap: 3.2mm;
  min-height: 7.3mm;
  padding-bottom: .85mm;
}

.education-list time {
  height: 5.1mm;
  min-width: 9.2mm;
  font-size: 5.8pt;
  border-radius: 1mm;
}

.education-list span {
  font-size: 6.15pt;
  line-height: 1.18;
}

.differentials-card {
  margin: 1.7mm 4.2mm 0;
  padding: 2.5mm 4mm 2.1mm;
}

.differentials-card .section-title {
  margin-bottom: 1mm;
}

.differentials-grid {
  grid-template-columns: repeat(4, 1fr);
}

.differentials-grid article {
  grid-template-columns: 10mm 1fr;
  gap: 2.3mm;
  padding: 0 2.2mm 0 1mm;
}

.square-icon {
  width: 9.4mm;
  height: 9.4mm;
  border-radius: 1.6mm;
}

.square-icon svg {
  width: 6mm;
  height: 6mm;
}

.differentials-grid h3 {
  font-size: 6.15pt;
  line-height: 1.1;
}

.differentials-grid p {
  margin-top: 1mm;
  font-size: 4.5pt;
  line-height: 1.15;
}

.availability {
  min-height: 8.6mm;
  height: 8.6mm;
  margin: 1.7mm 4.2mm 0;
  padding: 0 8mm;
  border-radius: 2mm;
}

.availability div {
  gap: 4mm;
}

.availability svg {
  width: 6.3mm;
  height: 6.3mm;
}

.availability strong {
  font-size: 9.2pt;
}

.availability span {
  font-size: 6.2pt;
}
