/* Checklist fiscale : complément à l’identité visuelle du site. */
.checklist-page [hidden] { display:none !important; }
.checklist-hero { padding:64px 0 46px; border-bottom:1px solid var(--line); }
.checklist-hero-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr); gap:64px; align-items:center; }
.checklist-hero h1 { font:400 clamp(42px,5.5vw,72px)/1.05 var(--serif); margin:18px 0 24px; max-width:15ch; }
.checklist-hero h1 em { color:var(--slate); }
.checklist-hero .lead { max-width:55ch; }
.checklist-meta { margin-top:20px; color:var(--muted); font-size:14px; }
.checklist-pdf { padding:30px; background:var(--accent); border-radius:var(--radius); }
.checklist-pdf h2 { font:400 30px/1.15 var(--serif); margin:12px 0; }
.checklist-pdf p { margin-bottom:22px; }
.checklist-pdf .eyebrow { color:var(--slate-deep); font-size:14px; letter-spacing:.08em; }
.checklist-body { padding:48px 0 80px; }
.checklist-width { max-width:940px; }
.checklist-welcome { padding:36px; border:1px solid var(--line); background:var(--white); border-radius:var(--radius); }
.checklist-welcome h2,.checklist-stage h2,#result-title { font:400 clamp(30px,4vw,44px)/1.15 var(--serif); margin-bottom:18px; }
.checklist-welcome p { max-width:66ch; margin-bottom:20px; }
.checklist-help,.checklist-meta,.checklist-mail-help { font-size:14px; color:var(--muted); }
.checklist-progress { font-size:14px; color:var(--slate-deep); font-weight:700; }
.checklist-stage progress { width:100%; height:6px; border:0; border-radius:9px; margin:10px 0 28px; accent-color:var(--slate); }
.checklist-stage progress::-webkit-progress-bar { background:var(--line); border-radius:9px; }
.checklist-stage progress::-webkit-progress-value { background:var(--slate); border-radius:9px; }
.checklist-intro { color:var(--muted); margin-bottom:32px; max-width:70ch; }
.checklist-stage fieldset { border:0; padding:0; margin:0 0 32px; min-width:0; }
.checklist-stage legend { font-size:18px; font-weight:700; margin-bottom:12px; }
.checklist-stage .checklist-help { margin:-4px 0 12px; }
.checklist-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.checklist-choice { display:flex; align-items:center; gap:12px; background:white; padding:16px 18px; border:1.5px solid var(--line); border-radius:var(--radius-sm); cursor:pointer; min-height:60px; font-size:16px; line-height:1.45; }
.checklist-choice:hover { border-color:var(--slate); }
.checklist-choice:has(input:checked) { background:#e8f4f2; border-color:var(--slate-deep); }
.checklist-choice input,.checklist-consent input { width:20px; height:20px; margin:0; flex:0 0 20px; accent-color:var(--slate-deep); }
.checklist-page select { border:1px solid #87979b; border-radius:10px; padding:12px 40px 12px 14px; color:var(--ink); background-color:white; font:inherit; min-height:48px; max-width:100%; }
.checklist-stage select { min-width:220px; }
.checklist-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:24px; }
.checklist-actions .btn { line-height:1.35; padding-top:12px; padding-bottom:12px; }
.checklist-validation { color:#9f2836; font-weight:600; }
.checklist-result-head { display:flex; justify-content:space-between; align-items:start; gap:20px; margin-bottom:26px; }
.checklist-result-head p { color:var(--slate-deep); font-weight:600; }
.checklist-text-button { background:transparent; border:0; text-decoration:underline; text-underline-offset:4px; color:var(--slate-deep); font:600 15px/1.5 var(--sans); padding:8px 0; cursor:pointer; }
.checklist-answer-details { margin-bottom:30px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.checklist-answer-details summary { cursor:pointer; font-weight:700; }
.checklist-answer-details ul { margin:18px 0 0; padding-left:22px; font-size:15px; }
.checklist-answer-details li { margin-bottom:8px; }
.checklist-document-group { margin:32px 0; }
.checklist-document-group h3 { font:400 28px/1.25 var(--serif); margin-bottom:12px; }
.checklist-document { display:grid; grid-template-columns:minmax(0,1fr) 152px; align-items:center; gap:24px; padding:16px 0; border-bottom:1px solid var(--line); }
.checklist-document label { font-size:16px; line-height:1.55; }
.checklist-document select { font-size:15px; width:100%; }
.checklist-notes { font-size:14px; color:var(--muted); padding-top:8px; }
.checklist-notes p { margin:14px 0; }
.checklist-request-box { border-top:1px solid var(--line); margin-top:36px; padding-top:30px; }
.checklist-request-box h3 { font:400 32px/1.2 var(--serif); margin-bottom:16px; }
.checklist-request-box p { margin-bottom:14px; }
.checklist-consent { display:flex; align-items:flex-start; gap:12px; font-size:16px; padding:16px 0; cursor:pointer; }
.checklist-consent input { margin-top:3px; }
.checklist-page #checklist-feedback:empty { display:none; }
.checklist-page #checklist-feedback { margin-top:20px; color:var(--slate-deep); }
.checklist-page #checklist-contact { border-top:1px solid var(--line); padding:50px 0 80px; }
.checklist-page .contact-shell { gap:38px; }
.checklist-page .contact-aside .title { font-size:46px; }
.checklist-page .contact-form textarea { min-height:300px; font-size:15px; }
.checklist-email-fallback { border-top:1px solid var(--line); margin-top:12px; padding-top:20px; }
.checklist-email-fallback summary { cursor:pointer; font-size:16px; font-weight:600; }
.checklist-email-fallback p { margin:12px 0; }
.checklist-page .eyebrow { font-size:14px; }
.checklist-page .mobile-bar { display:none; }
.checklist-teaser { margin:32px 0 0; border:1px solid var(--line); border-radius:var(--radius); padding:28px; display:flex; align-items:center; justify-content:space-between; gap:28px; background:#e8f4f2; }
.checklist-teaser h3 { font:400 30px/1.2 var(--serif); margin-bottom:10px; }
.checklist-teaser p { max-width:58ch; color:var(--muted); }
.checklist-teaser-links { display:flex; flex-direction:column; gap:14px; align-items:center; flex-shrink:0; }
.checklist-teaser-links>a:not(.btn) { font-size:14px; text-underline-offset:4px; }
@media(max-width:760px) {
 .checklist-hero { padding:36px 0; }
 .checklist-hero-grid { grid-template-columns:1fr; gap:28px; }
 .checklist-hero h1 { max-width:18ch; }
 .checklist-pdf { padding:24px; }
 .checklist-welcome { padding:24px; }
 .checklist-choices { grid-template-columns:1fr; }
 .checklist-result-head { flex-direction:column; gap:6px; }
 .checklist-document { grid-template-columns:1fr; gap:12px; }
 .checklist-document select { width:160px; }
 .checklist-teaser { flex-direction:column; align-items:stretch; }
 .checklist-teaser-links { align-items:stretch; text-align:center; }
}
@media print {
 @page { size:A4; margin:17mm; }
 body.checklist-page { background:white; color:black; font:10pt/1.4 Arial,sans-serif; }
 .checklist-page .header,.checklist-page .footer,.checklist-page .checklist-hero,.checklist-page .notice,.checklist-page .floating-tools,.checklist-page .mobile-bar,.checklist-page .contact-choice-modal,.checklist-page .local-preview-notice,.checklist-page #checklist-welcome,.checklist-page #checklist-stage,.checklist-page #checklist-contact,.checklist-page .checklist-actions,.checklist-page .checklist-request-box,.checklist-page #edit-answers,.checklist-page #checklist-feedback { display:none !important; }
 .checklist-page .wrap { padding:0; max-width:none; }
 .checklist-page .checklist-body { padding:0; }
 .checklist-page .checklist-document-group h3 { font:700 13pt Arial,sans-serif; break-after:avoid; }
 .checklist-page #result-title { font:700 20pt Arial,sans-serif; }
 .checklist-page .checklist-document { display:flex; gap:12px; break-inside:avoid; padding:8px 0; }
 .checklist-page .checklist-document label { font:10pt/1.4 Arial,sans-serif; flex:1; }
 .checklist-page .checklist-document select { display:none; }
 .checklist-page .checklist-document::before { content:'[' attr(data-print-status) ']'; width:62px; flex-shrink:0; }
 .checklist-page .checklist-answer-details { display:none; }
 .checklist-page .checklist-notes { font:9pt/1.4 Arial,sans-serif; color:black; }
}
.checklist-page select { appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23124b58' stroke-width='2'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; }
.checklist-page :focus-visible { outline:3px solid var(--slate-deep); outline-offset:3px; }

.checklist-teaser-links .btn{width:100%;}

/* Accès PDF par e-mail, parcours interactif et orientation entre les deux listes. */
.checklist-entry-actions{display:grid;justify-items:start;gap:12px;margin-top:26px;}
.checklist-entry-actions .btn,.checklist-pdf .checklist-email-button,.checklist-route-card .btn{max-width:100%;min-height:52px;height:auto;padding:15px 22px;white-space:normal;text-align:center;line-height:1.45;overflow-wrap:anywhere;}
.checklist-pdf .checklist-email-button{width:100%;}
.checklist-pdf #pdf-email-info{margin:18px 0;line-height:1.6;}
.checklist-direct-download{display:inline-block;font-size:15px;font-weight:600;color:var(--slate-deep);text-underline-offset:4px;}
.checklist-route-card{display:grid;gap:20px;justify-items:start;padding:28px;margin-bottom:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);}
.checklist-route-card h2{font:400 30px/1.2 var(--serif);max-width:36ch;}
.checklist-route-card .btn{border-color:var(--slate-deep);color:var(--slate-deep);background:#e8f4f2;}
.checklist-route-card .btn:hover{background:var(--accent);}
@media(max-width:760px){.checklist-route-card{padding:24px;}.checklist-route-card h2{font-size:27px;}.checklist-entry-actions{justify-items:stretch;}.checklist-entry-actions .btn,.checklist-route-card .btn{width:100%;}}
@media print{.checklist-page .checklist-route-card{display:none!important;}}

html:not(.js) .checklist-entry-actions{display:none;}

/* Accès direct au questionnaire des personnes physiques. */
.checklist-interactive-page .checklist-hero{padding:32px 0;}
.checklist-interactive-page .checklist-hero h1{font-size:clamp(36px,4.5vw,56px);max-width:none;margin:16px 0;}
.checklist-interactive-page .checklist-body{padding-top:30px;}
.checklist-interactive-page .checklist-route-card{margin:36px 0 0;}
.checklist-landing-page .checklist-route-card{margin-bottom:24px;}
html:not(.js) .checklist-landing-page .checklist-entry-actions{display:grid;}

/* Réserver le questionnaire avant son initialisation pour éviter les sauts visuels. */
.js .checklist-interactive-page #checklist-app[hidden]{display:block!important;min-height:1000px;visibility:hidden}

/* Contraste des petites mentions sur le fond bleu clair. */
.checklist-pdf .checklist-meta,.checklist-pdf .checklist-help{color:var(--slate-deep)}
