/* LE PAGINE A PARTE DEL GESTIONALE CON LA GRAFICA NUOVA (22/10/2026)
   Chi chiamare, Marketing, Accessi, Archivio, Carica documenti: stessa testata della pagina con
   la chat (Chat · Oggi · Cerca · Gestionale), carattere di sistema, fondo bianco. La testata la
   mette testata.js; qui il vestito. */
:root { --blu: #5a31f4; --blu-tenue: #efeafe; }
html, body { background: #fff !important; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased; }
h1 { font-weight: 600 !important; letter-spacing: -.02em !important; }

.nt {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px;
  height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid #e6e6ea; color: #1d1d1f;
}
.nt__marchio { flex: 0 0 auto; font-weight: 700; letter-spacing: .08em; font-size: 14px; color: #1d1d1f; text-decoration: none; }
.nt__schede { flex: 1 1 auto; display: flex; justify-content: center; gap: 4px; min-width: 0; }
.nt__schede a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: #6e6e73; text-decoration: none; white-space: nowrap;
}
.nt__schede a:hover { color: #1d1d1f; }
.nt__schede a.attiva { background: #f5f5f7; color: #1d1d1f; }
.nt__aggiorna { flex: 0 0 auto; border: 0; background: none; color: var(--blu); font: inherit; font-size: 14px; font-weight: 500;
  height: 34px; padding: 0 10px; border-radius: 10px; cursor: pointer; }
.nt__aggiorna:hover { background: var(--blu-tenue); }
@media (max-width: 600px) {
  .nt { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .nt__marchio, .nt__aggiorna { display: none; }
  .nt__schede { justify-content: flex-start; gap: 0; }
  .nt__schede a { padding: 0 8px; font-size: 14.5px; }
}

/* niente nero: la cartella scelta dell'archivio prende il grigio chiaro, come il menu del gestionale */
.cart.qui { background: #f5f5f7 !important; color: #1d1d1f !important; }
.cart.qui * { color: inherit !important; }

/* la vecchia freccia «torna al gestionale»: ora c'e la testata */
a[aria-label="Torna al gestionale"] { display: none !important; }
