
/* Nexora v22 — kanały sprzedaży: Sklep / Integrator / Marketplace */
.nx-commerce-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--theme-line);background:linear-gradient(135deg,var(--theme-surface),var(--theme-surface-2));border-radius:18px;margin-bottom:14px}
.nx-commerce-hero-copy{max-width:680px}.nx-commerce-hero-copy h2{margin:3px 0 6px;font-size:22px}.nx-commerce-hero-copy p{margin:0;color:var(--theme-muted);font-size:11px;line-height:1.65}
.nx-commerce-status{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 10px;border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:999px;color:var(--theme-muted);font-size:9px;font-weight:800}.nx-commerce-status i{width:7px;height:7px;border-radius:50%;background:var(--theme-accent);box-shadow:0 0 10px var(--theme-accent);display:block}
.nx-channel-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:14px;align-items:start}.nx-channel-panel,.nx-action-panel{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:16px;padding:14px}
.nx-channel-panel{position:sticky;top:8px}.nx-channel-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.nx-channel-title strong{font-size:12px}.nx-channel-title span{font-size:8px;color:var(--theme-muted)}
.nx-channel-list{display:grid;gap:7px}.nx-channel-btn{width:100%;display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;text-align:left;padding:9px;border:1px solid var(--theme-line);background:var(--theme-surface-2);border-radius:12px;color:var(--theme-text);cursor:pointer}.nx-channel-btn:hover{border-color:var(--theme-accent);transform:translateY(-1px)}.nx-channel-btn.active{border-color:var(--theme-accent);box-shadow:inset 0 0 0 1px var(--theme-accent-soft)}
.nx-channel-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--theme-accent-soft);color:var(--theme-accent);font-size:10px;font-weight:900}.nx-channel-copy strong{display:block;font-size:10px}.nx-channel-copy small{display:block;color:var(--theme-muted);font-size:8px;line-height:1.4;margin-top:2px}.nx-channel-state{font-size:7px;font-weight:900;color:var(--theme-muted);text-transform:uppercase;letter-spacing:.07em}.nx-channel-btn.active .nx-channel-state{color:var(--theme-accent)}
.nx-channel-note{margin-top:10px;padding:9px 10px;border:1px dashed var(--theme-line);border-radius:10px;color:var(--theme-muted);font-size:8px;line-height:1.55}
.nx-action-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.nx-action-head h3{margin:2px 0 3px;font-size:15px}.nx-action-head p{margin:0;color:var(--theme-muted);font-size:9px;line-height:1.5}.nx-source-pill{padding:6px 8px;border-radius:999px;background:var(--theme-accent-soft);color:var(--theme-accent);font-size:8px;font-weight:900}
.nx-commerce-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.nx-commerce-action{min-height:104px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;padding:12px;border:1px solid var(--theme-line);background:var(--theme-surface-2);border-radius:13px;color:var(--theme-text);cursor:pointer}.nx-commerce-action:hover{border-color:var(--theme-accent);background:var(--theme-hover);transform:translateY(-1px)}.nx-commerce-action .nx-act-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--theme-accent-soft);color:var(--theme-accent);font-weight:900}.nx-commerce-action strong{font-size:10px;margin-top:9px}.nx-commerce-action span{font-size:8px;color:var(--theme-muted);line-height:1.45;margin-top:3px}.nx-commerce-action b{align-self:flex-end;color:var(--theme-accent);font-size:12px}
.nx-commerce-section-label{margin:16px 0 8px;font-size:8px;font-weight:900;letter-spacing:.11em;color:var(--theme-muted);text-transform:uppercase}.nx-commerce-info{margin-top:12px;display:flex;gap:9px;align-items:flex-start;padding:10px 11px;border:1px solid var(--theme-line);border-radius:11px;background:var(--theme-surface-2);font-size:8px;color:var(--theme-muted);line-height:1.55}.nx-commerce-info strong{color:var(--theme-text)}
.nx-marketplace-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:14px}.nx-marketplace-card{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:16px;padding:14px}.nx-marketplace-brand{display:flex;gap:11px;align-items:center;margin-bottom:12px}.nx-marketplace-logo{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:var(--theme-accent-soft);color:var(--theme-accent);font-weight:1000;font-size:13px}.nx-marketplace-brand h3{margin:0 0 3px;font-size:15px}.nx-marketplace-brand span{font-size:8px;color:var(--theme-muted)}
.nx-mini-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.nx-mini-metric{padding:10px;border:1px solid var(--theme-line);border-radius:11px;background:var(--theme-surface-2)}.nx-mini-metric span{display:block;font-size:7px;color:var(--theme-muted);text-transform:uppercase;letter-spacing:.07em}.nx-mini-metric strong{display:block;margin-top:4px;font-size:11px}
@media(max-width:1100px){.nx-commerce-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-channel-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:800px){.nx-commerce-hero{flex-direction:column}.nx-channel-layout,.nx-marketplace-main{grid-template-columns:1fr}.nx-channel-panel{position:static}.nx-commerce-action-grid{grid-template-columns:1fr}.nx-channel-list{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.nx-channel-list{grid-template-columns:1fr}}


/* Base synchronization status — same visual language as the uploaded app */
.nx-base-sync-state{
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid var(--theme-line);
  border-radius:10px;
  background:var(--theme-surface-2);
  color:var(--theme-muted);
  font-size:10px;
  line-height:1.5;
}
.nx-base-sync-state.loading{color:var(--theme-text)}
.nx-base-sync-state.ok{color:var(--theme-accent)}
.nx-base-sync-state.error{color:#ef9580}
