/* Full application coverage. Shared visual language, no business rules. */
.rastreio-ds-1 :is(.panel-header h2,.panel-header h3,.stat-value,.stat-label,.client-panel h2,.client-overview-card strong,.publication-dialog h2) { color: #171b24; }
.rastreio-ds-1 :is(.panel-header h2,.panel-header h3) { font-weight: 600; letter-spacing: -.025em; }
.rastreio-ds-1 :is(.stat-card,.kpi-card,.client-overview-card,.check-row,.post-card,.alert-card,.onboarding-step,.report-step,.report-wizard-step,.info-box) { background: #fff; background-image: none; border-color: #e5e8ee; border-radius: 8px; box-shadow: none; }
.rastreio-ds-1 :is(.stat-card,.kpi-card) { padding: 1rem; }
.rastreio-ds-1 :is(.stat-icon,.kpi-icon) { color: #596477; background: #f0f2f6; border: 1px solid #e5e8ee; box-shadow: none; border-radius: 8px; }
.rastreio-ds-1 :is(.stat-sub,.muted,.post-meta,.client-selection-help) { color: #657084; }
.rastreio-ds-1 :is(.stat-value,.kpi-value) { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.rastreio-ds-1 :is(.settings-hero,.client-workspace-hero,.client-selection-hero,.reports-wizard-v3 .reports-wizard-heading) { padding: 0 0 1.35rem; border: 0; border-bottom: 1px solid #e5e8ee; border-radius: 0; background: #fff; box-shadow: none; color: #171b24; }
.rastreio-ds-1 :is(.settings-hero,.client-workspace-hero,.reports-wizard-v3 .reports-wizard-heading)::after { display: none; }
.rastreio-ds-1 :is(.settings-hero,.client-workspace-hero,.reports-wizard-v3 .reports-wizard-heading) :is(h1,h2) { color: #171b24; font-size: clamp(1.4rem,2.2vw,1.9rem); font-weight: 600; letter-spacing: -.04em; }
.rastreio-ds-1 :is(.settings-hero,.client-workspace-hero,.reports-wizard-v3 .reports-wizard-heading) :is(p,.section-kicker) { color: #657084; }
.rastreio-ds-1 :is(.client-workspace-hero,.reports-wizard-v3 .reports-wizard-heading) .btn-outline { color: #596477; border-color: #dce1e9; background: #fff; }
.rastreio-ds-1 .client-overview-card { min-height: 0; padding: 1.1rem; }
.rastreio-ds-1 .client-overview-card::before { display: none; }
.rastreio-ds-1 .client-overview-card.active { background: #f5f8ff; border-color: #9dbaff; box-shadow: none; }
.rastreio-ds-1 .client-overview-card-heading { margin-top: 0; }
.rastreio-ds-1 .client-overview-card strong { font-size: .95rem; font-weight: 600; }
.rastreio-ds-1 :is(.client-overview-meta span,.badge,.profile-entry-tabs,.monitor-tabs strong) { background: #f0f2f6; color: #596477; box-shadow: none; }
.rastreio-ds-1 .client-overview-card-actions .badge { background: #f0f2f6; color: #596477; font-weight: 500; }
.rastreio-ds-1 :is(.profile-entry-tabs,.report-tabs) { border: 0; border-bottom: 1px solid #e5e8ee; border-radius: 0; background: transparent; padding: 0; }
.rastreio-ds-1 .profile-entry-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #657084; background: transparent; font-weight: 500; box-shadow: none; }
.rastreio-ds-1 .profile-entry-tab.active { color: #075bff; border-bottom-color: #075bff; background: transparent; box-shadow: none; }
.rastreio-ds-1 .profile-entry-panel { background: #f6f7f9; border-color: #e5e8ee; border-radius: 8px; }
.rastreio-ds-1 :is(.alert,.info-box,.empty,.next-action-card,.collection-priority-zone) { border-radius: 8px; box-shadow: none; background-image: none; }
.rastreio-ds-1 :is(.alert.info,.info-box,.empty) { background: #f6f7f9; border: 1px solid #e5e8ee; color: #596477; }
.rastreio-ds-1 :is(.alert.warning,.info-box.warning,.channel-warning) { background: #fff8ef; border-color: #f4dfc5; color: #72501d; }
.rastreio-ds-1 .alert.error,.rastreio-ds-1 .alert.critical { background: #fff2f2; border-color: #efcaca; color: #a33434; }
.rastreio-ds-1 .alert.success { background: #edf8f2; border-color: #b8ddcb; color: #226745; }
.rastreio-ds-1 :is(.btn-outline,.btn-secondary) { background: #fff; border-color: #dce1e9; color: #596477; box-shadow: none; }
.rastreio-ds-1 :is(.btn-outline,.btn-secondary):hover { background: #f0f2f6; color: #171b24; }
.rastreio-ds-1 .app-topbar :is(.btn-outline,.btn-secondary) { background: transparent; border-color: #46505d; color: #e0e6ee; }
.rastreio-ds-1 .app-topbar :is(.btn-outline,.btn-secondary):hover { background: #303947; }
.rastreio-ds-1 :is(.post-card,.alert-card,.check-row) :is(p,small) { color: #596477; }
.rastreio-ds-1 :is(dialog,.client-action-panel,.client-profile-panel) { border-color: #e5e8ee; box-shadow: 0 18px 50px #171e2620; }
.rastreio-ds-1 table { border-color: #e5e8ee; background: #fff; }
.rastreio-ds-1 :is(th,td) { border-color: #e5e8ee; }
.rastreio-ds-1 th { background: #f6f7f9; color: #596477; font-weight: 500; }
.rastreio-ds-1 mark { background: #edf2ff; color: #171b24; padding-inline: .1em; }

/* Radar loads its existing structural sheet inside the page. Specificity is intentional. */
body.rastreio-ds-1 .influence-radar { color: #171b24; }
body.rastreio-ds-1 .influence-radar :is(h1,h2,h3) { color: #171b24; font-weight: 600; letter-spacing: -.03em; }
body.rastreio-ds-1 .influence-radar :is(p,small,.radar-label,.radar-period-note,.radar-kpi-body>span) { color: #657084; }
body.rastreio-ds-1 .influence-radar a { color: #075bff; }
body.rastreio-ds-1 .influence-radar :is(.radar-tabs a,.radar-presets a)[aria-current] { color: #075bff; background: #e8efff; }
body.rastreio-ds-1 .influence-radar .radar-tabs a { border-radius: 6px; font-weight: 500; }
body.rastreio-ds-1 .influence-radar :is(input,select,textarea,.radar-presets,.radar-dates summary,.radar-options summary,.radar-searchbox) { color: #171b24; border-color: #dce1e9; font-family: inherit; }
body.rastreio-ds-1 .influence-radar .radar-kpi { min-height: 0; padding: 1rem; border-color: #e5e8ee; border-radius: 8px; color: #171b24; }
body.rastreio-ds-1 .influence-radar .radar-kpi-icon { background: #f0f2f6; color: #596477; border-radius: 8px; }
body.rastreio-ds-1 .influence-radar .radar-kpi-body>strong { font-weight: 600; }
body.rastreio-ds-1 .influence-radar :is(.radar-activity,.radar-popover,.radar-coverage-content) { background: #fff; border-color: #e5e8ee; border-radius: 8px; }
body.rastreio-ds-1 .influence-radar .empty { background: #f6f7f9; border-color: #e5e8ee; color: #596477; }

/* Public, guide and access pages use the same tokens rather than a second brand. */
.rastreio-ds-1.page-public,.rastreio-ds-1.page-auth { background: #fff; }
.rastreio-ds-1 .public-header { background: #171e26; border: 0; box-shadow: none; backdrop-filter: none; min-height: 72px; }
.rastreio-ds-1 .public-brand,.rastreio-ds-1 .public-brand span { color: #fff; }
.rastreio-ds-1 .public-brand em { color: #aeb9c8; font-style: normal; }
.rastreio-ds-1 .public-nav a { color: #c7d0dc; font-weight: 500; }
.rastreio-ds-1 .public-nav a:is(:hover,[aria-current=page]) { color: #fff; background: #303947; }
.rastreio-ds-1 .public-header .user-info { color: #c7d0dc; }
.rastreio-ds-1 .public-header .public-login-button { background: #075bff; color: #fff; }
.rastreio-ds-1 :is(.landing-v3 .landing-v2-hero,.how-page-v3 .how-hero) { color: #171b24; background: #fff; background-image: none; border-radius: 0; box-shadow: none; padding: 2.5rem 0; gap: 3rem; min-height: 0; }
.rastreio-ds-1 :is(.landing-v3 .landing-v2-hero,.how-page-v3 .how-hero)::before,.rastreio-ds-1 :is(.landing-v3 .landing-v2-hero,.how-page-v3 .how-hero)::after { display: none; }
.rastreio-ds-1 :is(.landing-v3 .landing-v2-copy h1,.how-page-v3 .how-hero h1) { color: #171b24; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; max-width: 16ch; }
.rastreio-ds-1 :is(.landing-v3 .landing-v2-copy>p,.how-page-v3 .how-hero p,.landing-assurances li) { color: #657084; }
.rastreio-ds-1 :is(.landing-eyebrow,.landing-v3 .landing-eyebrow) { color: #657084; background: transparent; border: 0; padding: 0; letter-spacing: .06em; font-size: .65rem; font-weight: 500; }
.rastreio-ds-1 :is(.landing-v3 .landing-preview,.how-hero-panel,.how-mockup,.landing-channel-card,.how-definition,.how-dashboard,.how-principle,.how-routine article) { background: #f6f7f9; background-image: none; border: 1px solid #e5e8ee; border-radius: 9px; box-shadow: none; color: #171b24; }
.rastreio-ds-1 .landing-preview::before { content: none; }
.rastreio-ds-1 :is(.landing-preview header,.landing-preview-kpis article,.landing-preview-chart,.how-hero-panel-grid div,.how-dashboard-mockup,.how-client-mockup article) { background: #fff; background-image: none; border-color: #e5e8ee; border-radius: 7px; box-shadow: none; }
.rastreio-ds-1 :is(.landing-v2,.how-page) :is(h2,h3,h4) { color: #171b24; font-weight: 600; letter-spacing: -.03em; }
.rastreio-ds-1 :is(.landing-v2,.how-page) :is(p,small) { color: #657084; }
.rastreio-ds-1 :is(.landing-v3 .landing-cta-v2,.how-page-v3 .how-final-cta,.landing-cta-v2,.how-final-cta) { color: #171b24; background: #f6f7f9; border: 1px solid #e5e8ee; border-radius: 9px; box-shadow: none; }
.rastreio-ds-1 .landing-v3 .landing-cta-v2 :is(h2,p),.rastreio-ds-1 .how-page-v3 .how-final-cta :is(h2,p) { color: #171b24; }
.rastreio-ds-1 .landing-v3 .landing-cta-v2 .btn-primary,.rastreio-ds-1 .landing-v3 .landing-v2-hero .btn-primary { color: #fff; background: #075bff; border-color: #075bff; }
.rastreio-ds-1 .landing-v3 .landing-cta-v2 .btn-outline { color: #596477; background: #fff; border-color: #dce1e9; }
.rastreio-ds-1 .landing-v3 .landing-flow { background: #171e26; border-radius: 9px; box-shadow: none; }
.rastreio-ds-1 .landing-v3 .landing-channel-showcase { background: #f6f7f9; border-color: #e5e8ee; box-shadow: none; border-radius: 9px; }
.rastreio-ds-1 :is(.landing-v3 .landing-secondary,.how-page-v3 .how-hero .btn-outline,.landing-cta-v2 .btn-outline,.how-final-cta .btn-outline) { color: #596477; background: #fff; border-color: #dce1e9; }
.rastreio-ds-1 .login-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); width: min(880px,100%); margin: 3rem auto; background: #fff; border: 1px solid #e5e8ee; border-radius: 12px; box-shadow: 0 15px 50px #171e260b; overflow: hidden; }
.rastreio-ds-1 .login-brand { background: #f6f7f9; color: #171b24; padding: 2.5rem; }
.rastreio-ds-1 .login-brand::before,.rastreio-ds-1 .login-brand::after { display: none; }
.rastreio-ds-1 .login-brand h1 { color: #171b24; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.rastreio-ds-1 .login-brand h1 span { color: #657084; }
.rastreio-ds-1 .login-brand :is(p,.section-kicker) { color: #657084; }
.rastreio-ds-1 .login-brand .brand-mark { color: #075bff; border: 1px solid #dce1e9; border-radius: 8px; background: #fff; box-shadow: none; }
.rastreio-ds-1 .login-form-card { padding: 2.5rem; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.rastreio-ds-1 .login-form-card .modern-form { display: grid; grid-template-columns: minmax(0,1fr); gap: .6rem; }
.rastreio-ds-1 .login-form-card :is(input,button) { width: 100%; min-height: 44px; box-sizing: border-box; }
.rastreio-ds-1 .login-form-card label { color: #596477; font-size: .8rem; margin: .5rem 0 0; }
.rastreio-ds-1 .login-form-card button { margin-top: .5rem; }
.rastreio-ds-1 .login-help { color: #657084; font-size: .75rem; }
.rastreio-ds-1 .error-state { width: min(36rem,100%); margin: 4rem auto; padding: 2rem; border: 1px solid #e5e8ee; border-radius: 10px; background: #fff; }
.rastreio-ds-1 .error-state h1 { font-size: 1.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.rastreio-ds-1 .error-state p { color: #657084; line-height: 1.7; }
@media (max-width:767px) {
  .rastreio-ds-1 :is(.client-workspace-hero,.settings-hero) { padding: 0 0 1rem; }
  .rastreio-ds-1 :is(.client-workspace-hero,.settings-hero) .toolbar-actions { margin-top: .8rem; }
  .rastreio-ds-1 .public-header { min-height: 56px; }
  .rastreio-ds-1 :is(.landing-v3 .landing-v2-hero,.how-page-v3 .how-hero) { gap: 1.5rem; padding: 1.2rem 0; }
  .rastreio-ds-1 :is(.landing-v3 .landing-v2-copy h1,.how-page-v3 .how-hero h1) { font-size: clamp(2rem,8.5vw,2.7rem); max-width: 18ch; }
  .rastreio-ds-1 .login-panel { grid-template-columns: minmax(0,1fr); margin: 1.5rem auto; }
  .rastreio-ds-1 :is(.login-brand,.login-form-card) { padding: 1.4rem; }
  .rastreio-ds-1 .error-state { margin: 2rem auto; padding: 1.3rem; }
}
