/* Mój profil – dashboard 1:1 (HR profile layout) */

@import url("partner-cursor.css");

.page-moj-profil {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #111827;
  background: #f8f9fa;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-moj-profil *,
.page-moj-profil *::before,
.page-moj-profil *::after {
  box-sizing: border-box;
}

/* Ładowanie danych z API — szary gradient (shimmer) zamiast treści */
@keyframes ptnr-skel-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

body.ptnr-shell--loading .dash__profile-avatar-wrap,
body.ptnr-shell--loading .dash__sidebar-avatar {
  position: relative;
}

body.ptnr-shell--loading .dash__profile-avatar-img,
body.ptnr-shell--loading .dash__sidebar-avatar-img {
  opacity: 0;
}

body.ptnr-shell--loading .dash__profile-avatar-initials,
body.ptnr-shell--loading .dash__sidebar-initials {
  visibility: hidden;
}

body.ptnr-shell--loading .dash__profile-avatar-wrap::after,
body.ptnr-shell--loading .dash__sidebar-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    105deg,
    #e5e7eb 0%,
    #e5e7eb 38%,
    #f3f4f6 50%,
    #e5e7eb 62%,
    #e5e7eb 100%
  );
  background-size: 220% 100%;
  animation: ptnr-skel-shimmer 1.35s ease-in-out infinite;
}

body.ptnr-shell--loading #dash-profile-name,
body.ptnr-shell--loading #dash-profile-code,
body.ptnr-shell--loading #dash-profile-email:not([hidden]),
body.ptnr-shell--loading #dash-profile-phone:not([hidden]),
body.ptnr-shell--loading #dash-profile-kind:not([hidden]),
body.ptnr-shell--loading #dash-act-sync-initials,
body.ptnr-shell--loading #dash-act-sync-name,
body.ptnr-shell--loading #dash-act-sync-time,
body.ptnr-shell--loading #ptnr-moje-displayname,
body.ptnr-shell--loading #ptnr-moje-email,
body.ptnr-shell--loading #ptnr-moje-phone-readonly,
body.ptnr-shell--loading #ptnr-moje-id,
body.ptnr-shell--loading #ptnr-konto-email,
body.ptnr-shell--loading #ptnr-sum-brand,
body.ptnr-shell--loading #ptnr-sum-url,
body.ptnr-shell--loading #ptnr-firma-dd-tip,
body.ptnr-shell--loading #ptnr-firma-dd-nip,
body.ptnr-shell--loading #ptnr-firma-dd-vies {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  user-select: none;
  pointer-events: none;
  min-height: 1.05em;
  border-radius: 8px;
  background: linear-gradient(
    105deg,
    #e5e7eb 0%,
    #e5e7eb 38%,
    #f3f4f6 50%,
    #e5e7eb 62%,
    #e5e7eb 100%
  );
  background-size: 220% 100%;
  animation: ptnr-skel-shimmer 1.35s ease-in-out infinite;
}

body.ptnr-shell--loading #dash-profile-name {
  min-height: 1.35em;
  border-radius: 10px;
}

body.ptnr-shell--loading #dash-act-sync-initials {
  min-height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.ptnr-shell--loading #ptnr-form-profile .ptnr-form-input {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  border-color: #e5e7eb;
  background: linear-gradient(
    105deg,
    #eceef1 0%,
    #eceef1 38%,
    #f6f7f9 50%,
    #eceef1 62%,
    #eceef1 100%
  );
  background-size: 220% 100%;
  animation: ptnr-skel-shimmer 1.35s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.ptnr-shell--loading #dash-profile-name,
  body.ptnr-shell--loading #dash-profile-code,
  body.ptnr-shell--loading #dash-profile-email:not([hidden]),
  body.ptnr-shell--loading #dash-profile-phone:not([hidden]),
  body.ptnr-shell--loading #dash-profile-kind:not([hidden]),
  body.ptnr-shell--loading #dash-act-sync-initials,
  body.ptnr-shell--loading #dash-act-sync-name,
  body.ptnr-shell--loading #dash-act-sync-time,
  body.ptnr-shell--loading #ptnr-moje-displayname,
  body.ptnr-shell--loading #ptnr-moje-email,
  body.ptnr-shell--loading #ptnr-moje-phone-readonly,
  body.ptnr-shell--loading #ptnr-moje-id,
  body.ptnr-shell--loading #ptnr-konto-email,
  body.ptnr-shell--loading #ptnr-sum-brand,
  body.ptnr-shell--loading #ptnr-sum-url,
  body.ptnr-shell--loading #ptnr-firma-dd-tip,
  body.ptnr-shell--loading #ptnr-firma-dd-nip,
  body.ptnr-shell--loading #ptnr-firma-dd-vies,
  body.ptnr-shell--loading .dash__profile-avatar-wrap::after,
  body.ptnr-shell--loading .dash__sidebar-avatar::after,
  body.ptnr-shell--loading #ptnr-form-profile .ptnr-form-input {
    animation: none;
    background: #e5e7eb;
    background-size: auto;
  }
}

.dash {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

/* —— Sidebar —— */
.dash__sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #0b1219;
  display: flex;
  flex-direction: column;
  padding: 20px 0 16px;
}

@media (min-width: 861px) {
  .dash {
    padding-left: 248px;
  }

  .dash__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 248px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

.dash__sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash__workspace-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  align-self: flex-start;
}

/* Most kursora z przycisku do menu bez zamykania listy */
.dash__workspace-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
  z-index: 55;
}

.dash__workspace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.dash__workspace-chev {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.dash__workspace-wrap:hover .dash__workspace-chev,
.dash__workspace-wrap:focus-within .dash__workspace-chev {
  transform: rotate(-180deg);
}

.dash__workspace-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #151d26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease,
    transform 0.15s ease;
}

.dash__workspace-wrap:hover .dash__workspace-menu,
.dash__workspace-wrap:focus-within .dash__workspace-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dash__workspace-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.dash__workspace-menu-item:hover,
.dash__workspace-menu-item:focus-visible {
  outline: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.dash__workspace-menu-item--action {
  color: rgba(255, 255, 255, 0.55);
}

.dash__workspace-menu-item--action:hover,
.dash__workspace-menu-item--action:focus-visible {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
}

.dash__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 16px;
}

.dash__icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.dash__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 12px;
  min-height: 0;
}

.dash__nav-block {
  margin-bottom: 8px;
}

.dash__nav-heading {
  margin: 18px 0 8px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.dash__nav-block:first-child .dash__nav-heading {
  margin-top: 0;
}

.dash__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 2px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.dash__nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

.dash__nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.dash__nav-link--active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.dash__sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 16px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash__sidebar-foot-spacer {
  flex: 1 1 auto;
  min-width: 4px;
}

.dash__sidebar-logout {
  flex-shrink: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.dash__sidebar-logout:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.dash__sidebar-portal {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.dash__sidebar-portal:hover {
  color: #ffffff;
}

.dash__sidebar-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.dash__sidebar-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash__sidebar-avatar-img.is-hidden {
  display: none !important;
}

/* —— Main —— */
.dash__main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: #f8f9fa;
  overflow-x: hidden;
}

.dash__content {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 28px clamp(20px, 2.75vw, 48px) 48px;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.dash__page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.dash__page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111827;
  line-height: 1.2;
}

.dash__btn-black {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.dash__btn-black:hover {
  background: #000000;
}

.dash__btn-black:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dash__btn-black:disabled:hover {
  background: #111827;
}

.dash__btn-black--sm {
  padding: 8px 14px;
  font-size: 13px;
}

a.dash__btn-black--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.dash__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 28px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 28px;
}

.dash__tab {
  position: relative;
  padding: 14px 2px 14px;
  margin: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
}

.dash__tab--active {
  color: #111827;
  font-weight: 600;
}

.dash__tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #111827;
  border-radius: 2px 2px 0 0;
}

.dash__tab:hover:not(.dash__tab--active) {
  color: #6b7280;
}

.dash__tab:focus-visible,
.dash__btn-black:focus-visible,
.dash__workspace:focus-visible,
.dash__icon-btn:focus-visible,
.dash__nav-link:focus-visible,
.dash__kebab:focus-visible,
.dash__row-menu:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.dash__body {
  margin: 0;
}

.dash__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dash__card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* —— Profile card —— */
.dash__profile-card {
  padding: 0;
  overflow: hidden;
}

.dash__profile-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px 20px;
  padding-right: 48px;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}

.dash__profile-menu {
  position: absolute;
  top: 20px;
  right: 12px;
  z-index: 30;
}

.dash__profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-accent-blue-soft, #e8f2fb);
  border: 1px solid rgba(var(--color-accent-blue-rgb, 91, 143, 212), 0.28);
}

.dash__profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash__profile-avatar-img.is-hidden {
  display: none !important;
}

.dash__profile-avatar-initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-blue, #1b315c);
  text-transform: uppercase;
}

.dash__profile-avatar-initials:not([hidden]) {
  display: flex;
}

.dash__profile-id-block {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 4px;
}

.dash__profile-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.dash__profile-code {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.dash__profile-meta {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #6b7280;
  word-break: break-word;
}

.dash__profile-meta[hidden] {
  display: none !important;
}

.dash__sidebar-initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--color-blue, #1b315c);
  background: var(--color-accent-blue-soft, #e8f2fb);
  text-transform: uppercase;
}

.dash__sidebar-initials:not([hidden]) {
  display: flex;
}

.dash__kebab {
  position: relative;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
}

.dash__kebab:hover {
  background: #f3f4f6;
  color: #374151;
}

.dash__kebab[aria-expanded="true"] {
  background: #e5e7eb;
  color: #111827;
}

.dash__profile-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: min(260px, calc(100vw - 32px));
  padding: 6px 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.dash__profile-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash__profile-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.dash__profile-dropdown-link:hover {
  background: #f9fafb;
  color: #111827;
}

.dash__profile-dropdown-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.dash__profile-dropdown-link__icon {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
}

.dash__profile-dropdown-link:hover .dash__profile-dropdown-link__icon {
  color: #374151;
}

.dash__profile-dropdown-link__text {
  min-width: 0;
  line-height: 1.35;
}

/* Ustawienia: sekcje z kotwicami z menu profilu */
.dash__panels--settings {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash__tabs--settings {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 0 22px;
  margin-bottom: 22px;
  padding-bottom: 1px;
}

.dash__tab--settings {
  flex-shrink: 0;
  white-space: nowrap;
}

.dash__settings-tabpanel[hidden] {
  display: none !important;
}

.dash__settings-pay-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px dashed #d1d5db;
  background: #fafbfc;
}

.dash__settings-pay-card__icon {
  flex-shrink: 0;
  font-size: 22px;
  color: #9ca3af;
  line-height: 1;
  padding-top: 2px;
}

.dash__settings-pay-card__body {
  min-width: 0;
}

.dash__settings-pay-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.dash__settings-pay-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.dash__settings-hint--below-btn {
  margin-top: 12px;
  margin-bottom: 0;
}

.dash__table--settings-historia {
  font-size: 13px;
}

.dash__table--settings-historia tbody td {
  vertical-align: top;
}

.dash__settings-tx-status {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.dash__settings-tx-muted {
  font-size: 13px;
  font-weight: 500;
  color: #d1d5db;
}

.dash__settings-block {
  padding: 22px 24px 24px;
}

.dash__anchor-target {
  scroll-margin-top: calc(64px + env(safe-area-inset-top, 0px));
}

@media (min-width: 861px) {
  .dash__anchor-target {
    scroll-margin-top: 20px;
  }
}

.dash__settings-notice {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-size: 13px;
  font-weight: 600;
  color: #065f46;
}

.dash__settings-notice--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.dash__settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.dash__settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash__settings-field--readonly {
  margin-bottom: 8px;
}

.dash__settings-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash__settings-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s ease;
}

.dash__settings-input:hover {
  border-color: #d1d5db;
}

.dash__settings-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dash__settings-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background: #fff;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.dash__settings-textarea:hover {
  border-color: #d1d5db;
}

.dash__settings-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dash__settings-readonly-value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
}

.dash__settings-hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #9ca3af;
}

.dash__settings-hint--spaced-top {
  margin-top: 18px;
}

.dash__settings-subtitle {
  margin: 20px 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.dash__settings-actions {
  margin-top: 4px;
}

.dash__settings-danger-zone {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #f3f4f6;
}

.dash__settings-danger-zone--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.dash__settings-danger-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
}

.dash__settings-danger-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7280;
  max-width: 640px;
}

.dash__settings-danger-list {
  margin: 0 0 18px 1.1em;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  max-width: 640px;
}

.dash__settings-danger-msg {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #b45309;
}

.dash__settings-danger-msg[hidden] {
  display: none;
}

.dash__settings-danger-msg--error {
  color: #b91c1c;
}

.dash__settings-danger-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.dash__btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #991b1b;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dash__btn-danger-outline:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #fca5a5;
}

.dash__btn-danger-outline:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.dash__btn-danger-outline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dash__profile-section {
  padding: 18px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.dash__profile-section--last {
  border-bottom: 0;
}

.dash__profile-section-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.dash__profile-section-title--consult {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash__profile-section--consult {
  padding-top: 20px;
}

.dash__consult-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7280;
}

.dash__consult-card {
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #eef0f3;
}

.dash__consult-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.dash__consult-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.dash__consult-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash__consult-card__who {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash__consult-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.dash__consult-card__role {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.35;
}

.dash__consult-card__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash__consult-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.dash__consult-row--link:hover {
  background: #ffffff;
}

.dash__consult-row__icon {
  width: 18px;
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 14px;
  padding-top: 2px;
  text-align: center;
}

.dash__consult-row--link .dash__consult-row__icon {
  color: #6b7280;
}

.dash__consult-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash__consult-row__label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash__consult-row__value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
}

.dash__consult-row--link .dash__consult-row__value {
  color: #1d4ed8;
}

.dash__consult-row--link:hover .dash__consult-row__value {
  text-decoration: underline;
}

.dash__kv {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.dash__kv:last-child {
  margin-bottom: 0;
}

.dash__kv-icon {
  width: 18px;
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 14px;
  padding-top: 2px;
  text-align: center;
}

.dash__kv-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 2px;
}

.dash__kv-value {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

/* —— Job table —— */
.dash__col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dash__job {
  padding: 22px 0 0;
}

.dash__job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px 18px;
}

.dash__job-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.dash__link-red {
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  white-space: nowrap;
}

.dash__link-red:hover {
  text-decoration: underline;
}

.dash__table-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
  max-width: 100%;
  min-width: 0;
}

.dash__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dash__table thead th {
  text-align: left;
  padding: 10px 24px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}

.dash__table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid #f3f4f6;
  color: #111827;
  font-weight: 500;
  vertical-align: middle;
}

.dash__table tbody tr:last-child td {
  border-bottom: none;
}

.dash__table-actions {
  width: 52px;
  text-align: right;
  padding-right: 20px !important;
}

.dash__row-menu {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

.dash__row-menu:hover {
  background: #f9fafb;
  color: #374151;
}

/* —— Widgets —— */
.dash__widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash__widgets--stack {
  grid-template-columns: 1fr;
}

.dash__widget {
  padding: 22px 24px 20px;
}

.dash__widget-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.dash__act-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash__act-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.dash__act-item:first-child {
  padding-top: 0;
}

.dash__act-item:last-of-type {
  border-bottom: none;
}

.dash__act-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash__act-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash__act-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.dash__act-desc {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.dash__act-time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  white-space: nowrap;
  padding-top: 2px;
}

.dash__widget-footer {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
}

.dash__widget-footer:hover {
  text-decoration: underline;
}

.dash__widget-footer--muted {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  display: block;
}

.dash__widget-footer--btn {
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  display: inline-block;
}

.dash__widget-footer--btn:hover {
  text-decoration: underline;
}

.dash__comp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash__comp-item {
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.dash__comp-item:first-child {
  padding-top: 0;
}

.dash__comp-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dash__comp-amount {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.dash__comp-meta {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.dash__job--solo {
  margin: 0;
}

.dash__fav-solo,
.dash__sec-solo {
  padding: 22px 24px 24px;
}

.dash__fav-lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
  max-width: 42rem;
}

.dash__comp-list--spaced .dash__comp-item {
  padding: 16px 0;
}

.dash__sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash__sec-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #eef0f3;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dash__sec-link:hover {
  background: #fafbfc;
  border-color: #e5e7eb;
}

.dash__sec-link__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
  color: #374151;
  flex-shrink: 0;
}

.dash__sec-link__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash__sec-link__name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.dash__sec-link__desc {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.dash__sec-link__chev {
  flex-shrink: 0;
  font-size: 12px;
  color: #d1d5db;
}

.dash__comp-item--ulub-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash__ulub-widget-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
}

.dash__ulub-widget-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash__panels {
  min-height: 200px;
}

/* —— Rezerwacje: lista + szczegóły —— */
#dash-panel-rezerwacje .dash__table-actions {
  width: auto;
  min-width: 112px;
  white-space: nowrap;
}

.dash__btn-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dash__btn-manage:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.dash__btn-manage:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.rez-list-wrap {
  display: block;
}

.rez-detail {
  display: block;
  animation: rez-fade-in 0.2s ease;
}

.rez-detail[hidden] {
  display: none !important;
}

@keyframes rez-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rez-detail__toolbar {
  margin-bottom: 16px;
}

.rez-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  text-decoration: none;
}

a.rez-detail__back {
  color: #6b7280;
}

.rez-detail__back:hover {
  color: #111827;
  background: rgba(17, 24, 39, 0.04);
}

.rez-detail__hero {
  margin-bottom: 20px;
}

.rez-detail__hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.rez-detail__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.rez-detail__sub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.rez-detail__dates {
  margin: 0 0 16px;
  font-size: 14px;
  color: #374151;
}

.rez-detail__dates-sep {
  margin: 0 8px;
  color: #d1d5db;
}

.rez-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rez-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rez-block--wide {
  grid-column: 1 / -1;
}

.rez-block__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.rez-block__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

.rez-block__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.rez-block__muted {
  margin: 0;
  font-size: 14px;
  color: #9ca3af;
}

.rez-block__btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.rez-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rez-link-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.rez-link-btn--secondary {
  background: #f9fafb;
}

.rez-cal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rez-cal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
  background: #fafbfc;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rez-cal-link:hover {
  background: #fff;
  border-color: #e5e7eb;
}

.rez-cal-link i {
  width: 20px;
  text-align: center;
  color: #6b7280;
}

.rez-upsell-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rez-upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
  background: #fff;
}

.rez-upsell__body {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rez-upsell__name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.rez-upsell__desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

.rez-upsell__price {
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
}

.rez-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rez-badge--lg {
  padding: 6px 12px;
  font-size: 12px;
}

.rez-badge--confirmed {
  background: #dcfce7;
  color: #166534;
}

.rez-badge--completed {
  background: #f3f4f6;
  color: #4b5563;
}

.rez-badge--cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.rez-badge--pending {
  background: #fef3c7;
  color: #92400e;
}

.rez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rez-btn:hover {
  background: #f9fafb;
}

.rez-btn--ghost {
  background: transparent;
}

.rez-btn--primary {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.rez-btn--primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.rez-btn--danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.rez-btn--danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.rez-btn--small {
  padding: 7px 12px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .rez-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .dash__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash__widgets {
    grid-template-columns: 1fr;
  }
}

/* Mobile konto: ten sam breakpoint co mobile-nav.css (860px) — bez sidebara u góry (dolna nawigacja). */
@media (max-width: 860px) {
  .page-moj-profil .dash {
    flex-direction: row;
    align-items: stretch;
    padding-left: 0;
    min-width: 0;
  }

  .page-moj-profil .dash__sidebar {
    display: none !important;
  }

  .page-moj-profil .dash__main {
    overflow-x: hidden;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .page-moj-profil .dash__content {
    padding-top: calc(56px + env(safe-area-inset-top, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .page-moj-profil .dash__table-wrap {
    overflow-x: hidden;
  }

  /* Rezerwacje: tabela → siatka kart */
  .dash__table-wrap--rez .dash__table {
    display: block;
    width: 100%;
  }

  .dash__table-wrap--rez .dash__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .dash__table-wrap--rez .dash__table tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .dash__table-wrap--rez .dash__table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  }

  .dash__table-wrap--rez .dash__table tbody td {
    padding: 0;
    border: none;
    min-width: 0;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dash__table-wrap--rez .dash__table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
  }

  .dash__table-wrap--rez .dash__table tbody td[data-label=""]::before,
  .dash__table-wrap--rez .dash__table-actions::before {
    display: none;
    content: none;
  }

  .dash__table-wrap--rez .dash__table-actions {
    grid-column: 1 / -1;
    text-align: left;
    width: auto;
    min-width: 0 !important;
    padding-right: 0 !important;
  }

  .dash__table-wrap--rez .dash__btn-manage {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 860px) and (min-width: 480px) {
  .dash__table-wrap--rez .dash__table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dash__page-title {
    font-size: 24px;
  }

  .dash__job-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .dash__link-red {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .dash__act-item {
    flex-wrap: wrap;
  }

  .dash__act-time {
    width: 100%;
    padding-left: 48px;
    margin-top: -4px;
  }
}

/* —— Panel partnera (dodatkowe bloki treści) —— */
.ptnr-panel-steps {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
  font-size: 13px;
  color: #6b7280;
}

.ptnr-panel-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

a.ptnr-panel-shortcut-link {
  color: inherit;
  text-decoration: underline;
}

.ptnr-dl {
  margin: 0;
}

.ptnr-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}

@media (max-width: 560px) {
  .ptnr-dl__row {
    grid-template-columns: 1fr;
  }
}

.ptnr-dl__row dt {
  margin: 0;
  font-weight: 600;
  color: #374151;
}

.ptnr-dl__row dd {
  margin: 0;
  color: #111827;
  word-break: break-word;
}

.ptnr-dl__muted {
  color: #6b7280;
  font-weight: 500;
}

.ptnr-dl-downloads {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .ptnr-dl-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ptnr-dl-downloads__card {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}

.ptnr-dl-downloads__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ptnr-dl-downloads__card .dash__btn-black {
  margin-top: 12px;
}

.ptnr-addons-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .ptnr-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ptnr-addon-card .dash__widget-title {
  font-size: 15px;
}

.ptnr-addon-card__price {
  margin: 8px 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
}

.ptnr-addon-card .dash__btn-black:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Formularze panelu (moje dane, firma, bezpieczeństwo) */
.ptnr-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 32rem;
}

.ptnr-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ptnr-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.ptnr-form-req {
  color: #dc2626;
  text-decoration: none;
}

.ptnr-form-input,
.ptnr-form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.ptnr-form-input:focus,
.ptnr-form-textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: #93c5fd;
}

.ptnr-form-textarea {
  min-height: 5rem;
  resize: vertical;
}

.ptnr-form-actions {
  margin-top: 4px;
}

.ptnr-form-msg {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.ptnr-form-msg--error {
  color: #b91c1c;
}

.ptnr-subdomena-preview {
  margin: -6px 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  word-break: break-all;
}

.ptnr-firma-klient-hint {
  margin-top: 1rem;
  padding: 12px 14px;
  background: #f3f4f6;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.ptnr-danger-zone {
  border-color: #fecaca;
  background: #fffafa;
}

.dash__btn-black--danger {
  background: #b91c1c;
  border-color: #b91c1c;
}

.dash__btn-black--danger:hover:not(:disabled) {
  background: #991b1b;
  border-color: #991b1b;
}

/* —— Panel Firma: szerszy obszar, mniejsza typografia, układ „tabela danych” —— */
@media (min-width: 861px) {
  .dash__content:has(.ptnr-firma-page) {
    padding-left: clamp(14px, 1.2vw, 24px);
    padding-right: clamp(14px, 1.2vw, 24px);
  }
}

.dash__content:has(.ptnr-firma-page) .dash__page-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.ptnr-firma-page .dash__panel--active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
}

@media (min-width: 768px) {
  .ptnr-firma-page .dash__panel--active {
    gap: 20px;
  }
}

#ptnr-firma-wynajmujacy-only {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ptnr-firma-page .ptnr-firma-klient-hint {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.5;
}

.ptnr-firma-page .ptnr-firma-card .dash__widget-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ptnr-firma-card--reg .dash__widget-title {
  margin-bottom: 6px;
}

.ptnr-firma-card__lead {
  margin: 0 0 12px;
  max-width: none;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: #6b7280;
}

.ptnr-firma-card__lead--tight {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.45;
  max-width: none;
}

.ptnr-firma-card--reg {
  padding: 14px 16px 16px;
}

.ptnr-firma-page .ptnr-dl--firma {
  margin: 0 0 2px;
  max-width: none;
}

.ptnr-firma-card--merged {
  padding: 14px 16px 16px;
}

.ptnr-firma-card--merged .dash__widget-title {
  margin-bottom: 4px;
}

.ptnr-firma-card--merged > .ptnr-firma-card__lead--tight {
  margin-bottom: 10px;
}

.ptnr-firma-sec + .ptnr-firma-sec {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.ptnr-firma-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.ptnr-firma-sec__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ptnr-firma-sec__lead {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: #6b7280;
  max-width: none;
}

.ptnr-firma-sec__empty {
  margin: 0 0 4px;
  font-size: 12px;
  color: #9ca3af;
}

.ptnr-firma-page .ptnr-firma-sec__head .dash__btn-black--sm {
  font-size: 12px;
  padding: 6px 12px;
}

.ptnr-firma-page .dash__page-head .dash__btn-black {
  font-size: 13px;
  padding: 8px 14px;
}

.ptnr-firma-card--merged .ptnr-dl--firma {
  margin-bottom: 0;
}

.ptnr-firma-page .ptnr-dl--firma .ptnr-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 0;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: baseline;
}

.ptnr-firma-card--merged .ptnr-dl--firma .ptnr-dl__row {
  padding: 8px 0;
}

@media (min-width: 560px) {
  .ptnr-firma-page .ptnr-dl--firma .ptnr-dl__row {
    grid-template-columns: minmax(140px, 22%) minmax(0, 1fr);
    gap: 8px 20px;
    padding: 7px 0;
  }

  .ptnr-firma-card--merged .ptnr-dl--firma .ptnr-dl__row {
    padding: 6px 0;
  }
}

.ptnr-firma-page .ptnr-dl--firma .ptnr-dl__row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.ptnr-firma-card--merged .ptnr-dl--firma .ptnr-dl__row:last-child {
  padding-bottom: 0;
}

.ptnr-firma-page .ptnr-dl--firma dt {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #6b7280;
  line-height: 1.35;
}

.ptnr-firma-page .ptnr-dl--firma dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
}

.ptnr-firma-page #ptnr-sum-url {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.ptnr-firma-card__actions {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  max-width: none;
}

.ptnr-firma-summary-block {
  margin: 0 0 6px;
  max-width: none;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: #374151;
}

.ptnr-firma-summary-block--tight {
  min-height: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 0;
}

.ptnr-firma-sum-line {
  margin: 0 0 6px;
}

.ptnr-firma-sum-line:last-child {
  margin-bottom: 0;
}

.ptnr-firma-summary-block .ptnr-firma-sum-line strong {
  font-weight: 700;
  color: #111827;
}

.ptnr-firma-sum-line--muted {
  color: #6b7280;
  font-weight: 500;
}

.ptnr-firma-sum-line--addons {
  font-size: 12px;
  color: #4b5563;
}

.ptnr-firma-loc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ptnr-firma-loc-list--tight {
  gap: 8px;
  margin-bottom: 0;
}

.ptnr-firma-loc-card {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ptnr-firma-loc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ptnr-firma-loc-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.ptnr-firma-card--merged .ptnr-firma-loc-card {
  padding: 8px 10px;
}

.ptnr-firma-card--merged .ptnr-firma-loc-card__title {
  font-size: 12px;
}

.ptnr-firma-page .ptnr-firma-loc-card .ptnr-firma-sum-line {
  font-size: 12px;
}

.ptnr-firma-empty {
  margin: 0 0 8px;
  max-width: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #6b7280;
}

.ptnr-firma-global-msg:not([hidden]) {
  margin-bottom: 14px;
}

.ptnr-firma-help {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.ptnr-firma-section-title {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ptnr-firma-section-title:first-child {
  margin-top: 0;
}

.ptnr-form-grid-2 {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .ptnr-form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Karty wierszy (osoba / dział) w modalu */
.ptnr-firma-repeat--modal {
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px #e5e7eb;
  overflow: hidden;
}

.ptnr-firma-repeat--modal:last-child {
  margin-bottom: 0;
}

.ptnr-firma-repeat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.ptnr-firma-repeat__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #374151;
}

.ptnr-firma-repeat--modal .ptnr-firma-repeat__remove {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  line-height: 1.2;
}

.ptnr-firma-repeat--modal .ptnr-firma-repeat__remove:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.ptnr-firma-repeat__inner {
  padding: 14px 14px 12px;
}

.ptnr-firma-repeat--modal .ptnr-form-grid-2 {
  gap: 10px 14px;
}

.ptnr-firma-add-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 8px 12px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #fafbfc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.ptnr-firma-add-row--modal {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-style: solid;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.ptnr-firma-add-row--modal:hover {
  border-color: #111827;
  background: #fafafa;
  color: #111827;
}

.ptnr-firma-add-row:hover:not(.ptnr-firma-add-row--modal) {
  border-color: #9ca3af;
  background: #f3f4f6;
}

.ptnr-firma-btn-danger-text {
  padding: 8px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #b91c1c;
  cursor: pointer;
  text-decoration: none;
}

.ptnr-firma-btn-danger-text:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.ptnr-subdomain-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ptnr-subdomain-split__pre,
.ptnr-subdomain-split__suffix {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  user-select: none;
}

.ptnr-subdomain-split__input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  background: #fff;
}

.ptnr-subdomain-split__input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: #93c5fd;
}

.ptnr-subdomena-preview--modal {
  margin-top: 8px;
}

.ptnr-modal-root {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

/* [hidden] + display:flex w klasie — bez !important atrybut hidden nie ukrywa (specyficzność jak .ptnr-modal) */
.ptnr-modal-root[hidden] {
  display: none !important;
}

@media (min-width: 600px) {
  .ptnr-modal-root {
    align-items: center;
    padding: 24px 16px;
  }
}

.ptnr-modal-root__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.ptnr-modal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: min(92vh, 720px);
  margin-top: auto;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.ptnr-modal[hidden] {
  display: none !important;
}

@media (min-width: 600px) {
  .ptnr-modal {
    margin-top: 0;
    border-radius: 16px;
    max-height: min(88vh, 720px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  }
}

.ptnr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.ptnr-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.ptnr-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  font-size: 18px;
}

.ptnr-modal__close:hover {
  background: #e5e7eb;
  color: #111827;
}

.ptnr-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 18px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ptnr-modal__body--firma {
  padding: 16px 18px 20px;
  background: #fff;
}

.ptnr-modal__msg:not([hidden]) {
  margin: 0 0 14px;
}

/* Sekcje w modalach Firma — czytelne bloki */
.ptnr-firma-modal-sec {
  margin-bottom: 16px;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.ptnr-firma-modal-sec:last-child {
  margin-bottom: 0;
}

.ptnr-firma-modal-sec__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ptnr-firma-modal-sec__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #6b7280;
}

.ptnr-firma-modal-sec__hint:last-child {
  margin-bottom: 0;
}

.ptnr-firma-modal-sec .ptnr-form-grid-2:last-child {
  margin-bottom: 0;
}

.ptnr-firma-help--modal {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.ptnr-firma-repeat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 4px;
}

.ptnr-modal__footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 16px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.ptnr-modal__footer--split {
  justify-content: flex-start;
}

.ptnr-modal__footer-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

/* Modale Firma: szerokie okno, mała typografia, czytelny nagłówek z kontekstem */
#ptnr-modal-root .ptnr-modal--firma {
  max-width: min(96vw, 1000px);
  max-height: min(92vh, 880px);
}

@media (min-width: 600px) {
  #ptnr-modal-root .ptnr-modal--firma {
    max-height: min(90vh, 880px);
  }
}

#ptnr-modal-root .ptnr-modal__header {
  align-items: flex-start;
  padding: 12px 16px 10px;
  border-bottom-color: #e5e7eb;
}

#ptnr-modal-root .ptnr-modal__header-text {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
}

#ptnr-modal-root .ptnr-modal__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111827;
}

#ptnr-modal-root .ptnr-modal__lead {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: #6b7280;
  max-width: 70rem;
}

#ptnr-modal-root .ptnr-modal__lead-code {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: nowrap;
}

#ptnr-modal-root .ptnr-modal__close {
  width: 36px;
  height: 36px;
  font-size: 16px;
  border-radius: 8px;
}

#ptnr-modal-root .ptnr-modal__body--firma {
  padding: 12px 16px 14px;
}

#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-msg {
  font-size: 12px;
}

#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-label {
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
}

#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-row {
  gap: 4px;
}

#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-input,
#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-textarea {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.35;
}

#ptnr-modal-root .ptnr-modal__body--firma .ptnr-form-textarea {
  min-height: 4.25rem;
}

#ptnr-modal-root .ptnr-firma-modal-sec {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
}

#ptnr-modal-root .ptnr-firma-modal-sec__title {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4b5563;
  line-height: 1.3;
}

#ptnr-modal-root .ptnr-firma-modal-sec__hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: #6b7280;
}

#ptnr-modal-root .ptnr-firma-help--modal {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
}

#ptnr-modal-root .ptnr-subdomena-preview--modal {
  margin-top: 6px;
  font-size: 12px;
}

#ptnr-modal-root .ptnr-subdomain-split {
  padding: 8px 10px;
  border-radius: 8px;
  gap: 6px;
}

#ptnr-modal-root .ptnr-subdomain-split__pre,
#ptnr-modal-root .ptnr-subdomain-split__suffix {
  font-size: 12px;
  font-weight: 600;
}

#ptnr-modal-root .ptnr-subdomain-split__input {
  padding: 7px 9px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
}

@media (min-width: 720px) {
  #ptnr-modal-root .ptnr-firma-modal-sec > .ptnr-form-grid-2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 10px 14px;
  }
}

#ptnr-modal-root .ptnr-firma-repeat__head {
  padding: 8px 12px;
}

#ptnr-modal-root .ptnr-firma-repeat__num {
  font-size: 11px;
  letter-spacing: 0.05em;
}

#ptnr-modal-root .ptnr-firma-repeat--modal .ptnr-firma-repeat__remove {
  font-size: 11px;
  padding: 5px 10px;
}

#ptnr-modal-root .ptnr-firma-repeat__inner {
  padding: 10px 12px;
}

#ptnr-modal-root .ptnr-firma-repeat--modal .ptnr-form-grid-2 {
  gap: 8px 12px;
}

#ptnr-modal-root .ptnr-firma-add-row--modal {
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 8px;
}

#ptnr-modal-root .ptnr-modal__footer {
  padding: 12px 16px 14px;
}

#ptnr-modal-root .ptnr-modal__footer .dash__btn-black {
  font-size: 13px;
  padding: 8px 14px;
}

#ptnr-modal-root .ptnr-modal__footer .dash__btn-black--ghost {
  font-size: 13px;
}

#ptnr-modal-root .ptnr-firma-btn-danger-text {
  font-size: 12px;
  padding: 7px 10px;
}

/* Bezpieczeństwo / konto — lista dobrych praktyk */
.ptnr-konto-good-list {
  margin: 0 0 4px;
  padding: 0 0 0 1.2em;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

.ptnr-konto-good-list li {
  margin-bottom: 8px;
}

.ptnr-konto-good-list li:last-child {
  margin-bottom: 0;
}

/* Po rejestracji — uzupełnienie profilu */
.ptnr-onboarding-root {
  margin-bottom: 1rem;
}

.ptnr-onboarding-inner {
  padding: 14px 16px;
  border: 1px solid #111827;
  background: #fff;
}

.ptnr-onboarding-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
}

.ptnr-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ptnr-onboarding-callout {
  margin-bottom: 1.25rem;
  padding: 14px 16px;
  border: 1px solid #111827;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
}

.ptnr-onboarding-callout p {
  margin: 0;
}

.ptnr-profile-gate-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
}

.ptnr-profile-gate-list li {
  margin-bottom: 8px;
}

.ptnr-profile-gate-list li:last-child {
  margin-bottom: 0;
}

/* Wideorozmowy — strona przekierowania w panelu */
.ptnr-mov-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  align-items: center;
}

