/* =====================================================================
   Oficerto | Tema do sistema interno (identidade visual oficial)
   Paleta: navy #1A2444, azul royal #304EA9, verde-agua #47C1B0,
           preto #040606, branco #FFFFFF
   Tipografia: Archivo (titulos) + Inter (interface e textos)
   Vale so dentro do sistema (body.workspace-active). A entrada publica
   nao e afetada.
   ===================================================================== */

body.workspace-active {
  --ofc-navy: #1A2444;
  --ofc-navy-deep: #141C36;
  --ofc-royal: #304EA9;
  --ofc-teal: #47C1B0;
  --ofc-black: #040606;
  --ofc-white: #FFFFFF;
  --ofc-bg: #F4F5F8;
  --ofc-surface: #FFFFFF;
  --ofc-surface-2: #F8F8FA;
  --ofc-ink: #1A2444;
  --ofc-text: #3C4560;
  --ofc-muted: #5A6178;
  --ofc-subtle: #767C8F;
  --ofc-line: rgba(26, 36, 68, 0.10);
  --ofc-line-strong: rgba(26, 36, 68, 0.18);
  --ofc-teal-soft: #E9F8F6;
  --ofc-teal-line: rgba(71, 193, 176, 0.45);
  --ofc-royal-soft: #EEF1F8;
  --ofc-shadow-sm: 0 1px 2px rgba(26, 36, 68, 0.05);
  --ofc-shadow: 0 1px 2px rgba(26, 36, 68, 0.04), 0 6px 20px rgba(26, 36, 68, 0.05);
  --ofc-shadow-lg: 0 24px 48px -24px rgba(26, 36, 68, 0.45);
  --ofc-radius: 14px;
  --ofc-display: "Archivo", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ofc-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* variaveis antigas do sistema apontando para a paleta */
  --bg: var(--ofc-bg);
  --bg-2: var(--ofc-surface-2);
  --panel: var(--ofc-surface);
  --panel-2: var(--ofc-surface-2);
  --panel-strong: var(--ofc-surface);
  --line: var(--ofc-line);
  --line-strong: var(--ofc-teal-line);
  --text: var(--ofc-ink);
  --muted: var(--ofc-muted);
  --cyan: var(--ofc-teal);
  --aqua: var(--ofc-teal);
  --blue: var(--ofc-royal);
  --green: var(--ofc-teal);
  --brand-navy: var(--ofc-navy);
  --shadow: var(--ofc-shadow);
  --soft-shadow: var(--ofc-shadow-sm);
  --oficerto-brand-blue: var(--ofc-royal);
  --oficerto-brand-blue-dark: var(--ofc-navy);
  --oficerto-brand-blue-soft: var(--ofc-royal-soft);
  --oficerto-brand-teal: var(--ofc-teal);
  --oficerto-brand-teal-soft: var(--ofc-teal-soft);
  --oficerto-brand-black: var(--ofc-black);
  --oficerto-brand-ink: var(--ofc-ink);
  --oficerto-brand-muted: var(--ofc-muted);
  --oficerto-brand-line: var(--ofc-line);
  --font-brand: var(--ofc-display);
  --font-body: var(--ofc-ui);
  --public-navy: var(--ofc-navy);
  --public-teal: var(--ofc-teal);
  --public-teal-soft: var(--ofc-teal-soft);
  --public-blue: var(--ofc-royal);
  --public-blue-soft: var(--ofc-royal-soft);
  --public-purple: var(--ofc-royal);
  --public-purple-soft: var(--ofc-royal-soft);
  --public-text: var(--ofc-ink);
  --public-muted: var(--ofc-muted);
  --public-border: var(--ofc-line);
  --of-navy: var(--ofc-navy);
  --of-teal: var(--ofc-teal);
  --of-teal-soft: var(--ofc-teal-soft);
  --of-blue: var(--ofc-royal);
  --of-purple: var(--ofc-royal);
  --of-border: var(--ofc-line);
  --of-muted: var(--ofc-muted);

  background: var(--ofc-bg) !important;
  color: var(--ofc-ink);
  font-family: var(--ofc-ui) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Tipografia ---------- */
html body.workspace-active :is(h1, h2, h3, h4, h5) {
  font-family: var(--ofc-display) !important;
  letter-spacing: -0.015em !important;
}
html body.workspace-active :is(button, input, select, textarea, label, .sidebar-item, .primary-action, .ghost-action, .status-pill, .icon-button, table, th, td) {
  font-family: var(--ofc-ui) !important;
}
html body.workspace-active :is(p, li, td, small) { font-family: var(--ofc-ui); }
html body.workspace-active ::selection { background: rgba(71, 193, 176, 0.28); color: var(--ofc-navy); }

/* ---------- Estrutura ---------- */
html body.workspace-active .workspace,
html body.workspace-active .main { background: var(--ofc-bg) !important; }

/* ---------- Menu lateral ---------- */
html body.workspace-active .sidebar {
  container-type: inline-size;
  container-name: ofc-sidebar;
  background:
    radial-gradient(120% 38% at 0% 0%, rgba(71, 193, 176, 0.10) 0%, rgba(71, 193, 176, 0) 70%),
    radial-gradient(90% 30% at 100% 100%, rgba(48, 78, 169, 0.22) 0%, rgba(48, 78, 169, 0) 70%),
    linear-gradient(180deg, var(--ofc-navy) 0%, var(--ofc-navy-deep) 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.78);
}
html body.workspace-active .sidebar-brand {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "ofc-logo ofc-toggle" "ofc-company ofc-company";
  align-items: center;
  row-gap: 14px !important;
  column-gap: 8px !important;
  min-height: 0 !important;
  padding: 8px 6px 18px !important;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html body.workspace-active .sidebar-brand-mark {
  grid-area: ofc-logo;
  display: block !important;
  width: 100% !important;
  max-width: 158px;
  height: 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("/assets/oficerto-site-logo.png") left center / contain no-repeat !important;
  box-shadow: none !important;
  margin: 0 !important;
}
html body.workspace-active .sidebar-brand-mark > * { display: none !important; }
html body.workspace-active .sidebar-brand .sidebar-collapse {
  grid-area: ofc-toggle;
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.62) !important;
}
html body.workspace-active .sidebar-brand .sidebar-collapse:hover { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }
html body.workspace-active .sidebar-brand-text {
  grid-area: ofc-company;
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6) !important;
}
html body.workspace-active .sidebar-brand-text::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ofc-teal);
  box-shadow: 0 0 0 3px rgba(71, 193, 176, 0.18);
}
html body.workspace-active .sidebar-brand-text strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff !important;
  font-family: var(--ofc-ui) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
html body.workspace-active .sidebar-brand-text small { display: none !important; }

/* Menu recolhido ou estreito: so o simbolo */
@container ofc-sidebar (max-width: 150px) {
  html body.workspace-active .sidebar-brand {
    grid-template-columns: 1fr !important;
    grid-template-areas: "ofc-logo" "ofc-toggle";
    justify-items: center !important;
  }
  html body.workspace-active .sidebar-brand-mark {
    width: 40px !important;
    height: 40px !important;
    background-image: url("/assets/oficerto-simbolo.png") !important;
    background-position: center !important;
  }
  html body.workspace-active .sidebar-brand-text { display: none !important; }
}

html body.workspace-active .nav-list { gap: 18px; }
html body.workspace-active .nav-group { gap: 2px !important; }
html body.workspace-active .nav-group > span {
  padding: 0 12px 6px !important;
  color: rgba(255, 255, 255, 0.40) !important;
  font-family: var(--ofc-ui) !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}
html body.workspace-active .sidebar-item {
  min-height: 40px !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: var(--ofc-ui) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transform: none !important;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}
html body.workspace-active .sidebar-item svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 1.8 !important;
  color: rgba(255, 255, 255, 0.52) !important;
  transform: none !important;
}
html body.workspace-active .sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}
html body.workspace-active .sidebar-item:hover svg { color: #fff !important; }
html body.workspace-active .sidebar-item.active {
  background: linear-gradient(90deg, rgba(71, 193, 176, 0.20) 0%, rgba(71, 193, 176, 0.05) 100%) !important;
  border-color: rgba(71, 193, 176, 0.22) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
html body.workspace-active .sidebar-item.active svg { color: var(--ofc-teal) !important; }
html body.workspace-active .sidebar-item.active::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: -1px !important;
  top: 9px !important;
  bottom: 9px !important;
  width: 3px !important;
  border-radius: 0 3px 3px 0 !important;
  background: var(--ofc-teal) !important;
  box-shadow: none !important;
}
html body.workspace-active .sidebar-item:focus-visible { outline: 2px solid var(--ofc-teal) !important; outline-offset: 2px; }
html body.workspace-active .sidebar-news-dot { background: var(--ofc-teal) !important; box-shadow: 0 0 0 3px rgba(71, 193, 176, 0.2) !important; }
html body.workspace-active .nav-list::-webkit-scrollbar,
html body.workspace-active .sidebar::-webkit-scrollbar { width: 6px; }
html body.workspace-active .nav-list::-webkit-scrollbar-thumb,
html body.workspace-active .sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 6px; }

html body.workspace-active .sidebar-user {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
html body.workspace-active .sidebar-user-info strong { color: #fff !important; font-family: var(--ofc-ui) !important; font-weight: 600 !important; font-size: 13px !important; }
html body.workspace-active .sidebar-user-info span { color: rgba(255, 255, 255, 0.55) !important; font-size: 12px !important; }
html body.workspace-active .sidebar-user .icon-button {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: none !important;
}
html body.workspace-active .sidebar-user .icon-button:hover { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }
html body.workspace-active .sidebar .avatar,
html body.workspace-active .avatar {
  background: var(--ofc-teal) !important;
  color: var(--ofc-navy) !important;
  border: 0 !important;
  font-family: var(--ofc-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

/* ---------- Barra superior ---------- */
html body.workspace-active .workspace .topbar {
  background: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--ofc-line) !important;
  box-shadow: none !important;
}
html body.workspace-active .topbar strong[data-view-title],
html body.workspace-active .workspace .topbar-title strong {
  color: var(--ofc-navy) !important;
  font-family: var(--ofc-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
html body.workspace-active .workspace .topbar-subtitle { color: var(--ofc-muted) !important; font-family: var(--ofc-ui) !important; }
html body.workspace-active .topbar .status-pill {
  background: var(--ofc-teal-soft) !important;
  border: 1px solid var(--ofc-teal-line) !important;
  color: var(--ofc-navy) !important;
  font-family: var(--ofc-ui) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
html body.workspace-active .topbar .status-pill svg { color: var(--ofc-teal) !important; }
html body.workspace-active .topbar .status-pill.pending {
  background: #FFF7E6 !important;
  border-color: rgba(217, 154, 22, 0.35) !important;
  color: #7A5300 !important;
}
html body.workspace-active .topbar .status-pill.pending svg { color: #D99A16 !important; }
html body.workspace-active .topbar-actions :is(.ghost-action, .icon-button) {
  min-height: 40px !important;
  border: 1px solid var(--ofc-line-strong) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--ofc-navy) !important;
  box-shadow: var(--ofc-shadow-sm) !important;
  font-family: var(--ofc-ui) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
html body.workspace-active .topbar-actions .icon-button { width: 40px !important; padding: 0 !important; }
html body.workspace-active .topbar-actions :is(.ghost-action, .icon-button):hover { background: var(--ofc-surface-2) !important; border-color: rgba(26, 36, 68, 0.26) !important; }
html body.workspace-active .topbar-actions :is(.ghost-action, .icon-button) svg { width: 17px !important; height: 17px !important; color: var(--ofc-navy) !important; }
html body.workspace-active [data-news-count] { background: var(--ofc-teal) !important; color: var(--ofc-navy) !important; border: 2px solid #fff !important; }
html body.workspace-active .mobile-menu-toggle { background: var(--ofc-navy) !important; color: #fff !important; border-color: var(--ofc-navy) !important; }

/* ---------- Botoes ---------- */
html body.workspace-active .primary-action {
  background: var(--ofc-teal) !important;
  background-image: none !important;
  border: 1px solid var(--ofc-teal) !important;
  color: var(--ofc-navy) !important;
  font-family: var(--ofc-ui) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 1px 2px rgba(26, 36, 68, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}
html body.workspace-active .primary-action svg { color: var(--ofc-navy) !important; }
html body.workspace-active .primary-action:hover:not(:disabled) {
  filter: brightness(0.96);
  box-shadow: 0 8px 20px -8px rgba(71, 193, 176, 0.75) !important;
}
html body.workspace-active .primary-action:active:not(:disabled) { transform: translateY(1px); }
html body.workspace-active :is(.primary-action, .ghost-action, button):disabled { opacity: 0.55; cursor: not-allowed; }
html body.workspace-active .ghost-action {
  font-family: var(--ofc-ui) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* ---------- Campos ---------- */
html body.workspace-active .workspace :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea):focus {
  border-color: var(--ofc-teal) !important;
  box-shadow: 0 0 0 3px rgba(71, 193, 176, 0.22) !important;
  outline: none !important;
}
html body.workspace-active :is(input[type="checkbox"], input[type="radio"], input[type="range"]) { accent-color: var(--ofc-royal); }

/* ---------- Cartoes e paineis ---------- */
html body.workspace-active :is(.panel, .metric-card) {
  border-color: var(--ofc-line) !important;
  box-shadow: var(--ofc-shadow) !important;
}

/* ---------- Painel: destaque da Landing Page ---------- */
html body.workspace-active .dashboard-landing-offer {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 20px !important;
  color: #fff !important;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(71, 193, 176, 0.20) 0%, rgba(71, 193, 176, 0) 60%),
    linear-gradient(135deg, var(--ofc-navy) 0%, #22326A 58%, var(--ofc-royal) 100%) !important;
  box-shadow: var(--ofc-shadow-lg) !important;
}
html body.workspace-active .dashboard-landing-offer::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -250px;
  border-radius: 50%;
  border: 46px solid rgba(71, 193, 176, 0.07);
  pointer-events: none;
}
html body.workspace-active .dashboard-landing-offer > * { position: relative; z-index: 1; }
html body.workspace-active .dashboard-landing-offer-copy { color: #fff !important; }
html body.workspace-active .dashboard-landing-eyebrow {
  color: var(--ofc-teal) !important;
  font-family: var(--ofc-ui) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
}
html body.workspace-active .dashboard-landing-offer-copy h2 {
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
}
html body.workspace-active .dashboard-landing-offer-copy h2 em { color: var(--ofc-teal) !important; font-style: normal !important; }
html body.workspace-active .dashboard-landing-offer-copy :is(p, summary, span, li) { color: rgba(255, 255, 255, 0.78) !important; }
html body.workspace-active .dashboard-landing-offer-copy summary { color: #fff !important; font-weight: 600 !important; }
html body.workspace-active .dashboard-landing-offer-copy svg { color: var(--ofc-teal) !important; }
html body.workspace-active .dashboard-landing-featured {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}
html body.workspace-active .dashboard-landing-featured small { color: var(--ofc-teal) !important; letter-spacing: 0.14em !important; }
html body.workspace-active .dashboard-landing-featured b { color: #fff !important; }
html body.workspace-active .dashboard-landing-benefits :is(li, span) { color: rgba(255, 255, 255, 0.88) !important; }
html body.workspace-active .dashboard-landing-checkout {
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px -20px rgba(4, 6, 6, 0.55) !important;
  color: var(--ofc-navy) !important;
}
html body.workspace-active .dashboard-landing-checkout-title { color: var(--ofc-royal) !important; letter-spacing: 0.14em !important; font-weight: 600 !important; }
html body.workspace-active .dashboard-landing-checkout h3 { color: var(--ofc-navy) !important; font-weight: 800 !important; }
html body.workspace-active .dashboard-landing-total,
html body.workspace-active .dashboard-landing-total * { color: var(--ofc-navy) !important; }
html body.workspace-active .dashboard-landing-total strong,
html body.workspace-active .dashboard-landing-total b { font-family: var(--ofc-display) !important; letter-spacing: -0.03em; }
html body.workspace-active .dashboard-landing-delivery,
html body.workspace-active .dashboard-landing-delivery * { color: var(--ofc-royal) !important; }
html body.workspace-active .dashboard-landing-delivery svg { color: var(--ofc-teal) !important; }
html body.workspace-active .dashboard-landing-checkout button:not(.ghost-action) {
  background: var(--ofc-teal) !important;
  background-image: none !important;
  border: 1px solid var(--ofc-teal) !important;
  color: var(--ofc-navy) !important;
  font-family: var(--ofc-ui) !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 22px -10px rgba(71, 193, 176, 0.9) !important;
}
html body.workspace-active .dashboard-landing-checkout button:not(.ghost-action) svg { color: var(--ofc-navy) !important; }
html body.workspace-active .dashboard-landing-checkout :is(.dashboard-landing-plan-description, .dashboard-landing-next, .dashboard-landing-notes, .dashboard-landing-security) { color: var(--ofc-muted) !important; }

/* ---------- Painel: planos e solucoes ---------- */
html body.workspace-active .dashboard-section-head h2 { color: var(--ofc-navy) !important; font-weight: 800 !important; }
html body.workspace-active .dashboard-section-head p { color: var(--ofc-muted) !important; font-size: 13px !important; }
html body.workspace-active .dashboard-plan-card {
  border-radius: 18px !important;
  border: 1px solid var(--ofc-line) !important;
  box-shadow: var(--ofc-shadow) !important;
}
html body.workspace-active .dashboard-plan-card h3 { font-weight: 800 !important; }
html body.workspace-active .dashboard-plan-card.vehicle-solution-card {
  border: 0 !important;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(71, 193, 176, 0.28) 0%, rgba(71, 193, 176, 0) 60%),
    linear-gradient(150deg, var(--ofc-royal) 0%, var(--ofc-navy) 100%) !important;
  box-shadow: var(--ofc-shadow-lg) !important;
}
html body.workspace-active .dashboard-plan-card.vehicle-solution-card svg { color: var(--ofc-teal) !important; }
html body.workspace-active .dashboard-plan-card.vehicle-solution-card .plan-icon { background: rgba(255, 255, 255, 0.12) !important; }
html body.workspace-active .dashboard-plan-card.vehicle-solution-card .plan-icon svg { color: #fff !important; }
html body.workspace-active .dashboard-plan-card.vehicle-solution-card .ghost-action {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}
html body.workspace-active .dashboard-plan-card.vehicle-solution-card .ghost-action svg { color: #fff !important; }
html body.workspace-active .dashboard-plan-card.blue h3 { color: var(--ofc-royal) !important; }
html body.workspace-active .dashboard-plan-card.blue svg { color: var(--ofc-royal) !important; }
html body.workspace-active .dashboard-plan-card.blue .plan-icon { background: var(--ofc-royal-soft) !important; }
html body.workspace-active .dashboard-plan-card.purple { border-color: var(--ofc-teal-line) !important; }
html body.workspace-active .dashboard-plan-card.purple h3 { color: var(--ofc-navy) !important; }
html body.workspace-active .dashboard-plan-card.purple svg { color: var(--ofc-teal) !important; }
html body.workspace-active .dashboard-plan-card.purple .plan-icon { background: var(--ofc-teal-soft) !important; }
html body.workspace-active .dashboard-plan-card.purple .plan-icon svg { color: var(--ofc-navy) !important; }
html body.workspace-active .dashboard-plan-badge {
  background: var(--ofc-navy) !important;
  color: #fff !important;
  border: 0 !important;
  font-family: var(--ofc-ui) !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}
html body.workspace-active .dashboard-plan-card :is(li, p) { color: var(--ofc-text) !important; }
html body.workspace-active .dashboard-plan-card.vehicle-solution-card :is(li, p, span, small) { color: rgba(255, 255, 255, 0.86) !important; }
html body.workspace-active .dashboard-plan-card .ghost-action:not(.vehicle-solution-card *) {
  border: 1px solid var(--ofc-line-strong) !important;
  color: var(--ofc-navy) !important;
  background: #fff !important;
}
html body.workspace-active :is(.dashboard-tool-card, .dashboard-coming-card) {
  border-radius: 16px !important;
  border: 1px solid var(--ofc-line) !important;
  box-shadow: var(--ofc-shadow) !important;
}
html body.workspace-active .dashboard-tool-card.green svg { color: var(--ofc-teal) !important; }
html body.workspace-active .dashboard-tool-card.blue svg { color: var(--ofc-royal) !important; }
html body.workspace-active .dashboard-tool-card.orange svg { color: var(--ofc-navy) !important; }
html body.workspace-active .dashboard-tool-card h3,
html body.workspace-active .dashboard-coming-card :is(h3, strong) { color: var(--ofc-navy) !important; }

/* ---------- Ajustes finos ---------- */
html body.workspace-active .nav-group + .nav-group { margin-top: 14px !important; }
html body.workspace-active .dashboard-landing-offer-copy .dashboard-landing-eyebrow { color: var(--ofc-teal) !important; }

/* ---------- Ativacao da Venda: planos ---------- */
html body.workspace-active .sales-plan-card {
  --ofc-accent: var(--ofc-navy);
  --ofc-accent-ink: #fff;
  position: relative;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--ofc-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--ofc-shadow) !important;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
html body.workspace-active .sales-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--ofc-accent);
}
html body.workspace-active .sales-plan-card:not(.is-unavailable):hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(26, 36, 68, 0.35) !important; }
html body.workspace-active .sales-plan-card.green { --ofc-accent: var(--ofc-teal); --ofc-accent-ink: var(--ofc-navy); }
html body.workspace-active .sales-plan-card.blue { --ofc-accent: var(--ofc-royal); }
html body.workspace-active .sales-plan-card.purple { --ofc-accent: linear-gradient(90deg, var(--ofc-navy), var(--ofc-royal)); }
html body.workspace-active .sales-plan-card h2 { color: var(--ofc-navy) !important; font-weight: 800 !important; letter-spacing: -0.01em !important; }
html body.workspace-active .sales-plan-badge {
  background: var(--ofc-accent) !important;
  color: var(--ofc-accent-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding-inline: 12px !important;
  font-family: var(--ofc-ui) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
}
html body.workspace-active .sales-plan-card.navy .sales-plan-shield,
html body.workspace-active .sales-plan-card.navy .sales-plan-shield svg { color: var(--ofc-navy) !important; }
html body.workspace-active .sales-plan-card.green .sales-plan-shield,
html body.workspace-active .sales-plan-card.green .sales-plan-shield svg,
html body.workspace-active .sales-plan-card.green .sales-plan-benefits svg { color: var(--ofc-teal) !important; }
html body.workspace-active .sales-plan-card:is(.blue, .purple) .sales-plan-shield,
html body.workspace-active .sales-plan-card:is(.blue, .purple) .sales-plan-shield svg,
html body.workspace-active .sales-plan-card:is(.blue, .purple) .sales-plan-benefits svg { color: var(--ofc-royal) !important; }
html body.workspace-active .sales-plan-card.navy .sales-plan-benefits svg { color: var(--ofc-navy) !important; }
html body.workspace-active .sales-plan-description { color: var(--ofc-muted) !important; }
html body.workspace-active .sales-plan-benefits :is(b, span, li) { color: var(--ofc-text) !important; }
html body.workspace-active .sales-plan-price,
html body.workspace-active .sales-plan-price strong { color: var(--ofc-navy) !important; }
html body.workspace-active .sales-plan-price strong { font-family: var(--ofc-display) !important; font-weight: 800 !important; letter-spacing: -0.02em; }
html body.workspace-active .sales-plan-price span { color: var(--ofc-muted) !important; }
html body.workspace-active .sales-plan-activate {
  border-radius: 12px !important;
  font-family: var(--ofc-ui) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
}
html body.workspace-active .sales-plan-card.navy .sales-plan-activate { background: var(--ofc-navy) !important; border: 1px solid var(--ofc-navy) !important; color: #fff !important; }
html body.workspace-active .sales-plan-card.green .sales-plan-activate { background: var(--ofc-teal) !important; border: 1px solid var(--ofc-teal) !important; color: var(--ofc-navy) !important; }
html body.workspace-active .sales-plan-card :is(.sales-plan-activate) svg { color: currentColor !important; }
html body.workspace-active .sales-plan-card.is-unavailable .sales-plan-activate { background: var(--ofc-surface-2) !important; border: 1px solid var(--ofc-line) !important; color: var(--ofc-subtle) !important; }
html body.workspace-active .sales-plan-foot { background: var(--ofc-surface-2) !important; color: var(--ofc-text) !important; border-radius: 12px !important; }
html body.workspace-active .sale-draft-resume { background: var(--ofc-teal-soft) !important; border: 1px solid var(--ofc-teal-line) !important; border-radius: 16px !important; }

/* ---------- Respiro nas telas que encostavam no menu ---------- */
html body.workspace-active :is([data-view-panel="landingPagesGestao"], [data-view-panel="plans"]) {
  padding: 24px clamp(16px, 2.4vw, 32px) 40px !important;
}
html body.workspace-active .sales-plan-card.green .sales-plan-benefits li svg,
html body.workspace-active .sales-plan-card.green .sales-plan-foot svg { color: var(--ofc-teal) !important; }
