/* Forma OVR — Up & Down */
.pl-form {
  padding-bottom: 2rem;
  min-width: 0;
  max-width: 100%;
}
.pl-form__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  margin: 0 0 1rem;
}
.pl-form__eyebrow {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pl-form__h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #f1f5f9;
}
.pl-form__lead {
  margin: 6px 0 0;
  max-width: 42rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.45;
}
.pl-form__batch {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  vertical-align: middle;
}
.pl-form__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}
.pl-form__back:hover {
  border-color: rgba(59, 130, 246, 0.45);
  color: #fff;
}

.pl-form__filters {
  padding: 14px 16px;
  margin-bottom: 1.1rem;
}
.pl-form__filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: flex-end;
}
.pl-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}
.pl-form__field--grow {
  flex: 1 1 200px;
}
.pl-form__field--roles {
  flex: 1 1 100%;
}
.pl-form__lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pl-form__field input[type="search"],
.pl-form__field select {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
}
.pl-form__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pl-form__role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(71, 85, 105, 0.5);
  background: rgba(30, 41, 59, 0.45);
  font-size: 0.8rem;
  font-weight: 650;
  color: #cbd5e1;
  cursor: pointer;
}
.pl-form__role:has(input:checked) {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}
.pl-form__role input {
  accent-color: #22c55e;
}
.pl-form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}
.pl-form__btn-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #052e16;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 55%, #16a34a 100%);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.pl-form__btn-go:hover {
  filter: brightness(1.06);
  color: #022c16;
}
.pl-form__btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  font-weight: 700;
  text-decoration: none;
}
.pl-form__btn-reset:hover {
  border-color: rgba(148, 163, 184, 0.7);
  color: #fff;
}

.pl-form__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

/* Card riepilogo squadra (filtro team attivo) */
.pl-form-team-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  width: 100%;
  margin: 0 0 1.1rem;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.92) 45%, rgba(15, 23, 42, 0.88) 100%);
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(147, 197, 253, 0.12);
}
.pl-form-team-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pl-form-team-card__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.pl-form-team-card__logo-ph {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.pl-form-team-card__titles {
  min-width: 0;
}
.pl-form-team-card__eyebrow {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}
.pl-form-team-card__name {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 850;
  color: #f8fafc;
  line-height: 1.15;
}
.pl-form-team-card__manager {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #cbd5e1;
  line-height: 1.25;
}
.pl-form-team-card__batch {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #94a3b8;
}
.pl-form-team-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: stretch;
}
.pl-form-team-card__stat {
  min-width: 7.5rem;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(100, 116, 139, 0.35);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pl-form-team-card__stat--up {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(22, 163, 74, 0.12);
}
.pl-form-team-card__stat--down {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.12);
}
.pl-form-team-card__stat--tot {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(37, 99, 235, 0.12);
}
.pl-form-team-card__stat--pts-up {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(234, 179, 8, 0.12);
}
.pl-form-team-card__stat--pts-down {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(126, 34, 206, 0.12);
}
.pl-form-team-card__stat--net {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.55);
}
.pl-form-team-card__stat--net-pos {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(22, 163, 74, 0.18);
}
.pl-form-team-card__stat--net-neg {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(185, 28, 28, 0.18);
}
.pl-form-team-card__stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pl-form-team-card__stat--up .pl-form-team-card__stat-lbl,
.pl-form-team-card__stat--pts-up .pl-form-team-card__stat-lbl {
  color: #86efac;
}
.pl-form-team-card__stat--pts-up .pl-form-team-card__stat-lbl {
  color: #fde047;
}
.pl-form-team-card__stat--down .pl-form-team-card__stat-lbl {
  color: #fca5a5;
}
.pl-form-team-card__stat--pts-down .pl-form-team-card__stat-lbl {
  color: #d8b4fe;
}
.pl-form-team-card__stat--tot .pl-form-team-card__stat-lbl {
  color: #93c5fd;
}
.pl-form-team-card__stat--net-pos .pl-form-team-card__stat-lbl {
  color: #86efac;
}
.pl-form-team-card__stat--net-neg .pl-form-team-card__stat-lbl {
  color: #fca5a5;
}
.pl-form-team-card__stat-val {
  font-size: 1.65rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #f8fafc;
}
.pl-form-team-card__stat-sub {
  font-size: 0.68rem;
  font-weight: 650;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .pl-form-team-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .pl-form-team-card__stats {
    width: 100%;
  }
  .pl-form-team-card__stat {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 960px) {
  .pl-form__cols {
    grid-template-columns: 1fr;
  }
}
.pl-form__col {
  border-radius: 16px;
  border: 1px solid rgba(100, 116, 139, 0.28);
  background: rgba(15, 23, 42, 0.55);
  padding: 14px 14px 18px;
  min-width: 0;
  max-width: 100%;
  /* Contiene la tabella: senza questo il grid cresce e lo scroll interno non parte */
  overflow: hidden;
}
.pl-form__col--up {
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.08);
}
.pl-form__col--down {
  border-color: rgba(248, 113, 113, 0.28);
  box-shadow: inset 0 1px 0 rgba(248, 113, 113, 0.08);
}
.pl-form__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.pl-form__col-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pl-form__col--up .pl-form__col-head h2 {
  color: #86efac;
}
.pl-form__col--down .pl-form__col-head h2 {
  color: #fca5a5;
}
.pl-form__count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}
.pl-form .pl-xg-pcards,
.pl-form .pl-form-pcards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px 12px;
  margin: 0;
}
/* Forma OVR: foto profilo +5% verso l’alto */
.pl-form .pl-xg-pcards .xg-pcard__photo,
.pl-form .pl-form-pcards .xg-pcard__photo {
  transform: scale(1) translateY(-10%);
}
/* Forma OVR: Ingaggio/Valore -5% (più in basso) */
.pl-form .pl-xg-pcards .xg-pcard__cell:nth-child(n + 3),
.pl-form .pl-form-pcards .xg-pcard__cell:nth-child(n + 3) {
  transform: translateY(0);
}
/* Forma OVR: chip Δ più basso (+5%) e più grande (+10% totale) */
.pl-form .pl-xg-pcards .xg-pcard__delta,
.pl-form .pl-form-pcards .xg-pcard__delta {
  top: 77%;
  font-size: min(4.02cqi, 0.99rem);
  padding: 0.22em 0.61em;
  transform: translate(-50%, -50%) scale(1.10);
}
.pl-form .pl-xg-pcards .xg-pcard__delta--stable,
.pl-form .pl-form-pcards .xg-pcard__delta--stable {
  font-size: min(2.81cqi, 0.70rem);
  padding: 0.38em 0.68em 0.34em;
}
/* Forma OVR: ruolo +1% basso / +1% sinistra; nome +5% */
.pl-form .pl-xg-pcards .xg-pcard__pos,
.pl-form .pl-form-pcards .xg-pcard__pos {
  top: 5.9%;
  right: 7.6%;
}
.pl-form .pl-xg-pcards .xg-pcard__name,
.pl-form .pl-form-pcards .xg-pcard__name {
  font-size: min(7.77cqi, 1.91rem);
}
.pl-form--list .pl-form-pcards {
  display: none !important;
}
.pl-form--cards .pl-form-lists {
  display: none !important;
}
.pl-form--list .pl-form-lists {
  display: block;
}

.pl-form__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.pl-form-view-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2), 0 4px 16px rgba(37, 99, 235, 0.18);
}
.pl-form-view-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}
.pl-form-view-bar {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.pl-form .pl-view-btn {
  margin: 0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.pl-form .pl-view-btn:hover {
  color: #fff;
  background: rgba(51, 65, 85, 0.55);
}
.pl-form .pl-view-btn.active {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.45);
}

/* Lista colorata come le card — compatta (colonne strette al contenuto) */
.pl-form-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.25);
}
.pl-form-table {
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.8rem;
}
.pl-form-table thead th {
  padding: 5px 3px;
  text-align: left;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(100, 116, 139, 0.35);
  white-space: nowrap;
}
.pl-form-table tbody td {
  padding: 4px 3px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  color: #e2e8f0;
  white-space: nowrap;
}
.pl-form-table tbody tr:last-child td {
  border-bottom: none;
}
.pl-form-th-photo,
.pl-form-td-photo {
  width: 1%;
  padding-left: 4px !important;
  padding-right: 1px !important;
}
.pl-form-th-flag,
.pl-form-td-flag {
  width: 1%;
  padding-left: 1px !important;
  padding-right: 1px !important;
  text-align: center;
  line-height: 0;
}
.pl-form-td-flag img {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.pl-form-th-name,
.pl-form-td-name {
  width: 1%;
  padding-left: 1px !important;
  padding-right: 4px !important;
}
.pl-form-td-photo img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgba(15, 23, 42, 0.6);
}
.pl-form-td-name a {
  color: #f1f5f9;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pl-form-td-name a:hover {
  color: #93c5fd;
  text-decoration: underline;
}
.pl-form-td-role {
  width: 1%;
  padding-left: 1px !important;
  padding-right: 3px !important;
  font-weight: 700;
  color: #cbd5e1;
}
.pl-form-td-ovr {
  width: 1%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
.pl-form-td-age,
.pl-form-td-delta {
  width: 1%;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
.pl-form-td-team {
  width: 1%;
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 4px !important;
  padding-right: 8px !important;
}
.pl-form-td-num {
  width: 1%;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: #cbd5e1;
  padding-left: 4px !important;
  padding-right: 6px !important;
  text-align: right;
}
/* Evita che una colonna “mangi” lo spazio libero tra Team e Ing. */
.pl-form-table th,
.pl-form-table td {
  width: 1%;
}

.pl-form-row--up1 {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.16), rgba(74, 222, 128, 0.04) 55%, transparent);
  box-shadow: inset 3px 0 0 #4ade80;
}
.pl-form-row--up2 {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.22), rgba(202, 138, 4, 0.08) 55%, transparent);
  box-shadow: inset 3px 0 0 #15803d;
}
.pl-form-row--up3 {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.3), rgba(202, 138, 4, 0.12) 50%, rgba(34, 197, 94, 0.05));
  box-shadow: inset 3px 0 0 #eab308;
}
.pl-form-row--up3 td {
  color: #fef9c3;
}
.pl-form-row--down1 {
  background: linear-gradient(90deg, rgba(252, 165, 165, 0.2), rgba(248, 113, 113, 0.06) 55%, transparent);
  box-shadow: inset 3px 0 0 #fca5a5;
}
.pl-form-row--down2 {
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.28), rgba(153, 27, 27, 0.1) 55%, transparent);
  box-shadow: inset 3px 0 0 #b91c1c;
}
.pl-form-row--down3 {
  background: linear-gradient(90deg, rgba(126, 34, 206, 0.32), rgba(88, 28, 135, 0.14) 50%, rgba(127, 29, 29, 0.08));
  box-shadow: inset 3px 0 0 #a855f7;
}

.pl-form-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
}
/* +1 verde chiaro */
.pl-form-delta--up1 {
  color: #052e16;
  background: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.7);
}
/* +2 verde scuro con tocco oro */
.pl-form-delta--up2 {
  color: #ecfdf5;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 55%, #a16207 160%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 0 1px rgba(22, 101, 52, 0.35);
}
/* +3+ oro */
.pl-form-delta--up3 {
  color: #422006;
  background: linear-gradient(180deg, #fde047, #eab308 55%, #ca8a04);
  border: 1px solid rgba(253, 224, 71, 0.65);
  box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.4);
}
/* -1 rosso chiaro */
.pl-form-delta--down1 {
  color: #7f1d1d;
  background: #fecaca;
  border: 1px solid rgba(252, 165, 165, 0.8);
}
/* -2 rosso scuro */
.pl-form-delta--down2 {
  color: #fff;
  background: linear-gradient(180deg, #dc2626, #991b1b);
  border: 1px solid rgba(254, 202, 202, 0.35);
}
/* -3+ viola */
.pl-form-delta--down3 {
  color: #faf5ff;
  background: linear-gradient(180deg, #a855f7, #7e22ce 60%, #581c87);
  border: 1px solid rgba(216, 180, 254, 0.45);
  box-shadow: 0 0 0 1px rgba(126, 34, 206, 0.35);
}

.pl-form__more {
  margin: 14px 0 0;
  font-size: 0.88rem;
}
.pl-form__more a {
  color: #93c5fd;
  font-weight: 650;
  text-decoration: none;
}
.pl-form__more a:hover {
  text-decoration: underline;
}

/* Mobile: resta tabella (no card-grid globale di .table) + scroll orizzontale */
@media (max-width: 980px) {
  .pl-form {
    min-width: 0;
    max-width: 100%;
  }
  .pl-form__col {
    padding: 10px 8px 14px;
    overflow: hidden;
  }
  .pl-form .pl-form-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .pl-form .pl-form-table {
    display: table !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
    font-size: 0.74rem;
  }
  .pl-form .pl-form-table thead {
    display: table-header-group !important;
  }
  .pl-form .pl-form-table tbody {
    display: table-row-group !important;
  }
  .pl-form .pl-form-table tr {
    display: table-row !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .pl-form .pl-form-table thead th,
  .pl-form .pl-form-table tbody td {
    display: table-cell !important;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3) !important;
    padding: 4px 2px !important;
  }
  .pl-form .pl-form-table thead th {
    border-bottom: 1px solid rgba(100, 116, 139, 0.35) !important;
    font-size: 0.58rem !important;
    padding: 4px 2px !important;
  }
  .pl-form .pl-form-td-photo img {
    width: 24px;
    height: 24px;
  }
  .pl-form .pl-form-td-photo {
    padding-left: 3px !important;
    padding-right: 0 !important;
  }
  .pl-form .pl-form-td-flag {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .pl-form .pl-form-td-name {
    padding-left: 1px !important;
    padding-right: 3px !important;
  }
  .pl-form .pl-form-td-role,
  .pl-form .pl-form-td-ovr,
  .pl-form .pl-form-td-delta {
    padding-left: 1px !important;
    padding-right: 1px !important;
  }
  .pl-form .pl-form-delta {
    min-width: 1.55rem;
    padding: 0.12em 0.28em;
    font-size: 0.68rem;
  }
  /* Riga colorata resta visibile anche su mobile */
  .pl-form .pl-form-table tbody tr.pl-form-row--up1,
  .pl-form .pl-form-table tbody tr.pl-form-row--up2,
  .pl-form .pl-form-table tbody tr.pl-form-row--up3,
  .pl-form .pl-form-table tbody tr.pl-form-row--down1,
  .pl-form .pl-form-table tbody tr.pl-form-row--down2,
  .pl-form .pl-form-table tbody tr.pl-form-row--down3 {
    background: inherit;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--up1 {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.16), transparent 70%) !important;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--up2 {
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.22), transparent 70%) !important;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--up3 {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.28), transparent 70%) !important;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--down1 {
    background: linear-gradient(90deg, rgba(252, 165, 165, 0.2), transparent 70%) !important;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--down2 {
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.28), transparent 70%) !important;
  }
  .pl-form .pl-form-table tbody tr.pl-form-row--down3 {
    background: linear-gradient(90deg, rgba(126, 34, 206, 0.3), transparent 70%) !important;
  }
}
