/* Impression (Ctrl+P) : CV A4 épuré noir sur blanc */
@page {
  size: A4;
  margin: 14mm 14mm 16mm;
}

:root,
:root[data-theme="dark"],
:root.matrix-mode {
  --bg: #fff;
  --surface: #fff;
  --surface-2: #fff;
  --text: #000;
  --text-muted: #333;
  --border: #bbb;
  --accent: #000;
  --accent-soft: #fff;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  font-size: 10.5pt;
  line-height: 1.4;
  background: #fff;
  color: #000;
}

.site-header,
.site-footer,
.modal,
.skip-link,
.toast-region,
.terminal,
.fx-canvas,
.actions,
.avatar,
.timeline-toggle,
.status-dot {
  display: none !important;
}

.bento {
  display: block;
  width: auto;
  padding: 0;
}

.card,
.js .reveal {
  opacity: 1 !important;
  translate: none !important;
  transform: none !important;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0 0 10pt;
  margin: 0 0 10pt;
  overflow: visible;
}

.card-title {
  break-after: avoid;
}

.mindmap-branch,
.timeline-item,
.project {
  break-inside: avoid;
}

.card::after {
  display: none;
}

.card + .card {
  border-top: 1px solid #ccc;
  padding-top: 10pt;
}

.card-title {
  margin-bottom: 6pt;
  color: #000;
  font-size: 9pt;
}

.card--profile {
  display: block;
  border-bottom: 2px solid #000;
}

.profile-name {
  font-size: 22pt;
}

.status-list {
  gap: 0;
  margin: 0 0 4pt;
}

.status {
  padding: 0;
  border: 0;
  background: none;
}

.status + .status::before {
  content: "\00a0·\00a0";
}

/* Bloc contact : on affiche l'email en clair à la place des boutons */
.email-plain {
  margin: 0;
  font-family: inherit;
  font-size: 10pt;
  color: #000;
}

.card--actions .card-title {
  display: none;
}

.card--actions {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.timeline-item {
  padding-left: 0;
}

.timeline-item::before,
.timeline-item::after {
  display: none;
}

.timeline-item > .timeline-panel {
  padding: 0 0 2pt;
  margin: 0;
  border: 0;
  background: none;
}

.timeline-body {
  margin-top: 2pt;
  padding: 0 0 6pt;
  border: 0;
  color: #000;
}

.badge {
  border: 0;
  padding: 0;
  background: none;
  font-size: 9pt;
}

.badge:not(:last-child)::after {
  content: " ·";
}

.badges {
  gap: 4pt;
}

.mindmap {
  display: block;
}

.mindmap-hub,
.mindmap-links {
  display: none !important;
}

.mindmap-branch {
  display: block;
  margin-bottom: 6pt;
}

.mindmap-node {
  opacity: 1 !important;
  transform: none !important;
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  font-size: 10.5pt;
  text-align: left;
}

.mindmap-leaves {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4pt;
}

.mindmap-leaf {
  display: inline;
  font-size: 9pt;
}

/* « Docker (Compose, Swarm) » */
.mindmap-leaf-label,
.mindmap-subleaf {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  opacity: 1 !important;
  transform: none !important;
}

.mindmap-subleaves {
  display: inline;
  font-size: 8.5pt;
}

.mindmap-subleaves::before {
  content: " (";
}

.mindmap-subleaves::after {
  content: ")";
}

.mindmap-subleaf:not(:last-child)::after {
  content: ", ";
}

.mindmap-leaf:not(:last-child)::after {
  content: " ·";
}

.prose a,
.project-title a {
  color: #000;
  text-decoration: none;
}

.project {
  padding: 0;
  border: 0;
}

/* QR code et coordonnées (le PDF n'a pas de boutons) */
.print-only {
  display: block;
}

.card--profile {
  position: relative;
}

.print-qr {
  position: absolute;
  top: 0;
  right: 0;
  width: 22mm;
  height: 22mm;
}

.profile-text {
  padding-right: 26mm;
}

.print-contact {
  margin-top: 4pt;
  font-size: 9.5pt;
  color: #000;
}

.card--actions {
  display: none !important;
}

/* Sommaire du CV : inutile sur papier ; soft skills en liste compacte */
.cv-toc {
  display: none !important;
}

.softskills {
  display: block;
}

.softskill {
  padding: 0 0 3pt;
  border: 0;
  background: none;
  transform: none !important;
}

.softskill::before {
  display: none;
}

.softskill-title {
  display: inline;
  color: #000;
  font-size: 9.5pt;
}

.softskill-title::after {
  content: " — ";
}

.softskill p {
  display: inline;
  color: #000;
  font-size: 9pt;
}

.softskills-languages {
  margin-top: 6pt;
  padding-top: 0;
  border: 0;
}

.softskills-subtitle {
  margin-bottom: 2pt;
  color: #000;
  font-size: 9pt;
}

.softskills-languages ul {
  display: block;
}

.softskills-languages li {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-size: 9pt;
}

.softskills-languages li:not(:last-child)::after {
  content: " · ";
}

/* Divers : blocs compacts */
.misc {
  display: block;
}

.misc-block {
  display: block;
  margin-bottom: 4pt;
}

.misc-title {
  display: inline;
  color: #000;
  font-size: 9.5pt;
}

.misc-title::after {
  content: " — ";
}

.misc-block .badges,
.misc-block p {
  display: inline;
  color: #000;
  font-size: 9pt;
}
