/* Shared finishing layer: logo palette, reading rhythm and light controls. */
body.fala-bem-app-page .be-profile-data-control {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 20px; margin: 24px 0; padding: 24px; border: 1px solid #dfbbb5;
  border-radius: 16px; background: #fff8f6; color: #34201d;
}
body.fala-bem-app-page .be-profile-data-control > div { flex: 1 1 260px; }
body.fala-bem-app-page .be-profile-data-control h3 { margin: 0 0 10px; }
body.fala-bem-app-page .be-profile-data-control p { margin: 0 0 10px; }
body.fala-bem-app-page .be-profile-data-control small { font-size: 14px; line-height: 1.6; color: #6d4b45; }
body.fala-bem-app-page :is(.be-profile-delete-action, .be-profile-data-control button) {
  min-height: 44px; padding: 12px 16px; border: 1px solid #b7776d !important;
  border-radius: 12px; background: #fff !important; color: #8b271b !important;
  font-size: 15px; line-height: 1.4; white-space: normal; cursor: pointer;
}
:root {
  --be-brand-orange: #fd7704;
  --be-brand-gold: #fcc103;
  --be-brand-ink: #21170e;
  --be-brand-text: #963f00;
  --be-brand-soft: #fff3e2;
  --be-ds-color-brand: var(--be-brand-orange);
  --be-ds-color-primary: var(--be-brand-orange);
  --be-ds-color-primary-hover: #fd9d04;
  --be-ds-color-primary-active: #db6200;
  --be-ds-color-brand-text: var(--be-brand-text);
  --be-ds-color-brand-strong: var(--be-brand-text);
  --be-ds-weight-black: 700;
  --be-ds-reading-width: 68ch;
  --be-ds-radius-pill: 12px;
  --be-ds-elevation-1: 0 2px 8px rgb(25 20 15 / 5%);
}

html { text-size-adjust: 100%; }
body { font-size: 1rem; line-height: 1.6; }
body main :is(p, li, blockquote, figcaption) {
  overflow-wrap: break-word;
  word-break: normal;
}
body:not(.game-page) main p:not(.be-hero-brand) {
  font-size: clamp(1rem, .97rem + .12vw, 1.0625rem) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
}
body main :is(.report-body, .report-article-section, .article-body, .story-body, .legal-page) :is(p, li),
body main.legal-page :is(p, li) {
  max-width: 68ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem) !important;
  line-height: 1.75 !important;
}
body:not(.game-page) main :is(h2, h3, h4) {
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -.02em !important;
}
body main :is(input, select, textarea) {
  font-size: max(1rem, 16px) !important;
  line-height: 1.5;
}
body main :is(.be-search-result-body > span, .home-tools-list small,
  .home-video-meta small, .home-people-signup small, #home-interest-help,
  .be-public-bio, .be-public-post-copy, .professional-card p) {
  font-size: .9375rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
body main .be-search-result-body > strong {
  font-size: 1.125rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
body main .be-search-result-body > b { font-size: .9375rem; font-weight: 600; }
body main .be-search-result-body > small { font-size: .75rem; line-height: 1.5; font-weight: 700; }

/* Keep native geometry for icon controls, player controls and carousel dots. */
body :is(button, .btn, .be-button, .home-primary, .home-secondary,
  .home-dark-btn, .hero-primary, .btn-primary, .report-read-button,
  .be-contact-whatsapp) {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body :is(.btn, .be-button, .home-primary, .home-secondary, .home-dark-btn,
  .hero-primary, .btn-primary, .report-read-button, .be-contact-whatsapp,
  button[type="submit"], #fb-profile-save) {
  min-height: 44px;
  height: auto;
  border-radius: 12px !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  white-space: normal;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}
body :is(.home-primary, .home-dark-btn, .hero-primary, .btn-primary,
  .report-read-button, #fb-profile-save),
body .be-button:not(.be-button--secondary, .be-button--ghost, .be-button--danger) {
  background: var(--be-brand-orange) !important;
  color: var(--be-brand-ink) !important;
  border-color: transparent !important;
}
body :is(.home-primary, .home-dark-btn, .hero-primary, .btn-primary,
  .report-read-button, #fb-profile-save):hover,
body .be-button:not(.be-button--secondary, .be-button--ghost, .be-button--danger):hover {
  background: #fd9d04 !important;
  color: var(--be-brand-ink) !important;
  transform: none;
}
body.home-page .be-search-form button[type="submit"]:is(:hover, :focus-visible) {
  background: var(--be-brand-orange) !important;
  color: var(--be-brand-ink) !important;
}
body.home-page #be-home-path-cta {
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: var(--be-brand-orange) !important;
  color: var(--be-brand-ink) !important;
  box-shadow: none !important;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-shadow: none;
  transform: none;
}
body.home-page #be-home-path-cta:hover { background: #fd9d04 !important; }
body.home-page #be-home-path-cta span { font-weight: 600 !important; }
body.home-page .be-search-form button[type="submit"],
body.home-page .nav-chip { font-weight: 600 !important; box-shadow: none !important; }
body.home-page .nav-chip { border-color: #49433c !important; border-radius: 10px; }
body :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #3275c5;
  outline-offset: 4px;
}
body.home-page :is(button, a, input, select, textarea, summary):focus-visible {
  outline-color: var(--be-brand-gold);
}
body.home-page :is(.home-journey-copy > span, .home-tools-bridge > div > span,
  .home-content-bridge span, .home-editorial-category, .be-search-result-body > b) {
  color: #fd9d04 !important;
}
@media (max-width: 760px) {
  body main :is(.be-search-result-body > span, .home-people-signup small) { font-size: 1rem !important; }
  body main .be-search-result-body { min-width: 0; }
  body:not(.game-page) main h1 { line-height: 1.14 !important; letter-spacing: -.025em !important; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(button, .btn, .be-button, .home-primary, .home-secondary, .home-dark-btn, .be-contact-whatsapp) {
    transition: none !important;
    transform: none !important;
  }
}
