/*
    Italsoft / Quanto - stile della vetrina in home page (topic HomepageText) e piccoli adattamenti del tema.
    Collegato a tutte le pagine tramite Impostazioni > SEO > tag personalizzati <head> (seosettings.customheadtags).
    Tutte le classi della vetrina hanno il prefisso isq- per non interferire con il tema.
*/

/* ---------- colori del tema: accento Italsoft al posto del celeste di nopCommerce ---------- */
:root {
    --accent-blue-color: #FE0000;
    --accent-blue-active-color: #D10000;

    --isq-brand: #FE0000;       /* rosso della Q di Quanto (banner della home) */
    --isq-brand-dark: #D10000;  /* lo stesso rosso, più scuro: passaggio del mouse */
    --isq-brand-deep: #E50000;  /* sfondo rosso sotto scritte bianche: pulsante demo e carrello (contrasto 4,85:1; #FE0000 si ferma a 4:1) */
    --isq-brand-deep-hover: #C80000;
    --isq-tile-radius: 6px;     /* angoli dei quadretti dell'illustrazione del banner (10 px su 72), in scala */
    --isq-ink: #1d2327;
    --isq-ink-soft: #4a545b;
    --isq-line: var(--isq-mainbar-line);   /* bordi sottili: lo stesso grigio della riga della barra principale dal 9/11/2026 (prima #e3e7ea, grigio freddo) */
    --isq-surface: #ffffff;
    --isq-surface-alt: var(--isq-mainbar);   /* fondi grigi (tabelle e riquadri delle pagine licenze e rinnovi): lo stesso grigio della barra principale dal 9/11/2026 (prima #f5f7f8, grigio freddo) */
    --isq-hero-from: #1d2327;
    --isq-hero-to: #3a2328;
    --isq-topbar: #285A88;   /* barra superiore: blu acciaio del banner della home (qh-hero) */
    --isq-topbar-ink: rgba(255, 255, 255, .9);
    --isq-mainbar: #F1F1F1;  /* barra principale: grigio chiaro neutro dal 9/11/2026 (prima azzurro #E3ECF5, poi ardesia #D6DBE0 e #E5E9EC); usato anche da pie' di pagina, riquadro "Novita'", sottomenu, carrello */
    --isq-mainbar-line: #DADADA;   /* riga sotto la barra principale e bordi collegati, grigio neutro (prima #CCDAE8, poi ardesia #BFC6CD e #CED4D9) */

    /* colori dei prodotti (pagine prodotto), gli stessi della home e delle notizie dall'8/11/2026 (prima #1f5fbf, #7a3cc8, #12866f, #d9480f) */
    --isq-erp: #2F80ED;
    --isq-bi: #9B6FE0;
    --isq-bank: #1E9E50;
    --isq-fem: #F28A3C;

    --isq-radius: 14px;
    --isq-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 8px 24px rgba(16, 24, 32, .08);

    --isq-navy: #163758;        /* blu notte del banner */
    --isq-menu-ink: #000000;    /* voci del menu */
    --isq-font: "Mulish", Arial, Helvetica, sans-serif;
}

/* ---------- carattere: Mulish per tutti i testi del sito ----------
   File nel plugin (Content/fonts, SIL Open Font License), nessun collegamento a Google.
   Variabile: un solo file per tutti i pesi da 200 a 1000. Escluse la scritta "Quanto" del banner (logo, carattere QuantoAdv)
   e i codici di licenza (licenses.css, .isq-lic-code, a spaziatura fissa). !important perche' il tema imposta Arial
   su molti selettori piu' specifici, e il banner della home ha i suoi caratteri. */
@font-face {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url("fonts/mulish-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url("fonts/mulish-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body,
body *:not(.qh-hero .brand):not(.qh-hero .brand *):not(.isq-lic-code):not(.isq-mark):not(.isq-mark *):not(.isq-footer-srl) { font-family: var(--isq-font) !important; }

/* ---------- intestazione (content\theme\Views\Shared\_Header.cshtml, classe isq-head) ----------
   barra scura con contatti e link di servizio, barra bianca con logo, menu e pulsante demo.
   Su schermi larghi l'intestazione resta in alto scorrendo la pagina: la barra scura esce di scena (top negativo).
   Gli sfondi a tutta larghezza sono pseudo-elementi con box-shadow + clip-path: niente scroll orizzontale
   e i menu a tendina non vengono tagliati. Prefisso .master-wrapper-page: questo file e' caricato prima del tema. */
.master-wrapper-page .isq-head {
    --isq-topbar-h: 40px;
    z-index: 50;
    margin-bottom: 32px;
    text-align: left;
}
.master-wrapper-page .isq-head svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* icone della barra superiore otticamente allineate al testo: centrate sull'altezza delle maiuscole (1 px piu' in alto),
   cornetta rimpicciolita (il disegno occupa 20 unita' su 24, la busta 14); le cuffie restano nella posizione originale */
.master-wrapper-page .isq-head .header-upper svg { transform: translateY(-1px); }
.master-wrapper-page .isq-head-contacts a[href^="tel:"] svg { width: 12px; height: 12px; }
.master-wrapper-page .isq-head .header-upper .isq-head-support svg { transform: none; }

/* barra superiore */
.master-wrapper-page .isq-head .header-upper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 24px;
    min-height: var(--isq-topbar-h);
    border: 0;
    color: var(--isq-topbar-ink);
    font-size: 13px;
}
.master-wrapper-page .isq-head .header-upper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--isq-topbar);
    box-shadow: 0 0 0 100vmax var(--isq-topbar);
    clip-path: inset(0 -100vmax);
}
/* lingua e valuta nascoste (il sito e' in italiano e in euro) */
.master-wrapper-page .isq-head .header-selectors-wrapper { display: none; }
/* a destra: assistenza remota, poi accesso e carrello (il bordo destro coincide con il pulsante demo);
   tra assistenza remota e accesso 55 px (22 px di spaziatura + 33 px) */
.master-wrapper-page .isq-head .header-links-wrapper { margin-left: auto; }
.master-wrapper-page .isq-head-support { margin-right: 33px; }
/* il clearfix del tema (::after) in una riga flex diventerebbe un elemento vuoto in fondo, con 24 px di spaziatura */
.master-wrapper-page .isq-head .header-upper::after { display: none; }
.master-wrapper-page .isq-head-contacts,
.master-wrapper-page .isq-head .header-links-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; float: none; padding: 0; }
.master-wrapper-page .isq-head .header-upper a,
.master-wrapper-page .isq-head .header-links a,
.master-wrapper-page .isq-head .header-links span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--isq-topbar-ink);
    font-size: 13px;
    line-height: var(--isq-topbar-h);
    text-transform: none;
    transition: color .15s ease;
}
.master-wrapper-page .isq-head .header-upper a:hover,
.master-wrapper-page .isq-head .header-upper a:focus { color: #fff; }
.master-wrapper-page .isq-head .header-links ul { display: flex; gap: 0 22px; }
.master-wrapper-page .isq-head .header-links li { margin: 0; }
.master-wrapper-page .isq-head #topcartlink { display: block; width: auto; margin: 0; padding: 0; background: none; text-transform: none; }
.master-wrapper-page .isq-head #topcartlink a { padding: 0; background: none; }
/* carrello: icona a forma di carrello disegnata a linee, sul fondo della barra superiore, con il numero nel cestello, dopo la scritta.
   Il numero arriva senza parentesi dalla risorsa ShoppingCart.HeaderQuantity (sql\cart_quantity_490.sql). */
.master-wrapper-page .isq-head #topcartlink a::before { content: none; }
.master-wrapper-page .isq-head #topcartlink .cart-qty {
    width: 30px;
    min-width: 30px;
    height: 24px;
    padding: 6px 0 0 3px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M1 3h3.2l1.6 2.4' fill='none' stroke='%23ffffff' stroke-opacity='.9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 5.5h22l-2.6 10.5H8.2z' fill='none' stroke='%23ffffff' stroke-opacity='.9' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20.5' r='1.9' fill='%23ffffff' fill-opacity='.9'/%3E%3Ccircle cx='23' cy='20.5' r='1.9' fill='%23ffffff' fill-opacity='.9'/%3E%3C/svg%3E") center / 30px 24px no-repeat;
    color: var(--isq-topbar-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 10px;
    font-variant-numeric: tabular-nums;
}

/* link utente della barra superiore (HeaderLinks):
   - ospiti: solo "Accedi"; il carrello si vede solo dopo l'accesso (la lista contiene .ico-login solo per gli ospiti)
   - registrati: solo icone, nell'ordine profilo, carrello, esci; le scritte restano per i lettori di schermo */
.master-wrapper-page .isq-head .header-links ul:has(.ico-login) #topcartlink { display: none; }
.master-wrapper-page .isq-head .header-links li:has(.ico-account) { order: 1; }
.master-wrapper-page .isq-head .header-links #topcartlink { order: 2; }
.master-wrapper-page .isq-head .header-links #topcartlink a { height: var(--isq-topbar-h); align-items: center; }
.master-wrapper-page .isq-head .header-links li:has(.ico-logout) { order: 3; }
.master-wrapper-page .isq-head .header-links .cart-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.master-wrapper-page .isq-head .header-links a.ico-account,
.master-wrapper-page .isq-head .header-links a.ico-logout { font-size: 0; gap: 0; }
.master-wrapper-page .isq-head .header-links a.ico-account::before,
.master-wrapper-page .isq-head .header-links a.ico-logout::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
}
.master-wrapper-page .isq-head .header-links a.ico-account::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.master-wrapper-page .isq-head .header-links a.ico-logout::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* barra principale */
.master-wrapper-page .isq-head .header-lower {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 6px 0;
}
.master-wrapper-page .isq-head .header-lower::before,
.master-wrapper-page .isq-head .header-lower::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}
.master-wrapper-page .isq-head .header-lower::before {
    top: 0;
    bottom: 0;
    background: var(--isq-mainbar);
    box-shadow: 0 0 0 100vmax var(--isq-mainbar);
    clip-path: inset(0 -100vmax);
}
.master-wrapper-page .isq-head .header-lower::after {
    bottom: 0;
    height: 1px;
    background: var(--isq-mainbar-line);
    box-shadow: 0 0 0 100vmax var(--isq-mainbar-line);
    clip-path: inset(0 -100vmax);
}
.master-wrapper-page .isq-head .header-logo { display: block; flex: none; margin: 0; font-size: 0; }
.master-wrapper-page .isq-head .header-logo a img { height: 40px; width: auto; transition: opacity .15s ease; }
.master-wrapper-page .isq-head .header-logo a:hover img { opacity: .85; }
.master-wrapper-page .store-search-box:not(:has(input)) { display: none; }
/* ricerca nascosta nella barra principale (campo e pulsante) */
.master-wrapper-page .isq-head .store-search-box { display: none; }

.master-wrapper-page .isq-head .header-menu { flex: 1; width: auto; max-width: none; margin: 0; padding: 0; border: 0; }
.master-wrapper-page .isq-head .header-menu:not(:has(.menu__item)) { visibility: hidden; }
.master-wrapper-page .isq-head-cta {
    flex: none;
    padding: 11px 20px;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-brand-deep);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .15s ease, transform .15s ease;
}
.master-wrapper-page .isq-head-cta:hover,
.master-wrapper-page .isq-head-cta:focus { background: var(--isq-brand-deep-hover); color: #fff; transform: translateY(-1px); }

@media (min-width: 1001px) {
    /* altezza della barra principale, per gli altri elementi fissi in alto (es. riepilogo licenze) */
    :root { --isq-sticky-top: 74px; }
    .master-wrapper-page .isq-head { position: sticky; top: calc(-1 * var(--isq-topbar-h)); }
    .master-wrapper-page .isq-head .header-upper { height: var(--isq-topbar-h); }
    /* logo allineato alla Q di "Quanto" nel banner della home (content\homepage.html, .qh-hero):
       la Q sta a circa 191 px su 1920 della larghezza della finestra (9.95vw); il banner e' largo 100vw,
       la barra e' centrata nella pagina (50% = meta' della sua larghezza); 10 px = margine bianco a sinistra nell'immagine del logo.
       Se si sposta il logo nel banner, ricalcolare 9.95vw. */
    .master-wrapper-page .isq-head .header-logo { margin-left: calc(9.95vw - 50vw + 50% - 10px); }
    /* telefono ed email della barra superiore allineati allo stesso punto (inizio della scritta del logo) */
    .master-wrapper-page .isq-head-contacts { margin-left: calc(9.95vw - 50vw + 50%); }
    /* a destra: pulsante demo e link della barra superiore finiscono dove finisce il quadretto rosso dell'illustrazione
       del banner, all'81.91% della larghezza della finestra (a fine animazione). Se cambia l'illustrazione, ricalcolare 31.91vw (= 81.91 - 50). */
    .master-wrapper-page .isq-head-cta { margin-right: calc(50% - 31.91vw); }
    /* i link della barra superiore 8 px piu' a sinistra del pulsante demo */
    .master-wrapper-page .isq-head .header-links-wrapper { margin-right: calc(50% - 31.91vw + 8px); }

    .master-wrapper-page .isq-head .menu-container { padding: 0; }
    /* voci del menu accanto al logo (non piu' spinte a destra), in minuscolo;
       -30 px: l'immagine del logo ha circa 48 px vuoti a destra della scritta */
    .master-wrapper-page .isq-head .header-menu { margin-left: -30px; }
    .master-wrapper-page .isq-head .menu { flex-wrap: nowrap; justify-content: flex-start; font-size: 14px; white-space: nowrap; overflow: visible; }
    .master-wrapper-page .isq-head .menu > .menu__item { position: relative; padding: 0; background: transparent; border: 0; }
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__link,
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__item-toggle > .menu__link {
        padding: 22px 12px 18px;   /* testo 2 px piu' in basso del centro della barra; il sottomenu si apre sempre sotto la voce */
        color: var(--isq-menu-ink);
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__link::after,
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__item-toggle > .menu__link::before {
        content: none;   /* niente linea sotto la voce al passaggio del mouse: cambia solo il colore */
    }
    /* l'ultima voce si allinea al bordo destro della pagina */
    .master-wrapper-page .isq-head .menu > .menu__item:last-child > .menu__link { padding-right: 0; }
    .master-wrapper-page .isq-head .menu > .menu__item:hover > .menu__link,
    .master-wrapper-page .isq-head .menu > .menu__item:hover > .menu__item-toggle > .menu__link { color: var(--isq-brand); }
    /* "Il mio profilo" (solo dopo l'accesso, sql\menu_access_490.sql): solo l'icona del busto; il testo resta per i lettori di schermo */
    .master-wrapper-page .isq-head .menu > .menu__item > a.menu__link[href$="/customer/info"] { display: inline-flex; align-items: center; font-size: 0; padding-inline: 10px; }
    .master-wrapper-page .isq-head .menu > .menu__item > a.menu__link[href$="/customer/info"]::before {
        content: "";
        display: block;
        width: 22px;
        height: 22px;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    /* freccia delle voci con sottomenu */
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__item-toggle > .menu__link::after {
        content: "";
        width: 8px;
        height: 5px;
        margin-left: -4px;
        background: var(--isq-brand);
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }

    /* sottomenu (es. Soluzioni): stesso azzurro della barra principale, senza pallini;
       al passaggio del mouse barretta rossa a sinistra e testo rosso.
       !important sul colore del bordo: il tema lo colora di rosso con una regola piu' forte */
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__list-view {
        top: calc(100% - 6px);
        left: 0;
        min-width: 300px;
        max-width: 340px;
        padding: 8px 0;
        background: var(--isq-mainbar);
        border: 1px solid var(--isq-mainbar-line);
        border-color: var(--isq-mainbar-line) !important;
        border-radius: var(--isq-tile-radius);
        box-shadow: 0 8px 20px rgba(22, 55, 88, .12);
        transform: translateY(8px);
    }
    .master-wrapper-page .isq-head .menu > .menu__item:hover > .menu__list-view,
    .master-wrapper-page .isq-head .menu > .menu__item:focus-within > .menu__list-view { transform: translateY(0); }
    .master-wrapper-page .isq-head .menu__list-view .menu__item { padding: 0; margin-block: 0; background: transparent; }
    .master-wrapper-page .isq-head .menu__list-view .menu__link {
        padding: 10px 18px;
        border-radius: 0;
        color: var(--isq-menu-ink);
        font-size: 14px;
        font-weight: 500;
        transition: color .15s ease, box-shadow .15s ease;
    }
    .master-wrapper-page .isq-head .menu__list-view .menu__link::before { content: none; }
    .master-wrapper-page .isq-head .menu__list-view .menu__link:hover,
    .master-wrapper-page .isq-head .menu__list-view .menu__link:focus-visible {
        background: transparent;
        box-shadow: inset 3px 0 0 var(--isq-brand);
        color: var(--isq-brand);
    }
}

/* tra la Q e il quadretto rosso c'e' il 72% della finestra: sotto i 1600 px il menu si stringe per starci */
@media (min-width: 1367px) and (max-width: 1599px) {
    .master-wrapper-page .isq-head .header-lower { gap: 18px; }
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__link,
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__item-toggle > .menu__link { padding-inline: 9px; }
}
@media (min-width: 1001px) and (max-width: 1366px) {
    .master-wrapper-page .isq-head .header-lower { gap: 14px; }
    .master-wrapper-page .isq-head .header-logo a img { height: 32px; }
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__link,
    .master-wrapper-page .isq-head .menu > .menu__item > .menu__item-toggle > .menu__link { padding-inline: 7px; font-size: 14px; }
    .master-wrapper-page .isq-head-cta { padding: 10px 14px; font-size: 13px; }
}
/* schermi piccoli da computer: non c'e' spazio per gli allineamenti al banner; intestazione nei 980 px del tema */
@media (min-width: 1001px) and (max-width: 1199px) {
    .master-wrapper-page .isq-head .header-logo,
    .master-wrapper-page .isq-head-contacts { margin-left: 0; }
    .master-wrapper-page .isq-head-cta,
    .master-wrapper-page .isq-head .header-links-wrapper { margin-right: 0; }
}

@media (max-width: 1000px) {
    .master-wrapper-page .isq-head { width: auto; margin-inline: 16px; }
    .master-wrapper-page .isq-head .header-upper { justify-content: center; padding: 6px 0; }
    .master-wrapper-page .isq-head .header-upper a,
    .master-wrapper-page .isq-head .header-links a,
    .master-wrapper-page .isq-head .header-links span { line-height: 30px; }
    .master-wrapper-page .isq-head .header-lower { justify-content: space-between; gap: 16px; padding: 12px 0; }
    .master-wrapper-page .isq-head .header-logo { flex: 0 1 auto; min-width: 0; }
    .master-wrapper-page .isq-head .header-logo a img { height: auto; max-height: 34px; max-width: 100%; }
    /* 18/11/2026: pulsante "Richiedi una demo" anche su tablet e telefono, nella riga del logo, prima del pulsante "Menu"
       (prima nascosto) */
    .master-wrapper-page .isq-head-cta { order: 1; margin-left: auto; padding: 10px 14px; font-size: 13px; white-space: nowrap; }

    /* il pulsante "Menu" resta accanto al logo; le voci si aprono sotto, a tutta larghezza */
    .master-wrapper-page .isq-head .header-menu { flex: none; position: static; order: 2; }
    .master-wrapper-page .isq-head .menu-container { display: block; position: static; }
    .master-wrapper-page .isq-head .menu__toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        width: auto;
        padding: 10px 14px;
        border-radius: var(--isq-tile-radius);
        background: var(--isq-navy);
        font-size: 13px;
        letter-spacing: .08em;
    }
    .master-wrapper-page .isq-head .menu__toggle:hover,
    .master-wrapper-page .isq-head .menu-dropdown--active > .menu__toggle { background: var(--isq-topbar); }
    /* icona a tre righe */
    .master-wrapper-page .isq-head .menu__toggle::after {
        content: "";
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
    }
    .master-wrapper-page .isq-head .menu-container > .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 4px 0;
        border: 1px solid var(--isq-mainbar-line);
        border-color: var(--isq-mainbar-line) !important; /* il tema lo colora di rosso con una regola piu' forte */
        border-top: 0;
        border-radius: 0 0 var(--isq-tile-radius) var(--isq-tile-radius);
        background: var(--isq-mainbar);
        box-shadow: 0 8px 20px rgba(22, 55, 88, .12);
    }
    .master-wrapper-page .isq-head .menu-container.menu-dropdown--active > .menu { display: block; }
    /* voci come su computer: azzurro della barra principale, testo nero, righe sottili; voce attiva con barretta rossa */
    .master-wrapper-page .isq-head .menu .menu__item { margin-block: 0; background: transparent; }
    .master-wrapper-page .isq-head .menu > .menu__item { box-shadow: 0 1px 0 var(--isq-mainbar-line); }
    .master-wrapper-page .isq-head .menu > .menu__item:last-child { box-shadow: none; }
    .master-wrapper-page .isq-head .menu .menu__list-view { background: transparent; }
    .master-wrapper-page .isq-head .menu .menu__link,
    .master-wrapper-page .isq-head .menu .menu__item-toggle { color: var(--isq-menu-ink); font-weight: 500; }
    .master-wrapper-page .isq-head .menu .menu__list-view .menu__link { padding-left: 32px; font-size: 14px; }
    .master-wrapper-page .isq-head .menu .menu__link::before { content: none; }
    .master-wrapper-page .isq-head .menu .menu__link:hover,
    .master-wrapper-page .isq-head .menu .menu__link:focus-visible {
        background: transparent;
        box-shadow: inset 3px 0 0 var(--isq-brand);
        color: var(--isq-brand);
    }
}

/* telefono (18/11/2026): logo, "Richiedi demo" e "Menu" nella stessa riga. Pulsante demo piu' compatto e senza "una";
   "Menu" solo con l'icona a tre righe (la scritta resta per i lettori di schermo); il logo si stringe per lo spazio che resta */
@media (max-width: 600px) {
    .master-wrapper-page .isq-head .header-lower { gap: 10px; }
    .master-wrapper-page .isq-head-cta { padding: 9px 11px; font-size: 12px; }
    .master-wrapper-page .isq-head-cta-long { display: none; }
    .master-wrapper-page .isq-head .menu__toggle { gap: 0; padding: 10px 11px; font-size: 0; letter-spacing: 0; }
    .master-wrapper-page .isq-head .menu__toggle::after { margin-block: 5px; }
}

/* barra superiore su telefono: una sola riga.
   A sinistra telefono ed email solo come icone (il numero e l'indirizzo restano nel link per i lettori di schermo);
   a destra "Assistenza" (scritta accorciata) e Accedi, o le icone profilo / carrello / esci dopo l'accesso.
   Icone 18 px in aree da 40 px, comode da toccare. Su computer e tablet la barra non cambia. */
@media (max-width: 767px) {
    .master-wrapper-page .isq-head .header-upper { flex-wrap: nowrap; justify-content: space-between; gap: 8px; padding: 0; }
    .master-wrapper-page .isq-head-contacts { gap: 0; flex: none; }
    .master-wrapper-page .isq-head .header-upper .isq-head-contacts a {
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 0;
        line-height: 0;
    }
    .master-wrapper-page .isq-head .header-upper .isq-head-contacts a svg,
    .master-wrapper-page .isq-head .header-upper .isq-head-contacts a[href^="tel:"] svg { width: 18px; height: 18px; transform: none; }
    .master-wrapper-page .isq-head .header-upper .isq-head-contacts a[href^="tel:"] svg { width: 16px; height: 16px; }
    .master-wrapper-page .isq-head .header-links-wrapper { flex-wrap: nowrap; gap: 0 16px; margin-left: 0; }
    .master-wrapper-page .isq-head .header-upper a.isq-head-support { margin-right: 0; font-size: 0; gap: 7px; }
    .master-wrapper-page .isq-head .header-upper a.isq-head-support::after { content: "Assistenza"; font-size: 13px; }
    .master-wrapper-page .isq-head .header-links ul { gap: 0 16px; }
    .master-wrapper-page .isq-head .header-upper a,
    .master-wrapper-page .isq-head .header-links a,
    .master-wrapper-page .isq-head .header-links span { line-height: 40px; }
}

/* la home page non mostra il titolo del topic */
.html-home-page .topic-block-title { display: none; }
.html-home-page .topic-block { margin: 0; }

/* ---------- base della vetrina ---------- */
.master-wrapper-page .isq {
    color: var(--isq-ink);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.master-wrapper-page .isq *, .master-wrapper-page .isq *::before, .master-wrapper-page .isq *::after { box-sizing: border-box; }
/* tutte le regole della vetrina hanno il prefisso .master-wrapper-page: questo file e' caricato prima del CSS del tema
   e deve battere le sue regole per i topic (.topic-page p, ul, a); il reset viene prima dei componenti */
.master-wrapper-page .isq h1, .master-wrapper-page .isq h2, .master-wrapper-page .isq h3,
.master-wrapper-page .isq p, .master-wrapper-page .isq ul { margin: 0; padding: 0; text-align: left; }
.master-wrapper-page .isq ul { list-style: none; }
.master-wrapper-page .isq a, .master-wrapper-page .isq a:hover, .master-wrapper-page .isq a:focus { text-decoration: none; }
.master-wrapper-page .isq-hero > *, .master-wrapper-page .isq-phero > *, .master-wrapper-page .isq-detail > *, .master-wrapper-page .isq-cards > *, .master-wrapper-page .isq-features > * { min-width: 0; }
.master-wrapper-page .isq section { margin: 0 0 56px; }

.master-wrapper-page .isq-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--isq-brand);
    margin-bottom: 10px;
}
.master-wrapper-page .isq-section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.master-wrapper-page .isq-section-head h2 { font-size: 30px; line-height: 1.25; font-weight: 700; margin-bottom: 12px; }
.master-wrapper-page .isq-section-head p { color: var(--isq-ink-soft); font-size: 17px; }
/* sezione Soluzioni della home: occhiello, titolo e testo a sinistra, allineati al bordo sinistro delle schede (le altre sezioni restano centrate);
   stacco dal banner come tra le altre sezioni (56 px, 40 px fino a 600 px) e titolo piu' piccolo (24 px, 20 px fino a 600 px) */
.master-wrapper-page #soluzioni .isq-section-head { margin-left: 0; margin-right: auto; text-align: left; }
.master-wrapper-page #soluzioni { padding-top: 56px; }
.master-wrapper-page #soluzioni .isq-section-head h2 { font-size: 24px; }
@media (max-width: 600px) {
    .master-wrapper-page #soluzioni { padding-top: 40px; }
    .master-wrapper-page #soluzioni .isq-section-head h2 { font-size: 20px; }
}
/* da 1200 px la sezione Soluzioni (titolo e schede) va dal bordo sinistro del logo Italsoft al bordo destro del pulsante "Richiedi una demo",
   come le pagine Notizie e Contatti */
@media (min-width: 1200px) {
    .master-wrapper-page #soluzioni { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    /* testo sotto il titolo su una riga: niente limite di 720 px; 14 px fino a 1399 px (a 1200 px ci sono 864 px), 16 px da 1400 px */
    .master-wrapper-page #soluzioni .isq-section-head { max-width: none; }
    .master-wrapper-page #soluzioni .isq-section-head p { font-size: 14px; }
}
@media (min-width: 1400px) {
    .master-wrapper-page #soluzioni .isq-section-head p { font-size: 16px; }
}
/* da 1200 px anche i riquadri dei dettagli dei prodotti in home vanno dal logo Italsoft al pulsante "Richiedi una demo", con i bordi delle schede Soluzioni */
@media (min-width: 1200px) {
    .html-home-page .master-wrapper-page section.isq-detail { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}
/* sezione "Perche' Quanto" (punti di forza, la sezione con .isq-values) come Soluzioni: occhiello e titolo a sinistra, titolo a 24 px
   (20 px fino a 600 px), da 1200 px dal logo Italsoft al pulsante "Richiedi una demo" */
.html-home-page .master-wrapper-page section:has(> .isq-values) .isq-section-head { margin-left: 0; margin-right: auto; text-align: left; }
.html-home-page .master-wrapper-page section:has(> .isq-values) .isq-section-head h2 { font-size: 24px; }
@media (max-width: 600px) {
    .html-home-page .master-wrapper-page section:has(> .isq-values) .isq-section-head h2 { font-size: 20px; }
}
@media (min-width: 1200px) {
    .html-home-page .master-wrapper-page section:has(> .isq-values) { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    /* invito finale ("Vuoi vedere Quanto all'opera?"): stessi bordi delle altre sezioni */
    .html-home-page .master-wrapper-page section.isq-cta { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}

/* ---------- pulsanti ---------- */
.master-wrapper-page .isq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--isq-tile-radius);   /* stessa forma del pulsante "Richiedi una demo" dell'intestazione */
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.master-wrapper-page .isq-btn:hover { transform: translateY(-1px); }
/* pulsante principale ("Richiedi una demo") come quello dell'intestazione: rosso scuro, testo bianco, ovunque */
.master-wrapper-page .isq-btn--primary,
.master-wrapper-page .isq-cta .isq-btn--primary,
.master-wrapper-page .isq-phero .isq-btn--primary { background: var(--isq-brand-deep); color: #fff; }
.master-wrapper-page .isq-btn--primary:hover,
.master-wrapper-page .isq-btn--primary:focus-visible,
.master-wrapper-page .isq-cta .isq-btn--primary:hover,
.master-wrapper-page .isq-phero .isq-btn--primary:hover { background: var(--isq-brand-deep-hover); color: #fff; }
.master-wrapper-page .isq-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.master-wrapper-page .isq-btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
/* invito finale: "Chiama 02 2825895" con l'icona del telefono e il numero, fondo trasparente e contorno bianco, non cliccabile (8-9/11/2026).
   Icona disegnata con una maschera (stesso telefono del pie' di pagina) nel colore del testo */
.master-wrapper-page .isq-cta .isq-btn--ghost,
.master-wrapper-page .isq-cta .isq-btn--ghost:hover { background: none; box-shadow: inset 0 0 0 1.5px #fff; color: #fff; text-decoration: none !important; }
/* solo informativo (9/11/2026): cliccando non succede nulla (niente chiamata) e non si muove ne' cambia al passaggio del mouse */
.master-wrapper-page .isq-cta .isq-btn--ghost { pointer-events: none; cursor: default; transform: none !important; transition: none; }
.master-wrapper-page .isq-cta .isq-btn--ghost::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- hero ---------- */
.master-wrapper-page .isq-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 56px 48px;
    border-radius: calc(var(--isq-radius) + 6px);
    background:
        radial-gradient(circle at 85% 15%, rgba(254, 0, 0, .45), transparent 45%),
        linear-gradient(135deg, var(--isq-hero-from), var(--isq-hero-to));
    color: #fff;
    overflow: hidden;
}
.master-wrapper-page .isq-hero .isq-eyebrow { color: #ff8a9b; }
.master-wrapper-page .isq-hero h1 { font-size: 42px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; color: #fff; }
.master-wrapper-page .isq-hero p { font-size: 18px; color: rgba(255, 255, 255, .82); margin-bottom: 28px; max-width: 540px; }
.master-wrapper-page .isq-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.master-wrapper-page .isq-hero-visual { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

/* in home page l'apertura va a tutta larghezza, attaccata all'intestazione: il contenuto resta allineato alla pagina */
.html-home-page .master-wrapper-page { overflow-x: clip; }
.html-home-page .master-wrapper-page .isq-head { margin-bottom: 0; }
.html-home-page .master-wrapper-page .isq-hero {
    margin-inline: calc(50% - 50vw);
    padding: 80px max(24px, calc(50vw - 50%)) 88px;
    border-radius: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(254, 0, 0, .55), transparent 42%),
        radial-gradient(circle at 10% 110%, rgba(254, 0, 0, .25), transparent 40%),
        linear-gradient(120deg, var(--isq-hero-from) 0%, #2a1d22 55%, #4a1220 100%);
}
.html-home-page .master-wrapper-page .isq-hero h1 { font-size: 48px; }

/* ---------- schede prodotto ---------- */
.master-wrapper-page .isq-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.master-wrapper-page .isq-card {
    --isq-accent: var(--isq-brand);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 22px;
    background: var(--isq-surface);
    /* cornice sottile e pulita nel colore del prodotto, come le notizie (niente barra in alto: col bordo faceva una riga doppia) */
    border: 2px solid var(--isq-accent);
    border-color: var(--isq-accent) !important;   /* il tema colora di rosso i bordi con una regola piu' forte */
    border-radius: var(--isq-radius);
    box-shadow: var(--isq-shadow);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.master-wrapper-page .isq-card:hover {
    transform: translateY(-4px);
    background: color-mix(in srgb, var(--isq-accent) 5%, var(--isq-surface));
    box-shadow: 0 2px 4px rgba(16, 24, 32, .06), 0 16px 36px rgba(16, 24, 32, .14);
}
/* colori dei prodotti scelti per le notizie (pagina Notizie, carosello, riquadro "Novita'") */
.master-wrapper-page .isq-card--erp { --isq-accent: #2F80ED; }
.master-wrapper-page .isq-card--bi { --isq-accent: #9B6FE0; }
.master-wrapper-page .isq-card--bank { --isq-accent: #1E9E50; }
.master-wrapper-page .isq-card--fem { --isq-accent: #F28A3C; }
.master-wrapper-page .isq-card--fisco { --isq-accent: #1AA8CC; }
.master-wrapper-page .isq-card--b2b { --isq-accent: #D64A7E; }   /* Quanto B2B (13/11/2026): rosa lampone */
/* scritte piccole nel colore del prodotto scurito di poco, leggibili anche per arancione e azzurro */
.master-wrapper-page .isq-card .isq-tag,
.master-wrapper-page .isq-card .isq-link { color: color-mix(in srgb, var(--isq-accent) 78%, #1d2327); }
.master-wrapper-page .isq-card .isq-link:hover { color: var(--isq-ink); }

.master-wrapper-page .isq-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    color: var(--isq-accent);
    background: color-mix(in srgb, var(--isq-accent) 12%, transparent);
}
.master-wrapper-page .isq-icon svg { width: 26px; height: 26px; }
.master-wrapper-page .isq-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--isq-accent); margin-bottom: 4px; }
.master-wrapper-page .isq-card h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin-bottom: 10px; }
.master-wrapper-page .isq-card p { color: var(--isq-ink-soft); font-size: 15px; margin-bottom: 16px; }
.master-wrapper-page .isq-card ul { margin-bottom: 20px; }
.master-wrapper-page .isq-card li, .master-wrapper-page .isq-detail li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 7px;
    font-size: 15px;
}
.master-wrapper-page .isq-card li::before, .master-wrapper-page .isq-detail li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .5em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--isq-accent);
    border-bottom: 2px solid var(--isq-accent);
    transform: rotate(-45deg);
}
.master-wrapper-page .isq-link { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--isq-accent); }
.master-wrapper-page .isq-link:hover { color: var(--isq-ink); }
.master-wrapper-page .isq-link span { display: inline-block; transition: transform .15s ease; }
.master-wrapper-page .isq-link:hover span { transform: translateX(3px); }

/* ---------- dettaglio prodotto ---------- */
.master-wrapper-page .isq-detail {
    --isq-accent: var(--isq-brand);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: calc(var(--isq-radius) + 6px);
    background: var(--isq-surface-alt);
    scroll-margin-top: 24px;
}
.master-wrapper-page .isq-detail--reverse .isq-detail-visual { order: -1; }
/* sezioni di dettaglio della home: stessi colori dei prodotti delle schede "Soluzioni" e delle notizie */
.master-wrapper-page .isq-detail--erp { --isq-accent: #2F80ED; }
.master-wrapper-page .isq-detail--bi { --isq-accent: #9B6FE0; }
.master-wrapper-page .isq-detail--bank { --isq-accent: #1E9E50; }
.master-wrapper-page .isq-detail--fem { --isq-accent: #F28A3C; }
.master-wrapper-page .isq-detail--fisco { --isq-accent: #1AA8CC; }
.master-wrapper-page .isq-detail--b2b { --isq-accent: #D64A7E; }
/* collegamenti in fondo ai riquadri di dettaglio della home (10/11/2026): "Scopri di piu'" verso la pagina del prodotto e, per
   Fatture Elettroniche Manager, "Vai al portale" accanto */
.master-wrapper-page .isq-detail .isq-detail-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; }
.master-wrapper-page .isq-detail .isq-eyebrow,
.master-wrapper-page .isq-detail .isq-link { color: color-mix(in srgb, var(--isq-accent) 78%, #1d2327); }
.master-wrapper-page .isq-detail h2 { font-size: 28px; line-height: 1.25; font-weight: 700; margin-bottom: 14px; }
.master-wrapper-page .isq-detail p { color: var(--isq-ink-soft); margin-bottom: 18px; }
.master-wrapper-page .isq-detail ul { columns: 2; column-gap: 24px; margin-bottom: 4px; }
.master-wrapper-page .isq-detail li { break-inside: avoid; }
.master-wrapper-page .isq-detail-visual {
    border-radius: var(--isq-radius);
    background: var(--isq-surface);
    box-shadow: var(--isq-shadow);
    padding: 18px;
}
.master-wrapper-page .isq-detail-visual svg { width: 100%; height: auto; display: block; color: var(--isq-accent); }
/* dettagli dei prodotti in home con l'immagine delle notizie (.isq-news-row-ill, disegno di Views/News/_NewsIllustration.cshtml copiato in
   content/homepage.html): niente riquadro bianco intorno, immagine a tutta larghezza, accento nel colore del prodotto */
/* sfondo del riquadro nella tinta chiara del prodotto (7%, come il passaggio del mouse sulle righe delle notizie) */
.master-wrapper-page .isq-detail { --isq-news-color: var(--isq-accent); background: color-mix(in srgb, var(--isq-accent) 7%, #fff); }
.master-wrapper-page .isq-detail-visual:has(> .isq-news-row-ill) { padding: 0; background: none; box-shadow: none; }
.master-wrapper-page .isq-detail-visual > .isq-news-row-ill { width: 100%; border-radius: var(--isq-radius); box-shadow: 0 18px 40px rgba(22, 55, 88, .22); }

/* ---------- punti di forza ---------- */
.master-wrapper-page .isq-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.master-wrapper-page .isq-value { padding: 22px; border-radius: var(--isq-radius); border: 1px solid var(--isq-line); background: var(--isq-surface); }
.master-wrapper-page .isq-value strong { display: block; font-size: 17px; margin-bottom: 6px; }
.master-wrapper-page .isq-value span { color: var(--isq-ink-soft); font-size: 15px; }
.master-wrapper-page .isq-value .isq-icon { --isq-accent: var(--isq-brand); width: 40px; height: 40px; margin-bottom: 12px; }
.master-wrapper-page .isq-value .isq-icon svg { width: 22px; height: 22px; }

/* ---------- invito finale ---------- */
.master-wrapper-page .isq-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border-radius: calc(var(--isq-radius) + 6px);
    /* blu del banner della home (prima rosso: con il pulsante demo rosso non si sarebbe distinto) */
    background: linear-gradient(118deg, var(--isq-navy), var(--isq-topbar));
    color: #fff;
}
.master-wrapper-page .isq-cta h2 { font-size: 26px; line-height: 1.25; margin-bottom: 6px; color: #fff; }
.master-wrapper-page .isq-cta p { color: rgba(255, 255, 255, .88); }
.master-wrapper-page .isq-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* invito finale "Vuoi vedere Quanto ...?" della home e delle pagine prodotto (10/11/2026, prima solo la home) grigio come il modulo di Contatti (--isq-mainbar con il bordo
   grigio sottile --isq-mainbar-line), angoli di prima, piu' basso (22 px sopra e sotto invece di 36); testo grigio,
   Sotto, a 24 px, il riquadro "Non sei ancora rivenditore?" (.isq-cta--reseller) con le stesse misure
   e gli stessi pulsanti, ma bianco con la cornice rossa sottile delle schede "Perche' Quanto". Domande 20 px semi-grassetto e "Chiama" nel blu acceso #1D5AA1 */
.master-wrapper-page .isq-cta {
    padding-top: 22px;
    padding-bottom: 22px;
    background: var(--isq-mainbar);
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line);
    color: var(--isq-navy);
}
.html-home-page .master-wrapper-page .isq-cta.isq-cta--reseller { background: #fff; box-shadow: inset 0 0 0 1px var(--isq-brand); }
.master-wrapper-page .isq-cta h2 { font-size: 20px; font-weight: 600; color: #1D5AA1; }   /* domande a 20 px semi-grassetto (prima normale) come i titoli delle pagine (prima 26 px, come nelle pagine prodotto), nel blu acceso delle icone di Contatti (10/11/2026, prima blu notte) */
.master-wrapper-page .isq-cta p { color: var(--isq-ink-soft); }
.master-wrapper-page .isq-cta .isq-btn--ghost,
.master-wrapper-page .isq-cta .isq-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #1D5AA1; color: #1D5AA1; }   /* blu acceso come le domande (prima blu notte) */
.html-home-page .master-wrapper-page section.isq-cta:has(+ section.isq-cta--reseller) { margin-bottom: 24px; }
/* titoletto dei due riquadri ("PER AZIENDE E RIVENDITORI / Entra nel mondo Quanto", sezione .isq-home-join, 10/11/2026): come
   "Perche' Quanto", occhiello e titolo a sinistra, titolo a 24 px (20 px fino a 600 px), da 1200 px dal logo Italsoft al pulsante
   "Richiedi una demo"; i riquadri seguono subito sotto */
.html-home-page .master-wrapper-page section.isq-home-join { margin-bottom: 0; }
.html-home-page .master-wrapper-page section.isq-home-join .isq-section-head { margin-left: 0; margin-right: auto; text-align: left; }
.html-home-page .master-wrapper-page section.isq-home-join .isq-section-head h2 { font-size: 24px; }
@media (max-width: 600px) {
    .html-home-page .master-wrapper-page section.isq-home-join .isq-section-head h2 { font-size: 20px; }
}
@media (min-width: 1200px) {
    .html-home-page .master-wrapper-page section.isq-home-join { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}
/* da 701 px testo a sinistra (va a capo), pulsanti a destra in una colonna larga uguale in tutti i riquadri (quanto i due pulsanti,
   allineati a destra); in home i due riquadri hanno anche la stessa altezza minima (quella del riquadro dei rivenditori, il cui testo
   va su due righe). Sotto i 701 px pulsanti sotto il testo */
@media (min-width: 701px) {
    .master-wrapper-page .isq-cta { flex-wrap: nowrap; }
    .html-home-page .master-wrapper-page .isq-cta { min-height: 126px; }
    .master-wrapper-page .isq-cta > div:first-child { flex: 1 1 auto; min-width: 0; }
    .master-wrapper-page .isq-cta > .isq-cta-actions { flex: 0 0 auto; width: 240px; justify-content: flex-end; }
}
@media (min-width: 1001px) {
    .master-wrapper-page .isq-cta > .isq-cta-actions { width: 420px; }   /* i due pulsanti sulla stessa riga */
}

/* ---------- pagine prodotto (topic con <div class="isq isq-product isq-product--...">) ---------- */
.topic-page:has(.isq-product) .page-title { display: none; }
.master-wrapper-page .isq-product { --isq-accent: var(--isq-brand); }
.master-wrapper-page .isq-product--erp { --isq-accent: var(--isq-erp); }
.master-wrapper-page .isq-product--bi { --isq-accent: var(--isq-bi); }
.master-wrapper-page .isq-product--bank { --isq-accent: var(--isq-bank); }
.master-wrapper-page .isq-product--fem { --isq-accent: var(--isq-fem); }
.master-wrapper-page .isq-product--fisco { --isq-accent: #1AA8CC; }   /* Quanto Adempimenti Fiscali (10/11/2026): celeste delle notizie "fisco" */
.master-wrapper-page .isq-product--b2b { --isq-accent: #D64A7E; }   /* Quanto B2B (13/11/2026): rosa lampone */

.master-wrapper-page .isq-crumbs { font-size: 14px; color: var(--isq-ink-soft); margin-bottom: 18px; }
.master-wrapper-page .isq-crumbs a { color: var(--isq-ink-soft); }
.master-wrapper-page .isq-crumbs a:hover { color: var(--isq-accent); }
.master-wrapper-page .isq-crumbs span { margin: 0 6px; opacity: .5; }

.master-wrapper-page .isq-phero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    border-radius: calc(var(--isq-radius) + 6px);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 45%),
        linear-gradient(135deg, color-mix(in srgb, var(--isq-accent) 55%, #10161a), var(--isq-accent));
    color: #fff;
}
.master-wrapper-page .isq-phero .isq-eyebrow { color: rgba(255, 255, 255, .8); }
.master-wrapper-page .isq-phero h1 { font-size: 40px; line-height: 1.15; font-weight: 800; margin-bottom: 16px; color: #fff; }
.master-wrapper-page .isq-phero p { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 26px; }
.master-wrapper-page .isq-phero .isq-detail-visual { box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
/* riquadro in alto delle pagine prodotto come i riquadri dei dettagli della home (8/11/2026): tinta chiara del prodotto (7% su bianco),
   testi scuri, occhiello nel colore del prodotto scurito, immagine delle notizie senza cornice bianca; pulsante secondario bianco */
.master-wrapper-page .isq-product .isq-phero { --isq-news-color: var(--isq-accent); background: color-mix(in srgb, var(--isq-accent) 7%, #fff); color: var(--isq-ink); }
.master-wrapper-page .isq-product .isq-phero .isq-eyebrow { color: color-mix(in srgb, var(--isq-accent) 78%, #1d2327); }
.master-wrapper-page .isq-product .isq-phero h1 { color: var(--isq-ink); }
.master-wrapper-page .isq-product .isq-phero p { color: var(--isq-ink-soft); }
.master-wrapper-page .isq-product .isq-phero .isq-btn--ghost { background: #fff; color: var(--isq-navy); box-shadow: inset 0 0 0 1px var(--isq-mainbar-line); }
.master-wrapper-page .isq-product .isq-phero .isq-btn--ghost:hover { background: var(--isq-mainbar); color: var(--isq-navy); }
.master-wrapper-page .isq-product .isq-phero .isq-detail-visual:has(> .isq-news-row-ill) { padding: 0; background: none; box-shadow: none; }
/* passi di "Come si parte": stessa tinta chiara del prodotto al posto del grigio */
.master-wrapper-page .isq-product .isq-step { background: color-mix(in srgb, var(--isq-accent) 7%, #fff); }
/* pagine prodotto allineate come la home (9/11/2026): titoli delle sezioni a sinistra a 24 px (20 px fino a 600 px); da 1200 px tutto il
   contenuto (percorso, riquadro in alto, sezioni, invito finale) dal logo Italsoft al pulsante "Richiedi una demo" */
.html-topic-page .master-wrapper-page .isq-product .isq-section-head { margin-left: 0; margin-right: auto; text-align: left; max-width: none; }   /* senza il limite di 720 px (10/11/2026): il sottotitolo sta su una riga quando c'e' spazio */
.html-topic-page .master-wrapper-page .isq-product .isq-section-head h2 { font-size: 24px; }
@media (max-width: 600px) {
    .html-topic-page .master-wrapper-page .isq-product .isq-section-head h2 { font-size: 20px; }
}
@media (min-width: 1200px) {
    .html-topic-page .master-wrapper-page .isq-product { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}

.master-wrapper-page .isq-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.master-wrapper-page .isq-features--2 { grid-template-columns: repeat(2, 1fr); }   /* quattro funzionalita' su due righe da due (Adempimenti Fiscali) */
.master-wrapper-page .isq-feature {
    padding: 24px 22px;
    border-radius: var(--isq-radius);
    border: 1px solid var(--isq-line);
    border-top: 4px solid var(--isq-accent);
    background: var(--isq-surface);
}
.master-wrapper-page .isq-feature h3 { font-size: 18px; line-height: 1.3; font-weight: 700; margin-bottom: 8px; }
.master-wrapper-page .isq-feature p { color: var(--isq-ink-soft); font-size: 15px; }

/* funzionalita' per modulo (Quanto Gestione Aziendale, 16/11/2026, al posto di nove .isq-feature uguali): un riquadro per modulo uno sotto
   l'altro, bordo sottile su tutto il riquadro, intestazione grigia con icona, nome e frase del modulo; sopra le due colonne le scritte
   "Vantaggi principali" e "Funzionalita'" in rosso chiaro; a sinistra i tre vantaggi della brochure (bianchi, cornice rosso chiaro, titoli
   rossi), a destra le funzionalita' in piccoli riquadri due per riga (rosa appena accennato, cornice grigio scuro). Colori di Quanto: il rosso
   della Q e della brochure al posto del colore del prodotto. Titoli meno marcati (650 e 600). Stile provato su Contabilita' e poi esteso a
   tutti i moduli, "In tutti i moduli" compreso (prima vantaggi rosa e funzionalita' bianche con bordo grigio chiaro; "In tutti i moduli" grigio).
   Colori dei bordi con !important: il tema colora di rosso tutti i bordi (*, ::before, ::after con !important) */
.master-wrapper-page .isq-modules { display: grid; gap: 18px; --isq-accent: var(--isq-brand-dark); }
.master-wrapper-page .isq-module { border: 1px solid var(--isq-line) !important; border-radius: var(--isq-radius); background: #fff; overflow: hidden; }
.master-wrapper-page .isq-module-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: var(--isq-surface-alt); border-bottom: 1px solid var(--isq-line) !important; }
.master-wrapper-page .isq-module-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--isq-brand) 9%, #fff); color: var(--isq-accent); }
.master-wrapper-page .isq-module-ico svg { width: 24px; height: 24px; }   /* icone piu' grandi (prima cerchio 38 px e disegno 19 px) */
/* cerchio dell'icona blu (il blu della barra superiore) con il disegno in bianco (prima cerchio rosa e disegno rosso) */
.master-wrapper-page .isq-module-head .isq-module-ico { background: var(--isq-topbar); color: #fff; }
.master-wrapper-page .isq-module-head h3 { font-size: 19px; line-height: 1.3; font-weight: 650; }
.master-wrapper-page .isq-module-head p { color: var(--isq-ink-soft); font-size: 15px; line-height: 1.45; }
.master-wrapper-page .isq-module-body { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 22px; }
/* scritte discrete sopra le due colonne: piccole, maiuscole, rosso chiaro (prima grigio #9aa1a6, poi #7d858b) */
.master-wrapper-page .isq-module-label { display: block; margin-bottom: 8px; font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--isq-brand) 65%, #fff); }
/* vantaggi: fondo bianco, cornice rosso chiaro, titolo rosso */
.master-wrapper-page .isq-module-feats { display: grid; gap: 10px; align-content: start; }
.master-wrapper-page .isq-module-feat { padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--isq-brand) 35%, #fff) !important; }
.master-wrapper-page .isq-module-feat h4 { margin: 0 0 3px; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--isq-brand-dark); }
.master-wrapper-page .isq-module-feat p { color: var(--isq-ink-soft); font-size: 14px; line-height: 1.5; }
/* funzionalita': rosa appena accennato (rosso della Q al 3%), cornice grigio scuro */
.master-wrapper-page .isq-module-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.master-wrapper-page .isq-module-list li { display: flex; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--isq-ink-soft) !important; background: color-mix(in srgb, var(--isq-brand) 3%, #fff); font-size: 14px; line-height: 1.45; }
/* nessun effetto al passaggio del mouse sui riquadri dei moduli (tolto il 16/11/2026 su richiesta: prima la cornice si scuriva con un'ombra leggera) */
@media (max-width: 900px) {
    .master-wrapper-page .isq-module-body { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
    .master-wrapper-page .isq-module-head { padding: 12px 16px; align-items: flex-start; }
    .master-wrapper-page .isq-module-body { padding: 16px; }
    .master-wrapper-page .isq-module-list { grid-template-columns: 1fr; }
}

.master-wrapper-page .isq-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: isq-step; }
.master-wrapper-page .isq-step { position: relative; padding: 24px 22px 22px 74px; border-radius: var(--isq-radius); background: var(--isq-surface-alt); }
.master-wrapper-page .isq-step::before {
    counter-increment: isq-step;
    content: counter(isq-step);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: var(--isq-accent);
}
.master-wrapper-page .isq-step strong { display: block; font-size: 17px; margin-bottom: 4px; }
.master-wrapper-page .isq-step span { color: var(--isq-ink-soft); font-size: 15px; }

.master-wrapper-page .isq-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.master-wrapper-page .isq-related .isq-card { color: var(--isq-ink); }
.master-wrapper-page .isq-related .isq-card h3 { font-size: 17px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .master-wrapper-page .isq-cards, .master-wrapper-page .isq-values { grid-template-columns: repeat(2, 1fr); }
    .master-wrapper-page .isq-features { grid-template-columns: repeat(2, 1fr); }
}
/* schede Soluzioni della home: dal 13/11/2026 sei prodotti (aggiunto Quanto B2B), da 1101 px su due righe da tre (griglia di 6 colonne,
   ogni scheda ne prende 2). Con cinque prodotti (10/11/2026, aggiunto Quanto Adempimenti Fiscali) erano due schede larghe sopra e tre sotto.
   Fino a 1100 px due colonne e l'ultima scheda, se rimane sola, prende tutta la riga.
   Schede compattate in altezza: icona a sinistra di etichetta e nome, spaziature ridotte */
@media (min-width: 1101px) {
    .master-wrapper-page #soluzioni .isq-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 20px; }
    .master-wrapper-page #soluzioni .isq-cards > * { grid-column: span 2; }
}
@media (min-width: 601px) and (max-width: 1100px) {
    .master-wrapper-page #soluzioni .isq-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.master-wrapper-page #soluzioni .isq-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: 14px;
    align-content: start;
    padding: 18px 20px 16px;
}
.master-wrapper-page #soluzioni .isq-card > * { grid-column: 1 / -1; }
.master-wrapper-page #soluzioni .isq-card > .isq-icon { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.master-wrapper-page #soluzioni .isq-card > .isq-icon svg { width: 22px; height: 22px; }
.master-wrapper-page #soluzioni .isq-card > .isq-tag { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
.master-wrapper-page #soluzioni .isq-card > h3 { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: 18px; }
.master-wrapper-page #soluzioni .isq-card > p { margin: 12px 0 8px; font-size: 14px; line-height: 1.5; }
.master-wrapper-page #soluzioni .isq-card > ul { margin: 0 0 12px; }
.master-wrapper-page #soluzioni .isq-card li { margin-bottom: 3px; font-size: 14px; }
.master-wrapper-page #soluzioni .isq-card > .isq-link { align-self: end; }
/* tutto il riquadro porta alla pagina della soluzione (17/11/2026): il link "Scopri di piu'" si allarga con uno strato trasparente
   (::after) a tutta la scheda, che e' gia' position: relative. Un solo link per scheda, quindi la tastiera e i lettori di schermo
   restano come prima; con il passaggio del mouse sulla scheda la freccia si sposta come sul link, con la tastiera la scheda ha la cornice */
.master-wrapper-page #soluzioni .isq-card > .isq-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.master-wrapper-page #soluzioni .isq-card:hover > .isq-link { color: var(--isq-ink); }
.master-wrapper-page #soluzioni .isq-card:hover > .isq-link span { transform: translateX(3px); }
.master-wrapper-page #soluzioni .isq-card > .isq-link:focus-visible { outline: none; }
.master-wrapper-page #soluzioni .isq-card:has(> .isq-link:focus-visible) { outline: 3px solid var(--isq-accent); outline-offset: 3px; }
@media (max-width: 900px) {
    .master-wrapper-page .isq-phero { grid-template-columns: 1fr; padding: 36px 28px; }
    .master-wrapper-page .isq-phero h1 { font-size: 32px; }
    .master-wrapper-page .isq-steps, .master-wrapper-page .isq-related { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .master-wrapper-page .isq-hero { grid-template-columns: 1fr; padding: 40px 28px; }
    .master-wrapper-page .isq-hero h1 { font-size: 34px; }
    .master-wrapper-page .isq-hero-visual { max-width: 460px; margin: 0 auto; }
    .master-wrapper-page .isq-detail { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
    .master-wrapper-page .isq-detail--reverse .isq-detail-visual { order: 0; }
    .html-home-page .master-wrapper-page .isq-hero { padding-block: 48px 56px; }
    .html-home-page .master-wrapper-page .isq-hero h1 { font-size: 34px; }
}
@media (max-width: 600px) {
    .master-wrapper-page .isq section { margin-bottom: 40px; }
    .master-wrapper-page .isq-cards, .master-wrapper-page .isq-values, .master-wrapper-page .isq-features { grid-template-columns: 1fr; }
    .master-wrapper-page .isq-hero, .master-wrapper-page .isq-phero { padding: 32px 20px; }
    .master-wrapper-page .isq-phero h1 { font-size: 28px; }
    .master-wrapper-page .isq-hero h1, .html-home-page .master-wrapper-page .isq-hero h1 { font-size: 28px; }
    .master-wrapper-page .isq-hero p { font-size: 16px; }
    .master-wrapper-page .isq-section-head h2, .master-wrapper-page .isq-detail h2 { font-size: 24px; }
    .master-wrapper-page .isq-detail ul { columns: 1; }
    .master-wrapper-page .isq-cta { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .master-wrapper-page .isq-btn, .master-wrapper-page .isq-card, .master-wrapper-page .isq-link span { transition: none; }
    .master-wrapper-page .isq-btn:hover, .master-wrapper-page .isq-card:hover { transform: none; }
}

/* ---------- Q rossa nel nome dei prodotti Quanto ----------
   Lo <span class="isq-q"> lo aggiunge lo script in fondo a Themes\DefaultClean\Views\Shared\_Root.cshtml.
   Nei punti dove tutto il testo diventa rosso (voci di menu al passaggio del mouse) la Q resta dello stesso rosso. */
/* !important su spaziature e trasparenza: alcune regole valgono per tutti gli span di un blocco (es. briciole di pane, .isq-crumbs span) */
.master-wrapper-page .isq-q { color: var(--isq-brand); display: inline !important; margin: 0 !important; padding: 0 !important; opacity: 1 !important; }
/* la Q rossa e' disegnata con la Q del marchio al posto della lettera, che resta nel testo (trasparente) per ricerca,
   copia e lettori di schermo. quanto-q.svg: la Q del banner ridisegnata in vettoriale (nitida a ogni dimensione);
   quanto-q-bold.svg: la stessa piu' spessa, per i testi in grassetto (classe isq-q--bold messa dallo script di _Root
   quando il testo ha peso 600 o piu'). Misure: cerchio 86,5% dell'altezza, coda sotto il 13,5%, larghezza 0,9
   dell'altezza. Cerchio alto come le maiuscole di Mulish (0,72 em) e appoggiato alla linea di base: immagine alta
   0,832 em, larga 0,75 em, che scende di 0,11 em sotto la linea di base con la coda; un po' di spazio prima e dopo,
   perche' il disegno non ha i margini laterali di una lettera.
   Restano lettere normali le Q non rosse (carosello delle notizie, elenco dei prodotti nel pie' di pagina). */
.master-wrapper-page .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) {
    display: inline-block !important;
    width: .75em;
    height: .832em;
    margin: 0 .045em 0 .02em !important;
    overflow: hidden;
    vertical-align: -.11em;
    color: transparent !important;
    background: url("quanto-q.svg") left bottom / contain no-repeat;
}
.master-wrapper-page .isq-q.isq-q--bold:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) { background-image: url("quanto-q-bold.svg"); }
/* menu a tendina (Soluzioni, Quanto FE; 10/11/2026): nelle voci piccole la Q disegnata sembrava piu' bassa (o piu' alta) delle altre
   lettere a ogni spostamento provato; qui la Q e' la lettera normale del carattere, solo colorata di rosso */
.master-wrapper-page .header-menu .menu__list-view .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) {   /* stessi :not della regola generale, per vincerla */
    display: inline !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    vertical-align: baseline !important;
    color: var(--isq-brand) !important;
    background: none !important;
}
/* voce "Quanto FE" della barra del menu (10/11/2026): resta la Q disegnata del marchio, alzata appena (un quarto di pixel, 0,017 em) */
.master-wrapper-page .header-menu .menu__item-toggle .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) { vertical-align: -.093em !important; }
/* percorso delle pagine prodotto ("Home / Soluzioni / Quanto ...", .isq-crumbs, 10/11/2026): Q del marchio alzata appena come in "Quanto FE" */
.master-wrapper-page .isq-crumbs .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) { vertical-align: -.093em !important; }
/* invito finale della home (fondo blu scuro): la Q sottile si confondeva con il blu, si usa sempre la versione spessa */
.master-wrapper-page .isq-cta .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q) { background-image: url("quanto-q-bold.svg"); }
/* selezionando il testo il browser colora la lettera Q nascosta sotto il disegno (scura e piu' in basso): resta invisibile e la Q disegnata non cambia; copiando si ottiene comunque "Quanto" */
.master-wrapper-page .isq-q:not(.isq-news-slide .isq-q):not(.isq-footer-list .isq-q)::selection { color: transparent; -webkit-text-fill-color: transparent; background: transparent; }
/* parola con la Q (.isq-qw, script di _Root.cshtml): non va a capo tra la Q disegnata e "uanto" */
.master-wrapper-page .isq-qw { display: inline !important; margin: 0 !important; padding: 0 !important; opacity: 1 !important; white-space: nowrap; }
/* contenitore del testo con la Q (.isq-qt): un solo elemento, la Q resta attaccata anche nei link flex */
.master-wrapper-page .isq-qt { display: inline !important; margin: 0 !important; padding: 0 !important; opacity: 1 !important; }

/* ---------- pagine a due colonne con la colonna laterale vuota (es. Notizie) ----------
   Il tema riserva 300 px a sinistra ai blocchi laterali anche quando non ce ne sono: il contenuto restava spostato a destra.
   Se la colonna laterale non contiene niente, la si nasconde e il contenuto si centra nella pagina. */
.master-column-wrapper:not(:has(> .side-2 > *)) > .side-2 { display: none; }
@media (min-width: 1001px) {
    .master-column-wrapper:not(:has(> .side-2 > *)) > .center-2 { float: none; width: auto; max-width: 876px; margin-inline: auto; }
}

/* ---------- pagina Notizie a schede (Themes\DefaultClean\Views\News\List.cshtml) ----------
   Titolo, data, descrizione breve (al massimo 4 righe) e "Leggi la notizia" in fondo alla scheda.
   3 colonne su computer, 2 su tablet, 1 su telefono. */
.master-wrapper-page .isq-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}
/* scheda a carta: in alto la fascia del titolo, nel colore chiaro del prodotto della notizia con una riga piena dello
   stesso colore (classe isq-news-card--erp/fem/bank/bi/fisco messa dalla vista); sotto data, descrizione e link.
   Struttura (viste News\List.cshtml e Components\HomepageNews): article.isq-news-card (ferma) >
     .isq-news-card-inner (la carta visibile, che si solleva) + a.isq-news-cover (copre tutta la carta, ferma).
   Il link di copertura resta fermo: un clic vicino ai bordi non va perso mentre la carta si solleva. */
.master-wrapper-page .news-items .isq-news-card {
    --isq-news-color: #2F80ED;   /* colori dei prodotti nella pagina Notizie: blu brillante, arancione chiaro, verde, viola chiaro, celeste */
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}
.master-wrapper-page .news-items .isq-news-card--fem   { --isq-news-color: #F28A3C; }
.master-wrapper-page .news-items .isq-news-card--bank  { --isq-news-color: #1E9E50; }
.master-wrapper-page .news-items .isq-news-card--bi    { --isq-news-color: #9B6FE0; }
.master-wrapper-page .news-items .isq-news-card--fisco { --isq-news-color: #1AA8CC; }
.master-wrapper-page .isq-news-card-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 3px solid var(--isq-mainbar);   /* bordo spesso nell'azzurro della barra principale */
    border-color: var(--isq-mainbar) !important;   /* il tema colora di rosso i bordi con una regola piu' forte */
    border-radius: var(--isq-tile-radius);
    background: var(--isq-mainbar);   /* tutte le carte nell'azzurro della barra principale */
    box-shadow: 0 1px 2px rgba(22, 55, 88, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.master-wrapper-page .isq-news-cover { position: absolute; inset: 0; z-index: 2; border-radius: var(--isq-tile-radius); }
/* sollevamento: al passaggio del mouse, con la tastiera (focus sul titolo) e al clic */
.master-wrapper-page .news-items .isq-news-card:hover .isq-news-card-inner,
.master-wrapper-page .news-items .isq-news-card:focus-within .isq-news-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(22, 55, 88, .16), 0 4px 8px rgba(22, 55, 88, .08);
}
.master-wrapper-page .news-items .isq-news-card:active .isq-news-card-inner {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 36px rgba(22, 55, 88, .22), 0 6px 12px rgba(22, 55, 88, .10);
}

.master-wrapper-page .isq-news-band {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 16px 20px;
    background: color-mix(in srgb, var(--isq-news-color) 22%, #fff);
    border-bottom: 3px solid var(--isq-news-color);
    border-bottom-color: var(--isq-news-color) !important; /* il tema colora di rosso i bordi con una regola piu' forte */
}
.master-wrapper-page .isq-news-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.master-wrapper-page .isq-news-title a { color: var(--isq-ink); }
.master-wrapper-page .isq-news-title a:focus-visible { outline: none; }
.master-wrapper-page .news-items .isq-news-card:has(.isq-news-title a:focus-visible) .isq-news-card-inner { outline: 2px solid var(--isq-news-color); outline-offset: 2px; }

.master-wrapper-page .isq-news-body { display: flex; flex: 1; flex-direction: column; padding: 16px 20px 20px; }
.master-wrapper-page .isq-news-date { display: block; margin-bottom: 10px; color: var(--isq-ink-soft); font-size: 13px; }
.master-wrapper-page .isq-news-short {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--isq-ink-soft);
    font-size: 14px;
    line-height: 1.6;
}
.master-wrapper-page .isq-news-short * { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.master-wrapper-page .isq-news-short .isq-q { color: var(--isq-brand); }
.master-wrapper-page .isq-news-more {
    transition: color .15s ease;
    margin-top: auto;
    align-self: flex-start;
    color: var(--isq-brand-deep);
    font-size: 14px;
    font-weight: 700;
}
/* al passaggio del mouse sulla scheda "Leggi la notizia" diventa blu notte, senza sottolineatura (10/11/2026; prima rosso piu' scuro e sottolineato) */
.master-wrapper-page .news-items .isq-news-card:hover .isq-news-more { color: var(--isq-navy); text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
    .master-wrapper-page .isq-news-card-inner { transition: none; }
    .master-wrapper-page .news-items .isq-news-card:hover .isq-news-card-inner,
    .master-wrapper-page .news-items .isq-news-card:focus-within .isq-news-card-inner,
    .master-wrapper-page .news-items .isq-news-card:active .isq-news-card-inner { transform: none; }
}
.master-wrapper-page .isq-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) { .master-wrapper-page .isq-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 600px) { .master-wrapper-page .isq-news-grid { grid-template-columns: 1fr; } }
/* pagina Notizie allineata all'intestazione (da 1200 px, dove valgono gli allineamenti al banner):
   a sinistra con la scritta "Italsoft Sistemi" del logo (9.95vw, come .header-logo + 10 px di margine dell'immagine),
   a destra con il pulsante "Richiedi una demo" (stessa formula di .isq-head-cta). 50% = meta' della colonna centrata. */
@media (min-width: 1200px) {
    .html-news-list-page .center-1,
    .html-news-item-page .center-1 { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    .html-news-list-page .news-list-page .page-title { padding-inline: 0; }
}
/* stesso allineamento e titolo a sinistra per Azienda (topic AboutUs) e le altre pagine di testo (topic) e per Contatti;
   escluse le pagine prodotto (topic con .isq-product), che hanno una loro impaginazione a tutta larghezza */
@media (min-width: 1200px) {
    .html-topic-page .center-1:not(:has(.isq-product)),
    .html-contact-page .center-1 { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    .html-topic-page .topic-page .page-title,
    .html-contact-page .contact-page .page-title { padding-inline: 0; }
}
/* testo delle pagine di testo (Azienda, topic AboutUs, 10/11/2026; escluse le pagine prodotto): righe al massimo di ~80 caratteri,
   allineate a sinistra (il tema giustifica), sottotitoli blu notte come i titoli del sito, paragrafi nel grigio del testo,
   collegamenti nel blu della barra superiore. Selettori con html/body: il tema ha regole forti per .topic-page p, ul, a */
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .topic-page-body,
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body { max-width: 760px; padding: 0; text-align: left; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body h2 { margin: 32px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--isq-navy); }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body h2:first-child { margin-top: 20px; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body p,
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body li { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--isq-ink-soft); text-align: left; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body li { margin-bottom: 6px; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body li::marker { color: var(--isq-topbar); }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body a { color: var(--isq-topbar); font-weight: 700; text-decoration: none; }
html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
    html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body h2 { font-size: 17px; }
    html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body p,
    html.html-topic-page body .master-wrapper-page .topic-page:not(:has(.isq-product)) .page-body li { font-size: 14px; }
}
/* pagina Azienda (10/11/2026): fondo della pagina sfumato, dal bianco in alto a un rosso pallido in basso, tra intestazione e pie' di
   pagina (che hanno il loro fondo). La pagina e' riconosciuta dal div vuoto .isq-about-bg nel topic AboutUs (sql\topic_aboutus_490.sql).
   Prima, lo stesso giorno: disegno decorativo a destra (linee, rete, forme; Content\sfondo-azienda.svg, non piu' usato) */
.master-wrapper-page .isq-about-bg { display: none; }
html.html-topic-page body:has(.isq-about-bg),
html.html-topic-page body:has(.isq-about-bg) .master-wrapper-page { background: linear-gradient(180deg, #fff 0, #fff 180px, #FDF1F1 100%) !important; }   /* rosso pallido schiarito (prima #FBE6E6) */
/* pagina Azienda (10/11/2026): testo a tutta larghezza (prima al massimo 760 px come le altre pagine di testo) e spaziature un po'
   ridotte, per avere meno righe e vedere tutto il testo all'apertura della pagina */
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body { max-width: none; }
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body h2 { margin: 16px 0 6px; }
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body h2:first-of-type { margin-top: 12px; }
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body p,
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body li { margin-bottom: 6px; line-height: 1.5; }
html.html-topic-page body .master-wrapper-page .topic-page:has(.isq-about-bg) .page-body li { margin-bottom: 2px; }
/* recapiti sotto il titolo "Contatti" (Themes\DefaultClean\Views\Common\ContactUs.cshtml, 9/11/2026, variante A): sottotitolo
   "Contattaci direttamente" come quello di Notizie, poi tre schede bianche affiancate (Telefono, Amministrazione e vendite,
   Assistenza) con angoli come il modulo blu (--isq-tile-radius), bordo grigio leggero e ombra; icona bianca in un cerchio blu acceso
   (#1D5AA1), etichetta maiuscola grigia, valori blu notte cliccabili. Sotto i 1001 px le schede vanno una sotto l'altra */
.master-wrapper-page .contact-page .isq-contact-subtitle { margin: 12px 0 0; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.4; text-align: left; }
@media (max-width: 1000px) { .master-wrapper-page .contact-page .isq-contact-subtitle { font-size: 13px; text-align: center; } }
.master-wrapper-page .contact-page .isq-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 16px 0 0;
}
@media (max-width: 1000px) { .master-wrapper-page .contact-page .isq-contact-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.master-wrapper-page .contact-page .isq-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border-radius: var(--isq-tile-radius);   /* angoli come il modulo blu di Contatti (6 px; prima 14 px) */
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line), 0 6px 18px rgba(22, 55, 88, .08);
    text-align: left;
}
.master-wrapper-page .contact-page .isq-contact-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1D5AA1; color: #fff; }
.master-wrapper-page .contact-page .isq-contact-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.master-wrapper-page .contact-page .isq-contact-phones { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }   /* i due numeri sulla stessa riga, con un trattino in mezzo */
.master-wrapper-page .contact-page .isq-contact-sep { color: var(--isq-navy); font-size: 16px; font-weight: 700; }
.master-wrapper-page .contact-page .isq-contact-card .isq-contact-label { margin: 0 0 2px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--isq-ink-soft); }
html.html-contact-page body .master-wrapper-page .contact-page .isq-contact-link { color: var(--isq-navy); font-size: 16px; font-weight: 700; text-decoration: none !important; overflow-wrap: anywhere; }
html.html-contact-page body .master-wrapper-page .contact-page .isq-contact-link:hover,
html.html-contact-page body .master-wrapper-page .contact-page .isq-contact-link:focus-visible { color: #1D5AA1; text-decoration: underline !important; }
/* secondo titolo "Fai una richiesta", come il titolo della pagina (20 px semi-grassetto blu notte, riga rossa 6 px sotto) */
.master-wrapper-page .contact-page .isq-contact-request-title { margin-top: 40px; }
.master-wrapper-page .center-1 .contact-page .isq-contact-request-title h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--isq-navy); }
@media (min-width: 1001px) { .master-wrapper-page .contact-page .isq-contact-request-title h2 { text-align: left; } }
/* testo sotto il titolo di Contatti (topic ContactUs) come il sottotitolo della pagina Notizie: 12 px sotto la riga
   rossa, 14 px, grigio del testo secondario */
.html-contact-page .contact-page .page-title { margin-bottom: 0; }
.html-contact-page .contact-page .topic-block { margin: 12px 0 24px; padding: 0; }
.html-contact-page .contact-page .topic-block-body,
.html-contact-page .contact-page .topic-block-body p { margin: 0; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.4; text-align: left; }
@media (max-width: 1000px) {
    .html-contact-page .contact-page .topic-block-body,
    .html-contact-page .contact-page .topic-block-body p { font-size: 13px; text-align: center; }
}
/* modulo della pagina Contatti: riquadro grigio come la barra principale (--isq-mainbar) con il suo bordo grigio sottile, come il
   modulo di Accedi (10/11/2026; prima sfumatura dal blu della barra superiore a #3B74AA, troppo forte sul bianco). Etichette blu notte,
   asterischi rossi, errori rosso scuro, campi bianchi con bordo grigio (blu della barra quando si scrive). Il tema ha regole piu' forti
   per bordi e fondo del modulo: selettori con html/body e !important; bordo del riquadro con box-shadow (il tema colora di rosso tutti
   i bordi). La pagina "Richiedi una demo" usa queste classi e ha in piu' la striscia rossa a sinistra (piu' sotto) */
html.html-contact-page body .master-wrapper-page .contact-page .form-fields {
    padding: 32px 24px 24px;
    border: 0 !important;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-mainbar) !important;
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line);
}
html.html-contact-page body .master-wrapper-page .contact-page .form-fields label { color: var(--isq-navy) !important; font-weight: 600; }
html.html-contact-page body .master-wrapper-page .contact-page .form-fields .required { color: var(--isq-brand-deep) !important; }
html.html-contact-page body .master-wrapper-page .contact-page .form-fields .field-validation-error,
html.html-contact-page body .master-wrapper-page .contact-page .form-fields .field-validation-error * { color: #C00000 !important; }
html.html-contact-page body .master-wrapper-page .contact-page .form-fields input[type="text"],
html.html-contact-page body .master-wrapper-page .contact-page .form-fields input[type="email"],
html.html-contact-page body .master-wrapper-page .contact-page .form-fields textarea {
    border: 1px solid #CFCFCF;
    border-color: #CFCFCF !important;
    border-radius: 6px;
    background: #fff;
    color: var(--isq-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
html.html-contact-page body .master-wrapper-page .contact-page .form-fields input:focus,
html.html-contact-page body .master-wrapper-page .contact-page .form-fields textarea:focus {
    border-color: var(--isq-topbar) !important;
    box-shadow: 0 0 0 3px rgba(45, 90, 135, .18);
    outline: none;
}
/* da 1001 px i campi sono centrati nel riquadro, quindi sopra il pulsante "Invia" (centrato): colonna delle etichette a destra
   allineata al campo, campo di 400 px al centro, asterisco a fianco (9/11/2026; prima etichette larghe 375 px e campi spostati a destra) */
@media (min-width: 1001px) {
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs { display: grid; grid-template-columns: minmax(0, 1fr) 400px minmax(0, 1fr); column-gap: 10px; align-items: center; }
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > label { grid-column: 1; width: auto; margin: 0; text-align: right; }
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > input,
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > textarea { grid-column: 2; width: 100%; }
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > .required { grid-column: 3; justify-self: start; align-self: start; margin: 0 0 0 -7px; }
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > .field-validation-valid,
    html.html-contact-page body .master-wrapper-page .contact-page .form-fields .inputs > .field-validation-error { grid-column: 2; }
}
/* pulsante "Invia" nel blu della barra superiore (prima blu notte, schiarito l'8/11/2026; dal 10/11 il riquadro del modulo e' grigio): il rosso lo
   confondeva con "Richiedi una demo"; piu' scuro al passaggio del mouse */
.html-contact-page .contact-page .buttons .contact-us-button {
    min-width: 160px;
    height: auto;
    padding: 12px 32px;
    border: 0;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-topbar);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    transition: background-color .15s ease;
}
.html-contact-page .contact-page .buttons .contact-us-button:hover,
.html-contact-page .contact-page .buttons .contact-us-button:focus-visible { background: #1F4870; }
/* titolo a sinistra come nella pagina Notizie; fino a 1000 px resta centrato, come anche li' */
@media (min-width: 1001px) {
    .html-topic-page .topic-page .page-title h1,
    .html-contact-page .contact-page .page-title h1,
    .html-news-list-page .news-list-page .page-title h1 { text-align: left; }   /* Notizie: prima a sinistra grazie all'icona RSS, tolta il 9/11/2026 */
}
/* pagina "Richiedi una demo" (/richiedi-demo, vista Plugins\Misc.Quanto\Views\DemoRequest.cshtml, 10/11/2026): stessa impaginazione,
   campi e pulsante di Contatti, riquadro grigio con striscia rossa a sinistra (in fondo al blocco) (classi html-contact-page e contact-page). Diversi da Contatti: modulo compatto
   largo al massimo 760 px, campi su due colonne con l'etichetta sopra (da 701 px; a sinistra Prodotto, Nome completo, Societa', Localita', Provincia
   a elenco; a destra Gia' cliente, Rivenditore, Email, Telefono; Commenti su tutta la riga), 8 px tra i campi, campi alti 34 px,
   asterisco dentro l'etichetta, "Si'/No" con pallini (pieno al centro quello scelto), campo Rivenditore nascosto finche'
   non si sceglie Si'. Nel modulo la Q di Quanto non e' rossa (classe isq-noq, script di _Root.cshtml): sul blu di prima si leggeva male.
   Il tema colora di rosso tutti i bordi (*, ::before, ::after con !important): i bordi qui sotto hanno !important */
.html-demo-request-page .isq-demo-page .isq-contact-subtitle { margin-bottom: 20px; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page form { max-width: 760px; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 20px;
    padding: 20px 24px 22px;
}
@media (min-width: 701px) {
    html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .isq-demo-wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields { padding: 16px 14px 18px; }
}
/* ogni campo: etichetta sopra, a sinistra; annulla la griglia a tre colonne di Contatti (etichetta, campo, asterisco) */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    text-align: left;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs > label,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .isq-demo-label {
    display: block;
    width: auto !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left !important;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .isq-demo-req { margin-left: 3px; color: #FF8A8A; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs > input,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs > select {
    width: 100% !important;
    max-width: none;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs > textarea { width: 100% !important; max-width: none; height: 72px; min-height: 0; margin: 0; padding: 6px 10px; font-size: 14px; resize: vertical; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .field-validation-error { display: block; margin: 0; text-align: left; font-size: 12px; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-reseller[hidden] { display: none !important; }
/* le due colonne di campi (a sinistra azienda, a destra cliente e recapiti): stessi 8 px tra un campo e l'altro della griglia */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* da 701 px le due colonne condividono le righe della griglia (subgrid): ogni campo di destra resta alla stessa altezza di quello di
   sinistra anche quando compare Rivenditore (a destra 3 o 4 campi, a sinistra 4) */
@media (min-width: 701px) {
    html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-col { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 8px; align-items: start; }
}
/* Localita' e Provincia sulla stessa riga, larghe insieme come i campi sopra: provincia stretta (solo la sigla) */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-row { display: flex; gap: 10px; min-width: 0; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-row .isq-demo-city { flex: 1 1 auto; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-row .isq-demo-province { flex: 0 0 64px; }
/* il campo Telefono (type="tel") e l'elenco Prodotto come gli altri campi del modulo di Contatti: il tema metteva un bordo rosso */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields select,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input[type="tel"] {
    border: 1px solid transparent;
    border-color: transparent !important;
    border-radius: 6px;
    background-color: #fff;
    color: var(--isq-ink);
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields select:focus,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input[type="tel"]:focus { border-color: #fff !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); outline: none; }
/* "Sei gia' un cliente Quanto?": pallini affiancati, alti come i campi. Pallino vuoto con bordo bianco; quello scelto ha un
   pallino bianco pieno al centro */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice { display: flex; align-items: center; gap: 24px; min-height: 34px; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 18px !important;
    height: 18px;
    margin: 0;
    border: 2px solid #fff;
    border-color: #fff !important;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input:checked { background: radial-gradient(circle, #fff 0 4px, transparent 4.5px); }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* "Richiedi una demo", colori del riquadro (10/11/2026): grigio come la barra principale e come i moduli di Contatti e Accedi, con
   il loro bordo grigio sottile, piu' una striscia rossa verticale di 5 px a sinistra (proposta A; per poco in alto), lo stesso rosso del pulsante "Richiedi una demo".
   Etichette e opzioni blu notte, asterischi ed errori rossi, campi bianchi con bordo grigio (blu e anello leggero quando si scrive),
   pallini blu. Il pulsante "Invia la richiesta" resta quello di Contatti. Lo stesso giorno, prima: sfumatura blu di Contatti, poi
   azzurro #EAF1F8 con bordo tono su tono. Regole dopo quelle del modulo: stessi selettori forti con !important; striscia e bordo con
   box-shadow (il tema colora di rosso tutti i bordi e un bordo vero cambierebbe le misure) */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields {
    padding-left: 29px;   /* 24 px dopo la striscia */
    background: var(--isq-mainbar) !important;
    box-shadow: inset 5px 0 0 var(--isq-brand-deep), inset 0 0 0 1.5px var(--isq-mainbar-line);
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .inputs > label,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .isq-demo-label,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt { color: var(--isq-navy) !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .isq-demo-req { color: var(--isq-brand-deep) !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .field-validation-error,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields .field-validation-error * { color: #C00000 !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input[type="text"],
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input[type="email"],
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input[type="tel"],
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields select,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields textarea { border: 1px solid #CFCFCF !important; border-color: #CFCFCF !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields input:focus,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields select:focus,
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .form-fields textarea:focus { border-color: var(--isq-topbar) !important; box-shadow: 0 0 0 3px rgba(45, 90, 135, .18) !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input { border-color: var(--isq-topbar) !important; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input:checked { background: radial-gradient(circle, var(--isq-topbar) 0 4px, transparent 4.5px); }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-demo-choice .isq-demo-opt input:focus-visible { outline-color: var(--isq-topbar); }
/* informativa privacy (11/11/2026): casella quadrata blu come i pallini, con la spunta blu quando e' scelta; testo a capo sotto
   la casella sul telefono, link sottolineato. Dal 17/11/2026 classi isq-privacy/isq-privacy-opt (prima isq-demo-privacy/isq-demo-opt)
   e stessa casella nel modulo di Contatti (selettori con :not(.isq-demo-page): la pagina demo ha anche le classi di Contatti) */
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy .isq-privacy-opt,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: auto !important;
    margin: 0 !important;
    color: var(--isq-navy) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal; /* 18/11/2026: il tema mette nowrap su .inputs e sul telefono la scritta usciva dallo schermo */
    cursor: pointer;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy .isq-privacy-opt > span,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt > span { min-width: 0; overflow-wrap: anywhere; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy .isq-privacy-opt input,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt input {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 18px !important;
    height: 18px;
    margin: 1px 0 0;
    border: 2px solid var(--isq-topbar) !important;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy .isq-privacy-opt input:checked,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt input:checked {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%232D5A87' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy .isq-privacy-opt input:focus-visible,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt input:focus-visible { outline: 2px solid var(--isq-topbar); outline-offset: 2px; }
html.html-demo-request-page body .master-wrapper-page .isq-demo-page .isq-privacy a,
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy a { color: var(--isq-topbar); text-decoration: underline; }
/* Contatti: asterisco rosso come gli altri campi; da 1001 px la casella sta nella colonna dei campi (400 px), sotto Richiesta */
html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy-req { margin-left: 3px; color: var(--isq-brand-deep); }
@media (min-width: 1001px) {
    html.html-contact-page body .master-wrapper-page .contact-page:not(.isq-demo-page) .form-fields .isq-privacy label.isq-privacy-opt { grid-column: 2; }
}

/* ---------- pagina Accedi (/login), allineata a Contatti e Notizie (9/11/2026) ---------- */
/* colonna dal logo Italsoft al pulsante "Richiedi una demo" (da 1200 px) e titolo a sinistra con la riga rossa (da 1001 px) */
@media (min-width: 1200px) {
    .html-login-page .center-1 { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    .html-login-page .login-page .page-title,
    .html-login-page .login-page .topic-block-title { padding-inline: 0; }
}
/* sottotitolo sotto la riga rossa, come quello di Notizie (12 px sotto la riga, 14 px, grigio del testo secondario) */
.html-login-page .login-page .page-title:has(+ .isq-login-subtitle) { margin-bottom: 0; }
.master-wrapper-page .login-page .isq-login-subtitle { margin: 12px 0 24px; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.4; text-align: left; }
@media (max-width: 1000px) { .master-wrapper-page .login-page .isq-login-subtitle { font-size: 13px; text-align: center; } }
/* 21/11/2026: avviso del blocco dopo i tentativi sbagliati, sotto il campo Password (vista Customer/Login.cshtml del tema) */
.master-wrapper-page .login-page .isq-login-attempts { margin: 4px 0 12px; color: var(--isq-ink-soft); font-size: 13px; line-height: 1.4; text-align: center; }
@media (min-width: 1001px) {
    .html-login-page .login-page .page-title h1,
    .html-login-page .login-page .topic-block-title h2 { text-align: left; }
}
/* titoli delle due colonne ("Registrati", "Cliente gia' registrato"): a sinistra, blu notte, riga azzurra della barra principale */
html.html-login-page body .master-wrapper-page .login-page .title {
    padding-inline: 0;
    border-bottom: 1px solid var(--isq-mainbar-line);
    border-color: var(--isq-mainbar-line) !important;
    color: var(--isq-navy);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}
html.html-login-page body .master-wrapper-page .login-page .title strong { font-weight: inherit; }
@media (max-width: 1000px) {
    html.html-login-page body .master-wrapper-page .login-page .title { text-align: center; }   /* come il titolo, centrato fino a 1000 px */
}
/* riquadro del modulo di accesso grigio come la barra principale (--isq-mainbar) con il suo bordo grigio sottile (10/11/2026; prima
   la sfumatura blu di Contatti, troppo forte sul bianco; provati e scartati lo stesso giorno l'azzurro #EAF1F8, il bianco con cornice
   blu e l'azzurro con bordo tono su tono). Etichette blu notte, campi bianchi con bordo grigio (blu della barra quando si scrive),
   errori rosso scuro. Bordo con box-shadow: il tema colora di rosso tutti i bordi */
html.html-login-page body .master-wrapper-page .login-page .new-wrapper .text,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields {
    border: 0 !important;
    border-radius: var(--isq-tile-radius);   /* angoli come il modulo di Contatti (6 px) */
    background: var(--isq-mainbar) !important;
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line);
    color: var(--isq-navy);
}
html.html-login-page body .master-wrapper-page .login-page .new-wrapper .text *,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields label,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .forgot-password a { color: var(--isq-navy) !important; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields label { font-weight: 600; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs.reversed label { font-weight: 400; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .forgot-password a:hover { text-decoration: underline !important; text-decoration-color: var(--isq-navy) !important; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields input[type="email"],
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields input[type="text"],
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields input[type="password"] {
    border: 1px solid #CFCFCF;
    border-color: #CFCFCF !important;
    border-radius: 6px;
    background: #fff;
    color: var(--isq-ink);
}
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields input:focus {
    border-color: var(--isq-topbar) !important;
    box-shadow: 0 0 0 3px rgba(45, 90, 135, .18);
    outline: none;
}
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .field-validation-error,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .field-validation-error * { color: #C00000 !important; }
/* pulsante "Accedi" (testo nella vista; prima "Accesso") non maiuscolo, nel blu della barra superiore come "Invia" di Contatti, piu' scuro
   al passaggio del mouse. Largo 160 px, allineato al bordo destro del riquadro blu (10/11/2026; prima centrato, il 9/11 largo quanto il riquadro).
   Sotto i 1001 px resta centrato */
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .buttons { padding: 14px 0 0; text-align: right; }   /* 14 px sotto il riquadro (prima 30 px del tema) */
@media (max-width: 1000px) { html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .buttons { text-align: center; } }
html.html-login-page body .master-wrapper-page .login-page .buttons .login-button {
    min-width: 160px;
    height: auto;
    padding: 12px 32px;
    border: 0;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-topbar);   /* 10/11/2026: blu della barra superiore, come "Invia" di Contatti (per qualche ora #3B74AA, il blu chiaro della sfumatura del riquadro, che sul grigio si vedeva poco) */
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    transition: background-color .15s ease;
}
html.html-login-page body .master-wrapper-page .login-page .buttons .login-button:hover,
html.html-login-page body .master-wrapper-page .login-page .buttons .login-button:focus-visible { background: #1F4870; }   /* piu' scuro al passaggio del mouse, come "Invia" di Contatti */
/* registrazione dal sito disattivata (gli account dei rivenditori arrivano da Quanto): colonna "Registrati" nascosta (9/11/2026), il modulo
   di accesso prende tutta la larghezza come quello di Contatti; le istruzioni sono nel riquadro sotto (topic LoginRegistrationInfo,
   sql/topic_loginregistrationinfo_490.sql) */
.html-login-page .login-page .new-wrapper { display: none; }
/* testo del riquadro sotto il modulo allineato a sinistra (il tema lo giustifica) */
.html-login-page .login-page .topic-block-body,
.html-login-page .login-page .topic-block-body p { text-align: left; }
/* titolo "Cliente gia' registrato" tolto: con la sola colonna di accesso non serve (9/11/2026) */
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .title { display: none; }
/* "Password dimenticata?" nascosto il 9/11/2026: il recupero della password per i rivenditori va deciso prima della pubblicazione
   (oggi l'email del negozio non e' configurata, quindi il messaggio di recupero non partirebbe). Resta "Resta collegato" */
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .forgot-password { display: none; }
/* titoli di tutte le pagine (Accedi, Contatti, Notizie, Tutte le notizie, notizia, Azienda e le altre pagine di nop), scelti sulla
   pagina Accedi il 9/11/2026: 20 px semi-grassetto blu notte (il tema usa 30 px grigio sottile); riga rossa 6 px sotto il titolo
   (tolta l'altezza minima di 50 px del tema). Le pagine prodotto nascondono questo titolo e usano il loro */
.master-wrapper-page .center-1 .page-title { min-height: 0; padding-bottom: 6px; }
.master-wrapper-page .center-1 .page-title h1 { font-size: 20px; font-weight: 600; color: var(--isq-navy); }
/* stesso stile per il titolo del riquadro sotto il modulo di Accedi ("Area riservata ai rivenditori Italsoft") */
html.html-login-page .master-wrapper-page .login-page .topic-block-title { min-height: 0; }
html.html-login-page .master-wrapper-page .login-page .topic-block-title h2 { font-size: 20px; font-weight: 600; color: var(--isq-navy); }
/* riquadro sotto il modulo con le spaziature di Contatti e Notizie: riga rossa 6 px sotto il titolo, testo 12 px sotto la riga,
   14 px nel grigio del testo secondario; meno spazio dal pulsante "Accesso" */
html.html-login-page body .master-wrapper-page .login-page .topic-block { margin-top: 24px; }
/* "Area riservata ai rivenditori Italsoft" piu' in alto (9/11/2026): tolti i margini del tema sotto il pulsante e sotto il modulo (30 + 30 px) e sotto il blocco
   vuoto degli accessi esterni (50 px); restano i 30 px sotto il pulsante Accesso piu' i 24 px qui sopra (prima ~110 px) */
html.html-login-page body .master-wrapper-page .login-page .customer-blocks,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .buttons { margin-bottom: 0; }
html.html-login-page body .master-wrapper-page .login-page .external-authentication:not(:has(*)) { display: none; }
html.html-login-page body .master-wrapper-page .login-page .topic-block-title { margin-bottom: 0; padding-bottom: 6px; }
html.html-login-page body .master-wrapper-page .login-page .topic-block-body { margin-top: 12px; }
html.html-login-page body .master-wrapper-page .login-page .topic-block-body p { margin: 0 0 8px; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.6; }
html.html-login-page body .master-wrapper-page .login-page .topic-block-body strong { color: var(--isq-ink); font-weight: 700; }
/* email nel testo: link che apre la posta, blu della barra superiore senza la sottolineatura rossa del tema */
html.html-login-page body .master-wrapper-page .login-page .topic-block-body a { color: var(--isq-topbar); font-weight: 700; text-decoration: none !important; }
html.html-login-page body .master-wrapper-page .login-page .topic-block-body a:hover { text-decoration: underline !important; text-decoration-color: var(--isq-topbar) !important; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper { float: none; width: auto; margin: 0; }
/* riquadro "Area riservata ai rivenditori Italsoft" (topic LoginRegistrationInfo) accanto al modulo (9/11/2026, variante B):
   azzurro polvere chiaro come in Contatti, senza bordo ne' riga rossa sotto il titolo, testo a sinistra. Da 1001 px .customer-blocks
   diventa una griglia a due colonne uguali: riquadro blu e riquadro azzurro sulla stessa riga e della stessa altezza (contenitori del
   modulo con display: contents), pulsante Accesso sotto il blu. Sotto i 1001 px il riquadro va sotto il pulsante */
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block {
    margin: 24px 0 0;
    padding: 24px 28px;
    border-radius: var(--isq-tile-radius);
    background: #EAF1F8;
}
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block-title { padding: 0; border: 0 !important; }
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block-title h2 { font-size: 18px; font-weight: 700; text-align: left; }
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block-body { margin-top: 10px; }
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block-body p { text-align: left; }
html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block-body p:last-child { margin-bottom: 0; }
/* 21/11/2026: messaggio di errore dell'accesso ("Accesso non riuscito..." e credenziali errate) allineato a sinistra, al bordo
   sinistro della cornice di E-mail e Password (il tema lo centra su tutta la larghezza) */
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .message-error,
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .validation-summary-errors { text-align: left; margin: 0 0 12px; }
html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .message-error ul { margin: 4px 0 0; padding: 0; list-style: none; text-align: left; }
@media (min-width: 1001px) {
    html.html-login-page body .master-wrapper-page .login-page .customer-blocks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: stretch; }
    html.html-login-page body .master-wrapper-page .login-page .customer-blocks .returning-wrapper,
    html.html-login-page body .master-wrapper-page .login-page .customer-blocks .returning-wrapper > form { display: contents; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .message-error,
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .validation-summary-errors { grid-column: 1 / -1; grid-row: 1; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields { grid-column: 1; grid-row: 2; margin-bottom: 0; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper > form > .buttons { grid-column: 1; grid-row: 3; }
    html.html-login-page body .master-wrapper-page .login-page .customer-blocks .topic-block { grid-column: 2; grid-row: 2; margin: 0; }
}
/* riquadro "Non sei ancora rivenditore?" (.isq-login-aside, Themes\DefaultClean\Views\Customer\Login.cshtml, 9/11/2026, variante B):
   fascia bianca sotto il pulsante Accesso, con lo stile delle schede di Contatti (bianco, bordo grigio leggero e
   ombra; angoli --isq-tile-radius come il modulo blu di Contatti). Da 701 px titolo e testo a sinistra, numero con l'icona del telefono (bianca in un cerchio blu acceso) a destra; sotto, tutto
   in colonna. Il modulo blu resta a tutta larghezza con i campi da 400 px centrati.
   (Prima, sempre il 9/11/2026: riquadro a destra del modulo blu, piu' stretto, con campi da 340 px) */
html.html-login-page body .master-wrapper-page .login-page { --isq-login-field: 400px; }
@media (min-width: 1001px) { html.html-login-page body .master-wrapper-page .login-page { --isq-login-field: 300px; } }   /* nel riquadro blu affiancato all'Area riservata */
@media (min-width: 1001px) and (max-width: 1199px) { html.html-login-page body .master-wrapper-page .login-page { --isq-login-field: 260px; } }   /* piu' margine a sinistra di "Password:" sugli schermi medi */
.master-wrapper-page .isq-login-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 48px;   /* in fondo alla pagina, staccata dal riquadro "Area riservata" (prima 32 px) */
    padding: 20px 28px;
    border-radius: var(--isq-tile-radius);   /* angoli come il modulo blu di Contatti (6 px; prima 14 px) */
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line), 0 6px 18px rgba(22, 55, 88, .08);
    text-align: left;
}
.master-wrapper-page .isq-login-aside h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--isq-navy); }
.master-wrapper-page .isq-login-aside p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--isq-ink-soft); }
html body .master-wrapper-page .isq-login-aside .isq-login-phone {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    color: var(--isq-navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none !important;
    white-space: nowrap;
}
/* icona come nelle schede di Contatti: cerchio blu acceso di 44 px */
.master-wrapper-page .isq-login-aside .isq-login-phone svg { box-sizing: content-box; flex: none; width: 20px; height: 20px; padding: 12px; border-radius: 50%; background: #1D5AA1; color: #fff; }
html body .master-wrapper-page .isq-login-aside .isq-login-phone:hover,
html body .master-wrapper-page .isq-login-aside .isq-login-phone:focus-visible { color: #1D5AA1; }
/* numero di telefono e pulsante rosso "Richiedi una demo" (10/11/2026) affiancati: da 701 px a destra del testo, sotto in colonna
   (il pulsante va a capo sotto il numero se non c'e' spazio). Pulsante come quello dell'intestazione (.isq-head-cta), che sul
   telefono e' nascosto: qui ha una sua classe e resta visibile */
html body .master-wrapper-page .isq-login-aside .isq-login-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
html body .master-wrapper-page .isq-login-aside .isq-login-actions .isq-login-phone { margin: 0; }
html body .master-wrapper-page .isq-login-aside .isq-login-demo {
    padding: 11px 20px;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-brand-deep);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .15s ease, transform .15s ease;
}
html body .master-wrapper-page .isq-login-aside .isq-login-demo:hover,
html body .master-wrapper-page .isq-login-aside .isq-login-demo:focus-visible { background: var(--isq-brand-deep-hover); transform: translateY(-1px); }
@media (min-width: 701px) {
    .master-wrapper-page .isq-login-aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 4px; align-items: center; }
    .master-wrapper-page .isq-login-aside h2 { grid-column: 1; grid-row: 1; }
    .master-wrapper-page .isq-login-aside p { grid-column: 1; grid-row: 2; }
    html body .master-wrapper-page .isq-login-aside .isq-login-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 1001px) {
    /* su computer il numero non e' un pulsante: niente cambio di colore che inviti al clic */
    html body .master-wrapper-page .isq-login-aside .isq-login-phone { cursor: default; }
}
/* da 1001 px campi centrati nel riquadro come in Contatti: etichette a destra, campo di --isq-login-field (400 px) al centro */
@media (min-width: 1001px) {
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) { display: grid; grid-template-columns: minmax(0, 1fr) var(--isq-login-field) minmax(0, 1fr); column-gap: 10px; align-items: center; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > label { grid-column: 1; width: auto; margin: 0; text-align: right; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > input,
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > .password-eye,
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > span:not(.required) { grid-column: 2; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > input { width: 100%; }
    /* "Resta collegato" allineato a sinistra con i campi (9/11/2026): il campo centrato parte a meta' riga meno meta' campo */
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs.reversed { padding-left: calc(50% - var(--isq-login-field) / 2); text-align: left; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs.reversed > input[type="checkbox"] { margin-left: 0; }
    /* campo Password largo quanto E-mail (9/11/2026): il tema chiude il campo e l'icona dell'occhio in .login-password da 360 px */
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .inputs:not(.reversed) > .login-password { grid-column: 2; width: 100%; max-width: none; }
    html.html-login-page body .master-wrapper-page .login-page .returning-wrapper .form-fields .login-password > input { width: 100%; max-width: none; }
}
/* ---------- pagina Carrello (/cart), allineata ad Accedi e Contatti (9/11/2026) ---------- */
/* colonna dal logo Italsoft al pulsante "Richiedi una demo" (da 1200 px) e titolo a sinistra (da 1001 px) */
@media (min-width: 1200px) {
    .html-shopping-cart-page .center-1 { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
    .html-shopping-cart-page .shopping-cart-page .page-title { padding-inline: 0; }
}
@media (min-width: 1001px) {
    .html-shopping-cart-page .shopping-cart-page .page-title h1 { text-align: left; }
}
/* contenuto 24 px sotto la riga rossa; "Il carrello e' vuoto!" come il sottotitolo di Contatti (12 px sotto la riga, 14 px, grigio) */
.html-shopping-cart-page .shopping-cart-page .page-title { margin-bottom: 0; }
.html-shopping-cart-page .shopping-cart-page .order-summary-content { margin-top: 24px; }
.html-shopping-cart-page .shopping-cart-page .order-summary-content:has(> .no-data) { margin-top: 12px; }
.html-shopping-cart-page .shopping-cart-page .no-data { margin: 0; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.4; }
/* tabella: righe ardesia della barra principale al posto del rosso del tema, intestazione ardesia con testo blu notte */
html.html-shopping-cart-page body .master-wrapper-page .cart th,
html.html-shopping-cart-page body .master-wrapper-page .cart td { border-color: var(--isq-mainbar-line) !important; }
html.html-shopping-cart-page body .master-wrapper-page .cart th { background: var(--isq-mainbar); color: var(--isq-navy); font-weight: 600; }
html.html-shopping-cart-page body .master-wrapper-page .cart .product-name { color: var(--isq-navy); font-weight: 600; }
html.html-shopping-cart-page body .master-wrapper-page .cart td.quantity input {
    border: 1px solid var(--isq-mainbar-line) !important;
    border-radius: 4px;
    color: var(--isq-ink);
}
html.html-shopping-cart-page body .master-wrapper-page .cart td.quantity input:focus { border-color: var(--isq-topbar) !important; outline: none; box-shadow: 0 0 0 3px rgba(40, 90, 136, .18); }
/* fascia dei pulsanti sotto la tabella senza il grigio del tema */
html.html-shopping-cart-page body .master-wrapper-page .shopping-cart-page .common-buttons { margin: 0 0 40px; padding: 16px 0 0; background: none; }
/* pulsanti: "Checkout" nel blu della barra superiore come "Invia" e "Accesso"; quelli secondari ("Continua l'acquisto",
   "Request a quote") bianchi con il bordo blu, cosi' non competono con il pulsante principale ne' con "Richiedi una demo" */
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-button,
html.html-shopping-cart-page body .master-wrapper-page .shopping-cart-page .common-buttons button,
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .rfq-button-2 {
    min-width: 160px;
    height: auto;
    margin: 0;
    padding: 12px 32px;
    border: 0;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-topbar);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-button:hover,
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-button:focus-visible { background: #1F4870; }
html.html-shopping-cart-page body .master-wrapper-page .shopping-cart-page .common-buttons button,
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .rfq-button-2 { background: #fff; box-shadow: inset 0 0 0 1.5px var(--isq-topbar); color: var(--isq-topbar); }
html.html-shopping-cart-page body .master-wrapper-page .shopping-cart-page .common-buttons button:hover,
html.html-shopping-cart-page body .master-wrapper-page .shopping-cart-page .common-buttons button:focus-visible,
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .rfq-button-2:hover,
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .rfq-button-2:focus-visible { background: var(--isq-topbar); color: #fff; }
/* riepilogo: riga ardesia sopra al posto del rosso, riquadro ardesia chiaro con angoli arrotondati, "Totale" blu notte */
html.html-shopping-cart-page body .master-wrapper-page .cart-footer { border-top-color: var(--isq-mainbar-line) !important; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .totals { padding: 16px; border-radius: var(--isq-radius); background: var(--isq-mainbar); color: var(--isq-ink-soft); }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .total-info { padding: 4px 14px 14px; border-bottom-color: var(--isq-mainbar-line) !important; }
html.html-shopping-cart-page body .master-wrapper-page .cart-total .order-total { color: var(--isq-navy); font-size: 18px; }
html.html-shopping-cart-page body .master-wrapper-page .cart-total .order-total strong { font-weight: 700; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-buttons { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0 14px 4px; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-buttons > div { margin: 0 !important; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-buttons .rfq-button-2 { display: block; text-align: center; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer { margin-bottom: 48px; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .totals { margin-top: 24px; margin-bottom: 0; }
/* da 1001 px la colonna e' piu' stretta di quella del tema (1200 px): la colonna sinistra (sconti, vuota) di 760 px faceva scendere
   il riepilogo sotto di lei; ora prende solo lo spazio che resta accanto al riepilogo */
@media (min-width: 1001px) {
    html.html-shopping-cart-page body .master-wrapper-page .cart-footer .cart-collaterals { width: calc(100% - 395px - 32px); margin: 0; }
    html.html-shopping-cart-page body .master-wrapper-page .cart-footer .totals { float: right; width: 395px; margin-inline: 0; }
}
/* senza buoni sconto o altro la colonna e' vuota ma alta 75 px: nascosta, il riepilogo sale sotto la riga */
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .cart-collaterals:not(:has(.deals > *)):not(:has(> :not(.deals))) { display: none; }
/* (12/11/2026) sotto la tabella solo il pulsante "Invia ordine": niente riquadro grigio, totali nascosti (restano nella pagina:
   la finestra di conferma legge da li' l'importo dell'ordine, che si vede anche nella colonna Totale della tabella) */
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .totals { padding: 0; border-radius: 0; background: none; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .total-info { display: none; }
html.html-shopping-cart-page body .master-wrapper-page .cart-footer .checkout-buttons { padding: 0; }
/* da telefono la tabella diventa una scheda per prodotto: bordo ardesia al posto del rosso, fascia "Rimuovi" ardesia chiaro */
@media (max-width: 1000px) {
    html.html-shopping-cart-page body .master-wrapper-page .cart tr { border: 1px solid var(--isq-mainbar-line) !important; border-radius: 6px; overflow: hidden; }
    html.html-shopping-cart-page body .master-wrapper-page .cart td { border-color: var(--isq-mainbar-line) !important; }
    html.html-shopping-cart-page body .master-wrapper-page .cart td.remove-from-cart { margin-bottom: 0; border-bottom: 0; background: var(--isq-mainbar); }
    html.html-shopping-cart-page body .master-wrapper-page .cart tr { margin-top: 0; }
}

/* pie' di pagina: stesso azzurro della barra principale (il tema usa il grigio #eee) */
.master-wrapper-page .footer { background-color: var(--isq-mainbar); }
/* pie' di pagina sempre in fondo: nelle pagine corte (es. una notizia breve) il contenuto si allunga fino a riempire lo
   schermo, cosi' il pie' di pagina non resta a meta'. 100dvh segue l'altezza visibile anche sui telefoni (barra degli
   indirizzi che compare e scompare); 100vh e' il ripiego per i browser che non conoscono dvh. Sulle pagine lunghe non cambia nulla */
.master-wrapper-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.master-wrapper-page > .master-wrapper-content { flex: 1 0 auto; }
.master-wrapper-page > .footer { flex-shrink: 0; }

/* pie' di pagina Italsoft (Views\Shared\Components\Footer\Default.cshtml del tema): logo, presentazione e sede a sinistra,
   quattro colonne di link, riga legale in basso. Allineato all'intestazione da 1200 px (logo 9.95vw, pulsante demo 81.91vw) */
.master-wrapper-page .isq-footer { text-align: left; color: var(--isq-ink); }
.master-wrapper-page .isq-footer-upper,
.master-wrapper-page .isq-footer-lower { box-sizing: border-box; width: 100%; padding-inline: 24px; }
@media (min-width: 1200px) {
    .master-wrapper-page .isq-footer-upper,
    .master-wrapper-page .isq-footer-lower { width: 71.96vw; margin-left: 9.95vw; padding-inline: 0; }
}
.master-wrapper-page .isq-footer-upper {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(0, 4fr);
    gap: 48px;
    padding-block: 48px 36px;
}
/* logo con "s.r.l." accanto; spostato di 6 px a sinistra perche' la scritta nell'immagine ha un margine trasparente
   e cosi' si allinea al testo sotto */
.master-wrapper-page .isq-footer-logo { display: flex; align-items: flex-end; gap: 6px; margin-left: -6px; }
.master-wrapper-page .isq-footer-logo a { display: block; }
.master-wrapper-page .isq-footer-logo img { display: block; width: 230px; max-width: 100%; height: auto; }
/* "s.r.l." subito dopo "Sistemi" e sulla stessa linea di base: l'immagine del logo (230 px) ha a destra e in basso
   un margine trasparente (misurato: 36 px e 3,5 px) */
.master-wrapper-page .isq-footer-srl { position: relative; top: -3.5px; margin-left: -36px; color: #1d1d1b; font-family: "Century Gothic", var(--isq-font); font-size: 15px; line-height: 1; white-space: nowrap; }
.master-wrapper-page .isq-footer-about { margin: 16px 0 0; max-width: 34ch; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.6; }
/* marchio Quanto come nel banner: Q disegnata, "uanto" e (R) nel carattere del marchio */
@font-face { font-family: "QuantoAdv"; src: url("fonts/QuantoAdv.otf") format("opentype"); font-weight: 400; font-display: swap; }
.master-wrapper-page .isq-mark { display: inline-block; position: relative; margin-right: .5em; color: var(--isq-ink); font-family: "QuantoAdv", "Century Gothic", var(--isq-font); font-size: 1.2em; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.master-wrapper-page .isq-mark-q { display: inline-block; width: auto; height: .865em; margin: 0 .03em 0 0; vertical-align: -.107em; }
.master-wrapper-page .isq-mark-r { position: absolute; left: 100%; top: -.05em; margin-left: 1px; color: var(--isq-ink-soft); font-size: .42em; letter-spacing: 0; }
/* nell'elenco dei prodotti la Q di Quanto resta del colore del testo (non rossa) */
.master-wrapper-page .isq-footer-list .isq-q { color: inherit; }
/* telefono e email con l'icona davanti */
.master-wrapper-page .isq-footer-contact { display: inline-flex; align-items: center; gap: 8px; }
.master-wrapper-page .isq-footer-ico { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.master-wrapper-page .isq-footer-address { margin: 16px 0 0; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.5; }
.master-wrapper-page .isq-footer-label { display: block; margin-bottom: 2px; color: var(--isq-navy); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }   /* come i titoli delle colonne */
/* colonne di larghezza proporzionale alle voci (Azienda corta, Prodotti e Fatturazione lunghe): con colonne uguali la
   colonna Prodotti sembrava spostata rispetto alle vicine. Da 1366 px le voci stanno su una riga (servono 633 px):
   colonne larghe quanto il contenuto e spazi uguali tra loro */
.master-wrapper-page .isq-footer-columns {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
}
@media (min-width: 1366px) {
    /* Azienda e Soluzioni spostate a destra (rientro a sinistra) per distanziarle dal testo sulla societa' */
    .master-wrapper-page .isq-footer-columns { grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 20px; padding-left: 40px; }
    .master-wrapper-page .isq-footer-col { white-space: nowrap; }
}
.master-wrapper-page .isq-footer-title { margin: 6px 0 14px; color: var(--isq-navy); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.master-wrapper-page .isq-footer-list { margin: 0; padding: 0; list-style: none; }
.master-wrapper-page .isq-footer-list li { margin: 0 0 10px; padding: 0; }
.master-wrapper-page .isq-footer-list li::before { content: none; }
.master-wrapper-page .isq-footer a { color: var(--isq-ink-soft); font-size: 13px; text-decoration: none !important; transition: color .15s ease; }
.master-wrapper-page .isq-footer a:hover,
.master-wrapper-page .isq-footer a:focus-visible { color: var(--isq-topbar); }
.master-wrapper-page .isq-footer-lower {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 18px 22px;
    border-top: 1px solid var(--isq-mainbar-line);
    border-top-color: var(--isq-mainbar-line) !important;   /* il tema colora di rosso i bordi con una regola piu' forte */
    color: var(--isq-ink-soft);
    font-size: 12px;
}
.master-wrapper-page .isq-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.master-wrapper-page .isq-footer-lower a { font-size: 12px; }
.master-wrapper-page .isq-footer-powered a { font-weight: 700; }
@media (max-width: 1000px) {
    .master-wrapper-page .isq-footer-upper { grid-template-columns: 1fr; gap: 32px; }
    .master-wrapper-page .isq-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}
@media (max-width: 420px) {
    .master-wrapper-page .isq-footer-columns { grid-template-columns: 1fr; }
}
/* pagina della notizia (Views\News\NewsItem.cshtml del tema, variante C): in alto "Tutte le notizie"; a sinistra disegno
   del prodotto, prodotto e data; a destra titolo con la riga, testo e commenti */
.master-wrapper-page .isq-newsitem { --isq-news-color: #2F80ED; text-align: left; }
.master-wrapper-page .isq-newsitem--fem   { --isq-news-color: #F28A3C; }
.master-wrapper-page .isq-newsitem--bank  { --isq-news-color: #1E9E50; }
.master-wrapper-page .isq-newsitem--bi    { --isq-news-color: #9B6FE0; }
.master-wrapper-page .isq-newsitem--fisco { --isq-news-color: #1AA8CC; }
.master-wrapper-page .isq-newsitem-back { margin: 0 0 20px; font-size: 15px; font-weight: 700; }
.master-wrapper-page .isq-newsitem-back a { color: var(--isq-topbar); text-decoration: none !important; }
.master-wrapper-page .isq-newsitem-back a:hover,
.master-wrapper-page .isq-newsitem-back a:focus-visible { color: var(--isq-navy); }
/* a sinistra titolo con la riga rossa e testo; a destra disegno, prodotto e data, in alto all'altezza del titolo.
   La colonna di destra occupa entrambe le righe: con la seconda riga 1fr la sua altezza non allontana il testo dal titolo */
.master-wrapper-page .isq-newsitem-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-rows: auto 1fr;
    grid-template-areas: "title side" "main side";
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
}
.master-wrapper-page .isq-newsitem-grid > .page-title { grid-area: title; }
.master-wrapper-page .isq-newsitem-side { grid-area: side; }
.master-wrapper-page .isq-newsitem-main { grid-area: main; padding-top: 18px; }
.master-wrapper-page .isq-newsitem-side { display: flex; flex-direction: column; gap: 10px; }
.master-wrapper-page .isq-newsitem-side .isq-news-row-ill { width: 100%; margin-bottom: 4px; }
.master-wrapper-page .isq-newsitem-product {
    color: color-mix(in srgb, var(--isq-news-color) 78%, #1d2327);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.master-wrapper-page .isq-newsitem-date { color: var(--isq-ink-soft); font-size: 14px; }
.master-wrapper-page .isq-newsitem .page-title { padding-inline: 0; margin: 0; }
.master-wrapper-page .isq-newsitem .page-title h1 { text-align: left; }
.master-wrapper-page .isq-newsitem .page-body { padding: 0; }
.master-wrapper-page .isq-newsitem .news-body { padding: 0; margin: 0; max-width: 80ch; line-height: 1.7; }
/* telefono: una colonna; disegno piccolo accanto a prodotto e data, poi titolo e testo */
@media (max-width: 767px) {
    .master-wrapper-page .isq-newsitem-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "side" "title" "main"; row-gap: 20px; }
    .master-wrapper-page .isq-newsitem-main { padding-top: 0; }
    .master-wrapper-page .isq-newsitem-side { display: grid; grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; }
    .master-wrapper-page .isq-newsitem-side .isq-news-row-ill { grid-row: 1 / span 2; margin: 0; }
    .master-wrapper-page .isq-newsitem-product { align-self: end; }
    .master-wrapper-page .isq-newsitem-date { align-self: start; }
    .master-wrapper-page .isq-newsitem-back { text-align: left; }
}
/* link "Leggi tutte le notizie" / "Solo le notizie dell'ultimo anno" sotto le carte */
.master-wrapper-page .isq-news-switch { display: flex; justify-content: center; margin: 32px 0 8px; }
.master-wrapper-page .isq-news-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid var(--isq-navy);
    border-radius: var(--isq-tile-radius);
    color: var(--isq-navy);
    font-size: 15px;
    font-weight: 700;
    transition: background-color .15s ease, color .15s ease;
}
.master-wrapper-page .isq-news-all:hover,
.master-wrapper-page .isq-news-all:focus-visible { background: var(--isq-navy); color: #fff; }
/* "Torna alle ultime notizie" (isq-news-all--back) con lo stesso stile di "Leggi tutte le notizie" dal 9/11/2026 (prima grigio, piu' tenue) */
/* !important sul colore del bordo: il tema lo colora di rosso con una regola piu' forte */
.master-wrapper-page .isq-news-all { border-color: var(--isq-navy) !important; }

/* ---------- carosello delle ultime notizie (pagina Notizie, Themes\DefaultClean\Views\News\List.cshtml) ----------
   Una notizia per volta, fondo blu del banner della home; a destra un riquadro nel colore del prodotto con giorno e mese.
   Tutta la notizia e' cliccabile (il link del titolo la copre). Sotto: frecce ai lati e pallini. */
.master-wrapper-page .isq-news-carousel { position: relative; margin-top: 24px; }
.master-wrapper-page .isq-news-viewport { overflow: hidden; border-radius: var(--isq-tile-radius); }
.master-wrapper-page .isq-news-track { display: flex; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.master-wrapper-page .isq-news-slide {
    --isq-news-color: #2F80ED;   /* colori dei prodotti nella pagina Notizie: blu brillante, arancione chiaro, verde, viola chiaro, celeste */
    position: relative;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: stretch;
    min-height: 300px;
    padding: 40px 48px;
    background:
        radial-gradient(700px 420px at 80% 40%, rgba(47, 101, 151, .55), transparent 70%),
        linear-gradient(118deg, var(--isq-navy) 0%, #1F4870 48%, var(--isq-topbar) 100%);
    color: #fff;
    box-sizing: border-box;
}
.master-wrapper-page .isq-news-slide--fem   { --isq-news-color: #F28A3C; }
.master-wrapper-page .isq-news-slide--bank  { --isq-news-color: #1E9E50; }
.master-wrapper-page .isq-news-slide--bi    { --isq-news-color: #9B6FE0; }
.master-wrapper-page .isq-news-slide--fisco { --isq-news-color: #1AA8CC; }
.master-wrapper-page .isq-news-slide-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
/* etichetta del prodotto: testo bianco con una barra verticale nel colore del prodotto a sinistra
   (!important sul colore del bordo: il tema lo colora di rosso con una regola piu' forte) */
.master-wrapper-page .isq-news-slide-tag {
    margin-bottom: 14px;
    padding: 2px 0 2px 12px;
    border-left: 4px solid var(--isq-news-color);
    border-left-color: var(--isq-news-color) !important;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.master-wrapper-page .isq-news-slide-title { margin: 0 0 8px; font-size: 30px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.master-wrapper-page .isq-news-slide-title a { color: #fff; }
.master-wrapper-page .isq-news-slide-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.master-wrapper-page .isq-news-slide-title a:focus-visible { outline: none; }
.master-wrapper-page .isq-news-slide:has(.isq-news-slide-title a:focus-visible) { outline: 3px solid #fff; outline-offset: -6px; }
.master-wrapper-page .isq-news-slide-date { margin-bottom: 14px; color: rgba(255, 255, 255, .75); font-size: 14px; }
.master-wrapper-page .isq-news-slide-short {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    max-width: 62ch;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.6;
}
.master-wrapper-page .isq-news-slide-short * { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
/* nel carosello (fondo blu) la Q rossa non si legge: resta del colore del testo */
.master-wrapper-page .isq-news-slide .isq-q { color: inherit; }
/* pulsante "Leggi la notizia": bianco con testo blu notte (il rosso stonava con i colori dei prodotti) */
.master-wrapper-page .isq-news-slide-more {
    margin-top: auto;
    padding: 11px 20px;
    border-radius: var(--isq-tile-radius);
    background: #fff;
    color: var(--isq-navy);
    font-size: 14px;
    font-weight: 700;
    transition: background-color .15s ease;
}
.master-wrapper-page .isq-news-slide:hover .isq-news-slide-more { background: var(--isq-mainbar); }
/* riquadro a destra: "foglio di calendario" nel colore del prodotto */
.master-wrapper-page .isq-news-slide-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-news-color);
    box-shadow: inset 0 6px 0 rgba(255, 255, 255, .18), 0 18px 36px rgba(0, 0, 0, .25);
    color: #fff;
    text-align: center;
}
.master-wrapper-page .isq-news-slide-day { font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.master-wrapper-page .isq-news-slide-month { margin-top: 8px; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

.master-wrapper-page .isq-news-arrow {
    position: absolute;
    top: 150px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--isq-navy);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transition: background-color .15s ease, transform .15s ease;
}
.master-wrapper-page .isq-news-arrow:hover,
.master-wrapper-page .isq-news-arrow:focus-visible { background: #fff; transform: scale(1.08); }
.master-wrapper-page .isq-news-arrow--prev { left: -22px; }
.master-wrapper-page .isq-news-arrow--next { right: -22px; }
.master-wrapper-page .isq-news-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.master-wrapper-page .isq-news-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--isq-mainbar-line);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.master-wrapper-page .isq-news-dot[aria-current="true"] { background: var(--isq-brand); transform: scale(1.2); }
/* carte sotto il carosello */
.master-wrapper-page .isq-news-carousel + .isq-news-grid { margin-top: 32px; }

@media (max-width: 1000px) {
    .master-wrapper-page .isq-news-slide { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; padding: 32px; }
    .master-wrapper-page .isq-news-slide-day { font-size: 64px; }
    .master-wrapper-page .isq-news-arrow--prev { left: 8px; }
    .master-wrapper-page .isq-news-arrow--next { right: 8px; }
}
@media (max-width: 600px) {
    .master-wrapper-page .isq-news-slide { grid-template-columns: 1fr; min-height: 0; padding: 24px 20px 28px; }
    .master-wrapper-page .isq-news-slide-art { display: none; }
    .master-wrapper-page .isq-news-slide-title { font-size: 22px; }
    .master-wrapper-page .isq-news-slide-short { font-size: 15px; }
    .master-wrapper-page .isq-news-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .master-wrapper-page .isq-news-track { transition: none; }
}
/* sottotitolo di "Notizie", sotto la riga rossa del titolo */
.master-wrapper-page .news-list-page .isq-news-subtitle { margin: 12px 0 0; color: var(--isq-ink-soft); font-size: 14px; line-height: 1.4; text-align: left; }
@media (max-width: 1000px) { .master-wrapper-page .news-list-page .isq-news-subtitle { font-size: 13px; text-align: center; } }
/* "Tutte le notizie": ritorno alla pagina Notizie in alto, sotto il sottotitolo */
.master-wrapper-page .news-list-page .isq-news-back { margin: 14px 0 0; text-align: left; font-size: 15px; font-weight: 700; }
.master-wrapper-page .news-list-page .isq-news-back a { color: var(--isq-topbar); text-decoration: none !important; }
.master-wrapper-page .news-list-page .isq-news-back a:hover,
.master-wrapper-page .news-list-page .isq-news-back a:focus-visible { color: var(--isq-navy); }
@media (max-width: 1000px) { .master-wrapper-page .news-list-page .isq-news-back { text-align: center; } }

/* ---------- notizie in home page (Themes\DefaultClean\Views\Shared\Components\HomepageNews\Default.cshtml) ---------- */
/* riquadro "Novita'": sopra il banner (.qh-hero) in basso a destra, compare alla fine dell'animazione */
.master-wrapper-page .isq-novita {
    --isq-news-color: #2F80ED;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(360px, calc(100% - 32px));
    box-sizing: border-box;
    margin: 0 auto 24px;
    padding: 18px 20px 18px 22px;
    border: 2px solid var(--isq-news-color);   /* cornice sottile del colore del prodotto */
    border-color: var(--isq-news-color) !important;   /* il tema colora di rosso i bordi con una regola piu' forte */
    border-radius: var(--isq-tile-radius);
    background: var(--isq-mainbar);   /* stesso azzurro della barra principale */
    box-shadow: 0 18px 40px rgba(10, 30, 55, .35), 0 4px 10px rgba(10, 30, 55, .18);
    color: var(--isq-ink);
    text-align: left;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease, background-color .2s ease;
}
/* colore del prodotto: sul riquadro (cornice, pallino attivo, tinta al passaggio; cambia con la notizia mostrata)
   e su ogni notizia del carosello (nome del prodotto) */
.master-wrapper-page .isq-novita-slide--erp                                            { --isq-news-color: #2F80ED; }
.master-wrapper-page .isq-novita--fem,   .master-wrapper-page .isq-novita-slide--fem   { --isq-news-color: #F28A3C; }
.master-wrapper-page .isq-novita--bank,  .master-wrapper-page .isq-novita-slide--bank  { --isq-news-color: #1E9E50; }
.master-wrapper-page .isq-novita--bi,    .master-wrapper-page .isq-novita-slide--bi    { --isq-news-color: #9B6FE0; }
.master-wrapper-page .isq-novita--fisco, .master-wrapper-page .isq-novita-slide--fisco { --isq-news-color: #1AA8CC; }
.master-wrapper-page .isq-novita { transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease, background-color .2s ease, border-color .4s ease; }
/* carosello: notizie sovrapposte nella stessa cella (il riquadro prende l'altezza della piu' alta), dissolvenza */
.master-wrapper-page .isq-novita-slides { display: grid; width: 100%; }
.master-wrapper-page .isq-novita-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.master-wrapper-page .isq-novita-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s ease, visibility 0s; }
/* pallini sopra il link che copre il riquadro; area di clic 22 px, pallino 9 px */
.master-wrapper-page .isq-novita-dots { position: relative; z-index: 2; display: flex; gap: 2px; margin: 10px 0 -6px -6px; }
.master-wrapper-page .isq-novita-dot {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer;
}
.master-wrapper-page .isq-novita-dot::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: auto;
    border-radius: 50%;
    background: var(--isq-mainbar-line);
    box-shadow: inset 0 0 0 1px rgba(22, 55, 88, .18);
    transition: background-color .3s ease, transform .3s ease;
}
.master-wrapper-page .isq-novita-dot:hover::before { background: color-mix(in srgb, var(--isq-news-color) 45%, var(--isq-mainbar-line)); }
.master-wrapper-page .isq-novita-dot.is-on::before { background: var(--isq-news-color); box-shadow: none; transform: scale(1.25); }
.master-wrapper-page .isq-novita-dot:focus-visible { outline: 2px solid var(--isq-topbar); outline-offset: -2px; border-radius: 50%; }
/* bordo destro allineato al pulsante "Richiedi una demo" dell'intestazione (81.91vw, vedi .isq-head-cta) */
.master-wrapper-page .isq-novita--hero { position: absolute; right: 18.09vw; bottom: 28px; margin: 0; }
.master-wrapper-page .isq-novita--in { opacity: 1; transform: none; }
/* al passaggio lo sfondo prende la tinta del prodotto, come le righe dell'elenco di tutte le notizie (.isq-news-row:hover) */
.master-wrapper-page .isq-novita:hover {
    background: color-mix(in srgb, var(--isq-news-color) 7%, #fff);
    box-shadow: 0 24px 48px rgba(10, 30, 55, .42), 0 6px 14px rgba(10, 30, 55, .2);
}
.master-wrapper-page .isq-novita-badge {
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--isq-brand-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.master-wrapper-page .isq-novita--in .isq-novita-badge { animation: isq-novita-pulse 1.4s ease-in-out .5s 3; }
@keyframes isq-novita-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 0, 0, .55); }
    50% { box-shadow: 0 0 0 8px rgba(229, 0, 0, 0); }
}
/* nome del prodotto nel suo colore, scurito di poco perche' resti leggibile sull'azzurro (l'arancione puro non lo e') */
.master-wrapper-page .isq-novita-product { margin-bottom: 4px; color: color-mix(in srgb, var(--isq-news-color) 78%, #1d2327); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.master-wrapper-page .isq-novita-title { margin: 0 0 4px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.master-wrapper-page .isq-novita-title a { color: var(--isq-ink); }
/* il link del titolo copre il riquadro: si clicca ovunque (tranne la x) */
.master-wrapper-page .isq-novita-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.master-wrapper-page .isq-novita-date { margin-bottom: 14px; color: var(--isq-ink-soft); font-size: 13px; }
/* breve descrizione: sotto la data, al massimo 3 righe */
.master-wrapper-page .isq-novita-short {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: -6px 0 12px;
    color: var(--isq-ink);
    font-size: 14px;
    line-height: 1.45;
}
.master-wrapper-page .isq-novita-short p { margin: 0; }
/* "Approfondisci": scritta rossa, senza sottolineatura; al passaggio rosso scuro */
.master-wrapper-page .isq-novita .isq-novita-more {
    color: var(--isq-brand);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .15s ease;
}
.master-wrapper-page .isq-novita:hover .isq-novita-more { color: var(--isq-brand-deep-hover); }
.master-wrapper-page .isq-novita-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--isq-ink-soft);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.master-wrapper-page .isq-novita-close:hover,
.master-wrapper-page .isq-novita-close:focus-visible { background: var(--isq-mainbar-line); color: var(--isq-ink); }
@media (max-width: 767px) {
    .master-wrapper-page .isq-novita--hero { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 14px 16px 14px 18px; }
    .master-wrapper-page .isq-novita-title { font-size: 17px; }
    .master-wrapper-page .isq-novita-date { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .master-wrapper-page .isq-novita,
    .master-wrapper-page .isq-novita-slide,
    .master-wrapper-page .isq-novita-slide.is-on { transition: none; }
    .master-wrapper-page .isq-novita--in .isq-novita-badge { animation: none; }
}

/* "Ultime notizie": prima dell'invito finale della home, carte come nella pagina Notizie */
.master-wrapper-page .isq-homenews { margin: 56px 0 48px; }
.master-wrapper-page .isq-homenews-head { text-align: left; }
.master-wrapper-page .isq-homenews-title { margin: 0 0 6px; color: var(--isq-ink); font-size: 30px; font-weight: 700; }
.master-wrapper-page .isq-homenews-subtitle { margin: 0; color: var(--isq-ink-soft); font-size: 15px; }
.master-wrapper-page .isq-homenews .isq-news-grid { margin-top: 28px; }
/* blocco originale di nopCommerce non piu' usato */
.html-home-page .news-list-homepage { display: none; }

/* ---------- elenco completo delle notizie (/news?tutte=1): una riga per notizia ----------
   Riga leggera a tutta larghezza, cornice nel colore del prodotto; a sinistra prodotto, titolo, data e descrizione,
   a destra un disegno stilizzato del prodotto (SVG nella vista News\List.cshtml). Tutta la riga e' cliccabile
   (a.isq-news-cover); al passaggio del mouse si colora appena, senza muoversi. */
.master-wrapper-page .isq-news-rows { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.master-wrapper-page .isq-news-row {
    --isq-news-color: #2F80ED;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 32px;
    align-items: center;
    padding: 20px 28px;
    border: 2px solid var(--isq-news-color);
    border-color: var(--isq-news-color) !important;   /* il tema colora di rosso i bordi con una regola piu' forte */
    border-radius: var(--isq-tile-radius);
    background: #fff;
    text-align: left;
    transition: background-color .15s ease, box-shadow .15s ease;
}
.master-wrapper-page .isq-news-row--fem   { --isq-news-color: #F28A3C; }
.master-wrapper-page .isq-news-row--bank  { --isq-news-color: #1E9E50; }
.master-wrapper-page .isq-news-row--bi    { --isq-news-color: #9B6FE0; }
.master-wrapper-page .isq-news-row--fisco { --isq-news-color: #1AA8CC; }
.master-wrapper-page .isq-news-row:hover {
    background: color-mix(in srgb, var(--isq-news-color) 7%, #fff);
    box-shadow: 0 6px 18px rgba(22, 55, 88, .10);
}
.master-wrapper-page .isq-news-row:has(.isq-news-row-title a:focus-visible) { outline: 2px solid var(--isq-news-color); outline-offset: 3px; }
.master-wrapper-page .isq-news-row-title a:focus-visible { outline: none; }
.master-wrapper-page .isq-news-row-product {
    display: block;
    margin-bottom: 4px;
    color: color-mix(in srgb, var(--isq-news-color) 75%, var(--isq-ink));
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.master-wrapper-page .isq-news-row-title { margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.master-wrapper-page .isq-news-row-title a { color: var(--isq-ink); }
.master-wrapper-page .isq-news-row-date { display: block; margin-bottom: 8px; color: var(--isq-ink-soft); font-size: 13px; }
.master-wrapper-page .isq-news-row-short {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-width: 80ch;
    color: var(--isq-ink-soft);
    font-size: 14px;
    line-height: 1.6;
}
.master-wrapper-page .isq-news-row-short * { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.master-wrapper-page .isq-news-row-short .isq-q { color: var(--isq-brand); }
/* immagine del prodotto, nello stile del banner della home: fondo blu sfumato, quadretti, pannelli semitrasparenti;
   accento nel colore del prodotto (--isq-news-color) */
.master-wrapper-page .isq-news-row-ill {
    display: block;
    width: 170px;
    height: auto;
    border-radius: var(--isq-tile-radius);
    background:
        radial-gradient(120px 80px at 70% 45%, rgba(45, 112, 190, .85), transparent 75%),
        linear-gradient(118deg, #163758 0%, #1A4A85 48%, #1D5AA1 100%);   /* PROVA 9/11/2026 variante B: verso il nuovo blu #1D5AA1 (prima #1F4870 48%, #285A88 100%; bagliore rgba(47, 101, 151, .9)) */
    box-shadow: 0 6px 16px rgba(22, 55, 88, .18);
}
.master-wrapper-page .isq-ill-t  { fill: rgba(243, 247, 251, .10); }                    /* quadretti dello sfondo */
.master-wrapper-page .isq-ill-t2 { fill: rgba(243, 247, 251, .16); }                    /* caselle (calendario) */
.master-wrapper-page .isq-ill-p  { fill: rgba(243, 247, 251, .12); stroke: rgba(243, 247, 251, .28); stroke-width: 1.2; }   /* pannelli */
.master-wrapper-page .isq-ill-h  { fill: rgba(243, 247, 251, .10); }                    /* testata di tabella */
.master-wrapper-page .isq-ill-l  { fill: #A9CBEB; }                                     /* azzurro del banner */
.master-wrapper-page .isq-ill-s2 { fill: rgba(169, 203, 235, .45); }
.master-wrapper-page .isq-ill-a  { fill: var(--isq-news-color); }                       /* accento del prodotto */
.master-wrapper-page .isq-ill-i  { fill: none; stroke: #F3F7FB; stroke-width: 2.6; stroke-linecap: round; }
.master-wrapper-page .isq-ill-s  { fill: none; stroke: rgba(243, 247, 251, .38); stroke-width: 2.4; stroke-linecap: round; }
.master-wrapper-page .isq-ill-n  { fill: none; stroke: #224C74; stroke-width: 2.4; stroke-linecap: round; }
.master-wrapper-page .isq-ill-line { fill: none; stroke: #A9CBEB; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.master-wrapper-page .isq-ill-d  { fill: none; stroke: rgba(243, 247, 251, .55); stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; }
.master-wrapper-page .isq-ill-w  { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
    .master-wrapper-page .isq-news-row { grid-template-columns: minmax(0, 1fr) 84px; gap: 16px; padding: 16px 18px; }
    .master-wrapper-page .isq-news-row-ill { width: 84px; }
    .master-wrapper-page .isq-news-row-title { font-size: 17px; }
    .master-wrapper-page .isq-news-row-short { -webkit-line-clamp: 3; line-clamp: 3; }
}
/* numeri di pagina staccati dall'ultima riga dell'elenco completo */
.master-wrapper-page .news-list-page .isq-news-rows + .pager { margin-top: 36px; }

/* ---------- pagine delle categorie (Gestione Licenze, Quanto Standard, Quanto BI; 11/11/2026) ----------
   Allineate a Notizie, Contatti, Accedi e Carrello: percorso, colonna laterale e prodotti dal logo Italsoft al pulsante
   "Richiedi una demo" (da 1200 px); titolo 20 px semi-grassetto blu notte; percorso come nelle pagine prodotto (.isq-crumbs)
   senza la fascia grigia del tema; blocchi laterali con titoli blu notte; barra "Ordina per" e campo con le righe grigie;
   prodotti in schede grigie (--isq-mainbar) che si sollevano come le carte delle Notizie; "Acquista" nel blu della barra
   superiore come "Checkout". Il tema colora di rosso tutti i bordi con !important: i bordi qui sotto hanno !important.
   Vista: Views\Catalog\CategoryTemplate.ProductsInGridOrLines.cshtml (layout a due colonne _ColumnsTwo) */
@media (min-width: 1200px) {
    .html-category-page .master-wrapper-content > .breadcrumb,
    .html-category-page .master-column-wrapper { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}
/* percorso: testo 14 px grigio, voce corrente blu notte */
html.html-category-page body .master-wrapper-page .breadcrumb { margin-bottom: 24px; padding: 0; background: none; }   /* solo il margine sotto: quelli laterali sono l'allineamento al logo */
html.html-category-page body .master-wrapper-page .breadcrumb li * { margin: 0 6px 0 0; font-size: 14px; color: var(--isq-ink-soft); }
html.html-category-page body .master-wrapper-page .breadcrumb .delimiter { opacity: .5; }
html.html-category-page body .master-wrapper-page .breadcrumb a:hover span { color: var(--isq-topbar); }
html.html-category-page body .master-wrapper-page .breadcrumb strong.current-item { color: var(--isq-navy); font-weight: 600; }
/* pagine prodotto del catalogo (Variazione licenze, Licenza iniziale, Rinnovo e gli altri articoli; 14/11/2026): stesso allineamento e
   stesso percorso delle categorie, senza la fascia grigia del tema sotto il menu; contenuto dal logo Italsoft al pulsante
   "Richiedi una demo" da 1200 px (prima piu' largo, dal 7% al 93% della finestra) */
@media (min-width: 1200px) {
    .html-product-details-page .master-column-wrapper { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}
html.html-product-details-page body .master-wrapper-page .breadcrumb { margin-bottom: 24px; padding: 0; background: none; }
html.html-product-details-page body .master-wrapper-page .breadcrumb li * { margin: 0 6px 0 0; font-size: 14px; color: var(--isq-ink-soft); }
html.html-product-details-page body .master-wrapper-page .breadcrumb .delimiter { opacity: .5; }
html.html-product-details-page body .master-wrapper-page .breadcrumb a:hover span { color: var(--isq-topbar); }
html.html-product-details-page body .master-wrapper-page .breadcrumb strong.current-item { color: var(--isq-navy); font-weight: 600; }
/* titolo della pagina come nelle altre pagine (riga rossa 6 px sotto il titolo) */
html.html-category-page body .master-wrapper-page .center-2 .page-title { min-height: 0; margin-bottom: 20px; padding: 0 0 6px; }
html.html-category-page body .master-wrapper-page .center-2 .page-title h1 { font-size: 20px; font-weight: 600; color: var(--isq-navy); }
/* colonna laterale (da 1001 px, dove i blocchi sono sempre aperti): titoli blu notte 16 px con la riga rossa sotto,
   voci 15 px nel colore del testo, quella aperta nel blu della barra superiore, quadratino grigio */
@media (min-width: 1001px) {
    html.html-category-page body .master-wrapper-page .side-2 .block { margin-bottom: 28px; }
    html.html-category-page body .master-wrapper-page .side-2 .block .title { padding: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--isq-navy); }
    html.html-category-page body .master-wrapper-page .side-2 .block .title strong { font-weight: inherit; }
    html.html-category-page body .master-wrapper-page .side-2 .block .listbox { padding: 8px 0 0; }
}
html.html-category-page body .master-wrapper-page .side-2 .block .list li { padding: 3px 0 3px 15px; }
html.html-category-page body .master-wrapper-page .side-2 .block .list a { padding: 3px 0; font-size: 15px; color: var(--isq-ink); }
html.html-category-page body .master-wrapper-page .side-2 .block .list a::before { top: 11px; background-color: var(--isq-mainbar-line); }
html.html-category-page body .master-wrapper-page .side-2 .block .list .active > a { color: var(--isq-topbar); font-weight: 600; }
html.html-category-page body .master-wrapper-page .side-2 .block .list a:hover,
html.html-category-page body .master-wrapper-page .side-2 .block .list a:focus-visible { color: var(--isq-topbar); }
/* barra "Ordina per": righe grigie al posto del rosso, campo con bordo grigio e angoli arrotondati */
html.html-category-page body .master-wrapper-page .product-selectors { margin-bottom: 24px; padding: 12px 0; border-color: var(--isq-mainbar-line) !important; }
html.html-category-page body .master-wrapper-page .product-selectors span { font-size: 14px; color: var(--isq-ink-soft); }
html.html-category-page body .master-wrapper-page .product-selectors select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--isq-mainbar-line) !important;
    border-radius: 4px;
    color: var(--isq-ink);
    font-size: 14px;
}
html.html-category-page body .master-wrapper-page .product-selectors select:focus { border-color: var(--isq-topbar) !important; outline: none; box-shadow: 0 0 0 3px rgba(40, 90, 136, .18); }
/* prodotti: scheda grigia con angoli arrotondati che si solleva al passaggio del mouse (come le carte delle Notizie);
   immagine su fondo bianco, meno alta del quadrato del tema */
html.html-category-page body .master-wrapper-page .product-grid .item-box { margin-bottom: 24px; }
html.html-category-page body .master-wrapper-page .item-box .product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    border-radius: var(--isq-tile-radius);
    background: var(--isq-mainbar);
    box-shadow: 0 1px 2px rgba(22, 55, 88, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
html.html-category-page body .master-wrapper-page .item-box:hover .product-item,
html.html-category-page body .master-wrapper-page .item-box:focus-within .product-item {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(22, 55, 88, .16), 0 4px 8px rgba(22, 55, 88, .08);
}
@media (prefers-reduced-motion: reduce) {
    html.html-category-page body .master-wrapper-page .item-box .product-item { transition: none; }
    html.html-category-page body .master-wrapper-page .item-box:hover .product-item,
    html.html-category-page body .master-wrapper-page .item-box:focus-within .product-item { transform: none; }
}
html.html-category-page body .master-wrapper-page .item-box .picture { margin: 0 0 14px; border-radius: var(--isq-tile-radius); background: #fff; overflow: hidden; }
html.html-category-page body .master-wrapper-page .product-grid .item-box .picture a::before { padding-top: 62%; }
html.html-category-page body .master-wrapper-page .product-grid .item-box .picture a img { max-width: 70%; max-height: 80%; }
html.html-category-page body .master-wrapper-page .item-box .details { display: flex; flex: 1; flex-direction: column; padding: 0; }
html.html-category-page body .master-wrapper-page .item-box .product-title { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.35; }
html.html-category-page body .master-wrapper-page .item-box .product-title a { color: var(--isq-navy); }
html.html-category-page body .master-wrapper-page .item-box .product-title a:hover { color: var(--isq-topbar); }
html.html-category-page body .master-wrapper-page .item-box .prices { min-height: 0; margin-bottom: 14px; }   /* il tema riserva 40 px al prezzo: troppo spazio sotto il nome */
html.html-category-page body .master-wrapper-page .item-box .actual-price { font-size: 15px; font-weight: 700; color: var(--isq-navy); }
/* pulsanti in fondo alla scheda: "Acquista" nel blu della barra superiore (non maiuscolo), confronto bianco con bordo grigio */
html.html-category-page body .master-wrapper-page .item-box .buttons { display: flex; gap: 8px; margin-top: auto; }
html.html-category-page body .master-wrapper-page .item-box .product-box-add-to-cart-button {
    flex: 1;
    width: auto;
    height: 40px;
    border-radius: var(--isq-tile-radius);
    background-color: var(--isq-topbar);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    transition: background-color .15s ease;
}
html.html-category-page body .master-wrapper-page .item-box .product-box-add-to-cart-button:hover,
html.html-category-page body .master-wrapper-page .item-box .product-box-add-to-cart-button:focus-visible { background-color: #1F4870; }
html.html-category-page body .master-wrapper-page .item-box .add-to-compare-list-button,
html.html-category-page body .master-wrapper-page .item-box .add-to-wishlist-button {
    flex: 0 0 44px;
    width: 44px;
    height: 40px;
    border: 0 !important;
    border-radius: var(--isq-tile-radius);
    background-color: #fff;
    box-shadow: inset 0 0 0 1.5px var(--isq-mainbar-line);
}
html.html-category-page body .master-wrapper-page .item-box .add-to-compare-list-button:hover,
html.html-category-page body .master-wrapper-page .item-box .add-to-compare-list-button:focus-visible,
html.html-category-page body .master-wrapper-page .item-box .add-to-wishlist-button:hover,
html.html-category-page body .master-wrapper-page .item-box .add-to-wishlist-button:focus-visible { background-color: var(--isq-mainbar); box-shadow: inset 0 0 0 1.5px var(--isq-topbar); }

/* ---------- avviso cookie (legge UE): barra fissata in fondo alla finestra (12/11/2026) ----------
   Il tema DefaultClean lo mostra come riquadro di 320 px al centro dello schermo; qui diventa una barra
   a tutta larghezza in basso, con testo e pulsanti sulla stessa riga (su telefono uno sotto l'altro). */
html body .eu-cookie-bar-notification {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 -4px 16px rgba(16, 24, 32, .18);
    background-color: var(--isq-topbar);
    padding: 14px 20px;
    font-family: var(--isq-font);
    color: #fff;
    text-align: left;
}
html body .eu-cookie-bar-notification .content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 28px;
    max-width: 1200px;
    margin: 0 auto;
}
html body .eu-cookie-bar-notification .text { margin: 0; line-height: 1.5; font-size: 14px; }
html body .eu-cookie-bar-notification .buttons-more { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
html body .eu-cookie-bar-notification button {
    margin: 0;
    min-width: 72px;
    border-radius: var(--isq-tile-radius);
    background-color: var(--isq-brand-deep);
    padding: 9px 18px;
    font-weight: 700;
}
html body .eu-cookie-bar-notification button:hover,
html body .eu-cookie-bar-notification button:focus { background-color: var(--isq-brand-deep-hover); }
html body .eu-cookie-bar-notification a { display: inline; color: #fff; text-decoration: underline; text-decoration-color: currentColor !important; font-size: 14px; } /* !important: styles.css del tema rende rosse tutte le sottolineature */
html body .eu-cookie-bar-notification a:hover,
html body .eu-cookie-bar-notification a:focus { color: #fff; text-decoration: none; }
@media (max-width: 767px) {
    html body .eu-cookie-bar-notification .content { flex-direction: column; align-items: stretch; text-align: center; }
    html body .eu-cookie-bar-notification .buttons-more { justify-content: center; }
}

/* ---------- pagine categoria (Gestione Licenze, Quanto Standard, Quanto BI): ritocchi del 12/11/2026 ----------
   - titolo della colonna laterale ("Categorie") e titolo della pagina con la stessa altezza di riga, la stessa
     distanza della riga rossa e lo stesso corpo, cosi' testi e righe sono allineati;
   - le immagini dei prodotti licenze (JPEG 1600x992, sql\product_icons_riquadro_490.sql) hanno la proporzione della
     scheda (62%): riempiono tutto il riquadro invece di stare al 70% su fondo bianco;
   - sottocategorie (pagina Gestione Licenze) come le schede dei prodotti: immagine sopra, nome sotto, scheda grigia
     che si solleva al passaggio del mouse. */
@media (min-width: 1001px) {
    html.html-category-page body .master-wrapper-page .side-2 .block .title,
    html.html-category-page body .master-wrapper-page .center-2 .page-title { margin: 0 0 20px; padding: 0 0 10px; }
    html.html-category-page body .master-wrapper-page .side-2 .block .title,
    html.html-category-page body .master-wrapper-page .side-2 .block .title strong,
    html.html-category-page body .master-wrapper-page .center-2 .page-title h1 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0; }
    html.html-category-page body .master-wrapper-page .side-2 .block .listbox { padding: 0; }
}
html.html-category-page body .master-wrapper-page .product-grid .item-box .picture { margin: 0 0 14px; background: #163758; }
html.html-category-page body .master-wrapper-page .product-grid .item-box .picture a img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }

html.html-category-page body .master-wrapper-page .sub-category-grid .item-box { margin-bottom: 24px; }
html.html-category-page body .master-wrapper-page .sub-category-item {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    border-radius: var(--isq-radius);
    background: var(--isq-mainbar);
    padding: 14px 14px 4px;
    transition: transform .2s ease, box-shadow .2s ease;
}
html.html-category-page body .master-wrapper-page .sub-category-item:hover,
html.html-category-page body .master-wrapper-page .sub-category-item:focus-within { transform: translateY(-3px); box-shadow: var(--isq-shadow); }
@media (prefers-reduced-motion: reduce) {
    html.html-category-page body .master-wrapper-page .sub-category-item { transition: none; }
    html.html-category-page body .master-wrapper-page .sub-category-item:hover,
    html.html-category-page body .master-wrapper-page .sub-category-item:focus-within { transform: none; }
}
html.html-category-page body .master-wrapper-page .sub-category-grid .picture { margin: 0; border-radius: var(--isq-tile-radius); overflow: hidden; background: #163758; }
html.html-category-page body .master-wrapper-page .sub-category-grid .picture a::before { padding-top: 62%; }
html.html-category-page body .master-wrapper-page .sub-category-grid .picture a img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
html.html-category-page body .master-wrapper-page .sub-category-grid .title { margin: 0; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.35; }
html.html-category-page body .master-wrapper-page .sub-category-grid .title a { padding: 12px 0; color: var(--isq-navy); }
html.html-category-page body .master-wrapper-page .sub-category-grid .title a:hover { color: var(--isq-topbar); }

/* ---------- pagina "Download Software" (/download, plugin Misc.Quanto 1.08, Views\Download.cshtml), 12/11/2026 ----------
   Albero come la vista Dettagli di Esplora file: righe a griglia Nome | Ultima modifica | Dimensione, rientro per livello
   (--isq-dl-level), cartelle gialle che si aprono con la freccia, file con il riquadro dell'estensione colorato per tipo.
   Il tema colora di rosso tutti i bordi con !important: i bordi qui sotto hanno !important. */
@media (min-width: 1200px) {
    .html-download-page .master-wrapper-content > .breadcrumb,
    .html-download-page .master-column-wrapper { margin-left: calc(9.95vw - 50vw + 50%); margin-right: calc(50% - 31.91vw); }
}
html.html-download-page body .master-wrapper-page .isq-dl-page .page-title { min-height: 0; margin: 0 0 10px; padding: 0 0 10px; }
html.html-download-page body .master-wrapper-page .isq-dl-page .page-title h1 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--isq-navy); text-align: left; }
html.html-download-page body .master-wrapper-page .isq-dl-page,
html.html-download-page body .master-wrapper-page .isq-dl-page .page-body { text-align: left; }   /* il tema centra titolo e testi su telefono */
.master-wrapper-page .isq-dl-page .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.master-wrapper-page .isq-dl-intro { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--isq-ink-soft); }
.master-wrapper-page .isq-dl-none { padding: 28px; border-radius: var(--isq-radius); background: var(--isq-mainbar); color: var(--isq-ink-soft); text-align: center; }

.master-wrapper-page .isq-dl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.master-wrapper-page .isq-dl-search { position: relative; flex: 1 1 280px; max-width: 420px; margin: 0; }
.master-wrapper-page .isq-dl-search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--isq-ink-soft); pointer-events: none; }
.master-wrapper-page .isq-dl-search input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--isq-mainbar-line) !important;
    border-radius: var(--isq-tile-radius);
    padding: 0 12px 0 40px;
    font: inherit;
    font-size: 15px;
    color: var(--isq-ink);
    background: #fff;
}
.master-wrapper-page .isq-dl-search input:focus { border-color: var(--isq-topbar) !important; outline: none; box-shadow: 0 0 0 3px rgba(40, 90, 136, .18); }
.master-wrapper-page .isq-dl-actions { display: flex; gap: 8px; }
.master-wrapper-page .isq-dl-btn {
    height: 42px;
    border: 1px solid var(--isq-mainbar-line) !important;
    border-radius: var(--isq-tile-radius);
    padding: 0 16px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--isq-navy);
    cursor: pointer;
}
.master-wrapper-page .isq-dl-btn:hover,
.master-wrapper-page .isq-dl-btn:focus-visible { background: var(--isq-mainbar); border-color: var(--isq-topbar) !important; }

.master-wrapper-page .isq-dl-tree { border: 1px solid var(--isq-mainbar-line) !important; border-radius: var(--isq-radius); overflow: hidden; background: #fff; }
.master-wrapper-page .isq-dl-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 96px 28px;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 6px 14px 6px calc(14px + var(--isq-dl-level, 0) * 26px);
    border-top: 1px solid #EDEDED !important;
    color: var(--isq-ink);
    font-size: 15px;
    text-decoration: none;
}
.master-wrapper-page .isq-dl-head {
    min-height: 38px;
    border-top: 0 !important;
    background: var(--isq-mainbar);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--isq-ink-soft);
}
.master-wrapper-page .isq-dl-head .isq-dl-name { padding-left: 58px; }
.master-wrapper-page .isq-dl-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.master-wrapper-page .isq-dl-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.master-wrapper-page .isq-dl-count { flex: none; margin-left: 4px; border-radius: 10px; padding: 1px 8px; background: var(--isq-mainbar); font-size: 12px; font-weight: 600; color: var(--isq-ink-soft); }
.master-wrapper-page .isq-dl-date,
.master-wrapper-page .isq-dl-size { font-size: 14px; font-weight: 400; color: var(--isq-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.master-wrapper-page .isq-dl-size { text-align: right; }
.master-wrapper-page .isq-dl-head .isq-dl-date,
.master-wrapper-page .isq-dl-head .isq-dl-size { font-size: 12px; font-weight: 700; }

/* cartelle */
.master-wrapper-page .isq-dl-folder > summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--isq-navy); }
.master-wrapper-page .isq-dl-folder > summary::-webkit-details-marker { display: none; }
.master-wrapper-page .isq-dl-folder > summary:hover { background: #F6F8FA; }
.master-wrapper-page .isq-dl-folder > summary:focus-visible { outline: 2px solid var(--isq-topbar); outline-offset: -2px; }
.master-wrapper-page .isq-dl-chevron { flex: none; width: 16px; height: 16px; color: var(--isq-ink-soft); transition: transform .15s ease; }
.master-wrapper-page .isq-dl-folder[open] > summary .isq-dl-chevron { transform: rotate(90deg); }
.master-wrapper-page .isq-dl-chevron-space { flex: none; width: 16px; }
.master-wrapper-page .isq-dl-ico { flex: none; width: 30px; height: 30px; }
.master-wrapper-page .isq-dl-folder-back { fill: #E8B23A; }
.master-wrapper-page .isq-dl-folder-front { fill: #F8D26A; }
.master-wrapper-page .isq-dl-folder[open] > summary .isq-dl-folder-front { fill: #FBE29B; }
.master-wrapper-page .isq-dl-empty { display: block; color: var(--isq-ink-soft); font-size: 14px; font-style: italic; padding-left: calc(14px + var(--isq-dl-level, 0) * 26px + 50px); }

/* file: foglio bianco con bordo grigio, riquadro dell'estensione nel colore del tipo */
.master-wrapper-page .isq-dl-sheet { fill: #fff; stroke: #9AA5AF; stroke-width: 1.2; }
.master-wrapper-page .isq-dl-fold { fill: none; stroke: #9AA5AF; stroke-width: 1.2; stroke-linejoin: round; }
.master-wrapper-page .isq-dl-ico text { font: 800 6.6px Arial, sans-serif; fill: #fff; }
.master-wrapper-page .isq-dl-badge { fill: #7A8691; }
.master-wrapper-page .isq-dl-ico--app .isq-dl-badge { fill: var(--isq-topbar); }
.master-wrapper-page .isq-dl-ico--archive .isq-dl-badge { fill: #C98A12; }
.master-wrapper-page .isq-dl-ico--doc .isq-dl-badge { fill: var(--isq-brand-deep); }
.master-wrapper-page .isq-dl-ico--sheet .isq-dl-badge { fill: #1E9E50; }
.master-wrapper-page .isq-dl-ico--image .isq-dl-badge { fill: #9B6FE0; }
.master-wrapper-page .isq-dl-ico--db .isq-dl-badge { fill: #0F8A9D; }
.master-wrapper-page a.isq-dl-file:hover { background: #F2F7FC; }
.master-wrapper-page a.isq-dl-file:hover .isq-dl-label { color: var(--isq-topbar); text-decoration: underline; text-decoration-color: currentColor !important; }
.master-wrapper-page a.isq-dl-file:focus-visible { outline: 2px solid var(--isq-topbar); outline-offset: -2px; }
.master-wrapper-page .isq-dl-get { width: 20px; height: 20px; color: #A7B1BA; justify-self: end; }
.master-wrapper-page a.isq-dl-file:hover .isq-dl-get,
.master-wrapper-page a.isq-dl-file:focus-visible .isq-dl-get { color: var(--isq-topbar); }
.master-wrapper-page .isq-dl-nomatch { display: block; color: var(--isq-ink-soft); font-style: italic; }
.master-wrapper-page .isq-dl-tree [hidden] { display: none; }
.master-wrapper-page .isq-dl-total { margin: 10px 2px 0; font-size: 13px; color: var(--isq-ink-soft); }
@media (prefers-reduced-motion: reduce) { .master-wrapper-page .isq-dl-chevron { transition: none; } }

/* telefono: la data va sotto il nome, restano nome e dimensione */
@media (max-width: 640px) {
    .master-wrapper-page .isq-dl-row { grid-template-columns: minmax(0, 1fr) auto 22px; gap: 2px 10px; padding-left: calc(10px + var(--isq-dl-level, 0) * 16px); padding-right: 10px; }
    .master-wrapper-page .isq-dl-file .isq-dl-date { grid-row: 2; grid-column: 1; padding-left: 50px; font-size: 12px; }
    .master-wrapper-page .isq-dl-head .isq-dl-date,
    .master-wrapper-page .isq-dl-folder > summary .isq-dl-date { display: none; }
}

/* ===== Carrello: pulsante "Invia ordine" e finestra di conferma (12/11/2026, vista del tema
   Shared\Components\OrderSummary\Default.cshtml, ordine confermato da /invia-ordine del plugin) ===== */
.isq-order-dialog {
    width: min(480px, calc(100vw - 32px));
    padding: 28px 28px 24px;
    border: 0;
    border-radius: var(--isq-radius);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .28);
    color: var(--isq-ink);
    text-align: left;
}
.isq-order-dialog::backdrop { background: rgba(16, 24, 40, .55); }
.isq-order-dialog h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; color: var(--isq-ink); }
.isq-order-dialog p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--isq-ink-soft); }
.isq-order-dialog p strong { color: var(--isq-ink); white-space: nowrap; }
.isq-order-dialog .isq-order-note { font-size: 13px; }
.isq-order-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.isq-order-actions button { min-width: 130px; height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.isq-order-actions .isq-order-send[disabled] { opacity: .7; cursor: wait; }
@media (max-width: 480px) {
    .isq-order-actions button { flex: 1 1 100%; }
}
/* il mini carrello dell'intestazione non porta piu' al checkout: resta "Vai al carrello" */
.flyout-cart .checkout-button { display: none; }
