/* ==========================================================
   TRUST® OLD
   DESIGN SYSTEM 2.0
   TRUST Platform
========================================================== */


/* ==========================================================
   ROOT
========================================================== */

:root{

    --trust-primary:#111827;
    --trust-secondary:#1f2937;

    --trust-success:#16a34a;
    --trust-danger:#dc2626;
    --trust-warning:#f59e0b;
    --trust-info:#2563eb;

    --trust-white:#ffffff;
    --trust-light:#f4f6f9;
    --trust-border:#e5e7eb;

    --trust-text:#374151;
    --trust-text-light:#6b7280;

    --trust-font:'Inter',sans-serif;

    --trust-radius:10px;
    --trust-radius-lg:16px;

    --trust-shadow-sm:0 2px 8px rgba(0,0,0,.05);
    --trust-shadow:0 10px 30px rgba(0,0,0,.08);

    /* Base visuale condivisa TRUST: sobria, dark e con blu solo d'accento. */
    --trust-bg-main:#05080d;
    --trust-bg-panel:#0a121d;
    --trust-bg-panel-soft:#0d1724;
    --trust-border-subtle:rgba(185,198,210,.18);
    --trust-border-accent:rgba(30,115,190,.48);
    --trust-accent:#1e73be;
    --trust-accent-hover:#287fc9;
    --trust-text-primary:#f4f7fb;
    --trust-text-secondary:#aeb8c5;
    --trust-silver:#b9c3ce;

}


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;
    overflow-x:hidden;

}

body{

    font-family:var(--trust-font);

    background:#05080d;

    color:#dce4ee;

    line-height:1.5;
    overflow-x:hidden;

}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1{

    font-size:28px;

    font-weight:700;

    color:#f4f7fb;

    margin-bottom:12px;

}

h2{

    font-size:24px;

    font-weight:700;

    color:#f4f7fb;

    margin-bottom:10px;

}

h3{

    font-size:18px;

    font-weight:600;

}

p{

    margin-bottom:10px;

}

a{

    color:inherit;

    text-decoration:none;

}


/* ==========================================================
   CONTAINER
========================================================== */

.trust-container{

    width:min(1400px,95%);

    margin:auto;

}


/* ==========================================================
   FLEX
========================================================== */

.trust-flex{

    display:flex;

}

.trust-between{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.trust-center{

    display:flex;

    align-items:center;

    justify-content:center;

}
/* ==========================================================
   GRID
========================================================== */

.trust-grid{

    display:grid;

    gap:20px;

}

.trust-grid-2{

    grid-template-columns:repeat(2,1fr);

}

.trust-grid-3{

    grid-template-columns:repeat(3,1fr);

}

.trust-grid-4{

    grid-template-columns:repeat(4,1fr);

}


/* ==========================================================
   BUTTONS
========================================================== */

.trust-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 22px;

    border:none;

    border-radius:10px;

    font-family:var(--trust-font);

    font-size:15px;

    font-weight:600;
    line-height:1.2;
    min-height:42px;
    white-space:nowrap;

    cursor:pointer;

    transition:.25s;

}

.trust-btn:hover{

    transform:translateY(-2px);

}

.trust-btn-block{

    width:100%;

}

.trust-btn-primary{

    background:linear-gradient(135deg, #1e73be, #0f4f91);

    color:#fff;
    border:1px solid rgba(86,168,255,.48);

}

.trust-btn-secondary{

    background:rgba(255,255,255,.08);

    color:#fff;
    border:1px solid rgba(192,195,199,.22);

}

.trust-btn-danger{

    background:var(--trust-danger);

    color:#fff;

}

.trust-btn-light{

    background:rgba(255,255,255,.08);

    color:#f4f7fb;

    border:1px solid rgba(192,195,199,.18);

}


/* ==========================================================
   FORM
========================================================== */

.trust-form-group{

    margin-bottom:12px;

}

.trust-form-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.trust-label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#dce4ee;

}

.trust-input,
.trust-select,
.trust-textarea{

    width:100%;

    padding:13px 15px;

    border:1px solid rgba(192,195,199,.24);

    border-radius:10px;

    background:#070c13;
    color:#f4f7fb;

    font-family:var(--trust-font);

    font-size:15px;

    outline:none;

    transition:.25s;
    resize:vertical;

}

.trust-input:focus,
.trust-select:focus,
.trust-textarea:focus{

    border-color:#56a8ff;

    box-shadow:0 0 0 3px rgba(30,115,190,.18);

}

.trust-textarea{
    min-height:92px;
}

.trust-password-field{
    position:relative;
}

.trust-password-field .trust-input{
    padding-right:52px;
}

.trust-password-toggle{
    position:absolute;
    top:50%;
    right:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#aebdcd;
    cursor:pointer;
    transform:translateY(-50%);
}

.trust-password-toggle:hover,
.trust-password-toggle:focus-visible{
    background:rgba(86,168,255,.12);
    color:#f4f7fb;
}

.trust-password-toggle:focus-visible{
    outline:2px solid #56a8ff;
    outline-offset:1px;
}

.trust-password-toggle svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-width:1.8;
}

.trust-password-toggle .trust-password-icon-visible{
    display:none;
}

.trust-password-toggle.is-password-visible .trust-password-icon-hidden{
    display:none;
}

.trust-password-toggle.is-password-visible .trust-password-icon-visible{
    display:block;
}


/* ==========================================================
   CARD
========================================================== */

.trust-card{

    background:
        linear-gradient(180deg, rgba(13,17,23,.94), rgba(7,12,19,.98));

    border:1px solid rgba(192,195,199,.18);

    border-radius:16px;

    box-shadow:
        0 0 0 1px rgba(86,168,255,.04) inset,
        0 16px 44px rgba(0,0,0,.22);

}

.trust-card__body{

    padding:18px;

}

.trust-card p{
    color:#cfd8e3;
}

.trust-card__header{

    padding:20px 22px;

    border-bottom:1px solid rgba(192,195,199,.14);

}

.trust-card__footer{

    padding:20px 22px;

    border-top:1px solid rgba(192,195,199,.14);

}


/* ==========================================================
   ALERT
========================================================== */

.trust-alert{

    padding:16px;

    border-radius:10px;

    margin-bottom:20px;

}

.trust-alert-danger{

    background:rgba(220,38,38,.14);

    color:#fecaca;
    border:1px solid rgba(248,113,113,.28);

}

.trust-alert-success{

    background:rgba(22,163,74,.14);

    color:#bbf7d0;
    border:1px solid rgba(74,222,128,.26);

}

.trust-alert-info{

    background:rgba(37,99,235,.14);

    color:#bfdbfe;
    border:1px solid rgba(96,165,250,.26);

}

.trust-alert-warning{

    background:rgba(245,158,11,.14);

    color:#fde68a;
    border:1px solid rgba(251,191,36,.26);

}

.trust-btn[disabled]{

    opacity:.55;

    cursor:not-allowed;

}
/* ==========================================================
   HEADER
========================================================== */

.trust-header{

    background:linear-gradient(180deg, #0d1117, #070c13);

    color:#fff;

    min-height:72px;

    display:flex;

    align-items:center;

    border-bottom:1px solid rgba(192,195,199,.18);

    box-shadow:0 8px 28px rgba(0,0,0,.30);

}

.trust-header__container{
    width:100%;
    max-width:none;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 24px;
}

.trust-header__left{
    display:flex;
    align-items:center;
    gap:16px;
}

.trust-menu-toggle{
    width:42px;
    height:42px;
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid rgba(192,195,199,.26);
    border-radius:12px;
    background:rgba(255,255,255,.04);
    cursor:pointer;
}

.trust-menu-toggle span{
    width:18px;
    height:2px;
    display:block;
    border-radius:99px;
    background:#eef2f6;
}

.trust-header-title{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.trust-header-title strong{
    color:#f4f7fb;
    font-size:17px;
    font-weight:800;
}

.trust-header-title span{
    margin-top:3px;
    color:#aeb7c4;
    font-size:12px;
    font-weight:600;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.trust-logo{
    display:flex;
    align-items:center;
}

.trust-logo img{
    height:48px;
    width:auto;
    display:block;
}
.trust-brand{
    display:flex;
    align-items:center;
    gap:14px;
}

.trust-brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1.1;
}

.trust-brand-text strong{
    font-size:22px;
    font-weight:800;
    color:#ffffff;
    letter-spacing:1px;
}

.trust-brand-text span{
    font-size:12px;
    color:#c8d2df;
    letter-spacing:1px;
    text-transform:uppercase;
}
.trust-logo{
    padding:6px 0;
}
.trust-header__actions{

    display:flex;

    align-items:center;

    gap:16px;

}

.trust-user{

    color:#cfd8e3;

    font-size:15px;

}


/* ==========================================================
   LOGIN
========================================================== */

.trust-login{

    min-height:100vh;
    min-height:100svh;
    width:100%;
    max-width:100vw;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:32px;

    background:
        radial-gradient(circle at 50% 15%, rgba(30,115,190,.30), transparent 34%),
        radial-gradient(circle at 12% 10%, rgba(86,168,255,.12), transparent 28%),
        linear-gradient(135deg, #030508 0%, #05080d 42%, #0d1117 100%);

    overflow-x:hidden;

}

.trust-login__box{

    width:100%;

    max-width:480px;
    min-width:0;

}

.trust-login__logo{

    text-align:center;

    margin-bottom:12px;

}

.trust-login__logo img{
    display:block;
    width:100%;
    max-width:460px;
    height:clamp(150px, 24vh, 230px);
    margin:0 auto;
    object-fit:contain;

    filter:drop-shadow(0 16px 28px rgba(0,0,0,.38));

}

.trust-login .trust-card{
    border:1px solid rgba(192,195,199,.22);
    border-radius:28px;
    background:
        linear-gradient(180deg, rgba(13,17,23,.94), rgba(5,8,13,.97)),
        linear-gradient(135deg, rgba(255,255,255,.08), transparent);
    box-shadow:
        0 0 0 1px rgba(86,168,255,.06) inset,
        0 26px 90px rgba(0,0,0,.48),
        0 0 70px rgba(30,115,190,.16);
    overflow:hidden;
}

.trust-login .trust-card__body{
    padding:42px;
}

.trust-login__eyebrow{
    margin:0 0 12px;
    color:#c0c3c7;
    font-size:12px;
    font-weight:700;
    letter-spacing:.28em;
    line-height:1.7;
    text-align:center;
    text-transform:uppercase;
}

.trust-login__title{
    margin:0 0 12px;
    color:#f4f7fb;
    font-size:32px;
    font-weight:800;
    line-height:1.16;
    text-align:center;
}

.trust-login__copy{
    max-width:350px;
    margin:0 auto 26px;
    color:#aeb7c4;
    font-size:15px;
    line-height:1.6;
    text-align:center;
}

.trust-login label{
    color:#dce4ee;
    font-weight:650;
}

.trust-login .trust-input{
    min-height:52px;
    border:1px solid rgba(192,195,199,.24);
    border-radius:14px;
    background:#070c13;
    color:#f4f7fb;
}

.trust-login .trust-input:focus{
    border-color:#56a8ff;
    box-shadow:0 0 0 3px rgba(30,115,190,.18);
}

.trust-login .trust-checkbox{
    color:#aeb7c4;
}

.trust-login .trust-btn-primary{
    min-height:54px;
    border:1px solid rgba(86,168,255,.58);
    border-radius:999px;
    background:linear-gradient(135deg, #1e73be, #0f4f91);
    box-shadow:0 16px 38px rgba(30,115,190,.30);
}

.trust-login .trust-alert{
    border-radius:14px;
}

.trust-login__footer{
    width:100%;
    margin:18px auto 0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 16px;
    color:#a9b3bf;
    font-size:12px;
    line-height:1.5;
    text-align:center;
}


/* ==========================================================
   CHECKBOX
========================================================== */

.trust-checkbox{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

}

.trust-checkbox input{

    width:18px;

    height:18px;

}


/* ==========================================================
   FOOTER
========================================================== */

.trust-footer{

    margin-top:40px;

    border-top:1px solid rgba(192,195,199,.14);

    background:#05080d;

}

.trust-footer__container{

    padding:18px 24px;

    text-align:center;

    color:var(--trust-text-light);

    font-size:14px;

}
/* ==========================================================
   LAYOUT GESTIONALE
========================================================== */

.trust-layout{

    display:grid;

    grid-template-columns:276px minmax(0,1fr);

    min-height:calc(100vh - 72px);
    background:#05080d;
    transition:grid-template-columns .22s ease;

}


/* ==========================================================
   SIDEBAR
========================================================== */

.trust-sidebar{
    position:sticky;
    top:0;
    align-self:start;
    height:calc(100vh - 72px);
    overflow-y:auto;
    background:#080e15;
    width:276px;
    min-width:276px;
    flex-shrink:0;
    box-sizing:border-box;
    padding:22px 16px 28px;
    color:#fff;
    border-right:1px solid rgba(192,195,199,.16);
    transition:width .22s ease,min-width .22s ease,padding .22s ease,transform .25s ease;
}

.trust-sidebar-brand{
    padding:0 8px 16px;
    margin-bottom:22px;
    border-bottom:1px solid rgba(192,195,199,.12);
    box-sizing:border-box;
}

.trust-sidebar-brand__link{
    display:flex;
    width:100%;
    height:116px;
    align-items:center;
    justify-content:center;
}

.trust-sidebar-brand img{
    position:static;
    width:100%;
    max-width:244px;
    height:100%;
    display:block;
    object-fit:contain;
    filter:drop-shadow(0 12px 24px rgba(0,0,0,.36));
}

.trust-sidebar-brand__controls{display:flex;justify-content:flex-end;margin-top:5px;}

.trust-sidebar-collapse{
    position:static;
    display:flex;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid rgba(185,198,210,.26);
    border-radius:8px;
    background:rgba(255,255,255,.035);
    color:#c7d2de;
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.trust-sidebar-collapse:hover{border-color:rgba(113,193,246,.72);background:rgba(30,115,190,.16);color:#fff;}
.trust-sidebar-collapse:focus-visible{outline:3px solid rgba(117,197,248,.92);outline-offset:2px;}
.trust-sidebar-collapse span{width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(1px,-1px);transition:transform .22s ease;}

.trust-menu{
    display:block;
    width:100%;
    padding:10px 12px;
    margin:0 0 2px;
    border:1px solid transparent;
    border-radius:8px;
    color:#b9c4d1;
    text-decoration:none;
    transition:background .18s ease,color .18s ease,border-color .18s ease;
    box-sizing:border-box;
    font-size:13px;
    font-weight:500;
    letter-spacing:.005em;
    line-height:1.35;
}

.trust-menu-group > summary.trust-menu{
    min-height:40px;
    padding:10px 12px;
    color:#d5dee8;
    font-size:13.5px;
    font-weight:500;
    letter-spacing:.01em;
}
.trust-menu:hover{
    background:rgba(255,255,255,.045);
    border-color:rgba(185,198,210,.13);
    color:#fff;
}

.trust-menu.active{
    background:rgba(30,115,190,.14);
    border-color:rgba(86,168,255,.34);
    color:#fff;
    box-shadow:inset 2px 0 0 var(--trust-accent);
}

.trust-menu-group[open] > summary.trust-menu{
    background:rgba(255,255,255,.025);
    border-color:rgba(185,198,210,.12);
    color:#eef4fa;
}

.trust-menu-group{
    margin:0;
}

.trust-menu-group summary{
    cursor:pointer;
    list-style:none;
}

.trust-menu-group summary::-webkit-details-marker{
    display:none;
}

.trust-menu-group summary::after{
    content:"";
    width:6px;
    height:6px;
    margin-left:auto;
    border-right:1px solid currentColor;
    border-bottom:1px solid currentColor;
    opacity:.7;
    transform:rotate(45deg) translateY(-2px);
    transition:transform .18s ease;
}

.trust-menu-group[open] > summary::after{
    transform:rotate(225deg) translateY(-1px);
}

.trust-sidebar-section{
    margin:0 0 22px;
    padding:0 0 16px;
    border-bottom:1px solid rgba(185,198,210,.09);
}

.trust-sidebar-section--public{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:0;
}

.trust-sidebar-section__title{
    margin:0 0 8px;
    padding:0 12px;
    color:#8290a0;
    font-size:10px;
    font-weight:500;
    letter-spacing:.08em;
    line-height:1.4;
}

.trust-menu-child{
    width:calc(100% - 14px);
    margin-left:14px;
    padding:8px 10px 8px 16px;
    color:#aebac7;
    font-size:12.5px;
    font-weight:500;
    line-height:1.35;
}

.trust-menu-child:hover{
    border-color:rgba(86,168,255,.28);
    background:rgba(30,115,190,.08);
    color:#e5edf5;
}

.trust-menu-child.active{
    border-color:rgba(86,168,255,.34);
    background:rgba(30,115,190,.14);
    color:#f0f5fa;
    font-weight:500;
    box-shadow:inset 2px 0 0 var(--trust-accent);
}

.trust-menu-group--nested{margin:4px 0 0;}
.trust-menu-group--nested > summary.trust-menu{min-height:36px;}
.trust-menu-grandchild{display:block;width:calc(100% - 28px);margin-left:28px;padding:7px 9px 7px 14px;border-left:1px solid rgba(185,198,210,.13);border-radius:0;color:#9facba;font-size:12px;font-weight:400;line-height:1.35;}
.trust-menu-grandchild:hover{background:rgba(30,115,190,.06);color:#e3ebf4;}
.trust-menu-grandchild.active{border-left-color:var(--trust-accent);background:rgba(30,115,190,.09);color:#f0f5fa;box-shadow:none;}
.trust-sidebar-badge{margin-left:auto!important;min-width:18px;padding:2px 6px!important;border-radius:999px!important;background:rgba(160,61,71,.56)!important;border-color:rgba(219,124,135,.38)!important;color:#fff!important;font-size:10px!important;font-weight:600!important;line-height:14px!important;text-align:center;}

/* Icone decorative della navigazione: nessuna dipendenza o logica applicativa. */
.trust-sidebar .trust-menu{display:flex;align-items:center;gap:10px;}
.trust-sidebar-icon{width:16px;height:16px;flex:0 0 16px;position:relative;color:#90a0b0;transform:scale(.92);}
.trust-sidebar-icon::before,.trust-sidebar-icon::after{content:"";position:absolute;box-sizing:border-box;}
.trust-menu:hover .trust-sidebar-icon,.trust-menu.active .trust-sidebar-icon,.trust-menu-group[open] > summary .trust-sidebar-icon{color:#cbd9e7;}
.trust-menu.active .trust-sidebar-icon{color:#dcecff;}
.trust-sidebar-icon--dashboard::before{inset:2px;border:1.5px solid currentColor;border-radius:3px;}.trust-sidebar-icon--dashboard::after{width:7px;height:7px;left:5.5px;top:5.5px;border:1.5px solid currentColor;border-radius:50%;}
.trust-sidebar-icon--work::before{width:14px;height:9px;left:2px;top:5px;border:1.5px solid currentColor;border-radius:2px;}.trust-sidebar-icon--work::after{width:6px;height:3px;left:6px;top:3px;border:1.5px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0;}
.trust-sidebar-icon--new::before{width:14px;height:14px;left:2px;top:2px;border:1.5px solid currentColor;border-radius:3px;}.trust-sidebar-icon--new::after{width:8px;height:8px;left:5px;top:5px;background:linear-gradient(currentColor,currentColor) center/1.5px 8px no-repeat,linear-gradient(currentColor,currentColor) center/8px 1.5px no-repeat;}
.trust-sidebar-icon--message::before{width:15px;height:11px;left:1px;top:3px;border:1.5px solid currentColor;border-radius:4px;}.trust-sidebar-icon--message::after{width:5px;height:5px;left:4px;top:12px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:skewY(-30deg);}
.trust-sidebar-icon--model::before{width:13px;height:15px;left:3px;top:1px;border:1.5px solid currentColor;border-radius:2px;}.trust-sidebar-icon--model::after{width:7px;height:1.5px;left:6px;top:6px;background:currentColor;box-shadow:0 4px currentColor;}
.trust-sidebar-icon--archive::before{width:15px;height:12px;left:1px;top:4px;border:1.5px solid currentColor;border-radius:2px;}.trust-sidebar-icon--archive::after{width:7px;height:1.5px;left:5px;top:8px;background:currentColor;}
.trust-sidebar-icon--manual::before{width:14px;height:14px;left:2px;top:2px;border:1.5px solid currentColor;border-radius:50%;}.trust-sidebar-icon--manual::after{width:1.5px;height:8px;left:8px;top:5px;background:currentColor;transform:rotate(-45deg);}
.trust-sidebar-icon--file::before{width:12px;height:15px;left:3px;top:1px;border:1.5px solid currentColor;border-radius:2px;}.trust-sidebar-icon--file::after{width:6px;height:1.5px;left:6px;top:7px;background:currentColor;box-shadow:0 3px currentColor;}
.trust-sidebar-icon--notification::before{width:12px;height:13px;left:3px;top:2px;border:1.5px solid currentColor;border-radius:7px 7px 3px 3px;}.trust-sidebar-icon--notification::after{width:5px;height:1.5px;left:6.5px;top:16px;background:currentColor;border-radius:2px;}
.trust-sidebar-icon--send::before{width:15px;height:13px;left:1px;top:2px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:skewY(-28deg) rotate(-15deg);}.trust-sidebar-icon--send::after{width:8px;height:1.5px;left:5px;top:9px;background:currentColor;transform:rotate(-28deg);}
.trust-sidebar-icon--link::before,.trust-sidebar-icon--link::after{width:9px;height:6px;border:1.5px solid currentColor;border-radius:5px;top:6px;transform:rotate(-38deg);}.trust-sidebar-icon--link::before{left:1px;}.trust-sidebar-icon--link::after{right:1px;}
.trust-sidebar-icon--code::before{width:7px;height:7px;left:2px;top:5px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);}.trust-sidebar-icon--code::after{width:7px;height:7px;right:2px;top:5px;border-right:1.5px solid currentColor;border-top:1.5px solid currentColor;transform:rotate(45deg);}
.trust-sidebar-icon--support::before{width:14px;height:14px;left:2px;top:1px;border:1.5px solid currentColor;border-radius:50%;}.trust-sidebar-icon--support::after{width:7px;height:1.5px;left:5.5px;top:8px;background:currentColor;box-shadow:0 3px currentColor;}
.trust-sidebar-icon--public::before{width:14px;height:14px;left:2px;top:2px;border:1.5px solid currentColor;border-radius:50%;}.trust-sidebar-icon--public::after{width:1.5px;height:14px;left:8px;top:2px;background:currentColor;box-shadow:-4px 6px 0 -0.5px currentColor,4px 6px 0 -0.5px currentColor;}
.trust-sidebar-icon--company::before{width:12px;height:14px;left:3px;top:2px;border:1.5px solid currentColor;border-radius:1px;}.trust-sidebar-icon--company::after{width:1.5px;height:1.5px;left:6px;top:6px;background:currentColor;box-shadow:4px 0 currentColor,0 4px currentColor,4px 4px currentColor;}
.trust-sidebar-icon--users::before{width:7px;height:7px;left:2px;top:2px;border:1.5px solid currentColor;border-radius:50%;box-shadow:7px 2px 0 -1px #05080d,7px 2px 0 .5px currentColor;}.trust-sidebar-icon--users::after{width:13px;height:7px;left:1px;bottom:1px;border:1.5px solid currentColor;border-bottom:0;border-radius:9px 9px 0 0;}

.trust-sidebar-backdrop{
    display:none;
}

@media (min-width:901px){
    html.trust-sidebar-collapsed .trust-layout{grid-template-columns:72px minmax(0,1fr);}
    html.trust-sidebar-collapsed .trust-sidebar{width:72px;min-width:72px;padding:14px 10px 24px;overflow-x:hidden;}
    html.trust-sidebar-collapsed .trust-sidebar-brand{margin-bottom:15px;padding:0 0 12px;}
    html.trust-sidebar-collapsed .trust-sidebar-brand__link{width:52px;height:52px;}
    html.trust-sidebar-collapsed .trust-sidebar-brand img{width:52px;max-width:52px;height:52px;object-fit:contain;}
    html.trust-sidebar-collapsed .trust-sidebar-brand__controls{justify-content:center;margin-top:7px;}
    html.trust-sidebar-collapsed .trust-sidebar-collapse span{transform:rotate(225deg) translate(1px,-1px);}
    html.trust-sidebar-collapsed .trust-sidebar-section{margin-bottom:12px;padding-bottom:10px;}
    html.trust-sidebar-collapsed .trust-sidebar-section__title,
    html.trust-sidebar-collapsed .trust-menu-child,
    html.trust-sidebar-collapsed .trust-menu-grandchild,
    html.trust-sidebar-collapsed .trust-sidebar-badge{display:none!important;}
    html.trust-sidebar-collapsed .trust-sidebar .trust-menu{min-height:42px;justify-content:center;gap:0;padding:10px 8px;font-size:0;}
    html.trust-sidebar-collapsed .trust-sidebar .trust-menu::after{display:none;}
    html.trust-sidebar-collapsed .trust-sidebar-icon{width:20px;height:20px;flex-basis:20px;transform:scale(1);}
    html.trust-sidebar-collapsed .trust-main{grid-column:2;}
}

/* ==========================================================
   AREA CENTRALE
========================================================== */

.trust-main{

    min-width:0;

    background:
        radial-gradient(circle at 72% 0%, rgba(30,115,190,.14), transparent 34%),
        #05080d;

    padding:22px;
    color:#f4f7fb;
    overflow-x:hidden;

}

/* Shell operativa: controlli fermi e una sola area dati sui due assi. */
.trust-main.trust-data-page{display:flex;min-height:0;flex-direction:column;overflow:hidden;}
.trust-main.trust-data-page>.trust-data-page__viewport,
.trust-main.trust-data-page>.trust-card:has(.trust-manual-archive-table),
.trust-main.trust-data-page--companies>.trust-card:last-of-type{display:flex;min-height:170px;flex:1 1 260px;overflow:hidden;}
.trust-data-page__viewport>.trust-card__body,
.trust-main.trust-data-page>.trust-card:has(.trust-manual-archive-table)>.trust-card__body,
.trust-main.trust-data-page--companies>.trust-card:last-of-type>.trust-card__body{display:flex;width:100%;min-width:0;min-height:0;flex-direction:column;overflow:hidden;}
.trust-main.trust-data-page .trust-data-page__viewport .trust-table-wrap,
.trust-main.trust-data-page>.trust-card:has(.trust-manual-archive-table) .trust-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;}
.trust-main.trust-data-page--companies>.trust-card:last-of-type>.trust-card__body{overflow:auto;overscroll-behavior:contain;}
.trust-main.trust-data-page .trust-table{border-collapse:separate;border-spacing:0;}
.trust-main.trust-data-page .trust-table thead th{position:sticky;z-index:5;top:0;background:#0e1825;box-shadow:0 1px 0 var(--trust-border-accent);}
.trust-main.trust-data-page>.trust-data-page__viewport{margin-bottom:0;}

.trust-main h1,
.trust-main h2,
.trust-main h3{
    color:#f4f7fb;
}


/* ==========================================================
   KPI
========================================================== */

.trust-dashboard{

    display:grid;

    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:12px;

    margin:14px 0;

}

.trust-kpi{

    background:
        linear-gradient(180deg, rgba(13,17,23,.94), rgba(7,12,19,.98));

    border:1px solid rgba(192,195,199,.20);

    border-radius:16px;

    padding:14px;

    min-height:82px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    box-shadow:
        0 0 0 1px rgba(86,168,255,.04) inset,
        0 16px 44px rgba(0,0,0,.24);

}

.trust-kpi-title{

    font-size:13px;

    color:#aeb7c4;

    margin-bottom:8px;

}

.trust-kpi-value{

    font-size:34px;

    font-weight:700;

    color:#f4f7fb;

}

.trust-kpi-code{

    font-size:20px;

    word-break:break-word;

}

.trust-dashboard-split{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(260px,1fr);
    gap:20px;
    margin-top:20px;
}

.trust-app{
    background:#05080d;
}

/* Layout autenticato: navigazione persistente e solo contenuto centrale scrollabile. */
.trust-app{
    height:100vh;
    padding-top:72px;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    overflow:hidden;
}

.trust-header{
    position:fixed;
    z-index:1100;
    top:0;
    right:0;
    left:0;
}

.trust-layout{
    min-height:0;
    height:100%;
}

.trust-sidebar{
    position:fixed;
    z-index:1000;
    top:72px;
    left:0;
    height:calc(100vh - 72px);
}

.trust-main{
    grid-column:2;
    min-height:0;
    height:100%;
    overflow-y:auto;
}

.trust-footer{
    margin-top:0;
    border-top:1px solid rgba(192,195,199,.14);
    background:#05080d;
}

.trust-footer__container{
    color:#8f9aa8;
}
/* ==========================================================
   TABELLE
========================================================== */

.trust-table{

    width:100%;

    border-collapse:collapse;

    background:#0a1018;

    border-radius:14px;

    overflow:hidden;

}

.trust-table thead{

    background:#0d1724;

}

.trust-table th{

    color:#dce4ee;

    padding:10px 12px;

    text-align:left;

    font-size:14px;

    font-weight:600;

}

.trust-table td{

    padding:10px 12px;

    border-bottom:1px solid rgba(192,195,199,.12);

    font-size:14px;
    color:#dce4ee;
    vertical-align:top;

}

.trust-table a{
    color:#8ec7ff;
    text-decoration:underline;
    text-underline-offset:3px;
}

.trust-table th,
.trust-table td{
    overflow-wrap:anywhere;
}

.trust-table tbody tr:hover{

    background:rgba(30,115,190,.08);

}

.trust-table-compact{

    border:1px solid rgba(192,195,199,.16);

    border-radius:10px;

}

.trust-table-compact th{

    width:24%;

    color:#cfd8e3;

    background:#0d1724;

    padding:7px 10px;

    vertical-align:top;

    font-size:13px;

    line-height:1.25;

}

.trust-table-compact thead th{
    width:auto;
}

.trust-table-compact td{

    color:#f4f7fb;

    padding:7px 10px;

    font-size:13px;

    line-height:1.25;

}

.trust-card-compact .trust-card__body{

    padding:16px;

}

.trust-card-compact h2{

    margin-bottom:10px;

}

.trust-card-compact .trust-section{

    margin-top:14px;

}

.trust-card .trust-card,
.trust-main .trust-card .trust-card{
    background:rgba(7,12,19,.72);
    box-shadow:none;
}

.trust-main .trust-label,
.trust-main label{
    color:#dce4ee;
}

.trust-main .trust-input,
.trust-main .trust-select,
.trust-main .trust-textarea{
    background:#070c13;
    color:#f4f7fb;
    border-color:rgba(192,195,199,.24);
}

.trust-main .trust-page-description,
.trust-main .trust-card p{
    color:#cfd8e3;
}

.trust-table-compact td:nth-child(6),
.trust-table-compact td:last-child{
    max-width:420px;
    white-space:normal;
}

.trust-notifiche-table th:nth-child(1),
.trust-notifiche-table td:nth-child(1),
.trust-notifiche-table th:nth-child(2),
.trust-notifiche-table td:nth-child(2){
    width:9%;
}

.trust-notifiche-table th:nth-child(3),
.trust-notifiche-table td:nth-child(3){
    width:14%;
}

.trust-notifiche-table th:nth-child(4),
.trust-notifiche-table td:nth-child(4){
    width:11%;
}

.trust-notifiche-table th:nth-child(5),
.trust-notifiche-table td:nth-child(5),
.trust-notifiche-table th:nth-child(6),
.trust-notifiche-table td:nth-child(6),
.trust-notifiche-table th:nth-child(7),
.trust-notifiche-table td:nth-child(7){
    width:16%;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(8),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(8){
    width:48%;
    min-width:460px;
    white-space:normal;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(3),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(3){
    width:9%;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(4),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(4),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(5),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(5){
    width:9%;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(6),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(6),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(7),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(7){
    width:10%;
}

/* Dettaglio completo delle richieste assistenza nel Centro Notifiche. */
.trust-notifiche-table.trust-notifiche-assistenza{
    table-layout:auto;
    min-width:1180px;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-detail{
    width:36%;
    min-width:360px;
    white-space:normal;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-status{
    width:1%;
    min-width:108px;
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
    text-align:center;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-actions{
    width:1%;
    min-width:160px;
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
}

.trust-assistenza-dettaglio{
    display:grid;
    gap:6px;
    min-width:0;
}

.trust-assistenza-dettaglio__riga{
    display:grid;
    grid-template-columns:minmax(92px, auto) minmax(0, 1fr);
    gap:8px;
    align-items:start;
}

.trust-assistenza-dettaglio__etichetta{
    color:#9fb0c3;
    font-weight:700;
    white-space:nowrap;
}

.trust-assistenza-dettaglio__valore{
    min-width:0;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    word-break:normal;
}

.trust-assistenza-stato{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:82px;
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
    text-align:center;
}

/* Priorita' di lettura: dettaglio richiesta, dati tecnici, stato, azione. */
.trust-notifiche-table.trust-notifiche-assistenza{
    table-layout:fixed;
    min-width:1120px;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(1),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(1),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(2),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(2){
    width:5%;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(3),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(3){
    width:7%;
}

.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(4),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(4),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(5),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(5),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(6),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(6),
.trust-notifiche-table.trust-notifiche-assistenza th:nth-child(7),
.trust-notifiche-table.trust-notifiche-assistenza td:nth-child(7){
    width:6%;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-detail{
    width:44%;
    min-width:0;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-status{
    width:7%;
    min-width:96px;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-actions{
    width:8%;
    min-width:124px;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-assistenza-stato{
    min-width:88px;
    padding:7px 13px;
    font-size:13px;
    font-weight:800;
}

.trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-actions .trust-btn{
    min-height:34px;
    padding:6px 9px;
    font-size:12px;
    line-height:1.2;
    white-space:nowrap;
}

.trust-campagne-table th:nth-child(2),
.trust-campagne-table td:nth-child(2){
    width:24%;
}

.trust-campagne-table th:nth-child(3),
.trust-campagne-table td:nth-child(3){
    width:18%;
}

.trust-filter-grid-campagne{
    grid-template-columns:minmax(130px, .9fr) minmax(130px, .9fr) minmax(120px, .8fr) minmax(150px, 1fr) minmax(220px, 1.35fr) minmax(180px, 1fr) auto;
}

.trust-geco-update-table th:nth-child(6),
.trust-geco-update-table td:nth-child(6){
    width:240px;
    min-width:220px;
}

.trust-geco-update-table .trust-btn,
.trust-sms-preview-table .trust-btn{
    white-space:nowrap;
}

.trust-sms-preview-table th:nth-child(1),
.trust-sms-preview-table td:nth-child(1){ width:9%; }

.trust-sms-preview-table th:nth-child(2),
.trust-sms-preview-table td:nth-child(2){ width:13%; }

.trust-sms-preview-table th:nth-child(3),
.trust-sms-preview-table td:nth-child(3){ width:11%; }

.trust-sms-preview-table th:nth-child(4),
.trust-sms-preview-table td:nth-child(4){ width:7%; }

.trust-sms-preview-table th:nth-child(5),
.trust-sms-preview-table td:nth-child(5){ width:9%; }

.trust-sms-preview-table th:nth-child(6),
.trust-sms-preview-table td:nth-child(6){ width:12%; }

.trust-sms-preview-table th:nth-child(7),
.trust-sms-preview-table td:nth-child(7){ width:10%; }

.trust-sms-preview-table th:nth-child(8),
.trust-sms-preview-table td:nth-child(8){
    width:29%;
    min-width:230px;
    white-space:normal;
}

.trust-sms-preview-text summary{
    cursor:pointer;
    color:#bfdbfe;
    font-weight:700;
}

.trust-sms-preview-text details > div{
    margin-top:8px;
    color:#e7edf5;
    overflow-wrap:anywhere;
}


/* ==========================================================
   BADGE
========================================================== */

.trust-badge{

    display:inline-block;

    padding:6px 12px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.trust-badge-success{

    background:rgba(22,163,74,.18);

    color:#bbf7d0;
    border:1px solid rgba(74,222,128,.28);

}

.trust-badge-danger{

    background:rgba(220,38,38,.18);

    color:#fecaca;
    border:1px solid rgba(248,113,113,.28);

}

.trust-badge-warning{

    background:rgba(245,158,11,.18);

    color:#fde68a;
    border:1px solid rgba(251,191,36,.28);

}

.trust-badge-info{

    background:rgba(37,99,235,.18);

    color:#bfdbfe;
    border:1px solid rgba(96,165,250,.28);

}


/* ==========================================================
   SEZIONI
========================================================== */

.trust-section{

    margin-top:12px;

}

.trust-form-actions{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    align-items:center;

}

.trust-filter-grid{

    display:grid;

    grid-template-columns:repeat(6,minmax(0,1fr));

    gap:12px;

    align-items:end;

}

.trust-progress{

    height:16px;

    background:#111827;
    border:1px solid rgba(192,195,199,.14);

    border-radius:999px;

    overflow:hidden;

}

.trust-progress__bar{

    height:100%;

    background:linear-gradient(135deg, #6b7280, #c0c3c7);

    border-radius:999px;

}

.trust-progress__bar--low{
    background:linear-gradient(135deg, #6b7280, #c0c3c7);
}

.trust-progress__bar--mid{
    background:linear-gradient(135deg, #b9dcff, #7fc0ff);
}

.trust-progress__bar--high{
    background:linear-gradient(135deg, #56a8ff, #1e73be);
}

.trust-progress__bar--full{
    background:linear-gradient(135deg, #1e73be, #0f4f91);
}

.trust-workflow{

    display:grid;

    grid-template-columns:repeat(7,minmax(0,1fr));

    gap:8px;

}

.trust-workflow__step{

    min-height:74px;

    border:1px solid rgba(192,195,199,.18);

    border-radius:10px;

    background:linear-gradient(180deg, rgba(13,17,23,.94), rgba(7,12,19,.98));
    color:#cfd8e3;

    padding:10px;

    display:flex;

    flex-direction:column;

    gap:6px;

}

.trust-workflow__step span{

    width:30px;

    height:30px;

    border-radius:999px;

    background:#111827;

    color:#cfd8e3;
    border:1px solid rgba(192,195,199,.18);

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:800;

}

.trust-workflow__step.is-complete{

    border-color:rgba(86,168,255,.46);

    background:linear-gradient(180deg, rgba(30,115,190,.22), rgba(7,12,19,.98));

}

.trust-workflow__step.is-complete span{

    background:linear-gradient(135deg, #1e73be, #56a8ff);

    color:#fff;

}

.trust-workflow__step.is-current{
    border-color:rgba(86,168,255,.78);
    box-shadow:0 0 0 1px rgba(86,168,255,.16);
}

.trust-workflow-title{
    margin:20px 0 0;
    font-size:16px;
}

.trust-operational-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:14px;
    border:1px solid rgba(192,195,199,.18);
    border-radius:10px;
    background:rgba(255,255,255,.035);
}

.trust-operational-summary > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.trust-operational-summary__label{
    color:#9ca8b6;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.trust-operational-actions{
    margin-top:20px;
}

.trust-danger-zone{
    margin-top:36px;
    padding-top:24px;
    border-top:1px solid rgba(174,87,87,.34);
}

.trust-danger-zone__label{
    margin:0 0 12px;
    color:#d8a4a4;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

@media (max-width:640px){
    .trust-danger-zone .trust-btn{width:100%;white-space:normal;}
}


/* ==========================================================
   UTILITIES
========================================================== */

.trust-text-center{

    text-align:center;

}

.trust-w-100{

    width:100%;

}

.trust-hidden{

    display:none;

}


/* ==========================================================
   FRONT OFFICE
========================================================== */

.trust-public{

    min-height:100vh;
    min-height:100svh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:32px;

    background:
        radial-gradient(circle at 50% 10%, rgba(30,115,190,.22), transparent 34%),
        linear-gradient(135deg, #030508 0%, #05080d 48%, #0d1117 100%);
    color:#dce4ee;
    overflow-x:hidden;

}

.trust-public-panel{

    width:min(920px,100%);

    background:
        linear-gradient(180deg, rgba(13,17,23,.96), rgba(5,8,13,.98));

    border:1px solid rgba(192,195,199,.20);

    border-radius:22px;

    padding:32px;

    box-shadow:
        0 0 0 1px rgba(86,168,255,.05) inset,
        0 24px 80px rgba(0,0,0,.42);

}

.trust-public-logo{

    width:min(310px, 78vw);

    height:auto;

    display:block;

    margin:0 auto 22px;
    filter:drop-shadow(0 14px 28px rgba(0,0,0,.36));

}

.trust-platform-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin:0 auto 24px;
    padding:0;
    overflow:visible;
}

.trust-platform-logo img{
    display:block;
    width:100%;
    max-width:380px;
    height:auto;
    object-fit:contain;
    object-position:center;
    filter:drop-shadow(0 14px 28px rgba(0,0,0,.36));
}

.trust-public-title{
    margin:0 0 12px;
    font-size:clamp(32px, 4vw, 48px);
    line-height:1.1;
    font-weight:700;
}

.trust-public h1,
.trust-public h2,
.trust-public h3{
    color:#f4f7fb;
}

.trust-public p,
.trust-public li,
.trust-public td{
    color:#cfd8e3;
}

.trust-public a:not(.trust-btn){
    color:#8ec7ff;
    text-decoration:underline;
    text-underline-offset:3px;
}

.trust-public-brand{
    text-align:center;
}

.trust-public-intro{
    text-align:left;
}

.trust-eyebrow{
    margin-bottom:10px;
    color:#9fcfff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.trust-honeypot{
    position:absolute;
    left:-10000px;
    width:1px;
    height:1px;
    overflow:hidden;
}

.trust-privacy-consent{
    display:flex;
    gap:10px;
    align-items:flex-start;
    color:#cfd8e3;
    font-size:14px;
}

.trust-public-footer{
    margin-top:28px;
    padding-top:18px;
    border-top:1px solid rgba(192,195,199,.14);
    color:#9ca8b6;
    font-size:13px;
    text-align:center;
}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1200px){

    .trust-dashboard{

        grid-template-columns:repeat(2,1fr);

    }

    .trust-dashboard-split{
        grid-template-columns:1fr;
    }

    .trust-workflow{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }

    .trust-filter-grid,
    .trust-filter-grid-campagne{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

}

@media (max-width:900px){

    .trust-main{
        grid-column:1;
    }

    .trust-layout{

        grid-template-columns:1fr;

    }

    .trust-sidebar{
        position:fixed;
        z-index:1000;
        top:72px;
        left:0;
        height:calc(100vh - 72px);
        transform:translateX(-105%);
        transition:transform .25s ease;
        box-shadow:24px 0 60px rgba(0,0,0,.38);

    }

    .trust-sidebar-collapse{display:none;}

    html.trust-sidebar-collapsed .trust-layout{grid-template-columns:1fr;}

    .trust-main.trust-data-page{display:block;overflow-y:auto;}
    .trust-main.trust-data-page>.trust-data-page__viewport,
    .trust-main.trust-data-page>.trust-card:has(.trust-manual-archive-table),
    .trust-main.trust-data-page--companies>.trust-card:last-of-type{display:block;min-height:0;overflow:visible;}
    .trust-main.trust-data-page .trust-data-page__viewport .trust-table-wrap,
    .trust-main.trust-data-page>.trust-card:has(.trust-manual-archive-table) .trust-table-wrap{max-height:65vh;overflow:auto;}

    body.trust-menu-open .trust-sidebar{
        transform:translateX(0);
    }

    .trust-sidebar-backdrop{
        display:none;
        position:fixed;
        z-index:999;
        inset:72px 0 0 0;
        background:rgba(0,0,0,.58);
    }

    body.trust-menu-open .trust-sidebar-backdrop{
        display:block;
    }

    .trust-menu-toggle{
        display:flex;
    }

}

@media (max-width:768px){

    .trust-dashboard{

        grid-template-columns:1fr;

    }

    .trust-header__container{

        padding:0 16px;

    }

    .trust-main{

        padding:16px;

    }

    .trust-table{

        display:block;

        overflow-x:auto;
        max-width:100%;

    }

    .trust-btn{

        width:auto;

    }

    .trust-form-actions .trust-btn{
        width:100%;
    }

    .trust-workflow{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .trust-operational-summary{
        grid-template-columns:1fr;
    }

    .trust-table.trust-sms-preview-table{
        display:block;
        overflow:visible;
    }

    .trust-sms-preview-table thead{
        display:none;
    }

    .trust-sms-preview-table tbody,
    .trust-sms-preview-table tr,
    .trust-sms-preview-table td{
        display:block;
        width:auto;
        min-width:0;
    }

    .trust-sms-preview-table tr{
        margin-top:12px;
        border:1px solid rgba(192,195,199,.18);
        border-radius:10px;
        background:rgba(255,255,255,.025);
        overflow:hidden;
    }

    .trust-sms-preview-table td{
        display:grid;
        grid-template-columns:minmax(112px,.8fr) minmax(0,1.2fr);
        gap:10px;
        padding:10px 12px;
        border:0;
        border-bottom:1px solid rgba(192,195,199,.1);
        overflow-wrap:anywhere;
    }

    .trust-sms-preview-table td:last-child{
        border-bottom:0;
    }

    .trust-sms-preview-table td::before{
        content:attr(data-label);
        color:#9ca8b6;
        font-size:12px;
        font-weight:700;
    }

    .trust-filter-grid,
    .trust-filter-grid-campagne{
        grid-template-columns:1fr;
    }

    .trust-between{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
    }

    .trust-form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .trust-public{
        padding:18px;
        align-items:flex-start;
    }

    .trust-public-panel{
        padding:24px 18px;
        border-radius:20px;
    }

    .trust-public-logo{
        width:min(280px, 82vw);
    }

    .trust-platform-logo{
        margin-bottom:18px;
    }

    .trust-platform-logo img{
        width:100%;
        max-width:280px;
        height:auto;
    }

    .trust-public-title{
        font-size:32px;
    }

    .trust-header__container{
        min-height:72px;
    }

    .trust-header-title strong{
        font-size:18px;
    }

    .trust-header-title span{
        display:none;
    }

}

@media (max-width:767px){

    .trust-campagne-table,
    .trust-notifiche-table,
    .trust-geco-update-table{
        display:block;
        width:100%;
        max-width:100%;
        overflow:visible;
        border:0;
        background:transparent;
    }

    .trust-campagne-table thead,
    .trust-notifiche-table thead,
    .trust-geco-update-table thead{
        display:none;
    }

    .trust-campagne-table tbody,
    .trust-notifiche-table tbody,
    .trust-geco-update-table tbody{
        display:block;
        width:100%;
    }

    .trust-campagne-table tr,
    .trust-notifiche-table tr,
    .trust-geco-update-table tr{
        display:block;
        width:100%;
        margin:0 0 12px;
        border:1px solid rgba(192,195,199,.16);
        border-radius:14px;
        background:linear-gradient(180deg, rgba(13,17,23,.94), rgba(7,12,19,.98));
        overflow:hidden;
    }

    .trust-campagne-table td,
    .trust-notifiche-table td,
    .trust-geco-update-table td{
        display:block;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        padding:10px 12px;
        border-bottom:1px solid rgba(192,195,199,.10);
        white-space:normal;
        word-break:normal;
        overflow-wrap:normal;
        text-align:left;
    }

    .trust-campagne-table td[data-label]::before,
    .trust-notifiche-table td[data-label]::before,
    .trust-geco-update-table td[data-label]::before{
        content:attr(data-label);
        display:block;
        width:100%;
        margin:0 0 5px;
        color:#9fb0c3;
        font-size:11px;
        font-weight:800;
        letter-spacing:.06em;
        line-height:1.3;
        text-transform:uppercase;
        white-space:normal;
        word-break:normal;
        overflow-wrap:normal;
    }

    .trust-campagne-table td[data-label="ID campagna"],
    .trust-notifiche-table td[data-label="Codice TRUST"],
    .trust-notifiche-table td[data-label="Dettaglio"],
    .trust-geco-update-table td[data-label="ID campagna"]{
        overflow-wrap:anywhere;
    }

    .trust-campagne-table .trust-badge,
    .trust-notifiche-table .trust-badge,
    .trust-geco-update-table .trust-badge{
        display:inline-flex;
        width:auto;
        max-width:100%;
        white-space:normal;
        word-break:normal;
    }

    .trust-campagne-table .trust-btn,
    .trust-geco-update-table .trust-btn{
        width:100%;
        justify-content:center;
        white-space:normal;
        word-break:normal;
    }
}

@media (max-width:560px){

    .trust-dashboard{
        grid-template-columns:1fr;
    }

    .trust-sidebar{
        width:min(300px, 86vw);
        min-width:0;
    }

    .trust-header__actions{
        gap:10px;
    }

    .trust-user{
        display:none;
    }

    .trust-main{
        overflow-x:hidden;
    }

}

@media (max-width:480px){

    .trust-login{

        align-items:flex-start;
        padding:14px 16px 18px;

    }

    .trust-login__logo{
        margin-bottom:8px;
    }

    .trust-login__logo img{
        width:min(330px, 88vw);
        max-height:24vh;
    }

    .trust-login .trust-card{
        border-radius:22px;
    }

    .trust-login .trust-card__body{
        padding:30px 22px;
    }

    .trust-login__title{
        font-size:27px;
    }

    .trust-login__eyebrow{
        letter-spacing:.20em;
    }

    .trust-login__footer{
        align-items:center;
        flex-direction:column;
        gap:2px;
        margin-top:14px;
        text-align:center;
    }

    h1{

        font-size:28px;

    }

    .trust-public{
        padding:14px;
    }

    .trust-public-panel{
        padding:22px 16px;
        border-radius:18px;
    }

    .trust-public .trust-table th,
    .trust-public .trust-table td,
    .trust-table-compact th,
    .trust-table-compact td{
        min-width:0;
    }

    .trust-table-compact:not(.trust-campagne-table):not(.trust-sms-preview-table):not(.trust-notifiche-table):not(.trust-geco-update-table) tr{
        display:grid;
        grid-template-columns:minmax(120px, .9fr) minmax(0, 1.4fr);
    }

    .trust-table-compact:not(.trust-campagne-table):not(.trust-sms-preview-table):not(.trust-notifiche-table):not(.trust-geco-update-table) th,
    .trust-table-compact:not(.trust-campagne-table):not(.trust-sms-preview-table):not(.trust-notifiche-table):not(.trust-geco-update-table) td{
        width:auto;
        overflow-wrap:break-word;
    }

    .trust-public-logo{
        margin-bottom:14px;
    }

    .trust-public-panel{
        padding:18px 14px;
    }

}


@media (max-width:767px){
    .trust-notifiche-table.trust-notifiche-assistenza{
        min-width:0;
    }

    .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-status,
    .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-actions{
        min-width:0 !important;
        white-space:normal;
    }

    .trust-notifiche-table.trust-notifiche-assistenza .trust-assistenza-stato{
        display:inline-flex;
        min-width:82px;
        white-space:nowrap;
        word-break:normal;
        overflow-wrap:normal;
    }

    .trust-notifiche-table.trust-notifiche-assistenza .trust-assistenza-dettaglio__riga{
        grid-template-columns:1fr;
        gap:2px;
    }
}

/* ==========================================================
   END OF FILE
========================================================== */

/* Comunicazioni manuali: destinatari indipendenti, leggibili anche in serie. */
.trust-destinatario-blocco{
    margin-top:18px;
    border:1px solid rgba(86,168,255,.58);
    border-radius:14px;
    background:rgba(7,12,19,.72);
    box-shadow:0 0 0 1px rgba(86,168,255,.08) inset;
}
.trust-destinatario-blocco + .trust-destinatario-blocco{
    position:relative;
}
.trust-destinatario-blocco + .trust-destinatario-blocco::before{
    content:'';
    position:absolute;
    top:-13px;
    left:20px;
    right:20px;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(86,168,255,.55), transparent);
}
.trust-destinatario-blocco legend{
    padding:0 8px;
    color:#8cc7ff;
    font-size:14px;
    font-weight:800;
    letter-spacing:.02em;
}
.trust-comunicazioni-riepilogo .trust-card__body{
    display:grid;
    gap:14px;
}
.trust-comunicazioni-riepilogo .trust-form-actions{ margin:0; }
.trust-riepilogo-gruppo-kpi,
.trust-riepilogo-gruppo-stato,
.trust-riepilogo-gruppo-azioni{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 18px;
}
.trust-riepilogo-gruppo-kpi strong{font-size:18px;color:#fff;}
.trust-riepilogo-gruppo-kpi span,
.trust-riepilogo-gruppo-stato span{color:#b9c8d8;}
.trust-riepilogo-gruppo-stato{padding-top:12px;border-top:1px solid rgba(86,168,255,.22);}
.trust-riepilogo-gruppo-azioni{padding-top:2px;}

/* Comunicazioni manuali: evidenza sobria per le sole attività ancora da completare. */
.trust-main .trust-comunicazioni-riepilogo .trust-manual-pending{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border:1px solid rgba(174,87,87,.45);
    border-radius:7px;
    background:rgba(136,53,53,.11);
    color:#e5c9c9;
    font-size:12px;
    font-weight:500;
    line-height:1.35;
}
.trust-main .trust-comunicazioni-riepilogo .trust-manual-action-required{
    border-color:rgba(174,87,87,.42);
    border-left-color:rgba(174,87,87,.7);
    background:rgba(136,53,53,.12);
    color:#e5c9c9;
}
.trust-main .trust-comunicazioni-riepilogo .trust-manual-action-required strong{color:#f0d7d7;}
.trust-main .trust-verification-mode{margin:0 0 18px;}
.trust-main .trust-verification-mode__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.trust-main .trust-verification-mode__choice{position:relative;display:block;min-width:0;cursor:pointer;}
.trust-main .trust-verification-mode__choice input{position:absolute;opacity:0;pointer-events:none;}
.trust-main .trust-verification-mode__choice span{display:flex;min-height:108px;flex-direction:column;justify-content:center;gap:8px;padding:20px 22px;border:2px solid rgba(91,141,183,.44);border-radius:12px;background:linear-gradient(135deg,rgba(32,65,92,.22),rgba(17,31,44,.24));color:#d7e8f8;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;}
.trust-main .trust-verification-mode__choice strong{font-size:19px;letter-spacing:.02em;color:#f4f9ff;}
.trust-main .trust-verification-mode__choice small{font-size:14px;line-height:1.45;color:#b6cadb;}
.trust-main .trust-verification-mode__choice input:checked + span{border-color:#58aef0;background:linear-gradient(135deg,rgba(27,114,180,.46),rgba(24,67,105,.46));box-shadow:0 0 0 3px rgba(88,174,240,.16),0 8px 18px rgba(5,29,50,.2);}
.trust-main .trust-verification-mode__choice input:focus-visible + span{outline:3px solid rgba(133,201,255,.78);outline-offset:3px;}
.trust-main .trust-manual-none-notice{margin-top:14px;padding:15px 17px;border:1px solid rgba(87,157,208,.54);border-left:4px solid #55abe8;border-radius:9px;background:rgba(32,83,123,.18);color:#d3e6f3;}
.trust-main .trust-manual-none-notice strong{display:block;margin-bottom:6px;color:#a7dcff;font-size:13px;letter-spacing:.04em;}
.trust-main .trust-manual-none-notice p{margin:0;font-size:14px;line-height:1.5;}
.trust-main .trust-manual-provider-ready{flex-basis:100%;color:#a9c9df;font-size:12px;line-height:1.4;}
.trust-main .trust-manual-provider-confirm{margin:0;padding:13px 15px;}
.trust-main .trust-manual-provider-confirm__fields{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(0,1.25fr);gap:10px 14px;align-items:end;}
.trust-main .trust-manual-provider-confirm .trust-form-group{margin:0;}
.trust-main .trust-manual-provider-confirm .trust-input{min-height:36px;padding:7px 10px;}
.trust-main .trust-manual-provider-confirm .trust-textarea{min-height:38px;height:38px;padding:8px 10px;resize:vertical;}
.trust-main .trust-manual-provider-confirm .trust-btn{margin-top:10px;}
.trust-main .trust-manual-gateway-actions{display:grid;grid-template-columns:1fr;justify-items:center;gap:16px;margin:0;padding:20px 22px;border:1px solid rgba(93,166,219,.58);border-left:5px solid rgba(85,171,232,.94);border-radius:11px;background:linear-gradient(135deg,rgba(24,72,107,.34),rgba(13,31,45,.30));box-shadow:0 7px 18px rgba(4,22,37,.18);text-align:center;}
.trust-main .trust-manual-gateway-actions strong{display:block;color:#d8efff;font-size:13px;font-weight:750;letter-spacing:.06em;}
.trust-main .trust-manual-gateway-actions p{margin:6px 0 0;color:#d4e4f1;font-size:14px;line-height:1.48;}
.trust-main .trust-manual-gateway-actions .trust-form-actions{justify-content:center;align-items:center;gap:12px 16px;margin:0;}
.trust-main .trust-manual-gateway-actions .trust-btn{min-width:210px;min-height:44px;padding:11px 18px;}
.trust-main .trust-gateway-capabilities p{margin:0;color:#d5e0ea;font-size:14px;line-height:1.5;}
.trust-main .trust-gateway-capabilities p + p{margin-top:9px;}
.trust-main .trust-gateway-operational-note{padding:10px 12px;border-left:3px solid rgba(105,169,217,.78);border-radius:0 7px 7px 0;background:rgba(38,89,127,.18);color:#c6dcec;}
.trust-main .trust-gateway-next-step{padding:13px 15px;border:1px solid rgba(216,170,87,.52);border-left:4px solid #d9aa57;border-radius:8px;background:rgba(124,89,28,.18);color:#f0e1be;}
.trust-main .trust-gateway-next-step strong:first-child{display:block;margin-bottom:5px;color:#ffe1a2;font-size:12px;letter-spacing:.06em;}
.trust-main .trust-gateway-next-step--completed{border-color:rgba(84,197,130,.72);border-left-color:#49bd78;background:linear-gradient(135deg,rgba(25,113,68,.33),rgba(16,64,43,.40));color:#d2ebda;}
.trust-main .trust-gateway-next-step--completed strong:first-child{color:#b9f3ce;}
.trust-main .trust-gateway-next-step--completed p{margin:0 0 12px;color:#d2ebda;}
.trust-main .trust-gateway-final-report-cta{min-width:210px;min-height:46px;padding:11px 18px;font-size:13px;font-weight:750;letter-spacing:.025em;}
.trust-main .trust-gateway-start-cta{min-width:210px;min-height:46px;padding:11px 18px;border-color:rgba(101,181,234,.78);background:linear-gradient(180deg,#245c88,#193e5d);font-size:13px;font-weight:750;letter-spacing:.025em;box-shadow:0 5px 14px rgba(7,39,66,.23);}
.trust-main .trust-gateway-start-pending{display:flex;min-width:250px;flex-direction:column;gap:7px;padding:13px 15px;border:1px solid rgba(80,175,228,.76);border-left:4px solid #55b5ee;border-radius:9px;background:linear-gradient(135deg,rgba(25,103,157,.31),rgba(17,58,91,.33));box-shadow:0 5px 15px rgba(7,42,71,.2);color:#d9efff;}
.trust-main .trust-gateway-start-pending strong{color:#bce8ff;font-size:12px;letter-spacing:.045em;line-height:1.35;}
.trust-main .trust-gateway-start-pending span{color:#dceaf4;font-size:13px;line-height:1.45;}
.trust-main .trust-gateway-concludi-manuale{min-height:44px;padding:11px 17px;font-size:13px;letter-spacing:.025em;}
.trust-main .trust-manual-gateway-completed{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;margin:0 0 18px;padding:25px 28px;border:1px solid rgba(84,197,130,.72);border-left:5px solid #49bd78;border-radius:12px;background:linear-gradient(135deg,rgba(25,113,68,.33),rgba(16,64,43,.40));box-shadow:0 8px 20px rgba(12,72,41,.18);text-align:center;}
.trust-main .trust-manual-gateway-completed h2{margin:0;color:#b9f3ce;font-size:21px;line-height:1.25;letter-spacing:.015em;}
.trust-main .trust-manual-gateway-completed p{margin:7px 0 0;color:#d2ebda;font-size:14px;line-height:1.45;}
.trust-main .trust-manual-gateway-completed__cta{flex:0 0 auto;min-width:260px;min-height:48px;padding:13px 22px;font-size:13px;}
.trust-main .trust-manual-gateway-completed--with-outcomes{border-color:rgba(216,170,87,.72);border-left-color:#d9aa57;background:linear-gradient(135deg,rgba(124,89,28,.30),rgba(69,49,18,.38));box-shadow:0 8px 20px rgba(72,48,10,.18);}
.trust-main .trust-manual-gateway-completed--with-outcomes h2{color:#ffe1a2;}
.trust-main .trust-manual-gateway-completed--with-outcomes p{color:#f0e1be;}
.trust-main .trust-manual-gateway-completed__outcomes{font-weight:650;}
.trust-gateway-start-modal[hidden]{display:none;}
.trust-gateway-start-modal{position:fixed;z-index:1200;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,8,14,.72);}
.trust-gateway-start-modal__panel{width:min(100%,520px);padding:24px;border:1px solid rgba(101,169,220,.62);border-radius:12px;background:#101923;color:#edf2f7;box-shadow:0 20px 48px rgba(0,0,0,.45);}
.trust-gateway-start-modal__panel h2{margin:0 0 12px;color:#d9edff;font-size:20px;line-height:1.3;}
.trust-gateway-start-modal__panel p{margin:0;color:#d4e0ea;font-size:14px;line-height:1.5;}
.trust-gateway-start-modal__panel p + p{margin-top:8px;}
.trust-gateway-start-modal__device{margin-top:18px;text-align:left;}
.trust-gateway-start-modal__device label{display:block;margin:0 0 7px;color:#d9edff;font-size:13px;font-weight:700;letter-spacing:.025em;}
.trust-gateway-start-modal__device .trust-select{width:100%;max-width:none;}
.trust-gateway-start-modal__panel .trust-gateway-start-modal__device-status{margin:8px 0 0;color:#bcd0df;font-size:12px;}
.trust-gateway-start-modal__panel .trust-form-actions{justify-content:flex-end;margin:20px 0 0;}
.trust-main .trust-comunicazioni-riepilogo .trust-btn-concludi-required{
    border-color:rgba(174,87,87,.68);
    background:rgba(136,53,53,.19);
    color:#f0d7d7;
    box-shadow:0 3px 10px rgba(93,35,35,.12);
}
.trust-main .trust-comunicazioni-riepilogo .trust-btn-concludi-required:hover{
    border-color:rgba(202,112,112,.88);
    background:rgba(151,61,61,.27);
    box-shadow:0 5px 14px rgba(93,35,35,.18);
}

/* Chiusura obbligatoria della lavorazione manuale: evidenza operativa, senza animazioni. */
.trust-main .trust-manual-conclusione-required{
    margin:0 0 20px;
    padding:22px;
    border:2px solid rgba(210,93,93,.88);
    border-radius:12px;
    background:linear-gradient(135deg,rgba(111,31,38,.46),rgba(73,24,31,.54));
    box-shadow:0 8px 22px rgba(74,18,24,.22);
}
.trust-main .trust-manual-conclusione-required h2{
    margin:0 0 9px;
    color:#ff626b;
    font-size:24px;
    font-weight:800;
    line-height:1.25;
    letter-spacing:.01em;
}
.trust-main .trust-manual-conclusione-required p{margin:0;color:#f5e3e3;font-size:15px;line-height:1.5;}
.trust-main .trust-manual-conclusione-required .trust-form-actions{margin:18px 0 0;}
.trust-main .trust-manual-conclusione-required{margin-bottom:14px;padding:15px 18px;}
.trust-main .trust-manual-conclusione-required h2{margin-bottom:5px;font-size:18px;}
.trust-main .trust-manual-conclusione-required p{font-size:13px;line-height:1.4;}
.trust-main .trust-manual-conclusione-required .trust-form-actions{margin-top:10px;}
.trust-main .trust-manual-conclusione-ready{
    margin:0 0 14px;
    padding:18px;
    border:2px solid rgba(84,197,130,.72);
    border-radius:12px;
    background:linear-gradient(135deg,rgba(25,113,68,.33),rgba(16,64,43,.40));
    box-shadow:0 8px 20px rgba(12,72,41,.18);
}
.trust-main .trust-manual-conclusione-ready h2{margin:0 0 7px;color:#b9f3ce;font-size:20px;line-height:1.25;}
.trust-main .trust-manual-conclusione-ready p{margin:0;color:#d2ebda;font-size:14px;line-height:1.45;}
.trust-main .trust-manual-conclusione-ready .trust-form-actions{margin:14px 0 0;}
.trust-main .trust-btn-concludi-storicizza{min-height:48px;padding:12px 20px;border-color:#e78989;background:#9f333b;color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em;}
.trust-main .trust-btn-concludi-storicizza:hover{border-color:#ffc2c2;background:#b83e48;box-shadow:0 6px 16px rgba(74,18,24,.28);}
.trust-manual-exit-modal[hidden]{display:none;}
.trust-manual-exit-modal{position:fixed;z-index:1100;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,8,14,.72);}
.trust-manual-exit-modal__panel{width:min(100%,500px);padding:24px;border:1px solid rgba(210,93,93,.7);border-radius:12px;background:#101923;color:#edf2f7;box-shadow:0 20px 48px rgba(0,0,0,.45);}
.trust-manual-exit-modal__panel h2{margin:0 0 10px;color:#ffd5d5;font-size:19px;line-height:1.3;}
.trust-manual-exit-modal__panel p{margin:0;color:#d7e0ea;line-height:1.5;}
@media (max-width:640px){.trust-main .trust-manual-conclusione-required{padding:18px;}.trust-main .trust-manual-conclusione-required h2{font-size:19px;}.trust-main .trust-btn-concludi-storicizza{width:100%;white-space:normal;}.trust-main .trust-verification-mode__choices,.trust-main .trust-manual-provider-confirm__fields,.trust-main .trust-manual-gateway-actions{grid-template-columns:1fr;}.trust-main .trust-verification-mode__choice span{min-height:92px;padding:17px;}.trust-main .trust-manual-gateway-actions .trust-form-actions{align-items:stretch;width:100%;}.trust-main .trust-manual-gateway-actions .trust-btn{width:100%;min-width:0;}.trust-main .trust-gateway-start-pending{min-width:0;}.trust-main .trust-manual-gateway-completed{align-items:stretch;flex-direction:column;padding:20px;}.trust-main .trust-manual-gateway-completed__cta{width:100%;min-width:0;}.trust-gateway-start-modal__panel{padding:20px;}.trust-gateway-start-modal__panel .trust-form-actions{align-items:stretch;}.trust-gateway-start-modal__panel .trust-btn{width:100%;}.trust-manual-exit-modal__panel{padding:20px;}}
.trust-main .trust-comunicazioni-riepilogo .trust-btn-dashboard-return{
    min-height:46px;
    border-color:#43a46f;
    background:#247a4d;
    color:#fff;
    font-weight:750;
    letter-spacing:.02em;
    box-shadow:0 5px 14px rgba(17,87,50,.2);
}
.trust-main .trust-comunicazioni-riepilogo .trust-btn-dashboard-return:hover{
    border-color:#75d59d;
    background:#2c9360;
    color:#fff;
    box-shadow:0 6px 16px rgba(17,87,50,.28);
}
.trust-main .trust-report-conclusa{
    border-color:rgba(74,222,128,.42);
    border-left-color:#4ade80;
    background:rgba(22,163,74,.10);
    color:#d8f7e4;
}
.trust-main .trust-report-conclusa-actions{
    display:flex;
    justify-content:center;
    margin:0 0 24px;
}
.trust-main .trust-report-conclusa-actions .trust-btn{
    min-width:230px;
    justify-content:center;
}
.trust-main .trust-status-conclusa{
    color:#9be7b4;
    font-weight:700;
}
.trust-dashboard-page{width:100%;max-width:none;margin:0;padding-bottom:28px;}
.trust-dashboard-page__header{margin:0 0 18px;}
.trust-dashboard-page__title{display:block;margin:0;color:var(--trust-text-primary);font-size:27px;font-weight:700;letter-spacing:-.035em;line-height:1.24;}
.trust-dashboard-page__tenant{margin:6px 0 0;color:var(--trust-text-secondary);font-size:14px;font-weight:400;line-height:1.55;}
.trust-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:4px 0 14px;}
.trust-dashboard-kpi,.trust-dashboard-panel{border:1px solid var(--trust-border-accent);background:linear-gradient(145deg,rgba(10,18,29,.96),rgba(5,11,19,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.13);}
.trust-dashboard-kpi{min-height:140px;border-radius:11px;padding:22px 20px;display:flex;gap:18px;align-items:flex-start;}
.trust-dashboard-icon{flex:0 0 66px;width:66px;height:66px;border:1px solid rgba(86,168,255,.30);border-radius:12px;background:linear-gradient(145deg,rgba(19,54,90,.88),rgba(4,27,49,.9));position:relative;box-shadow:inset 0 1px 1px rgba(255,255,255,.06);}
.trust-dashboard-icon::before,.trust-dashboard-icon::after{content:"";position:absolute;box-sizing:border-box;}
.trust-dashboard-icon--plus::before{width:25px;height:2px;background:#1683ff;top:31px;left:20px;box-shadow:0 0 11px rgba(22,131,255,.62);}.trust-dashboard-icon--plus::after{height:25px;width:2px;background:#1683ff;left:31px;top:20px;box-shadow:0 0 11px rgba(22,131,255,.62);}
.trust-dashboard-icon--pulse::before{width:35px;height:24px;left:15px;top:20px;border-bottom:2px solid #1683ff;clip-path:polygon(0 55%,27% 55%,39% 0,57% 100%,69% 35%,82% 55%,100% 55%,100% 64%,77% 64%,67% 50%,57% 100%,39% 10%,31% 64%,0 64%);background:#1683ff;box-shadow:0 0 12px rgba(22,131,255,.48);}
.trust-dashboard-icon--check::before{width:36px;height:36px;border:2px solid #1683ff;border-radius:50%;left:14px;top:14px;}.trust-dashboard-icon--check::after{width:13px;height:7px;border-left:2px solid #1683ff;border-bottom:2px solid #1683ff;transform:rotate(-45deg);left:26px;top:27px;}
.trust-dashboard-icon--send::before{width:34px;height:30px;left:16px;top:18px;background:#1683ff;clip-path:polygon(100% 0,72% 100%,51% 65%,31% 78%,40% 57%,0 43%);filter:drop-shadow(0 0 8px rgba(22,131,255,.45));}
.trust-dashboard-icon--message::before{width:30px;height:23px;left:18px;top:19px;border:2px solid #1683ff;border-radius:8px;}.trust-dashboard-icon--message::after{width:8px;height:8px;left:22px;top:38px;border-left:2px solid #1683ff;border-bottom:2px solid #1683ff;transform:skewY(-32deg);}
.trust-dashboard-icon--settings::before{width:31px;height:31px;left:17px;top:17px;border:3px dotted #1683ff;border-radius:50%;}.trust-dashboard-icon--settings::after{width:9px;height:9px;left:28px;top:28px;border:2px solid #1683ff;border-radius:50%;}
.trust-dashboard-icon--layers::before{width:28px;height:22px;left:19px;top:17px;border:2px solid #1683ff;transform:skewY(-28deg) rotate(30deg);}.trust-dashboard-icon--layers::after{width:24px;height:18px;left:21px;top:27px;border:2px solid #1683ff;transform:skewY(-28deg) rotate(30deg);}
.trust-dashboard-icon--play::before{left:24px;top:17px;border-top:16px solid transparent;border-bottom:16px solid transparent;border-left:25px solid #1683ff;}.trust-dashboard-icon--pause::before{left:21px;top:19px;width:24px;height:28px;border:2px solid #1683ff;border-radius:50%;}.trust-dashboard-icon--pause::after{left:29px;top:25px;width:2px;height:15px;background:#1683ff;box-shadow:6px 0 #1683ff;}
.trust-dashboard-icon--shield::before{left:19px;top:16px;width:28px;height:34px;border:2px solid #1683ff;clip-path:polygon(50% 0,100% 14%,92% 72%,50% 100%,8% 72%,0 14%);}.trust-dashboard-icon--shield::after{left:28px;top:28px;width:11px;height:6px;border-left:2px solid #1683ff;border-bottom:2px solid #1683ff;transform:rotate(-45deg);}.trust-dashboard-icon--ban::before{left:17px;top:17px;width:32px;height:32px;border:2px solid #1683ff;border-radius:50%;}.trust-dashboard-icon--ban::after{left:21px;top:31px;width:25px;height:2px;background:#1683ff;transform:rotate(-45deg);}.trust-dashboard-icon--file::before{left:20px;top:15px;width:27px;height:36px;border:2px solid #1683ff;border-radius:2px;}.trust-dashboard-icon--file::after{left:27px;top:30px;width:13px;height:2px;background:#1683ff;box-shadow:0 6px #1683ff;}
.trust-dashboard-kpi__content{min-width:0;display:flex;flex-direction:column;align-items:flex-start;}.trust-dashboard-kpi__content>span{color:#c2c9d2;font-size:14px;line-height:1.35;}.trust-dashboard-kpi__content strong{color:#f6f8fc;font-size:37px;line-height:1.15;font-weight:500;letter-spacing:-.04em;margin:6px 0 8px;}.trust-dashboard-trend{color:#a2abb8;font-size:13px;white-space:nowrap;}.trust-dashboard-trend i{display:inline-block;width:8px;height:8px;margin:0 0 1px 8px;border-top:2px solid #a2abb8;border-right:2px solid #a2abb8;transform:rotate(45deg);}.trust-dashboard-trend.is-up i{border-color:#1683ff;transform:rotate(-45deg);}.trust-dashboard-trend.is-down i{border-color:#aeb8c2;transform:rotate(135deg);}.trust-dashboard-trend--neutral i{width:9px;height:2px;border:0;background:#a2abb8;transform:none;}
.trust-dashboard-panel{border-radius:11px;margin-top:14px;padding:18px 25px 14px;}.trust-dashboard-panel h2{margin:0 0 15px;font-size:19px;font-weight:600;letter-spacing:-.025em;}.trust-dashboard-actions__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}.trust-dashboard-action{min-width:0;min-height:80px;display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid rgba(30,115,190,.58);border-radius:10px;background:rgba(5,13,22,.72);transition:transform .2s ease,background .2s ease,box-shadow .2s ease;}.trust-dashboard-action:hover{transform:translateY(-2px);background:rgba(13,30,47,.86);box-shadow:0 8px 18px rgba(0,0,0,.18);}.trust-dashboard-action .trust-dashboard-icon{flex-basis:45px;width:45px;height:45px;border:0;background:none;box-shadow:none;transform:scale(.72);margin:-8px;}.trust-dashboard-action>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;}.trust-dashboard-action strong{font-size:16px;font-weight:500;color:#f5f7fb;}.trust-dashboard-action small{color:#a9b3c0;font-size:13px;margin-top:2px;}.trust-dashboard-action--primary{background:linear-gradient(135deg,rgba(13,31,49,.98),rgba(5,15,26,.99));border-color:rgba(30,115,190,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.045);}.trust-dashboard-action--primary:hover{background:linear-gradient(135deg,rgba(16,43,70,.99),rgba(6,22,39,.99));}.trust-dashboard-chevron{width:9px;height:9px;border-top:1px solid #b8c2ce;border-right:1px solid #b8c2ce;transform:rotate(45deg);}
.trust-dashboard-manual{padding-bottom:14px;}.trust-dashboard-manual__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;}.trust-dashboard-manual-kpi{min-width:0;min-height:88px;padding:14px;border:1px solid rgba(0,124,255,.35);border-radius:9px;background:rgba(2,18,34,.60);display:grid;grid-template-columns:47px 1fr;grid-template-rows:1fr 1fr;column-gap:11px;align-items:center;}.trust-dashboard-manual-kpi .trust-dashboard-icon{grid-row:1 / span 2;transform:scale(.68);margin:-10px;}.trust-dashboard-manual-kpi>span:nth-child(2){color:#d4dae2;font-size:13px;line-height:1.2;}.trust-dashboard-manual-kpi strong{color:#f7f9fc;font-size:27px;font-weight:500;line-height:1;}
.trust-dashboard-indicators{padding:16px 12px 12px;margin-bottom:0;}.trust-dashboard-panel__heading{padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;}.trust-dashboard-panel__heading>span{color:#a8b2c0;font-size:12px;}.trust-dashboard-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;border:1px solid #8994a3;border-radius:50%;color:#b5beca;font-size:12px;vertical-align:2px;}.trust-operational-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.trust-operational-chart{min-width:0;padding:12px 14px;border:1px solid var(--trust-border-accent);border-radius:10px;background:linear-gradient(155deg,rgba(10,19,30,.92),rgba(4,11,19,.96));}.trust-operational-chart__head{display:flex;gap:8px;align-items:center;justify-content:space-between;}.trust-operational-chart h3{margin:0;color:#f2f5f9;font-size:15px;font-weight:500;}.trust-operational-chart__head>span{padding:4px 8px;border:1px solid rgba(185,198,210,.38);border-radius:7px;color:#aeb8c5;font-size:11px;white-space:nowrap;}.trust-operational-chart__head b{color:#f4f7fb;font-size:13px;margin-left:9px;}.trust-chart-legend{display:flex;gap:18px;margin:13px 0 3px;color:#d7dce4;font-size:11px;}.trust-chart-legend span::before{content:"";display:inline-block;width:17px;height:2px;margin:0 7px 3px 0;vertical-align:middle;}.trust-chart-legend .is-sms::before{background:var(--trust-accent);}.trust-chart-legend .is-hlr::before{background:#9eabbc;}.trust-chart-svg{display:block;width:100%;height:auto;overflow:visible;}.trust-operational-chart .chart-grid{stroke:rgba(169,188,209,.14);stroke-width:1;}.trust-operational-chart .chart-axis,.trust-operational-chart .chart-x-label{fill:#b6bfca;font-family:Inter,sans-serif;font-size:10px;}.trust-operational-chart .chart-line{fill:none;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;}.trust-operational-chart .chart-line--sms{stroke:var(--trust-accent);}.trust-operational-chart .chart-line--hlr{stroke:#a7b2c0;}.trust-operational-chart .chart-point{stroke-width:1;cursor:help;transition:r .16s ease;}.trust-operational-chart .chart-point:hover,.trust-operational-chart .chart-point:focus{r:6;outline:none;}.trust-operational-chart .chart-point--sms{fill:var(--trust-accent);stroke:#5baaff;}.trust-operational-chart .chart-point--hlr{fill:#a7b2c0;stroke:#d4dbe2;}.trust-operational-chart .chart-bar{cursor:help;}.trust-operational-chart .chart-bar.is-sms{fill:var(--trust-accent);}.trust-operational-chart .chart-bar.is-hlr{fill:#9eabbc;}.trust-operational-chart .chart-bar-value{fill:#f5f7fa;font-family:Inter,sans-serif;font-size:11px;font-weight:600;}.trust-operational-chart footer{display:flex;justify-content:space-between;gap:8px;margin-top:4px;color:#8f9cad;font-size:10px;}.trust-operational-chart .trust-muted{min-height:185px;display:flex;align-items:center;justify-content:center;margin:0;color:#aeb8c5;font-size:13px;text-align:center;}

/* Primitivi riutilizzabili per la successiva estensione graduale alle pagine interne. */
.trust-panel{background:var(--trust-bg-panel);border:1px solid var(--trust-border-accent);border-radius:var(--trust-radius-lg);box-shadow:0 12px 28px rgba(0,0,0,.14);}
.trust-section-header{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--trust-border-accent);background:var(--trust-bg-panel-soft);color:var(--trust-text-primary);}
.trust-icon-accent{color:var(--trust-accent);}
.trust-border-accent{border-color:var(--trust-border-accent)!important;}
.trust-hover-subtle{transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;}.trust-hover-subtle:hover{background:rgba(30,115,190,.06);border-color:rgba(30,115,190,.62);}
.trust-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--trust-border-subtle);border-radius:999px;background:rgba(255,255,255,.035);color:var(--trust-silver);font-size:12px;font-weight:600;}

/* Pagina campione: Nuova lavorazione. */
.trust-page-campaign-new>:is(h1,.trust-alert,.trust-page-description,.trust-card){width:100%;max-width:none;margin-left:0;margin-right:0;}
.trust-page-campaign-new>h1{margin-bottom:10px;color:var(--trust-text-primary);}
.trust-page-campaign-new .trust-page-description{max-width:none;color:var(--trust-text-secondary);}
.trust-page-campaign-new .trust-alert-info{border:1px solid var(--trust-border-accent);background:rgba(30,115,190,.08);color:#dce7f3;box-shadow:none;}
.trust-page-campaign-new>.trust-card{max-width:none;border:1px solid var(--trust-border-accent);border-radius:14px;background:linear-gradient(145deg,var(--trust-bg-panel-soft),var(--trust-bg-panel));box-shadow:0 14px 32px rgba(0,0,0,.16);}
.trust-page-campaign-new .trust-card__body{padding:24px;}
.trust-page-campaign-new .trust-form-group label{color:var(--trust-text-primary);font-weight:600;}
.trust-page-campaign-new .trust-input,.trust-page-campaign-new .trust-select,.trust-page-campaign-new .trust-textarea{border-color:var(--trust-border-subtle);background:#070d14;color:var(--trust-text-primary);}
.trust-page-campaign-new .trust-input:focus,.trust-page-campaign-new .trust-select:focus,.trust-page-campaign-new .trust-textarea:focus{border-color:var(--trust-border-accent);box-shadow:0 0 0 3px rgba(30,115,190,.11);}
.trust-page-campaign-new .trust-form-group small{color:var(--trust-text-secondary);}
.trust-page-campaign-new .trust-btn-primary{border:1px solid rgba(30,115,190,.82);background:var(--trust-accent);box-shadow:none;}.trust-page-campaign-new .trust-btn-primary:hover{background:var(--trust-accent-hover);}
.trust-page-campaign-new .trust-btn-light,.trust-page-campaign-new .trust-btn-secondary{border:1px solid var(--trust-border-subtle);background:rgba(255,255,255,.035);color:var(--trust-text-primary);}.trust-page-campaign-new .trust-btn-light:hover,.trust-page-campaign-new .trust-btn-secondary:hover{border-color:var(--trust-border-accent);background:rgba(30,115,190,.07);}

/* ==========================================================
   AREA INTERNA — SISTEMA VISIVO CONDIVISO
   Applicato ai componenti esistenti: nessun impatto su logica o workflow.
========================================================== */
.trust-main{background:radial-gradient(circle at 80% 0,rgba(30,115,190,.055),transparent 29%),var(--trust-bg-main);}
.trust-main>h1,.trust-page-title{margin:0 0 11px;color:var(--trust-text-primary);font-size:27px;font-weight:700;letter-spacing:-.035em;line-height:1.24;}
.trust-page-subtitle,.trust-main>.trust-page-description{max-width:920px;margin:0 0 24px;color:var(--trust-text-secondary);font-size:14px;line-height:1.72;}
.trust-main .trust-card,.trust-main .trust-panel{border:1px solid var(--trust-border-subtle);border-radius:14px;background:var(--trust-bg-panel);box-shadow:0 12px 28px rgba(0,0,0,.14);}
.trust-main .trust-card:hover{border-color:rgba(30,115,190,.36);}
.trust-main .trust-card__body{padding:24px;}
.trust-main .trust-card__body--flush{padding:0;overflow:hidden;}
.trust-main .trust-card__header,.trust-main .trust-section-header{padding:14px 20px;border-bottom:1px solid var(--trust-border-accent);background:var(--trust-bg-panel-soft);color:var(--trust-text-primary);}
.trust-main .trust-card__footer{padding:14px 20px;border-top:1px solid var(--trust-border-subtle);background:rgba(255,255,255,.015);}
.trust-main .trust-card h2,.trust-main .trust-card h3{margin-bottom:9px;color:var(--trust-text-primary);font-weight:600;letter-spacing:-.02em;line-height:1.32;}
.trust-main .trust-card p,.trust-main .trust-muted{color:var(--trust-text-secondary);line-height:1.62;}
.trust-main .trust-form-group{margin-bottom:18px;}
.trust-main .trust-form-group label,.trust-main .trust-form>label{display:block;margin-bottom:8px;color:var(--trust-text-primary);font-size:13px;font-weight:600;}
.trust-main .trust-form-group small{display:block;margin-top:6px;color:var(--trust-text-secondary);font-size:12px;line-height:1.5;}
.trust-main .trust-input,.trust-main .trust-select,.trust-main .trust-textarea{min-height:46px;padding:11px 12px;border:1px solid var(--trust-border-subtle);border-radius:9px;background:#070d14;color:var(--trust-text-primary);box-shadow:none;}
.trust-main .trust-textarea{min-height:100px;resize:vertical;}
.trust-main .trust-input:hover,.trust-main .trust-select:hover,.trust-main .trust-textarea:hover{border-color:rgba(30,115,190,.42);}
.trust-main .trust-input:focus,.trust-main .trust-select:focus,.trust-main .trust-textarea:focus{border-color:var(--trust-border-accent);box-shadow:0 0 0 3px rgba(30,115,190,.10);}
.trust-main .trust-form-actions{gap:12px;margin-top:20px;}
.trust-main .trust-btn{min-height:40px;padding:10px 16px;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:600;box-shadow:none;}
.trust-main .trust-btn-primary{border-color:rgba(30,115,190,.82);background:var(--trust-accent);color:#fff;}.trust-main .trust-btn-primary:hover{background:var(--trust-accent-hover);box-shadow:0 6px 16px rgba(0,0,0,.18);}
.trust-main .trust-btn-secondary,.trust-main .trust-btn-light{border-color:var(--trust-border-subtle);background:rgba(255,255,255,.035);color:var(--trust-text-primary);}.trust-main .trust-btn-secondary:hover,.trust-main .trust-btn-light:hover{border-color:var(--trust-border-accent);background:rgba(30,115,190,.07);}
.trust-main .trust-btn-danger{border-color:rgba(174,87,87,.55);background:rgba(112,37,37,.45);}.trust-main .trust-btn-danger:hover{background:rgba(135,44,44,.56);}
.trust-main .trust-alert{margin:0 0 16px;padding:13px 15px;border:1px solid var(--trust-border-subtle);border-left:3px solid var(--trust-silver);border-radius:10px;background:rgba(255,255,255,.035);color:#dce4ee;box-shadow:none;}
.trust-main .trust-alert-info,.trust-main .trust-alert-success{border-color:rgba(30,115,190,.38);border-left-color:var(--trust-accent);background:rgba(30,115,190,.075);color:#dce7f3;}
.trust-main .trust-alert-warning{border-left-color:#b9c3ce;background:rgba(185,195,206,.07);color:#dce4ee;}.trust-main .trust-alert-danger{border-left-color:#c78282;background:rgba(136,53,53,.16);color:#f0d6d6;}
.trust-main .trust-badge,.trust-main .trust-status-badge{padding:5px 9px;border:1px solid var(--trust-border-subtle);border-radius:999px;background:rgba(255,255,255,.045);color:var(--trust-silver);font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1.2;}
.trust-main .trust-badge-info,.trust-main .trust-badge-success{border-color:rgba(30,115,190,.45);background:rgba(30,115,190,.12);color:#bfdbfe;}.trust-main .trust-badge-warning{border-color:rgba(185,195,206,.38);background:rgba(185,195,206,.10);color:#e1e7ed;}.trust-main .trust-badge-danger{border-color:rgba(174,87,87,.48);background:rgba(136,53,53,.17);color:#f0c7c7;}
.trust-main .trust-table{border:1px solid var(--trust-border-subtle);border-radius:11px;background:#080f18;box-shadow:none;}
.trust-main .trust-table thead{background:#0e1825;}.trust-main .trust-table th{padding:14px 16px;border-bottom:1px solid var(--trust-border-accent);color:#e3e9f0;font-size:12px;font-weight:700;letter-spacing:.03em;line-height:1.35;text-transform:uppercase;}.trust-main .trust-table td{padding:14px 16px;border-bottom:1px solid rgba(185,198,210,.12);color:#cfd8e3;line-height:1.45;vertical-align:middle;}.trust-main .trust-table th+th,.trust-main .trust-table td+td{border-left:1px solid rgba(185,198,210,.055);}.trust-main .trust-table tbody tr:last-child td{border-bottom:0;}.trust-main .trust-table tbody tr:hover{background:rgba(30,115,190,.055);}
.trust-main .trust-table a:not(.trust-btn){color:#a9d1f6;text-decoration:none;}.trust-main .trust-table a:not(.trust-btn):hover{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.trust-main .trust-filter-grid,.trust-main .trust-form-grid{gap:16px;padding:18px;border:1px solid var(--trust-border-subtle);border-radius:11px;background:rgba(255,255,255,.018);}
.trust-main details.trust-card>summary{color:var(--trust-text-primary);}.trust-main details.trust-card>summary:hover{background:rgba(30,115,190,.055);}
.trust-main .trust-empty-state{padding:36px 22px;border:1px dashed var(--trust-border-accent);border-radius:12px;background:rgba(30,115,190,.035);color:var(--trust-text-secondary);text-align:center;}
@media (max-width:768px){.trust-main>h1,.trust-page-title{font-size:23px;}.trust-main .trust-card__body{padding:18px;}.trust-main .trust-table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;}.trust-main .trust-table th,.trust-main .trust-table td{padding:12px 14px;}.trust-main .trust-filter-grid,.trust-main .trust-form-grid{gap:12px;padding:14px;}.trust-main .trust-form-actions{align-items:stretch;}.trust-main .trust-form-actions .trust-btn{justify-content:center;}}

/* Flussi operativi e componenti specialistici: estensione sobria del sistema condiviso. */
.trust-main .trust-dashboard{gap:14px;margin:0 0 18px;}
.trust-main .trust-dashboard .trust-kpi{min-height:104px;padding:16px;border:1px solid var(--trust-border-subtle);border-radius:12px;background:var(--trust-bg-panel-soft);box-shadow:none;}
.trust-main .trust-dashboard .trust-kpi__label{color:var(--trust-text-secondary);font-size:12px;line-height:1.4;}
.trust-main .trust-dashboard .trust-kpi__value{margin-top:7px;color:var(--trust-text-primary);font-size:25px;line-height:1.1;}
.trust-main .trust-dashboard .trust-kpi__hint{margin-top:6px;color:var(--trust-silver);font-size:12px;line-height:1.45;}
.trust-main .trust-progress{height:10px;border:1px solid var(--trust-border-subtle);background:#07101a;box-shadow:none;}
.trust-main .trust-progress__bar{box-shadow:none;}
.trust-main .trust-progress__bar--low{background:#778493;}
.trust-main .trust-progress__bar--mid{background:#5f8fbe;}
.trust-main .trust-progress__bar--high,.trust-main .trust-progress__bar--full{background:var(--trust-accent);}
.trust-main .trust-workflow{gap:12px;}
.trust-main .trust-workflow__step{min-height:86px;padding:14px;border-color:var(--trust-border-subtle);border-radius:11px;background:var(--trust-bg-panel-soft);box-shadow:none;}
.trust-main .trust-workflow__step span{border:1px solid var(--trust-border-subtle);background:#09121c;color:var(--trust-silver);}
.trust-main .trust-workflow__step strong{color:var(--trust-text-primary);font-size:12px;line-height:1.35;}
.trust-main .trust-workflow__step.is-complete{border-color:rgba(30,115,190,.42);background:rgba(30,115,190,.075);}
.trust-main .trust-workflow__step.is-complete span{border-color:rgba(30,115,190,.64);background:var(--trust-accent);}
.trust-main .trust-workflow__step.is-current{border-color:rgba(30,115,190,.68);box-shadow:inset 0 0 0 1px rgba(30,115,190,.10);}
.trust-main .trust-workflow-title{margin:24px 0 12px;color:var(--trust-text-primary);}
.trust-main .trust-operational-summary{gap:14px;padding:16px;border:1px solid var(--trust-border-subtle);border-radius:11px;background:rgba(255,255,255,.018);}
.trust-main .trust-operational-summary__label{color:var(--trust-text-secondary);}
.trust-main .trust-operational-summary__value{color:var(--trust-text-primary);}
.trust-main .trust-card-compact .trust-card__body{padding:20px;}
.trust-main details.trust-section>summary.trust-btn{cursor:pointer;}
.trust-main .trust-table td form{margin:0;}
.trust-main .trust-table td[colspan]{padding:32px 18px;color:var(--trust-text-secondary);text-align:center;}
.trust-main .trust-notifiche-table .trust-notifiche-col-actions{white-space:normal;}
.trust-main .trust-sms-edit-details,.trust-main .trust-sms-edit-form{display:block;width:100%;max-width:100%;box-sizing:border-box;}
.trust-main .trust-sms-edit-text{display:block;width:100%;max-width:100%;min-height:130px;box-sizing:border-box;resize:vertical;}
.trust-main .trust-sms-counter{margin-top:7px;color:var(--trust-text-secondary);font-size:12px;line-height:1.5;}
.trust-main .trust-sms-counter.is-over-limit,.trust-main .trust-sms-warning{color:#e7a3a3;}
.trust-main .trust-sms-warning{display:none;margin-top:7px;font-size:12px;font-weight:600;line-height:1.5;}
.trust-main .trust-sms-warning.is-visible{display:block;}
.trust-main .trust-sms-note{margin-top:5px;color:var(--trust-text-secondary);font-size:12px;line-height:1.5;}
.trust-main .trust-textarea.trust-sms-over-limit{border-color:#c78282;box-shadow:0 0 0 2px rgba(199,130,130,.12);}
.trust-main .trust-btn.is-temporarily-disabled{opacity:.55;cursor:not-allowed;}
@media (max-width:768px){.trust-main .trust-dashboard .trust-kpi{min-height:0;padding:15px;}.trust-main .trust-workflow__step{min-height:76px;padding:12px;}.trust-main .trust-operational-summary{gap:12px;padding:14px;}}
.trust-chart-tooltip{position:fixed;z-index:1100;min-width:118px;padding:8px 10px;border:1px solid rgba(120,186,255,.6);border-radius:7px;background:rgba(3,17,32,.97);box-shadow:0 10px 25px rgba(0,0,0,.38);color:#e7edf4;pointer-events:none;transform:translate(-50%,-100%);}.trust-chart-tooltip strong{display:block;color:#fff;font-size:15px;line-height:1.1;}.trust-chart-tooltip span{display:block;color:#acb8c6;font-size:11px;margin-top:3px;white-space:nowrap;}
@media (max-width:1200px){.trust-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.trust-dashboard-manual__grid{grid-template-columns:repeat(3,minmax(0,1fr));}.trust-operational-charts{grid-template-columns:1fr;}.trust-operational-chart{padding:16px 18px;}}
@media (max-width:768px){.trust-dashboard-kpis,.trust-dashboard-actions__grid{grid-template-columns:1fr;}.trust-dashboard-kpi{min-height:116px;}.trust-dashboard-manual__grid{grid-template-columns:repeat(2,minmax(0,1fr));}.trust-dashboard-panel{padding:16px;}.trust-dashboard-indicators{padding:16px 8px 8px;}.trust-dashboard-panel__heading{align-items:flex-start;flex-direction:column;gap:2px;}.trust-dashboard-panel__heading>span{padding-bottom:8px;}.trust-operational-chart{padding:14px 10px;}.trust-chart-legend{gap:10px;}.trust-operational-chart .chart-x-label{font-size:9px;}}
@media (max-width:420px){.trust-dashboard-manual__grid{grid-template-columns:1fr;}.trust-dashboard-action{padding:13px;}.trust-dashboard-action strong{font-size:15px;}.trust-dashboard-action small{font-size:12px;}.trust-operational-chart__head{align-items:flex-start;flex-direction:column;}.trust-operational-chart footer{font-size:9px;}}
.trust-comunicazioni-riepilogo .trust-btn-secondary{
    background:rgba(255,255,255,.035);
    border-color:var(--trust-border-subtle);
    color:var(--trust-text-primary);
}

/* Rifinitura dei grafici Dashboard: contrasto contenuto e gerarchia tipografica. */
.trust-dashboard-indicators .trust-operational-chart{padding:14px 16px 12px;border-color:rgba(30,115,190,.38);background:linear-gradient(155deg,rgba(10,19,30,.88),rgba(4,11,19,.94));}
.trust-dashboard-indicators .trust-operational-chart h3{color:var(--trust-text-primary);font-size:16px;font-weight:650;letter-spacing:-.015em;}
.trust-dashboard-indicators .trust-operational-chart__head>span{border-color:rgba(185,198,210,.24);color:#98a4b2;font-size:10px;}
.trust-dashboard-indicators .trust-operational-chart__head b{color:#dce4ee;font-size:12px;}
.trust-dashboard-indicators .trust-chart-legend{margin:12px 0 5px;color:#aeb8c5;font-size:10px;}
.trust-dashboard-indicators .trust-chart-legend span::before{width:14px;height:1px;margin-right:6px;}
.trust-dashboard-indicators .chart-grid{stroke:rgba(169,188,209,.085);stroke-width:.75;}
.trust-dashboard-indicators .chart-axis{fill:#7f8b99;font-size:8.5px;}
.trust-dashboard-indicators .chart-x-label{fill:#98a4b2;font-size:9px;}
.trust-dashboard-indicators .chart-line{stroke-width:1.55;}
.trust-dashboard-indicators .chart-point{stroke-width:.75;opacity:.92;}
.trust-dashboard-indicators .chart-point:hover,.trust-dashboard-indicators .chart-point:focus{r:4.5;opacity:1;}
.trust-dashboard-indicators .chart-bar{opacity:.78;transition:opacity .16s ease;}
.trust-dashboard-indicators .chart-bar:hover,.trust-dashboard-indicators .chart-bar:focus{opacity:1;outline:none;}
.trust-dashboard-indicators .chart-bar-value{fill:#c8d1dc;font-size:10px;font-weight:500;}
.trust-dashboard-indicators footer{margin-top:6px;color:#7f8b99;font-size:9px;}
@media (max-width:768px){.trust-dashboard-indicators .trust-operational-chart{padding:14px 12px 11px;}.trust-dashboard-indicators .trust-operational-chart h3{font-size:15px;}.trust-dashboard-indicators .chart-x-label{font-size:8px;}.trust-dashboard-indicators .chart-axis{font-size:8px;}}

/* Ultimo affinamento: i dati restano presenti, gli elementi grafici a riposo si fanno più silenziosi. */
.trust-dashboard-indicators .chart-grid{stroke:rgba(169,188,209,.065);stroke-width:.65;}
.trust-dashboard-indicators .chart-axis{fill:#6f7b89;font-size:8px;font-weight:400;}
.trust-dashboard-indicators .chart-x-label{fill:#8f9baa;font-size:8.5px;font-weight:400;}
.trust-dashboard-indicators .chart-line{stroke-width:1.2;}
.trust-dashboard-indicators .chart-point{opacity:0;transition:opacity .14s ease,r .14s ease;}
.trust-dashboard-indicators .chart-point:hover,.trust-dashboard-indicators .chart-point:focus{r:3.5;opacity:1;}
.trust-dashboard-indicators .chart-bar{opacity:.68;transform-box:fill-box;transform-origin:center;transform:scaleX(.82);}
.trust-dashboard-indicators .chart-bar:hover,.trust-dashboard-indicators .chart-bar:focus{opacity:.9;}
.trust-dashboard-indicators .chart-bar-value{fill:#aeb8c5;font-size:9px;font-weight:500;}
@media (max-width:768px){.trust-dashboard-indicators .chart-axis{font-size:7.5px;}.trust-dashboard-indicators .chart-x-label{font-size:8px;}}

/* Tipografia satinata: stessa famiglia silver delle label TRUST, senza aumentare il peso dei grafici. */
.trust-dashboard-indicators .chart-axis{fill:rgba(220,228,238,.56);font-size:7.25px;font-weight:400;letter-spacing:.01em;}
.trust-dashboard-indicators .chart-x-label{fill:rgba(220,228,238,.64);font-size:7.75px;font-weight:400;letter-spacing:.008em;}
.trust-dashboard-indicators .chart-bar-value{fill:rgba(220,228,238,.68);font-size:8.5px;font-weight:400;letter-spacing:.01em;}
@media (max-width:768px){.trust-dashboard-indicators .chart-axis{font-size:7px;}.trust-dashboard-indicators .chart-x-label{font-size:7.5px;}.trust-dashboard-indicators .chart-bar-value{font-size:8px;}}

/* Rifinitura finale area interna: dati secondari pearl-silver, azioni sobrie, nessun impatto sulla Dashboard. */
.trust-main .trust-form-group{margin-bottom:21px;}
.trust-main .trust-form-group label,.trust-main .trust-form>label{color:rgba(220,228,238,.82);font-size:12.5px;font-weight:500;letter-spacing:.008em;}
.trust-main .trust-form-group small{color:rgba(185,195,206,.72);font-size:11.5px;line-height:1.6;}
.trust-main .trust-input,.trust-main .trust-select,.trust-main .trust-textarea{border-color:rgba(185,198,210,.22);background:#080f18;color:#dce4ee;}
.trust-main .trust-input::placeholder,.trust-main .trust-textarea::placeholder{color:rgba(185,195,206,.52);}
.trust-main .trust-select{color-scheme:dark;}
.trust-main .trust-select option{background:#0a121d;color:#dce4ee;}
.trust-main input[type="file"].trust-input{min-height:46px;padding:7px 8px;color:rgba(220,228,238,.72);font-size:12px;}
.trust-main input[type="file"].trust-input::file-selector-button{margin-right:10px;padding:7px 10px;border:1px solid rgba(30,115,190,.48);border-radius:6px;background:#102b43;color:#dce4ee;font:500 12px var(--trust-font);cursor:pointer;}
.trust-main .trust-input:focus,.trust-main .trust-select:focus,.trust-main .trust-textarea:focus{border-color:rgba(30,115,190,.62);box-shadow:0 0 0 3px rgba(30,115,190,.08);}
.trust-main .trust-btn{min-height:38px;padding:9px 14px;border-color:rgba(185,198,210,.30);background:linear-gradient(180deg,#26313c,#18212a);color:#f3f6fa;font-size:12.5px;font-weight:600;letter-spacing:.012em;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;}
.trust-main .trust-btn-primary{border-color:rgba(86,170,232,.92);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 5px 14px rgba(14,89,142,.28);}
.trust-main .trust-btn-secondary,.trust-main .trust-btn-light{border-color:rgba(185,198,210,.30);background:linear-gradient(180deg,#26313c,#18212a);color:#f3f6fa;}
.trust-main .trust-btn-primary:hover{border-color:rgba(151,216,255,.96);background:linear-gradient(180deg,#3288c8,#1a669a);color:#fff;box-shadow:0 6px 17px rgba(14,89,142,.40),0 0 0 1px rgba(112,193,246,.16);}
.trust-main .trust-btn-secondary:hover,.trust-main .trust-btn-light:hover{border-color:rgba(113,193,246,.94);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 6px 17px rgba(14,89,142,.34),0 0 0 1px rgba(112,193,246,.16);}
.trust-main .trust-btn:focus-visible{outline:3px solid rgba(117,197,248,.92);outline-offset:2px;box-shadow:0 0 0 4px rgba(58,146,206,.22);}
.trust-main .trust-btn-success{border-color:#43a46f;background:#247a4d;color:#fff;font-weight:750;box-shadow:0 5px 14px rgba(17,87,50,.20);}
.trust-main .trust-btn-success:hover{border-color:#75d59d;background:#2c9360;color:#fff;box-shadow:0 6px 16px rgba(17,87,50,.28);}
.trust-main .trust-btn-danger{border-color:rgba(201,95,95,.76);background:#7f3037;color:#fff;}
.trust-main .trust-btn-danger:hover{border-color:#efaaaa;background:#963a43;color:#fff;box-shadow:0 5px 14px rgba(74,18,24,.22);}
.trust-main .trust-btn-concludi-storicizza{border-color:#43a46f;background:#247a4d;color:#fff;box-shadow:0 5px 14px rgba(17,87,50,.20);}
.trust-main .trust-btn-concludi-storicizza:hover{border-color:#75d59d;background:#2c9360;color:#fff;box-shadow:0 6px 16px rgba(17,87,50,.28);}
.trust-main .trust-badge,.trust-main .trust-status-badge{padding:4px 8px;border-color:rgba(185,198,210,.24);background:rgba(255,255,255,.035);color:rgba(220,228,238,.82);font-size:10px;font-weight:600;letter-spacing:.018em;}
.trust-main .trust-badge-info,.trust-main .trust-badge-success{border-color:rgba(30,115,190,.34);background:rgba(30,115,190,.085);color:#c9d9e9;}
.trust-main .trust-badge-warning{border-color:rgba(185,195,206,.28);background:rgba(185,195,206,.065);color:#d6dde5;}
.trust-main .trust-badge-danger{border-color:rgba(174,87,87,.36);background:rgba(136,53,53,.12);color:#e7caca;}
.trust-main .trust-table th{padding:15px 16px;color:rgba(220,228,238,.84);font-size:11.5px;font-weight:650;letter-spacing:.035em;}
.trust-main .trust-table td{padding:15px 16px;color:rgba(220,228,238,.78);font-size:13px;font-weight:400;line-height:1.55;}
.trust-main .trust-table-compact td{font-size:12.5px;}
.trust-main .trust-table td[data-label*="Codice"],.trust-main .trust-table td[data-label*="ID"],.trust-main .trust-table td[data-label*="IP"],.trust-main .trust-table td[data-label*="Username"],.trust-main .trust-table td[data-label*="Data"],.trust-main .trust-table td[data-label*="Aggiornato"]{color:rgba(185,195,206,.68);font-size:11.5px;letter-spacing:.005em;}
.trust-main .trust-table tbody tr:hover{background:rgba(30,115,190,.04);}
.trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-detail{font-size:12px;line-height:1.65;}
.trust-main .trust-assistenza-dettaglio{gap:8px;}
.trust-main .trust-assistenza-dettaglio__etichetta{color:rgba(220,228,238,.72);font-size:11px;font-weight:600;}
.trust-main .trust-assistenza-dettaglio__valore{color:rgba(220,228,238,.82);font-size:12px;line-height:1.65;}

.trust-main .trust-dashboard .trust-kpi{padding:17px;}
.trust-main .trust-dashboard .trust-kpi__label,.trust-main .trust-dashboard .trust-kpi-title{color:rgba(220,228,238,.78);font-size:12px;font-weight:550;}
.trust-main .trust-dashboard .trust-kpi__value,.trust-main .trust-dashboard .trust-kpi-value{color:rgba(220,228,238,.84);font-size:25px;font-weight:450;letter-spacing:-.025em;}
.trust-main .trust-dashboard .trust-kpi-code{color:rgba(185,195,206,.74);font-size:16px;letter-spacing:.01em;}
.trust-main .trust-dashboard .trust-kpi-text{font-size:15px;line-height:1.45;}
.trust-main .trust-card + .trust-card.trust-section{margin-top:22px;}
.trust-gateway-dashboard .trust-gateway-filters,.trust-gateway-dashboard .trust-gateway-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.trust-gateway-dashboard .trust-gateway-filters{margin-top:16px;}
.trust-gateway-dashboard .trust-gateway-filter{border-color:rgba(116,145,170,.52);background:rgba(26,52,74,.32);color:#d5e3ef;}
.trust-gateway-dashboard .trust-gateway-filter:hover{border-color:rgba(113,193,246,.72);background:rgba(30,115,190,.18);color:#fff;}
.trust-gateway-dashboard .trust-gateway-filter.is-active{border-color:rgba(113,193,246,.94);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 6px 17px rgba(14,89,142,.34),0 0 0 1px rgba(112,193,246,.16);}
.trust-gateway-dashboard .trust-gateway-filter:focus-visible{outline:3px solid rgba(139,207,255,.82);outline-offset:2px;}
.trust-gateway-dashboard .trust-gateway-filter-count{display:inline-flex;min-width:18px;justify-content:center;padding:1px 5px;border-radius:999px;background:rgba(255,255,255,.14);font-size:10px;}
.trust-gateway-dashboard .trust-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
.trust-main .trust-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;background:#080f18;scrollbar-gutter:stable;}
.trust-gateway-dashboard .trust-gateway-table{width:100%;min-width:1320px;table-layout:fixed;}
.trust-gateway-dashboard .trust-gateway-table th{white-space:normal;overflow-wrap:normal;word-break:normal;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(1){width:19%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(2){width:13%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(3){width:14%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(4){width:10%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(5){width:18%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(6){width:12%;}
.trust-gateway-dashboard .trust-gateway-table th:nth-child(7){width:14%;}
.trust-gateway-dashboard .trust-gateway-table td{overflow-wrap:break-word;word-break:normal;}
.trust-gateway-dashboard .trust-gateway-table .trust-gateway-actions{align-items:stretch;flex-direction:column;min-width:0;}
.trust-gateway-dashboard .trust-gateway-table .trust-gateway-actions .trust-btn{width:100%;min-width:0;padding:8px 10px;white-space:normal;text-align:center;}
.trust-gateway-dashboard .trust-gateway-table .trust-gateway-actions form{width:100%;}
.trust-gateway-dashboard .trust-gateway-table .trust-gateway-start-pending{min-width:0;}
.trust-gateway-dashboard .trust-gateway-detail-table{min-width:1180px;}
.trust-gateway-dashboard .trust-gateway-message{min-width:300px;max-width:460px;white-space:normal;}
.trust-gateway-dashboard .trust-gateway-capabilities{border-left:3px solid var(--trust-accent);}
.trust-main .trust-gateway-ack-cta{border-color:rgba(213,181,105,.68);background:rgba(130,100,37,.20);color:#f0dfad;}
.trust-main .trust-gateway-ack-cta:hover{border-color:rgba(237,210,137,.88);background:rgba(148,113,40,.34);color:#fff6d9;box-shadow:0 5px 14px rgba(87,62,14,.20);}
.trust-main .trust-manual-archive-table{min-width:2300px;table-layout:fixed;}
.trust-main .trust-manual-archive-table th{font-size:11px;line-height:1.28;white-space:normal;overflow-wrap:normal;word-break:normal;}
.trust-main .trust-manual-archive-table td{font-size:12px;line-height:1.45;overflow-wrap:normal;word-break:normal;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-select{width:42px;min-width:42px;padding-right:7px;padding-left:10px;text-align:center;vertical-align:middle;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-id{width:136px;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-platform{width:172px;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-executor{width:146px;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-created{width:138px;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-operator{width:172px;white-space:normal;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-count{width:100px;min-width:100px;padding-right:6px;padding-left:6px;text-align:center;vertical-align:middle;white-space:normal;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-status{width:150px;white-space:normal;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-file{width:168px;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-export{width:168px;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-operation{width:270px;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-closed{width:148px;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-actions{width:184px;white-space:nowrap;}
.trust-main .trust-manual-archive-table .trust-manual-archive-col-actions .trust-btn{margin:0 4px 4px 0;}
.trust-main .trust-manual-archive-toolbar{margin:0 0 12px;}
.trust-main .trust-manual-archive-selection-help{color:var(--trust-text-secondary);font-size:12px;line-height:1.3;}
.trust-main .trust-manual-batch-result{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;}
.trust-main .trust-manual-batch-result strong{width:100%;}
.trust-main .trust-manual-batch-result small{width:100%;color:var(--trust-text-secondary);}
.trust-main .trust-manual-archive-status{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.1;letter-spacing:.02em;white-space:nowrap;}
.trust-main .trust-manual-archive-status--concluso{border-color:rgba(92,209,138,.66);background:rgba(38,132,78,.25);color:#b5f2ca;}
.trust-main .trust-manual-archive-status--aperto{border-color:rgba(93,173,234,.62);background:rgba(31,110,171,.22);color:#c9e8ff;}
.trust-main .trust-manual-archive-status--altro{border-color:rgba(213,181,105,.52);background:rgba(130,100,37,.18);color:#f0dfad;}
@media (max-width:768px){.trust-main .trust-form-group{margin-bottom:18px;}.trust-main .trust-table th,.trust-main .trust-table td{padding:13px 14px;}.trust-main .trust-table td{font-size:12.5px;}.trust-main .trust-table-compact td{font-size:12px;}.trust-main .trust-dashboard .trust-kpi{padding:15px;}.trust-main .trust-dashboard .trust-kpi__value,.trust-main .trust-dashboard .trust-kpi-value{font-size:23px;}}

/* Dashboard funnel: terza serie, senza variazioni di layout. */
.trust-chart-legend .is-inviate::before{background:var(--trust-accent);}.trust-chart-legend .is-aperte::before{background:#a7b2c0;}.trust-chart-legend .is-verificate::before{background:#71c99a;}
.trust-operational-chart .chart-line--inviate{stroke:var(--trust-accent);}.trust-operational-chart .chart-line--aperte{stroke:#a7b2c0;}.trust-operational-chart .chart-line--verificate{stroke:#71c99a;}
.trust-operational-chart .chart-point--inviate{fill:var(--trust-accent);stroke:#5baaff;}.trust-operational-chart .chart-point--aperte{fill:#a7b2c0;stroke:#d4dbe2;}.trust-operational-chart .chart-point--verificate{fill:#71c99a;stroke:#b5ead0;}
.trust-operational-chart .chart-bar.is-inviate{fill:var(--trust-accent);}.trust-operational-chart .chart-bar.is-aperte{fill:#9eabbc;}.trust-operational-chart .chart-bar.is-verificate{fill:#71c99a;}

/* Rifinitura premium: solo resa visiva dei grafici Dashboard. */
.trust-dashboard-indicators .trust-chart-legend{color:rgba(232,237,243,.72);font-size:9.5px;}
.trust-dashboard-indicators .chart-grid{stroke:rgba(196,210,224,.055);stroke-width:.55;}
.trust-dashboard-indicators .chart-axis{fill:rgba(235,240,246,.72);font-size:7px;font-weight:400;letter-spacing:.012em;}
.trust-dashboard-indicators .chart-x-label{fill:rgba(235,240,246,.76);font-size:7.5px;font-weight:400;letter-spacing:.01em;}
.trust-dashboard-indicators .chart-line{stroke-width:1.1;}
.trust-dashboard-indicators .chart-point{stroke-width:.65;}
.trust-dashboard-indicators .chart-point:hover,.trust-dashboard-indicators .chart-point:focus{r:3.25;}
@media (max-width:768px){.trust-dashboard-indicators .chart-axis{font-size:6.75px;}.trust-dashboard-indicators .chart-x-label{font-size:7.1px;}}

/* Premium fix: selettore più specifico per il markup SVG effettivo Dashboard. */
.trust-dashboard-page .trust-dashboard-indicators .trust-chart-legend{color:rgba(236,241,247,.78);font-size:9px;}
.trust-dashboard-page .trust-dashboard-indicators .chart-grid{stroke:rgba(202,216,230,.045);stroke-width:.45;}
.trust-dashboard-page .trust-dashboard-indicators .chart-axis{fill:rgba(238,243,248,.78);font-size:6.9px;font-weight:400;}
.trust-dashboard-page .trust-dashboard-indicators .chart-x-label{fill:rgba(238,243,248,.82);font-size:6.9px;font-weight:400;}
.trust-dashboard-page .trust-dashboard-indicators .chart-line{stroke-width:.85;}
.trust-dashboard-page .trust-dashboard-indicators .chart-point{opacity:0;stroke-width:.55;}
.trust-dashboard-page .trust-dashboard-indicators .chart-point:hover,.trust-dashboard-page .trust-dashboard-indicators .chart-point:focus{r:3;opacity:1;}
@media (max-width:768px){.trust-dashboard-page .trust-dashboard-indicators .chart-axis{font-size:6.7px;}.trust-dashboard-page .trust-dashboard-indicators .chart-x-label{font-size:6.8px;}}

/* Campagna 97: conferma conclusione e stato finale, solo resa UX. */
.trust-main .trust-alert.trust-report-conclusa{
    border-color:rgba(74,222,128,.42);
    border-left-color:#4ade80;
    background:rgba(22,163,74,.10);
    color:#d8f7e4;
}
.trust-main .trust-dashboard .trust-kpi-value.trust-status-conclusa,
.trust-main .trust-status-conclusa{
    color:#9be7b4;
    font-weight:700;
}
.trust-main .trust-campagne-table th{
    padding:12px 14px;
}
.trust-main .trust-campagne-table td{
    padding:12px 14px;
}

/* Report Finale concluso: gerarchia visiva allineata al mockup Campagna 97. */
.trust-report-page__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
}
.trust-report-page__header .trust-page-description{margin-bottom:18px;}
.trust-main .trust-report-conclusa-badge{
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    gap:9px;
    min-height:42px;
    padding:0 17px;
    border:1px solid rgba(74,222,128,.68);
    border-radius:10px;
    background:linear-gradient(135deg,rgba(20,101,57,.76),rgba(10,66,39,.88));
    box-shadow:inset 0 1px 0 rgba(218,255,231,.14),0 7px 18px rgba(13,95,48,.20);
    color:#e0f8e8;
    font-size:16px;
    font-weight:750;
    letter-spacing:.025em;
}
.trust-main .trust-report-conclusa-badge span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border:1px solid rgba(187,247,208,.80);
    border-radius:50%;
    color:#b8f5c9;
    font-size:15px;
    line-height:1;
}
.trust-report-page--conclusa .trust-kpi .trust-badge-success{
    border-color:rgba(74,222,128,.48);
    background:rgba(22,163,74,.12);
    color:#9be7b4;
}
.trust-report-page .trust-progress__bar--full{
    background:linear-gradient(90deg,#249b59,#62d878);
    box-shadow:0 0 10px rgba(74,222,128,.24);
}
.trust-main .trust-report-conclusa{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    margin:12px 0 26px;
    padding:28px 32px;
    border:1px solid rgba(74,222,128,.46);
    border-radius:12px;
    background:radial-gradient(circle at 18% 50%,rgba(38,146,76,.15),transparent 34%),linear-gradient(135deg,rgba(7,42,28,.86),rgba(4,28,21,.90));
    box-shadow:inset 0 1px 0 rgba(217,255,228,.07),0 12px 28px rgba(2,24,14,.24),0 0 18px rgba(39,169,82,.08);
    color:#dce9e1;
}
.trust-main .trust-report-conclusa__icon{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    border:2px solid #4ade80;
    border-radius:50%;
    background:rgba(20,125,61,.15);
    box-shadow:0 0 16px rgba(74,222,128,.16);
    color:#69e38d;
    font-size:39px;
    font-weight:500;
    line-height:1;
}
.trust-main .trust-report-conclusa__content{min-width:0;max-width:720px;}
.trust-main .trust-report-conclusa__content h2{
    margin:0 0 7px;
    color:#70e88f;
    font-size:19px;
    font-weight:750;
    letter-spacing:.01em;
    line-height:1.3;
}
.trust-main .trust-report-conclusa__content p{
    margin:2px 0;
    color:rgba(230,240,234,.88);
    font-size:14px;
    line-height:1.45;
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions{
    display:flex;
    justify-content:center;
    margin:20px 0 0;
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-btn{
    min-width:355px;
    min-height:58px;
    justify-content:center;
    border-color:rgba(80,178,255,.95);
    border-radius:11px;
    background:linear-gradient(135deg,#176fc5,#0753aa);
    box-shadow:inset 0 1px 0 rgba(224,244,255,.28),0 8px 20px rgba(7,87,174,.30);
    color:#f2f8ff;
    font-size:17px;
    font-weight:700;
    letter-spacing:.015em;
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-btn:hover{
    border-color:#a9dcff;
    background:linear-gradient(135deg,#2483dc,#0961bd);
    box-shadow:inset 0 1px 0 rgba(224,244,255,.30),0 10px 24px rgba(7,87,174,.38);
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-report-conclusa__dashboard{
    min-width:0;
    min-height:42px;
    padding:9px 14px;
    border-color:rgba(185,207,220,.58);
    background:rgba(18,42,58,.56);
    box-shadow:none;
    color:#dce9f1;
    font-size:12px;
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-report-conclusa__dashboard:hover{
    border-color:rgba(185,207,220,.86);
    background:rgba(35,67,88,.78);
    box-shadow:0 5px 14px rgba(4,22,34,.22);
}
.trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-btn span{
    margin-right:10px;
    font-size:25px;
    line-height:.7;
}
.trust-main .trust-report-gateway-preparazione{margin:16px 0 0;color:var(--trust-text-secondary);font-size:12px;line-height:1.5;}
.trust-main .trust-report-gateway-cta .trust-card__body{display:flex;align-items:center;justify-content:center;gap:16px;padding:15px 20px;}
.trust-main .trust-report-gateway-cta__label{color:var(--trust-text-secondary);font-size:14px;font-weight:650;}
.trust-main .trust-report-gateway-cta .trust-btn{min-width:255px;min-height:44px;justify-content:center;border-color:rgba(74,222,128,.70);background:linear-gradient(135deg,#1b8b4a,#36bd67);box-shadow:inset 0 1px 0 rgba(224,255,235,.25),0 7px 16px rgba(22,126,63,.25);color:#f3fff7;font-size:14px;font-weight:750;letter-spacing:.02em;}
.trust-main .trust-report-gateway-cta .trust-btn:hover{border-color:#a9f3c0;background:linear-gradient(135deg,#229e56,#43cd76);box-shadow:inset 0 1px 0 rgba(236,255,242,.34),0 9px 20px rgba(22,126,63,.34);}
.trust-main .trust-report-closed-at{color:#9be7b4;font-weight:700;}
@media (max-width:768px){
    .trust-report-page__header{display:block;}
    .trust-main .trust-report-conclusa-badge{margin:0 0 18px;}
    .trust-main .trust-report-conclusa{align-items:flex-start;padding:22px;}
    .trust-main .trust-report-conclusa__icon{width:46px;height:46px;font-size:30px;}
    .trust-main .trust-report-conclusa__content h2{font-size:16px;}
    .trust-main .trust-report-conclusa .trust-report-conclusa-actions .trust-btn{width:100%;min-width:0;font-size:14px;}
    .trust-main .trust-report-gateway-cta .trust-card__body{align-items:stretch;flex-direction:column;text-align:center;}
    .trust-main .trust-report-gateway-cta .trust-btn{width:100%;min-width:0;font-size:14px;}
}

/* Campagna 97F: preparazione SMS, liste paginate e conferme operative. */
.trust-main .trust-list-pagination__summary{
    margin:12px 0;
    color:rgba(220,228,238,.76);
    font-size:12px;
}
.trust-main .trust-list-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:14px 0 2px;
    color:rgba(220,228,238,.75);
    font-size:12px;
}
.trust-main .trust-sms-fascia--warning{
    border-color:rgba(163,91,103,.52);
    background:linear-gradient(145deg,rgba(53,22,31,.28),rgba(12,20,30,.96));
}
.trust-main .trust-sms-fascia--warning summary{
    color:#ecd7dc;
}
.trust-main .trust-sms-fascia--warning summary strong{
    color:#e6b5bf;
}
.trust-main .trust-sms-fascia--warning .trust-card__body{
    padding-top:14px;
    padding-bottom:14px;
}
.trust-main .trust-sms-edit-details,
.trust-main .trust-sms-edit-form{margin-top:8px;}
.trust-main .trust-sms-edit-form .trust-form-actions{margin-top:12px;}
.trust-main .trust-sms-edit-text{min-height:112px;}
.trust-confirm-modal[hidden]{display:none;}
.trust-confirm-modal{
    position:fixed;
    z-index:1200;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(2,8,14,.76);
}
.trust-confirm-modal__panel{
    width:min(100%,520px);
    padding:24px;
    border:1px solid rgba(94,161,220,.46);
    border-radius:12px;
    background:linear-gradient(145deg,#101b29,#08111b);
    box-shadow:0 22px 52px rgba(0,0,0,.48);
}
.trust-confirm-modal__panel h2{margin:0 0 10px;color:#edf4fb;font-size:19px;}
.trust-confirm-modal__panel p{margin:0;color:rgba(220,228,238,.82);line-height:1.55;}
.trust-confirm-modal__panel .trust-form-actions{justify-content:flex-end;margin:20px 0 0;}
.trust-archive-modal[hidden]{display:none;}
.trust-archive-modal{position:fixed;z-index:1250;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,8,14,.78);}
.trust-archive-modal__panel{width:min(100%,540px);padding:24px;border:1px solid rgba(111,169,210,.48);border-radius:14px;background:linear-gradient(145deg,#101c29,#08111b);box-shadow:0 24px 56px rgba(0,0,0,.5);}
.trust-archive-modal__panel h2{margin:0 0 10px;color:#eef5fb;font-size:20px;}.trust-archive-modal__panel p{margin:0;color:rgba(220,228,238,.84);line-height:1.55;}.trust-archive-modal__panel .trust-form-group{margin-top:18px;}.trust-archive-modal__panel .trust-form-actions{justify-content:flex-end;margin:18px 0 0;}.trust-archive-actions{gap:8px;align-items:center;}.trust-archive-status{border-color:rgba(111,169,210,.42);}.trust-archive-actions .trust-btn{white-space:nowrap;}
.trust-main .trust-badge-archivio-storico{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:5px 9px;
    border:1px solid rgba(139,180,215,.42);
    border-radius:999px;
    background:rgba(72,118,155,.14);
    color:#c9ddeb;
    font-size:11px;
    font-weight:600;
    line-height:1.15;
    white-space:nowrap;
    cursor:default;
}
@media (max-width:768px){
    .trust-main .trust-list-pagination{flex-wrap:wrap;}
    .trust-confirm-modal__panel{padding:20px;}
}

/* Centro Notifiche ed Esiti: filtri compatti e azioni leggibili. */
.trust-main .trust-notifiche-filtri{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}
.trust-main .trust-notifiche-filtri__date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;}
.trust-main .trust-notifiche-filtri__data{min-width:0;}
.trust-main .trust-notifiche-filtri__data .trust-input{max-width:240px;}
.trust-main .trust-notifiche-filtri__date-range .trust-input{width:100%;max-width:none;}
.trust-main .trust-notifiche-filtri__ricerca{grid-column:auto;}
.trust-main .trust-notifiche-filtri__ricerca .trust-input{width:100%;}
.trust-main .trust-notifiche-tab.is-active{border-color:rgba(113,193,246,.94);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 6px 17px rgba(14,89,142,.34),0 0 0 1px rgba(112,193,246,.16);}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-work{width:124px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-platform{width:154px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-client{width:150px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-recipient{width:150px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-number{width:142px;white-space:nowrap;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-channel{width:108px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-operator{width:142px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-event{width:108px;min-width:108px;white-space:normal;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-date{width:150px;white-space:nowrap;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) .trust-notifiche-col-code{width:150px;white-space:nowrap;}
.trust-main .trust-notifiche-table.trust-notifiche-sms .trust-notifiche-col-text{width:270px;min-width:270px;white-space:normal;}
.trust-main .trust-notifiche-table.trust-notifiche-sms .trust-sms-preview-text details>div{white-space:pre-wrap;overflow-wrap:anywhere;}
.trust-main .trust-notifiche-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-radius:11px;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza){width:100%;min-width:1660px;margin:0;table-layout:fixed;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) th{white-space:normal;overflow-wrap:normal;word-break:normal;}
.trust-main .trust-notifiche-table:not(.trust-notifiche-assistenza) td{overflow-wrap:break-word;word-break:normal;vertical-align:top;}
@media (min-width:768px){
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza{table-layout:fixed;min-width:1540px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-work{width:124px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-platform{width:154px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-client{width:138px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-recipient{width:140px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-number{width:126px;white-space:nowrap;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-channel{width:106px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-date{width:150px;white-space:nowrap;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-code{width:150px;overflow-wrap:anywhere;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-detail{width:auto;min-width:560px;max-width:none;white-space:normal;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-status{width:104px;min-width:104px;max-width:104px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-actions{width:155px;min-width:155px;max-width:155px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-evasa-da{width:112px;min-width:108px;max-width:118px;}
    .trust-main .trust-notifiche-table.trust-notifiche-assistenza .trust-notifiche-col-evasa-il{width:124px;min-width:120px;max-width:126px;white-space:nowrap;}
}
.trust-main .trust-filter-title{margin:0 0 12px;font-size:13px;letter-spacing:.06em;color:var(--trust-text-secondary);}
.trust-main .trust-esiti-filtri__chips{margin:0 0 14px;}
.trust-main .trust-esiti-filtri__gateway{margin:0 0 14px;padding:12px 14px;border-left:3px solid rgba(86,156,214,.62);border-radius:8px;background:rgba(78,128,174,.10);}
.trust-main .trust-esiti-filtri__gateway>span{display:block;margin:0 0 8px;color:var(--trust-text-secondary);font-size:11px;font-weight:700;letter-spacing:.07em;}
.trust-main .trust-esiti-filtri__gateway .trust-form-actions{margin:0;}
.trust-main .trust-esiti-filtri__ricerca label{display:block;margin:0 0 7px;font-size:12px;font-weight:600;color:var(--trust-text-secondary);}
.trust-main .trust-esiti-filtri__ricerca .trust-input{width:min(100%,520px);}
.trust-main .trust-esiti-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:270px;}
.trust-main .trust-esiti-actions .trust-btn{white-space:nowrap;}

/* Biforcazioni operative: scelta esplicita, distinta dalle azioni straordinarie. */
.trust-main .trust-flow-choice,.trust-main .trust-channel-choice{margin-top:20px;padding:20px;border:1px solid var(--trust-border-accent);border-radius:14px;background:linear-gradient(145deg,var(--trust-bg-panel-soft),var(--trust-bg-panel));}
.trust-main .trust-flow-choice__header h2,.trust-main .trust-channel-choice__header h2{margin:0 0 7px;color:var(--trust-text-primary);font-size:18px;font-weight:700;letter-spacing:.01em;}
.trust-main .trust-flow-choice__header p,.trust-main .trust-channel-choice__header p{margin:0;color:var(--trust-text-secondary);font-size:13px;line-height:1.55;}
.trust-main .trust-flow-choice__actions,.trust-main .trust-channel-choice__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;}
.trust-main .trust-flow-choice__card,.trust-main .trust-channel-choice__card{display:flex;width:100%;min-height:104px;padding:18px;border:1px solid rgba(202,76,76,.92);border-radius:11px;background:#080f18;color:var(--trust-text-primary);text-align:left;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease;}
.trust-main .trust-btn.trust-cta-primary,.trust-main .trust-btn.trust-cta-secondary{min-height:38px;padding:9px 14px;border-color:rgba(185,198,210,.30);background:linear-gradient(180deg,#26313c,#18212a);color:#f3f6fa;font-size:12.5px;font-weight:600;letter-spacing:.012em;}
.trust-main .trust-btn.trust-cta-primary:hover,.trust-main .trust-btn.trust-cta-secondary:hover{border-color:rgba(113,193,246,.94);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 6px 17px rgba(14,89,142,.34),0 0 0 1px rgba(112,193,246,.16);}
.trust-main .trust-btn.trust-cta-primary{border-color:rgba(86,170,232,.92);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;box-shadow:0 5px 14px rgba(14,89,142,.28);}
.trust-main .trust-flow-choice__card--disabled{border-color:rgba(185,198,210,.22);background:rgba(32,43,54,.52);color:var(--trust-text-secondary);cursor:not-allowed;opacity:.76;}
.trust-main .trust-flow-choice__card--primary{border-color:rgba(86,170,232,.92);background:linear-gradient(180deg,#2679b7,#185784);color:#fff;}
.trust-main .trust-flow-choice__card--secondary{border-color:rgba(185,198,210,.42);background:linear-gradient(180deg,#26313c,#18212a);color:#f3f6fa;}
.trust-main .trust-manual-group-meta{margin:10px 0 0;color:var(--trust-text-secondary);font-size:13px;}
.trust-main .trust-manual-communications-table-wrap{margin-top:16px;max-width:100%;overflow-x:auto;border:1px solid var(--trust-border-subtle);border-radius:11px;background:var(--trust-bg-panel-soft);}
.trust-main .trust-manual-communications-table{min-width:1450px;margin:0;border:0;font-size:12px;table-layout:auto;}
.trust-main .trust-manual-communications-table th{white-space:normal;font-size:11px;line-height:1.3;text-align:left;}
.trust-main .trust-manual-communications-table td{vertical-align:top;line-height:1.45;}
.trust-main .trust-manual-communications-table .trust-manual-col-number,.trust-main .trust-manual-communications-table .trust-manual-col-characters{white-space:nowrap;}
.trust-main .trust-manual-communications-table .trust-manual-col-characters{text-align:center;}
.trust-main .trust-manual-communications-table .trust-manual-copy-status{min-width:128px;}
.trust-main .trust-manual-communications-table .trust-manual-copy-status>span{display:block;margin-bottom:6px;color:var(--trust-text-secondary);font-size:11px;line-height:1.35;}
.trust-main .trust-manual-communications-table .trust-manual-copy-status.is-copied>span{color:#a9d8b5;}
.trust-main .trust-manual-communications-table .trust-manual-row-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;min-width:250px;white-space:normal;}
.trust-main .trust-manual-communications-table .trust-manual-row-actions form{margin:0;}
.trust-main .trust-manual-communications-table .trust-manual-row-actions .trust-btn{min-height:31px;padding:6px 9px;font-size:11px;white-space:nowrap;}
.trust-main .trust-manual-communications-table .trust-manual-row-details{width:100%;}
.trust-main .trust-manual-communications-table .trust-manual-row-details>summary{cursor:pointer;color:var(--trust-accent);font-size:12px;font-weight:700;}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body{min-width:280px;margin-top:8px;padding:10px;border:1px solid var(--trust-border-subtle);border-radius:8px;background:rgba(1,9,18,.72);}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body p{margin:0 0 10px;white-space:normal;word-break:break-word;}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body p:last-child{margin-bottom:0;}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body label{display:block;margin:0 0 8px;color:var(--trust-text-secondary);font-size:12px;font-weight:600;}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body .trust-input,.trust-main .trust-manual-communications-table .trust-manual-row-details__body .trust-textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;}
.trust-main .trust-manual-communications-table .trust-manual-row-details__body .trust-textarea{min-height:72px;}

/* Shell compatta per i soli elenchi operativi gia' compatibili con trust-data-page. */
.trust-main.trust-data-page--compact>h1{margin:0 0 3px;font-size:26px;line-height:1.18;}
.trust-main.trust-data-page--compact>.trust-page-description{margin:0 0 7px;font-size:12.5px;line-height:1.35;}
.trust-main.trust-data-page--compact>.trust-section{margin-top:8px;}
.trust-main.trust-data-page--compact .trust-compact-controls>.trust-card__body{padding:13px 15px;}
.trust-main.trust-data-page--compact .trust-compact-controls .trust-form-group{margin-bottom:0;}
.trust-main.trust-data-page--compact .trust-compact-controls .trust-input,
.trust-main.trust-data-page--compact .trust-compact-controls .trust-select{min-height:36px;padding-top:7px;padding-bottom:7px;}
.trust-main.trust-data-page--compact .trust-compact-controls .trust-btn{min-height:36px;padding:7px 12px;}
.trust-main.trust-data-page--compact .trust-compact-controls .trust-form-actions{margin-top:8px;}
.trust-main.trust-data-page--compact .trust-compact-intro>.trust-card__body{padding:12px 15px;}
.trust-main.trust-data-page--compact .trust-compact-intro h2{margin:0 0 3px;font-size:16px;}
.trust-main.trust-data-page--compact .trust-compact-intro p{margin:0;font-size:12px;line-height:1.35;}

.trust-manual-archive-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;align-items:end;}
.trust-manual-archive-filters__search{grid-column:1/4;}
.trust-manual-archive-filters__submit{grid-column:4;margin:0!important;}
.trust-manual-archive-filters__submit .trust-btn{width:100%;}
.trust-main.trust-data-page--manual-archive .trust-manual-archive-toolbar{margin:7px 0 0;gap:8px;}

.trust-main.trust-data-page--notifications>.trust-notifiche-tabs{margin:5px 0 0;gap:7px;}
.trust-main.trust-data-page--notifications>.trust-notifiche-tabs .trust-btn{min-height:34px;padding:7px 11px;}
.trust-main.trust-data-page--notifications .trust-notifiche-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 0;}
.trust-main.trust-data-page--notifications .trust-notifiche-kpis .trust-kpi{min-height:0;padding:9px 12px;}
.trust-main.trust-data-page--notifications .trust-notifiche-kpis .trust-kpi-value{font-size:20px;}
.trust-main.trust-data-page--notifications .trust-notifiche-filtri{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;}
.trust-main.trust-data-page--notifications .trust-notifiche-filtri__ricerca{grid-column:1/3;}
.trust-main.trust-data-page--notifications .trust-notifiche-filtri__date-range{grid-column:3/5;gap:12px;}

.trust-main.trust-data-page--gateway .trust-gateway-overview>.trust-card__body{padding:12px 15px;}
.trust-main.trust-data-page--gateway .trust-gateway-overview h2{margin:0 0 3px;font-size:16px;}
.trust-main.trust-data-page--gateway .trust-gateway-overview p{margin:0;font-size:12px;line-height:1.35;}
.trust-main.trust-data-page--gateway .trust-gateway-filters{margin-top:8px;gap:6px;}
.trust-main.trust-data-page--gateway .trust-gateway-filter{min-height:34px;padding:7px 10px;}
.trust-main.trust-data-page--gateway .trust-gateway-group-start{margin-left:auto;}
.trust-main.trust-data-page--gateway .trust-gateway-group-start .trust-gateway-start-cta{min-width:0;min-height:36px;padding:8px 12px;}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities{margin:0 0 8px;border-width:0 0 1px;border-radius:0;}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities>.trust-card__body{padding:13px 15px;}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities h2{margin:0 0 5px;font-size:16px;}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities p{font-size:12px;line-height:1.4;}
.trust-main.trust-data-page--gateway .trust-gateway-operational-note{padding:7px 10px;}
.trust-main.trust-data-page--gateway .trust-gateway-next-step{padding:9px 11px;}
.trust-main .trust-gateway-manual-return{display:inline-flex;margin-top:8px;color:#adc9df;font-size:12px;text-decoration:underline;text-underline-offset:3px;}

@media (min-width:901px) and (max-height:850px){
    .trust-main.trust-data-page--compact{padding-top:13px;padding-bottom:13px;}
    .trust-main.trust-data-page--compact>h1{font-size:22px;}
    .trust-main.trust-data-page--compact>.trust-page-description{margin-bottom:4px;font-size:11.5px;}
    .trust-main.trust-data-page--compact>.trust-section{margin-top:6px;}
    .trust-main.trust-data-page--compact .trust-compact-controls>.trust-card__body{padding:9px 12px;}
    .trust-main.trust-data-page--compact .trust-compact-controls .trust-input,
    .trust-main.trust-data-page--compact .trust-compact-controls .trust-select,
    .trust-main.trust-data-page--compact .trust-compact-controls .trust-btn{min-height:32px;padding-top:5px;padding-bottom:5px;}
    .trust-main.trust-data-page--compact .trust-form-group label{margin-bottom:3px;font-size:11px;}
    .trust-main.trust-data-page--compact .trust-compact-intro>.trust-card__body{padding:8px 12px;}
    .trust-main.trust-data-page--compact .trust-compact-intro p{font-size:11px;line-height:1.25;}
    .trust-main.trust-data-page--notifications .trust-notifiche-kpis .trust-kpi{padding:6px 10px;}
    .trust-main.trust-data-page--notifications .trust-notifiche-kpis .trust-kpi-value{font-size:17px;}
    .trust-main.trust-data-page--gateway .trust-gateway-overview>.trust-card__body{padding:8px 12px;}
}

@media (max-width:1200px) and (min-width:901px){
    .trust-manual-archive-filters{grid-template-columns:repeat(4,minmax(120px,1fr));}
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri{grid-template-columns:repeat(2,minmax(0,1fr));}
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri__ricerca{grid-column:1;}
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri__date-range{grid-column:2;}
}

@media (max-width:900px){
    .trust-manual-archive-filters,
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri{grid-template-columns:1fr;}
    .trust-manual-archive-filters__search,.trust-manual-archive-filters__submit,
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri__ricerca,
    .trust-main.trust-data-page--notifications .trust-notifiche-filtri__date-range{grid-column:auto;}
    .trust-main.trust-data-page--notifications .trust-notifiche-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
    .trust-main.trust-data-page--gateway .trust-gateway-group-start{width:100%;margin-left:0;}
}
@media (max-width:768px){.trust-main .trust-manual-communications-table-wrap{border-radius:8px;}.trust-main .trust-manual-communications-table{min-width:1250px;}.trust-main .trust-manual-communications-table th,.trust-main .trust-manual-communications-table td{padding:10px 11px;}.trust-main .trust-manual-communications-table .trust-manual-row-actions{min-width:230px;}.trust-main .trust-manual-communications-table .trust-manual-row-details__body{min-width:250px;}}
.trust-main .trust-segnaposti{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;}
.trust-main .trust-segnaposti small{width:100%;color:var(--trust-text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;}
.trust-main .trust-segnaposti .trust-btn{min-height:30px;padding:5px 9px;font-size:12px;}
.trust-main .trust-flow-choice__card,.trust-main .trust-channel-choice__card{flex-direction:column;justify-content:center;gap:7px;font:inherit;}.trust-main .trust-flow-choice__card strong,.trust-main .trust-channel-choice__card strong{font-size:16px;font-weight:700;}.trust-main .trust-flow-choice__card span,.trust-main .trust-channel-choice__card span{color:var(--trust-text-secondary);font-size:13px;line-height:1.45;}.trust-main .trust-flow-choice__card:hover,.trust-main .trust-channel-choice__card:hover{border-color:var(--trust-border-accent);background:rgba(30,115,190,.07);transform:translateY(-1px);}.trust-main .trust-flow-choice__card--primary,.trust-main .trust-flow-choice__card--secondary,.trust-main .trust-channel-choice__card--gateway,.trust-main .trust-channel-choice__card--provider{border-color:rgba(202,76,76,.92);background:#080f18;}.trust-main .trust-sms-message-choice{padding:14px;border:1px solid rgba(174,87,87,.48);border-radius:10px;background:rgba(136,53,53,.12);}.trust-main .trust-sms-message-choice label{color:#f0c7c7;font-size:14px;font-weight:700;letter-spacing:.04em;}
@media (max-width:768px){.trust-main .trust-flow-choice,.trust-main .trust-channel-choice{padding:16px;}.trust-main .trust-flow-choice__actions,.trust-main .trust-channel-choice__actions{grid-template-columns:1fr;}.trust-main .trust-flow-choice__card,.trust-main .trust-channel-choice__card{min-height:92px;}.trust-main .trust-sms-message-choice{padding:12px;}}
@media (max-width:768px){.trust-main .trust-notifiche-filtri{grid-template-columns:1fr;}.trust-main .trust-notifiche-filtri__date-range{grid-template-columns:1fr;}.trust-main .trust-notifiche-filtri__ricerca{grid-column:auto;}.trust-main .trust-notifiche-filtri__ricerca .trust-input,.trust-main .trust-esiti-filtri__ricerca .trust-input{width:100%;}.trust-main .trust-esiti-actions{min-width:0;}}

/* Tranche UI collaudo: densita' operativa e griglie con scroll proprio. */
.trust-main.trust-data-page--manual-ops>h1{margin:0 0 3px;font-size:25px;line-height:1.16;}
.trust-main.trust-data-page--manual-ops>.trust-page-description{margin:0 0 8px;font-size:12.5px;line-height:1.35;}
.trust-main.trust-data-page--manual-ops .trust-card__body{padding:14px 16px;}
.trust-main.trust-data-page--manual-ops .trust-section{margin-top:8px;}
.trust-main.trust-data-page--manual-ops .trust-form-group{margin-bottom:10px;}
.trust-main.trust-data-page--manual-ops .trust-form-row{gap:10px 14px;}
.trust-main.trust-data-page--manual-ops .trust-alert{margin:0 0 8px;padding:9px 11px;font-size:12px;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale{margin:0 0 10px;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale .trust-card__body{padding:12px 14px;}
.trust-main.trust-data-page--manual-ops .trust-manual-form-card>.trust-card__body{padding:12px 14px;}
.trust-main.trust-data-page--manual-ops .trust-manual-company{display:grid;grid-template-columns:minmax(132px,max-content) minmax(0,1fr);gap:10px;align-items:center;margin-bottom:8px;}
.trust-main.trust-data-page--manual-ops .trust-manual-company label{margin:0;}
.trust-main.trust-data-page--manual-ops .trust-manual-company .trust-input{min-height:36px;padding:7px 10px;}
.trust-main.trust-data-page--manual-ops .trust-manual-channel-mode{margin:0 0 8px;padding:7px 10px;line-height:1.35;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale .trust-form-group{margin-bottom:8px;}
.trust-main.trust-data-page--manual-ops .trust-manual-phones .trust-textarea{min-height:70px;padding:8px 10px;}
.trust-main.trust-data-page--manual-ops .trust-manual-phones small,.trust-main.trust-data-page--manual-ops .trust-manual-message small{margin-top:4px;line-height:1.4;}
.trust-main.trust-data-page--manual-ops .trust-manual-contact-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;}
.trust-main.trust-data-page--manual-ops .trust-manual-template{display:grid;grid-template-columns:minmax(132px,max-content) minmax(0,1fr);gap:10px;align-items:center;}
.trust-main.trust-data-page--manual-ops .trust-manual-template label{margin:0;}
.trust-main.trust-data-page--manual-ops .trust-manual-template .trust-select{min-height:36px;padding:7px 10px;}
.trust-main.trust-data-page--manual-ops .trust-manual-message .trust-textarea{min-height:86px;padding:8px 10px;}
.trust-main.trust-data-page--manual-ops .trust-manual-message .trust-placeholder-picker{margin-top:5px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice{margin-top:7px;padding:8px 10px;border-left-width:3px;border-radius:7px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice strong{margin-bottom:2px;font-size:11px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice p{font-size:12px;line-height:1.35;}
.trust-main.trust-data-page--manual-ops .trust-manual-form-actions{margin-top:8px;}
@media (max-width:900px){.trust-main.trust-data-page--manual-ops .trust-manual-contact-row{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.trust-main.trust-data-page--manual-ops .trust-manual-company,.trust-main.trust-data-page--manual-ops .trust-manual-template,.trust-main.trust-data-page--manual-ops .trust-manual-contact-row{grid-template-columns:1fr;gap:6px;}.trust-main.trust-data-page--manual-ops .trust-manual-company label,.trust-main.trust-data-page--manual-ops .trust-manual-template label{margin-bottom:0;}}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-kpi{gap:6px 13px;}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-kpi strong{font-size:16px;}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-stato{padding-top:8px;}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-azioni{gap:7px 9px;padding-top:0;}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-azioni>.trust-form-actions,
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-azioni>form{margin:0;}
.trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-azioni .trust-btn{min-height:34px;padding:7px 10px;font-size:12px;}
.trust-main.trust-data-page--manual-ops .trust-manual-communications-table-wrap{max-height:min(54vh,620px);margin-top:8px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.trust-main.trust-data-page--manual-ops .trust-manual-communications-table thead th,
.trust-main.trust-data-page--gateway .trust-gateway-table thead th{position:sticky;top:0;z-index:2;}

.trust-main.trust-data-page--gateway .trust-gateway-group-start{display:flex;flex:1 0 100%;justify-content:center;margin:2px 0 0;}
.trust-main.trust-data-page--gateway .trust-gateway-group-start .trust-gateway-start-cta{min-width:min(100%,330px);}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities{margin:0 0 6px;}
.trust-main.trust-data-page--gateway .trust-gateway-capabilities>.trust-card__body{padding:10px 14px;}
.trust-main.trust-data-page--gateway .trust-gateway-session-controls{margin-top:8px;}
.trust-main.trust-data-page--gateway .trust-gateway-session-controls p{margin:0 0 5px;}
.trust-main.trust-data-page--gateway .trust-gateway-session-controls .trust-form-actions{gap:6px;margin:7px 0 0;}
.trust-main.trust-data-page--gateway .trust-gateway-session-controls .trust-btn{min-height:33px;padding:6px 10px;font-size:12px;}
.trust-main.trust-data-page--gateway .trust-gateway-table-wrap{max-height:min(56vh,650px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.trust-main.trust-data-page--gateway .trust-gateway-table .trust-gateway-actions{flex-direction:row;align-items:center;gap:6px;}
.trust-main.trust-data-page--gateway .trust-gateway-table .trust-gateway-actions form{width:auto;}
.trust-main.trust-data-page--gateway .trust-gateway-table .trust-gateway-actions .trust-btn{width:auto;white-space:nowrap;}

.trust-gateway-start-modal{padding:14px;}
.trust-gateway-start-modal__panel{width:min(100%,440px);padding:17px 18px;border-radius:10px;}
.trust-gateway-start-modal__panel h2{margin-bottom:7px;font-size:18px;}
.trust-gateway-start-modal__panel p{font-size:12.5px;line-height:1.4;}
.trust-gateway-start-modal__panel p + p{margin-top:5px;}
.trust-gateway-start-modal__device{margin-top:12px;padding:10px;border:1px solid rgba(101,169,220,.28);border-radius:8px;background:rgba(27,57,81,.18);}
.trust-gateway-start-modal__device label{margin-bottom:5px;font-size:12px;}
.trust-gateway-start-modal__sim-hint{color:#9aafc0;font-weight:500;}
.trust-gateway-start-modal__panel .trust-gateway-start-modal__device-status{margin-top:6px;font-size:11.5px;}
.trust-gateway-start-modal__panel .trust-form-actions{margin-top:13px;gap:7px;}
.trust-gateway-start-modal__panel .trust-btn{min-height:34px;padding:7px 10px;font-size:12px;}

.trust-main.trust-data-page--notifications .trust-data-page__viewport .trust-table-wrap{max-height:min(60vh,670px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}

@media (min-width:901px){
    .trust-main.trust-data-page--gateway .trust-gateway-session-controls .trust-form-actions{flex-wrap:nowrap;}
    .trust-main.trust-data-page--gateway .trust-gateway-session-controls .trust-form-actions form{flex:0 0 auto;}
}
@media (max-width:900px){
    .trust-main.trust-data-page--manual-ops .trust-manual-communications-table-wrap{max-height:50vh;}
    .trust-main.trust-data-page--gateway .trust-gateway-table-wrap{max-height:52vh;}
    .trust-main.trust-data-page--notifications .trust-data-page__viewport .trust-table-wrap{max-height:55vh;}
}
@media (max-width:640px){
    .trust-main.trust-data-page--manual-ops .trust-card__body{padding:12px;}
    .trust-main.trust-data-page--manual-ops .trust-riepilogo-gruppo-azioni .trust-btn{width:100%;}
    .trust-main.trust-data-page--gateway .trust-gateway-group-start{justify-content:stretch;}
    .trust-main.trust-data-page--gateway .trust-gateway-group-start .trust-gateway-start-cta{width:100%;}
    .trust-gateway-start-modal__panel{padding:15px;}
}

/* Picker placeholder condiviso tra comunicazioni manuali e SMS massivi. */
.trust-main .trust-placeholder-picker{position:relative;display:inline-block;margin-top:9px;}
.trust-main .trust-placeholder-picker__toggle{min-height:32px;}
.trust-main .trust-placeholder-picker__panel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:min(360px,calc(100vw - 48px));max-height:320px;overflow:auto;padding:10px;border:1px solid var(--trust-border-accent);border-radius:10px;background:var(--trust-bg-panel);box-shadow:0 14px 34px rgba(0,0,0,.34);}
.trust-main .trust-placeholder-picker__category{margin:8px 0 4px;color:var(--trust-text-secondary);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;}
.trust-main .trust-placeholder-picker__category:first-child{margin-top:0;}
.trust-main .trust-placeholder-picker__item{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:var(--trust-text-primary);font:inherit;text-align:left;cursor:pointer;}
.trust-main .trust-placeholder-picker__item:hover,.trust-main .trust-placeholder-picker__item:focus{background:rgba(52,132,193,.20);outline:0;}
.trust-main .trust-placeholder-picker__item code{color:#9ed4f5;font-size:11px;white-space:nowrap;}
@media (max-width:768px){.trust-main .trust-placeholder-picker{display:block;}.trust-main .trust-placeholder-picker__panel{position:static;width:100%;margin-top:6px;}}

/* Lavorazioni manuali: il riepilogo resta stabile e la sola tabella usa lo spazio residuo. */
@media (min-width:901px){
    .trust-main.trust-data-page--manual-ops{min-height:0;overflow:hidden;}
    .trust-main.trust-data-page--manual-ops .trust-manual-operations-summary{flex:0 0 auto;min-height:0;margin-bottom:0;}
    .trust-main.trust-data-page--manual-ops .trust-manual-communications-table-wrap{display:block;min-height:220px;max-height:none;flex:1 1 260px;margin-top:8px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
    .trust-main.trust-data-page--manual-ops .trust-manual-communications-table thead th{position:sticky;top:0;z-index:5;}
}

/* CTA del gruppo Gateway: area indipendente dai filtri, sempre centrata. */
.trust-main.trust-data-page--gateway .trust-gateway-group-start-area{display:flex;justify-content:center;width:100%;margin-top:10px;}
.trust-main.trust-data-page--gateway .trust-gateway-group-start-area .trust-gateway-group-start{display:flex;flex:0 0 auto;justify-content:center;margin:0;}
.trust-main.trust-data-page--gateway .trust-gateway-group-start-area .trust-gateway-start-cta{min-width:min(100%,380px);min-height:44px;padding:10px 18px;font-size:13px;font-weight:750;letter-spacing:.03em;}

@media (max-width:640px){
    .trust-main.trust-data-page--gateway .trust-gateway-group-start-area{justify-content:stretch;}
    .trust-main.trust-data-page--gateway .trust-gateway-group-start-area .trust-gateway-group-start,.trust-main.trust-data-page--gateway .trust-gateway-group-start-area .trust-gateway-start-cta{width:100%;}
}

/* Rifinitura finale: nuova comunicazione compatta senza variare campi o validazioni. */
.trust-main.trust-data-page--manual-ops .trust-manual-form-card>.trust-card__body{padding:10px 12px;}
.trust-main.trust-data-page--manual-ops .trust-manual-form-card .trust-form-group{margin-bottom:6px;}
.trust-main.trust-data-page--manual-ops .trust-manual-company{margin-bottom:6px;gap:8px;}
.trust-main.trust-data-page--manual-ops .trust-manual-company .trust-input{min-height:34px;padding:6px 9px;}
.trust-main.trust-data-page--manual-ops .trust-manual-channel-mode{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;margin:0 0 6px;padding:6px 9px;line-height:1.25;}
.trust-main.trust-data-page--manual-ops .trust-manual-change-choice{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid rgba(132,201,242,.72);border-radius:6px;background:rgba(27,103,157,.22);color:#d9f0ff;font-size:11px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;}
.trust-main.trust-data-page--manual-ops .trust-manual-change-choice:hover,.trust-main.trust-data-page--manual-ops .trust-manual-change-choice:focus-visible{border-color:#a9ddff;background:rgba(39,124,184,.42);color:#fff;outline:0;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale{margin:0 0 6px;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale .trust-card__body{padding:9px 12px;}
.trust-main.trust-data-page--manual-ops .riga-comunicazione-manuale .trust-form-group{margin-bottom:6px;}
.trust-main.trust-data-page--manual-ops .trust-manual-phones .trust-textarea{min-height:54px;padding:6px 9px;line-height:1.35;}
.trust-main.trust-data-page--manual-ops .trust-manual-phones small,.trust-main.trust-data-page--manual-ops .trust-manual-message small{margin-top:2px;font-size:10.5px;line-height:1.3;}
.trust-main.trust-data-page--manual-ops .trust-manual-contact-row,.trust-main.trust-data-page--manual-ops .trust-manual-details-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;}
.trust-main.trust-data-page--manual-ops .trust-manual-details-row .trust-manual-template{display:block;}
.trust-main.trust-data-page--manual-ops .trust-manual-details-row .trust-manual-template label{margin-bottom:3px;}
.trust-main.trust-data-page--manual-ops .trust-manual-details-row .trust-select{min-height:34px;padding:6px 9px;}
.trust-main.trust-data-page--manual-ops .trust-manual-message .trust-textarea{min-height:72px;padding:7px 9px;line-height:1.35;}
.trust-main.trust-data-page--manual-ops .trust-manual-message .trust-placeholder-picker{margin-top:3px;}
.trust-main.trust-data-page--manual-ops .trust-manual-message .trust-placeholder-picker__toggle{min-height:28px;padding:5px 8px;font-size:11px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice{margin-top:5px;padding:6px 8px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice strong{font-size:10.5px;}
.trust-main.trust-data-page--manual-ops .trust-manual-none-notice p{font-size:11px;line-height:1.25;}
.trust-main.trust-data-page--manual-ops .trust-manual-form-actions{margin-top:5px;}

@media (max-width:640px){
    .trust-main.trust-data-page--manual-ops .trust-manual-contact-row,.trust-main.trust-data-page--manual-ops .trust-manual-details-row{grid-template-columns:1fr;gap:5px;}
}

/* Esiti unificati: struttura autonoma, senza dipendere dall'ordine delle card. */
.trust-main.trust-esiti-page .trust-esiti-page__heading{flex:0 0 auto;}
.trust-main.trust-esiti-page .trust-esiti-page__heading h1{margin:0 0 3px;font-size:25px;line-height:1.16;}
.trust-main.trust-esiti-page .trust-esiti-page__heading .trust-page-description{margin:0 0 8px;font-size:12.5px;line-height:1.35;}
.trust-main.trust-esiti-page .trust-esiti-filters-card{flex:0 0 auto;min-height:0;margin:0 0 8px;}
.trust-main.trust-esiti-page .trust-esiti-filters-card>.trust-card__body{padding:10px 12px;}
.trust-main.trust-esiti-page .trust-filter-title{margin:0 0 6px;font-size:12px;line-height:1.2;}
.trust-main.trust-esiti-page .trust-esiti-filtri{display:grid;grid-template-columns:repeat(6,minmax(118px,1fr));gap:7px 9px;align-items:end;}
.trust-main.trust-esiti-page .trust-esiti-filtri label{display:block;margin:0 0 3px;color:var(--trust-text-secondary);font-size:11px;font-weight:700;line-height:1.2;}
.trust-main.trust-esiti-page .trust-esiti-filtri__gateway{margin:0;padding:0;border:0;border-radius:0;background:transparent;}
.trust-main.trust-esiti-page .trust-esiti-filtri .trust-input,.trust-main.trust-esiti-page .trust-esiti-filtri .trust-select{width:100%;min-height:34px;padding:6px 8px;}
.trust-main.trust-esiti-page .trust-esiti-filtri__ricerca{grid-column:span 2;}
.trust-main.trust-esiti-page .trust-esiti-filtri__actions{display:flex;gap:6px;align-items:end;min-width:0;}
.trust-main.trust-esiti-page .trust-esiti-filtri__actions .trust-btn{min-height:34px;padding:6px 10px;white-space:nowrap;}
.trust-main.trust-esiti-page .trust-esiti-viewport{display:flex;min-height:0;flex:1 1 auto;margin:0;overflow:hidden;}
.trust-main.trust-esiti-page .trust-esiti-viewport>.trust-card__body{display:flex;min-height:0;width:100%;padding:0;overflow:hidden;}
.trust-main.trust-esiti-page .trust-esiti-table-wrap{min-height:0;width:100%;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.trust-main.trust-esiti-page .trust-esiti-table{min-width:2070px;margin:0;border-collapse:separate;border-spacing:0;table-layout:fixed;}
.trust-main.trust-esiti-page .trust-esiti-table th,.trust-main.trust-esiti-page .trust-esiti-table td{padding:7px 8px;font-size:11.5px;vertical-align:top;}
.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(1){width:220px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(2){width:145px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(3){width:105px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(4){width:170px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(5){width:145px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(6){width:110px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(n+7):nth-child(-n+11){width:72px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(12){width:150px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(13){width:140px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(14){width:130px;}.trust-main.trust-esiti-page .trust-esiti-table th:nth-child(15){width:350px;}
.trust-main.trust-esiti-page .trust-esiti-table thead th{position:sticky;top:0;z-index:6;background:#0e1825;box-shadow:0 1px 0 var(--trust-border-accent);}
.trust-main.trust-esiti-page .trust-esiti-row--manual-group>td:first-child{border-left:3px solid rgba(109,186,231,.75);}
.trust-main.trust-esiti-page .trust-esiti-technical-reference{display:block;overflow:hidden;color:var(--trust-text-secondary);line-height:1.3;text-overflow:ellipsis;white-space:nowrap;}
.trust-main.trust-esiti-page .trust-esiti-technical-reference small{display:block;margin-bottom:2px;color:#89c8ed;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;}
.trust-main.trust-esiti-page .trust-esiti-manual-code{color:#d7f0ff;white-space:nowrap;}
.trust-main.trust-esiti-page .trust-esiti-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:310px;}
.trust-main.trust-esiti-page .trust-esiti-actions .trust-btn{min-height:30px;padding:5px 8px;font-size:11px;white-space:nowrap;}

@media (min-width:901px){
    .trust-main.trust-esiti-page{min-height:0;overflow:hidden;}
}
@media (min-width:901px) and (max-width:1280px){
    .trust-main.trust-esiti-page .trust-esiti-filtri{grid-template-columns:repeat(4,minmax(150px,1fr));}
    .trust-main.trust-esiti-page .trust-esiti-filtri__ricerca{grid-column:span 2;}
}
@media (max-width:900px){
    .trust-main.trust-esiti-page{display:block;overflow-y:auto;}
    .trust-main.trust-esiti-page .trust-esiti-filtri{grid-template-columns:repeat(2,minmax(0,1fr));}
    .trust-main.trust-esiti-page .trust-esiti-filtri__ricerca{grid-column:1 / -1;}
    .trust-main.trust-esiti-page .trust-esiti-viewport{display:block;overflow:visible;}
    .trust-main.trust-esiti-page .trust-esiti-viewport>.trust-card__body{display:block;overflow:visible;}
    .trust-main.trust-esiti-page .trust-esiti-table-wrap{max-height:62vh;overflow:auto;}
}
@media (max-width:640px){
    .trust-main.trust-esiti-page .trust-esiti-filtri{grid-template-columns:1fr;}
    .trust-main.trust-esiti-page .trust-esiti-filtri__ricerca{grid-column:auto;}
    .trust-main.trust-esiti-page .trust-esiti-filtri__actions{flex-wrap:wrap;}
}
