:root,
html {
  color-scheme: only light !important;
  background: #f4f5f7 !important;
}

body {
  color: #161616 !important;
  background: #f4f5f7 !important;
}

body > main {
  color: #161616 !important;
  background: transparent !important;
}

body > footer {
  background: #f4f5f7 !important;
}

.portal-header {
  background: #0d0e10 !important;
}

body > main h1,
body > main h2,
body > main h3,
body > main label,
body > main strong,
body > main summary {
  color: #161616 !important;
  -webkit-text-fill-color: #161616 !important;
}

body > main p,
body > main small,
body > main em,
body > main time,
body > main .muted {
  color: #69707a !important;
  -webkit-text-fill-color: #69707a !important;
}

body > main .eyebrow {
  color: #8d002b !important;
  -webkit-text-fill-color: #8d002b !important;
}

body > main .card,
body > main .document-option,
body > main .contract-specifics,
body > main .advanced-contract {
  background: #ffffff !important;
  color: #161616 !important;
}

.document-option span {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.document-option strong {
  display: block !important;
  font-size: 17px !important;
}

.document-option em {
  display: block !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

body > main input,
body > main select,
body > main textarea {
  color: #161616 !important;
  -webkit-text-fill-color: #161616 !important;
  background: #ffffff !important;
}

body > main button,
body > main .btn,
body > main .badge,
body > main .status,
body > main .client-number,
body > main .automation-steps article.active,
body > main .automation-steps article.active strong,
body > main .automation-steps article.active small {
  -webkit-text-fill-color: currentColor !important;
}

.contract-model-note {
  margin: 12px 0 18px;
  padding: 13px 15px;
  border-left: 4px solid #8d002b;
  border-radius: 7px;
  background: #f8edf1;
  color: #541022 !important;
  -webkit-text-fill-color: #541022 !important;
  font-weight: 700;
}

.contract-model-note.inactive {
  border-left-color: #aeb3ba;
  background: #f2f3f5;
  color: #5f646c !important;
  -webkit-text-fill-color: #5f646c !important;
}

/* Exceções de alto contraste da Central da Equipe */
body > main .team-hero h1,body > main .team-hero p,body > main .team-hero strong,body > main .team-hero span{color:#fff!important;-webkit-text-fill-color:#fff!important}
body > main .team-hero .eyebrow{color:#ffb6cc!important;-webkit-text-fill-color:#ffb6cc!important}
body > main .team-chat-card>header strong{color:#fff!important;-webkit-text-fill-color:#fff!important}
body > main .team-chat-card>header small{color:#cce7e1!important;-webkit-text-fill-color:#cce7e1!important}
body > main .team-post>header{background:transparent!important;color:#161616!important}
body > main .team-post>header strong{color:#161616!important;-webkit-text-fill-color:#161616!important}
body > main .team-post>header span{color:#69707a!important;-webkit-text-fill-color:#69707a!important}
body > main .team-chat-message.mine>div{background:#d9fdd3!important}
body > main .team-chat-message:not(.mine)>div{background:#fff!important}
body > main .team-chat-message strong{color:#087564!important;-webkit-text-fill-color:#087564!important}
body > main .team-chat-message p{color:#1d2422!important;-webkit-text-fill-color:#1d2422!important}
body > main .receipt-info.read{color:#128cdb!important;-webkit-text-fill-color:#128cdb!important}
body > main .receipt-info em{color:#fff!important;-webkit-text-fill-color:#fff!important}

.contract-field-hidden,
.contract-fields-empty {
  display: none !important;
}

.representative-fields {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dfc5ce;
  border-left: 5px solid #8d002b;
  border-radius: 12px;
  background: #fffafb;
}
.representative-fields[hidden] { display: none !important; }
.representative-fields .section-heading { margin-bottom: 18px; }
.representative-fields h3 { margin: 3px 0 0; font-size: 24px; }
