/* Najmex v2.81 — final panel polish
   Cel: naprawa realnych ekranów z panelu: pierwsze kroki, bramka dodawania lokalu,
   dashboard, cennik wewnętrzny, stopka i responsywność. Arkusz ładowany jako ostatni. */
:root{
  --nx81-bg:#f4f8fc;
  --nx81-card:#ffffff;
  --nx81-ink:#0b1e32;
  --nx81-ink2:#15324b;
  --nx81-muted:#60758b;
  --nx81-line:#dce9f3;
  --nx81-line2:#cfe0ed;
  --nx81-primary:#075f80;
  --nx81-primary2:#08a4bb;
  --nx81-green:#11b981;
  --nx81-shadow:0 18px 48px rgba(12,31,52,.075);
  --nx81-shadow2:0 28px 70px rgba(12,31,52,.12);
}

/* Najważniejszy fix: poprzednia warstwa dawała overflow-wrap:anywhere na wszystko,
   przez co tytuły rozbijały się na „Pierws / ze”. */
body.nx26-app-body :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,a,button,label,li,div),
body.nx-web-shell :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,a,button,label,li,div){
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:manual!important;
}
body.nx26-app-body :where(td,th,.email,.url,.code,pre,code,.table-wrap,.tablewrap),
body.nx-web-shell :where(td,th,.email,.url,.code,pre,code,.table-wrap,.tablewrap){
  overflow-wrap:anywhere!important;
}
body.nx26-app-body :where(h1,h2,h3,h4,.title,.page-title,.section-title),
body.nx-web-shell :where(h1,h2,h3,h4,.title,.page-title,.section-title){
  text-wrap:balance;
}

/* ===== Pierwsze kroki właściciela ===== */
body.nx-page-landlord-first-steps-php .nx79-first-steps,
body.nx-first-steps-page .nx79-first-steps{
  width:min(1260px,calc(100% - 48px))!important;
  max-width:1260px!important;
  padding:24px 0 64px!important;
  margin:0 auto!important;
}
body.nx-page-landlord-first-steps-php .nx-hero,
body.nx-first-steps-page .nx-hero{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.18fr) minmax(290px,.58fr)!important;
  gap:22px!important;
  align-items:stretch!important;
  padding:30px!important;
  margin:0 0 20px!important;
  border-radius:32px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.45)!important;
  color:#fff!important;
  background:
    radial-gradient(520px 260px at 94% 0%,rgba(92,225,240,.25),transparent 72%),
    radial-gradient(520px 260px at 0% 115%,rgba(17,185,129,.17),transparent 70%),
    linear-gradient(135deg,#07243d 0%,#0a4869 54%,#0b8498 100%)!important;
  box-shadow:0 28px 72px rgba(7,36,61,.22)!important;
}
body.nx-page-landlord-first-steps-php .nx-hero:before,
body.nx-first-steps-page .nx-hero:before{
  content:""!important;
  position:absolute!important;
  width:260px!important;
  height:260px!important;
  right:30%!important;
  bottom:-150px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  transform:none!important;
  pointer-events:none!important;
  z-index:-1!important;
}
body.nx-page-landlord-first-steps-php .nx-hero>div:first-child,
body.nx-first-steps-page .nx-hero>div:first-child{
  position:relative!important;
  z-index:1!important;
  padding:0!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
body.nx-page-landlord-first-steps-php .nx-eyebrow,
body.nx-first-steps-page .nx-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 12px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.20)!important;
  background:rgba(255,255,255,.12)!important;
  color:rgba(236,253,255,.90)!important;
  font-size:11px!important;
  line-height:1.2!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  font-weight:760!important;
  white-space:nowrap!important;
}
body.nx-page-landlord-first-steps-php .nx-hero h1,
body.nx-first-steps-page .nx-hero h1{
  max-width:680px!important;
  margin:0 0 14px!important;
  color:#fff!important;
  font-size:clamp(36px,3.25vw,50px)!important;
  line-height:1.02!important;
  letter-spacing:-.055em!important;
  font-weight:760!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.nx-page-landlord-first-steps-php .nx-hero p,
body.nx-first-steps-page .nx-hero p{
  max-width:720px!important;
  margin:0!important;
  color:rgba(238,249,255,.90)!important;
  font-size:15px!important;
  line-height:1.68!important;
}
body.nx-page-landlord-first-steps-php .nx-actions,
body.nx-first-steps-page .nx-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:22px!important;
}
body.nx-page-landlord-first-steps-php .nx-actions .nx-btn,
body.nx-first-steps-page .nx-actions .nx-btn{
  width:auto!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  background:linear-gradient(135deg,#0a89a5,#12bdd0)!important;
  color:#fff!important;
  box-shadow:0 14px 32px rgba(0,0,0,.16)!important;
}
body.nx-page-landlord-first-steps-php .nx-actions .nx-btn.alt,
body.nx-first-steps-page .nx-actions .nx-btn.alt{
  background:rgba(255,255,255,.96)!important;
  color:#0b2b43!important;
  box-shadow:0 12px 26px rgba(0,0,0,.13)!important;
}
body.nx-page-landlord-first-steps-php .nx-progress-card,
body.nx-first-steps-page .nx-progress-card{
  position:relative!important;
  z-index:1!important;
  align-self:stretch!important;
  min-height:190px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border-radius:28px!important;
  padding:24px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(255,255,255,.68)!important;
  box-shadow:0 24px 52px rgba(7,36,61,.16)!important;
  color:var(--nx81-ink)!important;
}
body.nx-page-landlord-first-steps-php .nx-progress-top,
body.nx-first-steps-page .nx-progress-top{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  color:#61788d!important;
}
body.nx-page-landlord-first-steps-php .nx-progress-no,
body.nx-first-steps-page .nx-progress-no{
  color:#073c5a!important;
  font-size:32px!important;
  font-weight:780!important;
  line-height:1!important;
}
body.nx-page-landlord-first-steps-php .nx-progress-card p,
body.nx-first-steps-page .nx-progress-card p{color:#61788d!important;margin-top:12px!important}
body.nx-page-landlord-first-steps-php .nx-bar,
body.nx-first-steps-page .nx-bar{height:10px!important;background:#e9f1f7!important;border-radius:999px!important;overflow:hidden!important}
body.nx-page-landlord-first-steps-php .nx-bar span,
body.nx-first-steps-page .nx-bar span{background:linear-gradient(90deg,#10b981,#13b8c7)!important}
body.nx-page-landlord-first-steps-php .nx-grid,
body.nx-first-steps-page .nx-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.nx-page-landlord-first-steps-php .nx-step,
body.nx-first-steps-page .nx-step{
  min-height:126px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:16px!important;
  align-items:start!important;
  padding:20px!important;
  border-radius:24px!important;
  border:1px solid rgba(13,32,52,.08)!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--nx81-shadow)!important;
}
body.nx-page-landlord-first-steps-php .nx-step h2,
body.nx-first-steps-page .nx-step h2{margin:0 0 6px!important;color:var(--nx81-ink)!important;font-size:21px!important;line-height:1.15!important}
body.nx-page-landlord-first-steps-php .nx-step p,
body.nx-first-steps-page .nx-step p{color:#60758b!important;line-height:1.55!important}
body.nx-page-landlord-first-steps-php .nx-dot,
body.nx-first-steps-page .nx-dot{
  width:46px!important;height:46px!important;border-radius:17px!important;display:grid!important;place-items:center!important;
  background:#eaf9fb!important;border:1px solid #c9eef4!important;color:#08758b!important;font-size:0!important;box-shadow:0 10px 22px rgba(8,117,139,.09)!important;
}
body.nx-page-landlord-first-steps-php .nx-dot:before,
body.nx-first-steps-page .nx-dot:before{content:""!important;width:12px!important;height:12px!important;border-radius:999px!important;background:currentColor!important;box-shadow:0 0 0 6px rgba(8,117,139,.12)!important}
body.nx-page-landlord-first-steps-php .nx-step.done .nx-dot,
body.nx-first-steps-page .nx-step.done .nx-dot{font-size:22px!important;background:#ecfdf5!important;border-color:#bbf7d0!important;color:#059669!important}
body.nx-page-landlord-first-steps-php .nx-step.done .nx-dot:before,
body.nx-first-steps-page .nx-step.done .nx-dot:before{content:none!important}
body.nx-page-landlord-first-steps-php .nx-panel,
body.nx-first-steps-page .nx-panel{border-radius:28px!important;box-shadow:var(--nx81-shadow)!important;border-color:rgba(13,32,52,.08)!important;background:#fff!important}

/* ===== Bramka dodania lokalu / brak subskrypcji ===== */
body.nx-page-landlord-property-add-php .nx77-add-gate{
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:24px 0 60px!important;
}
body.nx-page-landlord-property-add-php .nx77-add-gate .nx77-gate-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,430px)!important;
  gap:20px!important;
  align-items:stretch!important;
  padding:24px!important;
  border-radius:30px!important;
  border:1px solid rgba(8,145,178,.16)!important;
  background:linear-gradient(135deg,#f8fdff 0%,#eff8fc 100%)!important;
  box-shadow:var(--nx81-shadow)!important;
  overflow:hidden!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-card>div:first-child{
  position:relative!important;
  min-height:230px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:30px!important;
  border-radius:26px!important;
  overflow:hidden!important;
  color:var(--nx81-ink)!important;
  background:
    radial-gradient(400px 210px at 100% 0%,rgba(10,164,187,.13),transparent 70%),
    linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border:1px solid rgba(13,32,52,.08)!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-card>div:first-child:after{
  content:""!important;
  position:absolute!important;
  right:-70px!important;
  bottom:-100px!important;
  width:240px!important;
  height:240px!important;
  border-radius:999px!important;
  background:rgba(10,164,187,.08)!important;
  pointer-events:none!important;
}
body.nx-page-landlord-property-add-php .nx77-kicker{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 12px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#eaf9fb!important;
  border:1px solid #c9eef4!important;
  color:#08758b!important;
  font-size:11px!important;
  line-height:1.1!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  font-weight:760!important;
  white-space:nowrap!important;
  writing-mode:horizontal-tb!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-card h1{
  position:relative!important;
  z-index:1!important;
  max-width:620px!important;
  margin:0 0 12px!important;
  color:var(--nx81-ink)!important;
  font-size:clamp(32px,3.15vw,46px)!important;
  line-height:1.03!important;
  letter-spacing:-.055em!important;
  font-weight:760!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-card p{
  position:relative!important;
  z-index:1!important;
  max-width:680px!important;
  margin:0 0 20px!important;
  color:#60758b!important;
  font-size:15px!important;
  line-height:1.65!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-actions{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-actions .nx77-btn{
  width:auto!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:15px!important;
  border:1px solid var(--nx81-line)!important;
  background:#fff!important;
  color:#12304a!important;
  box-shadow:0 10px 22px rgba(12,31,52,.055)!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-actions .nx77-btn.primary{
  background:linear-gradient(135deg,#075f80,#0ba6bd)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(11,166,189,.22)!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-stats{
  display:grid!important;
  gap:10px!important;
  align-content:center!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-stats div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:58px!important;
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid var(--nx81-line)!important;
  box-shadow:0 10px 22px rgba(12,31,52,.04)!important;
}
body.nx-page-landlord-property-add-php .nx77-gate-stats span{color:#60758b!important;line-height:1.3!important}
body.nx-page-landlord-property-add-php .nx77-gate-stats b{color:var(--nx81-ink)!important;font-weight:760!important;text-align:right!important;white-space:nowrap!important}

/* ===== Dashboard: ikony, układ i karty bez dziwnych liter ===== */
body.nx-page-landlord-dashboard-php .nx78-dashboard,
body.nx-page-tenant-dashboard-php .nx78-dashboard{
  width:min(1320px,calc(100% - 48px))!important;
  max-width:1320px!important;
  padding:26px 0 66px!important;
}
body.nx-page-landlord-dashboard-php .nx78-icon,
body.nx-page-tenant-dashboard-php .nx78-icon{
  font-size:0!important;
  color:#08758b!important;
  overflow:hidden!important;
}
body.nx-page-landlord-dashboard-php .nx78-icon svg,
body.nx-page-tenant-dashboard-php .nx78-icon svg{
  width:22px!important;height:22px!important;display:block!important;
}
body.nx-page-landlord-dashboard-php .nx78-icon:not(:has(svg))::before,
body.nx-page-tenant-dashboard-php .nx78-icon:not(:has(svg))::before{
  content:""!important;
  width:20px!important;height:20px!important;
  display:block!important;
  border-radius:6px!important;
  background:linear-gradient(135deg,#08758b,#12b8c8)!important;
  box-shadow:none!important;
}
body.nx-page-landlord-dashboard-php .nx78-metric,
body.nx-page-tenant-dashboard-php .nx78-metric{
  min-width:0!important;
  overflow:hidden!important;
}
body.nx-page-landlord-dashboard-php .nx78-metric strong,
body.nx-page-tenant-dashboard-php .nx78-metric strong{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}

/* ===== Cennik w panelu ===== */
body.nx-page-cennik .nx79-pricing,
body.nx-page-cennik-php .nx79-pricing,
body.nx-page-cennik .nxm-pricing,
body.nx-page-cennik-php .nxm-pricing{
  width:min(1320px,calc(100% - 48px))!important;
  max-width:1320px!important;
  padding:24px 0 70px!important;
  margin:0 auto!important;
}
body.nx-page-cennik .nx79-pricing-hero,
body.nx-page-cennik-php .nx79-pricing-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  border-radius:30px!important;
  padding:26px 28px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f3fbff 100%)!important;
  border:1px solid rgba(13,32,52,.08)!important;
  box-shadow:var(--nx81-shadow)!important;
}
body.nx-page-cennik .nx79-pricing-hero h1,
body.nx-page-cennik-php .nx79-pricing-hero h1{
  margin:0!important;
  max-width:760px!important;
  color:var(--nx81-ink)!important;
  font-size:clamp(36px,3.4vw,50px)!important;
  line-height:1.03!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.nx-page-cennik .nx79-plan-grid,
body.nx-page-cennik-php .nx79-plan-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
body.nx-page-cennik .nx79-plan-card,
body.nx-page-cennik-php .nx79-plan-card{
  min-width:0!important;
  overflow:hidden!important;
  border-radius:28px!important;
  padding:22px!important;
  border:1px solid rgba(13,32,52,.08)!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:var(--nx81-shadow)!important;
}
body.nx-page-cennik .nx79-plan-top,
body.nx-page-cennik-php .nx79-plan-top{padding-right:0!important;min-height:138px!important}
body.nx-page-cennik .nx79-plan-top h2,
body.nx-page-cennik-php .nx79-plan-top h2{font-size:25px!important;line-height:1.1!important;margin:0 0 10px!important;color:var(--nx81-ink)!important}
body.nx-page-cennik .nx79-plan-top p,
body.nx-page-cennik-php .nx79-plan-top p{font-size:13px!important;line-height:1.58!important;color:#60758b!important}
body.nx-page-cennik .nx79-ribbon,
body.nx-page-cennik-php .nx79-ribbon{position:static!important;display:inline-flex!important;width:max-content!important;max-width:100%!important;margin-bottom:12px!important;white-space:nowrap!important}
body.nx-page-cennik .nx79-price-box strong,
body.nx-page-cennik-php .nx79-price-box strong{font-size:26px!important;white-space:normal!important}
body.nx-page-cennik .nx79-features,
body.nx-page-cennik-php .nx79-features{font-size:13px!important;line-height:1.48!important}

/* ===== Stopka w panelu — logo nie może robić wielkiego baneru ===== */
body.nx26-app-body footer.simple-footer,
body.nx-web-shell footer.simple-footer{
  width:100%!important;
  left:auto!important;
  transform:none!important;
  margin:40px 0 0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.nx26-app-body footer.simple-footer .simple-inner,
body.nx-web-shell footer.simple-footer .simple-inner{
  max-width:1320px!important;
  padding:18px 28px!important;
}
body.nx26-app-body footer.simple-footer .simple-brand img,
body.nx-web-shell footer.simple-footer .simple-brand img{
  height:28px!important;
  width:auto!important;
  max-width:180px!important;
  object-fit:contain!important;
}

/* ===== Mobile/tablet ===== */
@media(max-width:1180px){
  body.nx-page-cennik .nx79-plan-grid,
  body.nx-page-cennik-php .nx79-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.nx-page-landlord-first-steps-php .nx-hero,
  body.nx-first-steps-page .nx-hero{grid-template-columns:1fr!important}
  body.nx-page-landlord-property-add-php .nx77-add-gate .nx77-gate-card{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body.nx-page-landlord-first-steps-php .nx79-first-steps,
  body.nx-first-steps-page .nx79-first-steps,
  body.nx-page-landlord-property-add-php .nx77-add-gate,
  body.nx-page-landlord-dashboard-php .nx78-dashboard,
  body.nx-page-tenant-dashboard-php .nx78-dashboard,
  body.nx-page-cennik .nx79-pricing,
  body.nx-page-cennik-php .nx79-pricing,
  body.nx-page-cennik .nxm-pricing,
  body.nx-page-cennik-php .nxm-pricing{
    width:min(100% - 24px,1320px)!important;
    padding-top:16px!important;
  }
  body.nx-page-landlord-first-steps-php .nx-hero,
  body.nx-first-steps-page .nx-hero,
  body.nx-page-landlord-property-add-php .nx77-add-gate .nx77-gate-card,
  body.nx-page-cennik .nx79-pricing-hero,
  body.nx-page-cennik-php .nx79-pricing-hero{
    padding:20px!important;
    border-radius:24px!important;
  }
  body.nx-page-landlord-first-steps-php .nx-hero h1,
  body.nx-first-steps-page .nx-hero h1,
  body.nx-page-landlord-property-add-php .nx77-gate-card h1,
  body.nx-page-cennik .nx79-pricing-hero h1,
  body.nx-page-cennik-php .nx79-pricing-hero h1{
    font-size:clamp(30px,9vw,38px)!important;
    line-height:1.05!important;
  }
  body.nx-page-landlord-first-steps-php .nx-grid,
  body.nx-first-steps-page .nx-grid,
  body.nx-page-cennik .nx79-plan-grid,
  body.nx-page-cennik-php .nx79-plan-grid{grid-template-columns:1fr!important}
  body.nx-page-landlord-first-steps-php .nx-step,
  body.nx-first-steps-page .nx-step{grid-template-columns:auto minmax(0,1fr)!important}
  body.nx-page-landlord-first-steps-php .nx-step .nx-btn,
  body.nx-first-steps-page .nx-step .nx-btn{grid-column:1 / -1!important;width:100%!important}
  body.nx-page-landlord-first-steps-php .nx-actions .nx-btn,
  body.nx-first-steps-page .nx-actions .nx-btn,
  body.nx-page-landlord-property-add-php .nx77-gate-actions .nx77-btn{width:100%!important}
  body.nx-page-cennik .nx79-pricing-hero,
  body.nx-page-cennik-php .nx79-pricing-hero{flex-direction:column!important;align-items:flex-start!important}
}
