.cgs-portal-shell{max-width:1180px;margin:40px auto;font-family:Inter,Arial,sans-serif;color:#16233a}.cgs-portal-header{padding:34px;border-radius:24px;background:linear-gradient(135deg,#102b52,#1c447c);color:#fff;display:flex;justify-content:space-between;gap:25px;align-items:center}.cgs-portal-header span,.cgs-form-title span{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800}.cgs-portal-header h1{color:#fff;margin:6px 0;font-size:34px}.cgs-portal-header p{margin:0;opacity:.82}.cgs-portal-logout{color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:10px;padding:10px 18px;text-decoration:none}.cgs-portal-nav{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0}.cgs-portal-nav a{padding:11px 16px;border-radius:10px;background:#eef3f8;text-decoration:none;color:#33435b;font-weight:700}.cgs-portal-nav a.active{background:#1c447c;color:#fff}.cgs-portal-content{background:#f6f8fb;border:1px solid #e4eaf1;padding:25px;border-radius:22px}.cgs-portal-success,.cgs-portal-alert{padding:15px 18px;margin-bottom:15px;border-radius:12px;background:#e9f8ef;color:#176237;font-weight:700}.cgs-portal-alert{background:#fff3dd;color:#805b17}.cgs-portal-welcome,.cgs-portal-card,.cgs-portal-form section,.cgs-portal-grid>section,.cgs-portal-grid>aside{background:#fff;border:1px solid #e4eaf1;border-radius:18px;padding:24px}.cgs-portal-welcome{display:flex;justify-content:space-between;gap:30px;align-items:center}.cgs-status-pill{display:inline-flex;padding:5px 10px;border-radius:20px;background:#e8f3ff;color:#1c447c;font-size:12px;font-weight:800}.cgs-progress{width:260px;height:12px;background:#e9eef4;border-radius:20px;overflow:hidden}.cgs-progress i{display:block;height:100%;background:#1c447c}.cgs-portal-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0}.cgs-portal-kpis article{background:#fff;border:1px solid #e4eaf1;border-radius:16px;padding:20px}.cgs-portal-kpis small,.cgs-portal-kpis span{display:block;color:#6b778c}.cgs-portal-kpis strong{font-size:30px;display:block;margin:8px 0}.cgs-portal-grid{display:grid;grid-template-columns:1.5fr .7fr;gap:18px}.cgs-portal-grid section a{display:flex;flex-direction:column;padding:14px 0;border-bottom:1px solid #edf0f4;text-decoration:none}.cgs-portal-grid section a b{color:#1c447c}.cgs-portal-grid section a span{color:#6c7788}.cgs-portal-btn{display:inline-flex;border:0;border-radius:11px;background:#1c447c;color:#fff!important;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer}.cgs-portal-form{display:grid;gap:18px}.cgs-form-title{margin-bottom:20px}.cgs-form-title h2{margin:5px 0}.cgs-form-title p{color:#6c7788}.cgs-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.cgs-form-grid label,.cgs-upload-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}.cgs-form-grid label.full{grid-column:1/-1}.cgs-form-grid input,.cgs-form-grid textarea,.cgs-upload-form input,.cgs-hours-list input{border:1px solid #ced8e4;border-radius:10px;padding:12px;background:#fff}.cgs-checkbox-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cgs-checkbox-grid label{border:1px solid #dfe6ee;border-radius:10px;padding:12px;background:#fafbfd}.cgs-upload-form{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:16px;border:1px dashed #b9c7d8;border-radius:14px}.cgs-gallery-admin{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:20px}.cgs-gallery-admin article{border:1px solid #dfe6ee;border-radius:14px;overflow:hidden;background:#fff}.cgs-gallery-admin img{width:100%;height:180px;object-fit:cover}.cgs-gallery-admin article div{display:flex;justify-content:space-between;padding:10px}.cgs-gallery-admin span{font-size:12px;font-weight:800;color:#1c447c}.cgs-gallery-admin a{color:#a22}.cgs-hours-list>div{display:grid;grid-template-columns:1.4fr 1fr 1fr auto 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f4}.cgs-login-shell{max-width:480px}.cgs-login-card{padding:35px;border-radius:22px;background:#fff;border:1px solid #dfe6ee;box-shadow:0 16px 50px rgba(20,43,75,.12)}.cgs-login-card>span{color:#1c447c;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.12em}.cgs-login-card label{display:block;font-weight:700;margin:14px 0 7px}.cgs-login-card input[type=text],.cgs-login-card input[type=password]{width:100%;padding:13px;border:1px solid #ccd6e2;border-radius:10px}.cgs-login-card input[type=submit]{width:100%;padding:13px;border:0;border-radius:10px;background:#1c447c;color:#fff;font-weight:800}.cgs-portal-empty{padding:25px;text-align:center;color:#69778b}.cgs-profile-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cgs-profile-gallery img{width:100%;height:170px;object-fit:cover;border-radius:12px}.cgs-profile-hours{display:grid;gap:8px}.cgs-profile-hours div{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:9px 0}
@media(max-width:900px){.cgs-portal-kpis{grid-template-columns:repeat(2,1fr)}.cgs-portal-grid{grid-template-columns:1fr}.cgs-checkbox-grid{grid-template-columns:repeat(2,1fr)}.cgs-gallery-admin{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cgs-portal-shell{margin:20px 10px}.cgs-portal-header{align-items:flex-start;flex-direction:column}.cgs-portal-header h1{font-size:27px}.cgs-portal-content{padding:14px}.cgs-portal-kpis,.cgs-form-grid,.cgs-checkbox-grid,.cgs-gallery-admin{grid-template-columns:1fr}.cgs-portal-welcome{align-items:flex-start;flex-direction:column}.cgs-progress{width:100%}.cgs-hours-list>div{grid-template-columns:1fr 1fr}.cgs-hours-list>div strong{grid-column:1/-1}.cgs-hours-list>div span{display:none}}

/* Chamados do parceiro - v2.5.1 */
.cgs-portal-call-list{display:grid;gap:10px}.cgs-portal-call-list>a{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px;border:1px solid #e1e7ef;border-radius:13px;text-decoration:none;background:#fff;color:#183451}.cgs-portal-call-list>a:hover{border-color:#1c447c;box-shadow:0 8px 20px rgba(28,68,124,.08)}.cgs-portal-call-list span,.cgs-portal-call-list small{display:block;color:#6d7b8d;margin-top:4px}.cgs-portal-call-status{display:inline-flex!important;padding:5px 9px;border-radius:20px;background:#edf2f7;color:#294865!important;font-size:12px;font-weight:800}.cgs-portal-call-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:14px}.cgs-portal-call-grid select,.cgs-portal-call-grid textarea{width:100%;border:1px solid #ced8e4;border-radius:10px;padding:12px;background:#fff}.cgs-portal-call-grid label{display:grid;gap:7px;font-weight:700}.cgs-portal-back{display:inline-flex;margin-bottom:8px;color:#1c447c;font-weight:800;text-decoration:none}.cgs-portal-call-history{margin-top:18px}.cgs-portal-call-history article{padding:14px 0;border-bottom:1px solid #edf1f5}.cgs-portal-call-history article:last-child{border-bottom:0}.cgs-portal-call-history article div{display:flex;justify-content:space-between;gap:15px}.cgs-portal-call-history small{color:#758397}.cgs-portal-call-history p{margin:7px 0 0;color:#43566b}@media(max-width:800px){.cgs-portal-call-grid{grid-template-columns:1fr}.cgs-portal-call-list>a{align-items:flex-start;flex-direction:column}.cgs-portal-call-history article div{display:block}.cgs-portal-call-history small{display:block;margin-top:4px}}

/* Release 3.0 - Dashboard parceiro e galeria premium */
.cgs-premium-welcome{background:linear-gradient(135deg,#fff,#eef4fa)}.cgs-profile-score{width:130px;height:130px;border-radius:50%;display:grid;place-content:center;text-align:center;background:conic-gradient(#1c447c var(--score,80%),#dce5ef 0);position:relative}.cgs-profile-score:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.cgs-profile-score strong,.cgs-profile-score span{position:relative}.cgs-profile-score strong{font-size:28px}.cgs-profile-score span{font-size:11px;font-weight:800;color:#1c447c}.cgs-dashboard-premium-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:18px;margin:18px 0}.cgs-chart-card{min-height:300px}.cgs-mini-chart{height:190px;display:flex;align-items:flex-end;gap:4px;padding-top:15px;border-bottom:1px solid #dfe6ee}.cgs-mini-chart i{flex:1;min-height:4px;background:linear-gradient(#4d78ac,#1c447c);border-radius:5px 5px 0 0}.cgs-completion-list{display:grid;gap:10px}.cgs-completion-list div{display:flex;gap:10px;padding:10px;border-radius:10px;background:#f5f7fa}.cgs-completion-list div.done{background:#edf8f1;color:#176237}.cgs-simple-list{display:grid}.cgs-simple-list a{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f5;text-decoration:none}.cgs-simple-list span,.cgs-simple-list small{display:block;color:#6d7b8d}.cgs-upload-premium select,.cgs-upload-premium input[type=text]{border:1px solid #ced8e4;border-radius:10px;padding:10px}.cgs-gallery-premium article{position:relative}.cgs-gallery-premium article>a{display:block;padding:0 10px 12px}.cgs-gallery-meta{padding:10px!important}.cgs-gallery-meta b{font-size:11px;background:#1c447c;color:#fff;padding:4px 7px;border-radius:8px}.cgs-gallery-premium p{padding:0 10px;color:#5f6d7e}.cgs-partner-reviews-admin{display:grid;gap:14px}.cgs-partner-reviews-admin article{border:1px solid #e0e7ef;border-radius:15px;padding:18px}.cgs-review-head{display:flex;justify-content:space-between;gap:15px}.cgs-review-head span{display:block}.cgs-partner-reviews-admin textarea{width:100%;border:1px solid #ced8e4;border-radius:10px;padding:12px;margin:8px 0}.cgs-dashboard-lists{grid-template-columns:1fr 1fr}
@media(max-width:900px){.cgs-dashboard-premium-grid,.cgs-dashboard-lists{grid-template-columns:1fr}}

/* Release 3.0.2 - Area do parceiro premium */
.cgs-portal-shell{max-width:1440px;padding:26px clamp(16px,3vw,48px);background:linear-gradient(180deg,#eef4fa 0,#f8fafc 360px);border-radius:30px;box-sizing:border-box}
.cgs-portal-header{position:relative;overflow:hidden;padding:42px clamp(24px,4vw,54px);border-radius:28px;background:radial-gradient(circle at 82% 10%,rgba(117,165,219,.55),transparent 28%),linear-gradient(135deg,#0e284d,#1c447c 65%,#285d9b);box-shadow:0 24px 55px rgba(17,51,91,.23)}
.cgs-portal-header:after{content:"";position:absolute;right:-70px;bottom:-110px;width:330px;height:330px;border:1px solid rgba(255,255,255,.12);border-radius:50%}
.cgs-portal-header h1{font-size:clamp(32px,4vw,48px);position:relative}.cgs-portal-header p,.cgs-portal-header span,.cgs-portal-header a{position:relative;z-index:1}
.cgs-portal-logout{background:rgba(255,255,255,.1);backdrop-filter:blur(8px);font-weight:800}.cgs-portal-logout:hover{background:#fff;color:#1c447c}
.cgs-portal-nav{position:sticky;top:12px;z-index:90;margin:16px 0;padding:10px;background:rgba(255,255,255,.91);backdrop-filter:blur(14px);border:1px solid #dfe7f0;border-radius:16px;box-shadow:0 10px 30px rgba(27,53,83,.08)}
.cgs-portal-nav a{flex:1;text-align:center;background:transparent;border:1px solid transparent;white-space:nowrap}.cgs-portal-nav a:hover{background:#edf4fc;color:#1c447c}.cgs-portal-nav a.active{box-shadow:0 8px 20px rgba(28,68,124,.2)}
.cgs-portal-content{background:transparent;border:0;padding:0;border-radius:0}.cgs-portal-welcome,.cgs-portal-card,.cgs-portal-form section,.cgs-portal-grid>section,.cgs-portal-grid>aside{border:0;box-shadow:0 12px 38px rgba(28,53,84,.08);border-radius:22px}
.cgs-portal-kpis article{border:0;box-shadow:0 10px 28px rgba(30,57,89,.07);border-top:4px solid #1c447c;transition:.18s}.cgs-portal-kpis article:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(30,57,89,.12)}
.cgs-portal-kpis strong{color:#142a47}.cgs-portal-form input,.cgs-portal-form select,.cgs-portal-form textarea{min-height:48px;border:1px solid #ccd8e5;border-radius:12px;background:#fbfdff;transition:.18s}.cgs-portal-form input:focus,.cgs-portal-form select:focus,.cgs-portal-form textarea:focus{outline:none;border-color:#1c447c;box-shadow:0 0 0 3px rgba(28,68,124,.12);background:#fff}
.cgs-portal-btn{min-height:48px;border-radius:12px;padding:12px 20px;box-shadow:0 8px 20px rgba(28,68,124,.2);transition:.18s}.cgs-portal-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(28,68,124,.28)}
.cgs-hours-list>div{background:#f8fafc;border:1px solid #e0e8f1;border-radius:14px;padding:14px}.cgs-hours-list>div strong{color:#173454}.cgs-gallery-premium article{border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(24,51,83,.1)}
.cgs-profile-score{box-shadow:0 12px 30px rgba(28,68,124,.16)}
@media(max-width:900px){.cgs-portal-shell{padding:14px;border-radius:18px}.cgs-portal-header{padding:30px 22px}.cgs-portal-nav{position:static;overflow:auto;flex-wrap:nowrap}.cgs-portal-nav a{flex:0 0 auto}.cgs-portal-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.cgs-portal-header{align-items:flex-start;flex-direction:column}.cgs-portal-kpis{grid-template-columns:1fr}.cgs-portal-welcome{align-items:flex-start;flex-direction:column}.cgs-progress{width:100%}}


/* Release 3.1.0 - logo e catálogo virtual */
.cgs-logo-manager-row{display:grid;grid-template-columns:140px 1fr;gap:22px;align-items:center}
.cgs-logo-preview{width:130px;height:130px;border:1px solid #d9e4ef;border-radius:22px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 10px 26px rgba(28,68,124,.09)}
.cgs-logo-preview img{width:100%;height:100%;object-fit:contain;padding:10px}.cgs-logo-preview span{font-size:48px;font-weight:900;color:#1C447C}
.cgs-catalog-manager{display:grid;gap:22px}.cgs-catalog-form{padding:20px;border:1px solid #e1e9f1;border-radius:18px;background:#f8fbfe}
.cgs-catalog-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cgs-catalog-admin-grid article{border:1px solid #e0e7ef;border-radius:16px;background:#fff;overflow:hidden;display:grid;grid-template-rows:150px auto auto}
.cgs-catalog-admin-grid img,.cgs-catalog-placeholder{width:100%;height:150px;object-fit:cover;background:#eef4fa;display:grid;place-items:center;font-weight:900;color:#1C447C;font-size:30px}
.cgs-catalog-admin-grid article>div:nth-child(2){padding:14px;display:grid;gap:4px}.cgs-catalog-admin-grid small{color:#6b7a8d}.cgs-catalog-admin-grid strong{font-size:16px}.cgs-catalog-admin-grid span{font-size:12px;color:#6a788b}
.cgs-delete-link{color:#b42318;font-weight:800;text-decoration:none;padding:0 14px 14px}.cgs-inline-upload{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.cgs-inline-upload input{min-height:44px}
.cgs-pdf-current{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px;border:1px solid #dce6f0;border-radius:14px;margin-bottom:14px}.cgs-pdf-current div{display:grid}.cgs-pdf-current span{font-size:12px;color:#6e7c8d}
@media(max-width:760px){.cgs-logo-manager-row{grid-template-columns:1fr}.cgs-catalog-admin-grid{grid-template-columns:1fr}}


/* =========================================================
   Casa da GS Parceiros PWA - Release 3.2.0
   ========================================================= */
.cgs-portal-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}
.cgs-pwa-actions{display:flex;align-items:center;gap:8px}
.cgs-pwa-install{
    appearance:none;
    border:1px solid rgba(255,255,255,.28)!important;
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
    min-height:42px;
    padding:0 15px!important;
    border-radius:12px!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    cursor:pointer;
    box-shadow:none!important;
    transition:.2s ease;
}
.cgs-pwa-install[hidden]{display:none!important}
.cgs-pwa-install:hover{
    background:#fff!important;
    color:#1C447C!important;
    border-color:#fff!important;
    transform:translateY(-1px);
}
.cgs-pwa-install .dashicons{
    width:17px;height:17px;font-size:17px;
}
.cgs-pwa-installed{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:0 13px;
    border-radius:12px;
    background:rgba(22,163,74,.16);
    border:1px solid rgba(134,239,172,.36);
    color:#dcfce7;
    font-size:12px;
    font-weight:800;
}
.cgs-pwa-installed[hidden]{display:none!important}

.cgs-pwa-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.cgs-pwa-modal.open{display:flex}
.cgs-pwa-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(5,20,38,.72);
    backdrop-filter:blur(7px);
}
.cgs-pwa-modal-card{
    position:relative;
    z-index:2;
    width:min(520px,100%);
    padding:30px;
    border-radius:24px;
    background:#fff;
    box-shadow:0 30px 80px rgba(6,27,51,.30);
    color:#193650;
}
.cgs-pwa-modal-close{
    position:absolute!important;
    right:14px!important;
    top:12px!important;
    width:38px!important;
    height:38px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    border-radius:50%!important;
    background:#edf3f8!important;
    color:#1C447C!important;
    font-size:24px!important;
    line-height:1!important;
    cursor:pointer;
}
.cgs-pwa-modal-kicker{
    color:#1C447C;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:900;
    font-size:10px;
}
.cgs-pwa-modal-card h3{
    margin:6px 0 9px!important;
    font-size:26px!important;
    color:#173758!important;
}
.cgs-pwa-modal-card>p{
    margin:0 0 20px!important;
    color:#65768a!important;
    line-height:1.65;
}
.cgs-pwa-ios-steps{display:grid;gap:10px}
.cgs-pwa-ios-steps>div{
    display:grid;
    grid-template-columns:36px 1fr;
    gap:11px;
    align-items:center;
    padding:12px;
    border:1px solid #e0e8f0;
    border-radius:14px;
    background:#f8fbfe;
}
.cgs-pwa-ios-steps b{
    width:32px;height:32px;
    border-radius:50%;
    display:grid;place-items:center;
    background:#1C447C;
    color:#fff;
}
.cgs-pwa-ios-steps span{font-size:13px;line-height:1.5}
html.cgs-pwa-modal-open{overflow:hidden}

@media(max-width:760px){
    .cgs-portal-header-actions{
        width:100%;
        justify-content:flex-start;
    }
    .cgs-pwa-install{min-height:40px}
    .cgs-pwa-modal-card{padding:26px 20px 20px}
}

/* Em modo app, reduz elementos que remetem ao navegador/site */
@media(display-mode:standalone){
    body{overscroll-behavior-y:contain}
    .cgs-portal-shell{min-height:100vh}
}


/* PWA 3.2.1 - instalação sempre acessível */
.cgs-pwa-device-label{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 10px;
    margin-bottom:14px;
    border-radius:999px;
    background:#eaf2f9;
    color:#1C447C;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.cgs-pwa-modal-note{
    margin-top:14px;
    padding:12px 14px;
    border-radius:13px;
    background:#fff8e6;
    border:1px solid #f3dfad;
    color:#6b5523;
    font-size:12px;
    line-height:1.55;
}


/* =========================================================
   PWA + Mobile Hotfix 3.2.3
   ========================================================= */

/* O círculo decorativo nunca deve capturar clique. */
.cgs-portal-header::after{
    pointer-events:none!important;
    z-index:0!important;
}
.cgs-portal-header-actions{
    position:relative!important;
    z-index:20!important;
    pointer-events:auto!important;
}
.cgs-pwa-actions,
.cgs-pwa-install{
    position:relative!important;
    z-index:30!important;
    pointer-events:auto!important;
}
#cgs-pwa-install{
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(255,255,255,.18);
}
#cgs-pwa-install.is-installable{
    background:#fff!important;
    color:#1C447C!important;
    border-color:#fff!important;
}

/* Mobile realmente full-width, escapando do padding do Elementor/Astra. */
@media(max-width:767px){
    .cgs-portal-shell{
        position:relative!important;
        left:50%!important;
        width:100vw!important;
        max-width:100vw!important;
        margin:0 0 0 -50vw!important;
        padding:8px!important;
        border-radius:0!important;
        background:linear-gradient(180deg,#eef4fa 0,#f8fafc 320px)!important;
        box-sizing:border-box!important;
        overflow:visible!important;
    }

    .cgs-portal-header{
        padding:22px 16px!important;
        border-radius:20px!important;
        gap:18px!important;
        min-height:auto!important;
    }

    .cgs-portal-header h1{
        margin:5px 0 7px!important;
        font-size:clamp(28px,9vw,38px)!important;
        line-height:1.05!important;
    }

    .cgs-portal-header p{
        font-size:15px!important;
        line-height:1.5!important;
    }

    .cgs-portal-header-actions{
        width:100%!important;
        display:grid!important;
        grid-template-columns:minmax(0,1fr) auto!important;
        gap:10px!important;
        align-items:center!important;
    }

    .cgs-pwa-actions{
        width:100%!important;
        display:block!important;
    }

    .cgs-pwa-install{
        width:100%!important;
        min-height:48px!important;
        padding:0 14px!important;
        font-size:14px!important;
        border-radius:13px!important;
    }

    .cgs-portal-logout{
        min-height:48px!important;
        display:inline-flex!important;
        align-items:center!important;
        padding:0 18px!important;
        border-radius:13px!important;
    }

    .cgs-portal-nav{
        margin:8px 0!important;
        padding:6px!important;
        border-radius:16px!important;
        gap:5px!important;
        background:#fff!important;
        box-shadow:0 7px 22px rgba(24,61,102,.07)!important;
    }

    .cgs-portal-nav a{
        padding:11px 14px!important;
        border-radius:12px!important;
        font-size:13px!important;
    }

    .cgs-portal-content{
        padding:8px!important;
        border-radius:16px!important;
        border:0!important;
        background:transparent!important;
    }

    .cgs-portal-welcome,
    .cgs-portal-card,
    .cgs-portal-form section,
    .cgs-portal-grid>section,
    .cgs-portal-grid>aside{
        padding:17px!important;
        border-radius:16px!important;
    }

    .cgs-portal-kpis{
        gap:9px!important;
        margin:10px 0!important;
    }

    .cgs-portal-kpis article{
        padding:15px!important;
    }

    .cgs-pwa-modal{
        padding:10px!important;
    }

    .cgs-pwa-modal-card{
        width:100%!important;
        max-height:calc(100dvh - 20px)!important;
        overflow:auto!important;
        padding:24px 16px 18px!important;
        border-radius:20px!important;
    }
}


/* =========================================================
   Native PWA Install 3.2.4
   ========================================================= */

/* Installation control follows normal document flow. */
.cgs-portal-header-actions,
.cgs-pwa-actions,
#cgs-pwa-install{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
}

.cgs-pwa-actions[hidden],
#cgs-pwa-install[hidden]{
    display:none!important;
}

.cgs-pwa-actions{
    display:inline-flex!important;
    width:auto!important;
    z-index:3!important;
}

#cgs-pwa-install{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:auto!important;
    min-width:138px!important;
    min-height:44px!important;
    padding:0 15px!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.14)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    box-shadow:none!important;
}

#cgs-pwa-install:hover{
    background:#fff!important;
    color:#1C447C!important;
    border-color:#fff!important;
}

#cgs-pwa-install:disabled{
    opacity:.62!important;
    cursor:wait!important;
}

/* Old instructional UI is permanently disabled in this release. */
.cgs-pwa-modal,
.cgs-pwa-device-label,
.cgs-pwa-modal-note{
    display:none!important;
}

/* Header decoration can never cover controls. */
.cgs-portal-header::before,
.cgs-portal-header::after{
    pointer-events:none!important;
}

.cgs-portal-header>*{
    position:relative;
    z-index:2;
}

@media(max-width:767px){
    .cgs-portal-header-actions{
        width:100%!important;
        display:flex!important;
        flex-wrap:wrap!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:10px!important;
    }

    .cgs-pwa-actions{
        width:auto!important;
        flex:0 0 auto!important;
    }

    #cgs-pwa-install{
        width:auto!important;
        min-width:150px!important;
        min-height:46px!important;
        padding:0 16px!important;
        font-size:13px!important;
    }
}


/* =========================================================
   Notificações Premium - Release 3.3.0
   ========================================================= */
.cgs-notify-wrap{position:relative;z-index:80}
.cgs-notify-bell{
    position:relative!important;
    width:44px!important;height:44px!important;
    min-width:44px!important;min-height:44px!important;
    padding:0!important;
    display:grid!important;place-items:center!important;
    border:1px solid rgba(255,255,255,.30)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.14)!important;
    color:#fff!important;
    cursor:pointer!important;
    box-shadow:none!important
}
.cgs-notify-bell:hover{background:#fff!important;color:#1C447C!important}
.cgs-notify-bell .dashicons{width:20px;height:20px;font-size:20px}
.cgs-notify-bell b{
    position:absolute;right:-5px;top:-5px;
    min-width:19px;height:19px;padding:0 5px;
    display:grid;place-items:center;
    border-radius:999px;background:#e11d48;color:#fff;
    font-size:10px;line-height:1;font-weight:900;
    box-shadow:0 4px 10px rgba(225,29,72,.28)
}
.cgs-notify-bell b[hidden]{display:none!important}
.cgs-notify-panel{
    position:absolute;right:0;top:54px;
    width:min(390px,calc(100vw - 28px));
    max-height:min(620px,calc(100vh - 90px));
    overflow:hidden;
    background:#fff;border:1px solid #dce6ef;border-radius:20px;
    box-shadow:0 28px 70px rgba(12,37,64,.24);
    color:#1b3955
}
.cgs-notify-panel[hidden]{display:none!important}
.cgs-notify-head{
    display:flex;justify-content:space-between;align-items:center;
    gap:12px;padding:17px 17px 13px;border-bottom:1px solid #e8eef4
}
.cgs-notify-head span{display:block;color:#1C447C;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.cgs-notify-head h3{margin:3px 0 0!important;color:#173758!important;font-size:20px!important}
.cgs-notify-head button{
    width:34px!important;height:34px!important;padding:0!important;
    display:grid!important;place-items:center!important;border:0!important;
    border-radius:50%!important;background:#eef4f9!important;color:#1C447C!important;
    font-size:22px!important;cursor:pointer!important
}
.cgs-notify-permission{
    margin:12px;padding:12px;border-radius:14px;background:#eef5fb;border:1px solid #d8e5f0;
    display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center
}
.cgs-notify-permission strong{display:block;color:#183a5a;font-size:12px}
.cgs-notify-permission span{display:block;margin-top:3px;color:#6a7b8e;font-size:10px;line-height:1.45}
.cgs-notify-permission button{
    min-height:36px!important;padding:0 12px!important;border:0!important;border-radius:10px!important;
    background:#1C447C!important;color:#fff!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important
}
.cgs-notify-permission button.active{background:#15803d!important}
.cgs-notify-list{max-height:350px;overflow:auto;padding:0 10px 10px}
.cgs-notify-item{
    display:grid!important;grid-template-columns:34px 1fr;gap:10px;
    padding:12px 8px!important;border-bottom:1px solid #edf1f5;
    text-decoration:none!important;color:inherit!important
}
.cgs-notify-item:hover{background:#f8fbfe}
.cgs-notify-item.unread{background:#f0f6fc}
.cgs-notify-icon{
    width:32px;height:32px;border-radius:10px;background:#e8f1fa;color:#1C447C;
    display:grid;place-items:center;font-weight:900
}
.cgs-notify-item.unread .cgs-notify-icon{background:#1C447C;color:#fff}
.cgs-notify-copy{display:grid;min-width:0}
.cgs-notify-copy strong{color:#193b5b;font-size:12px}
.cgs-notify-copy em{margin-top:3px;color:#5f7286;font-style:normal;font-size:11px;line-height:1.4}
.cgs-notify-copy small{margin-top:5px;color:#95a2af;font-size:9px}
.cgs-notify-empty{padding:30px 16px;text-align:center;color:#7c8998;font-size:12px}
.cgs-notify-footer{padding:10px 12px;border-top:1px solid #edf1f5;text-align:right}
.cgs-notify-footer button{border:0!important;background:transparent!important;color:#1C447C!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important;padding:5px!important}
@media(max-width:767px){
    .cgs-notify-wrap{order:-1}
    .cgs-notify-panel{
        position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto;
        max-height:calc(100dvh - 16px);border-radius:20px
    }
    .cgs-notify-permission{grid-template-columns:1fr}
    .cgs-notify-permission button{width:100%!important}
    .cgs-notify-list{max-height:46vh}
}


/* Hotfix 3.3.1 - ícone próprio de notificações */
.cgs-notify-bell-icon{
    width:22px!important;
    height:22px!important;
    display:block!important;
    color:currentColor!important;
    fill:currentColor!important;
    pointer-events:none!important;
}
.cgs-notify-bell{
    overflow:visible!important;
}
