/* Tema Matrix: si aggiunge al CSS originale senza sostituirlo. */
html { background: #03070d; }
body.matrix-login,
body.matrix-dashboard { background: #03070d !important; color: #eaf8f1; }
#matrix-rain {
  position: fixed; inset: 0; display: block;
  width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: .95;
}
/* Il contenuto rimane sempre davanti alla pioggia digitale. */
body.matrix-dashboard > :not(#matrix-rain):not(script),
body.matrix-login > :not(#matrix-rain):not(script) {
  position: relative; z-index: 1;
}
/* Mantiene il menu appiccicato in alto. */
body.matrix-dashboard > .menu-principale {
  position: sticky; top: 0; z-index: 25;
  background: rgba(6, 17, 27, .91) !important;
  border-bottom: 1px solid rgba(54, 224, 124, .28);
  backdrop-filter: blur(14px);
}
/* Leggibilità: pannelli opachi quanto basta sullo sfondo animato. */
body.matrix-dashboard details,
body.matrix-dashboard .preferiti,
body.matrix-dashboard .statistiche,
body.matrix-dashboard .gestione-link,
body.matrix-dashboard .footer {
  background-color: rgba(12, 25, 39, .90);
  border-color: rgba(61, 224, 134, .22);
}
body.matrix-dashboard details[open] { box-shadow: 0 0 0 1px rgba(62,223,125,.14), 0 14px 35px rgba(0,0,0,.22); }
body.matrix-dashboard .logo { color: #6aff9d !important; text-shadow: 0 0 16px rgba(77,255,146,.4); }
body.matrix-dashboard h1 { text-shadow: 0 0 22px rgba(73,230,139,.18); }
body.matrix-dashboard .testo-ai .nome-ai {
  color: #4dff74 !important;
  text-shadow: 0 0 7px rgba(47, 239, 101, .18);
}
body.matrix-dashboard .testo-ai .descrizione-ai { color: #fff !important; text-shadow: none; }

/* Pagina di accesso centrata, nello stile del video di riferimento. */
body.matrix-login {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; padding: 24px;
  box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif;
}
body.matrix-login > .matrix-access-panel {
  width: min(100%, 420px); box-sizing: border-box;
  margin: auto; padding: 32px 30px 25px;
  background: rgba(5, 13, 20, .89) !important;
  border: 1px solid rgba(98, 237, 153, .54);
  border-top: 3px solid #4aff8c;
  border-radius: 12px;
  color: #f3fff8; box-shadow: 0 0 48px rgba(0, 0, 0, .70), 0 0 30px rgba(0, 210, 100, .09);
  backdrop-filter: blur(12px);
}
.matrix-access-mark {
  color: #74f8b2; letter-spacing: .28em; font-size: 10px;
  text-align: center; font-weight: 700;
}
body.matrix-login h1 {
  margin: 13px 0 6px; padding: 0; color: #fff;
  font-family: Consolas, 'Courier New', monospace;
  text-align: center; font-size: clamp(27px, 7vw, 37px);
  letter-spacing: .05em; line-height: 1.2;
  text-shadow: 0 0 20px rgba(75,244,130,.26);
}
body.matrix-login h1 span { color: #49f889; }
.matrix-access-subtitle {
  text-align: center; color: #bdd2c7; font-size: 13px;
  margin: 0 0 25px;
}
.matrix-login-form { display: grid; gap: 9px; }
.matrix-login-form label {
  color: #adf2c9; font-size: 12px; letter-spacing: .04em;
  font-weight: 650; margin-top: 7px;
}
.matrix-login-form input {
  box-sizing: border-box; display: block; width: 100%; min-width: 0;
  padding: 12px 13px; border: 1px solid #456359;
  border-radius: 6px; background: rgba(2, 8, 13, .9);
  color: #fff; font-family: inherit; font-size: 16px; outline: none;
}
.matrix-login-form input:focus {
  border-color: #65ffab; box-shadow: 0 0 0 3px rgba(82, 255, 162, .16);
}
.matrix-login-form button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; margin-top: 14px; padding: 12px 18px;
  border: 1px solid #82ffc0; border-radius: 7px;
  background: linear-gradient(105deg, #0b7445, #1385a4);
  color: white; font-weight: 800; font-size: 14px;
  letter-spacing: .16em; cursor: pointer;
  box-shadow: 0 6px 24px rgba(10,163,98,.2);
}
.matrix-login-form button:hover { filter: brightness(1.17); }
.matrix-login-error {
  color: #ff9292 !important; border-left: 3px solid #ff616d;
  background: rgba(108, 24, 34, .22); font-size: 13px;
  padding: 10px 12px; border-radius: 3px;
}
.matrix-access-footer {
  margin: 24px 0 0; color: #8da89d;
  font: 10px Consolas, monospace; letter-spacing: .1em;
  text-align: center;
}
@media (max-width: 480px) {
  body.matrix-login { padding: 14px; }
  body.matrix-login > .matrix-access-panel { padding: 26px 20px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  #matrix-rain { opacity: .35; }
}
@media print {
  #matrix-rain { display: none !important; }
  body.matrix-dashboard { background: white !important; }
}


/* ==========================================
   MATRIX DASHBOARD v2 — stesso stile del login
   Tutte le regole sono limitate alla dashboard.
   ========================================== */
body.matrix-dashboard {
  --mx-ink: #eafff3;
  --mx-green: #53ff9d;
  --mx-border: rgba(83,255,157,.42);
  --mx-panel: rgba(3,13,19,.91);
  color: var(--mx-ink);
}

/* Intestazione iniziale, ispirata al pannello di accesso. */
body.matrix-dashboard .matrix-dashboard-hero {
  box-sizing: border-box;
  width: min(1050px, calc(100% - 32px));
  margin: 30px auto 28px;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px);
  text-align: center;
  background: var(--mx-panel) !important;
  border: 1px solid var(--mx-border);
  border-top: 3px solid #4aff8c;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0,0,0,.48), 0 0 32px rgba(49,235,125,.09);
  backdrop-filter: blur(14px);
}
body.matrix-dashboard .matrix-hero-eyebrow {
  color: #76fcb6; font: 700 11px/1.5 Consolas, 'Courier New', monospace;
  letter-spacing: .25em; margin: 0 0 16px;
}
body.matrix-dashboard .matrix-dashboard-hero h1 {
  margin: 0 0 12px;
  color: #f5fff8;
  font: 800 clamp(28px, 4.3vw, 52px)/1.2 Consolas, 'Courier New', monospace;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
}
body.matrix-dashboard .matrix-dashboard-hero h1 span {
  color: var(--mx-green); text-shadow: 0 0 18px rgba(57,247,132,.3);
}
body.matrix-dashboard .matrix-dashboard-hero #saluto {
  color: #c2ffe0; font-weight: 650; margin: 12px auto;
}
body.matrix-dashboard .matrix-dashboard-hero .matrix-hero-subtitle {
  color: #b9d2c9; font-size: clamp(14px, 1.6vw, 17px);
  margin: 8px auto;
}
body.matrix-dashboard .matrix-dashboard-hero #data-ora {
  color: #92dfc0; font: 13px/1.6 Consolas, 'Courier New', monospace;
  margin: 16px auto 0;
}

/* Riquadri: stesso nero traslucido con bordo luminoso del login. */
body.matrix-dashboard :is(.statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer),
body.matrix-dashboard details {
  background: var(--mx-panel) !important;
  border: 1px solid var(--mx-border) !important;
  border-top: 2px solid rgba(78,248,140,.77) !important;
  border-radius: 13px !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.30), 0 0 17px rgba(59,230,124,.055);
  backdrop-filter: blur(10px);
}
body.matrix-dashboard details { overflow: visible; min-width: 0; }
body.matrix-dashboard details[open] {
  box-shadow: 0 12px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(83,255,157,.19), 0 0 22px rgba(55,245,119,.10);
}

/* Titoli categorie e intestazioni: stampatello cyber, verde fosforescente. */
body.matrix-dashboard details > summary {
  color: var(--mx-green) !important;
  font: 700 clamp(17px, 1.4vw, 21px)/1.35 Consolas, 'Courier New', monospace !important;
  letter-spacing: .02em;
  text-shadow: 0 0 13px rgba(64,247,138,.2);
  cursor: pointer;
}
body.matrix-dashboard :is(.preferiti h2, .preferiti h3, .gestione-link h2, .intestazione-categorie h2) {
  color: var(--mx-green) !important;
  font-family: Consolas, 'Courier New', monospace !important;
  font-weight: 800 !important;
  text-shadow: 0 0 13px rgba(64,247,138,.18);
}
body.matrix-dashboard .statistica :is(p, .icona-statistica) {
  color: #ddffe8 !important;
  text-shadow: 0 0 9px rgba(62,234,130,.12);
}
body.matrix-dashboard .statistiche { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none; }

/* Pulsanti, ricerca e gestione dei collegamenti. */
body.matrix-dashboard :is(.preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca) button,
body.matrix-dashboard #stampa-pagina {
  background: linear-gradient(105deg, #076c43, #0a718a) !important;
  border: 1px solid rgba(117,255,177,.85) !important;
  border-radius: 7px !important;
  color: #f7fff9 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,.25);
}
body.matrix-dashboard :is(.preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca) button:hover,
body.matrix-dashboard #stampa-pagina:hover { filter: brightness(1.14); }
body.matrix-dashboard :is(#cerca, #nome-link, #indirizzo-link, #categoria-link) {
  background: rgba(0,8,14,.95) !important;
  color: #f0fff6 !important;
  border: 1px solid rgba(99,208,148,.65) !important;
  border-radius: 6px;
}
body.matrix-dashboard :is(#cerca, #nome-link, #indirizzo-link, #categoria-link):focus-visible {
  outline: 2px solid #64ffab; outline-offset: 2px;
}
body.matrix-dashboard :is(a, button, summary):focus-visible {
  outline: 2px solid #8effba; outline-offset: 3px;
}

/* Mantiene la resa Gabriola per i link; descrizioni tra parentesi bianche. */
body.matrix-dashboard .testo-ai { min-width: 0 !important; width: auto; }
body.matrix-dashboard .testo-ai .nome-ai {
  color: #4dff74 !important;
  font-family: Gabriola, Georgia, serif !important;
  font-size: 26px; font-weight: 700;
  overflow-wrap: normal; word-break: normal;
}
body.matrix-dashboard .testo-ai .descrizione-ai {
  color: #fff !important; font: 400 14px/1.4 Arial, sans-serif !important;
  overflow-wrap: normal; word-break: normal;
}

@media (max-width: 640px) {
  body.matrix-dashboard .matrix-dashboard-hero { width: calc(100% - 20px); margin: 16px auto 22px; }
  body.matrix-dashboard details > summary { font-size: 17px !important; }
  body.matrix-dashboard .testo-ai .nome-ai { font-size: 23px; }
}
@media print {
  body.matrix-dashboard :is(.matrix-dashboard-hero, .statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer, details) {
    background: white !important; color: #000 !important;
    border: 1px solid #bbb !important; box-shadow: none !important; backdrop-filter: none !important;
  }
  body.matrix-dashboard :is(details > summary, .matrix-dashboard-hero h1, .matrix-dashboard-hero h1 span, .testo-ai .nome-ai, .testo-ai .descrizione-ai) {
    color: #000 !important; text-shadow: none !important;
  }
}


/* Campo importazione backup: dimensioni compatte e colori Matrix. */
body.matrix-dashboard #importa-dati {
  display: inline-block !important;
  box-sizing: border-box !important;
  width: min(100%, 355px) !important;
  max-width: 355px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 8px 0 !important;
  padding: 5px 9px !important;
  background: rgba(1, 13, 15, .95) !important;
  color: #d4fce5 !important;
  border: 1px solid rgba(80, 239, 142, .70) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font: 13px/1.4 'Segoe UI', Arial, sans-serif !important;
  vertical-align: middle;
  cursor: pointer;
}
body.matrix-dashboard #importa-dati::file-selector-button {
  display: inline-block;
  box-sizing: border-box;
  margin: 0 11px 0 0;
  padding: 7px 12px;
  min-height: 0;
  height: auto;
  background: linear-gradient(110deg, #076c43, #0a718a) !important;
  color: #ffffff !important;
  border: 1px solid #62f5a0 !important;
  border-radius: 6px !important;
  font: 700 13px/1.3 'Segoe UI', Arial, sans-serif !important;
  cursor: pointer;
}
body.matrix-dashboard #importa-dati::file-selector-button:hover {
  filter: brightness(1.17);
}
body.matrix-dashboard #importa-dati:focus-visible {
  outline: 2px solid #77ffb1;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  body.matrix-dashboard #importa-dati {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==============================================================
   INFOTECH24 — MATRIX 3D / v3
   Sovrascrive solo l'aspetto, senza toccare login o funzioni.
   ============================================================== */
body.matrix-login,
body.matrix-dashboard {
  --mx3-green: #55ffac;
  --mx3-cyan: #42d9f5;
  --mx3-deep: #010b11;
  --mx3-edge: rgba(83, 255, 172, .65);
  --mx3-shadow: 0 26px 48px rgba(0, 0, 0, .56),
                0 10px 14px rgba(0, 0, 0, .36),
                inset 0 1px 0 rgba(183, 255, 223, .18),
                inset 1px 0 0 rgba(107, 241, 177, .11),
                inset 0 -2px 0 rgba(0, 0, 0, .45);
}

/* Pioggia digitale sul piano più arretrato. */
body.matrix-dashboard #matrix-rain,
body.matrix-login #matrix-rain { filter: saturate(1.16) contrast(1.1); }

/* Login: pannello a più livelli con riflesso e profondità. */
body.matrix-login > .matrix-access-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(104, 255, 180, .86) !important;
  border-top: 3px solid #86ffbc !important;
  border-radius: 19px !important;
  background: linear-gradient(149deg, rgba(15,39,42,.97) 0%, rgba(3,15,24,.97) 42%, rgba(1,9,15,.97) 100%) !important;
  box-shadow: var(--mx3-shadow),
              0 0 0 5px rgba(1, 19, 19, .7),
              0 0 48px rgba(43, 242, 147, .20),
              12px 16px 0 -8px rgba(12, 80, 67, .48) !important;
  transform: perspective(1100px) rotateX(1.3deg);
  transform-origin: 50% 50%;
}
body.matrix-login > .matrix-access-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 42%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(175,255,222,.12), rgba(25,132,115,.026) 43%, transparent 72%);
  z-index: -1;
}
body.matrix-login > .matrix-access-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(134,255,203,.12), inset 0 -26px 34px rgba(0,0,0,.26);
  z-index: -1;
}
body.matrix-login h1,
body.matrix-dashboard .matrix-dashboard-hero h1 {
  text-shadow: 0 2px 0 #003c2d, 0 6px 14px rgba(0,0,0,.7), 0 0 27px rgba(79,255,169,.28) !important;
}
body.matrix-login .matrix-login-form input {
  background: linear-gradient(180deg, #01090e, #061a21) !important;
  border: 1px solid rgba(106,193,160,.62) !important;
  box-shadow: inset 0 3px 8px rgba(0,0,0,.8), 0 1px 0 rgba(148,255,205,.08);
}
body.matrix-login .matrix-login-form input:focus {
  border-color: #80ffbe !important;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.48), 0 0 0 3px rgba(96,255,177,.16), 0 0 22px rgba(79,255,169,.16) !important;
}
body.matrix-login .matrix-login-form button {
  background: linear-gradient(155deg, #40e59b 0%, #0d936d 42%, #086779 100%) !important;
  border: 1px solid #8effc5 !important;
  border-bottom: 3px solid #07554d !important;
  color: #f7fffb !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.25), inset 0 -3px 9px rgba(0,30,40,.32), 0 9px 0 -4px #014b42, 0 15px 26px rgba(0,0,0,.40) !important;
}
body.matrix-login .matrix-login-form button:hover { transform: translateY(-3px); box-shadow: inset 0 2px 1px rgba(255,255,255,.25), 0 12px 0 -4px #014b42, 0 22px 30px rgba(0,0,0,.52) !important; }
body.matrix-login .matrix-login-form button:active { transform: translateY(2px); box-shadow: inset 0 2px 7px rgba(0,0,0,.3), 0 4px 0 -3px #014b42 !important; }

/* Tutti i pannelli dashboard: superficie sollevata, bordo smussato. */
body.matrix-dashboard :is(.matrix-dashboard-hero, .statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer),
body.matrix-dashboard details {
  position: relative;
  border-color: var(--mx3-edge) !important;
  border-top: 2px solid rgba(155,255,203,.9) !important;
  border-radius: 17px !important;
  background: linear-gradient(148deg, rgba(14,39,41,.97) 0%, rgba(4,19,26,.96) 32%, rgba(1,10,17,.97) 100%) !important;
  box-shadow: var(--mx3-shadow), 0 0 20px rgba(65,244,153,.09) !important;
  transform: translateZ(0);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
/* Mantiene il gruppo statistiche senza sfondo, come nel layout originario. */
body.matrix-dashboard .statistiche {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
/* Leggera elevazione 3D: senza inclinazioni che rovinano il testo. */
@media (hover: hover) and (pointer: fine) {
  body.matrix-dashboard :is(.statistica, .preferiti, .gestione-link, .matrix-dashboard-hero):hover,
  body.matrix-dashboard details:hover {
    transform: perspective(1300px) translateY(-5px) rotateX(.7deg);
    border-color: #8dffc8 !important;
    box-shadow: 0 33px 55px rgba(0,0,0,.63), 0 14px 15px rgba(0,0,0,.35),
                inset 0 1px 0 rgba(190,255,219,.28), 0 0 29px rgba(66,255,164,.19) !important;
  }
}
body.matrix-dashboard details[open] {
  box-shadow: 0 30px 55px rgba(0,0,0,.55), inset 0 1px 0 rgba(183,255,224,.2), 0 0 28px rgba(62,255,145,.15) !important;
}
/* Titoli impressi in rilievo. */
body.matrix-dashboard details > summary,
body.matrix-dashboard :is(.preferiti h2, .preferiti h3, .gestione-link h2, .intestazione-categorie h2) {
  color: #71ffb6 !important;
  text-shadow: 0 2px 1px rgba(0,0,0,.95), 0 0 15px rgba(66,255,145,.3) !important;
}
/* Collegamenti come piccoli pulsanti a profondità percepibile.
   La regola agisce sul link, non sui pulsanti preferiti/copia esterni. */
body.matrix-dashboard details a {
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 5px 11px rgba(0,0,0,.19);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.matrix-dashboard details a:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(166,255,208,.17), 0 10px 16px rgba(0,0,0,.3), 0 0 12px rgba(56,255,150,.11);
  }
}
/* Pulsanti in vero rilievo, mantenendo il file picker compatto. */
body.matrix-dashboard :is(.preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca) button,
body.matrix-dashboard #stampa-pagina,
body.matrix-dashboard #torna-su {
  background: linear-gradient(145deg, #23bf85 0%, #077d66 44%, #07617c 100%) !important;
  border: 1px solid rgba(128,255,194,.9) !important;
  border-bottom: 3px solid rgba(2,64,62,.95) !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.20), inset 0 -3px 7px rgba(0,42,46,.25), 0 7px 0 -4px #014a48, 0 13px 20px rgba(0,0,0,.32) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.matrix-dashboard :is(.preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca) button:hover,
  body.matrix-dashboard :is(#stampa-pagina, #torna-su):hover { transform: translateY(-2px); filter: brightness(1.1); }
}
body.matrix-dashboard :is(.preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca) button:active,
body.matrix-dashboard :is(#stampa-pagina, #torna-su):active { transform: translateY(2px); }
body.matrix-dashboard :is(#cerca, #nome-link, #indirizzo-link, #categoria-link) {
  box-shadow: inset 0 3px 10px rgba(0,0,0,.6), 0 1px 0 rgba(185,255,225,.08) !important;
}
body.matrix-dashboard #importa-dati {
  background: linear-gradient(180deg,#071d22,#010d12) !important;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.5), 0 4px 8px rgba(0,0,0,.16) !important;
  border-color: rgba(128,255,194,.8) !important;
}
body.matrix-dashboard #importa-dati::file-selector-button {
  background: linear-gradient(145deg, #23bf85, #087a6c 50%, #075d77) !important;
  border: 1px solid #9bffd0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 7px rgba(0,0,0,.29) !important;
}
body.matrix-dashboard .testo-ai .nome-ai {
  color: #69ff9d !important;
  text-shadow: 0 2px 1px rgba(0,0,0,.7), 0 0 11px rgba(69,255,127,.20) !important;
}
body.matrix-dashboard .testo-ai .descrizione-ai { color: #ffffff !important; text-shadow: none !important; }

@media (prefers-reduced-motion: reduce) {
  body.matrix-login > .matrix-access-panel,
  body.matrix-dashboard :is(.matrix-dashboard-hero, .statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer, details),
  body.matrix-dashboard details a,
  body.matrix-dashboard button,
  body.matrix-login button { transition: none !important; transform: none !important; }
}
@media (max-width: 640px) {
  body.matrix-login > .matrix-access-panel { transform: none; }
  body.matrix-dashboard :is(.matrix-dashboard-hero, .statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer, details) { border-radius: 12px !important; }
}
@media print {
  body.matrix-dashboard :is(.matrix-dashboard-hero, .statistica, .preferiti, .gestione-link, .intestazione-categorie, .contenitore-ricerca, .footer, details) {
    transform: none !important; box-shadow: none !important; background: white !important; border: 1px solid #bbb !important;
  }
  body.matrix-dashboard details a { transform: none !important; box-shadow: none !important; }
}


/* ============================================================
   INFOTECH24 — IMMAGINE NEL RIQUADRO BENVENUTO
   Sfondo solo nel pannello iniziale, non nel resto della dashboard.
   ============================================================ */
body.matrix-dashboard .matrix-dashboard-hero {
  background-image:
    linear-gradient(90deg, rgba(1, 10, 19, .88) 0%, rgba(1, 12, 25, .66) 52%, rgba(1, 10, 19, .74) 100%),
    url("sfondo2.jpg") !important;
  background-color: #051421 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-color: rgba(59, 224, 235, .65) !important;
  border-top-color: #60f9be !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .60),
              inset 0 1px 0 rgba(169, 253, 255, .17),
              0 0 29px rgba(0, 190, 236, .14) !important;
}
body.matrix-dashboard .matrix-dashboard-hero :is(h1, p) {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.72) !important;
}
body.matrix-dashboard .matrix-dashboard-hero h1 span {
  text-shadow: 0 3px 6px rgba(0, 0, 0, .95), 0 0 18px rgba(45, 245, 136, .7) !important;
}
@media (max-width: 640px) {
  body.matrix-dashboard .matrix-dashboard-hero {
    background-position: 55% center !important;
  }
}
@media print {
  body.matrix-dashboard .matrix-dashboard-hero {
    background-image: none !important;
    background-color: #fff !important;
    color: #000 !important;
  }
}
