*{box-sizing:border-box}body{margin:0;background:#0c1115;font-family:Arial,sans-serif;color:#f6f8f8}.cv-toolbar{position:sticky;top:0;z-index:5;background:#111;padding:12px;text-align:center}.cv-toolbar button,.cv-toolbar a{display:inline-block;margin:0 5px;padding:10px 15px;background:#8ef000;color:#071008;border:0;border-radius:5px;font-weight:bold}.cv{width:210mm;min-height:297mm;margin:20px auto;background:#020d13;padding:10mm;color:#eaf0f1;border-top:4px solid #8ef000}.cv header{display:flex;justify-content:space-between;align-items:center}.cv header img{width:62mm;height:26mm;object-fit:contain}.cv header div{text-align:right}.cv header h1{margin:3px 0;font-size:24px}.cv header b,.green{color:#8ef000}.cv-id{margin-top:10mm;background:#0a1c24;border-radius:8px;padding:5mm;display:grid;grid-template-columns:45mm 1fr;gap:7mm}.cv-id>img{width:45mm;height:52mm;object-fit:cover;border:2px solid #8ef000;border-radius:8px}.cv-id h2{font-size:28px;margin:3px 0}.tags{display:flex;gap:5px;flex-wrap:wrap}.tags i{font-style:normal;font-size:9px;background:#102630;padding:6px 10px;border-radius:4px}.cvstats{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin-top:8px}.cvstats div{text-align:center}.cvstats b{display:block;color:#8ef000;font-size:20px}.cvstats span{font-size:7px;color:#9eb0b7}.cvcols{display:grid;grid-template-columns:1fr 1fr;gap:9mm;margin-top:7mm}.cv h3{font-size:14px;border-bottom:2px solid #8ef000;padding-bottom:4px;width:max-content}.cv p{font-size:10px;color:#b9c5c9}.bar{margin:10px 0;font-size:9px}.bar span{display:flex;justify-content:space-between}.bar i{display:block;background:#112832;height:4px;margin-top:4px}.bar i:after{content:"";display:block;background:#8ef000;width:var(--w);height:100%}.careerline{display:grid;grid-template-columns:30mm 1fr;font-size:9px;padding:7px 0;border-bottom:1px solid #17303a}.links{margin-top:10mm}.linkgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm}.linkgrid a{background:#071923;border-radius:6px;padding:3mm;color:white;font-size:8px;display:grid;gap:3px}.linkgrid b{color:#8ef000}.linkgrid small{word-break:break-all;color:#9baeb5}.qr{width:25mm;height:25mm;background:white;padding:2mm;display:block}.qr svg{width:100%;height:100%}.cv footer{margin-top:12mm;border-top:1px solid #1c3944;padding-top:4mm;font-size:7px;color:#82979f;display:flex;justify-content:space-between}.cv footer b{color:#8ef000}@media print{body{background:white}.cv-toolbar{display:none}.cv{margin:0;width:210mm;height:auto;min-height:297mm;overflow:visible;box-shadow:none}@page{size:A4;margin:0}}

.cv-language-notice{text-align:center;padding:10px;background:#24331b;font-size:12px}.cv h3{max-width:100%;width:auto}.cv header h1,.cv-id h2{overflow-wrap:anywhere}.cv header div{max-width:110mm}.linkgrid a,.cv-id,.bar,.careerline{break-inside:avoid}.cv footer{gap:8mm;line-height:1.5}.cv p{line-height:1.6;white-space:pre-line}@media print{*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.cv-language-notice{margin:0}}@media screen and (max-width:820px){.cv{width:98%;padding:18px}.cv-id{grid-template-columns:30% 1fr}.cv-id>img{width:100%;height:auto}.cv header img{max-width:35%}.cv header h1{font-size:19px}.cv-id h2{font-size:22px}.cvcols{gap:18px}.linkgrid{gap:10px}.qr{width:70px;height:70px}}

/* A compact normal profile fits on A4; long biographies may continue on another page. */
@media print{.cv{padding:8mm}.cv header img{height:23mm;width:58mm}.cv-id{margin-top:8mm;padding:4mm;grid-template-columns:43mm 1fr}.cv-id>img{width:43mm;height:49mm}.cvcols{margin-top:6mm;gap:8mm}.cv .mft-pitch-wrap{max-width:136px}.cv .links{margin-top:6mm}.cv footer{margin-top:7mm;padding-top:3mm;gap:6mm}}
