*{
    box-sizing:border-box
}

:root{
    --navy:#082a51;
    --blue:#13538d;
    --blue2:#176ec2;
    --gold:#d0a126;
    --background:#eef3f8;
    --text:#16263d;
    --muted:#6b798e;
    --line:#dfe7ef;
    --white:#fff;
}

html{
    min-height:100%;
}

body{
    margin:0;
    min-height:100vh;
    background:var(--background);
    color:var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
}

.hidden{
    display:none !important;
}


/* LOGIN */

.login-screen{
    min-height:100vh;
    display:grid;
    place-items:center;
    position:relative;
    overflow:hidden;
    padding:24px;

    background:
        radial-gradient(
            circle at 90% 5%,
            #2582c7 0,
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #051629 0%,
            #0a3567 58%,
            #13639e 100%
        );
}

.login-decoration{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

.d1{
    width:450px;
    height:450px;
    background:#deb02d15;
    left:-180px;
    bottom:-190px;
}

.d2{
    width:250px;
    height:250px;
    border:1px solid #ffffff10;
    right:40px;
    top:80px;
}

.login-card{
    width:min(460px,100%);
    position:relative;
    z-index:2;
    padding:38px;
    background:#fff;
    border-radius:28px;
    box-shadow:
        0 35px 90px
        rgba(0,0,0,.32);
}

.login-brand{
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:20px;
    border-bottom:1px solid #edf1f5;
}

.login-brand img{
    width:67px;
    height:67px;
}

.login-brand span,
.login-brand small{
    display:block;
}

.login-brand span{
    font-size:21px;
    font-weight:900;
    color:#123f72;
}

.login-brand small{
    margin-top:2px;
    color:#738197;
}

.login-title{
    padding:26px 0 8px;
}

.tag{
    font-size:11px;
    font-weight:900;
    color:#286fae;
    letter-spacing:.13em;
}

.login-title h1{
    margin:8px 0 10px;
    font-size:37px;
    line-height:1.08;
    letter-spacing:-1.3px;
}

.login-title p{
    color:#69798c;
    line-height:1.6;
}

label{
    display:block;
    margin-top:16px;
    color:#374860;
    font-size:13px;
    font-weight:750;
}

input,
select,
textarea{
    width:100%;
    margin-top:7px;
    padding:13px 14px;
    border:1px solid var(--line);
    border-radius:12px;
    outline:none;
    background:#fff;
    color:#24354d;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#2e7bc2;
    box-shadow:
        0 0 0 3px
        rgba(46,123,194,.11);
}

input:disabled{
    background:#edf2f6;
    color:#65758a;
}

textarea{
    resize:vertical;
}

.btn-primary{
    width:100%;
    margin-top:20px;
    padding:14px 18px;
    border:0;
    border-radius:12px;
    color:white;
    font-weight:850;

    background:
        linear-gradient(
            135deg,
            #1672cb,
            #123d72
        );

    box-shadow:
        0 8px 20px
        rgba(20,92,159,.18);
}

.login-error{
    margin-top:12px;
    color:#c32c40;
    font-size:13px;
}

.demo-box{
    display:flex;
    flex-direction:column;
    margin-top:24px;
    padding:12px 14px;
    border-radius:11px;
    background:#f3f6fa;
    color:#69778a;
    font-size:12px;
}

.demo-box strong{
    color:#35465e;
    margin-bottom:2px;
}


/* TOPO */

.app{
    min-height:100vh;
    padding-bottom:88px;
}

.topbar{
    height:74px;
    position:sticky;
    top:0;
    z-index:30;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:
        max(10px,env(safe-area-inset-top))
        18px
        10px;

    color:#fff;

    background:
        linear-gradient(
            90deg,
            #072a52,
            #155991
        );

    box-shadow:
        0 5px 20px
        rgba(6,35,68,.14);
}

.brand-small{
    display:flex;
    align-items:center;
    gap:10px;
}

.brand-small img{
    width:44px;
    height:44px;
}

.brand-small strong,
.brand-small small{
    display:block;
}

.brand-small strong{
    letter-spacing:.04em;
}

.brand-small small{
    font-size:11px;
    opacity:.75;
}

.top-actions{
    display:flex;
    gap:7px;
}

.install-btn,
.logout-btn{
    padding:8px 12px;
    border:1px solid #ffffff32;
    border-radius:10px;
    background:#ffffff13;
    color:#fff;
}


/* CONTEÚDO */

.content{
    width:min(1020px,100%);
    margin:0 auto;
    padding:20px 17px;
}

.view{
    display:none;
}

.view.active{
    display:block;
    animation:fadeIn .18s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(4px);
    }
}


/* PERFIL */

.profile-hero{
    display:flex;
    align-items:center;
    gap:17px;
    padding:21px;

    border:1px solid var(--line);
    border-radius:21px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7fafd
        );

    box-shadow:
        0 8px 28px
        rgba(25,55,85,.07);
}

.profile-photo{
    width:83px;
    height:83px;
    flex:none;
    object-fit:cover;
    border-radius:50%;
    background:#dbe4ec;
    border:4px solid #fff;
    box-shadow:
        0 5px 17px
        rgba(20,60,95,.15);
}

.profile-photo.large{
    width:104px;
    height:104px;
}

.profile-info small{
    display:block;
    color:#3976a9;
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
}

.profile-info h2{
    margin:4px 0;
    font-size:24px;
}

.profile-info p{
    margin:4px 0 0;
    color:#6e7f91;
    font-size:12px;
}

.active-member{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#278158;
    font-size:12px;
    font-weight:800;
}

.active-member span{
    width:7px;
    height:7px;
    background:#35bb75;
    border-radius:50%;
}


/* ELEIÇÃO */

.election-banner{
    margin-top:16px;
    padding:18px;
    color:#fff;
    border-radius:18px;

    background:
        linear-gradient(
            125deg,
            #12385f,
            #825a18,
            #c18a21
        );

    box-shadow:
        0 12px 30px
        rgba(155,102,15,.20);
}

.election-live{
    font-size:11px;
    font-weight:900;
    letter-spacing:.1em;
}

.pulse{
    display:inline-block;
    width:8px;
    height:8px;
    margin-right:7px;
    border-radius:50%;
    background:#5df28a;
    box-shadow:
        0 0 0 5px
        rgba(93,242,138,.13);
}

.election-content{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-top:11px;
}

.election-content h3{
    margin:0;
    font-size:21px;
}

.election-content p{
    margin:5px 0 0;
    opacity:.83;
}

.election-content button{
    flex:none;
    padding:11px 17px;
    border:0;
    border-radius:10px;
    background:#fff;
    color:#95610a;
    font-weight:900;
}


/* RESUMO */

.summary-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:11px;
    margin:16px 0 25px;
}

.summary-grid article{
    padding:15px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
}

.summary-grid strong{
    display:block;
    color:#15538a;
    font-size:25px;
}

.summary-grid span{
    color:#738196;
    font-size:12px;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin:22px 0 12px;
}

.section-heading h3{
    margin:0;
}

.section-heading p{
    margin:3px 0 0;
    color:#77869a;
    font-size:12px;
}


/* SERVIÇOS */

.services{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.service{
    min-height:166px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:18px;
    border:0;
    border-radius:18px;
    color:#fff;
    text-align:left;

    box-shadow:
        0 9px 25px
        rgba(20,42,68,.13);
}

.service-icon{
    margin-bottom:auto;
    font-size:30px;
}

.service strong{
    margin-top:10px;
    font-size:17px;
}

.service span{
    margin-top:5px;
    opacity:.82;
    font-size:12px;
    line-height:1.4;
}

.s-process{
    background:linear-gradient(135deg,#1771c5,#123f70);
}

.s-reception{
    background:linear-gradient(135deg,#07919b,#075a70);
}

.s-hotel{
    background:linear-gradient(135deg,#c58b18,#89570d);
}

.s-profile{
    background:linear-gradient(135deg,#7855b8,#483275);
}

.s-card{
    background:linear-gradient(135deg,#27875f,#135940);
}

.s-election{
    background:linear-gradient(135deg,#bb3b4e,#752433);
}


/* AVISO */

.reception-notice{
    display:flex;
    gap:12px;
    margin-top:19px;
    padding:16px;
    border-left:4px solid #2d79c2;
    border-radius:13px;
    background:#e5f1fe;
}

.notice-icon{
    width:28px;
    height:28px;
    flex:none;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#2d79c2;
    color:#fff;
    font-weight:900;
}

.reception-notice p{
    margin:4px 0 0;
    color:#536b83;
    font-size:13px;
    line-height:1.5;
}


/* VIEWS */

.view-title{
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin-bottom:19px;
}

.view-title h2{
    margin:1px 0 4px;
}

.view-title p{
    margin:0;
    color:var(--muted);
}

.back-btn{
    width:42px;
    height:42px;
    flex:none;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fff;
    color:#24425f;
    font-size:20px;
}


/* CARDS */

.form-card,
.process-card,
.request-card,
.room-card{
    margin-bottom:12px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;

    box-shadow:
        0 6px 20px
        rgba(25,55,85,.05);
}

.form-card h3{
    margin-top:0;
}

.process-card h3,
.request-card h3{
    margin:8px 0 5px;
}

.process-card p,
.request-card p{
    color:#596b80;
}

.status{
    display:inline-flex;
    padding:5px 9px;
    border-radius:999px;
    background:#e5f1fd;
    color:#1262b5;
    font-size:10px;
    font-weight:900;
}

.process-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:12px;
}

.process-meta div{
    padding:9px;
    border-radius:9px;
    background:#f4f7fa;
}

.process-meta small{
    display:block;
    margin-bottom:2px;
    color:#7b899a;
}

.timeline{
    margin-top:13px;
    padding-top:12px;
    border-top:1px solid #edf1f5;
}

.timeline-item{
    position:relative;
    margin-left:6px;
    padding:
        0
        0
        11px
        15px;
    border-left:2px solid #dbe7f1;
    color:#586c80;
    font-size:12px;
}

.timeline-item:before{
    content:"";
    width:8px;
    height:8px;
    position:absolute;
    left:-5px;
    top:2px;
    border-radius:50%;
    background:#2b77bd;
}


/* CAMPOS */

.field-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px;
}

.protected-box{
    margin-top:14px;
    padding:11px;
    border:1px solid #ecd998;
    border-radius:10px;
    background:#fff7dd;
    color:#745e1b;
    font-size:12px;
}


/* HOSPEDAGEM */

.rooms{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:18px;
}

.room-card{
    margin:0;
}

.room-card strong{
    display:block;
    margin-bottom:8px;
}


/* FOTO */

.photo-editor{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-bottom:17px;
}

.change-photo{
    margin-top:8px;
    padding:9px 13px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    cursor:pointer;
}


/* CARTEIRA */

.digital-card{
    max-width:610px;
    margin:30px auto;
    overflow:hidden;
    border-radius:23px;
    color:#fff;

    background:
        radial-gradient(
            circle at 88% 10%,
            #d0a02744,
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #061f3d,
            #104e84
        );

    box-shadow:
        0 22px 50px
        rgba(3,32,63,.30);
}

.digital-header{
    display:flex;
    align-items:center;
    gap:11px;
    padding:20px;
    border-bottom:
        1px solid
        rgba(255,255,255,.15);
}

.digital-header img{
    width:55px;
    height:55px;
}

.digital-header strong,
.digital-header span{
    display:block;
}

.digital-header strong{
    font-size:19px;
}

.digital-header span{
    margin-top:2px;
    font-size:11px;
    opacity:.72;
}

.digital-body{
    display:flex;
    gap:19px;
    align-items:center;
    padding:25px 20px;
}

.card-photo{
    width:108px;
    height:130px;
    flex:none;
    object-fit:cover;
    background:#dce5ee;
    border:3px solid #fff;
    border-radius:12px;
}

.digital-body small{
    letter-spacing:.12em;
    opacity:.7;
}

.digital-body h2{
    margin:5px 0;
}

.digital-body p{
    margin:0 0 10px;
    opacity:.8;
}

.card-active{
    color:#85f1a0;
    font-size:11px;
    font-weight:900;
}

.digital-footer{
    display:flex;
    justify-content:space-between;
    padding:12px 20px;
    background:#03172c55;
    font-size:10px;
    letter-spacing:.06em;
}


/* BOTTOM */

.bottom-nav{
    position:fixed;
    z-index:40;
    left:0;
    right:0;
    bottom:0;

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

    padding-bottom:
        env(safe-area-inset-bottom);

    border-top:1px solid var(--line);
    background:#fff;

    box-shadow:
        0 -6px 20px
        rgba(15,42,69,.07);
}

.bottom-nav button{
    border:0;
    background:#fff;
    color:#52677e;
    padding:9px 3px;
}

.bottom-nav b,
.bottom-nav span{
    display:block;
}

.bottom-nav b{
    margin-bottom:2px;
    color:#174f87;
    font-size:20px;
}

.bottom-nav span{
    font-size:10px;
}


/* MENSAGENS */

.toast{
    display:none;
    position:fixed;
    z-index:100;
    bottom:92px;
    left:50%;
    max-width:90%;
    transform:translateX(-50%);
    padding:11px 17px;
    border-radius:11px;
    background:#14253b;
    color:#fff;
    text-align:center;
}

.toast.show{
    display:block;
}

.empty{
    padding:32px 15px;
    color:#75859a;
    text-align:center;
}


/* MOBILE */

@media(max-width:720px){

    .content{
        padding:15px 12px;
    }

    .services{
        grid-template-columns:1fr 1fr;
    }

    .service{
        min-height:153px;
        padding:15px;
    }

    .rooms{
        grid-template-columns:1fr 1fr;
    }

    .field-grid{
        grid-template-columns:1fr;
        gap:0;
    }

    .election-content{
        flex-direction:column;
        align-items:flex-start;
    }

    .election-content button{
        width:100%;
    }

}


@media(max-width:430px){

    .login-card{
        padding:28px 21px;
    }

    .login-title h1{
        font-size:32px;
    }

    .profile-hero{
        padding:16px;
    }

    .profile-photo{
        width:72px;
        height:72px;
    }

    .service{
        min-height:145px;
    }

}


/* CHAT_RECEPCAO_CSS_V2 */

.s-chat-reception{
    position:relative;
    background:
        linear-gradient(
            135deg,
            #087b94,
            #08475d
        );
}

.ar-chat-badge{
    position:absolute;
    top:11px;
    right:11px;
    min-width:23px;
    height:23px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.ar-chat{
    overflow:hidden;
    border:1px solid #dfe7ef;
    border-radius:18px;
    background:#fff;
    box-shadow:
        0 8px 28px
        rgba(20,50,80,.08);
}

.ar-chat-header{
    display:flex;
    align-items:center;
    gap:11px;
    padding:15px;

    background:
        linear-gradient(
            90deg,
            #0a365f,
            #155a8d
        );

    color:#fff;
}

.ar-chat-avatar{
    width:46px;
    height:46px;
    flex:none;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#d3a62b;
    color:#fff;
    font-size:21px;
    font-weight:900;
}

.ar-chat-header strong,
.ar-chat-header span{
    display:block;
}

.ar-chat-header span{
    margin-top:2px;
    font-size:11px;
    opacity:.76;
}

.ar-chat-messages{
    height:min(58vh,510px);
    overflow:auto;
    padding:15px;
    background:#f3f7fb;
}

.ar-chat-empty{
    min-height:200px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:25px;
    color:#74869a;
    text-align:center;
}

.ar-msg{
    display:flex;
    justify-content:flex-start;
    margin-bottom:10px;
}

.ar-msg.mine{
    justify-content:flex-end;
}

.ar-msg > div{
    max-width:82%;
    padding:10px 12px;
    border-radius:15px 15px 15px 4px;
    background:#fff;
    box-shadow:
        0 2px 7px
        rgba(0,30,60,.07);
}

.ar-msg.mine > div{
    color:#fff;
    background:#1765a3;
    border-radius:15px 15px 4px 15px;
}

.ar-msg p{
    margin:0;
    white-space:pre-wrap;
    line-height:1.45;
}

.ar-msg small{
    display:block;
    margin-top:5px;
    font-size:9px;
    opacity:.7;
}

.ar-chat-compose{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
    padding:11px;
    border-top:1px solid #dfe7ef;
    background:#fff;
}

.ar-chat-compose input{
    width:100%;
    margin:0;
    border:1px solid #dfe7ef;
    border-radius:999px;
    padding:11px 14px;
}

.ar-chat-compose button{
    border:0;
    border-radius:999px;
    padding:0 18px;
    background:#15538a;
    color:#fff;
    font-weight:800;
}

/* =====================================================================
   APP_ASSOCIADO_CHAT_RESPONSIVO_VERTICAL_START
   ===================================================================== */


/*
 * A PWA inteira não deve ganhar largura
 * extra por causa de qualquer conteúdo.
 */

html,
body{
    width:100%;
    max-width:100%;

    overflow-x:hidden !important;

    overscroll-behavior-x:none;

    touch-action:
        pan-y pinch-zoom;
}


.app,
.content,
.view,
.ar-chat{
    width:100%;
    max-width:100%;
    min-width:0;

    box-sizing:border-box;

    overflow-x:hidden !important;
}


.ar-chat *,
#chatRecepcaoView *{
    box-sizing:border-box;
    min-width:0;
}


/* ---------------------------------------------------------
   CAIXA PRINCIPAL
   --------------------------------------------------------- */

#chatRecepcaoView{
    width:100%;
    max-width:100%;
    min-width:0;

    overflow-x:hidden !important;

    overscroll-behavior-x:none;

    touch-action:
        pan-y pinch-zoom;
}


.ar-chat{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    overflow:hidden !important;
}


/* ---------------------------------------------------------
   CABEÇALHO
   --------------------------------------------------------- */

.ar-chat-header{
    width:100%;
    max-width:100%;
    min-width:0;

    overflow:hidden;
}


.ar-chat-header > div:last-child{
    flex:1 1 0;
    min-width:0;
    overflow:hidden;
}


.ar-chat-header strong,
.ar-chat-header span{
    max-width:100%;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}


/* ---------------------------------------------------------
   MENSAGENS
   --------------------------------------------------------- */

.ar-chat-messages{
    width:100%;
    max-width:100%;
    min-width:0;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    overscroll-behavior:
        contain;

    overscroll-behavior-x:
        none;

    -webkit-overflow-scrolling:
        touch;

    touch-action:
        pan-y pinch-zoom;
}


.ar-msg{
    width:100%;
    max-width:100%;
    min-width:0;

    overflow:visible;
}


.ar-msg > div{
    min-width:0;

    max-width:
        min(
            82%,
            620px
        ) !important;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
}


.ar-msg p{
    max-width:100%;

    margin:0;

    white-space:pre-wrap;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
}


.ar-msg a{
    max-width:100%;

    overflow-wrap:anywhere !important;
    word-break:break-all !important;
}


/* ---------------------------------------------------------
   CAMPO DE ENVIO
   --------------------------------------------------------- */

.ar-chat-compose{
    width:100%;
    max-width:100%;
    min-width:0;

    grid-template-columns:
        minmax(0,1fr)
        auto !important;

    overflow:hidden;
}


.ar-chat-compose input{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    margin:0;
}


.ar-chat-compose button{
    flex:none;
    min-width:auto;
}


/* ---------------------------------------------------------
   CARD DO CHAT NA HOME
   --------------------------------------------------------- */

.s-chat-reception{
    min-width:0;
    max-width:100%;
    overflow:hidden;
}


.s-chat-reception strong,
.s-chat-reception span{
    max-width:100%;

    overflow-wrap:anywhere;
}


/* ---------------------------------------------------------
   CELULAR
   --------------------------------------------------------- */

@media(max-width:720px){

    body{
        position:relative;

        width:100% !important;
        max-width:100% !important;

        overflow-x:hidden !important;
    }


    .app,
    .content,
    .view,
    #chatRecepcaoView,
    .ar-chat{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        margin-left:0 !important;
        margin-right:0 !important;

        overflow-x:hidden !important;
    }


    .content{
        padding-left:12px;
        padding-right:12px;
    }


    .ar-chat-messages{
        padding-left:9px;
        padding-right:9px;
    }


    .ar-msg > div{
        max-width:88% !important;
    }


    .ar-chat-compose{
        padding-left:8px;
        padding-right:8px;

        grid-template-columns:
            minmax(0,1fr)
            auto !important;
    }


    .ar-chat-compose button{
        padding-left:15px;
        padding-right:15px;
    }
}


@media(max-width:420px){

    .ar-chat-messages{
        padding-left:7px;
        padding-right:7px;
    }


    .ar-msg > div{
        max-width:92% !important;
    }


    .ar-chat-compose{
        padding-left:6px;
        padding-right:6px;
        gap:6px;
    }


    .ar-chat-compose button{
        padding-left:13px;
        padding-right:13px;
    }
}


/* =====================================================================
   APP_ASSOCIADO_CHAT_RESPONSIVO_VERTICAL_END
   ===================================================================== */

/* =====================================================================
   SINPOLPI_ASSOCIADO_RESPONSIVO_TOTAL_START
   ===================================================================== */


/* =========================================================
   1. REGRA FUNDAMENTAL
   ========================================================= */

html,
body{
    width:100%;
    min-width:0;
    max-width:100%;

    margin:0;

    overflow-x:hidden !important;

    overscroll-behavior-x:none;

    touch-action:
        pan-y pinch-zoom;
}


body{
    position:relative;
}


*,
*::before,
*::after{
    box-sizing:border-box;
}


/*
 * Nenhum elemento pertencente ao aplicativo
 * pode impor largura superior ao seu pai.
 */

.app,
.app *,
.login-screen,
.login-screen *{
    min-width:0;
}


/* =========================================================
   2. ESTRUTURA GERAL DO PWA
   ========================================================= */

.app{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow-x:hidden !important;
}


.topbar{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.content{
    width:100% !important;

    min-width:0 !important;

    max-width:
        1020px !important;

    overflow-x:hidden !important;
}


.view{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow-x:hidden !important;
}


.view.active{
    width:100%;
    min-width:0;
    max-width:100%;
}


/* =========================================================
   3. TEXTOS
   ========================================================= */

.app h1,
.app h2,
.app h3,
.app h4,
.app p,
.app span,
.app strong,
.app small,
.app label,
.app div,
.app article,
.app section{
    min-width:0;

    overflow-wrap:anywhere;
    word-break:normal;
}


a{
    max-width:100%;

    overflow-wrap:anywhere;
    word-break:break-word;
}


/* =========================================================
   4. IMAGENS E MÍDIA
   ========================================================= */

.app img,
.app video,
.app canvas,
.app svg{
    max-width:100%;
}


img,
video{
    height:auto;
}


/* Fotos que possuem medidas próprias continuam quadradas */

.profile-photo,
.card-photo,
.brand-small img,
.login-brand img,
.digital-header img{
    max-width:none;
}


/* =========================================================
   5. CAMPOS / FORMULÁRIOS
   ========================================================= */

.form-card,
.form-card *,
.photo-editor,
.photo-editor *,
.protected-box{
    min-width:0;
    max-width:100%;
}


input,
select,
textarea,
button{
    max-width:100%;
}


input,
select,
textarea{
    min-width:0 !important;

    box-sizing:border-box !important;
}


textarea{
    overflow-x:hidden;
    overflow-wrap:anywhere;
}


/* =========================================================
   6. HOME
   ========================================================= */

.profile-hero{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.profile-info{
    flex:1 1 0;
    min-width:0;
}


.profile-info h2,
.profile-info p{
    max-width:100%;

    overflow-wrap:anywhere;
}


.summary-grid{
    width:100%;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        ) !important;

    min-width:0;
    max-width:100%;
}


.summary-grid article{
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.services{
    width:100%;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        ) !important;

    min-width:0;
    max-width:100%;
}


.service{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.service strong,
.service span{
    max-width:100%;

    overflow-wrap:anywhere;
}


.election-banner,
.election-content,
.reception-notice{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.election-content > div,
.reception-notice > div{
    min-width:0;
}


/* =========================================================
   7. CABEÇALHOS DAS ABAS
   ========================================================= */

.view-title{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.view-title > div{
    flex:1 1 0;
    min-width:0;
}


.view-title h2,
.view-title p{
    max-width:100%;

    overflow-wrap:anywhere;
}


/* =========================================================
   8. MEUS PROCESSOS
   ========================================================= */

#processosView,
#processosLista{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow-x:hidden;
}


.process-card{
    width:100%;

    min-width:0 !important;
    max-width:100% !important;

    overflow:hidden;
}


.process-card h3,
.process-card p,
.process-card strong,
.process-card span{
    max-width:100%;

    overflow-wrap:anywhere !important;
    word-break:break-word;
}


.process-meta{
    width:100%;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        ) !important;

    min-width:0;
    max-width:100%;
}


.process-meta div{
    min-width:0;

    max-width:100%;

    overflow:hidden;
}


.timeline{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.timeline-item{
    min-width:0;
    max-width:100%;

    overflow-wrap:anywhere;
}


/* =========================================================
   9. RECEPÇÃO / SOLICITAÇÕES
   ========================================================= */

#recepcaoView,
#solicitacoesLista{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow-x:hidden;
}


.request-card{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.request-card h3,
.request-card p,
.request-card strong,
.request-card span{
    max-width:100%;

    overflow-wrap:anywhere;
}


/* =========================================================
   10. HOSPEDAGEM
   ========================================================= */

#hospedagemView{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    overflow-x:hidden !important;
}


.rooms{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        ) !important;

    overflow-x:hidden !important;
}


.room-card{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    overflow:hidden !important;
}


.room-card *{
    min-width:0;
    max-width:100%;

    overflow-wrap:anywhere;
}


/* =========================================================
   11. MEU CADASTRO
   ========================================================= */

#cadastroView{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    overflow-x:hidden !important;
}


.field-grid{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        ) !important;
}


.field-grid > *{
    min-width:0 !important;
    max-width:100% !important;
}


.change-photo{
    max-width:100%;
    text-align:center;
}


/* =========================================================
   12. CARTEIRA DIGITAL
   ========================================================= */

#carteiraView{
    width:100%;
    min-width:0;
    max-width:100%;

    overflow-x:hidden;
}


.digital-card{
    width:100% !important;

    min-width:0 !important;

    max-width:
        610px !important;

    overflow:hidden !important;
}


.digital-header,
.digital-body,
.digital-footer{
    width:100%;
    min-width:0;
    max-width:100%;
}


.digital-header > div,
.digital-body > div{
    min-width:0;
    flex:1 1 0;
}


.digital-body h2,
.digital-body p,
.digital-footer span,
.digital-footer strong{
    max-width:100%;

    overflow-wrap:anywhere;
}


.digital-footer{
    gap:10px;
}


/* =========================================================
   13. ELEIÇÃO
   ========================================================= */

#eleicaoBanner,
.s-election{
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


/* =========================================================
   14. CHAT COM A RECEPÇÃO
   ========================================================= */

#chatRecepcaoView,
.ar-chat,
.ar-chat-header,
.ar-chat-messages,
.ar-chat-compose{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    overflow-x:hidden !important;
}


.ar-chat-messages{
    overflow-y:auto !important;

    overscroll-behavior:
        contain;

    touch-action:
        pan-y pinch-zoom;
}


.ar-msg{
    width:100%;
    max-width:100%;

    min-width:0;
}


.ar-msg > div{
    min-width:0 !important;

    max-width:
        min(
            82%,
            620px
        ) !important;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
}


.ar-msg p{
    max-width:100%;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
}


.ar-chat-compose{
    grid-template-columns:
        minmax(0,1fr)
        auto !important;
}


.ar-chat-compose input{
    width:100% !important;
    min-width:0 !important;
}


/* =========================================================
   15. NAVEGAÇÃO INFERIOR
   ========================================================= */

.bottom-nav{
    width:100%;

    min-width:0;
    max-width:100%;

    overflow:hidden;

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


.bottom-nav button{
    min-width:0;
    max-width:100%;

    overflow:hidden;
}


.bottom-nav span{
    display:block;

    max-width:100%;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}


/* =========================================================
   16. TABLET / CELULAR
   ========================================================= */

@media(max-width:720px){

    html,
    body{
        width:100% !important;
        max-width:100% !important;

        overflow-x:hidden !important;
    }


    .content{
        width:100% !important;

        max-width:100% !important;

        padding-left:
            max(
                10px,
                env(safe-area-inset-left)
            ) !important;

        padding-right:
            max(
                10px,
                env(safe-area-inset-right)
            ) !important;
    }


    /*
     * HOME
     */

    .services{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            ) !important;
    }


    .summary-grid{
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            ) !important;
    }


    /*
     * PROCESSOS
     */

    .process-meta{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    /*
     * HOSPEDAGEM
     */

    .rooms{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    /*
     * CADASTRO
     */

    .field-grid{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    /*
     * CARTEIRA
     */

    .digital-card{
        width:100% !important;
        max-width:100% !important;

        margin-left:0 !important;
        margin-right:0 !important;
    }


    .digital-body{
        gap:14px;
    }


    /*
     * CHAT
     */

    .ar-msg > div{
        max-width:88% !important;
    }
}


/* =========================================================
   17. CELULARES PEQUENOS
   ========================================================= */

@media(max-width:480px){

    .topbar{
        padding-left:10px;
        padding-right:10px;
    }


    .brand-small{
        min-width:0;
    }


    .brand-small > div{
        min-width:0;
    }


    .brand-small small{
        max-width:150px;

        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }


    .top-actions{
        flex:0 0 auto;

        gap:4px;
    }


    .install-btn,
    .logout-btn{
        padding:7px 9px;

        font-size:11px;
    }


    .profile-hero{
        align-items:flex-start;
    }


    .profile-photo{
        width:66px;
        height:66px;
    }


    .services{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            ) !important;

        gap:9px;
    }


    .service{
        min-height:140px;

        padding:13px;
    }


    .service strong{
        font-size:15px;
    }


    .summary-grid{
        gap:7px;
    }


    .summary-grid article{
        padding:11px 7px;
    }


    .summary-grid strong{
        font-size:21px;
    }


    .summary-grid span{
        font-size:10px;
    }


    .digital-body{
        align-items:flex-start;

        padding:18px 14px;
    }


    .card-photo{
        width:84px;
        height:105px;
    }


    .digital-footer{
        flex-direction:column;

        align-items:flex-start;
    }


    .ar-chat-messages{
        padding-left:7px;
        padding-right:7px;
    }


    .ar-msg > div{
        max-width:92% !important;
    }
}


/* =========================================================
   18. TELAS MUITO ESTREITAS
   ========================================================= */

@media(max-width:360px){

    .content{
        padding-left:7px !important;
        padding-right:7px !important;
    }


    .services{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    .summary-grid{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    .profile-hero{
        gap:10px;

        padding:12px;
    }


    .profile-photo{
        width:58px;
        height:58px;
    }


    .profile-info h2{
        font-size:19px;
    }


    .digital-body{
        flex-direction:column;
    }


    .card-photo{
        width:96px;
        height:116px;
    }


    .bottom-nav span{
        font-size:9px;
    }


    .ar-chat-compose button{
        padding-left:11px;
        padding-right:11px;
    }
}


/* =========================================================
   19. PROTEÇÃO FINAL CONTRA QUALQUER OVERFLOW
   ========================================================= */

.app > *,
.content > *,
.view > *,
.form-card,
.process-card,
.request-card,
.room-card,
.digital-card,
.profile-hero,
.election-banner,
.reception-notice,
.services,
.summary-grid,
.process-meta,
.field-grid,
.rooms{
    min-width:0 !important;
    max-width:100% !important;
}


.app table{
    max-width:100%;
}


/*
 * Se futuramente alguma tabela for adicionada,
 * ela fica dentro de uma área vertical sem
 * expandir a aplicação lateralmente.
 */

.app table,
.app pre,
.app code{
    overflow-wrap:anywhere;
    word-break:break-word;
}


/* =====================================================================
   SINPOLPI_ASSOCIADO_RESPONSIVO_TOTAL_END
   ===================================================================== */

/* =====================================================================
   SINPOLPI_ASSOCIADO_CAMPOS_MOBILE_FIX_START
   ===================================================================== */


/*
 * Impede zoom automático de formulário no celular
 * e impede qualquer campo de aumentar a largura da viewport.
 */

html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}


input,
select,
textarea{
    display:block;

    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;

    box-sizing:border-box !important;

    font-size:16px !important;

    line-height:1.35;

    margin-left:0 !important;
    margin-right:0 !important;

    transform:none !important;

    overflow-x:hidden;
}


/*
 * Mantém a largura inclusive quando o controle recebe foco.
 */

input:focus,
select:focus,
textarea:focus,
input:active,
select:active,
textarea:active{
    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;

    box-sizing:border-box !important;

    transform:none !important;

    zoom:1 !important;
}


/*
 * Campos com conteúdo muito comprido.
 */

input{
    text-overflow:ellipsis;
}


textarea{
    resize:vertical;

    overflow-y:auto;
    overflow-x:hidden !important;

    white-space:pre-wrap;

    overflow-wrap:anywhere;
    word-break:break-word;
}


/*
 * SELECT é um dos controles que mais costuma
 * criar largura intrínseca por causa da opção.
 */

select{
    overflow:hidden !important;

    text-overflow:ellipsis;

    white-space:nowrap;

    padding-right:34px;
}


select option{
    max-width:100%;
}


/*
 * Datas, horas e mês possuem controles nativos
 * com largura mínima própria em alguns celulares.
 */

input[type="date"],
input[type="time"],
input[type="month"],
input[type="week"],
input[type="datetime-local"]{
    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;

    inline-size:100% !important;

    min-inline-size:0 !important;

    box-sizing:border-box !important;
}


/*
 * Outros tipos comuns.
 */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="url"]{
    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;

    inline-size:100% !important;

    min-inline-size:0 !important;
}


/*
 * Os elementos que contêm os campos também
 * precisam aceitar encolhimento.
 */

.form-card,
.form-card label,
.field-grid,
.field-grid > *,
.photo-editor,
.photo-editor > *,
.ar-chat-compose,
.ar-chat-compose > *,
#cadastroView,
#hospedagemView,
#recepcaoView,
#processosView,
#chatRecepcaoView{
    min-width:0 !important;

    max-width:100% !important;

    box-sizing:border-box !important;
}


/*
 * Grade de cadastro.
 */

.field-grid{
    width:100% !important;
}


.field-grid label{
    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;
}


/*
 * Chat.
 */

.ar-chat-compose{
    width:100% !important;

    grid-template-columns:
        minmax(0,1fr)
        auto !important;

    overflow:hidden !important;
}


.ar-chat-compose input{
    width:100% !important;

    min-width:0 !important;

    max-width:100% !important;

    font-size:16px !important;
}


/*
 * Botões não empurram o input.
 */

.ar-chat-compose button{
    flex:0 0 auto;

    min-width:auto !important;

    max-width:max-content !important;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media(max-width:720px){

    input,
    select,
    textarea{
        font-size:16px !important;

        width:100% !important;

        min-width:0 !important;

        max-width:100% !important;
    }


    /*
     * Não permitir que foco em campo provoque
     * qualquer alteração visual de largura.
     */

    input:focus,
    select:focus,
    textarea:focus{
        font-size:16px !important;

        width:100% !important;

        max-width:100% !important;

        transform:none !important;
    }


    .field-grid{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    .form-card{
        width:100% !important;

        max-width:100% !important;

        overflow-x:hidden !important;
    }


    .ar-chat-compose{
        grid-template-columns:
            minmax(0,1fr)
            auto !important;
    }
}


/* =========================================================
   TELAS MUITO PEQUENAS
   ========================================================= */

@media(max-width:360px){

    input,
    select,
    textarea{
        width:100% !important;

        min-width:0 !important;

        max-width:100% !important;

        font-size:16px !important;
    }


    select{
        padding-left:9px;
        padding-right:28px;
    }


    .ar-chat-compose{
        gap:5px;
    }


    .ar-chat-compose button{
        padding-left:10px;
        padding-right:10px;
    }
}


/* =====================================================================
   SINPOLPI_ASSOCIADO_CAMPOS_MOBILE_FIX_END
   ===================================================================== */

/* SINPOLPI_ASSEMBLEIAS_PWA_CSS_START */

body.aa-open{
    overflow:hidden !important;
}

.s-assemblies{
    position:relative;
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden;
    cursor:pointer;
}

.s-assemblies .aa-service-icon{
    display:block;
    font-size:28px;
    line-height:1;
    margin-bottom:8px;
}

.s-assemblies strong,
.s-assemblies small{
    display:block;
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
}

.s-assemblies small{
    margin-top:4px;
}

.aa-service-live{
    position:absolute;
    top:8px;
    right:8px;
    padding:4px 7px;
    border-radius:999px;
    background:#dc2626;
    color:#fff;
    font-size:8px;
    font-weight:900;
    letter-spacing:.05em;
}

.aa-overlay,
.aa-overlay *{
    box-sizing:border-box;
    min-width:0;
}

.aa-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    width:100%;
    max-width:100vw;
    height:100dvh;
    display:none;
    background:#eef2f7;
    overflow:hidden;
}

.aa-overlay.show{
    display:block;
}

.aa-shell{
    width:100%;
    max-width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#f8fafc;
}

.aa-topbar{
    flex:none;
    width:100%;
    min-height:62px;
    padding:
        max(10px,env(safe-area-inset-top))
        13px
        10px;
    display:grid;
    grid-template-columns:
        40px
        minmax(0,1fr)
        auto;
    align-items:center;
    gap:9px;
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #0f3d91,
            #1456c4
        );
    box-shadow:
        0 4px 18px
        rgba(15,61,145,.18);
}

.aa-back{
    width:38px;
    height:38px;
    border:0;
    border-radius:11px;
    background:
        rgba(255,255,255,.14);
    color:#fff;
    font-size:25px;
    line-height:1;
}

.aa-topbar small,
.aa-topbar strong{
    display:block;
}

.aa-topbar small{
    opacity:.72;
    font-size:8px;
    letter-spacing:.12em;
}

.aa-topbar strong{
    font-size:16px;
}

.aa-top-live{
    padding:5px 8px;
    border-radius:999px;
    background:#dc2626;
    font-size:8px;
    font-weight:900;
}

.aa-top-live:empty{
    display:none;
}

.aa-content{
    flex:1;
    width:100%;
    max-width:100%;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-x:none;
    touch-action:pan-y;
    -webkit-overflow-scrolling:touch;
    padding:
        14px
        14px
        calc(
            24px +
            env(safe-area-inset-bottom)
        );
}

.aa-list-intro{
    padding:
        20px
        17px;
    margin-bottom:14px;
    border-radius:17px;
    background:
        linear-gradient(
            135deg,
            #0f3d91,
            #1d68d8
        );
    color:#fff;
}

.aa-list-intro > span{
    font-size:8px;
    font-weight:900;
    letter-spacing:.13em;
    opacity:.75;
}

.aa-list-intro h2{
    margin:5px 0 7px;
    font-size:20px;
    line-height:1.15;
}

.aa-list-intro p{
    margin:0;
    max-width:650px;
    line-height:1.5;
    font-size:11px;
    opacity:.88;
}

.aa-section{
    margin-top:17px;
}

.aa-section-title{
    margin-bottom:8px;
    display:flex;
    align-items:center;
    gap:7px;
    font-size:12px;
    font-weight:900;
    color:#334155;
}

.aa-section-title.live{
    color:#b91c1c;
}

.aa-section-title.live > span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#dc2626;
    box-shadow:
        0 0 0 5px
        rgba(220,38,38,.10);
}

.aa-cards{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%,270px),
                1fr
            )
        );
    gap:10px;
}

.aa-assembly-card{
    width:100%;
    max-width:100%;
    padding:14px;
    border:1px solid #e2e8f0;
    border-radius:15px;
    background:#fff;
    box-shadow:
        0 4px 13px
        rgba(15,23,42,.04);
    overflow:hidden;
}

.aa-assembly-card.live{
    border-color:#86efac;
    box-shadow:
        0 0 0 2px
        rgba(22,163,74,.06);
}

.aa-card-head,
.aa-delib-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:9px;
}

.aa-card-head > div,
.aa-delib-head > div{
    flex:1;
    min-width:0;
}

.aa-code{
    display:block;
    color:#2563eb;
    font-size:8px;
    font-weight:900;
    letter-spacing:.08em;
}

.aa-card-head h3{
    margin:3px 0 0;
    color:#0f172a;
    font-size:13px;
    line-height:1.25;
    overflow-wrap:anywhere;
}

.aa-assembly-card > p{
    margin:9px 0;
    color:#64748b;
    font-size:10px;
    line-height:1.5;
    overflow-wrap:anywhere;
}

.aa-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin:10px 0;
    color:#64748b;
    font-size:9px;
}

.aa-status{
    flex:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    max-width:100%;
    padding:5px 7px;
    border-radius:999px;
    background:#e2e8f0;
    color:#475569;
    font-size:8px;
    font-weight:900;
    white-space:nowrap;
}

.aa-status-em-andamento,
.aa-status-aberta{
    background:#dcfce7;
    color:#15803d;
}

.aa-status-convocada,
.aa-status-aguardando{
    background:#dbeafe;
    color:#1d4ed8;
}

.aa-status-encerrada{
    background:#ede9fe;
    color:#6d28d9;
}

.aa-enter-live,
.aa-view{
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:42px;
    border:0;
    border-radius:10px;
    font-weight:900;
    font-size:11px;
}

.aa-enter-live{
    background:#15803d;
    color:#fff;
}

.aa-view{
    background:#eff6ff;
    color:#1d4ed8;
    border:1px solid #bfdbfe;
}

.aa-room-head{
    padding:3px 1px 13px;
}

.aa-room-head h2{
    margin:4px 0 8px;
    color:#0f172a;
    font-size:19px;
    line-height:1.2;
    overflow-wrap:anywhere;
}

.aa-room-status{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    align-items:center;
}

.aa-online{
    color:#15803d;
    font-size:9px;
    font-weight:900;
}

.aa-stage{
    width:100%;
    max-width:100%;
    margin-bottom:13px;
}

.aa-stage-screen{
    width:100%;
    max-width:100%;
    min-height:210px;
    padding:24px 16px;
    border-radius:17px 17px 0 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
        radial-gradient(
            circle at top,
            #233d67,
            #071321
        );
    color:#fff;
    overflow:hidden;
}

.aa-stage-symbol{
    font-size:39px;
    margin-bottom:10px;
}

.aa-stage-screen strong{
    font-size:17px;
}

.aa-stage-screen span{
    margin-top:6px;
    font-size:12px;
    color:#bfdbfe;
}

.aa-stage-screen small{
    margin-top:4px;
    max-width:100%;
    color:#94a3b8;
    overflow-wrap:anywhere;
}

.aa-presence{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    border:1px solid #dbe3ef;
    border-top:0;
    border-radius:0 0 17px 17px;
    overflow:hidden;
    background:#fff;
}

.aa-presence > div{
    padding:11px 7px;
    text-align:center;
    border-right:
        1px solid #e2e8f0;
}

.aa-presence > div:last-child{
    border-right:0;
}

.aa-presence small,
.aa-presence strong{
    display:block;
}

.aa-presence small{
    color:#64748b;
    font-size:7px;
}

.aa-presence strong{
    margin-top:3px;
    color:#0f172a;
    font-size:11px;
}

.aa-vote-warning{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:13px;
    padding:12px;
    border-radius:13px;
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
}

.aa-vote-warning > span{
    font-size:26px;
}

.aa-vote-warning strong,
.aa-vote-warning p{
    display:block;
    margin:0;
}

.aa-vote-warning p{
    margin-top:2px;
    font-size:9px;
}

.aa-wait-vote{
    margin-bottom:13px;
    padding:11px;
    border-radius:11px;
    background:#eff6ff;
    color:#1e40af;
    border:1px solid #bfdbfe;
    font-size:9px;
    line-height:1.45;
}

.aa-room-section{
    width:100%;
    max-width:100%;
    margin-top:12px;
    padding:13px;
    border-radius:14px;
    border:1px solid #e2e8f0;
    background:#fff;
    overflow:hidden;
}

.aa-room-section > h3{
    margin:0 0 10px;
    color:#334155;
    font-size:12px;
}

.aa-pautas,
.aa-deliberacoes{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.aa-pauta{
    display:grid;
    grid-template-columns:
        30px
        minmax(0,1fr);
    gap:8px;
    padding:9px;
    border-radius:10px;
    background:#f8fafc;
}

.aa-pauta > span{
    width:30px;
    height:30px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#dbeafe;
    color:#1d4ed8;
    font-size:10px;
    font-weight:900;
}

.aa-pauta strong,
.aa-pauta small{
    display:block;
}

.aa-pauta strong{
    color:#0f172a;
    font-size:10px;
    overflow-wrap:anywhere;
}

.aa-pauta small{
    margin-top:2px;
    color:#64748b;
    font-size:8px;
}

.aa-pauta p{
    margin:5px 0 0;
    color:#64748b;
    font-size:9px;
    line-height:1.45;
    overflow-wrap:anywhere;
}

.aa-delib{
    width:100%;
    max-width:100%;
    padding:11px;
    border-radius:11px;
    border:1px solid #e2e8f0;
    background:#fff;
    overflow:hidden;
}

.aa-delib.open{
    border-color:#86efac;
    box-shadow:
        0 0 0 2px
        rgba(22,163,74,.05);
}

.aa-delib-head small{
    display:block;
    color:#2563eb;
    font-size:7px;
    font-weight:900;
}

.aa-delib-head strong{
    display:block;
    margin-top:3px;
    color:#0f172a;
    font-size:11px;
    line-height:1.35;
    overflow-wrap:anywhere;
}

.aa-delib > p{
    margin:8px 0 0;
    color:#64748b;
    font-size:9px;
    line-height:1.45;
    overflow-wrap:anywhere;
}

.aa-vote-box{
    margin-top:10px;
    padding:11px;
    border-radius:11px;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
}

.aa-vote-box > strong{
    display:block;
    color:#166534;
    margin-bottom:8px;
}

.aa-vote-box > small{
    display:block;
    margin-top:8px;
    color:#64748b;
    font-size:8px;
}

.aa-vote-options{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%,100px),
                1fr
            )
        );
    gap:7px;
}

.aa-vote-options button{
    width:100%;
    min-width:0;
    min-height:46px;
    padding:8px;
    border:1px solid #86efac;
    border-radius:10px;
    background:#fff;
    color:#166534;
    font-size:11px;
    font-weight:900;
}

.aa-voted{
    margin-top:10px;
    padding:10px;
    border-radius:10px;
    background:#dcfce7;
    color:#166534;
    font-size:10px;
    font-weight:900;
    text-align:center;
}

.aa-results{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:6px;
    margin-top:10px;
}

.aa-results > div{
    min-width:0;
    padding:8px 5px;
    text-align:center;
    border-radius:9px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}

.aa-results span,
.aa-results strong{
    display:block;
    overflow-wrap:anywhere;
}

.aa-results span{
    color:#64748b;
    font-size:7px;
}

.aa-results strong{
    margin-top:3px;
    color:#0f172a;
    font-size:10px;
}

.aa-general-text{
    margin:0;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    color:#475569;
    font-size:10px;
    line-height:1.55;
}

.aa-room-footer{
    display:flex;
    flex-wrap:wrap;
    gap:6px 15px;
    padding:14px 2px;
    color:#64748b;
    font-size:8px;
}

.aa-loading{
    min-height:240px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#64748b;
    font-size:10px;
}

.aa-loading span{
    width:28px;
    height:28px;
    border-radius:50%;
    border:3px solid #dbeafe;
    border-top-color:#2563eb;
    animation:
        aa-spin
        .8s
        linear
        infinite;
}

@keyframes aa-spin{
    to{
        transform:rotate(360deg);
    }
}

.aa-message,
.aa-empty{
    width:100%;
    max-width:100%;
    padding:13px;
    border-radius:11px;
    text-align:center;
    font-size:10px;
    overflow-wrap:anywhere;
}

.aa-message.error{
    color:#991b1b;
    background:#fee2e2;
    border:1px solid #fecaca;
}

.aa-empty{
    color:#64748b;
    background:#fff;
    border:1px dashed #cbd5e1;
}


/*
 * Fundamental para o problema de responsividade
 * já identificado no PWA:
 * inputs/combos nunca podem expandir a viewport.
 */

.aa-overlay input,
.aa-overlay select,
.aa-overlay textarea,
.aa-overlay button{
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}


@media(max-width:520px){

    .aa-content{
        padding:
            11px
            10px
            calc(
                20px +
                env(safe-area-inset-bottom)
            );
    }

    .aa-list-intro{
        padding:16px 14px;
    }

    .aa-list-intro h2{
        font-size:18px;
    }

    .aa-card-head,
    .aa-delib-head{
        gap:6px;
    }

    .aa-presence{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

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

    .aa-vote-options{
        grid-template-columns:
            minmax(0,1fr);
    }

    /*
     * 16px evita zoom automático do iPhone
     * e consequente crescimento visual lateral.
     */

    .aa-overlay input,
    .aa-overlay select,
    .aa-overlay textarea{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        font-size:16px !important;
    }
}


@media(max-width:340px){

    .aa-topbar{
        grid-template-columns:
            36px
            minmax(0,1fr)
            auto;
        padding-left:8px;
        padding-right:8px;
    }

    .aa-back{
        width:34px;
        height:34px;
    }

    .aa-presence{
        grid-template-columns:
            minmax(0,1fr);
    }

    .aa-presence > div{
        border-right:0;
        border-bottom:
            1px solid #e2e8f0;
    }

    .aa-presence > div:last-child{
        border-bottom:0;
    }

    .aa-results{
        grid-template-columns:
            minmax(0,1fr);
    }
}

/* SINPOLPI_ASSEMBLEIAS_PWA_CSS_END */

/* SINPOLPI_VIDEO_EXPOSITORES_PWA_START */

.aa-stage-screen{
    position:relative;
    overflow:hidden;
}

.aa-live-watch{
    position:relative;
    z-index:6;
    width:min(320px,100%);
    margin-top:14px;
    padding:13px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:13px;
    background:#16a34a;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
}

.aa-live-watch b{
    font-size:20px;
}

.aa-live-watch strong{
    font-size:11px;
}

.aa-live-watch span{
    font-size:8px;
    opacity:.84;
}

.aa-stage-screen.aa-video-active >
.aa-stage-symbol,

.aa-stage-screen.aa-video-active >
strong,

.aa-stage-screen.aa-video-active >
span,

.aa-stage-screen.aa-video-active >
small,

.aa-stage-screen.aa-video-active >
.aa-live-watch{
    display:none;
}

.aa-live-grid{
    position:absolute;
    inset:0;
    z-index:5;
    width:100%;
    height:100%;
    padding:3px;
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%,180px),
                1fr
            )
        );
    gap:3px;
    background:#020617;
    overflow:hidden;
}

.aa-live-video-card{
    position:relative;
    min-width:0;
    min-height:150px;
    border-radius:8px;
    overflow:hidden;
    background:#020617;
}

.aa-live-video-card.featured{
    order:-1;
    grid-column:1 / -1;
    min-height:100%;
    outline:3px solid #22c55e;
}

.aa-live-video-card.screen-share{
    order:-2;
    grid-column:1 / -1;
    min-height:100%;
}

.aa-live-video-element{
    display:block;
    width:100%;
    height:100%;
    min-height:150px;
    object-fit:cover;
}

.aa-live-video-card.screen-share
.aa-live-video-element{
    object-fit:contain;
}

.aa-live-person{
    position:absolute;
    left:7px;
    bottom:7px;
    max-width:calc(100% - 14px);
    padding:5px 8px;
    border-radius:8px;
    background:rgba(2,6,23,.80);
    color:#fff;
    text-align:left;
}

.aa-live-person strong,
.aa-live-person span{
    display:block;
}

.aa-live-person strong{
    font-size:9px;
}

.aa-live-person span{
    margin-top:2px;
    color:#86efac;
    font-size:7px;
    font-weight:900;
}

.aa-live-audio{
    position:absolute;
    width:1px;
    height:1px;
    opacity:.01;
}

@media(max-width:520px){

    .aa-live-grid{
        grid-template-columns:
            minmax(0,1fr);
    }

    .aa-live-video-card:not(.featured):not(.screen-share){
        position:absolute;
        right:7px;
        bottom:7px;
        z-index:8;
        width:31%;
        min-height:85px;
        max-height:105px;
        border:2px solid #fff;
    }

    .aa-live-video-card.featured,
    .aa-live-video-card.screen-share{
        min-height:100%;
    }
}

/* SINPOLPI_VIDEO_EXPOSITORES_PWA_END */

/* SINPOLPI_REPARO_VIDEO_ASSOCIADO_START */

.aa-stage-screen{
    position:relative !important;
    overflow:hidden !important;
}

.aa-stage-screen.aa-video-active{
    padding:0 !important;
}

.aa-stage-screen.aa-video-active >
.aa-stage-symbol,

.aa-stage-screen.aa-video-active >
strong,

.aa-stage-screen.aa-video-active >
span,

.aa-stage-screen.aa-video-active >
small{
    display:none !important;
}

.aa-live-grid{
    position:absolute;
    inset:0;
    z-index:20;
    width:100%;
    height:100%;
    padding:3px;
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%,190px),
                1fr
            )
        );
    gap:3px;
    background:#020617;
}

.aa-live-video-card{
    position:relative;
    min-width:0;
    min-height:150px;
    overflow:hidden;
    background:#020617;
    border-radius:8px;
}

.aa-live-video-card.featured{
    order:-1;
    grid-column:1 / -1;
    min-height:100%;
    outline:3px solid #22c55e;
}

.aa-live-video-card.screen-share{
    order:-2;
    grid-column:1 / -1;
    min-height:100%;
}

.aa-live-video-element{
    width:100%;
    height:100%;
    min-height:150px;
    display:block;
    object-fit:cover;
}

.aa-live-video-card.screen-share
.aa-live-video-element{
    object-fit:contain;
}

.aa-live-person{
    position:absolute;
    left:8px;
    bottom:8px;
    z-index:23;
    max-width:calc(100% - 16px);
    padding:6px 8px;
    border-radius:8px;
    background:rgba(2,6,23,.82);
    color:#fff;
    text-align:left;
}

.aa-live-person strong,
.aa-live-person span{
    display:block;
}

.aa-live-person strong{
    font-size:10px;
}

.aa-live-person span{
    margin-top:2px;
    color:#86efac;
    font-size:8px;
    font-weight:900;
}

.aa-live-status{
    position:absolute;
    left:50%;
    bottom:14px;
    z-index:25;
    transform:translateX(-50%);
    width:min(90%,420px);
    padding:8px 10px;
    border-radius:9px;
    background:rgba(15,23,42,.86);
    color:#fff;
    text-align:center;
    font-size:9px;
}

.aa-live-status.error{
    background:rgba(153,27,27,.94);
}

.aa-live-audio-button{
    position:absolute;
    right:10px;
    top:10px;
    z-index:30;
    padding:7px 9px;
    border:0;
    border-radius:8px;
    background:rgba(15,23,42,.85);
    color:#fff;
    font-size:9px;
    font-weight:900;
}

.aa-live-audio{
    position:absolute;
    width:1px;
    height:1px;
    opacity:.01;
}

@media(max-width:520px){

    .aa-live-grid{
        grid-template-columns:
            minmax(0,1fr);
    }

    .aa-live-video-card:not(.featured):not(.screen-share){
        position:absolute;
        right:7px;
        bottom:7px;
        z-index:22;
        width:31%;
        min-height:82px;
        max-height:105px;
        border:2px solid #fff;
    }
}

/* SINPOLPI_REPARO_VIDEO_ASSOCIADO_END */

/* SINPOLPI_JURIDICO_APP_6B */

.bottom-nav{
    grid-template-columns:
        repeat(5,1fr) !important;
}

.ja-head{
    margin-bottom:14px;
}

.ja-head span{
    color:#0f766e;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.ja-head h2{
    margin:4px 0;
    color:#082a51;
}

.ja-head p{
    margin:0 0 5px;
    color:#52677e;
}

.ja-head small{
    color:#64748b;
}

.ja-card{
    margin-bottom:12px;
    padding:15px;
    border:1px solid #dfe7ef;
    border-radius:17px;
    background:#fff;
    box-shadow:
        0 8px 24px
        rgba(20,50,80,.06);
}

.ja-card label{
    display:grid;
    gap:6px;
    margin:12px 0;
}

.ja-card input,
.ja-card textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #cfd9e4;
    border-radius:11px;
    padding:11px;
    font:inherit;
}

.ja-primary{
    border:0 !important;
    border-radius:10px !important;
    padding:11px 14px !important;
    background:#0b5d8f !important;
    color:#fff !important;
    font-weight:900 !important;
}

.ja-status-grid{
    display:grid;
    grid-template-columns:
        1fr 1fr;
    gap:8px;
}

.ja-status-grid .ja-card{
    margin-bottom:0;
}

.ja-status-grid small,
.ja-status-grid strong{
    display:block;
}

.ja-status-grid small{
    color:#64748b;
    font-size:9px;
}

.ja-status-grid strong{
    margin-top:5px;
    color:#082a51;
}

.ja-call{
    margin-top:12px;
    padding:12px;
    border-radius:12px;
    background:#dcfce7;
}

.ja-call strong{
    display:block;
    margin-bottom:8px;
    color:#166534;
}

.ja-call button{
    width:100%;
    border:0;
    border-radius:10px;
    padding:11px;
    background:#15803d;
    color:#fff;
    font-weight:900;
}

.ja-messages{
    height:min(48vh,470px);
    overflow:auto;
    display:grid;
    align-content:start;
    gap:8px;
    margin:12px 0;
    padding:10px;
    border-radius:12px;
    background:#f3f7fb;
}

.ja-msg{
    width:min(84%,520px);
    padding:10px 11px;
    border-radius:
        14px 14px 14px 4px;
    background:#fff;
}

.ja-msg.mine{
    justify-self:end;
    background:#1765a3;
    color:#fff;
    border-radius:
        14px 14px 4px 14px;
}

.ja-msg.system{
    justify-self:center;
    width:auto;
    background:#e7edf4;
    color:#475569;
    text-align:center;
}

.ja-msg p{
    white-space:pre-wrap;
}

.ja-msg small{
    display:block;
    margin-top:5px;
    font-size:9px;
    opacity:.7;
}

.ja-msg audio{
    width:100%;
}

.ja-msg a{
    display:block;
    margin:7px 0;
}

.ja-msg.mine a{
    color:#fff;
}

.ja-actions{
    display:grid;
    grid-template-columns:
        auto auto 1fr;
    gap:7px;
    margin-top:8px;
}

.ja-actions button,
.ja-file{
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d3dde7;
    border-radius:10px;
    padding:10px;
    background:#fff;
    font-size:12px;
}

.ja-file input{
    display:none;
}

.ja-empty{
    padding:24px;
    color:#64748b;
    text-align:center;
}

@media(max-width:430px){

    .bottom-nav span{
        font-size:9px !important;
    }

    .ja-actions{
        grid-template-columns:
            1fr 1fr;
    }

    .ja-actions .ja-primary{
        grid-column:
            1 / -1;
    }
}

/* SINPOLPI_JURIDICO_APP_6B_END */

/* SINPOLPI_PWA_JURIDICO */

.bottom-nav{
  grid-template-columns:
    repeat(5,1fr) !important;
}

.jur-pwa-head{
  margin-bottom:14px;
}

.jur-pwa-head span{
  color:#0f766e;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

.jur-pwa-head h2{
  margin:4px 0;
  color:#082a51;
}

.jur-pwa-head p{
  margin:0 0 5px;
  color:#52677e;
}

.jur-pwa-head small{
  color:#64748b;
}

.jur-pwa-card{
  margin-bottom:12px;
  padding:15px;
  border:1px solid #dfe7ef;
  border-radius:17px;
  background:#fff;
  box-shadow:
    0 8px 24px
    rgba(20,50,80,.06);
}

.jur-pwa-card label{
  display:grid;
  gap:6px;
  margin:12px 0;
}

.jur-pwa-card input,
.jur-pwa-card textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #cfd9e4;
  border-radius:11px;
  padding:11px;
  font:inherit;
}

.jur-pwa-primary{
  border:0 !important;
  border-radius:10px !important;
  padding:11px 14px !important;
  background:#0b5d8f !important;
  color:#fff !important;
  font-weight:900 !important;
}

.jur-pwa-status-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.jur-pwa-status-grid
.jur-pwa-card{
  margin-bottom:0;
}

.jur-pwa-status-grid small,
.jur-pwa-status-grid strong{
  display:block;
}

.jur-pwa-status-grid small{
  color:#64748b;
  font-size:9px;
}

.jur-pwa-status-grid strong{
  margin-top:5px;
  color:#082a51;
}

.jur-pwa-call{
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  background:#dcfce7;
}

.jur-pwa-call strong{
  display:block;
  margin-bottom:8px;
  color:#166534;
}

.jur-pwa-call button{
  width:100%;
  border:0;
  border-radius:10px;
  padding:11px;
  background:#15803d;
  color:#fff;
  font-weight:900;
}

.jur-pwa-messages{
  height:min(48vh,470px);
  overflow:auto;
  display:grid;
  align-content:start;
  gap:8px;
  margin:12px 0;
  padding:10px;
  border-radius:12px;
  background:#f3f7fb;
}

.jur-pwa-msg{
  width:min(84%,520px);
  padding:10px 11px;
  border-radius:
    14px 14px 14px 4px;
  background:#fff;
}

.jur-pwa-msg.mine{
  justify-self:end;
  background:#1765a3;
  color:#fff;
  border-radius:
    14px 14px 4px 14px;
}

.jur-pwa-msg.system{
  justify-self:center;
  width:auto;
  background:#e7edf4;
  color:#475569;
  text-align:center;
}

.jur-pwa-msg p{
  white-space:pre-wrap;
}

.jur-pwa-msg small{
  display:block;
  margin-top:5px;
  font-size:9px;
  opacity:.7;
}

.jur-pwa-msg audio{
  width:100%;
}

.jur-pwa-msg a{
  display:block;
  margin:7px 0;
}

.jur-pwa-msg.mine a{
  color:#fff;
}

.jur-pwa-actions{
  display:grid;
  grid-template-columns:
    auto auto 1fr;
  gap:7px;
  margin-top:8px;
}

.jur-pwa-actions button,
.jur-pwa-file{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d3dde7;
  border-radius:10px;
  padding:10px;
  background:#fff;
  font-size:12px;
}

.jur-pwa-file input{
  display:none;
}

.jur-pwa-empty{
  padding:24px;
  color:#64748b;
  text-align:center;
}

/* SINPOLPI_PWA_JURIDICO_END */


/* SINPOLPI_SINO_PUSH_START */

.push-status-btn{
    position:relative;
    width:38px;
    height:38px;
    flex:none;

    display:grid;
    place-items:center;

    margin:0;
    padding:0;

    border:1px solid rgba(255,255,255,.24);
    border-radius:50%;

    background:rgba(255,255,255,.09);
    color:#fff;

    cursor:pointer;

    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease;
}

.push-status-btn:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.16);
}

.push-status-btn:disabled{
    opacity:.65;
    cursor:wait;
}

.push-status-icon{
    line-height:1;
    font-size:18px;
}

.push-status-dot{
    position:absolute;

    right:2px;
    top:2px;

    width:9px;
    height:9px;

    border-radius:50%;

    border:2px solid #082a51;

    background:#d6a817;

    box-sizing:border-box;
}

.push-status-on .push-status-dot{
    background:#32c66b;
}

.push-status-pending .push-status-dot{
    background:#e3ad22;
}

.push-status-off .push-status-dot{
    background:#e44c4c;
}

.push-status-off .push-status-icon{
    opacity:.65;
}

/* SINPOLPI_SINO_PUSH_END */


/* SINPOLPI_CENTRAL_NOTIFICACOES_CSS_START */


.push-notif-count{
    position:absolute;

    top:-5px;
    right:-7px;

    min-width:19px;
    height:19px;

    padding:0 5px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:2px solid #082a51;
    border-radius:10px;

    background:#d83434;
    color:#fff;

    font-size:10px;
    font-weight:900;
    line-height:1;

    box-sizing:border-box;
}


.notif-page-header{
    display:flex;
    align-items:center;
    gap:12px;

    margin-bottom:16px;
}


.notif-page-header h2{
    margin:0;
    font-size:21px;
}


.notif-page-header p{
    margin:3px 0 0;
    color:#738295;
    font-size:12px;
}


.notif-voltar{
    width:38px;
    height:38px;

    flex:none;

    border:0;
    border-radius:50%;

    background:#edf3f8;
    color:#0a365f;

    font-size:20px;
    font-weight:900;
}


.notif-lista{
    display:flex;
    flex-direction:column;
    gap:12px;

    padding-bottom:100px;
}


.notif-item{
    padding:16px;

    border:1px solid #dce6ef;
    border-radius:16px;

    background:#fff;

    box-shadow:
        0 4px 16px
        rgba(15,45,75,.06);
}


.notif-nao-lida{
    border-left:
        5px solid #d5a329;

    background:
        linear-gradient(
            90deg,
            #fffaf0 0,
            #fff 42%
        );
}


.notif-lida{
    opacity:.88;
}


.notif-item-topo{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;

    margin-bottom:8px;
}


.notif-origem{
    color:#1765a3;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}


.notif-nova{
    padding:3px 7px;

    border-radius:20px;

    background:#d5a329;
    color:#fff;

    font-size:9px;
    font-weight:900;
}


.notif-item h3{
    margin:0 0 9px;

    color:#15324d;

    font-size:16px;
    line-height:1.3;
}


.notif-mensagem{
    margin:0;

    color:#3d4d5c;

    font-size:14px;
    line-height:1.55;

    white-space:pre-line;
}


.notif-data{
    margin-top:12px;

    color:#8794a0;

    font-size:10px;
}


.notif-acoes{
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-top:13px;
}


.notif-acoes button{
    min-height:36px;

    padding:7px 11px;

    border:0;
    border-radius:10px;

    background:#0e578d;
    color:#fff;

    font-size:11px;
    font-weight:800;
}


.notif-acoes .notif-ocultar{
    background:#eef2f5;
    color:#566675;
}


.notif-vazia{
    min-height:220px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;

    padding:30px;

    border:1px dashed #ccd8e2;
    border-radius:16px;

    color:#778797;
    text-align:center;
}


.notif-vazia span{
    font-size:30px;
}


.notif-vazia strong{
    color:#30475c;
}


.notif-vazia p{
    margin:0;
    max-width:280px;
    line-height:1.45;
}


/* SINPOLPI_CENTRAL_NOTIFICACOES_CSS_END */




/* ================================================================
   SINPOLPI — REQUERIMENTOS E AUXÍLIOS
   ================================================================ */

.s-requirements{
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f2f7ff
    );
}

.req-view{
  padding-bottom:110px;
}

.req-painel{
  width:min(100%,1100px);
  margin:0 auto;
}

.req-campo{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:18px;
  font-weight:700;
}

.req-campo select,
.req-form input,
.req-upload-assinado input{
  width:100%;
  box-sizing:border-box;
  border:1px solid #cfd8e5;
  border-radius:10px;
  padding:12px 13px;
  background:#fff;
  color:#172033;
  font:inherit;
}

.req-form{
  margin:18px 0;
  padding:20px;
  border:1px solid #dce4ee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(20,45,80,.06);
}

.req-form h3,
.req-etapa h3,
.req-historico-box h3{
  margin-top:0;
  color:#123d72;
}

.req-subtitulo{
  margin-top:28px !important;
}

.req-ajuda{
  color:#687386;
  font-size:.92rem;
  line-height:1.5;
}

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

.req-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:.9rem;
  font-weight:700;
}

.req-span-2{
  grid-column:span 2;
}

.req-folha-wrap{
  margin:24px 0;
}

.req-folha-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:10px;
}

.req-folha-toolbar button{
  border:0;
  border-radius:10px;
  padding:10px 14px;
  background:#123d72;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.req-folha-a4{
  width:210mm;
  min-height:297mm;
  max-width:100%;
  box-sizing:border-box;
  margin:0 auto;
  padding:28mm 22mm 24mm;
  background:#fff;
  color:#111;
  box-shadow:0 7px 32px rgba(0,0,0,.13);
  font-family:"Times New Roman",Times,serif;
  font-size:12pt;
  line-height:1.7;
}

.req-folha-a4 h3{
  display:none;
}

.req-destinatario{
  margin:0 0 30mm;
  font-weight:700;
  text-transform:uppercase;
}

.req-corpo-documento{
  text-align:justify;
  text-indent:2cm;
}

.req-corpo-documento p{
  margin:0;
}

.req-fecho{
  text-align:center;
  margin-top:32mm;
}

.req-data{
  text-align:center;
  margin-top:18mm;
}

.req-assinatura{
  width:75%;
  margin:25mm auto 0;
  text-align:center;
}

.req-linha-assinatura{
  border-top:1px solid #222;
  margin-bottom:6px;
}

.req-assinatura strong,
.req-assinatura small{
  display:block;
}

.req-acoes-principais{
  display:flex;
  justify-content:flex-end;
  margin:20px 0;
}

.req-btn{
  border:0;
  border-radius:11px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
}

.req-btn-primary{
  background:#123d72;
  color:#fff;
}

.req-btn-secondary{
  margin-top:12px;
  background:#e9f0f8;
  color:#123d72;
}

.req-btn-gov{
  margin:12px 0 18px;
  background:#1351b4;
  color:#fff;
}

.req-etapa,
.req-historico-box{
  margin:22px 0;
  padding:20px;
  border:1px solid #dce4ee;
  border-radius:16px;
  background:#fff;
}

.req-etapa-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:20px;
}

.req-etapa-head > div{
  padding:12px;
  border-radius:10px;
  background:#f4f7fb;
}

.req-etapa-head small,
.req-etapa-head strong{
  display:block;
}

.req-etapa-head small{
  font-size:.7rem;
  color:#6c7787;
}

.req-documentos{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:15px;
}

.req-documento-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #e3e8ef;
  border-radius:10px;
}

.req-documento-item div{
  min-width:0;
}

.req-documento-item strong,
.req-documento-item small{
  display:block;
}

.req-documento-item strong{
  overflow:hidden;
  text-overflow:ellipsis;
}

.req-documento-item small{
  color:#768194;
}

.req-vazio{
  padding:15px;
  text-align:center;
  color:#7a8595;
  border:1px dashed #ccd5e0;
  border-radius:10px;
}

.req-gov-alerta{
  padding:15px;
  border-left:5px solid #1351b4;
  border-radius:9px;
  background:#edf4ff;
}

.req-gov-alerta p{
  margin-bottom:0;
}

.req-upload-assinado{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:15px 0;
  font-weight:700;
}

.req-historico-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid #edf0f4;
}

.req-historico-item:last-child{
  border-bottom:0;
}

.req-historico-item div{
  min-width:0;
}

.req-historico-item strong,
.req-historico-item span{
  display:block;
}

.req-historico-item span{
  margin-top:3px;
  font-size:.82rem;
  color:#6f7a8c;
}

.req-status{
  flex:none;
  padding:6px 9px;
  border-radius:999px;
  font-size:.72rem;
  background:#edf1f5;
}

.req-status-pendente{
  background:#fff4e5;
  color:#a65b00;
}

.req-status-deferido{
  background:#eaf8ef;
  color:#087443;
}

.req-status-indeferido{
  background:#fff0ef;
  color:#b42318;
}

.req-status-aguardando_assinatura{
  background:#edf4ff;
  color:#1351b4;
}

@media(max-width:720px){

  .req-grid{
    grid-template-columns:1fr;
  }

  .req-span-2{
    grid-column:span 1;
  }

  .req-form,
  .req-etapa,
  .req-historico-box{
    padding:14px;
  }

  .req-folha-wrap{
    overflow-x:auto;
    padding-bottom:8px;
  }

  .req-folha-a4{
    width:210mm;
    min-width:210mm;
    transform-origin:top left;
  }

  .req-folha-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .req-historico-item{
    align-items:flex-start;
    flex-direction:column;
  }

}

@media print{

  body.req-imprimindo *{
    visibility:hidden !important;
  }

  body.req-imprimindo #reqFolhaA4,
  body.req-imprimindo #reqFolhaA4 *{
    visibility:visible !important;
  }

  body.req-imprimindo #reqFolhaA4{
    position:absolute;
    left:0;
    top:0;
    width:210mm;
    min-height:297mm;
    box-shadow:none;
    margin:0;
  }

}


/* =====================================================================
   SINPOLPI — CORES DOS CARDS
   ASSEMBLEIAS + REQUERIMENTOS E AUXÍLIOS
   ===================================================================== */

/* ASSEMBLEIAS — VIOLETA / AZUL FORTE */
.s-assemblies{
    background:
        linear-gradient(
            145deg,
            #5b21b6,
            #3730a3
        ) !important;

    color:#ffffff !important;
    border-color:rgba(255,255,255,.18) !important;
}

.s-assemblies strong,
.s-assemblies span,
.s-assemblies small,
.s-assemblies div{
    color:#ffffff !important;
}

.s-assemblies .aa-service-icon{
    color:#ffffff !important;
}


/* REQUERIMENTOS E AUXÍLIOS — AZUL PETRÓLEO / TURQUESA */
.s-requirements{
    background:
        linear-gradient(
            145deg,
            #007c91,
            #005b70
        ) !important;

    color:#ffffff !important;
    border-color:rgba(255,255,255,.18) !important;
}

.s-requirements strong,
.s-requirements span,
.s-requirements small,
.s-requirements div{
    color:#ffffff !important;
}

.s-requirements .service-icon{
    color:#ffffff !important;
}


/* LEVE REALCE AO TOCAR / PASSAR O MOUSE */
.s-assemblies:hover,
.s-requirements:hover{
    filter:brightness(1.08);
    transform:translateY(-1px);
}



/* =====================================================================
   SINPOLPI_INSTALL_GATE_STYLE_V1
   ===================================================================== */

.sinpolpi-install-gate{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(6,20,38,.82);
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
    overflow:auto;
}

.sinpolpi-install-gate.hidden{
    display:none !important;
}

.sinpolpi-install-card{
    width:min(100%,480px);
    background:#fff;
    border-radius:24px;
    padding:26px 22px;
    box-shadow:0 26px 80px rgba(0,0,0,.38);
    text-align:center;
}

.sinpolpi-install-logo{
    width:74px;
    height:74px;
    object-fit:contain;
    margin-bottom:10px;
}

.sinpolpi-install-tag{
    display:inline-block;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    background:#e9f1fb;
    color:#123d72;
}

.sinpolpi-install-card h1{
    margin:12px 0 10px;
    font-size:24px;
    line-height:1.12;
    color:#0b294a;
}

.sinpolpi-install-card > p{
    font-size:14px;
    line-height:1.55;
}

.sinpolpi-install-info{
    margin-top:12px;
    padding:13px 14px;
    border-radius:14px;
    background:#f3f6f9;
    text-align:left;
}

.sinpolpi-install-info strong{
    display:block;
    margin-bottom:5px;
    color:#123d72;
}

.sinpolpi-install-info span{
    display:block;
    font-size:13px;
    line-height:1.5;
}

.sinpolpi-install-primary{
    width:100%;
    border:0;
    border-radius:14px;
    padding:15px;
    margin-top:16px;
    background:#123d72;
    color:#fff;
    font-weight:900;
    font-size:14px;
    cursor:pointer;
}

.sinpolpi-install-final{
    margin-bottom:0;
    font-size:12px !important;
    opacity:.76;
}


/* =====================================================================
   HOME — CONVITE E PRESTAÇÃO DE CONTAS
   ===================================================================== */

.sinpolpi-home-destaques{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin:14px 0 18px;
}

.sinpolpi-home-card{
    display:flex;
    gap:13px;
    padding:17px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 7px 22px rgba(14,42,71,.09);
    border:1px solid rgba(18,61,114,.09);
}

.sinpolpi-home-card.hidden{
    display:none !important;
}

.sinpolpi-home-card-icon{
    flex:0 0 46px;
    width:46px;
    height:46px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:25px;
    background:#edf3f9;
}

.sinpolpi-home-card-content{
    min-width:0;
    flex:1;
}

.sinpolpi-home-card-content small{
    display:block;
    margin-bottom:4px;
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    color:#65798e;
}

.sinpolpi-home-card-content h3{
    margin:0 0 5px;
    font-size:17px;
    color:#123d72;
}

.sinpolpi-home-card-content p{
    margin:0 0 10px;
    font-size:12px;
    line-height:1.4;
    color:#536577;
}

.sinpolpi-home-card-content button{
    border:0;
    border-radius:10px;
    padding:9px 12px;
    background:#123d72;
    color:#fff;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}

.sinpolpi-em-breve{
    display:inline-flex;
    padding:6px 9px;
    border-radius:999px;
    background:#edf1f5;
    font-size:10px;
    font-weight:900;
    color:#536577;
}

.sinpolpi-convite-card{
    border-color:rgba(17,126,78,.18);
}

.sinpolpi-convite-card .sinpolpi-home-card-icon{
    background:#ecf8f1;
}


/* =====================================================================
   MODAL DO CONVITE
   ===================================================================== */

.sinpolpi-convite-modal{
    position:fixed;
    inset:0;
    z-index:99990;
    padding:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(4,17,30,.82);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}

.sinpolpi-convite-modal.hidden{
    display:none !important;
}

.sinpolpi-convite-modal-box{
    width:min(100%,620px);
    height:min(92vh,850px);
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 24px 70px rgba(0,0,0,.4);
}

.sinpolpi-convite-modal-top{
    height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    background:#123d72;
    color:#fff;
}

.sinpolpi-convite-modal-top button{
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

#conviteNatalFrame{
    width:100%;
    height:calc(100% - 52px);
    border:0;
    background:#fff;
}


@media (max-width:720px){

    .sinpolpi-home-destaques{
        grid-template-columns:1fr;
    }

    .sinpolpi-install-card{
        padding:22px 18px;
    }

    .sinpolpi-install-card h1{
        font-size:21px;
    }
}

/* SINPOLPI_INSTALL_GATE_STYLE_V1_END */


/* PWA_SERVICE_HISTORY_BADGE_V1 */

.service{
    position:relative;
}

.service-history-badge{
    position:absolute;
    top:10px;
    right:10px;

    min-width:28px;
    height:28px;

    padding:0 8px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    border-radius:999px;

    background:#fff;
    color:#123d72;

    border:2px solid rgba(255,255,255,.78);

    box-shadow:
        0 3px 10px
        rgba(0,0,0,.22);

    font-size:12px;
    line-height:1;
    font-weight:900;

    z-index:5;
}

.service-history-badge.hidden{
    display:none !important;
}






/* ==========================================================
   SINPOLPI_AGENDA_VIRTUAL_ANUAL_CSS_V2
   ========================================================== */

.s-agenda-virtual{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(
            145deg,
            #173d70,
            #09264c
        );
}

.s-agenda-virtual::after{
    content:"✎";
    position:absolute;
    right:18px;
    bottom:5px;
    font-size:55px;
    opacity:.08;
}


.agenda-virtual-view{
    perspective:1400px;
}


.agenda-virtual-capa{
    width:min(100%,720px);
    min-height:610px;
    margin:18px auto;
    padding:42px 26px;

    border-radius:
        16px 34px 34px 16px;

    color:#fff;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            145deg,
            #08264a,
            #17477f,
            #081d38
        );

    box-shadow:
        0 22px 48px
        rgba(0,0,0,.28);

    transform-origin:
        left center;
}


.agenda-virtual-capa img{
    width:105px;
    height:105px;
    object-fit:contain;
}


.agenda-virtual-capa small{
    margin-top:20px;
    letter-spacing:.32em;
    font-weight:800;
}


.agenda-virtual-capa h1{
    margin:25px 0;
    font:700 48px Georgia,serif;
    text-align:center;
}


.agenda-virtual-capa h1 strong{
    display:block;
    margin-top:8px;
    font-size:76px;
    color:#e9c36e;
}


.agenda-virtual-capa p{
    max-width:420px;
    text-align:center;
    line-height:1.6;
}


.agenda-virtual-capa button{
    margin-top:20px;
    padding:13px 28px;
    border:0;
    border-radius:999px;
    background:#fff;
    color:#143e71;
    font-weight:800;
}


.agenda-virtual-capa.virando{
    animation:
        agendaVirarCapa
        .48s ease forwards;
}


@keyframes agendaVirarCapa{

    to{
        transform:
            rotateY(-98deg);
        opacity:0;
    }
}


.agenda-virtual-miolo{
    width:min(100%,1000px);
    margin:auto;
}


.agenda-virtual-topo,
.agenda-virtual-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:14px 0;
}


.agenda-virtual-modos{
    display:flex;
    gap:6px;
}


.agenda-virtual-modos button,
.agenda-virtual-nav button,
#agendaVirtualAno{
    min-height:40px;
    border:1px solid #d8e0ea;
    border-radius:10px;
    background:white;
    color:#173f73;
    padding:8px 13px;
    font-weight:700;
}


.agenda-virtual-modos button.active{
    background:#173f73;
    color:white;
}


.agenda-virtual-nav strong{
    flex:1;
    text-align:center;
    text-transform:capitalize;
}


.agenda-virtual-conteudo{
    transform-origin:left center;
}


.agenda-virtual-conteudo.folheando{
    animation:
        agendaFolha
        .34s ease;
}


@keyframes agendaFolha{

    from{
        transform:
            rotateY(7deg);
        opacity:.45;
    }

    to{
        transform:
            rotateY(0);
        opacity:1;
    }
}


.agenda-pagina,
.agenda-dia-semana{
    background-color:#fffdf5;

    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 35px,
            rgba(71,127,177,.20) 36px
        );

    border:
        1px solid #e5dfd0;

    box-shadow:
        0 14px 28px
        rgba(30,50,70,.10);
}


.agenda-pagina{
    min-height:610px;
    padding:22px 26px;
    border-radius:8px 17px 17px 8px;
}


.agenda-pagina header{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;

    min-height:85px;
    padding-left:32px;

    text-transform:capitalize;
}


.agenda-pagina header span{
    font-family: Arial, Helvetica, sans-serif;

    font-size:23px;
}


.agenda-pagina header strong{
    grid-column:2;
    grid-row:1 / span 2;
    font:700 58px Georgia,serif;
    color:#174474;
}


.agenda-manuscrita{
    width:100%;
    min-height:440px;

    border:0;
    outline:0;
    resize:none;

    padding:
        5px 12px
        10px 42px;

    background:transparent;

    color:#273b51;

    font-family: Arial, Helvetica, sans-serif;

    font-size:19px;
    line-height:36px;
}


.agenda-feriado{
    display:block;
    margin:0 0 12px 40px;
    font-size:12px;
    font-weight:800;
}


.agenda-feriado.feriado{
    color:#b42318;
}


.agenda-feriado.facultativo{
    color:#a15c00;
}


.agenda-feriado.civica{
    color:#235ea7;
}


.agenda-semana{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}


.agenda-dia-semana{
    min-height:285px;
    padding:14px;
    border-radius:8px 15px 15px 8px;
}


.agenda-dia-semana header{
    display:flex;
    justify-content:space-between;
    padding:0 5px 9px 36px;
    color:#174474;
    text-transform:capitalize;
}


.agenda-manuscrita.pequena{
    min-height:205px;
    padding-left:37px;
    font-size:16px;
}


.agenda-mes{
    background:#fffdf6;
    border:1px solid #e5dece;
    border-radius:15px;
    padding:14px;
}


.agenda-mes-cab,
.agenda-mes-grid{
    display:grid;
    grid-template-columns:
        repeat(7,1fr);
    gap:5px;
}


.agenda-mes-cab span{
    padding:7px 0;
    text-align:center;
    font-size:11px;
    font-weight:800;
}


.agenda-dia-mes{
    position:relative;
    min-height:92px;
    padding:7px;

    border:
        1px solid #e0e6ee;

    border-radius:9px;

    background:#fff;
    color:#27496d;
}


.agenda-dia-mes small{
    display:block;
    margin-top:8px;
    font-size:8px;
    line-height:1.2;
}


.agenda-dia-mes.feriado{
    background:#fff0ed;
    border-color:#efc1b8;
}


.agenda-dia-mes.facultativo{
    background:#fff7e6;
}


.agenda-dia-mes.civica{
    background:#eef5ff;
}


.agenda-dia-mes.com-nota::after{
    content:"✎";
    position:absolute;
    right:7px;
    bottom:5px;
    color:#a87516;
}


.agenda-virtual-status{
    padding:14px;
    text-align:center;
    font-size:12px;
    color:#68778a;
}


@media(max-width:700px){

    .agenda-virtual-capa{
        min-height:530px;
    }

    .agenda-virtual-topo{
        align-items:stretch;
        flex-direction:column;
    }

    .agenda-virtual-modos{
        display:grid;
        grid-template-columns:
            repeat(3,1fr);
    }

    .agenda-semana{
        grid-template-columns:1fr;
    }

    .agenda-mes{
        padding:6px;
    }

    .agenda-mes-grid,
    .agenda-mes-cab{
        gap:2px;
    }

    .agenda-dia-mes{
        min-height:67px;
        padding:5px;
    }

    .agenda-dia-mes small{
        font-size:7px;
    }

    .agenda-pagina{
        padding:15px 10px;
    }

    .agenda-manuscrita{
        padding-left:32px;
        font-size:17px;
    }
}


/* SINPOLPI_AGENDA_VIRTUAL_ANUAL_CSS_V2_END */


/* SINPOLPI_AGENDA_INSTITUCIONAL_PWA_CSS_V1 */

.s-agenda-institucional{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(
            145deg,
            #153c6b,
            #071e3b
        );
}

.s-agenda-institucional::after{
    content:"DIR";
    position:absolute;
    right:10px;
    top:7px;
    font-size:34px;
    font-weight:900;
    opacity:.06;
}

.agenda-inst-pwa-toolbar,
.agenda-inst-pwa-nav{
    display:flex;
    gap:7px;
    align-items:center;
    justify-content:center;
    margin:12px 0;
}

.agenda-inst-pwa-toolbar button,
.agenda-inst-pwa-nav button,
.agenda-inst-pwa-novo{
    padding:10px 14px;
    border:1px solid #d7dfe8;
    border-radius:10px;
    background:#fff;
    color:#173e70;
    font-weight:800;
}

.agenda-inst-pwa-nav strong{
    flex:1;
    text-align:center;
    text-transform:capitalize;
}

.agenda-inst-pwa-novo{
    width:100%;
    margin-bottom:12px;
    background:#173f73;
    color:#fff;
}

.agenda-inst-pwa-caderno{
    min-height:380px;
    padding:18px 14px 18px 42px;
    background-color:#fffdf5;
    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 35px,
            rgba(70,120,170,.18) 36px
        );
    border:1px solid #e3ddcf;
    border-radius:8px 18px 18px 8px;
}

.agenda-inst-pwa-item{
    width:100%;
    display:grid;
    gap:4px;
    margin-bottom:9px;
    padding:10px;
    border:0;
    border-left:4px solid #567ba5;
    border-radius:8px;
    background:rgba(255,255,255,.91);
    text-align:left;
}

.agenda-inst-pwa-item.importante{
    border-left-color:#d69a1e;
}

.agenda-inst-pwa-item.urgente{
    border-left-color:#c43a32;
}

.agenda-inst-pwa-editor{
    display:grid;
    gap:10px;
    margin-top:16px;
    padding:14px;
    border:1px solid #dfe5eb;
    border-radius:14px;
    background:#fff;
}

.agenda-inst-pwa-editor input,
.agenda-inst-pwa-editor select,
.agenda-inst-pwa-editor textarea,
.agenda-inst-pwa-editor button,
.agenda-inst-pwa-anexo{
    width:100%;
    padding:11px;
    border:1px solid #d9e0e8;
    border-radius:10px;
}

.agenda-inst-pwa-manuscrita{
    min-height:210px;
    resize:vertical;
    font-family: Arial, Helvetica, sans-serif;
    font-size:17px;
    line-height:34px;
    background-color:#fffdf5;
    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 33px,
            rgba(70,120,170,.18) 34px
        );
}

.agenda-inst-pwa-anexo{
    text-align:center;
    background:#f8fafc;
}

.agenda-inst-pwa-anexos{
    display:grid;
    gap:8px;
}

.agenda-inst-pwa-img{
    width:100%;
    max-height:280px;
    object-fit:contain;
    border-radius:10px;
}

.agenda-inst-pwa-anexos audio{
    width:100%;
}

.agenda-inst-pwa-vazio{
    padding:30px 10px;
    text-align:center;
    color:#8c7a54;
}

/* SINPOLPI_AGENDA_INSTITUCIONAL_PWA_CSS_V1_END */


/* ==========================================================
   SINPOLPI_AGENDA_INSTITUCIONAL_PWA_VISUAL_REAL_V2
   ========================================================== */

.agenda-pwa-real-container{
    margin-top:12px;
}


.agenda-pwa-real-dia{
    min-height:520px;

    padding:
        18px 12px
        20px 39px;

    position:relative;

    border:1px solid #e5ddca;
    border-radius:8px 17px 17px 8px;

    background-color:#fffdf5;

    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 34px,
            rgba(63,111,161,.18) 35px
        );

    box-shadow:
        0 12px 25px
        rgba(0,0,0,.08);
}


.agenda-pwa-real-dia::before{
    content:"";
    position:absolute;
    left:27px;
    top:0;
    bottom:0;
    width:1px;
    background:
        rgba(190,58,58,.25);
}


.agenda-pwa-real-dia header{
    min-height:95px;
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
}


.agenda-pwa-real-dia header span{
    grid-column:1 / span 2;

    text-transform:capitalize;

    font-family: Arial, Helvetica, sans-serif;

    color:#315b83;
}


.agenda-pwa-real-dia header strong{
    font:700 56px Georgia,serif;
    color:#174474;
}


.agenda-pwa-real-dia header small{
    text-transform:capitalize;
}


.agenda-pwa-real-dia
header.fim-semana span,
.agenda-pwa-real-dia
header.fim-semana strong{
    color:#b42318;
}


.agenda-pwa-feriado{
    margin-bottom:10px;
    padding:7px 9px;

    border-radius:7px;

    background:#fff0ed;

    color:#b42318;

    font-size:11px;
    font-weight:800;
}


.agenda-pwa-feriado.mini{
    margin:5px;
    padding:4px;
    font-size:8px;
}


.agenda-pwa-real-pauta{
    display:grid;
    gap:7px;
}


.agenda-pwa-real-vazio{
    min-height:65px;

    font-family: Arial, Helvetica, sans-serif;

    color:#9a8c70;
}


.agenda-pwa-real-evento{
    width:100%;

    display:grid;
    gap:3px;

    padding:6px 8px;

    border:0;
    border-left:4px solid #517ba9;
    border-radius:6px;

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

    text-align:left;
}


.agenda-pwa-real-evento.importante{
    border-left-color:#d29b23;
}


.agenda-pwa-real-evento.urgente{
    border-left-color:#be342c;
}


.agenda-pwa-real-evento strong{
    font-family: Arial, Helvetica, sans-serif;
}


.agenda-pwa-real-add{
    border:0;
    background:transparent;
    color:#456e98;
    text-align:left;

    font-family: Arial, Helvetica, sans-serif;
}


.agenda-pwa-real-semana{
    display:grid;

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

    gap:6px;

    overflow-x:auto;
    padding-bottom:8px;
}


.agenda-pwa-real-coluna{
    min-height:470px;

    border:1px solid #e2dbc9;
    border-radius:7px 13px 13px 7px;

    background-color:#fffdf5;

    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 29px,
            rgba(63,111,161,.15) 30px
        );

    overflow:hidden;
}


.agenda-pwa-real-coluna.fim-semana{
    background-color:#fff7f5;
}


.agenda-pwa-real-coluna-cab{
    width:100%;
    min-height:95px;

    border:0;
    border-bottom:1px solid #e4ddcc;

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

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:8px 4px;
}


.agenda-pwa-real-coluna-cab span{
    text-transform:capitalize;
    font-size:11px;

    font-family: Arial, Helvetica, sans-serif;
}


.agenda-pwa-real-coluna-cab strong{
    font:700 38px Georgia,serif;
    color:#174474;
}


.agenda-pwa-real-coluna.fim-semana
.agenda-pwa-real-coluna-cab span,
.agenda-pwa-real-coluna.fim-semana
.agenda-pwa-real-coluna-cab strong{
    color:#b42318;
}


.agenda-pwa-real-coluna-pauta{
    display:grid;
    gap:5px;
    padding:6px;
}


.agenda-pwa-real-coluna
.agenda-pwa-real-evento{
    font-size:9px;
}


.agenda-pwa-real-add-mini{
    width:28px;
    height:28px;

    margin:4px auto;

    border:1px dashed #9bacbf;
    border-radius:50%;

    background:#fff;
}


.agenda-pwa-real-mes{
    padding:5px;

    border:1px solid #e4ddca;
    border-radius:12px;

    background:#fffdf7;
}


.agenda-pwa-real-mes-cab,
.agenda-pwa-real-mes-grid{
    display:grid;
    grid-template-columns:
        repeat(7,1fr);

    gap:2px;
}


.agenda-pwa-real-mes-cab span{
    padding:6px 1px;

    text-align:center;

    font-size:9px;
    font-weight:900;
}


.agenda-pwa-real-mes-cab
.fim-semana{
    color:#b42318;
}


.agenda-pwa-real-mes-dia,
.agenda-pwa-real-mes-vazio{
    min-height:68px;
}


.agenda-pwa-real-mes-dia{
    position:relative;

    border:1px solid #e4e7eb;
    border-radius:7px;

    background:#fff;
    color:#274867;

    padding:5px;
    text-align:left;
}


.agenda-pwa-real-mes-dia
> strong{
    font:700 15px Georgia,serif;
}


.agenda-pwa-real-mes-dia.fim-semana{
    background:#fff7f5;
}


.agenda-pwa-real-mes-dia.fim-semana
> strong{
    color:#b42318;
}


.agenda-pwa-real-mes-dia.feriado{
    box-shadow:
        inset 0 0 0 1px
        rgba(180,35,24,.25);
}


.agenda-pwa-real-mes-feriado{
    display:block;

    margin-top:3px;

    font-size:6px;
    line-height:1.1;

    color:#b42318;
    font-weight:800;
}


.agenda-pwa-real-indicador{
    position:absolute;
    right:4px;
    bottom:4px;

    min-width:18px;
    height:18px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:#173f73;
    color:#fff;

    font-size:9px;
    font-weight:800;
}


/* SINPOLPI_AGENDA_INSTITUCIONAL_PWA_VISUAL_REAL_V2_END */

/* SINPOLPI_AGENDAS_DIA_ATUAL_V1 */
#agendaVirtualView .agenda-dia-semana.agenda-dia-atual,
#agendaVirtualView .agenda-dia-mes.agenda-dia-atual,
#agendaInstitucionalView .agenda-pwa-real-coluna.agenda-dia-atual,
#agendaInstitucionalView .agenda-pwa-real-mes-dia.agenda-dia-atual {
    box-shadow:
        inset 0 0 0 2px rgba(54, 108, 161, .65),
        0 2px 7px rgba(54, 108, 161, .09);
}

#agendaVirtualView .agenda-semana .agenda-dia-semana.agenda-dia-atual > header,
#agendaInstitucionalView .agenda-pwa-real-coluna.agenda-dia-atual > .agenda-pwa-real-coluna-cab {
    background-color: rgba(83, 139, 191, .10);
    border-radius: 6px;
}

#agendaVirtualView .agenda-mes-grid > .agenda-dia-mes.agenda-dia-atual,
#agendaInstitucionalView .agenda-pwa-real-mes-grid > .agenda-pwa-real-mes-dia.agenda-dia-atual {
    background-image: linear-gradient(
        rgba(83, 139, 191, .07),
        rgba(83, 139, 191, .07)
    );
}

#agendaVirtualView .agenda-dia-semana textarea:disabled {
    opacity: .6;
    cursor: default;
}
/* SINPOLPI_AGENDAS_DIA_ATUAL_V1_END */

/* SINPOLPI_AGENDA_LEMBRETES_V1 */
#agendaVirtualView .agenda-lembretes {
    margin-top: 18px; padding: 16px; border: 1px solid #d5dee6;
    border-radius: 12px; background: #fff; color: #152a40;
}
#agendaVirtualView .agenda-lembretes h3 { margin: 0 0 8px; }
#agendaVirtualView .agenda-lembretes form { display: grid; gap: 12px; margin-top: 12px; }
#agendaVirtualView .agenda-lembretes label { display: grid; gap: 6px; font-weight: 600; }
#agendaVirtualView .agenda-lembretes :is(input,select) {
    box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px;
    padding: 8px 10px; border: 1px solid #b5c2ce; border-radius: 8px;
    font: inherit; color: inherit; background: #fff;
}
#agendaVirtualView .agenda-lembretes-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
#agendaVirtualView .agenda-lembretes button {
    min-height: 40px; padding: 7px 12px; border: 1px solid #b5c2ce;
    border-radius: 8px; font: inherit; background: #fff; color: #082a51;
}
#agendaVirtualView .agenda-lembretes button[type="submit"] {
    background: #082a51; color: #fff; border-color: #082a51;
}
#agendaVirtualView .agenda-lembretes button:disabled { opacity: .55; cursor: wait; }
#agendaVirtualView .agenda-lembretes :is(input,select,button):focus-visible {
    outline: 2px solid #366ca1; outline-offset: 2px;
}
#agendaVirtualView .agenda-lembretes-lista article {
    display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid #d5dee6;
}

/* SINPOLPI_AGENDA_LEMBRETES_V1 */

/* SINPOLPI_SOM_NOTIFICACOES_V1 */
.sinpolpi-som-avisos {
    min-height: 40px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border: 1px solid #b5c2ce;
    border-radius: 8px;
    background: #fff;
    color: #082a51;
    font: inherit;
    font-weight: 600;
}
.sinpolpi-som-avisos:focus-visible {
    outline: 2px solid #366ca1;
    outline-offset: 2px;
}





/* SINPOLPI_BARRA_CORES_ATIVO_V2 */
.bottom-nav > button:nth-child(1) > b,
.bottom-nav > button:nth-child(3) > b,
.bottom-nav > button:nth-child(5) > b {
    color: #174f87;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .bottom-nav > button:nth-child(1) > b,
    .bottom-nav > button:nth-child(3) > b,
    .bottom-nav > button:nth-child(5) > b {
        background-image: linear-gradient(
            145deg,
            #174f87 0%, #174f87 62%,
            #b48b45 64%, #b48b45 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}
.bottom-nav > button:nth-child(2) > b {
    filter: sepia(.85) saturate(1.6);
}
.bottom-nav > button:nth-child(4) > b {
    filter: sepia(.8) saturate(1.8) hue-rotate(155deg);
}
.bottom-nav > button.sinpolpi-menu-ativo {
    background: #eaf2fa;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px #b7cbe0;
}
.bottom-nav > button.sinpolpi-menu-ativo > span {
    color: #174f87;
    font-weight: 700;
}
.bottom-nav > button:focus-visible {
    outline: 2px solid #b48b45;
    outline-offset: -3px;
}
/* SINPOLPI_BARRA_CORES_ATIVO_V2_END */
