/* Hub brand theme — coral accent from design system */

:root {
  --brand-name: 'NovaLex';
  --brand-accent: #F36E6D;
  --brand-accent-dark: #DB5C5B;
  --brand-accent-tint: #FDECEC;

  --nx-coral: var(--brand-accent);
  --nx-coral-dark: var(--brand-accent-dark);
  --nx-coral-tint: var(--brand-accent-tint);
  --nx-shadow-cta: 0 4px 14px rgba(243,110,109,.30);
}

.brand-page h1 {
  color: var(--nx-navy);
}

[data-theme="dark"] .brand-page h1 {
  color: var(--nx-ink);
}

/* Hub marketing frame (novalex.io) — Phase 6A.2 */

.nx-hub-nav__inner {
  gap: 24px;
  height: auto;
  min-height: 56px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.nx-hub-nav__links {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 900px) {
  .nx-hub-nav__links {
    display: flex;
  }
}

.nx-hub-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--nx-charcoal);
  text-decoration: none;
}

.nx-hub-nav__link:hover {
  color: var(--brand-accent);
  text-decoration: none;
}

.nx-hub-nav__sales {
  padding: 8px 14px;
  font-size: 13px;
}

.nx-btn-ghost-sm {
  background: transparent;
  border: none;
  color: var(--nx-charcoal);
  font-size: 13px;
  cursor: pointer;
}

.nx-hub-hero {
  padding: 72px 0 56px;
}

.nx-hub-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .nx-hub-hero__grid {
    grid-template-columns: 1fr;
  }

  .nx-hub-preview {
    min-height: 320px;
  }
}

.nx-hub-hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.nx-hub-hero__eyebrow-row .hero__eyebrow {
  margin-bottom: 0;
}

.nx-hub-hero__version {
  font-size: 12px;
  color: var(--nx-muted);
}

.nx-hub-hero__title {
  font-family: var(--nx-font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 500;
  color: var(--nx-ink);
}

.nx-hub-hero__title em {
  font-style: italic;
  color: var(--brand-accent);
}

.nx-hub-hero__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--nx-text);
  max-width: 520px;
  margin: 0 0 28px;
}

.nx-hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.nx-hub-hero__note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--nx-muted);
}

.nx-hub-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--nx-border);
  font-size: 13px;
  color: var(--nx-muted);
}

.nx-hub-hero__trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nx-hub-preview {
  position: relative;
  min-height: 420px;
}

.nx-hub-preview__card {
  position: absolute;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-shadow-lg);
  padding: 18px;
}

.nx-hub-preview__card--core {
  top: 16px;
  left: 16px;
  right: 0;
}

.nx-hub-preview__card--identitas {
  bottom: 0;
  left: 0;
  width: min(280px, 85%);
  transform: rotate(-2deg);
}

.nx-hub-preview__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.nx-hub-preview__card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-navy);
}

.nx-hub-preview__card-meta {
  margin-left: auto;
  font-size: 11px;
  color: var(--nx-muted);
}

.nx-hub-preview__label {
  font-family: var(--nx-font-display);
  font-size: 12px;
  color: var(--nx-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.nx-hub-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--nx-border);
  font-size: 13px;
  color: var(--nx-charcoal);
}

.nx-hub-preview__id-panel {
  background: var(--nx-cool);
  border-radius: var(--nx-radius);
  padding: 14px;
  margin-bottom: 12px;
}

.nx-hub-preview__id-fp { color: var(--nx-navy-text); display: block; margin-bottom: 6px; }
.nx-hub-preview__id-hash { font-size: 10px; color: var(--nx-muted); margin: 2px 0 0; }

.nx-hub-preview__id-muted {
  font-size: 11px;
  color: var(--nx-muted);
  margin: 0 0 6px;
}

.nx-hub-preview__id-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-navy);
  margin: 0;
}

/* Chips now live in _base.css (canonical pill, ported from the delivered
   design). The single-/double-dash variants there cover these usages. */

.nx-hub-apps {
  background: var(--nx-cool);
}

.nx-hub-apps__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.nx-hub-apps__title {
  font-family: var(--nx-font-display);
  font-size: clamp(28px, 4vw, 36px);
  margin: 8px 0 0;
  font-weight: 500;
  line-height: 1.15;
}

.nx-hub-apps__title em {
  font-style: italic;
  color: var(--brand-accent);
}

.nx-hub-apps__arch {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-accent);
  text-decoration: none;
  flex-shrink: 0;
}

.nx-hub-app-card {
  min-height: 220px;
}

.nx-hub-app-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-muted);
}

.nx-hub-app-card__learn {
  margin-top: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-accent);
}

.nx-hub-how {
  background: var(--nx-canvas);
}

.nx-hub-how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .nx-hub-how__grid {
    grid-template-columns: 1fr;
  }
}

.nx-hub-how__title {
  font-family: var(--nx-font-display);
  font-size: clamp(26px, 3.5vw, 34px);
  margin: 8px 0 16px;
  line-height: 1.15;
}

.nx-hub-how__title em {
  font-style: italic;
  color: var(--brand-accent);
}

.nx-hub-how__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nx-text);
  margin-bottom: 24px;
}

.nx-hub-step {
  border-top: 1px solid var(--nx-border);
  padding-top: 14px;
}

.nx-hub-handoff {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 24px;
  box-shadow: var(--nx-shadow);
}

.nx-hub-handoff__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.nx-hub-handoff__flow {
  font-size: 11px;
  color: var(--nx-muted);
}

.nx-hub-handoff__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.nx-hub-handoff__node {
  text-align: center;
  padding: 16px;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  background: var(--nx-cool);
  font-size: 12px;
}

.nx-hub-handoff__node--nx {
  background: var(--nx-canvas);
}

.nx-hub-handoff__quote {
  font-family: var(--nx-font-display);
  font-style: italic;
  color: var(--nx-navy);
  margin: 6px 0 0;
}

.nx-hub-handoff__arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--brand-accent);
}

.nx-hub-handoff__arrow-back { transform: scaleX(-1); }
.nx-hub-handoff__event { font-size: 9px; color: var(--nx-muted); }

.nx-hub-handoff__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--nx-text);
  background: var(--nx-cool);
  border-radius: var(--nx-radius);
  padding: 14px;
}

.nx-hub-handoff__note-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.nx-hub-handoff__note strong {
  color: var(--nx-charcoal);
}

.nx-hub-close {
  background: var(--nx-navy);
  color: #fcfcfc;
  text-align: left;
  padding: 64px 0 80px;
}

.nx-hub-close__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.nx-hub-close__title {
  font-family: var(--nx-font-display);
  font-size: clamp(28px, 4vw, 38px);
  margin: 0;
  font-weight: 500;
  color: #fcfcfc;
}

.nx-hub-close__title span {
  color: #fcfcfc;
}

.nx-hub-close__title em {
  font-style: italic;
  color: var(--brand-accent);
}

.nx-hub-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nx-hub-close__ghost {
  color: #fcfcfc;
  border-color: rgba(252, 252, 252, 0.28);
}

[data-theme="dark"] .nx-hub-close {
  background: var(--nx-navy-2);
}

/* NovaLex hub pages: keep CTA contrast independent from product themes. */
.nx-hub .btn-primary,
.nx-novalex .btn-primary,
.nx-hub .nx-btn-primary,
.nx-novalex .nx-btn-primary {
  justify-content: center;
  min-height: 44px;
  color: #fff !important;
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
  box-shadow: 0 10px 28px rgba(243, 110, 109, 0.26);
}

.nx-hub .btn-primary:hover,
.nx-novalex .btn-primary:hover,
.nx-hub .nx-btn-primary:hover,
.nx-novalex .nx-btn-primary:hover {
  color: #fff !important;
  background: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
}

.nx-hub .btn-ghost,
.nx-novalex .btn-ghost {
  justify-content: center;
  min-height: 44px;
  color: var(--nx-charcoal);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(17, 37, 67, 0.14);
}

.nx-hub-close .btn-ghost {
  color: #fcfcfc;
  background: transparent;
  border-color: rgba(252, 252, 252, 0.32);
}

.nx-novalex .nx-rg-nav {
  background: rgba(252, 252, 252, 0.92);
  border-bottom: 1px solid var(--nx-border);
}

.nx-novalex .nx-rg-nav__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nx-novalex .nx-rg-nav__links a {
  color: var(--nx-charcoal);
  font-size: 14px;
  text-decoration: none;
}

.nx-novalex .nx-rg-nav__links a:hover {
  color: var(--brand-accent);
}

.nx-novalex .nx-exp {
  padding-top: 56px;
  padding-bottom: 80px;
}

.nx-novalex .nx-hub-page__lead {
  max-width: 640px;
  color: var(--nx-text);
  font-size: 18px;
  line-height: 1.6;
}

.nx-novalex .nx-hub-product-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
}

.nx-novalex .nx-hub-product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 18px 20px;
  color: var(--nx-charcoal);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: var(--nx-shadow);
}

.nx-novalex .nx-hub-product-link:hover {
  color: var(--brand-accent);
  border-color: color-mix(in srgb, var(--brand-accent) 38%, var(--nx-border));
  transform: translateY(-1px);
}

.nx-novalex .nx-hub-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Hub subpages — pricing, security, docs, solicitar (Branding/v2 handoff) */

.nx-hub-nav__link--active {
  color: var(--brand-accent);
}

.nx-hub-page-hero {
  padding: 64px 0 44px;
}

.nx-hub-page-hero--center {
  text-align: center;
}

.nx-hub-page-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.nx-hub-page-hero--center .nx-hub-page-hero__inner {
  max-width: 720px;
}

.nx-hub-page-hero__title {
  font-family: var(--nx-font-display);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 14px 0;
  color: var(--nx-ink);
}

.nx-hub-page-hero__title em {
  font-style: italic;
  color: var(--brand-accent);
}

.nx-hub-page-hero__body {
  font-size: 16px;
  color: var(--nx-text);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.nx-hub-page-hero--navy {
  background: var(--nx-navy);
  color: #fcfcfc;
  padding-bottom: 56px;
}

.nx-hub-page-hero__title--light,
.nx-hub-page-hero__title--light em {
  color: #fcfcfc;
}

.nx-hub-page-hero__title--light em {
  color: var(--brand-accent);
}

.nx-hub-page-hero__body--light {
  color: rgba(252, 252, 252, 0.72);
  margin: 0;
  max-width: 640px;
}

.nx-hub-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nx-hub-page-hero__ghost-light {
  color: #fcfcfc;
  border-color: rgba(252, 252, 252, 0.28);
}

.nx-pricing-plans {
  padding: 0 0 56px;
}

.nx-pricing-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .nx-pricing-plans__grid {
    grid-template-columns: 1fr;
  }
}

.nx-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-shadow);
}

.nx-pricing-card--featured {
  border: 1.5px solid var(--brand-accent);
  box-shadow: var(--nx-shadow-lg);
}

.nx-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
}

.nx-pricing-card h2 {
  font-size: 20px;
  margin: 0 0 4px;
}

.nx-pricing-card__desc {
  font-size: 13px;
  color: var(--nx-muted);
  margin: 0 0 22px;
}

.nx-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}

.nx-pricing-card__price span {
  font-family: var(--nx-font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--nx-ink);
}

.nx-pricing-card__price--sm span {
  font-size: 34px;
  line-height: 1.2;
}

.nx-pricing-card__price small {
  font-size: 12px;
  color: var(--nx-muted);
}

.nx-pricing-card__features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.nx-pricing-card__features li {
  font-size: 13px;
  color: var(--nx-text);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.nx-pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

.nx-pricing-card__cta {
  width: 100%;
  margin-top: auto;
}

.nx-pricing-card__cta--dark {
  background: var(--nx-navy);
  border-color: var(--nx-navy);
  color: #fcfcfc;
}

.nx-pricing-usage {
  padding: 56px 0;
  background: var(--nx-cool);
  border-top: 1px solid var(--nx-border);
}

.nx-pricing-usage__title {
  font-family: var(--nx-font-display);
  font-size: clamp(25px, 3vw, 30px);
  margin: 6px 0 24px;
}

.nx-pricing-usage__table {
  overflow: hidden;
  padding: 0;
}

.nx-pricing-usage__head,
.nx-pricing-usage__row {
  display: grid;
  grid-template-columns: 1fr 220px 110px;
  gap: 8px;
  align-items: center;
  padding: 13px 20px;
}

.nx-pricing-usage__head {
  background: var(--nx-cool);
  border-bottom: 1px solid var(--nx-border);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nx-muted);
  font-weight: 600;
}

.nx-pricing-usage__row {
  border-top: 1px solid var(--nx-border);
  font-size: 13px;
}

.nx-pricing-usage__row--featured {
  background: rgba(243, 110, 109, 0.04);
}

.nx-pricing-usage__product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--nx-charcoal);
}

.nx-pricing-usage__price {
  font-family: var(--nx-font-display);
  font-size: 18px;
  color: var(--nx-navy-text);
  font-weight: 500;
  text-align: right;
}

.nx-pricing-usage__note {
  font-size: 12px;
  color: var(--nx-muted);
  margin-top: 12px;
}

@media (max-width: 760px) {
  .nx-pricing-usage__head {
    display: none;
  }

  .nx-pricing-usage__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .nx-pricing-usage__price {
    text-align: left;
    padding-left: 32px;
  }
}

.nx-hub-page-close {
  background: var(--nx-navy);
  color: #fcfcfc;
  padding: 56px 0 72px;
}

.nx-hub-page-close__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.nx-hub-page-close h2 {
  font-family: var(--nx-font-display);
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.15;
  margin: 0;
  color: #fcfcfc;
}

.nx-hub-page-close h2 em {
  font-style: italic;
  color: var(--brand-accent);
  font-weight: 400;
}

.nx-hub-page-close p {
  font-size: 14px;
  color: rgba(252, 252, 252, 0.72);
  margin-top: 10px;
}

.nx-hub-page-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nx-hub-page-close__ghost {
  color: #fcfcfc;
  border-color: rgba(252, 252, 252, 0.28);
}

.nx-security-pillars {
  padding: 56px 0;
}

.nx-security-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 960px) {
  .nx-security-pillars__grid {
    grid-template-columns: 1fr;
  }
}

.nx-security-pillar h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.nx-security-pillar p {
  font-size: 14px;
  color: var(--nx-text);
  line-height: 1.55;
  margin: 0;
}

.nx-security-products {
  padding: 56px 0;
  background: var(--nx-cool);
}

.nx-security-products__title {
  font-family: var(--nx-font-display);
  font-size: clamp(24px, 3vw, 30px);
  margin: 6px 0 24px;
}

.nx-security-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--nx-surface);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
}

.nx-security-table th,
.nx-security-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--nx-border);
  text-align: left;
  font-size: 13px;
}

.nx-security-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nx-muted);
}

.nx-security-standards {
  padding: 56px 0 72px;
}

.nx-security-standards__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .nx-security-standards__inner {
    grid-template-columns: 1fr;
  }
}

.nx-security-standards__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  color: var(--nx-text);
  display: grid;
  gap: 10px;
}

.nx-security-standards__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.nx-security-standards__certs {
  display: grid;
  gap: 14px;
}

.nx-security-cert h3 {
  margin: 10px 0 6px;
}

.nx-security-cert p {
  margin: 0;
  font-size: 13px;
  color: var(--nx-muted);
}

/* Security — icon treatments (Branding/v2 Security frame) */
.nx-security-pillar__ico,
.nx-security-cert__ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 37, 67, 0.06);
  color: var(--nx-navy-text);
  margin-bottom: 14px;
}

.nx-security-prod {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nx-security-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nx-docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 200px;
  gap: 32px;
  padding: 48px 0 72px;
}

@media (max-width: 960px) {
  .nx-docs-layout {
    grid-template-columns: 1fr;
  }

  .nx-docs-onpage {
    display: none;
  }
}

.nx-docs-nav__group {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nx-muted);
  margin: 0 0 8px;
}

.nx-docs-nav__link {
  display: block;
  padding: 8px 0;
  color: var(--nx-charcoal);
  text-decoration: none;
  font-size: 14px;
}

.nx-docs-nav__link--active,
.nx-docs-nav__link:hover {
  color: var(--brand-accent);
}

.nx-docs-crumb {
  font-size: 12px;
  color: var(--nx-muted);
  margin: 0 0 8px;
}

.nx-docs-content h1 {
  font-family: var(--nx-font-display);
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 12px;
}

.nx-docs-lead {
  color: var(--nx-text);
  line-height: 1.6;
  max-width: 640px;
}

.nx-docs-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 24px 0 12px;
}

.nx-docs-method {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-accent);
}

.nx-docs-path {
  font-family: var(--nx-font-mono, ui-monospace, monospace);
  font-size: 14px;
}

.nx-docs-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--nx-muted);
}

/* Params table — ported from the Fable Docs frame (3-column Campo/Tipo/Descripción
   with a required/optional badge on the field). Replaces the earlier bare <ul>. */
.nx-docs-param-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 0 0 30px;
  font-size: 13px;
}

.nx-docs-param-table thead th {
  text-align: left;
  padding: 9px 16px;
  background: var(--nx-cool);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nx-muted);
  font-weight: 600;
}

.nx-docs-param-table tbody td {
  padding: 12px 16px;
  vertical-align: baseline;
  border-top: 1px solid var(--nx-border);
  color: var(--nx-text);
  line-height: 1.5;
}

.nx-docs-param-table__field code {
  font-size: 12.5px;
  color: var(--nx-charcoal);
  font-weight: 600;
}

.nx-docs-param-table__req {
  margin-left: 7px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nx-muted);
}

.nx-docs-param-table__req--required {
  color: var(--nx-coral-dark);
}

.nx-docs-param-table__type {
  font-size: 12px;
  color: var(--nx-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nx-docs-param-table thead {
    display: none;
  }
  .nx-docs-param-table,
  .nx-docs-param-table tbody,
  .nx-docs-param-table tr,
  .nx-docs-param-table td {
    display: block;
    width: 100%;
  }
  .nx-docs-param-table tbody td {
    border-top: none;
    padding: 2px 16px;
  }
  .nx-docs-param-table tbody tr {
    padding: 10px 0;
    border-top: 1px solid var(--nx-border);
  }
}

.nx-code-block {
  background: #0b1322;
  color: #dbe4f2;
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.55;
  margin: 12px 0 24px;
}

/* Code block with header chrome (Branding/v2 Docs CodeBlock) */
.nx-code {
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0 24px;
  background: #0b1322;
}

.nx-code__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nx-code__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-coral);
}

.nx-code__label {
  font-family: var(--nx-font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: rgba(219, 228, 242, 0.6);
}

.nx-code .nx-code-block {
  border-radius: 0;
  margin: 0;
}

.nx-docs-onpage__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nx-muted);
  margin: 0 0 10px;
}

.nx-docs-onpage a {
  display: block;
  font-size: 13px;
  color: var(--nx-charcoal);
  text-decoration: none;
  padding: 4px 0;
}

.nx-docs-help {
  margin-top: 24px;
  padding: 16px;
}

.nx-access-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: calc(100vh - 56px);
}

@media (max-width: 820px) {
  .nx-access-layout {
    grid-template-columns: 1fr;
  }
}

.nx-access-brand {
  background: var(--nx-navy);
  color: #fcfcfc;
}

.nx-access-brand__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}

.nx-access-brand__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 12%, rgba(243, 110, 109, 0.18), transparent 55%);
}

.nx-access-brand__logo {
  position: relative;
  color: #fcfcfc;
  font-family: var(--nx-font-display);
  font-size: 22px;
  text-decoration: none;
}

.nx-access-brand__copy {
  position: relative;
  margin: auto 0;
  padding: 32px 0;
}

.nx-access-brand__copy h1 {
  font-family: var(--nx-font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  color: #fcfcfc;
  margin: 0 0 18px;
}

.nx-access-brand__copy h1 em {
  font-style: italic;
  color: var(--brand-accent);
  font-weight: 400;
}

.nx-access-brand__copy p {
  font-size: 15px;
  color: rgba(252, 252, 252, 0.7);
  line-height: 1.6;
  max-width: 360px;
}

.nx-access-brand__checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.nx-access-brand__checks li {
  font-size: 14px;
  color: rgba(252, 252, 252, 0.85);
  padding-left: 22px;
  position: relative;
}

.nx-access-brand__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ecb96;
}

.nx-access-brand__legal {
  position: relative;
  font-size: 12px;
  color: rgba(252, 252, 252, 0.45);
  margin: 0;
}

.nx-access-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 48px;
  background: var(--nx-canvas);
}

.nx-access-form {
  width: 100%;
  max-width: 460px;
}

.nx-access-form h2 {
  font-family: var(--nx-font-display);
  font-size: 30px;
  margin: 0 0 6px;
}

.nx-access-form__sub {
  font-size: 14px;
  color: var(--nx-muted);
  margin: 0 0 26px;
}

.nx-access-form__grid {
  display: grid;
  gap: 16px;
}

.nx-access-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .nx-access-form__row {
    grid-template-columns: 1fr;
  }

  .nx-access-brand__inner,
  .nx-access-form-wrap {
    padding: 32px 24px;
  }
}

.nx-access-form__interests {
  border: 0;
  margin: 0;
  padding: 0;
}

.nx-access-form__interests legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.nx-access-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 8px 0;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--nx-border-2);
  background: var(--nx-surface);
  font-size: 13px;
  cursor: pointer;
}

.nx-access-chip--on {
  border-color: var(--brand-accent);
  background: var(--brand-accent-tint);
  color: var(--brand-accent-dark);
  font-weight: 600;
}

.nx-access-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nx-access-form__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--nx-muted);
  margin: 0;
}

.nx-access-form__note--center {
  justify-content: center;
}

.nx-access-form__submit {
  justify-content: center;
}

.nx-access-form__label {
  display: block;
}

.nx-access-form__label-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-charcoal);
  margin-bottom: 6px;
}

.nx-access-form__label .nx-input {
  width: 100%;
}

.nx-access-form__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 4px 0;
}

.nx-access-form__divider span {
  font-size: 12px;
  color: var(--nx-muted);
}

.nx-access-form__terms {
  font-size: 11px;
  color: var(--nx-muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

.nx-access-form__terms a {
  color: var(--nx-text);
  text-decoration: underline;
}

.nx-access-brand__apps {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.nx-access-form .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.nx-access-form .nx-input:disabled {
  background: var(--nx-cool);
  opacity: 0.7;
  cursor: not-allowed;
}

@media (min-width: 821px) {
  .nx-access-layout--login {
    grid-template-columns: 1.1fr 1fr;
  }
}

.nx-access-form__signin {
  margin-top: 20px;
  font-size: 13px;
  color: var(--nx-muted);
}

.nx-access-form__signin a {
  color: var(--brand-accent);
}

.nx-access-form__sent {
  font-size: 16px;
  color: var(--nx-success);
  line-height: 1.5;
}

.nx-access-form__or {
  text-align: center;
  font-size: 14px;
  color: var(--nx-muted);
  margin: 0.25rem 0;
}

/* ── Tenant hub (Core) — Branding/v2 frames Login + Core + Settings ───────── */
.nx-core-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--nx-cool);
}

.nx-core-sidebar {
  background: var(--nx-navy);
  color: #fff;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

.nx-core-sidebar__brand {
  font-family: var(--nx-font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 8px 8px 20px;
}

.nx-core-sidebar__ws {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(252, 252, 252, 0.06);
  border: 1px solid rgba(252, 252, 252, 0.08);
  color: #fcfcfc;
  text-decoration: none;
}

.nx-core-sidebar__ws:hover {
  background: rgba(252, 252, 252, 0.1);
}

.nx-core-sidebar__ws-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--nx-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nx-font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.nx-core-sidebar__ws-info {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.nx-core-sidebar__ws-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-core-sidebar__ws-sub {
  display: block;
  font-size: 11px;
  color: rgba(252, 252, 252, 0.55);
  text-transform: capitalize;
}

.nx-core-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-core-sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  color: rgba(252, 252, 252, 0.7);
  text-decoration: none;
  font-size: 13px;
}

.nx-core-sidebar__link-text {
  flex: 1;
  min-width: 0;
}

.nx-core-sidebar__link:hover {
  background: rgba(252, 252, 252, 0.06);
  color: #fff;
}

.nx-core-sidebar__link--active {
  background: rgba(243, 110, 109, 0.12);
  color: #fff;
}

.nx-core-sidebar__link--active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--nx-coral);
  border-radius: 0 2px 2px 0;
}

.nx-core-sidebar__section {
  margin-top: 24px;
}

.nx-core-sidebar__section-label {
  display: block;
  padding: 0 10px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.45);
}

.nx-core-sidebar__app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-success);
  flex-shrink: 0;
}

.nx-core-sidebar__user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid rgba(252, 252, 252, 0.08);
}

.nx-core-sidebar__user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #1c3258;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fcfcfc;
}

.nx-core-sidebar__user-name {
  display: block;
  font-size: 13px;
  color: #fcfcfc;
}

.nx-core-sidebar__user-cog {
  color: rgba(252, 252, 252, 0.55);
  display: inline-flex;
  flex-shrink: 0;
}

.nx-core-sidebar__user-cog:hover {
  color: #fcfcfc;
}

.nx-core-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nx-core-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--nx-surface);
  border-bottom: 1px solid var(--nx-border);
}

.nx-core-topbar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 460px;
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--nx-cool);
  color: #8a8f96;
}

.nx-core-topbar__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--nx-charcoal);
  outline: none;
}

.nx-core-topbar__kbd {
  flex-shrink: 0;
}

.nx-core-topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nx-core-topbar__upgrade {
  border-color: transparent;
}

.nx-core-topbar__icon {
  display: inline-flex;
  color: #4a5057;
}

.nx-core-topbar__icon:hover {
  color: var(--nx-charcoal);
}

.nx-core-topbar__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.82rem;
}

.nx-core-topbar__name {
  font-weight: 600;
  color: var(--nx-navy-text);
}

.nx-core-topbar__role {
  color: var(--nx-muted);
  text-transform: capitalize;
}

.nx-core-content {
  padding: 1.5rem 2rem 2.5rem;
}

.nx-core-content.wrap {
  max-width: 1120px;
}

/* Card look comes from _base.css (design). Keep padding helper for hub cards. */
.nx-card {
  padding: 1.25rem 1.5rem;
}

.nx-core-hero__title {
  font-family: var(--nx-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--nx-navy-text);
  margin: 0.35rem 0 1.25rem;
}

.nx-core-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nx-core-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.nx-core-kpi__value {
  font-family: var(--nx-font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  color: var(--nx-ink);
}

.nx-core-apps {
  margin-bottom: 1.5rem;
}

.nx-core-apps__title {
  font-size: 16px;
  margin: 0 0 6px;
}

.nx-core-apps__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--nx-border);
  text-decoration: none;
  color: inherit;
}

.nx-core-apps__row:first-of-type {
  border-top: 0;
}

.nx-core-apps__info {
  flex: 1;
  min-width: 0;
}

.nx-core-apps__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-charcoal);
}

.nx-core-apps__desc {
  display: block;
  font-size: 11px;
  color: var(--nx-muted);
}

.nx-core-apps__row .nx-icon {
  color: var(--nx-muted);
  flex-shrink: 0;
}

.nx-core-apps__row:hover .nx-core-apps__name {
  color: var(--nx-coral);
}

/* Empty-state onboarding (Branding/v2 EmptyCore) */
.nx-core-empty__hero {
  margin-bottom: 1.5rem;
}

.nx-core-empty__intro {
  font-size: 13px;
  color: var(--nx-muted);
  margin: 0.25rem 0 0;
}

.nx-core-empty__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items: start;
}

.nx-core-empty__main,
.nx-core-empty__side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

@media (max-width: 860px) {
  .nx-core-empty__grid {
    grid-template-columns: 1fr;
  }
}

.nx-onboard {
  padding: 0;
  overflow: hidden;
}

.nx-onboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-onboard__head h2 {
  font-size: 16px;
  margin: 0;
}

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

.nx-onboard__bar {
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: var(--nx-cool-2);
  overflow: hidden;
}

.nx-onboard__bar > span {
  display: block;
  height: 100%;
  background: var(--nx-coral);
}

.nx-onboard__count {
  font-size: 11px;
  font-weight: 600;
  color: var(--nx-muted);
}

.nx-onboard__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--nx-border);
}

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

.nx-onboard__step--done {
  opacity: 0.6;
}

.nx-onboard__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-cool);
  border: 1px solid var(--nx-border-2);
  color: var(--nx-muted);
  font-size: 11px;
  font-weight: 600;
}

.nx-onboard__step--done .nx-onboard__num {
  background: var(--nx-success);
  border-color: transparent;
  color: #fcfcfc;
}

.nx-onboard__body {
  flex: 1;
  min-width: 0;
}

.nx-onboard__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-ink);
}

.nx-onboard__step--done .nx-onboard__title {
  text-decoration: line-through;
}

.nx-onboard__desc {
  font-size: 12px;
  color: var(--nx-text);
  margin: 2px 0 0;
}

.nx-core-empty__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.nx-core-kpi--zero .nx-core-kpi__value {
  font-size: 32px;
  color: var(--nx-border-2);
}

.nx-core-kpi__none {
  font-size: 11px;
  font-style: italic;
  color: var(--nx-muted);
}

.nx-core-empty__area {
  height: 170px;
  border-radius: var(--nx-radius);
  border: 1px dashed var(--nx-border-2);
  background: repeating-linear-gradient(45deg, rgba(17, 37, 67, 0.025) 0 12px, transparent 12px 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nx-core-empty__area p {
  font-size: 13px;
  color: var(--nx-text);
  margin: 0;
}

.nx-core-empty__area .mono {
  font-size: 10.5px;
  color: var(--nx-muted);
}

.nx-core-trial {
  background: var(--nx-navy);
  border: none;
  color: #fcfcfc;
}

.nx-core-trial h3 {
  color: #fcfcfc;
  font-size: 22px;
  margin: 6px 0 0;
}

.nx-core-trial p {
  font-size: 12.5px;
  color: rgba(252, 252, 252, 0.7);
  line-height: 1.55;
  margin: 8px 0 16px;
}

.nx-core-trial__eyebrow {
  color: rgba(252, 252, 252, 0.55);
}

/* Populated hub body — two-column layout (NovaLexCore frame 04).
   All panel-title / dt / dd color/margin overrides are ancestor-scoped
   (two classes) so they beat _base.css `.nx h2 / .nx p` at (0,1,1). */
.nx-core-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.125rem;
  align-items: start;
}

.nx-core-body__main,
.nx-core-body__side {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
}

@media (max-width: 860px) {
  .nx-core-body {
    grid-template-columns: 1fr;
  }
}

/* Matters table (LEFT) */
.nx-core-matters .nx-core-matters__title,
.nx-core-searches .nx-core-searches__title,
.nx-core-activity .nx-core-activity__title {
  font-size: 16px;
  margin: 0 0 0.75rem;
  color: var(--nx-navy-text);
}

.nx-core-matters__scroll {
  overflow-x: auto;
}

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

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

.nx-core-table td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--nx-border);
  vertical-align: middle;
}

.nx-core-table tr:last-child td {
  border-bottom: 0;
}

.nx-core-table__right {
  text-align: right;
}

.nx-core-table__name {
  display: block;
  color: var(--nx-ink);
  font-weight: 500;
}

.nx-core-table__meta {
  display: block;
  font-size: 11px;
  color: var(--nx-muted);
  margin-top: 2px;
}

/* Búsquedas recientes (LEFT) */
.nx-core-searches__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-core-searches__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--nx-border);
}

.nx-core-searches__row:first-child {
  border-top: 0;
}

.nx-core-searches__row .nx-icon {
  color: var(--nx-muted);
  flex-shrink: 0;
}

.nx-core-searches__addr {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--nx-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-core-searches__chain {
  font-size: 11px;
  color: var(--nx-muted);
  text-transform: capitalize;
}

.nx-core-searches__when {
  font-size: 11px;
  color: var(--nx-muted);
  flex-shrink: 0;
}

/* Honest empty line, shared by matters/búsquedas panels */
.nx-core-empty-line {
  font-size: 13px;
  color: var(--nx-muted);
  margin: 0;
}

/* Plan card (RIGHT) — real fields only, no fabricated seat/usage numbers */
.nx-core-plan .nx-core-plan__eyebrow {
  display: block;
  margin: 0 0 0.75rem;
}

.nx-core-plan__list {
  margin: 0;
}

.nx-core-plan__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 13px;
}

.nx-core-plan .nx-core-plan__row dt {
  color: var(--nx-muted);
}

.nx-core-plan .nx-core-plan__row dd {
  margin: 0;
  color: var(--nx-charcoal);
  font-weight: 600;
}

.nx-core-plan .nx-core-plan__tier {
  text-transform: capitalize;
}

/* Recent activity (RIGHT) */
.nx-core-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nx-core-activity__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.nx-core-activity__label {
  font-size: 13px;
  color: var(--nx-charcoal);
  min-width: 0;
}

.nx-core-activity__when {
  font-size: 11px;
  color: var(--nx-muted);
  flex-shrink: 0;
}

.nx-core-activity .nx-core-activity__empty {
  font-size: 13px;
  color: var(--nx-muted);
  margin: 0;
}

.nx-settings-tabs {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--nx-border);
  padding-bottom: 0.5rem;
}

.nx-settings-tabs__active {
  font-weight: 600;
  color: var(--nx-navy-text);
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 0.35rem;
}

.nx-settings-tabs__disabled {
  color: var(--nx-muted);
  opacity: 0.65;
}

.nx-settings-team__legend {
  font-size: 0.85rem;
  color: var(--nx-muted);
  margin-bottom: 0.75rem;
}

.nx-settings-member {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nx-settings-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-navy);
  color: #fcfcfc;
  font-size: 11px;
  font-weight: 600;
}

.nx-settings-products {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nx-console-roles {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nx-settings-plan {
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .nx-core-layout {
    grid-template-columns: 1fr;
  }
  .nx-core-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .nx-core-sidebar__brand {
    padding: 0 8px 0 0;
  }
  .nx-core-sidebar__ws,
  .nx-core-sidebar__user,
  .nx-core-sidebar__section-label {
    display: none;
  }
  .nx-core-sidebar__section {
    margin-top: 0;
  }
  .nx-core-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 4px;
  }
  .nx-core-sidebar__link--active::before {
    display: none;
  }
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-muted);
  margin: 0;
}

.nx-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.nx-badge--warn { background: rgba(185, 128, 36, 0.12); color: var(--nx-warn); }
.nx-badge--info { background: rgba(17, 37, 67, 0.08); color: var(--nx-navy-text); }
.nx-badge--success { background: rgba(27, 127, 88, 0.12); color: #1b7f58; }

.nx-support-head,
.nx-inv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.nx-support-head__sub,
.nx-inv-head__sub {
  font-size: 0.88rem;
  color: var(--nx-muted);
  margin-top: 0.35rem;
}

.nx-inv-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nx-inv-head__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.nx-support-layout {
  display: grid;
  grid-template-columns: 300px 1fr 240px;
  gap: 1rem;
  align-items: start;
}

.nx-support-list { padding: 0; overflow: hidden; }

.nx-support-ticket {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--nx-border);
  cursor: default;
}

.nx-support-ticket--active {
  background: rgba(243, 110, 109, 0.06);
  border-left: 2px solid var(--brand-accent);
}

.nx-support-ticket__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.nx-support-ticket__preview,
.nx-support-ticket__when {
  font-size: 0.78rem;
  color: var(--nx-muted);
}

.nx-support-thread__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.nx-support-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.nx-support-msg {
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: var(--nx-cool);
}

.nx-support-msg--support {
  background: rgba(17, 37, 67, 0.06);
}

.nx-support-msg__author {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--nx-muted);
  margin-bottom: 0.25rem;
}

.nx-support-reply textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.nx-support-reply__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.nx-support-meta {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

.nx-support-meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--nx-cool);
}

.nx-support-meta dt {
  color: var(--nx-muted);
  font-weight: 500;
}

.nx-support-meta dd {
  margin: 0;
  text-align: right;
}

.nx-support-side__note {
  font-size: 0.78rem;
  color: var(--nx-muted);
  line-height: 1.5;
  margin-top: 1rem;
}

.nx-inv-steps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.nx-inv-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--nx-muted);
}

.nx-inv-step__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--nx-border);
}

.nx-inv-step--done { color: var(--nx-success); }
.nx-inv-step--done .nx-inv-step__dot { background: var(--nx-success); }
.nx-inv-step--active { color: var(--nx-navy-text); font-weight: 600; }
.nx-inv-step--active .nx-inv-step__dot { background: var(--brand-accent); }

.nx-inv-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  align-items: start;
}

.nx-inv-finding {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--nx-cool);
}

.nx-inv-finding__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.nx-inv-findings__note {
  font-size: 0.82rem;
  color: var(--nx-muted);
  margin-bottom: 0.75rem;
}

.nx-inv-graph {
  margin-top: 1rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-muted);
  font-size: 0.85rem;
  background: var(--nx-cool);
}

.nx-inv-team__body,
.nx-inv-linked {
  font-size: 0.85rem;
  color: var(--nx-muted);
  line-height: 1.5;
}

.nx-inv-team__list,
.nx-inv-linked {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

@media (max-width: 960px) {
  .nx-support-layout,
  .nx-inv-layout {
    grid-template-columns: 1fr;
  }
}

