/* PROENÇA 3.11.0 — camada estrutural sem paleta legada. Cores controladas pelo Design System 3.11.0. */
/**
 * Portal PROENÇA & FERRAZ 3.5.2
 * Refinamentos de toque, escala tipográfica mobile e barras laterais desktop.
 */

/* Resposta imediata ao toque sem o atraso clássico de WebView. */
a[href],
button,
[role="button"],
input[type="button"],
input[type="submit"] {
    touch-action:manipulation;
}

/* Em telas táteis, hover não pode sequestrar o primeiro toque. */
@media (hover: none), (pointer: coarse){
    .pfo-reaction-control:not(.is-picker-open) .pfo-reaction-picker,
    .pfo-video-reaction:not(.is-picker-open) .pfo-video-reaction-picker {
        visibility:hidden!important;
        pointer-events:none!important;
        opacity:0!important;
    }

    .pfo-reaction-control.is-picker-open .pfo-reaction-picker,
    .pfo-video-reaction.is-picker-open .pfo-video-reaction-picker {
        visibility:visible!important;
        pointer-events:auto!important;
        opacity:1!important;
        transform:translate(0, 0) scale(1)!important;
    }

    .pfo-social-shortcuts a:hover,
    .pfo-contact:hover,
    .pfo-social-user:hover,
    .pfo-composer-launcher__prompt:hover,
    .pfo-composer-launcher__gallery:hover {
        transform:none!important;
    }
}

/* -------------------------------------------------------------------------
 * Desktop: feed com duas zonas de atenção permanentes.
 * ---------------------------------------------------------------------- */
@media (min-width: 1261px){
    body.pfo-social-feed-view .pfi-site-layout {
        padding-right:clamp(8px, 1.2vw, 18px)!important;
        padding-left:clamp(8px, 1.2vw, 18px)!important;
    }

    .pfo-social--facebook {
        max-width:1540px!important;
        margin-inline:auto!important;
    }

    .pfo-social-layout {
        grid-template-columns:minmax(232px, 278px) minmax(540px, 720px) minmax(264px, 316px)!important;
        gap:clamp(16px, 1.55vw, 26px)!important;
    }

    .pfo-social-rail__sticky {
        padding-inline:2px;
    }
}

.pfo-social-widget--profiles {
    padding:4px 0 13px;
}

.pfo-social-profile-shortcuts {
    display:grid;
    gap:2px;
}

.pfo-social-profile-shortcuts > a {
    display:grid;
    grid-template-columns:38px minmax(0, 1fr);
    align-items:center;
    gap:10px;
    min-width:0;
    padding:7px 8px;
    border-radius:11px;
    
    text-decoration:none!important;
    transition:background .16s ease, transform .16s ease;
}

.pfo-social-profile-shortcuts > a:hover,
.pfo-social-profile-shortcuts > a:focus-visible {
    
    
    transform:translateX(2px);
}

.pfo-social-profile-shortcuts img {
    width:38px;
    height:38px;
    
    border-radius:50%;
    object-fit:cover;
    object-position:50% 34%;
}

.pfo-social-profile-shortcuts span {
    display:flex;
    min-width:0;
    flex-direction:column;
}

.pfo-social-profile-shortcuts strong,
.pfo-social-profile-shortcuts small {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.pfo-social-profile-shortcuts strong {
    
    font-size:.82rem;
    line-height:1.25;
}

.pfo-social-profile-shortcuts small {
    margin-top:2px;
    
    font-size:.67rem;
}

.pfo-social-custom-zone {
    display:grid;
    gap:12px;
}

.pfo-social-widget--custom {
    overflow:hidden;
    padding:0;
    
    border-radius:15px;
    
    
}

.pfo-social-widget--custom .pfo-social-widget__custom-title {
    padding:13px 14px 7px;
}

.pfo-social-widget--custom .pfo-social-widget__custom-title h2 {
    margin:0;
    
    font-size:.86rem;
    letter-spacing:-.01em;
}

.pfo-social-widget--custom .textwidget,
.pfo-social-widget--custom .widget-content,
.pfo-social-widget--custom > :not(header) {
    padding:8px 14px 14px;
    
    font-size:.76rem;
    line-height:1.52;
}

.pfo-social-widget--custom img {
    max-width:100%;
    height:auto;
    border-radius:10px;
}

.pfo-social-widget--custom a {
    
    font-weight:760;
}

.pfo-social-spotlight {
    position:relative;
    overflow:hidden;
    padding:18px;
    
    border-radius:17px;
    
    
}

.pfo-social-spotlight::after {
    position:absolute;
    top:-52px;
    right:-42px;
    width:126px;
    height:126px;
    
    border-radius:50%;
    content:"";
}

.pfo-social-spotlight > span {
    position:relative;
    z-index:1;
    display:block;
    
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.13em;
}

.pfo-social-spotlight > strong {
    position:relative;
    z-index:1;
    display:block;
    margin-top:9px;
    
    font-size:1rem;
    line-height:1.25;
}

.pfo-social-spotlight p {
    position:relative;
    z-index:1;
    margin:8px 0 14px;
    
    font-size:.75rem;
    line-height:1.5;
}

.pfo-social-spotlight a {
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:8px 11px;
    border-radius:9px;
    
    
    font-size:.71rem;
    font-weight:850;
    text-decoration:none!important;
}



/* -------------------------------------------------------------------------
 * Aplicativo/mobile: escala mais compacta, legível e elegante.
 * ---------------------------------------------------------------------- */
@media (max-width: 840px){
    html.pfo-native-android body,
    body.ppa-standalone,
    body.pfo-social-shell-view,
    body.ppa-app-enabled {
        font-size:14px;
    }

    :where(
        html.pfo-native-android body,
        body.ppa-standalone,
        body.pfo-social-shell-view,
        body.ppa-app-enabled
    ) :where(.entry-title, .pfi-page-title, .pfi-page-heading h1, .pfo-notification-pagebar__title h1, .pfo-profile__name, .pfo-dashboard h1) {
        font-size:clamp(1.28rem, 5.2vw, 1.52rem)!important;
        line-height:1.16!important;
        letter-spacing:-.025em;
    }

    :where(
        html.pfo-native-android body,
        body.ppa-standalone,
        body.pfo-social-shell-view,
        body.ppa-app-enabled
    ) :where(.pfo-notification-section__heading h2, .pfo-panel h2, .pfi-section-heading h2, .pfo-post-composer__header h2, .pfo-story-dialog h2, .pfo-video-dialog h2) {
        font-size:1.05rem!important;
        line-height:1.24!important;
    }

    :where(
        html.pfo-native-android body,
        body.ppa-standalone,
        body.pfo-social-shell-view,
        body.ppa-app-enabled
    ) :where(.pfo-panel h3, .pfi-card h3, .pfo-suite-module h2, .pfo-profession-panel h3) {
        font-size:.94rem!important;
        line-height:1.3!important;
    }

    .pfo-notification-pagebar {
        min-height:62px!important;
        padding:8px 12px!important;
    }

    .pfo-notification-pagebar__icon {
        width:40px!important;
        height:40px!important;
    }

    .pfo-notification-section__heading {
        min-height:52px!important;
        padding:10px 15px!important;
    }

    .pfo-notification-center--facebook .pfo-notification {
        min-height:82px!important;
    }

    .pfo-notification__main {
        grid-template-columns:56px minmax(0, 1fr)!important;
        gap:10px!important;
        padding:10px 2px 10px 13px!important;
    }

    .pfo-notification__avatar,
    .pfo-notification__avatar > img {
        width:54px!important;
        height:54px!important;
    }

    .pfo-notification__sentence {
        font-size:.86rem!important;
        line-height:1.36!important;
    }

    .pfo-notification__time,
    .pfo-post__meta,
    .pfo-comment__meta,
    .pfo-profile__meta,
    .pfo-notification-pagebar__title span {
        font-size:.68rem!important;
    }

    .pfo-post__author,
    .pfo-post__author strong,
    .pfo-comment__author,
    .pfo-profile-card strong {
        font-size:.86rem!important;
    }

    .pfo-post__content,
    .pfo-comment__content,
    .pfo-post__caption,
    .pfo-panel p,
    .pfi-entry-content p {
        font-size:.84rem!important;
        line-height:1.48!important;
    }

    .pfo-action,
    .pfo-comment__meta button,
    .pfo-button,
    .pfi-button,
    .pfo-post-menu__item,
    .pfo-notification__actions a,
    .pfo-notification__actions button {
        font-size:.74rem!important;
    }

    .pfo-composer-launcher {
        padding:9px 11px!important;
    }

    .pfo-composer-launcher__avatar .pfo-avatar {
        width:40px!important;
        height:40px!important;
    }

    .pfo-composer-launcher__prompt {
        min-height:40px!important;
        padding:8px 13px!important;
        font-size:.84rem!important;
    }

    .pfo-post-composer__identity strong {
        font-size:.9rem!important;
    }

    .pfo-post-composer__identity span,
    .pfo-post-choice span,
    .pfo-post-composer__meta {
        font-size:.7rem!important;
    }

    .pfo-post-composer textarea {
        font-size:.98rem!important;
        line-height:1.4!important;
    }

    .pfo-social-rail,
    .pfo-social-custom-zone {
        display:none!important;
    }
}


/* v3.7.2 - nome abaixo da foto do perfil no desktop */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__identity--social {
    display:grid!important;
    grid-template-columns:220px minmax(0,1fr) auto!important;
    grid-template-areas:"avatar details actions"
      "name details actions"!important;
    align-items:start!important;
    column-gap:26px!important;
    row-gap:10px!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap { grid-area:avatar; align-self:end; }
  body.pfo-profile-page .pfo-profile__name { 
    grid-area:name; 
    align-self:start; 
    padding-top:0!important; 
    margin-top:-6px; 
  }
  body.pfo-profile-page .pfo-profile__name h1 {
    margin:0!important;
    font-size:clamp(1.8rem, 2.8vw, 2.9rem)!important;
    line-height:1.05!important;
  }
  body.pfo-profile-page .pfo-profile__details--stacked { 
    grid-area:details; 
    align-self:start; 
    margin-top:0!important; 
  }
  body.pfo-profile-page .pfo-profile__actions--social { 
    grid-area:actions; 
    align-self:start; 
    justify-self:end; 
    padding-top:12px; 
  }
}


/* v3.7.3 - perfil com nome e informações abaixo da foto (desktop e app) */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__identity--social {
    display:grid!important;
    grid-template-columns:220px minmax(0,1fr)!important;
    grid-template-areas:"avatar actions"
      "name actions"
      "details actions"!important;
    align-items:start!important;
    column-gap:26px!important;
    row-gap:10px!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap { grid-area:avatar!important; align-self:end; }
  body.pfo-profile-page .pfo-profile__name {
    grid-area:name!important;
    align-self:start!important;
    margin-top:-2px!important;
    padding-top:0!important;
  }
  body.pfo-profile-page .pfo-profile__name h1 {
    margin:0!important;
    font-size:clamp(1.9rem, 2.8vw, 3rem)!important;
    line-height:1.04!important;
  }
  body.pfo-profile-page .pfo-profile__details--stacked {
    grid-area:details!important;
    align-self:start!important;
    margin-top:0!important;
  }
  body.pfo-profile-page .pfo-profile__actions--social {
    grid-area:actions!important;
    align-self:center!important;
    justify-self:end!important;
    padding-top:8px!important;
  }
}

@media (max-width: 991px){
  body.pfo-profile-page .pfo-profile__identity--social,
  body.pfo-profile-page.pfo-native-android .pfo-profile__identity--social,
  body.pfo-profile-page.ppa-standalone .pfo-profile__identity--social {
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"avatar"
      "name"
      "details"
      "actions"!important;
    row-gap:10px!important;
    align-items:start!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap,
  body.pfo-profile-page.pfo-native-android .pfo-profile__avatar-wrap,
  body.pfo-profile-page.ppa-standalone .pfo-profile__avatar-wrap {
    grid-area:avatar!important;
    justify-self:start!important;
  }

  body.pfo-profile-page .pfo-profile__name,
  body.pfo-profile-page.pfo-native-android .pfo-profile__name,
  body.pfo-profile-page.ppa-standalone .pfo-profile__name {
    grid-area:name!important;
    padding-top:0!important;
    margin-top:-2px!important;
    text-align:left!important;
  }

  body.pfo-profile-page .pfo-profile__name h1,
  body.pfo-profile-page.pfo-native-android .pfo-profile__name h1,
  body.pfo-profile-page.ppa-standalone .pfo-profile__name h1 {
    margin:0!important;
  }

  body.pfo-profile-page .pfo-profile__details--stacked,
  body.pfo-profile-page.pfo-native-android .pfo-profile__details--stacked,
  body.pfo-profile-page.ppa-standalone .pfo-profile__details--stacked {
    grid-area:details!important;
    grid-column:1!important;
    margin-top:0!important;
  }

  body.pfo-profile-page .pfo-profile__actions--social,
  body.pfo-profile-page.pfo-native-android .pfo-profile__actions--social,
  body.pfo-profile-page.ppa-standalone .pfo-profile__actions--social {
    grid-area:actions!important;
    width:100%!important;
    justify-self:stretch!important;
    padding-top:2px!important;
  }
}

/* v3.7.5 - perfil do app no padrão da referência mobile */
@media (max-width: 991px){
  body.pfo-profile-page.pfo-native-android .pfo-profile__identity--social,
  body.pfo-profile-page.ppa-standalone .pfo-profile__identity--social,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__identity--social {
    display:grid!important;
    grid-template-columns:108px minmax(0,1fr)!important;
    grid-template-areas:"avatar name"
      "details details"
      "actions actions"!important;
    column-gap:16px!important;
    row-gap:10px!important;
    align-items:end!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__avatar-wrap,
  body.pfo-profile-page.ppa-standalone .pfo-profile__avatar-wrap,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__avatar-wrap { 
    grid-area:avatar!important; 
    align-self:end!important;
    justify-self:start!important;
    margin-top:-42px!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__name,
  body.pfo-profile-page.ppa-standalone .pfo-profile__name,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__name { 
    grid-area:name!important; 
    align-self:end!important; 
    margin-top:0!important; 
    padding-top:0!important; 
    text-align:left!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__name h1,
  body.pfo-profile-page.ppa-standalone .pfo-profile__name h1,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__name h1 { 
    margin:0 0 6px!important; 
    font-size:2.05rem!important; 
    line-height:1.05!important; 
    letter-spacing:-.025em!important; 
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__details--stacked,
  body.pfo-profile-page.ppa-standalone .pfo-profile__details--stacked,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__details--stacked {
    grid-area:details!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    margin-top:0!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__headline,
  body.pfo-profile-page.ppa-standalone .pfo-profile__headline,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__headline {
    font-size:1.02rem!important;
    font-weight:700!important;
    
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__location,
  body.pfo-profile-page.ppa-standalone .pfo-profile__location,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__location,
  body.pfo-profile-page.pfo-native-android .pfo-profile__quick-count,
  body.pfo-profile-page.ppa-standalone .pfo-profile__quick-count,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__quick-count {
    font-size:1rem!important;
    
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__badges,
  body.pfo-profile-page.ppa-standalone .pfo-profile__badges,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__badges,
  body.pfo-profile-page.pfo-native-android .pfo-profile__aux-row,
  body.pfo-profile-page.ppa-standalone .pfo-profile__aux-row,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__aux-row { 
    display:none!important; 
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__actions--social,
  body.pfo-profile-page.ppa-standalone .pfo-profile__actions--social,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__actions--social {
    grid-area:actions!important;
    padding-top:4px!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__action-grid,
  body.pfo-profile-page.ppa-standalone .pfo-profile__action-grid,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__action-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile__action-grid > .pfo-profile-action:nth-child(n/**/+3),
  body.pfo-profile-page.ppa-standalone .pfo-profile__action-grid > .pfo-profile-action:nth-child(n/**/+3),
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__action-grid > .pfo-profile-action:nth-child(n/**/+3) {
    display:none!important;
  }

  body.pfo-profile-page.pfo-native-android .pfo-profile-action,
  body.pfo-profile-page.ppa-standalone .pfo-profile-action,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile-action {
    min-height:72px!important;
    border-radius:16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    font-size:1rem!important;
    font-weight:700!important;
    padding:0 18px!important;
  }

  

  body.pfo-profile-page.pfo-native-android .pfo-profile__tab-nav,
  body.pfo-profile-page.ppa-standalone .pfo-profile__tab-nav,
  body.pfo-proenca-app-360.pfo-profile-page .pfo-profile__tab-nav {
    gap:14px!important;
  }
}

/* v3.7.6 - desktop profile closer to Facebook reference */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__body {
    display:grid!important;
    grid-template-columns:320px minmax(0,1fr)!important;
    grid-template-areas:"left content"
      "right content"!important;
    gap:18px!important;
    align-items:start!important;
    padding:0 18px 42px!important;
  }

  body.pfo-profile-page .pfo-profile__rail--left {
    grid-area:left!important;
    position:sticky!important;
    top:92px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }

  body.pfo-profile-page .pfo-profile__rail--right {
    grid-area:right!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }

  body.pfo-profile-page .pfo-profile__content {
    grid-area:content!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }

  body.pfo-profile-page .pfo-profile__tabs {
    margin:0 18px 14px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    
    
  }

  body.pfo-profile-page .pfo-profile__tabs a {
    border-radius:10px!important;
    padding:10px 14px!important;
    font-weight:700!important;
  }

  body.pfo-profile-page .pfo-profile__social-summary {
    display:none!important;
  }

  body.pfo-profile-page .pfo-panel {
    border-radius:14px!important;
    
    
    
    padding:18px!important;
  }

  body.pfo-profile-page .pfo-panel h2 {
    font-size:1.08rem!important;
    margin-bottom:14px!important;
  }

  body.pfo-profile-page .pfo-panel dl {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.pfo-profile-page .pfo-panel dt {
    font-size:.78rem!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
    opacity:.72!important;
    margin-bottom:2px!important;
  }

  body.pfo-profile-page .pfo-panel dd {
    margin:0!important;
    font-size:.98rem!important;
    font-weight:600!important;
    
  }

  body.pfo-profile-page .pfo-role-menu a {
    border-radius:12px!important;
    padding:12px 14px!important;
    
    
  }

  body.pfo-profile-page .pfo-kpi-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body.pfo-profile-page .pfo-kpi-grid > div {
    border-radius:12px!important;
    
    padding:14px 10px!important;
  }

  body.pfo-profile-page .pfo-profile__action-grid {
    grid-template-columns:repeat(4, minmax(115px, 1fr))!important;
    gap:10px!important;
  }

  body.pfo-profile-page .pfo-profile-action {
    min-height:38px!important;
    border-radius:10px!important;
    padding:0 12px!important;
    font-size:.94rem!important;
  }

  body.pfo-profile-page .pfo-profile__name h1 {
    font-size:clamp(2rem, 2.8vw, 2.75rem)!important;
  }

  body.pfo-profile-page .pfo-profile__details--stacked {
    gap:8px!important;
  }

  body.pfo-profile-page .pfo-profile__quick-count,
  body.pfo-profile-page .pfo-profile__location,
  body.pfo-profile-page .pfo-profile__headline {
    font-size:1rem!important;
  }
}

/* v3.7.7 - correção do perfil desktop para evitar sobreposição e excesso de vazio */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__identity--social {
    display:grid!important;
    grid-template-columns:210px minmax(300px, 420px) minmax(320px, 1fr)!important;
    grid-template-areas:"avatar name actions"
      "avatar details actions"!important;
    column-gap:20px!important;
    row-gap:8px!important;
    align-items:end!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap {
    grid-area:avatar!important;
    align-self:end!important;
    margin-bottom:-8px!important;
  }

  body.pfo-profile-page .pfo-profile__name {
    grid-area:name!important;
    align-self:end!important;
    margin-top:0!important;
    padding-top:0!important;
  }

  body.pfo-profile-page .pfo-profile__name h1 {
    margin:0!important;
    font-size:clamp(2rem, 2.6vw, 2.85rem)!important;
    line-height:1.04!important;
  }

  body.pfo-profile-page .pfo-profile__details--stacked {
    grid-area:details!important;
    align-self:start!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }

  body.pfo-profile-page .pfo-profile__actions--social {
    grid-area:actions!important;
    align-self:end!important;
    justify-self:end!important;
    padding-top:0!important;
    max-width:100%!important;
  }

  body.pfo-profile-page .pfo-profile__action-grid {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:flex-end!important;
    gap:10px!important;
  }

  body.pfo-profile-page .pfo-profile-action {
    flex:0 0 auto!important;
    min-width:80px!important;
    min-height:38px!important;
    padding:0 14px!important;
    border-radius:10px!important;
  }

  body.pfo-profile-page .pfo-profile__body {
    display:grid!important;
    grid-template-columns:320px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
    padding:0 18px 42px!important;
  }

  body.pfo-profile-page .pfo-profile__rail--left {
    position:sticky!important;
    top:88px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    align-self:start!important;
    min-width:0!important;
  }

  body.pfo-profile-page .pfo-profile__rail--right {
    display:none!important;
  }

  body.pfo-profile-page .pfo-profile__content {
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }

  body.pfo-profile-page .pfo-profile__tabs {
    margin:0 18px 14px!important;
  }

  body.pfo-profile-page .pfo-profile__social-summary {
    display:none!important;
  }

  body.pfo-profile-page .pfo-panel {
    overflow:hidden!important;
  }

  body.pfo-profile-page .pfo-profile-overview__columns,
  body.pfo-profile-page .pfo-profile-overview__kpis,
  body.pfo-profile-page .pfo-profile-module-grid {
    min-width:0!important;
  }
}

/* v3.7.8 - ajuste solicitado no cabeçalho do perfil desktop */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__identity--social {
    grid-template-columns:190px minmax(360px, 1fr) auto!important;
    grid-template-areas:"name name actions"
      "avatar details actions"!important;
    column-gap:22px!important;
    row-gap:12px!important;
    align-items:start!important;
  }

  body.pfo-profile-page .pfo-profile__name {
    grid-area:name!important;
    align-self:end!important;
    margin:0 0 2px 0!important;
    padding-top:0!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap {
    grid-area:avatar!important;
    align-self:start!important;
    margin-top:2px!important;
    margin-bottom:0!important;
  }

  body.pfo-profile-page .pfo-profile__details--stacked {
    grid-area:details!important;
    align-self:start!important;
    justify-self:start!important;
    margin-top:8px!important;
    max-width:520px!important;
    gap:9px!important;
  }

  body.pfo-profile-page .pfo-profile__headline,
  body.pfo-profile-page .pfo-profile__location,
  body.pfo-profile-page .pfo-profile__quick-count,
  body.pfo-profile-page .pfo-profile__badges,
  body.pfo-profile-page .pfo-profile__aux-row {
    text-align:left!important;
    justify-content:flex-start!important;
  }

  body.pfo-profile-page .pfo-profile__actions--social {
    grid-area:actions!important;
    align-self:end!important;
    justify-self:end!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:12px!important;
    padding-top:0!important;
  }

  body.pfo-profile-page .pfo-profile__action-status {
    display:flex!important;
    width:100%!important;
    justify-content:flex-end!important;
  }

  body.pfo-profile-page .pfo-badge--completion {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:0 14px!important;
    border-radius:999px!important;
    font-size:.92rem!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
    
    
    
    
  }

  body.pfo-profile-page .pfo-profile__action-grid {
    justify-content:flex-end!important;
    align-items:center!important;
  }

  body.pfo-profile-page .pfo-profile-score {
    display:none!important;
  }
}

/* v3.7.9 - correção final do cabeçalho do perfil desktop */
@media (min-width: 992px){
  body.pfo-profile-page .pfo-profile__identity--social {
    grid-template-columns:190px minmax(420px, 1fr) auto!important;
    grid-template-areas:"avatar name actions"
      "avatar details actions"!important;
    column-gap:26px!important;
    row-gap:8px!important;
    align-items:center!important;
  }

  body.pfo-profile-page .pfo-profile__avatar-wrap {
    grid-area:avatar!important;
    align-self:center!important;
    justify-self:start!important;
    margin:0!important;
  }

  body.pfo-profile-page .pfo-profile__name {
    grid-area:name!important;
    display:block!important;
    align-self:end!important;
    justify-self:start!important;
    margin:0!important;
    padding:0!important;
    max-width:100%!important;
  }

  body.pfo-profile-page .pfo-profile__name h1 {
    display:block!important;
    margin:0!important;
    
    font-size:clamp(2.2rem, 2.7vw, 3rem)!important;
    line-height:1.05!important;
    text-align:left!important;
  }

  body.pfo-profile-page .pfo-profile__details--stacked {
    grid-area:details!important;
    align-self:start!important;
    justify-self:start!important;
    margin:0!important;
    max-width:560px!important;
    text-align:left!important;
  }

  body.pfo-profile-page .pfo-profile__actions--social {
    grid-area:actions!important;
    align-self:center!important;
  }
}


/* v3.10.2 — Academia em largura total no desktop */
@media (min-width: 992px){
  body.pfnp-training-page.pfo-profile-page .pfo-profile__body {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"content"!important;
    width:100%!important;
    max-width:1600px!important;
    margin:0 auto!important;
    padding:0 18px 48px!important;
  }

  body.pfnp-training-page.pfo-profile-page .pfo-profile__rail,
  body.pfnp-training-page.pfo-profile-page .pfo-profile__rail--left,
  body.pfnp-training-page.pfo-profile-page .pfo-profile__rail--right {
    display:none!important;
  }

  body.pfnp-training-page.pfo-profile-page .pfo-profile__content {
    grid-area:content!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }

  body.pfnp-training-page.pfo-profile-page .pfo-profile__content > .pfnp-profile-segment,
  body.pfnp-training-page .pfnp-profile-segment,
  body.pfnp-training-page .pfnp-training-course-v2 {
    width:100%!important;
    max-width:none!important;
  }

  body.pfnp-training-page.pfo-profile-page .pfo-profile__content .pfnp-panel,
  body.pfnp-training-course-page .pfnp-training-course-v2 {
    overflow:visible!important;
  }
}

/* v3.10.2 — regra final: perfis em coluna única no desktop */
@media (min-width: 992px){
  body.logged-in.pfo-profile-page .pfo-profile {
    width:min(1520px, 100%)!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  body.logged-in.pfo-profile-page .pfo-profile__body {
    display:block!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"content"!important;
    width:100%!important;
    max-width:1440px!important;
    margin-inline:auto!important;
    padding:22px clamp(20px,3vw,44px) 52px!important;
  }

  body.logged-in.pfo-profile-page .pfo-profile__body > .pfo-profile__rail,
  body.logged-in.pfo-profile-page .pfo-profile__rail--left,
  body.logged-in.pfo-profile-page .pfo-profile__rail--right {
    display:none!important;
  }

  body.logged-in.pfo-profile-page .pfo-profile__content {
    display:flex!important;
    flex-direction:column!important;
    grid-area:content!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
}

/* ==========================================================
 * PROENÇA 3.10.23 — Rolamentos: diagnóstico desktop legível
 * Corrige cards comprimidos no "Mapa de indícios e modos de dano".
 * ========================================================== */
@media (min-width: 1101px){
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-layout {
    grid-template-columns:minmax(0, 1.08fr) minmax(430px, .92fr)!important;
    align-items:start!important;
    gap:22px!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-layout > .prb-panel {
    min-width:0!important;
  }

  /* Cada categoria deve ocupar a largura inteira do painel.
     A regra original de .prb-diagnosis-form criava duas categorias lado a lado. */
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped {
    grid-template-columns:minmax(0, 1fr)!important;
    gap:16px!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped fieldset {
    width:100%!important;
    min-width:0!important;
    padding:15px!important;
    border-radius:17px!important;
  }

  /* Dentro de cada categoria, aproveita o desktop com cards realmente legíveis. */
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped fieldset > div {
    grid-template-columns:repeat(2, minmax(230px, 1fr))!important;
    gap:11px!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped label {
    min-width:0!important;
    min-height:112px!important;
    padding:14px!important;
    gap:11px!important;
    align-items:flex-start!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped label > span {
    min-width:0!important;
    gap:5px!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped label strong {
    font-size:.9rem!important;
    line-height:1.28!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped label small {
    font-size:.76rem!important;
    line-height:1.48!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped input[type="checkbox"] {
    flex:0 0 18px!important;
    margin-top:2px!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped legend {
    font-size:.78rem!important;
    line-height:1.2!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-panel-intro {
    max-width:72ch!important;
    font-size:.9rem!important;
    line-height:1.6!important;
    margin-bottom:8px!important;
  }
}

/* Notebook / tablet em paisagem: mantém as categorias em largura total,
   mas reduz os cards internos para uma coluna antes de ficarem estreitos. */
@media (min-width: 761px) and (max-width: 1100px){
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped {
    grid-template-columns:1fr!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped fieldset > div {
    grid-template-columns:repeat(2, minmax(220px, 1fr))!important;
  }
}

@media (max-width: 820px){
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped,
  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped fieldset > div {
    grid-template-columns:1fr!important;
  }

  .prb-app [data-prb-view="diagnosis"] .prb-diagnosis-form--grouped label {
    min-height:auto!important;
  }
}

/* =====================================================================
   3.10.31 — PERFIL DESKTOP: NEUTRALIZAÇÃO DE REGRAS DARK HISTÓRICAS
   ===================================================================== */
@media (min-width:992px){
 
 
 
 
 
 
 
 
}
