/* 09.11.2026 Nectify Demo + Plattform V2: rechte Seite (Inhaltsbereich).
   Nur Overrides, Portal-Tokens -> Hell/Dunkel automatisch. */

/* Export-Status als Etikett, immer einzeilig */
.xst{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:.74rem;font-weight:600;line-height:1;padding:5px 9px 5px 8px;border-radius:999px;border:1px solid transparent}
.xst .dot{margin:0!important;flex:0 0 auto}
.xst--ok{color:var(--positive);background:var(--positive-soft);border-color:color-mix(in srgb,var(--positive) 22%,transparent)}
.xst--wait{color:#a16207;background:color-mix(in srgb,#d97706 12%,transparent);border-color:color-mix(in srgb,#d97706 22%,transparent)}
:root[data-theme="dark"] .xst--wait{color:#fbbf24}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .xst--wait{color:#fbbf24}}

/* Lead-Tabellen: Zeilen oben buendig, Preis auf der Grundlinie der fetten Zeile */
table.leads td{vertical-align:top}
table.leads td.pot-value{padding-top:calc(var(--nx-td-pt,16px) + 1px)}
#startLeadsTableBody td{padding-top:14px;padding-bottom:14px}
#startLeadsTableBody .xst{font-size:.7rem;padding:4px 8px 4px 7px;gap:5px}
#startLeadsTableBody td,#startLeadsTableBody+* td{padding-left:8px;padding-right:8px}
#startLeadsTableBody td:first-child{padding-left:14px}
#startLeadsTableBody td.pot-value{padding-right:14px}
/* mobil: im schmalen Start-Kachel nur der farbige Statuspunkt, Text als Tooltip */
@media (max-width:640px){
  /* 09.11.2026: feste runde Flaeche, Text unsichtbar; nicht nur font-size:0 (Mindestschriftgroesse am Handy machte Gruen oval) */
  #startLeadsTableBody .xst{position:relative;box-sizing:border-box;width:22px;height:22px;min-width:22px;max-width:22px;flex:0 0 22px;padding:0;gap:0;border-radius:50%;overflow:hidden;font-size:0;color:transparent;vertical-align:middle}
  #startLeadsTableBody .xst .dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:8px!important;height:8px!important;margin:0!important}
}

/* Start: Kachel Schnittstellen, Zeile zur letzten Uebermittlung */
.nx-integ-sum{display:flex;align-items:center;gap:9px;margin:14px 20px 4px;padding:11px 14px;border-radius:10px;font-size:.8rem;color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border)}
.nx-integ-sum .dot{margin:0!important;flex:0 0 auto}
.nx-integ-sum.is-ok{color:var(--positive);background:var(--positive-soft);border-color:color-mix(in srgb,var(--positive) 20%,transparent)}

/* Integrationen: einheitliche, kompakte Kacheln statt bunter Quadrate */
@media (min-width:641px){
  html .integrations-tiles{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
  html .integration-tile.integration-tile{aspect-ratio:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;justify-items:start;text-align:left;padding:14px 16px;min-height:74px;position:relative;background:var(--surface)!important;border-color:var(--border)!important}
  html .integration-tile .provider-icon{grid-column:1;grid-row:1 / span 2;align-self:center}
  html .integration-tile__name{font-size:.88rem;align-self:end;grid-column:2 / span 2;max-width:100%}
  html .integration-tile__meta{grid-column:2}
  html .integration-tile__meta{font-size:.76rem;align-self:start}
  html .integration-tile:hover{border-color:var(--border-strong)!important;background:var(--surface-2)!important}
}
@media (max-width:640px){html .integration-tile.integration-tile{background:var(--surface)!important;border-color:var(--border)!important}}
#integrationsActiveTiles .integration-tile{border-color:color-mix(in srgb,var(--positive) 30%,var(--border))!important}
.integ-live{display:inline-flex;align-items:center;gap:5px;font-size:.68rem;font-weight:700;color:var(--positive);background:var(--positive-soft);border-radius:999px;padding:3px 8px 3px 7px;white-space:nowrap}
.integ-live .dot{margin:0!important;width:6px!important;height:6px!important}
@media (min-width:641px){#integrationsActiveTiles .integ-live{grid-column:3;grid-row:2;align-self:center;justify-self:end;margin-left:8px}}

/* Leadkauf: Preis nach Region statt Betrag */
.plan-price .plan-price-label{font-family:"Manrope",sans-serif;font-size:1.15rem;font-weight:700;color:var(--text);letter-spacing:-.01em}

/* Statistik: Filterleiste in zwei klaren Gruppen, eine Schriftgroesse */
.stat-filter-grouplabel{font-size:.7rem!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--accent)!important;padding:4px 9px!important;border-radius:999px!important;background:var(--accent-soft)!important}
.cube-field[data-cube-field="chart-type"]>label,.cube-field[data-cube-field="range"]>label{display:none!important}
.cube-field>label{font-size:.72rem!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:var(--text-muted)!important}
/* Statistik mobil: Pivot-Tabelle zeigt alle Spalten (die Lead-Regel blendete Spalte 2 aus -> falsche Summe) */
@media (max-width:640px){
  #cubeTable th,#cubeTable td{display:table-cell!important}
  #cubeTable{min-width:100%}
}

/* Demo-Willkommensfenster im V2-Stil: klare Flaeche statt grauem Glas */
html .nxw-ov{background:color-mix(in srgb,var(--bg) 55%,transparent)!important}
html .nxw-card.nxw-card{background:var(--surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid var(--border)!important;box-shadow:0 30px 80px -30px rgba(10,10,30,.45),0 2px 6px rgba(10,10,30,.06)!important;border-radius:18px!important}
html .nxw-accentbar{height:3px!important;border-radius:18px 18px 0 0!important;background:var(--accent)!important}
html .nxw-tile{background:var(--bg)!important;border:1px solid var(--border)!important;border-left:1px solid var(--border)!important;position:relative;padding:12px 14px 12px 30px!important}
html .nxw-tile::before{content:"";position:absolute;left:13px;top:17px;width:7px;height:7px;border-radius:50%;background:var(--nxw-tc,var(--accent))}
html .nxw-btn--ghost{background:var(--surface)!important}
/* Bestellfenster: Preis nach Region als Text */
p.num.nx-pl{font-family:"Manrope",sans-serif!important;font-size:.92rem!important;font-weight:700!important;letter-spacing:0!important}

/* Demo-Streifen auch auf Tablet und Handy fest (Desktop regelt nx-auth-v2.css ab 901px).
   769 bis 900px: keine obere Leiste, Streifen ganz oben. Bis 768px: unter der 50px hohen Topbar. */
@media (max-width:900px){html #demoBanner:not([hidden]){position:sticky;top:0;z-index:19}}
@media (max-width:768px){html #demoBanner:not([hidden]){top:50px}}

/* Demo-Tour: beim Weiterklicken kein neues Hereinspringen der Karte, nur der Inhalt blendet weich um */
html .nxw-ov.nxw-swap .nxw-card{animation:none!important}
html .nxw-ov.nxw-swap .nxw-head,html .nxw-ov.nxw-swap .nxw-lead{animation:nxwSoft .38s cubic-bezier(.2,.7,.3,1) both}
html .nxw-ov.nxw-swap .nxw-lead{animation-delay:.04s}
html .nxw-dot{transition:background .35s ease,transform .35s ease!important}
@keyframes nxwSoft{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html .nxw-ov.nxw-swap .nxw-head,html .nxw-ov.nxw-swap .nxw-lead{animation:none}}
