/* NFA Design System v1.3.0 — tokens e componentes usados na ficha.
   Fonte: claude/nfa-ds-v1.3 docs/design-system-nfa-v1.3/src (tokens.generated.css, button, badge-chip, card, table).
   Tokens em .dt-root e .nfa-ficha. Hero, métricas, abas e grafo só em .nfa-ficha.
*/
.dt-root,
.nfa-ficha {
  --nfa-white: #FFFFFF;
  --nfa-black: #000000;
  --nfa-ink: #1F2937;
  --nfa-gray-50: #F9FAFB;
  --nfa-gray-100: #F3F4F6;
  --nfa-gray-200: #E5E7EB;
  --nfa-gray-300: #9CA3AF;
  --nfa-gray-400: #868E9B;
  --nfa-gray-500: #6B7280;
  --nfa-gray-850: #1E1E21;
  --nfa-gray-900: #161618;
  --nfa-gray-950: #0A0A0A;
  --nfa-accent-500: #8E2D50;
  --nfa-accent-100: color-mix(in srgb, var(--nfa-accent-500) 15%, var(--nfa-white));
  --nfa-accent-200: color-mix(in srgb, var(--nfa-accent-500) 30%, var(--nfa-white));
  --nfa-accent-400: color-mix(in srgb, var(--nfa-accent-500) 40%, var(--nfa-accent-200));
  --nfa-accent-600: color-mix(in srgb, var(--nfa-accent-500) 84%, var(--nfa-gray-900));
  --nfa-accent-700: color-mix(in srgb, var(--nfa-accent-500) 74%, var(--nfa-black));
  --nfa-accent-900: color-mix(in srgb, var(--nfa-accent-500) 55%, var(--nfa-gray-900));
  --nfa-accent-950: color-mix(in srgb, var(--nfa-accent-500) 19%, var(--nfa-gray-900));
  --nfa-red: #C4382A;
  --nfa-red-soft: #F26969;
  --nfa-red-ink: #AE3023;
  --nfa-yellow: #EAB308;
  --nfa-yellow-ink: #8A5206;
  --nfa-lgreen: #10B981;
  --nfa-dgreen: #087A48;
  --nfa-blue: #2859B5;
  --nfa-blue-soft: #6CA1F8;
  --nfa-violet: #5C2D91;
  --nfa-font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nfa-font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --nfa-weight-regular: 400;
  --nfa-weight-medium: 500;
  --nfa-weight-semibold: 600;
  --nfa-weight-bold: 700;
  --nfa-fs-2xs: 0.6875rem;
  --nfa-fs-xs: 0.75rem;
  --nfa-fs-sm: 0.84375rem;
  --nfa-fs-md: 1rem;
  --nfa-fs-lg: 1.125rem;
  --nfa-fs-xl: 1.25rem;
  --nfa-fs-2xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --nfa-fs-3xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  --nfa-fs-4xl: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  --nfa-fs-5xl: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
  --nfa-fs-num: clamp(3.25rem, 2rem + 4.5vw, 5.25rem);
  --nfa-leading-snug: 1.25;
  --nfa-leading-normal: 1.5;
  --nfa-tracking-tight-3: -0.032em;
  --nfa-tracking-tight-2: -0.022em;
  --nfa-tracking-normal: 0em;
  --nfa-tracking-wide: 0.02em;
  --nfa-tracking-caps: 0.06em;
  --nfa-space-1: 0.25rem;
  --nfa-space-2: 0.5rem;
  --nfa-space-3: 0.75rem;
  --nfa-space-4: 1rem;
  --nfa-space-5: 1.25rem;
  --nfa-space-6: 1.5rem;
  --nfa-space-8: 2rem;
  --nfa-space-10: 2.5rem;
  --nfa-space-12: 3rem;
  --nfa-space-16: 4rem;
  --nfa-space-0-5: 0.125rem;
  --nfa-space-1-5: 0.375rem;
  --nfa-space-2-5: 0.625rem;
  --nfa-radius-xs: 6px;
  --nfa-radius-sm: 8px;
  --nfa-radius-md: 12px;
  --nfa-radius-lg: 16px;
  --nfa-radius-pill: 9999px;
  --nfa-shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --nfa-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --nfa-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --nfa-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
  --nfa-duration-fast: 150ms;
  --nfa-duration-spring: 450ms;
  --nfa-duration-base: 300ms;
  --nfa-duration-slow: 700ms;
  --nfa-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --nfa-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --nfa-ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nfa-ease-spring: linear(0, 0.071, 0.236, 0.435, 0.629, 0.793, 0.919, 1.006, 1.056, 1.08, 1.083, 1.074, 1.059, 1.042, 1.027, 1.014, 1.004, 0.998, 0.995, 0.993, 0.993, 0.994, 0.995, 0.997, 1);
  --nfa-ease-spring-bounce: linear(0, 0.141, 0.44, 0.75, 0.985, 1.119, 1.163, 1.145, 1.098, 1.047, 1.006, 0.982, 0.974, 0.976, 0.983, 0.991, 0.998, 1.003, 1.004, 1.004, 1.003, 1.002, 1, 1, 0.999, 0.999, 1);
  --nfa-z-sticky: 20;
  --nfa-z-fab: 40;
  --nfa-z-scrim: 45;
  --nfa-z-drawer: 50;
  --nfa-z-menu: 55;
  --nfa-z-toast: 70;
  --nfa-breakpoint-sm: 640px;
  --nfa-breakpoint-md: 768px;
  --nfa-breakpoint-lg: 1024px;
  --nfa-breakpoint-xl: 1280px;
  --nfa-surface-page: var(--nfa-gray-50);
  --nfa-surface-raised: var(--nfa-white);
  --nfa-surface-sunken: var(--nfa-gray-50);
  --nfa-surface-overlay: var(--nfa-white);
  --nfa-surface-hover: var(--nfa-gray-50);
  --nfa-surface-selected: var(--nfa-gray-200);
  --nfa-surface-strong: var(--nfa-ink);
  --nfa-surface-glass: rgb(255 255 255 / .08);
  --nfa-surface-scrim: rgb(0 0 0 / .30);
  --nfa-text-primary: var(--nfa-ink);
  --nfa-text-secondary: var(--nfa-gray-500);
  --nfa-text-on-strong: var(--nfa-white);
  --nfa-text-on-accent: var(--nfa-white);
  --nfa-text-on-fill: var(--nfa-ink);
  --nfa-text-accent: var(--nfa-accent-500);
  --nfa-text-positive: var(--nfa-dgreen);
  --nfa-text-negative: var(--nfa-red-ink);
  --nfa-text-warning: var(--nfa-yellow-ink);
  --nfa-text-on-accent-fill: var(--nfa-white);
  --nfa-border-subtle: var(--nfa-gray-200);
  --nfa-border-control: var(--nfa-gray-400);
  --nfa-border-strong: var(--nfa-ink);
  --nfa-accent-fill: var(--nfa-accent-500);
  --nfa-accent-tint: color-mix(in srgb, var(--nfa-accent-500) 8%, transparent);
  --nfa-gradient-brand: linear-gradient(90deg, var(--nfa-accent-500), var(--nfa-accent-700), var(--nfa-gray-950));
  --nfa-gradient-diag: linear-gradient(135deg, var(--nfa-accent-500), var(--nfa-accent-700), var(--nfa-gray-950));
  --nfa-gradient-action: linear-gradient(90deg, var(--nfa-accent-700), var(--nfa-accent-500));
  --nfa-gradient-text: linear-gradient(90deg, var(--nfa-white) 0%, var(--nfa-accent-100) 100%);
  --nfa-gradient-data: linear-gradient(90deg, var(--nfa-dgreen), var(--nfa-lgreen));
  --nfa-gradient-scrim: linear-gradient(rgb(0 0 0 / .22), rgb(0 0 0 / .22));
  --nfa-gradient-glow: radial-gradient(circle at 75% 25%, color-mix(in srgb, var(--nfa-accent-500) 60%, transparent), transparent 55%), radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--nfa-accent-700) 65%, transparent), transparent 55%);
  --nfa-gradient-orb: radial-gradient(circle, color-mix(in srgb, var(--nfa-accent-500) 55%, transparent) 0%, color-mix(in srgb, var(--nfa-accent-700) 25%, transparent) 40%, transparent 70%);
  --nfa-gradient-halo: radial-gradient(circle, color-mix(in srgb, var(--nfa-accent-500) 10%, transparent) 0%, color-mix(in srgb, var(--nfa-accent-700) 6%, transparent) 45%, transparent 70%);
  --nfa-gradient-corner: radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--nfa-accent-500) 35%, transparent), transparent 70%);
  --nfa-gradient-estimate: repeating-linear-gradient(45deg, var(--nfa-accent-500) 0 6px, var(--nfa-accent-400) 6px 12px);
  --nfa-status-ok-fg: var(--nfa-dgreen);
  --nfa-status-ok-bg: var(--nfa-lgreen);
  --nfa-status-ok-tint: rgb(16 185 129 / .12);
  --nfa-status-warn-fg: var(--nfa-yellow-ink);
  --nfa-status-warn-bg: var(--nfa-yellow);
  --nfa-status-warn-tint: rgb(234 179 8 / .12);
  --nfa-status-crit-fg: var(--nfa-red-ink);
  --nfa-status-crit-bg: var(--nfa-red);
  --nfa-status-crit-tint: rgb(196 56 42 / .12);
  --nfa-status-info-fg: var(--nfa-blue);
  --nfa-status-info-tint: rgb(47 104 197 / .12);
  --nfa-status-nodata-fg: var(--nfa-gray-500);
  --nfa-level-1-bg: var(--nfa-accent-100);
  --nfa-level-1-fg: var(--nfa-ink);
  --nfa-level-2-bg: var(--nfa-accent-200);
  --nfa-level-2-fg: var(--nfa-ink);
  --nfa-level-3-bg: var(--nfa-accent-400);
  --nfa-level-3-fg: var(--nfa-ink);
  --nfa-level-4-bg: var(--nfa-accent-500);
  --nfa-level-4-fg: var(--nfa-white);
  --nfa-level-5-bg: var(--nfa-accent-700);
  --nfa-level-5-fg: var(--nfa-white);
  --nfa-chart-series-1: var(--nfa-accent-500);
  --nfa-chart-series-2: #3B6FD4;
  --nfa-chart-series-3: #117733;
  --nfa-chart-series-4: #7A9A01;
  --nfa-chart-series-5: #C46A9B;
  --nfa-chart-series-6: #7B3294;
  --nfa-chart-baseline: var(--nfa-gray-400);
  --nfa-chart-current: var(--nfa-accent-500);
  --nfa-chart-target: var(--nfa-ink);
  --nfa-chart-benchmark: var(--nfa-gray-500);
  --nfa-chart-area: color-mix(in srgb, var(--nfa-accent-500) 12%, transparent);
  --nfa-chart-heat-0: var(--nfa-gray-100);
  --nfa-chart-heat-1: color-mix(in srgb, var(--nfa-accent-500) 12%, transparent);
  --nfa-chart-heat-2: color-mix(in srgb, var(--nfa-accent-500) 25%, transparent);
  --nfa-chart-heat-3: color-mix(in srgb, var(--nfa-accent-500) 40%, transparent);
  --nfa-chart-heat-ink: var(--nfa-ink);
  --nfa-chart-heat-4: var(--nfa-accent-500);
  --nfa-chart-heat-4-ink: var(--nfa-white);
  --nfa-focus-color: var(--nfa-accent-500);
  --nfa-type-display: var(--nfa-weight-bold) var(--nfa-fs-5xl)/1.04 var(--nfa-font-sans);
  --nfa-type-display-ls: var(--nfa-tracking-tight-3);
  --nfa-type-h1: var(--nfa-weight-bold) var(--nfa-fs-3xl)/1.1 var(--nfa-font-sans);
  --nfa-type-h1-ls: var(--nfa-tracking-tight-3);
  --nfa-type-h2: var(--nfa-weight-semibold) var(--nfa-fs-2xl)/1.2 var(--nfa-font-sans);
  --nfa-type-h2-ls: var(--nfa-tracking-tight-2);
  --nfa-type-h3: var(--nfa-weight-semibold) var(--nfa-fs-xl)/1.3 var(--nfa-font-sans);
  --nfa-type-h3-ls: var(--nfa-tracking-tight-2);
  --nfa-type-h4: var(--nfa-weight-semibold) var(--nfa-fs-lg)/1.35 var(--nfa-font-sans);
  --nfa-type-h4-ls: var(--nfa-tracking-tight-2);
  --nfa-type-body: var(--nfa-weight-regular) var(--nfa-fs-md)/1.6 var(--nfa-font-sans);
  --nfa-type-body-ls: var(--nfa-tracking-normal);
  --nfa-type-body-sm: var(--nfa-weight-regular) var(--nfa-fs-sm)/1.5 var(--nfa-font-sans);
  --nfa-type-body-sm-ls: var(--nfa-tracking-normal);
  --nfa-type-lead: var(--nfa-weight-regular) var(--nfa-fs-lg)/1.55 var(--nfa-font-sans);
  --nfa-type-lead-ls: var(--nfa-tracking-normal);
  --nfa-type-ui: var(--nfa-weight-medium) 1em/1.2 var(--nfa-font-sans);
  --nfa-type-ui-ls: var(--nfa-tracking-normal);
  --nfa-type-ui-strong: var(--nfa-weight-semibold) 1em/1.2 var(--nfa-font-sans);
  --nfa-type-ui-strong-ls: var(--nfa-tracking-normal);
  --nfa-type-num-display: var(--nfa-weight-semibold) var(--nfa-fs-num)/1 var(--nfa-font-sans);
  --nfa-type-num-display-ls: var(--nfa-tracking-tight-3);
  --nfa-type-label-mono: var(--nfa-weight-medium) 1em/1.2 var(--nfa-font-mono);
  --nfa-type-label-mono-ls: var(--nfa-tracking-caps);
  --nfa-prov-premissa-fg: var(--nfa-violet);
  --nfa-prov-premissa-tint: rgb(92 45 145 / .12);
  --nfa-ds-version: 1.3.0;
  --nfa-layout-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --nfa-control-h: 2.75rem;
  --nfa-control-h-sm: 2.25rem;
  --nfa-control-h-lg: 3.25rem;
  --nfa-card-pad: var(--nfa-space-6);
  --nfa-card-gap: var(--nfa-space-5);
  --nfa-table-row-py: var(--nfa-space-3);
  --nfa-sidebar-bg: var(--nfa-gray-950);
  --nfa-topbar-bg: rgb(255 255 255 / .92);
  --nfa-panel-pad: clamp(1.5rem, 0.9rem + 2.4vw, 2.5rem);
  --nfa-panel-bg: var(--nfa-gray-950);
  --nfa-panel-strong: var(--nfa-gray-900);
  --nfa-ring-track: rgb(31 41 55 / .08);
  --nfa-touch-min: 3rem;
}
/* button.css */
.dt-root .nfa-btn{
  --_bg: var(--nfa-surface-raised);
  --_fg: var(--nfa-text-primary);
  --_bd: var(--nfa-border-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nfa-space-2);
  min-block-size: var(--nfa-control-h);
  padding-inline: var(--nfa-space-4);
  border-radius: var(--nfa-radius-pill);
  border: 1px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  font-size: var(--nfa-fs-sm);
  max-inline-size: 100%;
  padding-block: var(--nfa-space-2);
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition:
    background-color var(--nfa-duration-fast) var(--nfa-ease-standard),
    transform var(--nfa-duration-fast) var(--nfa-ease-standard),
    filter var(--nfa-duration-fast) var(--nfa-ease-standard);
  --nfa-icon-size: 1rem;
}
.dt-root .nfa-btn:where(.is-hover){
  background: var(--nfa-surface-hover);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn:where(:hover){
    background: var(--nfa-surface-hover);
  }
}
.dt-root .nfa-btn:where(:active, .is-active){
  transform: translateY(1px);
}
.dt-root .nfa-btn:where(:disabled, [aria-disabled="true"]){
  opacity: 0.45;
  pointer-events: none;
}
.dt-root .nfa-btn--primary{
  --_bg: var(--nfa-gradient-action);
  --_fg: var(--nfa-text-on-accent);
  --_bd: transparent;
  background-image: var(--_bg);
  font-weight: var(--nfa-weight-semibold);
}
.dt-root .nfa-btn--primary:where(.is-hover){
  background-image: var(--nfa-gradient-action);
  filter: brightness(1.08);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn--primary:where(:hover){
    background-image: var(--nfa-gradient-action);
    filter: brightness(1.08);
  }
}
.dt-root .nfa-btn--dark{
  --_bg: var(--nfa-surface-strong);
  --_fg: var(--nfa-text-on-strong);
  --_bd: var(--nfa-surface-strong);
}
.dt-root .nfa-btn--dark:where(.is-hover){
  background: var(--nfa-surface-strong);
  filter: brightness(1.25);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn--dark:where(:hover){
    background: var(--nfa-surface-strong);
    filter: brightness(1.25);
  }
}
.dt-root .nfa-btn--outline{
  --_bg: transparent;
  --_bd: var(--nfa-border-strong);
}
.dt-root .nfa-btn--ghost{
  --_bg: transparent;
  --_bd: transparent;
}
.dt-root .nfa-btn--danger{
  --_bg: var(--nfa-status-crit-bg);
  --_fg: var(--nfa-text-on-accent);
  --_bd: var(--nfa-status-crit-bg);
}
.dt-root .nfa-btn--danger:where(.is-hover){
  background: var(--nfa-status-crit-bg);
  filter: brightness(1.1);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn--danger:where(:hover){
    background: var(--nfa-status-crit-bg);
    filter: brightness(1.1);
  }
}
.dt-root .nfa-btn--emergency{
  --_bg: var(--nfa-accent-700);
  --_fg: var(--nfa-white);
  --_bd: var(--nfa-accent-700);
  font-weight: var(--nfa-weight-semibold);
  letter-spacing: var(--nfa-tracking-wide);
}
.dt-root .nfa-btn--emergency:where(.is-hover){
  background: var(--nfa-accent-700);
  filter: brightness(1.15);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn--emergency:where(:hover){
    background: var(--nfa-accent-700);
    filter: brightness(1.15);
  }
}
.dt-root .nfa-btn--emergency:where(:focus-visible){
  outline: 3px solid var(--nfa-accent-700);
  outline-offset: 3px;
}
.dt-root .nfa-btn--link{
  --_bg: transparent;
  --_bd: transparent;
  --_fg: var(--nfa-text-accent);
  padding-inline: 0;
  min-block-size: auto;
  position: relative;
}
.dt-root .nfa-btn--link:where(.is-hover){
  background: transparent;
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-btn--link:where(:hover){
    background: transparent;
    text-decoration: underline;
  }
}
.dt-root .nfa-btn--sm{
  min-block-size: var(--nfa-control-h-sm);
  padding-inline: var(--nfa-space-3);
  font-size: var(--nfa-fs-xs);
}
.dt-root .nfa-btn--lg{
  min-block-size: var(--nfa-control-h-lg);
  padding-inline: var(--nfa-space-6);
  font-size: var(--nfa-fs-md);
}
.dt-root .nfa-btn--block{
  inline-size: 100%;
}
.dt-root .nfa-btn--icon{
  inline-size: var(--nfa-control-h);
  padding: 0;
  --nfa-icon-size: 1.125rem;
}
.dt-root .nfa-btn--icon:where(.nfa-btn--sm){
  inline-size: var(--nfa-control-h-sm);
}
.dt-root .nfa-btn--icon:where(.nfa-btn--lg){
  inline-size: var(--nfa-control-h-lg);
}

@media (pointer: coarse){
  .dt-root .nfa-btn--sm:where(:not(.nfa-btn--link)){
    position: relative;
  }
  .dt-root .nfa-btn--sm:where(:not(.nfa-btn--link))::after{
    content: "";
    position: absolute;
    inset-block: min(0px, calc((100% - 2.75rem) / 2));
    inset-inline: 0;
  }
}
.dt-root .nfa-btn:where([aria-busy="true"])::before{
  content: "";
  inline-size: 0.9em;
  block-size: 0.9em;
  border-radius: var(--nfa-radius-pill);
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  animation: nfa-spin var(--nfa-duration-slow) linear infinite;
}


.dt-root .nfa-icon-btn{
  position: relative;
  display: inline-grid;
  place-items: center;
  inline-size: var(--nfa-control-h);
  block-size: var(--nfa-control-h);
  border-radius: var(--nfa-radius-pill);
  color: var(--nfa-text-primary);
  --nfa-icon-size: 1.25rem;
}



.dt-root .nfa-fab{
  position: fixed;
  inset-block-end: calc(var(--nfa-space-6) + env(safe-area-inset-bottom));
  inset-inline-end: calc(var(--nfa-space-6) + env(safe-area-inset-right));
  z-index: var(--nfa-z-fab);
  display: inline-flex;
  max-inline-size: calc(100% - 2 * var(--nfa-space-4));
  text-align: start;
  align-items: center;
  gap: var(--nfa-space-2);
  min-block-size: 3.5rem;
  padding-inline: var(--nfa-space-5) var(--nfa-space-6);
  border-radius: var(--nfa-radius-pill);
  background-image: var(--nfa-gradient-action);
  color: var(--nfa-text-on-accent);
  font-size: var(--nfa-fs-lg);
  box-shadow: var(--nfa-shadow-lg);
  transition: transform var(--nfa-duration-fast) var(--nfa-ease-standard);
  --nfa-icon-size: 1.35rem;
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-fab:where(:hover){
    transform: scale(1.04);
  }
}
.dt-root .nfa-fab--static{
  position: static;
}
@media (max-width: 767.98px){
  .dt-root .nfa-fab{
    inset-block-end: calc(4.5rem + env(safe-area-inset-bottom));
  }
}


.dt-root .nfa-btn:where(:active, .is-active):where(
    :not(.nfa-btn--primary, .nfa-btn--dark, .nfa-btn--danger, .nfa-btn--emergency, .nfa-btn--link)
  ){
  background: color-mix(in srgb, var(--nfa-text-primary) 10%, transparent);
}
.dt-root .nfa-btn:where(.nfa-btn--primary, .nfa-btn--dark, .nfa-btn--danger, .nfa-btn--emergency):where(
    :active,
    .is-active
  ){
  filter: brightness(0.92);
}


.dt-root .nfa-fab > :where(span){
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-root .nfa-fab:where([data-display="wall"] *),.dt-root .nfa-topbar__actions:where([data-display="wall"] *){
  display: none;
}
/* badge-chip.css */
.dt-root .nfa-chip{
  --_bg: var(--nfa-surface-selected);
  --_fg: var(--nfa-text-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-1);
  min-block-size: 1.5rem;
  padding-inline: var(--nfa-space-2-5);
  border-radius: var(--nfa-radius-pill);
  background: var(--_bg);
  color: var(--_fg);
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-semibold);
  line-height: 1.1;
  white-space: nowrap;
  max-inline-size: 100%;
}
.dt-root .nfa-chip--strong{
  --_bg: var(--nfa-surface-strong);
  --_fg: var(--nfa-text-on-strong);
}
.dt-root :where(.nfa-chip){
  display: inline-flex;
  align-items: center;
  border-radius: var(--nfa-radius-pill);
  white-space: nowrap;
}
.dt-root .nfa-chip--dashed{
  --_bg: transparent;
  --_fg: var(--nfa-status-nodata-fg);
  border: 1px dashed currentColor;
  font-weight: var(--nfa-weight-medium);
}
.dt-root .nfa-chip--tint{
  --_bg: var(--nfa-accent-tint);
  --_fg: var(--nfa-text-accent);
}
.dt-root .nfa-chip--count{
  --_bg: var(--nfa-status-crit-bg);
  --_fg: var(--nfa-text-on-accent);
  min-inline-size: 1.25rem;
  min-block-size: 1.25rem;
  justify-content: center;
  padding-inline: var(--nfa-space-1-5);
  font-weight: var(--nfa-weight-bold);
  line-height: 1;
}
.dt-root .nfa-chip--dot{
  position: absolute;
  inset-block-start: calc(var(--nfa-space-1) * -1);
  inset-inline-end: calc(var(--nfa-space-1) * -1);
  min-inline-size: 1.05rem;
  min-block-size: 1.05rem;
  block-size: 1.05rem;
  padding-inline: var(--nfa-space-1);
  flex-shrink: 0;
  overflow: hidden;
}
.dt-root .nfa-chip--new{
  --_bg: var(--nfa-surface-glass);
  --_fg: inherit;
  padding-inline: var(--nfa-space-2);
  font-weight: var(--nfa-weight-medium);
}
.dt-root .nfa-chip--outline{
  --_bg: transparent;
  border: 1px solid var(--nfa-border-subtle);
  font-weight: var(--nfa-weight-medium);
}
.dt-root .nfa-chip--accent{
  white-space: normal;
  --_bg: var(--nfa-gradient-action);
  --_fg: var(--nfa-text-on-accent);
  background-image: var(--_bg);
  font-size: var(--nfa-fs-2xs);
  font-weight: var(--nfa-weight-medium);
}
.dt-root .nfa-chip--level-1{
  --_bg: var(--nfa-level-1-bg);
  --_fg: var(--nfa-level-1-fg);
}
.dt-root .nfa-chip--level-2{
  --_bg: var(--nfa-level-2-bg);
  --_fg: var(--nfa-level-2-fg);
}
.dt-root .nfa-chip--level-3{
  --_bg: var(--nfa-level-3-bg);
  --_fg: var(--nfa-level-3-fg);
}
.dt-root .nfa-chip--level-4{
  --_bg: var(--nfa-level-4-bg);
  --_fg: var(--nfa-level-4-fg);
}
.dt-root .nfa-chip--level-5{
  --_bg: var(--nfa-level-5-bg);
  --_fg: var(--nfa-level-5-fg);
}
.dt-root .nfa-chip:where([class*="nfa-chip--level-"])::before{
  font-family: var(--nfa-font-mono);
  font-weight: var(--nfa-weight-medium);
  font-variant-numeric: tabular-nums;
}
.dt-root .nfa-chip--level-1::before{
  content: "1" / "";
}
.dt-root .nfa-chip--level-2::before{
  content: "2" / "";
}
.dt-root .nfa-chip--level-3::before{
  content: "3" / "";
}
.dt-root .nfa-chip--level-4::before{
  content: "4" / "";
}
.dt-root .nfa-chip--level-5::before{
  content: "5" / "";
}
.dt-root .nfa-chip--ok::before,.dt-root .nfa-chip--warn::before,.dt-root .nfa-chip--crit::before,.dt-root .nfa-chip--info::before,.dt-root .nfa-chip--nodata::before,.dt-root .nfa-status::before{
  font-size: 0.8em;
  line-height: 1;
  speak: never;
}
.dt-root .nfa-chip--ok{
  --_bg: var(--nfa-status-ok-tint);
  --_fg: var(--nfa-status-ok-fg);
}
.dt-root .nfa-chip--ok::before{
  content: "●" / "";
}
.dt-root .nfa-chip--warn{
  --_bg: var(--nfa-status-warn-tint);
  --_fg: var(--nfa-status-warn-fg);
}
.dt-root .nfa-chip--warn::before{
  content: "▲" / "";
}
.dt-root .nfa-chip--crit{
  --_bg: var(--nfa-status-crit-tint);
  --_fg: var(--nfa-status-crit-fg);
}
.dt-root .nfa-chip--crit::before{
  content: "■" / "";
}
.dt-root .nfa-chip--info{
  --_bg: var(--nfa-status-info-tint);
  --_fg: var(--nfa-status-info-fg);
}
.dt-root .nfa-chip--info::before{
  content: "◆" / "";
}
.dt-root .nfa-chip--nodata{
  --_bg: transparent;
  --_fg: var(--nfa-status-nodata-fg);
  border: 1px dashed currentColor;
}
.dt-root .nfa-chip--nodata::before{
  content: "○" / "";
}
.dt-root .nfa-chip--prio-high{
  --_bg: var(--nfa-status-crit-tint);
  --_fg: var(--nfa-status-crit-fg);
}
.dt-root .nfa-chip--prio-medium{
  --_bg: var(--nfa-status-warn-tint);
  --_fg: var(--nfa-status-warn-fg);
}
.dt-root .nfa-chip--prio-low{
  --_bg: var(--nfa-status-info-tint);
  --_fg: var(--nfa-status-info-fg);
}
.dt-root .nfa-chip--effort{
  --_bg: var(--nfa-surface-selected);
  --_fg: var(--nfa-text-primary);
}
.dt-root .nfa-chip--due-overdue{
  --_bg: var(--nfa-status-crit-bg);
  --_fg: var(--nfa-text-on-accent);
}
.dt-root .nfa-chip--due-soon{
  --_bg: transparent;
  --_fg: var(--nfa-text-warning);
  padding-inline: 0;
}
.dt-root .nfa-chip--due-ok{
  --_bg: transparent;
  --_fg: var(--nfa-text-secondary);
  padding-inline: 0;
  font-weight: var(--nfa-weight-medium);
}
.dt-root .nfa-chip--done{
  --_bg: transparent;
  --_fg: var(--nfa-text-positive);
  padding-inline: 0;
}
.dt-root a.nfa-chip,.dt-root button.nfa-chip{
  min-block-size: var(--nfa-touch-min);
  cursor: pointer;
}
.dt-root .nfa-chip :where(.nfa-icon){
  --nfa-icon-size: 0.85rem;
}


.dt-root .nfa-avatar{
  display: inline-grid;
  place-items: center;
  inline-size: var(--nfa-avatar-size, 2.25rem);
  block-size: var(--nfa-avatar-size, 2.25rem);
  border-radius: var(--nfa-radius-pill);
  background-image: var(--nfa-gradient-diag);
  color: var(--nfa-text-on-accent);
  font-size: max(var(--nfa-fs-xs), calc(var(--nfa-avatar-size, 2.25rem) * 0.36));
  font-weight: var(--nfa-weight-bold);
  letter-spacing: var(--nfa-tracking-wide);
  flex-shrink: 0;
  overflow: hidden;
}
.dt-root .nfa-avatar--sm{
  --nfa-avatar-size: 1.75rem;
}
.dt-root .nfa-avatar--lg{
  --nfa-avatar-size: 3rem;
}
.dt-root .nfa-avatar--dark{
  background: var(--nfa-surface-strong);
  color: var(--nfa-text-on-strong);
}
.dt-root .nfa-avatar > img{
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}


.dt-root .nfa-live{
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-2);
  block-size: 1.75rem;
  padding-inline: var(--nfa-space-3);
  border-radius: var(--nfa-radius-pill);
  border: 1px solid var(--nfa-border-subtle);
  font-size: var(--nfa-fs-2xs);
  color: var(--nfa-text-secondary);
}
.dt-root .nfa-live::before{
  content: "";
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-lgreen);
  animation: nfa-core-pulse 3200ms ease-in-out infinite;
}
.dt-root .nfa-live:where([data-state="offline"])::before{
  background: var(--nfa-status-nodata-fg);
  animation: none;
}


.dt-root .nfa-pills{
  display: flex;
  flex-wrap: wrap;
  gap: var(--nfa-space-2);
}


.dt-root .nfa-pill{
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-1-5);
  min-block-size: var(--nfa-touch-min);
  padding-inline: var(--nfa-space-3);
  border-radius: var(--nfa-radius-pill);
  border: 1px solid var(--nfa-border-subtle);
  background: var(--nfa-surface-raised);
  color: var(--nfa-text-primary);
  font-size: var(--nfa-fs-sm);
  max-inline-size: 100%;
  padding-block: var(--nfa-space-1);
  text-align: start;
  --nfa-icon-size: 0.95rem;
  transition: background-color var(--nfa-duration-fast) var(--nfa-ease-standard);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-pill:where(:hover){
    border-color: var(--nfa-border-strong);
  }
}
.dt-root .nfa-pill:where([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"]){
  background: var(--nfa-accent-fill);
  border-color: var(--nfa-accent-fill);
  color: var(--nfa-text-on-accent-fill);
}
.dt-root .nfa-pill :where(.nfa-icon){
  color: var(--nfa-accent-fill);
}
.dt-root .nfa-pill:where([aria-pressed="true"]) :where(.nfa-icon){
  color: inherit;
}
.dt-root .nfa-pill__dot{
  inline-size: 0.6rem;
  block-size: 0.6rem;
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-dot, var(--nfa-accent-fill));
}
.dt-root .nfa-pill--legend:where([aria-pressed="true"]){
  background: var(--nfa-surface-raised);
  border-color: var(--nfa-border-strong);
  color: var(--nfa-text-primary);
}
.dt-root .nfa-pill--legend:where([aria-pressed="false"]){
  background: transparent;
  border-color: var(--nfa-border-subtle);
  color: var(--nfa-text-secondary);
}


.dt-root .nfa-sync{
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-1-5);
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-semibold);
  --nfa-icon-size: 0.9rem;
}
.dt-root .nfa-sync:where([data-state="pending"]) :where(.nfa-icon){
  animation: nfa-spin 1.2s linear infinite;
}


.dt-root .nfa-wordmark{
  display: inline-flex;
  flex-wrap: wrap;
  max-inline-size: 100%;
  align-items: center;
  gap: var(--nfa-space-3);
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.dt-root .nfa-wordmark__mark{
  display: inline-flex;
  align-items: baseline;
  font-family: var(--nfa-font-sans);
  font-weight: 800;
  font-size: var(--nfa-wordmark-size, 1.25rem);
  letter-spacing: -0.04em;
}
.dt-root .nfa-wordmark__br{
  font-family: var(--nfa-font-mono);
  font-weight: var(--nfa-weight-medium);
  color: var(--nfa-wordmark-br, var(--nfa-text-accent));
  padding-inline: calc(var(--nfa-space-1) * 0.25);
  letter-spacing: 0;
}
.dt-root .nfa-wordmark__div{
  inline-size: 1px;
  block-size: 1.25rem;
  background: var(--nfa-border-control);
}
.dt-root .nfa-wordmark__prod{
  min-inline-size: 0;
  overflow-wrap: anywhere;
  font-weight: var(--nfa-weight-bold);
  font-size: var(--nfa-fs-md);
  letter-spacing: var(--nfa-tracking-tight-2);
}


.dt-root :where(.nfa-chip){
  max-inline-size: 100%;
}
.dt-root .nfa-chip{
  white-space: normal;
  text-align: start;
}
.dt-root .nfa-chip:where(:not(:where(td, th) *)){
  overflow-wrap: anywhere;
}

.dt-root .nfa-chip:where([class*="nfa-chip--prov-"]){
  --_bg: var(--nfa-surface-selected);
  --_fg: var(--nfa-text-secondary);
  padding-block: var(--nfa-space-0-5);
  padding-inline: var(--nfa-space-2);
  min-block-size: 0;
  white-space: nowrap;
  font-family: var(--nfa-font-mono);
  font-weight: var(--nfa-weight-medium);
  font-size: var(--nfa-fs-xs);
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.dt-root .nfa-chip--prov-declarado{
  --_bg: var(--nfa-status-ok-tint);
  --_fg: var(--nfa-status-ok-fg);
}
.dt-root .nfa-chip--prov-pesquisa{
  --_bg: var(--nfa-status-info-tint);
  --_fg: var(--nfa-status-info-fg);
}
.dt-root .nfa-chip--prov-premissa{
  --_bg: var(--nfa-prov-premissa-tint);
  --_fg: var(--nfa-prov-premissa-fg);
}
.dt-root .nfa-chip--prov-aberto{
  --_bg: var(--nfa-status-crit-tint);
  --_fg: var(--nfa-status-crit-fg);
}

.dt-root .nfa-chip--trust{
  min-block-size: 0;
  white-space: nowrap;
  padding-block: var(--nfa-space-0-5);
  padding-inline: var(--nfa-space-1-5);
  border-radius: var(--nfa-radius-pill);
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-semibold);
  line-height: 1.2;
  vertical-align: middle;
  --_bg: var(--nfa-surface-selected);
  --_fg: var(--nfa-text-secondary);
  cursor: help;
}
.dt-root .nfa-chip--trust::before{
  font-size: 0.8em;
}
.dt-root .nfa-chip--trust:where([data-level="high"]){
  --_bg: var(--nfa-status-ok-tint);
  --_fg: var(--nfa-status-ok-fg);
}
.dt-root .nfa-chip--trust:where([data-level="high"])::before{
  content: "●" / "";
}
.dt-root .nfa-chip--trust:where([data-level="medium"]){
  --_bg: var(--nfa-status-warn-tint);
  --_fg: var(--nfa-status-warn-fg);
}
.dt-root .nfa-chip--trust:where([data-level="medium"])::before{
  content: "▲" / "";
}
.dt-root .nfa-chip--trust:where([data-level="low"]){
  --_bg: var(--nfa-status-crit-tint);
  --_fg: var(--nfa-status-crit-fg);
}
.dt-root .nfa-chip--trust:where([data-level="low"])::before{
  content: "■" / "";
}
.dt-root .nfa-chip--trust:where([data-level="none"]){
  --_bg: transparent;
  --_fg: var(--nfa-status-nodata-fg);
  border: 1px dashed currentColor;
}
.dt-root .nfa-chip--trust:where([data-level="none"])::before{
  content: "○" / "";
}
.dt-root .nfa-chip--trust:where([data-level="estimated"]){
  --_bg: transparent;
  --_fg: var(--nfa-text-accent);
  border: 1px dashed var(--nfa-accent-fill);
  font-family: var(--nfa-font-mono);
  font-weight: var(--nfa-weight-medium);
  letter-spacing: var(--nfa-tracking-caps);
  text-transform: uppercase;
}
/* card.css */
.dt-root .nfa-card{
  container: nfa-card / inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--nfa-space-4);
  padding: var(--nfa-card-pad);
  border-radius: var(--nfa-radius-md);
  border: 1px solid var(--nfa-border-subtle);
  background: var(--nfa-surface-raised);
  color: var(--nfa-text-primary);
  min-inline-size: 0;
}
.dt-root .nfa-card--dark{
  background: var(--nfa-panel-bg);
  border-color: transparent;
}
.dt-root .nfa-card--strong{
  background: var(--nfa-panel-strong);
  border-color: transparent;
}

.dt-root .nfa-card--sunken{
  background: var(--nfa-surface-sunken);
  border-color: transparent;
}
.dt-root .nfa-card--interactive{
  transition:
    transform var(--nfa-duration-fast) var(--nfa-ease-standard),
    box-shadow var(--nfa-duration-fast) var(--nfa-ease-standard);
  cursor: pointer;
  text-align: start;
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-card--interactive:where(:hover){
    transform: translateY(-2px);
    box-shadow: var(--nfa-shadow-md);
  }
}
.dt-root .nfa-card--dashed{
  border-style: dashed;
  border-color: var(--nfa-violet);
  background: transparent;
}
.dt-root .nfa-card--flush{
  padding: 0;
  overflow: hidden;
}
.dt-root .nfa-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nfa-space-3);
}
.dt-root .nfa-card__title{
  display: flex;
  align-items: center;
  gap: var(--nfa-space-2);
  font-size: var(--nfa-fs-xl);
  --nfa-icon-size: 1.25rem;
}
.dt-root .nfa-card__title :where(.nfa-icon){
  color: var(--nfa-accent-fill);
}
.dt-root .nfa-card__sub{
  font-size: var(--nfa-fs-sm);
  color: var(--nfa-text-secondary);
  margin-block-start: var(--nfa-space-1);
}
.dt-root .nfa-card__body{
  display: flex;
  flex-direction: column;
  gap: var(--nfa-space-3);
  min-inline-size: 0;
}
.dt-root .nfa-card__foot{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nfa-space-3);
  padding-block-start: var(--nfa-space-3);
  border-block-start: 1px solid var(--nfa-border-subtle);
}
.dt-root .nfa-card__action{
  font-size: var(--nfa-fs-sm);
  font-weight: var(--nfa-weight-semibold);
  color: var(--nfa-text-accent);
  text-decoration: none;
  white-space: nowrap;
}
@container nfa-card (max-width:15em){
  .nfa-card__action {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.dt-root .nfa-card__ai{
  display: grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-accent-tint);
  color: var(--nfa-accent-fill);
  --nfa-icon-size: 1rem;
}
.dt-root .nfa-card__head > :where(.nfa-card__action){
  flex: none;
}
@container nfa-card (max-width:15em){
  .nfa-card__head > :where(.nfa-card__action) {
    flex: 0 1 auto;
  }
}
/* breadcrumb.css */
.dt-root .nfa-breadcrumb{
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--nfa-space-2);
  min-inline-size: 0;
  font-size: var(--nfa-fs-sm);
  color: var(--nfa-text-secondary);
}
.dt-root .nfa-breadcrumb :where(a){
  display: inline-flex;
  align-items: center;
  min-block-size: var(--nfa-touch-min);
  padding-inline: var(--nfa-space-2);
  color: inherit;
  text-decoration: none;
}
.dt-root .nfa-breadcrumb :where(li:first-child > a){
  margin-inline-start: calc(var(--nfa-space-2) * -1);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-breadcrumb :where(a:hover){
    color: var(--nfa-text-primary);
  }
}
.dt-root .nfa-breadcrumb :where(li:not(:last-child))::after{
  content: "/" / "";
  margin-inline-start: var(--nfa-space-1);
  color: var(--nfa-border-control);
}
.dt-root .nfa-breadcrumb :where([aria-current="page"]){
  color: var(--nfa-text-primary);
  font-weight: var(--nfa-weight-semibold);
}
.dt-root .nfa-breadcrumb :where(ol){
  display: flex;
  flex-wrap: wrap;
  gap: var(--nfa-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.dt-root .nfa-breadcrumb :where(li){
  display: inline-flex;
  align-items: center;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
/* table.css */
.dt-root .nfa-table-wrap{
  overflow-x: auto;
  border-radius: var(--nfa-radius-md);
  border: 1px solid var(--nfa-border-subtle);
  background: var(--nfa-surface-raised);
}
.dt-root .nfa-table{
  inline-size: 100%;
  font-size: var(--nfa-fs-sm);
  line-height: var(--nfa-leading-normal);
}
.dt-root .nfa-table__caption{
  caption-side: top;
  padding-block: var(--nfa-space-2) var(--nfa-space-3);
  padding-inline: var(--nfa-space-4);
  text-align: start;
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-md);
  font-weight: var(--nfa-weight-semibold);
  color: var(--nfa-text-primary);
}
.dt-root .nfa-table__caption-sub{
  display: block;
  margin-block-start: var(--nfa-space-1);
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-regular);
  color: var(--nfa-text-secondary);
}
.dt-root .nfa-table :where(thead th, th[scope="col"]){
  position: sticky;
  inset-block-start: 0;
  padding: var(--nfa-space-3) var(--nfa-space-4);
  background: var(--nfa-surface-raised);
  border-block-end: 1px solid var(--nfa-border-subtle);
  text-align: start;
  font-size: var(--nfa-fs-2xs);
  color: var(--nfa-text-secondary);
  white-space: nowrap;
}
.dt-root .nfa-table :where(tbody th){
  text-align: start;
  font-weight: var(--nfa-weight-semibold);
}
.dt-root .nfa-table :where(td, tbody th){
  min-block-size: var(--nfa-touch-min);
  padding: var(--nfa-table-row-py) var(--nfa-space-4);
  border-block-end: 1px solid var(--nfa-border-subtle);
  vertical-align: middle;
}
.dt-root .nfa-table :where(tbody tr:last-child :is(td, th)){
  border-block-end: 0;
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-table :where(tbody tr:hover){
    background: var(--nfa-surface-hover);
  }
}
.dt-root .nfa-table :where(tbody tr[aria-selected="true"], tbody tr[data-selected]){
  background: var(--nfa-accent-tint);
}
.dt-root .nfa-table :where([data-num]){
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dt-root .nfa-table__sort{
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-1-5);
  min-block-size: var(--nfa-touch-min);
  margin-block: calc(var(--nfa-space-3) * -1);
  padding-block: var(--nfa-space-3);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
}
.dt-root .nfa-table__sort::after{
  content: "↕" / "";
  opacity: 0.45;
  font-size: 1.1em;
}
.dt-root .nfa-table__sort:where(th[aria-sort="ascending"] *, th[aria-sort="descending"] *){
  color: var(--nfa-text-primary);
}
.dt-root .nfa-table__sort:where(th[aria-sort="ascending"] *)::after{
  content: "↑" / "";
  opacity: 1;
}
.dt-root .nfa-table__sort:where(th[aria-sort="descending"] *)::after{
  content: "↓" / "";
  opacity: 1;
}
.dt-root .nfa-table__sort:where(:focus-visible){
  outline: 2px solid var(--nfa-focus-color);
  outline-offset: 2px;
  border-radius: var(--nfa-radius-xs);
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-table__sort:where(:hover){
    color: var(--nfa-text-primary);
  }
}

.dt-root .nfa-table :where(.nfa-table__select){
  inline-size: var(--nfa-touch-min);
  padding-inline: var(--nfa-space-3);
  text-align: center;
}
.dt-root .nfa-bulkbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nfa-space-2) var(--nfa-space-3);
  padding: var(--nfa-space-2) var(--nfa-space-4);
  border-radius: var(--nfa-radius-md);
  border: 1px solid var(--nfa-accent-fill);
  background: var(--nfa-accent-tint);
  color: var(--nfa-text-primary);
  font-size: var(--nfa-fs-sm);
  font-weight: var(--nfa-weight-semibold);
}
.dt-root .nfa-bulkbar:where([hidden]){
  display: none;
}
.dt-root .nfa-bulkbar__count{
  margin-inline-end: auto;
}
.dt-root .nfa-table__name{
  display: flex;
  align-items: center;
  gap: var(--nfa-space-2);
  font-weight: var(--nfa-weight-semibold);
  --nfa-icon-size: 1rem;
}
.dt-root .nfa-table__name :where(.nfa-icon){
  color: var(--nfa-status-crit-fg);
}
.dt-root .nfa-table--long :where(tbody tr){
  content-visibility: auto;
  contain-intrinsic-size: auto 3rem;
}
.dt-root .nfa-table-wrap:where(:has(> .nfa-table--long)){
  max-block-size: var(--nfa-table-max-h, 20rem);
  overflow: auto;
}
.dt-root .nfa-table-wrap:where(:has(> :is(.nfa-table--stack, .nfa-table--files))){
  container: nfa-table / inline-size;
}
@container (max-width:34rem){
  .nfa-table:where(.nfa-table--stack, .nfa-table--files) :where(thead) {
    display: none;
  }
  .nfa-table:where(.nfa-table--stack, .nfa-table--files) :where(tr) {
    display: grid;
    gap: var(--nfa-space-1);
    padding: var(--nfa-space-3) var(--nfa-space-4);
    border-block-end: 1px solid var(--nfa-border-subtle);
  }
  .nfa-table:where(.nfa-table--stack, .nfa-table--files) :where(td) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nfa-space-3);
    min-block-size: 0;
    padding: 0;
    border: 0;
    text-align: end;
  }
  .nfa-table:where(.nfa-table--stack, .nfa-table--files) :where(td)::before {
    content: attr(data-label);
    font-size: var(--nfa-fs-xs);
    color: var(--nfa-text-secondary);
    text-align: start;
  }
}
.dt-root .nfa-table-wrap:where(:has(> .nfa-table--flat)){
  border: 0;
  border-radius: 0;
  background: none;
}
.dt-root .nfa-table--flat{
  font-size: var(--nfa-fs-sm);
}
.dt-root .nfa-table--flat :where(.nfa-table__caption){
  padding-inline: 0;
}
.dt-root .nfa-table--flat :where(thead th, th[scope="col"]){
  position: static;
  padding-block: var(--nfa-space-1-5);
  padding-inline: 0 var(--nfa-space-2-5);
  background: none;
  color: var(--nfa-text-secondary);
  border-block-end: 1px solid var(--nfa-border-subtle);
}
.dt-root .nfa-table--flat :where(td, tbody th){
  min-block-size: 0;
  padding-block: var(--nfa-space-2);
  padding-inline: 0 var(--nfa-space-2-5);
  vertical-align: top;
}
@media (hover: hover) and (pointer: fine){
  .dt-root .nfa-table--flat :where(tbody tr:hover){
    background: none;
  }
}
.dt-root .nfa-table--flat :where([data-num]){
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Ficha: hero, métricas, abas e grafo. Tokens NFA, escopo .nfa-ficha. */
.nfa-ficha {
  color-scheme: light;
  background: var(--nfa-surface-page);
  color: var(--nfa-text-primary);
  font-family: var(--nfa-font-sans);
}
/* Cabeçalho da ficha (DS v1.3): eyebrow, título h1, meta, chips .nfa-chip, ações .nfa-btn e faixa de stats. */
.nfa-ficha .dt-hero {
  background: var(--nfa-surface-raised);
  padding: var(--nfa-space-5) var(--nfa-space-5) 0;
  border-bottom: 1px solid var(--nfa-border-subtle);
}
.nfa-ficha .dt-hero__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nfa-space-4) var(--nfa-space-6);
}
.nfa-ficha .dt-hero__id { flex: 1 1 22rem; min-inline-size: 0; }
.nfa-ficha .nfa-eyebrow {
  margin: 0 0 var(--nfa-space-1);
  font: var(--nfa-type-label-mono);
  font-size: var(--nfa-fs-2xs);
  letter-spacing: var(--nfa-type-label-mono-ls);
  text-transform: uppercase;
  color: var(--nfa-text-secondary);
}
.nfa-ficha .dt-hero__title,
.nfa-ficha .dt-hero__title-link {
  font: var(--nfa-type-h1);
  letter-spacing: var(--nfa-type-h1-ls);
  color: var(--nfa-text-primary);
  text-decoration: none;
}
.nfa-ficha .dt-hero__title { margin: 0 0 var(--nfa-space-1); overflow-wrap: anywhere; }
.nfa-ficha .dt-hero__title-link .ico { font-size: 0.55em; vertical-align: 0.15em; color: var(--nfa-text-secondary); }
.nfa-ficha .dt-hero__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nfa-space-1) var(--nfa-space-2);
  margin: 0 0 var(--nfa-space-3);
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-sm);
  color: var(--nfa-text-secondary);
}
.nfa-ficha .dt-hero__sub .sep { padding: 0; color: var(--nfa-gray-300); }
.nfa-ficha .dt-hero__cnpj { font-variant-numeric: tabular-nums; }
.nfa-ficha .dt-hero__sub-link { color: var(--nfa-text-secondary); text-decoration: none; }
.nfa-ficha .dt-hero__sub-link:hover { color: var(--nfa-text-accent); text-decoration: underline; }
.nfa-ficha .dt-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nfa-space-2);
  padding-block-end: var(--nfa-space-4);
}
.nfa-ficha .dt-hero__chips .nfa-chip { text-transform: capitalize; }
.nfa-ficha .dt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nfa-space-2);
  margin: 0;
}
.nfa-ficha .dt-hero__actions .nfa-btn { min-block-size: var(--nfa-control-h-sm); font-size: var(--nfa-fs-xs); }
.nfa-ficha .dt-hero__actions .ico { inline-size: 1rem; block-size: 1rem; }
.nfa-ficha .dt-hero .dt-metric-row {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  margin: 0 calc(-1 * var(--nfa-space-5));
  background: var(--nfa-surface-sunken);
  border-color: var(--nfa-border-subtle);
}
.nfa-ficha .nfa-stat {
  display: flex;
  flex-direction: column;
  gap: var(--nfa-space-1);
  padding: var(--nfa-space-3) var(--nfa-space-4);
  border-inline-end: 1px solid var(--nfa-border-subtle);
  min-inline-size: 0;
  /* Etapa 0 (v25.13.45): com o nfa-ds.css global, .nfa-stat ganharia fundo e raio de cartão. A faixa segue
     como está até a migração dos KPIs (Etapa 5 do plano). */
  background: none;
  border-radius: 0;
}
.nfa-ficha .nfa-stat:last-child { border-inline-end: 0; }
.nfa-ficha .nfa-stat__label {
  margin: 0;
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-2xs);
  font-weight: var(--nfa-weight-semibold);
  letter-spacing: var(--nfa-tracking-caps);
  text-transform: uppercase;
  color: var(--nfa-text-secondary);
}
.nfa-ficha .nfa-stat__value {
  font-family: var(--nfa-font-sans);
  font-size: var(--nfa-fs-xl);
  font-weight: var(--nfa-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--nfa-tracking-tight-2);
  font-variant-numeric: tabular-nums;
  color: var(--nfa-text-primary);
}
.nfa-ficha .nfa-stat__value.gold { color: var(--nfa-text-accent); }
.nfa-ficha .nfa-stat__value.high { color: var(--nfa-status-ok-fg); }
.nfa-ficha .nfa-stat__value.warn { color: var(--nfa-status-warn-fg); }
.nfa-ficha .nfa-stat__value.low { color: var(--nfa-status-crit-fg); }
.nfa-ficha .nfa-stat__value.is-missing {
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-medium);
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--nfa-text-secondary);
}
@media (max-width: 680px) {
  .nfa-ficha .dt-hero { padding: var(--nfa-space-4) var(--nfa-space-4) 0; }
  .nfa-ficha .dt-hero__id { flex: 0 0 auto; }
  .nfa-ficha .dt-hero__actions { justify-content: flex-start; inline-size: 100%; padding-block-end: var(--nfa-space-4); }
  .nfa-ficha .dt-hero .dt-metric-row { margin: 0 calc(-1 * var(--nfa-space-4)); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nfa-ficha .nfa-stat { padding: var(--nfa-space-2) var(--nfa-space-3); }
  .nfa-ficha .nfa-stat__value { font-size: var(--nfa-fs-md); }
}
.nfa-ficha > .tabs {
  background: var(--nfa-surface-raised);
  border-bottom: 1px solid var(--nfa-border-subtle);
}
.nfa-ficha > .tabs .tab {
  font-family: var(--nfa-font-sans);
  color: var(--nfa-text-secondary);
  background: transparent;
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
}
.nfa-ficha > .tabs .tab.is-active {
  color: var(--nfa-text-accent);
  background: var(--nfa-surface-raised);
  box-shadow: inset 0 -2px 0 var(--nfa-accent-500);
}
.nfa-ficha .dt-tab-body { background: var(--nfa-surface-page); }
.nfa-ficha .dt-sblock__h { color: var(--nfa-text-accent); }
.nfa-ficha .own-page { padding: var(--nfa-space-4); }
.nfa-ficha .nfa-inv button:focus-visible,
.nfa-ficha .nfa-inv input:focus-visible,
.nfa-ficha .nfa-inv a:focus-visible,
.nfa-ficha .nfa-btn:focus-visible,
.nfa-ficha .tab:focus-visible {
  outline: 2px solid var(--nfa-focus-color);
  outline-offset: 2px;
}

/* INTEL › Investimentos (DS v1.3): cabeçalho, filtros e ranking. Escopo .nfa-ficha .nfa-inv. */
.nfa-ficha .nfa-inv { padding: 0; }
.nfa-ficha .nfa-inv__hero { background: var(--nfa-surface-raised); padding: var(--nfa-space-6) var(--nfa-space-5) var(--nfa-space-5); border-bottom: 1px solid var(--nfa-border-subtle); }
.nfa-ficha .nfa-inv__title { font: var(--nfa-type-h1); letter-spacing: var(--nfa-type-h1-ls); margin: 0 0 var(--nfa-space-1); color: var(--nfa-text-primary); }
.nfa-ficha .nfa-inv__desc { margin: 0 0 var(--nfa-space-5); color: var(--nfa-text-secondary); font-size: var(--nfa-fs-sm); max-inline-size: 46rem; }
.nfa-ficha .nfa-inv__stats { display: grid; grid-template-columns: 8.5rem 11rem minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--nfa-border-subtle); }
.nfa-ficha .nfa-inv__stats > div { padding: var(--nfa-space-3) var(--nfa-space-4) 0 0; min-inline-size: 0; }
.nfa-ficha .nfa-inv__stats > div + div { padding-inline-start: var(--nfa-space-4); border-inline-start: 1px solid var(--nfa-border-subtle); }
.nfa-ficha .nfa-inv__stats dt { font: var(--nfa-type-label-mono); font-size: var(--nfa-fs-2xs); letter-spacing: var(--nfa-type-label-mono-ls); text-transform: uppercase; color: var(--nfa-text-secondary); }
.nfa-ficha .nfa-inv__stats dd { margin: var(--nfa-space-1) 0 0; font: var(--nfa-type-h3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfa-ficha .nfa-inv__stats dd small { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); margin-inline-start: var(--nfa-space-2); }
.nfa-ficha .nfa-inv__controls { display: flex; flex-wrap: wrap; align-items: end; gap: var(--nfa-space-3) var(--nfa-space-4); padding: var(--nfa-space-4) var(--nfa-space-5); }
.nfa-ficha .nfa-inv__search { display: flex; flex-direction: column; gap: var(--nfa-space-1); flex: 1 1 100%; }
.nfa-ficha .nfa-inv__search input { font: inherit; font-size: var(--nfa-fs-sm); inline-size: 100%; min-block-size: 2.5rem; padding: 0 var(--nfa-space-3); border: 1px solid var(--nfa-border-control); border-radius: var(--nfa-radius-sm); background: var(--nfa-surface-raised); color: var(--nfa-text-primary); }
.nfa-ficha .nfa-inv__chips { display: flex; flex-wrap: wrap; gap: var(--nfa-space-2); flex: 1 1 auto; }
.nfa-ficha .nfa-inv__chip { font: inherit; font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-semibold); min-block-size: 1.75rem; padding: 0 var(--nfa-space-3); border: 1px solid var(--nfa-border-control); border-radius: var(--nfa-radius-pill); background: var(--nfa-surface-raised); color: var(--nfa-text-primary); cursor: pointer; }
.nfa-ficha .nfa-inv__chip b { font-weight: var(--nfa-weight-medium); color: var(--nfa-text-secondary); margin-inline-start: var(--nfa-space-1); font-variant-numeric: tabular-nums; }
.nfa-ficha .nfa-inv__chip[aria-pressed="true"] { background: var(--nfa-surface-strong); color: var(--nfa-text-on-strong, #fff); border-color: var(--nfa-surface-strong); }
.nfa-ficha .nfa-inv__chip[aria-pressed="true"] b { color: inherit; opacity: .7; }
.nfa-ficha .nfa-inv__toggle { display: inline-flex; align-items: center; gap: var(--nfa-space-2); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); cursor: pointer; }
.nfa-ficha .nfa-inv__status { margin: 0; padding: 0 var(--nfa-space-5) var(--nfa-space-2); font: var(--nfa-type-label-mono); font-size: var(--nfa-fs-2xs); text-transform: uppercase; letter-spacing: var(--nfa-type-label-mono-ls); color: var(--nfa-text-secondary); }
.nfa-ficha .nfa-inv__list { list-style: none; margin: 0 var(--nfa-space-5); padding: 0; background: var(--nfa-surface-raised); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-md); overflow: hidden; }
.nfa-ficha .nfa-inv__row { display: grid; grid-template-columns: 2.25rem minmax(0, 1.2fr) 8rem minmax(0, 1.6fr); align-items: center; gap: var(--nfa-space-4); padding: var(--nfa-space-3) var(--nfa-space-4); }
.nfa-ficha .nfa-inv__row + .nfa-inv__row { border-top: 1px solid var(--nfa-border-subtle); }
.nfa-ficha .nfa-inv__row:hover { background: var(--nfa-surface-hover); }
.nfa-ficha .nfa-inv__row.is-generic { opacity: .65; }
.nfa-ficha .nfa-inv__rank { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-xs); color: var(--nfa-gray-300); font-variant-numeric: tabular-nums; }
.nfa-ficha .nfa-inv__who { display: flex; flex-direction: column; align-items: flex-start; gap: var(--nfa-space-1); min-inline-size: 0; }
.nfa-ficha .nfa-inv__name { all: unset; box-sizing: border-box; max-inline-size: 100%; font-weight: var(--nfa-weight-semibold); font-size: var(--nfa-fs-sm); color: var(--nfa-text-primary); cursor: pointer; overflow-wrap: anywhere; }
.nfa-ficha .nfa-inv__name:hover { color: var(--nfa-text-accent); text-decoration: underline; }
.nfa-ficha .nfa-inv__kind { --_bg: var(--nfa-surface-selected); font-size: var(--nfa-fs-2xs); min-block-size: 1.25rem; }
.nfa-ficha .nfa-inv__kind--fundo { --_bg: var(--nfa-accent-100); --_fg: var(--nfa-accent-700); }
.nfa-ficha .nfa-inv__kind--banco { --_bg: color-mix(in srgb, var(--nfa-blue) 12%, var(--nfa-white)); --_fg: var(--nfa-blue); }
.nfa-ficha .nfa-inv__kind--governo { --_bg: var(--nfa-status-ok-tint); --_fg: var(--nfa-dgreen); }
.nfa-ficha .nfa-inv__kind--pessoa { --_bg: color-mix(in srgb, var(--nfa-violet) 12%, var(--nfa-white)); --_fg: var(--nfa-violet); }
.nfa-ficha .nfa-inv__count { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: var(--nfa-space-2); }
.nfa-ficha .nfa-inv__count b { font: var(--nfa-type-h3); font-variant-numeric: tabular-nums; }
.nfa-ficha .nfa-inv__count span { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); text-transform: uppercase; color: var(--nfa-text-secondary); }
.nfa-ficha .nfa-inv__bar { grid-column: 1 / -1; display: block; block-size: 3px; margin-top: var(--nfa-space-1); border-radius: 2px; background: linear-gradient(90deg, var(--nfa-accent-500) var(--w), var(--nfa-gray-200) var(--w)); }
.nfa-ficha .nfa-inv__cos { display: flex; flex-wrap: wrap; gap: var(--nfa-space-1) var(--nfa-space-2); min-inline-size: 0; font-size: var(--nfa-fs-xs); }
.nfa-ficha .nfa-inv__cos a { color: var(--nfa-text-primary); text-decoration: none; padding: 2px var(--nfa-space-2); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-pill); max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfa-ficha .nfa-inv__cos a:hover { border-color: var(--nfa-accent-500); color: var(--nfa-text-accent); }
.nfa-ficha .nfa-inv__rest { color: var(--nfa-text-secondary); font-family: var(--nfa-font-mono); align-self: center; }
.nfa-ficha .nfa-inv__more { display: flex; justify-content: center; padding: var(--nfa-space-4); }
.nfa-ficha .nfa-inv .own-status { padding: var(--nfa-space-5); }
.nfa-ficha .nfa-inv .own-mount { padding: 0 var(--nfa-space-5) var(--nfa-space-5); }
@media (max-width: 720px) {
  .nfa-ficha .nfa-inv__hero { padding: var(--nfa-space-5) var(--nfa-space-4) var(--nfa-space-4); }
  .nfa-ficha .nfa-inv__stats { grid-template-columns: 1fr 1fr; }
  .nfa-ficha .nfa-inv__stat-wide dd { white-space: normal; }
  .nfa-ficha .nfa-inv__stat-wide { grid-column: 1 / -1; border-inline-start: 0 !important; padding-inline-start: 0 !important; border-top: 1px solid var(--nfa-border-subtle); margin-top: var(--nfa-space-3); }
  .nfa-ficha .nfa-inv__controls { padding: var(--nfa-space-3) var(--nfa-space-4); }
  .nfa-ficha .nfa-inv__status { padding-inline: var(--nfa-space-4); }
  .nfa-ficha .nfa-inv__list { margin-inline: var(--nfa-space-4); }
  .nfa-ficha .nfa-inv__row { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: var(--nfa-space-2) var(--nfa-space-3); }
  .nfa-ficha .nfa-inv__count { grid-column: 3; grid-row: 1; justify-items: end; text-align: right; }
  .nfa-ficha .nfa-inv__cos { grid-column: 2 / -1; }
}

/* Grafo de participação — NFA DS v1.3, padrão orbit (halo, trilha tracejada, núcleo em degradê diagonal,
   nome em pílula) + nfa-bar no ranking. Só tokens --nfa-*. */
.nfa-ficha .own-graph {
  container: own-graph / inline-size;
  display: flex;
  flex-direction: column;
  gap: var(--nfa-space-4);
  font-family: var(--nfa-font-sans);
  color: var(--nfa-text-primary);
}
.nfa-ficha .own-graph__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nfa-space-3) var(--nfa-space-4);
}
.nfa-ficha .own-graph__head { display: flex; flex-direction: column; gap: var(--nfa-space-0-5); min-inline-size: 0; flex: 1 1 14rem; }
.nfa-ficha .own-graph__eyebrow {
  font: var(--nfa-type-label-mono);
  font-size: var(--nfa-fs-2xs);
  letter-spacing: var(--nfa-tracking-caps);
  text-transform: uppercase;
  color: var(--nfa-text-accent);
}
.nfa-ficha .own-graph__title {
  margin: 0;
  font: var(--nfa-type-h3);
  letter-spacing: var(--nfa-type-h3-ls);
  overflow-wrap: anywhere;
}
.nfa-ficha .own-graph__meta { font-size: var(--nfa-fs-sm); color: var(--nfa-text-secondary); }
.nfa-ficha .own-graph__back,
.nfa-ficha .own-graph__more {
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-1-5);
  font: var(--nfa-type-ui);
  font-size: var(--nfa-fs-sm);
  min-block-size: var(--nfa-control-h-sm);
  padding-inline: var(--nfa-space-3);
  border: 1px solid var(--nfa-border-subtle);
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-surface-raised);
  color: var(--nfa-text-primary);
  cursor: pointer;
  transition: border-color var(--nfa-duration-fast) var(--nfa-ease-standard), background var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.nfa-ficha .own-graph__back:not(:disabled):hover,
.nfa-ficha .own-graph__more:hover { border-color: var(--nfa-accent-fill); color: var(--nfa-text-accent); }
.nfa-ficha .own-graph__back:disabled { color: var(--nfa-text-secondary); opacity: .55; cursor: default; }
.nfa-ficha .own-graph__more { align-self: flex-start; border-style: dashed; }

/* Dados conflitantes, balde "sem %" e CTAs de investidor (IMP-GRUPO-ECONOMICO-GRAFO / IMP-CAPTABLE-INSERIR-INVESTIDOR) */
.nfa-ficha .own-graph__warn { align-self: flex-start; margin-block-start: var(--nfa-space-1); }
.nfa-ficha .own-graph__side > .own-graph__warn { margin-block: 0 var(--nfa-space-1); }
.nfa-ficha .own-graph__item { display: flex; flex-direction: column; gap: var(--nfa-space-1); align-items: flex-start; }
.nfa-ficha .own-graph__item > .own-graph__row { align-self: stretch; }
.nfa-ficha .own-graph__eyebrow--nopct { margin-block-start: var(--nfa-space-3); }
.nfa-ficha .own-graph__row--static { cursor: default; grid-template-areas: "sw name val"; }
.nfa-ficha .own-graph__row--static:hover { background: transparent; border-color: transparent; }
.nfa-ficha .own-graph__row-value--none { color: var(--nfa-text-secondary); font-style: italic; }
.nfa-ficha .own-graph__cta {
  margin-inline-start: var(--nfa-space-3);
  padding: var(--nfa-space-1) var(--nfa-space-3);
  border: 1px dashed var(--nfa-border-subtle);
  border-radius: var(--nfa-radius-pill);
  background: transparent;
  color: var(--nfa-text-accent);
  font: inherit;
  font-size: var(--nfa-fs-xs, var(--nfa-fs-sm));
  cursor: pointer;
}
.nfa-ficha .own-graph__cta:hover:not(:disabled) { border-color: var(--nfa-accent-fill); }
.nfa-ficha .own-graph__cta:focus-visible { outline: 2px solid var(--nfa-focus-color); outline-offset: 2px; }
.nfa-ficha .own-graph__cta:disabled { opacity: .6; cursor: default; }
.nfa-ficha .own-graph__cta--primary { border-style: solid; background: var(--nfa-accent-fill); color: var(--nfa-text-on-accent, #fff); }

/* Toggle "Esconder baldes" como switch do DS */
.nfa-ficha .own-graph__buckets {
  display: inline-flex;
  align-items: center;
  gap: var(--nfa-space-2);
  font-size: var(--nfa-fs-sm);
  color: var(--nfa-text-secondary);
  cursor: pointer;
}
.nfa-ficha .own-graph__buckets input {
  appearance: none;
  inline-size: 2.25rem;
  block-size: 1.25rem;
  margin: 0;
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-surface-selected);
  position: relative;
  cursor: pointer;
  transition: background var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.nfa-ficha .own-graph__buckets input::after {
  content: "";
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  inline-size: calc(1.25rem - 4px);
  block-size: calc(1.25rem - 4px);
  border-radius: var(--nfa-radius-pill);
  background: var(--nfa-surface-raised);
  box-shadow: var(--nfa-shadow-md);
  transition: translate var(--nfa-duration-base) var(--nfa-ease-spring);
}
.nfa-ficha .own-graph__buckets input:checked { background: var(--nfa-accent-fill); }
.nfa-ficha .own-graph__buckets input:checked::after { translate: 1rem 0; }

/* Palco: grafo + ranking lado a lado quando cabe */
.nfa-ficha .own-graph__stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nfa-space-4); }
@container own-graph (min-width: 52rem) {
  .nfa-ficha .own-graph__stage { grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); align-items: start; }
  .nfa-ficha .own-graph__list { max-block-size: 34rem; overflow-y: auto; scrollbar-width: thin; padding-inline-end: var(--nfa-space-1); }
}
.nfa-ficha .own-graph__canvas {
  display: flex;
  flex-direction: column;
  gap: var(--nfa-space-3);
  padding: var(--nfa-space-4);
  border: 1px solid var(--nfa-border-subtle);
  border-radius: var(--nfa-radius-lg);
  background: var(--nfa-surface-raised);
  min-inline-size: 0;
}
.nfa-ficha .own-graph__svgwrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  display: flex;
}
.nfa-ficha .own-graph__svg {
  display: block;
  margin-inline: auto;
  inline-size: 100%;
  max-inline-size: calc(var(--own-w, 40rem) * 1.2);
  min-inline-size: min(calc(var(--own-w, 40rem) * .82), 36rem);
  block-size: auto;
  overflow: visible;
  font-family: var(--nfa-font-sans);
}
.nfa-ficha .own-graph__stop-a { stop-color: var(--nfa-accent-500); }
.nfa-ficha .own-graph__stop-b { stop-color: var(--nfa-accent-700); }
.nfa-ficha .own-graph__stop-c { stop-color: var(--nfa-gray-950); }
.nfa-ficha .own-graph__halo-a { stop-color: var(--nfa-accent-500); stop-opacity: .10; }
.nfa-ficha .own-graph__halo-b { stop-color: var(--nfa-accent-500); stop-opacity: 0; }
.nfa-ficha .own-graph__halo { fill: url(#ownGraphHalo); pointer-events: none; }
.nfa-ficha .own-graph__track { pointer-events: none; fill: none; stroke: var(--nfa-border-subtle); stroke-width: 1.5; stroke-dasharray: 4 6; }
.nfa-ficha .own-graph__center { fill: url(#ownGraphCore); }
.nfa-ficha .own-graph__core { filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--nfa-accent-500) 35%, transparent)); }
.nfa-ficha .own-graph__center-label {
  fill: var(--nfa-text-on-accent);
  font-size: 13px;
  font-weight: var(--nfa-weight-bold);
  letter-spacing: var(--nfa-tracking-tight-2);
  text-anchor: middle;
}
.nfa-ficha .own-graph__center-kicker {
  fill: var(--nfa-accent-100);
  font-family: var(--nfa-font-mono);
  font-size: 8.5px;
  font-weight: var(--nfa-weight-medium);
  letter-spacing: var(--nfa-tracking-caps);
  text-anchor: middle;
}

/* Nós */
.nfa-ficha .own-graph__node { cursor: pointer; outline: none; transition: opacity var(--nfa-duration-base) var(--nfa-ease-standard); }
.nfa-ficha .own-graph__edge {
  stroke: var(--nfa-accent-fill);
  stroke-opacity: .28;
  stroke-linecap: round;
  pointer-events: none;
  transition: stroke-opacity var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.nfa-ficha .own-graph__node--balde .own-graph__edge { stroke: var(--nfa-status-nodata-fg); stroke-dasharray: .03 .025; }
.nfa-ficha .own-graph__pop { transform-box: fill-box; transform-origin: center; transition: transform var(--nfa-duration-spring) var(--nfa-ease-spring-bounce); }
.nfa-ficha .own-graph__body { stroke-width: 1.5; }
.nfa-ficha .own-graph__shape--empresa { fill: var(--nfa-surface-strong); stroke: var(--nfa-surface-strong); }
.nfa-ficha .own-graph__shape--fundo { fill: var(--nfa-accent-fill); stroke: var(--nfa-accent-700); }
.nfa-ficha .own-graph__shape--pessoa { fill: var(--nfa-accent-100); stroke: var(--nfa-accent-fill); }
.nfa-ficha .own-graph__shape--balde { fill: var(--nfa-surface-raised); stroke: var(--nfa-status-nodata-fg); stroke-dasharray: 3 3; }
.nfa-ficha .own-graph__initials {
  font-size: 10px;
  font-weight: var(--nfa-weight-bold);
  letter-spacing: var(--nfa-tracking-wide);
  text-anchor: middle;
  pointer-events: none;
  fill: var(--nfa-text-on-accent);
}
.nfa-ficha .own-graph__node--pessoa .own-graph__initials { fill: var(--nfa-accent-700); }
.nfa-ficha .own-graph__node--balde .own-graph__initials { fill: var(--nfa-text-secondary); }
.nfa-ficha .own-graph__pill {
  fill: var(--nfa-surface-raised);
  stroke: var(--nfa-border-subtle);
  transition: stroke var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.nfa-ficha .own-graph__node-label {
  font-size: 12px;
  font-weight: var(--nfa-weight-medium);
  fill: var(--nfa-text-primary);
  text-anchor: middle;
}
.nfa-ficha .own-graph__stake {
  font-family: var(--nfa-font-mono);
  font-size: 11px;
  font-weight: var(--nfa-weight-medium);
  font-variant-numeric: tabular-nums;
  fill: var(--nfa-text-accent);
  text-anchor: middle;
}
.nfa-ficha .own-graph__ring { fill: none; stroke: var(--nfa-focus-color); stroke-width: 2; opacity: 0; }

/* Hover, foco e realce vindo da lista: o nó cresce, aresta acende, o resto recua */
.nfa-ficha .own-graph__node:is(:hover, :focus-visible, [data-hot]) .own-graph__edge { stroke-opacity: .85; }
.nfa-ficha .own-graph__node:is(:hover, :focus-visible, [data-hot]) .own-graph__pill { stroke: var(--nfa-accent-fill); }
.nfa-ficha .own-graph__node:is(:hover, :focus-visible, [data-hot]) .own-graph__pop { transform: scale(1.12); }
.nfa-ficha .own-graph__node:focus-visible .own-graph__ring { opacity: 1; }
.nfa-ficha .own-graph__svg:has(.own-graph__node:is(:hover, :focus-visible, [data-hot])) .own-graph__node:not(:hover, :focus-visible, [data-hot]) { opacity: .4; }

/* Entrada: arestas desenham do núcleo para fora, nós entram em sequência */
@media (prefers-reduced-motion: no-preference) {
  .nfa-ficha .own-graph__edge { stroke-dasharray: 1; animation: own-graph-draw var(--nfa-duration-slow) var(--nfa-ease-emphasized) both; animation-delay: calc(var(--i, 0) * 40ms); }
  .nfa-ficha .own-graph__node--balde .own-graph__edge { stroke-dasharray: .03 .025; animation: none; }
  .nfa-ficha .own-graph__node { animation: own-graph-in var(--nfa-duration-base) var(--nfa-ease-out) backwards; animation-delay: calc(120ms + var(--i, 0) * 40ms); }
}
@keyframes own-graph-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes own-graph-in { from { opacity: 0; } to { opacity: 1; } }

/* Legenda (nfa-orbit__legend) */
.nfa-ficha .own-graph__legend {
  list-style: none;
  margin: 0;
  padding: var(--nfa-space-3) 0 0;
  border-block-start: 1px solid var(--nfa-border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--nfa-space-2) var(--nfa-space-4);
  font-size: var(--nfa-fs-xs);
  color: var(--nfa-text-secondary);
}
.nfa-ficha .own-graph__legend li { display: inline-flex; align-items: center; gap: var(--nfa-space-1-5); }

/* Ranking (nfa-bar) */
.nfa-ficha .own-graph__side { display: flex; flex-direction: column; gap: var(--nfa-space-2); min-inline-size: 0; }
.nfa-ficha .own-graph__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--nfa-space-1); }
.nfa-ficha .own-graph__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "sw name val" "track track track";
  align-items: center;
  gap: var(--nfa-space-1-5) var(--nfa-space-2);
  inline-size: 100%;
  padding: var(--nfa-space-2) var(--nfa-space-3);
  border: 1px solid transparent;
  border-radius: var(--nfa-radius-md);
  background: transparent;
  color: var(--nfa-text-primary);
  font: inherit;
  font-size: var(--nfa-fs-sm);
  text-align: start;
  cursor: pointer;
  transition: background var(--nfa-duration-fast) var(--nfa-ease-standard), border-color var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.nfa-ficha .own-graph__row:hover { background: var(--nfa-surface-raised); border-color: var(--nfa-border-subtle); }
.nfa-ficha .own-graph__row:focus-visible,
.nfa-ficha .own-graph__back:focus-visible,
.nfa-ficha .own-graph__more:focus-visible,
.nfa-ficha .own-graph__buckets input:focus-visible { outline: 2px solid var(--nfa-focus-color); outline-offset: 2px; }
.nfa-ficha .own-graph__swatch { grid-area: sw; }
.nfa-ficha .own-graph__row-name { grid-area: name; font-weight: var(--nfa-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfa-ficha .own-graph__row-value { grid-area: val; font-family: var(--nfa-font-mono); font-weight: var(--nfa-weight-medium); font-variant-numeric: tabular-nums; color: var(--nfa-text-accent); }
.nfa-ficha .own-graph__row-track { grid-area: track; block-size: .375rem; border-radius: var(--nfa-radius-pill); background: var(--nfa-surface-selected); overflow: hidden; }
.nfa-ficha .own-graph__row-fill {
  display: block;
  block-size: 100%;
  inline-size: calc(var(--value, 0) * 1%);
  border-radius: inherit;
  background-image: var(--nfa-gradient-brand);
  transition: inline-size var(--nfa-duration-slow) var(--nfa-ease-emphasized);
}
.nfa-ficha .own-graph__row.own-graph__node--balde .own-graph__row-fill { background: var(--nfa-status-nodata-fg); }

/* Vazio: "não coletado" como no resto da ficha */
.nfa-ficha .own-graph__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nfa-space-2);
  padding: var(--nfa-space-10) var(--nfa-space-4);
  text-align: center;
  color: var(--nfa-text-secondary);
  font-size: var(--nfa-fs-sm);
}
.nfa-ficha .own-graph__empty p { margin: 0; }
.nfa-ficha .own-graph__loading { color: var(--nfa-text-secondary); font-size: var(--nfa-fs-sm); }

@media (max-width: 720px) {
  .nfa-ficha .dt-hero__main { flex-direction: column; align-items: stretch; }
  .nfa-ficha .dt-hero__side { justify-content: flex-start; }
  .nfa-ficha .dt-metric-row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .nfa-ficha .own-graph__canvas { padding: var(--nfa-space-3); }
}

/* Vão entre o trilho e a ficha: .sc-container (20px) + .sc-page-shell (20-24px) somavam ~44px.
   Só a ficha: o shell zera o padding e cancela o do container, e o hero ocupa a largura útil. */
#detailTempView.sc-page-shell { padding-inline: 0; }
@media (min-width: 881px) {
  body.has-app-rail #detailTempView.sc-page-shell { margin-inline: -20px; }
}

/* Listas longas (js/lib/long-list.js): chips ou grade em colunas, com "ver todas (N)". */
.nfa-ficha .dt-ll { display: flex; flex-direction: column; align-items: flex-start; gap: var(--nfa-space-2); min-inline-size: 0; max-inline-size: 100%; }
.nfa-ficha .dt-ll__list { list-style: none; margin: 0; padding: 0; inline-size: 100%; }
.nfa-ficha .dt-ll__item[hidden] { display: none; }
.nfa-ficha .dt-ll--chips .dt-ll__list { display: flex; flex-wrap: wrap; gap: var(--nfa-space-2); }
.nfa-ficha .dt-ll--chips .nfa-chip { font-variant-numeric: tabular-nums; }
.nfa-ficha .dt-ll--grid .dt-ll__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: var(--nfa-space-1) var(--nfa-space-4);
  font-size: var(--nfa-fs-xs);
}
.nfa-ficha .dt-ll__toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: var(--nfa-space-1) 0;
  min-block-size: 1.75rem;
  font: inherit;
  font-size: var(--nfa-fs-xs);
  font-weight: var(--nfa-weight-semibold);
  color: var(--nfa-text-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.nfa-ficha .dt-ll__toggle:focus-visible { outline: 2px solid var(--nfa-focus-color); outline-offset: 2px; border-radius: var(--nfa-radius-sm, 4px); }
.nfa-ficha .dt-kv .dt-ll { gap: var(--nfa-space-1); }
.nfa-ficha .dt-grp .dt-list-sm { max-block-size: 16rem; overflow: auto; }

/* Bandeja de log de agentes no rodapé da ficha: reserva o espaço pra não cobrir o fim da página. */
body:has(.mt-log-tray.is-collapsed) #detailTempView { padding-block-end: 32px; }
body:has(.mt-log-tray.is-expanded) #detailTempView { padding-block-end: 360px; }
.nfa-ficha .nfa-inv [hidden] { display: none !important; }

/* PERF-FICHA-LOADING v25.13.44: loading da ficha no NFA DS v1.3.0 (c-states: .nfa-skeleton + aria-busy + texto sr-only).
   Cópia literal de nfa-ds.css (skeleton, nfa-shimmer, nfa-u-sr-only), escopada em .nfa-ficha como o resto deste arquivo. */
.nfa-ficha .nfa-u-sr-only {
  position: absolute !important; inline-size: 1px !important; block-size: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.nfa-ficha .nfa-skeleton {
  display: block;
  block-size: var(--h, 1rem);
  inline-size: var(--w, 100%);
  border-radius: var(--nfa-radius-sm);
  background: linear-gradient(90deg, var(--nfa-surface-selected) 25%, var(--nfa-surface-sunken) 50%, var(--nfa-surface-selected) 75%);
  background-size: 200% 100%;
  animation: nfa-shimmer 1.4s ease-in-out infinite;
}
@keyframes nfa-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .nfa-ficha .nfa-skeleton { animation: none !important; } }
.nfa-ficha .dt-pending { display: grid; gap: var(--nfa-space-3); padding: var(--nfa-space-6) 0; }
.nfa-ficha.dt-loading .dt-hero__id { display: grid; gap: var(--nfa-space-2); padding-block-end: var(--nfa-space-4); }
.nfa-ficha.dt-loading .nfa-stat .nfa-skeleton { margin-block-start: var(--nfa-space-1); }
.nfa-ficha.dt-loading .tabs .tab[disabled] { cursor: default; }

/* Etapa 6 (v25.13.49): cabeçalho de tabela da ficha em mono caps como o .nfa-table do DS (a cópia escopada
   não trazia essa regra) e linhas na densidade do Scout (8px em vez de 12px). */
.nfa-ficha { --nfa-table-row-py: var(--nfa-space-2); }
.dt-root .nfa-table :where(thead th, th[scope="col"]) {
  font: var(--nfa-type-label-mono);
  letter-spacing: var(--nfa-type-label-mono-ls);
  text-transform: uppercase;
}
.dt-root .nfa-table :where(td, tbody th) { min-block-size: 0; }

/* Etapa 5 (v25.13.50): selo de confiança sob o número da capa e no título da DRE. */
.nfa-ficha .nfa-stat__trust { margin-block-start: var(--nfa-space-1); line-height: 1; }
.nfa-ficha .nfa-stat__trust .nfa-chip--trust,
.nfa-ficha .dt-sblock__h .nfa-chip--trust { font-size: var(--nfa-fs-2xs); }

/* ═══ Ficha relacionamento-primeiro (v25.13.53) ═══
   Empresa com relação ativa: cabeçalho de relacionamento, faixa Fase/Frente/Último contato/Próximo passo, abas com
   Visão na frente e o grupo Empresa. Só tokens NFA DS v1.3. Escopo .rl-root (irmã de .nfa-ficha). */
.nfa-ficha.rl-root { font-size: var(--nfa-fs-sm); line-height: var(--nfa-leading-normal); }
.rl-root .rl-ico, .rl-root .ico { inline-size: 1rem; block-size: 1rem; flex: none; }
.rl-root .rl-ico { fill: none; stroke: currentColor; }
/* Com o nfa-ds.css global o chip vira mono em caixa alta; na ficha de relacionamento ele é rótulo de leitura. */
.rl-root .nfa-chip { font-family: var(--nfa-font-sans); text-transform: none; letter-spacing: 0; }
.rl-root .rl-lbl {
  display: block; margin: 0;
  font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); font-weight: var(--nfa-weight-regular);
  letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary);
}
.rl-root .rl-muted { margin: 0; color: var(--nfa-text-secondary); }
.rl-root .rl-n {
  font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); font-weight: var(--nfa-weight-regular);
  font-variant-numeric: tabular-nums; color: var(--nfa-text-secondary);
}
.rl-root .rl-link {
  display: inline-flex; align-items: center; gap: var(--nfa-space-1);
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-semibold);
  color: var(--nfa-text-accent); text-decoration: none;
}
.rl-root .rl-link:hover { text-decoration: underline; }
.rl-root .rl-link .rl-ico { inline-size: .75rem; block-size: .75rem; }
.rl-root .rl-link[disabled] { opacity: .45; pointer-events: none; }
.rl-root :where(a, button, select, textarea, summary):focus-visible { outline: 2px solid var(--nfa-focus-color); outline-offset: 2px; border-radius: var(--nfa-radius-xs); }

/* Cabeçalho */
.rl-root .rl-hero { background: var(--nfa-surface-raised); border-block-end: 1px solid var(--nfa-border-subtle); padding: var(--nfa-space-5) var(--nfa-space-6) 0; }
.rl-root .rl-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-1-5); margin-block-end: var(--nfa-space-2);
  font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); letter-spacing: var(--nfa-tracking-caps);
  text-transform: uppercase; color: var(--nfa-text-secondary);
}
.rl-root .rl-crumbs__here { color: var(--nfa-text-primary); }
.rl-root .rl-oppmenu { position: relative; }
.rl-root .rl-oppmenu > summary { display: inline-flex; align-items: center; gap: var(--nfa-space-1); cursor: pointer; list-style: none; }
.rl-root .rl-oppmenu > summary::-webkit-details-marker { display: none; }
.rl-root .rl-oppmenu > summary:hover, .rl-root .rl-oppmenu[open] > summary { color: var(--nfa-text-accent); }
.rl-root .rl-oppmenu > summary .ico { inline-size: .75rem; block-size: .75rem; }
.rl-root .rl-oppmenu__pop {
  position: absolute; inset-block-start: calc(100% + var(--nfa-space-2)); inset-inline-start: 0; z-index: var(--nfa-z-menu);
  min-inline-size: 15rem; max-block-size: 60vh; overflow: auto; padding: var(--nfa-space-2);
  background: var(--nfa-surface-overlay); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-md);
  box-shadow: var(--nfa-shadow-lg); text-transform: none; letter-spacing: 0; font-family: var(--nfa-font-sans);
}
.rl-root .rl-oppmenu__grp { padding: var(--nfa-space-2) var(--nfa-space-2) var(--nfa-space-1); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .rl-oppmenu__it { display: flex; align-items: center; justify-content: space-between; gap: var(--nfa-space-3); padding: var(--nfa-space-1-5) var(--nfa-space-2); border-radius: var(--nfa-radius-sm); font-size: var(--nfa-fs-sm); color: var(--nfa-text-primary); text-decoration: none; }
.rl-root .rl-oppmenu__it:hover { background: var(--nfa-gray-100); }
.rl-root .rl-oppmenu__it.is-active { background: var(--nfa-accent-tint); color: var(--nfa-text-accent); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-oppmenu__all { display: block; margin-block-start: var(--nfa-space-1); padding: var(--nfa-space-2); border-block-start: 1px solid var(--nfa-border-subtle); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); text-decoration: none; }
.rl-root .rl-oppmenu__all:hover { color: var(--nfa-text-accent); }

.rl-root .rl-hero__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--nfa-space-4) var(--nfa-space-6); }
.rl-root .rl-hero__id { flex: 1 1 22rem; min-inline-size: 0; }
.rl-root .rl-hero__title {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-2) var(--nfa-space-3); margin: 0;
  font: var(--nfa-type-h1); letter-spacing: var(--nfa-type-h1-ls); color: var(--nfa-text-primary); overflow-wrap: anywhere;
}
.rl-root .rl-hero__title .nfa-chip { font-family: var(--nfa-font-sans); letter-spacing: 0; white-space: nowrap; }
.rl-root .rl-hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-0-5) var(--nfa-space-2); margin-block-start: var(--nfa-space-1-5); color: var(--nfa-text-secondary); }
.rl-root .rl-hero__sub .sep { color: var(--nfa-gray-300); }
.rl-root .rl-hero__sub a { display: inline-flex; align-items: center; gap: var(--nfa-space-0-5); color: inherit; text-decoration: none; }
.rl-root .rl-hero__sub a:hover { color: var(--nfa-text-accent); text-decoration: underline; }
.rl-root .rl-hero__sub a .ico { inline-size: .75rem; block-size: .75rem; }
.rl-root .rl-hero__sub b { color: var(--nfa-text-primary); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-2); }
.rl-root .rl-hero__actions .nfa-btn { min-block-size: var(--nfa-control-h-sm); font-weight: var(--nfa-weight-medium); white-space: nowrap; }
.rl-root .rl-code { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); font-weight: var(--nfa-weight-regular); opacity: .8; }

/* Faixa de relacionamento (ficha-ajustes): um card aberto por frente com as fases à vista + último contato e próximo passo */
.rl-root .rl-strip { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--nfa-space-3); margin-block-start: var(--nfa-space-5); }
.rl-root .rl-frentes { display: grid; gap: var(--nfa-space-3); align-content: start; }
.rl-root .rl-frente { min-inline-size: 0; padding: var(--nfa-space-3) var(--nfa-space-4) var(--nfa-space-3-5, var(--nfa-space-3)); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-md); background: var(--nfa-surface-raised); }
.rl-root .rl-frente__h { display: flex; align-items: center; justify-content: space-between; gap: var(--nfa-space-2); }
.rl-root .rl-frente__n { flex: none; }
.rl-root .rl-frente__t { margin-block-start: var(--nfa-space-1); font-size: var(--nfa-fs-md); font-weight: var(--nfa-weight-semibold); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.rl-root .rl-fsteps { display: flex; flex-wrap: wrap; gap: var(--nfa-space-1); margin-block-start: var(--nfa-space-2-5); }
.rl-root .rl-fstep {
  display: inline-flex; align-items: center; min-block-size: 1.875rem; padding: 0 var(--nfa-space-2-5);
  border: 1px solid var(--nfa-border-subtle); border-radius: 999px; background: transparent;
  font: inherit; font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-medium); color: var(--nfa-text-secondary); white-space: nowrap;
  transition: border-color var(--nfa-duration-fast) var(--nfa-ease-standard), background-color var(--nfa-duration-fast) var(--nfa-ease-standard), color var(--nfa-duration-fast) var(--nfa-ease-standard);
}
.rl-root button.rl-fstep { cursor: pointer; }
.rl-root button.rl-fstep:hover:not(:disabled) { border-color: var(--nfa-text-accent); color: var(--nfa-text-accent); }
.rl-root button.rl-fstep:focus-visible { outline: 2px solid var(--nfa-text-accent); outline-offset: 2px; }
.rl-root .rl-fstep.is-on { border-color: var(--nfa-accent-fill); background: var(--nfa-accent-fill); color: var(--nfa-text-on-accent-fill); font-weight: var(--nfa-weight-semibold); }
.rl-root button.rl-fstep.is-on:hover:not(:disabled) { color: var(--nfa-text-on-accent-fill); }
.rl-root .rl-fstep:disabled { opacity: .6; cursor: progress; }
.rl-root .rl-frente .rl-strip__s { margin-block-start: var(--nfa-space-2); }
.rl-root .rl-strip__side { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-md); overflow: hidden; align-self: start; }
.rl-root .rl-strip__c { min-inline-size: 0; padding: var(--nfa-space-3) var(--nfa-space-4); }
.rl-root .rl-strip__c + .rl-strip__c { border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-strip__v { margin-block-start: var(--nfa-space-1); font-size: var(--nfa-fs-md); font-weight: var(--nfa-weight-semibold); letter-spacing: -0.01em; line-height: 1.3; overflow-wrap: anywhere; }
.rl-root .rl-strip__v b { font-weight: var(--nfa-weight-bold); }
.rl-root .rl-strip__s { margin-block-start: var(--nfa-space-0-5); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-strip__s b { color: var(--nfa-text-primary); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-strip__c--next { background: linear-gradient(90deg, var(--nfa-accent-tint), transparent 85%); }
.rl-root .rl-strip__c--next .rl-lbl { color: var(--nfa-text-accent); }
.rl-root .rl-strip__c--next.is-late .rl-strip__s { color: var(--nfa-text-negative); }

/* Abas */
.rl-root .rl-tabs { display: flex; align-items: stretch; gap: var(--nfa-space-0-5); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--nfa-space-3)); border-block-start: 1px solid var(--nfa-border-subtle); background: none; border-block-end: 0; }
.rl-root .rl-tabs::-webkit-scrollbar { display: none; }
.rl-root .rl-tabs .tab {
  position: relative; display: inline-flex; align-items: center; gap: var(--nfa-space-1-5); flex: none;
  padding: var(--nfa-space-3) var(--nfa-space-3); margin: 0; min-block-size: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer;
  font-family: var(--nfa-font-sans); font-size: var(--nfa-fs-sm); font-weight: var(--nfa-weight-medium); color: var(--nfa-text-secondary);
  white-space: nowrap; text-transform: none; letter-spacing: 0;
}
.rl-root .rl-tabs .tab:hover { color: var(--nfa-text-primary); }
.rl-root .rl-tabs .tab.is-active { color: var(--nfa-text-primary); font-weight: var(--nfa-weight-semibold); background: none; box-shadow: none; }
.rl-root .rl-tabs .tab.is-active::after { content: ''; position: absolute; inset-inline: var(--nfa-space-2-5); inset-block-end: 0; block-size: 2px; border-radius: 2px 2px 0 0; background: var(--nfa-accent-500); }
.rl-root .rl-tabs .tab .rl-n { padding: 1px var(--nfa-space-1-5); border-radius: var(--nfa-radius-pill); background: var(--nfa-gray-100); }
.rl-root .rl-tabs .tab.is-active .rl-n { background: var(--nfa-accent-tint); color: var(--nfa-text-accent); }
.rl-root .rl-tabs:not(.is-more-open) .tab--more:not(.is-active) { display: none; }
.rl-root .rl-tabs__sep { flex: none; inline-size: 1px; margin: var(--nfa-space-2-5) var(--nfa-space-2); background: var(--nfa-border-subtle); }
.rl-root .rl-tabs__grp { flex: none; align-self: center; padding-inline-end: var(--nfa-space-1); font-family: var(--nfa-font-mono); font-size: 0.625rem; letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-gray-300); }
.rl-root .rl-tabs__more { order: 99; flex: none; display: inline-flex; align-items: center; gap: var(--nfa-space-1); padding: var(--nfa-space-3); border: 0; background: none; cursor: pointer; font: inherit; font-weight: var(--nfa-weight-medium); color: var(--nfa-text-secondary); white-space: nowrap; }
.rl-root .rl-tabs__more:hover { color: var(--nfa-text-primary); }
.rl-root .rl-tabs__more .ico { inline-size: .875rem; block-size: .875rem; transition: transform var(--nfa-duration-fast) var(--nfa-ease-standard); }
.rl-root .rl-tabs__more[aria-expanded="true"] .ico { transform: rotate(-90deg); }

/* Conteúdo */
.rl-root .rl-body { padding: var(--nfa-space-6) var(--nfa-space-6) var(--nfa-space-12); background: var(--nfa-surface-page); }
.rl-root .dt-panel.is-entering { animation: rl-enter var(--nfa-duration-base) var(--nfa-ease-out) both; }
@keyframes rl-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rl-root .rl-visao, .rl-root .rl-pane { max-inline-size: 73.75rem; margin-inline: auto; }
.rl-root .rl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21.5rem; gap: var(--nfa-space-5); align-items: start; }
.rl-root .rl-col { display: flex; flex-direction: column; gap: var(--nfa-space-5); min-inline-size: 0; }
.rl-root .rl-card { min-inline-size: 0; background: var(--nfa-surface-raised); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-lg); }
.rl-root .rl-card__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nfa-space-3); padding: var(--nfa-space-4) var(--nfa-space-5) 0; }
.rl-root .rl-card__t { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-2); margin: 0; font-size: var(--nfa-fs-md); font-weight: var(--nfa-weight-bold); letter-spacing: -0.015em; color: var(--nfa-text-primary); }
.rl-root .rl-card__b { padding: var(--nfa-space-3) var(--nfa-space-5) var(--nfa-space-5); }
.rl-root .rl-card__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nfa-space-2-5); padding: var(--nfa-space-3) var(--nfa-space-5); border-block-start: 1px solid var(--nfa-border-subtle); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-card__f b { color: var(--nfa-text-primary); }

/* Resumo */
.rl-root .rl-sum { position: relative; overflow: hidden; border-color: var(--nfa-accent-200); box-shadow: 0 1px 0 var(--nfa-accent-100), 0 12px 28px -18px color-mix(in srgb, var(--nfa-accent-500) 45%, transparent); }
.rl-root .rl-sum::before { content: ''; position: absolute; inset: 0 auto 0 0; inline-size: 4px; background: linear-gradient(180deg, var(--nfa-accent-500), var(--nfa-accent-700)); }
.rl-root .rl-sum.is-pinned { border-color: var(--nfa-border-strong); }
.rl-root .rl-sum.is-pinned::before { background: var(--nfa-ink); }
.rl-root .rl-sum .rl-card__h, .rl-root .rl-sum .rl-card__b, .rl-root .rl-sum .rl-card__f { padding-inline-start: var(--nfa-space-6); }
.rl-root .rl-badge { font-weight: var(--nfa-weight-medium); white-space: nowrap; }
.rl-root .rl-badge .ico { inline-size: .75rem; block-size: .75rem; }
.rl-root .rl-badge--dashed { background: transparent; border: 1px dashed var(--nfa-border-control); color: var(--nfa-text-secondary); }
.rl-root .rl-badge--tint { background: var(--nfa-accent-tint); color: var(--nfa-text-accent); }
.rl-root .rl-badge--strong { background: var(--nfa-surface-strong); color: var(--nfa-text-on-strong); }
.rl-root .rl-sum__tools { display: flex; flex-wrap: wrap; gap: var(--nfa-space-1); margin-inline-end: calc(-1 * var(--nfa-space-2)); }
.rl-root .rl-sum__tools .nfa-btn { min-block-size: 1.875rem; padding: var(--nfa-space-1) var(--nfa-space-2-5); gap: var(--nfa-space-1-5); border-color: transparent; background: transparent; font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-medium); }
.rl-root .rl-sum__tools .nfa-btn:hover { background: var(--nfa-gray-100); }
.rl-root .rl-sum__tools .nfa-btn[aria-pressed="true"] { color: var(--nfa-text-accent); }
.rl-root .rl-sum__tools .ico { inline-size: .875rem; block-size: .875rem; }
.rl-root .rl-sum__lead { margin: 0; max-inline-size: 66ch; font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.008em; color: var(--nfa-text-primary); white-space: pre-line; }
.rl-root .rl-sum b { font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-sum__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: var(--nfa-space-5); border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-sum__k { padding: var(--nfa-space-4) var(--nfa-space-5) 0 0; min-inline-size: 0; }
.rl-root .rl-sum__k + .rl-sum__k { padding-inline-start: var(--nfa-space-5); border-inline-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-sum__k:last-child { padding-inline-end: 0; }
.rl-root .rl-sum__k .rl-lbl { margin-block-end: var(--nfa-space-1-5); }
.rl-root .rl-sum__k ul { list-style: none; margin: 0; padding: 0; }
.rl-root .rl-sum__k li { position: relative; margin-block-start: var(--nfa-space-1-5); padding-inline-start: var(--nfa-space-3); line-height: 1.45; }
.rl-root .rl-sum__k li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: .6em; inline-size: 4px; block-size: 4px; border-radius: 50%; background: var(--nfa-gray-300); }
.rl-root .rl-sum__k--risk li::before { background: var(--nfa-yellow); }
.rl-root .rl-when { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); color: var(--nfa-text-accent); white-space: nowrap; }
.rl-root .rl-sum.is-busy .rl-sum__lead, .rl-root .rl-sum.is-busy .rl-sum__grid { opacity: .35; transition: opacity var(--nfa-duration-fast) var(--nfa-ease-standard); }
.rl-root .rl-sum__news { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-2); margin-block-end: var(--nfa-space-4); padding: var(--nfa-space-2) var(--nfa-space-3); border-radius: var(--nfa-radius-sm); background: var(--nfa-status-info-tint); color: var(--nfa-status-info-fg); font-size: var(--nfa-fs-xs); line-height: 1.45; }
.rl-root .rl-sum__news > span { flex: 1 1 14rem; }
.rl-root .rl-sum__news .rl-link { color: inherit; text-decoration: underline; }
.rl-root .rl-sum__empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--nfa-space-4); }
.rl-root .rl-sum__empty p { margin: 0; max-inline-size: 62ch; color: var(--nfa-text-secondary); font-size: var(--nfa-fs-md); line-height: 1.55; }
.rl-root .rl-sum__note { margin: var(--nfa-space-4) 0 0; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-sum__skel { display: grid; gap: var(--nfa-space-2-5); }
.rl-root .rl-sum__skel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--nfa-space-5); margin-block-start: var(--nfa-space-4); }
.rl-root .rl-sum__skel-grid > div { display: grid; gap: var(--nfa-space-2); }
.rl-root .rl-sum__form { display: grid; gap: var(--nfa-space-2); }
.rl-root .rl-sum__form textarea {
  inline-size: 100%; padding: var(--nfa-space-2-5) var(--nfa-space-3); resize: vertical;
  border: 1px solid var(--nfa-accent-200); border-radius: var(--nfa-radius-sm); background: var(--nfa-surface-raised);
  font: inherit; line-height: 1.5; color: var(--nfa-text-primary);
}
.rl-root .rl-sum__form textarea:focus { outline: 2px solid var(--nfa-accent-200); outline-offset: 1px; border-color: var(--nfa-accent-500); }
.rl-root .rl-sum__form #rlSit { font-size: var(--nfa-fs-md); }
.rl-root .rl-sum__grid--edit { gap: var(--nfa-space-4); margin-block-start: var(--nfa-space-2); border: 0; }
.rl-root .rl-sum__grid--edit .rl-sum__k, .rl-root .rl-sum__grid--edit .rl-sum__k + .rl-sum__k { padding: 0; border: 0; }
.rl-root .rl-sum__hint { margin: 0; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-sum__formact { display: flex; justify-content: flex-end; gap: var(--nfa-space-2); }
.rl-root .rl-sum__formact .nfa-btn { min-block-size: var(--nfa-control-h-sm); }
.rl-root .rl-sum__fontes { list-style: none; margin: 0; padding: 0 var(--nfa-space-5) var(--nfa-space-4) var(--nfa-space-6); font-size: var(--nfa-fs-xs); }
.rl-root .rl-sum__fontes li { padding-block: var(--nfa-space-1); }
.rl-root .rl-kind { margin-inline-end: var(--nfa-space-1-5); font-family: var(--nfa-font-mono); font-size: 0.625rem; letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }

/* Sua vez */
.rl-root .rl-next { background: var(--nfa-surface-strong); border-color: var(--nfa-surface-strong); color: var(--nfa-text-on-strong); }
.rl-root .rl-next .rl-card__b { padding-block-start: var(--nfa-space-4); }
.rl-root .rl-next .rl-lbl { color: color-mix(in srgb, var(--nfa-accent-500) 45%, var(--nfa-white)); }
.rl-root .rl-next__t { margin: var(--nfa-space-1-5) 0 0; font-size: var(--nfa-fs-lg); font-weight: var(--nfa-weight-bold); letter-spacing: -0.02em; line-height: 1.3; }
.rl-root .rl-next__m { margin: var(--nfa-space-2-5) 0 0; font-size: var(--nfa-fs-xs); color: var(--nfa-gray-200); }
.rl-root .rl-next b { color: var(--nfa-white); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-next .rl-next__btn { margin-block-start: var(--nfa-space-3); min-block-size: 1.875rem; padding: var(--nfa-space-1) var(--nfa-space-3); background: transparent; border-color: rgb(255 255 255 / .35); color: var(--nfa-white); font-size: var(--nfa-fs-xs); white-space: nowrap; }
.rl-root .rl-next .rl-next__btn:hover { background: var(--nfa-surface-glass); }
.rl-root .rl-next__btn .ico { inline-size: .75rem; block-size: .75rem; }
.rl-root .rl-next__more { list-style: none; margin: var(--nfa-space-4) 0 0; padding: 0; }
.rl-root .rl-next__more li { display: flex; flex-direction: column; align-items: flex-start; padding-block: var(--nfa-space-3); border-block-start: 1px solid rgb(255 255 255 / .14); line-height: 1.45; }
.rl-root .rl-next__more .rl-next__btn { margin-block-start: var(--nfa-space-2); }
.rl-root .rl-next__wait { margin-block-start: var(--nfa-space-4); padding-block-start: var(--nfa-space-3); border-block-start: 1px solid rgb(255 255 255 / .14); }
.rl-root .rl-next__wait p { margin: var(--nfa-space-1) 0 0; line-height: 1.45; }
.rl-root .rl-next .rl-when { color: var(--nfa-gray-200); }
.rl-root .rl-next .rl-when.is-soon { color: var(--nfa-yellow); }

/* Marcos */
.rl-root .rl-miles { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); list-style: none; margin: 0; padding: var(--nfa-space-1-5) 0 var(--nfa-space-0-5); }
.rl-root .rl-miles::before { content: ''; position: absolute; inset-inline: 6px 12%; inset-block-start: 12px; block-size: 2px; background: repeating-linear-gradient(90deg, var(--nfa-gray-200) 0 6px, transparent 6px 10px); }
.rl-root .rl-mile { position: relative; padding-inline-end: var(--nfa-space-3); }
.rl-root .rl-mile i { position: relative; z-index: 1; display: block; inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--nfa-white); border: 2px solid var(--nfa-gray-300); }
.rl-root .rl-mile.is-next i { border-color: var(--nfa-accent-500); background: var(--nfa-accent-500); box-shadow: 0 0 0 4px var(--nfa-accent-tint); }
.rl-root .rl-mile__d { margin-block-start: var(--nfa-space-2); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-mile.is-next .rl-mile__d { color: var(--nfa-text-accent); font-weight: var(--nfa-weight-medium); }
.rl-root .rl-mile__t { font-weight: var(--nfa-weight-semibold); line-height: 1.3; }
.rl-root .rl-mile__s { font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }

/* Atividades */
.rl-root .rl-acts { margin-block-start: var(--nfa-space-3); border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-act { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem 5.25rem 5.75rem; gap: var(--nfa-space-3); align-items: center; padding: var(--nfa-space-2-5) var(--nfa-space-5); border-block-end: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-acts .rl-act:last-child { border-block-end: 0; border-end-start-radius: var(--nfa-radius-lg); border-end-end-radius: var(--nfa-radius-lg); }
.rl-root .rl-act:hover { background: var(--nfa-surface-hover); }
.rl-root .rl-act--head, .rl-root .rl-act--head:hover { padding-block: var(--nfa-space-1-5); background: var(--nfa-gray-50); }
.rl-root .rl-act__t { font-weight: var(--nfa-weight-semibold); line-height: 1.35; overflow-wrap: anywhere; }
.rl-root .rl-act__d { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-block-start: 1px; font-size: var(--nfa-fs-xs); line-height: 1.4; color: var(--nfa-text-secondary); }
.rl-root .rl-act__d--3 { -webkit-line-clamp: 3; }
.rl-root .rl-act__meta { font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); overflow-wrap: anywhere; }
.rl-root .rl-gap { color: var(--nfa-gray-300); font-style: italic; }
.rl-root .is-late { color: var(--nfa-text-negative); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-prio { margin-inline-end: var(--nfa-space-1-5); font-family: var(--nfa-font-mono); font-size: 0.625rem; font-weight: var(--nfa-weight-regular); letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .rl-prio--high { color: var(--nfa-text-negative); }
.rl-root .rl-etapa { white-space: nowrap; font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-etapa::before { content: ''; inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; }
.rl-root .rl-etapa--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--nfa-border-subtle); color: var(--nfa-text-secondary); font-weight: var(--nfa-weight-medium); }
.rl-root .rl-etapa--outline::before { display: none; }
.rl-root .rl-etapa--info { background: var(--nfa-status-info-tint); color: var(--nfa-status-info-fg); }
.rl-root .rl-etapa--warn { background: var(--nfa-status-warn-tint); color: var(--nfa-status-warn-fg); }
.rl-root .rl-etapa--ok { background: var(--nfa-status-ok-tint); color: var(--nfa-status-ok-fg); }

/* Linha do tempo */
.rl-root .rl-filters { display: flex; flex-wrap: wrap; gap: var(--nfa-space-1-5); }
.rl-root .rl-fbtn { display: inline-flex; align-items: center; gap: var(--nfa-space-1-5); padding: 3px var(--nfa-space-2-5); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-pill); background: var(--nfa-surface-raised); cursor: pointer; font: inherit; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-fbtn:hover { border-color: var(--nfa-border-control); }
.rl-root .rl-fbtn.is-active { background: var(--nfa-surface-strong); border-color: var(--nfa-surface-strong); color: var(--nfa-text-on-strong); }
.rl-root .rl-fbtn.is-active .rl-n { color: var(--nfa-gray-200); }
.rl-root .rl-fbtn[disabled] { opacity: .45; cursor: default; }
.rl-root .rl-tl { position: relative; padding-inline-start: 22px; }
.rl-root .rl-tl::before { content: ''; position: absolute; inset-inline-start: 5px; inset-block: 6px; inline-size: 1px; background: var(--nfa-border-subtle); }
.rl-root .rl-tl__day { margin: var(--nfa-space-4) 0 var(--nfa-space-1-5); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .rl-tl__day:first-child { margin-block-start: 0; }
.rl-root .rl-ev { position: relative; padding-block: var(--nfa-space-1-5); }
.rl-root .rl-ev::before { content: ''; position: absolute; inset-inline-start: -21px; inset-block-start: 11px; inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--nfa-white); border: 2px solid var(--nfa-gray-300); }
.rl-root .rl-ev--meet::before { border-color: var(--nfa-accent-500); background: var(--nfa-accent-500); }
.rl-root .rl-ev--wa::before { border-color: var(--nfa-dgreen); }
.rl-root .rl-ev--doc::before { border-color: var(--nfa-blue); }
.rl-root .rl-ev--sys::before { inline-size: 7px; block-size: 7px; inset-inline-start: -20px; inset-block-start: 12px; }
.rl-root .rl-ev--meet .rl-kind { color: var(--nfa-text-accent); }
.rl-root .rl-ev--wa .rl-kind { color: var(--nfa-dgreen); }
.rl-root .rl-ev--doc .rl-kind { color: var(--nfa-blue); }
.rl-root .rl-ev__t { font-weight: var(--nfa-weight-semibold); color: var(--nfa-text-primary); text-decoration: none; }
.rl-root a.rl-ev__t:hover { color: var(--nfa-text-accent); text-decoration: underline; }
.rl-root .rl-ev--sys .rl-ev__t { font-weight: var(--nfa-weight-medium); color: var(--nfa-text-secondary); }
.rl-root .rl-ev__flag { margin-inline-start: var(--nfa-space-2); min-block-size: 1.25rem; font-size: var(--nfa-fs-2xs); white-space: nowrap; }
.rl-root .rl-ev__d { margin: 1px 0 0; max-inline-size: 70ch; font-size: var(--nfa-fs-xs); line-height: 1.45; color: var(--nfa-text-secondary); }

/* Lateral: pessoas, atalhos, sinais */
.rl-root .rl-grp { margin: var(--nfa-space-4) 0 var(--nfa-space-0-5); font-family: var(--nfa-font-mono); font-size: 0.625rem; letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .rl-grp:first-child { margin-block-start: 0; }
.rl-root .rl-ppl { list-style: none; margin: 0; padding: 0; }
.rl-root .rl-ppl li { display: flex; align-items: center; gap: var(--nfa-space-2-5); padding-block: var(--nfa-space-2); border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-ppl li:first-child { border-block-start: 0; }
.rl-root .rl-ppl__id { min-inline-size: 0; }
.rl-root .rl-av { flex: none; display: inline-grid; place-items: center; inline-size: 2.125rem; block-size: 2.125rem; border-radius: 50%; background: var(--nfa-accent-100); color: var(--nfa-accent-700); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-bold); letter-spacing: .02em; }
.rl-root .rl-av--ext { background: var(--nfa-gray-100); color: var(--nfa-text-secondary); }
.rl-root .rl-ppl__nm { font-weight: var(--nfa-weight-semibold); line-height: 1.25; }
.rl-root .rl-ppl__rl { font-size: var(--nfa-fs-xs); line-height: 1.35; color: var(--nfa-text-secondary); }
.rl-root .rl-ppl__tg { margin-inline-start: auto; flex: none; }
.rl-root .rl-ppl__nm .nfa-chip { margin-inline-start: var(--nfa-space-1); vertical-align: 1px; }
.rl-root .rl-ppl__act { display: flex; align-items: center; gap: var(--nfa-space-1); margin-inline-start: auto; flex: none; }
.rl-root .rl-ppl__act .nfa-btn { gap: var(--nfa-space-1); }
.rl-root .rl-ppl__act .ico { inline-size: .875rem; block-size: .875rem; }
.rl-root .rl-ppl__edit { padding-inline: var(--nfa-space-2); }
.rl-root .rl-ppl li.is-editing { display: block; }
.rl-root .rl-pform { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--nfa-space-2) var(--nfa-space-3); }
.rl-root .rl-pform__f { display: flex; flex-direction: column; gap: var(--nfa-space-1); min-inline-size: 0; }
.rl-root .rl-pform input {
  min-block-size: var(--nfa-control-h-sm); padding: 0 var(--nfa-space-2-5); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-sm);
  background: var(--nfa-surface-raised); font: inherit; font-size: var(--nfa-fs-sm); color: var(--nfa-text-primary);
}
.rl-root .rl-pform input:focus-visible { outline: 2px solid var(--nfa-text-accent); outline-offset: 1px; }
.rl-root .rl-pform__act { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: var(--nfa-space-2); }
.rl-root .rl-short a { display: flex; align-items: center; gap: var(--nfa-space-3); padding-block: var(--nfa-space-2-5); border-block-start: 1px solid var(--nfa-border-subtle); color: inherit; text-decoration: none; }
.rl-root .rl-short a:first-child { border-block-start: 0; padding-block-start: var(--nfa-space-0-5); }
.rl-root .rl-short a:last-child { padding-block-end: 0; }
.rl-root .rl-sq { flex: none; display: grid; place-items: center; inline-size: 2.125rem; block-size: 2.125rem; border-radius: var(--nfa-radius-sm); background: var(--nfa-gray-100); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-medium); }
.rl-root .rl-short__tx { display: flex; flex-direction: column; min-inline-size: 0; }
.rl-root .rl-short__t { font-weight: var(--nfa-weight-semibold); line-height: 1.25; }
.rl-root .rl-short a:hover .rl-short__t { color: var(--nfa-text-accent); }
.rl-root .rl-short__s { font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-short a > .ico { margin-inline-start: auto; inline-size: .875rem; block-size: .875rem; color: var(--nfa-gray-300); }
.rl-root .rl-sig { list-style: none; margin: 0; padding: 0; }
.rl-root .rl-sig li { padding-block: var(--nfa-space-2); border-block-start: 1px solid var(--nfa-border-subtle); line-height: 1.4; }
.rl-root .rl-sig li:first-child { border-block-start: 0; padding-block-start: var(--nfa-space-0-5); }
.rl-root .rl-sig li:last-child { padding-block-end: 0; }
.rl-root .rl-sig a { color: inherit; text-decoration: none; }
.rl-root .rl-sig a:hover { color: var(--nfa-text-accent); text-decoration: underline; }
.rl-root .rl-sig__src { display: flex; align-items: center; gap: var(--nfa-space-1-5); margin-block-start: 3px; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-sdot { flex: none; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--nfa-gray-300); }
.rl-root .rl-sdot--neg { background: var(--nfa-red); }

/* Empresa em uma linha */
.rl-root .rl-keys { margin: var(--nfa-space-4) 0 0; text-align: end; font-size: var(--nfa-fs-2xs); color: var(--nfa-gray-300); }
.rl-root .rl-keys kbd { padding: 1px 5px; border: 1px solid var(--nfa-border-subtle); border-radius: 4px; background: var(--nfa-surface-raised); font-family: var(--nfa-font-mono); font-size: 0.625rem; color: var(--nfa-text-secondary); }

/* Abas Atividades e Pessoas */
.rl-root .rl-pane__h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--nfa-space-3); margin-block-end: var(--nfa-space-4); }
.rl-root .rl-pane__t { margin: 0 0 var(--nfa-space-1); font-size: var(--nfa-fs-xl); font-weight: var(--nfa-weight-bold); letter-spacing: var(--nfa-tracking-tight-2); }
.rl-root .rl-pane__s { margin: 0; max-inline-size: 72ch; color: var(--nfa-text-secondary); }
.rl-root .rl-pane__sub { margin: var(--nfa-space-8) 0 0; font-size: var(--nfa-fs-md); font-weight: var(--nfa-weight-bold); letter-spacing: -0.015em; }
.rl-root .rl-pane--top { margin-block-end: var(--nfa-space-2); }
.rl-root .rl-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--nfa-space-3); align-items: start; }
.rl-root .rl-lane { padding: var(--nfa-space-2-5); border-radius: var(--nfa-radius-md); background: var(--nfa-gray-100); }
.rl-root .rl-lane__h { display: flex; align-items: center; justify-content: space-between; padding: var(--nfa-space-0-5) var(--nfa-space-1) var(--nfa-space-2); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-kc { margin-block-start: var(--nfa-space-2); padding: var(--nfa-space-2-5) var(--nfa-space-3); background: var(--nfa-surface-raised); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-sm); }
.rl-root .rl-lane__h + .rl-kc { margin-block-start: 0; }
.rl-root .rl-kc__meta { display: flex; flex-wrap: wrap; gap: var(--nfa-space-1) var(--nfa-space-2); margin-block-start: var(--nfa-space-2); font-size: var(--nfa-fs-xs); font-style: italic; color: var(--nfa-gray-300); }
.rl-root .rl-kc__meta .is-set { font-style: normal; color: var(--nfa-text-secondary); }
.rl-root .rl-kc__meta .is-late { font-style: normal; }
.rl-root .rl-tbl { inline-size: 100%; border-collapse: collapse; }
.rl-root .rl-tbl th, .rl-root .rl-tbl td { padding: var(--nfa-space-2-5) var(--nfa-space-5); border-block-start: 1px solid var(--nfa-border-subtle); text-align: start; vertical-align: middle; }
.rl-root .rl-tbl thead th { border-block-start: 0; background: var(--nfa-gray-50); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); font-weight: var(--nfa-weight-regular); letter-spacing: var(--nfa-tracking-caps); text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .rl-tbl thead th:first-child { border-start-start-radius: var(--nfa-radius-lg); }
.rl-root .rl-tbl thead th:last-child { border-start-end-radius: var(--nfa-radius-lg); }
.rl-root .rl-tbl td .rl-av { margin-inline-end: var(--nfa-space-2-5); inline-size: 1.75rem; block-size: 1.75rem; font-size: var(--nfa-fs-2xs); }
/* Empresa em uma linha (ficha v2): card da coluna da direita, lista vertical de rótulo e valor. */
.rl-root .rl-emp__l { display: flex; flex-direction: column; margin: 0; padding-block: var(--nfa-space-1) var(--nfa-space-2); }
.rl-root .rl-emp__r { display: flex; align-items: baseline; justify-content: space-between; gap: var(--nfa-space-3); padding-block: var(--nfa-space-2); border-block-end: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-emp__r:last-child { border-block-end: 0; }
.rl-root .rl-emp__r:first-child { flex-direction: column; align-items: stretch; gap: var(--nfa-space-0-5); }
.rl-root .rl-emp__r dt { flex: none; }
.rl-root .rl-emp__v { margin: 0; min-inline-size: 0; text-align: end; font-weight: var(--nfa-weight-semibold); line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rl-root .rl-emp__r:first-child .rl-emp__v { text-align: start; }
.rl-root .rl-emp__v.is-missing { font-weight: var(--nfa-weight-regular); font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .rl-emp__v small { display: block; margin-block-start: var(--nfa-space-0-5); font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-2xs); font-weight: var(--nfa-weight-regular); color: var(--nfa-text-secondary); }

/* Abas de cadastro dentro da ficha de relacionamento: mesma largura útil da Visão. */
.rl-root .dt-panel:not([data-panel="visao"]):not([data-panel="atividades"]) { max-inline-size: 73.75rem; margin-inline: auto; }

@media (max-width: 1180px) {
  .rl-root .rl-grid { grid-template-columns: minmax(0, 1fr) 18.75rem; }
  .rl-root .rl-act { grid-template-columns: minmax(0, 1fr) 7.5rem 5rem; }
  .rl-root .rl-act > :nth-child(4) { display: none; }
}
/* Uma coluna: resumo, depois "Sua vez", depois o resto na ordem de leitura. */
@media (max-width: 960px) {
  .rl-root .rl-grid { grid-template-columns: minmax(0, 1fr); }
  .rl-root .rl-grid > .rl-col { display: contents; }
  .rl-root .rl-o1 { order: 1; } .rl-root .rl-o2 { order: 2; } .rl-root .rl-o3 { order: 3; } .rl-root .rl-o4 { order: 4; }
  .rl-root .rl-o5 { order: 5; } .rl-root .rl-o6 { order: 6; } .rl-root .rl-o7 { order: 7; } .rl-root .rl-o8 { order: 8; }
}
@media (max-width: 880px) {
  .rl-root .rl-hero { padding: var(--nfa-space-4) var(--nfa-space-4) 0; }
  .rl-root .rl-hero__actions { inline-size: 100%; }
  .rl-root .rl-hero__actions .nfa-btn { flex: 1 1 auto; }
  .rl-root .rl-strip { grid-template-columns: minmax(0, 1fr); }
  .rl-root .rl-strip__side { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .rl-root .rl-strip__c + .rl-strip__c { border-block-start: 0; border-inline-start: 1px solid var(--nfa-border-subtle); }
  .rl-root .rl-strip__v { font-size: var(--nfa-fs-sm); }
  .rl-root .rl-tabs { margin-inline: calc(-1 * var(--nfa-space-4)); padding-inline: var(--nfa-space-1-5); }
  .rl-root .rl-body { padding: var(--nfa-space-4) var(--nfa-space-4) var(--nfa-space-12); }
  .rl-root .rl-grid, .rl-root .rl-col { gap: var(--nfa-space-3); }
  .rl-root .rl-card__h { padding: var(--nfa-space-3) var(--nfa-space-4) 0; }
  .rl-root .rl-card__b { padding: var(--nfa-space-3) var(--nfa-space-4) var(--nfa-space-4); }
  .rl-root .rl-card__f { padding: var(--nfa-space-2-5) var(--nfa-space-4); }
  .rl-root .rl-sum .rl-card__h, .rl-root .rl-sum .rl-card__b, .rl-root .rl-sum .rl-card__f { padding-inline-start: var(--nfa-space-5); }
  .rl-root .rl-sum__lead { font-size: var(--nfa-fs-md); }
  .rl-root .rl-sum__tools .nfa-btn span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rl-root .rl-sum__grid, .rl-root .rl-sum__skel-grid { grid-template-columns: minmax(0, 1fr); }
  .rl-root .rl-sum__k, .rl-root .rl-sum__k + .rl-sum__k { padding: var(--nfa-space-3) 0 0; border-inline-start: 0; }
  .rl-root .rl-sum__grid:not(.rl-sum__grid--edit) .rl-sum__k + .rl-sum__k { margin-block-start: var(--nfa-space-3); border-block-start: 1px solid var(--nfa-border-subtle); }
  .rl-root .rl-act { grid-template-columns: minmax(0, 1fr) auto; gap: var(--nfa-space-1-5) var(--nfa-space-2-5); padding: var(--nfa-space-2-5) var(--nfa-space-4); }
  .rl-root .rl-act > :nth-child(3), .rl-root .rl-act > :nth-child(4), .rl-root .rl-act--head { display: none; }
  .rl-root .rl-keys { display: none; }
  .rl-root .rl-tbl th, .rl-root .rl-tbl td { padding: var(--nfa-space-2) var(--nfa-space-3); }
  .rl-root .rl-tbl :is(th, td):nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-root .dt-panel.is-entering { animation: none; }
  .rl-root .rl-tabs__more .ico, .rl-root .rl-fase select, .rl-root .rl-sum.is-busy .rl-sum__lead, .rl-root .rl-sum.is-busy .rl-sum__grid { transition: none; }
}

/* ─── Ficha de relacionamento: monitor grande e celular (ficha v2, 2026-12-01) ─── */
/* Monitor grande: a página usa a largura. A coluna lateral vira duas e "Sua vez" ocupa as duas. */
@media (min-width: 1600px) {
  .rl-root .rl-visao, .rl-root .rl-pane,
  .rl-root .dt-panel:not([data-panel="visao"]):not([data-panel="atividades"]) { max-inline-size: 100rem; }
  .rl-root .rl-grid { grid-template-columns: minmax(0, 1fr) 44rem; }
  .rl-root .rl-grid > .rl-col:nth-child(2) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rl-root .rl-grid > .rl-col:nth-child(2) > .rl-next { grid-column: 1 / -1; }
}
/* Celular: cards da faixa empilhados; as abas rolam pro lado e a borda some no fim pra mostrar que tem mais. */
@media (max-width: 680px) {
  .rl-root .rl-strip__side { grid-template-columns: minmax(0, 1fr); }
  .rl-root .rl-strip__c + .rl-strip__c { border-inline-start: 0; border-block-start: 1px solid var(--nfa-border-subtle); }
  .rl-root .rl-strip__c--next { order: -1; }
  .rl-root .rl-tabs::-webkit-scrollbar { display: none; }
  .rl-root .rl-tabs { flex-wrap: nowrap; mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); }
  .rl-root .rl-tabs > * { flex: none; }
}

/* Frente › Desenvolvimento (Git) — bloco recolhido, carrega ao expandir */
.rl-root .rl-git { margin-block-start: var(--nfa-space-3); padding-block-start: var(--nfa-space-2); border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .rl-git > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--nfa-space-2); font-size: var(--nfa-fs-sm); }
.rl-root .rl-git__body { display: grid; gap: var(--nfa-space-3); margin-block-start: var(--nfa-space-2); }
.rl-root .rl-git__repo { display: grid; gap: var(--nfa-space-1); min-inline-size: 0; }
.rl-root .rl-git__rh { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nfa-space-2); font-weight: var(--nfa-weight-semibold); }
.rl-root .rl-git__list { margin: 0 0 var(--nfa-space-2); padding: 0; list-style: none; display: grid; gap: var(--nfa-space-1); font-size: var(--nfa-fs-sm); }
.rl-root .rl-git__list li { overflow-wrap: anywhere; }

/* ─── Ficha multi-oportunidade (scout_core_071) — js/components/detail-temp/oportunidades.js ───
   --op-h / --op-w = altura/largura de dado dinâmico (mesma exceção de .nfa-skeleton --w). */
.rl-root .op-fase { display: inline-block; white-space: nowrap; padding: 1px var(--nfa-space-2); border-radius: var(--nfa-radius-pill); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-semibold); }
.rl-root .op-fase--pre { background: var(--nfa-gray-100); color: var(--nfa-text-secondary); }
.rl-root .op-fase--exec { background: var(--nfa-accent-tint); color: var(--nfa-text-accent); }
.rl-root .op-fase--fim { color: var(--nfa-text-secondary); border: 1px solid var(--nfa-border-subtle); font-weight: var(--nfa-weight-regular); }
.rl-root .op-strip { font-size: var(--nfa-fs-sm); padding-block: var(--nfa-space-2) var(--nfa-space-0-5); }
.rl-root .op-empty { font-size: var(--nfa-fs-sm); margin: var(--nfa-space-2) 0 0; }
.rl-root .op-pad { padding: 0 var(--nfa-space-5) var(--nfa-space-4); margin: 0; }
.rl-root .rl-card.op-pad { padding: var(--nfa-space-4) var(--nfa-space-5); }
/* funil */
.rl-root .op-fun { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: var(--nfa-space-2); align-items: end; padding: var(--nfa-space-1) var(--nfa-space-5) var(--nfa-space-4); }
.rl-root .op-fun__c { display: grid; justify-items: center; gap: 2px; padding: var(--nfa-space-1); border: 0; border-radius: var(--nfa-radius-md); background: none; font: inherit; color: inherit; cursor: pointer; }
.rl-root .op-fun__c:hover, .rl-root .op-fun__c.is-on { background: var(--nfa-gray-50); }
.rl-root .op-fun__c:focus-visible { outline: 2px solid var(--nfa-text-accent); outline-offset: 1px; }
.rl-root .op-fun__bar { display: flex; align-items: flex-end; inline-size: 100%; block-size: 2.25rem; border-radius: var(--nfa-radius-sm); background: var(--nfa-gray-50); overflow: hidden; }
.rl-root .op-fun__bar i { inline-size: 100%; block-size: var(--op-h, 0%); min-block-size: 2px; background: var(--nfa-accent-500); }
.rl-root .op-fun__c b { font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-md); }
.rl-root .op-fun__c small { font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); white-space: nowrap; }
.rl-root .op-fun__fim { display: grid; gap: var(--nfa-space-1); padding-inline-start: var(--nfa-space-3); border-inline-start: 1px solid var(--nfa-border-subtle); font-size: var(--nfa-fs-xs); white-space: nowrap; }
.rl-root .op-fun__fim .rl-link { color: var(--nfa-text-secondary); }
/* Visão */
.rl-root .op-res { display: grid; grid-template-columns: 1fr 1fr; gap: var(--nfa-space-5); padding: var(--nfa-space-3) var(--nfa-space-5); border-block-start: 1px solid var(--nfa-border-subtle); }
.rl-root .op-ul { list-style: none; margin: var(--nfa-space-1) 0 0; padding: 0; }
.rl-root .op-li { display: flex; justify-content: space-between; align-items: center; gap: var(--nfa-space-2); inline-size: 100%; padding: var(--nfa-space-2) 0; border: 0; border-block-end: 1px solid var(--nfa-border-subtle); background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.rl-root .op-ul li:last-child .op-li { border-block-end: 0; }
.rl-root .op-li:hover b { color: var(--nfa-text-accent); }
.rl-root .op-li__tx { display: grid; min-inline-size: 0; }
.rl-root .op-li__tx small { font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-root .op-card .rl-card__f { display: flex; justify-content: space-between; align-items: center; gap: var(--nfa-space-2); }
/* aba */
.rl-root .op-page { display: grid; gap: var(--nfa-space-3); }
.rl-root .op-tb { display: flex; flex-wrap: wrap; gap: var(--nfa-space-2); align-items: center; }
.rl-root .op-q, .rl-root .op-add input, .rl-root .rl-pform select, .rl-root .op-grpsel select, .rl-root .op-soltas select {
  min-block-size: var(--nfa-control-h-sm); padding: 0 var(--nfa-space-2-5); border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-sm);
  background: var(--nfa-surface-raised); font: inherit; font-size: var(--nfa-fs-sm); color: var(--nfa-text-primary);
}
.rl-root .op-q { flex: 1 1 16rem; }
.rl-root .op-q:focus-visible, .rl-root .op-add input:focus-visible, .rl-root .rl-pform select:focus-visible { outline: 2px solid var(--nfa-text-accent); outline-offset: 1px; }
.rl-root .op-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-sm); overflow: hidden; }
.rl-root .op-seg button { padding: var(--nfa-space-1-5) var(--nfa-space-2); border: 0; background: none; font: inherit; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); cursor: pointer; }
.rl-root .op-seg button + button { border-inline-start: 1px solid var(--nfa-border-subtle); }
.rl-root .op-seg button.is-on { background: var(--nfa-text-primary); color: var(--nfa-surface-raised); }
.rl-root .op-grpsel { display: flex; align-items: center; gap: var(--nfa-space-1); font-size: var(--nfa-fs-xs); }
.rl-root .op-funwrap .op-fun { padding-block-start: var(--nfa-space-3); }
.rl-root .op-tblwrap { overflow-x: auto; border: 1px solid var(--nfa-border-subtle); border-radius: var(--nfa-radius-lg); background: var(--nfa-surface-raised); }
.rl-root .op-tbl { inline-size: 100%; border-collapse: collapse; font-size: var(--nfa-fs-sm); }
.rl-root .op-tbl th { padding: var(--nfa-space-2) var(--nfa-space-3); border-block-end: 1px solid var(--nfa-border-subtle); text-align: start; font-family: var(--nfa-font-mono); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--nfa-text-secondary); }
.rl-root .op-tbl td { padding: var(--nfa-space-2) var(--nfa-space-3); border-block-end: 1px solid var(--nfa-border-subtle); vertical-align: middle; }
.rl-root .op-tbl tbody tr:last-child td { border-block-end: 0; }
.rl-root .op-tbl td small { display: block; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .op-tbl tr[data-op-open] { cursor: pointer; }
.rl-root .op-tbl tr[data-op-open]:hover, .rl-root .op-tbl tr[data-op-open]:focus-visible { background: var(--nfa-gray-50); outline: none; }
.rl-root .op-grp td { background: var(--nfa-gray-50); font-size: var(--nfa-fs-xs); font-weight: var(--nfa-weight-semibold); }
.rl-root .op-t-prox { max-inline-size: 24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-root .op-voce { color: var(--nfa-text-accent); font-weight: var(--nfa-weight-semibold); }
.rl-root .op-t-n { font-family: var(--nfa-font-mono); white-space: nowrap; }
.rl-root .op-prog { display: inline-block; inline-size: 2.5rem; block-size: 4px; margin-inline-end: var(--nfa-space-1-5); border-radius: 2px; background: var(--nfa-gray-100); vertical-align: middle; overflow: hidden; }
.rl-root .op-prog i { display: block; block-size: 100%; inline-size: var(--op-w, 0%); background: var(--nfa-accent-500); }
.rl-root .op-soltas > summary { cursor: pointer; list-style: none; }
.rl-root .op-soltas > summary::-webkit-details-marker { display: none; }
.rl-root .op-soltas__l { list-style: none; margin: 0; padding: 0 var(--nfa-space-5) var(--nfa-space-4); display: grid; gap: var(--nfa-space-1-5); font-size: var(--nfa-fs-sm); }
.rl-root .op-soltas__l li { display: flex; justify-content: space-between; align-items: center; gap: var(--nfa-space-3); }
.rl-root .op-soltas__l select { max-inline-size: 16rem; }
.rl-root .op-form__wide { grid-column: 1 / -1; }
/* oportunidade aberta */
.rl-root .op-crumb { font-size: var(--nfa-fs-sm); }
.rl-root .op-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--nfa-space-3); flex-wrap: wrap; }
.rl-root .op-head__t { margin: 0; font-size: var(--nfa-fs-xl, 1.375rem); }
.rl-root .op-head__m { margin: var(--nfa-space-0-5) 0 0; font-size: var(--nfa-fs-sm); }
.rl-root .op-head__a { display: flex; flex-wrap: wrap; gap: var(--nfa-space-2); }
.rl-root .op-fases { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rl-root .op-fases li { flex: 1; }
.rl-root .op-fases button { inline-size: 100%; padding: var(--nfa-space-1) 2px; border: 0; background: var(--nfa-gray-100); font: inherit; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); cursor: pointer; }
.rl-root .op-fases li:first-child button { border-radius: var(--nfa-radius-sm) 0 0 var(--nfa-radius-sm); }
.rl-root .op-fases li:last-child button { border-radius: 0 var(--nfa-radius-sm) var(--nfa-radius-sm) 0; }
.rl-root .op-fases button.is-done { background: var(--nfa-accent-tint); color: var(--nfa-text-accent); }
.rl-root .op-fases button.is-now { background: var(--nfa-accent-500); color: var(--nfa-surface-raised); font-weight: var(--nfa-weight-semibold); }
.rl-root .op-fases button:focus-visible { outline: 2px solid var(--nfa-text-accent); outline-offset: 1px; }
.rl-root .op-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--nfa-space-4); align-items: start; }
.rl-root .op-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--nfa-space-3); align-items: start; }
.rl-root .op-bar, .rl-root .op-wide { grid-column: 1 / -1; }
.rl-root .op-bar { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--nfa-fs-xs); }
.rl-root .op-side { display: grid; gap: var(--nfa-space-3); }
.rl-root .op-side__l { list-style: none; margin: 0; padding: 0 var(--nfa-space-5) var(--nfa-space-4); display: grid; gap: var(--nfa-space-2); font-size: var(--nfa-fs-sm); }
.rl-root .op-side__l small, .rl-root .op-tasks small { display: block; font-size: var(--nfa-fs-xs); color: var(--nfa-text-secondary); }
.rl-root .op-tasks { list-style: none; margin: 0; padding: 0 var(--nfa-space-5) var(--nfa-space-2); display: grid; gap: var(--nfa-space-1-5); font-size: var(--nfa-fs-sm); }
.rl-root .op-tasks label { display: flex; gap: var(--nfa-space-2); align-items: flex-start; cursor: pointer; }
.rl-root .op-tasks input { margin-block-start: 3px; accent-color: var(--nfa-accent-500); }
.rl-root .op-tasks li.is-ok span { color: var(--nfa-text-secondary); text-decoration: line-through; }
.rl-root .op-tasks li.is-block > label > span { color: var(--nfa-text-secondary); }
.rl-root .op-add { display: flex; flex-wrap: wrap; gap: var(--nfa-space-2); inline-size: 100%; }
.rl-root .op-add input { flex: 1 1 10rem; }
@media (max-width: 1100px) { .rl-root .op-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .rl-root .op-res { grid-template-columns: 1fr; }
  .rl-root .op-fun { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rl-root .op-fun__fim { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: var(--nfa-space-3); border: 0; padding: 0; }
  .rl-root .op-tbl thead, .rl-root .op-tbl td:nth-child(3), .rl-root .op-tbl td:nth-child(4), .rl-root .op-tbl td:nth-child(6) { display: none; }
  .rl-root .op-fases button { font-size: .5625rem; }
}
