
.portal-work-documents-detail,
.portal-work-commitments-detail{
  padding: 10px 8px 18px;
}

.portal-work-documents-list,
.portal-work-commitments-list{
  display: grid;
  gap: 12px;
  padding: 4px 2px 2px;
}

.portal-work-document-item,
.portal-work-commitment-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  background: #f8fbfe;
  box-shadow: 0 10px 24px rgba(12,54,85,.05);
}

.portal-work-document-item__info,
.portal-work-commitment-item__main{
  min-width: 0;
  display: grid;
  gap: 4px;
}

.portal-work-document-item strong,
.portal-work-commitment-item__main strong{
  display: block;
  color: #0b4177;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.portal-work-document-item small,
.portal-work-commitment-item__main small{
  display: block;
  color: #63758a;
  font-size: 13px;
  line-height: 1.35;
}

.portal-work-document-item a,
.portal-work-commitment-item__side button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 18px;
  border: 0;
  background: #0b5a91;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11,90,145,.20);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.portal-work-document-item a:hover,
.portal-work-commitment-item__side button:hover{
  background: #084675;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11,90,145,.26);
}

.portal-work-document-item a:focus-visible,
.portal-work-commitment-item__side button:focus-visible{
  outline: 3px solid rgba(11,90,145,.28);
  outline-offset: 2px;
}

.portal-work-document-item__icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg,#0b4d88,#0aa36f);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.portal-work-commitments-summary{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 2px 16px;
}

.portal-work-commitments-summary__item{
  padding: 14px 16px;
  border: 1px solid #d8e3ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12,54,85,.04);
}

.portal-work-commitments-summary__item small{
  display: block;
  color: #597086;
  font-size: 12px;
  font-weight: 400;
}

.portal-work-commitments-summary__item strong{
  display: block;
  margin-top: 6px;
  color: #0c477e;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.portal-work-commitment-item__side{
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: 0 0 auto;
}

.portal-work-commitment-item__side strong{
  display: block;
  color: #093f67;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: right;
}

.portal-work-commitment-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-work-commitment-detail-view .portal-acquisition-item strong,
.portal-work-commitment-detail-view .portal-acquisition-item.wide strong{
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .portal-work-commitments-summary,
  .portal-work-commitment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portal-work-document-item,
  .portal-work-commitment-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-work-document-item a,
  .portal-work-commitment-item__side,
  .portal-work-commitment-item__side button {
    width: 100%;
  }

  .portal-work-commitment-item__side {
    justify-items: stretch;
  }

  .portal-work-commitment-item__side strong {
    text-align: left;
  }
}

.portal-work-commitment-detail-view .portal-acquisition-item.value strong{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-variant-numeric:tabular-nums}.portal-work-commitment-detail-view .portal-acquisition-item.value{min-width:150px}.portal-work-commitment-detail-view .portal-work-commitment-grid{grid-template-columns:repeat(3,minmax(180px,1fr))!important}.portal-work-commitment-detail-view .portal-acquisition-grid{overflow-x:auto}@media(max-width:900px){.portal-work-commitment-detail-view .portal-work-commitment-grid{grid-template-columns:repeat(2,minmax(180px,1fr))!important}}@media(max-width:560px){.portal-work-commitment-detail-view .portal-work-commitment-grid{grid-template-columns:1fr!important}}


/* REGRA GLOBAL FINAL: frontend sem negrito */
html body,
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body label, html body legend,
html body button, html body input, html body select, html body textarea, html body option,
html body p, html body span, html body small, html body a,
html body strong, html body b,
html body th, html body td, html body li,
html body [role="button"], html body [role="tab"], html body [class*="title"],
html body [class*="label"], html body [class*="heading"], html body [class*="caption"] {
  font-weight: 400 !important;
}
/* Mantem somente o peso estrutural exigido por fontes de icones. */
html body .fa, html body .fas, html body .fa-solid,
html body [class^="fa-"], html body [class*=" fa-"] {
  font-weight: 900 !important;
}
html body .far, html body .fa-regular {
  font-weight: 400 !important;
}

/* Conselhos: mídia cadastrada é exclusiva da capa do card. */
.portal-council-cover.media-load-error{display:none!important}
.portal-council-icon .portal-council-icon-error{place-items:center;width:100%;height:100%;font-size:40px}
