:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17243b; background: #edf1f6; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.65; }
a { color: #1d4ed8; text-underline-offset: 3px; }
.cv-actions { max-width: 900px; margin: 24px auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cv-actions a { font-weight: 650; text-decoration: none; }
.cv-actions button { background: #132d54; color: white; border: 0; padding: 12px 18px; border-radius: 6px; font: inherit; cursor: pointer; }
.cv-document { max-width: 900px; margin: 0 auto 60px; background: white; padding: 52px 60px; box-shadow: 0 12px 40px #10244612; }
header { border-bottom: 2px solid #183963; padding-bottom: 20px; }
h1 { font-family: Georgia, serif; font-size: 36px; line-height: 1.2; margin: 8px 0; }
.eyebrow { color: #52617a; letter-spacing: .1em; font-size: 10px; font-weight: 700; }
.role { font-weight: 600; margin: 10px 0; }
.contact { font-size: 12px; overflow-wrap: anywhere; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: #183963; border-bottom: 1px solid #d5dce5; padding-bottom: 6px; margin: 25px 0 12px; }
h3 { font-size: 14px; line-height: 1.5; margin: 0 0 4px; }
h3 span { color: #52617a; font-weight: 400; white-space: nowrap; }
p { margin: 5px 0 10px; }
article { margin: 0 0 16px; }
ul, ol { padding-left: 21px; margin: 8px 0; }
li { margin-bottom: 7px; }
@media (max-width: 600px) { .cv-document { padding: 28px 22px; } h1 { font-size: 30px; } .cv-actions { padding: 0 18px; } .cv-actions button { font-size: 12px; } }
@page { size: A4; margin: 16mm; }
@media print {
  :root { background: white; }
  body { font-size: 10pt; line-height: 1.45; }
  .cv-actions { display: none; }
  .cv-document { max-width: none; margin: 0; padding: 0; box-shadow: none; }
  h1 { font-size: 26pt; }
  h2 { margin-top: 16px; break-after: avoid; }
  h3 { font-size: 10pt; break-after: avoid; }
  article, li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  p { orphans: 3; widows: 3; }
}
