/* Consentement visible a la premiere ouverture, independant de la profondeur de page. */
#cookie-consent{position:fixed;inset:auto auto 22px 22px;z-index:12000;display:block;width:min(478px,calc(100vw - 36px));max-height:min(580px,calc(100dvh - 28px));overflow-y:auto;padding:23px 24px 20px;margin:0;background:#fff;border:1px solid #c6e8e0;border-radius:20px;box-shadow:0 24px 80px rgba(7,36,55,.27),0 6px 18px rgba(7,36,55,.09);color:#173d54;font-family:Inter,'Segoe UI',system-ui,sans-serif;text-align:left;animation:cookieRise .3s ease both}
#cookie-consent[hidden]{display:none!important}
#cookie-consent .consent-heading{display:flex;align-items:center;gap:13px;margin-bottom:12px}
#cookie-consent .consent-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;flex:none;background:#e2f8f2;color:#0b9184;font-size:23px;font-weight:bold}
#cookie-consent h3{font-size:17px;line-height:1.25;letter-spacing:-.015em;color:#11364b;font-weight:800;margin:0 0 3px}
#cookie-consent .consent-kicker{display:block;color:#6f8b97;font-size:11px;line-height:1.4}
#cookie-consent p{font-size:12.5px;line-height:1.75;color:#527083;margin:0 0 16px}
#cookie-consent .consent-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#cookie-consent .cookie-btn{min-height:44px;min-width:126px;border:1px solid transparent;border-radius:11px;padding:11px 14px;font-weight:800;font-size:12.5px;line-height:1.2;cursor:pointer}
#cookie-consent .cookie-btn:focus-visible,#cookie-consent .cookie-more:focus-visible{outline:3px solid #178e8a;outline-offset:3px}
#cookie-consent .cookie-accept{color:#fff;background:#0b9286}
#cookie-consent .cookie-accept:hover{background:#08796f}
#cookie-consent .cookie-decline{color:#214458;background:#f4f8fa;border-color:#d3e4e9}
#cookie-consent .cookie-decline:hover{background:#e8f2f5}
#cookie-consent .cookie-more{color:#0b786e;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin:3px 0 3px 7px}
@keyframes cookieRise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){#cookie-consent{inset:auto 12px 12px 12px;width:calc(100vw - 24px);padding:18px 17px 17px;max-height:calc(100dvh - 24px);border-radius:17px}#cookie-consent .consent-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}#cookie-consent .cookie-btn{min-width:0}#cookie-consent .cookie-more{grid-column:1/-1;text-align:center;margin:5px 0 0}body.cookie-prompt-open .mobile-download{display:none!important}}
@media(prefers-reduced-motion:reduce){#cookie-consent{animation:none}}

/* Palette et pictogrammes communs des commandes EasyMedicaLink. */
:root {
 --eml-action:#174fb8;
 --eml-action-hover:#123e91;
 --eml-ink:#17324e;
 --eml-pale:#edf5ff;
 --eml-teal:#086355;
 --eml-teal-hover:#084c42;
 --eml-edge:#a9c8e8;
 --eml-icon-arrow:url("../assets/fontawesome-free/solid-arrow-right.svg");
 --eml-icon-download:url("../assets/fontawesome-free/solid-download.svg");
 --eml-icon-play:url("../assets/fontawesome-free/solid-play.svg");
 --eml-icon-guide:url("../assets/fontawesome-free/solid-book-open.svg");
 --eml-icon-chat:url("../assets/fontawesome-free/brands-whatsapp.svg");
 --eml-icon-tune:url("../assets/fontawesome-free/solid-sliders.svg");
 --eml-icon-search:url("../assets/fontawesome-free/solid-magnifying-glass-plus.svg");
 --eml-icon-check:url("../assets/fontawesome-free/solid-check.svg");
 --eml-icon-close:url("../assets/fontawesome-free/solid-xmark.svg");
 --eml-icon-document:url("../assets/fontawesome-free/solid-file-lines.svg");
}
html body :is(.btn,.btn-generate,.floating) {
 gap:.5rem;border-radius:.7rem;line-height:1.25;
 transition:background-color .17s,color .17s,border-color .17s;
}
html body :is(a,button):is(.primary,.btn-primary,.btn-dark,.btn-generate).btn,
html body .btn-generate {
 background:var(--eml-action);border-color:var(--eml-action);color:#fff;
}
html body :is(a,button):is(.primary,.btn-primary,.btn-dark,.btn-generate).btn:hover,
html body .btn-generate:hover {
 background:var(--eml-action-hover);border-color:var(--eml-action-hover);color:#fff;
}
html body :is(a,button).btn:is(.secondary,.btn-outline) {
 background:var(--eml-pale);border:1px solid var(--eml-edge);color:var(--eml-ink);
}
html body :is(a,button).btn:is(.secondary,.btn-outline):hover {background:#dcecff;color:#123760}
html body :is(.floating,.btn[data-whatsapp]) {
 background:var(--eml-teal);border-color:var(--eml-teal);color:#fff;
}
html body :is(.floating,.btn[data-whatsapp]):hover {
 background:var(--eml-teal-hover);border-color:var(--eml-teal-hover);color:#fff;
}
html body :is(.menu,.menu-toggle,.selector-arrow,.rail-controls button,.dialogbar button,button[data-gallery-tab],button[data-v10-filter]) {
 background:var(--eml-pale);border:1px solid var(--eml-edge);color:var(--eml-ink);
}
html body :is(button[data-gallery-tab],button[data-v10-filter],.module-tab,.theme-option)[aria-pressed="true"] {
 border-color:#2465ad;box-shadow:inset 0 0 0 1px #2465ad;
}
html body :is(.menu,.menu-toggle,.selector-arrow,.rail-controls button,.dialogbar button):disabled {
 color:#536b83;background:#eff3f8;opacity:.66;cursor:not-allowed;
}
html body :is(.btn,.floating,.btn-generate,.selector-arrow,.menu,.menu-toggle,.textbutton,.rail-controls button,.dialogbar button):focus-visible {
 outline:2px solid #176cbe;outline-offset:3px;
}
/* Les contrôles déjà illustrés (menus, flèches, miniatures et modules) gardent leurs icônes existantes. */
:is(a,button):is(.btn,.btn-generate,.floating,.videocta) {--eml-button-icon:var(--eml-icon-arrow)}
[data-download],a.btn[href="#telecharger"],a.btn[href$="index.html#telecharger"],a.btn[href*="/releases/download/"] {--eml-button-icon:var(--eml-icon-download)}
a.btn[href="#video"],a.btn[href$="videos.html"],button[data-video-play] {--eml-button-icon:var(--eml-icon-play)}
a.btn:is([href^="guide.html"],[href^="article.html"]) {--eml-button-icon:var(--eml-icon-guide)}
:is(.floating,.btn[data-whatsapp],.videocta[data-whatsapp]) {--eml-button-icon:var(--eml-icon-chat)}
:is(.textbutton,.footer-cookie-choice,.studio-cookie-settings)[data-cookie-settings] {--eml-button-icon:var(--eml-icon-tune)}
a.btn[href^="generateur.html"],.btn-generate {--eml-button-icon:var(--eml-icon-document)}
a.btn[href^="galerie.html"],button[data-zoom] {--eml-button-icon:var(--eml-icon-search)}
#cookie-consent .cookie-accept {--eml-button-icon:var(--eml-icon-check)}
#cookie-consent .cookie-decline {--eml-button-icon:var(--eml-icon-close)}
@supports ((mask-image:url("")) or (-webkit-mask-image:url(""))) {
 :is(a,button):is(.btn,.btn-generate,.floating,.videocta,button[data-video-play],button[data-zoom],[data-cookie-settings],.cookie-btn):not(:has(svg,i,img,[role="img"]))::before {
  content:"";display:inline-block;width:1em;height:1em;flex:0 0 1em;
  margin-inline-end:.42em;vertical-align:-.135em;background:currentColor;
  -webkit-mask:var(--eml-button-icon,var(--eml-icon-tune)) center / contain no-repeat;
  mask:var(--eml-button-icon,var(--eml-icon-tune)) center / contain no-repeat;
 }
}
@media(max-width:480px) {
 html body :is(.btn,.btn-generate) {white-space:normal;max-width:100%;min-height:44px}
}
@media(prefers-reduced-motion:reduce) {html body :is(.btn,.btn-generate,.floating){transition:none}}
