.cv-page-title { max-width:900px; margin:0 auto 20px; color:var(--text); font-size:1.35rem; }
.cv-extra-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr)); gap:16px; margin:0 0 24px; }
.cv-extra-facts dt { color:var(--text-muted); font-size:.85rem; }
.cv-extra-facts dd { margin:4px 0 0; overflow-wrap:anywhere; font-weight:600; }
.cv-sheet .cv-portrait { width:260px; max-width:100%; }
.cv-sheet .cv-portrait-col { max-width:100%; }
.cv-photo-trigger { display:block; padding:0; cursor:zoom-in; background:transparent; }
.cv-photo-trigger:focus-visible { outline:3px solid var(--office-primary); outline-offset:4px; }
.cv-photo-open { min-height:44px; }
.cv-photo-open:focus-visible { outline:3px solid var(--office-primary); outline-offset:4px; }
.cv-photo-dialog { box-sizing:border-box; width:min(920px,94vw); max-height:92dvh; padding:20px; border:1px solid var(--border); border-radius:18px; background:var(--surface); color:var(--text); }
.cv-photo-dialog::backdrop { background:rgb(0 0 0 / 80%); }
.cv-photo-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.cv-photo-dialog-head h2 { margin:0; font-size:1rem; overflow-wrap:anywhere; }
.cv-photo-dialog-head button { min-height:44px; }
.cv-photo-dialog > img { display:block; width:100%; height:auto; max-height:72dvh; object-fit:contain; }
@media (max-width:600px) {
  .cv-sheet .cv-portrait { width:240px; }
  .cv-sheet .cv-identity { width:100%; }
  .cv-photo-dialog { padding:12px; }
}
@media print { .cv-page-title,.cv-photo-open,.cv-photo-dialog { display:none !important; } }
