@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';

/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* =========================================================================
   Login.razor.css
   Gli stili del layout di autenticazione sono condivisi con Register.razor
   e vivono in wwwroot/css/auxilium.auth.css (importato da app.css).
   Questo file è volutamente vuoto: tutto il layout è globale e coerente
   tra le pagine Identity.
   ========================================================================= */
/* /Components/Layout/BadgeSaldoToken.razor.rz.scp.css */
/* Pill del saldo token in topbar. Stile proprio del componente (scoped):
   non riusa classi di altri componenti, le variabili --ax-* sono globali. */
.badge-token[b-m6uy1vmsxo] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--ax-radius-pill);
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    border: 1px solid var(--ax-primary-200);
    white-space: nowrap;
}

.badge-token-num[b-m6uy1vmsxo] {
    font-size: var(--ax-fs-13);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.badge-token-label[b-m6uy1vmsxo] {
    font-size: var(--ax-fs-11);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}
/* /Components/Layout/BadgeUtentiAdmin.razor.rz.scp.css */
/* Pill "utenti registrati" in topbar (solo admin). Stile scoped proprio;
   le variabili --ax-* sono globali. Ambra per distinguerlo dal badge token. */
.badge-utenti[b-ryn6qy7id2] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--ax-radius-pill);
    background: var(--ax-accent-100);
    color: var(--ax-accent-700);
    border: 1px solid var(--ax-accent-200);
    white-space: nowrap;
    text-decoration: none;
}

.badge-utenti svg[b-ryn6qy7id2] {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.badge-utenti-num[b-ryn6qy7id2] {
    font-size: var(--ax-fs-13);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Tooltip custom (mai il title nativo bianco-su-nero): card chiara dai token
   --ax-*, elenco degli ultimi iscritti su più righe. */
.badge-utenti[data-tip]:not([data-tip=""]):hover[b-ryn6qy7id2]::before,
.badge-utenti[data-tip]:not([data-tip=""]):focus-visible[b-ryn6qy7id2]::before {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 60;
    width: 250px;
    white-space: pre-line;
    background: var(--ax-card-bg);
    color: var(--ax-text-1);
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    padding: 8px 11px;
    font-size: var(--ax-fs-12);
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
}
/* /Components/Layout/BannerAvvisoMfaAdmin.razor.rz.scp.css */
/*
   Stili del banner "Admin senza 2FA". Sono scoped al componente (Blazor genera
   automaticamente l'attributo univoco), quindi non interferiscono con altri
   alert presenti nella shell o nelle pagine.
*/

.banner-mfa-admin[b-9z7c5wim86] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    margin: 0.75rem 1rem 0;
    background: #fff7ed; /* arancio molto chiaro, leggibile sia su tema chiaro che scuro */
    border: 1px solid #f59e0b;
    border-left-width: 4px;
    border-radius: 8px;
    color: #7c2d12;
    font-size: 0.92rem;
    line-height: 1.4;
}

.banner-mfa-admin-icon[b-9z7c5wim86] {
    font-size: 1.4rem;
    flex: 0 0 auto;
}

.banner-mfa-admin-body[b-9z7c5wim86] {
    flex: 1 1 auto;
    min-width: 0;
}

.banner-mfa-admin-title[b-9z7c5wim86] {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.banner-mfa-admin-text[b-9z7c5wim86] {
    opacity: 0.9;
}

.banner-mfa-admin-text code[b-9z7c5wim86] {
    background: rgba(124, 45, 18, 0.08);
    padding: 0.05rem 0.3rem;
    border-radius: 3px;
}

.banner-mfa-admin-form[b-9z7c5wim86] {
    flex: 0 0 auto;
    margin: 0;
}

.banner-mfa-admin-cta[b-9z7c5wim86] {
    flex: 0 0 auto;
    display: inline-block;
    padding: 0.5rem 0.9rem;
    background: #d97706;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
    font-family: inherit;
}

.banner-mfa-admin-cta:hover[b-9z7c5wim86],
.banner-mfa-admin-cta:focus-visible[b-9z7c5wim86] {
    background: #b45309;
    color: #fff;
    text-decoration: none;
}

/* Adattamento tema scuro: il MainLayout aggiunge .theme-dark sull'app-shell. */
[b-9z7c5wim86] .theme-dark .banner-mfa-admin {
    background: #2a1d12;
    color: #fde68a;
    border-color: #d97706;
}

[b-9z7c5wim86] .theme-dark .banner-mfa-admin-text code {
    background: rgba(253, 230, 138, 0.12);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===========================================================================
   MainLayout — topbar unica, niente sidebar.
   Dropdown su hover/focus-within (CSS-only), responsive mobile con overlay
   verticale. Lo sfondo "mesh" vive in css/auxilium.background.css.
   =========================================================================== */

[b-8l088lemo6] .app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent; /* lascia trasparire il mesh fisso */
    color: var(--ax-text-1);
}

/* ===== TOPBAR ============================================================ */

[b-8l088lemo6] .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--ax-space-5);
    padding: var(--ax-space-3) var(--ax-space-6);
    background: color-mix(in srgb, var(--ax-shell-bg) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--ax-border-soft) 70%, transparent);
    box-shadow: 0 1px 3px rgba(15, 26, 43, 0.04);
    min-width: 0;
}

[b-8l088lemo6] .topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-2);
    text-decoration: none;
    color: var(--ax-text-1);
    font-weight: 700;
    font-size: var(--ax-fs-16);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

[b-8l088lemo6] .topbar-brand-logo {
    width: 32px;
    height: 32px;
    display: block;
}

[b-8l088lemo6] .topbar-hamburger {
    display: none; /* visibile solo mobile, vedi media query in fondo */
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--ax-border-strong);
    color: var(--ax-text-1);
    width: 44px;
    height: 44px;
    border-radius: var(--ax-radius-sm);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 140ms ease, border-color 140ms ease;
}

[b-8l088lemo6] .topbar-menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

[b-8l088lemo6] .topbar-hamburger-lines,
[b-8l088lemo6] .topbar-hamburger-lines::before,
[b-8l088lemo6] .topbar-hamburger-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

[b-8l088lemo6] .topbar-hamburger-lines {
    position: relative;
}

[b-8l088lemo6] .topbar-hamburger-lines::before,
[b-8l088lemo6] .topbar-hamburger-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

[b-8l088lemo6] .topbar-hamburger-lines::before {
    top: -7px;
}

[b-8l088lemo6] .topbar-hamburger-lines::after {
    top: 7px;
}

[b-8l088lemo6] .topbar-menu-toggle:checked + .topbar-hamburger .topbar-hamburger-lines {
    background: transparent;
}

[b-8l088lemo6] .topbar-menu-toggle:checked + .topbar-hamburger .topbar-hamburger-lines::before {
    top: 0;
    transform: rotate(45deg);
}

[b-8l088lemo6] .topbar-menu-toggle:checked + .topbar-hamburger .topbar-hamburger-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

[b-8l088lemo6] .topbar-hamburger:hover,
[b-8l088lemo6] .topbar-hamburger:focus-visible {
    background: var(--ax-panel-bg-soft);
    border-color: var(--ax-primary-500);
    outline: none;
}

[b-8l088lemo6] .topbar-hamburger > svg,
[b-8l088lemo6] .topbar-hamburger > fluent-icon {
    color: var(--ax-text-1);
}

/* ===== Nav principale ==================================================== */

[b-8l088lemo6] .topbar-nav {
    display: flex;
    align-items: center;
    gap: var(--ax-space-1);
    flex: 1;
    margin-left: var(--ax-space-4);
}

[b-8l088lemo6] .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--ax-radius-pill);
    text-decoration: none;
    color: var(--ax-text-2);
    font-weight: 600;
    font-size: var(--ax-fs-14);
    transition: background-color 160ms ease, color 160ms ease;
}

[b-8l088lemo6] .topbar-link:hover,
[b-8l088lemo6] .topbar-link:focus-visible {
    background: color-mix(in srgb, var(--ax-primary-50) 60%, transparent);
    color: var(--ax-primary-700);
}

[b-8l088lemo6] .topbar-link.active {
    background: var(--ax-primary-700);
    color: var(--ax-text-on-primary);
}

[b-8l088lemo6] .topbar-link.active:hover {
    background: var(--ax-primary-800);
    color: var(--ax-text-on-primary);
}

/* L'icona segue il colore del testo del link: bianca sullo stato attivo (fondo
   blu), altrimenti grigia/primary come il testo. Senza questo resta blu su blu. */
[b-8l088lemo6] .topbar-link svg {
    fill: currentColor;
    color: inherit;
}

[b-8l088lemo6] .topbar-caret {
    font-size: 10px;
    opacity: 0.7;
}

/* ===== Dropdown (Studi, Dashboard) ======================================= */

[b-8l088lemo6] .topbar-item {
    position: relative;
}

[b-8l088lemo6] .topbar-item.has-dropdown .topbar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    box-shadow: var(--ax-shadow-3);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
    z-index: 110;
}

/* "Ponte" invisibile che colma gli 8px di spazio fra il link e il dropdown.
   Senza questo, il mouse che scende dal link al dropdown passa per uno
   spazio dove ne' il link ne' il dropdown sono in :hover, e il dropdown
   si chiude prima che l'utente possa cliccare una voce. Il ::before fa
   parte del dropdown, quindi mantiene attivo l'hover anche mentre il
   mouse attraversa quei 8px. */
[b-8l088lemo6] .topbar-item.has-dropdown .topbar-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

[b-8l088lemo6] .topbar-item.has-dropdown:hover .topbar-dropdown,
[b-8l088lemo6] .topbar-item.has-dropdown:focus-within .topbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

[b-8l088lemo6] .topbar-dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    padding: 10px 12px;
    border-radius: var(--ax-radius-sm);
    text-decoration: none;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-14);
    font-weight: 500;
    transition: background-color 140ms ease;
}

[b-8l088lemo6] .topbar-dropdown-link:hover,
[b-8l088lemo6] .topbar-dropdown-link:focus-visible {
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    outline: none;
}

[b-8l088lemo6] .topbar-dropdown-link > svg,
[b-8l088lemo6] .topbar-dropdown-link > fluent-icon {
    flex-shrink: 0;
    color: var(--ax-primary-700);
}

[b-8l088lemo6] .topbar-dropdown-link > span:not(:last-child) {
    flex: 1;
}

[b-8l088lemo6] .topbar-caret-right {
    font-size: 11px;
    opacity: 0.6;
    margin-left: auto;
}

[b-8l088lemo6] .topbar-dropdown-divider {
    height: 1px;
    background: var(--ax-border-soft);
    margin: 6px 8px;
}

/* ===== Sotto-sotto menu (Categoria → Studi) ============================= */

[b-8l088lemo6] .topbar-dropdown-item.has-submenu {
    position: relative;
}

[b-8l088lemo6] .topbar-dropdown-item.has-submenu .topbar-submenu {
    position: absolute;
    top: -6px;
    left: calc(100% + 4px);
    min-width: 240px;
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    box-shadow: var(--ax-shadow-3);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
    z-index: 120;
}

/* Stesso ponte invisibile del dropdown principale, qui orizzontale: copre
   i 4px di gap fra la voce categoria e il sub-sub-menu degli studi. */
[b-8l088lemo6] .topbar-dropdown-item.has-submenu .topbar-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background: transparent;
}

[b-8l088lemo6] .topbar-dropdown-item.has-submenu:hover .topbar-submenu,
[b-8l088lemo6] .topbar-dropdown-item.has-submenu:focus-within .topbar-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition-delay: 0s;
}

[b-8l088lemo6] .topbar-submenu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--ax-radius-sm);
    text-decoration: none;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    font-weight: 500;
    transition: background-color 140ms ease, color 140ms ease;
}

[b-8l088lemo6] .topbar-submenu-link:hover,
[b-8l088lemo6] .topbar-submenu-link:focus-visible {
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    outline: none;
}

/* ===== Azioni topbar (tema, utente, esci) =============================== */

[b-8l088lemo6] .topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    flex-shrink: 0;
}

[b-8l088lemo6] .topbar-action-button {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-2);
    padding: 8px 12px;
    border-radius: var(--ax-radius-sm);
    background: transparent;
    border: 1px solid var(--ax-border-soft);
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease;
}

[b-8l088lemo6] .topbar-action-button:hover {
    background: var(--ax-panel-bg-soft);
    border-color: var(--ax-border-strong);
}

[b-8l088lemo6] .topbar-action-label {
    display: inline; /* nasconde su mobile, vedi media query */
}

[b-8l088lemo6] .topbar-user {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    color: var(--ax-text-1);
    padding: 4px 10px;
    border-radius: var(--ax-radius-sm);
    transition: background-color 140ms ease;
}

[b-8l088lemo6] .topbar-user:hover {
    background: var(--ax-panel-bg-soft);
}

[b-8l088lemo6] .topbar-user-name {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    line-height: 1.2;
}

[b-8l088lemo6] .topbar-user-email {
    font-size: var(--ax-fs-11);
    color: var(--ax-text-3);
    line-height: 1.2;
}

[b-8l088lemo6] .topbar-logout-form {
    margin: 0;
}

[b-8l088lemo6] .menu-mobile-backdrop {
    display: none;
}

/* ===== Content shell ===================================================== */

[b-8l088lemo6] .content-shell {
    flex: 1;
    width: 100%;
    max-width: var(--ax-page-max);
    margin: 0 auto;
    padding: 0;
}

/* ===== Footer globale =================================================== */

/* Il footer vive nel layout e compare su ogni pagina. Sta fuori dal
   .content-shell (che ha flex:1 e lo spinge in fondo, footer "sticky") e
   riprende larghezza massima e padding orizzontale delle pagine, così si
   allinea al contenuto sia sulle landing sia sulle pagine app. */
[b-8l088lemo6] .site-footer-shell {
    width: 100%;
    max-width: var(--ax-page-max);
    margin: 0 auto;
    padding: 0 var(--ax-page-padding) var(--ax-page-padding);
}

[b-8l088lemo6] .layout-error-box {
    margin: var(--ax-space-6);
    padding: var(--ax-space-6);
    border: 1px solid var(--ax-danger-border);
    background: var(--ax-danger-bg);
    color: var(--ax-danger-strong);
    border-radius: var(--ax-radius-md);
}

[b-8l088lemo6] .layout-error-title {
    font-weight: 700;
    margin-bottom: 4px;
}

[b-8l088lemo6] .layout-error-detail {
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-13);
}

/* ===== Mobile (sotto 1024px) ============================================ */

@media (max-width: 1024px) {
    [b-8l088lemo6] .topbar {
        gap: var(--ax-space-2);
        padding: var(--ax-space-3) var(--ax-space-4);
    }

    [b-8l088lemo6] .topbar-hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    [b-8l088lemo6] .topbar-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        width: min(320px, 90vw);
        height: calc(100vh - 64px);
        background: var(--ax-panel-bg);
        border-right: 1px solid var(--ax-border-soft);
        flex-direction: column;
        align-items: stretch;
        padding: var(--ax-space-5);
        margin: 0;
        gap: var(--ax-space-2);
        overflow-y: auto;
        z-index: 105;
    }

    [b-8l088lemo6] .topbar-menu-toggle:checked ~ .topbar-nav {
        display: flex;
    }

    [b-8l088lemo6] .menu-mobile-backdrop {
        display: none;
        position: fixed;
        inset: 64px 0 0 0;
        background: rgba(15, 26, 43, 0.4);
        /* La topbar crea uno stacking context a z-index 100. Il backdrop
           deve restare sotto l'intera topbar, altrimenti copre la nav mobile
           e intercetta tutti i tap anche se il pannello dichiara z-index 105. */
        z-index: 99;
    }

    [b-8l088lemo6] .topbar-menu-toggle:checked ~ .menu-mobile-backdrop {
        display: block;
    }

    /* I dropdown su mobile diventano accordion sempre aperti. */
    [b-8l088lemo6] .topbar-item.has-dropdown .topbar-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 4px 0 12px 12px;
        min-width: 0;
        background: transparent;
    }

    [b-8l088lemo6] .topbar-dropdown-item.has-submenu .topbar-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 2px 0 6px 12px;
        background: transparent;
    }

    [b-8l088lemo6] .topbar-caret,
    [b-8l088lemo6] .topbar-caret-right {
        display: none;
    }

    [b-8l088lemo6] .topbar-action-label {
        display: none;
    }

    [b-8l088lemo6] .topbar-user-email {
        display: none;
    }

    /* Su mobile il link al profilo non sta nella topbar: e' raggiungibile dal
       drawer (Dashboard -> Gestione account). Cosi' la topbar resta entro la
       viewport senza richiedere scroll orizzontale. */
    [b-8l088lemo6] .topbar-user {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Sotto i 480px nascondo anche il testo del brand: il logo basta a
       identificare l'app e libera spazio per i bottoni a destra. */
    [b-8l088lemo6] .topbar-brand-text {
        display: none;
    }
}

/* ===== Reduced motion =================================================== */

@media (prefers-reduced-motion: reduce) {
    [b-8l088lemo6] .topbar-item.has-dropdown .topbar-dropdown,
    [b-8l088lemo6] .topbar-dropdown-item.has-submenu .topbar-submenu,
    [b-8l088lemo6] .topbar-link,
    [b-8l088lemo6] .topbar-dropdown-link,
    [b-8l088lemo6] .topbar-submenu-link {
        transition: none !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ao6l9rhwc0],
.components-reconnect-repeated-attempt-visible[b-ao6l9rhwc0],
.components-reconnect-failed-visible[b-ao6l9rhwc0],
.components-pause-visible[b-ao6l9rhwc0],
.components-resume-failed-visible[b-ao6l9rhwc0],
.components-rejoining-animation[b-ao6l9rhwc0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-retrying[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-failed[b-ao6l9rhwc0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ao6l9rhwc0] {
    display: block;
}


#components-reconnect-modal[b-ao6l9rhwc0] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ao6l9rhwc0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ao6l9rhwc0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ao6l9rhwc0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ao6l9rhwc0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ao6l9rhwc0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ao6l9rhwc0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ao6l9rhwc0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ao6l9rhwc0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ao6l9rhwc0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ao6l9rhwc0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ao6l9rhwc0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ao6l9rhwc0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ao6l9rhwc0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ao6l9rhwc0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ao6l9rhwc0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ao6l9rhwc0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ao6l9rhwc0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ao6l9rhwc0 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Configurazione.razor.rz.scp.css */
/* =========================================================================
   Configurazione.razor.css
   Pagina /admin/configurazione: sezioni separate per i limiti di piano
   (3 card) e per i toggle a flag singolo (es. consulenza pubblica).
   Riusa le classi admin-page / admin-header / admin-alert / ax-btn dei
   token globali.
   ========================================================================= */

.config-section[b-dvjbx3x0bv] {
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    box-shadow: var(--ax-shadow-1);
    padding: var(--ax-space-6);
    margin-top: var(--ax-space-5);
}

.config-section-title[b-dvjbx3x0bv] {
    margin: 0 0 var(--ax-space-2) 0;
    font-size: var(--ax-fs-18);
    font-weight: 600;
    color: var(--ax-text-1);
}

.config-section-help[b-dvjbx3x0bv] {
    margin: 0 0 var(--ax-space-5) 0;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    line-height: 1.55;
}

.config-section-help code[b-dvjbx3x0bv] {
    background: var(--ax-paper-bg-2);
    padding: 1px 6px;
    border-radius: var(--ax-radius-xs);
    font-size: var(--ax-fs-12);
}

/* ------------------------------------------------- Limiti di piano (cards) */
.config-piani-grid[b-dvjbx3x0bv] {
    display: grid;
    gap: var(--ax-layout-gap);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.config-piano-card[b-dvjbx3x0bv] {
    background: var(--ax-card-bg-soft);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
}

.config-piano-header[b-dvjbx3x0bv] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--ax-space-2);
}

.config-piano-titolo[b-dvjbx3x0bv] {
    margin: 0;
    font-size: var(--ax-fs-16);
    font-weight: 600;
    color: var(--ax-highlight-strong);
}

.config-piano-chiave[b-dvjbx3x0bv] {
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-11);
    color: var(--ax-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.config-campo[b-dvjbx3x0bv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.config-campo-label[b-dvjbx3x0bv] {
    font-size: var(--ax-fs-12);
    font-weight: 600;
    color: var(--ax-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.config-piano-card .campo-input[b-dvjbx3x0bv] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--ax-input-border);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
    font-family: var(--ax-font-mono);
    font-variant-numeric: tabular-nums;
    font-size: var(--ax-fs-14);
}

.config-piano-card .campo-input:focus[b-dvjbx3x0bv] {
    outline: none;
    border-color: var(--ax-input-border-focus);
    box-shadow: var(--ax-shadow-focus);
}

.config-piano-save[b-dvjbx3x0bv] {
    margin-top: var(--ax-space-2);
}

/* ----------------------------------------------------- Toggle (singolo flag) */
.config-toggle[b-dvjbx3x0bv] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.config-toggle input[type="checkbox"][b-dvjbx3x0bv] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.config-toggle-track[b-dvjbx3x0bv] {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: var(--ax-gray-300);
    position: relative;
    transition: background-color 0.15s ease;
}

.config-toggle-thumb[b-dvjbx3x0bv] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: left 0.15s ease;
}

.config-toggle input:checked + .config-toggle-track[b-dvjbx3x0bv] {
    background: var(--ax-success);
}

.config-toggle input:checked + .config-toggle-track .config-toggle-thumb[b-dvjbx3x0bv] {
    left: 22px;
}

.config-toggle-label[b-dvjbx3x0bv] {
    font-size: var(--ax-fs-14);
    color: var(--ax-text-2);
}

.config-actions[b-dvjbx3x0bv] {
    margin-top: var(--ax-space-4);
}
/* /Components/Pages/Admin/Dashboard.razor.rz.scp.css */
/* =========================================================================
   Dashboard.razor.css
   Pannello /admin. Intestazione, titoli e alert NON sono qui: arrivano dalle
   classi condivise di auxilium.admin.css (.admin-page/.admin-header/
   .admin-title/.admin-kicker/.admin-subtitle/.admin-alert), come per tutte le
   altre pagine admin. Qui resta solo ciò che è specifico di questa pagina:
   il toggle custom della pubblicazione consulenza.
   ========================================================================= */

/* Gli stili di riga KPI e sezioni raggruppate vivono in auxilium.admin.css
   (globale): stilano anche elementi resi da componenti figli (NavLink → <a>,
   FluentIcon → <svg>), a cui il CSS isolato di Blazor non applica l'attributo
   di scope. Qui resta solo l'override del toggle quando è dentro una riga. */
.admin-toggle-inline[b-282i51hrxv] {
    margin-top: 0;
    flex-shrink: 0;
}

/* ---------- TOGGLE CUSTOM ---------- */
.admin-toggle[b-282i51hrxv] {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-3);
    cursor: pointer;
    user-select: none;
    margin-top: var(--ax-space-2);
}

.admin-toggle input[type="checkbox"][b-282i51hrxv] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-toggle-track[b-282i51hrxv] {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--ax-border-soft);
    transition: background-color 140ms ease;
    flex-shrink: 0;
}

.admin-toggle-thumb[b-282i51hrxv] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 140ms ease;
}

.admin-toggle input[type="checkbox"]:checked + .admin-toggle-track[b-282i51hrxv] {
    background: var(--ax-primary-700);
}

.admin-toggle input[type="checkbox"]:checked + .admin-toggle-track .admin-toggle-thumb[b-282i51hrxv] {
    transform: translateX(18px);
}

.admin-toggle input[type="checkbox"]:disabled + .admin-toggle-track[b-282i51hrxv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-toggle input[type="checkbox"]:focus-visible + .admin-toggle-track[b-282i51hrxv] {
    box-shadow: 0 0 0 3px var(--ax-primary-100);
}

.admin-toggle-label[b-282i51hrxv] {
    font-size: var(--ax-fs-13);
    font-weight: 500;
    color: var(--ax-text-2);
}
/* /Components/Pages/Admin/IncidentiSicurezza.razor.rz.scp.css */
/*
   Stili scoped per la pagina /admin/incidenti-sicurezza.
   Aggiunte minimali oltre alla shell admin esistente: badge multi-riga,
   elenco azioni consigliate, motivazione del decision tree.
*/

.breach-valutazione[b-lhea1jy1kx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.breach-valutazione-badges[b-lhea1jy1kx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breach-valutazione-motivazione[b-lhea1jy1kx] {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.breach-sezione-titolo[b-lhea1jy1kx] {
    margin: 0.5rem 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.breach-azioni-elenco[b-lhea1jy1kx] {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.breach-azioni-elenco li > .admin-badge[b-lhea1jy1kx] {
    margin-right: 0.4rem;
}

.admin-form-grid[b-lhea1jy1kx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.admin-form-row[b-lhea1jy1kx] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.admin-form-row-wide[b-lhea1jy1kx] {
    grid-column: 1 / -1;
}

.admin-form-row label[b-lhea1jy1kx] {
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-input[b-lhea1jy1kx] {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--ax-border-strong, #d0d4da);
    border-radius: 6px;
    font: inherit;
    background: var(--ax-surface-1, #fff);
    color: var(--ax-text-1);
}

.admin-input:focus[b-lhea1jy1kx] {
    outline: 2px solid var(--ax-primary-700, #0f172a);
    outline-offset: -1px;
}
/* /Components/Pages/Admin/Norme.razor.rz.scp.css */
.norme-editor-header[b-ynmmk9h7r5] {
    align-items: flex-start;
}

.norme-alert-body[b-ynmmk9h7r5] {
    flex: 1;
    line-height: 1.5;
}

.norme-tabs[b-ynmmk9h7r5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    border-bottom: 1px solid var(--ax-border, #d8dee8);
}

.norme-tab[b-ynmmk9h7r5] {
    appearance: none;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--ax-muted, #5f6b7a);
    cursor: pointer;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
}

.norme-tab.is-active[b-ynmmk9h7r5] {
    border-bottom-color: var(--ax-primary, #164f8f);
    color: var(--ax-primary, #164f8f);
}

.norme-builder[b-ynmmk9h7r5] {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 2.4fr);
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
    min-width: 0;
}

.norme-panel[b-ynmmk9h7r5] {
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
    min-width: 0;
}

.norme-node-list[b-ynmmk9h7r5] {
    overflow: hidden;
}

.norme-node-detail[b-ynmmk9h7r5] {
    min-width: 0;
}

.norme-panel-header[b-ynmmk9h7r5],
.norme-edit-block header[b-ynmmk9h7r5],
.norme-row-actions[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.norme-node-buttons[b-ynmmk9h7r5],
.norme-mini-list[b-ynmmk9h7r5] {
    display: grid;
    gap: 0.65rem;
}

.norme-node-buttons[b-ynmmk9h7r5] {
    margin-top: 1rem;
    min-width: 0;
    overflow: hidden;
}

.norme-node-button[b-ynmmk9h7r5] {
    appearance: none;
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: left;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.norme-node-button.is-active[b-ynmmk9h7r5] {
    border-color: var(--ax-primary, #164f8f);
    box-shadow: inset 3px 0 0 var(--ax-primary, #164f8f);
}

.norme-node-button small[b-ynmmk9h7r5] {
    color: var(--ax-muted, #5f6b7a);
}

.norme-subsection[b-ynmmk9h7r5] {
    border-top: 1px solid var(--ax-border, #d8dee8);
    margin-top: 1rem;
    padding-top: 1rem;
}

.norme-subsection h3[b-ynmmk9h7r5],
.norme-schema-card h3[b-ynmmk9h7r5] {
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
}

.norme-edit-block[b-ynmmk9h7r5] {
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.85rem;
}

.norme-edit-block-inner[b-ynmmk9h7r5] {
    background: #f8fafc;
}

.norme-key-value[b-ynmmk9h7r5],
.norme-transition-row[b-ynmmk9h7r5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
}

.norme-transition-row[b-ynmmk9h7r5] {
    grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 1.3fr) minmax(8rem, 0.9fr) auto;
    margin-top: 0.65rem;
}

.norme-check-field[b-ynmmk9h7r5] {
    align-items: flex-start;
}

.norme-check-field input[b-ynmmk9h7r5] {
    inline-size: 1.2rem;
    block-size: 1.2rem;
}

.norme-small-textarea[b-ynmmk9h7r5] {
    min-height: 5.5rem;
}

.norme-yaml-editor[b-ynmmk9h7r5] {
    margin-top: 1rem;
}

.norme-yaml-editor textarea[b-ynmmk9h7r5] {
    font-family: Consolas, "Courier New", monospace;
    min-height: 28rem;
}

.norme-schema-grid[b-ynmmk9h7r5] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.norme-schema-card[b-ynmmk9h7r5] {
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 8px;
    padding: 1rem;
}

.norme-schema-card ul[b-ynmmk9h7r5] {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.norme-schema-card li[b-ynmmk9h7r5] {
    display: grid;
    gap: 0.2rem;
}

.norme-schema-card code[b-ynmmk9h7r5] {
    font-weight: 700;
}

.norme-schema-row[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.norme-schema-tipo[b-ynmmk9h7r5] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #b45309;
    background: #fef3c7;
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
}

.norme-schema-opt[b-ynmmk9h7r5] {
    font-size: 0.72rem;
    color: var(--ax-muted, #5f6b7a);
    background: #f1f5f9;
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
}

.norme-schema-esempio[b-ynmmk9h7r5] {
    font-size: 0.78rem;
    color: #166534;
    background: #dcfce7;
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    display: inline-block;
    margin-top: 0.1rem;
    font-weight: 400;
}

/* ── Header di sezione con titolo + bottone affiancati ─────────────────── */
.norme-section-header[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.norme-section-header h3[b-ynmmk9h7r5],
.norme-section-header span[b-ynmmk9h7r5] {
    margin: 0;
}

/* ── Contenitore sottoparagrafi ─────────────────────────────────────────── */
.norme-sottopara-section[b-ynmmk9h7r5] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--ax-border, #d8dee8);
}

/* ── Etichetta piccola (usata nei sottoparagrafi) ───────────────────────── */
.norme-label-sm[b-ynmmk9h7r5] {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ax-muted, #5f6b7a);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Badge tipo nodo ─────────────────────────────────────────────────────── */
.norme-node-badge[b-ynmmk9h7r5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
    background: #94a3b8;
}

.norme-node-badge--domanda[b-ynmmk9h7r5]      { background: #164f8f; }
.norme-node-badge--informativo[b-ynmmk9h7r5]  { background: #475569; }
.norme-node-badge--calcolo[b-ynmmk9h7r5]      { background: #b45309; }
.norme-node-badge--fine[b-ynmmk9h7r5]         { background: #166534; }

/* Variante pill per la sidebar: mostra il numero di paragrafo invece della lettera */
.norme-node-badge--num[b-ynmmk9h7r5] {
    width: auto;
    min-width: 1.6rem;
    border-radius: 0.7rem;
    padding: 0 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0;
}

.norme-node-label[b-ynmmk9h7r5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.norme-node-label > span[b-ynmmk9h7r5],
.norme-node-label > small[b-ynmmk9h7r5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.norme-node-meta[b-ynmmk9h7r5] {
    color: var(--ax-muted, #5f6b7a);
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* ── Accordion details/summary (sezioni nodo) ───────────────────────────── */
.norme-accordion[b-ynmmk9h7r5] {
    border-top: 1px solid var(--ax-border, #d8dee8);
    margin-top: 0.75rem;
}

.norme-accordion > summary[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.norme-accordion > summary[b-ynmmk9h7r5]::-webkit-details-marker { display: none; }

.norme-accordion > summary > span[b-ynmmk9h7r5]::before {
    content: "▶ ";
    font-size: 0.65rem;
    color: var(--ax-muted, #5f6b7a);
}

.norme-accordion[open] > summary > span[b-ynmmk9h7r5]::before { content: "▼ "; }

.norme-summary-btn[b-ynmmk9h7r5] {
    margin-left: auto;
}

/* ── Gruppo pulsanti "Aggiungi" inline ──────────────────────────────────── */
.norme-add-group[b-ynmmk9h7r5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

/* ── Mappa SVG ───────────────────────────────────────────────────────────── */
.norme-mappa-wrap[b-ynmmk9h7r5] {
    margin-top: 1rem;
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 8px;
    background: #f8fafc;
    padding: 1rem;
    overflow: auto;
}

.norme-mappa-svg[b-ynmmk9h7r5] {
    display: block;
    width: 100%;
    min-height: 10rem;
}

.norme-mappa-node-id[b-ynmmk9h7r5] {
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.norme-mappa-node-tipo[b-ynmmk9h7r5] {
    font-size: 9px;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    opacity: 0.8;
}

.norme-mappa-edge-label[b-ynmmk9h7r5] {
    font-size: 9px;
    fill: #64748b;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

/* ── Albero nodi (tab Mappa) ─────────────────────────────────────────────── */
.norme-albero-nodo[b-ynmmk9h7r5] {
    border: none;
    margin: 0;
    padding: 0;
}

.norme-albero-summary[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    cursor: default;
    border-radius: 6px;
    user-select: none;
}

.norme-albero-summary:hover[b-ynmmk9h7r5],
.norme-albero-terminale:hover[b-ynmmk9h7r5] {
    background: #f1f5f9;
}

/* Indicatore ▶/▼ per expand/collapse — stato gestito da classe .is-open in C# */
.norme-albero-toggle[b-ynmmk9h7r5] {
    display: inline-block;
    width: 0.75rem;
    font-size: 0.55rem;
    color: var(--ax-muted, #5f6b7a);
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
}

.norme-albero-toggle[b-ynmmk9h7r5]::before { content: "▶"; }
.norme-albero-toggle.is-open[b-ynmmk9h7r5]::before { content: "▼"; }

/* Nodi foglia (senza figli): nascondi l'indicatore */
.norme-albero-nodo.is-leaf > .norme-albero-summary .norme-albero-toggle[b-ynmmk9h7r5] {
    visibility: hidden;
}

/* Badge nella mappa: click per espandere/contrarre */
.norme-albero-summary .norme-node-badge[b-ynmmk9h7r5] {
    cursor: pointer;
}

.norme-albero-id[b-ynmmk9h7r5] {
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.norme-albero-id:hover[b-ynmmk9h7r5] {
    text-decoration: underline;
    color: var(--ax-primary, #164f8f);
}

.norme-albero-id.is-selected[b-ynmmk9h7r5] {
    color: var(--ax-primary, #164f8f);
}

.norme-albero-figli[b-ynmmk9h7r5] {
    padding-left: 1.6rem;
    border-left: 2px solid var(--ax-border, #d8dee8);
    margin-left: 0.95rem;
}

/* Nodo terminale "fine" — a livello radice, non annidato */
.norme-albero-terminale[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    user-select: none;
}

.norme-albero-terminale.is-selected .norme-albero-id[b-ynmmk9h7r5] {
    color: var(--ax-primary, #164f8f);
}

/* ── Preview relazione (tab Relazione) ───────────────────────────────────── */
.norme-relazione-preview[b-ynmmk9h7r5] {
    margin-top: 1rem;
    max-width: 56rem;
}

.norme-rel-paragrafo[b-ynmmk9h7r5] {
    border-top: 1px solid var(--ax-border, #d8dee8);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.norme-rel-paragrafo:first-child[b-ynmmk9h7r5] {
    border-top: none;
    margin-top: 0;
}

.norme-rel-heading[b-ynmmk9h7r5] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.norme-rel-heading-sotto[b-ynmmk9h7r5] {
    font-size: 0.92rem;
    margin: 0.75rem 0 0.4rem;
    color: var(--ax-muted, #5f6b7a);
}

.norme-rel-testo[b-ynmmk9h7r5] {
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

.norme-rel-formula[b-ynmmk9h7r5] {
    background: #f8fafc;
    border: 1px solid var(--ax-border, #d8dee8);
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    margin: 0.5rem 0;
    font-family: var(--ax-font-sans);
    font-size: 0.9rem;
}

.norme-rel-tabella-wrap[b-ynmmk9h7r5] {
    margin: 0.5rem 0;
    overflow-x: auto;
}

.norme-rel-sottoparagrafo[b-ynmmk9h7r5] {
    padding-left: 1rem;
    border-left: 3px solid var(--ax-border, #d8dee8);
    margin-top: 0.75rem;
}

@media (max-width: 1100px) {
    .norme-builder[b-ynmmk9h7r5] {
        grid-template-columns: 1fr;
    }

    .norme-key-value[b-ynmmk9h7r5],
    .norme-transition-row[b-ynmmk9h7r5] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Admin/PlaybookBreach.razor.rz.scp.css */
/*
   Stili scoped per /admin/playbook-breach.
   Pagina molto testuale: gli stili rendono leggibili paragrafi lunghi,
   liste, tabella matrice, callout.
*/

.playbook-text[b-wveulpzwle] {
    font-size: 0.95rem;
    line-height: 1.55;
}

.playbook-text p[b-wveulpzwle],
.playbook-text ul[b-wveulpzwle],
.playbook-text ol[b-wveulpzwle] {
    margin: 0 0 0.75rem;
}

.playbook-text h3[b-wveulpzwle] {
    margin: 1rem 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.playbook-text ul[b-wveulpzwle],
.playbook-text ol[b-wveulpzwle] {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.playbook-text code[b-wveulpzwle] {
    font-size: 0.85em;
    padding: 0.05rem 0.3rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.playbook-table-wrap[b-wveulpzwle] {
    overflow-x: auto;
    margin: 0.5rem 0;
    border: 1px solid var(--ax-border-strong, #d0d4da);
    border-radius: 8px;
}

.playbook-table[b-wveulpzwle] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.playbook-table th[b-wveulpzwle],
.playbook-table td[b-wveulpzwle] {
    text-align: left;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--ax-border-strong, #d0d4da);
    vertical-align: top;
}

.playbook-table th[b-wveulpzwle] {
    background: var(--ax-surface-2, #f6f7f9);
    font-weight: 600;
}

.playbook-table tr:last-child td[b-wveulpzwle] {
    border-bottom: 0;
}

.playbook-callout[b-wveulpzwle] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fef3c7;
    border-left: 4px solid #d97706;
    border-radius: 4px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #7c2d12;
}
/* /Components/Pages/Admin/Sospensioni.razor.rz.scp.css */
/* =========================================================================
   Sospensioni.razor.css
   Pagina admin "/admin/sospensioni": una card per tipo di studio con
   toggle on/off e textarea per il messaggio motivazionale. Riusa molti
   token già definiti per le altre pagine admin. Lo switch è implementato
   in CSS puro (no JS), con :checked sul checkbox sotto.
   ========================================================================= */

.sospensioni-grid[b-ry3s5k4afx] {
    display: grid;
    gap: var(--ax-layout-gap);
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    margin-top: var(--ax-space-5);
}

.sospensione-card[b-ry3s5k4afx] {
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    box-shadow: var(--ax-shadow-1);
    padding: var(--ax-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-4);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Quando lo studio è sospeso, evidenzio la card con un bordo warm
   per dare riscontro visivo immediato senza dover leggere il toggle. */
.sospensione-card-attiva[b-ry3s5k4afx] {
    border-color: color-mix(in srgb, var(--ax-highlight) 50%, transparent);
    background: var(--ax-highlight-soft);
}

.sospensione-card-header[b-ry3s5k4afx] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--ax-space-3);
}

.sospensione-card-title[b-ry3s5k4afx] {
    margin: 0;
    font-size: var(--ax-fs-18);
    font-weight: 600;
    color: var(--ax-text-1);
}

.sospensione-card-slug[b-ry3s5k4afx] {
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
    margin-top: 4px;
}

/* ----------------------------------------------------------------- toggle */
.sospensione-toggle[b-ry3s5k4afx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.sospensione-toggle input[type="checkbox"][b-ry3s5k4afx] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sospensione-toggle-track[b-ry3s5k4afx] {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--ax-gray-300);
    position: relative;
    transition: background-color 0.15s ease;
}

.sospensione-toggle-thumb[b-ry3s5k4afx] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: left 0.15s ease;
}

.sospensione-toggle input:checked + .sospensione-toggle-track[b-ry3s5k4afx] {
    background: var(--ax-highlight);
}

.sospensione-toggle input:checked + .sospensione-toggle-track .sospensione-toggle-thumb[b-ry3s5k4afx] {
    left: 20px;
}

.sospensione-toggle input:focus-visible + .sospensione-toggle-track[b-ry3s5k4afx] {
    box-shadow: 0 0 0 3px var(--ax-highlight-soft);
}

.sospensione-toggle-label[b-ry3s5k4afx] {
    font-size: var(--ax-fs-13);
    font-weight: 500;
    color: var(--ax-text-2);
    min-width: 60px;
}

/* ----------------------------------------------------------------- campo  */
.sospensione-campo[b-ry3s5k4afx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sospensione-campo-label[b-ry3s5k4afx] {
    font-size: var(--ax-fs-12);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--ax-text-3);
}

.sospensione-campo .campo-input[b-ry3s5k4afx] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ax-input-border);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-13);
    line-height: 1.5;
    resize: vertical;
}

.sospensione-campo .campo-input:focus[b-ry3s5k4afx] {
    outline: none;
    border-color: var(--ax-input-border-focus);
    box-shadow: var(--ax-shadow-focus);
}

/* ----------------------------------------------------------------- footer */
.sospensione-card-footer[b-ry3s5k4afx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--ax-space-3);
    padding-top: var(--ax-space-3);
    border-top: 1px solid var(--ax-border-soft);
}

.sospensione-meta[b-ry3s5k4afx] {
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
}

/* --------------------------------------------------- esclusioni mirate */
.sospensione-esclusioni[b-ry3s5k4afx] {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
    padding-top: var(--ax-space-3);
    border-top: 1px solid var(--ax-border-soft);
}

.sospensione-esclusioni-title[b-ry3s5k4afx] {
    font-size: var(--ax-fs-12);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--ax-text-3);
}

.esclusioni-lista[b-ry3s5k4afx] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
}

.esclusione-riga[b-ry3s5k4afx] {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    padding: var(--ax-space-2) var(--ax-space-3);
    background: var(--ax-panel-bg-soft);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
}

.esclusione-bersaglio[b-ry3s5k4afx] {
    flex: none;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-12);
    font-weight: 600;
    color: var(--ax-primary-700);
}

.esclusione-msg[b-ry3s5k4afx] {
    flex: 1;
    min-width: 0;
    font-size: var(--ax-fs-13);
    color: var(--ax-text-2);
    overflow-wrap: anywhere;
}

.esclusione-vuoto[b-ry3s5k4afx] {
    margin: 0;
    font-size: var(--ax-fs-13);
    color: var(--ax-text-3);
}

.esclusione-aggiungi[b-ry3s5k4afx] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
    align-items: center;
}

.esclusione-aggiungi .campo-input[b-ry3s5k4afx] {
    flex: 1 1 140px;
    min-width: 120px;
    padding: 8px 10px;
    border: 1px solid var(--ax-input-border);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-13);
}

@media (max-width: 540px) {
    .sospensione-card-footer[b-ry3s5k4afx] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/Admin/Utenti.razor.rz.scp.css */
/* =========================================================================
   Utenti.razor.css
   Gli stili dell'admin panel sono ora centralizzati in
   wwwroot/css/auxilium.admin.css così possono essere condivisi con le
   pagine di dettaglio (e future admin views). Questo file è lasciato vuoto
   di proposito: Blazor lo mantiene come bundle scoped "per componente"
   ma non vi aggiunge alcun override.
   ========================================================================= */
/* /Components/Pages/AreaPersonale/AreaPersonale.razor.rz.scp.css */
/* ===========================================================================
   AreaPersonale (Dashboard utente)
   Stessa struttura .admin-page > .admin-header + sezioni delle pagine admin
   (per uniformita' titoli/dimensioni). Qui dentro vive SOLO la cockpit
   grid, che e' la differenza rispetto a una pagina admin classica.
   =========================================================================== */

/* ===========================================================================
   Cockpit: griglia di card piccole con info chiave a colpo d'occhio.
   Pattern "Notion/Linear status": titoletto, valore prominente, meta riga.
   Click su una card apre la sezione corrispondente nel pannello sotto.
   Una sola sezione aperta alla volta.
   =========================================================================== */

.cockpit-grid[b-4lm2o6wyg1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--ax-space-4);
    margin-top: var(--ax-space-6);
}

.cockpit-card[b-4lm2o6wyg1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--ax-space-4) var(--ax-space-5);
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    box-shadow: var(--ax-shadow-1);
    text-align: left;
    cursor: pointer;
    color: var(--ax-text-1);
    font-family: inherit;
    transition: transform 180ms ease, box-shadow 180ms ease,
                border-color 180ms ease, background-color 180ms ease;
}

.cockpit-card:hover[b-4lm2o6wyg1] {
    transform: translateY(-2px);
    border-color: var(--ax-primary-500);
    box-shadow: var(--ax-shadow-2);
}

.cockpit-card:focus-visible[b-4lm2o6wyg1] {
    outline: none;
    box-shadow: var(--ax-shadow-focus), var(--ax-shadow-1);
}

/* Stato "aperta": evidenzia che il dettaglio sotto e' di questa card. */
.cockpit-card.is-aperta[b-4lm2o6wyg1] {
    border-color: var(--ax-primary-700);
    background: color-mix(in srgb, var(--ax-primary-50) 70%, var(--ax-panel-bg));
    box-shadow: var(--ax-shadow-focus), var(--ax-shadow-2);
}

.cockpit-card-kicker[b-4lm2o6wyg1] {
    font-size: var(--ax-fs-11);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-text-3);
}

.cockpit-card-value[b-4lm2o6wyg1] {
    font-size: var(--ax-fs-20);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ax-text-1);
    word-break: break-word;
}

.cockpit-card-meta[b-4lm2o6wyg1] {
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
}

/* Quando una sezione e' aperta sotto la cockpit, l'admin-card del dettaglio
   ha margin-top piu' contenuto (e' il dettaglio della card scelta, non una
   sezione separata). */
.area-page .cockpit-grid + .admin-card[b-4lm2o6wyg1],
.area-page .cockpit-grid ~ .admin-card:first-of-type[b-4lm2o6wyg1] {
    margin-top: var(--ax-space-5);
}

/* /Components/Pages/AreaPersonale/SpeckleLab.razor.rz.scp.css */
.speckle-lab-card[b-5sis1j1taj] {
    max-width: 1120px;
}

/* Connessione: il pulsante "Connettiti a Speckle" apre una finestra modale
   centrata, con sfondo scurito, così non si sovrappone alla vista 3D. */
.speckle-modal-overlay[b-5sis1j1taj] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 1rem 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.speckle-conn-panel[b-5sis1j1taj] {
    width: min(420px, 100%);
    display: grid;
    gap: 0.6rem;
    padding: 1.25rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: 1rem;
    background: var(--ax-panel-bg);
    box-shadow: var(--ax-shadow-lg, 0 12px 40px rgba(0, 0, 0, 0.25));
}

.speckle-conn-panel-head[b-5sis1j1taj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.speckle-conn-panel-head .admin-card-subtitle[b-5sis1j1taj] {
    margin: 0;
}

/* Categorie da importare: chip con spunta e numero di elementi. */
.speckle-categorie[b-5sis1j1taj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.speckle-categoria[b-5sis1j1taj] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: 999px;
    cursor: pointer;
}

.speckle-categoria-conteggio[b-5sis1j1taj] {
    min-width: 1.5rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-3);
    font-size: 0.8125rem;
    text-align: center;
}

.speckle-lab-form[b-5sis1j1taj] {
    display: grid;
    gap: 0.75rem;
}

.speckle-lab-query[b-5sis1j1taj] {
    min-height: 18rem;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    line-height: 1.45;
}

.speckle-lab-actions[b-5sis1j1taj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.speckle-lab-result[b-5sis1j1taj] {
    overflow: auto;
    max-height: 34rem;
    padding: 1rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--ax-surface-muted) 70%, transparent);
    color: var(--ax-text);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.875rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.speckle-viewer-container[b-5sis1j1taj] {
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid var(--ax-border-soft);
    border-radius: 1rem;
    background: #05070d;
}

.speckle-viewer-container--light[b-5sis1j1taj] {
    background: #f5f7fb;
}

/* Dati del locale selezionato nel viewer. */
.speckle-selezione[b-5sis1j1taj] {
    display: grid;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: 0.75rem;
    background: var(--ax-panel-bg-soft);
}

.speckle-selezione-testa[b-5sis1j1taj] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.speckle-selezione-misure[b-5sis1j1taj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    color: var(--ax-text-2);
}
/* /Components/Pages/ConsulenzaIngegneristica.razor.rz.scp.css */
/* =========================================================================
   ConsulenzaIngegneristica.razor.css
   Pagina pubblica di richiesta consulenza. Riusa i token Auxilium e le
   classi .hero-* della Home. Aggiunge stili specifici per il form.
   ========================================================================= */

.consulenza-page[b-iqem6jchh6] {
    min-height: 100%;
    padding: var(--ax-page-padding);
    color: var(--ax-text-1);
    background: transparent;
}

.consulenza-shell[b-iqem6jchh6] {
    max-width: var(--ax-page-max);
    margin: 0 auto;
    display: grid;
    gap: var(--ax-space-6);
}

/* Banner visibile solo quando la pagina è in anteprima admin (noindex). */
.consulenza-anteprima[b-iqem6jchh6] {
    padding: var(--ax-space-3) var(--ax-space-4);
    border: 1px dashed var(--ax-primary-500);
    border-radius: var(--ax-radius-md);
    background: var(--ax-primary-50);
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    line-height: 1.55;
}

.consulenza-anteprima code[b-iqem6jchh6] {
    font-size: var(--ax-fs-12);
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--ax-primary-100);
    color: var(--ax-primary-700);
}

/* ---------- HERO (riusa i token della Home) ---------- */
[b-iqem6jchh6] .hero-section {
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    background: var(--ax-hero-bg);
    box-shadow: var(--ax-shadow-1);
    padding: var(--ax-space-7) var(--ax-space-7);
}

[b-iqem6jchh6] .hero-section-landing {
    padding: var(--ax-space-7) var(--ax-space-7);
}

[b-iqem6jchh6] .hero-content {
    display: grid;
    gap: var(--ax-space-4);
    max-width: 960px;
}

[b-iqem6jchh6] .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-2);
    width: fit-content;
    padding: 6px 12px;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-pill);
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    font-size: var(--ax-fs-12);
    font-weight: 600;
    letter-spacing: 0.02em;
}

[b-iqem6jchh6] .hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ax-primary-700);
    box-shadow: 0 0 0 3px var(--ax-primary-100);
}

[b-iqem6jchh6] .hero-title {
    margin: 0;
    font-size: clamp(var(--ax-fs-24), 2.6vw, var(--ax-fs-40));
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ax-text-1);
    font-weight: 700;
}

[b-iqem6jchh6] .hero-title-accent {
    color: var(--ax-primary-700);
}

[b-iqem6jchh6] .hero-title-sub {
    display: block;
    margin-top: var(--ax-space-2);
    font-size: clamp(var(--ax-fs-18), 1.6vw, var(--ax-fs-24));
    font-weight: 500;
    color: var(--ax-text-2);
    letter-spacing: -0.005em;
    line-height: 1.25;
}

[b-iqem6jchh6] .hero-description {
    margin: 0;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-16);
    line-height: 1.6;
    max-width: 780px;
}

/* ---------- SEZIONE GENERICA ---------- */
[b-iqem6jchh6] .section-block {
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    background: var(--ax-panel-bg);
    box-shadow: var(--ax-shadow-1);
    padding: var(--ax-space-6);
}

[b-iqem6jchh6] .section-header {
    display: grid;
    gap: var(--ax-space-1);
    margin-bottom: var(--ax-space-5);
}

[b-iqem6jchh6] .section-header h2 {
    margin: 0;
    font-size: var(--ax-fs-20);
    letter-spacing: -0.01em;
    color: var(--ax-text-1);
    font-weight: 600;
}

[b-iqem6jchh6] .section-header p {
    margin: 0;
    max-width: 780px;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-14);
    line-height: 1.55;
}

/* ---------- ALERT ---------- */
.consulenza-alert[b-iqem6jchh6] {
    padding: var(--ax-space-3) var(--ax-space-4);
    border-radius: var(--ax-radius-md);
    border: 1px solid var(--ax-border-soft);
    margin-bottom: var(--ax-space-4);
    font-size: var(--ax-fs-14);
    line-height: 1.55;
    color: var(--ax-text-2);
}

.consulenza-alert.is-success[b-iqem6jchh6] {
    border-color: var(--ax-success-600, #059669);
    background: var(--ax-success-50, #ecfdf5);
    color: var(--ax-text-1);
}

.consulenza-alert.is-error[b-iqem6jchh6] {
    border-color: var(--ax-danger-600, #dc2626);
    background: var(--ax-danger-50, #fef2f2);
    color: var(--ax-text-1);
}

/* ---------- FORM ---------- */
.form-grid[b-iqem6jchh6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ax-space-4);
}

.form-field[b-iqem6jchh6] {
    display: grid;
    gap: 6px;
}

.form-field-full[b-iqem6jchh6] {
    grid-column: 1 / -1;
}

.form-field label[b-iqem6jchh6] {
    color: var(--ax-text-1);
    font-size: var(--ax-fs-13);
    font-weight: 600;
    letter-spacing: -0.005em;
}

[b-iqem6jchh6] .input-field {
    appearance: none;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    background: var(--ax-card-bg);
    color: var(--ax-text-1);
    font-size: var(--ax-fs-14);
    line-height: 1.4;
    font-family: inherit;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

[b-iqem6jchh6] .input-field:focus {
    outline: none;
    border-color: var(--ax-primary-500);
    box-shadow: 0 0 0 3px var(--ax-primary-100);
}

[b-iqem6jchh6] .input-field:disabled {
    background: var(--ax-hero-bg);
    cursor: not-allowed;
    opacity: 0.7;
}

[b-iqem6jchh6] .input-field-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field-checkbox .form-checkbox[b-iqem6jchh6] {
    display: flex;
    gap: var(--ax-space-2);
    align-items: flex-start;
    font-size: var(--ax-fs-13);
    line-height: 1.55;
    color: var(--ax-text-2);
    font-weight: 400;
}

.form-field-checkbox .form-checkbox input[type="checkbox"][b-iqem6jchh6] {
    margin-top: 3px;
    flex-shrink: 0;
}

.form-field-checkbox .form-checkbox a[b-iqem6jchh6] {
    color: var(--ax-primary-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

[b-iqem6jchh6] .form-validation {
    color: var(--ax-danger-600, #dc2626);
    font-size: var(--ax-fs-12);
    margin-top: 2px;
}

.form-actions[b-iqem6jchh6] {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--ax-space-5);
}

/* ---------- BENEFIT GRID (stili locali, la pagina non eredita Home.razor.css) ---------- */
[b-iqem6jchh6] .benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--ax-space-4);
}

[b-iqem6jchh6] .benefit-card {
    border: 1px solid var(--ax-border-soft);
    border-left: 3px solid var(--ax-primary-500);
    border-radius: var(--ax-radius-md);
    background: var(--ax-card-bg);
    padding: var(--ax-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
}

[b-iqem6jchh6] .benefit-card-title {
    margin: 0;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-15);
    font-weight: 600;
}

[b-iqem6jchh6] .benefit-card-text {
    margin: 0;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    line-height: 1.55;
}

[b-iqem6jchh6] .benefit-card-text strong {
    color: var(--ax-text-1);
    font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .form-grid[b-iqem6jchh6] {
        grid-template-columns: 1fr;
    }

    [b-iqem6jchh6] .hero-section,
    [b-iqem6jchh6] .hero-section-landing {
        padding: var(--ax-space-5);
    }

    [b-iqem6jchh6] .section-block {
        padding: var(--ax-space-4);
    }
}
/* /Components/Pages/Contatti.razor.rz.scp.css */
/* ===========================================================================
   Pagina /contatti — stili SCOPED specifici della pagina.
   Tutto ciò che non è qui dentro vive nel design system globale
   (auxilium.tokens.css, app.css, auxilium.studi.css):
   - struttura landing: .ax-landing-page / .ax-landing-shell / .ax-landing-hero
   - tipografia hero: .ax-landing-eyebrow / .ax-landing-title.is-compact /
     .ax-landing-subtitle / .ax-landing-actions
   - sezioni:           .ax-section / .ax-section-header / .ax-section-title
   - bottoni:           .ax-btn / .ax-btn-primary / .ax-btn-outline / .ax-btn-ghost
   - input:             .ax-input
   - token colore/spazi/raggi/ombre: --ax-*
   Qui dentro stanno solo: hero mesh animato, intent cards (con tilt + stato),
   layout del form, char counter colorato, sla steps numerati, autoreveal.
   =========================================================================== */

/* Il mesh blob animato e' globale (auxilium.background.css), vive in fixed
   sotto a tutto il sito. La pagina contatti non ne ha piu' uno proprio. */

/* Il numero "2" della SLA ha un bounce sottile periodico. */
.sla-number[b-mdm49apnze] {
    display: inline-block;
    color: var(--ax-primary-700);
    font-weight: 800;
    animation: sla-bounce-b-mdm49apnze 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center bottom;
}

@keyframes sla-bounce-b-mdm49apnze {
    0%, 100% { transform: translateY(0) scale(1); }
    10%      { transform: translateY(-4px) scale(1.08); }
    20%      { transform: translateY(0) scale(1); }
    30%      { transform: translateY(-2px) scale(1.04); }
    40%      { transform: translateY(0) scale(1); }
}

/* ===== Reveal del form (al click su una intent card) ===================
   La sezione form e' renderizzata solo dopo che FormAperto = true. Quando
   compare, parte un'animazione discreta che la "fa entrare" dall'alto:
   l'utente percepisce che e' una conseguenza della sua scelta, non un
   contenuto sempre presente. */

.form-rivelato[b-mdm49apnze] {
    animation: form-entra-b-mdm49apnze 480ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes form-entra-b-mdm49apnze {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Reveal on scroll (toggle via IntersectionObserver in Contatti.razor.js) */

[data-reveal][b-mdm49apnze] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

[data-reveal].is-revealed[b-mdm49apnze] {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Intent cards ====================================================== */

.intent-grid[b-mdm49apnze] {
    display: grid;
    /* Card più strette così le cinque categorie stanno in riga sugli schermi
       larghi; sotto si impilano da sole grazie ad auto-fit. */
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--ax-space-3);
}

.intent-card[b-mdm49apnze] {
    position: relative;
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-5) var(--ax-space-4) var(--ax-space-4);
    text-align: left;
    cursor: pointer;
    color: var(--ax-text-1);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
    box-shadow: var(--ax-shadow-1);
    transition:
        transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
    font-family: inherit;
    font-size: inherit;
}

.intent-card:hover[b-mdm49apnze] {
    border-color: var(--ax-primary-500);
    box-shadow: var(--ax-shadow-2);
    transform: translateY(-4px);
}

.intent-card.is-selected[b-mdm49apnze] {
    border-color: var(--ax-primary-700);
    box-shadow: var(--ax-shadow-focus), var(--ax-shadow-2);
}

.intent-card:focus-visible[b-mdm49apnze] {
    outline: none;
    box-shadow: var(--ax-shadow-focus), var(--ax-shadow-1);
}

.intent-icon[b-mdm49apnze] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ax-radius-md);
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
}

.intent-titolo[b-mdm49apnze] {
    font-size: var(--ax-fs-18);
    font-weight: 600;
    color: var(--ax-text-1);
}

.intent-descrizione[b-mdm49apnze] {
    color: var(--ax-text-3);
    line-height: 1.45;
    font-size: var(--ax-fs-14);
}

.intent-arrow[b-mdm49apnze] {
    color: var(--ax-primary-700);
    align-self: flex-end;
    font-size: var(--ax-fs-20);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.intent-card:hover .intent-arrow[b-mdm49apnze] {
    transform: translateX(4px);
}

/* ===== Form ============================================================== */

.form-card[b-mdm49apnze] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-xl);
    padding: clamp(var(--ax-space-6), 4vw, var(--ax-space-8));
    box-shadow: var(--ax-shadow-2);
    max-width: 760px;
    margin: 0 auto;
}

.form-grid[b-mdm49apnze] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ax-space-5);
}

.campo[b-mdm49apnze] {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-1);
}

.campo-full[b-mdm49apnze] {
    grid-column: 1 / -1;
}

.campo-label[b-mdm49apnze] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-1);
}

/* Contatore caratteri sotto il textarea: cambia colore avvicinandosi al
   limite. Le soglie corrispondono ai breakpoint 80% / 95% gestiti dal
   code-behind (ClasseContatore). */
.campo-contatore[b-mdm49apnze] {
    font-weight: 500;
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
    font-variant-numeric: tabular-nums;
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.campo-contatore.is-avviso[b-mdm49apnze] { color: var(--ax-warning); }
.campo-contatore.is-limite[b-mdm49apnze] { color: var(--ax-danger); }

.campo-textarea[b-mdm49apnze] {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

.campo-errore[b-mdm49apnze] {
    color: var(--ax-danger);
    font-size: var(--ax-fs-13);
    margin-top: 2px;
}

.campo-checkbox[b-mdm49apnze] {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--ax-space-3);
    line-height: 1.5;
    font-size: var(--ax-fs-14);
    color: var(--ax-text-3);
}

.campo-checkbox a[b-mdm49apnze] {
    color: var(--ax-primary-700);
    text-decoration: underline;
}

.form-errore[b-mdm49apnze] {
    margin: var(--ax-space-5) 0 0;
    background: var(--ax-danger-bg);
    border: 1px solid var(--ax-danger-border);
    color: var(--ax-danger-strong);
    padding: var(--ax-space-3) var(--ax-space-4);
    border-radius: var(--ax-radius-sm);
    font-size: var(--ax-fs-14);
}

.form-actions[b-mdm49apnze] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ax-space-4);
    margin-top: var(--ax-space-7);
    flex-wrap: wrap;
}

.form-rassicurazione[b-mdm49apnze] {
    margin: 0;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-13);
}

/* Spinner per lo stato "Invio in corso" sul bottone. */
.spinner[b-mdm49apnze] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: spinner-rotate-b-mdm49apnze 800ms linear infinite;
}

@keyframes spinner-rotate-b-mdm49apnze {
    to { transform: rotate(360deg); }
}

/* ===== Shimmer modifier sul .ax-btn-primary ============================== */

/* Modifier sul bottone primario globale: aggiunge un riflesso che scorre
   da sinistra a destra al hover. Non sostituisce .ax-btn-primary, lo
   arricchisce. Lo dichiariamo con maggiore specificità (& con classe nella
   stessa riga) per coabitare con gli stili globali. */
.ax-btn-primary.btn-shimmer[b-mdm49apnze] {
    position: relative;
    overflow: hidden;
}

.ax-btn-primary.btn-shimmer[b-mdm49apnze]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.32) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.ax-btn-primary.btn-shimmer:hover:not(:disabled):not([disabled])[b-mdm49apnze]::before {
    transform: translateX(120%);
}

/* ===== SLA section ======================================================= */

.sla-steps[b-mdm49apnze] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--ax-space-6);
}

.sla-step[b-mdm49apnze] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-7) var(--ax-space-6);
    box-shadow: var(--ax-shadow-1);
}

.sla-num[b-mdm49apnze] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ax-primary-700), var(--ax-primary-500));
    color: var(--ax-text-on-primary);
    font-weight: 700;
    font-size: var(--ax-fs-16);
    margin-bottom: var(--ax-space-4);
}

.sla-step h3[b-mdm49apnze] {
    margin: 0 0 6px;
    font-size: var(--ax-fs-18);
    color: var(--ax-text-1);
}

.sla-step p[b-mdm49apnze] {
    margin: 0;
    color: var(--ax-text-3);
    line-height: 1.55;
    font-size: var(--ax-fs-14);
}

/* ===== Responsive ======================================================== */

@media (max-width: 640px) {
    .form-grid[b-mdm49apnze] {
        grid-template-columns: 1fr;
    }
}

/* ===== Reduced motion (accessibility) ==================================== */

@media (prefers-reduced-motion: reduce) {
    .sla-number[b-mdm49apnze],
    [data-reveal][b-mdm49apnze],
    .form-rivelato[b-mdm49apnze],
    .ax-btn-primary.btn-shimmer[b-mdm49apnze]::before,
    .intent-card[b-mdm49apnze],
    .intent-arrow[b-mdm49apnze] {
        animation: none !important;
        transition: none !important;
    }
    [data-reveal][b-mdm49apnze] {
        opacity: 1;
        transform: none;
    }
}
/* /Components/Pages/ContattiGrazie.razor.rz.scp.css */
/* ===========================================================================
   Pagina /contatti/grazie — stili SCOPED specifici.
   Tutto il resto vive nel design system globale (.ax-landing-*, .ax-btn-*,
   token --ax-*).
   =========================================================================== */

/* Eyebrow in verde "success" invece del rosso highlight del design system:
   è l'unico punto in cui la conferma usa il colore semantico di stato. */
.grazie-eyebrow[b-rsf7460akk] {
    color: var(--ax-success);
}

/* ===== SVG check animato ================================================== */

.check[b-rsf7460akk] {
    width: 96px;
    height: 96px;
    display: block;
    margin: 0 auto;
}

.check-cerchio[b-rsf7460akk] {
    fill: none;
    stroke: var(--ax-success);
    stroke-width: 3;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transform-origin: center;
    animation: traccia-cerchio-b-rsf7460akk 700ms cubic-bezier(0.65, 0, 0.45, 1) 100ms forwards;
}

.check-segno[b-rsf7460akk] {
    fill: none;
    stroke: var(--ax-success);
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: traccia-segno-b-rsf7460akk 450ms cubic-bezier(0.65, 0, 0.45, 1) 650ms forwards;
}

@keyframes traccia-cerchio-b-rsf7460akk {
    to { stroke-dashoffset: 0; }
}
@keyframes traccia-segno-b-rsf7460akk {
    to { stroke-dashoffset: 0; }
}

/* ===== Reduced motion ===================================================== */

@media (prefers-reduced-motion: reduce) {
    .check-cerchio[b-rsf7460akk],
    .check-segno[b-rsf7460akk] {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }
}
/* /Components/Pages/Curiosita.razor.rz.scp.css */
/* ===========================================================================
   /curiosita — pagina pubblica "Com'è fatto Auxilium"
   Layout in stile landing (.ax-landing-*), sezioni narrative.
   Tutto SVG inline + CSS animations, niente JS pesante.
   =========================================================================== */

/* ===== Intestazioni di sezione — scala alzata solo per questa pagina ====
   Le classi .ax-section-* nascono per le card degli studi (11/28/14 px):
   qui le sezioni sono narrative e accostate a media a tutta larghezza,
   con quella scala sembravano didascalie. Override scoped, il design
   system globale resta intatto. */

.curiosita-page .ax-feature-kicker[b-pk1t69sa65] {
    font-size: var(--ax-fs-13);
}

.curiosita-page .ax-section-title[b-pk1t69sa65] {
    font-size: clamp(var(--ax-fs-24), 2.6vw, var(--ax-fs-32));
}

.curiosita-page .ax-section-text[b-pk1t69sa65] {
    font-size: var(--ax-fs-16);
    max-width: 720px;
}

/* ===== 0. NOVITÀ — flusso animato CAD → Speckle → Auxilium → output ==== */

/* Il video e' il protagonista della sezione: tutta la larghezza della shell. */
.curiosita-novita .novita-video[b-pk1t69sa65] {
    margin: var(--ax-space-5) auto 0;
    width: 100%;
}

.novita-video video[b-pk1t69sa65] {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 848 / 478;
    object-fit: contain;
    background: #070d1a;
    border-radius: var(--ax-radius-lg);
}

.novita-video figcaption[b-pk1t69sa65] {
    margin-top: var(--ax-space-2);
    text-align: center;
    font-size: var(--ax-fs-13);
    color: var(--ax-text-3);
}

.curiosita-novita .novita-stage[b-pk1t69sa65] {
    margin: var(--ax-space-5) auto 0;
    width: 100%;
    background: radial-gradient(ellipse at 50% 50%, #11203b 0%, #070d1a 70%);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-3);
    overflow: hidden;
}

.novita-flow[b-pk1t69sa65] {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes novita-particle-b-pk1t69sa65 {
    0%   { offset-distance: 0%;   opacity: 0; }
    8%   {                        opacity: 1; }
    92%  {                        opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* Battito cardiaco: due colpi ravvicinati (tu-tu) e poi riposo fino al
   ciclo successivo. Il glow segue il battito. */
@keyframes novita-battito-b-pk1t69sa65 {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.45)); }
    7%   { transform: scale(1.09); filter: drop-shadow(0 0 26px rgba(96, 165, 250, 0.85)); }
    14%  { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.45)); }
    21%  { transform: scale(1.11); filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.9)); }
    32%  { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.45)); }
    100% { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.45)); }
}

@keyframes novita-pulse-soft-b-pk1t69sa65 {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@keyframes novita-dash-b-pk1t69sa65 {
    to { stroke-dashoffset: -200; }
}

.novita-flow .pipe-in[b-pk1t69sa65] {
    stroke-dasharray: 6 8;
    animation: novita-dash-b-pk1t69sa65 2.4s linear infinite;
}

.novita-flow .pipe-trunk[b-pk1t69sa65] {
    stroke-dasharray: 8 6;
    animation: novita-dash-b-pk1t69sa65 1.6s linear infinite;
}

/* Il translate vive sul <g> esterno, la scala sul <g> interno (.core / .speckle).
   Senza questa nidificazione l'animazione scale() di CSS sovrascrive l'attributo
   transform="translate(...)" di SVG e l'elemento finisce nell'angolo. */
.novita-flow .core[b-pk1t69sa65] {
    transform-box: fill-box;
    transform-origin: center;
    animation: novita-battito-b-pk1t69sa65 2.2s ease-in-out infinite;
}

.novita-flow .speckle[b-pk1t69sa65] {
    transform-box: fill-box;
    transform-origin: center;
    animation: novita-pulse-soft-b-pk1t69sa65 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.4));
}

.novita-flow .particle[b-pk1t69sa65] {
    animation: novita-particle-b-pk1t69sa65 2.4s linear infinite;
}

.novita-flow .particle-trunk[b-pk1t69sa65] {
    animation: novita-particle-b-pk1t69sa65 1.6s linear infinite;
}

.novita-flow .particle-out[b-pk1t69sa65] {
    animation: novita-particle-b-pk1t69sa65 2.6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .novita-flow .pipe-in[b-pk1t69sa65],
    .novita-flow .pipe-trunk[b-pk1t69sa65],
    .novita-flow .core[b-pk1t69sa65],
    .novita-flow .speckle[b-pk1t69sa65],
    .novita-flow .particle[b-pk1t69sa65],
    .novita-flow .particle-trunk[b-pk1t69sa65],
    .novita-flow .particle-out[b-pk1t69sa65] {
        animation: none !important;
    }
}

/* ===== 1. LAYER — anelli concentrici ==================================== */

.curiosita-layers .layers-stage[b-pk1t69sa65] {
    display: grid;
    grid-template-columns: minmax(280px, 480px) 1fr;
    gap: var(--ax-space-7);
    align-items: center;
}

.layers-rings[b-pk1t69sa65] {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 1;
}

.layers-rings .ring[b-pk1t69sa65] {
    fill: none;
    stroke-width: 1.5;
    opacity: 0.85;
    transform-origin: 300px 300px;
    animation: ring-entra-b-pk1t69sa65 800ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.layers-rings .ring-presentazione[b-pk1t69sa65] { stroke: #991b1b; fill: rgba(254, 226, 226, 0.18); animation-delay: 400ms; }
.layers-rings .ring-infra[b-pk1t69sa65]         { stroke: #9a3412; fill: rgba(255, 237, 213, 0.22); animation-delay: 300ms; }
.layers-rings .ring-applicazione[b-pk1t69sa65]  { stroke: #047857; fill: rgba(209, 250, 229, 0.24); animation-delay: 200ms; }
.layers-rings .ring-calcoli[b-pk1t69sa65]       { stroke: #d97706; fill: rgba(254, 243, 199, 0.30); animation-delay: 100ms; }
.layers-rings .ring-dominio[b-pk1t69sa65]       { stroke: #1e40af; fill: rgba(219, 234, 254, 0.40); animation-delay: 0ms; }

.layers-rings .ring-label[b-pk1t69sa65] {
    fill: var(--ax-text-2);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--ax-font-sans);
}

@keyframes ring-entra-b-pk1t69sa65 {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 0.85; transform: scale(1); }
}

/* Accordion layer */
.layers-list[b-pk1t69sa65] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
}

.layer-item[b-pk1t69sa65] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.layer-item:hover[b-pk1t69sa65] {
    border-color: color-mix(in srgb, var(--ax-primary-500) 50%, var(--ax-border-soft));
    box-shadow: var(--ax-shadow-1);
}

.layer-item.is-aperto[b-pk1t69sa65] {
    border-color: var(--ax-primary-500);
    box-shadow: var(--ax-shadow-2);
}

/* Le aree esplicite tengono titolo e sottotitolo incolonnati accanto al
   pallino: con il solo auto-placement finivano nella colonna del caret,
   schiacciati al bordo destro della card. */
.layer-btn[b-pk1t69sa65] {
    display: grid;
    grid-template-areas:
        "dot titolo caret"
        "dot sotto  caret";
    grid-template-columns: 12px 1fr auto;
    column-gap: var(--ax-space-3);
    row-gap: 2px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: var(--ax-space-4) var(--ax-space-5);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--ax-text-1);
}

.layer-dot[b-pk1t69sa65] {
    grid-area: dot;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--layer-color, var(--ax-primary-500));
    margin-top: 6px;
}

.layer-titolo[b-pk1t69sa65] {
    grid-area: titolo;
    font-size: var(--ax-fs-16);
    font-weight: 600;
    color: var(--ax-text-1);
}

.layer-sottotitolo[b-pk1t69sa65] {
    grid-area: sotto;
    font-size: var(--ax-fs-13);
    color: var(--ax-text-3);
}

.layer-caret[b-pk1t69sa65] {
    grid-area: caret;
    align-self: center;
    color: var(--ax-text-3);
    font-size: 20px;
    transition: transform 200ms ease;
}

.layer-item.is-aperto .layer-caret[b-pk1t69sa65] {
    transform: rotate(90deg);
    color: var(--ax-primary-700);
}

.layer-dettaglio[b-pk1t69sa65] {
    padding: 0 var(--ax-space-5) var(--ax-space-4) calc(var(--ax-space-5) + 12px + var(--ax-space-3));
    color: var(--ax-text-2);
    font-size: var(--ax-fs-14);
    line-height: 1.55;
    animation: layer-rivela-b-pk1t69sa65 280ms ease both;
}

.layer-dettaglio p[b-pk1t69sa65] {
    margin: 0 0 var(--ax-space-2);
}

.layer-progetti[b-pk1t69sa65] {
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
}

@keyframes layer-rivela-b-pk1t69sa65 {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== 2. GRAFO PROGETTI ================================================ */

.curiosita-graph .graph-stage[b-pk1t69sa65] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-5);
    box-shadow: var(--ax-shadow-1);
}

.curiosita-graph svg[b-pk1t69sa65] {
    width: 100%;
    height: auto;
    max-height: 560px;
}

.curiosita-graph .edges path[b-pk1t69sa65] {
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    opacity: 0.45;
}

.curiosita-graph .edge-pres[b-pk1t69sa65]  { stroke: #991b1b; marker-end: url(#arrow-pres); }
.curiosita-graph .edge-infra[b-pk1t69sa65] { stroke: #9a3412; marker-end: url(#arrow-infra); }
.curiosita-graph .edge-app[b-pk1t69sa65]   { stroke: #047857; marker-end: url(#arrow-app); }
.curiosita-graph .edge-calc[b-pk1t69sa65]  { stroke: #d97706; marker-end: url(#arrow-calc); }

.curiosita-graph .nodes rect[b-pk1t69sa65] {
    stroke-width: 1.6;
    transition: transform 220ms ease, filter 220ms ease;
    transform-origin: center;
    transform-box: fill-box;
}

.curiosita-graph .nodes g:hover rect[b-pk1t69sa65] {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(15, 26, 43, 0.18));
}

.curiosita-graph .nodes text[b-pk1t69sa65] {
    fill: var(--ax-text-1);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--ax-font-sans);
    pointer-events: none;
}

.curiosita-graph .nodes .node-meta[b-pk1t69sa65] {
    fill: var(--ax-text-3);
    font-size: 11.5px;
    font-weight: 500;
}

/* Colori card per layer (stessa palette di anelli e legenda) */
.node-dom   rect[b-pk1t69sa65] { fill: #dbeafe; stroke: #1e40af; }
.node-calc  rect[b-pk1t69sa65] { fill: #fef3c7; stroke: #92400e; }
.node-app   rect[b-pk1t69sa65] { fill: #d1fae5; stroke: #047857; }
.node-infra rect[b-pk1t69sa65] { fill: #ffedd5; stroke: #9a3412; }
.node-pres  rect[b-pk1t69sa65] { fill: #fee2e2; stroke: #991b1b; }

.graph-legenda[b-pk1t69sa65] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-4);
    justify-content: center;
}

.legenda-pill[b-pk1t69sa65] {
    padding: 4px 12px;
    border-radius: var(--ax-radius-pill);
    font-size: var(--ax-fs-12);
    font-weight: 600;
    border: 1px solid transparent;
}

.pill-dom[b-pk1t69sa65]   { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.pill-calc[b-pk1t69sa65]  { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.pill-app[b-pk1t69sa65]   { background: #d1fae5; color: #047857; border-color: #6ee7b7; }
.pill-infra[b-pk1t69sa65] { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.pill-pres[b-pk1t69sa65]  { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

/* ===== 3. SICUREZZA ===================================================== */

.curiosita-sicurezza .sec-grid[b-pk1t69sa65] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--ax-space-5);
}

.sec-card[b-pk1t69sa65] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-6) var(--ax-space-5);
    box-shadow: var(--ax-shadow-1);
    position: relative;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.sec-card:hover[b-pk1t69sa65] {
    transform: translateY(-3px);
    box-shadow: var(--ax-shadow-2);
}

.sec-card-num[b-pk1t69sa65] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ax-primary-700), var(--ax-primary-500));
    color: var(--ax-text-on-primary);
    font-weight: 700;
    font-size: var(--ax-fs-16);
    margin-bottom: var(--ax-space-4);
}

.sec-card-titolo[b-pk1t69sa65] {
    margin: 0 0 var(--ax-space-3);
    font-size: var(--ax-fs-18);
    font-weight: 600;
    color: var(--ax-text-1);
}

.sec-card-testo[b-pk1t69sa65] {
    margin: 0;
    font-size: var(--ax-fs-14);
    color: var(--ax-text-2);
    line-height: 1.55;
}

/* Card cliccabile: il "+" in alto a destra segnala che c'e' altro. */
.sec-card[b-pk1t69sa65] {
    cursor: pointer;
}

.sec-card.is-aperta[b-pk1t69sa65] {
    border-color: var(--ax-primary-500);
}

.sec-card-caret[b-pk1t69sa65] {
    position: absolute;
    top: var(--ax-space-4);
    right: var(--ax-space-5);
    font-size: var(--ax-fs-20);
    font-weight: 600;
    color: var(--ax-text-3);
    line-height: 1;
}

.sec-card.is-aperta .sec-card-caret[b-pk1t69sa65] {
    color: var(--ax-primary-700);
}

.sec-card-dettaglio[b-pk1t69sa65] {
    margin: var(--ax-space-4) 0 0;
    padding-top: var(--ax-space-4);
    border-top: 1px solid var(--ax-border-soft);
    font-size: var(--ax-fs-14);
    color: var(--ax-text-2);
    line-height: 1.55;
    animation: layer-rivela-b-pk1t69sa65 280ms ease both;
}

/* ===== Responsive ======================================================= */

@media (max-width: 880px) {
    .curiosita-layers .layers-stage[b-pk1t69sa65] {
        grid-template-columns: 1fr;
    }
    .layers-rings[b-pk1t69sa65] {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .layers-rings .ring[b-pk1t69sa65],
    .layer-dettaglio[b-pk1t69sa65],
    .sec-card[b-pk1t69sa65],
    .curiosita-graph .nodes rect[b-pk1t69sa65] {
        animation: none !important;
        transition: none !important;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* =========================================================================
   Home.razor.css
   Solo varianti locali: il sistema landing/catalogo vive in auxilium.studi.css.
   ========================================================================= */

.home-hero-copy[b-urjqosx9iv] {
    display: grid;
    justify-items: center;
    gap: var(--ax-space-4);
}

.hero-greeting[b-urjqosx9iv] {
    display: grid;
    justify-items: center;
    gap: 2px;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-14);
}

.hero-greeting strong[b-urjqosx9iv] {
    color: var(--ax-text-1);
}

.hero-greeting-email[b-urjqosx9iv] {
    color: var(--ax-text-3);
    font-size: var(--ax-fs-12);
}

.home-hero-title[b-urjqosx9iv] {
    color: var(--ax-primary-700);
}

.theme-dark .home-hero-title[b-urjqosx9iv] {
    color: #2f6fe4;
}

.home-hero-subtitle[b-urjqosx9iv] {
    margin: calc(-1 * var(--ax-space-2)) 0 0;
    font-size: clamp(var(--ax-fs-24), 2.6vw, var(--ax-fs-40));
    line-height: 1.15;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.hero-title-primary[b-urjqosx9iv] {
    color: var(--ax-primary-700);
}

.hero-title-accent[b-urjqosx9iv] {
    color: var(--ax-highlight);
    white-space: nowrap;
}

.home-platform[b-urjqosx9iv] {
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(var(--ax-space-6), 6vw, 96px);
    align-items: center;
    padding: clamp(var(--ax-space-6), 6vw, 86px) 0;
}

.home-platform-copy[b-urjqosx9iv] {
    display: grid;
    gap: var(--ax-space-4);
    text-align: left;
}

.home-platform-copy .ax-landing-title[b-urjqosx9iv] {
    font-size: clamp(var(--ax-fs-32), 3.4vw, 52px);
    line-height: 1.1;
}

.home-platform-copy .ax-landing-subtitle[b-urjqosx9iv] {
    max-width: 520px;
}

/* Griglia hero \"Cosa fa Auxilium\": due card più ampie invece di tre. */
/* Griglia "bento": un blocco grande con uno scorcio di calcolo reale + due
   blocchi piu' piccoli (norme, relazione). Asimmetrica, niente card tutte
   uguali in fila. Le card riusano .ax-feature-card del design system. */
.home-bento[b-urjqosx9iv] {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--ax-space-4);
    max-width: 920px;
    margin-inline: auto;
}

.home-bento-lead[b-urjqosx9iv] {
    grid-row: 1 / span 2;
}

.home-bento-formula[b-urjqosx9iv] {
    margin: var(--ax-space-3) 0 0;
    padding: var(--ax-space-3) var(--ax-space-4);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg-soft);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-13);
    line-height: 1.8;
    white-space: pre;
    overflow-x: auto;
    color: var(--ax-text-1);
}

.home-bento-formula .riga-num[b-urjqosx9iv] {
    color: var(--ax-text-3);
}

.home-bento-formula .riga-ris[b-urjqosx9iv] {
    color: var(--ax-primary-700);
    font-weight: 600;
}

.home-bento-steps[b-urjqosx9iv] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: var(--ax-space-3);
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
}

.home-bento-step[b-urjqosx9iv] {
    width: 22px;
    height: 22px;
    border-radius: var(--ax-radius-pill);
    border: 1px solid var(--ax-border-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.home-bento-step.is-active[b-urjqosx9iv] {
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    border-color: var(--ax-primary-100);
    font-weight: 700;
}

.home-bento-sep[b-urjqosx9iv] {
    color: var(--ax-border-strong);
}

.home-bento-steps-label[b-urjqosx9iv] {
    margin-left: 4px;
}

/* Mini-anteprima di relazione: una "pagina" con capitoli numerati e la
   tabella dei risultati (stesso esempio della formula della card lead). */
.home-bento-doc[b-urjqosx9iv] {
    padding-top: var(--ax-space-3);
}

.home-doc[b-urjqosx9iv] {
    position: relative;
    overflow: hidden;
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    box-shadow: var(--ax-shadow-1);
    padding: 12px 14px;
}

.home-doc[b-urjqosx9iv]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ax-primary-600), var(--ax-accent-500));
}

.home-doc-title[b-urjqosx9iv] {
    font-size: var(--ax-fs-13);
    font-weight: 700;
    color: var(--ax-text-1);
    margin-bottom: 8px;
}

.home-doc-toc[b-urjqosx9iv] {
    list-style: none;
    counter-reset: cap;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.home-doc-toc li[b-urjqosx9iv] {
    counter-increment: cap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--ax-fs-12);
    color: var(--ax-text-2);
}

.home-doc-toc li[b-urjqosx9iv]::before {
    content: counter(cap);
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--ax-primary-50);
    color: var(--ax-primary-700);
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-doc-tab[b-urjqosx9iv] {
    border-top: 1px solid var(--ax-border-soft);
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-doc-row[b-urjqosx9iv] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
}

.home-doc-row span:last-child[b-urjqosx9iv] {
    font-family: var(--ax-font-mono);
    color: var(--ax-text-2);
    font-variant-numeric: tabular-nums;
}

.home-doc-row.is-tot[b-urjqosx9iv] {
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px dashed var(--ax-border-soft);
    color: var(--ax-text-1);
    font-weight: 600;
}

.home-doc-row.is-tot span:last-child[b-urjqosx9iv] {
    color: var(--ax-primary-700);
    font-weight: 700;
}

[data-theme="dark"] .home-doc-row.is-tot span:last-child[b-urjqosx9iv],
.theme-dark .home-doc-row.is-tot span:last-child[b-urjqosx9iv] {
    color: var(--ax-primary-300);
}

@media (max-width: 767px) {
    .home-bento[b-urjqosx9iv] {
        grid-template-columns: 1fr;
    }

    .home-bento-lead[b-urjqosx9iv] {
        grid-row: auto;
    }
}

.audience-section[b-urjqosx9iv] {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: var(--ax-space-6);
    align-items: center;
    padding: var(--ax-space-6);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    background: var(--ax-panel-bg);
    box-shadow: var(--ax-shadow-1);
}

.section-eyebrow[b-urjqosx9iv] {
    margin: 0 0 4px;
    color: var(--ax-highlight-strong);
    font-size: var(--ax-fs-11);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.audience-copy[b-urjqosx9iv] {
    display: grid;
    gap: var(--ax-space-3);
}

.audience-copy h2[b-urjqosx9iv] {
    margin: 0;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-24);
    line-height: 1.2;
    font-weight: 730;
    letter-spacing: -0.015em;
}

.audience-copy p:not(.section-eyebrow)[b-urjqosx9iv] {
    margin: 0;
    max-width: 620px;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-14);
    line-height: 1.6;
}

/* "Per chi è pensato": una riga sobria con i ruoli separati dal punto medio,
   non pillole né checklist (cliché da evitare sui siti professionali). */
.role-line[b-urjqosx9iv] {
    margin: 0;
    align-self: center;
    font-size: var(--ax-fs-15, 0.95rem);
    line-height: 1.8;
    color: var(--ax-text-2);
}

.cta-content[b-urjqosx9iv] {
    display: grid;
    justify-items: center;
    gap: var(--ax-space-3);
    max-width: 700px;
}

.cta-title[b-urjqosx9iv] {
    margin: 0;
    color: var(--ax-text-1);
    font-size: clamp(var(--ax-fs-32), 4vw, 56px);
    line-height: 1.08;
    font-weight: 780;
    letter-spacing: -0.03em;
}

.cta-text[b-urjqosx9iv] {
    margin: 0;
    max-width: 620px;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-16);
    line-height: 1.7;
}

.cta-actions[b-urjqosx9iv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ax-space-3);
}

/* Stili di .home-disclaimer e .home-footer spostati in
   Components/Shared/FooterLanding.razor.css: il footer landing ora vive
   nel componente condiviso, lo scoped CSS lo segue. */

@media (max-width: 1100px) {
    .home-platform[b-urjqosx9iv],
    .audience-section[b-urjqosx9iv] {
        grid-template-columns: 1fr;
    }

    .home-platform-copy[b-urjqosx9iv] {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 767px) {
    .audience-section[b-urjqosx9iv] {
        padding: var(--ax-space-4);
    }

    .home-hero-title[b-urjqosx9iv] {
        font-size: clamp(42px, 13vw, 56px);
        line-height: 0.98;
    }

    .home-hero-subtitle[b-urjqosx9iv] {
        font-size: clamp(var(--ax-fs-20), 6vw, 28px);
    }

    .ax-landing-actions .ax-btn[b-urjqosx9iv],
    .cta-actions .ax-btn[b-urjqosx9iv] {
        width: 100%;
    }
}
/* /Components/Pages/PaginaStudi.razor.rz.scp.css */
/* =========================================================================
   PaginaStudi.razor.css
   Varianti locali: il catalogo riusabile vive in wwwroot/css/auxilium.studi.css.
   ========================================================================= */

.studi-page[b-m9teb8232i] {
    min-height: calc(100vh - var(--ax-topbar-height));
    background: var(--ax-body-bg);
}

.studi-catalog[b-m9teb8232i] {
    display: grid;
    gap: clamp(var(--ax-space-6), 6vw, 84px);
}

.studio-card-actions[b-m9teb8232i] {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    margin-top: auto;
    padding-top: var(--ax-space-3);
}

.studio-card-actions .ax-btn[b-m9teb8232i] {
    border-radius: var(--ax-radius-pill);
}
/* /Components/Pages/Progetti/Progetti.razor.rz.scp.css */
/* =========================================================================
   Progetti.razor.css
   Stili scoped per la pagina /progetti (lista + form inline di crea/modifica).
   I blocchi visivi più generici (admin-card, admin-table, area-page,
   area-form-grid) vengono dal CSS globale; qui aggiungiamo solo i dettagli
   specifici del CRUD progetti.
   ========================================================================= */

/* Form inline di creazione / modifica sopra la tabella. */
.progetti-form[b-gttx9vsxms] {
    margin: var(--ax-space-4) 0 var(--ax-space-5);
    padding: var(--ax-space-4) var(--ax-space-5);
    background: var(--ax-panel-bg-soft);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
}

.progetti-form-title[b-gttx9vsxms] {
    margin: 0 0 var(--ax-space-3);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: var(--ax-text-1);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* Textarea descrittiva: altezza leggermente maggiore dell'input standard. */
.progetti-textarea[b-gttx9vsxms] {
    min-height: 88px;
    resize: vertical;
    line-height: 1.5;
}

/* Colonna descrizione della tabella: limita larghezza e taglia le righe
   lunghe con ellissi su un massimo di 2 righe. */
.progetti-descrizione[b-gttx9vsxms] {
    max-width: 360px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* ── Riga progetto espansa + pannello degli studi ───────────────────────────
   Rende leggibile la gerarchia: la riga del progetto aperto si evidenzia e gli
   studi compaiono in un pannello rientrato con barra accento a sinistra, così
   è chiaro che stanno DENTRO quel progetto. Prima erano stili inline su una
   cella con sfondo appena diverso e si confondevano con le righe progetto. */
tr.is-expanded > td[b-gttx9vsxms] {
    background: var(--ax-panel-bg-soft);
}

.progetti-studi-cella[b-gttx9vsxms] {
    background: var(--ax-panel-bg-soft);
    border-top: none;
    padding: 0 var(--ax-space-4) var(--ax-space-4) var(--ax-space-6);
}

.progetti-studi-pannello[b-gttx9vsxms] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-left: 3px solid var(--ax-primary-500);
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-4) var(--ax-space-5);
}

.progetti-studi-titolo[b-gttx9vsxms] {
    margin: 0 0 var(--ax-space-3) 0;
    font-size: var(--ax-fs-12);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ax-primary-700);
    font-weight: 700;
}
/* /Components/Pages/Studi/AcusticaCalcolatori.razor.rz.scp.css */
/* Calcolatori acustica - solo layout scoped; input e campi usano le classi
   globali .ax-input / .area-form-field, i colori vengono dai token --ax-*. */

.gcalc-grid-page[b-rtp4dorpvg] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}

@media (max-width: 1180px) {
    .gcalc-grid-page[b-rtp4dorpvg] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gcalc-grid-page[b-rtp4dorpvg] {
        grid-template-columns: 1fr;
    }
}

.gcalc[b-rtp4dorpvg] {
    display: flex;
    flex-direction: column;
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: 10px;
    padding: 16px 18px;
}

.gcalc h2[b-rtp4dorpvg] {
    font-size: 15.5px;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    color: var(--ax-text-1);
}

.gcalc-formula[b-rtp4dorpvg] {
    font-family: var(--ax-font-mono);
    font-size: 12.5px;
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-1);
    border: 1px solid var(--ax-border-soft);
    border-radius: 6px;
    padding: 8px 11px;
    margin: 0 0 12px;
    overflow-x: auto;
}

.gcalc-row[b-rtp4dorpvg] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 10px;
}

/* I campi nella riga sono .area-form-field (globale): solo crescita/larghezza. */
.gcalc-row[b-rtp4dorpvg]  .area-form-field {
    flex: 1 1 140px;
}

/* Risultato con le card condivise: titolo, descrizione e valore nel riquadro
   con l'unità a fianco. Stesse classi/aspetto degli altri studi. */
.gcalc .result-card[b-rtp4dorpvg] {
    margin-top: auto;
}

.result-title[b-rtp4dorpvg] {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-description[b-rtp4dorpvg] {
    margin-top: 4px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
}

.result-value-row[b-rtp4dorpvg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-3);
}

.result-value[b-rtp4dorpvg],
.result-unit[b-rtp4dorpvg] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    background: var(--ax-input-bg);
    color: var(--ax-text-1);
    min-height: 38px;
    padding: 8px 12px;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.result-unit[b-rtp4dorpvg] {
    justify-content: center;
    color: var(--ax-text-2);
    background: var(--ax-panel-bg-soft);
    font-weight: 500;
    font-size: var(--ax-fs-12);
}

.gcalc-note[b-rtp4dorpvg] {
    font-size: 12px;
    color: var(--ax-text-4);
    margin: 8px 0 0;
}

.gcalc-disclaimer[b-rtp4dorpvg] {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ax-text-4);
    line-height: 1.5;
}
/* /Components/Pages/Studi/AcusticaEsterna.razor.rz.scp.css */
/* Editor relazione acustica esterna - layout scoped, colori dai token --ax-*. */

.ae-toolbar[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 12px;
}

.ae-msg[b-m7pgvkg9om] {
    font-size: 13px;
    color: var(--ax-success-strong);
}

.ae-shell[b-m7pgvkg9om] {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 18px;
    align-items: start;
}

/* ── nav ── */
.ae-nav[b-m7pgvkg9om] {
    border: 1px solid var(--ax-border-soft);
    border-radius: 10px;
    background: var(--ax-card-bg);
    padding: 8px;
    position: sticky;
    top: 16px;
}

.ae-navgroup[b-m7pgvkg9om] {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ax-text-3);
    font-weight: 700;
    padding: 12px 10px 4px;
}

.ae-navitem[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 6px;
    padding: 7px 9px;
    cursor: pointer;
    color: var(--ax-text-2);
    font-size: 12.5px;
    line-height: 1.25;
}

.ae-navitem:hover[b-m7pgvkg9om] {
    background: var(--ax-panel-bg-soft);
}

.ae-navitem.is-active[b-m7pgvkg9om] {
    background: var(--ax-info-bg);
    border-left-color: var(--ax-primary-500);
    color: var(--ax-text-1);
    font-weight: 600;
}

.ae-navitem.is-off[b-m7pgvkg9om] {
    opacity: 0.4;
    cursor: not-allowed;
}

.ae-nn[b-m7pgvkg9om] {
    flex: none;
    min-width: 26px;
    text-align: center;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px;
    color: var(--ax-text-3);
}

.ae-navitem.is-active .ae-nn[b-m7pgvkg9om] {
    color: var(--ax-primary-500);
}

.ae-nt[b-m7pgvkg9om] {
    flex: 1;
}

.ae-badge[b-m7pgvkg9om] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 9.5px;
    font-weight: 700;
    border-radius: 3px;
    padding: 1px 4px;
    flex: none;
}

.ae-b-B[b-m7pgvkg9om] { background: #e4e8e0; color: #4a544f; }
.ae-b-C[b-m7pgvkg9om] { background: #ddeaf0; color: #1f5a6e; }
.ae-b-I[b-m7pgvkg9om] { background: #f2e4d7; color: #8a5320; }
.ae-b-E[b-m7pgvkg9om] { background: #ece6f0; color: #6a4a86; }

.ae-dot[b-m7pgvkg9om] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ax-border-strong);
    flex: none;
}

.ae-dot.done[b-m7pgvkg9om] { background: var(--ax-success); }
.ae-dot.flag[b-m7pgvkg9om] { background: var(--ax-warning); }

/* ── work ── */
.ae-card[b-m7pgvkg9om] {
    position: relative;
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: 10px;
    padding: 20px 22px;
}

/* Barra brand in testa a ogni capitolo: blu → arancio, i due colori Auxilium.
   Segue i due angoli superiori arrotondati della card. */
.ae-card[b-m7pgvkg9om]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, var(--ax-primary-600), var(--ax-accent-500));
}

.ae-card-head[b-m7pgvkg9om] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ae-eyebrow[b-m7pgvkg9om] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ax-accent-700);
    font-weight: 700;
    margin-bottom: 2px;
}

.ae-h2[b-m7pgvkg9om] {
    font-size: 18px;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.ae-sub[b-m7pgvkg9om] {
    color: var(--ax-text-2);
    font-size: 13px;
    margin: 2px 0 14px;
}

.ae-grid[b-m7pgvkg9om] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
    margin-bottom: 14px;
}

.ae-grid2[b-m7pgvkg9om] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0;
}

.ae-fieldlabel[b-m7pgvkg9om] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ax-text-2);
    margin: 14px 0 6px;
}

.ae-chips[b-m7pgvkg9om] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ae-chip[b-m7pgvkg9om] {
    border: 1px solid var(--ax-border-soft);
    background: var(--ax-card-bg);
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 13px;
    color: var(--ax-text-2);
    cursor: pointer;
}

.ae-chip.is-on[b-m7pgvkg9om] {
    background: var(--ax-primary-700);
    border-color: var(--ax-primary-700);
    color: #fff;
    font-weight: 600;
}

.ae-note[b-m7pgvkg9om] {
    font-size: 12.5px;
    color: var(--ax-text-3);
    margin-top: 12px;
}

/* Sigle con spiegazione al passaggio del mouse (PCA, TCA, ENTECA, CAM…). */
abbr[title][b-m7pgvkg9om] {
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    cursor: help;
}

/* Schema della fascia di pertinenza: figura statica nel capitolo 4.4, resa
   come voce dell'elenco senza puntino, subito dopo il periodo che la richiama. */
.ae-fascia-fig[b-m7pgvkg9om] {
    list-style: none;
    margin: 8px 0 10px;
    padding: 12px 14px;
    max-width: 340px;
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
}

/* Didascalia dentro HTML iniettato (MarkupString): serve ::deep, il CSS
   scoped non marca gli elementi generati fuori dal compilatore razor. */
.ae-fascia-fig[b-m7pgvkg9om]  .ae-gloss-cap {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--ax-text-2);
}

.ae-banner[b-m7pgvkg9om] {
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    margin: 12px 0;
    border: 1px solid;
    line-height: 1.5;
}

.ae-banner.ae-info[b-m7pgvkg9om] {
    background: var(--ax-card-bg-soft);
    border-color: var(--ax-primary-500);
    color: var(--ax-text-1);
}

.ae-banner.ae-warn[b-m7pgvkg9om] {
    background: var(--ax-warning-bg);
    border-color: var(--ax-warning-border);
    color: var(--ax-warning-strong);
}

.ae-help[b-m7pgvkg9om] {
    border-left: 3px solid var(--ax-primary-500);
    background: var(--ax-card-bg-soft);
    border-radius: 0 6px 6px 0;
    padding: 11px 14px;
    font-size: 13px;
    margin: 12px 0 16px;
    color: var(--ax-text-1);
}

.ae-help ul[b-m7pgvkg9om] { margin: 6px 0 0; padding-left: 18px; }
.ae-help li[b-m7pgvkg9om] { margin: 3px 0; }

/* Box "Chiarimenti — come si fa": approfondimento espandibile sotto l'help. */
.ae-chiarimenti[b-m7pgvkg9om] {
    border: 1px solid var(--ax-border-soft);
    border-left: 3px solid var(--ax-accent-500);
    border-radius: 8px;
    background: var(--ax-panel-bg-soft);
    padding: 2px 14px;
    margin: 0 0 16px;
    font-size: 13px;
}

.ae-chiarimenti summary[b-m7pgvkg9om] {
    cursor: pointer;
    font-weight: 600;
    color: var(--ax-accent-700);
    padding: 9px 0;
    list-style-position: inside;
}

.ae-chiarimenti-body[b-m7pgvkg9om] {
    color: var(--ax-text-1);
    line-height: 1.55;
    padding: 2px 0 8px;
}

.ae-chiarimenti-body p[b-m7pgvkg9om] { margin: 8px 0; }

.ae-limiti[b-m7pgvkg9om] {
    background: var(--ax-panel-bg-soft);
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.ae-readout[b-m7pgvkg9om] {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ax-text-1);
    background: var(--ax-card-bg-soft);
    border-radius: 6px;
    padding: 10px 13px;
}

.ae-textarea[b-m7pgvkg9om] {
    min-height: 130px;
    line-height: 1.55;
    resize: vertical;
}

.ae-flag[b-m7pgvkg9om] {
    margin-top: 16px;
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    padding: 11px 14px;
}

.ae-flagcheck[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.ae-flag .ax-input[b-m7pgvkg9om] { margin-top: 8px; }

/* ── calcolatori ── */
.ae-calc[b-m7pgvkg9om] {
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 14px;
}

.ae-calc h3[b-m7pgvkg9om] { font-size: 14.5px; margin: 0 0 8px; }

.ae-formula[b-m7pgvkg9om] {
    font-family: var(--ax-font-mono);
    font-size: 12.5px;
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-1);
    border: 1px solid var(--ax-border-soft);
    border-radius: 6px;
    padding: 8px 11px;
    margin: 0 0 12px;
    overflow-x: auto;
}

.ae-row[b-m7pgvkg9om] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 10px;
}

.ae-row[b-m7pgvkg9om]  .area-form-field { flex: 1 1 130px; }

/* Risultato con le card condivise: valore nel riquadro con l'unità a fianco. */
.ae-calc .result-card[b-m7pgvkg9om] {
    margin-top: 6px;
}

.result-title[b-m7pgvkg9om] {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-description[b-m7pgvkg9om] {
    margin-top: 4px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
}

.result-value-row[b-m7pgvkg9om] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-3);
}

.result-value[b-m7pgvkg9om],
.result-unit[b-m7pgvkg9om] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    background: var(--ax-input-bg);
    color: var(--ax-text-1);
    min-height: 38px;
    padding: 8px 12px;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.result-unit[b-m7pgvkg9om] {
    justify-content: center;
    color: var(--ax-text-2);
    background: var(--ax-panel-bg-soft);
    font-weight: 500;
    font-size: var(--ax-fs-12);
}

.ae-pin[b-m7pgvkg9om] {
    margin-top: 8px;
}

.ae-footernav[b-m7pgvkg9om] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.ae-footernav-fine[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.ae-texthead[b-m7pgvkg9om] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.ae-textlabel[b-m7pgvkg9om] {
    font-size: var(--ax-fs-12);
    font-weight: 600;
    color: var(--ax-text-2);
}

.ae-tabella[b-m7pgvkg9om] {
    margin: 12px 0;
}

.ae-tabella .ae-textlabel[b-m7pgvkg9om] {
    margin-bottom: 6px;
    display: block;
}

/* ── figure ── */
.ae-figs[b-m7pgvkg9om] {
    margin-top: 14px;
}

/* ── etichette con tooltip (info al passaggio del mouse) ──
   Il marcatore ⓘ compare solo se c'è davvero un title non vuoto: senza
   spiegazione al hover sarebbe inutile. */
.ae-info[data-tip]:not([data-tip=""])[b-m7pgvkg9om] {
    position: relative;
    cursor: help;
}

/* Marcatore ⓘ: solo dove c'è davvero una spiegazione. */
.ae-info[data-tip]:not([data-tip=""])[b-m7pgvkg9om]::after {
    content: " ⓘ";
    opacity: 0.5;
    font-size: 0.85em;
}

/* Tooltip custom (non il title nativo bianco-su-nero): card chiara, stretta
   circa la metà, leggibile in chiaro e scuro dai token --ax-*. */
.ae-info[data-tip]:not([data-tip=""]):hover[b-m7pgvkg9om]::before,
.ae-info[data-tip]:not([data-tip=""]):focus-within[b-m7pgvkg9om]::before {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 40;
    width: 220px;
    white-space: normal;
    background: var(--ax-card-bg);
    color: var(--ax-text-1);
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}

/* ── elenco formule applicate ── */
.ae-formula-voce[b-m7pgvkg9om] {
    margin-bottom: 16px;
}

.ae-formula-voce:last-child[b-m7pgvkg9om] {
    margin-bottom: 0;
}

/* ── editor ricettori e sorgenti (capitolo 5) ── */
.ae-rs-head[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 8px;
}

.ae-rs-item[b-m7pgvkg9om] {
    border: 1px solid var(--ax-border-soft);
    border-left: 3px solid var(--ax-primary-400);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: var(--ax-panel-bg-soft);
}

.ae-rs-row[b-m7pgvkg9om] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.ae-rs-row + .ae-rs-row[b-m7pgvkg9om] {
    margin-top: 8px;
}

.ae-rs-row .area-form-field[b-m7pgvkg9om] {
    flex: 1 1 140px;
    min-width: 120px;
}

/* Campo con checkbox in linea (es. «carreggiate separate»): etichetta e casella
   affiancate, non impilate come gli altri campi. */
.ae-rs-row .area-form-field.ae-check[b-m7pgvkg9om] {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.ae-rs-row .area-form-field.ae-check input[b-m7pgvkg9om] {
    width: auto;
    align-self: center;
}


.ae-rs-id[b-m7pgvkg9om] {
    font-weight: 600;
    align-self: center;
    min-width: 32px;
}

.ae-rs-sub[b-m7pgvkg9om] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--ax-border-soft);
}

.ae-rs-subhead[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-weight: 600;
}

.ae-rs-esito[b-m7pgvkg9om] {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-addbtn[b-m7pgvkg9om],
.ae-delbtn[b-m7pgvkg9om] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ae-delbtn[b-m7pgvkg9om] {
    align-self: center;
}

/* ── tabella dati minimi: testo lungo a capo nella cella (stile base centralizzato) ── */
.ae-datiminimi-table td[b-m7pgvkg9om] {
    white-space: normal;
    word-break: break-word;
    vertical-align: top;
}

/* ── cella "Allegato?": select + file/azioni tutto su una riga ── */
.ae-allegato-cell[b-m7pgvkg9om] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.ae-allegato-cell .ax-input[b-m7pgvkg9om] {
    width: auto;
    min-width: 96px;
}

.ae-allegato-nome[b-m7pgvkg9om] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ae-iconbtn[b-m7pgvkg9om] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    flex: 0 0 auto;
}

/* ── autocomplete comune (ISTAT) ── */
.ae-autocomplete[b-m7pgvkg9om] {
    position: relative;
}

.ae-autocomplete-list[b-m7pgvkg9om] {
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    right: 0;
    margin: 4px 0 0;
    padding: 4px;
    list-style: none;
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    box-shadow: var(--ax-shadow-3);
    max-height: 260px;
    overflow-y: auto;
}

.ae-autocomplete-item[b-m7pgvkg9om] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 10px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.ae-autocomplete-item:hover[b-m7pgvkg9om],
.ae-autocomplete-item:focus[b-m7pgvkg9om] {
    background: var(--ax-panel-bg-soft);
}

.ae-autocomplete-meta[b-m7pgvkg9om] {
    opacity: 0.65;
    font-size: 0.85em;
}

.ae-fig[b-m7pgvkg9om] {
    border: 1px dashed var(--ax-border-soft);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: var(--ax-panel-bg-soft);
}

.ae-figimg[b-m7pgvkg9om] {
    display: block;
    max-width: 100%;
    max-height: 220px;
    margin: 8px 0;
    border: 1px solid var(--ax-border-soft);
    border-radius: 4px;
    background: #fff;
}

.ae-figrow[b-m7pgvkg9om] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ae-uploadbtn[b-m7pgvkg9om] {
    cursor: pointer;
}

/* ── dialog salvataggio ── */
.ae-overlay[b-m7pgvkg9om] {
    position: fixed;
    inset: 0;
    background: rgba(20, 28, 26, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    padding: 16px;
}

.ae-dialog[b-m7pgvkg9om] {
    background: var(--ax-card-bg);
    border-radius: 12px;
    padding: 22px 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ae-dialog .area-form-field[b-m7pgvkg9om] {
    margin-top: 12px;
}

.ae-dialog-actions[b-m7pgvkg9om] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.ae-erroresalva[b-m7pgvkg9om] {
    color: var(--ax-danger-strong);
    font-size: 13px;
    margin: 10px 0 0;
}

/* ── mappa normativa ── */
.map[b-m7pgvkg9om] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 14px 0 18px;
}

.map-node[b-m7pgvkg9om] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    border: 1px solid var(--ax-border-soft);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    min-width: 200px;
    max-width: 280px;
    background: var(--ax-card-bg);
}

.map-node strong[b-m7pgvkg9om] { font-size: 13.5px; }
.map-node span[b-m7pgvkg9om] { font-size: 11.5px; color: var(--ax-text-2); }

.map-node.is-sel[b-m7pgvkg9om] {
    box-shadow: 0 0 0 2px var(--ax-primary-500);
}

.map-node.is-here[b-m7pgvkg9om] {
    position: relative;
}

.map-node.is-here[b-m7pgvkg9om]::after {
    content: "sei qui";
    position: absolute;
    top: -9px;
    right: -8px;
    background: var(--ax-primary-700);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 9px;
}

.map-branches[b-m7pgvkg9om] {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.map-col[b-m7pgvkg9om] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-children[b-m7pgvkg9om] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-law[b-m7pgvkg9om] { background: #e9e5f8; border-color: #a99fd9; color: #2c2150; }
.map-amb[b-m7pgvkg9om], .map-ed[b-m7pgvkg9om] { background: #e3e5e2; border-color: #aab0a8; color: #2c302b; }
.map-clima[b-m7pgvkg9om] { background: #d6e6f4; border-color: #6f9fc8; color: #16384f; }
.map-impatto[b-m7pgvkg9om] { background: #f6dedd; border-color: #d39a98; color: #5a2120; }
.map-passivi[b-m7pgvkg9om] { background: #dcedca; border-color: #92ba73; color: #2f4419; }

.map-detail[b-m7pgvkg9om] {
    border-top: 1px solid var(--ax-border-soft);
    padding-top: 14px;
}

.map-detail h3[b-m7pgvkg9om] { font-size: 16px; margin: 0 0 8px; }
.map-detail ul[b-m7pgvkg9om] { margin: 0 0 6px; padding-left: 18px; }
.map-detail li[b-m7pgvkg9om] { margin: 4px 0; line-height: 1.5; }
.map-detail-h[b-m7pgvkg9om] { font-size: 13px; margin: 14px 0 4px; color: var(--ax-text-2); }

.map-hl td[b-m7pgvkg9om] {
    background: var(--ax-card-bg-soft);
    font-weight: 600;
}

@media (max-width: 920px) {
    .ae-shell[b-m7pgvkg9om] { grid-template-columns: 1fr; }
    .ae-nav[b-m7pgvkg9om] { position: static; }
    .ae-grid[b-m7pgvkg9om] { grid-template-columns: 1fr 1fr; }
    .ae-grid2[b-m7pgvkg9om] { grid-template-columns: 1fr; }
}

/* Schema normativo del caso: figura larga, non limitata come lo schema fascia. */
.ae-fascia-fig.ae-schema-norme[b-m7pgvkg9om] {
    max-width: 960px;
}

/* ID di sorgenti e ricettori: editabile, compatto, allineato al vecchio badge. */
.ae-rs-id-input[b-m7pgvkg9om] {
    width: 64px;
    flex: none;
    font-weight: 700;
    text-align: center;
    align-self: center;
    color: var(--ax-primary-700);
}

/* ── Accento brand: correzioni per il tema scuro ──
   In chiaro uso i toni scuri di primary/accent; su fondo scuro servono i toni
   chiari per restare leggibili. La barra in testa alla card e i bordi laterali
   restano identici (i mid-tone 400/500/600 reggono su entrambi i temi). */
[data-theme="dark"] .ae-eyebrow[b-m7pgvkg9om],
.theme-dark .ae-eyebrow[b-m7pgvkg9om] {
    color: var(--ax-accent-500);
}

[data-theme="dark"] .ae-chiarimenti summary[b-m7pgvkg9om],
.theme-dark .ae-chiarimenti summary[b-m7pgvkg9om] {
    color: var(--ax-accent-400);
}

[data-theme="dark"] .ae-rs-id-input[b-m7pgvkg9om],
.theme-dark .ae-rs-id-input[b-m7pgvkg9om] {
    color: var(--ax-primary-300);
}
/* /Components/Pages/Studi/AnalisiStrutturale.razor.rz.scp.css */
/* Studio "Analisi strutturale": embed di Stabileo. I token --ax-* e le classi
   generiche (.panel-card, .panel-title, .panel-help) arrivano dal CSS centralizzato. */

.disclaimer-box[b-gde2v1od9m] {
    border-left: 4px solid #b45309;
    background: rgba(180, 83, 9, 0.08);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Contenitore dell'iframe: occupa quasi tutta l'altezza utile della finestra,
   così il modellatore ha spazio per lavorare. */
.stabileo-frame-wrap[b-gde2v1od9m] {
    margin-top: 1rem;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ax-border-soft);
    box-shadow: var(--ax-shadow-panel);
    background: var(--ax-panel-bg);
}

.stabileo-frame[b-gde2v1od9m] {
    display: block;
    width: 100%;
    height: 82vh;
    min-height: 32rem;
    border: 0;
}

.servizio-assente code[b-gde2v1od9m] {
    padding: 0.1rem 0.35rem;
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
    font-size: 0.85em;
}

/* Credito/attribuzione a Stabileo (obbligo AGPL): riga discreta sotto l'editor. */
.stabileo-credito[b-gde2v1od9m] {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: var(--ax-text-3);
}

.azioni[b-gde2v1od9m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.messaggio-invio[b-gde2v1od9m] {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--ax-text-2);
}

/* /Components/Pages/Studi/AnalisiStrutturaleCasi.razor.rz.scp.css */
/* Studio "Analisi per casi": form del caso preimpostato + editor Stabileo.
   I token --ax-* e le classi generiche (.panel-card, .campo-grid) arrivano dal
   CSS centralizzato. */

.disclaimer-box[b-pb9u8ibvw0] {
    border-left: 4px solid #b45309;
    background: rgba(180, 83, 9, 0.08);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Unità di misura nell'etichetta: minuscole, tra parentesi quadre, non
   maiuscolate dal text-transform della .campo-label. */
.unita[b-pb9u8ibvw0] {
    text-transform: none;
    color: var(--ax-text-3);
}

.azioni[b-pb9u8ibvw0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.messaggio-invio[b-pb9u8ibvw0] {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--ax-text-2);
}

.stabileo-frame-wrap[b-pb9u8ibvw0] {
    margin-top: 1rem;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ax-border-soft);
    box-shadow: var(--ax-shadow-panel);
    background: var(--ax-panel-bg);
}

.stabileo-frame[b-pb9u8ibvw0] {
    display: block;
    width: 100%;
    height: 82vh;
    min-height: 32rem;
    border: 0;
}

.stabileo-credito[b-pb9u8ibvw0] {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: var(--ax-text-3);
}

.servizio-assente code[b-pb9u8ibvw0] {
    padding: 0.1rem 0.35rem;
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
    font-size: 0.85em;
}

/* Spiegazione del flusso in cima alla pagina. */
.passi-flusso[b-pb9u8ibvw0] {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    line-height: 1.6;
    color: var(--ax-text-2);
}

.passi-flusso li[b-pb9u8ibvw0] {
    margin-bottom: 0.35rem;
}

.nota-flusso[b-pb9u8ibvw0] {
    margin: 0.9rem 0 0;
    font-size: 0.9rem;
    color: var(--ax-text-3);
}

/* Pillola di esito per riga nella tabella risultati. */
.esito-pill[b-pb9u8ibvw0] {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.esito-pill.is-ok[b-pb9u8ibvw0] {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
}

.esito-pill.is-ko[b-pb9u8ibvw0] {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.12);
}

/* Tabelle risultati/reazioni: scroll orizzontale su schermi stretti. */
.tabella-scroll[b-pb9u8ibvw0] {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.tabella-reazioni[b-pb9u8ibvw0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tabella-reazioni th[b-pb9u8ibvw0] {
    text-align: left;
    padding: 0.35rem 0.5rem;
    color: var(--ax-text-2);
    font-weight: 600;
    white-space: nowrap;
}

.tabella-reazioni td[b-pb9u8ibvw0] {
    padding: 0.25rem 0.35rem;
}

.tabella-reazioni .ax-input[b-pb9u8ibvw0] {
    min-width: 5rem;
}

/* Righe cliccabili nella tabella risultati. */
.riga-asta[b-pb9u8ibvw0] {
    cursor: pointer;
}

.riga-asta:hover[b-pb9u8ibvw0] {
    background: var(--ax-panel-bg-soft);
}

.riga-asta.is-selezionata[b-pb9u8ibvw0] {
    background: rgba(37, 99, 235, 0.10);
}

/* Pannello di dettaglio dell'asta: sezione a sinistra, dati a destra. */
.dettaglio-asta[b-pb9u8ibvw0] {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) 2fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .dettaglio-asta[b-pb9u8ibvw0] {
        grid-template-columns: 1fr;
    }
}

.dettaglio-sub[b-pb9u8ibvw0] {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ax-text-1);
}

.dettaglio-dati .dettaglio-sub:not(:first-child)[b-pb9u8ibvw0] {
    margin-top: 1.25rem;
}

/* Coppie etichetta/valore, due colonne su schermi ampi. */
.coppie[b-pb9u8ibvw0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.25rem 1.5rem;
    margin: 0.5rem 0 0;
}

.coppie div[b-pb9u8ibvw0] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--ax-border-soft);
}

.coppie dt[b-pb9u8ibvw0] {
    color: var(--ax-text-2);
    margin: 0;
}

.coppie dd[b-pb9u8ibvw0] {
    margin: 0;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
/* /Components/Pages/Studi/ApplicazioneNorma.razor.rz.scp.css */
.applicazione-norma-page[b-231eujqjoh] {
    gap: var(--ax-space-5);
}

.applicazione-norma-panel[b-231eujqjoh] {
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    box-shadow: var(--ax-shadow-1);
    padding: var(--ax-space-5);
    min-width: 0;
}

.applicazione-norma-panel-header[b-231eujqjoh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ax-space-4);
    margin-bottom: var(--ax-space-4);
}

.applicazione-norma-panel-header h2[b-231eujqjoh] {
    margin: 0;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-18);
    font-weight: 600;
}

.applicazione-norma-panel-header p[b-231eujqjoh] {
    margin: var(--ax-space-1) 0 0;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-13);
    line-height: 1.5;
}

.applicazione-norma-panel-header span[b-231eujqjoh] {
    color: var(--ax-text-3);
    font-size: var(--ax-fs-13);
    white-space: nowrap;
}

.applicazione-norma-alert[b-231eujqjoh] {
    background: var(--ax-danger-bg);
    border: 1px solid var(--ax-danger-border);
    color: var(--ax-danger-strong);
    border-radius: var(--ax-radius-sm);
    padding: var(--ax-space-3) var(--ax-space-4);
    font-size: var(--ax-fs-13);
}

.applicazione-norma-muted[b-231eujqjoh] {
    margin: 0;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-13);
}

.applicazione-norma-table-wrap[b-231eujqjoh] {
    overflow-x: auto;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
}

.applicazione-norma-table[b-231eujqjoh] {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    font-size: var(--ax-fs-13);
}

.applicazione-norma-table th[b-231eujqjoh] {
    text-align: left;
    padding: var(--ax-space-3) var(--ax-space-4);
    background: var(--ax-panel-bg-soft);
    border-bottom: 1px solid var(--ax-border-soft);
    color: var(--ax-text-3);
    font-size: var(--ax-fs-12);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.applicazione-norma-table td[b-231eujqjoh] {
    padding: var(--ax-space-3) var(--ax-space-4);
    border-bottom: 1px solid var(--ax-border-soft);
    color: var(--ax-text-1);
    vertical-align: middle;
}

.applicazione-norma-table tr:last-child td[b-231eujqjoh] {
    border-bottom: none;
}

.applicazione-norma-table td:first-child[b-231eujqjoh] {
    min-width: 220px;
}

.applicazione-norma-table td:first-child span[b-231eujqjoh] {
    display: block;
    margin-top: 4px;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-12);
}

.applicazione-norma-actions[b-231eujqjoh] {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .applicazione-norma-panel[b-231eujqjoh] {
        padding: var(--ax-space-4);
    }

    .applicazione-norma-panel-header[b-231eujqjoh] {
        flex-direction: column;
        gap: var(--ax-space-2);
    }
}
/* /Components/Pages/Studi/ConsultazioneNorme.razor.rz.scp.css */
/* La raccolta norme e' resa inline in .norme-embed (vedi code-behind). Il
   footer ora vive nel layout globale (MainLayout), non piu' in pagina. */
/* /Components/Pages/Studi/ConversioneGas.razor.rz.scp.css */
/* =========================================================================
   ConversioneGas.razor.css
   Pagina studio "Conversione gas Nm³/Sm³".
   Stessa impalcatura visiva di EnergiaClimatizzazione: i selettori sono
   scoped alla component, quindi non c'è conflitto. Aggiunge una
   variante .input-editor-wide per le dropdown senza unità di misura.
   ========================================================================= */

.studio-page[b-xiiizh4cfa] {
    min-height: 100%;
    padding: var(--ax-page-padding);
    color: var(--ax-text-1);
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-6);
    max-width: var(--ax-page-max);
    margin: 0 auto;
    width: 100%;
}

/* =========================================================================
   HERO
   ========================================================================= */
.studio-hero[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: var(--ax-space-6);
    align-items: start;
    padding: var(--ax-space-6) var(--ax-space-7);
    border-radius: var(--ax-radius-lg);
    background: linear-gradient(135deg, var(--ax-primary-900) 0%, var(--ax-primary-800) 60%, var(--ax-primary-700) 100%);
    box-shadow: var(--ax-shadow-2);
    border: 1px solid var(--ax-primary-800);
    color: #ffffff;
}

.studio-breadcrumb[b-xiiizh4cfa] {
    font-size: var(--ax-fs-12);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--ax-space-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.studio-title[b-xiiizh4cfa] {
    margin: 0;
    font-size: clamp(var(--ax-fs-24), 2.6vw, var(--ax-fs-40));
    line-height: 1.12;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.studio-subtitle[b-xiiizh4cfa] {
    margin: var(--ax-space-3) 0 0 0;
    max-width: 52rem;
    font-size: var(--ax-fs-14);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.studio-hero-right[b-xiiizh4cfa] {
    display: flex;
    justify-content: flex-end;
}

.studio-meta-card[b-xiiizh4cfa] {
    width: 100%;
    max-width: 22rem;
    padding: var(--ax-space-4);
    border-radius: var(--ax-radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.studio-meta-row + .studio-meta-row[b-xiiizh4cfa] {
    margin-top: var(--ax-space-3);
}

.studio-meta-label[b-xiiizh4cfa] {
    display: block;
    font-size: var(--ax-fs-11);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2px;
    font-weight: 600;
}

.studio-meta-value[b-xiiizh4cfa] {
    display: block;
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: #ffffff;
}

/* =========================================================================
   AZIONI TOOLBAR (Calcola / Reset / Copia relazione)
   ========================================================================= */
.studio-actions[b-xiiizh4cfa] {
    display: flex;
    gap: var(--ax-space-3);
    flex-wrap: wrap;
}

.studio-button[b-xiiizh4cfa] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    min-height: 38px;
    padding: 8px 16px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-strong);
    background: var(--ax-gray-0);
    color: var(--ax-text-2);
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-13);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.studio-button:hover:not(:disabled)[b-xiiizh4cfa] {
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-1);
    border-color: var(--ax-primary-500);
}

.studio-button:focus-visible[b-xiiizh4cfa] {
    outline: none;
    box-shadow: var(--ax-shadow-focus);
}

.studio-button-primary[b-xiiizh4cfa] {
    background: var(--ax-primary-700);
    color: var(--ax-text-on-primary);
    border-color: var(--ax-primary-700);
}

.studio-button-primary:hover:not(:disabled)[b-xiiizh4cfa] {
    background: var(--ax-primary-800);
    border-color: var(--ax-primary-800);
    color: var(--ax-text-on-primary);
}

.studio-button-secondary[b-xiiizh4cfa] {
    background: var(--ax-gray-0);
    color: var(--ax-text-2);
    border-color: var(--ax-border-strong);
}

/* =========================================================================
   DIALOG SALVATAGGIO STUDIO
   ========================================================================= */
.studio-dialog-backdrop[b-xiiizh4cfa] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 40;
}

.studio-dialog[b-xiiizh4cfa] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 480px);
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    box-shadow: var(--ax-shadow-2, 0 12px 32px rgba(15, 23, 42, 0.22));
    padding: var(--ax-space-5);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-4);
}

.studio-dialog-header[b-xiiizh4cfa] {
    border-bottom: 1px solid var(--ax-border-soft);
    padding-bottom: var(--ax-space-3);
}

.studio-dialog-title[b-xiiizh4cfa] {
    margin: 0;
    font-size: var(--ax-fs-16);
    font-weight: 600;
    color: var(--ax-text-1);
}

.studio-dialog-body[b-xiiizh4cfa] {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
}

.studio-dialog-field[b-xiiizh4cfa] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.studio-dialog-field > span[b-xiiizh4cfa] {
    font-size: var(--ax-fs-11);
    font-weight: 600;
    color: var(--ax-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.studio-dialog-hint[b-xiiizh4cfa] {
    margin: 0;
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
    line-height: 1.4;
}

.studio-dialog-actions[b-xiiizh4cfa] {
    display: flex;
    justify-content: flex-end;
    gap: var(--ax-space-2);
    border-top: 1px solid var(--ax-border-soft);
    padding-top: var(--ax-space-3);
}

/* =========================================================================
   GRID INPUT + RISULTATI
   ========================================================================= */
.studio-grid[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    gap: var(--ax-space-5);
}

/* panel-card / panel-header / panel-title* / panel-body spostati in
   wwwroot/css/auxilium.relazione.css (regole condivise da tutti gli studi).
   Restano qui solo eventuali override specifici di ConversioneGas. */
.panel-header-dots[b-xiiizh4cfa] {
    font-size: var(--ax-fs-18);
    line-height: 1;
    font-weight: 700;
    color: var(--ax-text-3);
    padding-top: 2px;
    cursor: pointer;
    user-select: none;
}

/* =========================================================================
   LISTA INPUT
   ========================================================================= */
.input-list[b-xiiizh4cfa] {
    display: flex;
    flex-direction: column;
}

.input-row[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: var(--ax-space-4);
    align-items: center;
    padding: var(--ax-space-3) 0;
    border-bottom: 1px solid var(--ax-border-soft);
}

.input-row:last-child[b-xiiizh4cfa] {
    border-bottom: none;
}

.input-name[b-xiiizh4cfa] {
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: var(--ax-text-1);
}

.input-description[b-xiiizh4cfa] {
    margin-top: 2px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
}

.input-editor[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.2rem;
    gap: var(--ax-space-2);
}

/* Variante "wide": usata per i select Gas e Tipo grandezza che non
   hanno la colonna unità di misura a destra e occupano tutta la
   larghezza del riquadro editor. */
.input-editor-wide[b-xiiizh4cfa] {
    grid-template-columns: minmax(0, 1fr);
}

/* Separatore di sezione usato fra i blocchi "Stato di partenza (A)"
   e "Stato di arrivo (B)" per guidare visivamente l'utente sulla
   natura bidirezionale della conversione. */
.input-section-divider[b-xiiizh4cfa] {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    margin-top: var(--ax-space-3);
    padding: var(--ax-space-2) 0 6px 0;
    font-size: var(--ax-fs-11);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-primary-700);
    border-bottom: 1px solid var(--ax-border-soft);
}

/* Stato "disabilitato" degli input quando lo stato selezionato è NTP / STP:
   i campi P e T mostrano i valori definitorii ma non sono modificabili. */
.input-field:disabled[b-xiiizh4cfa] {
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-3);
    cursor: not-allowed;
    opacity: 0.85;
}

.input-field[b-xiiizh4cfa] {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-input-border);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-variant-numeric: tabular-nums;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.input-field:focus[b-xiiizh4cfa] {
    border-color: var(--ax-input-border-focus);
    box-shadow: var(--ax-shadow-focus);
}

.input-unit[b-xiiizh4cfa] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-2);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-13);
    font-weight: 500;
}

/* =========================================================================
   RISULTATI
   ========================================================================= */
.result-message[b-xiiizh4cfa] {
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-4);
    background: var(--ax-info-bg);
    border: 1px solid var(--ax-info-border);
    color: var(--ax-info-strong);
}

.result-message-error[b-xiiizh4cfa] {
    background: var(--ax-danger-bg);
    border-color: var(--ax-danger-border);
    color: var(--ax-danger-strong);
}

.result-message-title[b-xiiizh4cfa] {
    font-size: var(--ax-fs-14);
    font-weight: 600;
    margin-bottom: 4px;
}

.result-message-text[b-xiiizh4cfa] {
    font-size: var(--ax-fs-13);
    line-height: 1.5;
    color: var(--ax-text-2);
}

.result-message-error .result-message-text[b-xiiizh4cfa] {
    color: var(--ax-danger-strong);
}

.result-grid[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ax-space-3);
}

.result-card[b-xiiizh4cfa] {
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-4);
    background: var(--ax-card-bg-soft);
    border: 1px solid var(--ax-border-soft);
}

.result-title[b-xiiizh4cfa] {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-description[b-xiiizh4cfa] {
    margin-top: 4px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
    min-height: 2.4rem;
}

.result-value-row[b-xiiizh4cfa] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-3);
}

.result-value[b-xiiizh4cfa],
.result-unit[b-xiiizh4cfa] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    /* --ax-input-bg è tematizzato (bianco in light, #171d26 in dark):
       evita l'effetto "bianco su bianco" in dark theme che invece si
       verificherebbe usando direttamente --ax-gray-0. */
    background: var(--ax-input-bg);
    color: var(--ax-text-1);
    min-height: 38px;
    padding: 8px 12px;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.result-unit[b-xiiizh4cfa] {
    justify-content: center;
    color: var(--ax-text-2);
    background: var(--ax-panel-bg-soft);
    font-weight: 500;
    font-size: var(--ax-fs-12);
}

/* relazione-card, menu-relazione-*, relazione-feedback*, relazione-empty
   spostati in wwwroot/css/auxilium.relazione.css. */

/* =========================================================================
   DOCUMENTO RELAZIONE TECNICA (paper look)
   ========================================================================= */
.relazione-documento[b-xiiizh4cfa] {
    position: relative;
    overflow: hidden;
    border-radius: var(--ax-radius-md);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg);
    color: var(--ax-paper-text);
    box-shadow: var(--ax-shadow-1);
}

.relazione-documento[b-xiiizh4cfa]::before {
    content: "Auxilium Engineering";
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(11, 61, 145, 0.04);
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--ax-font-sans);
}

.relazione-contenuto[b-xiiizh4cfa] {
    position: relative;
    z-index: 1;
    padding: var(--ax-space-6) var(--ax-space-6);
}

.relazione-heading[b-xiiizh4cfa] {
    padding-bottom: var(--ax-space-4);
    margin-bottom: var(--ax-space-4);
    border-bottom: 1px solid var(--ax-paper-border);
}

.relazione-kicker[b-xiiizh4cfa] {
    font-size: var(--ax-fs-11);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ax-primary-700);
    margin-bottom: 4px;
    font-weight: 700;
}

.relazione-titolo[b-xiiizh4cfa] {
    font-size: var(--ax-fs-24);
    line-height: 1.15;
    font-weight: 700;
    color: var(--ax-paper-text);
    letter-spacing: -0.01em;
}

.relazione-capitolo-blocco + .relazione-capitolo-blocco[b-xiiizh4cfa] {
    margin-top: var(--ax-space-6);
}

.relazione-capitolo[b-xiiizh4cfa] {
    margin: 0 0 var(--ax-space-3) 0;
    font-size: var(--ax-fs-18);
    line-height: 1.2;
    font-weight: 600;
    color: var(--ax-paper-text);
    letter-spacing: -0.01em;
    padding-bottom: var(--ax-space-2);
    border-bottom: 1px solid var(--ax-paper-border);
}

.relazione-paragrafo + .relazione-paragrafo[b-xiiizh4cfa] {
    margin-top: var(--ax-space-4);
}

.relazione-paragrafo-titolo[b-xiiizh4cfa] {
    margin: 0 0 var(--ax-space-2) 0;
    font-size: var(--ax-fs-14);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ax-text-2);
}

.relazione-testo[b-xiiizh4cfa] {
    font-size: var(--ax-fs-14);
    line-height: 1.7;
    color: var(--ax-paper-text-soft);
    text-align: justify;
}

.relazione-testo + .relazione-formula[b-xiiizh4cfa],
.relazione-formula + .relazione-testo[b-xiiizh4cfa],
.relazione-formula + .relazione-formula[b-xiiizh4cfa] {
    margin-top: var(--ax-space-3);
}

.relazione-formula[b-xiiizh4cfa] {
    display: flex;
    justify-content: center;
}

.relazione-formula-box[b-xiiizh4cfa] {
    width: 100%;
    padding: var(--ax-space-4);
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg-2);
    color: var(--ax-paper-text);
    font-family: var(--ax-font-mono);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
    .studio-grid[b-xiiizh4cfa] {
        grid-template-columns: 1fr;
    }

    .studio-hero[b-xiiizh4cfa] {
        grid-template-columns: 1fr;
    }

    .studio-hero-right[b-xiiizh4cfa] {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .result-grid[b-xiiizh4cfa] {
        grid-template-columns: 1fr;
    }

    .input-row[b-xiiizh4cfa] {
        grid-template-columns: 1fr;
    }

    .input-editor[b-xiiizh4cfa] {
        grid-template-columns: minmax(0, 1fr) 5.5rem;
    }
}

@media (max-width: 640px) {
    .studio-hero[b-xiiizh4cfa] {
        padding: var(--ax-space-5);
    }

    .panel-card[b-xiiizh4cfa] {
        padding: var(--ax-space-4);
    }

    .relazione-contenuto[b-xiiizh4cfa] {
        padding: var(--ax-space-5) var(--ax-space-4);
    }

    .relazione-testo[b-xiiizh4cfa] {
        font-size: var(--ax-fs-13);
        line-height: 1.62;
        text-align: left;
    }

    .menu-relazione-popup[b-xiiizh4cfa] {
        min-width: 12rem;
    }
}
/* /Components/Pages/Studi/DisegnoSezione.razor.rz.scp.css */
/* Disegno SVG della sezione: profilo pieno con foro per le sezioni cave. */
.disegno-sezione[b-gxg1lxgg8x] {
    width: 100%;
    max-width: 12rem;
    height: auto;
    display: block;
}

.ds-solido[b-gxg1lxgg8x] {
    fill: rgba(37, 99, 235, 0.14);
    stroke: var(--ax-text-2, #334155);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

/* Foro delle sezioni cave: riprende il fondo della card. */
.ds-foro[b-gxg1lxgg8x] {
    fill: var(--ax-card-bg, #ffffff);
    stroke: var(--ax-text-2, #334155);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.ds-assente[b-gxg1lxgg8x] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ax-text-3);
}
/* /Components/Pages/Studi/EnergiaClimatizzazione.razor.rz.scp.css */
/* =========================================================================
   EnergiaClimatizzazione.razor.css
   Pagina studio "Carico termico per ventilazione".
   Consumer dei token Auxilium (wwwroot/css/auxilium.tokens.css)
   Tema chiaro di default, layout pulito ad ispirazione professionale.
   ========================================================================= */

.studio-page[b-q2csgfd7cf] {
    min-height: 100%;
    padding: var(--ax-page-padding);
    color: var(--ax-text-1);
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-6);
    max-width: var(--ax-page-max);
    margin: 0 auto;
    width: 100%;
}

/* =========================================================================
   HERO
   ========================================================================= */
.studio-hero[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: var(--ax-space-6);
    align-items: start;
    padding: var(--ax-space-6) var(--ax-space-7);
    border-radius: var(--ax-radius-lg);
    background: linear-gradient(135deg, var(--ax-primary-900) 0%, var(--ax-primary-800) 60%, var(--ax-primary-700) 100%);
    box-shadow: var(--ax-shadow-2);
    border: 1px solid var(--ax-primary-800);
    color: #ffffff;
}

.studio-breadcrumb[b-q2csgfd7cf] {
    font-size: var(--ax-fs-12);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--ax-space-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.studio-title[b-q2csgfd7cf] {
    margin: 0;
    font-size: clamp(var(--ax-fs-24), 2.6vw, var(--ax-fs-40));
    line-height: 1.12;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.studio-subtitle[b-q2csgfd7cf] {
    margin: var(--ax-space-3) 0 0 0;
    max-width: 52rem;
    font-size: var(--ax-fs-14);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.studio-hero-right[b-q2csgfd7cf] {
    display: flex;
    justify-content: flex-end;
}

.studio-meta-card[b-q2csgfd7cf] {
    width: 100%;
    max-width: 22rem;
    padding: var(--ax-space-4);
    border-radius: var(--ax-radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.studio-meta-row + .studio-meta-row[b-q2csgfd7cf] {
    margin-top: var(--ax-space-3);
}

.studio-meta-label[b-q2csgfd7cf] {
    display: block;
    font-size: var(--ax-fs-11);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2px;
    font-weight: 600;
}

.studio-meta-value[b-q2csgfd7cf] {
    display: block;
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: #ffffff;
}

/* =========================================================================
   AZIONI TOOLBAR (Calcola / Reset / Copia relazione)
   ========================================================================= */
.studio-actions[b-q2csgfd7cf] {
    display: flex;
    gap: var(--ax-space-3);
    flex-wrap: wrap;
}

.studio-button[b-q2csgfd7cf] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    min-height: 38px;
    padding: 8px 16px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-strong);
    background: var(--ax-gray-0);
    color: var(--ax-text-2);
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-13);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.studio-button:hover:not(:disabled)[b-q2csgfd7cf] {
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-1);
    border-color: var(--ax-primary-500);
}

.studio-button:focus-visible[b-q2csgfd7cf] {
    outline: none;
    box-shadow: var(--ax-shadow-focus);
}

.studio-button-primary[b-q2csgfd7cf] {
    background: var(--ax-primary-700);
    color: var(--ax-text-on-primary);
    border-color: var(--ax-primary-700);
}

.studio-button-primary:hover:not(:disabled)[b-q2csgfd7cf] {
    background: var(--ax-primary-800);
    border-color: var(--ax-primary-800);
    color: var(--ax-text-on-primary);
}

.studio-button-secondary[b-q2csgfd7cf] {
    background: var(--ax-gray-0);
    color: var(--ax-text-2);
    border-color: var(--ax-border-strong);
}

/* =========================================================================
   DIALOG SALVATAGGIO STUDIO
   ========================================================================= */
.studio-dialog-backdrop[b-q2csgfd7cf] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 40;
}

.studio-dialog[b-q2csgfd7cf] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 480px);
    background: var(--ax-panel-bg);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-lg);
    box-shadow: var(--ax-shadow-2, 0 12px 32px rgba(15, 23, 42, 0.22));
    padding: var(--ax-space-5);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-4);
}

.studio-dialog-header[b-q2csgfd7cf] {
    border-bottom: 1px solid var(--ax-border-soft);
    padding-bottom: var(--ax-space-3);
}

.studio-dialog-title[b-q2csgfd7cf] {
    margin: 0;
    font-size: var(--ax-fs-16);
    font-weight: 600;
    color: var(--ax-text-1);
}

.studio-dialog-body[b-q2csgfd7cf] {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
}

.studio-dialog-field[b-q2csgfd7cf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.studio-dialog-field > span[b-q2csgfd7cf] {
    font-size: var(--ax-fs-11);
    font-weight: 600;
    color: var(--ax-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.studio-dialog-hint[b-q2csgfd7cf] {
    margin: 0;
    font-size: var(--ax-fs-12);
    color: var(--ax-text-3);
    line-height: 1.4;
}

.studio-dialog-actions[b-q2csgfd7cf] {
    display: flex;
    justify-content: flex-end;
    gap: var(--ax-space-2);
    border-top: 1px solid var(--ax-border-soft);
    padding-top: var(--ax-space-3);
}

/* =========================================================================
   GRID INPUT + RISULTATI
   ========================================================================= */
.studio-grid[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    gap: var(--ax-space-5);
}

/* panel-card / panel-header / panel-title* / panel-body spostati in
   wwwroot/css/auxilium.relazione.css. */
.panel-header-dots[b-q2csgfd7cf] {
    font-size: var(--ax-fs-18);
    line-height: 1;
    font-weight: 700;
    color: var(--ax-text-3);
    padding-top: 2px;
    cursor: pointer;
    user-select: none;
}

/* =========================================================================
   LISTA INPUT
   ========================================================================= */
.source-panel[b-q2csgfd7cf],
.project-data-panel[b-q2csgfd7cf],
.flow-panel[b-q2csgfd7cf] {
    margin-bottom: var(--ax-space-4);
    padding: var(--ax-space-4);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg-soft);
}

.source-options[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ax-space-2);
}

.source-option[b-q2csgfd7cf] {
    display: grid;
    gap: 4px;
    padding: var(--ax-space-3);
    border: 1px solid var(--ax-border-strong);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg);
    color: var(--ax-text-2);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.source-option span[b-q2csgfd7cf],
.project-data-panel p[b-q2csgfd7cf],
.project-data-card small[b-q2csgfd7cf] {
    color: var(--ax-text-3);
    font-size: var(--ax-fs-11);
    line-height: 1.4;
}

.source-option.is-selected[b-q2csgfd7cf] {
    border-color: var(--ax-primary-700);
    box-shadow: inset 0 0 0 1px var(--ax-primary-700);
}

.source-option:disabled[b-q2csgfd7cf] {
    cursor: not-allowed;
    opacity: 0.58;
}

.source-local-field[b-q2csgfd7cf] {
    display: grid;
    gap: 4px;
    margin-top: var(--ax-space-3);
}

.source-local-field span[b-q2csgfd7cf] {
    color: var(--ax-text-2);
    font-size: var(--ax-fs-12);
    font-weight: 600;
}

.source-local-field input[b-q2csgfd7cf] {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--ax-input-border);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
}

.source-local-field small[b-q2csgfd7cf] {
    color: var(--ax-text-3);
    font-size: var(--ax-fs-11);
}

.project-data-panel p[b-q2csgfd7cf] {
    margin: 0 0 var(--ax-space-3);
}

.project-data-list[b-q2csgfd7cf] {
    display: grid;
    gap: var(--ax-space-2);
}

.project-data-card[b-q2csgfd7cf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ax-space-3);
    padding: var(--ax-space-3);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg);
}

.project-data-card strong[b-q2csgfd7cf],
.project-data-card span[b-q2csgfd7cf],
.project-data-card small[b-q2csgfd7cf] {
    display: block;
}

.flow-fields[b-q2csgfd7cf] {
    display: flex;
    align-items: end;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-3);
}

.flow-fields label[b-q2csgfd7cf] {
    display: grid;
    gap: 4px;
}

.flow-fields input[b-q2csgfd7cf] {
    width: 9rem;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--ax-input-border);
    border-radius: var(--ax-radius-sm);
}

.flow-fields span[b-q2csgfd7cf],
.flow-fields small[b-q2csgfd7cf] {
    color: var(--ax-text-3);
    font-size: var(--ax-fs-11);
}

.flow-operator[b-q2csgfd7cf],
.flow-result[b-q2csgfd7cf] {
    padding-bottom: 10px;
}

.flow-result[b-q2csgfd7cf] {
    color: var(--ax-primary-700) !important;
    font-size: var(--ax-fs-14) !important;
    font-weight: 700;
}

.epw-panel[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--ax-space-4);
    padding: var(--ax-space-4);
    margin-bottom: var(--ax-space-3);
    border: 1px solid var(--ax-info-border);
    border-radius: var(--ax-radius-md);
    background: var(--ax-info-bg);
}

.epw-kicker[b-q2csgfd7cf] {
    margin-bottom: 3px;
    color: var(--ax-primary-700);
    font-size: var(--ax-fs-11);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.epw-title[b-q2csgfd7cf] {
    margin: 0;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-16);
}

.epw-description[b-q2csgfd7cf],
.epw-note[b-q2csgfd7cf] {
    margin: var(--ax-space-2) 0 0;
    color: var(--ax-text-2);
    font-size: var(--ax-fs-12);
    line-height: 1.5;
}

.epw-note[b-q2csgfd7cf] {
    color: var(--ax-text-3);
}

.epw-links[b-q2csgfd7cf] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-3);
    margin-top: var(--ax-space-2);
}

.epw-links a[b-q2csgfd7cf] {
    color: var(--ax-primary-700);
    font-size: var(--ax-fs-12);
    font-weight: 600;
}

.epw-map-toggle[b-q2csgfd7cf] {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ax-primary-700);
    cursor: pointer;
    font: inherit;
    font-size: var(--ax-fs-12);
    font-weight: 700;
    text-decoration: underline;
}

.epw-actions[b-q2csgfd7cf] {
    display: flex;
    align-items: flex-start;
    gap: var(--ax-space-2);
}

.epw-upload[b-q2csgfd7cf] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid var(--ax-primary-700);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-primary-700);
    color: var(--ax-text-on-primary);
    cursor: pointer;
    font-size: var(--ax-fs-13);
    font-weight: 600;
    white-space: nowrap;
}

.epw-upload.is-disabled[b-q2csgfd7cf] {
    cursor: wait;
    opacity: 0.65;
}

.epw-upload[b-q2csgfd7cf]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.epw-status[b-q2csgfd7cf],
.epw-summary[b-q2csgfd7cf],
.epw-map-wrap[b-q2csgfd7cf] {
    grid-column: 1 / -1;
}

.epw-map-wrap[b-q2csgfd7cf] {
    overflow: hidden;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg);
}

.epw-map-frame[b-q2csgfd7cf] {
    display: block;
    width: 100%;
    height: min(68vh, 680px);
    min-height: 480px;
    border: 0;
    background: var(--ax-panel-bg-soft);
}

.epw-map-help[b-q2csgfd7cf] {
    margin: 0;
    padding: var(--ax-space-2) var(--ax-space-3);
    border-top: 1px solid var(--ax-border-soft);
    color: var(--ax-text-3);
    font-size: var(--ax-fs-11);
}

.epw-status[b-q2csgfd7cf] {
    color: var(--ax-text-2);
    font-size: var(--ax-fs-12);
}

.epw-status-error[b-q2csgfd7cf] {
    color: var(--ax-danger-strong);
}

.epw-summary[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ax-space-3);
    padding-top: var(--ax-space-3);
    border-top: 1px solid var(--ax-info-border);
}

.epw-summary span[b-q2csgfd7cf],
.epw-summary strong[b-q2csgfd7cf] {
    display: block;
}

.epw-summary span[b-q2csgfd7cf] {
    margin-bottom: 2px;
    color: var(--ax-text-3);
    font-size: var(--ax-fs-11);
}

.epw-summary strong[b-q2csgfd7cf] {
    color: var(--ax-text-1);
    font-size: var(--ax-fs-12);
    overflow-wrap: anywhere;
}

.epw-selector-heading[b-q2csgfd7cf] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--ax-space-4);
    margin-bottom: var(--ax-space-3);
}

.epw-selector-heading h4[b-q2csgfd7cf] {
    margin: 0;
    color: var(--ax-text-1);
    font-size: var(--ax-fs-16);
}

.input-list[b-q2csgfd7cf] {
    display: flex;
    flex-direction: column;
}

.input-row[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: var(--ax-space-4);
    align-items: center;
    padding: var(--ax-space-3) 0;
    border-bottom: 1px solid var(--ax-border-soft);
}

.input-row:last-child[b-q2csgfd7cf] {
    border-bottom: none;
}

.input-name[b-q2csgfd7cf] {
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: var(--ax-text-1);
}

.input-description[b-q2csgfd7cf] {
    margin-top: 2px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
}

.input-editor[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.2rem;
    gap: var(--ax-space-2);
}

.input-field[b-q2csgfd7cf] {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-input-border);
    background: var(--ax-input-bg);
    color: var(--ax-input-text);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-variant-numeric: tabular-nums;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.input-field:focus[b-q2csgfd7cf] {
    border-color: var(--ax-input-border-focus);
    box-shadow: var(--ax-shadow-focus);
}

/* Campo bloccato (es. quota presa dal file EPW): stesso trattamento del
   campo disabilitato già usato negli altri studi. */
.input-field[readonly][b-q2csgfd7cf] {
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-3);
    cursor: not-allowed;
}

.input-unit[b-q2csgfd7cf] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-2);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-13);
    font-weight: 500;
}

.input-calculate[b-q2csgfd7cf] {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    flex-wrap: wrap;
    padding-top: var(--ax-space-4);
    margin-top: var(--ax-space-2);
    border-top: 1px solid var(--ax-border-soft);
}

/* Spinge il pannello di salvataggio a destra: Calcola + Reset restano
   raggruppati a sinistra, "Salva studio" è il pulsante di destinazione. */
.input-calculate-spacer[b-q2csgfd7cf] {
    flex: 1 1 auto;
}

.input-calculate-button[b-q2csgfd7cf] {
    min-width: 9rem;
}

/* =========================================================================
   RISULTATI
   ========================================================================= */
.result-message[b-q2csgfd7cf] {
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-4);
    background: var(--ax-info-bg);
    border: 1px solid var(--ax-info-border);
    color: var(--ax-info-strong);
}

.result-message-error[b-q2csgfd7cf] {
    background: var(--ax-danger-bg);
    border-color: var(--ax-danger-border);
    color: var(--ax-danger-strong);
}

.result-message-title[b-q2csgfd7cf] {
    font-size: var(--ax-fs-14);
    font-weight: 600;
    margin-bottom: 4px;
}

.result-message-text[b-q2csgfd7cf] {
    font-size: var(--ax-fs-13);
    line-height: 1.5;
    color: var(--ax-text-2);
}

.result-message-error .result-message-text[b-q2csgfd7cf] {
    color: var(--ax-danger-strong);
}

/* Toggle "Diagramma psicrometrico" sotto ai risultati: bottone allineato a
   sinistra, distanziato dalla griglia risultati. */
.diagramma-toggle-row[b-q2csgfd7cf] {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--ax-space-4);
    /* Stacco il diagramma dal pulsante quando è aperto: senza questo il
       grafico resta appiccicato sotto il bottone "Nascondi diagramma". */
    margin-bottom: var(--ax-space-4);
}

.result-grid[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ax-space-3);
}

/* Card di scenario (caso invernale / caso estivo): contengono al loro interno
   l'elenco delle voci prodotte dal calcolatore. Accento blu su inverno, ambra
   su estate, coerenti con i gruppi di input. */
.result-card-scenario[b-q2csgfd7cf] {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
    padding: var(--ax-space-4);
    border-left: 3px solid var(--ax-primary-700);
}

.result-card-scenario-estate[b-q2csgfd7cf] {
    border-left-color: var(--ax-accent-600);
}

.result-card-scenario-header[b-q2csgfd7cf] {
    padding-bottom: var(--ax-space-2);
    border-bottom: 1px solid var(--ax-border-soft);
}

.result-card-scenario-kicker[b-q2csgfd7cf] {
    font-size: var(--ax-fs-11);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-primary-700);
}

.result-card-scenario-estate .result-card-scenario-kicker[b-q2csgfd7cf] {
    color: var(--ax-accent-600);
}

.result-card-scenario-list[b-q2csgfd7cf] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.result-scenario-row[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--ax-space-3);
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed var(--ax-border-soft);
}

.result-scenario-row:last-child[b-q2csgfd7cf] {
    border-bottom: none;
}

.result-scenario-row-name[b-q2csgfd7cf] {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-1);
}

.result-scenario-row-desc[b-q2csgfd7cf] {
    margin-top: 2px;
    font-size: var(--ax-fs-11);
    line-height: 1.4;
    color: var(--ax-text-3);
}

.result-scenario-row-value[b-q2csgfd7cf] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: var(--ax-text-1);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.result-scenario-row-value small[b-q2csgfd7cf] {
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-11);
    font-weight: 500;
    color: var(--ax-text-3);
}

/* Card di sintesi "Potenza di picco di progetto": occupa l'intera riga della
   griglia per dare evidenza al dato di dimensionamento finale. */
.result-card-picco[b-q2csgfd7cf] {
    grid-column: 1 / -1;
}

/* .result-card vive nel CSS globale (auxilium.studi.css): qui non lo ridefinisco
   piu' per non sovrascriverlo via Blazor CSS isolation. Bordo / sfondo /
   gradiente arrivano dal design system, uniformi a tutti gli altri studi. */

.result-title[b-q2csgfd7cf] {
    font-size: var(--ax-fs-13);
    font-weight: 600;
    color: var(--ax-text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-description[b-q2csgfd7cf] {
    margin-top: 4px;
    font-size: var(--ax-fs-12);
    line-height: 1.45;
    color: var(--ax-text-3);
    min-height: 2.4rem;
}

.result-value-row[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-3);
}

.result-value[b-q2csgfd7cf],
.result-unit[b-q2csgfd7cf] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-border-soft);
    /* --ax-input-bg è tematizzato (bianco in light, #171d26 in dark):
       evita l'effetto "bianco su bianco" in dark theme che invece si
       verificherebbe usando direttamente --ax-gray-0. */
    background: var(--ax-input-bg);
    color: var(--ax-text-1);
    min-height: 38px;
    padding: 8px 12px;
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-14);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.result-unit[b-q2csgfd7cf] {
    justify-content: center;
    color: var(--ax-text-2);
    background: var(--ax-panel-bg-soft);
    font-weight: 500;
    font-size: var(--ax-fs-12);
}

/* La card "Potenza di picco di progetto" usa il bordo grigio standard come
   tutte le altre schede risultato. Titolo e valore vengono colorati inline
   dalla pagina con il colore dello scenario che dimensiona la macchina
   (ambra se vince l'estate, blu se vince l'inverno). */

/* relazione-card, menu-relazione-*, relazione-feedback*, relazione-empty
   spostati in wwwroot/css/auxilium.relazione.css. */

/* =========================================================================
   DOCUMENTO RELAZIONE TECNICA (paper look)
   ========================================================================= */
.relazione-documento[b-q2csgfd7cf] {
    position: relative;
    overflow: hidden;
    border-radius: var(--ax-radius-md);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg);
    color: var(--ax-paper-text);
    box-shadow: var(--ax-shadow-1);
}

.relazione-documento[b-q2csgfd7cf]::before {
    content: "Auxilium Engineering";
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(11, 61, 145, 0.04);
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--ax-font-sans);
}

.relazione-contenuto[b-q2csgfd7cf] {
    position: relative;
    z-index: 1;
    padding: var(--ax-space-6) var(--ax-space-6);
}

.relazione-heading[b-q2csgfd7cf] {
    padding-bottom: var(--ax-space-4);
    margin-bottom: var(--ax-space-4);
    border-bottom: 1px solid var(--ax-paper-border);
}

.relazione-kicker[b-q2csgfd7cf] {
    font-size: var(--ax-fs-11);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ax-primary-700);
    margin-bottom: 4px;
    font-weight: 700;
}

.relazione-titolo[b-q2csgfd7cf] {
    font-size: var(--ax-fs-24);
    line-height: 1.15;
    font-weight: 700;
    color: var(--ax-paper-text);
    letter-spacing: -0.01em;
}

.relazione-capitolo-blocco + .relazione-capitolo-blocco[b-q2csgfd7cf] {
    margin-top: var(--ax-space-6);
}

.relazione-capitolo[b-q2csgfd7cf] {
    margin: 0 0 var(--ax-space-3) 0;
    font-size: var(--ax-fs-18);
    line-height: 1.2;
    font-weight: 600;
    color: var(--ax-paper-text);
    letter-spacing: -0.01em;
    padding-bottom: var(--ax-space-2);
    border-bottom: 1px solid var(--ax-paper-border);
}

.relazione-paragrafo + .relazione-paragrafo[b-q2csgfd7cf] {
    margin-top: var(--ax-space-4);
}

.relazione-paragrafo-titolo[b-q2csgfd7cf] {
    margin: 0 0 var(--ax-space-2) 0;
    font-size: var(--ax-fs-14);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ax-text-2);
}

.relazione-testo[b-q2csgfd7cf] {
    font-size: var(--ax-fs-14);
    line-height: 1.7;
    color: var(--ax-paper-text-soft);
    text-align: justify;
}

.relazione-testo + .relazione-formula[b-q2csgfd7cf],
.relazione-formula + .relazione-testo[b-q2csgfd7cf],
.relazione-formula + .relazione-formula[b-q2csgfd7cf] {
    margin-top: var(--ax-space-3);
}

.relazione-formula[b-q2csgfd7cf] {
    display: flex;
    justify-content: center;
}

.relazione-formula-box[b-q2csgfd7cf] {
    width: 100%;
    padding: var(--ax-space-4);
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg-2);
    color: var(--ax-paper-text);
    font-family: var(--ax-font-mono);
}

/* =========================================================================
   GRUPPI INPUT (caso invernale / estivo / parametri impianto)
   ========================================================================= */
.season-input-grid[b-q2csgfd7cf] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ax-space-3);
    margin-top: var(--ax-space-4);
}

.input-group[b-q2csgfd7cf] {
    margin-top: var(--ax-space-4);
    padding: var(--ax-space-3) var(--ax-space-4) var(--ax-space-2);
    border: 1px solid var(--ax-border-soft);
    border-left: 3px solid var(--ax-primary-700);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg-soft);
}

.season-input-grid .input-group[b-q2csgfd7cf] {
    margin-top: 0;
}

.season-input-grid .input-row[b-q2csgfd7cf] {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.season-input-grid .input-editor[b-q2csgfd7cf] {
    grid-template-columns: minmax(0, 1fr) 5.5rem;
}

.input-group-estate[b-q2csgfd7cf] {
    border-left-color: var(--ax-accent-600);
}

.input-group-heading[b-q2csgfd7cf] {
    margin-bottom: var(--ax-space-2);
}

.input-group-title[b-q2csgfd7cf] {
    margin: 2px 0 0;
    font-size: var(--ax-fs-14);
    font-weight: 600;
    color: var(--ax-text-1);
    letter-spacing: -0.005em;
}

/* =========================================================================
   GRAFICO ANNUALE EPW
   ========================================================================= */
.epw-annual-selector[b-q2csgfd7cf] {
    grid-column: 1 / -1;
    margin-top: var(--ax-space-4);
    padding: var(--ax-space-4);
    border: 1px solid var(--ax-info-border);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg);
}

.epw-annual-stats[b-q2csgfd7cf] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
    justify-content: flex-end;
}

.epw-annual-pill[b-q2csgfd7cf] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 6px 10px;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
    color: var(--ax-text-1);
    font-family: var(--ax-font-mono);
    font-size: var(--ax-fs-12);
    font-weight: 600;
    line-height: 1.15;
}

.epw-annual-pill small[b-q2csgfd7cf] {
    color: var(--ax-text-3);
    font-family: var(--ax-font-sans);
    font-size: var(--ax-fs-11);
    font-weight: 500;
}

.epw-annual-pill-min[b-q2csgfd7cf] {
    border-color: var(--ax-primary-700);
    color: var(--ax-primary-700);
}

.epw-annual-pill-max[b-q2csgfd7cf] {
    border-color: var(--ax-accent-600);
    color: var(--ax-accent-600);
}

.epw-annual-pill-mean[b-q2csgfd7cf] {
    border-style: dashed;
    color: var(--ax-text-2);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
    .studio-grid[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .studio-hero[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .studio-hero-right[b-q2csgfd7cf] {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .source-options[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .epw-panel[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .epw-actions[b-q2csgfd7cf] {
        justify-content: flex-start;
    }

    .epw-summary[b-q2csgfd7cf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .result-grid[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .season-input-grid[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .input-row[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .input-editor[b-q2csgfd7cf] {
        grid-template-columns: minmax(0, 1fr) 5.5rem;
    }
}

@media (max-width: 640px) {
    .epw-panel[b-q2csgfd7cf] {
        padding: var(--ax-space-3);
    }

    .epw-upload[b-q2csgfd7cf],
    .epw-actions .studio-button[b-q2csgfd7cf] {
        width: 100%;
    }

    .flow-fields[b-q2csgfd7cf] {
        align-items: stretch;
        flex-direction: column;
    }

    .flow-fields input[b-q2csgfd7cf] {
        width: 100%;
    }

    .flow-operator[b-q2csgfd7cf],
    .flow-result[b-q2csgfd7cf] {
        padding-bottom: 0;
    }

    .epw-selector-heading[b-q2csgfd7cf] {
        align-items: stretch;
        flex-direction: column;
    }

    .input-calculate-button[b-q2csgfd7cf] {
        width: 100%;
    }

    .epw-map-frame[b-q2csgfd7cf] {
        height: 62vh;
        min-height: 400px;
    }

    .epw-actions[b-q2csgfd7cf] {
        align-items: stretch;
        flex-direction: column;
    }

    .epw-summary[b-q2csgfd7cf] {
        grid-template-columns: 1fr;
    }

    .studio-hero[b-q2csgfd7cf] {
        padding: var(--ax-space-5);
    }

    .panel-card[b-q2csgfd7cf] {
        padding: var(--ax-space-4);
    }

    /* Su smartphone la relazione esce dal padding orizzontale di .studio-page
       per occupare l'intera larghezza schermo: su schermi stretti i bordi
       arrotondati e i margini laterali sprecavano spazio leggibile. */
    .relazione-card[b-q2csgfd7cf] {
        margin-inline: calc(-1 * var(--ax-page-padding));
        border-radius: 0;
    }

    .relazione-contenuto[b-q2csgfd7cf] {
        padding: var(--ax-space-5) var(--ax-space-4);
    }

    .relazione-testo[b-q2csgfd7cf] {
        font-size: var(--ax-fs-13);
        line-height: 1.62;
        text-align: left;
    }

    .menu-relazione-popup[b-q2csgfd7cf] {
        min-width: 12rem;
    }
}
/* /Components/Pages/Studi/GuidaStabileo.razor.rz.scp.css */
.guida-stabileo[b-i7l6tjoibs] {
    padding: 0;
}

.guida-titolo[b-i7l6tjoibs] {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--ax-text-1);
    list-style: none;
}

.guida-titolo[b-i7l6tjoibs]::-webkit-details-marker {
    display: none;
}

.guida-titolo[b-i7l6tjoibs]::before {
    content: "›";
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.15s ease;
}

.guida-stabileo[open] .guida-titolo[b-i7l6tjoibs]::before {
    transform: rotate(90deg);
}

.guida-corpo[b-i7l6tjoibs] {
    padding: 0 1.25rem 1.25rem;
}

.guida-passi[b-i7l6tjoibs] {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
    line-height: 1.6;
}

.guida-passi li[b-i7l6tjoibs] {
    margin-bottom: 0.4rem;
}
/* /Components/Pages/Studi/PerditeCaricoTubazioni.razor.rz.scp.css */
.metodo-riga[b-n84hy3scme] {
    position: relative;
    display: grid;
    gap: .25rem;
    padding: .65rem .75rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg);
}

.metodo-box[b-n84hy3scme] {
    display: grid;
    align-content: start;
    gap: .75rem;
}

.metodo-box-disabled[b-n84hy3scme] {
    opacity: .72;
}

.campo-help[b-n84hy3scme] {
    display: block;
    margin-top: .35rem;
    color: var(--ax-text-2);
    font-size: .82rem;
    line-height: 1.4;
}

.metodo-riga + .metodo-riga[b-n84hy3scme] {
    margin-top: .5rem;
}

.metodo-riga-ok[b-n84hy3scme] {
    border-color: color-mix(in srgb, #f97316 58%, var(--ax-border-soft));
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, #f97316 13%, transparent),
            color-mix(in srgb, #f97316 13%, transparent)
        ),
        var(--ax-panel-bg);
    box-shadow: inset 3px 0 0 #f97316;
    color: var(--ax-text-1);
}

.metodo-riga-ok .formula-metodo[b-n84hy3scme] {
    background: color-mix(in srgb, #f97316 10%, var(--ax-panel-bg-soft));
    color: var(--ax-text-1);
}

.metodo-riga-ok .metodo-help[b-n84hy3scme] {
    border-color: color-mix(in srgb, #f97316 65%, transparent);
    background: color-mix(in srgb, #f97316 12%, white);
    color: #9a3412;
}

.metodo-riga-disabled[b-n84hy3scme] {
    color: var(--ax-text-2);
    background: var(--ax-panel-bg-soft);
}

.metodo-riga-header[b-n84hy3scme] {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.metodo-help[b-n84hy3scme] {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--ax-primary-500) 55%, transparent);
    color: var(--ax-primary-700);
    background: color-mix(in srgb, var(--ax-primary-500) 10%, white);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

.metodo-tooltip[b-n84hy3scme] {
    position: absolute;
    left: 50%;
    bottom: calc(100% + .55rem);
    z-index: 5;
    width: 15rem;
    min-height: 4rem;
    max-height: 5rem;
    transform: translateX(-50%) translateY(.2rem);
    padding: .55rem .65rem;
    border: 1px solid var(--ax-border-strong);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-gray-950, #111827);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    color: #ffffff;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}

.metodo-tooltip[b-n84hy3scme]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: .55rem;
    height: .55rem;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--ax-gray-950, #111827);
    border-right: 1px solid var(--ax-border-strong);
    border-bottom: 1px solid var(--ax-border-strong);
}

.metodo-help:hover .metodo-tooltip[b-n84hy3scme],
.metodo-help:focus .metodo-tooltip[b-n84hy3scme],
.metodo-help:focus-visible .metodo-tooltip[b-n84hy3scme] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.formula-metodo[b-n84hy3scme] {
    margin-top: .4rem;
    padding: .45rem .55rem;
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
}

/* Gruppo di pulsanti azione in linea, allineati a destra nella cella
   "Azioni" della tabella dei tratti. */
.tratto-azioni[b-n84hy3scme] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
}

.raccordi-tabella-wrapper[b-n84hy3scme] {
    overflow-x: auto;
}

/* Regime di moto del fluido: solo i regimi "anomali" rispetto alla pratica
   impiantistica vengono evidenziati con colore. Turbolento e' la norma e
   resta senza highlight; cursor: help segnala comunque la presenza del
   tooltip di spiegazione. */
.re-laminare[b-n84hy3scme] {
    background: #dcfce7;
    color: #166534;
    cursor: help;
}

.re-transizione[b-n84hy3scme] {
    background: #fef3c7;
    color: #92400e;
    cursor: help;
}

.raccordi-tabella[b-n84hy3scme] {
    width: 100%;
    min-width: 760px;
}

.raccordo-immagine[b-n84hy3scme] {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 2.35rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
    color: var(--ax-primary-700);
    font-size: .72rem;
    font-weight: 700;
}

.raccordo-immagine svg[b-n84hy3scme] {
    width: 2.65rem;
    height: 1.75rem;
}

.raccordo-quantita[b-n84hy3scme] {
    width: 5.5rem;
    margin-left: auto;
}

.raccordo-coefficiente[b-n84hy3scme] {
    width: 5.5rem;
    margin-left: auto;
}

.azioni-calcolo[b-n84hy3scme] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.errore-calcolo[b-n84hy3scme] {
    color: var(--ax-danger-700, #b42318);
    font-weight: 600;
}

.risultati-totali[b-n84hy3scme] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.risultati-totali > div[b-n84hy3scme] {
    display: grid;
    gap: .25rem;
    padding: .85rem;
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-sm);
    background: var(--ax-panel-bg-soft);
}

.risultati-totali strong[b-n84hy3scme] {
    font-size: 1.05rem;
}

/* Tre fasce di velocita' applicate dal classificatore ClasseVelocita() in
   funzione del Tipo di rete scelto (HVAC civile, sprinkler, idranti, ecc.):
   verde = sotto VerdeMaxMS (nessuna classe, default),
   giallo = tra VerdeMaxMS e GialloMaxMS (.velocita-attenzione),
   rosso = oltre GialloMaxMS (.velocita-alta). */
.velocita-attenzione[b-n84hy3scme] {
    color: var(--ax-highlight-strong, #c2410c);
    font-weight: 700;
}

.velocita-alta[b-n84hy3scme] {
    color: var(--ax-danger-700, #b42318);
    font-weight: 700;
}

/* Stili panel-card, menu-relazione, relazione-feedback/empty spostati in
   wwwroot/css/auxilium.relazione.css per evitare duplicazione (DRY) e
   inconsistenza visiva fra studi. Qui restano solo gli override specifici
   di questa pagina, se ce ne sono. */

.relazione-documento[b-n84hy3scme] {
    position: relative;
    overflow: hidden;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg);
    color: var(--ax-paper-text);
}

.relazione-contenuto[b-n84hy3scme] {
    padding: 1.25rem;
}

.relazione-heading[b-n84hy3scme] {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--ax-paper-border);
}

.relazione-kicker[b-n84hy3scme] {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ax-primary-700);
    font-weight: 700;
}

.relazione-titolo[b-n84hy3scme] {
    margin-top: .25rem;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
}

.relazione-capitolo-blocco + .relazione-capitolo-blocco[b-n84hy3scme] {
    margin-top: 1.25rem;
}

.relazione-capitolo[b-n84hy3scme] {
    margin: 0 0 .85rem;
    font-size: 1.5rem;          /* ~18pt, intestazione di capitolo */
    font-weight: 700;
    text-align: center;
}

.relazione-paragrafo-titolo[b-n84hy3scme] {
    margin: 0 0 .5rem;
    font-size: 1rem;            /* ~12pt, intestazione di paragrafo */
    font-weight: 600;
    text-align: left;
}

.relazione-testo[b-n84hy3scme] {
    font-size: .92rem;
    line-height: 1.65;
    color: var(--ax-paper-text-soft);
}

/* Una formula nella relazione tecnica si compone di:
   - intestazione opzionale "Nome - Simbolo" (es. "Velocita - v")
   - corpo a due colonne con il box LaTeX a sinistra e la nota
     descrittiva a destra (sotto la formula su schermi stretti). */
.relazione-formula[b-n84hy3scme] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: .9rem 0;
}

.relazione-formula-intestazione[b-n84hy3scme] {
    color: var(--ax-paper-text-strong);
    font-size: .95rem;
}

.relazione-formula-intestazione em[b-n84hy3scme] {
    font-style: italic;
    font-weight: 600;
}

.relazione-formula-corpo[b-n84hy3scme] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.relazione-formula-box[b-n84hy3scme] {
    width: 100%;
    padding: .85rem;
    border-radius: var(--ax-radius-sm);
    border: 1px solid var(--ax-paper-border);
    background: var(--ax-paper-bg-2);
}

.relazione-formula-nota[b-n84hy3scme] {
    color: var(--ax-paper-text-soft);
    font-size: .9rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .relazione-formula-corpo[b-n84hy3scme] {
        grid-template-columns: 1fr;
    }
}

.relazione-tabella-wrap[b-n84hy3scme] {
    width: 100%;
    overflow-x: auto;
    margin: .85rem 0;
}

.relazione-tabella[b-n84hy3scme] {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    color: var(--ax-paper-text);
}

.relazione-tabella th[b-n84hy3scme],
.relazione-tabella td[b-n84hy3scme] {
    padding: .55rem .7rem;
    border: 1px solid var(--ax-paper-border);
    text-align: left;
    vertical-align: top;
}

.relazione-tabella th[b-n84hy3scme] {
    background: var(--ax-paper-bg-2);
    font-weight: 700;
    text-align: center;
}

/* Zebra: alterna lo sfondo delle righe del corpo per leggibilita'. */
.relazione-tabella tbody tr:nth-child(even) td[b-n84hy3scme] {
    background: var(--ax-paper-bg-2);
}

.relazione-tabella th:nth-child(2)[b-n84hy3scme],
.relazione-tabella td:nth-child(2)[b-n84hy3scme],
.relazione-tabella th:nth-child(10)[b-n84hy3scme],
.relazione-tabella td:nth-child(10)[b-n84hy3scme] {
    text-align: left;
}

@media (max-width: 720px) {
    .metodo-tooltip[b-n84hy3scme] {
        left: 0;
        width: min(15rem, 75vw);
        transform: translateY(.2rem);
    }

    .metodo-help:hover .metodo-tooltip[b-n84hy3scme],
    .metodo-help:focus .metodo-tooltip[b-n84hy3scme],
    .metodo-help:focus-visible .metodo-tooltip[b-n84hy3scme] {
        transform: translateY(0);
    }

    .tratto-azioni[b-n84hy3scme] {
        justify-content: flex-start;
    }

    .risultati-totali[b-n84hy3scme] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/CoolPropLink.razor.rz.scp.css */
.coolprop-link[b-erk5ekamnd] {
    color: var(--ax-primary-700);
    font-weight: 600;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}

.coolprop-link:hover[b-erk5ekamnd] {
    color: var(--ax-primary-900);
    text-decoration-style: solid;
}
/* /Components/Shared/FooterLanding.razor.rz.scp.css */
/* Stili del footer landing condiviso. Spostati qui da Home.razor.css
   perché Blazor CSS isolation lega gli stili al componente che li rende:
   serviva il riassegnamento di scope perché il footer ora vive in
   FooterLanding e non più direttamente in Home. */

.home-disclaimer[b-snry7wpp3f] {
    padding: var(--ax-space-3) var(--ax-space-4);
    border: 1px solid var(--ax-border-soft);
    border-left: 4px solid var(--ax-highlight);
    border-radius: var(--ax-radius-md);
    background: var(--ax-highlight-soft);
    color: var(--ax-gray-700);
    font-size: var(--ax-fs-12);
    line-height: 1.6;
}

.home-disclaimer strong[b-snry7wpp3f] {
    color: var(--ax-gray-900);
}

.home-disclaimer a[b-snry7wpp3f] {
    color: var(--ax-primary-700);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
}

.home-footer[b-snry7wpp3f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ax-space-4);
    padding-top: var(--ax-space-5);
    border-top: 1px solid var(--ax-border-soft);
    color: var(--ax-text-2);
    font-size: var(--ax-fs-12);
}

.home-footer-link[b-snry7wpp3f] {
    color: var(--ax-primary-700);
    text-decoration: none;
    font-weight: 600;
}

.home-footer-link:hover[b-snry7wpp3f],
.home-footer-link:focus-visible[b-snry7wpp3f] {
    color: var(--ax-primary-800);
    text-decoration: underline;
}

/* Tema scuro: il blu --ax-primary-700 su sfondo scuro ha contrasto
   insufficiente. Schiarisco i link del footer (e l'hover) come fatto per
   gli altri elementi tema-scuro (vedi Home.razor.css). */
.theme-dark .home-footer-link[b-snry7wpp3f] {
    color: var(--ax-primary-300);
}

.theme-dark .home-footer-link:hover[b-snry7wpp3f],
.theme-dark .home-footer-link:focus-visible[b-snry7wpp3f] {
    color: var(--ax-primary-200);
}

.home-footer-links[b-snry7wpp3f] {
    display: inline-flex;
    gap: var(--ax-space-2);
    align-items: center;
}

.home-footer-sep[b-snry7wpp3f] {
    opacity: 0.6;
}

@media (max-width: 960px) {
    .home-footer[b-snry7wpp3f] {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ax-space-2);
    }
}
/* /Components/Shared/Studio/LinkRichiediToken.razor.rz.scp.css */
/* Stacca il pulsante dal testo dell'errore e lo allinea a sinistra. */
.link-richiedi-token[b-2n72ankbfm] {
    margin-top: var(--ax-space-3);
    align-self: flex-start;
}
/* /Components/Shared/Studio/PulsanteEsportaExcel.razor.rz.scp.css */
.pulsante-esporta-excel[b-zczsvdvxjm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--ax-radius-sm);
    padding: 4px;
    line-height: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pulsante-esporta-excel:hover[b-zczsvdvxjm] {
    background: var(--ax-panel-bg-soft);
    border-color: var(--ax-border-soft);
}

.pulsante-esporta-excel:focus-visible[b-zczsvdvxjm] {
    outline: 2px solid var(--ax-primary-600);
    outline-offset: 2px;
}
/* /Components/Studi/DiagrammaPsicrometrico.razor.rz.scp.css */
.diagramma-psicrometrico[b-upd3k3sl32] {
    margin: 0;
    padding: var(--ax-space-3);
    border: 1px solid var(--ax-border-soft);
    border-radius: var(--ax-radius-md);
    background: var(--ax-panel-bg);
}

.diagramma-psicrometrico figcaption[b-upd3k3sl32] {
    margin-bottom: var(--ax-space-2);
    color: var(--ax-text-2);
    font-size: var(--ax-fs-13);
    font-weight: 600;
}

.diagramma-svg[b-upd3k3sl32] {
    display: block;
    width: 100%;
    height: auto;
    font-family: var(--ax-font-sans, "Inter", system-ui, sans-serif);
}

/* ── Cornice e griglia ────────────────────────────────────────────── */
.cornice-plot[b-upd3k3sl32] {
    fill: none;
    stroke: var(--ax-border-strong);
    stroke-width: 1;
}

.linea-griglia[b-upd3k3sl32] {
    stroke: var(--ax-border-soft);
    stroke-width: 0.5;
    stroke-dasharray: 3 3;
}

/* ── Iso-linee ────────────────────────────────────────────────────── */
.linea-isoentalpia[b-upd3k3sl32] {
    fill: none;
    stroke: var(--ax-text-3);
    stroke-width: 0.6;
    stroke-dasharray: 2 4;
    opacity: 0.5;
}

.linea-isoumidita[b-upd3k3sl32] {
    fill: none;
    stroke: var(--ax-primary-700);
    stroke-width: 0.8;
    opacity: 0.55;
}

.linea-saturazione[b-upd3k3sl32] {
    fill: none;
    stroke: var(--ax-primary-700);
    stroke-width: 2.2;
}

/* ── Etichette assi ───────────────────────────────────────────────── */
.label-asse[b-upd3k3sl32] {
    fill: var(--ax-text-2);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.titolo-asse[b-upd3k3sl32] {
    fill: var(--ax-text-1);
    font-size: 12px;
    font-weight: 600;
}

.label-isoumidita[b-upd3k3sl32] {
    fill: var(--ax-primary-700);
    font-size: 10px;
    font-weight: 600;
    opacity: 0.85;
}

.label-isoentalpia[b-upd3k3sl32] {
    fill: var(--ax-text-3);
    font-size: 9px;
    font-weight: 500;
    opacity: 0.75;
}

/* Hover sui punti: ingrandisce leggermente per dare feedback che sono interattivi
   (il tooltip nativo SVG <title> parte automaticamente dopo ~1 s di hover). */
.punto-processo[b-upd3k3sl32] {
    cursor: help;
    transition: r 120ms ease;
}

.punto-processo:hover[b-upd3k3sl32] {
    r: 8;
}

/* Hit area invisibile e larga sulla freccia del processo: il tooltip nativo
   mostra i delta della trasformazione. Cursore "help" come sui punti. */
.linea-processo-hit[b-upd3k3sl32] {
    cursor: help;
}

.label-punto[b-upd3k3sl32] {
    fill: var(--ax-text-1);
    font-size: 11px;
    font-weight: 600;
    paint-order: stroke;
    stroke: var(--ax-panel-bg);
    stroke-width: 3;
    stroke-linejoin: round;
}
