/* ==========================================================================
   Irion Cred — Identidade Visual Oficial (https://www.irioncred.com.br/)
   Tipografia: Plus Jakarta Sans (hospedada localmente)
   Paleta: Deep Navy (#000928 -> #192448) + Azul Royal (#0e50da / #0084ff)
           + Turquesa (#18b09f) + Superfícies Clean (#f6f8fc / #ffffff)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  /* Tokens oficiais Irion Cred */
  --irion-navy-950: #000827;
  --irion-navy-900: #000928;
  --irion-navy-800: #141e3e;
  --irion-navy-700: #192448;
  --irion-navy-grad: linear-gradient(225deg, #000928 2.28%, #192448 95.74%);
  --irion-blue: #0e50da;
  --irion-blue-hover: #0084ff;
  --irion-blue-deep: #0b3fb0;
  --irion-blue-soft: #eaf1ff;
  --irion-blue-border: #bfd4ff;
  --irion-teal: #18b09f;
  --irion-teal-dark: #117a6e;
  --irion-teal-soft: #e6f8f5;
  --irion-success: #32ba45;
  --irion-bg: #f6f8fc;
  --irion-surface: #ffffff;
  --irion-surface-soft: #f8faff;
  --irion-line: #dde5f2;
  --irion-ink: #0e0e2e;
  --irion-ink-soft: #364269;
  --irion-muted: #5f6c8a;
  --irion-shadow: 0 8px 24px rgba(0, 9, 40, 0.08);
  --irion-shadow-lg: 0 16px 40px rgba(0, 9, 40, 0.14);
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");

  /* Mapeamento dos tokens legados do app e onboarding */
  --bg: var(--irion-bg);
  --paper: var(--irion-surface);
  --ink: var(--irion-ink);
  --muted: var(--irion-muted);
  --line: var(--irion-line);
  --teal: var(--irion-blue);
  --mint: var(--irion-blue-soft);
  --lime: #38bdf8;
  --shadow: var(--irion-shadow);
  --app-green: var(--irion-navy-900);
  --app-lime: #38bdf8;
  --app-bg: var(--irion-bg);
  --app-line: var(--irion-line);
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  background: var(--irion-bg) !important;
  color: var(--irion-ink) !important;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* ==================== LOGOTIPO OFICIAL ==================== */
.irion-official-logo {
  display: inline-block;
  height: 30px;
  width: auto;
  vertical-align: middle;
}

/* ==================== HEADERS & TOPBARS (NAVY OFICIAL) ==================== */
.header,
.app-header,
.workspace-topbar {
  background: var(--irion-navy-grad) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.header .brand,
.app-header .brand,
.workspace-topbar .workspace-brand,
.header .header-note,
.app-header .header-note,
.workspace-topbar button,
.app-header button {
  color: #ffffff;
}

.app-header button,
.workspace-topbar button {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.app-header button:hover:not(:disabled),
.workspace-topbar button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
}

.app-header button[aria-selected="true"],
.app-header button.active,
.workspace-topbar button[aria-pressed="true"],
.workspace-topbar button.active {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
  color: #ffffff !important;
}

/* Sidebar clássica do app */
.sidebar {
  background: var(--irion-navy-grad) !important;
  color: #e6ecf8 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidebar .brandword,
.sidebar .storecard strong,
.sidebar .nav button {
  color: #f3f7ff !important;
}

.sidebar .navlabel,
.sidebar .storecard small,
.sidebar .sidebar-foot {
  color: #9cb0d6 !important;
}

.sidebar .storecard {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.sidebar .storeavatar {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
}

.sidebar .nav button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1) !important;
}

.sidebar .nav button.active {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
  border-radius: 10px;
}

/* ==================== NAVEGAÇÃO PRINCIPAL (MEU NEGÓCIO HOJE) ==================== */
#business-navigation {
  background: rgba(246, 248, 252, 0.94) !important;
  border-bottom-color: var(--irion-line) !important;
}

.bn-heading .eyebrow {
  color: var(--irion-blue) !important;
}

.bn-heading h1 {
  color: var(--irion-navy-900) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.bn-tab,
.bn-secondary-tab {
  border-radius: 999px !important;
  color: var(--irion-ink-soft) !important;
  border-color: transparent;
}

.bn-tab[aria-selected="true"],
.bn-secondary-tab[aria-selected="true"] {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
  border-color: var(--irion-blue) !important;
  box-shadow: 0 4px 12px rgba(14, 80, 218, 0.22);
}

.bn-tab:hover:not([aria-selected="true"]):not(:disabled),
.bn-secondary-tab:hover:not([aria-selected="true"]):not(:disabled) {
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
}

/* ==================== BOTÕES & CARDS GLOBAIS ==================== */
button.primary,
.btn-primary,
.pl-btn-primary,
.as-btn,
.okyc-sign-btn,
.okyc-overview-btn,
.fc-btn,
.fm-export-btn-primary {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(14, 80, 218, 0.22);
  transition:
    background 0.16s ease,
    transform 0.15s ease,
    box-shadow 0.16s ease;
}

button.primary:hover:not(:disabled),
.btn-primary:hover:not(:disabled),
.pl-btn-primary:hover:not(:disabled),
.as-btn:hover:not(:disabled),
.okyc-sign-btn:hover:not(:disabled),
.okyc-overview-btn:hover:not(:disabled),
.fc-btn:hover:not(:disabled),
.fm-export-btn-primary:hover:not(:disabled) {
  background: var(--irion-blue-hover) !important;
  border-color: var(--irion-blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 132, 255, 0.28);
}

.card,
.pl-card,
.as-card,
.okyc-card,
.fc-dialog,
.merchant-settings {
  border-radius: 16px !important;
  border-color: var(--irion-line) !important;
  box-shadow: var(--irion-shadow) !important;
}

/* ==================== ATALHOS, CHIPS & ABAS SECUNDÁRIAS ==================== */
.pl-quick-btn,
.fc-open-btn,
.as-cash-shortcut,
.pl-btn-secondary,
.sh-toggle-btn {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue-border) !important;
  color: var(--irion-blue) !important;
  border-radius: 999px !important;
}

.pl-quick-btn:hover,
.fc-open-btn:hover,
.as-cash-shortcut:hover,
.pl-btn-secondary:hover,
.sh-toggle-btn:hover {
  background: #dce8ff !important;
  border-color: #93b5ff !important;
}

/* ==================== MÓDULOS ONDA 1 & 2A ==================== */
/* Links de Pagamento */
.pl-header h2,
.pl-card h3,
.pl-link-title,
.pl-link-amount,
.pl-method-top,
.pl-items-footer {
  color: var(--irion-navy-900) !important;
}

.pl-method-tile.is-selected {
  border-color: var(--irion-blue) !important;
  background: var(--irion-blue-soft) !important;
}

.pl-method-tile.is-selected .pl-method-check {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
}

.pl-badge.status-paid {
  background: var(--irion-teal-soft) !important;
  border-color: #9de2d9 !important;
  color: var(--irion-teal-dark) !important;
}

.pl-feedback.is-ok {
  background: var(--irion-teal-soft) !important;
  border-color: #9de2d9 !important;
  color: var(--irion-navy-900) !important;
}

/* Saúde da Liquidação */
.sh-banner {
  border-color: #a9e5dd !important;
  background: var(--irion-teal-soft) !important;
}

.sh-headline {
  color: var(--irion-navy-900) !important;
}

.sh-chip.is-active,
.sh-chip:hover {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue) !important;
  color: var(--irion-blue) !important;
}

/* Simulador de Antecipação */
.as-card {
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%) !important;
  border-color: var(--irion-blue-border) !important;
}

.as-head h3,
.as-kpi-val {
  color: var(--irion-navy-900) !important;
}

.as-kpi-val.is-net {
  color: var(--irion-blue) !important;
}

.as-cutoff-pill {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue-border) !important;
  color: var(--irion-blue) !important;
}

.as-ok {
  background: var(--irion-teal-soft) !important;
  border-color: #9de2d9 !important;
  color: var(--irion-navy-900) !important;
}

/* KYC & Termo */
.okyc-card {
  background: var(--irion-surface-soft) !important;
}

.okyc-step.is-done,
.okyc-signed-box {
  border-color: #a9e5dd !important;
  background: var(--irion-teal-soft) !important;
  color: var(--irion-navy-900) !important;
}

/* Calculadora de Taxas */
.fc-dir-btn.is-active,
.fc-preset.is-active {
  border-color: var(--irion-blue) !important;
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
}

.fc-kpi.is-highlight {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue-border) !important;
}

.fc-kpi strong,
.fc-head h3 {
  color: var(--irion-navy-900) !important;
}

/* Workspace / Chat do Írio */
.workspace-send,
.irio-send,
.chat-send,
button[data-action="send"] {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
  color: #ffffff !important;
}

.workspace-send:hover:not(:disabled),
.irio-send:hover:not(:disabled) {
  background: var(--irion-blue-hover) !important;
}

/* Configurações dialog header */
.merchant-settings .ms-header {
  background: var(--irion-navy-grad) !important;
  color: #ffffff !important;
}

.merchant-settings .ms-header h2,
.merchant-settings .ms-header .eyebrow {
  color: #ffffff !important;
}

/* Padronização dos botões "×" de fechar em todas as janelas/modais */
.merchant-settings .ms-close,
.fc-close,
.pl-qr-close,
.modal-head button[data-close] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-inline-size: 36px !important;
  min-block-size: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease !important;
}

.merchant-settings .ms-close::before,
.fc-close::before,
.pl-qr-close::before,
.modal-head button[data-close]::before {
  content: "";
  content: "" / "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: var(--icon-close) no-repeat center / contain;
  mask: var(--icon-close) no-repeat center / contain;
  flex: none;
  pointer-events: none;
  forced-color-adjust: none;
}

/* Fechar em cabeçalho escuro (Configurações) */
.merchant-settings .ms-close {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.merchant-settings .ms-close:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #ffffff !important;
  transform: none !important;
}

.merchant-settings .ms-close:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.32) !important;
}

/* Fechar em cabeçalhos claros (Calculadora, QR Code e demais modais) */
.fc-close,
.pl-qr-close,
.modal-head button[data-close] {
  background: #f3f6fc !important;
  border: 1px solid #d5deee !important;
  color: #162447 !important;
}

.fc-close:hover:not(:disabled),
.pl-qr-close:hover:not(:disabled),
.modal-head button[data-close]:hover:not(:disabled) {
  background: #e4ecfa !important;
  border-color: #b4c6e8 !important;
  color: #0b1636 !important;
  transform: none !important;
}

.fc-close:active:not(:disabled),
.pl-qr-close:active:not(:disabled),
.modal-head button[data-close]:active:not(:disabled) {
  background: #d6e2f7 !important;
}

.merchant-settings .ms-nav button[aria-current="page"],
.merchant-settings .ms-nav button.active {
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
  font-weight: 700;
}

/* Foco acessível com identidade Irion Cred (sem borda dupla nos inputs) */
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--irion-blue);
  outline-offset: 2px;
}

input:where(
    :not([type="checkbox"], [type="radio"], [type="range"])
  ):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--irion-blue);
  box-shadow: 0 0 0 3px rgba(14, 80, 218, 0.1);
}

@media (forced-colors: active) {
  input:where(
      :not([type="checkbox"], [type="radio"], [type="range"])
    ):focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  .chat-composer .irio-input-row:focus-within {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/* Links e onboarding (/entrar, /equipe, /convite) */
.header .brand .mark {
  display: none;
}

.onboarding-card,
.auth-card {
  border-radius: 18px !important;
  border-color: var(--irion-line) !important;
  box-shadow: var(--irion-shadow) !important;
}

/* ==========================================================================
   LAYOUT WORKSPACE (?layout=workspace) — 100% Identidade Oficial Irion Cred
   ========================================================================== */
body[data-interface="workspace"] {
  background: var(--irion-bg) !important;
  color: var(--irion-ink) !important;
}

/* Rail vertical esquerda em Deep Navy oficial */
body[data-interface="workspace"] .workspace-rail {
  background: var(--irion-navy-grad) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body[data-interface="workspace"] .workspace-rail-brand {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
  border-radius: 11px !important;
  box-shadow: 0 4px 14px rgba(14, 80, 218, 0.4);
}

body[data-interface="workspace"] .workspace-rail .workspace-button {
  color: #9cb4e0 !important;
}

body[data-interface="workspace"]
  .workspace-rail
  .workspace-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body[data-interface="workspace"] .workspace-rail .workspace-button.active {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 80, 218, 0.35);
}

body[data-interface="workspace"] .workspace-profile {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Sidebar de conversas clean azulada */
body[data-interface="workspace"] .workspace-sidebar {
  background: #f5f8ff !important;
  border-right: 1px solid var(--irion-line) !important;
}

body[data-interface="workspace"] .workspace-sidebar-head,
body[data-interface="workspace"] .workspace-sidebar-footer {
  border-color: var(--irion-line) !important;
}

body[data-interface="workspace"] .workspace-brand {
  color: var(--irion-navy-900) !important;
}

body[data-interface="workspace"] .workspace-brand-dot {
  color: var(--irion-blue) !important;
}

body[data-interface="workspace"] .workspace-button {
  color: var(--irion-ink-soft) !important;
}

body[data-interface="workspace"] .workspace-button:hover:not(:disabled) {
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
}

body[data-interface="workspace"] .workspace-button.active {
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
  font-weight: 700 !important;
}

body[data-interface="workspace"] .workspace-sidebar select,
body[data-interface="workspace"] .workspace-sidebar input {
  background: #ffffff !important;
  border-color: var(--irion-line) !important;
  color: var(--irion-ink) !important;
}

body[data-interface="workspace"] .workspace-sidebar select:focus-visible,
body[data-interface="workspace"] .workspace-sidebar input:focus-visible {
  outline: none;
  border-color: var(--irion-blue) !important;
  box-shadow: 0 0 0 3px rgba(14, 80, 218, 0.1);
}

/* Topbar do workspace em Deep Navy com breadcrumb nítido */
body[data-interface="workspace"] .workspace-topbar {
  background: var(--irion-navy-grad) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body[data-interface="workspace"] .workspace-topbar * {
  color: #e9f0ff !important;
}

body[data-interface="workspace"] .workspace-topbar .workspace-button {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body[data-interface="workspace"]
  .workspace-topbar
  .workspace-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18) !important;
}

/* Palco central do Chat e Compositor */
body[data-interface="workspace"] .chat-stage,
body[data-interface="workspace"] .chat-composer,
body[data-interface="workspace"] .access-bar {
  background: #ffffff !important;
  border-color: var(--irion-line) !important;
}

body[data-interface="workspace"] .chat-stage h1,
body[data-interface="workspace"] .chat-stage h2,
body[data-interface="workspace"] #app-panel > h1,
body[data-interface="workspace"] #app-panel > h2 {
  color: var(--irion-navy-900) !important;
}

/* Contraste cristalino nos blocos escuros do Site Irion */
.site-hero,
.big-statement {
  background: var(--irion-navy-grad) !important;
  color: #ffffff !important;
}

.site-hero h1,
.site-hero h2,
.site-hero h3,
.big-statement h1,
.big-statement h2,
.big-statement h3 {
  color: #ffffff !important;
}

.site-hero .eyebrow,
.big-statement .eyebrow {
  color: #7db4ff !important;
}

.site-hero p,
.big-statement p {
  color: #cddaf5 !important;
}

.site-hero .site-cta-primary,
.site-hero button.primary {
  background: var(--irion-blue) !important;
  color: #ffffff !important;
  border-color: var(--irion-blue) !important;
}

body[data-interface="workspace"] .chat-composer .question-chips button {
  background: #f8faff !important;
  border: 1px solid var(--irion-line) !important;
  color: var(--irion-ink-soft) !important;
  border-radius: 999px !important;
}

body[data-interface="workspace"]
  .chat-composer
  .question-chips
  button:hover:not(:disabled) {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue-border) !important;
  color: var(--irion-blue) !important;
}

body[data-interface="workspace"] .chat-composer .irio-input-row {
  background: #ffffff !important;
  border: 1px solid #cbd7ec !important;
  border-radius: 16px !important;
  box-shadow: 0 3px 14px rgba(0, 9, 40, 0.05);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

body[data-interface="workspace"] .chat-composer .irio-input-row:focus-within,
.chat-composer .irio-input-row:focus-within {
  border-color: #5d7299 !important;
  box-shadow:
    0 4px 18px rgba(0, 9, 40, 0.08),
    0 0 0 2px rgba(25, 36, 72, 0.08);
}

.chat-composer .irio-input-row input:focus,
.chat-composer .irio-input-row input:focus-visible,
.chat-composer .irio-input-row textarea:focus,
.chat-composer .irio-input-row textarea:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

body[data-interface="workspace"] .chat-composer .irio-input-row button,
body[data-interface="workspace"] #irio-send,
.irio-input-row button[type="submit"] {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
  color: #ffffff !important;
  border-radius: 11px !important;
}

body[data-interface="workspace"]
  .chat-composer
  .irio-input-row
  button:hover:not(:disabled) {
  background: var(--irion-blue-hover) !important;
  border-color: var(--irion-blue-hover) !important;
}

/* Painel lateral direito "Seu negócio" */
body[data-interface="workspace"] .workspace-support {
  background: #f6f8fc !important;
  border-left: 1px solid var(--irion-line) !important;
}

body[data-interface="workspace"] .workspace-support-card,
body[data-interface="workspace"] .workspace-support-body {
  background: #ffffff !important;
  border-color: var(--irion-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--irion-shadow) !important;
}

body[data-interface="workspace"] .workspace-support strong,
body[data-interface="workspace"] .workspace-support .metric-value {
  color: var(--irion-navy-900) !important;
}

body[data-interface="workspace"] .workspace-support .eyebrow,
body[data-interface="workspace"] .eyebrow {
  color: var(--irion-blue) !important;
}

/* Bolhas do chat e mensagens do usuário */
.chat-bubble.user,
.irio-message.user,
.msg.user {
  background: var(--irion-navy-grad) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   VISÃO GERAL (business-today.css) — Zero verde musgo + Zero quebra de número
   ========================================================================== */
.business-today {
  background: linear-gradient(135deg, #f8faff, #eef3fc) !important;
  border-color: var(--irion-line) !important;
  border-radius: 20px !important;
}

.bt-heading h1,
.bt-section-heading h3,
.bt-priorities h3,
.bt-attention-card h4 {
  color: var(--irion-navy-900) !important;
}

.bt-heading .eyebrow {
  color: var(--irion-blue) !important;
}

.bt-context,
.bt-status,
.bt-section-note,
.bt-next-receipt,
.bt-attention-card p,
.bt-coverage {
  color: var(--irion-muted) !important;
}

.bt-refresh {
  color: var(--irion-navy-900) !important;
  border-color: var(--irion-line) !important;
  background: #ffffff !important;
  border-radius: 999px !important;
}

.bt-refresh:hover:not(:disabled) {
  background: var(--irion-blue-soft) !important;
  border-color: var(--irion-blue-border) !important;
  color: var(--irion-blue) !important;
}

.bt-metric {
  background: #ffffff !important;
  border-color: var(--irion-line) !important;
  box-shadow: 0 4px 16px rgba(0, 9, 40, 0.04);
}

.bt-label,
.bt-metric small {
  color: var(--irion-muted) !important;
}

.bt-metric strong {
  color: var(--irion-navy-900) !important;
  font-size: clamp(19px, 1.9vw, 27px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

/* Card destaque "Previsto nos próximos 7 dias" em Deep Navy oficial */
.bt-metric-receivables {
  background: var(--irion-navy-grad) !important;
  border-color: var(--irion-navy-800) !important;
  box-shadow: 0 12px 28px rgba(0, 9, 40, 0.18) !important;
}

.bt-metric-receivables strong {
  color: #ffffff !important;
}

.bt-metric-receivables .bt-label,
.bt-metric-receivables small {
  color: #a8bee8 !important;
}

.bt-agenda,
.bt-footer {
  border-top-color: var(--irion-line) !important;
}

.bt-schedule-day,
.bt-attention-card {
  background: #ffffff !important;
  border-color: var(--irion-line) !important;
}

.bt-section-link,
.bt-attention-card button,
.bt-details {
  color: var(--irion-blue) !important;
}

.bt-section-link:hover,
.bt-attention-card button:hover,
.bt-details:hover {
  color: var(--irion-blue-hover) !important;
}

/* ==========================================================================
   CAIXA, COMPROMISSOS, EVOLUÇÃO, CONFIGURAÇÕES, FISCAL E SESSÃO
   ========================================================================== */
.cp-button-primary,
.cm-button-primary,
.irio-action-card button,
.fp-profile button.fp-primary,
.ai-settings .ai-primary,
.fm-export-btn-primary {
  background: var(--irion-blue) !important;
  border-color: var(--irion-blue) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

.cp-button-primary:hover:not(:disabled),
.cm-button-primary:hover:not(:disabled),
.irio-action-card button:hover:not(:disabled),
.fp-profile button.fp-primary:hover:not(:disabled),
.ai-settings .ai-primary:hover:not(:disabled) {
  background: var(--irion-blue-hover) !important;
  border-color: var(--irion-blue-hover) !important;
}

.cp-metric-closingCents {
  background: var(--irion-navy-grad) !important;
  border-color: var(--irion-navy-800) !important;
}

.cp-metric-closingCents strong {
  color: #ffffff !important;
}

.cp-metric-closingCents > span,
.cp-metric-closingCents small {
  color: #a8bee8 !important;
}

.se-key-current::before,
.se-bar-current {
  background: var(--irion-blue) !important;
}

.se-key-previous::before,
.se-bar-previous {
  background: #bfd4ff !important;
  box-shadow: inset 0 0 0 1px #93b5ff !important;
}

.ai-settings .ai-secondary {
  background: var(--irion-blue-soft) !important;
  color: var(--irion-blue) !important;
  border-color: var(--irion-blue-border) !important;
}

.access-dot {
  background: var(--irion-teal) !important;
}

.access-mode {
  color: var(--irion-ink-soft) !important;
  border-color: var(--irion-line) !important;
}
