/*
 * CV print stylesheet: clean black on white A4. The orchestrator
 * prints this page to produce /cv.pdf, so the rules below strip the
 * screen chrome (theme colors, grain, buttons, footer) and pin exact
 * ink colors regardless of prefers-color-scheme.
 */

@page {
    size: A4;
    margin: 16mm 15mm;
}

html,
body {
    background: #fff !important;
    color: #000 !important;
}

body::after {
    display: none !important;
}

body {
    font-size: 10.5pt;
    line-height: 1.45;
}

.cv-page {
    max-width: none;
    padding: 0 !important;
    min-height: auto;
}

.cv-top,
.cv-pdf,
.cv-status,
.noscript-note {
    display: none !important;
}

a {
    color: #000 !important;
    text-decoration: none !important;
}

h1,
h2,
h3 {
    break-after: avoid;
}

.cv-name {
    font-size: 26pt;
    margin: 0 0 4pt;
}

.cv-role {
    color: #000 !important;
    font-size: 9pt;
    margin: 0 0 8pt;
}

.cv-contact {
    color: #333 !important;
    border-bottom: 1px solid #999;
    font-size: 9pt;
    margin: 0 0 14pt;
    padding-bottom: 6pt;
}

.cv-section {
    border-top: 1px solid #999;
    margin-top: 12pt;
    padding-top: 6pt;
}

.cv-section h2 {
    margin-bottom: 8pt;
}

.cv-job,
.cv-project,
.cv-edu {
    break-inside: avoid;
    margin-bottom: 10pt;
}

.cv-when {
    color: #333 !important;
    font-size: 8.5pt;
}

.cv-job-title,
.cv-project-name,
.cv-edu-title {
    font-size: 11pt;
}

.cv-company {
    color: #000 !important;
}

.cv-job-location {
    color: #333 !important;
    font-size: 9pt;
}

.cv-highlights li {
    font-size: 10pt;
    margin-bottom: 2pt;
}

.cv-highlights li::before {
    background: #000 !important;
}

.cv-project-description,
.cv-project-tech,
.cv-edu-field,
.cv-edu-notes,
.cv-summary {
    font-size: 10pt;
}

.cv-skills li {
    font-size: 10pt;
    line-height: 1.4;
    margin-bottom: 2pt;
}

.cv-project-tech,
.cv-edu-field,
.cv-edu-notes {
    color: #333 !important;
}
