@charset "UTF-8";
/* Extraído de templates/base.html (linha 3943). Mantenha a ordem dos <link> no template. */
        /* Desktop: sem margem/padding entre menu e timeline */
        @media (min-width: 993px) {
            body.page-timeline .sidebar {
                border-right: none !important;
                box-shadow: none !important;
            }
            body.page-timeline .main-content {
                padding: 0 !important;
            }
            body.page-timeline .content {
                margin-left: 280px !important;
                margin-right: 0 !important;
                width: calc(100% - 280px) !important;
                max-width: none !important;
                padding: 0 !important;
                transition: margin-left 0.25s ease, width 0.25s ease;
            }
            /* Menu retraído: margem à esquerda para o conteúdo não ficar por baixo da faixa do menu */
            body.page-timeline.sidebar-collapsed .content {
                margin-left: 60px !important;
                margin-right: 0 !important;
                width: calc(100% - 60px) !important;
                max-width: none !important;
            }
            /* Zerar padding do container-fluid */
            body.page-timeline .container-fluid {
                padding-left: 0 !important;
                padding-right: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            /* Zerar margens do row e col */
            body.page-timeline .row {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            body.page-timeline [class*="col-"] {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
            /* Forçar imagem de capa a encostar no menu */
            body.page-timeline .profile-card {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
            }
            body.page-timeline .profile-cover {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
            }
            body.page-timeline .content > .container-fluid {
                padding: 0 !important;
                margin: 0 !important;
            }
            body.page-timeline .content .container-fluid,
            body.page-timeline .content .row,
            body.page-timeline .content .row > [class*="col-"] {
                padding-left: 0 !important;
                padding-right: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            body.page-timeline .content .row {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
            }
        }
        /* Container de mensagens sem margem na timeline/obreiro */
        body.page-timeline .container.mt-3 {
            margin-top: 0 !important;
        }
        /* Mobile: origem da margem topo é .content { padding: 1rem } no base — zerar tudo */
        @media (max-width: 992px) {
            body.page-timeline .content {
                margin-top: 56px !important;
                padding: 0 !important;
            }
            /* Evitar margem vazia do container de mensagens */
            body.page-timeline .container.mt-3 {
                margin-top: 0 !important;
            }
            body.page-timeline .profile-card,
            body.page-timeline .profile-cover,
            body.page-timeline .profile-cover img {
                border-radius: 0 !important;
                border: none !important;
                box-shadow: none !important;
            }
            body.page-timeline .profile-card {
                margin-top: 0 !important;
                /* width:auto + margens negativas simétricas: o browser calcula
                   width = container - (-0.75rem) - (-0.75rem) = container + 1.5rem,
                   exatamente o padding do container-fluid. Sem 100vw → sem problema
                   com largura de barra de rolagem. */
                margin-left: -0.75rem !important;
                margin-right: -0.75rem !important;
                width: auto !important;
                max-width: none !important;
            }
            body.page-timeline .content > .container-fluid {
                padding: 0 !important;
                margin-top: 0 !important;
                padding-top: 0 !important;
            }
            body.page-timeline .content .row.g-0 {
                margin: 0 !important;
                padding: 0 !important;
            }
            body.page-timeline .content .row.g-0 > [class*="col-"] {
                padding: 0 !important;
            }
            /* Mobile moderno: margens laterais para o conteúdo dos posts */
            body.page-timeline .content > .container-fluid.px-0 {
                padding-left: 0.75rem !important;
                padding-right: 0.75rem !important;
            }
        }
        /* Timeline e obreiro mobile - correções */
        @media (max-width: 768px) {
            /* Oculta marca d'água no mobile - fica desproporcional */
            body.page-timeline .timeline-dashboard-wrap::before {
                display: none !important;
            }
            body.page-timeline .timeline-dashboard-wrap {
                padding: 1rem !important;
            }
            /* Mantém alinhamento à esquerda no mobile (não centralizar) */
            body.page-timeline .timeline-profile-ref {
                align-items: flex-start !important;
                text-align: left !important;
            }
            body.page-timeline .timeline-stat-cards-ref {
                gap: 0.75rem !important;
                margin-top: 1.5rem !important;
            }
            body.page-timeline .timeline-stat-card-ref {
                padding: 1rem 0.875rem !important;
                border-radius: 12px !important;
            }
            body.page-timeline .timeline-stat-card-ref .stat-title-ref {
                font-size: 0.75rem !important;
            }
            body.page-timeline .timeline-notes-ref {
                font-size: 0.7rem !important;
                margin-top: 1rem !important;
                color: #6c757d !important;
            }
        }
        @supports (-webkit-touch-callout: none) {
            @media (max-width: 992px) {
                body.page-timeline .content {
                    margin-top: calc(56px + env(safe-area-inset-top, 0)) !important;
                }
            }
        }
    
