/* Pagina La rete: mappa dei collaboratori per regione */
.rete-section { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.rete-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }

.rete-map { position: sticky; top: 104px; }
.rete-svg { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; overflow: visible; }
.rete-svg .rg { stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; transition: fill .2s ease, opacity .2s ease; }
.rete-svg .l0 { fill: #e7ecf2; }
.rete-svg .l1 { fill: #ffe2c2; }
.rete-svg .l2 { fill: #ffc488; }
.rete-svg .l3 { fill: #ff9d45; }
.rete-svg .l4 { fill: #db6e00; }
.rete-svg .l5 { fill: #8f4500; }
.rete-svg .rg[tabindex] { cursor: pointer; }
.rete-svg .rg[tabindex]:focus { outline: none; }
.rete-svg.has-focus .rg:not(.is-active) { opacity: .45; }
.rete-svg .rg.is-active { stroke: var(--navy); stroke-width: 2; opacity: 1; }

.rete-legend { list-style: none; margin: 22px auto 0; padding: 0; max-width: 560px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; color: var(--muted); font-size: 12px; font-weight: 600; }
.rete-legend li { display: flex; align-items: center; gap: 7px; }
.rete-legend i { width: 14px; height: 14px; border-radius: 3px; display: block; }
.rete-legend .l0 { background: #e7ecf2; } .rete-legend .l1 { background: #ffe2c2; } .rete-legend .l2 { background: #ffc488; }
.rete-legend .l3 { background: #ff9d45; } .rete-legend .l4 { background: #db6e00; } .rete-legend .l5 { background: #8f4500; }

.rete-side h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.rete-stats { margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.rete-stats div { padding: 18px 20px; }
.rete-stats div + div { border-left: 1px solid var(--line); }
.rete-stats dt { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.rete-stats dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

.rete-focus { margin-top: 14px; padding: 20px 22px; border-radius: 10px; color: var(--white); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); }
.rete-focus span { color: var(--orange-soft); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.rete-focus strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.2; }
.rete-focus p { margin-top: 4px; color: rgba(255, 255, 255, .74); font-size: 14px; line-height: 1.6; }

.rete-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.rete-list button { width: 100%; display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; gap: 14px; align-items: center; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background .15s ease; }
.rete-list button:hover, .rete-list li.is-active button { background: var(--ice); }
.rete-list button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.rete-nome { font-weight: 600; }
.rete-bar { height: 8px; border-radius: 99px; background: #eef2f6; overflow: hidden; }
.rete-bar i { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.rete-list strong { font-family: var(--display); font-size: 16px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rete-note { margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }

@media (max-width: 980px) {
  .rete-layout { grid-template-columns: 1fr; }
  .rete-map { position: static; }
  .rete-svg { max-width: 460px; }
}
@media (max-width: 560px) {
  .rete-stats { grid-template-columns: 1fr 1fr 1fr; }
  .rete-stats div { padding: 14px 12px; }
  .rete-stats dd { font-size: 26px; }
  .rete-list button { grid-template-columns: 118px minmax(0, 1fr) 34px; gap: 10px; font-size: 13px; }
}
