/* Style pour génération PDF propres - planning-artifacts */ @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap'); * { box-sizing: border-box; } body { font-family: 'Source Sans 3', 'Segoe UI', sans-serif; font-size: 11pt; line-height: 1.5; color: #1a1a1a; max-width: 100%; margin: 0; padding: 0; } /* Titres */ h1 { font-size: 1.6em; font-weight: 700; margin: 0 0 0.75em 0; padding-bottom: 0.35em; border-bottom: 2px solid #2563eb; color: #1e3a5f; page-break-after: avoid; } h2 { font-size: 1.25em; font-weight: 700; margin: 1.25em 0 0.5em 0; color: #1e3a5f; page-break-after: avoid; } h3, h4 { font-size: 1.05em; font-weight: 600; margin: 1em 0 0.4em 0; color: #334155; page-break-after: avoid; } /* Paragraphes et listes */ p { margin: 0 0 0.6em 0; } ul, ol { margin: 0 0 0.75em 0; padding-left: 1.5em; } li { margin-bottom: 0.25em; } /* Tableaux - rendu propre */ table { width: 100%; border-collapse: collapse; margin: 0.75em 0; font-size: 10pt; page-break-inside: avoid; } th, td { border: 1px solid #cbd5e1; padding: 0.4em 0.6em; text-align: left; vertical-align: top; } th { background: #1e3a5f; color: #fff; font-weight: 600; } tr:nth-child(even) { background: #f8fafc; } /* Bloc citation / séparateur */ hr { border: none; border-top: 1px solid #e2e8f0; margin: 1.25em 0; } blockquote { margin: 0.75em 0; padding: 0.5em 1em; border-left: 4px solid #2563eb; background: #f1f5f9; color: #475569; font-style: italic; } /* Code */ code { font-family: 'Consolas', 'Monaco', monospace; font-size: 0.9em; background: #f1f5f9; padding: 0.15em 0.35em; border-radius: 3px; border: 1px solid #e2e8f0; } pre { background: #1e293b; color: #e2e8f0; padding: 0.75em 1em; border-radius: 4px; overflow-x: auto; font-size: 9pt; page-break-inside: avoid; } pre code { background: none; padding: 0; border: none; color: inherit; } /* Strong / emphasis */ strong { font-weight: 600; color: #1e3a5f; } /* Sauts de page */ h1, h2, h3, h4 { page-break-after: avoid; } table, pre, blockquote { page-break-inside: avoid; } @media print { body { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }