/* Nexus Leads — design system (fonte: public/referencias/dashboard-nexus.png) */
:root {
  --bg-main: #050b14;
  --bg-sidebar: #081221;
  --bg-header: #07101c;
  --card-bg: #0d1728;
  --card-bg-hover: #101d31;
  --border: #1c2b41;
  --border-soft: rgba(255, 255, 255, 0.07);
  --text-primary: #f5f7fb;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --teal: #14b8a6;
  --teal-soft: rgba(20, 184, 166, 0.14);
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --sidebar-text: #94a3b8;
  --header-text: #f5f7fb;
  --scheme: dark;
  --input-bg: #070b14;
  --input-text: #f8fafc;
  --control-bg: #152036;
  --on-accent: #042f2e;
  --sidebar-w: 260px;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: var(--scheme, dark); }

body.nx-body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.nx-shell {
  display: flex;
  min-height: 100vh;
}

/* ——— Sidebar ——— */
.nx-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  transform: translateX(-100%);
  transition: transform .2s ease;
  overflow: hidden;
}

.nx-sidebar.is-open { transform: translateX(0); }

@media (min-width: 1024px) {
  .nx-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    transform: none;
    flex-shrink: 0;
  }
}

.nx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  flex-shrink: 0;
}

.nx-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #14b8a6, #0ea5e9);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #04131a;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.25);
  flex-shrink: 0;
}

.nx-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
}

.nx-brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sidebar-text, var(--text-primary));
}

.nx-brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.nx-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  overscroll-behavior: contain;
}

.nx-sidebar-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nx-nav-group {
  margin-top: 14px;
}

.nx-nav-group:first-child { margin-top: 0; }

.nx-nav-label {
  padding: 6px 12px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nx-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  color: var(--sidebar-text, var(--text-secondary));
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.nx-nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.nx-nav-link:hover {
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--sidebar-text, var(--text-primary));
}

.nx-nav-link.active {
  background: color-mix(in srgb, var(--teal) 18%, transparent);
  color: var(--sidebar-text, var(--text-primary));
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  box-shadow: inset 3px 0 0 var(--teal);
}

.nx-nav-link.active svg { color: var(--teal); opacity: 1; }

.nx-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--sidebar-text) 10%, transparent);
  color: var(--sidebar-text, var(--text-secondary));
  cursor: pointer;
  font-size: 13px;
}

.nx-logout:hover {
  color: var(--text-primary);
  border-color: rgba(20, 184, 166, 0.35);
}

/* ——— Main ——— */
.nx-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
}

.nx-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 16, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.nx-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.nx-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nx-menu-btn { display: none; }
}

.nx-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-page-title h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--header-text, var(--text-primary));
}

.nx-page-title p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.nx-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
}

.nx-search {
  flex: 1;
  min-width: 200px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.nx-search input {
  width: 100%;
  height: 40px;
  padding: 0 72px 0 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg, var(--bg-main));
  color: var(--input-text, var(--text-primary));
  font-size: 13px;
  outline: none;
  color-scheme: var(--scheme, dark);
}

.nx-search input:focus {
  border-color: color-mix(in srgb, var(--teal) 55%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent);
}

.nx-search input::placeholder { color: var(--text-muted); }

.nx-search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.nx-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  background: color-mix(in srgb, var(--header-text, #fff) 6%, transparent);
}

.nx-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nx-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nx-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--green);
  color: #04120a;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nx-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.nx-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(145deg, #0f766e, #155e75);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.nx-user-meta { line-height: 1.2; }
.nx-user-meta strong { display: block; font-size: 12.5px; color: var(--header-text, var(--text-primary)); }
.nx-user-meta span { font-size: 11px; color: var(--text-muted); }

.nx-date-chip {
  display: none;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 12.5px;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .nx-date-chip { display: inline-flex; }
}

.nx-content {
  padding: 18px 20px 28px;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nx-credit {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  justify-content: center;
}

.nx-credit-login {
  margin-top: 28px;
  padding-top: 0;
}

.nx-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(7, 16, 28, 0.65);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color .15s, background .15s;
}

.nx-credit-badge:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(15, 23, 42, 0.9);
}

.nx-credit-badge img {
  height: 22px;
  width: auto;
  display: block;
}

/* Leads list */
.nx-leads-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 900px) {
  .nx-leads-filters {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    align-items: end;
  }
}
.nx-leads-bulk {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.nx-leads-bulk-grow { flex: 1 1 180px; }
.nx-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.nx-leads-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}
.nx-leads-meta strong { color: var(--text-primary); }
.nx-lead-name { font-weight: 600; color: var(--text-primary); }
.nx-lead-id { font-size: 11px; color: var(--text-muted); }
.nx-mono { font-variant-numeric: tabular-nums; font-size: 13px; }
.nx-status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}
.nx-link { color: #5eead4; font-weight: 600; }
.nx-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.nx-pager-info { color: var(--text-muted); font-size: 12px; }
.nx-pager-disabled { color: var(--text-muted); font-size: 13px; opacity: 0.5; }

.nx-flash {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
}

.nx-flash-ok {
  border: 1px solid color-mix(in srgb, var(--teal) 40%, var(--border));
  background: color-mix(in srgb, var(--teal) 12%, var(--card-bg));
  color: var(--text-primary);
}

.nx-flash-err {
  border: 1px solid color-mix(in srgb, var(--red) 40%, var(--border));
  background: color-mix(in srgb, var(--red) 12%, var(--card-bg));
  color: var(--text-primary);
}

/* ——— Cards / KPI ——— */
.nx-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.nx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.nx-card-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-primary);
}

.nx-card-link {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}

.nx-kpi-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .nx-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-kpi-grid.is-client { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .nx-kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nx-kpi-grid.is-client { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.nx-kpi {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .15s, border-color .15s;
}

.nx-kpi:hover {
  background: var(--card-bg-hover);
  border-color: var(--border);
}

.nx-kpi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.nx-kpi-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.nx-kpi-ico svg { width: 16px; height: 16px; }

.nx-kpi-ico.teal { background: rgba(20, 184, 166, 0.14); color: var(--teal); }
.nx-kpi-ico.blue { background: rgba(59, 130, 246, 0.14); color: var(--blue); }
.nx-kpi-ico.cyan { background: rgba(6, 182, 212, 0.14); color: var(--cyan); }
.nx-kpi-ico.orange { background: rgba(245, 158, 11, 0.14); color: var(--orange); }
.nx-kpi-ico.green { background: rgba(34, 197, 94, 0.14); color: var(--green); }
.nx-kpi-ico.red { background: rgba(239, 68, 68, 0.14); color: var(--red); }
.nx-kpi-ico.yellow { background: rgba(234, 179, 8, 0.14); color: #eab308; }

.nx-kpi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nx-kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nx-kpi-value.sm { font-size: 18px; }

.nx-kpi-trend {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
}

.nx-kpi-trend.down { color: var(--red); }
.nx-kpi-trend.muted { color: var(--text-muted); font-weight: 500; }

.nx-progress {
  margin-top: 4px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nx-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

/* ——— Mid grid ——— */
.nx-mid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

@media (min-width: 1100px) {
  .nx-mid {
    grid-template-columns: 1.4fr 1fr 0.95fr;
  }
  .nx-mid.is-simple {
    grid-template-columns: 1.35fr 1fr;
  }
}

.nx-chart-wrap {
  position: relative;
  height: 240px;
}

.nx-funnel {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.nx-funnel-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nx-funnel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.nx-funnel-bar {
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  min-width: 40%;
}

.nx-funnel-bar small {
  margin-left: auto;
  opacity: 0.85;
  font-weight: 500;
}

.nx-funnel-meta {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nx-conv {
  width: 118px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--input-bg, var(--card-bg));
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nx-conv span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nx-conv strong {
  font-size: 28px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nx-conv em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.nx-void-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.nx-void-status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.nx-void-dl {
  margin: 0;
  display: grid;
  gap: 9px;
}

.nx-void-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.nx-void-dl dt { color: var(--text-muted); }
.nx-void-dl dd { margin: 0; color: var(--text-primary); font-weight: 500; }
.nx-void-dl dd.ok { color: var(--green); }

.nx-void-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.nx-void-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

/* ——— Bottom ——— */
.nx-bottom {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

@media (min-width: 1100px) {
  .nx-bottom {
    grid-template-columns: 1.55fr 1fr;
  }
}

.nx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.nx-table th {
  text-align: left;
  padding: 10px 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.nx-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.nx-lead-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
}
.nx-lead-av {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.nx-lead-cell .nx-lead-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nx-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}

.nx-pill.fb { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.nx-pill.gg { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.nx-pill.ig { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.nx-pill.void { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.nx-pill.novo { background: rgba(34, 197, 94, 0.14); color: #4ade80; }
.nx-pill.atend { background: rgba(59, 130, 246, 0.14); color: #60a5fa; }
.nx-pill.outro { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

.nx-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.nx-activity li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 43, 65, 0.65);
}

.nx-activity li:last-child { border-bottom: 0; }

.nx-act-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.nx-act-ico.teal { background: rgba(20, 184, 166, 0.14); color: var(--teal); }
.nx-act-ico.green { background: rgba(34, 197, 94, 0.14); color: var(--green); }
.nx-act-ico.red { background: rgba(239, 68, 68, 0.14); color: var(--red); }
.nx-act-ico.blue { background: rgba(59, 130, 246, 0.14); color: var(--blue); }

.nx-act-body {
  min-width: 0;
}
.nx-act-body strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.nx-act-body span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-act-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.nx-empty {
  padding: 24px 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Compat com views antigas */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--on-accent, #042f2e); }
.btn-ghost { background: var(--control-bg, var(--card-bg)); color: var(--text-primary); border: 1px solid var(--border); }
.input, select, textarea {
  width: 100%;
  background: var(--input-bg, var(--bg-main));
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.55rem 0.75rem;
  color: var(--input-text, var(--text-primary));
  color-scheme: var(--scheme, dark);
}
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
table.data th { text-align: left; color: #64748b; font-weight: 600; padding: 0.75rem; border-bottom: 1px solid var(--border); }
table.data td { padding: 0.75rem; border-bottom: 1px solid var(--border); }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  color: var(--sidebar-text, var(--text-secondary));
  font-size: 0.9rem;
}
.sidebar-link:hover, .sidebar-link.active {
  background: color-mix(in srgb, var(--teal) 16%, transparent);
  color: var(--sidebar-text, var(--text-primary));
}

.nx-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 40;
}

.nx-overlay.is-open { display: block; }

@media (min-width: 1024px) {
  .nx-overlay { display: none !important; }
}

/* ========== Login premium (referência: login-nexus-leads.png) ========== */
body.nx-login-body {
  margin: 0;
  min-height: 100vh;
  background: #030712;
  color: #f5f7fb;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.nx-login {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .nx-login { grid-template-columns: 1.05fr 0.95fr; }
}

.nx-login-brand {
  position: relative;
  display: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 20% 100%, rgba(6, 182, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(20, 184, 166, 0.1), transparent 50%),
    linear-gradient(165deg, #050b14 0%, #07111f 45%, #050b14 100%);
  border-right: 1px solid rgba(28, 43, 65, 0.7);
  padding: 56px 56px 48px;
}

@media (min-width: 960px) {
  .nx-login-brand { display: flex; align-items: center; }
}

.nx-login-brand-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nx-login-watermark {
  position: absolute;
  left: -40px;
  bottom: 40px;
  font-size: clamp(220px, 28vw, 380px);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(34, 211, 238, 0.06);
  letter-spacing: -0.06em;
  user-select: none;
}

.nx-login-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.25));
}

.nx-login-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.nx-login-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nx-login-mark,
.nx-login-card-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  color: #04131a;
  background: linear-gradient(145deg, #22d3ee, #14b8a6 55%, #0ea5e9);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.35),
    0 0 28px rgba(34, 211, 238, 0.35);
}

.nx-login-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.nx-login-tag {
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.nx-login-rule {
  width: 56px;
  height: 3px;
  margin: 22px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #14b8a6);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.nx-login-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: #e2e8f0;
  max-width: 38ch;
}

.nx-login-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.nx-login-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.nx-login-fico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #22d3ee;
  background: rgba(8, 18, 33, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.08);
}

.nx-login-fico svg { width: 18px; height: 18px; }

.nx-login-features strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}

.nx-login-features span {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
}

.nx-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(6, 182, 212, 0.08), transparent 55%),
    #030712;
}

.nx-login-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(13, 23, 40, 0.96), rgba(8, 15, 28, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.nx-login-card-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  font-size: 24px;
}

.nx-login-card h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nx-login-card-sub {
  margin: 8px 0 22px;
  font-size: 14px;
  color: #94a3b8;
}

.nx-login-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.nx-login-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.nx-login-alert.ok {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #99f6e4;
}

.nx-login-alert.err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.nx-login-field {
  position: relative;
  display: block;
}

.nx-login-field input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  border-radius: 12px;
  border: 1px solid #1c2b41;
  background: #070f1a;
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.nx-login-field input::placeholder { color: #64748b; }

.nx-login-field input:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.nx-login-field-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
}

.nx-login-field-ico svg { width: 18px; height: 18px; display: block; }

.nx-login-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.nx-login-eye:hover { color: #94a3b8; background: rgba(255,255,255,0.04); }
.nx-login-eye svg { width: 18px; height: 18px; }

.nx-login-otp input { font-variant-numeric: tabular-nums; }

.nx-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.nx-login-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
}

.nx-login-check input {
  width: 16px;
  height: 16px;
  accent-color: #22d3ee;
  cursor: pointer;
}

.nx-login-forgot {
  font-size: 13px;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
}

.nx-login-forgot:hover { color: #67e8f9; text-decoration: underline; }

.nx-login-submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #06b6d4 0%, #22d3ee 45%, #14b8a6 100%);
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.28);
  transition: filter .15s, transform .15s;
}

.nx-login-submit:hover { filter: brightness(1.06); }
.nx-login-submit:active { transform: translateY(1px); }
.nx-login-submit svg { width: 18px; height: 18px; }

.nx-login-secure {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.nx-login-secure svg {
  width: 14px;
  height: 14px;
  color: #22d3ee;
}

.nx-login-glow {
  position: absolute;
  left: 10%;
  bottom: 8%;
  width: 70%;
  height: 35%;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.nx-login-pending-mail {
  margin: 0 0 4px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 959px) {
  .nx-login-card { padding: 28px 22px 22px; }
}

/* Notificações — fechado por padrão; só abre com .is-open */
.nx-notif-wrap { position: relative; }
.nx-notif-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, 88vw);
  max-height: 420px;
  overflow: hidden;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  z-index: 80;
}
.nx-notif-panel.is-open {
  display: flex;
}
.nx-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.nx-notif-all {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 11px;
  cursor: pointer;
}
.nx-notif-list { overflow-y: auto; max-height: 360px; }
.nx-notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nx-notif-item.is-unread { background: rgba(20,184,166,.08); }
.nx-notif-title { font-size: 13px; color: var(--text-primary); font-weight: 600; }
.nx-notif-body { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.nx-notif-meta {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.nx-notif-meta button {
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-size: 11px;
}
.nx-notif-empty {
  padding: 24px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.nx-login-mark img,
.nx-login-card-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nx-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.nx-export-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.nx-export-form .input { min-width: 180px; }
.nx-user-form { display: grid; gap: 12px; }
.nx-user-form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.nx-user-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.nx-user-edit {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  max-width: 720px;
}
.nx-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.nx-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow: auto;
  background: #0b1220;
  padding: 12px;
  border-radius: 10px;
  color: #94a3b8;
  margin: 0;
}

.nx-sidebar {
  background: var(--bg-sidebar);
  color: var(--sidebar-text, var(--text-secondary));
}
.nx-sidebar[style],
body[data-chrome="colorido"] .nx-sidebar {
  background-image: var(--sidebar-gradient, none);
  background-color: var(--bg-sidebar);
}
.nx-brand-title { color: var(--sidebar-text, var(--text-primary)); }
.nx-topbar {
  background: color-mix(in srgb, var(--bg-header) 92%, transparent);
  color: var(--header-text, var(--text-primary));
}
.nx-page-title h1 { color: var(--header-text, var(--text-primary)); }
.nx-lead-name { color: var(--text-primary); }
.nx-nav-link.active { color: var(--sidebar-text, var(--text-primary)); }

html[data-chrome="claro"],
html[data-chrome="semi"],
body[data-chrome="claro"],
body[data-chrome="semi"] { color-scheme: light; }
html:has(body[data-chrome="claro"]),
html:has(body[data-chrome="semi"]) { color-scheme: light; }

.nx-info-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--teal) 14%, var(--card-bg));
  border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--border));
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.5;
}
.nx-export-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}
.nx-export-panel h2 { margin: 0 0 4px; }
.nx-select-count {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.nx-theme-section { margin-bottom: 28px; }
.nx-theme-heading { font-size: 18px; margin: 0 0 4px; }
.nx-theme-lead { color: var(--text-secondary); font-size: 13px; margin: 0 0 14px; }
.nx-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.nx-theme-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.nx-theme-card.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.nx-theme-card strong { font-size: 13px; }
.nx-theme-card em { font-style: normal; font-size: 11px; color: var(--teal); }
.nx-theme-thumb {
  position: relative;
  width: 100%;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--m, #0b1220);
  border: 1px solid var(--border);
}
.nx-theme-thumb .t-side {
  position: absolute; left: 0; top: 0; bottom: 0; width: 28%;
  background: var(--s, #081221);
}
.nx-theme-thumb .t-head {
  position: absolute; left: 28%; right: 0; top: 0; height: 18%;
  background: var(--h, #07101c);
}
.nx-theme-thumb .t-w1,
.nx-theme-thumb .t-w2 {
  position: absolute; top: 32%; height: 42%; border-radius: 4px;
}
.nx-theme-thumb .t-w1 { left: 36%; width: 26%; background: var(--w1, #14b8a6); }
.nx-theme-thumb .t-w2 { left: 66%; width: 26%; background: var(--w2, #3b82f6); }

.nx-funnel-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px) {
  .nx-funnel-board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.nx-funnel-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.nx-funnel-card:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}
.nx-funnel-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.nx-funnel-count {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}
.nx-funnel-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
a.nx-funnel-bar {
  text-decoration: none;
  color: #fff;
}
.nx-task-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.nx-allotment {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 14px;
}
.nx-allotment-copy { min-width: 0; }
.nx-allotment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.nx-allotment-grid strong {
  display: block;
  font-size: 22px;
  color: var(--text-primary);
  margin-top: 2px;
}
.nx-allotment .nx-progress { grid-column: 1 / -1; width: 100%; }
@media (max-width: 800px) {
  .nx-allotment { grid-template-columns: 1fr; }
}

.nx-impersonate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(59, 130, 246, 0.12));
  animation: nxBarIn 0.45s ease;
}
.nx-impersonate-bar span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 2px;
}
.nx-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.nx-btn-ghost {
  background: var(--control-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.nx-btn-danger {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.nx-span-2 { grid-column: 1 / -1; }
.nx-site-toggle { padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.nx-plan-edit { margin: 10px 0; }
.nx-login-back { text-align: center; margin-top: 14px; }
.nx-login-back a { color: var(--cyan); text-decoration: none; }

.nx-wow {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.nx-wow[hidden] { display: none; }
.nx-wow-veil {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(10px);
  animation: nxFade 0.35s ease;
}
.nx-wow-spark {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 68%);
  animation: nxSpark 1.6s ease-in-out infinite;
  pointer-events: none;
}
.nx-wow-card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px 26px 22px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: nxPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nx-wow-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 2px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 8px rgba(20, 184, 166, 0.12), inset 0 0 18px rgba(34, 211, 238, 0.25);
  animation: nxRing 1.2s ease-out;
}
.nx-wow-kicker {
  margin: 0 0 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
}
.nx-wow-card h2 { margin: 0 0 8px; font-size: 26px; }
.nx-wow-card p { color: var(--text-secondary); margin: 0 0 18px; }
.nx-wow.is-out .nx-wow-card { animation: nxPopOut 0.32s ease forwards; }
.nx-wow.is-out .nx-wow-veil { animation: nxFadeOut 0.32s ease forwards; }

@keyframes nxBarIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes nxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxFadeOut { to { opacity: 0; } }
@keyframes nxPop {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes nxPopOut { to { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes nxSpark {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 0.95; }
}
@keyframes nxRing {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

body.nx-export-locked { overflow: hidden; }

.nx-export-modal[hidden] { display: none; }
.nx-export-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.nx-export-modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(10px);
}
.nx-export-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: nxPop 0.28s ease;
}
.nx-export-modal-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid rgba(20, 184, 166, 0.18);
  border-top-color: var(--teal);
  animation: nxSpin 0.8s linear infinite;
}
.nx-export-modal.is-error .nx-export-modal-spinner {
  animation: none;
  border-color: rgba(239, 68, 68, 0.25);
  border-top-color: var(--red);
}
.nx-export-modal-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-primary);
}
.nx-export-modal-status {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  min-height: 2.1em;
}
.nx-export-modal-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.nx-export-modal-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transition: width 0.35s ease;
}
.nx-export-modal.is-error .nx-export-modal-bar > span {
  background: var(--red);
}
.nx-export-modal-pct {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.nx-export-modal-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}
.nx-export-modal-card .btn {
  margin-top: 16px;
}
@keyframes nxSpin {
  to { transform: rotate(360deg); }
}




