/* Canal do agente — só nestas páginas. */

.ag-public { padding-bottom: 48px; }
.ag-card {
    max-width: 820px;
    margin: 0 auto;
}
.ag-card--narrow { max-width: 460px; }
.ag-lead { color: #52606d; }
.ag-foot { margin: 18px 0 0; text-align: center; }
.ag-contato { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

.ag-ident {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.ag-ident img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    background: #f4f6f8;
}
.ag-ident div { display: flex; flex-direction: column; gap: 2px; }
.ag-ident .ag-ident-actions {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.ag-public .col-md-3 .ag-card { max-width: none; margin: 0; }
.ag-public .wc-page-sheet .wc-modulo-intro-img { display: block; }
.ag-login {
    --bs-gutter-x: 2.75rem;
    --bs-gutter-y: 1.25rem;
    align-items: flex-start;
}
.ag-card--login {
    border: 1px solid #d5dbe3;
    border-radius: 14px;
    padding: 22px 18px 16px;
    background: #f7f9fb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.ag-card-title {
    margin: 0 0 8px;
    font-family: var(--font-display, inherit);
    font-size: 1.45rem;
    line-height: 1.15;
    color: var(--c-primary);
}
.ag-card--login .ag-lead { margin-bottom: 16px; font-size: 0.95rem; }
.ag-card--login .ag-foot { text-align: left; }
.ag-perfil-acoes { display: flex; flex-direction: column; gap: 8px; }
.ag-ident span { color: #52606d; font-size: 14px; }

.ag-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--c-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}
.ag-pill.is-read { background: #e4e7eb; color: #52606d; }

.ag-msg {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.ag-msg.is-new { border-color: var(--c-primary); box-shadow: inset 3px 0 0 var(--c-primary); }
.ag-msg summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}
.ag-msg summary::-webkit-details-marker { display: none; }
.ag-msg summary::marker { content: ''; }
.ag-msg-title { font-weight: 700; font-size: 1.05rem; margin-right: auto; }
.ag-msg time { color: #52606d; font-size: 13px; }
.ag-msg .ag-pill { margin-left: 0; }
.ag-msg-chevron { color: #52606d; font-size: 12px; transition: transform 0.15s ease; }
.ag-msg[open] .ag-msg-chevron { transform: rotate(180deg); }
.ag-msg-panel { padding: 0 16px 16px; }
.ag-msg-body { margin-bottom: 12px; }
.ag-msg-body img { max-width: 100%; height: auto; }
.ag-msg-body p:last-child { margin-bottom: 0; }

.ag-files { margin-bottom: 18px; }
.ag-files h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-primary);
}
.ag-files h3 i { font-size: 0.95rem; }
.ag-files ul { list-style: none; margin: 0; padding: 0; }
.ag-files li { border-top: 1px solid rgba(15, 23, 42, 0.08); padding: 10px 0; }
.ag-files a { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.ag-files small { font-weight: 600; color: #52606d; }
.ag-files p { margin: 4px 0 0; color: #52606d; font-size: 14px; }
