:root { --ink: #172033; --muted: #5f6c80; --line: #dce5ec; --brand: #0f766e; --paper: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: #eaf0f4; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.48; }
.toolbar { max-width: 940px; margin: 22px auto; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; }
.toolbar a { color: var(--brand); text-decoration: none; font-weight: 700; }
.toolbar button { border: 0; border-radius: 10px; padding: 11px 15px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.cv-page { width: min(940px, calc(100% - 24px)); margin: 0 auto 40px; background: var(--paper); padding: 55px 62px; box-shadow: 0 24px 70px rgba(20,40,60,.15); }
.cv-header { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 24px; border-bottom: 3px solid var(--brand); }
.cv-header img { width: 112px; height: 112px; border-radius: 22px; }
.kicker { color: var(--brand); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; margin: 0 0 8px; }
h1 { margin: 0; font-size: 37px; letter-spacing: -.025em; }
h2 { margin: 6px 0 0; color: var(--muted); font-size: 18px; font-weight: 500; }
.contact-line { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
section { padding-top: 24px; }
section h3 { color: var(--brand); text-transform: uppercase; letter-spacing: .09em; font-size: 13px; margin: 0 0 13px; }
section > p, section li { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 10px; background: #eef7f5; color: #175e58; border-radius: 999px; font-size: 11px; font-weight: 700; }
article { display: grid; grid-template-columns: 115px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
article:first-of-type { border-top: 0; }
article .date { color: var(--brand); font-size: 11px; font-weight: 800; }
article h4 { margin: 0 0 6px; font-size: 15px; }
article p { margin: 0; color: var(--muted); font-size: 12px; }
.url { word-break: break-all; margin-top: 5px; }
@media (max-width: 640px) { .cv-page { padding: 32px 25px; } .cv-header img { display: none; } article { grid-template-columns: 1fr; gap: 4px; } }
@media print {
    @page { size: A4; margin: 12mm; }
    body { background: #fff; }
    .toolbar { display: none; }
    .cv-page { width: 100%; margin: 0; padding: 0; box-shadow: none; }
    section { break-inside: avoid; }
}
