/* SceltaLab Editoriale 1.5.0-rc2: mobile-only progressive enhancement for V5. */
@media (max-width: 760px) {
  .sl-v511-mobile .preview-main {
    width: calc(100% - 24px);
    margin: 14px auto 52px;
  }

  .sl-v511-mobile .preview-header {
    width: calc(100% - 24px);
    padding: 13px 0;
  }

  .sl-v511-mobile .preview-brand { font-size: 1.35rem; }
  .sl-v511-mobile .preview-notice { position: static; }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-hero {
    min-height: 0;
    margin-bottom: 12px;
    padding: 28px 18px 30px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-hero h1 {
    max-width: 22ch;
    font-size: clamp(1.78rem, 7.4vw, 2rem) !important;
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-hero .sl-eyebrow {
    margin-bottom: 10px;
    font-size: .64rem;
    line-height: 1.4;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-hero .sl-subtitle {
    margin-top: 12px;
    font-size: .94rem;
    line-height: 1.46;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 :where(p, li) {
    font-size: .96rem;
    line-height: 1.5;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 > :where(section, div):not(.sl-hero) {
    margin-block: 17px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 :where(
    .sl-v5-verdict,
    .sl-v5-decision,
    .sl-v5-review-snapshot,
    .sl-v5-errors,
    .sl-v5-checklist,
    .sl-v5-diagnostic,
    .sl-v5-final
  ) {
    margin: 18px 0;
    padding: 16px 3px;
    border-right: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 > h2,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 > section > h2,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-products > h2,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-guide > h2,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-faq > h2 {
    margin: 31px 0 12px;
    font-size: 1.48rem;
    line-height: 1.13;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 :where(
    .sl-v5-decision,
    .sl-editorial-note,
    .sl-v5-checklist,
    .sl-v5-final
  ) > .sl-eyebrow {
    display: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-verdict h2 {
    margin: 4px 0 7px;
    font-size: 1.28rem !important;
    line-height: 1.08;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-verdict {
    padding: 11px 0 12px 14px;
    border-top: 0;
    border-left-width: 4px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-verdict p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.46;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-verdict__label {
    padding: 0;
    font-size: .62rem;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-decision {
    padding: 4px 0 12px;
    border: 0;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-audit-decision-list-head, .sl-audit-overview-list-head, .sl-audit-criteria-list-head, .sl-audit-comparison-list-head) {
    display: grid;
    grid-template-columns: 1fr auto;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #0a4f5f;
    border-bottom: 3px solid #ef735d;
    border-radius: 13px 13px 0 0;
    background: linear-gradient(135deg, #05283f 0%, #07566b 68%, #087c79 100%);
    box-shadow: 0 8px 18px rgba(6,45,74,.12);
    color: #fff;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .085em;
    text-transform: uppercase;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-paths {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;
    margin: 10px 0 0;
    padding: 0;
    overflow: visible;
    border: 1px solid #cbd8d4;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(6,45,74,.07);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-decision-list-head + .sl-v5-paths { margin-top: 0; }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path {
    min-width: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #d9ddd8;
    background: transparent;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path:last-child { border-bottom: 0; }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-decision-toggle {
    display: grid;
    width: 100%;
    min-height: 54px;
    grid-template-columns: 1fr auto 18px;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 0;
    background: #fff;
    color: #173d4a;
    font: inherit;
    text-align: left;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-decision-toggle > span { font-size: .9rem; font-weight: 850; line-height: 1.3; }
  body.sl-editorial-article .sl-v511-mobile .sl-audit-decision-toggle > small { color: #68767c; font-size: .69rem; font-weight: 750; }
  body.sl-editorial-article .sl-v511-mobile .sl-audit-decision-toggle > b { color: #087c79; font-size: 1.15rem; }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-path .sl-audit-decision-detail { display: none !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-path .sl-audit-decision-source { display: none !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-path.is-audit-open { border-left: 4px solid #ef735d; background: #f7fbf9; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-path.is-audit-open .sl-audit-decision-detail {
    display: block !important;
    margin: 0;
    padding: 10px 13px;
    border-top: 1px solid #e1e8e4;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-path.is-audit-open .sl-v5-path__label {
    color: #087c79;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path .sl-mobile-secondary {
    display: block;
    margin-top: 7px;
    color: #52616a;
    font-size: .9rem;
  }

  /* Contratto unico: tutte e tre le tabelle usano davvero lo stesso componente. */
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-paths,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-overview .sl-table-wrap,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria .sl-v5-criteria__grid,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison .sl-table-wrap {
    margin-top: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #c6d2cf !important;
    border-top: 0 !important;
    border-radius: 0 0 13px 13px !important;
    background: #fffefb !important;
    box-shadow: 0 12px 28px rgba(6,45,74,.09) !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-paths::before {
    content: none !important;
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path {
    flex: none !important;
    scroll-snap-align: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison tbody {
    padding: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path > .sl-mobile-toggle {
    display: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-caution {
    margin-top: 12px;
    padding: 12px 14px;
    font-size: .9rem;
  }

  /* Tutte le tabelle diventano schede decisionali verticali. */
  body.sl-editorial-article .sl-v511-mobile .sl-comparison table {
    display: block !important;
    width: 100%;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison thead { display: none !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-table-wrap {
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid #d9ddd8 !important;
    border-radius: 11px;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-table-wrap::before { display: none !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-comparison-list-head + .sl-table-wrap { border-radius: 0 0 11px 11px; }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody {
    display: grid !important;
    gap: 0;
    margin: 0;
    padding: 2px 0;
    overflow: visible;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody::-webkit-scrollbar { display: none; }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody tr {
    display: block !important;
    width: 100%;
    min-width: 0;
  }
  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-source { display: none !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-detail { display: none !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-comparison tr.is-audit-open .sl-audit-comparison-detail { display: block !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-mobile-row-control { display: none !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody tr {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e0e5e2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody tr:last-child { border-bottom: 0; }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison td {
    padding: 10px 12px !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-comparison-control {
    display: block !important;
    width: 100%;
    padding: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-audit-comparison-toggle, .sl-audit-difference-toggle) {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #173d4a;
    font: inherit;
    text-align: left;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-comparison-toggle {
    display: grid;
    grid-template-columns: 1fr auto 18px;
    justify-content: stretch;
    min-height: 52px;
    padding: 11px 13px;
    border: 0;
    font-size: .92rem;
    font-weight: 850;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-audit-comparison-toggle, .sl-audit-difference-toggle, .sl-audit-decision-toggle):focus-visible {
    border-radius: 8px;
    outline: 2px solid #ef735d;
    outline-offset: -3px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-comparison-toggle small {
    align-self: center;
    color: #6b787d;
    font-size: .7rem;
    font-weight: 700;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison tr.is-audit-open .sl-audit-comparison-control {
    border-left: 4px solid #ef735d;
    background: #f4faf7;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-detail {
    padding: 10px 13px !important;
    border-top: 1px solid #edf0ed;
    background: #fff;
    color: #334852;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-detail::before {
    content: attr(data-label) !important;
    display: block;
    margin-bottom: 4px;
    color: #087c79;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-price {
    padding: 12px 13px 14px !important;
    border-top: 0;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-price::before {
    content: none !important;
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-price a {
    display: flex !important;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 9px;
    background: linear-gradient(135deg, #062d4a 0%, #087c79 100%);
    box-shadow: 0 7px 16px rgba(6,45,74,.16);
    color: #fff !important;
    font-size: .86rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-audit-comparison-toggle, .sl-audit-difference-toggle) b {
    color: #087c79;
    font-size: 1.15rem;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview .sl-table-wrap {
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid #cbd8d4 !important;
    border-radius: 0 0 12px 12px;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-overview-list-head + .sl-table-wrap { border-top: 0 !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview .sl-table-wrap::before { display: none !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview[data-audit-pair="1"] > h2 { margin-bottom: 10px; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview .sl-audit-pair-note {
    margin: -2px 0 10px;
    color: #627178;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.4;
  }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview table,
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tbody { display: grid !important; width: 100% !important; min-width: 0 !important; gap: 0; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview thead { display: none !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.sl-audit-difference-card {
    display: block !important;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e0e5e2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.sl-audit-difference-card:last-child { border-bottom: 0; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.sl-audit-difference-card.is-audit-open { border-left: 4px solid #ef735d; background: #f4faf7; }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview td { display: block !important; width: 100% !important; padding: 0 !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview td[data-label="Criterio"]::before {
    content: none !important;
    display: none !important;
  }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview .sl-audit-difference-detail { display: none !important; padding: 11px 13px !important; border-top: 1px solid #e0e5e2; background: #fff; color: #334852; }
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.is-audit-open .sl-audit-difference-detail { display: block !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-difference-toggle {
    position: relative;
    display: grid;
    min-height: 52px;
    grid-template-columns: 1fr auto 18px;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-difference-toggle > span { font-size: .9rem; font-weight: 850; line-height: 1.3; }
  body.sl-editorial-article .sl-v511-mobile .sl-audit-difference-toggle > small { margin: 0; color: #68767c; font-size: .69rem; font-weight: 750; }
  body.sl-editorial-article .sl-v511-mobile .sl-audit-difference-toggle > b { grid-column: 3; grid-row: 1; align-self: center; }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview .sl-audit-difference-detail::before {
    display: block;
    margin-bottom: 4px;
    color: #087c79;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  /* Un solo linguaggio visivo per uso, confronto e modelli. */
  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-article--v5 .sl-v5-path,
    .sl-v5-overview tr.sl-audit-difference-card,
    .sl-v5-criteria article.sl-audit-criteria-card,
    .sl-comparison tbody tr
  ) {
    border: 0 !important;
    border-bottom: 1px solid #d9e2de !important;
    background: #fffefb !important;
    box-shadow: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-article--v5 .sl-v5-path,
    .sl-v5-overview tr.sl-audit-difference-card,
    .sl-v5-criteria article.sl-audit-criteria-card,
    .sl-comparison tbody tr
  ):last-child {
    border-bottom: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-article--v5 .sl-v5-path.is-audit-open,
    .sl-v5-overview tr.sl-audit-difference-card.is-audit-open,
    .sl-v5-criteria article.sl-audit-criteria-card.is-audit-open,
    .sl-comparison tbody tr.is-audit-open
  ) {
    border-left: 4px solid #ef735d !important;
    background: #f3faf6 !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-v5-overview tr.sl-audit-difference-card.is-audit-open .sl-audit-difference-detail,
    .sl-comparison tbody tr.is-audit-open .sl-audit-comparison-detail
  ) {
    background: #f3faf6 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.sl-audit-difference-card.is-audit-open td.sl-audit-difference-detail,
  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody tr.is-audit-open td.sl-audit-comparison-detail {
    background: #f3faf6 !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-v5-overview tr.sl-audit-difference-card.is-audit-open td:first-child,
    .sl-comparison tbody tr.is-audit-open .sl-audit-comparison-control
  ) {
    border-left: 4px solid #ef735d !important;
    background: #f3faf6 !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-audit-decision-toggle,
    .sl-audit-difference-toggle,
    .sl-audit-criteria-toggle,
    .sl-audit-comparison-toggle
  ) {
    display: grid;
    width: 100%;
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto 22px;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: #173d4a;
    font: inherit;
    text-align: left;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-audit-decision-toggle,
    .sl-audit-difference-toggle,
    .sl-audit-criteria-toggle,
    .sl-audit-comparison-toggle
  ) > span {
    min-width: 0;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.28;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-audit-decision-toggle,
    .sl-audit-difference-toggle,
    .sl-audit-criteria-toggle,
    .sl-audit-comparison-toggle
  ) > small {
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e8f1ed;
    color: #07566b;
    font-size: .66rem;
    font-weight: 850;
    white-space: nowrap;
  }

  body.sl-editorial-article .sl-v511-mobile :where(
    .sl-audit-decision-toggle,
    .sl-audit-difference-toggle,
    .sl-audit-criteria-toggle,
    .sl-audit-comparison-toggle
  ) > b {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    align-self: center;
    border: 1px solid #b9d0c9;
    border-radius: 50%;
    background: #fff;
    color: #087c79;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
  }

  /* Normalizzazione finale del componente: nessun doppio bordo o padding diverso. */
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.sl-audit-difference-card.is-audit-open td:first-child,
  body.sl-editorial-article .sl-v511-mobile .sl-comparison tbody tr.is-audit-open .sl-audit-comparison-control {
    border-left: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-path.is-audit-open .sl-audit-decision-detail,
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview tr.is-audit-open .sl-audit-difference-detail,
  body.sl-editorial-article .sl-v511-mobile .sl-v5-criteria article.is-audit-open .sl-audit-criteria-detail,
  body.sl-editorial-article .sl-v511-mobile .sl-comparison tr.is-audit-open .sl-audit-comparison-detail {
    margin: 0 !important;
    padding: 11px 14px !important;
    border-top: 1px solid #d9e2de !important;
    background: #f3faf6 !important;
    color: #334852;
    font-size: .9rem;
    line-height: 1.48;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-comparison .sl-audit-comparison-control,
  body.sl-editorial-article .sl-v511-mobile .sl-v5-overview td:first-child {
    display: block !important;
    width: 100% !important;
    grid-template-columns: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-overview table.sl-v5-responsive-table tr.sl-audit-difference-card,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria article.sl-audit-criteria-card,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-v5-responsive-table tbody tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d9e2de !important;
    border-radius: 0 !important;
    background: #fffefb !important;
    box-shadow: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path:last-child,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-overview table.sl-v5-responsive-table tr.sl-audit-difference-card:last-child,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria article.sl-audit-criteria-card:last-child,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-v5-responsive-table tbody tr:last-child {
    border-bottom: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-path.is-audit-open,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-overview table.sl-v5-responsive-table tr.sl-audit-difference-card.is-audit-open,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria article.sl-audit-criteria-card.is-audit-open,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-v5-responsive-table tbody tr.is-audit-open {
    border-left: 4px solid #ef735d !important;
    background: #f3faf6 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-overview table.sl-v5-responsive-table tbody,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-v5-responsive-table tbody {
    gap: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-audit-decision-toggle,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-audit-difference-toggle,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-audit-criteria-toggle,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-audit-comparison-toggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 22px !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    text-align: left !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria {
    margin: 17px 0 !important;
    padding: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-criteria-list-head + .sl-v5-criteria__grid {
    margin-top: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-criteria .sl-audit-criteria-detail {
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-criteria article.is-audit-open .sl-audit-criteria-detail {
    display: block !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product-index { display: none; }

  body.sl-editorial-article .sl-v511-mobile .sl-editorial-note {
    margin: 15px 0;
    padding: 13px 0;
    border: 0;
    border-top: 1px solid #d9ddd8;
    border-bottom: 1px solid #d9ddd8;
    background: transparent;
    box-shadow: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-editorial-note h3 {
    margin: 0 0 7px;
    font-size: 1.16rem;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product > .sl-product-disclosure {
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product {
    margin: 26px 0;
    padding: 17px 14px;
    box-shadow: 0 9px 24px rgba(6,45,74,.06);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product > h3 {
    margin-bottom: 15px;
    font-size: 1.55rem;
    line-height: 1.08;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product-image-wrap {
    height: 215px;
    margin-bottom: 14px;
    padding: 13px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product-image-wrap img {
    width: 100% !important;
    height: 185px !important;
    max-height: 185px !important;
    object-fit: contain !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-specs, .sl-metrics) {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 14px !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-procons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.sl-editorial-article .sl-v511-mobile :where(.sl-pros, .sl-cons) {
    padding: 14px 15px !important;
    border: 1px solid #d9ddd8 !important;
    border-left-width: 4px !important;
    background: #fff !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-pros { border-left-color: #087c79 !important; }
  body.sl-editorial-article .sl-v511-mobile .sl-cons { border-left-color: #f06750 !important; }

  body.sl-editorial-article .sl-v511-mobile .sl-product-cta-wrap .sl-button {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    background: #072b3a !important;
    color: #fff !important;
    font-weight: 800 !important;
    text-align: center;
    box-shadow: 0 7px 16px rgba(7,43,58,.17);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-accordion-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0;
    padding: 13px 14px;
    border: 1px solid #d4dcda;
    border-radius: 9px;
    background: #f7f8f5;
    color: #173d4a;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    text-align: left;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-audit-accordion-toggle > span:last-child {
    font-size: 1.2rem;
    line-height: 1;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product .sl-audit-accordion-panel {
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-product .sl-audit-accordion-panel.is-audit-open {
    display: grid !important;
  }

  /* Checklist: una domanda alla volta, con testi interi e senza sovrapposizioni. */
  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic.is-mobile-wizard fieldset.is-current {
    display: block !important;
    margin: 0 0 12px;
    padding: 13px 0 5px;
    border: 0;
    background: transparent;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-diagnostic.is-mobile-wizard fieldset {
    display: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-diagnostic.is-mobile-wizard fieldset.is-current {
    display: block !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-progress {
    margin: 0 0 12px;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 16px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-wizard-nav button {
    min-height: 46px;
    padding: 10px 17px;
    border: 1px solid #087c79;
    text-decoration: none;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic legend {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    align-items: center;
    padding-bottom: 12px;
    font-size: .98rem;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__options label span {
    min-height: 0;
    height: auto;
    padding: 12px 13px;
    font-size: .86rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-wizard-nav {
    align-items: stretch;
    margin-top: 10px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-wizard-nav button {
    min-width: 108px;
    min-height: 46px;
    border-radius: 9px;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic {
    position: relative;
    padding: 20px 17px 18px !important;
    overflow: hidden;
    border: 1px solid #0c5d64 !important;
    border-top: 6px solid #ef735d !important;
    border-radius: 14px;
    background: linear-gradient(150deg, #eef8f4 0%, #fff8ec 100%) !important;
    box-shadow: 0 16px 36px rgba(6,45,74,.14) !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 92px;
    height: 6px;
    background: linear-gradient(90deg, #05283f, #087c79);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic > h2 {
    color: #062d4a;
    font-size: 1.38rem !important;
    line-height: 1.09;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__intro { color: #4f626a; }
  body.sl-editorial-article .sl-v511-mobile .sl-mobile-progress {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #062d4a;
    color: #fff;
    box-shadow: inset 3px 0 0 #ef735d;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic legend > span {
    background: #ef735d;
    box-shadow: 0 0 0 3px rgba(6,45,74,.13);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__options label span {
    border-color: #cfdbd6;
    border-radius: 9px;
    background: rgba(255,255,255,.9);
  }

  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__options input:checked + span {
    border-color: #07566b;
    background: linear-gradient(135deg, #062d4a 0%, #087c79 100%);
    box-shadow: inset 4px 0 0 #ef735d, 0 6px 15px rgba(6,45,74,.13);
    color: #fff;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-mobile-wizard-nav button:last-child,
  body.sl-editorial-article .sl-v511-mobile .sl-v5-diagnostic__submit {
    background: linear-gradient(135deg, #062d4a 0%, #07566b 100%);
    box-shadow: 0 7px 16px rgba(6,45,74,.16);
  }
}

/* Repeated and data-table V5 components: keep every accordion within the viewport. */
@media (max-width: 760px) {
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-audit-comparison-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-audit-comparison-table tbody,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-audit-comparison-table tr,
  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-comparison table.sl-audit-comparison-table .sl-audit-comparison-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria .sl-audit-criteria-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #d9e2de !important;
    border-radius: 0 !important;
    background: #fffefb !important;
    box-shadow: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria .sl-audit-criteria-card:last-child {
    border-bottom: 0 !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria .sl-audit-criteria-detail {
    display: none !important;
  }

  body.sl-editorial-article .sl-v511-mobile .sl-article--v5 .sl-v5-criteria .sl-audit-criteria-card.is-audit-open .sl-audit-criteria-detail {
    display: block !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border-top: 1px solid #d9e2de !important;
    background: #f3faf6 !important;
  }
}

@media (min-width: 761px) {
  .sl-v511-mobile :where(.sl-v6-section-nav, .sl-audit-product-nav, .sl-audit-accordion-toggle) { display: none !important; }
}
