/* Ligne « Invitez votre réseau » des cartes de prix dégressifs, et sa fenêtre. */
html body .agr-native-cards .mi-vi-commercial:has(.agr-ni-cta){align-items:center}
html body .agr-native-cards .agr-ni-cta.agr-ni-cta{display:inline-flex!important;align-items:center;gap:7px;width:auto!important;min-width:0;min-height:32px!important;margin:0 0 0 auto!important;padding:4px 0!important;border:0!important;border-radius:4px!important;background:none!important;box-shadow:none!important;color:#21383b!important;font:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.35!important;text-align:left!important;text-transform:none!important;letter-spacing:normal!important;cursor:pointer}
.agr-ni-cta .agr-ni-icon{display:flex;flex:none}
.agr-ni-cta .agr-ni-icon svg{display:block;width:20px;height:20px}
.agr-ni-cta .agr-ni-text{min-width:0;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
html body .agr-native-cards .agr-ni-cta.agr-ni-cta:hover{color:#217b48!important}
html body .agr-native-cards .agr-ni-cta.agr-ni-cta:focus-visible{outline:2px solid #217b48!important;outline-offset:3px}
/* Cible du doigt : 44 px, alignée à gauche sous le titre. */
@media(max-width:767px){html body .agr-native-cards .agr-ni-cta.agr-ni-cta{min-height:44px!important;margin-left:0!important;flex-basis:100%}}

.agr-ni-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:600px;max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #dce5df;border-radius:18px;background:#fff;color:#21383b;font:inherit;font-size:15px;line-height:1.5;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 70px #102a2126}
.agr-ni-dialog *{box-sizing:border-box}
.agr-ni-dialog [hidden]{display:none!important}
.agr-ni-dialog::backdrop{background:#102a2166}
html:has(.agr-ni-dialog[open]){overflow:hidden;scrollbar-gutter:stable}
.agr-ni-dialog header{display:flex;align-items:center;gap:8px}
html body .agr-ni-dialog h2{flex:1;min-width:0;margin:0!important;padding:0!important;color:#21383b!important;font:inherit!important;font-size:23px!important;font-weight:700!important;line-height:1.25!important;text-align:left!important;overflow-wrap:anywhere;text-wrap:balance}
html body .agr-ni-dialog h2:focus{outline:0}
html body .agr-ni-dialog :is(.agr-ni-close,.agr-ni-back){display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px!important;min-width:44px;height:44px!important;min-height:44px!important;margin:0;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#3f5248!important;box-shadow:none!important;cursor:pointer}
html body .agr-ni-dialog .agr-ni-back{margin-left:-12px}
html body .agr-ni-dialog .agr-ni-close{margin-right:-10px}
html body .agr-ni-dialog :is(.agr-ni-close,.agr-ni-back):hover{background:#f0f5ee!important}
.agr-ni-glyph,.agr-ni-icon,.agr-ni-chevron,.agr-ni-way{display:flex;flex:none}
.agr-ni-body{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:10px}
html body .agr-ni-body p{margin:0!important;padding:0!important;color:#3f5248!important;font-size:15px!important;line-height:1.5!important}
.agr-ni-options{display:grid;gap:12px}
html body .agr-ni-dialog .agr-ni-option{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;margin:0;padding:18px 16px!important;border:1px solid #dce5df!important;border-radius:12px!important;background:#fff!important;color:#21383b!important;font:inherit!important;text-align:left!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;box-shadow:none!important;cursor:pointer;transition:background .15s,border-color .15s}
html body .agr-ni-dialog .agr-ni-option:hover{border-color:#8fae97!important;background:#f6f9f3!important}
.agr-ni-option .agr-ni-icon{color:#287b49}
.agr-ni-option .agr-ni-icon svg{width:28px;height:28px}
.agr-ni-option .agr-ni-chevron{color:#657b6c}
.agr-ni-option .agr-ni-chevron svg{width:20px;height:20px}
.agr-ni-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.agr-ni-copy strong{display:block;margin-bottom:3px;font-size:17px;font-weight:700;line-height:1.3}
.agr-ni-desc{display:block;color:#3f5248;font-size:14px;line-height:1.5}
.agr-ni-perks{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;color:#1f6a3e;font-size:13px;font-weight:650;line-height:1.4}
.agr-ni-perks>span::before{content:"✓";margin-right:5px}
html body .agr-ni-body .agr-ni-label{margin:0!important;color:#21383b!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important}
.agr-ni-offer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.agr-ni-offer>div{padding:14px 16px;border-radius:10px;background:#f1f7ee}
.agr-ni-offer dt{margin:0;color:#3f5248;font-size:13px;font-weight:400}
.agr-ni-offer dd{margin:0}
.agr-ni-offer strong{display:block;color:#1f6a3e;font-size:24px;font-weight:750;line-height:1.25}
.agr-ni-offer dd span{display:block;color:#3f5248;font-size:13px;line-height:1.4}
.agr-ni-link{display:flex;gap:8px;margin-top:-6px}
html body .agr-ni-dialog .agr-ni-link input{flex:1;min-width:0;width:0;height:46px!important;margin:0!important;padding:0 12px!important;border:1px solid #cfdbd2!important;border-radius:8px!important;background:#fafcf9!important;color:#21383b!important;font:inherit!important;font-size:16px!important;text-overflow:ellipsis;box-shadow:none!important}
html body .agr-ni-dialog :is(.agr-ni-primary,.agr-ni-secondary){display:inline-flex;align-items:center;justify-content:center;min-height:46px!important;margin:0;padding:10px 18px!important;border:1px solid #217b48!important;border-radius:8px!important;font:inherit!important;font-size:15px!important;font-weight:650!important;line-height:1.3!important;text-align:center;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;cursor:pointer}
html body .agr-ni-dialog .agr-ni-primary{background:#217b48!important;color:#fff!important}
html body .agr-ni-dialog .agr-ni-primary:hover{background:#1b5f37!important}
html body .agr-ni-dialog .agr-ni-secondary{background:#fff!important;color:#1b5f37!important}
html body .agr-ni-dialog .agr-ni-secondary:hover{background:#f1f7ee!important}
.agr-ni-stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:10px}
html body .agr-ni-body .agr-ni-status{margin-top:-6px!important;color:#1f6a3e!important;font-size:14px!important}
.agr-ni-status:empty{display:none}
.agr-ni-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .agr-ni-ways a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px;border:1px solid #dce5df;border-radius:8px;color:#21383b!important;font-size:14px;font-weight:650;text-decoration:none!important}
html body .agr-ni-ways a:hover{border-color:#8fae97;background:#f6f9f3}
.agr-ni-way svg{width:18px;height:18px}
html body .agr-ni-body .agr-ni-more{display:inline-flex;align-items:center;justify-self:start;min-height:44px;color:#1b5f37!important;font-size:15px;font-weight:650;text-decoration:underline!important;text-underline-offset:3px}
html body .agr-ni-body .agr-ni-signin a{display:inline-flex;align-items:center;min-height:44px;color:#1b5f37!important;font-weight:650;text-decoration:underline!important;text-underline-offset:3px}
html body .agr-ni-dialog :is(button,a,input):focus-visible{outline:2px solid #217b48!important;outline-offset:2px}
/* Téléphone : feuille en bas d’écran, choix posés à plat sans cadre. */
@media(max-width:767px){
 .agr-ni-dialog{width:100%;max-width:none;max-height:calc(100dvh - 24px);margin:auto 0 0;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px));border:0;border-radius:18px 18px 0 0}
 html body .agr-ni-dialog h2{font-size:21px!important}
 .agr-ni-options{gap:0}
 html body .agr-ni-dialog .agr-ni-option{gap:14px;padding:16px 0!important;border:0!important;border-top:1px solid #e3eae4!important;border-radius:0!important;background:none!important}
 .agr-ni-offer>div{padding:0;background:none}
 .agr-ni-offer strong{font-size:21px}
}
@media(max-width:359px){.agr-ni-way{display:none}.agr-ni-link{flex-direction:column}html body .agr-ni-dialog .agr-ni-link input{flex:none;width:100%}}
@media(prefers-reduced-motion:no-preference){.agr-ni-dialog[open]{animation:agr-ni-in .18s ease-out}@keyframes agr-ni-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}}
