/* ── ÉCRAN ──────────────────────────────────────────── */
    * { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:       #1a6fb5;
      --blue-dark:  #134f85;
      --blue-light: #e8f2fb;
      --green:      #17a589;
      --green-light:#e6f7f4;
      --dark:       #1a1f2e;
      --gray:       #64748b;
      --gray-light: #f1f5f9;
      --border:     #e2e8f0;
    }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--dark);
      background: #f0f4f8;
      font-size: 15px;
      line-height: 1.65;
    }

    .page-wrapper {
      max-width: 820px;
      margin: 40px auto;
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 40px rgba(0,0,0,.12);
      overflow: hidden;
    }

    /* Bouton d'impression */
    .print-btn-bar {
      background: var(--blue);
      padding: 14px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .print-btn-bar span { color: rgba(255,255,255,.85); font-size: 13px; }
    .print-btn {
      background: white;
      color: var(--blue);
      border: none;
      padding: 9px 22px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: background .2s;
    }
    .print-btn:hover { background: var(--blue-light); }

    /* ── COUVERTURE ─────────────────────────────────────── */
    .cover {
      background: linear-gradient(135deg, var(--dark) 0%, #1a3a5c 100%);
      padding: 56px 48px 48px;
      color: white;
    }
    .cover-logo {
      font-size: 20px;
      font-weight: 800;
      color: white;
      margin-bottom: 48px;
      display: flex;
      align-items: center;
      gap: 10px;
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .cover-logo span { color: #60a5fa; }
    .cover-tag {
      display: inline-block;
      background: rgba(255,255,255,.12);
      color: rgba(255,255,255,.85);
      font-size: 11px;
      font-weight: 600;
      padding: 4px 14px;
      border-radius: 50px;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: .8px;
    }
    .cover h1 {
      font-size: 28px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 16px;
      max-width: 560px;
    }
    .cover h1 em { font-style: normal; color: #60a5fa; }
    .cover-sub {
      font-size: 15px;
      color: rgba(255,255,255,.7);
      max-width: 500px;
      line-height: 1.7;
      margin-bottom: 36px;
    }
    .cover-pills {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .cover-pill {
      padding: 6px 16px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 50px;
      font-size: 12px;
      color: rgba(255,255,255,.85);
    }

    /* ── CONTENU ────────────────────────────────────────── */
    .content { padding: 48px 48px 56px; }

    /* Intro */
    .intro-box {
      background: var(--blue-light);
      border-left: 4px solid var(--blue);
      padding: 18px 22px;
      border-radius: 0 10px 10px 0;
      margin-bottom: 40px;
      font-size: 14px;
      line-height: 1.7;
      color: var(--dark);
    }
    .intro-box strong { color: var(--blue); }
    .intro-meta {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    .intro-meta-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--gray);
      font-weight: 500;
    }

    /* Titres */
    h2 {
      font-size: 19px;
      font-weight: 800;
      color: var(--dark);
      margin: 40px 0 16px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--blue-light);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    h2 .part-badge {
      background: var(--blue);
      color: white;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: .5px;
      white-space: nowrap;
    }
    h3 {
      font-size: 15px;
      font-weight: 700;
      color: var(--dark);
      margin: 28px 0 10px;
    }
    h3::before {
      content: '▸ ';
      color: var(--blue);
    }

    p { margin-bottom: 12px; font-size: 14px; color: #374151; line-height: 1.75; }

    /* Callout */
    .callout {
      padding: 14px 18px;
      border-radius: 10px;
      margin: 16px 0;
      font-size: 13px;
      line-height: 1.65;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
    .callout-info  { background: var(--blue-light); border: 1px solid rgba(26,111,181,.2); color: #1e40af; }
    .callout-warn  { background: #fef9c3; border: 1px solid #fde047; color: #854d0e; }
    .callout-green { background: var(--green-light); border: 1px solid rgba(23,165,137,.2); color: #065f46; }
    .callout-red   { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
    .callout strong { font-weight: 700; }

    /* Tableaux */
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 16px 0 24px;
      font-size: 13px;
    }
    thead th {
      background: var(--dark);
      color: white;
      padding: 10px 14px;
      text-align: left;
      font-weight: 600;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .4px;
    }
    tbody td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
      line-height: 1.5;
    }
    tbody tr:nth-child(even) td { background: var(--gray-light); }
    tbody tr:hover td { background: var(--blue-light); }

    /* Listes */
    ul, ol {
      padding-left: 20px;
      margin: 10px 0 16px;
    }
    li { font-size: 14px; color: #374151; line-height: 1.75; margin-bottom: 4px; }
    li strong { color: var(--dark); }

    /* Checklist */
    .checklist { list-style: none; padding: 0; }
    .checklist li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 8px 12px;
      border-radius: 8px;
      margin-bottom: 6px;
      background: var(--gray-light);
      font-size: 13px;
    }
    .checklist li::before {
      content: '☐';
      color: var(--blue);
      font-size: 16px;
      flex-shrink: 0;
      line-height: 1.4;
    }

    /* Exemple */
    .example {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 14px 18px;
      font-size: 13px;
      color: var(--gray);
      font-style: italic;
      margin: 12px 0;
      line-height: 1.7;
    }
    .example::before {
      content: '💬 Script : ';
      font-style: normal;
      font-weight: 600;
      color: var(--blue);
    }

    /* Tableau priorités */
    .priority-table td:first-child { font-weight: 600; font-size: 16px; text-align: center; width: 48px; }
    .p-red    { color: #dc2626; }
    .p-orange { color: #ea580c; }
    .p-yellow { color: #ca8a04; }

    /* Cartes prescripteurs */
    .prescripteur-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin: 16px 0 24px;
    }
    .prescripteur-card {
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .prescripteur-card-header {
      background: var(--dark);
      color: white;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .prescripteur-card-body {
      padding: 12px 14px;
      font-size: 12.5px;
      color: #374151;
      line-height: 1.6;
    }
    .prescripteur-card-body ul {
      padding-left: 16px;
      margin: 0;
    }
    .prescripteur-card-body li { font-size: 12.5px; margin-bottom: 3px; }

    /* Étapes numérotées */
    .steps { list-style: none; padding: 0; counter-reset: step; margin: 14px 0 20px; }
    .steps li {
      counter-increment: step;
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
      color: #374151;
    }
    .steps li:last-child { border-bottom: none; }
    .steps li::before {
      content: counter(step);
      background: var(--blue);
      color: white;
      font-size: 12px;
      font-weight: 700;
      min-width: 26px;
      height: 26px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* Séparateur */
    .section-divider {
      height: 3px;
      background: linear-gradient(to right, var(--blue), var(--blue-light), transparent);
      border-radius: 2px;
      margin: 44px 0;
    }

    /* Footer */
    .doc-footer {
      background: var(--dark);
      padding: 24px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .doc-footer-logo { font-size: 16px; font-weight: 800; color: white; }
    .doc-footer-logo span { color: #60a5fa; }
    .doc-footer p { font-size: 12px; color: #94a3b8; margin: 0; }
    .doc-footer a { color: #60a5fa; text-decoration: none; }

    /* ── IMPRESSION ─────────────────────────────────────── */
    @media print {
      body { background: white; font-size: 11pt; }
      .print-btn-bar { display: none; }
      .page-wrapper { box-shadow: none; border-radius: 0; margin: 0; max-width: 100%; }
      h2 { page-break-after: avoid; }
      h3 { page-break-after: avoid; }
      table { page-break-inside: avoid; }
      .callout { page-break-inside: avoid; }
      .prescripteur-grid { page-break-inside: avoid; }
      .cover { padding: 40px 40px 36px; }
      .cover h1 { font-size: 22pt; }
      .content { padding: 32px 40px 40px; }
      a { color: inherit; text-decoration: none; }
    }
