/* FAQ : carnet des publications hebdomadaires, en miroir du bouton e-mail. */
#faq-weekly-launch[hidden],#faq-weekly-popover[hidden],#faq-weekly-popover [hidden]{display:none!important}
#faq-landing .faq-landing-header{z-index:22!important}
#faq-weekly-launch{
 position:absolute;top:0;left:2px;z-index:22;
 font:700 12px/1.3 Montserrat,Arial,sans-serif;letter-spacing:.02em;
 color:#fff;border:1px solid #ffc678;border-radius:999px;padding:10px 15px;cursor:pointer;
 background:linear-gradient(135deg,#9c4a31,#b35d8e 55%,#612994);
 box-shadow:0 4px 16px #02071a96,inset 0 1px 0 #ffffff66,0 0 13px #ffbc7155;
 transition:filter .15s,transform .15s;
}
#faq-weekly-launch:hover{filter:brightness(1.13);transform:translateY(-1px)}
#faq-weekly-launch:focus-visible,#faq-weekly-popover button:focus-visible{outline:2px solid #ffe18d;outline-offset:2px}
#faq-weekly-popover{box-sizing:border-box;position:absolute;top:calc(100% + 6px);left:0;z-index:40;
 width:min(464px,calc(100vw - 28px));max-height:min(65vh,545px);overflow-y:auto;
 color:#eef9ff;text-align:left;border:2px solid #e8adff;border-radius:17px;
 background:linear-gradient(155deg,#1d2557,#24275b 57%,#3c234f);
 box-shadow:0 22px 50px #010416df,0 0 20px #c46dff88;padding:14px;
 scrollbar-width:thin;
}
#faq-weekly-popover *{box-sizing:border-box}
#faq-weekly-popover button{cursor:pointer;font-family:inherit}
#faq-weekly-popover .faq-weekly-head{display:flex;align-items:center;justify-content:space-between;gap:10px;
 font-size:17px;color:#ffe4a8;margin-bottom:12px}
#faq-weekly-popover .faq-weekly-close{border:1px solid #ffffff69;background:#ffffff25;color:#fff;border-radius:9px;padding:5px 9px}
#faq-weekly-popover .faq-weekly-switch{display:flex;gap:7px;margin-bottom:9px}
#faq-weekly-popover .faq-weekly-tab{flex:1;background:#263f77;color:#d9ecff;border:1px solid #7396c7;border-radius:10px;
 font-size:13px;font-weight:800;padding:9px 10px}
#faq-weekly-popover .faq-weekly-tab.is-active{background:linear-gradient(125deg,#aa5081,#7a4caa);border-color:#ffbfde;color:#fff}
#faq-weekly-popover .faq-weekly-picker{width:100%;margin:1px 0 9px;padding:9px;color:#fff;
 background:#242b60;border:1px solid #94b5f8;border-radius:10px}
#faq-weekly-popover .faq-weekly-period{font-weight:800;font-size:12px;color:#d4f1ff;padding:0 1px 9px}
#faq-weekly-popover .faq-weekly-list{display:flex;flex-direction:column;gap:8px;max-height:285px;overflow-y:auto;padding-right:2px}
#faq-weekly-popover .faq-weekly-item{width:100%;text-align:left;background:linear-gradient(120deg,#193a64,#312c66);
 color:#fff;border:1px solid #7295db;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:5px}
#faq-weekly-popover .faq-weekly-item:hover{background:linear-gradient(120deg,#25558b,#50347e);border-color:#c8ecff}
#faq-weekly-popover .faq-weekly-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px;
 color:#f6cbff;font-size:11px}
#faq-weekly-popover .faq-weekly-item-top time{color:#d4e4ff;white-space:nowrap}
#faq-weekly-popover .faq-weekly-item-title{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#faq-weekly-popover .faq-weekly-item-who{font-size:11px;line-height:1.4;color:#afeede;overflow-wrap:anywhere}
#faq-weekly-popover .faq-weekly-empty{font-size:13px;color:#d5e1f3;padding:14px 5px;text-align:center;margin:0}
#faq-weekly-popover .faq-weekly-pages{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 0 0;
 font-size:12px}
#faq-weekly-popover .faq-weekly-page{border-radius:8px;border:1px solid #9eb4eb;background:#315078;color:#fff;padding:6px 9px;font-size:11px}
#faq-weekly-popover .faq-weekly-page:disabled{opacity:.35;cursor:default}
#faq-weekly-popover .faq-weekly-foot{display:block;color:#b9c9e6;font-size:11px;padding-top:10px;line-height:1.4}
@media(max-width:980px){#faq-weekly-launch{font-size:11px;padding:7px 9px;top:0;left:0}}
@media(max-width:600px){
 #faq-weekly-launch{font-size:10px;padding:5px 7px;top:-1px;left:-2px}
 /* Mobile : les deux actions restent sur la première ligne, le titre
    passe juste dessous pour ne jamais être caché sous un bouton. */
 #faq-landing .faq-landing-header h2{padding:33px 0 0!important;box-sizing:border-box}
 #faq-weekly-popover{top:calc(100% + 3px);padding:11px;max-height:min(68vh,500px)}
 #faq-weekly-popover .faq-weekly-head{font-size:14px}
}
