/* Riviera 169.186 — seule section APRÈS l'en-tête et le bandeau, calquée sur la maquette validée. */
body.rep-live-news .rep186-root{max-width:1120px;margin:20px auto 30px;color:#0b3147;font:400 13px/1.45 system-ui,-apple-system,'Segoe UI',sans-serif}
body.rep-live-news .rep186-root *{box-sizing:border-box}
body.rep-live-news .rep186-root button{font-family:inherit;cursor:pointer}
body.rep-live-news .rep186-root :is(button,input):focus-visible{outline:3px solid #f9a344;outline-offset:3px}
body.rep-live-news .rep186-pref,body.rep-live-news .rep186-social{background:#fff;border:1px solid #d9e4e9;border-radius:15px;box-shadow:0 8px 21px rgba(10,45,63,.07)}
body.rep-live-news .rep186-pref{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:20px;padding:19px 18px 18px 22px}
body.rep-live-news .rep186-pref-main{min-width:0}
body.rep-live-news .rep186-root h2{font:700 clamp(23px,2.2vw,28px)/1.18 Georgia,'Times New Roman',serif;color:#102d42;margin:0 0 15px}
body.rep-live-news .rep186-line{display:grid;grid-template-columns:206px minmax(0,1fr);gap:11px;align-items:center;background:linear-gradient(90deg,#f6f8fa,#fbfcfd);border:1px solid #edf1f4;border-radius:12px;padding:10px 11px;margin:9px 0;min-height:52px}
body.rep-live-news .rep186-line-label{font:750 12px/1.3 system-ui,sans-serif;display:flex;align-items:center;gap:11px;white-space:normal}
body.rep-live-news .rep186-icon{display:inline-grid;place-items:center;flex:0 0 29px;width:29px;height:29px;background:#fff0df;color:#bf711b;border-radius:8px;font-size:19px}
body.rep-live-news .rep186-line-content{min-width:0;display:flex;flex-direction:column;gap:7px}
body.rep-live-news .rep186-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.rep-live-news .rep186-pill{display:inline-flex;justify-content:center;align-items:center;white-space:normal;text-align:center;gap:3px;border:1px solid #cdd8de;background:#fff;color:#1d394a;border-radius:99px;padding:7px 12px;font-size:11px;font-weight:650;min-height:30px;line-height:1.3;box-shadow:0 1px 3px #102c4010;transition:background .15s,border-color .15s}
body.rep-live-news .rep186-family{font-size:12px;min-width:100px}
body.rep-live-news .rep186-kind{font-size:10px;padding:6px 10px;min-height:29px}
body.rep-live-news .rep186-pill.is-active{background:#0c526b;color:#fff;border-color:#ec8f24;box-shadow:0 2px 6px #0b435233}
body.rep-live-news .rep186-pill[data-rep186-topic-family].is-active{background:#fff;color:#123c50;border-color:#8fc1d2}
body.rep-live-news .rep186-pill[data-rep186-topic-family].is-active::first-letter{color:#ec8b25}
body.rep-live-news .rep186-open-detail{background:#f7f9fa!important;color:#0b394e!important}
body.rep-live-news .rep186-muted{display:block;font-size:10px;line-height:1.35;color:#617784;font-style:italic;margin-top:1px}
body.rep-live-news .rep186-toggle{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600;margin:0 0 3px;cursor:pointer}
body.rep-live-news .rep186-toggle>input{position:absolute;opacity:0;width:1px;height:1px}
body.rep-live-news .rep186-switch{display:block;width:37px;height:22px;border-radius:20px;background:#a6b8bf;position:relative;transition:background .15s;flex:none}
body.rep-live-news .rep186-switch:after{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #26465255;transition:transform .15s}
body.rep-live-news .rep186-toggle input:checked+.rep186-switch{background:#09627c}
body.rep-live-news .rep186-toggle input:checked+.rep186-switch:after{transform:translateX(15px)}
body.rep-live-news .rep186-aside{border-left:1px solid #e5e9ed;padding:8px 0 0 17px;min-width:0}
body.rep-live-news .rep186-aside-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;margin-bottom:11px}
body.rep-live-news .rep186-aside h3{margin:0;color:#163649;font:750 15px/1.25 Georgia,'Times New Roman',serif}
body.rep-live-news .rep186-count{display:inline-flex;border-radius:20px;background:#fff0db;color:#c16c12;font-weight:750;font-size:10px;padding:6px 10px}
body.rep-live-news .rep186-aside-checks{border:1px solid #f0dfca;border-radius:10px;background:#fffaf4;padding:6px 12px;max-height:215px;overflow:auto}
body.rep-live-news .rep186-favorite{display:flex;align-items:flex-start;gap:7px;padding:7px 0;font-size:11px;border-bottom:1px solid #efebe6;cursor:pointer}
body.rep-live-news .rep186-favorite:last-child{border-bottom:0}
body.rep-live-news .rep186-favorite input{accent-color:#0a5c73;flex:none;margin:2px 0 0;width:15px;height:15px}
body.rep-live-news .rep186-aside-button{border:1px solid #d8a35c;background:#fff;border-radius:9px;width:100%;margin-top:10px;padding:9px 8px;color:#0e4c67;font-weight:750;font-size:11px}
body.rep-live-news .rep186-aside-button:hover{background:#fff2df}
body.rep-live-news .rep186-social{padding:19px 20px 16px;margin-top:20px}
body.rep-live-news .rep186-social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.rep-live-news .rep186-network{display:flex;flex-direction:column;gap:8px;min-height:146px;border:1px solid #dae4e9;background:linear-gradient(120deg,#fff,#fcfdff);border-radius:12px;padding:14px 14px 13px;min-width:0}
body.rep-live-news .rep186-brand{display:flex;align-items:center;gap:9px}
body.rep-live-news .rep186-brand h3{font:750 18px/1.2 Georgia,'Times New Roman',serif;margin:0;color:#10394d}
body.rep-live-news .rep186-brand-icon{font:800 23px/1 system-ui,sans-serif;display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;border-radius:9px;background:#1877f2;color:#fff}
body.rep-live-news .rep186-network-instagram .rep186-brand-icon,body.rep-live-news .rep186-social-modal[data-rep186-modal="social-instagram"] .rep186-brand-icon{background:linear-gradient(135deg,#7024c9,#e73969,#ff9517)}
body.rep-live-news .rep186-network-linkedin .rep186-brand-icon,body.rep-live-news .rep186-social-modal[data-rep186-modal="social-linkedin"] .rep186-brand-icon{background:#0875ae;font-size:19px}
body.rep-live-news .rep186-network-telegram .rep186-brand-icon,body.rep-live-news .rep186-social-modal[data-rep186-modal="social-telegram"] .rep186-brand-icon{background:#25a8e0}
body.rep-live-news .rep186-network-subtitle{font-size:11px;color:#697d86;margin:5px 0 0;flex:1}
body.rep-live-news .rep186-network-state{font-size:11px;font-weight:700;color:#906421}
body.rep-live-news .rep186-success{color:#157452}
body.rep-live-news .rep186-account{overflow-wrap:anywhere;font-size:10px;color:#576d7a;margin:0}
body.rep-live-news .rep186-btn{width:100%;display:inline-block;border:1px solid #0c4961;background:linear-gradient(120deg,#145976,#07425a);color:#fff;border-radius:8px;padding:9px 12px;font-weight:750;font-size:12px;text-align:center;line-height:1.4}
body.rep-live-news .rep186-btn:hover{background:#12394f}
body.rep-live-news .rep186-network>.rep186-btn{margin-top:auto}
body.rep-live-news .rep186-btn-outline{background:#fff;border-color:#bed0d7;color:#274454;font-size:11px}
body.rep-live-news .rep186-btn-outline:hover{background:#eef5f7}
body.rep-live-news .rep186-disconnect{margin-top:4px}
body.rep-live-news .rep186-add-account{font-size:10px;background:#fff;border-color:#bdcfd6;color:#154b64}
body.rep-live-news .rep186-social-footnote{font-size:10px;color:#70838b;margin:10px 0 0}
body.rep-live-news .rep186-connect-notice,.rep-live-news .rep186-choice{border:1px solid #e7ceb1;border-radius:10px;padding:10px;margin:9px 0 13px;background:#fff8ee;color:#755329;font-size:12px}
body.rep-live-news .rep186-choice-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
body.rep-live-news .rep186-account-manage{margin:9px 0 0;color:#476575;font-size:11px}
body.rep-live-news .rep186-account-manage summary{cursor:pointer}
body.rep-live-news .rep186-account-manage form{display:inline-block;margin:8px 8px 0 0}
body.rep-live-news .rep186-account-manage .rep186-btn{min-width:100px}
body.rep-live-news .rep186-save-row{display:flex;flex-direction:column;align-items:center;gap:8px;margin:16px 0 0}
body.rep-live-news .rep186-save{border:0;border-radius:99px;min-width:min(100%,370px);background:linear-gradient(135deg,#126582,#023a4d);color:white;padding:13px 22px;font-size:14px;font-weight:750;box-shadow:0 5px 15px #072f4340}
body.rep-live-news .rep186-save-status{font-size:11px;color:#1a745a;text-align:center;max-width:650px}
body.rep-live-news .rep186-modal[hidden],body.rep-live-news .rep186-event-option[hidden],body.rep-live-news .rep186-kind[hidden],body.rep-live-news .rep186-event-group[hidden]{display:none!important}
body.rep186-no-scroll{overflow:hidden}
body.rep-live-news .rep186-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:18px}
body.rep-live-news .rep186-modal-backdrop{position:absolute;inset:0;background:#081e2dcc;cursor:pointer}
body.rep-live-news .rep186-dialog{position:relative;z-index:1;background:#fff;border:1px solid #d3e3e9;box-shadow:0 12px 50px #051c3177;border-radius:17px;width:min(96vw,680px);max-height:min(90vh,830px);display:flex;flex-direction:column;overflow:hidden;outline:none}
body.rep-live-news .rep186-dialog>header{display:flex;justify-content:space-between;gap:14px;padding:18px 20px 13px;border-bottom:1px solid #e6eef2;align-items:flex-start}
body.rep-live-news .rep186-dialog h3{color:#123a4e;font:700 23px/1.2 Georgia,serif;margin:0 0 5px}
body.rep-live-news .rep186-dialog header p{margin:0;color:#63808d;font-size:12px}
body.rep-live-news .rep186-dialog header button{border:0;background:#f0f5f7;color:#38566a;border-radius:9px;width:34px;height:34px;font-size:24px;flex:none}
body.rep-live-news .rep186-dialog-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 19px;border-bottom:1px solid #edf1f3}
body.rep-live-news .rep186-dialog-tools button{border:1px solid #d2dfe5;color:#16576e;border-radius:7px;background:white;font-size:11px;padding:7px}
body.rep-live-news .rep186-dialog-tools label{margin-left:auto;font-size:11px;display:flex;align-items:center;gap:7px}
body.rep-live-news .rep186-dialog-tools input{max-width:195px;border:1px solid #cbdce3;border-radius:7px;padding:7px;font-size:12px}
body.rep-live-news .rep186-events-list,body.rep-live-news .rep186-alert-detail{padding:10px 20px;overflow:auto;min-height:75px;flex:1}
body.rep-live-news .rep186-event-group{border:0;padding:0;margin:0 0 12px;min-width:0}
body.rep-live-news .rep186-event-group legend{font-size:13px;font-weight:800;color:#16485c;padding:11px 0 9px}
body.rep-live-news .rep186-event-option{display:flex;gap:10px;align-items:center;padding:7px 10px;margin-bottom:3px;border-radius:7px;background:#f6f9fa;border:1px solid #edf0f3;font-size:12px;cursor:pointer}
body.rep-live-news .rep186-event-option input{width:16px;height:16px;accent-color:#0a536e;flex:none}
body.rep-live-news .rep186-event-option>span{display:flex;flex-direction:column}
body.rep-live-news .rep186-event-option small{color:#71848c;font-size:10px}
body.rep-live-news .rep186-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid #ebeff2;font-size:11px;color:#6b8793}
body.rep-live-news .rep186-apply{border:0;border-radius:9px;background:#0d536d;color:#fff;padding:10px 14px;font-weight:750;font-size:12px}
body.rep-live-news .rep186-topic-group{border:1px solid #e2ebef;border-radius:10px;margin:8px 0}
body.rep-live-news .rep186-topic-group summary{font-size:12px;font-weight:750;background:#f7fafb;padding:11px;border-radius:10px;cursor:pointer}
body.rep-live-news .rep186-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:5px}
body.rep-live-news .rep186-topic-choice{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid #e9eff1;border-radius:6px;font-size:11px}
body.rep-live-news .rep186-topic-choice input{accent-color:#0b5770;flex:none}
body.rep-live-news .rep186-topic-choice small{margin-left:auto;color:#7a8c95;font-size:9px;text-align:right}
body.rep-live-news .rep186-login-dialog{width:min(96vw,410px)}
body.rep-live-news .rep186-login-intro{padding:17px 22px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:#557181}
body.rep-live-news .rep186-login-intro .rep186-brand-icon{width:47px;height:47px;font-size:32px}
body.rep-live-news .rep186-login-intro p{font-size:12px;margin:0}
body.rep-live-news .rep186-login-dialog form{display:flex;flex-direction:column;gap:13px;padding:10px 22px 23px}
body.rep-live-news .rep186-login-dialog .rep186-consent{font-size:11px;display:flex;gap:9px;align-items:flex-start;line-height:1.5;color:#516d7d}
body.rep-live-news .rep186-consent input{margin-top:3px;flex:none;accent-color:#0c6078}
body.rep-live-news .rep186-login-submit{border:0;border-radius:10px;background:linear-gradient(115deg,#f18312,#e84744,#9d31b3);font-size:13px;min-height:42px}
body.rep-live-news .rep186-telegram-label{font-size:12px;color:#264b5f;font-weight:700;display:flex;flex-direction:column;gap:6px}
body.rep-live-news .rep186-telegram-label input{border-radius:7px;border:1px solid #c4d4dc;padding:8px}
@media(max-width:960px){body.rep-live-news .rep186-pref{grid-template-columns:minmax(0,1fr) 235px;gap:10px}body.rep-live-news .rep186-line{grid-template-columns:180px 1fr}body.rep-live-news .rep186-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.rep-live-news .rep186-pref{grid-template-columns:1fr;padding:15px}body.rep-live-news .rep186-aside{border-left:0;border-top:1px solid #e5e9ed;padding:12px 0 0}body.rep-live-news .rep186-line{grid-template-columns:1fr;gap:8px}body.rep-live-news .rep186-root h2{font-size:23px}body.rep-live-news .rep186-aside-checks{max-height:145px}body.rep-live-news .rep186-dialog-tools label{margin-left:0;width:100%}body.rep-live-news .rep186-dialog-tools input{flex:1;max-width:none}}
@media(max-width:430px){body.rep-live-news .rep186-social-grid{grid-template-columns:1fr}body.rep-live-news .rep186-topic-grid{grid-template-columns:1fr}body.rep-live-news .rep186-dialog{max-height:93vh}body.rep-live-news .rep186-dialog-tools{gap:5px}body.rep-live-news .rep186-line-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){body.rep-live-news .rep186-root *,body.rep-live-news .rep186-root *:before,body.rep-live-news .rep186-root *:after{transition:none!important}}

body.rep-live-news .rep186-root:not(.rep186-show-more) .rep186-kind[data-rep186-secondary]{display:none!important}

/* 169.188 : maquette identique, sans bouton de validation ; feedback discret. */
body.rep-live-news .rep188-auto-row{margin:9px 0 0;min-height:19px}
body.rep-live-news .rep188-auto-row .rep186-save-status{color:#496976;font-size:11px}

/* 169.189 : lien discret vers l’historique sous le bandeau existant. */
body.rep-live-news .rep189-live-entry{text-align:right;font-size:12px;margin:-15px 5px 18px}body.rep-live-news .rep189-live-entry a{color:#14556a;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* 169.201 — canal email en remplacement du bouton Instagram public. */
body.rep-live-news .rep186-network-email .rep186-brand-icon,body.rep-live-news .rep201-modal .rep186-brand-icon{background:#075773;color:white;font-size:22px}
body.rep-live-news .rep186-network-email .rep186-btn[hidden],body.rep-live-news .rep201-modal[hidden]{display:none!important}
body.rep-live-news .rep201-modal .rep186-login-dialog form{padding-top:14px}
body.rep-live-news .rep201-modal .rep201-opt{display:flex;gap:11px;align-items:flex-start;font-size:12px;line-height:1.5;color:#173f51;border:1px solid #e1e9ee;border-radius:10px;padding:12px}
body.rep-live-news .rep201-modal .rep201-opt input{margin-top:3px;accent-color:#0a5871;flex:none}
body.rep-live-news .rep201-modal .rep201-opt small{color:#607987;display:block;font-weight:400}
body.rep-live-news .rep201-modal .rep201-note{font-size:11px;color:#607987;margin:0}
body.rep-live-news .rep201-modal .rep201-feedback{font-size:12px;color:#0b684d;margin:0}
body.rep-live-news .rep201-modal .rep201-submit{background:linear-gradient(120deg,#126a87,#063f56);border-color:#063f56;border-radius:24px}

/* 169.203 — état e-mail activé : le bouton affiche « Connecté » */
body.rep-live-news .rep186-network-email .rep186-btn.rep203-connected{background:linear-gradient(120deg,#075569,#064454);border-color:#d9a54a;color:#fff;box-shadow:0 0 0 1px rgba(217,165,74,.35)}
body.rep-live-news .rep186-network-email .rep186-btn.rep203-connected:hover{background:#0a3d4b}
