.adage-partage[hidden],.adage-partage-voile[hidden]{display:none!important}
.adage-partage-voile{position:fixed;inset:0;background:rgba(27,29,34,.5);z-index:999}
.adage-partage{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--lec-filet-fort);border-radius:6px;padding:1.5rem;color:var(--lec-encre);background:#fffdf8;box-shadow:0 18px 70px rgba(27,29,34,.25);font-family:Inter,ui-sans-serif,system-ui,sans-serif;z-index:1000}
.adage-partage::backdrop{background:rgba(27,29,34,.5)}
body.adage-partage-visible{overflow:hidden}
.adage-partage-fermer{display:flex;align-items:center;gap:.5rem;margin:0 0 .5rem auto;padding:.5rem .7rem;min-height:40px;border:1px solid var(--lec-filet-fort);border-radius:999px;background:transparent;color:var(--lec-gris);font:500 .8rem/1.3 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.adage-partage-fermer span{font-size:1.2rem;line-height:1}
.adage-partage-sur{margin:0 0 .5rem;color:var(--lec-bordeaux);font-size:.65rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
.adage-partage h2{margin:0;font:500 1.8rem/1.2 var(--lec-serif);letter-spacing:-.02em}
#adage-partage-adage{margin:.8rem 0 1.2rem;font:400 1.1rem/1.5 var(--lec-serif);color:var(--lec-gris)}
.adage-partage-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:1.4rem}
.adage-partage-actions a,.adage-partage-actions button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;padding:.65rem .7rem;border:1px solid var(--lec-filet-fort);border-radius:6px;background:#f3f2eb;color:var(--lec-encre);text-decoration:none;font:600 .85rem/1.3 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;text-align:center}
.adage-partage-actions .adage-partage-copier{background:var(--lec-bordeaux);color:#fffdf8;border-color:var(--lec-bordeaux)}
.adage-partage-actions [hidden]{display:none!important}
.adage-partage-actions :disabled{opacity:.65;cursor:wait}
.adage-partage-label{display:block;margin:0 0 .4rem;font-size:.75rem;color:var(--lec-gris)}
#adage-partage-lien{box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--lec-filet-fort);border-radius:8px;padding:.6rem .7rem;color:var(--lec-encre);background:#f3f2eb;font:400 16px/1.4 Inter,ui-sans-serif,system-ui,sans-serif}
.adage-partage-statut{margin:.65rem 0 0;min-height:1.4em;font-size:.78rem;line-height:1.4;color:var(--lec-bordeaux)}
.adage-partage :focus-visible,.adage-partager:focus-visible{outline:3px solid var(--lec-bordeaux);outline-offset:3px}
@media(max-width:400px){.adage-partage{width:calc(100% - 20px);padding:1.1rem}.adage-partage h2{font-size:1.6rem}.adage-partager{min-height:42px}}
@media print{body.adage-partage-visible{overflow:visible!important}.adage-partage,.adage-partage-voile,.adage-partager{display:none!important}}
.adage-partage-pied{display:flex;justify-content:flex-end;padding-top:14px;margin-top:auto;border-top:1px solid #d8d8cd}
.adage-partager{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #9ca39a;border-radius:5px;background:transparent;color:#793e37;font:600 .82rem/1.3 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.adage-partager:hover{color:#fffdf8;background:#793e37;border-color:#793e37}
.adage-partage-actions a:hover,.adage-partage-actions button:hover:not(:disabled){border-color:#793e37;box-shadow:inset 0 0 0 1px #793e37}
.adage-partage-traduction{margin:-.6rem 0 1.2rem;font-size:.9rem;line-height:1.6;color:#626861}
.adage-partage-traduction[hidden]{display:none!important}
#adage-partage-adage{overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:700px){.adage-partage{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:20px}.adage-partage-actions{gap:8px}.adage-partage-actions a,.adage-partage-actions button{min-height:44px}.adage-partage-fermer{min-height:44px}}
@media print{.adage-partage-pied{display:none!important}}
.adage-partage-actions .adage-partage-citation{border-color:#793e37;color:#793e37;background:#fffdf8}
.adage-partage-actions .adage-partage-natif{grid-column:1/-1}
.adage-partage-secours{margin-top:16px}
.adage-partage-secours[hidden]{display:none!important}
#adage-partage-citation-texte{box-sizing:border-box;width:100%;min-height:130px;max-height:320px;padding:12px;border:1px solid #9ca39a;border-radius:6px;color:#222d30;background:#f3f2eb;font:400 16px/1.6 Inter,ui-sans-serif,system-ui,sans-serif;resize:vertical}
.adages-edition .adages-langue-section .adages-index-partageable{display:flex;align-items:flex-start;gap:12px}
.adages-edition .adages-index-partageable[hidden]{display:none!important}
.adages-index-partageable>.adages-index-lien{flex:1;min-width:0}
.adage-partager.adage-partager-index{flex:none;gap:6px;padding:10px 8px;min-height:44px;margin:3px 0;border-color:transparent;font-size:.73rem}
.adage-partager-index:hover{border-color:#793e37}
@media(max-width:700px){
 .adages-edition .adages-langue-section .adages-index-partageable{gap:6px}
 .adage-partager.adage-partager-index{width:44px;min-width:44px;padding:10px;border-color:#d8d8cd}
 .adage-partager-index>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
@media print{.adages-edition .adages-langue-section .adages-index-partageable{display:list-item}.adages-edition .adage-partager-index{display:none!important}}

