.a7-explorer .association-explorer{border-top:2px solid #cbd5dc;margin-top:2rem;padding-top:1rem}
#a7-explorer #association-measure{padding:0;border:0;border-radius:0;margin:0;box-shadow:none;background:none}
/* Il titolo e il testo della sezione stanno sullo sfondo del pannello, allineati agli altri titoli; i box bianchi hanno sempre margine interno. */
#a7-explorer #association-explorer{padding:1.25rem 0 0;border:0;border-top:1px solid #cbd5dc;border-radius:0;margin:1.5rem 0 0;box-shadow:none;background:none}
#a7-explorer #association-result,#a7-explorer #association-consent{padding:clamp(1rem,2.5vw,1.8rem);border:0;border-radius:16px;margin:1.4rem 0 0;box-shadow:0 10px 30px -18px rgba(20,50,74,.45),0 1px 2px rgba(20,50,74,.08);background:#fff;scroll-margin-top:7rem}
.a7-explorer #association-modes{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.a7-explorer #association-modes button[aria-pressed="false"]{background:#fff;color:#104b70}
.a7-explorer .association-explorer figure{margin:1.5rem 0}
.a7-explorer .association-plot{max-width:100%;overflow-x:auto}
.a7-explorer .association-explorer svg{display:block;width:100%;min-width:300px;height:auto;max-width:55rem;background:#fff;color:#163449}
.a7-explorer .association-explorer svg text{fill:#163449;font-family:system-ui,sans-serif}
#a7-explorer #association-explorer svg text{font-size:13px}
#a7-explorer [data-association-value="coefficient"]{font-size:clamp(.875rem,4.2vw,1.2rem);white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
.a7-explorer .association-explorer figcaption{line-height:1.6;font-size:.94rem;overflow-wrap:anywhere}
.a7-explorer #association-consent,.a7-explorer #association-result{border-top:1px solid #cbd5dc;margin-top:1rem;padding-top:1rem}
.a7-explorer .association-explorer td>p:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}
/* Su schermi stretti le coppie diventano schede per Comune: niente scorrimento orizzontale. */
@media(max-width:600px){
#a7-explorer .association-pairs{overflow:visible;border:0}
#a7-explorer .association-pairs table{min-width:0}
#a7-explorer .association-pairs thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#a7-explorer .association-pairs tr{display:block;border:1px solid #e6edf2;border-radius:12px;margin:0 0 .75rem;padding:.4rem .2rem;background:#fff}
#a7-explorer .association-pairs td{display:grid;grid-template-columns:minmax(6.5rem,38%) minmax(0,1fr);gap:.5rem;border:0;padding:.35rem .6rem}
#a7-explorer .association-pairs td::before{content:attr(data-label);font-weight:600;color:#45606f;font-size:.8rem}
#a7-explorer .association-pairs td>*{grid-column:2}
#a7-explorer .association-pairs td>p:first-child{white-space:normal}
}
#a7-explorer #association-explorer>h3+p{margin:0 0 1.2rem}
