
.imca-wrap .imca-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:24px 0;}
.imca-wrap .imca-card{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px;display:flex;justify-content:space-between;align-items:center;}
.imca-wrap .imca-card span{font-size:22px;font-weight:700;}
.imca-wrap .imca-panel{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px;}
.imca-front{max-width:1000px;margin:0 auto;}
.imca-front .imca-section{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px;margin-bottom:20px;}
.imca-front .imca-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.imca-front input[type=text], .imca-front input[type=url], .imca-front input[type=date], .imca-front textarea, .imca-front select{width:100%;}
.imca-front button{padding:10px 16px;}

/* Central publica dos agentes */
.imca-front{
    max-width:1146px;
    margin:0 auto;
    padding:20px;
    box-sizing:border-box;
}

.imca-front *{
    box-sizing:border-box;
}

.imca-front h2{
    margin:0 0 8px;
}

.imca-front .imca-muted{
    color:#666;
    font-size:14px;
}

.imca-front .imca-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:16px;
    margin:20px 0;
}

.imca-front .imca-card{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:10px;
    padding:18px;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.imca-front .imca-card strong{
    display:block;
    font-size:13px;
    color:#555;
    margin-bottom:8px;
}

.imca-front .imca-card span{
    display:block;
    font-size:24px;
    font-weight:700;
    color:#111;
}

.imca-front .imca-section{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:10px;
    padding:18px;
    margin-bottom:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.imca-front .imca-section h3{
    margin-top:0;
}

.imca-front .imca-table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
    font-size:14px;
}

.imca-front .imca-table th,
.imca-front .imca-table td{
    border-bottom:1px solid #eee;
    padding:10px 8px;
    text-align:left;
    vertical-align:top;
}

.imca-front .imca-table th{
    font-weight:700;
    background:#fafafa;
}

.imca-front .imca-status{
    display:inline-block;
    padding:3px 8px;
    border-radius:999px;
    background:#f1f1f1;
    font-size:12px;
    font-weight:600;
}

.imca-front .imca-status-publish{
    background:#e7f7ed;
    color:#116329;
}

.imca-front .imca-status-draft{
    background:#fff4d6;
    color:#7a4d00;
}

.imca-front .imca-status-pending{
    background:#e8f1ff;
    color:#184f90;
}

.imca-front .imca-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:14px 0;
}

.imca-front .imca-button{
    display:inline-block;
    padding:10px 14px;
    border-radius:8px;
    background:#111;
    color:#fff;
    text-decoration:none;
    border:0;
    cursor:pointer;
}

.imca-front .imca-button:hover{
    color:#fff;
    opacity:.9;
}

@media (max-width:700px){
    .imca-front{
        padding:12px;
    }

    .imca-front .imca-two{
        grid-template-columns:1fr;
    }

    .imca-front .imca-table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }
}


.imca-front .imca-hero{
    width:100%;
    margin:0 0 22px;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 4px 16px rgba(0,0,0,.12);
    background:#111;
}

.imca-front .imca-hero-img{
    display:block;
    width:100%;
    height:auto;
}

@media (max-width:700px){
    .imca-front .imca-hero{
        border-radius:10px;
        margin-bottom:16px;
    }
}
