/* Cortex: leggibilità e tocco su telefono (26/11/2026).
   Vale solo sotto i 760 px. Alza i testi sotto i 12 px e allarga i punti da toccare.
   Il layout delle pagine non cambia. */
@media (max-width: 760px) {
  /* Intestazione: lingua, accesso, menu */
  html body .rs .lang-switch, html body .rs.lang-switch { gap: 0; }
  html body .rs .lang-switch button, html body .rs.lang-switch button { font-size: 13px; min-width: 40px; min-height: 44px; padding: 0; }
  html body .rs .rsx-actions .cx-login-btn { font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
  html body .rs .rsx-burger, html body .rs.rsx-burger { width: 44px; height: 44px; align-items: center; padding: 0; }

  /* Piè di pagina */
  html body .rs .cf-footer .cf-family-title, html body .rs.cf-footer .cf-family-title { font-size: 13px; }
  html body .rs .cf-footer .cf-family-links, html body .rs.cf-footer .cf-family-links { gap: 4px 22px; }
  html body .rs .cf-footer .cf-family-links a, html body .rs.cf-footer .cf-family-links a { font-size: 14px; display: inline-block; padding: 10px 0; }
  html body .rs .cf-footer .cf-column h3, html body .rs.cf-footer .cf-column h3 { font-size: 13px; }
  html body .rs .cf-footer .cf-column ul, html body .rs.cf-footer .cf-column ul { gap: 2px; }
  html body .rs .cf-footer .cf-column li > a, html body .rs.cf-footer .cf-column li > a { font-size: 15px; padding: 9px 0; }
  html body .rs .cf-footer .cf-description, html body .rs.cf-footer .cf-description,
  html body .rs .cf-footer .cf-location, html body .rs.cf-footer .cf-location,
  html body .rs .cf-footer .cf-skynetlab-description, html body .rs.cf-footer .cf-skynetlab-description,
  html body .rs .cf-footer .cf-copyright, html body .rs.cf-footer .cf-copyright { font-size: 13px; line-height: 1.7; }
  html body .rs .cf-footer .cf-ai-note p, html body .rs.cf-footer .cf-ai-note p { font-size: 12.5px; line-height: 1.75; }
  html body .rs .cf-footer .cf-legal-links, html body .rs.cf-footer .cf-legal-links { gap: 2px 20px; }
  html body .rs .cf-footer .cf-legal-links a, html body .rs.cf-footer .cf-legal-links a { font-size: 13px; display: inline-block; padding: 10px 0; }

  /* Pagine prodotto (Team, Med, IUS, CATA, Note, Synchronia) */
  html body .rs .product-breadcrumb, html body .rs.product-breadcrumb { font-size: 12.5px; }
  html body .rs .product-breadcrumb a, html body .rs.product-breadcrumb a { display: inline-block; padding: 10px 0; }
  html body .rs .product-status, html body .rs.product-status { font-size: 12px; }
  html body .rs .product-actions .inline-link, html body .rs.product-actions .inline-link { font-size: 14px; display: inline-block; padding: 12px 0; }
  html body .rs .product-actions .button, html body .rs.product-actions .button { font-size: 14px; }
  html body .rs .product-related small, html body .rs.product-related small { font-size: 12px; }
  html body .rs .pcata-access-grid p, html body .rs.pcata-access-grid p,
  html body .rs .pcata-hero-art > p, html body .rs.pcata-hero-art > p { font-size: 14px; line-height: 1.7; }
  html body .rs .case-tab, html body .rs.case-tab { font-size: 13px; min-height: 48px; }
  html body .vertical-tab-text, html body .vertical-tab-scope, html body .vertical-tab-phase { font-size: 12px; }
  html body .section-kicker, html body .card-num, html body .scheda-label, html body .hero-cta .tag { font-size: 12px; }
  html body article.step p { font-size: 14px; }
  /* Solo le celle e le voci che erano sotto i 12 px: le altre tabelle restano come sono */
  html body .deflist td:first-child, html body .legal-table th, html body .cmp-table thead th,
  html body .scheda-tabella th, html body .syn-research-notes dd, html body .sustain-context dt,
  html body .sustain-context dd { font-size: 12.5px !important; }

  /* Casi d'uso */
  html body .uc-eyebrow, html body .uc-block-label { font-size: 12.5px; }
  html body .uc-legal-mini a { font-size: 13px; display: inline-block; padding: 10px 0; }
  html body .uc-badge { padding-block: 10px; }

  /* Pagine legali e testi lunghi */
  html body .eyebrow, html body .legal-meta { font-size: 12px; }
  html body .cmp-card h4 { font-size: 12.5px; }

  /* Collegamenti isolati più facili da toccare */
  html body .rs .hero-guide, html body .rs .text-link, html body .rs .vertical-source-link,
  html body .rs .vertical-footer > a, html body .rs .video-text-link { padding-block: 10px; }

  /* Etichette e note sparse: queste regole hanno !important perché nei fogli
     originali le stesse classi hanno selettori più specifici. Solo dimensione del testo. */
  html body .product-kicker, html body .section-kicker, html body .card-num, html body .scheda-label,
  html body .step-number, html body .case-sources, html body .team-card .who, html body .team-path-step strong,
  html body .med-case-flow b, html body .ius-case-flow b, html body .med-reading-topics span,
  html body .ius-corpus-etichetta, html body .product-note, html body .microcopy { font-size: 12px !important; }
  html body .rs-disclaimer p, html body .pc-click, html body .pc-click a, html body .plan-description,
  html body .plan-foot, html body .pricing-notes p,
  html body .ius-sheet-row p, html body .syn-resource-links a, html body .uc-badge,
  html body .pcata-scope-note p { font-size: 13px !important; }
  html body .scenario-tabs button { font-size: 12px !important; min-height: 44px; }
  html body .faq-list details > a.inline-link { display: inline-block; padding-block: 10px; }

  /* Home: passaggi, schede dei verticali, collegamenti dell'apertura e chat dimostrativa */
  html body article.step p, html body .memory-record p { font-size: 14px !important; }
  html body .vertical-tab-text, html body .vertical-tab-scope, html body .vertical-tab-phase,
  html body .case-sources span, html body .continuity-label, html body .continuity-label span,
  html body .assistant-tab, html body .message small { font-size: 12px !important; }
  html body .hero-guide, html body .text-link, html body .hero-ctas .button,
  html body .message p, html body .model-principle { font-size: 13px !important; }
}

/* 26/11/2026 (pomeriggio): intestazione su telefono. Il menu a tre righe e' fissato a destra e largo 44 px;
   prima lingua e accesso (o il cerchio dell'account) gli finivano sopra sotto i 390 px. Ora la loro fila
   tiene sempre 8 px di distanza dal menu: 44 + 8 = 52 px di margine a destra. */
@media (max-width: 760px) {
  html body .rs .rsx-actions, html body .rs.rsx-actions { margin-right: 52px; gap: 6px; }
  html body .rs .lang-switch button, html body .rs.lang-switch button { min-width: 32px; }
  html body #cx-user-area { margin: 0; padding: 0; min-width: 0; width: auto; }
  html body #cx-user-area .cx-avatar { width: 36px; height: 36px; }
  html body .rs .rsx-actions .cx-login-btn { padding: 0 4px; }
  /* Rete di sicurezza per il testo ingrandito dalle impostazioni del telefono: se lo spazio non basta si
     accorcia la scritta del marchio, non si sovrappongono lingua, account e menu. */
  html body .rs .rsx-brand, html body .rs.rsx-brand { flex-shrink: 1; min-width: 0; overflow: hidden; }
  html body .rs .rsx-brand img, html body .rs.rsx-brand img { flex-shrink: 0; }
  html body .rs .rsx-brand span, html body .rs.rsx-brand span { white-space: nowrap; overflow: hidden; }
}
@media (max-width: 380px) {
  html body .rs .rsx-inner, html body .rs.rsx-inner { gap: 10px; }
}
@media (max-width: 359px) {
  html body .rs .rsx-brand span { letter-spacing: .16em; }
  html body .rs .lang-switch button, html body .rs.lang-switch button { min-width: 28px; }
  html body .rs .rsx-actions .cx-login-btn { padding: 0; }
}
