/* Orientini · documents imprimables (A4) — compatible CSP stricte */
@page{size:A4;margin:14mm 13mm 15mm}
@page wide{size:A4 landscape;margin:9mm 9mm 11mm}

body.pr{background:#E5E7EB;padding:0;color:#0F172A;font-size:15px}
.pr-bar{position:sticky;top:0;z-index:5;background:#0F172A;color:#fff;padding:.6rem 1rem .5rem;box-shadow:0 4px 16px rgba(15,23,42,.25)}
.pr-bar-in{max-width:210mm;margin:0 auto;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.pr-is-wide .pr-bar-in{max-width:297mm}
.pr-bar-t{flex:1;font-family:var(--f-head);font-size:1.05rem;min-width:8rem}
.pr-bar .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.pr-hint{max-width:210mm;margin:.35rem auto 0;font-size:.78rem;color:#CBD5E1}
.pr-doc{max-width:210mm;margin:1.25rem auto 2rem;background:#fff;padding:14mm 13mm;box-shadow:0 10px 40px rgba(15,23,42,.18);border-radius:4px}
.pr-doc.pr-wide{max-width:297mm;padding:10mm}
@media (max-width:820px){.pr-doc{margin:0;padding:1.1rem .9rem;border-radius:0;box-shadow:none;overflow-x:auto}.pr-doc.pr-wide{padding:1rem .6rem;overflow-x:auto}}

.pr-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #1D4ED8;padding-bottom:.35rem;margin-bottom:1rem;font-size:.8rem;color:#475569}
.pr-brand{font-weight:700;color:#1D4ED8;font-family:var(--f-body)}
.pr-site{font-weight:600}
.pr-foot{margin-top:1.5rem;padding-top:.4rem;border-top:1px solid #CBD5E1;font-size:.72rem;color:#64748B;text-align:center}
.pr-sec{break-before:page;page-break-before:always;padding-top:.2rem}
.pr-first{break-before:auto}
.pr-h1{font-family:var(--f-head);font-size:1.55rem;line-height:1.35;margin:0 0 .3rem;color:#0F172A}
.pr-h1 .yr,.pr-title .yr{color:#1D4ED8}
.pr-h2{font-family:var(--f-head);font-size:1.1rem;margin:1.1rem 0 .45rem;color:#0F172A;break-after:avoid}
.pr-h2 small{font-family:var(--f-body);font-size:.78rem;color:#1D4ED8;font-weight:600;margin-inline-start:.4rem}
.pr-sub{margin:0 0 .8rem;color:#475569;font-size:.88rem}
.pr-note{margin-top:1rem;font-size:.82rem}

/* Tableaux */
.pr-table{width:100%;border-collapse:collapse;font-size:.8rem;margin:.2rem 0 .8rem}
.pr-table th,.pr-table td{border:.6pt solid #94A3B8;padding:.3rem .4rem;vertical-align:top;text-align:start}
.pr-table thead th{background:#EEF4FF;color:#0F172A;font-weight:700;font-size:.76rem;vertical-align:bottom}
.pr-table thead th small{display:block;font-weight:500;color:#475569}
.pr-table tr{break-inside:avoid}
.pr-table .c-n{width:2.2rem;text-align:center;font-weight:700}
.pr-table .c-s{width:5.5rem}
.pr-table .c-v{font-family:var(--f-mono);font-size:.74rem;text-align:center;white-space:nowrap;direction:ltr}
.pr-blank td{height:1.85rem}
.pr-offers{font-size:.7rem}
.pr-offers th,.pr-offers td{padding:.2rem .25rem}
.pr-offers .c-g{text-align:center;width:2.9rem}
.pr-offers .c-off{background:#E9EEF5}
.pr-offers .c-dur{white-space:nowrap}
.pr-mine .c-cond{font-size:.72rem;width:9rem}
.pr-over td{background:#FEF3C7;font-weight:700;font-size:.74rem;text-align:center}
.t-ok{color:#15803D}.t-ko{color:#B91C1C}.t-na{color:#92400E}
.pr-cal .c-when{width:9rem;font-weight:700;white-space:nowrap}

/* Champs à remplir */
.pr-fill{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1.2rem;margin:.6rem 0 .9rem;font-size:.85rem}
.pr-fill span{display:flex;align-items:flex-end;gap:.5rem}
.pr-fill i{flex:1;border-bottom:1px dotted #475569;height:1.3rem}
.pr-fill-2{grid-template-columns:1fr;margin-top:1.1rem}
.pr-checks{list-style:none;margin:.2rem 0 .8rem;padding:0;font-size:.85rem}
.pr-checks li{display:flex;gap:.5rem;align-items:center;padding:.25rem 0}
.pr-box{width:.95rem;height:.95rem;border:1.2px solid #0F172A;border-radius:2px;flex:none}
.pr-who{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 1.2rem;margin:.4rem 0 .9rem;padding:.6rem .8rem;border:1px solid #CBD5E1;border-radius:8px;background:#F8FAFF;font-size:.84rem}
.pr-who div{display:flex;gap:.4rem}
.pr-who dt{color:#475569}
.pr-who dt::after{content:":"}
.pr-who dd{margin:0;font-weight:600}

/* Couverture du dossier */
.pr-cover{min-height:240mm;display:flex;flex-direction:column;gap:.9rem}
.pr-cover-vis{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;border-radius:10px;overflow:hidden}
.pr-cover-vis img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.pr-kicker{margin:.6rem 0 0;color:#1D4ED8;font-weight:700;font-size:.9rem}
.pr-title{font-family:var(--f-head);font-size:2.4rem;line-height:1.25;margin:0}
.pr-tag{font-family:var(--f-head);font-size:1.25rem;margin:0;color:#0F172A}
.pr-tag em{font-style:normal;color:#1D4ED8}
.pr-toc{margin:.4rem 0 0;padding-inline-start:1.4rem;font-size:1rem;line-height:2}
.pr-cover-note{margin-top:auto;padding:.7rem .9rem;border:1px solid #DCE6FB;background:#EEF4FF;border-radius:8px;font-size:.88rem}
.pr-contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.pr-contact{display:flex;flex-direction:column;gap:.15rem;border:1px solid #CBD5E1;border-radius:8px;padding:.6rem .75rem;font-size:.84rem;break-inside:avoid}
.pr-answers{font-size:.88rem;line-height:1.8;padding-inline-start:1.6rem}
.pr-answers li p{margin:0}
.px-n{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;border-radius:50%;background:#1D4ED8;color:#fff;font-size:.78rem;font-weight:700;margin-inline-end:.45rem}
.px-see{font-size:.78rem;color:#475569;margin:.3rem 0 0}

/* Contenus repris du site */
.pr .prose{font-size:.9rem;line-height:1.75}
.pr .prose .box{box-shadow:none;border-color:#CBD5E1;break-inside:avoid;background:#fff}
.pr .prose .grid2>.box,.pr .prose .grid3>.box{break-inside:avoid}
.pr .prose details>summary{list-style:none;cursor:default}
.pr .prose details>summary::-webkit-details-marker{display:none}
.pr .prose .acc{border:0;box-shadow:none;background:transparent;padding:0;margin:0 0 .6rem}
.pr .prose .acc>summary{padding:0;margin:.8rem 0 .4rem;border-bottom:1.5px solid #1D4ED8}
.pr .prose .acc>summary::after,.pr .prose .acc>summary::before{display:none}
.pr .prose .acc-t{font-family:var(--f-head);font-size:1.12rem}
.pr [data-widget="centers"],.pr .widget-centers,.pr .acc-tools{display:none!important}
.pr .prose figure img{box-shadow:none;max-width:min(100%,150mm)}
.pr .prose .fig-side{width:min(32%,48mm)}
.pr .note{break-inside:avoid}

@media print{
  html,body.pr{background:#fff!important;font-size:12.5px}
  .pr-bar,.toast,.totop,.lbox{display:none!important}
  .pr-doc{max-width:none;margin:0;padding:0;box-shadow:none;border-radius:0}
  .pr-wide{page:wide}
  .pr-doc.pr-wide{padding:0}
  .pr-cover{min-height:255mm}
  a{color:inherit;text-decoration:none}
  .pr .prose .ck::before{border-color:#0F172A}
}
.pr-offers td:nth-child(2){min-width:8.5rem}
.pr-offers td:nth-child(3),.pr-offers td:nth-child(4){min-width:4.6rem}

/* Dossier personnel */
.pr-n{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border-radius:.4rem;background:#1D4ED8;color:#fff;font-size:.9rem;margin-inline-end:.5rem;font-family:var(--f-body);vertical-align:.1em}
.pr-dhead{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #CBD5E1;padding-bottom:.8rem;margin-bottom:.4rem}
.pr-dhead-t{flex:1;min-width:0}
.pr-dhead .pr-title{font-size:2rem}
.pr-qr{margin:0;display:flex;gap:.6rem;align-items:center;break-inside:avoid}
.pr-qr .qr{flex:none;display:block;width:30mm;height:30mm}
.pr-qr .qr svg{width:100%;height:100%;display:block}
.pr-qr figcaption{display:flex;flex-direction:column;gap:.15rem;font-size:.74rem;line-height:1.45;max-width:46mm;color:#334155}
.pr-qr figcaption strong{font-size:.86rem;color:#0F172A}
.pr-qr-me{border:1.5px solid #1D4ED8;border-radius:10px;padding:.5rem .6rem;background:#F8FAFF}
.pr-qr-me .qr{width:34mm;height:34mm}
.pr-url{font-family:var(--f-mono);font-size:.68rem;color:#1D4ED8;word-break:break-all}
.pr-tps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.2rem 0 .7rem}
.pr-tp{border:1px solid #CBD5E1;border-radius:8px;padding:.45rem .6rem;display:flex;flex-direction:column;gap:.05rem;background:#fff}
.pr-tp span{font-size:.78rem;color:#475569;font-weight:600}
.pr-tp b{font-family:var(--f-mono);font-size:1.25rem;color:#1D4ED8;text-align:start}
.pr-tp small{font-size:.7rem;color:#64748B}
.pr-tp.is-empty b{color:#94A3B8}
.pr-notes th{text-align:center;font-size:.72rem}
.pr-notes td{text-align:center}
.pr-cond{margin:.2rem 0 .5rem;break-inside:avoid}
.pr-cond h3{font-size:.86rem;margin:.3rem 0 .25rem}
.pr-cond ul,.pr-tip ul,.pr-ck ul{list-style:none;margin:0;padding:0}
.pr-cond li{display:flex;gap:.45rem;font-size:.8rem;padding:.08rem 0}
.pr-cond li>span:first-child{width:1rem;font-weight:700;flex:none;text-align:center}
.pr-small{font-size:.74rem;color:#475569;margin:.35rem 0 0;line-height:1.55}
.pr-empty td{height:1.7rem}
.pr-row{display:flex;gap:1rem;align-items:flex-start}
.pr-row>div{flex:1;min-width:0}
.pr-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:.6rem 0}
.pr-ck{border:1px solid #CBD5E1;border-radius:8px;padding:.5rem .6rem;break-inside:avoid}
.pr-ck h3,.pr-tip h3{font-size:.86rem;margin:0 0 .35rem;color:#1D4ED8}
.pr-ck li{display:flex;gap:.4rem;align-items:flex-start;font-size:.76rem;line-height:1.45;padding:.12rem 0}
.pr-ck .pr-box{width:.8rem;height:.8rem;margin-top:.18rem}
.pr-centers td{font-size:.76rem}
.pr-tips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .9rem}
.pr-tip{break-inside:avoid}
.pr-tip li{font-size:.8rem;line-height:1.55;padding:.1rem 0;padding-inline-start:.9rem;position:relative}
.pr-tip li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:.38rem;height:.38rem;background:#1D4ED8;transform:rotate(45deg)}
.pr-qrs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.9rem 0 .3rem;padding:.6rem;border:1px dashed #94A3B8;border-radius:10px}
.pr-qrs .qr{width:24mm;height:24mm}
.pr-contacts .pr-url{margin-top:.15rem}
@media (max-width:700px){
  .pr-dhead,.pr-row{flex-direction:column}
  .pr-tps,.pr-cols,.pr-tips,.pr-qrs,.pr-contacts,.pr-who,.pr-fill{grid-template-columns:1fr}
}
.pr-closed td{color:#94A3B8;text-decoration:line-through;text-decoration-color:#CBD5E1}
.pr-closed td.c-cond,.pr-closed td.c-n{text-decoration:none}

/* 4.7 : données en attente de mise à jour ; métiers visés */
.pr-upd{margin:-.4rem 0 .8rem;padding:.35rem .6rem;border:1px solid #FCD34D;background:#FEF3C7;border-radius:6px;font-size:.75rem;line-height:1.5;color:#0F172A}
.pr-jobs{display:block;font-size:.72rem;color:#475569;margin-top:.15rem}
.pr-jobs b{color:#0F172A}
.pr-jobs .pr-nav{color:#1D4ED8;font-weight:600}

/* 5.4 · logo dans l'en-tête des documents */
.pr-logo{height:13mm;width:auto;display:block}
