/* Ajustes específicos da consulta de repasse do duodécimo sobre a pele da gridlist. */
.gl-duodecimo-list {
    display: grid;
    gap: 14px;
}

.gl-duodecimo-year {
    margin: 0;
}

.gl-duodecimo-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    color: var(--gl-ink);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.gl-duodecimo-summary::-webkit-details-marker {
    display: none;
}

.gl-duodecimo-summary:focus-visible {
    outline: 3px solid var(--gl-alems-100);
    outline-offset: -3px;
}

.gl-duodecimo-toggle::before {
    content: "Mostrar dados";
    color: var(--gl-alems-600);
    font-size: 12px;
    font-weight: 600;
}

.gl-duodecimo-toggle::after {
    content: "▾";
    margin-left: 7px;
    color: var(--gl-alems);
}

.gl-duodecimo-year[open] .gl-duodecimo-summary {
    border-bottom: 1px solid var(--gl-border);
}

.gl-duodecimo-actions {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px 0;
}

.gl-duodecimo-actions .gl-export-year {
    min-height: 36px;
    margin-bottom: 12px;
    padding: 0 14px;
    font-size: 12px;
}

.gl-duodecimo-year[open] .gl-duodecimo-toggle::before {
    content: "Ocultar dados";
}

.gl-duodecimo-year[open] .gl-duodecimo-toggle::after {
    content: "▴";
}

.gl-duodecimo-year .gl-table tfoot {
    background: var(--gl-alems-050);
    border-top: 2px solid var(--gl-alems-100);
}

.gl-duodecimo-year .gl-table tfoot th,
.gl-duodecimo-year .gl-table tfoot td {
    padding: 13px 16px;
    color: var(--gl-alems-600);
    font-weight: 700;
}

.gl-duodecimo-month {
    font-weight: 700;
}

.gl-duodecimo-year .gl-table {
    min-width: 680px;
}

.gl-duodecimo-note {
    margin: 0;
    padding: 13px 16px;
    color: var(--gl-ink-soft);
    font-size: 13px;
    border-top: 1px solid var(--gl-border);
}

@media (max-width: 640px) {
    .gl-duodecimo-actions {
        padding-top: 10px;
    }

    .gl-duodecimo-actions .gl-export-year {
        width: 100%;
    }

    .gl-duodecimo-summary {
        align-items: flex-start;
    }

    .gl-duodecimo-toggle {
        flex: 0 0 auto;
    }

    .gl-duodecimo-toggle::before {
        content: "Mostrar";
    }

    .gl-duodecimo-year[open] .gl-duodecimo-toggle::before {
        content: "Ocultar";
    }
}
